<commit_before>/**
* (c) 2016 <NAME>
* Licensed under the MIT license.
*/
'use strict';
angular.module('dashboard')
.constant(
    'DEVICE', {
        MOBILE: 1,
        DESKTOP: 2
    }
)
.constant(
    'MENU', {
        CLOSED: 0,
        HALF: 1,
        FULL: 2
    }
)
.constant(
    'BLOCKMODE', {
        BOTH : 0,
        UPPER : 1,
        LOWER : 2
    }
)
.constant(
    'HOMEMODE', {
        ALL : 0,
        MEETINGS : 1,
        ESIGN : 2
    }
)
.constant(
    'APPSTATE', {
        APP: "app",
        LOGIN: "app.login",
        INFO: "app.info",
        HOME: "app.home",
        OVERVIEW: "app.overview",
        MEETING: "app.meeting",
        SIGNITEM: "app.signitem",
        MEETINGDETAILS: "app.meeting.details",
        TOPIC: "app.meeting.details.topic",
        LIST: "app.meeting.details.list",
        LISTPDF: "app.meeting.details.list.pdf",
        ERROR: "error"
    }
)
.constant(
    'MTGROLE', {
        NONE: 0,
        CHAIRMAN: 1,
        PARTICIPANT_FULL: 2,
        DEMONSTRATOR: 3,
        SECRETARY: 4,
        PARTICIPANT_LIMITED: 5,
        TRANSLATOR: 6,
        INFORMER: 7,
        NO_ROLE: 8
    }
)
.constant(
    'KEY', {
        TOPIC: 'topic',
        PDF_DATA: 'pdfdata',
        SELECTION_DATA: 'selectiondata'
    }
)
.constant(
    'BTNTYPE', {
        DEFAULT: 'btn-default',
        PRIMARY: 'btn-primary',
        SUCCESS: 'btn-success'
    }
)
.constant(
    'PUBLICITY', {
        NONE: 0,
        PUBLIC: 1,
        SECRET: 2
    }
)
.constant(
    'MTGSTATUS', {
        RESERVED: { value: 0, stringId: 'STR_RESERVED_MEETING' },
        CREATED: { value: 1, stringId: 'STR_CREATED' },
        TECHNICALLY_OPEN: { value: 2, stringId: 'STR_TECHNICALLY_OPEN' },
        ACTIVE: { value: 3, stringId: 'STR_ACTIVE' },
        ABORTED: { value: 4, stringId: 'STR_ABORTED' },
        OFFICIALLY_CLOSED: { value: 5, stringId: 'STR_OFFICIALLY_CLOSED' },
        RECORDS_MOVED: { value: 6, stringId: 'STR_RECORDS_MOVED' },
        TECHNICALLY_CLOSED: { value: 5, stringId: 'STR_TECNICALLY_CLOSED' },
    }
)
.constant(
    'TOPICSTATUS', {
        NONE : { value: 0, iconPath: ""},
        PENDING : { value: 1, iconPath: "images/state_4.png"},
        ACTIVE : { value: 2, iconPath: "images/state_4_lock.png"},
        ABORTED : { value: 3, iconPath: "images/state_4_lock_remark.png"},
        READY : { value: 4, iconPath: "images/state_4_remark.png"}
    }
)
.constant(
    'ESIGNSTATUS', { //SignApi_DocStatuses
        UNSIGNED: { value: 1, stringId: 'STR_UNSIGNED'},
        REJECTED: { value: 2, stringId: 'STR_REJECTED'},
        SIGNED: { value: 4, stringId: 'STR_SIGNED'},
        RETURNED: { value: 7, stringId: 'STR_RETURNED'},
        UNDECIDED: { value: 8, stringId: 'STR_UNDECIDED'}
    }
)
.constant(
    'ESIGNTYPE', {// SignApi_DocTypes
        POLICYMAKER: { value: 1, stringId: 'STR_SIGNING_DOC_POLICYMAKER'},
        OFFICIAL: { value: 2, stringId: 'STR_SIGNING_DOC_OFFICIAL'}
    }
);<commit_msg>Esign: status style defined in status object constant<commit_after>/**
* (c) 2016 <NAME>
* Licensed under the MIT license.
*/
'use strict';
angular.module('dashboard')
.constant(
    'DEVICE', {
        MOBILE: 1,
        DESKTOP: 2
    }
)
.constant(
    'MENU', {
        CLOSED: 0,
        HALF: 1,
        FULL: 2
    }
)
.constant(
    'BLOCKMODE', {
        BOTH : 0,
        UPPER : 1,
        LOWER : 2
    }
)
.constant(
    'HOMEMODE', {
        ALL : 0,
        MEETINGS : 1,
        ESIGN : 2
    }
)
.constant(
    'APPSTATE', {
        APP: "app",
        LOGIN: "app.login",
        INFO: "app.info",
        HOME: "app.home",
        OVERVIEW: "app.overview",
        MEETING: "app.meeting",
        SIGNITEM: "app.signitem",
        MEETINGDETAILS: "app.meeting.details",
        TOPIC: "app.meeting.details.topic",
        LIST: "app.meeting.details.list",
        LISTPDF: "app.meeting.details.list.pdf",
        ERROR: "error"
    }
)
.constant(
    'MTGROLE', {
        NONE: 0,
        CHAIRMAN: 1,
        PARTICIPANT_FULL: 2,
        DEMONSTRATOR: 3,
        SECRETARY: 4,
        PARTICIPANT_LIMITED: 5,
        TRANSLATOR: 6,
        INFORMER: 7,
        NO_ROLE: 8
    }
)
.constant(
    'KEY', {
        TOPIC: 'topic',
        PDF_DATA: 'pdfdata',
        SELECTION_DATA: 'selectiondata'
    }
)
.constant(
    'BTNTYPE', {
        DEFAULT: 'btn-default',
        PRIMARY: 'btn-primary',
        SUCCESS: 'btn-success'
    }
)
.constant(
    'PUBLICITY', {
        NONE: 0,
        PUBLIC: 1,
        SECRET: 2
    }
)
.constant(
    'MTGSTATUS', {
        RESERVED: { value: 0, stringId: 'STR_RESERVED_MEETING' },
        CREATED: { value: 1, stringId: 'STR_CREATED' },
        TECHNICALLY_OPEN: { value: 2, stringId: 'STR_TECHNICALLY_OPEN' },
        ACTIVE: { value: 3, stringId: 'STR_ACTIVE' },
        ABORTED: { value: 4, stringId: 'STR_ABORTED' },
        OFFICIALLY_CLOSED: { value: 5, stringId: 'STR_OFFICIALLY_CLOSED' },
        RECORDS_MOVED: { value: 6, stringId: 'STR_RECORDS_MOVED' },
        TECHNICALLY_CLOSED: { value: 5, stringId: 'STR_TECNICALLY_CLOSED' },
    }
)
.constant(
    'TOPICSTATUS', {
        NONE : { value: 0, iconPath: ""},
        PENDING : { value: 1, iconPath: "images/state_4.png"},
        ACTIVE : { value: 2, iconPath: "images/state_4_lock.png"},
        ABORTED : { value: 3, iconPath: "images/state_4_lock_remark.png"},
        READY : { value: 4, iconPath: "images/state_4_remark.png"}
    }
)
.constant(
    'ESIGNSTATUS', { //SignApi_DocStatuses
        UNSIGNED: { value: 1, stringId: 'STR_UNSIGNED', badgeClass: 'label-danger'},
        REJECTED: { value: 2, stringId: 'STR_REJECTED', badgeClass: 'label-warning'},
        SIGNED: { value: 4, stringId: 'STR_SIGNED', badgeClass: 'label-success'},
        RETURNED: { value: 7, stringId: 'STR_RETURNED', badgeClass: 'label-info'},
        UNDECIDED: { value: 8, stringId: 'STR_UNDECIDED', badgeClass: 'label-default'}
    }
)
.constant(
    'ESIGNTYPE', {// SignApi_DocTypes
        POLICYMAKER: { value: 1, stringId: 'STR_SIGNING_DOC_POLICYMAKER'},
        OFFICIAL: { value: 2, stringId: 'STR_SIGNING_DOC_OFFICIAL'}
    }
);
{'fraction_non_alphanumeric': 0.15025314388371713, 'fraction_numerical': 0.016658500734933857, 'mean_word_length': 2.204604918890633, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '747279', 'n_tokens_mistral': 2448, 'n_tokens_neox': 2311, 'n_words': 459}