new-front-common-library 16.1.32-ROY-3 → 16.1.32-ROY-5
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/esm2022/lib/util/array.service.mjs +19 -0
- package/esm2022/lib/util/component/header/header.component.mjs +230 -0
- package/esm2022/lib/util/component/header/menu/menu.component.mjs +96 -0
- package/esm2022/lib/util/component/header/menu/menu.const.mjs +544 -0
- package/esm2022/lib/util/component/header/menu/menu.model.mjs +2 -0
- package/esm2022/lib/util/component/overlay/overlay.component.mjs +40 -0
- package/esm2022/lib/util/component/overlay/overlay.service.mjs +24 -0
- package/esm2022/lib/util/component/popup/popup-login/popup-login.component.mjs +90 -0
- package/esm2022/lib/util/component/sub-header/sub-header.component.mjs +44 -0
- package/esm2022/lib/util/config.mjs +8 -0
- package/esm2022/lib/util/date/PeriodModel.mjs +8 -0
- package/esm2022/lib/util/date/date-format-constants.mjs +12 -0
- package/esm2022/lib/util/date/date.util.mjs +218 -0
- package/esm2022/lib/util/decorators/theme.decorator.mjs +22 -0
- package/esm2022/lib/util/decorators/user.decorator.mjs +25 -0
- package/esm2022/lib/util/directives/my-number-formatter-directive.mjs +34 -0
- package/esm2022/lib/util/directives/show-if-truncated.directive.mjs +25 -0
- package/esm2022/lib/util/enums/family.enum.mjs +6 -0
- package/esm2022/lib/util/enums/rapid-search-item-type.enum.mjs +15 -0
- package/esm2022/lib/util/enums/status-color.enum.mjs +11 -0
- package/esm2022/lib/util/event/header/header-events.service.mjs +21 -0
- package/esm2022/lib/util/event/storage/local-storage-events.service.mjs +17 -0
- package/esm2022/lib/util/event/storage/session-storage-events.service.mjs +18 -0
- package/esm2022/lib/util/http/http-params.builder.mjs +27 -0
- package/esm2022/lib/util/i18n/de.mjs +158 -0
- package/esm2022/lib/util/i18n/en.mjs +162 -0
- package/esm2022/lib/util/i18n/fr.mjs +162 -0
- package/esm2022/lib/util/i18n/multi-translate-http-loader.mjs +21 -0
- package/esm2022/lib/util/interfaces/permissions.interface.mjs +2 -0
- package/esm2022/lib/util/models/any-line.model.mjs +37 -0
- package/esm2022/lib/util/models/audio-content.model.mjs +27 -0
- package/esm2022/lib/util/models/authPermission.model.mjs +16 -0
- package/esm2022/lib/util/models/authUser.model.mjs +21 -0
- package/esm2022/lib/util/models/basic.model.mjs +14 -0
- package/esm2022/lib/util/models/box-set-item.model.mjs +19 -0
- package/esm2022/lib/util/models/commercial/deal-rapid-search-model.mjs +3 -0
- package/esm2022/lib/util/models/commercial/invoice-rapid-search-model.mjs +9 -0
- package/esm2022/lib/util/models/commercial/work-record-rapid-search-model.mjs +13 -0
- package/esm2022/lib/util/models/disc-program.model.mjs +26 -0
- package/esm2022/lib/util/models/disc.model.mjs +22 -0
- package/esm2022/lib/util/models/eventType.model.mjs +7 -0
- package/esm2022/lib/util/models/expenditure-commitment/purchase-order-file.model.mjs +22 -0
- package/esm2022/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.mjs +3 -0
- package/esm2022/lib/util/models/family.model.mjs +7 -0
- package/esm2022/lib/util/models/index.mjs +101 -0
- package/esm2022/lib/util/models/lang-line.model.mjs +27 -0
- package/esm2022/lib/util/models/legal/contract-rapid-search-model.mjs +3 -0
- package/esm2022/lib/util/models/legal/contract-work.model.mjs +23 -0
- package/esm2022/lib/util/models/legal/contract-work2.model.mjs +21 -0
- package/esm2022/lib/util/models/legal/type-status-rapid-search.model.mjs +3 -0
- package/esm2022/lib/util/models/media-line.model.mjs +18 -0
- package/esm2022/lib/util/models/menu-language.model.mjs +15 -0
- package/esm2022/lib/util/models/permission.model.mjs +20 -0
- package/esm2022/lib/util/models/product-box-set.model.mjs +16 -0
- package/esm2022/lib/util/models/product-disc-detail.model.mjs +22 -0
- package/esm2022/lib/util/models/product-disc.model.mjs +27 -0
- package/esm2022/lib/util/models/product-division.model.mjs +29 -0
- package/esm2022/lib/util/models/product-type.model.mjs +22 -0
- package/esm2022/lib/util/models/product.model.mjs +62 -0
- package/esm2022/lib/util/models/program.model.mjs +28 -0
- package/esm2022/lib/util/models/purchase-order/purchase-order.model.mjs +53 -0
- package/esm2022/lib/util/models/referential/WorkVersionArticleDto.mjs +17 -0
- package/esm2022/lib/util/models/referential/adress-type.model.mjs +14 -0
- package/esm2022/lib/util/models/referential/adress.model.mjs +28 -0
- package/esm2022/lib/util/models/referential/attached-file.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/bank-account.model.mjs +24 -0
- package/esm2022/lib/util/models/referential/bank-accounts.model.mjs +31 -0
- package/esm2022/lib/util/models/referential/basic-hierarchy.model.mjs +8 -0
- package/esm2022/lib/util/models/referential/broadcast-list-item.model.mjs +13 -0
- package/esm2022/lib/util/models/referential/color.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/company.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/content-type.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/content.model.mjs +22 -0
- package/esm2022/lib/util/models/referential/cost-center-criteria-values.model.mjs +14 -0
- package/esm2022/lib/util/models/referential/cost-center-criteria.model.mjs +13 -0
- package/esm2022/lib/util/models/referential/cost-center.model.mjs +28 -0
- package/esm2022/lib/util/models/referential/coutry.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/currency.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/editorial-content.model.mjs +18 -0
- package/esm2022/lib/util/models/referential/fixing.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/flat-media.model.mjs +18 -0
- package/esm2022/lib/util/models/referential/format-image.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/format-type.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/format.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/fsk-index.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/fsk.model.mjs +22 -0
- package/esm2022/lib/util/models/referential/function.model.mjs +23 -0
- package/esm2022/lib/util/models/referential/genre.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/invoice-product-type.model.mjs +22 -0
- package/esm2022/lib/util/models/referential/keywords.model.mjs +13 -0
- package/esm2022/lib/util/models/referential/language.model.mjs +18 -0
- package/esm2022/lib/util/models/referential/media-filter.model.mjs +3 -0
- package/esm2022/lib/util/models/referential/media.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/module.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/parameter.model.mjs +2 -0
- package/esm2022/lib/util/models/referential/participant.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/person.model.mjs +23 -0
- package/esm2022/lib/util/models/referential/project-status.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/quota.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/referential-entity-state.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/referential-value.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/referentiel.model.mjs +26 -0
- package/esm2022/lib/util/models/referential/restriction.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/sap-order.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/service-error.model.mjs +15 -0
- package/esm2022/lib/util/models/referential/sound.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/territories-languages.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/territory-filter.model.mjs +3 -0
- package/esm2022/lib/util/models/referential/territory.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/theme.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/third-party-address-rapid-search.model.mjs +3 -0
- package/esm2022/lib/util/models/referential/third-party-creation-request.model.mjs +44 -0
- package/esm2022/lib/util/models/referential/third-party-module.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/third-party-rapid-search.model.mjs +3 -0
- package/esm2022/lib/util/models/referential/third-party.model.mjs +83 -0
- package/esm2022/lib/util/models/referential/translated-value-model.mjs +16 -0
- package/esm2022/lib/util/models/referential/tva.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/type-export.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/type-tva-company-territory.model.mjs +32 -0
- package/esm2022/lib/util/models/referential/type-tva.model.mjs +25 -0
- package/esm2022/lib/util/models/referential/user-form.model.mjs +2 -0
- package/esm2022/lib/util/models/referential/work-addons-model.mjs +16 -0
- package/esm2022/lib/util/models/referential/work-appartenance.model.mjs +17 -0
- package/esm2022/lib/util/models/referential/work-genre.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/work-language.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/work-milo.model.mjs +61 -0
- package/esm2022/lib/util/models/referential/work-participant.model.mjs +21 -0
- package/esm2022/lib/util/models/referential/work-restrictions-model.mjs +13 -0
- package/esm2022/lib/util/models/referential/work-theme.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/work-title.model.mjs +20 -0
- package/esm2022/lib/util/models/referential/work-version-origin.model.mjs +16 -0
- package/esm2022/lib/util/models/referential/work-version-rapid-search.model.mjs +3 -0
- package/esm2022/lib/util/models/referential/work-versions-used.model.mjs +19 -0
- package/esm2022/lib/util/models/referential/work-versions.model.mjs +27 -0
- package/esm2022/lib/util/models/referential/work-year-production.model.mjs +13 -0
- package/esm2022/lib/util/models/referential/work.model.mjs +22 -0
- package/esm2022/lib/util/models/referential/zone.model.mjs +14 -0
- package/esm2022/lib/util/models/referentiel.model.mjs +26 -0
- package/esm2022/lib/util/models/search-response.model.mjs +10 -0
- package/esm2022/lib/util/models/section.model.mjs +8 -0
- package/esm2022/lib/util/models/select/options.model.mjs +8 -0
- package/esm2022/lib/util/models/select/select.model.mjs +7 -0
- package/esm2022/lib/util/models/subsidiary.model.mjs +8 -0
- package/esm2022/lib/util/models/subtitle-content.model.mjs +28 -0
- package/esm2022/lib/util/models/user-video.model.mjs +22 -0
- package/esm2022/lib/util/models/user.model.mjs +35 -0
- package/esm2022/lib/util/models/video/product-rapid-search.model.mjs +3 -0
- package/esm2022/lib/util/models/video/support-rapid-search.model.mjs +3 -0
- package/esm2022/lib/util/models/video-content.model.mjs +18 -0
- package/esm2022/lib/util/number.validator.mjs +129 -0
- package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +59 -0
- package/esm2022/lib/util/permissions/permissions.service.mjs +49 -0
- package/esm2022/lib/util/pipes/capitalizefirst.pipe.mjs +41 -0
- package/esm2022/lib/util/pipes/comma-separated-number.pipe.mjs +15 -0
- package/esm2022/lib/util/pipes/common-translate.pipe.mjs +38 -0
- package/esm2022/lib/util/pipes/display-html.pipe.mjs +20 -0
- package/esm2022/lib/util/pipes/display-null.pipe.mjs +24 -0
- package/esm2022/lib/util/pipes/format-currency.pipe.mjs +31 -0
- package/esm2022/lib/util/pipes/format-duration.pipe.mjs +23 -0
- package/esm2022/lib/util/pipes/format-number-input.pipe.mjs +22 -0
- package/esm2022/lib/util/pipes/local-date.pipe.mjs +27 -0
- package/esm2022/lib/util/pipes/my-number.pipe.mjs +44 -0
- package/esm2022/lib/util/pipes/third-party-address-search.pipe.mjs +15 -0
- package/esm2022/lib/util/pipes/third-party-address.pipe.mjs +16 -0
- package/esm2022/lib/util/pipes/trim-string.pipe.mjs +25 -0
- package/esm2022/lib/util/regex/regex.service.mjs +94 -0
- package/esm2022/lib/util/services/api/commercial-api.service.mjs +28 -0
- package/esm2022/lib/util/services/api/common-api.service.mjs +98 -0
- package/esm2022/lib/util/services/api/legal-api.service.mjs +32 -0
- package/esm2022/lib/util/services/api/video-api.service.mjs +45 -0
- package/esm2022/lib/util/services/auth/auth.service.mjs +18 -0
- package/esm2022/lib/util/services/elasticsearch/elasticsearch.service.mjs +180 -0
- package/esm2022/lib/util/services/elasticsearch/subsidiaries.service.mjs +48 -0
- package/esm2022/lib/util/services/form-action/form-actions-events.service.mjs +25 -0
- package/esm2022/lib/util/services/guard/auth.guard.mjs +32 -0
- package/esm2022/lib/util/services/guard/login.guard.mjs +23 -0
- package/esm2022/lib/util/services/history/history.service.mjs +39 -0
- package/esm2022/lib/util/services/interceptor/auth.interceptor.mjs +53 -0
- package/esm2022/lib/util/services/jwt-security/aes.service.mjs +34 -0
- package/esm2022/lib/util/services/jwt-security/interceptorhttp.service.mjs +18 -0
- package/esm2022/lib/util/services/jwt-security/jwt.helpher.mjs +34 -0
- package/esm2022/lib/util/services/storage/local-storage.service.mjs +36 -0
- package/esm2022/lib/util/services/storage/session-storage.service.mjs +38 -0
- package/esm2022/lib/util/services/translate-language/lang.service.mjs +31 -0
- package/esm2022/lib/util/services/user/user-subsidiary.service.mjs +22 -0
- package/esm2022/lib/util/sort.mjs +22 -0
- package/esm2022/lib/util/theme/theme-event.service.mjs +17 -0
- package/esm2022/lib/util/toaster/toaster-events.service.mjs +32 -0
- package/esm2022/lib/util/util.module.mjs +281 -0
- package/esm2022/new-front-common-library.mjs +5 -0
- package/esm2022/public-api.mjs +59 -0
- package/fesm2022/new-front-common-library.mjs +5729 -0
- package/fesm2022/new-front-common-library.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/util/array.service.d.ts +7 -0
- package/lib/util/component/header/header.component.d.ts +74 -0
- package/lib/util/component/header/menu/menu.component.d.ts +27 -0
- package/lib/util/component/header/menu/menu.const.d.ts +2 -0
- package/lib/util/component/header/menu/menu.model.d.ts +23 -0
- package/lib/util/component/overlay/overlay.component.d.ts +17 -0
- package/lib/util/component/overlay/overlay.service.d.ts +13 -0
- package/lib/util/component/popup/popup-login/popup-login.component.d.ts +35 -0
- package/lib/util/component/sub-header/sub-header.component.d.ts +13 -0
- package/lib/util/config.d.ts +8 -0
- package/lib/util/date/PeriodModel.d.ts +6 -0
- package/lib/util/date/date-format-constants.d.ts +25 -0
- package/lib/util/date/date.util.d.ts +16 -0
- package/lib/util/decorators/theme.decorator.d.ts +1 -0
- package/lib/util/decorators/user.decorator.d.ts +1 -0
- package/lib/util/directives/my-number-formatter-directive.d.ts +15 -0
- package/lib/util/directives/show-if-truncated.directive.d.ts +11 -0
- package/lib/util/enums/family.enum.d.ts +4 -0
- package/lib/util/enums/rapid-search-item-type.enum.d.ts +13 -0
- package/lib/util/enums/status-color.enum.d.ts +9 -0
- package/lib/util/event/header/header-events.service.d.ts +11 -0
- package/lib/util/event/storage/local-storage-events.service.d.ts +9 -0
- package/lib/util/event/storage/session-storage-events.service.d.ts +10 -0
- package/lib/util/http/http-params.builder.d.ts +9 -0
- package/lib/util/i18n/de.d.ts +141 -0
- package/lib/util/i18n/en.d.ts +145 -0
- package/lib/util/i18n/fr.d.ts +145 -0
- package/lib/util/i18n/multi-translate-http-loader.d.ts +14 -0
- package/lib/util/models/any-line.model.d.ts +24 -0
- package/lib/util/models/audio-content.model.d.ts +27 -0
- package/lib/util/models/authPermission.model.d.ts +7 -0
- package/lib/util/models/authUser.model.d.ts +16 -0
- package/lib/util/models/basic.model.d.ts +11 -0
- package/lib/util/models/box-set-item.model.d.ts +12 -0
- package/lib/util/models/commercial/deal-rapid-search-model.d.ts +10 -0
- package/lib/util/models/commercial/invoice-rapid-search-model.d.ts +18 -0
- package/lib/util/models/commercial/work-record-rapid-search-model.d.ts +21 -0
- package/lib/util/models/disc-program.model.d.ts +9 -0
- package/lib/util/models/disc.model.d.ts +15 -0
- package/lib/util/models/eventType.model.d.ts +5 -0
- package/lib/util/models/expenditure-commitment/purchase-order-file.model.d.ts +8 -0
- package/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.d.ts +10 -0
- package/lib/util/models/family.model.d.ts +5 -0
- package/{src/lib/util/models/index.ts → lib/util/models/index.d.ts} +0 -1
- package/lib/util/models/lang-line.model.d.ts +18 -0
- package/lib/util/models/legal/contract-rapid-search-model.d.ts +10 -0
- package/lib/util/models/legal/contract-work.model.d.ts +27 -0
- package/lib/util/models/legal/contract-work2.model.d.ts +23 -0
- package/lib/util/models/legal/type-status-rapid-search.model.d.ts +5 -0
- package/lib/util/models/media-line.model.d.ts +9 -0
- package/lib/util/models/menu-language.model.d.ts +6 -0
- package/lib/util/models/permission.model.d.ts +12 -0
- package/lib/util/models/product-box-set.model.d.ts +8 -0
- package/lib/util/models/product-disc-detail.model.d.ts +14 -0
- package/lib/util/models/product-disc.model.d.ts +11 -0
- package/lib/util/models/product-division.model.d.ts +15 -0
- package/lib/util/models/product-type.model.d.ts +7 -0
- package/lib/util/models/product.model.d.ts +52 -0
- package/lib/util/models/program.model.d.ts +21 -0
- package/lib/util/models/purchase-order/purchase-order.model.d.ts +40 -0
- package/lib/util/models/referential/WorkVersionArticleDto.d.ts +10 -0
- package/lib/util/models/referential/adress-type.model.d.ts +5 -0
- package/lib/util/models/referential/adress.model.d.ts +20 -0
- package/lib/util/models/referential/attached-file.model.d.ts +11 -0
- package/lib/util/models/referential/bank-account.model.d.ts +15 -0
- package/lib/util/models/referential/bank-accounts.model.d.ts +17 -0
- package/lib/util/models/referential/basic-hierarchy.model.d.ts +6 -0
- package/lib/util/models/referential/broadcast-list-item.model.d.ts +8 -0
- package/lib/util/models/referential/color.model.d.ts +6 -0
- package/lib/util/models/referential/company.model.d.ts +7 -0
- package/lib/util/models/referential/content-type.model.d.ts +12 -0
- package/lib/util/models/referential/content.model.d.ts +7 -0
- package/lib/util/models/referential/cost-center-criteria-values.model.d.ts +7 -0
- package/lib/util/models/referential/cost-center-criteria.model.d.ts +12 -0
- package/lib/util/models/referential/cost-center.model.d.ts +18 -0
- package/lib/util/models/referential/coutry.model.d.ts +7 -0
- package/lib/util/models/referential/currency.model.d.ts +11 -0
- package/lib/util/models/referential/editorial-content.model.d.ts +25 -0
- package/lib/util/models/referential/fixing.model.d.ts +10 -0
- package/lib/util/models/referential/flat-media.model.d.ts +9 -0
- package/lib/util/models/referential/format-image.model.d.ts +7 -0
- package/lib/util/models/referential/format-type.model.d.ts +6 -0
- package/lib/util/models/referential/format.model.d.ts +7 -0
- package/lib/util/models/referential/fsk-index.model.d.ts +22 -0
- package/lib/util/models/referential/fsk.model.d.ts +37 -0
- package/lib/util/models/referential/function.model.d.ts +8 -0
- package/lib/util/models/referential/genre.model.d.ts +7 -0
- package/lib/util/models/referential/invoice-product-type.model.d.ts +7 -0
- package/lib/util/models/referential/keywords.model.d.ts +6 -0
- package/lib/util/models/referential/language.model.d.ts +11 -0
- package/lib/util/models/referential/media-filter.model.d.ts +10 -0
- package/lib/util/models/referential/media.model.d.ts +11 -0
- package/lib/util/models/referential/module.model.d.ts +11 -0
- package/{src/lib/util/models/referential/parameter.model.ts → lib/util/models/referential/parameter.model.d.ts} +0 -2
- package/lib/util/models/referential/participant.model.d.ts +11 -0
- package/lib/util/models/referential/person.model.d.ts +13 -0
- package/lib/util/models/referential/project-status.model.d.ts +6 -0
- package/lib/util/models/referential/quota.model.d.ts +7 -0
- package/lib/util/models/referential/referential-entity-state.model.d.ts +11 -0
- package/lib/util/models/referential/referential-value.model.d.ts +11 -0
- package/lib/util/models/referential/referentiel.model.d.ts +12 -0
- package/lib/util/models/referential/restriction.model.d.ts +9 -0
- package/lib/util/models/referential/sap-order.model.d.ts +27 -0
- package/lib/util/models/referential/service-error.model.d.ts +13 -0
- package/lib/util/models/referential/sound.model.d.ts +6 -0
- package/lib/util/models/referential/territories-languages.model.d.ts +8 -0
- package/lib/util/models/referential/territory-filter.model.d.ts +6 -0
- package/lib/util/models/referential/territory.model.d.ts +12 -0
- package/lib/util/models/referential/theme.model.d.ts +7 -0
- package/lib/util/models/referential/third-party-address-rapid-search.model.d.ts +8 -0
- package/lib/util/models/referential/third-party-creation-request.model.d.ts +48 -0
- package/lib/util/models/referential/third-party-module.model.d.ts +11 -0
- package/lib/util/models/referential/third-party-rapid-search.model.d.ts +8 -0
- package/lib/util/models/referential/third-party.model.d.ts +45 -0
- package/lib/util/models/referential/translated-value-model.d.ts +10 -0
- package/lib/util/models/referential/tva.model.d.ts +7 -0
- package/lib/util/models/referential/type-export.model.d.ts +7 -0
- package/lib/util/models/referential/type-tva-company-territory.model.d.ts +18 -0
- package/lib/util/models/referential/type-tva.model.d.ts +10 -0
- package/{src/lib/util/models/referential/user-form.model.ts → lib/util/models/referential/user-form.model.d.ts} +0 -2
- package/lib/util/models/referential/work-addons-model.d.ts +25 -0
- package/lib/util/models/referential/work-appartenance.model.d.ts +7 -0
- package/lib/util/models/referential/work-genre.model.d.ts +11 -0
- package/lib/util/models/referential/work-language.model.d.ts +11 -0
- package/lib/util/models/referential/work-milo.model.d.ts +46 -0
- package/lib/util/models/referential/work-participant.model.d.ts +10 -0
- package/lib/util/models/referential/work-restrictions-model.d.ts +18 -0
- package/lib/util/models/referential/work-theme.model.d.ts +11 -0
- package/lib/util/models/referential/work-title.model.d.ts +10 -0
- package/lib/util/models/referential/work-version-origin.model.d.ts +10 -0
- package/lib/util/models/referential/work-version-rapid-search.model.d.ts +9 -0
- package/lib/util/models/referential/work-versions-used.model.d.ts +12 -0
- package/lib/util/models/referential/work-versions.model.d.ts +29 -0
- package/lib/util/models/referential/work-year-production.model.d.ts +6 -0
- package/lib/util/models/referential/work.model.d.ts +74 -0
- package/lib/util/models/referential/zone.model.d.ts +6 -0
- package/lib/util/models/referentiel.model.d.ts +12 -0
- package/lib/util/models/search-response.model.d.ts +7 -0
- package/lib/util/models/section.model.d.ts +7 -0
- package/lib/util/models/select/options.model.d.ts +6 -0
- package/lib/util/models/select/select.model.d.ts +5 -0
- package/lib/util/models/subsidiary.model.d.ts +7 -0
- package/lib/util/models/subtitle-content.model.d.ts +26 -0
- package/lib/util/models/user-video.model.d.ts +10 -0
- package/lib/util/models/user.model.d.ts +27 -0
- package/lib/util/models/video/product-rapid-search.model.d.ts +8 -0
- package/lib/util/models/video/support-rapid-search.model.d.ts +6 -0
- package/lib/util/models/video-content.model.d.ts +24 -0
- package/lib/util/number.validator.d.ts +14 -0
- package/lib/util/paginator/custom-paginator-configuration.d.ts +16 -0
- package/lib/util/permissions/permissions.service.d.ts +15 -0
- package/lib/util/pipes/capitalizefirst.pipe.d.ts +8 -0
- package/lib/util/pipes/comma-separated-number.pipe.d.ts +7 -0
- package/lib/util/pipes/common-translate.pipe.d.ts +12 -0
- package/lib/util/pipes/display-html.pipe.d.ts +10 -0
- package/lib/util/pipes/display-null.pipe.d.ts +8 -0
- package/lib/util/pipes/format-currency.pipe.d.ts +10 -0
- package/lib/util/pipes/format-duration.pipe.d.ts +7 -0
- package/lib/util/pipes/format-number-input.pipe.d.ts +7 -0
- package/lib/util/pipes/local-date.pipe.d.ts +9 -0
- package/lib/util/pipes/my-number.pipe.d.ts +11 -0
- package/lib/util/pipes/third-party-address-search.pipe.d.ts +8 -0
- package/lib/util/pipes/third-party-address.pipe.d.ts +8 -0
- package/lib/util/pipes/trim-string.pipe.d.ts +7 -0
- package/lib/util/regex/regex.service.d.ts +12 -0
- package/lib/util/services/api/commercial-api.service.d.ts +12 -0
- package/lib/util/services/api/common-api.service.d.ts +27 -0
- package/lib/util/services/api/legal-api.service.d.ts +15 -0
- package/lib/util/services/api/video-api.service.d.ts +17 -0
- package/lib/util/services/auth/auth.service.d.ts +9 -0
- package/lib/util/services/elasticsearch/elasticsearch.service.d.ts +35 -0
- package/lib/util/services/elasticsearch/subsidiaries.service.d.ts +12 -0
- package/lib/util/services/form-action/form-actions-events.service.d.ts +14 -0
- package/lib/util/services/guard/auth.guard.d.ts +2 -0
- package/lib/util/services/guard/login.guard.d.ts +1 -0
- package/lib/util/services/history/history.service.d.ts +10 -0
- package/lib/util/services/interceptor/auth.interceptor.d.ts +16 -0
- package/lib/util/services/jwt-security/aes.service.d.ts +12 -0
- package/lib/util/services/jwt-security/interceptorhttp.service.d.ts +8 -0
- package/lib/util/services/jwt-security/jwt.helpher.d.ts +4 -0
- package/lib/util/services/storage/local-storage.service.d.ts +13 -0
- package/lib/util/services/storage/session-storage.service.d.ts +13 -0
- package/lib/util/services/translate-language/lang.service.d.ts +14 -0
- package/lib/util/services/user/user-subsidiary.service.d.ts +9 -0
- package/lib/util/sort.d.ts +4 -0
- package/lib/util/theme/theme-event.service.d.ts +9 -0
- package/lib/util/toaster/toaster-events.service.d.ts +15 -0
- package/lib/util/util.module.d.ts +49 -0
- package/package.json +19 -2
- package/{src/public-api.ts → public-api.d.ts} +2 -17
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -10
- package/src/lib/new-front-common-library.component.spec.ts +0 -25
- package/src/lib/new-front-common-library.component.ts +0 -20
- package/src/lib/new-front-common-library.module.ts +0 -26
- package/src/lib/new-front-common-library.service.spec.ts +0 -16
- package/src/lib/new-front-common-library.service.ts +0 -10
- package/src/lib/util/animations/actions.animation.ts +0 -16
- package/src/lib/util/animations/fade.animation.ts +0 -16
- package/src/lib/util/array.service.ts +0 -14
- package/src/lib/util/component/header/header.component.html +0 -389
- package/src/lib/util/component/header/header.component.scss +0 -265
- package/src/lib/util/component/header/header.component.ts +0 -245
- package/src/lib/util/component/header/menu/menu.component.html +0 -52
- package/src/lib/util/component/header/menu/menu.component.scss +0 -127
- package/src/lib/util/component/header/menu/menu.component.spec.ts +0 -21
- package/src/lib/util/component/header/menu/menu.component.ts +0 -94
- package/src/lib/util/component/header/menu/menu.const.ts +0 -546
- package/src/lib/util/component/header/menu/menu.model.ts +0 -26
- package/src/lib/util/component/overlay/overlay.component.css +0 -20
- package/src/lib/util/component/overlay/overlay.component.html +0 -10
- package/src/lib/util/component/overlay/overlay.component.ts +0 -42
- package/src/lib/util/component/overlay/overlay.service.ts +0 -23
- package/src/lib/util/component/popup/popup-login/popup-login.component.css +0 -3
- package/src/lib/util/component/popup/popup-login/popup-login.component.html +0 -29
- package/src/lib/util/component/popup/popup-login/popup-login.component.ts +0 -96
- package/src/lib/util/component/sub-header/sub-header.component.css +0 -136
- package/src/lib/util/component/sub-header/sub-header.component.html +0 -20
- package/src/lib/util/component/sub-header/sub-header.component.spec.ts +0 -25
- package/src/lib/util/component/sub-header/sub-header.component.ts +0 -37
- package/src/lib/util/config.ts +0 -15
- package/src/lib/util/date/PeriodModel.ts +0 -7
- package/src/lib/util/date/date-format-constants.ts +0 -12
- package/src/lib/util/date/date.util.ts +0 -222
- package/src/lib/util/decorators/theme.decorator.ts +0 -24
- package/src/lib/util/decorators/user.decorator.ts +0 -30
- package/src/lib/util/directives/my-number-formatter-directive.ts +0 -32
- package/src/lib/util/directives/show-if-truncated.directive.ts +0 -19
- package/src/lib/util/enums/family.enum.ts +0 -4
- package/src/lib/util/enums/rapid-search-item-type.enum.ts +0 -11
- package/src/lib/util/enums/status-color.enum.ts +0 -9
- package/src/lib/util/event/header/header-events.service.ts +0 -20
- package/src/lib/util/event/storage/local-storage-events.service.ts +0 -15
- package/src/lib/util/event/storage/session-storage-events.service.ts +0 -15
- package/src/lib/util/http/http-params.builder.ts +0 -33
- package/src/lib/util/i18n/de.ts +0 -173
- package/src/lib/util/i18n/en.ts +0 -173
- package/src/lib/util/i18n/fr.ts +0 -174
- package/src/lib/util/i18n/multi-translate-http-loader.ts +0 -31
- package/src/lib/util/models/any-line.model.ts +0 -45
- package/src/lib/util/models/audio-content.model.ts +0 -40
- package/src/lib/util/models/authPermission.model.ts +0 -17
- package/src/lib/util/models/authUser.model.ts +0 -28
- package/src/lib/util/models/basic-hierarchy.model.ts +0 -8
- package/src/lib/util/models/basic.model.ts +0 -31
- package/src/lib/util/models/box-set-item.model.ts +0 -23
- package/src/lib/util/models/commercial/deal-rapid-search-model.ts +0 -10
- package/src/lib/util/models/commercial/invoice-rapid-search-model.ts +0 -25
- package/src/lib/util/models/commercial/work-record-rapid-search-model.ts +0 -28
- package/src/lib/util/models/custom-typings.d.ts +0 -166
- package/src/lib/util/models/disc-program.model.ts +0 -29
- package/src/lib/util/models/disc.model.ts +0 -26
- package/src/lib/util/models/eventType.model.ts +0 -7
- package/src/lib/util/models/expenditure-commitment/purchase-order-file.model.ts +0 -27
- package/src/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.ts +0 -10
- package/src/lib/util/models/family.model.ts +0 -6
- package/src/lib/util/models/lang-line.model.ts +0 -31
- package/src/lib/util/models/legal/contract-rapid-search-model.ts +0 -13
- package/src/lib/util/models/legal/contract-work.model.ts +0 -43
- package/src/lib/util/models/legal/contract-work2.model.ts +0 -39
- package/src/lib/util/models/legal/type-status-rapid-search.model.ts +0 -5
- package/src/lib/util/models/media-line.model.ts +0 -20
- package/src/lib/util/models/menu-language.model.ts +0 -16
- package/src/lib/util/models/milo/territory.model.ts +0 -19
- package/src/lib/util/models/module.model.ts +0 -9
- package/src/lib/util/models/permission.model.ts +0 -21
- package/src/lib/util/models/product-box-set.model.ts +0 -19
- package/src/lib/util/models/product-disc-detail.model.ts +0 -25
- package/src/lib/util/models/product-disc.model.ts +0 -31
- package/src/lib/util/models/product-division.model.ts +0 -35
- package/src/lib/util/models/product-type.model.ts +0 -26
- package/src/lib/util/models/product.model.ts +0 -73
- package/src/lib/util/models/program.model.ts +0 -34
- package/src/lib/util/models/purchase-order/purchase-order.model.ts +0 -61
- package/src/lib/util/models/referential/WorkVersionArticleDto.ts +0 -20
- package/src/lib/util/models/referential/adress-type.model.ts +0 -13
- package/src/lib/util/models/referential/adress.model.ts +0 -31
- package/src/lib/util/models/referential/attached-file.model.ts +0 -21
- package/src/lib/util/models/referential/bank-account.model.ts +0 -25
- package/src/lib/util/models/referential/bank-accounts.model.ts +0 -34
- package/src/lib/util/models/referential/basic-hierarchy.model.ts +0 -8
- package/src/lib/util/models/referential/broadcast-list-item.model.ts +0 -19
- package/src/lib/util/models/referential/color.model.ts +0 -16
- package/src/lib/util/models/referential/company.model.ts +0 -17
- package/src/lib/util/models/referential/content-type.model.ts +0 -22
- package/src/lib/util/models/referential/content.model.ts +0 -26
- package/src/lib/util/models/referential/cost-center-criteria-values.model.ts +0 -17
- package/src/lib/util/models/referential/cost-center-criteria.model.ts +0 -23
- package/src/lib/util/models/referential/cost-center.model.ts +0 -37
- package/src/lib/util/models/referential/coutry.model.ts +0 -17
- package/src/lib/util/models/referential/currency.model.ts +0 -22
- package/src/lib/util/models/referential/editorial-content.model.ts +0 -37
- package/src/lib/util/models/referential/fixing.model.ts +0 -21
- package/src/lib/util/models/referential/flat-media.model.ts +0 -19
- package/src/lib/util/models/referential/format-image.model.ts +0 -17
- package/src/lib/util/models/referential/format-type.model.ts +0 -16
- package/src/lib/util/models/referential/format.model.ts +0 -17
- package/src/lib/util/models/referential/fsk-index.model.ts +0 -36
- package/src/lib/util/models/referential/fsk.model.ts +0 -53
- package/src/lib/util/models/referential/function.model.ts +0 -25
- package/src/lib/util/models/referential/genre.model.ts +0 -17
- package/src/lib/util/models/referential/invoice-product-type.model.ts +0 -24
- package/src/lib/util/models/referential/keywords.model.ts +0 -16
- package/src/lib/util/models/referential/language.model.ts +0 -22
- package/src/lib/util/models/referential/media-filter.model.ts +0 -10
- package/src/lib/util/models/referential/media.model.ts +0 -21
- package/src/lib/util/models/referential/module.model.ts +0 -21
- package/src/lib/util/models/referential/participant.model.ts +0 -31
- package/src/lib/util/models/referential/person.model.ts +0 -30
- package/src/lib/util/models/referential/po/WorkRestrictionPO.ts +0 -11
- package/src/lib/util/models/referential/project-status.model.ts +0 -16
- package/src/lib/util/models/referential/quota.model.ts +0 -17
- package/src/lib/util/models/referential/referential-entity-state.model.ts +0 -22
- package/src/lib/util/models/referential/referential-value.model.ts +0 -21
- package/src/lib/util/models/referential/referentiel.model.ts +0 -29
- package/src/lib/util/models/referential/restriction.model.ts +0 -26
- package/src/lib/util/models/referential/sap-order.model.ts +0 -48
- package/src/lib/util/models/referential/service-error.model.ts +0 -16
- package/src/lib/util/models/referential/sound.model.ts +0 -16
- package/src/lib/util/models/referential/territories-languages.model.ts +0 -19
- package/src/lib/util/models/referential/territory-filter.model.ts +0 -6
- package/src/lib/util/models/referential/territory.model.ts +0 -27
- package/src/lib/util/models/referential/theme.model.ts +0 -17
- package/src/lib/util/models/referential/third-party-address-rapid-search.model.ts +0 -8
- package/src/lib/util/models/referential/third-party-creation-request.model.ts +0 -59
- package/src/lib/util/models/referential/third-party-module.model.ts +0 -21
- package/src/lib/util/models/referential/third-party-rapid-search.model.ts +0 -10
- package/src/lib/util/models/referential/third-party.model.ts +0 -100
- package/src/lib/util/models/referential/translated-value-model.ts +0 -20
- package/src/lib/util/models/referential/tva.model.ts +0 -17
- package/src/lib/util/models/referential/type-export.model.ts +0 -17
- package/src/lib/util/models/referential/type-tva-company-territory.model.ts +0 -36
- package/src/lib/util/models/referential/type-tva.model.ts +0 -29
- package/src/lib/util/models/referential/work-addons-model.ts +0 -36
- package/src/lib/util/models/referential/work-appartenance.model.ts +0 -17
- package/src/lib/util/models/referential/work-genre.model.ts +0 -21
- package/src/lib/util/models/referential/work-language.model.ts +0 -21
- package/src/lib/util/models/referential/work-milo.model.ts +0 -65
- package/src/lib/util/models/referential/work-participant.model.ts +0 -28
- package/src/lib/util/models/referential/work-restrictions-model.ts +0 -34
- package/src/lib/util/models/referential/work-theme.model.ts +0 -21
- package/src/lib/util/models/referential/work-title.model.ts +0 -27
- package/src/lib/util/models/referential/work-version-origin.model.ts +0 -20
- package/src/lib/util/models/referential/work-version-rapid-search.model.ts +0 -10
- package/src/lib/util/models/referential/work-versions-used.model.ts +0 -22
- package/src/lib/util/models/referential/work-versions.model.ts +0 -47
- package/src/lib/util/models/referential/work-year-production.model.ts +0 -16
- package/src/lib/util/models/referential/work.model.ts +0 -88
- package/src/lib/util/models/referential/zone.model.ts +0 -16
- package/src/lib/util/models/referentiel.model.ts +0 -29
- package/src/lib/util/models/search-response.model.ts +0 -7
- package/src/lib/util/models/section.model.ts +0 -11
- package/src/lib/util/models/select/options.model.ts +0 -8
- package/src/lib/util/models/select/select.model.ts +0 -4
- package/src/lib/util/models/subsidiary.model.ts +0 -10
- package/src/lib/util/models/subtitle-content.model.ts +0 -39
- package/src/lib/util/models/user-video.model.ts +0 -29
- package/src/lib/util/models/user.model.ts +0 -41
- package/src/lib/util/models/video/product-rapid-search.model.ts +0 -10
- package/src/lib/util/models/video/support-rapid-search.model.ts +0 -7
- package/src/lib/util/models/video-content.model.ts +0 -37
- package/src/lib/util/number.validator.ts +0 -123
- package/src/lib/util/paginator/custom-paginator-configuration.ts +0 -68
- package/src/lib/util/permissions/permissions.service.ts +0 -47
- package/src/lib/util/pipes/capitalizefirst.pipe.ts +0 -39
- package/src/lib/util/pipes/comma-separated-number.pipe.ts +0 -9
- package/src/lib/util/pipes/common-translate.pipe.ts +0 -37
- package/src/lib/util/pipes/display-html.pipe.ts +0 -15
- package/src/lib/util/pipes/display-null.pipe.ts +0 -19
- package/src/lib/util/pipes/format-currency.pipe.ts +0 -26
- package/src/lib/util/pipes/format-duration.pipe.ts +0 -16
- package/src/lib/util/pipes/format-number-input.pipe.ts +0 -19
- package/src/lib/util/pipes/local-date.pipe.ts +0 -29
- package/src/lib/util/pipes/my-number.pipe.ts +0 -51
- package/src/lib/util/pipes/third-party-address-search.pipe.ts +0 -12
- package/src/lib/util/pipes/third-party-address.pipe.ts +0 -13
- package/src/lib/util/pipes/trim-string.pipe.ts +0 -24
- package/src/lib/util/regex/regex.service.ts +0 -94
- package/src/lib/util/regex/regex.spec.ts +0 -45
- package/src/lib/util/services/api/commercial-api.service.ts +0 -23
- package/src/lib/util/services/api/common-api.service.ts +0 -121
- package/src/lib/util/services/api/legal-api.service.ts +0 -27
- package/src/lib/util/services/api/video-api.service.ts +0 -45
- package/src/lib/util/services/auth/auth.service.spec.ts +0 -16
- package/src/lib/util/services/auth/auth.service.ts +0 -14
- package/src/lib/util/services/elasticsearch/elasticsearch.service.ts +0 -179
- package/src/lib/util/services/elasticsearch/subsidiaries.service.ts +0 -48
- package/src/lib/util/services/form-action/form-actions-events.service.ts +0 -25
- package/src/lib/util/services/guard/auth.guard.ts +0 -44
- package/src/lib/util/services/guard/login.guard.ts +0 -26
- package/src/lib/util/services/history/history.service.ts +0 -38
- package/src/lib/util/services/interceptor/auth.interceptor.ts +0 -66
- package/src/lib/util/services/jwt-security/aes.service.ts +0 -48
- package/src/lib/util/services/jwt-security/interceptorhttp.service.ts +0 -98
- package/src/lib/util/services/jwt-security/jwt.helpher.ts +0 -38
- package/src/lib/util/services/storage/local-storage.service.ts +0 -36
- package/src/lib/util/services/storage/session-storage.service.ts +0 -39
- package/src/lib/util/services/translate-language/lang.service.ts +0 -26
- package/src/lib/util/services/user/user-subsidiary.service.spec.ts +0 -207
- package/src/lib/util/services/user/user-subsidiary.service.ts +0 -21
- package/src/lib/util/sort.ts +0 -27
- package/src/lib/util/theme/theme-event.service.ts +0 -15
- package/src/lib/util/toaster/toaster-events.service.ts +0 -32
- package/src/lib/util/util.module.ts +0 -185
- package/src/test.ts +0 -13
- package/tsconfig.lib.json +0 -19
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
- /package/{src/lib/util/interfaces/permissions.interface.ts → lib/util/interfaces/permissions.interface.d.ts} +0 -0
package/src/lib/util/i18n/fr.ts
DELETED
|
@@ -1,174 +0,0 @@
|
|
|
1
|
-
export const fr = {
|
|
2
|
-
//HEADER MENU COMMERCIAL
|
|
3
|
-
'COMMON.HEADER.MENU.DASHBOARD': 'Tableau de bord',
|
|
4
|
-
|
|
5
|
-
//HEADER MENU USER
|
|
6
|
-
'COMMON.HEADER.MENU.USER.SECTION_TITLE': 'Utilisateurs',
|
|
7
|
-
'COMMON.HEADER.MENU.USER.SETTINGS': 'Mes préférences',
|
|
8
|
-
|
|
9
|
-
//HEADER MENU REFERENTIAL
|
|
10
|
-
'COMMON.HEADER.MENU.REFERENTIAL.SUPPORT': 'Référentiels',
|
|
11
|
-
'COMMON.HEADER.MENU.REFERENTIAL.BATCH': 'Administration des Batches',
|
|
12
|
-
'COMMON.HEADER.MENU.TV-DATA': 'TV Data',
|
|
13
|
-
'COMMON.HEADER.MENU.EXPENDITURE_COMMITMENT': 'Engagement de dépenses',
|
|
14
|
-
'COMMON.HEADER.MENU.BI.SEARCH': 'Aide à la vente',
|
|
15
|
-
'COMMON.HEADER.MENU.CALENDAR': 'Calendrier',
|
|
16
|
-
|
|
17
|
-
// HEADER MENU ROYALTY
|
|
18
|
-
'COMMON.HEADER.MENU.ROYALTY': 'Royalty',
|
|
19
|
-
|
|
20
|
-
// HEADER GOLBAL SEARCH
|
|
21
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ADVANCED': 'avancée',
|
|
22
|
-
'COMMON.HEADER.GLOBAL_SEARCH.PLACEHOLDER': 'Recherche ...',
|
|
23
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCT': 'Produit',
|
|
24
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.SUPPORT': 'Support',
|
|
25
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN': 'EAN',
|
|
26
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.RELEASE_DATE': 'Date de sortie',
|
|
27
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PURCHASE_ORDER': 'Commande',
|
|
28
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.BASKET_NUMBER': 'N° Panier',
|
|
29
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK': 'Oeuvre',
|
|
30
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE': 'Code milo',
|
|
31
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCTION_YEAR': 'Année de production',
|
|
32
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL': 'Deal',
|
|
33
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT': 'Montant',
|
|
34
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.VALIDATION_DATE': 'Date de validation',
|
|
35
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.THIRD_PARTY': 'Tiers',
|
|
36
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CODE': 'Code',
|
|
37
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE': 'Titre',
|
|
38
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLES': 'Titres',
|
|
39
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK_RECORD': 'Fiche',
|
|
40
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT': 'Client',
|
|
41
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT': 'Contrat N',
|
|
42
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE': 'Type',
|
|
43
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS': 'Statut',
|
|
44
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CUSTOMER': 'Client',
|
|
45
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR': 'Cedant',
|
|
46
|
-
'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE': 'Facture',
|
|
47
|
-
|
|
48
|
-
// HEADER HISTORY
|
|
49
|
-
'COMMON.HEADER.HISTORY.PRODUCT': 'Produit',
|
|
50
|
-
'COMMON.HEADER.HISTORY.PO': 'Commande',
|
|
51
|
-
'COMMON.HEADER.HISTORY.WORK_RECORD': 'Fiche',
|
|
52
|
-
'COMMON.HEADER.HISTORY.DEAL': 'Deal',
|
|
53
|
-
'COMMON.HEADER.HISTORY.CONTRACT_ACQ': 'Contrat',
|
|
54
|
-
'COMMON.HEADER.HISTORY.CONTRACT_CESS': 'Contrat',
|
|
55
|
-
'COMMON.HEADER.HISTORY.CONTRACT_AUTH': 'Contrat',
|
|
56
|
-
'COMMON.HEADER.HISTORY.BUDGET': 'Budget',
|
|
57
|
-
'COMMON.HEADER.HISTORY.NO_HISTORY_AVAILABLE': 'Pas d\'historique disponible',
|
|
58
|
-
|
|
59
|
-
// HEADER CREATION
|
|
60
|
-
'COMMON.HEADER.CREATION.PRODUCT': 'créer un produit',
|
|
61
|
-
'COMMON.HEADER.CREATION.PO': 'créer une commande',
|
|
62
|
-
'COMMON.HEADER.CREATION.DEAL': 'créer un deal',
|
|
63
|
-
'COMMON.HEADER.CREATION.CREATION_ACQ': 'créer un contrat d\'acquisition',
|
|
64
|
-
'COMMON.HEADER.CREATION.CREATION_CESS': 'créer un contrat de cession',
|
|
65
|
-
'COMMON.HEADER.CREATION.CREATION_AUTH': 'créer un contrat d\'auteur',
|
|
66
|
-
'COMMON.HEADER.CREATION.CAMPAIGN': 'créer une campagne',
|
|
67
|
-
|
|
68
|
-
// HEADER CONNECTED AS
|
|
69
|
-
'COMMON.HEADER.CONNECTED_AS': 'Connectée en tant que',
|
|
70
|
-
'COMMON.HEADER.STOP': 'Arrêter',
|
|
71
|
-
|
|
72
|
-
// HEADER PARAMETERS
|
|
73
|
-
'COMMON.HEADER.PARAMETERS.THEME': 'Changer le thème',
|
|
74
|
-
'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES': 'changer de langue',
|
|
75
|
-
'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.FRENCH': 'fr',
|
|
76
|
-
'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.ENGLISH': 'en',
|
|
77
|
-
'COMMON.HEADER.PARAMETERS.TITLE.LANGUAGES.DEUTCH': 'de',
|
|
78
|
-
|
|
79
|
-
// HEADER DISTRIBUTION HUB
|
|
80
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB': 'Distribution Hub',
|
|
81
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.CALENDAR': 'Calendrier',
|
|
82
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.CALENDAR.CALENDAR': 'Calendrier',
|
|
83
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.SLATE_MANAGEMENT': 'Slate Management',
|
|
84
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.SLATE_MANAGEMENT.DASHBOARD': 'Dashboard',
|
|
85
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.SLATE_MANAGEMENT.CAMPAIGN_CREATE': 'Créer une campagne',
|
|
86
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.SLATE_MANAGEMENT.RELEASE_PLANNING': 'Planning de sortie',
|
|
87
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.SLATE_MANAGEMENT.PA_TO_VALIDATE': 'P&A à valider',
|
|
88
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.SLATE_MANAGEMENT.CAMPAIGN_ADVANCED_SEARCH': 'Rechercher une campagne',
|
|
89
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.ROYALTY': 'Royalty',
|
|
90
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.ROYALTY.SEARCH_CONTRACT': 'Rechercher un contrat Royalty',
|
|
91
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.ROYALTY.INIT_CONTRACT': 'Initialiser un contrat Royalty',
|
|
92
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.ROYALTY.CREATE_CONTRACT': 'Créer un contrat Royalty',
|
|
93
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.ROYALTY.REPORTING': 'Reporting',
|
|
94
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.MILKSHAKE': 'Milkshake',
|
|
95
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.MILKSHAKE.MILKSHAKE': 'Milkshake',
|
|
96
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.TV_DATA': 'TV Data',
|
|
97
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.TV_DATA.TV_DATA': 'TV Data',
|
|
98
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.REPORTING': 'Reporting',
|
|
99
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.REPORTING.BI': 'Power BI Studiocanal',
|
|
100
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.PILOT': 'Pilot',
|
|
101
|
-
'COMMON.HEADER.MENU.DISTRIBUTION_HUB.PILOT.PILOT': 'Pilot',
|
|
102
|
-
|
|
103
|
-
// HEADER COMMERCIAL
|
|
104
|
-
'COMMON.HEADER.MENU.COMMERCIAL': 'Commercial',
|
|
105
|
-
'COMMON.HEADER.MENU.COMMERCIAL.SEARCH': 'Recherche',
|
|
106
|
-
'COMMON.HEADER.MENU.COMMERCIAL.SEARCH.DEAL': 'Deal',
|
|
107
|
-
'COMMON.HEADER.MENU.COMMERCIAL.SEARCH.WORK_RECORD': 'Fiche',
|
|
108
|
-
'COMMON.HEADER.MENU.COMMERCIAL.SEARCH.INVOICE': 'Facture',
|
|
109
|
-
'COMMON.HEADER.MENU.COMMERCIAL.SEARCH.VOD': 'VOD',
|
|
110
|
-
'COMMON.HEADER.MENU.COMMERCIAL.SEARCH.VOLUME': 'Volumes',
|
|
111
|
-
'COMMON.HEADER.MENU.COMMERCIAL.FINANCE': 'Compta/CDG',
|
|
112
|
-
'COMMON.HEADER.MENU.COMMERCIAL.FINANCE.TURNOVER': 'Chiffre d\'affaire',
|
|
113
|
-
'COMMON.HEADER.MENU.COMMERCIAL.FINANCE.ACCOUNTING_CLOSING': 'Clôturer la période',
|
|
114
|
-
'COMMON.HEADER.MENU.COMMERCIAL.FINANCE.ACCOUNT_EXTRACTION': 'Extraction fichier comptable',
|
|
115
|
-
'COMMON.HEADER.MENU.COMMERCIAL.UTILS': 'Utiles',
|
|
116
|
-
'COMMON.HEADER.MENU.COMMERCIAL.UTILS.DEAL_CREATE': 'Créer un deal',
|
|
117
|
-
'COMMON.HEADER.MENU.COMMERCIAL.UTILS.REPORTING': 'Reporting',
|
|
118
|
-
'COMMON.HEADER.MENU.COMMERCIAL.UTILS.WORK_RECORD_ERROR': 'Facturation en erreur',
|
|
119
|
-
|
|
120
|
-
// HEADER LEGAL
|
|
121
|
-
'COMMON.HEADER.MENU.LEGAL': 'Juridique',
|
|
122
|
-
'COMMON.HEADER.MENU.LEGAL.SEARCH': 'Recherche',
|
|
123
|
-
'COMMON.HEADER.MENU.LEGAL.SEARCH.LEGAL_DETAILS': 'Fiche juridique',
|
|
124
|
-
'COMMON.HEADER.MENU.LEGAL.SEARCH.ACQ': 'Contrat d\'acquisition',
|
|
125
|
-
'COMMON.HEADER.MENU.LEGAL.SEARCH.SALE': 'Contrat de cession',
|
|
126
|
-
'COMMON.HEADER.MENU.LEGAL.SEARCH.ADVANCED_SEARCH': 'Recherche avancée',
|
|
127
|
-
'COMMON.HEADER.MENU.LEGAL.CONTRACT': 'Contrats',
|
|
128
|
-
'COMMON.HEADER.MENU.LEGAL.CONTRACT.CREATE_ACQ': 'Créer un contrat d\'acquisition',
|
|
129
|
-
'COMMON.HEADER.MENU.LEGAL.CONTRACT.CREATE_SALE': 'Créer un contrat de cession',
|
|
130
|
-
'COMMON.HEADER.MENU.LEGAL.CONTRACT.CREATE_AUTHOR': 'Créer un contrat d\'auteur',
|
|
131
|
-
'COMMON.HEADER.MENU.LEGAL.OTHER': 'Autre',
|
|
132
|
-
'COMMON.HEADER.MENU.LEGAL.OTHER.ELECTRONIC_DOCUMENTS': 'Documents numérisés',
|
|
133
|
-
'COMMON.HEADER.MENU.LEGAL.OTHER.HISTORY': 'Historique',
|
|
134
|
-
'COMMON.HEADER.MENU.LEGAL.OTHER.PILOT': 'Pilot',
|
|
135
|
-
|
|
136
|
-
// HEADER VIDEO
|
|
137
|
-
'COMMON.HEADER.MENU.VIDEO': 'Vidéo',
|
|
138
|
-
'COMMON.HEADER.MENU.VIDEO.PRODUCT': 'Produit',
|
|
139
|
-
'COMMON.HEADER.MENU.VIDEO.PRODUCT.CREATE': 'Créer un produit',
|
|
140
|
-
'COMMON.HEADER.MENU.VIDEO.PRODUCT.EXTRACT_ALL': 'Exporter tous les produits',
|
|
141
|
-
'COMMON.HEADER.MENU.VIDEO.PRODUCT.ADVANCED_SEARCH': 'Rechercher un produit',
|
|
142
|
-
'COMMON.HEADER.MENU.VIDEO.PRODUCT.SAP_ORDER': 'Ordres SAP',
|
|
143
|
-
'COMMON.HEADER.MENU.VIDEO.PRODUCT.VALIDATE_PRODUCT': 'Validation PRUP/QEF',
|
|
144
|
-
|
|
145
|
-
// HEADER PO
|
|
146
|
-
'COMMON.HEADER.MENU.PO': 'Commande',
|
|
147
|
-
'COMMON.HEADER.MENU.PO.PO': 'Commande',
|
|
148
|
-
'COMMON.HEADER.MENU.PO.PO.CREATE': 'Créer une commande',
|
|
149
|
-
'COMMON.HEADER.MENU.PO.PO.DASHBOARD': 'Dashboard',
|
|
150
|
-
'COMMON.HEADER.MENU.PO.PO.VALIDATE': 'Commandes à valider',
|
|
151
|
-
'COMMON.HEADER.MENU.PO.PO.DELIVERY': 'Commandes à réceptionner',
|
|
152
|
-
'COMMON.HEADER.MENU.PO.PO.ADVANCED_SEARCH': 'Rechercher une commande',
|
|
153
|
-
'COMMON.HEADER.MENU.PO.BUDGET': 'Budget',
|
|
154
|
-
'COMMON.HEADER.MENU.PO.BUDGET.BUDGET': 'Budget',
|
|
155
|
-
|
|
156
|
-
// HEADER BI
|
|
157
|
-
'COMMON.HEADER.MENU.BI': 'Aide à la vente',
|
|
158
|
-
|
|
159
|
-
// HEADER REFERENTIAL
|
|
160
|
-
'COMMON.HEADER.MENU.REFERENTIAL': 'Référentiel',
|
|
161
|
-
'COMMON.HEADER.MENU.REFERENTIAL.GLOSSARY': 'Glossaire',
|
|
162
|
-
'COMMON.HEADER.MENU.REFERENTIAL.GLOSSARY.MEDIAS': 'Médias',
|
|
163
|
-
'COMMON.HEADER.MENU.REFERENTIAL.GLOSSARY.TERRITORIES': 'Territoires',
|
|
164
|
-
'COMMON.HEADER.MENU.REFERENTIAL.GLOSSARY.LANGUAGES': 'Langues',
|
|
165
|
-
'COMMON.HEADER.MENU.REFERENTIAL.GLOSSARY.ALERTES': 'Alertes',
|
|
166
|
-
'COMMON.HEADER.MENU.REFERENTIAL.WORK': 'Oeuvre',
|
|
167
|
-
'COMMON.HEADER.MENU.REFERENTIAL.WORK.CREATE_WORK': 'Créer une oeuvre',
|
|
168
|
-
'COMMON.HEADER.MENU.REFERENTIAL.WORK.CREATE_HEADER': 'Créer un header',
|
|
169
|
-
'COMMON.HEADER.MENU.REFERENTIAL.WORK.MAPPING': 'Mapping',
|
|
170
|
-
'COMMON.HEADER.MENU.REFERENTIAL.WORK.CREATE_CONTROL_CODE': 'Créer un code de gestion',
|
|
171
|
-
'COMMON.HEADER.MENU.REFERENTIAL.PERSON': 'Personne',
|
|
172
|
-
'COMMON.HEADER.MENU.REFERENTIAL.PERSON.CREATE_PERSON': 'Créer une personne',
|
|
173
|
-
};
|
|
174
|
-
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { TranslateLoader } from '@ngx-translate/core';
|
|
3
|
-
import { forkJoin, Observable, of } from 'rxjs';
|
|
4
|
-
import { catchError, map } from 'rxjs/operators';
|
|
5
|
-
import merge from 'deepmerge';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
interface ITranslationResource {
|
|
9
|
-
prefix: string;
|
|
10
|
-
suffix: string;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export class MultiTranslateHttpLoader implements TranslateLoader {
|
|
14
|
-
constructor(
|
|
15
|
-
private http: HttpClient,
|
|
16
|
-
private resources: ITranslationResource[],
|
|
17
|
-
) {
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
public getTranslation(lang: string): Observable<any> {
|
|
21
|
-
const requests = this.resources.map(resource => {
|
|
22
|
-
const path = resource.prefix + lang + resource.suffix;
|
|
23
|
-
return this.http.get(path).pipe(catchError(res => {
|
|
24
|
-
console.error('Something went wrong for the following translation file:', path);
|
|
25
|
-
console.error(res.message);
|
|
26
|
-
return of({});
|
|
27
|
-
}));
|
|
28
|
-
});
|
|
29
|
-
return forkJoin(requests).pipe(map(response => merge.all(response)));
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { BasicModel } from './basic.model';
|
|
2
|
-
|
|
3
|
-
export class AnyLineModel {
|
|
4
|
-
public action: string;
|
|
5
|
-
public rightId: number;
|
|
6
|
-
|
|
7
|
-
constructor(
|
|
8
|
-
public id: number = null,
|
|
9
|
-
public selected: any = new BasicModel(),
|
|
10
|
-
public included: BasicModel[] = [],
|
|
11
|
-
public excluded: BasicModel[] = [],
|
|
12
|
-
public toRemove: BasicModel[] = [],
|
|
13
|
-
public checked: boolean = false,
|
|
14
|
-
public edited: boolean = false,
|
|
15
|
-
public deleted: boolean = false,
|
|
16
|
-
public created: boolean = false,
|
|
17
|
-
public disabled: boolean = false,
|
|
18
|
-
public lineSize: boolean = false,
|
|
19
|
-
public hided: boolean = false,
|
|
20
|
-
public excludedStr: string = null,
|
|
21
|
-
public listExclSuggs: any[] = []
|
|
22
|
-
) {
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
public getAllIdExcluded(): number[] {
|
|
26
|
-
return this.excluded.map(x => x.id);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
public getAllIdIncluded(): number[] {
|
|
30
|
-
return this.included.map(x => x.id);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
public getAllRemoved(): number[] {
|
|
34
|
-
return this.toRemove.map(x => x.id);
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
public fromJSON(json) {
|
|
38
|
-
for (let propName in json) {
|
|
39
|
-
if (json.hasOwnProperty(propName)) {
|
|
40
|
-
this[propName] = json[propName];
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
return this;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Created by mmichieli on 07/02/2017.
|
|
3
|
-
*/
|
|
4
|
-
import { ReferentielModel } from './referentiel.model';
|
|
5
|
-
|
|
6
|
-
export class AudioContentModel {
|
|
7
|
-
public id: number = null;
|
|
8
|
-
public isDefault = false;
|
|
9
|
-
public materialNumber: number;
|
|
10
|
-
public languageId: number;
|
|
11
|
-
public audioContentId: number;
|
|
12
|
-
public audioFormatId: number;
|
|
13
|
-
public licenceId: number;
|
|
14
|
-
public typeMixId: number;
|
|
15
|
-
public support: number;
|
|
16
|
-
public supportLabel: string = null;
|
|
17
|
-
public availabilityDate: string;
|
|
18
|
-
|
|
19
|
-
public languageLabel: string = null;
|
|
20
|
-
public audioContentLabel: string = null;
|
|
21
|
-
public audioFormatLabel: string = null;
|
|
22
|
-
public licenceLabel: string = null;
|
|
23
|
-
public typeMixLabel: string = null;
|
|
24
|
-
public statusLabel: string = null;
|
|
25
|
-
|
|
26
|
-
public status: ReferentielModel = new ReferentielModel();
|
|
27
|
-
public uuid: string;
|
|
28
|
-
|
|
29
|
-
constructor() {
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
public fromJSON(json) {
|
|
33
|
-
for (const propName in json) {
|
|
34
|
-
if (json.hasOwnProperty(propName)) {
|
|
35
|
-
this[propName] = json[propName];
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return this;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export class AuthPermissionModel {
|
|
2
|
-
constructor(
|
|
3
|
-
public id: number = null,
|
|
4
|
-
public code: string = null,
|
|
5
|
-
public priority: number
|
|
6
|
-
) {
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
public fromJSON(json) {
|
|
10
|
-
for (const propName in json) {
|
|
11
|
-
if (json.hasOwnProperty(propName)) {
|
|
12
|
-
this[propName] = json[propName];
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
return this;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { AuthPermissionModel } from './authPermission.model';
|
|
2
|
-
import { SubsidiaryModel } from "./subsidiary.model";
|
|
3
|
-
|
|
4
|
-
export class AuthUserModel {
|
|
5
|
-
public id: number = null;
|
|
6
|
-
public login: string = null;
|
|
7
|
-
public name: string = null;
|
|
8
|
-
public firstName: string = null;
|
|
9
|
-
public email: string = null;
|
|
10
|
-
public admin: boolean;
|
|
11
|
-
public superAdmin: boolean;
|
|
12
|
-
public secondary = false;
|
|
13
|
-
|
|
14
|
-
public permissions: AuthPermissionModel[] = [];
|
|
15
|
-
public subsidiaries: SubsidiaryModel[] = [];
|
|
16
|
-
|
|
17
|
-
constructor() {
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
public fromJSON(json) {
|
|
21
|
-
for (const propName in json) {
|
|
22
|
-
if (json.hasOwnProperty(propName)) {
|
|
23
|
-
this[propName] = json[propName];
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
return this;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export class BasicModel {
|
|
2
|
-
public idtechnique: number;
|
|
3
|
-
public id: number;
|
|
4
|
-
public label: string;
|
|
5
|
-
public label2: string;
|
|
6
|
-
public checked: boolean;
|
|
7
|
-
public date: string;
|
|
8
|
-
public accountingDate: string;
|
|
9
|
-
public idParent: number;
|
|
10
|
-
|
|
11
|
-
/* Permet d'avoir un constructeur surchargé grace aux "?"*/
|
|
12
|
-
constructor(
|
|
13
|
-
id?: number,
|
|
14
|
-
label?: string,
|
|
15
|
-
label2?: string,
|
|
16
|
-
checked?: boolean,
|
|
17
|
-
idtechnique?: number,
|
|
18
|
-
date?: string,
|
|
19
|
-
accountingDate?: string,
|
|
20
|
-
idParent?: number
|
|
21
|
-
) {
|
|
22
|
-
this.id = id;
|
|
23
|
-
this.label = label;
|
|
24
|
-
this.label2 = label2;
|
|
25
|
-
this.checked = checked;
|
|
26
|
-
this.idtechnique = idtechnique;
|
|
27
|
-
this.date = date;
|
|
28
|
-
this.accountingDate = accountingDate;
|
|
29
|
-
this.idParent = idParent;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ReferentielModel } from './referentiel.model';
|
|
2
|
-
|
|
3
|
-
export class BoxSetItemModel {
|
|
4
|
-
public id: number = null;
|
|
5
|
-
public support: ReferentielModel = new ReferentielModel();
|
|
6
|
-
public ean: string = null;
|
|
7
|
-
public title: string = null;
|
|
8
|
-
public financialDistributionInitialized: boolean;
|
|
9
|
-
public idWorks: number[] = [];
|
|
10
|
-
public formattedEan: string;
|
|
11
|
-
|
|
12
|
-
constructor() {
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
public fromJSON(json) {
|
|
16
|
-
for (const propName in json) {
|
|
17
|
-
if (json.hasOwnProperty(propName)) {
|
|
18
|
-
this[propName] = json[propName];
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
return this;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export class DealRapidSearchModel {
|
|
2
|
-
public id: number;
|
|
3
|
-
private docType: string;
|
|
4
|
-
public dealNumber: string;
|
|
5
|
-
public calculatedAmount: number;
|
|
6
|
-
public currencyCode: string;
|
|
7
|
-
public validationDate: string;
|
|
8
|
-
public thirdPartyClientSap: string;
|
|
9
|
-
public thirdPartyClientName: string;
|
|
10
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export class InvoiceRapidSearchModel {
|
|
2
|
-
number: string;
|
|
3
|
-
dealNumber: string;
|
|
4
|
-
thirdPartyClientName: string;
|
|
5
|
-
miloCode: string;
|
|
6
|
-
amount: number;
|
|
7
|
-
currencyCode: string;
|
|
8
|
-
right: boolean;
|
|
9
|
-
invoiceId: number;
|
|
10
|
-
docType: string;
|
|
11
|
-
titles: {
|
|
12
|
-
vo: string;
|
|
13
|
-
fr?: string;
|
|
14
|
-
en?: string;
|
|
15
|
-
de?: string;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
getTitle(language?: string): string {
|
|
19
|
-
if (!language || !this.titles[language] || this.titles[language].length === 0) {
|
|
20
|
-
return this.titles.vo;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return this.titles[language];
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export class WorkRecordRapidSearchModel {
|
|
2
|
-
id: string;
|
|
3
|
-
workRecordId: string;
|
|
4
|
-
dealNumber: string;
|
|
5
|
-
thirdPartyClientName: string;
|
|
6
|
-
miloCode: string;
|
|
7
|
-
amount: number;
|
|
8
|
-
currencyCode: string;
|
|
9
|
-
titles: {
|
|
10
|
-
vo: string;
|
|
11
|
-
fr?: string;
|
|
12
|
-
en?: string;
|
|
13
|
-
de?: string;
|
|
14
|
-
}
|
|
15
|
-
docType: string;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Returns the title for the language. If the language is undefined or unsupported, returns the VO title.
|
|
19
|
-
* @param language
|
|
20
|
-
*/
|
|
21
|
-
getTitle(language?: string): string {
|
|
22
|
-
if (!language || !this.titles[language] || this.titles[language].length === 0) {
|
|
23
|
-
return this.titles.vo;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
return this.titles[language];
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Custom Type Definitions
|
|
3
|
-
* When including 3rd party modules you also need to include the type definition for the module
|
|
4
|
-
* if they don't provide one within the module. You can try to install it with @types
|
|
5
|
-
|
|
6
|
-
npm install @types/node
|
|
7
|
-
npm install @types/lodash
|
|
8
|
-
|
|
9
|
-
* If you can't find the type definition in the registry we can make an ambient/global definition in
|
|
10
|
-
* this file for now. For example
|
|
11
|
-
|
|
12
|
-
declare module 'my-module' {
|
|
13
|
-
export function doesSomething(value: string): string;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
* If you are using a CommonJS module that is using module.exports then you will have to write your
|
|
17
|
-
* types using export = yourObjectOrFunction with a namespace above it
|
|
18
|
-
* notice how we have to create a namespace that is equal to the function we're
|
|
19
|
-
* assigning the export to
|
|
20
|
-
|
|
21
|
-
declare module 'jwt-decode' {
|
|
22
|
-
function jwtDecode(token: string): any;
|
|
23
|
-
namespace jwtDecode {}
|
|
24
|
-
export = jwtDecode;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
*
|
|
28
|
-
* If you're prototying and you will fix the types later you can also declare it as type any
|
|
29
|
-
*
|
|
30
|
-
|
|
31
|
-
declare var assert: any;
|
|
32
|
-
declare var _: any;
|
|
33
|
-
declare var $: any;
|
|
34
|
-
|
|
35
|
-
*
|
|
36
|
-
* If you're importing a module that uses Node.js modules which are CommonJS you need to import as
|
|
37
|
-
* in the files such as main.browser.ts or any file within app/
|
|
38
|
-
*
|
|
39
|
-
|
|
40
|
-
import * as _ from 'lodash'
|
|
41
|
-
|
|
42
|
-
* You can include your type definitions in this file until you create one for the @types
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
|
|
46
|
-
// support NodeJS modules without type definitions
|
|
47
|
-
declare module '*';
|
|
48
|
-
|
|
49
|
-
/*
|
|
50
|
-
// for legacy tslint etc to understand rename 'modern-lru' with your package
|
|
51
|
-
// then comment out `declare module '*';`. For each new module copy/paste
|
|
52
|
-
// this method of creating an `any` module type definition
|
|
53
|
-
declare module 'modern-lru' {
|
|
54
|
-
let x: any;
|
|
55
|
-
export = x;
|
|
56
|
-
}
|
|
57
|
-
*/
|
|
58
|
-
|
|
59
|
-
// Extra variables that live on Global that will be replaced by webpack DefinePlugin
|
|
60
|
-
declare var ENV: string;
|
|
61
|
-
declare var HMR: boolean;
|
|
62
|
-
declare var System: SystemJS;
|
|
63
|
-
declare var VIDEO_API_URL: string;
|
|
64
|
-
declare var VIDEO_API_PORT: number;
|
|
65
|
-
declare var COMMERCIAL_API_URL: string;
|
|
66
|
-
declare var COMMERCIAL_API_PORT: number;
|
|
67
|
-
declare var REFERENTIAL_API_URL: string;
|
|
68
|
-
declare var REFERENTIAL_API_PORT: number;
|
|
69
|
-
declare var AUTHENTIFICATION_API_URL: string;
|
|
70
|
-
declare var AUTHENTIFICATION_API_PORT: number;
|
|
71
|
-
declare var TECHNICAL_API_URL: string;
|
|
72
|
-
declare var TECHNICAL_API_PORT: number;
|
|
73
|
-
declare var LEGAL_API_URL: string;
|
|
74
|
-
declare var LEGAL_API_PORT: number;
|
|
75
|
-
declare var EXPENDITURE_COMMITMENT_API_URL: number;
|
|
76
|
-
|
|
77
|
-
interface SystemJS {
|
|
78
|
-
import: (path?: string) => Promise<any>;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
interface GlobalEnvironment {
|
|
82
|
-
ENV: string;
|
|
83
|
-
HMR: boolean;
|
|
84
|
-
SystemJS: SystemJS;
|
|
85
|
-
System: SystemJS;
|
|
86
|
-
VIDEO_API_URL: string;
|
|
87
|
-
VIDEO_API_PORT: number;
|
|
88
|
-
COMMERCIAL_API_URL: string;
|
|
89
|
-
COMMERCIAL_API_PORT: number;
|
|
90
|
-
AUTHENTIFICATION_API_URL: string;
|
|
91
|
-
AUTHENTIFICATION_API_PORT: number;
|
|
92
|
-
MILO_API_URL: string;
|
|
93
|
-
MILO_API_PORT: number;
|
|
94
|
-
TECHNICAL_API_URL: string;
|
|
95
|
-
TECHNICAL_API_PORT: number;
|
|
96
|
-
EXPENDITURE_COMMITMENT_API_URL: number;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
interface Es6PromiseLoader {
|
|
100
|
-
(id: string): (exportName?: string) => Promise<any>;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
type FactoryEs6PromiseLoader = () => Es6PromiseLoader;
|
|
104
|
-
type FactoryPromise = () => Promise<any>;
|
|
105
|
-
|
|
106
|
-
type AsyncRoutes = {
|
|
107
|
-
[component: string]: Es6PromiseLoader |
|
|
108
|
-
Function |
|
|
109
|
-
FactoryEs6PromiseLoader |
|
|
110
|
-
FactoryPromise;
|
|
111
|
-
};
|
|
112
|
-
|
|
113
|
-
type IdleCallbacks = Es6PromiseLoader |
|
|
114
|
-
Function |
|
|
115
|
-
FactoryEs6PromiseLoader |
|
|
116
|
-
FactoryPromise;
|
|
117
|
-
|
|
118
|
-
interface WebpackModule {
|
|
119
|
-
hot: {
|
|
120
|
-
data?: any,
|
|
121
|
-
idle: any,
|
|
122
|
-
accept(dependencies?: string | string[], callback?: (updatedDependencies?: any) => void): void;
|
|
123
|
-
decline(deps?: any | string | string[]): void;
|
|
124
|
-
dispose(callback?: (data?: any) => void): void;
|
|
125
|
-
addDisposeHandler(callback?: (data?: any) => void): void;
|
|
126
|
-
removeDisposeHandler(callback?: (data?: any) => void): void;
|
|
127
|
-
check(autoApply?: any, callback?: (err?: Error, outdatedModules?: any[]) => void): void;
|
|
128
|
-
apply(options?: any, callback?: (err?: Error, outdatedModules?: any[]) => void): void;
|
|
129
|
-
status(callback?: (status?: string) => void): void | string;
|
|
130
|
-
removeStatusHandler(callback?: (status?: string) => void): void;
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
interface WebpackRequire {
|
|
135
|
-
(id: string): any;
|
|
136
|
-
|
|
137
|
-
(paths: string[], callback: (...modules: any[]) => void): void;
|
|
138
|
-
|
|
139
|
-
ensure(ids: string[], callback: (req: WebpackRequire) => void, chunkName?: string): void;
|
|
140
|
-
|
|
141
|
-
context(directory: string, useSubDirectories?: boolean, regExp?: RegExp): WebpackContext;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
interface WebpackContext extends WebpackRequire {
|
|
145
|
-
keys(): string[];
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
interface ErrorStackTraceLimit {
|
|
149
|
-
stackTraceLimit: number;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
// Extend typings
|
|
153
|
-
interface NodeRequire extends WebpackRequire {
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
interface ErrorConstructor extends ErrorStackTraceLimit {
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
interface NodeRequireFunction extends Es6PromiseLoader {
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
interface NodeModule extends WebpackModule {
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
interface Global extends GlobalEnvironment {
|
|
166
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ProgramModel } from './program.model';
|
|
2
|
-
|
|
3
|
-
export class DiscProgramModel {
|
|
4
|
-
public id: number = null;
|
|
5
|
-
public position: number = null;
|
|
6
|
-
public program: ProgramModel = new ProgramModel();
|
|
7
|
-
|
|
8
|
-
constructor() {
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
public fromJSON(json) {
|
|
12
|
-
for (const propName in json) {
|
|
13
|
-
if (json.hasOwnProperty(propName)) {
|
|
14
|
-
this[propName] = json[propName];
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
return this;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
public fromJSONs(jsons) {
|
|
21
|
-
const refs: DiscProgramModel[] = [];
|
|
22
|
-
if (jsons) {
|
|
23
|
-
jsons.forEach(json => {
|
|
24
|
-
refs.push(new DiscProgramModel().fromJSON(json));
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
return refs;
|
|
28
|
-
}
|
|
29
|
-
}
|