new-front-common-library 16.1.32-ROY-3 → 16.1.32-ROY-4
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 +224 -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 +13 -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 +158 -0
- package/esm2022/lib/util/i18n/fr.mjs +159 -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 +166 -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 +5700 -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 +11 -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 +141 -0
- package/lib/util/i18n/fr.d.ts +142 -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 +18 -1
- 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
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { UserModel } from '../../models';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UserSubsidiaryService {
|
|
4
|
+
user: UserModel;
|
|
5
|
+
isCanalPlusInternationalUser(): boolean;
|
|
6
|
+
isStudiocanalUser(): boolean;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UserSubsidiaryService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UserSubsidiaryService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ThemeEventsService {
|
|
4
|
+
switchThemeEmitter: EventEmitter<any>;
|
|
5
|
+
constructor();
|
|
6
|
+
switchTheme(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeEventsService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeEventsService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToasterEventsService {
|
|
4
|
+
toasterSuccessEvent: EventEmitter<any>;
|
|
5
|
+
toasterErrorEvent: EventEmitter<any>;
|
|
6
|
+
toasterWarnEvent: EventEmitter<any>;
|
|
7
|
+
toasterInfoEvent: EventEmitter<any>;
|
|
8
|
+
constructor();
|
|
9
|
+
successEvent(message: string): void;
|
|
10
|
+
errorEvent(message: string): void;
|
|
11
|
+
warnEvent(message: string): void;
|
|
12
|
+
infoEvent(message: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToasterEventsService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToasterEventsService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Config } from './config';
|
|
2
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
3
|
+
import { LangService } from "./services/translate-language/lang.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./directives/my-number-formatter-directive";
|
|
6
|
+
import * as i2 from "./pipes/capitalizefirst.pipe";
|
|
7
|
+
import * as i3 from "./pipes/comma-separated-number.pipe";
|
|
8
|
+
import * as i4 from "./pipes/display-html.pipe";
|
|
9
|
+
import * as i5 from "./pipes/display-null.pipe";
|
|
10
|
+
import * as i6 from "./pipes/format-number-input.pipe";
|
|
11
|
+
import * as i7 from "./pipes/local-date.pipe";
|
|
12
|
+
import * as i8 from "./pipes/my-number.pipe";
|
|
13
|
+
import * as i9 from "./pipes/trim-string.pipe";
|
|
14
|
+
import * as i10 from "./pipes/common-translate.pipe";
|
|
15
|
+
import * as i11 from "./pipes/third-party-address.pipe";
|
|
16
|
+
import * as i12 from "./pipes/third-party-address-search.pipe";
|
|
17
|
+
import * as i13 from "./pipes/format-duration.pipe";
|
|
18
|
+
import * as i14 from "./component/popup/popup-login/popup-login.component";
|
|
19
|
+
import * as i15 from "./component/overlay/overlay.component";
|
|
20
|
+
import * as i16 from "./component/header/header.component";
|
|
21
|
+
import * as i17 from "./component/sub-header/sub-header.component";
|
|
22
|
+
import * as i18 from "./directives/show-if-truncated.directive";
|
|
23
|
+
import * as i19 from "./pipes/format-currency.pipe";
|
|
24
|
+
import * as i20 from "./component/header/menu/menu.component";
|
|
25
|
+
import * as i21 from "@angular/material/input";
|
|
26
|
+
import * as i22 from "@angular/material/tooltip";
|
|
27
|
+
import * as i23 from "@angular/material/button";
|
|
28
|
+
import * as i24 from "@angular/material/toolbar";
|
|
29
|
+
import * as i25 from "@angular/material/form-field";
|
|
30
|
+
import * as i26 from "@angular/common";
|
|
31
|
+
import * as i27 from "@ngx-translate/core";
|
|
32
|
+
import * as i28 from "@angular/material/card";
|
|
33
|
+
import * as i29 from "@angular/material/dialog";
|
|
34
|
+
import * as i30 from "ngx-permissions";
|
|
35
|
+
import * as i31 from "@angular/material/progress-spinner";
|
|
36
|
+
import * as i32 from "@angular/router";
|
|
37
|
+
import * as i33 from "@angular/forms";
|
|
38
|
+
import * as i34 from "@angular/material/icon";
|
|
39
|
+
import * as i35 from "@angular/material/menu";
|
|
40
|
+
import * as i36 from "@angular/material/autocomplete";
|
|
41
|
+
export declare class UtilModule {
|
|
42
|
+
private readonly langService;
|
|
43
|
+
constructor(langService: LangService);
|
|
44
|
+
static forRoot(config?: Config): ModuleWithProviders<UtilModule>;
|
|
45
|
+
static forChild(config?: Config): ModuleWithProviders<UtilModule>;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UtilModule, never>;
|
|
47
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UtilModule, [typeof i1.MyNumberFormatterDirective, typeof i2.CapitalizefirstPipe, typeof i3.SpacesNumberPipe, typeof i4.SanitizeHtml, typeof i5.DisplayNullPipe, typeof i6.FormatNumberInput, typeof i7.LocalDatePipe, typeof i8.MyNumberPipe, typeof i9.TrimStringPipe, typeof i10.CommonTranslatePipe, typeof i11.ThirdPartyAddressPipe, typeof i12.ThirdPartyAddressSearchPipe, typeof i13.FormatDurationPipe, typeof i14.MyDialogPopupLoginComponent, typeof i15.OverlayComponent, typeof i16.HeaderComponent, typeof i17.SubHeaderComponent, typeof i18.ShowIfTruncatedDirective, typeof i19.FormatCurrencyPipe, typeof i20.MenuComponent], [typeof i21.MatInputModule, typeof i22.MatTooltipModule, typeof i23.MatButtonModule, typeof i24.MatToolbarModule, typeof i25.MatFormFieldModule, typeof i26.CommonModule, typeof i27.TranslateModule, typeof i28.MatCardModule, typeof i29.MatDialogModule, typeof i30.NgxPermissionsModule, typeof i31.MatProgressSpinnerModule, typeof i32.RouterModule, typeof i33.ReactiveFormsModule, typeof i33.FormsModule, typeof i34.MatIconModule, typeof i35.MatMenuModule, typeof i36.MatAutocompleteModule], [typeof i1.MyNumberFormatterDirective, typeof i2.CapitalizefirstPipe, typeof i3.SpacesNumberPipe, typeof i4.SanitizeHtml, typeof i5.DisplayNullPipe, typeof i6.FormatNumberInput, typeof i7.LocalDatePipe, typeof i8.MyNumberPipe, typeof i19.FormatCurrencyPipe, typeof i13.FormatDurationPipe, typeof i9.TrimStringPipe, typeof i11.ThirdPartyAddressPipe, typeof i16.HeaderComponent, typeof i15.OverlayComponent, typeof i17.SubHeaderComponent, typeof i18.ShowIfTruncatedDirective]>;
|
|
48
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<UtilModule>;
|
|
49
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "new-front-common-library",
|
|
3
|
-
"version": "16.1.32-ROY-
|
|
3
|
+
"version": "16.1.32-ROY-4",
|
|
4
4
|
"Dependencies": {
|
|
5
5
|
"@angular/common": "^16.2.12",
|
|
6
6
|
"@angular/core": "^16.2.12",
|
|
@@ -14,5 +14,22 @@
|
|
|
14
14
|
"crypto-js": "^4.1.1",
|
|
15
15
|
"ngx-cookie-service": "^16.1.0",
|
|
16
16
|
"ngx-permissions": "^16.0.1"
|
|
17
|
+
},
|
|
18
|
+
"module": "fesm2022/new-front-common-library.mjs",
|
|
19
|
+
"typings": "index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
"./package.json": {
|
|
22
|
+
"default": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
".": {
|
|
25
|
+
"types": "./index.d.ts",
|
|
26
|
+
"esm2022": "./esm2022/new-front-common-library.mjs",
|
|
27
|
+
"esm": "./esm2022/new-front-common-library.mjs",
|
|
28
|
+
"default": "./fesm2022/new-front-common-library.mjs"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"sideEffects": false,
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"tslib": "^2.3.0"
|
|
17
34
|
}
|
|
18
35
|
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of front-common-library-3
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
export * from './lib/util/util.module';
|
|
6
2
|
export * from './lib/util/array.service';
|
|
7
3
|
export { User } from './lib/util/decorators/user.decorator';
|
|
@@ -11,8 +7,8 @@ export * from './lib/util/services/storage/local-storage.service';
|
|
|
11
7
|
export * from './lib/util/services/storage/session-storage.service';
|
|
12
8
|
export * from './lib/util/event/storage/local-storage-events.service';
|
|
13
9
|
export * from './lib/util/event/storage/session-storage-events.service';
|
|
14
|
-
export { PermissionsInterface } from './lib/util/interfaces/permissions.interface'
|
|
15
|
-
export * from './lib/util/config'
|
|
10
|
+
export { PermissionsInterface } from './lib/util/interfaces/permissions.interface';
|
|
11
|
+
export * from './lib/util/config';
|
|
16
12
|
export * from './lib/util/theme/theme-event.service';
|
|
17
13
|
export * from './lib/util/regex/regex.service';
|
|
18
14
|
export * from './lib/util/permissions/permissions.service';
|
|
@@ -20,19 +16,14 @@ export * from './lib/util/date/date.util';
|
|
|
20
16
|
export * from './lib/util/date/date-format-constants';
|
|
21
17
|
export * from './lib/util/sort';
|
|
22
18
|
export * from './lib/util/number.validator';
|
|
23
|
-
|
|
24
19
|
export * from './lib/util/services/jwt-security/aes.service';
|
|
25
20
|
export * from './lib/util/component/overlay/overlay.service';
|
|
26
21
|
export * from './lib/util/component/overlay/overlay.component';
|
|
27
22
|
export * from './lib/util/component/header/header.component';
|
|
28
23
|
export * from './lib/util/component/sub-header/sub-header.component';
|
|
29
24
|
export * from './lib/util/component/popup/popup-login/popup-login.component';
|
|
30
|
-
|
|
31
|
-
|
|
32
25
|
export * from './lib/util/services/jwt-security/jwt.helpher';
|
|
33
26
|
export * from './lib/util/models';
|
|
34
|
-
|
|
35
|
-
|
|
36
27
|
export * from './lib/util/services/guard/auth.guard';
|
|
37
28
|
export * from './lib/util/services/guard/login.guard';
|
|
38
29
|
export * from './lib/util/services/form-action/form-actions-events.service';
|
|
@@ -43,14 +34,12 @@ export * from './lib/util/services/elasticsearch/elasticsearch.service';
|
|
|
43
34
|
export * from './lib/util/services/auth/auth.service';
|
|
44
35
|
export * from './lib/util/services/user/user-subsidiary.service';
|
|
45
36
|
export * from './lib/util/http/http-params.builder';
|
|
46
|
-
|
|
47
37
|
export * from './lib/util/date/PeriodModel';
|
|
48
38
|
export * from './lib/util/pipes/capitalizefirst.pipe';
|
|
49
39
|
export * from './lib/util/services/interceptor/auth.interceptor';
|
|
50
40
|
export * from './lib/util/pipes/local-date.pipe';
|
|
51
41
|
export * from './lib/util/pipes/trim-string.pipe';
|
|
52
42
|
export * from './lib/util/pipes/common-translate.pipe';
|
|
53
|
-
|
|
54
43
|
export * from './lib/util/pipes/my-number.pipe';
|
|
55
44
|
export * from './lib/util/pipes/comma-separated-number.pipe';
|
|
56
45
|
export * from './lib/util/pipes/display-html.pipe';
|
|
@@ -60,12 +49,8 @@ export * from './lib/util/directives/my-number-formatter-directive';
|
|
|
60
49
|
export * from './lib/util/pipes/third-party-address.pipe';
|
|
61
50
|
export * from './lib/util/pipes/format-duration.pipe';
|
|
62
51
|
export * from './lib/util/pipes/format-currency.pipe';
|
|
63
|
-
|
|
64
52
|
export * from './lib/util/enums/status-color.enum';
|
|
65
|
-
|
|
66
53
|
export * from './lib/util/toaster/toaster-events.service';
|
|
67
54
|
export * from './lib/util/event/header/header-events.service';
|
|
68
|
-
|
|
69
55
|
export * from './lib/util/directives/show-if-truncated.directive';
|
|
70
|
-
|
|
71
56
|
export * from './lib/util/i18n/multi-translate-http-loader';
|
package/karma.conf.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma')
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
jasmine: {
|
|
17
|
-
// you can add configuration options for Jasmine here
|
|
18
|
-
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
19
|
-
// for example, you can disable the random execution with `random: false`
|
|
20
|
-
// or set a specific seed with `seed: 4321`
|
|
21
|
-
},
|
|
22
|
-
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
23
|
-
},
|
|
24
|
-
jasmineHtmlReporter: {
|
|
25
|
-
suppressAll: true // removes the duplicated traces
|
|
26
|
-
},
|
|
27
|
-
coverageReporter: {
|
|
28
|
-
dir: require('path').join(__dirname, '../../coverage/new-front-common-library'),
|
|
29
|
-
subdir: '.',
|
|
30
|
-
reporters: [
|
|
31
|
-
{type: 'html'},
|
|
32
|
-
{type: 'text-summary'}
|
|
33
|
-
]
|
|
34
|
-
},
|
|
35
|
-
reporters: ['progress', 'kjhtml'],
|
|
36
|
-
port: 9876,
|
|
37
|
-
colors: true,
|
|
38
|
-
logLevel: config.LOG_INFO,
|
|
39
|
-
autoWatch: true,
|
|
40
|
-
browsers: ['Chrome'],
|
|
41
|
-
singleRun: false,
|
|
42
|
-
restartOnFileChange: true
|
|
43
|
-
});
|
|
44
|
-
};
|
package/ng-package.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { NewFrontCommonLibraryComponent } from './new-front-common-library.component';
|
|
4
|
-
|
|
5
|
-
describe('NewFrontCommonLibraryComponent', () => {
|
|
6
|
-
let component: NewFrontCommonLibraryComponent;
|
|
7
|
-
let fixture: ComponentFixture<NewFrontCommonLibraryComponent>;
|
|
8
|
-
|
|
9
|
-
beforeEach(async () => {
|
|
10
|
-
await TestBed.configureTestingModule({
|
|
11
|
-
declarations: [NewFrontCommonLibraryComponent]
|
|
12
|
-
})
|
|
13
|
-
.compileComponents();
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
beforeEach(() => {
|
|
17
|
-
fixture = TestBed.createComponent(NewFrontCommonLibraryComponent);
|
|
18
|
-
component = fixture.componentInstance;
|
|
19
|
-
fixture.detectChanges();
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
it('should create', () => {
|
|
23
|
-
expect(component).toBeTruthy();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Component, OnInit } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Component({
|
|
4
|
-
selector: 'lib-new-front-common-library',
|
|
5
|
-
template: `
|
|
6
|
-
<p>
|
|
7
|
-
new-front-common-library works!
|
|
8
|
-
</p>
|
|
9
|
-
`,
|
|
10
|
-
styles: []
|
|
11
|
-
})
|
|
12
|
-
export class NewFrontCommonLibraryComponent implements OnInit {
|
|
13
|
-
|
|
14
|
-
constructor() {
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
ngOnInit(): void {
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { NewFrontCommonLibraryComponent } from './new-front-common-library.component';
|
|
3
|
-
import { LangService } from "./util/services/translate-language/lang.service";
|
|
4
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
5
|
-
import { LocalStorageService } from "./util/services/storage/local-storage.service";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@NgModule({
|
|
9
|
-
declarations: [
|
|
10
|
-
NewFrontCommonLibraryComponent
|
|
11
|
-
],
|
|
12
|
-
imports: [],
|
|
13
|
-
exports: [
|
|
14
|
-
NewFrontCommonLibraryComponent
|
|
15
|
-
]
|
|
16
|
-
})
|
|
17
|
-
export class NewFrontCommonLibraryModule {
|
|
18
|
-
constructor(private langEventsService: LangService,
|
|
19
|
-
private translate: TranslateService,
|
|
20
|
-
private localStorage: LocalStorageService
|
|
21
|
-
) {
|
|
22
|
-
this.langEventsService.switchLangEmitter.subscribe(() => {
|
|
23
|
-
this.translate.use(this.localStorage.get('lang'));
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { TestBed } from '@angular/core/testing';
|
|
2
|
-
|
|
3
|
-
import { NewFrontCommonLibraryService } from './new-front-common-library.service';
|
|
4
|
-
|
|
5
|
-
describe('NewFrontCommonLibraryService', () => {
|
|
6
|
-
let service: NewFrontCommonLibraryService;
|
|
7
|
-
|
|
8
|
-
beforeEach(() => {
|
|
9
|
-
TestBed.configureTestingModule({});
|
|
10
|
-
service = TestBed.inject(NewFrontCommonLibraryService);
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
it('should be created', () => {
|
|
14
|
-
expect(service).toBeTruthy();
|
|
15
|
-
});
|
|
16
|
-
});
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// import the required animation functions from the angular animations module
|
|
2
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
3
|
-
|
|
4
|
-
export const actionsAnimation =
|
|
5
|
-
trigger('fadeAnimation', [
|
|
6
|
-
state('void', style({position: 'absolute', 'margin-right': '-100px'})),
|
|
7
|
-
state('*', style({position: 'absolute', 'margin-right': '100px'})),
|
|
8
|
-
transition(':enter', [ // before 2.1: transition('void => *', [
|
|
9
|
-
style({opacity: 0}),
|
|
10
|
-
animate('0.2s ease-in-out', style({opacity: 1}))
|
|
11
|
-
]),
|
|
12
|
-
transition(':leave', [ // before 2.1: transition('* => void', [
|
|
13
|
-
style({opacity: 1}),
|
|
14
|
-
animate('0.2s ease-in-out', style({opacity: 0}))
|
|
15
|
-
])
|
|
16
|
-
]);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
// import the required animation functions from the angular animations module
|
|
2
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
3
|
-
|
|
4
|
-
export const fadeAnimation =
|
|
5
|
-
trigger('fadeAnimation', [
|
|
6
|
-
state('void', style({position: 'absolute', width: '100%'})),
|
|
7
|
-
state('*', style({position: 'absolute', width: '100%'})),
|
|
8
|
-
transition(':enter', [ // before 2.1: transition('void => *', [
|
|
9
|
-
style({opacity: 0}),
|
|
10
|
-
animate('0.2s ease-in-out', style({opacity: 1}))
|
|
11
|
-
]),
|
|
12
|
-
transition(':leave', [ // before 2.1: transition('* => void', [
|
|
13
|
-
style({opacity: 1}),
|
|
14
|
-
animate('0.2s ease-in-out', style({opacity: 0}))
|
|
15
|
-
])
|
|
16
|
-
]);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
|
|
3
|
-
@Injectable()
|
|
4
|
-
export class ArrayService {
|
|
5
|
-
|
|
6
|
-
/** Check if a value is in array */
|
|
7
|
-
public inArray(value: any, array: any): boolean {
|
|
8
|
-
if (value === null || array === null) {
|
|
9
|
-
return false;
|
|
10
|
-
} else {
|
|
11
|
-
return array.indexOf(value) !== -1;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|