new-front-common-library 16.1.32-ROY-5 → 16.1.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/assets/css/_dark-theme.scss +243 -243
- package/assets/css/_flex.scss +55 -55
- package/assets/css/_global.scss +417 -417
- package/assets/css/_light-theme.scss +221 -221
- package/assets/css/_mat-palettes.scss +98 -98
- package/assets/css/_themes.scss +56 -56
- package/assets/css/_themes_v18.scss +55 -55
- package/assets/css/material/_mdc-dark-theme.scss +265 -265
- package/assets/css/material/_mdc-light-theme.scss +264 -264
- package/assets/css/material/_mdc.scss +408 -408
- package/assets/css/old-themes/_dark-theme.scss +639 -639
- package/assets/css/old-themes/_global.scss +689 -689
- package/assets/css/old-themes/_light-theme.scss +646 -646
- package/assets/css/old-themes/_themes-deprecated.scss +65 -65
- package/assets/i18n/front-common/de.json +30 -30
- package/assets/i18n/front-common/en.json +30 -30
- package/assets/i18n/front-common/fr.json +30 -30
- package/esm2022/lib/util/array.service.mjs +19 -19
- package/esm2022/lib/util/component/header/header.component.mjs +221 -230
- package/esm2022/lib/util/component/header/menu/menu.component.mjs +96 -96
- package/esm2022/lib/util/component/header/menu/menu.const.mjs +551 -544
- package/esm2022/lib/util/component/header/menu/menu.model.mjs +2 -2
- package/esm2022/lib/util/component/overlay/overlay.component.mjs +40 -40
- package/esm2022/lib/util/component/overlay/overlay.service.mjs +24 -24
- package/esm2022/lib/util/component/popup/popup-login/popup-login.component.mjs +90 -90
- package/esm2022/lib/util/component/sub-header/sub-header.component.mjs +44 -44
- package/esm2022/lib/util/config.mjs +8 -8
- package/esm2022/lib/util/date/PeriodModel.mjs +8 -8
- package/esm2022/lib/util/date/date-format-constants.mjs +12 -12
- package/esm2022/lib/util/date/date.util.mjs +218 -218
- package/esm2022/lib/util/decorators/theme.decorator.mjs +22 -22
- package/esm2022/lib/util/decorators/user.decorator.mjs +25 -25
- package/esm2022/lib/util/directives/my-number-formatter-directive.mjs +34 -34
- package/esm2022/lib/util/directives/show-if-truncated.directive.mjs +25 -25
- package/esm2022/lib/util/enums/family.enum.mjs +6 -6
- package/esm2022/lib/util/enums/rapid-search-item-type.enum.mjs +12 -15
- package/esm2022/lib/util/enums/status-color.enum.mjs +11 -11
- package/esm2022/lib/util/event/header/header-events.service.mjs +21 -21
- package/esm2022/lib/util/event/storage/local-storage-events.service.mjs +17 -17
- package/esm2022/lib/util/event/storage/session-storage-events.service.mjs +18 -18
- package/esm2022/lib/util/http/http-params.builder.mjs +27 -27
- package/esm2022/lib/util/i18n/de.mjs +159 -158
- package/esm2022/lib/util/i18n/en.mjs +159 -162
- package/esm2022/lib/util/i18n/fr.mjs +159 -162
- package/esm2022/lib/util/i18n/multi-translate-http-loader.mjs +21 -21
- package/esm2022/lib/util/interfaces/permissions.interface.mjs +2 -2
- package/esm2022/lib/util/models/any-line.model.mjs +37 -37
- package/esm2022/lib/util/models/audio-content.model.mjs +27 -27
- package/esm2022/lib/util/models/authPermission.model.mjs +16 -16
- package/esm2022/lib/util/models/authUser.model.mjs +21 -21
- package/esm2022/lib/util/models/basic.model.mjs +14 -14
- package/esm2022/lib/util/models/box-set-item.model.mjs +19 -19
- package/esm2022/lib/util/models/commercial/deal-rapid-search-model.mjs +3 -3
- package/esm2022/lib/util/models/commercial/invoice-rapid-search-model.mjs +9 -9
- package/esm2022/lib/util/models/commercial/work-record-rapid-search-model.mjs +13 -13
- package/esm2022/lib/util/models/disc-program.model.mjs +26 -26
- package/esm2022/lib/util/models/disc.model.mjs +22 -22
- package/esm2022/lib/util/models/eventType.model.mjs +7 -7
- package/esm2022/lib/util/models/expenditure-commitment/purchase-order-file.model.mjs +22 -22
- package/esm2022/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.mjs +3 -3
- package/esm2022/lib/util/models/family.model.mjs +7 -7
- package/esm2022/lib/util/models/index.mjs +101 -101
- package/esm2022/lib/util/models/lang-line.model.mjs +27 -27
- package/esm2022/lib/util/models/legal/contract-rapid-search-model.mjs +3 -3
- package/esm2022/lib/util/models/legal/contract-work.model.mjs +23 -23
- package/esm2022/lib/util/models/legal/contract-work2.model.mjs +21 -21
- package/esm2022/lib/util/models/legal/type-status-rapid-search.model.mjs +3 -3
- package/esm2022/lib/util/models/media-line.model.mjs +18 -18
- package/esm2022/lib/util/models/menu-language.model.mjs +15 -15
- package/esm2022/lib/util/models/permission.model.mjs +20 -20
- package/esm2022/lib/util/models/product-box-set.model.mjs +16 -16
- package/esm2022/lib/util/models/product-disc-detail.model.mjs +22 -22
- package/esm2022/lib/util/models/product-disc.model.mjs +27 -27
- package/esm2022/lib/util/models/product-division.model.mjs +29 -29
- package/esm2022/lib/util/models/product-type.model.mjs +22 -22
- package/esm2022/lib/util/models/product.model.mjs +62 -62
- package/esm2022/lib/util/models/program.model.mjs +28 -28
- package/esm2022/lib/util/models/purchase-order/purchase-order.model.mjs +53 -53
- package/esm2022/lib/util/models/referential/WorkVersionArticleDto.mjs +17 -17
- package/esm2022/lib/util/models/referential/adress-type.model.mjs +14 -14
- package/esm2022/lib/util/models/referential/adress.model.mjs +28 -28
- package/esm2022/lib/util/models/referential/attached-file.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/bank-account.model.mjs +24 -24
- package/esm2022/lib/util/models/referential/bank-accounts.model.mjs +31 -31
- package/esm2022/lib/util/models/referential/basic-hierarchy.model.mjs +8 -8
- package/esm2022/lib/util/models/referential/broadcast-list-item.model.mjs +13 -13
- package/esm2022/lib/util/models/referential/color.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/company.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/content-type.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/content.model.mjs +22 -22
- package/esm2022/lib/util/models/referential/cost-center-criteria-values.model.mjs +14 -14
- package/esm2022/lib/util/models/referential/cost-center-criteria.model.mjs +13 -13
- package/esm2022/lib/util/models/referential/cost-center.model.mjs +28 -28
- package/esm2022/lib/util/models/referential/coutry.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/currency.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/editorial-content.model.mjs +18 -18
- package/esm2022/lib/util/models/referential/fixing.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/flat-media.model.mjs +18 -18
- package/esm2022/lib/util/models/referential/format-image.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/format-type.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/format.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/fsk-index.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/fsk.model.mjs +22 -22
- package/esm2022/lib/util/models/referential/function.model.mjs +23 -23
- package/esm2022/lib/util/models/referential/genre.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/invoice-product-type.model.mjs +22 -22
- package/esm2022/lib/util/models/referential/keywords.model.mjs +13 -13
- package/esm2022/lib/util/models/referential/language.model.mjs +18 -18
- package/esm2022/lib/util/models/referential/media-filter.model.mjs +3 -3
- package/esm2022/lib/util/models/referential/media.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/module.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/parameter.model.mjs +2 -2
- package/esm2022/lib/util/models/referential/participant.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/person.model.mjs +23 -23
- package/esm2022/lib/util/models/referential/project-status.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/quota.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/referential-entity-state.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/referential-value.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/referentiel.model.mjs +26 -26
- package/esm2022/lib/util/models/referential/restriction.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/sap-order.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/service-error.model.mjs +15 -15
- package/esm2022/lib/util/models/referential/sound.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/territories-languages.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/territory-filter.model.mjs +3 -3
- package/esm2022/lib/util/models/referential/territory.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/theme.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/third-party-address-rapid-search.model.mjs +3 -3
- package/esm2022/lib/util/models/referential/third-party-creation-request.model.mjs +44 -44
- package/esm2022/lib/util/models/referential/third-party-module.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/third-party-rapid-search.model.mjs +3 -3
- package/esm2022/lib/util/models/referential/third-party.model.mjs +83 -83
- package/esm2022/lib/util/models/referential/translated-value-model.mjs +16 -16
- package/esm2022/lib/util/models/referential/tva.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/type-export.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/type-tva-company-territory.model.mjs +32 -32
- package/esm2022/lib/util/models/referential/type-tva.model.mjs +25 -25
- package/esm2022/lib/util/models/referential/user-form.model.mjs +2 -2
- package/esm2022/lib/util/models/referential/work-addons-model.mjs +16 -16
- package/esm2022/lib/util/models/referential/work-appartenance.model.mjs +17 -17
- package/esm2022/lib/util/models/referential/work-genre.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/work-language.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/work-milo.model.mjs +61 -61
- package/esm2022/lib/util/models/referential/work-participant.model.mjs +21 -21
- package/esm2022/lib/util/models/referential/work-restrictions-model.mjs +13 -13
- package/esm2022/lib/util/models/referential/work-theme.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/work-title.model.mjs +20 -20
- package/esm2022/lib/util/models/referential/work-version-origin.model.mjs +16 -16
- package/esm2022/lib/util/models/referential/work-version-rapid-search.model.mjs +3 -3
- package/esm2022/lib/util/models/referential/work-versions-used.model.mjs +19 -19
- package/esm2022/lib/util/models/referential/work-versions.model.mjs +27 -27
- package/esm2022/lib/util/models/referential/work-year-production.model.mjs +13 -13
- package/esm2022/lib/util/models/referential/work.model.mjs +22 -22
- package/esm2022/lib/util/models/referential/zone.model.mjs +14 -14
- package/esm2022/lib/util/models/referentiel.model.mjs +26 -26
- package/esm2022/lib/util/models/search-response.model.mjs +10 -10
- package/esm2022/lib/util/models/section.model.mjs +8 -8
- package/esm2022/lib/util/models/select/options.model.mjs +8 -8
- package/esm2022/lib/util/models/select/select.model.mjs +7 -7
- package/esm2022/lib/util/models/subsidiary.model.mjs +8 -8
- package/esm2022/lib/util/models/subtitle-content.model.mjs +28 -28
- package/esm2022/lib/util/models/user-video.model.mjs +22 -22
- package/esm2022/lib/util/models/user.model.mjs +35 -35
- package/esm2022/lib/util/models/video/product-rapid-search.model.mjs +3 -3
- package/esm2022/lib/util/models/video/support-rapid-search.model.mjs +3 -3
- package/esm2022/lib/util/models/video-content.model.mjs +18 -18
- package/esm2022/lib/util/number.validator.mjs +129 -129
- package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +59 -59
- package/esm2022/lib/util/permissions/permissions.service.mjs +49 -49
- package/esm2022/lib/util/pipes/capitalizefirst.pipe.mjs +41 -41
- package/esm2022/lib/util/pipes/comma-separated-number.pipe.mjs +15 -15
- package/esm2022/lib/util/pipes/common-translate.pipe.mjs +38 -38
- package/esm2022/lib/util/pipes/display-html.pipe.mjs +20 -20
- package/esm2022/lib/util/pipes/display-null.pipe.mjs +24 -24
- package/esm2022/lib/util/pipes/format-currency.pipe.mjs +31 -31
- package/esm2022/lib/util/pipes/format-duration.pipe.mjs +23 -23
- package/esm2022/lib/util/pipes/format-number-input.pipe.mjs +22 -22
- package/esm2022/lib/util/pipes/local-date.pipe.mjs +27 -27
- package/esm2022/lib/util/pipes/my-number.pipe.mjs +44 -44
- package/esm2022/lib/util/pipes/third-party-address-search.pipe.mjs +15 -15
- package/esm2022/lib/util/pipes/third-party-address.pipe.mjs +16 -16
- package/esm2022/lib/util/pipes/trim-string.pipe.mjs +25 -25
- package/esm2022/lib/util/regex/regex.service.mjs +94 -94
- package/esm2022/lib/util/services/api/commercial-api.service.mjs +28 -28
- package/esm2022/lib/util/services/api/common-api.service.mjs +98 -98
- package/esm2022/lib/util/services/api/legal-api.service.mjs +32 -32
- package/esm2022/lib/util/services/api/video-api.service.mjs +45 -45
- package/esm2022/lib/util/services/auth/auth.service.mjs +18 -18
- package/esm2022/lib/util/services/elasticsearch/elasticsearch.service.mjs +158 -180
- package/esm2022/lib/util/services/elasticsearch/subsidiaries.service.mjs +48 -48
- package/esm2022/lib/util/services/form-action/form-actions-events.service.mjs +25 -25
- package/esm2022/lib/util/services/guard/auth.guard.mjs +32 -32
- package/esm2022/lib/util/services/guard/login.guard.mjs +23 -23
- package/esm2022/lib/util/services/history/history.service.mjs +39 -39
- package/esm2022/lib/util/services/interceptor/auth.interceptor.mjs +53 -53
- package/esm2022/lib/util/services/jwt-security/aes.service.mjs +34 -34
- package/esm2022/lib/util/services/jwt-security/interceptorhttp.service.mjs +18 -18
- package/esm2022/lib/util/services/jwt-security/jwt.helpher.mjs +34 -34
- package/esm2022/lib/util/services/storage/local-storage.service.mjs +36 -36
- package/esm2022/lib/util/services/storage/session-storage.service.mjs +38 -38
- package/esm2022/lib/util/services/translate-language/lang.service.mjs +31 -31
- package/esm2022/lib/util/services/user/user-subsidiary.service.mjs +22 -22
- package/esm2022/lib/util/sort.mjs +22 -22
- package/esm2022/lib/util/theme/theme-event.service.mjs +17 -17
- package/esm2022/lib/util/toaster/toaster-events.service.mjs +32 -32
- package/esm2022/lib/util/util.module.mjs +281 -281
- package/esm2022/new-front-common-library.mjs +4 -4
- package/esm2022/public-api.mjs +59 -59
- package/fesm2022/new-front-common-library.mjs +5524 -5556
- package/fesm2022/new-front-common-library.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/util/array.service.d.ts +7 -7
- package/lib/util/component/header/header.component.d.ts +74 -74
- package/lib/util/component/header/menu/menu.component.d.ts +27 -27
- package/lib/util/component/header/menu/menu.const.d.ts +2 -2
- package/lib/util/component/header/menu/menu.model.d.ts +23 -23
- package/lib/util/component/overlay/overlay.component.d.ts +17 -17
- package/lib/util/component/overlay/overlay.service.d.ts +13 -13
- package/lib/util/component/popup/popup-login/popup-login.component.d.ts +35 -35
- package/lib/util/component/sub-header/sub-header.component.d.ts +13 -13
- package/lib/util/config.d.ts +8 -8
- package/lib/util/date/PeriodModel.d.ts +6 -6
- package/lib/util/date/date-format-constants.d.ts +25 -25
- package/lib/util/date/date.util.d.ts +16 -16
- package/lib/util/decorators/theme.decorator.d.ts +1 -1
- package/lib/util/decorators/user.decorator.d.ts +1 -1
- package/lib/util/directives/my-number-formatter-directive.d.ts +15 -15
- package/lib/util/directives/show-if-truncated.directive.d.ts +11 -11
- package/lib/util/enums/family.enum.d.ts +4 -4
- package/lib/util/enums/rapid-search-item-type.enum.d.ts +10 -13
- package/lib/util/enums/status-color.enum.d.ts +9 -9
- package/lib/util/event/header/header-events.service.d.ts +11 -11
- package/lib/util/event/storage/local-storage-events.service.d.ts +9 -9
- package/lib/util/event/storage/session-storage-events.service.d.ts +10 -10
- package/lib/util/http/http-params.builder.d.ts +9 -9
- package/lib/util/i18n/de.d.ts +142 -141
- package/lib/util/i18n/en.d.ts +142 -145
- package/lib/util/i18n/fr.d.ts +142 -145
- package/lib/util/i18n/multi-translate-http-loader.d.ts +14 -14
- package/lib/util/interfaces/permissions.interface.d.ts +3 -3
- package/lib/util/models/any-line.model.d.ts +24 -24
- package/lib/util/models/audio-content.model.d.ts +27 -27
- package/lib/util/models/authPermission.model.d.ts +7 -7
- package/lib/util/models/authUser.model.d.ts +16 -16
- package/lib/util/models/basic.model.d.ts +11 -11
- package/lib/util/models/box-set-item.model.d.ts +12 -12
- package/lib/util/models/commercial/deal-rapid-search-model.d.ts +10 -10
- package/lib/util/models/commercial/invoice-rapid-search-model.d.ts +18 -18
- package/lib/util/models/commercial/work-record-rapid-search-model.d.ts +21 -21
- package/lib/util/models/disc-program.model.d.ts +9 -9
- package/lib/util/models/disc.model.d.ts +15 -15
- package/lib/util/models/eventType.model.d.ts +5 -5
- package/lib/util/models/expenditure-commitment/purchase-order-file.model.d.ts +8 -8
- package/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.d.ts +10 -10
- package/lib/util/models/family.model.d.ts +5 -5
- package/lib/util/models/index.d.ts +100 -100
- package/lib/util/models/lang-line.model.d.ts +18 -18
- package/lib/util/models/legal/contract-rapid-search-model.d.ts +10 -10
- package/lib/util/models/legal/contract-work.model.d.ts +27 -27
- package/lib/util/models/legal/contract-work2.model.d.ts +23 -23
- package/lib/util/models/legal/type-status-rapid-search.model.d.ts +5 -5
- package/lib/util/models/media-line.model.d.ts +9 -9
- package/lib/util/models/menu-language.model.d.ts +6 -6
- package/lib/util/models/permission.model.d.ts +12 -12
- package/lib/util/models/product-box-set.model.d.ts +8 -8
- package/lib/util/models/product-disc-detail.model.d.ts +14 -14
- package/lib/util/models/product-disc.model.d.ts +11 -11
- package/lib/util/models/product-division.model.d.ts +15 -15
- package/lib/util/models/product-type.model.d.ts +7 -7
- package/lib/util/models/product.model.d.ts +52 -52
- package/lib/util/models/program.model.d.ts +21 -21
- package/lib/util/models/purchase-order/purchase-order.model.d.ts +40 -40
- package/lib/util/models/referential/WorkVersionArticleDto.d.ts +10 -10
- package/lib/util/models/referential/adress-type.model.d.ts +5 -5
- package/lib/util/models/referential/adress.model.d.ts +20 -20
- package/lib/util/models/referential/attached-file.model.d.ts +11 -11
- package/lib/util/models/referential/bank-account.model.d.ts +15 -15
- package/lib/util/models/referential/bank-accounts.model.d.ts +17 -17
- package/lib/util/models/referential/basic-hierarchy.model.d.ts +6 -6
- package/lib/util/models/referential/broadcast-list-item.model.d.ts +8 -8
- package/lib/util/models/referential/color.model.d.ts +6 -6
- package/lib/util/models/referential/company.model.d.ts +7 -7
- package/lib/util/models/referential/content-type.model.d.ts +12 -12
- package/lib/util/models/referential/content.model.d.ts +7 -7
- package/lib/util/models/referential/cost-center-criteria-values.model.d.ts +7 -7
- package/lib/util/models/referential/cost-center-criteria.model.d.ts +12 -12
- package/lib/util/models/referential/cost-center.model.d.ts +18 -18
- package/lib/util/models/referential/coutry.model.d.ts +7 -7
- package/lib/util/models/referential/currency.model.d.ts +11 -11
- package/lib/util/models/referential/editorial-content.model.d.ts +25 -25
- package/lib/util/models/referential/fixing.model.d.ts +10 -10
- package/lib/util/models/referential/flat-media.model.d.ts +9 -9
- package/lib/util/models/referential/format-image.model.d.ts +7 -7
- package/lib/util/models/referential/format-type.model.d.ts +6 -6
- package/lib/util/models/referential/format.model.d.ts +7 -7
- package/lib/util/models/referential/fsk-index.model.d.ts +22 -22
- package/lib/util/models/referential/fsk.model.d.ts +37 -37
- package/lib/util/models/referential/function.model.d.ts +8 -8
- package/lib/util/models/referential/genre.model.d.ts +7 -7
- package/lib/util/models/referential/invoice-product-type.model.d.ts +7 -7
- package/lib/util/models/referential/keywords.model.d.ts +6 -6
- package/lib/util/models/referential/language.model.d.ts +11 -11
- package/lib/util/models/referential/media-filter.model.d.ts +10 -10
- package/lib/util/models/referential/media.model.d.ts +11 -11
- package/lib/util/models/referential/module.model.d.ts +11 -11
- package/lib/util/models/referential/parameter.model.d.ts +6 -6
- package/lib/util/models/referential/participant.model.d.ts +11 -11
- package/lib/util/models/referential/person.model.d.ts +13 -13
- package/lib/util/models/referential/project-status.model.d.ts +6 -6
- package/lib/util/models/referential/quota.model.d.ts +7 -7
- package/lib/util/models/referential/referential-entity-state.model.d.ts +11 -11
- package/lib/util/models/referential/referential-value.model.d.ts +11 -11
- package/lib/util/models/referential/referentiel.model.d.ts +12 -12
- package/lib/util/models/referential/restriction.model.d.ts +9 -9
- package/lib/util/models/referential/sap-order.model.d.ts +27 -27
- package/lib/util/models/referential/service-error.model.d.ts +13 -13
- package/lib/util/models/referential/sound.model.d.ts +6 -6
- package/lib/util/models/referential/territories-languages.model.d.ts +8 -8
- package/lib/util/models/referential/territory-filter.model.d.ts +6 -6
- package/lib/util/models/referential/territory.model.d.ts +12 -12
- package/lib/util/models/referential/theme.model.d.ts +7 -7
- package/lib/util/models/referential/third-party-address-rapid-search.model.d.ts +8 -8
- package/lib/util/models/referential/third-party-creation-request.model.d.ts +48 -48
- package/lib/util/models/referential/third-party-module.model.d.ts +11 -11
- package/lib/util/models/referential/third-party-rapid-search.model.d.ts +8 -8
- package/lib/util/models/referential/third-party.model.d.ts +45 -45
- package/lib/util/models/referential/translated-value-model.d.ts +10 -10
- package/lib/util/models/referential/tva.model.d.ts +7 -7
- package/lib/util/models/referential/type-export.model.d.ts +7 -7
- package/lib/util/models/referential/type-tva-company-territory.model.d.ts +18 -18
- package/lib/util/models/referential/type-tva.model.d.ts +10 -10
- package/lib/util/models/referential/user-form.model.d.ts +5 -5
- package/lib/util/models/referential/work-addons-model.d.ts +25 -25
- package/lib/util/models/referential/work-appartenance.model.d.ts +7 -7
- package/lib/util/models/referential/work-genre.model.d.ts +11 -11
- package/lib/util/models/referential/work-language.model.d.ts +11 -11
- package/lib/util/models/referential/work-milo.model.d.ts +46 -46
- package/lib/util/models/referential/work-participant.model.d.ts +10 -10
- package/lib/util/models/referential/work-restrictions-model.d.ts +18 -18
- package/lib/util/models/referential/work-theme.model.d.ts +11 -11
- package/lib/util/models/referential/work-title.model.d.ts +10 -10
- package/lib/util/models/referential/work-version-origin.model.d.ts +10 -10
- package/lib/util/models/referential/work-version-rapid-search.model.d.ts +9 -9
- package/lib/util/models/referential/work-versions-used.model.d.ts +12 -12
- package/lib/util/models/referential/work-versions.model.d.ts +29 -29
- package/lib/util/models/referential/work-year-production.model.d.ts +6 -6
- package/lib/util/models/referential/work.model.d.ts +74 -74
- package/lib/util/models/referential/zone.model.d.ts +6 -6
- package/lib/util/models/referentiel.model.d.ts +12 -12
- package/lib/util/models/search-response.model.d.ts +7 -7
- package/lib/util/models/section.model.d.ts +7 -7
- package/lib/util/models/select/options.model.d.ts +6 -6
- package/lib/util/models/select/select.model.d.ts +5 -5
- package/lib/util/models/subsidiary.model.d.ts +7 -7
- package/lib/util/models/subtitle-content.model.d.ts +26 -26
- package/lib/util/models/user-video.model.d.ts +10 -10
- package/lib/util/models/user.model.d.ts +27 -27
- package/lib/util/models/video/product-rapid-search.model.d.ts +8 -8
- package/lib/util/models/video/support-rapid-search.model.d.ts +6 -6
- package/lib/util/models/video-content.model.d.ts +24 -24
- package/lib/util/number.validator.d.ts +14 -14
- package/lib/util/paginator/custom-paginator-configuration.d.ts +16 -16
- package/lib/util/permissions/permissions.service.d.ts +15 -15
- package/lib/util/pipes/capitalizefirst.pipe.d.ts +8 -8
- package/lib/util/pipes/comma-separated-number.pipe.d.ts +7 -7
- package/lib/util/pipes/common-translate.pipe.d.ts +12 -12
- package/lib/util/pipes/display-html.pipe.d.ts +10 -10
- package/lib/util/pipes/display-null.pipe.d.ts +8 -8
- package/lib/util/pipes/format-currency.pipe.d.ts +10 -10
- package/lib/util/pipes/format-duration.pipe.d.ts +7 -7
- package/lib/util/pipes/format-number-input.pipe.d.ts +7 -7
- package/lib/util/pipes/local-date.pipe.d.ts +9 -9
- package/lib/util/pipes/my-number.pipe.d.ts +11 -11
- package/lib/util/pipes/third-party-address-search.pipe.d.ts +8 -8
- package/lib/util/pipes/third-party-address.pipe.d.ts +8 -8
- package/lib/util/pipes/trim-string.pipe.d.ts +7 -7
- package/lib/util/regex/regex.service.d.ts +12 -12
- package/lib/util/services/api/commercial-api.service.d.ts +12 -12
- package/lib/util/services/api/common-api.service.d.ts +27 -27
- package/lib/util/services/api/legal-api.service.d.ts +15 -15
- package/lib/util/services/api/video-api.service.d.ts +17 -17
- package/lib/util/services/auth/auth.service.d.ts +9 -9
- package/lib/util/services/elasticsearch/elasticsearch.service.d.ts +34 -35
- package/lib/util/services/elasticsearch/subsidiaries.service.d.ts +12 -12
- package/lib/util/services/form-action/form-actions-events.service.d.ts +14 -14
- package/lib/util/services/guard/auth.guard.d.ts +2 -2
- package/lib/util/services/guard/login.guard.d.ts +1 -1
- package/lib/util/services/history/history.service.d.ts +10 -10
- package/lib/util/services/interceptor/auth.interceptor.d.ts +16 -16
- package/lib/util/services/jwt-security/aes.service.d.ts +12 -12
- package/lib/util/services/jwt-security/interceptorhttp.service.d.ts +8 -8
- package/lib/util/services/jwt-security/jwt.helpher.d.ts +4 -4
- package/lib/util/services/storage/local-storage.service.d.ts +13 -13
- package/lib/util/services/storage/session-storage.service.d.ts +13 -13
- package/lib/util/services/translate-language/lang.service.d.ts +14 -14
- package/lib/util/services/user/user-subsidiary.service.d.ts +9 -9
- package/lib/util/sort.d.ts +4 -4
- package/lib/util/theme/theme-event.service.d.ts +9 -9
- package/lib/util/toaster/toaster-events.service.d.ts +15 -15
- package/lib/util/util.module.d.ts +49 -49
- package/package.json +1 -1
- package/public-api.d.ts +56 -56
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Generated bundle index. Do not edit.
|
|
3
|
-
*/
|
|
4
|
-
/// <amd-module name="new-front-common-library" />
|
|
5
|
-
export * from './public-api';
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
/// <amd-module name="new-front-common-library" />
|
|
5
|
+
export * from './public-api';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ArrayService {
|
|
3
|
-
/** Check if a value is in array */
|
|
4
|
-
inArray(value: any, array: any): boolean;
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayService, never>;
|
|
6
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ArrayService>;
|
|
7
|
-
}
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ArrayService {
|
|
3
|
+
/** Check if a value is in array */
|
|
4
|
+
inArray(value: any, array: any): boolean;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ArrayService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ArrayService>;
|
|
7
|
+
}
|
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { Router } from '@angular/router';
|
|
3
|
-
import { CookieService } from 'ngx-cookie-service';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
6
|
-
import { PermissionsInterface } from "../../interfaces/permissions.interface";
|
|
7
|
-
import { AuthUserModel } from "../../models";
|
|
8
|
-
import { LocalStorageEventsService } from "../../event/storage/local-storage-events.service";
|
|
9
|
-
import { LocalStorageService } from "../../services/storage/local-storage.service";
|
|
10
|
-
import { ToasterEventsService } from "../../toaster/toaster-events.service";
|
|
11
|
-
import { CommonApiService } from "../../services/api/common-api.service";
|
|
12
|
-
import { SessionStorageService } from "../../services/storage/session-storage.service";
|
|
13
|
-
import { PermissionsService } from "../../permissions/permissions.service";
|
|
14
|
-
import { Config } from "../../config";
|
|
15
|
-
import { LangService } from "../../services/translate-language/lang.service";
|
|
16
|
-
import { ElasticsearchService } from "../../services/elasticsearch/elasticsearch.service";
|
|
17
|
-
import { PurchaseOrderRapidSearchModel } from "../../models/expenditure-commitment/purchase-order-rapid-search.model";
|
|
18
|
-
import { ProductRapidSearchModel } from "../../models/video/product-rapid-search.model";
|
|
19
|
-
import { RapidSearchItemType } from "../../enums/rapid-search-item-type.enum";
|
|
20
|
-
import { FormControl } from '@angular/forms';
|
|
21
|
-
import { WorkVersionRapidSearchModel } from "../../models/referential/work-version-rapid-search.model";
|
|
22
|
-
import { Observable } from 'rxjs';
|
|
23
|
-
import { MatOptionSelectionChange } from '@angular/material/core';
|
|
24
|
-
import { DealRapidSearchModel } from '../../models/commercial/deal-rapid-search-model';
|
|
25
|
-
import { ThirdPartyRapidSearchModel } from "../../models/referential/third-party-rapid-search.model";
|
|
26
|
-
import { WorkRecordRapidSearchModel } from "../../models/commercial/work-record-rapid-search-model";
|
|
27
|
-
import { ContractRapidSearchModel } from "../../models/legal/contract-rapid-search-model";
|
|
28
|
-
import { InvoiceRapidSearchModel } from "../../models/commercial/invoice-rapid-search-model";
|
|
29
|
-
import * as i0 from "@angular/core";
|
|
30
|
-
export declare class HeaderComponent implements OnInit, PermissionsInterface {
|
|
31
|
-
private readonly router;
|
|
32
|
-
private readonly localStorageEvents;
|
|
33
|
-
private readonly localStorage;
|
|
34
|
-
private readonly toasterService;
|
|
35
|
-
private readonly translate;
|
|
36
|
-
private readonly commonApiService;
|
|
37
|
-
private readonly sessionStorageService;
|
|
38
|
-
private readonly permissionsService;
|
|
39
|
-
private readonly overlayContainer;
|
|
40
|
-
private readonly cookieService;
|
|
41
|
-
private readonly langService;
|
|
42
|
-
private readonly elasticsearchService;
|
|
43
|
-
private readonly config;
|
|
44
|
-
theme: string;
|
|
45
|
-
user: AuthUserModel;
|
|
46
|
-
toogleMenuEvent: EventEmitter<any>;
|
|
47
|
-
restrictions: string[];
|
|
48
|
-
lang: string;
|
|
49
|
-
labelLang: string;
|
|
50
|
-
isHide: boolean;
|
|
51
|
-
currentScroll: number;
|
|
52
|
-
env: string;
|
|
53
|
-
historyList: any[];
|
|
54
|
-
private readonly apiUrl;
|
|
55
|
-
activeButton: string;
|
|
56
|
-
RapidSearchItemType: typeof RapidSearchItemType;
|
|
57
|
-
formControlSearch: FormControl<string>;
|
|
58
|
-
documents$: Observable<(PurchaseOrderRapidSearchModel | ProductRapidSearchModel | WorkVersionRapidSearchModel | DealRapidSearchModel | WorkRecordRapidSearchModel | ThirdPartyRapidSearchModel | ContractRapidSearchModel | InvoiceRapidSearchModel)[]>;
|
|
59
|
-
constructor(router: Router, localStorageEvents: LocalStorageEventsService, localStorage: LocalStorageService, toasterService: ToasterEventsService, translate: TranslateService, commonApiService: CommonApiService, sessionStorageService: SessionStorageService, permissionsService: PermissionsService, overlayContainer: OverlayContainer, cookieService: CookieService, langService: LangService, elasticsearchService: ElasticsearchService, config: Config);
|
|
60
|
-
ngOnInit(): void;
|
|
61
|
-
onWindowScroll(): void;
|
|
62
|
-
initPermissionsService(): void;
|
|
63
|
-
switchTheme(): void;
|
|
64
|
-
stopIdentityTheft(): void;
|
|
65
|
-
navigate(module: string, route: string, queryParamString?: string | null): void;
|
|
66
|
-
redirect(route: string): void;
|
|
67
|
-
getHistory(): void;
|
|
68
|
-
switchLang(lang: any): void;
|
|
69
|
-
private updateLabelLang;
|
|
70
|
-
getContractType(type: any): "cess" | "acq" | "auth";
|
|
71
|
-
onSelectSearch($event: MatOptionSelectionChange, doc: any): void;
|
|
72
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
73
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "sc-header", never, {}, { "toogleMenuEvent": "toogleMenuEvent"; }, never, never, false, never>;
|
|
74
|
-
}
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { Router } from '@angular/router';
|
|
3
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import { OverlayContainer } from '@angular/cdk/overlay';
|
|
6
|
+
import { PermissionsInterface } from "../../interfaces/permissions.interface";
|
|
7
|
+
import { AuthUserModel } from "../../models";
|
|
8
|
+
import { LocalStorageEventsService } from "../../event/storage/local-storage-events.service";
|
|
9
|
+
import { LocalStorageService } from "../../services/storage/local-storage.service";
|
|
10
|
+
import { ToasterEventsService } from "../../toaster/toaster-events.service";
|
|
11
|
+
import { CommonApiService } from "../../services/api/common-api.service";
|
|
12
|
+
import { SessionStorageService } from "../../services/storage/session-storage.service";
|
|
13
|
+
import { PermissionsService } from "../../permissions/permissions.service";
|
|
14
|
+
import { Config } from "../../config";
|
|
15
|
+
import { LangService } from "../../services/translate-language/lang.service";
|
|
16
|
+
import { ElasticsearchService } from "../../services/elasticsearch/elasticsearch.service";
|
|
17
|
+
import { PurchaseOrderRapidSearchModel } from "../../models/expenditure-commitment/purchase-order-rapid-search.model";
|
|
18
|
+
import { ProductRapidSearchModel } from "../../models/video/product-rapid-search.model";
|
|
19
|
+
import { RapidSearchItemType } from "../../enums/rapid-search-item-type.enum";
|
|
20
|
+
import { FormControl } from '@angular/forms';
|
|
21
|
+
import { WorkVersionRapidSearchModel } from "../../models/referential/work-version-rapid-search.model";
|
|
22
|
+
import { Observable } from 'rxjs';
|
|
23
|
+
import { MatOptionSelectionChange } from '@angular/material/core';
|
|
24
|
+
import { DealRapidSearchModel } from '../../models/commercial/deal-rapid-search-model';
|
|
25
|
+
import { ThirdPartyRapidSearchModel } from "../../models/referential/third-party-rapid-search.model";
|
|
26
|
+
import { WorkRecordRapidSearchModel } from "../../models/commercial/work-record-rapid-search-model";
|
|
27
|
+
import { ContractRapidSearchModel } from "../../models/legal/contract-rapid-search-model";
|
|
28
|
+
import { InvoiceRapidSearchModel } from "../../models/commercial/invoice-rapid-search-model";
|
|
29
|
+
import * as i0 from "@angular/core";
|
|
30
|
+
export declare class HeaderComponent implements OnInit, PermissionsInterface {
|
|
31
|
+
private readonly router;
|
|
32
|
+
private readonly localStorageEvents;
|
|
33
|
+
private readonly localStorage;
|
|
34
|
+
private readonly toasterService;
|
|
35
|
+
private readonly translate;
|
|
36
|
+
private readonly commonApiService;
|
|
37
|
+
private readonly sessionStorageService;
|
|
38
|
+
private readonly permissionsService;
|
|
39
|
+
private readonly overlayContainer;
|
|
40
|
+
private readonly cookieService;
|
|
41
|
+
private readonly langService;
|
|
42
|
+
private readonly elasticsearchService;
|
|
43
|
+
private readonly config;
|
|
44
|
+
theme: string;
|
|
45
|
+
user: AuthUserModel;
|
|
46
|
+
toogleMenuEvent: EventEmitter<any>;
|
|
47
|
+
restrictions: string[];
|
|
48
|
+
lang: string;
|
|
49
|
+
labelLang: string;
|
|
50
|
+
isHide: boolean;
|
|
51
|
+
currentScroll: number;
|
|
52
|
+
env: string;
|
|
53
|
+
historyList: any[];
|
|
54
|
+
private readonly apiUrl;
|
|
55
|
+
activeButton: string;
|
|
56
|
+
RapidSearchItemType: typeof RapidSearchItemType;
|
|
57
|
+
formControlSearch: FormControl<string>;
|
|
58
|
+
documents$: Observable<(PurchaseOrderRapidSearchModel | ProductRapidSearchModel | WorkVersionRapidSearchModel | DealRapidSearchModel | WorkRecordRapidSearchModel | ThirdPartyRapidSearchModel | ContractRapidSearchModel | InvoiceRapidSearchModel)[]>;
|
|
59
|
+
constructor(router: Router, localStorageEvents: LocalStorageEventsService, localStorage: LocalStorageService, toasterService: ToasterEventsService, translate: TranslateService, commonApiService: CommonApiService, sessionStorageService: SessionStorageService, permissionsService: PermissionsService, overlayContainer: OverlayContainer, cookieService: CookieService, langService: LangService, elasticsearchService: ElasticsearchService, config: Config);
|
|
60
|
+
ngOnInit(): void;
|
|
61
|
+
onWindowScroll(): void;
|
|
62
|
+
initPermissionsService(): void;
|
|
63
|
+
switchTheme(): void;
|
|
64
|
+
stopIdentityTheft(): void;
|
|
65
|
+
navigate(module: string, route: string, queryParamString?: string | null): void;
|
|
66
|
+
redirect(route: string): void;
|
|
67
|
+
getHistory(): void;
|
|
68
|
+
switchLang(lang: any): void;
|
|
69
|
+
private updateLabelLang;
|
|
70
|
+
getContractType(type: any): "cess" | "acq" | "auth";
|
|
71
|
+
onSelectSearch($event: MatOptionSelectionChange, doc: any): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "sc-header", never, {}, { "toogleMenuEvent": "toogleMenuEvent"; }, never, never, false, never>;
|
|
74
|
+
}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
3
|
-
import { CommercialApiService } from '../../../services/api/commercial-api.service';
|
|
4
|
-
import { VideoApiService } from '../../../services/api/video-api.service';
|
|
5
|
-
import { OverlayService } from '../../overlay/overlay.service';
|
|
6
|
-
import { MenuLink } from './menu.model';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
export declare class MenuComponent {
|
|
9
|
-
private overlayService;
|
|
10
|
-
private videoApiService;
|
|
11
|
-
private commercialApiService;
|
|
12
|
-
lang: string;
|
|
13
|
-
navigate: EventEmitter<MenuLink>;
|
|
14
|
-
redirect: EventEmitter<MenuLink>;
|
|
15
|
-
activeMenu: string | null;
|
|
16
|
-
readonly menuButtons: import("./menu.model").Menu[];
|
|
17
|
-
private menuTriggerRef;
|
|
18
|
-
onClickOutside(event: MouseEvent): void;
|
|
19
|
-
constructor(overlayService: OverlayService, videoApiService: VideoApiService, commercialApiService: CommercialApiService);
|
|
20
|
-
openMenu(menuTrigger: MatMenuTrigger, menuLabel: string): void;
|
|
21
|
-
forceCloseMenu(): void;
|
|
22
|
-
extractAllProducts(): void;
|
|
23
|
-
extractAccountWrittingDownload(): void;
|
|
24
|
-
performAction(link: MenuLink): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "sc-menu", never, { "lang": { "alias": "lang"; "required": false; }; }, { "navigate": "navigate"; "redirect": "redirect"; }, never, never, false, never>;
|
|
27
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { MatMenuTrigger } from '@angular/material/menu';
|
|
3
|
+
import { CommercialApiService } from '../../../services/api/commercial-api.service';
|
|
4
|
+
import { VideoApiService } from '../../../services/api/video-api.service';
|
|
5
|
+
import { OverlayService } from '../../overlay/overlay.service';
|
|
6
|
+
import { MenuLink } from './menu.model';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class MenuComponent {
|
|
9
|
+
private overlayService;
|
|
10
|
+
private videoApiService;
|
|
11
|
+
private commercialApiService;
|
|
12
|
+
lang: string;
|
|
13
|
+
navigate: EventEmitter<MenuLink>;
|
|
14
|
+
redirect: EventEmitter<MenuLink>;
|
|
15
|
+
activeMenu: string | null;
|
|
16
|
+
readonly menuButtons: import("./menu.model").Menu[];
|
|
17
|
+
private menuTriggerRef;
|
|
18
|
+
onClickOutside(event: MouseEvent): void;
|
|
19
|
+
constructor(overlayService: OverlayService, videoApiService: VideoApiService, commercialApiService: CommercialApiService);
|
|
20
|
+
openMenu(menuTrigger: MatMenuTrigger, menuLabel: string): void;
|
|
21
|
+
forceCloseMenu(): void;
|
|
22
|
+
extractAllProducts(): void;
|
|
23
|
+
extractAccountWrittingDownload(): void;
|
|
24
|
+
performAction(link: MenuLink): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "sc-menu", never, { "lang": { "alias": "lang"; "required": false; }; }, { "navigate": "navigate"; "redirect": "redirect"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Menu } from './menu.model';
|
|
2
|
-
export declare const MENU_SECTIONS: Menu[];
|
|
1
|
+
import { Menu } from './menu.model';
|
|
2
|
+
export declare const MENU_SECTIONS: Menu[];
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export interface Menu {
|
|
2
|
-
label: string;
|
|
3
|
-
permissions: string[];
|
|
4
|
-
sections: MenuSection[];
|
|
5
|
-
restrictions?: string[];
|
|
6
|
-
}
|
|
7
|
-
export interface MenuSection {
|
|
8
|
-
label: string;
|
|
9
|
-
permissions: string[];
|
|
10
|
-
links: MenuLink[];
|
|
11
|
-
restrictions?: string[];
|
|
12
|
-
}
|
|
13
|
-
export interface MenuLink {
|
|
14
|
-
label: string;
|
|
15
|
-
module: string;
|
|
16
|
-
route: string;
|
|
17
|
-
queryParams?: string;
|
|
18
|
-
actionType: ActionType;
|
|
19
|
-
permissions: string[];
|
|
20
|
-
restrictions?: string[];
|
|
21
|
-
}
|
|
22
|
-
type ActionType = 'navigate' | 'extractProduct' | 'exportAccountWriting' | 'redirect';
|
|
23
|
-
export {};
|
|
1
|
+
export interface Menu {
|
|
2
|
+
label: string;
|
|
3
|
+
permissions: string[];
|
|
4
|
+
sections: MenuSection[];
|
|
5
|
+
restrictions?: string[];
|
|
6
|
+
}
|
|
7
|
+
export interface MenuSection {
|
|
8
|
+
label: string;
|
|
9
|
+
permissions: string[];
|
|
10
|
+
links: MenuLink[];
|
|
11
|
+
restrictions?: string[];
|
|
12
|
+
}
|
|
13
|
+
export interface MenuLink {
|
|
14
|
+
label: string;
|
|
15
|
+
module: string;
|
|
16
|
+
route: string;
|
|
17
|
+
queryParams?: string;
|
|
18
|
+
actionType: ActionType;
|
|
19
|
+
permissions: string[];
|
|
20
|
+
restrictions?: string[];
|
|
21
|
+
}
|
|
22
|
+
type ActionType = 'navigate' | 'extractProduct' | 'exportAccountWriting' | 'redirect';
|
|
23
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
-
import { OverlayService } from './overlay.service';
|
|
3
|
-
import { Router } from '@angular/router';
|
|
4
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class OverlayComponent implements OnInit {
|
|
7
|
-
private router;
|
|
8
|
-
private translateService;
|
|
9
|
-
private overlayService;
|
|
10
|
-
private cd;
|
|
11
|
-
message: string;
|
|
12
|
-
show: boolean;
|
|
13
|
-
constructor(router: Router, translateService: TranslateService, overlayService: OverlayService, cd: ChangeDetectorRef);
|
|
14
|
-
ngOnInit(): void;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayComponent, "sc-overlay", never, {}, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { OverlayService } from './overlay.service';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OverlayComponent implements OnInit {
|
|
7
|
+
private router;
|
|
8
|
+
private translateService;
|
|
9
|
+
private overlayService;
|
|
10
|
+
private cd;
|
|
11
|
+
message: string;
|
|
12
|
+
show: boolean;
|
|
13
|
+
constructor(router: Router, translateService: TranslateService, overlayService: OverlayService, cd: ChangeDetectorRef);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayComponent, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OverlayComponent, "sc-overlay", never, {}, {}, never, never, false, never>;
|
|
17
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class OverlayService {
|
|
4
|
-
showEvent: EventEmitter<string>;
|
|
5
|
-
hideEvent: EventEmitter<any>;
|
|
6
|
-
setMessageEvent: EventEmitter<string>;
|
|
7
|
-
constructor();
|
|
8
|
-
show(message?: string): void;
|
|
9
|
-
setMessage(message: string): void;
|
|
10
|
-
hide(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>;
|
|
12
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayService>;
|
|
13
|
-
}
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class OverlayService {
|
|
4
|
+
showEvent: EventEmitter<string>;
|
|
5
|
+
hideEvent: EventEmitter<any>;
|
|
6
|
+
setMessageEvent: EventEmitter<string>;
|
|
7
|
+
constructor();
|
|
8
|
+
show(message?: string): void;
|
|
9
|
+
setMessage(message: string): void;
|
|
10
|
+
hide(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OverlayService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OverlayService>;
|
|
13
|
+
}
|
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import { AesService } from '../../../services/jwt-security/aes.service';
|
|
4
|
-
import { Config } from '../../../config';
|
|
5
|
-
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
-
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
8
|
-
import { CookieService } from 'ngx-cookie-service';
|
|
9
|
-
import { CommonApiService } from '../../../services/api/common-api.service';
|
|
10
|
-
import { UserFormModel } from "../../../models/referential/user-form.model";
|
|
11
|
-
import * as i0 from "@angular/core";
|
|
12
|
-
export declare class MyDialogPopupLoginComponent implements OnInit {
|
|
13
|
-
dialogRef: MatDialogRef<MyDialogPopupLoginComponent>;
|
|
14
|
-
private aesUtil;
|
|
15
|
-
private config;
|
|
16
|
-
private http;
|
|
17
|
-
private translateService;
|
|
18
|
-
private cookieService;
|
|
19
|
-
data: any;
|
|
20
|
-
private commonApiService;
|
|
21
|
-
private formBuilder;
|
|
22
|
-
username: string;
|
|
23
|
-
password: string;
|
|
24
|
-
loading: boolean;
|
|
25
|
-
errorMessage: string;
|
|
26
|
-
apiUrl: string;
|
|
27
|
-
userForm: FormGroup<UserFormModel>;
|
|
28
|
-
constructor(dialogRef: MatDialogRef<MyDialogPopupLoginComponent>, aesUtil: AesService, config: Config, http: HttpClient, translateService: TranslateService, cookieService: CookieService, data: any, commonApiService: CommonApiService, formBuilder: FormBuilder);
|
|
29
|
-
ngOnInit(): void;
|
|
30
|
-
onLogin(): void;
|
|
31
|
-
private login;
|
|
32
|
-
private buildForm;
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MyDialogPopupLoginComponent, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MyDialogPopupLoginComponent, "sc-popup-login", never, {}, {}, never, never, false, never>;
|
|
35
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { AesService } from '../../../services/jwt-security/aes.service';
|
|
4
|
+
import { Config } from '../../../config';
|
|
5
|
+
import { HttpClient } from '@angular/common/http';
|
|
6
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
7
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
8
|
+
import { CookieService } from 'ngx-cookie-service';
|
|
9
|
+
import { CommonApiService } from '../../../services/api/common-api.service';
|
|
10
|
+
import { UserFormModel } from "../../../models/referential/user-form.model";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class MyDialogPopupLoginComponent implements OnInit {
|
|
13
|
+
dialogRef: MatDialogRef<MyDialogPopupLoginComponent>;
|
|
14
|
+
private aesUtil;
|
|
15
|
+
private config;
|
|
16
|
+
private http;
|
|
17
|
+
private translateService;
|
|
18
|
+
private cookieService;
|
|
19
|
+
data: any;
|
|
20
|
+
private commonApiService;
|
|
21
|
+
private formBuilder;
|
|
22
|
+
username: string;
|
|
23
|
+
password: string;
|
|
24
|
+
loading: boolean;
|
|
25
|
+
errorMessage: string;
|
|
26
|
+
apiUrl: string;
|
|
27
|
+
userForm: FormGroup<UserFormModel>;
|
|
28
|
+
constructor(dialogRef: MatDialogRef<MyDialogPopupLoginComponent>, aesUtil: AesService, config: Config, http: HttpClient, translateService: TranslateService, cookieService: CookieService, data: any, commonApiService: CommonApiService, formBuilder: FormBuilder);
|
|
29
|
+
ngOnInit(): void;
|
|
30
|
+
onLogin(): void;
|
|
31
|
+
private login;
|
|
32
|
+
private buildForm;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyDialogPopupLoginComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MyDialogPopupLoginComponent, "sc-popup-login", never, {}, {}, never, never, false, never>;
|
|
35
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SubHeaderComponent implements OnInit {
|
|
4
|
-
private document;
|
|
5
|
-
theme: string;
|
|
6
|
-
isHide: boolean;
|
|
7
|
-
currentScroll: number;
|
|
8
|
-
constructor(document: any);
|
|
9
|
-
ngOnInit(): void;
|
|
10
|
-
onWindowScroll(): void;
|
|
11
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SubHeaderComponent, never>;
|
|
12
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubHeaderComponent, "sc-sub-header", never, {}, {}, never, ["[left]", "[middle]", "[right]"], false, never>;
|
|
13
|
-
}
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SubHeaderComponent implements OnInit {
|
|
4
|
+
private document;
|
|
5
|
+
theme: string;
|
|
6
|
+
isHide: boolean;
|
|
7
|
+
currentScroll: number;
|
|
8
|
+
constructor(document: any);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
onWindowScroll(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SubHeaderComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SubHeaderComponent, "sc-sub-header", never, {}, {}, never, ["[left]", "[middle]", "[right]"], false, never>;
|
|
13
|
+
}
|
package/lib/util/config.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export declare const WEB_CONFIG: InjectionToken<Config>;
|
|
3
|
-
export interface Config {
|
|
4
|
-
api_url: string;
|
|
5
|
-
env: string;
|
|
6
|
-
elasticsearch_url?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const DEFAULT_WEB_CONFIG: Config;
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const WEB_CONFIG: InjectionToken<Config>;
|
|
3
|
+
export interface Config {
|
|
4
|
+
api_url: string;
|
|
5
|
+
env: string;
|
|
6
|
+
elasticsearch_url?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const DEFAULT_WEB_CONFIG: Config;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare class PeriodModel {
|
|
2
|
-
years: number;
|
|
3
|
-
months: number;
|
|
4
|
-
days: number;
|
|
5
|
-
constructor(years: number, months: number, days: number);
|
|
6
|
-
}
|
|
1
|
+
export declare class PeriodModel {
|
|
2
|
+
years: number;
|
|
3
|
+
months: number;
|
|
4
|
+
days: number;
|
|
5
|
+
constructor(years: number, months: number, days: number);
|
|
6
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
export declare const CUSTOM_DATE_FORMATS: {
|
|
2
|
-
parse: {
|
|
3
|
-
dateInput: {
|
|
4
|
-
month: string;
|
|
5
|
-
year: string;
|
|
6
|
-
day: string;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
9
|
-
display: {
|
|
10
|
-
dateInput: string;
|
|
11
|
-
monthYearLabel: {
|
|
12
|
-
year: string;
|
|
13
|
-
month: string;
|
|
14
|
-
};
|
|
15
|
-
dateA11yLabel: {
|
|
16
|
-
year: string;
|
|
17
|
-
month: string;
|
|
18
|
-
day: string;
|
|
19
|
-
};
|
|
20
|
-
monthYearA11yLabel: {
|
|
21
|
-
year: string;
|
|
22
|
-
month: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
1
|
+
export declare const CUSTOM_DATE_FORMATS: {
|
|
2
|
+
parse: {
|
|
3
|
+
dateInput: {
|
|
4
|
+
month: string;
|
|
5
|
+
year: string;
|
|
6
|
+
day: string;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
display: {
|
|
10
|
+
dateInput: string;
|
|
11
|
+
monthYearLabel: {
|
|
12
|
+
year: string;
|
|
13
|
+
month: string;
|
|
14
|
+
};
|
|
15
|
+
dateA11yLabel: {
|
|
16
|
+
year: string;
|
|
17
|
+
month: string;
|
|
18
|
+
day: string;
|
|
19
|
+
};
|
|
20
|
+
monthYearA11yLabel: {
|
|
21
|
+
year: string;
|
|
22
|
+
month: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { PeriodModel } from './PeriodModel';
|
|
2
|
-
/**
|
|
3
|
-
* Created by dstoian on 27/03/2017.
|
|
4
|
-
*/
|
|
5
|
-
export declare class DateUtil {
|
|
6
|
-
static daysPerMonth: Map<number, number>;
|
|
7
|
-
constructor();
|
|
8
|
-
static formatDate(date: Date, language: any): string;
|
|
9
|
-
static fromStringToDate(stringdate: string): Date;
|
|
10
|
-
static fromStringToDateSecond(stringdate: string): Date;
|
|
11
|
-
static periodBetweenDates(startDate: string, endDate: string): PeriodModel;
|
|
12
|
-
static checkLeapYear(year: number): boolean;
|
|
13
|
-
static initDaysPerMonths(): void;
|
|
14
|
-
static compareLocalDates(first: Date, second: Date): number;
|
|
15
|
-
static preciseDiff(d1: any, d2: any): PeriodModel;
|
|
16
|
-
}
|
|
1
|
+
import { PeriodModel } from './PeriodModel';
|
|
2
|
+
/**
|
|
3
|
+
* Created by dstoian on 27/03/2017.
|
|
4
|
+
*/
|
|
5
|
+
export declare class DateUtil {
|
|
6
|
+
static daysPerMonth: Map<number, number>;
|
|
7
|
+
constructor();
|
|
8
|
+
static formatDate(date: Date, language: any): string;
|
|
9
|
+
static fromStringToDate(stringdate: string): Date;
|
|
10
|
+
static fromStringToDateSecond(stringdate: string): Date;
|
|
11
|
+
static periodBetweenDates(startDate: string, endDate: string): PeriodModel;
|
|
12
|
+
static checkLeapYear(year: number): boolean;
|
|
13
|
+
static initDaysPerMonths(): void;
|
|
14
|
+
static compareLocalDates(first: Date, second: Date): number;
|
|
15
|
+
static preciseDiff(d1: any, d2: any): PeriodModel;
|
|
16
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function Theme(): (target: any, key: string) => void;
|
|
1
|
+
export declare function Theme(): (target: any, key: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function User(): (target: any, key: string) => void;
|
|
1
|
+
export declare function User(): (target: any, key: string) => void;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { MyNumberPipe } from '../pipes/my-number.pipe';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class MyNumberFormatterDirective implements OnInit {
|
|
5
|
-
private elementRef;
|
|
6
|
-
private currencyPipe;
|
|
7
|
-
decimalNumber: number;
|
|
8
|
-
private el;
|
|
9
|
-
constructor(elementRef: ElementRef, currencyPipe: MyNumberPipe);
|
|
10
|
-
ngOnInit(): void;
|
|
11
|
-
onFocus(value: any): void;
|
|
12
|
-
onBlur(value: any): void;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MyNumberFormatterDirective, never>;
|
|
14
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MyNumberFormatterDirective, "[myNumberFormatter]", never, { "decimalNumber": { "alias": "decimalNumber"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
-
}
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { MyNumberPipe } from '../pipes/my-number.pipe';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MyNumberFormatterDirective implements OnInit {
|
|
5
|
+
private elementRef;
|
|
6
|
+
private currencyPipe;
|
|
7
|
+
decimalNumber: number;
|
|
8
|
+
private el;
|
|
9
|
+
constructor(elementRef: ElementRef, currencyPipe: MyNumberPipe);
|
|
10
|
+
ngOnInit(): void;
|
|
11
|
+
onFocus(value: any): void;
|
|
12
|
+
onBlur(value: any): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MyNumberFormatterDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MyNumberFormatterDirective, "[myNumberFormatter]", never, { "decimalNumber": { "alias": "decimalNumber"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { MatTooltip } from '@angular/material/tooltip';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ShowIfTruncatedDirective {
|
|
5
|
-
private matTooltip;
|
|
6
|
-
private elementRef;
|
|
7
|
-
constructor(matTooltip: MatTooltip, elementRef: ElementRef<HTMLElement>);
|
|
8
|
-
setTooltipState(): void;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShowIfTruncatedDirective, never>;
|
|
10
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowIfTruncatedDirective, "[matTooltip][appShowIfTruncated]", never, {}, {}, never, never, false, never>;
|
|
11
|
-
}
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { MatTooltip } from '@angular/material/tooltip';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShowIfTruncatedDirective {
|
|
5
|
+
private matTooltip;
|
|
6
|
+
private elementRef;
|
|
7
|
+
constructor(matTooltip: MatTooltip, elementRef: ElementRef<HTMLElement>);
|
|
8
|
+
setTooltipState(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowIfTruncatedDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowIfTruncatedDirective, "[matTooltip][appShowIfTruncated]", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|