new-front-common-library 18.2.2 → 18.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -28
- package/assets/css/_dark-theme.scss +243 -243
- package/assets/css/_flex.scss +55 -55
- package/assets/css/_global.scss +428 -428
- package/assets/css/_light-theme.scss +221 -221
- package/assets/css/_mat-palettes.scss +102 -102
- package/assets/css/_themes.scss +55 -55
- package/assets/css/material/_mdc-dark-theme.scss +265 -265
- package/assets/css/material/_mdc-light-theme.scss +264 -264
- package/assets/css/material/_mdc.scss +408 -408
- package/assets/i18n/front-common/de.json +30 -30
- package/assets/i18n/front-common/en.json +30 -30
- package/assets/i18n/front-common/fr.json +30 -30
- package/esm2022/lib/util/array.service.mjs +1 -1
- package/esm2022/lib/util/component/header/advanced-search/advanced-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/contract-rapid-search/contract-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/deal-rapid-search/deal-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/invoice-rapid-search/invoice-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/product-rapid-search/product-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/purchase-order-rapid-search/purchase-order-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/royalty-contract-rapid-search/royalty-contract-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/royalty-count-rapid-search/royalty-count-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/royalty-invoice-rapid-search/royalty-invoice-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/third-party-rapid-search/third-party-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/work-record-rapid-search/work-record-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/advanced-search/work-version-rapid-search/work-version-rapid-search.component.mjs +3 -3
- package/esm2022/lib/util/component/header/header.component.mjs +3 -3
- package/esm2022/lib/util/component/header/history/history.component.mjs +3 -3
- package/esm2022/lib/util/component/header/menu/menu.component.mjs +3 -3
- package/esm2022/lib/util/component/header/menu/menu.const.mjs +1 -1
- package/esm2022/lib/util/component/header/menu/menu.model.mjs +1 -1
- package/esm2022/lib/util/component/header/personal-notification/personal-notification.component.mjs +3 -3
- package/esm2022/lib/util/component/header/settings/settings.component.mjs +3 -3
- package/esm2022/lib/util/component/notification/notification-bar.component.mjs +3 -3
- package/esm2022/lib/util/component/overlay/overlay.component.mjs +3 -3
- package/esm2022/lib/util/component/overlay/overlay.service.mjs +1 -1
- package/esm2022/lib/util/component/popup/popup-login/popup-login.component.mjs +3 -3
- package/esm2022/lib/util/component/sub-header/sub-header.component.mjs +3 -3
- package/esm2022/lib/util/config.mjs +1 -1
- package/esm2022/lib/util/date/PeriodModel.mjs +1 -1
- package/esm2022/lib/util/date/date-format-constants.mjs +1 -1
- package/esm2022/lib/util/date/date.util.mjs +1 -1
- package/esm2022/lib/util/decorators/theme.decorator.mjs +1 -1
- package/esm2022/lib/util/decorators/user.decorator.mjs +1 -1
- package/esm2022/lib/util/directives/my-number-formatter-directive.mjs +1 -1
- package/esm2022/lib/util/directives/show-if-truncated.directive.mjs +1 -1
- package/esm2022/lib/util/enums/family.enum.mjs +1 -1
- package/esm2022/lib/util/enums/history-item-type.enum.mjs +1 -1
- package/esm2022/lib/util/enums/notification-classification.enum.mjs +1 -1
- package/esm2022/lib/util/enums/personal-notification-priority.enum.mjs +1 -1
- package/esm2022/lib/util/enums/rapid-search-item-type.enum.mjs +1 -1
- package/esm2022/lib/util/enums/status-color.enum.mjs +1 -1
- package/esm2022/lib/util/event/header/header-events.service.mjs +1 -1
- package/esm2022/lib/util/event/storage/local-storage-events.service.mjs +1 -1
- package/esm2022/lib/util/event/storage/session-storage-events.service.mjs +1 -1
- package/esm2022/lib/util/http/http-params.builder.mjs +1 -1
- package/esm2022/lib/util/i18n/de.mjs +1 -1
- package/esm2022/lib/util/i18n/en.mjs +1 -1
- package/esm2022/lib/util/i18n/fr.mjs +1 -1
- package/esm2022/lib/util/i18n/multi-translate-http-loader.mjs +1 -1
- package/esm2022/lib/util/interfaces/permissions.interface.mjs +1 -1
- package/esm2022/lib/util/models/any-line.model.mjs +1 -1
- package/esm2022/lib/util/models/audio-content.model.mjs +1 -1
- package/esm2022/lib/util/models/authPermission.model.mjs +1 -1
- package/esm2022/lib/util/models/authUser.model.mjs +1 -1
- package/esm2022/lib/util/models/basic.model.mjs +1 -1
- package/esm2022/lib/util/models/box-set-item.model.mjs +1 -1
- package/esm2022/lib/util/models/commercial/deal-rapid-search-model.mjs +1 -1
- package/esm2022/lib/util/models/commercial/invoice-rapid-search-model.mjs +1 -1
- package/esm2022/lib/util/models/commercial/work-record-rapid-search-model.mjs +1 -1
- package/esm2022/lib/util/models/disc-program.model.mjs +1 -1
- package/esm2022/lib/util/models/disc.model.mjs +1 -1
- package/esm2022/lib/util/models/eventType.model.mjs +1 -1
- package/esm2022/lib/util/models/expenditure-commitment/purchase-order-file.model.mjs +1 -1
- package/esm2022/lib/util/models/expenditure-commitment/purchase-order-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/family.model.mjs +1 -1
- package/esm2022/lib/util/models/index.mjs +1 -1
- package/esm2022/lib/util/models/lang-line.model.mjs +1 -1
- package/esm2022/lib/util/models/legal/contract-rapid-search-model.mjs +1 -1
- package/esm2022/lib/util/models/legal/contract-work.model.mjs +1 -1
- package/esm2022/lib/util/models/legal/contract-work2.model.mjs +1 -1
- package/esm2022/lib/util/models/legal/type-status-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/link-routing-module.model.mjs +1 -1
- package/esm2022/lib/util/models/media-line.model.mjs +1 -1
- package/esm2022/lib/util/models/menu-language.model.mjs +1 -1
- package/esm2022/lib/util/models/notification.model.mjs +1 -1
- package/esm2022/lib/util/models/permission.model.mjs +1 -1
- package/esm2022/lib/util/models/personal-notification-campaign.model.mjs +1 -1
- package/esm2022/lib/util/models/personal-notification.model.mjs +1 -1
- package/esm2022/lib/util/models/product-box-set.model.mjs +1 -1
- package/esm2022/lib/util/models/product-disc-detail.model.mjs +1 -1
- package/esm2022/lib/util/models/product-disc.model.mjs +1 -1
- package/esm2022/lib/util/models/product-division.model.mjs +1 -1
- package/esm2022/lib/util/models/product-type.model.mjs +1 -1
- package/esm2022/lib/util/models/product.model.mjs +1 -1
- package/esm2022/lib/util/models/program.model.mjs +1 -1
- package/esm2022/lib/util/models/purchase-order/purchase-order.model.mjs +1 -1
- package/esm2022/lib/util/models/rapid-search-all-document.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/WorkVersionArticleDto.mjs +1 -1
- package/esm2022/lib/util/models/referential/adress-type.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/adress.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/attached-file.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/bank-account.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/bank-accounts.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/basic-hierarchy.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/broadcast-list-item.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/color.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/company.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/content-type.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/content.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/cost-center-criteria-values.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/cost-center-criteria.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/cost-center.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/coutry.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/currency.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/editorial-content.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/fixing.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/flat-media.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/format-image.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/format-type.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/format.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/fsk-index.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/fsk.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/function.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/genre.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/invoice-product-type.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/keywords.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/language.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/media-filter.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/media.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/module.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/parameter.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/participant.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/person.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/project-status.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/quota.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/referential-entity-state.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/referential-value.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/referentiel.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/restriction.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/sap-order.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/service-error.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/sound.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/territories-languages.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/territory-filter.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/territory.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/theme.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/third-party-address-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/third-party-creation-request.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/third-party-module.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/third-party-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/third-party.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/translated-value-model.mjs +1 -1
- package/esm2022/lib/util/models/referential/tva.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/type-export.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/type-tva-company-territory.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/type-tva.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/user-form.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-addons-model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-appartenance.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-genre.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-language.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-milo.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-participant.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-restrictions-model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-theme.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-title.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-version-origin.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-version-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-versions-used.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-versions.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work-year-production.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/work.model.mjs +1 -1
- package/esm2022/lib/util/models/referential/zone.model.mjs +1 -1
- package/esm2022/lib/util/models/referentiel.model.mjs +1 -1
- package/esm2022/lib/util/models/royalty/royalty-contract-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/royalty/royalty-count-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/royalty/royalty-invoice-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/search-response.model.mjs +1 -1
- package/esm2022/lib/util/models/section.model.mjs +1 -1
- package/esm2022/lib/util/models/select/options.model.mjs +1 -1
- package/esm2022/lib/util/models/select/select.model.mjs +1 -1
- package/esm2022/lib/util/models/subsidiary.model.mjs +1 -1
- package/esm2022/lib/util/models/subtitle-content.model.mjs +1 -1
- package/esm2022/lib/util/models/user-video.model.mjs +1 -1
- package/esm2022/lib/util/models/user.model.mjs +2 -2
- package/esm2022/lib/util/models/video/product-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/video/support-rapid-search.model.mjs +1 -1
- package/esm2022/lib/util/models/video-content.model.mjs +1 -1
- package/esm2022/lib/util/number.validator.mjs +1 -1
- package/esm2022/lib/util/paginator/custom-paginator-configuration.mjs +1 -1
- package/esm2022/lib/util/permissions/permissions.service.mjs +1 -1
- package/esm2022/lib/util/pipes/capitalizefirst.pipe.mjs +24 -19
- package/esm2022/lib/util/pipes/comma-separated-number.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/common-translate.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/display-html.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/display-null.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/format-currency.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/format-duration.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/format-number-input.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/local-date.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/my-number.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/notification-classification-icon.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/third-party-address-search.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/third-party-address.pipe.mjs +1 -1
- package/esm2022/lib/util/pipes/trim-string.pipe.mjs +1 -1
- package/esm2022/lib/util/regex/regex.service.mjs +1 -1
- package/esm2022/lib/util/services/api/commercial-api.service.mjs +1 -1
- package/esm2022/lib/util/services/api/common-api.service.mjs +1 -1
- package/esm2022/lib/util/services/api/legal-api.service.mjs +1 -1
- package/esm2022/lib/util/services/api/notification-api.service.mjs +1 -1
- package/esm2022/lib/util/services/api/video-api.service.mjs +1 -1
- package/esm2022/lib/util/services/auth/auth.service.mjs +1 -1
- package/esm2022/lib/util/services/elasticsearch/elasticsearch.service.mjs +1 -1
- package/esm2022/lib/util/services/elasticsearch/subsidiaries.service.mjs +1 -1
- package/esm2022/lib/util/services/form-action/form-actions-events.service.mjs +1 -1
- package/esm2022/lib/util/services/guard/auth.guard.mjs +1 -1
- package/esm2022/lib/util/services/guard/login.guard.mjs +1 -1
- package/esm2022/lib/util/services/history/history.service.mjs +1 -1
- package/esm2022/lib/util/services/interceptor/auth.interceptor.mjs +1 -1
- package/esm2022/lib/util/services/jwt-security/aes.service.mjs +1 -1
- package/esm2022/lib/util/services/jwt-security/interceptorhttp.service.mjs +1 -1
- package/esm2022/lib/util/services/jwt-security/jwt.helpher.mjs +1 -1
- package/esm2022/lib/util/services/notification/notification.service.mjs +1 -1
- package/esm2022/lib/util/services/storage/local-storage.service.mjs +1 -1
- package/esm2022/lib/util/services/storage/session-storage.service.mjs +1 -1
- package/esm2022/lib/util/services/translate-language/lang.service.mjs +1 -1
- package/esm2022/lib/util/services/user/user-subsidiary.service.mjs +1 -1
- package/esm2022/lib/util/sort.mjs +1 -1
- package/esm2022/lib/util/theme/theme-event.service.mjs +1 -1
- package/esm2022/lib/util/toaster/toaster-events.service.mjs +1 -1
- package/esm2022/lib/util/util.module.mjs +4 -4
- package/esm2022/public-api.mjs +1 -1
- package/fesm2022/new-front-common-library.mjs +69 -64
- package/fesm2022/new-front-common-library.mjs.map +1 -1
- package/lib/util/models/user.model.d.ts +1 -1
- package/lib/util/pipes/capitalizefirst.pipe.d.ts +6 -2
- package/lib/util/util.module.d.ts +54 -54
- package/package.json +1 -1
|
@@ -314,33 +314,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImpo
|
|
|
314
314
|
|
|
315
315
|
class CapitalizefirstPipe {
|
|
316
316
|
transform(value) {
|
|
317
|
-
if (value
|
|
317
|
+
if (!value) {
|
|
318
318
|
return '';
|
|
319
319
|
}
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
}
|
|
327
|
-
}
|
|
328
|
-
else {
|
|
329
|
-
args = value.split(' ');
|
|
330
|
-
for (let i = 0; i < args.length; i++) {
|
|
331
|
-
args[i] = args[i].charAt(0).toUpperCase() + args[i].slice(1).toLowerCase();
|
|
332
|
-
valueArgs = args.join(' ');
|
|
333
|
-
}
|
|
320
|
+
// Handle compound names with hyphens (e.g., "jean-pierre" -> "Jean-Pierre")
|
|
321
|
+
if (value.includes('-')) {
|
|
322
|
+
return value
|
|
323
|
+
.split('-')
|
|
324
|
+
.map(word => this.capitalizeWord(word))
|
|
325
|
+
.join('-');
|
|
334
326
|
}
|
|
335
|
-
|
|
327
|
+
// Handle multiple names with spaces (e.g., "de la fontaine" -> "De La Fontaine")
|
|
328
|
+
return value
|
|
329
|
+
.split(' ')
|
|
330
|
+
.map(word => this.capitalizeWord(word))
|
|
331
|
+
.join(' ');
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* Capitalizes the first letter of a word and forces the rest to lowercase
|
|
335
|
+
*/
|
|
336
|
+
capitalizeWord(word) {
|
|
337
|
+
if (!word)
|
|
338
|
+
return '';
|
|
339
|
+
return word.charAt(0).toUpperCase() + word.slice(1).toLowerCase();
|
|
336
340
|
}
|
|
337
341
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: CapitalizefirstPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
338
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.10", ngImport: i0, type: CapitalizefirstPipe, name: "myCapitalizeFirst" }); }
|
|
342
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "18.2.10", ngImport: i0, type: CapitalizefirstPipe, isStandalone: true, name: "myCapitalizeFirst" }); }
|
|
339
343
|
}
|
|
340
344
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: CapitalizefirstPipe, decorators: [{
|
|
341
345
|
type: Pipe,
|
|
342
346
|
args: [{
|
|
343
|
-
name: 'myCapitalizeFirst'
|
|
347
|
+
name: 'myCapitalizeFirst',
|
|
348
|
+
standalone: true
|
|
344
349
|
}]
|
|
345
350
|
}] });
|
|
346
351
|
|
|
@@ -683,11 +688,11 @@ class OverlayComponent {
|
|
|
683
688
|
});
|
|
684
689
|
}
|
|
685
690
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: OverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
686
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: OverlayComponent, selector: "sc-overlay", ngImport: i0, template: "@if (show) {\
|
|
691
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: OverlayComponent, selector: "sc-overlay", ngImport: i0, template: "@if (show) {\n <div class=\"blackshield\"></div>\n\n <div class=\"d-flex justify-content-center align-items-center\">\n <mat-card class=\"overshield\">\n <mat-card-content class=\"d-flex justify-content-between align-items-center\">\n <span>{{ message || 'CORE.OVERLAY.LOADING' | translate }}</span>\n <mat-spinner diameter=\"40\"></mat-spinner>\n </mat-card-content>\n </mat-card>\n </div>\n}\n\n\n", styles: [".blackshield{position:fixed;display:block!important;top:0;left:0;width:100%;background:#000;opacity:.8;height:100vh;z-index:2000000;padding-top:150px}.overshield{position:fixed;width:30%;min-height:6vh;margin-top:250px;z-index:20000000}\n"], dependencies: [{ kind: "component", type: i1$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1$1.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
687
692
|
}
|
|
688
693
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: OverlayComponent, decorators: [{
|
|
689
694
|
type: Component,
|
|
690
|
-
args: [{ selector: 'sc-overlay', template: "@if (show) {\
|
|
695
|
+
args: [{ selector: 'sc-overlay', template: "@if (show) {\n <div class=\"blackshield\"></div>\n\n <div class=\"d-flex justify-content-center align-items-center\">\n <mat-card class=\"overshield\">\n <mat-card-content class=\"d-flex justify-content-between align-items-center\">\n <span>{{ message || 'CORE.OVERLAY.LOADING' | translate }}</span>\n <mat-spinner diameter=\"40\"></mat-spinner>\n </mat-card-content>\n </mat-card>\n </div>\n}\n\n\n", styles: [".blackshield{position:fixed;display:block!important;top:0;left:0;width:100%;background:#000;opacity:.8;height:100vh;z-index:2000000;padding-top:150px}.overshield{position:fixed;width:30%;min-height:6vh;margin-top:250px;z-index:20000000}\n"] }]
|
|
691
696
|
}] });
|
|
692
697
|
|
|
693
698
|
class WorkRecordRapidSearchModel {
|
|
@@ -2164,11 +2169,11 @@ class MenuComponent {
|
|
|
2164
2169
|
}
|
|
2165
2170
|
}
|
|
2166
2171
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2167
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: MenuComponent, selector: "sc-menu", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { navigate: "navigate", redirect: "redirect" }, host: { listeners: { "document:click": "onClickOutside($event)" } }, ngImport: i0, template: "<div class=\"d-flex justify-content-start\">\
|
|
2172
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: MenuComponent, selector: "sc-menu", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { navigate: "navigate", redirect: "redirect" }, host: { listeners: { "document:click": "onClickOutside($event)" } }, ngImport: i0, template: "<div class=\"d-flex justify-content-start\">\n @for (menuCurrent of menuButtons; track menuCurrent) {\n <ng-container *ngxPermissionsExcept=\"menuCurrent.restrictions\">\n <mat-toolbar class=\"toolbar-padding\">\n <div\n [attr.aria-label]=\"menuCurrent.label + '-btn'\"\n class=\"button-wrapper\"\n [ngClass]=\"{ active: activeMenu === menuCurrent.label }\"\n *ngxPermissionsOnly=\"menuCurrent.permissions\"\n (click)=\"openMenu(menuTrigger, menuCurrent.label)\"\n >\n <button class=\"menu-button primary-color\" [matMenuTriggerFor]=\"i\" #menuTrigger=\"matMenuTrigger\"\n style=\"z-index: 99999\">\n <div class=\"text-menu-button\">\n <span>{{ menuCurrent.label | commonTranslate : lang() }}</span>\n <div class=\"indicator\">\n <div class=\"line primary\"></div>\n </div>\n </div>\n <mat-icon class=\"primary-color icon-more\" [ngClass]=\"{ rotated: activeMenu === menuCurrent.label }\">\n expand_more\n </mat-icon>\n </button>\n <div class=\"indicator\"></div>\n </div>\n </mat-toolbar>\n\n <mat-menu #i=\"matMenu\" [aria-label]=\"menuCurrent.label + '-menu'\" class=\"custom-menu custom-menu-panel\"\n [hasBackdrop]=\"false\">\n <div class=\"menu-container d-flex\" (click)=\"$event.stopPropagation()\">\n @for (section of menuCurrent.sections; track section) {\n <ng-container *ngxPermissionsOnly=\"section.permissions\">\n <ng-container *ngxPermissionsExcept=\"section.restrictions\">\n <div class=\"menu-section\">\n <h3 class=\"primary-color\">{{ section.label | commonTranslate : lang() }}</h3>\n @for (link of section.links; track link) {\n <ng-container *ngxPermissionsOnly=\"link.permissions\">\n <button (click)=\"performAction(link)\" *ngxPermissionsExcept=\"link.restrictions\" mat-menu-item\n class=\"custom-menu-item\">\n {{ link.label | commonTranslate : lang() }}\n </button>\n </ng-container>\n }\n </div>\n </ng-container>\n </ng-container>\n }\n </div>\n </mat-menu>\n </ng-container>\n }\n</div>\n", styles: ["::ng-deep .light-theme .mat-toolbar{background-color:#fff}::ng-deep .dark-theme .mat-toolbar{background-color:#2a2d3e}.mat-icon{overflow:visible}.menu-section{display:flex;flex-direction:column;margin-right:10px}.menu-section h3{margin:0 0 10px 10px;font-size:16px;font-weight:400}.mat-menu-item{padding:5px 0;text-align:left}.mat-menu-item:hover{font-weight:400;color:#3f51b5}.menu-container{padding-left:10px;display:flex;flex-direction:row;gap:30px}.button-wrapper{display:flex;flex-direction:column;position:relative;top:15px;margin-right:.5vw}.toolbar-padding{align-items:start;padding:0!important}.indicator{display:flex;flex-direction:column;align-items:center;margin-top:0}.text-menu-button{display:flex;flex-direction:column;font-size:min(1.2vw,16px)}.line{width:0;height:2px;transition:all .5s ease-in-out;display:block;opacity:0}.button-wrapper.active .line{width:100%;opacity:1}.icon{margin-top:-8px;display:none}.menu-button{all:unset;display:inline-flex;align-items:center;cursor:pointer;background-color:transparent!important;font-weight:700!important;max-width:fit-content!important;font-size:16px;padding-bottom:10px}.menu-button mat-icon{vertical-align:middle}.custom-menu-item{padding-left:10px!important}::ng-deep .mat-mdc-menu-panel.custom-menu-panel{max-width:fit-content!important;overflow:visible!important}.icon-more{display:flex;align-items:center;justify-content:center;transition:transform .5s ease-in-out;font-size:min(1.5vw,24px)!important}.icon-more.rotated{transform:rotate(180deg)}\n"], dependencies: [{ kind: "component", type: i1$2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3$1.NgxPermissionsDirective, selector: "[ngxPermissionsOnly],[ngxPermissionsExcept]", inputs: ["ngxPermissionsOnly", "ngxPermissionsOnlyThen", "ngxPermissionsOnlyElse", "ngxPermissionsExcept", "ngxPermissionsExceptElse", "ngxPermissionsExceptThen", "ngxPermissionsThen", "ngxPermissionsElse", "ngxPermissionsOnlyAuthorisedStrategy", "ngxPermissionsOnlyUnauthorisedStrategy", "ngxPermissionsExceptUnauthorisedStrategy", "ngxPermissionsExceptAuthorisedStrategy", "ngxPermissionsUnauthorisedStrategy", "ngxPermissionsAuthorisedStrategy"], outputs: ["permissionsAuthorized", "permissionsUnauthorized"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2168
2173
|
}
|
|
2169
2174
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: MenuComponent, decorators: [{
|
|
2170
2175
|
type: Component,
|
|
2171
|
-
args: [{ selector: 'sc-menu', template: "<div class=\"d-flex justify-content-start\">\
|
|
2176
|
+
args: [{ selector: 'sc-menu', template: "<div class=\"d-flex justify-content-start\">\n @for (menuCurrent of menuButtons; track menuCurrent) {\n <ng-container *ngxPermissionsExcept=\"menuCurrent.restrictions\">\n <mat-toolbar class=\"toolbar-padding\">\n <div\n [attr.aria-label]=\"menuCurrent.label + '-btn'\"\n class=\"button-wrapper\"\n [ngClass]=\"{ active: activeMenu === menuCurrent.label }\"\n *ngxPermissionsOnly=\"menuCurrent.permissions\"\n (click)=\"openMenu(menuTrigger, menuCurrent.label)\"\n >\n <button class=\"menu-button primary-color\" [matMenuTriggerFor]=\"i\" #menuTrigger=\"matMenuTrigger\"\n style=\"z-index: 99999\">\n <div class=\"text-menu-button\">\n <span>{{ menuCurrent.label | commonTranslate : lang() }}</span>\n <div class=\"indicator\">\n <div class=\"line primary\"></div>\n </div>\n </div>\n <mat-icon class=\"primary-color icon-more\" [ngClass]=\"{ rotated: activeMenu === menuCurrent.label }\">\n expand_more\n </mat-icon>\n </button>\n <div class=\"indicator\"></div>\n </div>\n </mat-toolbar>\n\n <mat-menu #i=\"matMenu\" [aria-label]=\"menuCurrent.label + '-menu'\" class=\"custom-menu custom-menu-panel\"\n [hasBackdrop]=\"false\">\n <div class=\"menu-container d-flex\" (click)=\"$event.stopPropagation()\">\n @for (section of menuCurrent.sections; track section) {\n <ng-container *ngxPermissionsOnly=\"section.permissions\">\n <ng-container *ngxPermissionsExcept=\"section.restrictions\">\n <div class=\"menu-section\">\n <h3 class=\"primary-color\">{{ section.label | commonTranslate : lang() }}</h3>\n @for (link of section.links; track link) {\n <ng-container *ngxPermissionsOnly=\"link.permissions\">\n <button (click)=\"performAction(link)\" *ngxPermissionsExcept=\"link.restrictions\" mat-menu-item\n class=\"custom-menu-item\">\n {{ link.label | commonTranslate : lang() }}\n </button>\n </ng-container>\n }\n </div>\n </ng-container>\n </ng-container>\n }\n </div>\n </mat-menu>\n </ng-container>\n }\n</div>\n", styles: ["::ng-deep .light-theme .mat-toolbar{background-color:#fff}::ng-deep .dark-theme .mat-toolbar{background-color:#2a2d3e}.mat-icon{overflow:visible}.menu-section{display:flex;flex-direction:column;margin-right:10px}.menu-section h3{margin:0 0 10px 10px;font-size:16px;font-weight:400}.mat-menu-item{padding:5px 0;text-align:left}.mat-menu-item:hover{font-weight:400;color:#3f51b5}.menu-container{padding-left:10px;display:flex;flex-direction:row;gap:30px}.button-wrapper{display:flex;flex-direction:column;position:relative;top:15px;margin-right:.5vw}.toolbar-padding{align-items:start;padding:0!important}.indicator{display:flex;flex-direction:column;align-items:center;margin-top:0}.text-menu-button{display:flex;flex-direction:column;font-size:min(1.2vw,16px)}.line{width:0;height:2px;transition:all .5s ease-in-out;display:block;opacity:0}.button-wrapper.active .line{width:100%;opacity:1}.icon{margin-top:-8px;display:none}.menu-button{all:unset;display:inline-flex;align-items:center;cursor:pointer;background-color:transparent!important;font-weight:700!important;max-width:fit-content!important;font-size:16px;padding-bottom:10px}.menu-button mat-icon{vertical-align:middle}.custom-menu-item{padding-left:10px!important}::ng-deep .mat-mdc-menu-panel.custom-menu-panel{max-width:fit-content!important;overflow:visible!important}.icon-more{display:flex;align-items:center;justify-content:center;transition:transform .5s ease-in-out;font-size:min(1.5vw,24px)!important}.icon-more.rotated{transform:rotate(180deg)}\n"] }]
|
|
2172
2177
|
}], propDecorators: { onClickOutside: [{
|
|
2173
2178
|
type: HostListener,
|
|
2174
2179
|
args: ['document:click', ['$event']]
|
|
@@ -2199,11 +2204,11 @@ class PurchaseOrderRapidSearchComponent {
|
|
|
2199
2204
|
this.redirect.emit({ module: 'expenditure-commitment', route: '/purchase-orders/' + this.document().poId });
|
|
2200
2205
|
}
|
|
2201
2206
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: PurchaseOrderRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2202
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: PurchaseOrderRapidSearchComponent, selector: "sc-purchase-order-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2207
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: PurchaseOrderRapidSearchComponent, selector: "sc-purchase-order-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt_long</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-70\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PURCHASE_ORDER' | commonTranslate: lang() }}</span>\n <span>{{ document().poNumber }}\n - {{ document().totalAmount | currency: document().currencyCode:'symbol':undefined:'fr-FR' }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.BASKET_NUMBER' | commonTranslate: lang() }}</span>\n <span>{{ document()?.basketNumber ? document().basketNumber : '-' }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang() }}</span>\n <span>{{ document()?.ean ? document().ean : '-' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: i1$3.CurrencyPipe, name: "currency" }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2203
2208
|
}
|
|
2204
2209
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: PurchaseOrderRapidSearchComponent, decorators: [{
|
|
2205
2210
|
type: Component,
|
|
2206
|
-
args: [{ selector: 'sc-purchase-order-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2211
|
+
args: [{ selector: 'sc-purchase-order-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt_long</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-70\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PURCHASE_ORDER' | commonTranslate: lang() }}</span>\n <span>{{ document().poNumber }}\n - {{ document().totalAmount | currency: document().currencyCode:'symbol':undefined:'fr-FR' }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.BASKET_NUMBER' | commonTranslate: lang() }}</span>\n <span>{{ document()?.basketNumber ? document().basketNumber : '-' }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang() }}</span>\n <span>{{ document()?.ean ? document().ean : '-' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2207
2212
|
}] });
|
|
2208
2213
|
|
|
2209
2214
|
class ProductRapidSearchComponent {
|
|
@@ -2217,11 +2222,11 @@ class ProductRapidSearchComponent {
|
|
|
2217
2222
|
this.redirect.emit({ module: 'video', route: '/product/consult/' + this.document().productId });
|
|
2218
2223
|
}
|
|
2219
2224
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: ProductRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2220
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: ProductRapidSearchComponent, selector: "sc-product-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null }, labelLang: { classPropertyName: "labelLang", publicName: "labelLang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2225
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: ProductRapidSearchComponent, selector: "sc-product-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null }, labelLang: { classPropertyName: "labelLang", publicName: "labelLang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">movie</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"ellipsis d-flex flex-column max-width-60\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().title }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-10\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.SUPPORT' | commonTranslate: lang() }}</span>\n <span>{{ document().support[labelLang()] }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang() }}</span>\n <span>{{ document().ean }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.RELEASE_DATE' | commonTranslate: lang() }}</span>\n <span>{{ document()?.releaseDate ? document().releaseDate : '-' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2221
2226
|
}
|
|
2222
2227
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: ProductRapidSearchComponent, decorators: [{
|
|
2223
2228
|
type: Component,
|
|
2224
|
-
args: [{ selector: 'sc-product-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2229
|
+
args: [{ selector: 'sc-product-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">movie</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"ellipsis d-flex flex-column max-width-60\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().title }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-10\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.SUPPORT' | commonTranslate: lang() }}</span>\n <span>{{ document().support[labelLang()] }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EAN' | commonTranslate: lang() }}</span>\n <span>{{ document().ean }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.RELEASE_DATE' | commonTranslate: lang() }}</span>\n <span>{{ document()?.releaseDate ? document().releaseDate : '-' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2225
2230
|
}] });
|
|
2226
2231
|
|
|
2227
2232
|
class WorkVersionRapidSearchComponent {
|
|
@@ -2234,11 +2239,11 @@ class WorkVersionRapidSearchComponent {
|
|
|
2234
2239
|
this.redirect.emit({ module: null, route: '/work-summary/' + this.document().id + '/info' });
|
|
2235
2240
|
}
|
|
2236
2241
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: WorkVersionRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2237
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: WorkVersionRapidSearchComponent, selector: "sc-work-version-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2242
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: WorkVersionRapidSearchComponent, selector: "sc-work-version-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">theaters</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-75 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().title }} ({{ document().codeIso }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-10\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang() }}</span>\n <span>{{ document().miloCode }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCTION_YEAR' | commonTranslate: lang() }}</span>\n <span>{{ document().yearOfProduction }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2238
2243
|
}
|
|
2239
2244
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: WorkVersionRapidSearchComponent, decorators: [{
|
|
2240
2245
|
type: Component,
|
|
2241
|
-
args: [{ selector: 'sc-work-version-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2246
|
+
args: [{ selector: 'sc-work-version-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">theaters</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-75 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().title }} ({{ document().codeIso }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-10\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang() }}</span>\n <span>{{ document().miloCode }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.PRODUCTION_YEAR' | commonTranslate: lang() }}</span>\n <span>{{ document().yearOfProduction }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2242
2247
|
}] });
|
|
2243
2248
|
|
|
2244
2249
|
class DealRapidSearchComponent {
|
|
@@ -2251,11 +2256,11 @@ class DealRapidSearchComponent {
|
|
|
2251
2256
|
this.redirect.emit({ module: null, route: '/commercial/deal/consult/' + this.document().id });
|
|
2252
2257
|
}
|
|
2253
2258
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: DealRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2254
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: DealRapidSearchComponent, selector: "sc-deal-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2259
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: DealRapidSearchComponent, selector: "sc-deal-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">local_offer</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-70 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().dealNumber }} - {{ document().thirdPartyClientName }}\n ({{ document().thirdPartyClientSap }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang() }}</span>\n <span>{{ document().calculatedAmount | currency: document().currencyCode:'symbol' }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.VALIDATION_DATE' | commonTranslate: lang() }}</span>\n <span>{{ document().validationDate }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: i1$3.CurrencyPipe, name: "currency" }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2255
2260
|
}
|
|
2256
2261
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: DealRapidSearchComponent, decorators: [{
|
|
2257
2262
|
type: Component,
|
|
2258
|
-
args: [{ selector: 'sc-deal-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2263
|
+
args: [{ selector: 'sc-deal-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">local_offer</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-70 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().dealNumber }} - {{ document().thirdPartyClientName }}\n ({{ document().thirdPartyClientSap }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang() }}</span>\n <span>{{ document().calculatedAmount | currency: document().currencyCode:'symbol' }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.VALIDATION_DATE' | commonTranslate: lang() }}</span>\n <span>{{ document().validationDate }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2259
2264
|
}] });
|
|
2260
2265
|
|
|
2261
2266
|
class WorkRecordRapidSearchComponent {
|
|
@@ -2268,11 +2273,11 @@ class WorkRecordRapidSearchComponent {
|
|
|
2268
2273
|
this.redirect.emit({ module: null, route: '/commercial/work-record/consult/' + this.document().id + '/general' });
|
|
2269
2274
|
}
|
|
2270
2275
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: WorkRecordRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2271
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: WorkRecordRapidSearchComponent, selector: "sc-work-record-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2276
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: WorkRecordRapidSearchComponent, selector: "sc-work-record-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">assignment</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK_RECORD' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().id }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().dealNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-30 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().thirdPartyClientName }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-35\">\n <span class=\"auto-complete-label\">\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE' | commonTranslate: lang() }} {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang() }}\n )\n </span>\n <span class=\"ellipsis\">{{ document().getTitle(lang()) }} ({{ document().miloCode }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang() }}</span>\n <span>{{ document().amount | currency: document().currencyCode:'symbol' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: i1$3.CurrencyPipe, name: "currency" }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2272
2277
|
}
|
|
2273
2278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: WorkRecordRapidSearchComponent, decorators: [{
|
|
2274
2279
|
type: Component,
|
|
2275
|
-
args: [{ selector: 'sc-work-record-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2280
|
+
args: [{ selector: 'sc-work-record-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">assignment</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.WORK_RECORD' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().id }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().dealNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-30 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().thirdPartyClientName }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-35\">\n <span class=\"auto-complete-label\">\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE' | commonTranslate: lang() }} {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang() }}\n )\n </span>\n <span class=\"ellipsis\">{{ document().getTitle(lang()) }} ({{ document().miloCode }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang() }}</span>\n <span>{{ document().amount | currency: document().currencyCode:'symbol' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2276
2281
|
}] });
|
|
2277
2282
|
|
|
2278
2283
|
class ThirdPartyAddressSearchPipe {
|
|
@@ -2298,11 +2303,11 @@ class ThirdPartyRapidSearchComponent {
|
|
|
2298
2303
|
this.redirect.emit({ module: null, route: '/referential/third-party/' + this.document().id });
|
|
2299
2304
|
}
|
|
2300
2305
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: ThirdPartyRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2301
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: ThirdPartyRapidSearchComponent, selector: "sc-third-party-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2306
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: ThirdPartyRapidSearchComponent, selector: "sc-third-party-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">person</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-85 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.THIRD_PARTY' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().companyOrPersonName }}\n ({{ document().address | thirdPartyAddressSearch: lang() }}\n )</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CODE' | commonTranslate: lang() }}</span>\n <span>{{ document().code }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }, { kind: "pipe", type: ThirdPartyAddressSearchPipe, name: "thirdPartyAddressSearch" }] }); }
|
|
2302
2307
|
}
|
|
2303
2308
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: ThirdPartyRapidSearchComponent, decorators: [{
|
|
2304
2309
|
type: Component,
|
|
2305
|
-
args: [{ selector: 'sc-third-party-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2310
|
+
args: [{ selector: 'sc-third-party-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">person</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-85 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.THIRD_PARTY' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().companyOrPersonName }}\n ({{ document().address | thirdPartyAddressSearch: lang() }}\n )</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CODE' | commonTranslate: lang() }}</span>\n <span>{{ document().code }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2306
2311
|
}] });
|
|
2307
2312
|
|
|
2308
2313
|
class ContractRapidSearchComponent {
|
|
@@ -2322,11 +2327,11 @@ class ContractRapidSearchComponent {
|
|
|
2322
2327
|
});
|
|
2323
2328
|
}
|
|
2324
2329
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: ContractRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2325
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: ContractRapidSearchComponent, selector: "sc-contract-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null }, labelLang: { classPropertyName: "labelLang", publicName: "labelLang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2330
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: ContractRapidSearchComponent, selector: "sc-contract-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null }, labelLang: { classPropertyName: "labelLang", publicName: "labelLang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n @switch (getContractType(document().type.labelEn)) {\n @case ('cess') {\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt</span>\n }\n @case ('acq') {\n <span class=\"material-icons-outlined rapid-search-type-icon\">shop_two</span>\n }\n @case ('auth') {\n <span class=\"material-icons-outlined rapid-search-type-icon\">account_circle</span>\n }\n }\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().lisaId }} </span>\n </div>\n <div class=\"d-flex flex-column max-width-10\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE' | commonTranslate: lang() }}</span>\n <span>{{ document().type[labelLang()] }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-30\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS' | commonTranslate: lang() }}</span>\n <span>{{ document().status[labelLang()] }}</span>\n </div>\n @if (document().type.labelEn !== 'Sale') {\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR' | commonTranslate: lang() }}</span>\n <span>{{ document().licensor ? document().licensor : '-' }}</span>\n </div>\n } @else {\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CUSTOMER' | commonTranslate: lang() }}</span>\n <span>{{ document().customer ? document().customer : '-' }}</span>\n </div>\n }\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2326
2331
|
}
|
|
2327
2332
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: ContractRapidSearchComponent, decorators: [{
|
|
2328
2333
|
type: Component,
|
|
2329
|
-
args: [{ selector: 'sc-contract-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2334
|
+
args: [{ selector: 'sc-contract-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n @switch (getContractType(document().type.labelEn)) {\n @case ('cess') {\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt</span>\n }\n @case ('acq') {\n <span class=\"material-icons-outlined rapid-search-type-icon\">shop_two</span>\n }\n @case ('auth') {\n <span class=\"material-icons-outlined rapid-search-type-icon\">account_circle</span>\n }\n }\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-10 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().lisaId }} </span>\n </div>\n <div class=\"d-flex flex-column max-width-10\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TYPE' | commonTranslate: lang() }}</span>\n <span>{{ document().type[labelLang()] }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-30\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.STATUS' | commonTranslate: lang() }}</span>\n <span>{{ document().status[labelLang()] }}</span>\n </div>\n @if (document().type.labelEn !== 'Sale') {\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.LICENSOR' | commonTranslate: lang() }}</span>\n <span>{{ document().licensor ? document().licensor : '-' }}</span>\n </div>\n } @else {\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CUSTOMER' | commonTranslate: lang() }}</span>\n <span>{{ document().customer ? document().customer : '-' }}</span>\n </div>\n }\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2330
2335
|
}] });
|
|
2331
2336
|
|
|
2332
2337
|
class InvoiceRapidSearchComponent {
|
|
@@ -2350,11 +2355,11 @@ class InvoiceRapidSearchComponent {
|
|
|
2350
2355
|
}
|
|
2351
2356
|
}
|
|
2352
2357
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: InvoiceRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2353
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: InvoiceRapidSearchComponent, selector: "sc-invoice-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2358
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: InvoiceRapidSearchComponent, selector: "sc-invoice-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().number }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().dealNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().thirdPartyClientName }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-35\">\n <span class=\"auto-complete-label\">\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE' | commonTranslate: lang() }}\n ({{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang() }})\n </span>\n <span class=\"ellipsis\">{{ document().getTitle(lang()) }} ({{ document().miloCode }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang() }}</span>\n <span>{{ document().amount | currency: document().currencyCode:'symbol' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: i1$3.CurrencyPipe, name: "currency" }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2354
2359
|
}
|
|
2355
2360
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: InvoiceRapidSearchComponent, decorators: [{
|
|
2356
2361
|
type: Component,
|
|
2357
|
-
args: [{ selector: 'sc-invoice-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2362
|
+
args: [{ selector: 'sc-invoice-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">receipt</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().number }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.DEAL' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().dealNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().thirdPartyClientName }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-35\">\n <span class=\"auto-complete-label\">\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLE' | commonTranslate: lang() }}\n ({{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.MILO_CODE' | commonTranslate: lang() }})\n </span>\n <span class=\"ellipsis\">{{ document().getTitle(lang()) }} ({{ document().miloCode }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.AMOUNT' | commonTranslate: lang() }}</span>\n <span>{{ document().amount | currency: document().currencyCode:'symbol' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2358
2363
|
}] });
|
|
2359
2364
|
|
|
2360
2365
|
class RoyaltyContractRapidSearchComponent {
|
|
@@ -2367,11 +2372,11 @@ class RoyaltyContractRapidSearchComponent {
|
|
|
2367
2372
|
this.redirect.emit({ module: null, route: '/royalty/contract/consult/' + this.document().id });
|
|
2368
2373
|
}
|
|
2369
2374
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: RoyaltyContractRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2370
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: RoyaltyContractRapidSearchComponent, selector: "sc-royalty-contract-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2375
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: RoyaltyContractRapidSearchComponent, selector: "sc-royalty-contract-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">savings</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().contractNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-30 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().clientName }} ({{document().clientCodeSap}})</span>\n </div>\n <div class=\"d-flex flex-column max-width-50 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLES' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().works.join(', ') }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2371
2376
|
}
|
|
2372
2377
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: RoyaltyContractRapidSearchComponent, decorators: [{
|
|
2373
2378
|
type: Component,
|
|
2374
|
-
args: [{ selector: 'sc-royalty-contract-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2379
|
+
args: [{ selector: 'sc-royalty-contract-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">savings</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().contractNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-30 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().clientName }} ({{document().clientCodeSap}})</span>\n </div>\n <div class=\"d-flex flex-column max-width-50 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.TITLES' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().works.join(', ') }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2375
2380
|
}] });
|
|
2376
2381
|
|
|
2377
2382
|
class RoyaltyInvoiceRapidSearchComponent {
|
|
@@ -2384,11 +2389,11 @@ class RoyaltyInvoiceRapidSearchComponent {
|
|
|
2384
2389
|
this.redirect.emit({ module: null, route: '/royalty/count/consult/' + this.document().countId });
|
|
2385
2390
|
}
|
|
2386
2391
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: RoyaltyInvoiceRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2387
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: RoyaltyInvoiceRapidSearchComponent, selector: "sc-royalty-invoice-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2392
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: RoyaltyInvoiceRapidSearchComponent, selector: "sc-royalty-invoice-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">savings</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().invoiceNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.COUNT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().countNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().contractNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().clientName }} ({{ document().clientCodeSap }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EMISSION_DATE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().emissionDate }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2388
2393
|
}
|
|
2389
2394
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: RoyaltyInvoiceRapidSearchComponent, decorators: [{
|
|
2390
2395
|
type: Component,
|
|
2391
|
-
args: [{ selector: 'sc-royalty-invoice-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2396
|
+
args: [{ selector: 'sc-royalty-invoice-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">savings</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.INVOICE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().invoiceNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.COUNT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().countNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().contractNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().clientName }} ({{ document().clientCodeSap }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-15 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.EMISSION_DATE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().emissionDate }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2392
2397
|
}] });
|
|
2393
2398
|
|
|
2394
2399
|
class RoyaltyCountRapidSearchComponent {
|
|
@@ -2401,11 +2406,11 @@ class RoyaltyCountRapidSearchComponent {
|
|
|
2401
2406
|
this.redirect.emit({ module: null, route: '/royalty/count/consult/' + this.document().id });
|
|
2402
2407
|
}
|
|
2403
2408
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: RoyaltyCountRapidSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2404
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: RoyaltyCountRapidSearchComponent, selector: "sc-royalty-count-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2409
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.10", type: RoyaltyCountRapidSearchComponent, selector: "sc-royalty-count-rapid-search", inputs: { document: { classPropertyName: "document", publicName: "document", isSignal: true, isRequired: false, transformFunction: null }, lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">savings</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.COUNT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().countNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().contractNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().clientName }} ({{ document().clientCodeSap }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.END_DATE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().periodEnd ? document().periodEnd : '-' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"], dependencies: [{ kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2405
2410
|
}
|
|
2406
2411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: RoyaltyCountRapidSearchComponent, decorators: [{
|
|
2407
2412
|
type: Component,
|
|
2408
|
-
args: [{ selector: 'sc-royalty-count-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\
|
|
2413
|
+
args: [{ selector: 'sc-royalty-count-rapid-search', template: "<div class=\"d-flex align-items-center\" (click)=\"onSelectSearch()\">\n <div class=\"max-width-5\">\n <span class=\"material-icons-outlined rapid-search-type-icon\">savings</span>\n </div>\n <div class=\"d-flex max-width-95\">\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.COUNT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().countNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CONTRACT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().contractNumber }}</span>\n </div>\n <div class=\"d-flex flex-column max-width-40 ellipsis\">\n <span class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.CLIENT' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().clientName }} ({{ document().clientCodeSap }})</span>\n </div>\n <div class=\"d-flex flex-column max-width-20 ellipsis\">\n <span\n class=\"auto-complete-label\">{{ 'COMMON.HEADER.GLOBAL_SEARCH.ITEM.END_DATE' | commonTranslate: lang() }}</span>\n <span class=\"ellipsis\">{{ document().periodEnd ? document().periodEnd : '-' }}</span>\n </div>\n </div>\n</div>\n", styles: [".max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.rapid-search-type-icon{font-size:1.4em;vertical-align:middle}.auto-complete-label{font-size:8px}\n"] }]
|
|
2409
2414
|
}] });
|
|
2410
2415
|
|
|
2411
2416
|
class AdvancedSearchComponent {
|
|
@@ -2454,14 +2459,14 @@ class AdvancedSearchComponent {
|
|
|
2454
2459
|
this.redirect.emit({ module: module, route: route });
|
|
2455
2460
|
}
|
|
2456
2461
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: AdvancedSearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2457
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: AdvancedSearchComponent, selector: "sc-advanced-search", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"global-search\">\r\n <mat-icon class=\"header-icon\">search</mat-icon>\r\n <span class=\"global-search-separator\"></span>\r\n <mat-form-field class=\"max-width-100\" subscriptSizing=\"dynamic\">\r\n <input [formControl]=\"formControlSearch\"\r\n [matAutocomplete]=\"autoSearch\"\r\n class=\"global-search-input max-width-85\"\r\n matInput\r\n placeholder=\"search ...\"/>\r\n\r\n <button (click)=\"onNavigateAdvancedSearch(null, '/advanced-search')\"\r\n matSuffix\r\n class=\"btn advanced-button\" mat-raised-button>\r\n <mat-icon>flash_on</mat-icon>\r\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ADVANCED' | commonTranslate: lang() }}\r\n </button>\r\n\r\n <mat-autocomplete #autoSearch=\"matAutocomplete\" class=\"mat-autocomplete-global-search\" panelWidth=\"54vw\">\r\n @for (document of documents$ | async; track document) {\r\n <mat-option class=\"mat-option-global-search\">\r\n @switch (document.docType) {\r\n @case (RapidSearchItemType.PURCHASE_ORDER) {\r\n <sc-purchase-order-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-purchase-order-rapid-search>\r\n }\r\n @case (RapidSearchItemType.PRODUCT) {\r\n <sc-product-rapid-search [document]=\"document\" [lang]=\"lang()\" [labelLang]=\"labelLang\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-product-rapid-search>\r\n }\r\n @case (RapidSearchItemType.WORK_VERSION) {\r\n <sc-work-version-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-work-version-rapid-search>\r\n }\r\n @case (RapidSearchItemType.DEAL) {\r\n <sc-deal-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-deal-rapid-search>\r\n }\r\n @case (RapidSearchItemType.WORK_RECORD) {\r\n <sc-work-record-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-work-record-rapid-search>\r\n }\r\n @case (RapidSearchItemType.THIRD_PARTY) {\r\n <sc-third-party-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-third-party-rapid-search>\r\n }\r\n @case (RapidSearchItemType.CONTRACT) {\r\n <sc-contract-rapid-search [document]=\"document\" [lang]=\"lang()\" [labelLang]=\"labelLang\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-contract-rapid-search>\r\n }\r\n @case (RapidSearchItemType.INVOICE) {\r\n <sc-invoice-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-invoice-rapid-search>\r\n }\r\n @case (RapidSearchItemType.ROYALTY_CONTRACT) {\r\n <sc-royalty-contract-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-contract-rapid-search>\r\n }\r\n @case (RapidSearchItemType.ROYALTY_INVOICE) {\r\n <sc-royalty-invoice-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-invoice-rapid-search>\r\n }\r\n @case (RapidSearchItemType.ROYALTY_COUNT) {\r\n <sc-royalty-count-rapid-search [document]=\"document\" [lang]=\"lang()\"\r\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-count-rapid-search>\r\n }\r\n }\r\n </mat-option>\r\n }\r\n </mat-autocomplete>\r\n </mat-form-field>\r\n</div>\r\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"], dependencies: [{ kind: "directive", type: i1$4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i3$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i6.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6$1.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i7.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6$1.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: PurchaseOrderRapidSearchComponent, selector: "sc-purchase-order-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: ProductRapidSearchComponent, selector: "sc-product-rapid-search", inputs: ["document", "lang", "labelLang"], outputs: ["redirect"] }, { kind: "component", type: WorkVersionRapidSearchComponent, selector: "sc-work-version-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: DealRapidSearchComponent, selector: "sc-deal-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: WorkRecordRapidSearchComponent, selector: "sc-work-record-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: ThirdPartyRapidSearchComponent, selector: "sc-third-party-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: ContractRapidSearchComponent, selector: "sc-contract-rapid-search", inputs: ["document", "lang", "labelLang"], outputs: ["redirect"] }, { kind: "component", type: InvoiceRapidSearchComponent, selector: "sc-invoice-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: RoyaltyContractRapidSearchComponent, selector: "sc-royalty-contract-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: RoyaltyInvoiceRapidSearchComponent, selector: "sc-royalty-invoice-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: RoyaltyCountRapidSearchComponent, selector: "sc-royalty-count-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2462
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: AdvancedSearchComponent, selector: "sc-advanced-search", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<div class=\"global-search\">\n <mat-icon class=\"header-icon\">search</mat-icon>\n <span class=\"global-search-separator\"></span>\n <mat-form-field class=\"max-width-100\" subscriptSizing=\"dynamic\">\n <input [formControl]=\"formControlSearch\"\n [matAutocomplete]=\"autoSearch\"\n class=\"global-search-input max-width-85\"\n matInput\n placeholder=\"search ...\"/>\n\n <button (click)=\"onNavigateAdvancedSearch(null, '/advanced-search')\"\n matSuffix\n class=\"btn advanced-button\" mat-raised-button>\n <mat-icon>flash_on</mat-icon>\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ADVANCED' | commonTranslate: lang() }}\n </button>\n\n <mat-autocomplete #autoSearch=\"matAutocomplete\" class=\"mat-autocomplete-global-search\" panelWidth=\"54vw\">\n @for (document of documents$ | async; track document) {\n <mat-option class=\"mat-option-global-search\">\n @switch (document.docType) {\n @case (RapidSearchItemType.PURCHASE_ORDER) {\n <sc-purchase-order-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-purchase-order-rapid-search>\n }\n @case (RapidSearchItemType.PRODUCT) {\n <sc-product-rapid-search [document]=\"document\" [lang]=\"lang()\" [labelLang]=\"labelLang\"\n (redirect)=\"onNavigateEvent($event)\"></sc-product-rapid-search>\n }\n @case (RapidSearchItemType.WORK_VERSION) {\n <sc-work-version-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-work-version-rapid-search>\n }\n @case (RapidSearchItemType.DEAL) {\n <sc-deal-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-deal-rapid-search>\n }\n @case (RapidSearchItemType.WORK_RECORD) {\n <sc-work-record-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-work-record-rapid-search>\n }\n @case (RapidSearchItemType.THIRD_PARTY) {\n <sc-third-party-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-third-party-rapid-search>\n }\n @case (RapidSearchItemType.CONTRACT) {\n <sc-contract-rapid-search [document]=\"document\" [lang]=\"lang()\" [labelLang]=\"labelLang\"\n (redirect)=\"onNavigateEvent($event)\"></sc-contract-rapid-search>\n }\n @case (RapidSearchItemType.INVOICE) {\n <sc-invoice-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-invoice-rapid-search>\n }\n @case (RapidSearchItemType.ROYALTY_CONTRACT) {\n <sc-royalty-contract-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-contract-rapid-search>\n }\n @case (RapidSearchItemType.ROYALTY_INVOICE) {\n <sc-royalty-invoice-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-invoice-rapid-search>\n }\n @case (RapidSearchItemType.ROYALTY_COUNT) {\n <sc-royalty-count-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-count-rapid-search>\n }\n }\n </mat-option>\n }\n </mat-autocomplete>\n </mat-form-field>\n</div>\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"], dependencies: [{ kind: "directive", type: i1$4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "component", type: i3$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i6.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i6$1.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i7.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i6$1.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { kind: "component", type: PurchaseOrderRapidSearchComponent, selector: "sc-purchase-order-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: ProductRapidSearchComponent, selector: "sc-product-rapid-search", inputs: ["document", "lang", "labelLang"], outputs: ["redirect"] }, { kind: "component", type: WorkVersionRapidSearchComponent, selector: "sc-work-version-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: DealRapidSearchComponent, selector: "sc-deal-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: WorkRecordRapidSearchComponent, selector: "sc-work-record-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: ThirdPartyRapidSearchComponent, selector: "sc-third-party-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: ContractRapidSearchComponent, selector: "sc-contract-rapid-search", inputs: ["document", "lang", "labelLang"], outputs: ["redirect"] }, { kind: "component", type: InvoiceRapidSearchComponent, selector: "sc-invoice-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: RoyaltyContractRapidSearchComponent, selector: "sc-royalty-contract-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: RoyaltyInvoiceRapidSearchComponent, selector: "sc-royalty-invoice-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "component", type: RoyaltyCountRapidSearchComponent, selector: "sc-royalty-count-rapid-search", inputs: ["document", "lang"], outputs: ["redirect"] }, { kind: "pipe", type: i1$3.AsyncPipe, name: "async" }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2458
2463
|
}
|
|
2459
2464
|
__decorate([
|
|
2460
2465
|
User()
|
|
2461
2466
|
], AdvancedSearchComponent.prototype, "user", void 0);
|
|
2462
2467
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: AdvancedSearchComponent, decorators: [{
|
|
2463
2468
|
type: Component,
|
|
2464
|
-
args: [{ selector: 'sc-advanced-search', template: "<div class=\"global-search\">\
|
|
2469
|
+
args: [{ selector: 'sc-advanced-search', template: "<div class=\"global-search\">\n <mat-icon class=\"header-icon\">search</mat-icon>\n <span class=\"global-search-separator\"></span>\n <mat-form-field class=\"max-width-100\" subscriptSizing=\"dynamic\">\n <input [formControl]=\"formControlSearch\"\n [matAutocomplete]=\"autoSearch\"\n class=\"global-search-input max-width-85\"\n matInput\n placeholder=\"search ...\"/>\n\n <button (click)=\"onNavigateAdvancedSearch(null, '/advanced-search')\"\n matSuffix\n class=\"btn advanced-button\" mat-raised-button>\n <mat-icon>flash_on</mat-icon>\n {{ 'COMMON.HEADER.GLOBAL_SEARCH.ADVANCED' | commonTranslate: lang() }}\n </button>\n\n <mat-autocomplete #autoSearch=\"matAutocomplete\" class=\"mat-autocomplete-global-search\" panelWidth=\"54vw\">\n @for (document of documents$ | async; track document) {\n <mat-option class=\"mat-option-global-search\">\n @switch (document.docType) {\n @case (RapidSearchItemType.PURCHASE_ORDER) {\n <sc-purchase-order-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-purchase-order-rapid-search>\n }\n @case (RapidSearchItemType.PRODUCT) {\n <sc-product-rapid-search [document]=\"document\" [lang]=\"lang()\" [labelLang]=\"labelLang\"\n (redirect)=\"onNavigateEvent($event)\"></sc-product-rapid-search>\n }\n @case (RapidSearchItemType.WORK_VERSION) {\n <sc-work-version-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-work-version-rapid-search>\n }\n @case (RapidSearchItemType.DEAL) {\n <sc-deal-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-deal-rapid-search>\n }\n @case (RapidSearchItemType.WORK_RECORD) {\n <sc-work-record-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-work-record-rapid-search>\n }\n @case (RapidSearchItemType.THIRD_PARTY) {\n <sc-third-party-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-third-party-rapid-search>\n }\n @case (RapidSearchItemType.CONTRACT) {\n <sc-contract-rapid-search [document]=\"document\" [lang]=\"lang()\" [labelLang]=\"labelLang\"\n (redirect)=\"onNavigateEvent($event)\"></sc-contract-rapid-search>\n }\n @case (RapidSearchItemType.INVOICE) {\n <sc-invoice-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-invoice-rapid-search>\n }\n @case (RapidSearchItemType.ROYALTY_CONTRACT) {\n <sc-royalty-contract-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-contract-rapid-search>\n }\n @case (RapidSearchItemType.ROYALTY_INVOICE) {\n <sc-royalty-invoice-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-invoice-rapid-search>\n }\n @case (RapidSearchItemType.ROYALTY_COUNT) {\n <sc-royalty-count-rapid-search [document]=\"document\" [lang]=\"lang()\"\n (redirect)=\"onNavigateEvent($event)\"></sc-royalty-count-rapid-search>\n }\n }\n </mat-option>\n }\n </mat-autocomplete>\n </mat-form-field>\n</div>\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"] }]
|
|
2465
2470
|
}], propDecorators: { user: [] } });
|
|
2466
2471
|
|
|
2467
2472
|
var HistoryItemTypeEnum;
|
|
@@ -2498,11 +2503,11 @@ class HistoryComponent {
|
|
|
2498
2503
|
this.redirect.emit({ module: module, route: route });
|
|
2499
2504
|
}
|
|
2500
2505
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: HistoryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2501
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: HistoryComponent, selector: "sc-history", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\" class=\"material-icons header-icon\" style=\"width: 100%\">history</span>\
|
|
2506
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: HistoryComponent, selector: "sc-history", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\" class=\"material-icons header-icon\" style=\"width: 100%\">history</span>\n\n<mat-menu #menuHistory=\"matMenu\" class=\"action-menu\">\n @for (history of historyList; track history) {\n @switch (history.type) {\n @case (HistoryItemTypeEnum.PRODUCT) {\n <button (click)=\"onSelectHistory('video ', '/product/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">theaters</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.PRODUCT' | commonTranslate : lang() }}{{ history.type }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.PURCHASE_ORDER) {\n <button (click)=\"onSelectHistory('expenditure-commitment', '/purchase-orders/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">receipt_long</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.PO' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.DEAL) {\n <button (click)=\"onSelectHistory('commercial', '/deal/consult/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">local_offer</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.DEAL' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.WORK) {\n <button (click)=\"onSelectHistory('commercial', '/work-record/consult/'+ history.id +'/general')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">assignment</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.WORK_RECORD' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.CONTRACT_ACQ) {\n <button (click)=\"onSelectHistory('legal', '/contracts-details/acq/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">shop_two</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_ACQ' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.CONTRACT_CESS) {\n <button (click)=\"onSelectHistory('legal', '/contracts-details/cess/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">receipt</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_CESS' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.CONTRACT_AUTH) {\n <button (click)=\"onSelectHistory('legal', '/contracts-details/auth/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">account_circle</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_AUTH' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.BUDGET) {\n <button (click)=\"onSelectHistory('expenditure-commitment', '/budget/form/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">payments</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.BUDGET' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.NO_HISTORY_AVAILABLE) {\n <button mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">not_interested</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.NO_HISTORY_AVAILABLE' | commonTranslate : lang() }}\n </button>\n }\n }\n }\n</mat-menu>\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"], dependencies: [{ kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2502
2507
|
}
|
|
2503
2508
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: HistoryComponent, decorators: [{
|
|
2504
2509
|
type: Component,
|
|
2505
|
-
args: [{ selector: 'sc-history', template: "<span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\" class=\"material-icons header-icon\" style=\"width: 100%\">history</span>\
|
|
2510
|
+
args: [{ selector: 'sc-history', template: "<span (click)=\"getHistory()\" [matMenuTriggerFor]=\"menuHistory\" class=\"material-icons header-icon\" style=\"width: 100%\">history</span>\n\n<mat-menu #menuHistory=\"matMenu\" class=\"action-menu\">\n @for (history of historyList; track history) {\n @switch (history.type) {\n @case (HistoryItemTypeEnum.PRODUCT) {\n <button (click)=\"onSelectHistory('video ', '/product/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">theaters</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.PRODUCT' | commonTranslate : lang() }}{{ history.type }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.PURCHASE_ORDER) {\n <button (click)=\"onSelectHistory('expenditure-commitment', '/purchase-orders/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">receipt_long</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.PO' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.DEAL) {\n <button (click)=\"onSelectHistory('commercial', '/deal/consult/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">local_offer</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.DEAL' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.WORK) {\n <button (click)=\"onSelectHistory('commercial', '/work-record/consult/'+ history.id +'/general')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">assignment</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.WORK_RECORD' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.CONTRACT_ACQ) {\n <button (click)=\"onSelectHistory('legal', '/contracts-details/acq/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">shop_two</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_ACQ' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.CONTRACT_CESS) {\n <button (click)=\"onSelectHistory('legal', '/contracts-details/cess/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">receipt</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_CESS' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.CONTRACT_AUTH) {\n <button (click)=\"onSelectHistory('legal', '/contracts-details/auth/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">account_circle</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.CONTRACT_AUTH' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.BUDGET) {\n <button (click)=\"onSelectHistory('expenditure-commitment', '/budget/form/' + history.id)\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">payments</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.BUDGET' | commonTranslate : lang() }} {{ history.ref }}\n </button>\n }\n @case (HistoryItemTypeEnum.NO_HISTORY_AVAILABLE) {\n <button mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">not_interested</mat-icon>\n {{ 'COMMON.HEADER.HISTORY.NO_HISTORY_AVAILABLE' | commonTranslate : lang() }}\n </button>\n }\n }\n }\n</mat-menu>\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"] }]
|
|
2506
2511
|
}] });
|
|
2507
2512
|
|
|
2508
2513
|
function Theme() {
|
|
@@ -2829,14 +2834,14 @@ class PersonalNotificationComponent {
|
|
|
2829
2834
|
this.destroy$.complete();
|
|
2830
2835
|
}
|
|
2831
2836
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: PersonalNotificationComponent, deps: [{ token: NotificationService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2832
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: PersonalNotificationComponent, selector: "sc-personal-notification", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span\
|
|
2837
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: PersonalNotificationComponent, selector: "sc-personal-notification", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span\n class=\"material-icons header-icon notification-wrapper\"\n [matMenuTriggerFor]=\"menuPersonalNotif\"\n [matBadge]=\"unreadNotifications().length\"\n [matBadgeHidden]=\"unreadNotifications().length === 0\"\n matBadgeColor=\"warn\"\n matBadgeSize=\"small\"\n matBadgePosition=\"above after\">\n notifications\n</span>\n\n<mat-menu #menuPersonalNotif=\"matMenu\" class=\"action-menu\">\n <div [ngClass]=\"theme === 'dark' ? 'dark-theme' : 'light-theme'\">\n <div class=\"notification-menu-header\">\n <span class=\"notification-menu-title\">\n {{ 'COMMON.HEADER.NOTIFICATION.TITLE' | commonTranslate : lang() }}\n </span>\n <span\n class=\"notification-clear-all material-icons\"\n (click)=\"clearAllNotifications($event)\"\n matTooltip=\"{{ 'COMMON.HEADER.NOTIFICATION.CLEAR_ALL' | commonTranslate : lang() }}\"\n matTooltipPosition=\"above\">\n delete_sweep\n </span>\n </div>\n\n <div class=\"notification-menu-divider\"></div>\n\n <div class=\"notification-list\">\n @if (personalNotifications().length === 0) {\n <div class=\"empty-notification\">{{ 'COMMON.HEADER.NOTIFICATION.EMPTY' | commonTranslate : lang() }}</div>\n } @else {\n @for (personalNotif of personalNotifications(); track personalNotif.id) {\n <button mat-menu-item (click)=\"markAsReadPersonalNotification($event, personalNotif)\">\n <div class=\"notification-item\"\n [ngClass]=\"{\n 'warn': personalNotif.priority === 'WARN',\n 'critical': personalNotif.priority === 'CRITICAL',\n 'notification-read': personalNotif.read}\">\n <div class=\"notification-main\">\n <div class=\"notification-text\">\n <div class=\"notification-header\">\n <div class=\"notification-title\">\n {{ personalNotif.title | titlecase }}\n </div>\n <div class=\"notification-meta\">\n <div class=\"notification-date\"\n [matTooltip]=\"personalNotif.createdDate | date:'dd/MM/yyyy HH:mm'\">\n {{ getTimeAgo(personalNotif.createdDate) }}\n </div>\n <span\n class=\"notification-close-icon material-icons\"\n (click)=\"ackPersonalNotification($event, personalNotif)\">\n close\n </span>\n </div>\n </div>\n <div class=\"notification-description\">\n {{ getNotificationMessage(personalNotif) }}\n </div>\n </div>\n @if (personalNotif.route) {\n <span class=\"notification-link-icon material-icons\">\n open_in_new\n </span>\n }\n </div>\n </div>\n </button>\n }\n }\n </div>\n </div>\n</mat-menu>\n", styles: [".notification-list{max-height:450px;overflow-y:auto}.notification-list::-webkit-scrollbar{width:7px}.notification-item{width:320px;border-left:3px solid transparent;padding-left:8px}.notification-item.warn{border-left:3px solid #FFD000}.notification-item.critical{border-left:3px solid #FF4F4C}.notification-read{opacity:.75;background-color:#00000008;box-shadow:inset 0 2px 4px #00000014}.notification-item:hover{opacity:1}.notification-main{display:flex;justify-content:space-between;align-items:center;gap:12px}.notification-text{display:flex;flex-direction:column;flex:1}.notification-description{font-size:12px;font-weight:500;line-height:1.3}.notification-title{font-size:11px;line-height:14px;opacity:.65;letter-spacing:.4px}.notification-date{font-size:11px;opacity:.6;white-space:nowrap}.notification-header{display:flex;justify-content:space-between;align-items:center}.notification-wrapper{display:inline-flex;align-items:center;justify-content:center;width:fit-content;cursor:pointer;position:relative}.notification-link-icon{position:absolute;bottom:0;right:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:11px;opacity:.6;margin-left:6px;transition:color .2s ease,opacity .2s ease}.notification-item:hover .notification-link-icon{color:#009ef7;opacity:1}.notification-meta{display:flex;align-items:center;gap:6px}.notification-close-icon{font-size:14px;opacity:.5;cursor:pointer}.notification-close-icon:hover{color:#ff4f4c;opacity:1}.notification-item:has(.notification-close-icon:hover) .notification-link-icon{color:#0000008a;opacity:.6}.mat-mdc-menu-item{border-bottom:1px solid rgba(0,0,0,.08);padding:3px!important}.mat-mdc-menu-item:last-child{border-bottom:none}.notification-menu-header{display:flex;justify-content:space-between;align-items:center;padding:0 8px;min-height:24px}::ng-deep .light-theme .notification-menu-title,::ng-deep .light-theme .notification-clear-all,::ng-deep .light-theme .empty-notification{color:#445d7b}::ng-deep .dark-theme .notification-menu-title,::ng-deep .dark-theme .notification-clear-all,::ng-deep .dark-theme .empty-notification{color:#a1b7d4}.empty-notification{font-size:12px;font-weight:500;line-height:1.3;padding:8px;width:320px}.notification-menu-title{font-size:12px;font-weight:600;opacity:.9}.notification-clear-all{font-size:14px;cursor:pointer;opacity:.6;transition:color .2s ease,opacity .2s ease}.notification-clear-all:hover{color:#ff4f4c;opacity:1}.notification-menu-divider{height:1px;background:#00000014}\n"], dependencies: [{ kind: "directive", type: i2$3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i5$1.MatBadge, selector: "[matBadge]", inputs: ["matBadgeColor", "matBadgeOverlap", "matBadgeDisabled", "matBadgePosition", "matBadge", "matBadgeDescription", "matBadgeSize", "matBadgeHidden"] }, { kind: "pipe", type: i1$3.TitleCasePipe, name: "titlecase" }, { kind: "pipe", type: i1$3.DatePipe, name: "date" }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2833
2838
|
}
|
|
2834
2839
|
__decorate([
|
|
2835
2840
|
Theme()
|
|
2836
2841
|
], PersonalNotificationComponent.prototype, "theme", void 0);
|
|
2837
2842
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: PersonalNotificationComponent, decorators: [{
|
|
2838
2843
|
type: Component,
|
|
2839
|
-
args: [{ selector: 'sc-personal-notification', template: "<span\
|
|
2844
|
+
args: [{ selector: 'sc-personal-notification', template: "<span\n class=\"material-icons header-icon notification-wrapper\"\n [matMenuTriggerFor]=\"menuPersonalNotif\"\n [matBadge]=\"unreadNotifications().length\"\n [matBadgeHidden]=\"unreadNotifications().length === 0\"\n matBadgeColor=\"warn\"\n matBadgeSize=\"small\"\n matBadgePosition=\"above after\">\n notifications\n</span>\n\n<mat-menu #menuPersonalNotif=\"matMenu\" class=\"action-menu\">\n <div [ngClass]=\"theme === 'dark' ? 'dark-theme' : 'light-theme'\">\n <div class=\"notification-menu-header\">\n <span class=\"notification-menu-title\">\n {{ 'COMMON.HEADER.NOTIFICATION.TITLE' | commonTranslate : lang() }}\n </span>\n <span\n class=\"notification-clear-all material-icons\"\n (click)=\"clearAllNotifications($event)\"\n matTooltip=\"{{ 'COMMON.HEADER.NOTIFICATION.CLEAR_ALL' | commonTranslate : lang() }}\"\n matTooltipPosition=\"above\">\n delete_sweep\n </span>\n </div>\n\n <div class=\"notification-menu-divider\"></div>\n\n <div class=\"notification-list\">\n @if (personalNotifications().length === 0) {\n <div class=\"empty-notification\">{{ 'COMMON.HEADER.NOTIFICATION.EMPTY' | commonTranslate : lang() }}</div>\n } @else {\n @for (personalNotif of personalNotifications(); track personalNotif.id) {\n <button mat-menu-item (click)=\"markAsReadPersonalNotification($event, personalNotif)\">\n <div class=\"notification-item\"\n [ngClass]=\"{\n 'warn': personalNotif.priority === 'WARN',\n 'critical': personalNotif.priority === 'CRITICAL',\n 'notification-read': personalNotif.read}\">\n <div class=\"notification-main\">\n <div class=\"notification-text\">\n <div class=\"notification-header\">\n <div class=\"notification-title\">\n {{ personalNotif.title | titlecase }}\n </div>\n <div class=\"notification-meta\">\n <div class=\"notification-date\"\n [matTooltip]=\"personalNotif.createdDate | date:'dd/MM/yyyy HH:mm'\">\n {{ getTimeAgo(personalNotif.createdDate) }}\n </div>\n <span\n class=\"notification-close-icon material-icons\"\n (click)=\"ackPersonalNotification($event, personalNotif)\">\n close\n </span>\n </div>\n </div>\n <div class=\"notification-description\">\n {{ getNotificationMessage(personalNotif) }}\n </div>\n </div>\n @if (personalNotif.route) {\n <span class=\"notification-link-icon material-icons\">\n open_in_new\n </span>\n }\n </div>\n </div>\n </button>\n }\n }\n </div>\n </div>\n</mat-menu>\n", styles: [".notification-list{max-height:450px;overflow-y:auto}.notification-list::-webkit-scrollbar{width:7px}.notification-item{width:320px;border-left:3px solid transparent;padding-left:8px}.notification-item.warn{border-left:3px solid #FFD000}.notification-item.critical{border-left:3px solid #FF4F4C}.notification-read{opacity:.75;background-color:#00000008;box-shadow:inset 0 2px 4px #00000014}.notification-item:hover{opacity:1}.notification-main{display:flex;justify-content:space-between;align-items:center;gap:12px}.notification-text{display:flex;flex-direction:column;flex:1}.notification-description{font-size:12px;font-weight:500;line-height:1.3}.notification-title{font-size:11px;line-height:14px;opacity:.65;letter-spacing:.4px}.notification-date{font-size:11px;opacity:.6;white-space:nowrap}.notification-header{display:flex;justify-content:space-between;align-items:center}.notification-wrapper{display:inline-flex;align-items:center;justify-content:center;width:fit-content;cursor:pointer;position:relative}.notification-link-icon{position:absolute;bottom:0;right:0;display:flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:11px;opacity:.6;margin-left:6px;transition:color .2s ease,opacity .2s ease}.notification-item:hover .notification-link-icon{color:#009ef7;opacity:1}.notification-meta{display:flex;align-items:center;gap:6px}.notification-close-icon{font-size:14px;opacity:.5;cursor:pointer}.notification-close-icon:hover{color:#ff4f4c;opacity:1}.notification-item:has(.notification-close-icon:hover) .notification-link-icon{color:#0000008a;opacity:.6}.mat-mdc-menu-item{border-bottom:1px solid rgba(0,0,0,.08);padding:3px!important}.mat-mdc-menu-item:last-child{border-bottom:none}.notification-menu-header{display:flex;justify-content:space-between;align-items:center;padding:0 8px;min-height:24px}::ng-deep .light-theme .notification-menu-title,::ng-deep .light-theme .notification-clear-all,::ng-deep .light-theme .empty-notification{color:#445d7b}::ng-deep .dark-theme .notification-menu-title,::ng-deep .dark-theme .notification-clear-all,::ng-deep .dark-theme .empty-notification{color:#a1b7d4}.empty-notification{font-size:12px;font-weight:500;line-height:1.3;padding:8px;width:320px}.notification-menu-title{font-size:12px;font-weight:600;opacity:.9}.notification-clear-all{font-size:14px;cursor:pointer;opacity:.6;transition:color .2s ease,opacity .2s ease}.notification-clear-all:hover{color:#ff4f4c;opacity:1}.notification-menu-divider{height:1px;background:#00000014}\n"] }]
|
|
2840
2845
|
}], ctorParameters: () => [{ type: NotificationService }], propDecorators: { theme: [] } });
|
|
2841
2846
|
|
|
2842
2847
|
class LangService {
|
|
@@ -2902,7 +2907,7 @@ class SettingsComponent {
|
|
|
2902
2907
|
this.redirect.emit({ module: module, route: route });
|
|
2903
2908
|
}
|
|
2904
2909
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: SettingsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2905
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: SettingsComponent, selector: "sc-settings", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<span [matMenuTriggerFor]=\"settings\" class=\"material-icons-outlined header-icon\" style=\"width: 100%\">settings</span>\
|
|
2910
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: SettingsComponent, selector: "sc-settings", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { redirect: "redirect" }, ngImport: i0, template: "<span [matMenuTriggerFor]=\"settings\" class=\"material-icons-outlined header-icon\" style=\"width: 100%\">settings</span>\n\n<!-- #enddocregion mat-menu-trigger-for -->\n<mat-menu #settings=\"matMenu\" class=\"settings-menu\">\n <button (click)=\"switchTheme()\" mat-menu-item>\n <mat-icon class=\"theme-icon\">toggle_on</mat-icon>\n <span>{{ 'COMMON.HEADER.PARAMETERS.THEME' | commonTranslate: lang() }}</span>\n </button>\n\n <!-- Language -->\n @for (language of languagesAvailable; track language) {\n @if (lang() !== language) {\n <button class=\"img-btn\" (click)='switchLang(language)' mat-menu-item>\n <img class=\"mat-icon\" ngSrc=\"assets/img/flag/{{language}}-flag.png\" height=\"47\" width=\"70\" alt=\"\">\n <span>{{ language }}</span>\n </button>\n }\n }\n\n <ng-container *ngxPermissionsExcept=\"restrictions\">\n <!--USER-->\n @if (user && user.admin) {\n <button (click)=\"onRedirect('user', '/account/authorization/search')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">manage_accounts</mat-icon>\n <span>{{ 'COMMON.HEADER.MENU.USER.SECTION_TITLE' | commonTranslate: lang() }}</span>\n </button>\n }\n </ng-container>\n <!--MY PREFERENCES-->\n <button (click)=\"onRedirect('user', '/account/settings')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">settings</mat-icon>\n <span>{{ 'COMMON.HEADER.MENU.USER.SETTINGS' | commonTranslate: lang() }}</span>\n </button>\n <ng-container *ngxPermissionsExcept=\"restrictions\">\n <!--NOTIFICATIONS-->\n @if (user && user.admin) {\n <button (click)=\"onRedirect('user', '/notifications')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">announcement</mat-icon>\n <span>{{ 'COMMON.HEADER.MENU.USER.NOTIFICATIONS' | commonTranslate: lang() }}</span>\n </button>\n }\n </ng-container>\n</mat-menu>\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"], dependencies: [{ kind: "directive", type: i3$1.NgxPermissionsDirective, selector: "[ngxPermissionsOnly],[ngxPermissionsExcept]", inputs: ["ngxPermissionsOnly", "ngxPermissionsOnlyThen", "ngxPermissionsOnlyElse", "ngxPermissionsExcept", "ngxPermissionsExceptElse", "ngxPermissionsExceptThen", "ngxPermissionsThen", "ngxPermissionsElse", "ngxPermissionsOnlyAuthorisedStrategy", "ngxPermissionsOnlyUnauthorisedStrategy", "ngxPermissionsExceptUnauthorisedStrategy", "ngxPermissionsExceptAuthorisedStrategy", "ngxPermissionsUnauthorisedStrategy", "ngxPermissionsAuthorisedStrategy"], outputs: ["permissionsAuthorized", "permissionsUnauthorized"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i5.MatMenu, selector: "mat-menu", inputs: ["backdropClass", "aria-label", "aria-labelledby", "aria-describedby", "xPosition", "yPosition", "overlapTrigger", "hasBackdrop", "class", "classList"], outputs: ["closed", "close"], exportAs: ["matMenu"] }, { kind: "component", type: i5.MatMenuItem, selector: "[mat-menu-item]", inputs: ["role", "disabled", "disableRipple"], exportAs: ["matMenuItem"] }, { kind: "directive", type: i5.MatMenuTrigger, selector: "[mat-menu-trigger-for], [matMenuTriggerFor]", inputs: ["mat-menu-trigger-for", "matMenuTriggerFor", "matMenuTriggerData", "matMenuTriggerRestoreFocus"], outputs: ["menuOpened", "onMenuOpen", "menuClosed", "onMenuClose"], exportAs: ["matMenuTrigger"] }, { kind: "directive", type: i1$3.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
2906
2911
|
}
|
|
2907
2912
|
__decorate([
|
|
2908
2913
|
Theme()
|
|
@@ -2912,7 +2917,7 @@ __decorate([
|
|
|
2912
2917
|
], SettingsComponent.prototype, "user", void 0);
|
|
2913
2918
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: SettingsComponent, decorators: [{
|
|
2914
2919
|
type: Component,
|
|
2915
|
-
args: [{ selector: 'sc-settings', template: "<span [matMenuTriggerFor]=\"settings\" class=\"material-icons-outlined header-icon\" style=\"width: 100%\">settings</span>\
|
|
2920
|
+
args: [{ selector: 'sc-settings', template: "<span [matMenuTriggerFor]=\"settings\" class=\"material-icons-outlined header-icon\" style=\"width: 100%\">settings</span>\n\n<!-- #enddocregion mat-menu-trigger-for -->\n<mat-menu #settings=\"matMenu\" class=\"settings-menu\">\n <button (click)=\"switchTheme()\" mat-menu-item>\n <mat-icon class=\"theme-icon\">toggle_on</mat-icon>\n <span>{{ 'COMMON.HEADER.PARAMETERS.THEME' | commonTranslate: lang() }}</span>\n </button>\n\n <!-- Language -->\n @for (language of languagesAvailable; track language) {\n @if (lang() !== language) {\n <button class=\"img-btn\" (click)='switchLang(language)' mat-menu-item>\n <img class=\"mat-icon\" ngSrc=\"assets/img/flag/{{language}}-flag.png\" height=\"47\" width=\"70\" alt=\"\">\n <span>{{ language }}</span>\n </button>\n }\n }\n\n <ng-container *ngxPermissionsExcept=\"restrictions\">\n <!--USER-->\n @if (user && user.admin) {\n <button (click)=\"onRedirect('user', '/account/authorization/search')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">manage_accounts</mat-icon>\n <span>{{ 'COMMON.HEADER.MENU.USER.SECTION_TITLE' | commonTranslate: lang() }}</span>\n </button>\n }\n </ng-container>\n <!--MY PREFERENCES-->\n <button (click)=\"onRedirect('user', '/account/settings')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">settings</mat-icon>\n <span>{{ 'COMMON.HEADER.MENU.USER.SETTINGS' | commonTranslate: lang() }}</span>\n </button>\n <ng-container *ngxPermissionsExcept=\"restrictions\">\n <!--NOTIFICATIONS-->\n @if (user && user.admin) {\n <button (click)=\"onRedirect('user', '/notifications')\" mat-menu-item>\n <mat-icon class=\"material-icons-outlined\">announcement</mat-icon>\n <span>{{ 'COMMON.HEADER.MENU.USER.NOTIFICATIONS' | commonTranslate: lang() }}</span>\n </button>\n }\n </ng-container>\n</mat-menu>\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"] }]
|
|
2916
2921
|
}], propDecorators: { theme: [], user: [] } });
|
|
2917
2922
|
|
|
2918
2923
|
var NotificationClassification;
|
|
@@ -2966,11 +2971,11 @@ class NotificationBarComponent {
|
|
|
2966
2971
|
this.notifications.splice(index, 1);
|
|
2967
2972
|
}
|
|
2968
2973
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: NotificationBarComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2969
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: NotificationBarComponent, selector: "notification-bar", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"notification-bar-container\">\
|
|
2974
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: NotificationBarComponent, selector: "notification-bar", inputs: { lang: { classPropertyName: "lang", publicName: "lang", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<div class=\"notification-bar-container\">\n @for (notification of notifications; track notification) {\n <div class=\"notification-bar\" [ngClass]=\"'notification-classification-' + notification.classification\">\n <div class=\"notification-bar-message\">\n <mat-icon class=\"material-icons-outlined mat-icon-small\">\n {{ notification.classification | notificationClassificationIconPipe }}\n </mat-icon>\n <span>{{ lang() === 'fr' ? notification.messageFr : notification.messageEn }}</span>\n </div>\n <button class=\"notification-bar-close-button\" (click)=\"ackNotification(notification)\">\n <mat-icon class=\"material-icons-outlined mat-icon-small\">close</mat-icon>\n </button>\n </div>\n }\n</div>\n", styles: [":host{position:relative}.notification-bar-container{display:block;left:0;overflow:hidden;right:0;width:100%}.notification-bar-container *{box-sizing:border-box;margin:0;padding:0}.notification-bar-container .notification-bar{border:1px solid;border-radius:5px;align-items:center;display:inline-flex;margin:0 auto;padding:3px;position:relative;font-size:14px;color:#fff;width:100%}.notification-bar-container .notification-bar .notification-bar-close-button{background:transparent;cursor:pointer;border:0;border-radius:0;color:#fff;transition:all .25s ease}.notification-bar-container .notification-bar .notification-bar-message{display:flex;width:100%;margin:auto;gap:10px}.notification-bar-container .mat-icon-small{display:flex;align-items:center;height:18px;width:18px;min-width:18px;font-size:18px;color:#fff!important;margin-right:0!important}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2$1.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "pipe", type: NotificationClassificationIconPipe, name: "notificationClassificationIconPipe" }] }); }
|
|
2970
2975
|
}
|
|
2971
2976
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: NotificationBarComponent, decorators: [{
|
|
2972
2977
|
type: Component,
|
|
2973
|
-
args: [{ selector: 'notification-bar', template: "<div class=\"notification-bar-container\">\
|
|
2978
|
+
args: [{ selector: 'notification-bar', template: "<div class=\"notification-bar-container\">\n @for (notification of notifications; track notification) {\n <div class=\"notification-bar\" [ngClass]=\"'notification-classification-' + notification.classification\">\n <div class=\"notification-bar-message\">\n <mat-icon class=\"material-icons-outlined mat-icon-small\">\n {{ notification.classification | notificationClassificationIconPipe }}\n </mat-icon>\n <span>{{ lang() === 'fr' ? notification.messageFr : notification.messageEn }}</span>\n </div>\n <button class=\"notification-bar-close-button\" (click)=\"ackNotification(notification)\">\n <mat-icon class=\"material-icons-outlined mat-icon-small\">close</mat-icon>\n </button>\n </div>\n }\n</div>\n", styles: [":host{position:relative}.notification-bar-container{display:block;left:0;overflow:hidden;right:0;width:100%}.notification-bar-container *{box-sizing:border-box;margin:0;padding:0}.notification-bar-container .notification-bar{border:1px solid;border-radius:5px;align-items:center;display:inline-flex;margin:0 auto;padding:3px;position:relative;font-size:14px;color:#fff;width:100%}.notification-bar-container .notification-bar .notification-bar-close-button{background:transparent;cursor:pointer;border:0;border-radius:0;color:#fff;transition:all .25s ease}.notification-bar-container .notification-bar .notification-bar-message{display:flex;width:100%;margin:auto;gap:10px}.notification-bar-container .mat-icon-small{display:flex;align-items:center;height:18px;width:18px;min-width:18px;font-size:18px;color:#fff!important;margin-right:0!important}\n"] }]
|
|
2974
2979
|
}] });
|
|
2975
2980
|
|
|
2976
2981
|
class HeaderComponent {
|
|
@@ -3038,14 +3043,14 @@ class HeaderComponent {
|
|
|
3038
3043
|
window.location.href = route;
|
|
3039
3044
|
}
|
|
3040
3045
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: HeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3041
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: HeaderComponent, selector: "sc-header", outputs: { toogleMenuEvent: "toogleMenuEvent" }, host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0, template: "<!-- Notifications container -->\
|
|
3046
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: HeaderComponent, selector: "sc-header", outputs: { toogleMenuEvent: "toogleMenuEvent" }, host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0, template: "<!-- Notifications container -->\n<notification-bar [lang]=\"lang\"></notification-bar>\n\n<mat-toolbar class=\"d-flex align-items-center toolbar-header toolbar-padding\">\n <!-- Unity Logo -->\n <span class=\"d-flex align-items-end\">\n <a\n [href]=\"env === 'prod' ? 'https://unity.studiocanal.com/dashboard' : (env === 'sbx' ? 'https://unity-sbx.cplus/dashboard' : 'https://unity-' + env + '.studiocanal.com/dashboard')\">\n <img class=\"logo-unity\" alt=\"\" ngSrc=\"./assets/img/unity_logo_48x48.png\" width=\"48\" height=\"48\">\n </a>\n @if (env !== 'prod') {\n <span [attr.id]=\"'env-' + env\" class=\"env\">{{ env }}</span>\n }\n </span>\n\n <!-- Modules menu -->\n <sc-menu [lang]=\"lang\" (navigate)=\"navigate($event.module, $event.route, $event.queryParams)\"\n (redirect)=\"redirect($event.route)\" class=\"menu-header\"/>\n\n <!-- Search -->\n <sc-advanced-search [lang]=\"lang\" (redirect)=\"onNavigateEvent($event)\" class=\"global-search\"/>\n\n <!-- Connected as -->\n @if (user && user.secondary) {\n <div class=\"connected-as d-flex justify-content-between align-items-center\">\n <span style=\"margin-right: 10px\">\n {{ 'COMMON.HEADER.CONNECTED_AS' | commonTranslate: lang }} {{ user.login + ' - ' + user.firstName + ' ' + user.name }}\n </span>\n\n @if (user.secondary) {\n <button (click)=\"stopIdentityTheft()\" color=\"warn\" mat-raised-button>\n {{ 'CORE.STOP' | commonTranslate: lang }}\n </button>\n }\n </div>\n }\n\n <!-- History -->\n <sc-history [lang]=\"lang\" (redirect)=\"onNavigateEvent($event)\" class=\"material-icons header-icon max-width-5\"/>\n <span class=\"header-separator\"></span>\n <!-- Notifications -->\n <sc-personal-notification [lang]=\"lang\" class=\"material-icons header-icon max-width-5\"/>\n <span class=\"header-separator\"></span>\n <!-- Settings -->\n <sc-settings [lang]=\"lang\" (redirect)=\"onNavigateEvent($event)\"\n class=\"material-icons-outlined header-icon max-width-5\"/>\n\n</mat-toolbar>\n\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"], dependencies: [{ kind: "component", type: i3$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "component", type: i1$2.MatToolbar, selector: "mat-toolbar", inputs: ["color"], exportAs: ["matToolbar"] }, { kind: "directive", type: i1$3.NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "placeholder", "placeholderConfig", "src", "srcset"] }, { kind: "component", type: MenuComponent, selector: "sc-menu", inputs: ["lang"], outputs: ["navigate", "redirect"] }, { kind: "component", type: AdvancedSearchComponent, selector: "sc-advanced-search", inputs: ["lang"], outputs: ["redirect"] }, { kind: "component", type: HistoryComponent, selector: "sc-history", inputs: ["lang"], outputs: ["redirect"] }, { kind: "component", type: PersonalNotificationComponent, selector: "sc-personal-notification", inputs: ["lang"] }, { kind: "component", type: SettingsComponent, selector: "sc-settings", inputs: ["lang"], outputs: ["redirect"] }, { kind: "component", type: NotificationBarComponent, selector: "notification-bar", inputs: ["lang"] }, { kind: "pipe", type: CommonTranslatePipe, name: "commonTranslate" }] }); }
|
|
3042
3047
|
}
|
|
3043
3048
|
__decorate([
|
|
3044
3049
|
User()
|
|
3045
3050
|
], HeaderComponent.prototype, "user", void 0);
|
|
3046
3051
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: HeaderComponent, decorators: [{
|
|
3047
3052
|
type: Component,
|
|
3048
|
-
args: [{ selector: 'sc-header', template: "<!-- Notifications container -->\
|
|
3053
|
+
args: [{ selector: 'sc-header', template: "<!-- Notifications container -->\n<notification-bar [lang]=\"lang\"></notification-bar>\n\n<mat-toolbar class=\"d-flex align-items-center toolbar-header toolbar-padding\">\n <!-- Unity Logo -->\n <span class=\"d-flex align-items-end\">\n <a\n [href]=\"env === 'prod' ? 'https://unity.studiocanal.com/dashboard' : (env === 'sbx' ? 'https://unity-sbx.cplus/dashboard' : 'https://unity-' + env + '.studiocanal.com/dashboard')\">\n <img class=\"logo-unity\" alt=\"\" ngSrc=\"./assets/img/unity_logo_48x48.png\" width=\"48\" height=\"48\">\n </a>\n @if (env !== 'prod') {\n <span [attr.id]=\"'env-' + env\" class=\"env\">{{ env }}</span>\n }\n </span>\n\n <!-- Modules menu -->\n <sc-menu [lang]=\"lang\" (navigate)=\"navigate($event.module, $event.route, $event.queryParams)\"\n (redirect)=\"redirect($event.route)\" class=\"menu-header\"/>\n\n <!-- Search -->\n <sc-advanced-search [lang]=\"lang\" (redirect)=\"onNavigateEvent($event)\" class=\"global-search\"/>\n\n <!-- Connected as -->\n @if (user && user.secondary) {\n <div class=\"connected-as d-flex justify-content-between align-items-center\">\n <span style=\"margin-right: 10px\">\n {{ 'COMMON.HEADER.CONNECTED_AS' | commonTranslate: lang }} {{ user.login + ' - ' + user.firstName + ' ' + user.name }}\n </span>\n\n @if (user.secondary) {\n <button (click)=\"stopIdentityTheft()\" color=\"warn\" mat-raised-button>\n {{ 'CORE.STOP' | commonTranslate: lang }}\n </button>\n }\n </div>\n }\n\n <!-- History -->\n <sc-history [lang]=\"lang\" (redirect)=\"onNavigateEvent($event)\" class=\"material-icons header-icon max-width-5\"/>\n <span class=\"header-separator\"></span>\n <!-- Notifications -->\n <sc-personal-notification [lang]=\"lang\" class=\"material-icons header-icon max-width-5\"/>\n <span class=\"header-separator\"></span>\n <!-- Settings -->\n <sc-settings [lang]=\"lang\" (redirect)=\"onNavigateEvent($event)\"\n class=\"material-icons-outlined header-icon max-width-5\"/>\n\n</mat-toolbar>\n\n", styles: [".header-icon{color:#009ef7;cursor:pointer;text-align:center;margin:0 4px}.header-separator{display:inline-block;height:25%}.global-search-separator{display:inline-block;height:70%;border-right:2px solid #D3DFEC}:host-context(.dark-theme){background-color:#2a2d3e}:host-context(.dark-theme) .global-search{background:#34384c}:host-context(.dark-theme) .global-search-input{background:#34384c}:host-context(.dark-theme) .global-search-separator{border-right:2px solid #2A2D3E}:host-context(.dark-theme) .header-separator{border-right:2px solid #111219}::ng-deep .dark-theme .mat-autocomplete-global-search{background:#2a2d3e!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search:focus:not(.mat-option-disabled){background:#212332!important;color:#fff!important}::ng-deep .dark-theme .mat-mdc-option.mat-option-global-search{color:#fff!important}::ng-deep .dark-theme .global-search-input::placeholder{color:#a1b7d4!important}:host-context(.light-theme){background-color:#fff}:host-context(.light-theme) .global-search{background:#eff3f6}:host-context(.light-theme) .global-search-input{background:#eff3f6}:host-context(.light-theme) .global-search-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .header-separator{border-right:2px solid #D3DFEC}:host-context(.light-theme) .global-search-input::placeholder{color:#445d7b!important}:host-context(.light-theme) .mat-toolbar{background-color:#fff}::ng-deep .light-theme .mat-mdc-option.mat-option-global-search:hover:not(.mdc-list-item--disabled){background:#d3dfec!important}.logo-unity{height:48px;width:48px}.global-search .header-icon{margin:0 10px}.global-search{display:flex;align-items:center;height:40px;background:#eff3f6;margin-left:5px;border-radius:8px;flex:1 1 0;width:auto;min-width:0}.global-search-input{background:#f3f6f9;border:none;margin-left:10px;font-size:14px!important}.global-search-input :focus{outline:none}.advanced-button{background:#7c87ff!important;color:#fff!important;width:90px;min-width:90px!important;height:24px!important;box-shadow:0 2px 6px #445d7b29,inset 0 2px 6px #ffffff14,inset 0 -2px 4px #445d7b0f;margin-right:5px;padding:0}.advanced-button .mat-icon{color:#fff!important;font-size:14px!important;height:unset;width:unset;margin-right:0}.connected-as{font-size:12px}.user-thumb{margin-right:16px;width:40px;height:40px}#env-dev,#env-uat,#env-sbx,#env-local{background-color:#809ec1;color:#fff}.env{color:#fff;font-size:10px;border-radius:1px;padding:0 5px;line-height:16px;height:16px}.global-search-input::placeholder{font-style:italic!important;font-weight:700!important}.mat-option-global-search{height:30px!important;line-height:15px!important;padding:0 8px}::ng-deep .global-search .mat-mdc-form-field-subscript-wrapper{display:none!important}::ng-deep .global-search .mat-mdc-form-field .mat-mdc-text-field-wrapper{background-color:transparent!important}::ng-deep .global-search .mat-mdc-form-field.mat-form-field-appearance-fill .mat-mdc-form-field-focus-overlay{opacity:0!important}::ng-deep .global-search .mdc-line-ripple{display:none!important}::ng-deep .global-search .mat-mdc-form-field-infix{min-height:40px!important;padding-top:8px!important;padding-bottom:8px!important}.max-width-0{flex:1 1 0%;max-width:0%}.max-width-5{flex:1 1 5%;max-width:5%}.max-width-10{flex:1 1 10%;max-width:10%}.max-width-15{flex:1 1 15%;max-width:15%}.max-width-20{flex:1 1 20%;max-width:20%}.max-width-25{flex:1 1 25%;max-width:25%}.max-width-30{flex:1 1 30%;max-width:30%}.max-width-35{flex:1 1 35%;max-width:35%}.max-width-40{flex:1 1 40%;max-width:40%}.max-width-45{flex:1 1 45%;max-width:45%}.max-width-50{flex:1 1 50%;max-width:50%}.max-width-55{flex:1 1 55%;max-width:55%}.max-width-60{flex:1 1 60%;max-width:60%}.max-width-65{flex:1 1 65%;max-width:65%}.max-width-70{flex:1 1 70%;max-width:70%}.max-width-75{flex:1 1 75%;max-width:75%}.max-width-80{flex:1 1 80%;max-width:80%}.max-width-85{flex:1 1 85%;max-width:85%}.max-width-90{flex:1 1 90%;max-width:90%}.max-width-95{flex:1 1 95%;max-width:95%}.max-width-100{flex:1 1 100%;max-width:100%}.spacer{flex:1 1 auto}.toolbar-header{height:64px;position:absolute;padding:0 16px!important;z-index:999}.menu-header{max-width:70%;overflow:hidden;max-height:60px}::ng-deep .settings-menu.mat-mdc-menu-panel .mat-mdc-menu-item .mat-icon{height:24px;width:24px;display:flex;justify-content:center;align-items:center;margin-right:15px;font-size:18px}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn .mat-mdc-menu-item-text{display:flex;justify-content:start;align-items:center}::ng-deep .settings-menu.mat-mdc-menu-panel .img-btn img{height:12px!important;width:auto!important;display:block!important;padding-left:3px;margin-right:17px!important}.theme-icon{font-size:24px!important}\n"] }]
|
|
3049
3054
|
}], propDecorators: { user: [], onWindowScroll: [{
|
|
3050
3055
|
type: HostListener,
|
|
3051
3056
|
args: ['window:scroll', []]
|
|
@@ -3071,14 +3076,14 @@ class SubHeaderComponent {
|
|
|
3071
3076
|
this.currentScroll = numberVar;
|
|
3072
3077
|
}
|
|
3073
3078
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: SubHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3074
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.10", type: SubHeaderComponent, selector: "sc-sub-header", host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0, template: "<div id=\"template-header-container\">\
|
|
3079
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.10", type: SubHeaderComponent, selector: "sc-sub-header", host: { listeners: { "window:scroll": "onWindowScroll()" } }, ngImport: i0, template: "<div id=\"template-header-container\">\n <div [ngClass]=\"{'header-hide':isHide}\" id=\"template-header\">\n\n <!-- What you want -->\n <div id=\"left-part\">\n <ng-content select=[left]></ng-content>\n </div>\n\n <!-- What you want -->\n <div id=\"middle-part\">\n <ng-content select=[middle]></ng-content>\n </div>\n\n <!-- What you want -->\n <div id=\"right-part\">\n <ng-content select=[right]></ng-content>\n </div>\n\n </div>\n</div>\n", styles: ["#template-header-container{position:relative;background:#3f3f3f}#template-header{position:fixed;z-index:300;top:20px;width:100%;padding-top:30px!important;background:#3f3f3f;color:#fff;transition:.3s}#left-part{float:left;margin-left:15px}#right-part{float:right;margin-right:230px;height:100%}a{vertical-align:middle;text-align:center;color:#afafaf}.header-hide{top:-25px!important;transition:.3s}.title{color:#fff!important;font-weight:700!important}.subtitle{color:#b3b3b3!important;cursor:pointer}@media only screen and (min-width: 64.063em){.title{font-size:23px}.subtitle{font-size:16px}.status{color:#65d39b;margin-left:10px;font-size:12px}.codeMilo{color:#b3b3b3;font-size:15px}.dealNumber{color:#b3b3b3;font-weight:700;font-size:19px}}@media only screen and (min-width: 40.063em) and (max-width: 64em){.title{font-size:15px}.subtitle{font-size:10px}.status{color:#65d39b;margin-left:10px;font-size:10px}#template-header{padding:45px 0 5px 55px}}@media only screen and (max-width: 40em){.title{font-size:10px}.subtitle{font-size:8px}.status{color:#65d39b;margin-left:10px;font-size:8px}#template-header{padding:45px 0 5px}}\n"], dependencies: [{ kind: "directive", type: i1$3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
|
|
3075
3080
|
}
|
|
3076
3081
|
__decorate([
|
|
3077
3082
|
Theme()
|
|
3078
3083
|
], SubHeaderComponent.prototype, "theme", void 0);
|
|
3079
3084
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: SubHeaderComponent, decorators: [{
|
|
3080
3085
|
type: Component,
|
|
3081
|
-
args: [{ selector: 'sc-sub-header', template: "<div id=\"template-header-container\">\
|
|
3086
|
+
args: [{ selector: 'sc-sub-header', template: "<div id=\"template-header-container\">\n <div [ngClass]=\"{'header-hide':isHide}\" id=\"template-header\">\n\n <!-- What you want -->\n <div id=\"left-part\">\n <ng-content select=[left]></ng-content>\n </div>\n\n <!-- What you want -->\n <div id=\"middle-part\">\n <ng-content select=[middle]></ng-content>\n </div>\n\n <!-- What you want -->\n <div id=\"right-part\">\n <ng-content select=[right]></ng-content>\n </div>\n\n </div>\n</div>\n", styles: ["#template-header-container{position:relative;background:#3f3f3f}#template-header{position:fixed;z-index:300;top:20px;width:100%;padding-top:30px!important;background:#3f3f3f;color:#fff;transition:.3s}#left-part{float:left;margin-left:15px}#right-part{float:right;margin-right:230px;height:100%}a{vertical-align:middle;text-align:center;color:#afafaf}.header-hide{top:-25px!important;transition:.3s}.title{color:#fff!important;font-weight:700!important}.subtitle{color:#b3b3b3!important;cursor:pointer}@media only screen and (min-width: 64.063em){.title{font-size:23px}.subtitle{font-size:16px}.status{color:#65d39b;margin-left:10px;font-size:12px}.codeMilo{color:#b3b3b3;font-size:15px}.dealNumber{color:#b3b3b3;font-weight:700;font-size:19px}}@media only screen and (min-width: 40.063em) and (max-width: 64em){.title{font-size:15px}.subtitle{font-size:10px}.status{color:#65d39b;margin-left:10px;font-size:10px}#template-header{padding:45px 0 5px 55px}}@media only screen and (max-width: 40em){.title{font-size:10px}.subtitle{font-size:8px}.status{color:#65d39b;margin-left:10px;font-size:8px}#template-header{padding:45px 0 5px}}\n"] }]
|
|
3082
3087
|
}], propDecorators: { theme: [], onWindowScroll: [{
|
|
3083
3088
|
type: HostListener,
|
|
3084
3089
|
args: ['window:scroll', []]
|
|
@@ -3171,11 +3176,11 @@ class MyDialogPopupLoginComponent {
|
|
|
3171
3176
|
});
|
|
3172
3177
|
}
|
|
3173
3178
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: MyDialogPopupLoginComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
3174
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: MyDialogPopupLoginComponent, selector: "sc-popup-login", ngImport: i0, template: "<h3 mat-dialog-title>Log in</h3>\
|
|
3179
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.10", type: MyDialogPopupLoginComponent, selector: "sc-popup-login", ngImport: i0, template: "<h3 mat-dialog-title>Log in</h3>\n\n<mat-dialog-content>\n <form (keyup.enter)=\"onLogin()\" [formGroup]=\"userForm\" class=\"d-flex flex-column\">\n <div class=\"form-group\">\n <mat-label>{{ 'CORE.LOGIN.USERNAME' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span>\n </mat-label>\n <mat-form-field appearance=\"outline\">\n <input formControlName=\"username\" matInput/>\n </mat-form-field>\n </div>\n <div class=\"form-group\">\n <mat-label>{{ 'CORE.LOGIN.PASSWORD' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span>\n </mat-label>\n <mat-form-field appearance=\"outline\">\n <input formControlName=\"password\" matInput type=\"password\"/>\n </mat-form-field>\n </div>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions>\n <button (click)=\"onLogin()\" [disabled]=\"loading\" class=\"primary w-100\" mat-raised-button\n type=\"submit\">{{ 'CORE.LOGIN.SIGN_IN' | translate }}\n </button>\n @if (loading) {\n <mat-spinner [diameter]=\"30\" class=\"not-so-close-from-button login-spinner\"></mat-spinner>\n }\n @if (errorMessage !== null || errorMessage !== '') {\n <div class=\"errorMessage not-so-close-from-button\"> {{ errorMessage }}</div>\n }\n</mat-dialog-actions>\n\n", styles: [".w-100{width:100%}\n"], dependencies: [{ kind: "directive", type: i1$4.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "component", type: i2$2.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i2$2.MatLabel, selector: "mat-label" }, { kind: "component", type: i3$2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: i4.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: i4.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: i4.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { kind: "component", type: i2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i6.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i6.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i6.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i6.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i6.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i6.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }] }); }
|
|
3175
3180
|
}
|
|
3176
3181
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: MyDialogPopupLoginComponent, decorators: [{
|
|
3177
3182
|
type: Component,
|
|
3178
|
-
args: [{ selector: 'sc-popup-login', template: "<h3 mat-dialog-title>Log in</h3>\
|
|
3183
|
+
args: [{ selector: 'sc-popup-login', template: "<h3 mat-dialog-title>Log in</h3>\n\n<mat-dialog-content>\n <form (keyup.enter)=\"onLogin()\" [formGroup]=\"userForm\" class=\"d-flex flex-column\">\n <div class=\"form-group\">\n <mat-label>{{ 'CORE.LOGIN.USERNAME' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span>\n </mat-label>\n <mat-form-field appearance=\"outline\">\n <input formControlName=\"username\" matInput/>\n </mat-form-field>\n </div>\n <div class=\"form-group\">\n <mat-label>{{ 'CORE.LOGIN.PASSWORD' | translate }} <span style=\"color:#ef5350; font-weight: bold\">*</span>\n </mat-label>\n <mat-form-field appearance=\"outline\">\n <input formControlName=\"password\" matInput type=\"password\"/>\n </mat-form-field>\n </div>\n </form>\n</mat-dialog-content>\n\n<mat-dialog-actions>\n <button (click)=\"onLogin()\" [disabled]=\"loading\" class=\"primary w-100\" mat-raised-button\n type=\"submit\">{{ 'CORE.LOGIN.SIGN_IN' | translate }}\n </button>\n @if (loading) {\n <mat-spinner [diameter]=\"30\" class=\"not-so-close-from-button login-spinner\"></mat-spinner>\n }\n @if (errorMessage !== null || errorMessage !== '') {\n <div class=\"errorMessage not-so-close-from-button\"> {{ errorMessage }}</div>\n }\n</mat-dialog-actions>\n\n", styles: [".w-100{width:100%}\n"] }]
|
|
3179
3184
|
}], ctorParameters: () => [] });
|
|
3180
3185
|
|
|
3181
3186
|
class ToasterEventsService {
|
|
@@ -3418,7 +3423,6 @@ class UtilModule {
|
|
|
3418
3423
|
}
|
|
3419
3424
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.10", ngImport: i0, type: UtilModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
3420
3425
|
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.10", ngImport: i0, type: UtilModule, declarations: [MyNumberFormatterDirective,
|
|
3421
|
-
CapitalizefirstPipe,
|
|
3422
3426
|
SpacesNumberPipe,
|
|
3423
3427
|
SanitizeHtml,
|
|
3424
3428
|
DisplayNullPipe,
|
|
@@ -3471,7 +3475,8 @@ class UtilModule {
|
|
|
3471
3475
|
MatMenuModule,
|
|
3472
3476
|
MatAutocompleteModule,
|
|
3473
3477
|
NgOptimizedImage,
|
|
3474
|
-
MatBadge
|
|
3478
|
+
MatBadge,
|
|
3479
|
+
CapitalizefirstPipe], exports: [MyNumberFormatterDirective,
|
|
3475
3480
|
CapitalizefirstPipe,
|
|
3476
3481
|
SpacesNumberPipe,
|
|
3477
3482
|
SanitizeHtml,
|
|
@@ -3564,10 +3569,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.10", ngImpo
|
|
|
3564
3569
|
MatAutocompleteModule,
|
|
3565
3570
|
NgOptimizedImage,
|
|
3566
3571
|
MatBadge,
|
|
3572
|
+
CapitalizefirstPipe
|
|
3567
3573
|
],
|
|
3568
3574
|
declarations: [
|
|
3569
3575
|
MyNumberFormatterDirective,
|
|
3570
|
-
CapitalizefirstPipe,
|
|
3571
3576
|
SpacesNumberPipe,
|
|
3572
3577
|
SanitizeHtml,
|
|
3573
3578
|
DisplayNullPipe,
|
|
@@ -6069,7 +6074,7 @@ class UserModel {
|
|
|
6069
6074
|
this.entity = null;
|
|
6070
6075
|
this.management = null;
|
|
6071
6076
|
this.email = null;
|
|
6072
|
-
this.
|
|
6077
|
+
this.admin = false;
|
|
6073
6078
|
this.active = true;
|
|
6074
6079
|
this.comment = null;
|
|
6075
6080
|
this.sections = [];
|