ets-fe-ng-sdk 17.0.430 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/Reusables/reusable-comps/find-item/find-item.component.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-comps/find-item/find-item.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-comps/watermark/watermark.component.mjs +3 -3
- package/esm2022/lib/Reusables/reusable-pages/extra-pages/extra-pages-routing.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/extra-pages/extra-pages.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/logger/logger-routing.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/logger/logger.component.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/logger/logger.interface.mjs +1 -1
- package/esm2022/lib/Reusables/reusable-pages/logger/logger.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/logger/logger.service.mjs +3 -3
- package/esm2022/lib/Reusables/reusable-pages/page-not-found/page-not-found.component.mjs +3 -3
- package/esm2022/lib/Reusables/reusable-pages/reset/reset-routing.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/reset/reset.component.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/reset/reset.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/robot/robot-routing.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/robot/robot.component.mjs +3 -3
- package/esm2022/lib/Reusables/reusable-pages/robot/robot.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/timeout-tester/timeout-tester-routing.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.component.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/timeout-tester/timeout-tester.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/user-activity/ua-extras/user-activity.service.mjs +3 -3
- package/esm2022/lib/Reusables/reusable-pages/version/version-routing.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/version/version.component.mjs +3 -3
- package/esm2022/lib/Reusables/reusable-pages/version/version.module.mjs +4 -4
- package/esm2022/lib/Reusables/reusable-pages/version/version.service.mjs +4 -4
- package/esm2022/lib/Services/Interceptors/authentication-interceptor.service.mjs +5 -5
- package/esm2022/lib/Services/Interceptors/global-error-handler.service.mjs +3 -3
- package/esm2022/lib/Services/Interceptors/logger-interceptor.service.mjs +5 -5
- package/esm2022/lib/Services/Interceptors/request-loader-interceptor.service.mjs +5 -5
- package/esm2022/lib/Services/Interceptors/request-timeout.service.mjs +4 -4
- package/esm2022/lib/Services/api.service.mjs +4 -4
- package/esm2022/lib/Services/app.service.mjs +3 -3
- package/esm2022/lib/Services/base.effect.mjs +3 -3
- package/esm2022/lib/Services/base.facade.service.mjs +1 -1
- package/esm2022/lib/Services/base.service.mjs +4 -4
- package/esm2022/lib/Services/cache/cache-updater.service.mjs +3 -3
- package/esm2022/lib/Services/cache/cache.service.mjs +4 -4
- package/esm2022/lib/Services/cache/local-cache.service.mjs +4 -4
- package/esm2022/lib/Services/cache/saver.service.mjs +3 -3
- package/esm2022/lib/Services/debouncer.service.mjs +4 -4
- package/esm2022/lib/Services/htmler.service.mjs +3 -3
- package/esm2022/lib/Services/input.service.mjs +4 -4
- package/esm2022/lib/Services/page-loader.service.mjs +7 -7
- package/esm2022/lib/Services/page.service.mjs +3 -3
- package/esm2022/lib/Services/route.service.mjs +4 -4
- package/esm2022/lib/Services/service-worker/check-for-update.service.mjs +4 -4
- package/esm2022/lib/Services/service-worker/handle-unrecoverable-state.service.mjs +3 -3
- package/esm2022/lib/Services/service-worker/log-update.service.mjs +4 -4
- package/esm2022/lib/Services/service-worker/prompt-update.service.mjs +3 -3
- package/esm2022/lib/Services/service-worker/service-worker.service.mjs +4 -4
- package/esm2022/lib/Services/storage.service.mjs +4 -4
- package/esm2022/lib/Services/theme.service.mjs +3 -3
- package/esm2022/lib/Services/translation.service.mjs +4 -4
- package/esm2022/lib/Services/utility.service.mjs +4 -4
- package/esm2022/lib/Services/window-security.service.mjs +4 -4
- package/esm2022/lib/Shared/classes/page-loader.class.mjs +1 -1
- package/esm2022/lib/Shared/components/add-item/add-item.component.mjs +3 -3
- package/esm2022/lib/Shared/components/autocomplete/autocomplete-td-rf/autocomplete-td-rf.component.mjs +4 -4
- package/esm2022/lib/Shared/components/autocomplete/autocomplete.component.mjs +4 -4
- package/esm2022/lib/Shared/components/autocomplete/autocomplete.service.mjs +4 -4
- package/esm2022/lib/Shared/components/btn/btn-lg/btn-lg.component.mjs +3 -3
- package/esm2022/lib/Shared/components/btn/btn-link/btn-link.component.mjs +3 -3
- package/esm2022/lib/Shared/components/btn/btn.component.mjs +4 -4
- package/esm2022/lib/Shared/components/btn/btn.service.mjs +4 -4
- package/esm2022/lib/Shared/components/btn/details-btn/details-btn.component.mjs +3 -3
- package/esm2022/lib/Shared/components/card/card.component.mjs +3 -3
- package/esm2022/lib/Shared/components/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/Shared/components/confirm-dialog/confirm-dialog.service.mjs +4 -4
- package/esm2022/lib/Shared/components/core/button/button.component.mjs +3 -3
- package/esm2022/lib/Shared/components/documents-name-display/documents-name-display.component.mjs +4 -4
- package/esm2022/lib/Shared/components/editable-text-case/editable-text-case.component.mjs +4 -4
- package/esm2022/lib/Shared/components/export-table/export-table.component.mjs +4 -4
- package/esm2022/lib/Shared/components/fields-to-display/fields-to-display.component.mjs +4 -4
- package/esm2022/lib/Shared/components/file-upload/file-upload.component.mjs +4 -4
- package/esm2022/lib/Shared/components/form-error/form-error.component.mjs +4 -4
- package/esm2022/lib/Shared/components/form-generator/form-generated-value/form-generated-value.component.mjs +6 -6
- package/esm2022/lib/Shared/components/form-generator/form-generator.base.component.mjs +11 -2
- package/esm2022/lib/Shared/components/form-generator/form-generator.component.mjs +4 -4
- package/esm2022/lib/Shared/components/form-generator/form-generator.service.mjs +3 -3
- package/esm2022/lib/Shared/components/form-link/form-link.component.mjs +3 -3
- package/esm2022/lib/Shared/components/form-tab-headers/form-tab-headers.component.mjs +3 -3
- package/esm2022/lib/Shared/components/index-comp-layout/index-comp-layout.component.mjs +7 -7
- package/esm2022/lib/Shared/components/info-dialog/info-dialog.component.mjs +4 -4
- package/esm2022/lib/Shared/components/info-dialog/info-dialog.service.mjs +4 -4
- package/esm2022/lib/Shared/components/info-icon/info-icon.component.mjs +3 -3
- package/esm2022/lib/Shared/components/input/date-input/date-input.component.mjs +5 -5
- package/esm2022/lib/Shared/components/input/day-hour-min-input/day-hour-min-input.component.mjs +4 -4
- package/esm2022/lib/Shared/components/input/input-base.component.mjs +4 -4
- package/esm2022/lib/Shared/components/input/input-basic.component.mjs +4 -4
- package/esm2022/lib/Shared/components/input/input-control.component.mjs +3 -3
- package/esm2022/lib/Shared/components/input/input-label/input-label.component.mjs +3 -3
- package/esm2022/lib/Shared/components/input/input-td-rf.component.mjs +4 -4
- package/esm2022/lib/Shared/components/input/input.component.mjs +3 -3
- package/esm2022/lib/Shared/components/input/input.service.mjs +4 -4
- package/esm2022/lib/Shared/components/input/inputs-pipes.pipe.mjs +26 -26
- package/esm2022/lib/Shared/components/input/validation-message/validation-message.component.mjs +6 -6
- package/esm2022/lib/Shared/components/input/validation-message/validation-message.service.mjs +3 -3
- package/esm2022/lib/Shared/components/input/year-month-td-rf/year-month-td-rf.component.mjs +3 -3
- package/esm2022/lib/Shared/components/input-NgModel/input-ngmodel.component.mjs +4 -4
- package/esm2022/lib/Shared/components/input-NgModel/validation-message-ngmodel/validation-message-ngmodel.component.mjs +3 -3
- package/esm2022/lib/Shared/components/input-table/input-table.component.mjs +4 -4
- package/esm2022/lib/Shared/components/input-table/input-table.service.mjs +3 -3
- package/esm2022/lib/Shared/components/label/label.component.mjs +3 -3
- package/esm2022/lib/Shared/components/loader/loader-animations/blinking-blocks/blinking-blocks.component.mjs +3 -3
- package/esm2022/lib/Shared/components/loader/loader-animations/bouncing-ball/bouncing-ball.component.mjs +3 -3
- package/esm2022/lib/Shared/components/loader/loader-animations/fading-bars/fading-bars.component.mjs +3 -3
- package/esm2022/lib/Shared/components/loader/loader-animations/fading-circles/fading-circles.component.mjs +3 -3
- package/esm2022/lib/Shared/components/loader/loader-animations/ring-ripples/ring-ripples.component.mjs +3 -3
- package/esm2022/lib/Shared/components/loader/loader.component.mjs +3 -3
- package/esm2022/lib/Shared/components/loader/spinner.component.mjs +3 -3
- package/esm2022/lib/Shared/components/modal/modal-body.directive.mjs +3 -3
- package/esm2022/lib/Shared/components/modal/modal-footer.directive.mjs +3 -3
- package/esm2022/lib/Shared/components/modal/modal.component.mjs +3 -3
- package/esm2022/lib/Shared/components/modal-form/modal-form.component.mjs +3 -3
- package/esm2022/lib/Shared/components/modal-header/modal-header.component.mjs +3 -3
- package/esm2022/lib/Shared/components/narration-history-comp/narration-history-comp.component.mjs +4 -4
- package/esm2022/lib/Shared/components/notifications/notifications.component.mjs +3 -3
- package/esm2022/lib/Shared/components/notifications/notifications.service.mjs +3 -3
- package/esm2022/lib/Shared/components/page-center-body/page-center-body.component.mjs +3 -3
- package/esm2022/lib/Shared/components/page-template/page-template.component.mjs +4 -4
- package/esm2022/lib/Shared/components/page-to-component/page-to-component.component.mjs +6 -6
- package/esm2022/lib/Shared/components/page-to-component/page-to-component.directive.mjs +3 -3
- package/esm2022/lib/Shared/components/page-to-component/page-to-component.service.mjs +3 -3
- package/esm2022/lib/Shared/components/paginator/paginator.component.mjs +4 -4
- package/esm2022/lib/Shared/components/phone-number/phone-number.component.mjs +4 -4
- package/esm2022/lib/Shared/components/phone-number/phone-number.model.mjs +1 -1
- package/esm2022/lib/Shared/components/phone-number/phone-number.service.mjs +3 -3
- package/esm2022/lib/Shared/components/rich-text-editor/rich-text-editor.component.mjs +12 -12
- package/esm2022/lib/Shared/components/rich-text-editor-rf/rich-text-editor-rf.component.mjs +12 -12
- package/esm2022/lib/Shared/components/row-actions/row-actions.component.mjs +3 -3
- package/esm2022/lib/Shared/components/svg-icon/svg-icon.component.mjs +3 -3
- package/esm2022/lib/Shared/components/svg-icon/svg-icon.service.mjs +3 -3
- package/esm2022/lib/Shared/components/table-https/table-https.component.mjs +4 -4
- package/esm2022/lib/Shared/components/table-input/table-input-row/table-input-row.component.mjs +3 -3
- package/esm2022/lib/Shared/components/table-input/table-input.component.mjs +4 -4
- package/esm2022/lib/Shared/components/table-plain/table-base.component.mjs +4 -4
- package/esm2022/lib/Shared/components/table-plain/table-plain.component.mjs +4 -4
- package/esm2022/lib/Shared/components/table-plain/table-plain.service.mjs +3 -3
- package/esm2022/lib/Shared/components/table-plain/table.pipe.mjs +20 -20
- package/esm2022/lib/Shared/components/text/text.component.mjs +3 -3
- package/esm2022/lib/Shared/components/text-area-modal/text-area-modal.component.mjs +3 -3
- package/esm2022/lib/Shared/components/text-area-modal/text-area-modal.service.mjs +3 -3
- package/esm2022/lib/Shared/components/text-case-1/text-case-1.component.mjs +4 -4
- package/esm2022/lib/Shared/components/text-case-2/text-case-2.component.mjs +3 -3
- package/esm2022/lib/Shared/components/text-case-2/text-case.service.mjs +4 -4
- package/esm2022/lib/Shared/components/text-case-input/text-case-input.component.mjs +3 -3
- package/esm2022/lib/Shared/components/toggle-input-form/toggle-input-form.component.mjs +3 -3
- package/esm2022/lib/Shared/components/translator-case/translator-case.component.mjs +3 -3
- package/esm2022/lib/Shared/components/vertical-nav/vertical-nav.component.mjs +4 -4
- package/esm2022/lib/Shared/components/view-form-buttons/view-form-buttons.component.mjs +3 -3
- package/esm2022/lib/Shared/components/webcam-media/webcam-media.component.mjs +4 -4
- package/esm2022/lib/Shared/directives/commafy-number.directive.mjs +3 -3
- package/esm2022/lib/Shared/directives/drag-drop-file-upload.directive.mjs +4 -4
- package/esm2022/lib/Shared/directives/form-invalid-class.directive.mjs +3 -3
- package/esm2022/lib/Shared/directives/index.directive.mjs +23 -23
- package/esm2022/lib/Shared/directives/input-formatter.directive.mjs +14 -14
- package/esm2022/lib/Shared/directives/integer-only.directive.mjs +4 -4
- package/esm2022/lib/Shared/directives/mHref.directive.mjs +3 -3
- package/esm2022/lib/Shared/directives/negative-number-only.directive.mjs +4 -4
- package/esm2022/lib/Shared/directives/responsiveness.directive.mjs +20 -20
- package/esm2022/lib/Shared/directives/translator.directive.mjs +4 -4
- package/esm2022/lib/Shared/models/form.class.mjs +1 -1
- package/esm2022/lib/Shared/pipes/form-invalid-class.pipe.mjs +3 -3
- package/esm2022/lib/Shared/pipes/paginator.pipe.mjs +3 -3
- package/esm2022/lib/Shared/pipes/translate.pipe.mjs +7 -7
- package/esm2022/lib/Shared/pipes/utility.pipe.mjs +134 -134
- package/esm2022/lib/Shared/prototypes/prototypes.mjs +1 -1
- package/esm2022/lib/Shared/shared.module.mjs +4 -4
- package/esm2022/lib/authentication/web-user/web-user-authentication.guard.mjs +1 -1
- package/esm2022/lib/authentication/web-user/web-user-authentication.interceptor.mjs +1 -1
- package/esm2022/lib/authentication/web-user/web-user-authentication.service.mjs +3 -3
- package/esm2022/lib/authentication/web-user/web-user-forgot-password.component.mjs +4 -4
- package/esm2022/lib/authentication/web-user/web-user-login.component.mjs +4 -4
- package/esm2022/lib/authentication/web-user/web-user-reset-password.component.mjs +4 -4
- package/esm2022/lib/configs/base-functions.mjs +1 -1
- package/fesm2022/ets-fe-ng-sdk.mjs +766 -758
- package/fesm2022/ets-fe-ng-sdk.mjs.map +1 -1
- package/lib/Services/utility.service.d.ts +5 -5
- package/lib/Shared/components/btn/btn.component.d.ts +3 -3
- package/lib/Shared/components/form-generator/form-generated-value/form-generated-value.component.d.ts +1 -1
- package/lib/Shared/components/form-generator/form-generator.base.component.d.ts +3 -0
- package/lib/Shared/components/index-comp-layout/index-comp-layout.component.d.ts +1 -1
- package/lib/Shared/components/input/input-base.component.d.ts +3 -7
- package/lib/Shared/components/table-https/table-https.component.d.ts +3 -3
- package/lib/Shared/components/text-case-2/text-case.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -33,10 +33,10 @@ export class ButtonComponent {
|
|
|
33
33
|
this.faSlidersH = signal(faSlidersH);
|
|
34
34
|
this.faCogs = signal(faCogs);
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
37
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.3.8", type: ButtonComponent, isStandalone: true, selector: "app-button", inputs: { buttonType: { classPropertyName: "buttonType", publicName: "buttonType", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (buttonType() === 'show') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'showCustom') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'showsmall') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'create') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustomRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2GB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2small') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2smallRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2smallGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'clone') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faClone()\"/>\n {{ 'Clone' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'clone-red') {\n <div>\n <div matRipple class=\"btn btn btn-outline-danger cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faClone()\"/>\n {{ 'Clone' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'search') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchRed') {\n <div>\n <div matRipple class=\"btn btn btn-outline-danger cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchGB') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchCustom') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchCustomGB') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchGb') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'default') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon></fa-icon>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createclone') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'add') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addred') {\n <div>\n <div matRipple class=\"btn btn-outline-danger\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'addYellow') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'add-red') {\n <div>\n <div matRipple class=\"btn btn-outline-secondry\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'edit') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustom-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'editCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone p-0\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone p-0\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'submit') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'submitRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'update') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Update' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'history') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faHistory()\"/>\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'historyGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faHistory()\"/>\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'adjust') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSlidersH()\"/>\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'adjustGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSlidersH()\"/>\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'generate') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCogs()\"/>\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'generateGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCogs()\"/>\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'document') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faFile()\"/>\n {{ 'Document' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'find') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'findRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Find Policy') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Find Policy' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'action') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Action' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Authorise') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Authorise' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Decline') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Decline' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'changestatus') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Status' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'generates') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'adjusts') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'historys') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'register') {\n <div>\n <div matRipple class=\"btn btn-primary\">\n {{ 'Register New Claim' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'submits') {\n <div>\n <div matRipple class=\"btn btn-primary\">\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'findGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'find-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'findsmall') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'findsmallred') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'findsmallGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'save') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'saveGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'save-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'saverun-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save & Run' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'custSave') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'upload') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'uploadRed') {\n <div>\n <div matRipple class=\"btn btn-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'uploadGB') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'custSave2') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomClone') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomCloneGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'create-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'show-red') {\n <div>\n <div matRipple class=\"btn btn-secondry bg-dark color-white cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'custSave-red') {\n <div>\n <div matRipple class=\"btn btn-outline-secondry cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomNote') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomNoteRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomNoteGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaised') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaisedRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaisedYellow') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone-yellow btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'run') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlay()\"/>\n {{ 'Run' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'insert') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n {{ 'Insert' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'delete') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faTrash()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'translate') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n {{ 'Translate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'next') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'nextRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'nextGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'next-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'addFilter') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n {{ 'Add Filter' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'prev') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faArrowLeft()\"/>\n {{ 'Prev' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'uploadLg') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ 'Upload' | appTranslate | async }}\n </div>\n </div>\n}\n<!-- -->\n", styles: ["div.btn{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px}\n"], dependencies: [{ kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i1.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: SDKTranslatePipe, name: "appTranslate" }] }); }
|
|
36
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: ButtonComponent, isStandalone: true, selector: "app-button", inputs: { buttonType: { classPropertyName: "buttonType", publicName: "buttonType", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "@if (buttonType() === 'show') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'showCustom') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'showsmall') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'create') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustomRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2GB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2small') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2smallRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2smallGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'clone') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faClone()\"/>\n {{ 'Clone' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'clone-red') {\n <div>\n <div matRipple class=\"btn btn btn-outline-danger cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faClone()\"/>\n {{ 'Clone' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'search') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchRed') {\n <div>\n <div matRipple class=\"btn btn btn-outline-danger cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchGB') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchCustom') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchCustomGB') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchGb') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'default') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon></fa-icon>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createclone') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'add') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addred') {\n <div>\n <div matRipple class=\"btn btn-outline-danger\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'addYellow') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'add-red') {\n <div>\n <div matRipple class=\"btn btn-outline-secondry\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'edit') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustom-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'editCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone p-0\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone p-0\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'submit') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'submitRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'update') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Update' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'history') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faHistory()\"/>\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'historyGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faHistory()\"/>\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'adjust') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSlidersH()\"/>\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'adjustGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSlidersH()\"/>\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'generate') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCogs()\"/>\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'generateGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCogs()\"/>\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'document') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faFile()\"/>\n {{ 'Document' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'find') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'findRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Find Policy') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Find Policy' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'action') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Action' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Authorise') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Authorise' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Decline') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Decline' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'changestatus') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Status' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'generates') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'adjusts') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'historys') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'register') {\n <div>\n <div matRipple class=\"btn btn-primary\">\n {{ 'Register New Claim' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'submits') {\n <div>\n <div matRipple class=\"btn btn-primary\">\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'findGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'find-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'findsmall') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'findsmallred') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'findsmallGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'save') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'saveGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'save-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'saverun-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save & Run' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'custSave') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'upload') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'uploadRed') {\n <div>\n <div matRipple class=\"btn btn-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'uploadGB') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'custSave2') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomClone') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomCloneGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'create-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'show-red') {\n <div>\n <div matRipple class=\"btn btn-secondry bg-dark color-white cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'custSave-red') {\n <div>\n <div matRipple class=\"btn btn-outline-secondry cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomNote') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomNoteRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomNoteGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaised') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaisedRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaisedYellow') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone-yellow btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'run') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlay()\"/>\n {{ 'Run' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'insert') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n {{ 'Insert' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'delete') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faTrash()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'translate') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n {{ 'Translate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'next') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'nextRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'nextGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'next-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'addFilter') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n {{ 'Add Filter' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'prev') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faArrowLeft()\"/>\n {{ 'Prev' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'uploadLg') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ 'Upload' | appTranslate | async }}\n </div>\n </div>\n}\n<!-- -->\n", styles: ["div.btn{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px}\n"], dependencies: [{ kind: "ngmodule", type: MatRippleModule }, { kind: "directive", type: i1.MatRipple, selector: "[mat-ripple], [matRipple]", inputs: ["matRippleColor", "matRippleUnbounded", "matRippleCentered", "matRippleRadius", "matRippleAnimation", "matRippleDisabled", "matRippleTrigger"], exportAs: ["matRipple"] }, { kind: "ngmodule", type: FontAwesomeModule }, { kind: "component", type: i2.FaIconComponent, selector: "fa-icon", inputs: ["icon", "title", "animation", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "classes", "transform", "a11yRole"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: SDKTranslatePipe, name: "appTranslate" }] }); }
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
40
40
|
type: Component,
|
|
41
41
|
args: [{ selector: 'app-button', standalone: true, imports: [NgIf, MatRippleModule, FontAwesomeModule, AsyncPipe, SDKTranslatePipe], template: "@if (buttonType() === 'show') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'showCustom') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'showsmall') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'create') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustomRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2GB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2small') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2smallRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'createCustom2smallGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'clone') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faClone()\"/>\n {{ 'Clone' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'clone-red') {\n <div>\n <div matRipple class=\"btn btn btn-outline-danger cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faClone()\"/>\n {{ 'Clone' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'search') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchRed') {\n <div>\n <div matRipple class=\"btn btn btn-outline-danger cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchGB') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchCustom') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchCustomGB') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'searchGb') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Search' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'default') {\n <div>\n <div matRipple class=\"btn btn btn-outline-primary cancelBtn-lg btn-clone\">\n <fa-icon></fa-icon>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'createclone') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'add') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addred') {\n <div>\n <div matRipple class=\"btn btn-outline-danger\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'addYellow') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'add-red') {\n <div>\n <div matRipple class=\"btn btn-outline-secondry\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Add' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'edit') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'addCustom-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'editCustom') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone p-0\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'editCustomGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone p-0\">\n <fa-icon [icon]=\"faEdit()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'submit') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'submitRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'update') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCheck()\"/>\n {{ 'Update' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'history') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faHistory()\"/>\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'historyGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faHistory()\"/>\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'adjust') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSlidersH()\"/>\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'adjustGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSlidersH()\"/>\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'generate') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCogs()\"/>\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'generateGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faCogs()\"/>\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'document') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faFile()\"/>\n {{ 'Document' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'find') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'findRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Find Policy') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Find Policy' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'action') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Action' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Authorise') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Authorise' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'Decline') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Decline' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'changestatus') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Status' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'generates') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Generate' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'adjusts') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Adjust' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'historys') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'History' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'register') {\n <div>\n <div matRipple class=\"btn btn-primary\">\n {{ 'Register New Claim' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'submits') {\n <div>\n <div matRipple class=\"btn btn-primary\">\n {{ 'Submit' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'findGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'find-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red cancelBtn-lg\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'findsmall') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'findsmallred') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'findsmallGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <span class=\"small1\">\n <fa-icon [icon]=\"faSearch()\"/>\n {{ 'Find' | appTranslate | async }}\n </span>\n </div>\n </div>\n} @else if (buttonType() === 'save') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'saveGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'save-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'saverun-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ 'Save & Run' | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'custSave') {\n <div>\n <div matRipple class=\"btn btn-outline-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'upload') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'uploadRed') {\n <div>\n <div matRipple class=\"btn btn-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'uploadGB') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'custSave2') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomClone') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomCloneGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'create-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faPlus()\"/>\n {{ 'Create New' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'show-red') {\n <div>\n <div matRipple class=\"btn btn-secondry bg-dark color-white cancelBtn-lg\">\n <fa-icon [icon]=\"faEye()\"/>\n {{ 'Show' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'custSave-red') {\n <div>\n <div matRipple class=\"btn btn-outline-secondry cancelBtn-lg\">\n <fa-icon [icon]=\"faSave()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'btnCustomNote') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomNoteRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomNoteGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone\">\n <fa-icon [icon]=\"faPen()\"/>\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaised') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaisedRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'btnCustomCloneRaisedYellow') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone-yellow btn-raised\">\n {{ text() | appTranslate | async }}\n </div>\n </div>\n} @else if (buttonType() === 'run') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faPlay()\"/>\n {{ 'Run' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'insert') {\n <div>\n <div matRipple class=\"btn btn-outline-primary\">\n {{ 'Insert' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'delete') {\n <div>\n <div matRipple class=\"btn btn-outline-danger cancelBtn-lg\">\n <fa-icon [icon]=\"faTrash()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'translate') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n {{ 'Translate' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'next') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'nextRed') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'nextGB') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'next-red') {\n <div>\n <div matRipple class=\"btn btn-outline-danger btn-clone-red cancelBtn-lg\">\n {{ 'Next' | appTranslate | async }}\n <fa-icon [icon]=\"faArrowRight()\"/>\n </div>\n </div>\n\n} @else if (buttonType() === 'addFilter') {\n <div>\n <div matRipple class=\"btn btn-dark cancelBtn-lg\">\n {{ 'Add Filter' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'prev') {\n <div>\n <div matRipple class=\"btn btn-outline-primary btn-clone cancelBtn-lg\">\n <fa-icon [icon]=\"faArrowLeft()\"/>\n {{ 'Prev' | appTranslate | async }}\n </div>\n </div>\n\n} @else if (buttonType() === 'uploadLg') {\n <div>\n <div matRipple class=\"btn btn-primary cancelBtn-lg\">\n <fa-icon [icon]=\"faUpload()\"/>\n {{ 'Upload' | appTranslate | async }}\n </div>\n </div>\n}\n<!-- -->\n", styles: ["div.btn{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px}\n"] }]
|
|
42
42
|
}] });
|
package/esm2022/lib/Shared/components/documents-name-display/documents-name-display.component.mjs
CHANGED
|
@@ -94,10 +94,10 @@ export class DocumentsNameDisplayComponent {
|
|
|
94
94
|
this.errors.push(name);
|
|
95
95
|
return valid ? { refCat, refNo, docSubCat, title } : null;
|
|
96
96
|
}
|
|
97
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
98
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
97
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DocumentsNameDisplayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
98
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: DocumentsNameDisplayComponent, isStandalone: true, selector: "app-documents-name-display", inputs: { files: "files", fileNameFormat: "fileNameFormat" }, outputs: { valid: "valid", error: "error" }, usesOnChanges: true, ngImport: i0, template: "<div>\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto p-3 mt-4 text-center\">\n <span class=\"text-muted\">{{'Upload files named in this format: '|appTranslate|async}}</span>\n <span>{{fileFormats[fileNameFormat]}}</span>\n </div>\n </div>\n <div class=\"row justify-content-center\">\n @if (errors?.length) {\n<div class=\"col-md-auto text-danger border border-danger light-red-bg rounded text-center mt-2 mb-4\">\n <p>{{'The following files are not in the right format: '}}</p>\n @for (error of errors; track error) {\n <span class=\"me-5\">{{error}}</span>\n}\n </div>\n}\n </div>\n @if (files?.length) {\n<div class=\"table-responsive\">\n <table class=\"table table-striped col-md-auto\">\n@switch (fileNameFormat) {\n @case ('NON_POLICY_DOCUMENT') {\n \n <thead>\n <th>{{'Ref Cat'|appTranslate|async}}</th>\n <th>{{'Ref No'|appTranslate|async}}</th>\n <th>{{'Doc SubCat'|appTranslate|async}}</th>\n <th>{{'Title'|appTranslate|async}}</th>\n </thead>\n <tbody>\n @for (file of fileNames; track file) {\n <tr>\n <td>{{file.refCat}}</td>\n <td>{{file.refNo}}</td>\n <td>{{file.docSubCat}}</td>\n <td>{{file.title}}</td>\n </tr>\n}\n </tbody>\n \n}\n @case ('POLICY_DOCUMENT') {\n \n <thead>\n <th>{{'Ref Cat'|appTranslate|async}}</th>\n <th>{{'Policy No'|appTranslate|async}}</th>\n <th>{{'Policy Code'|appTranslate|async}}</th>\n <th>{{'Doc SubCat'|appTranslate|async}}</th>\n <th>{{'Title'|appTranslate|async}}</th>\n </thead>\n <tbody>\n @for (file of fileNames; track file) {\n <tr>\n <td>{{file.refCat}}</td>\n <td>{{file.policyNo}}</td>\n <td>{{file.policyCode}}</td>\n <td>{{file.docSubCat}}</td>\n <td>{{file.title}}</td>\n </tr>\n}\n </tbody>\n \n}\n @case ('POLICY_DOCUMENT_SUFFIX') {\n \n <thead>\n <th>{{'Ref Cat'|appTranslate|async}}</th>\n <th>{{'Policy No'|appTranslate|async}}</th>\n <th>{{'Policy Code'|appTranslate|async}}</th>\n <th>{{'Policy No Suffix'|appTranslate|async}}</th>\n <th>{{'Doc SubCat'|appTranslate|async}}</th>\n <th>{{'Title'|appTranslate|async}}</th>\n </thead>\n <tbody>\n @for (file of fileNames; track file) {\n <tr>\n <td>{{file.refCat}}</td>\n <td>{{file.policyNo}}</td>\n <td>{{file.policyCode}}</td>\n <td>{{file.policyNoSuffix}}</td>\n <td>{{file.docSubCat}}</td>\n <td>{{file.title}}</td>\n </tr>\n}\n </tbody>\n \n}\n }\n</table>\n\n </div>\n}\n</div>", styles: [".light-red-bg{background-color:#ff000009}\n"], dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: SDKTranslatePipe, name: "appTranslate" }] }); }
|
|
99
99
|
}
|
|
100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
100
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: DocumentsNameDisplayComponent, decorators: [{
|
|
101
101
|
type: Component,
|
|
102
102
|
args: [{ selector: 'app-documents-name-display', standalone: true, imports: [NgIf, NgFor, NgSwitch, NgSwitchCase, AsyncPipe, SDKTranslatePipe], template: "<div>\n <div class=\"row justify-content-center\">\n <div class=\"col-md-auto p-3 mt-4 text-center\">\n <span class=\"text-muted\">{{'Upload files named in this format: '|appTranslate|async}}</span>\n <span>{{fileFormats[fileNameFormat]}}</span>\n </div>\n </div>\n <div class=\"row justify-content-center\">\n @if (errors?.length) {\n<div class=\"col-md-auto text-danger border border-danger light-red-bg rounded text-center mt-2 mb-4\">\n <p>{{'The following files are not in the right format: '}}</p>\n @for (error of errors; track error) {\n <span class=\"me-5\">{{error}}</span>\n}\n </div>\n}\n </div>\n @if (files?.length) {\n<div class=\"table-responsive\">\n <table class=\"table table-striped col-md-auto\">\n@switch (fileNameFormat) {\n @case ('NON_POLICY_DOCUMENT') {\n \n <thead>\n <th>{{'Ref Cat'|appTranslate|async}}</th>\n <th>{{'Ref No'|appTranslate|async}}</th>\n <th>{{'Doc SubCat'|appTranslate|async}}</th>\n <th>{{'Title'|appTranslate|async}}</th>\n </thead>\n <tbody>\n @for (file of fileNames; track file) {\n <tr>\n <td>{{file.refCat}}</td>\n <td>{{file.refNo}}</td>\n <td>{{file.docSubCat}}</td>\n <td>{{file.title}}</td>\n </tr>\n}\n </tbody>\n \n}\n @case ('POLICY_DOCUMENT') {\n \n <thead>\n <th>{{'Ref Cat'|appTranslate|async}}</th>\n <th>{{'Policy No'|appTranslate|async}}</th>\n <th>{{'Policy Code'|appTranslate|async}}</th>\n <th>{{'Doc SubCat'|appTranslate|async}}</th>\n <th>{{'Title'|appTranslate|async}}</th>\n </thead>\n <tbody>\n @for (file of fileNames; track file) {\n <tr>\n <td>{{file.refCat}}</td>\n <td>{{file.policyNo}}</td>\n <td>{{file.policyCode}}</td>\n <td>{{file.docSubCat}}</td>\n <td>{{file.title}}</td>\n </tr>\n}\n </tbody>\n \n}\n @case ('POLICY_DOCUMENT_SUFFIX') {\n \n <thead>\n <th>{{'Ref Cat'|appTranslate|async}}</th>\n <th>{{'Policy No'|appTranslate|async}}</th>\n <th>{{'Policy Code'|appTranslate|async}}</th>\n <th>{{'Policy No Suffix'|appTranslate|async}}</th>\n <th>{{'Doc SubCat'|appTranslate|async}}</th>\n <th>{{'Title'|appTranslate|async}}</th>\n </thead>\n <tbody>\n @for (file of fileNames; track file) {\n <tr>\n <td>{{file.refCat}}</td>\n <td>{{file.policyNo}}</td>\n <td>{{file.policyCode}}</td>\n <td>{{file.policyNoSuffix}}</td>\n <td>{{file.docSubCat}}</td>\n <td>{{file.title}}</td>\n </tr>\n}\n </tbody>\n \n}\n }\n</table>\n\n </div>\n}\n</div>", styles: [".light-red-bg{background-color:#ff000009}\n"] }]
|
|
103
103
|
}], ctorParameters: () => [], propDecorators: { files: [{
|
|
@@ -109,4 +109,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
109
109
|
}], error: [{
|
|
110
110
|
type: Output
|
|
111
111
|
}] } });
|
|
112
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnRzLW5hbWUtZGlzcGxheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldHMtZmUtbmctc2RrL3NyYy9saWIvU2hhcmVkL2NvbXBvbmVudHMvZG9jdW1lbnRzLW5hbWUtZGlzcGxheS9kb2N1bWVudHMtbmFtZS1kaXNwbGF5LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V0cy1mZS1uZy1zZGsvc3JjL2xpYi9TaGFyZ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sYXRlfGFzeW5jfX08L3RoPlxuICAgICAgICAgICAgICAgICAgICA8dGg+e3snVGl0bGUnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICA8L3RoZWFkPlxuICAgICAgICAgICAgICAgIDx0Ym9keT5cbiAgICAgICAgICAgICAgICAgICAgQGZvciAoZmlsZSBvZiBmaWxlTmFtZXM7IHRyYWNrIGZpbGUpIHtcbiAgPHRyPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZmlsZS5yZWZDYXR9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnJlZk5vfX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZmlsZS5kb2NTdWJDYXR9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnRpdGxlfX08L3RkPlxuICAgICAgICAgICAgICAgICAgICA8L3RyPlxufVxuICAgICAgICAgICAgICAgIDwvdGJvZHk+XG4gICAgICAgICAgICBcbn1cbiAgICAgICAgICAgIEBjYXNlICgnUE9MSUNZX0RPQ1VNRU5UJykge1xuICBcbiAgICAgICAgICAgICAgICA8dGhlYWQ+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydSZWYgQ2F0J3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydQb2xpY3kgTm8nfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1BvbGljeSBDb2RlJ3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydEb2MgU3ViQ2F0J3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydUaXRsZSd8YXBwVHJhbnNsYXRlfGFzeW5jfX08L3RoPlxuICAgICAgICAgICAgICAgIDwvdGhlYWQ+XG4gICAgICAgICAgICAgICAgPHRib2R5PlxuICAgICAgICAgICAgICAgICAgICBAZm9yIChmaWxlIG9mIGZpbGVOYW1lczsgdHJhY2sgZmlsZSkge1xuICA8dHI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnJlZkNhdH19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucG9saWN5Tm99fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnBvbGljeUNvZGV9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLmRvY1N1YkNhdH19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUudGl0bGV9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvdHI+XG59XG4gICAgICAgICAgICAgICAgPC90Ym9keT5cbiAgICAgICAgICAgIFxufVxuICAgICAgICAgICAgQGNhc2UgKCdQT0xJQ1lfRE9DVU1FTlRfU1VGRklYJykge1xuICBcbiAgICAgICAgICAgICAgICA8dGhlYWQ+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydSZWYgQ2F0J3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydQb2xpY3kgTm8nfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1BvbGljeSBDb2RlJ3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydQb2xpY3kgTm8gU3VmZml4J3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydEb2MgU3ViQ2F0J3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydUaXRsZSd8YXBwVHJhbnNsYXRlfGFzeW5jfX08L3RoPlxuICAgICAgICAgICAgICAgIDwvdGhlYWQ+XG4gICAgICAgICAgICAgICAgPHRib2R5PlxuICAgICAgICAgICAgICAgICAgICBAZm9yIChmaWxlIG9mIGZpbGVOYW1lczsgdHJhY2sgZmlsZSkge1xuICA8dHI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnJlZkNhdH19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucG9saWN5Tm99fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnBvbGljeUNvZGV9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnBvbGljeU5vU3VmZml4fX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZmlsZS5kb2NTdWJDYXR9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnRpdGxlfX08L3RkPlxuICAgICAgICAgICAgICAgICAgICA8L3RyPlxufVxuICAgICAgICAgICAgICAgIDwvdGJvZHk+XG4gICAgICAgICAgICBcbn1cbiAgICAgICAgfVxuPC90YWJsZT5cblxuICAgIDwvZGl2PlxufVxuPC9kaXY+Il19
|
|
112
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZG9jdW1lbnRzLW5hbWUtZGlzcGxheS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9ldHMtZmUtbmctc2RrL3NyYy9saWIvU2hhcmVkL2NvbXBvbmVudHMvZG9jdW1lbnRzLW5hbWUtZGlzcGxheS9kb2N1bWVudHMtbmFtZS1kaXNwbGF5LmNvbXBvbmVudC50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GFzeW5jfX08L3RoPlxuICAgICAgICAgICAgICAgICAgICA8dGg+e3snUmVmIE5vJ3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydEb2MgU3ViQ2F0J3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgICAgIDx0aD57eydUaXRsZSd8YXBwVHJhbnNsYXRlfGFzeW5jfX08L3RoPlxuICAgICAgICAgICAgICAgIDwvdGhlYWQ+XG4gICAgICAgICAgICAgICAgPHRib2R5PlxuICAgICAgICAgICAgICAgICAgICBAZm9yIChmaWxlIG9mIGZpbGVOYW1lczsgdHJhY2sgZmlsZSkge1xuICA8dHI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLnJlZkNhdH19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucmVmTm99fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLmRvY1N1YkNhdH19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUudGl0bGV9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvdHI+XG59XG4gICAgICAgICAgICAgICAgPC90Ym9keT5cbiAgICAgICAgICAgIFxufVxuICAgICAgICAgICAgQGNhc2UgKCdQT0xJQ1lfRE9DVU1FTlQnKSB7XG4gIFxuICAgICAgICAgICAgICAgIDx0aGVhZD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1JlZiBDYXQnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1BvbGljeSBObyd8YXBwVHJhbnNsYXRlfGFzeW5jfX08L3RoPlxuICAgICAgICAgICAgICAgICAgICA8dGg+e3snUG9saWN5IENvZGUnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J0RvYyBTdWJDYXQnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1RpdGxlJ3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgPC90aGVhZD5cbiAgICAgICAgICAgICAgICA8dGJvZHk+XG4gICAgICAgICAgICAgICAgICAgIEBmb3IgKGZpbGUgb2YgZmlsZU5hbWVzOyB0cmFjayBmaWxlKSB7XG4gIDx0cj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucmVmQ2F0fX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZmlsZS5wb2xpY3lOb319PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucG9saWN5Q29kZX19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUuZG9jU3ViQ2F0fX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZmlsZS50aXRsZX19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgPC90cj5cbn1cbiAgICAgICAgICAgICAgICA8L3Rib2R5PlxuICAgICAgICAgICAgXG59XG4gICAgICAgICAgICBAY2FzZSAoJ1BPTElDWV9ET0NVTUVOVF9TVUZGSVgnKSB7XG4gIFxuICAgICAgICAgICAgICAgIDx0aGVhZD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1JlZiBDYXQnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1BvbGljeSBObyd8YXBwVHJhbnNsYXRlfGFzeW5jfX08L3RoPlxuICAgICAgICAgICAgICAgICAgICA8dGg+e3snUG9saWN5IENvZGUnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1BvbGljeSBObyBTdWZmaXgnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J0RvYyBTdWJDYXQnfGFwcFRyYW5zbGF0ZXxhc3luY319PC90aD5cbiAgICAgICAgICAgICAgICAgICAgPHRoPnt7J1RpdGxlJ3xhcHBUcmFuc2xhdGV8YXN5bmN9fTwvdGg+XG4gICAgICAgICAgICAgICAgPC90aGVhZD5cbiAgICAgICAgICAgICAgICA8dGJvZHk+XG4gICAgICAgICAgICAgICAgICAgIEBmb3IgKGZpbGUgb2YgZmlsZU5hbWVzOyB0cmFjayBmaWxlKSB7XG4gIDx0cj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucmVmQ2F0fX08L3RkPlxuICAgICAgICAgICAgICAgICAgICAgICAgPHRkPnt7ZmlsZS5wb2xpY3lOb319PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucG9saWN5Q29kZX19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUucG9saWN5Tm9TdWZmaXh9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8dGQ+e3tmaWxlLmRvY1N1YkNhdH19PC90ZD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD57e2ZpbGUudGl0bGV9fTwvdGQ+XG4gICAgICAgICAgICAgICAgICAgIDwvdHI+XG59XG4gICAgICAgICAgICAgICAgPC90Ym9keT5cbiAgICAgICAgICAgIFxufVxuICAgICAgICB9XG48L3RhYmxlPlxuXG4gICAgPC9kaXY+XG59XG48L2Rpdj4iXX0=
|
|
@@ -23,10 +23,10 @@ export class EditableTextCaseComponent {
|
|
|
23
23
|
this.editing = true;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "
|
|
26
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EditableTextCaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
27
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.0.0", type: EditableTextCaseComponent, isStandalone: true, selector: "app-editable-text-case", inputs: { action: "action", coloredLbl: "coloredLbl", coloredVal: "coloredVal", form: "form", formatter: "formatter", hint: "hint", valueHint: "valueHint", label: "label", light: "light", mini: "mini", name: "name", route: "route", routeFunc: "routeFunc", showEditing: "showEditing", stacked: "stacked", type: "type", value: "value", wrapLabel: "wrapLabel" }, ngImport: i0, template: "<div class=\"row align-items-center\">\n <label\n [matTooltip]=\"hint\"\n class=\"col-md-{{\n stacked ? '12 pb-0' : mini ? 'auto' : ''\n }} m-0 hide-scroll-x\"\n [ngClass]=\"{\n 'text-primary': coloredLbl,\n light,\n 'overflow-x-auto': wrapLabel\n }\"\n >\n {{ label | appTranslate | async }}\n </label>\n <div class=\"{{ stacked ? 'col-12' : 'col-md' }} position-relative\">\n <div class=\"row align-items-center\">\n @if (editing) {\n <div class=\"col-9 pe-0\">\n <app-input-basic\n [form]=\"form\"\n [stacked]=\"true\"\n [showLabel]=\"false\"\n [name]=\"name\"\n [type]=\"type\"\n >\n </app-input-basic>\n </div>\n <div class=\"col-auto\">\n <i\n (click)=\"reset()\"\n class=\"ps-1 pointer fas fa-undo-alt text-danger\"\n ></i>\n </div>\n } @else {\n <a\n [matTooltip]=\"valueHint\"\n [mrouterLink]=\"route || (routeFunc | functionCaller1: value | async)\"\n class=\"{{ !coloredVal ? '' : 'text-primary' }} col-{{\n !stacked ? 'auto' : showEditing ? '9' : '12'\n }} lbl\"\n >\n <div class=\"hide-scroll-x overflow-x-auto\">\n {{ (value | valueFormatter: formatter | async) || \"-\" }}\n </div>\n </a>\n <div class=\"col-auto\" *ngIf=\"showEditing\">\n <i\n (click)=\"unreset()\"\n class=\"ps-1 pointer fas fa-pencil-alt {{\n !coloredVal ? '' : 'text-primary'\n }}\"\n ></i>\n </div>\n }\n <ng-template #elseTemplate>\n <a\n [matTooltip]=\"valueHint\"\n [mrouterLink]=\"route || (routeFunc | functionCaller1: value | async)\"\n class=\"{{ !coloredVal ? '' : 'text-primary' }} col-{{\n !stacked ? 'auto' : showEditing ? '9' : '12'\n }} lbl\"\n >\n <div class=\"hide-scroll-x overflow-x-auto\">\n {{ (value | valueFormatter: formatter | async) || \"-\" }}\n </div>\n </a>\n @if (showEditing) {\n <div class=\"col-auto\">\n <i\n (click)=\"unreset()\"\n class=\"ps-1 pointer fas fa-pencil-alt {{\n !coloredVal ? '' : 'text-primary'\n }}\"\n ></i>\n </div>\n }\n </ng-template>\n </div>\n </div>\n</div>\n", styles: [".lbl{display:flex;align-items:center}.light{font-weight:500}.fas{font-size:.7rem}\n"], dependencies: [{ kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i1.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: InputBasicComponent, selector: "app-input-basic,app-input", inputs: ["accept", "autocomplete", "input", "contextData", "decimalPoints", "files", "hide", "hint", "clearOnDisable", "labelLink", "lblCl", "light", "loading", "multiple", "optionsFunc", "theme", "vms", "xsmall", "setCurrentDate", "options"], outputs: ["mSelectedOptionLabel"] }, { kind: "directive", type: MrouterLinkirective, selector: "[mrouterLink]", inputs: ["mrouterLink", "mrouterLinkActivatedRoute", "mqueryParams", "isPhone", "isEmail"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "pipe", type: FunctionCaller1, name: "functionCaller1" }, { kind: "pipe", type: SDKTranslatePipe, name: "appTranslate" }, { kind: "pipe", type: ValueFormatterPipe, name: "valueFormatter" }] }); }
|
|
28
28
|
}
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: EditableTextCaseComponent, decorators: [{
|
|
30
30
|
type: Component,
|
|
31
31
|
args: [{ selector: 'app-editable-text-case', standalone: true, imports: [
|
|
32
32
|
MatTooltipModule,
|
|
@@ -76,4 +76,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
76
76
|
}], wrapLabel: [{
|
|
77
77
|
type: Input
|
|
78
78
|
}] } });
|
|
79
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
79
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdGFibGUtdGV4dC1jYXNlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V0cy1mZS1uZy1zZGsvc3JjL2xpYi9TaGFyZWQvY29tcG9uZW50cy9lZGl0YWJsZS10ZXh0LWNhc2UvZWRpdGFibGUtdGV4dC1jYXNlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V0cy1mZS1uZy1zZGsvc3JjL2xpYi9TaGFyZWQvY29tcG9uZW50cy9lZGl0YWJsZS10ZXh0LWNhc2UvZWRpdGFibGUtdGV4dC1jYXNlLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsS0FBSyxFQ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3M9XCJjb2wtYXV0b1wiPlxuICAgICAgICAgIDxpXG4gICAgICAgICAgICAoY2xpY2spPVwicmVzZXQoKVwiXG4gICAgICAgICAgICBjbGFzcz1cInBzLTEgcG9pbnRlciBmYXMgZmEtdW5kby1hbHQgdGV4dC1kYW5nZXJcIlxuICAgICAgICAgID48L2k+XG4gICAgICAgIDwvZGl2PlxuICAgICAgfSBAZWxzZSB7XG4gICAgICAgIDxhXG4gICAgICAgICAgW21hdFRvb2x0aXBdPVwidmFsdWVIaW50XCJcbiAgICAgICAgICBbbXJvdXRlckxpbmtdPVwicm91dGUgfHwgKHJvdXRlRnVuYyB8IGZ1bmN0aW9uQ2FsbGVyMTogdmFsdWUgfCBhc3luYylcIlxuICAgICAgICAgIGNsYXNzPVwie3sgIWNvbG9yZWRWYWwgPyAnJyA6ICd0ZXh0LXByaW1hcnknIH19IGNvbC17e1xuICAgICAgICAgICAgIXN0YWNrZWQgPyAnYXV0bycgOiBzaG93RWRpdGluZyA/ICc5JyA6ICcxMidcbiAgICAgICAgICB9fSBsYmxcIlxuICAgICAgICA+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImhpZGUtc2Nyb2xsLXggb3ZlcmZsb3cteC1hdXRvXCI+XG4gICAgICAgICAgICB7eyAodmFsdWUgfCB2YWx1ZUZvcm1hdHRlcjogZm9ybWF0dGVyIHwgYXN5bmMpIHx8IFwiLVwiIH19XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvYT5cbiAgICAgICAgPGRpdiBjbGFzcz1cImNvbC1hdXRvXCIgKm5nSWY9XCJzaG93RWRpdGluZ1wiPlxuICAgICAgICAgIDxpXG4gICAgICAgICAgICAoY2xpY2spPVwidW5yZXNldCgpXCJcbiAgICAgICAgICAgIGNsYXNzPVwicHMtMSBwb2ludGVyIGZhcyBmYS1wZW5jaWwtYWx0IHt7XG4gICAgICAgICAgICAgICFjb2xvcmVkVmFsID8gJycgOiAndGV4dC1wcmltYXJ5J1xuICAgICAgICAgICAgfX1cIlxuICAgICAgICAgID48L2k+XG4gICAgICAgIDwvZGl2PlxuICAgICAgfVxuICAgICAgPG5nLXRlbXBsYXRlICNlbHNlVGVtcGxhdGU+XG4gICAgICAgIDxhXG4gICAgICAgICAgW21hdFRvb2x0aXBdPVwidmFsdWVIaW50XCJcbiAgICAgICAgICBbbXJvdXRlckxpbmtdPVwicm91dGUgfHwgKHJvdXRlRnVuYyB8IGZ1bmN0aW9uQ2FsbGVyMTogdmFsdWUgfCBhc3luYylcIlxuICAgICAgICAgIGNsYXNzPVwie3sgIWNvbG9yZWRWYWwgPyAnJyA6ICd0ZXh0LXByaW1hcnknIH19IGNvbC17e1xuICAgICAgICAgICAgIXN0YWNrZWQgPyAnYXV0bycgOiBzaG93RWRpdGluZyA/ICc5JyA6ICcxMidcbiAgICAgICAgICB9fSBsYmxcIlxuICAgICAgICA+XG4gICAgICAgICAgPGRpdiBjbGFzcz1cImhpZGUtc2Nyb2xsLXggb3ZlcmZsb3cteC1hdXRvXCI+XG4gICAgICAgICAgICB7eyAodmFsdWUgfCB2YWx1ZUZvcm1hdHRlcjogZm9ybWF0dGVyIHwgYXN5bmMpIHx8IFwiLVwiIH19XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIDwvYT5cbiAgICAgICAgQGlmIChzaG93RWRpdGluZykge1xuICAgICAgICAgIDxkaXYgY2xhc3M9XCJjb2wtYXV0b1wiPlxuICAgICAgICAgICAgPGlcbiAgICAgICAgICAgICAgKGNsaWNrKT1cInVucmVzZXQoKVwiXG4gICAgICAgICAgICAgIGNsYXNzPVwicHMtMSBwb2ludGVyIGZhcyBmYS1wZW5jaWwtYWx0IHt7XG4gICAgICAgICAgICAgICAgIWNvbG9yZWRWYWwgPyAnJyA6ICd0ZXh0LXByaW1hcnknXG4gICAgICAgICAgICAgIH19XCJcbiAgICAgICAgICAgID48L2k+XG4gICAgICAgICAgPC9kaXY+XG4gICAgICAgIH1cbiAgICAgIDwvbmctdGVtcGxhdGU+XG4gICAgPC9kaXY+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -62,10 +62,10 @@ export class ExportTableComponent {
|
|
|
62
62
|
// a.remove();
|
|
63
63
|
this.uaS.add({ code: EUA.downloaded, activityDescription: docTitle });
|
|
64
64
|
}
|
|
65
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
66
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "
|
|
65
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ExportTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
66
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.0.0", type: ExportTableComponent, isStandalone: true, selector: "app-export-table", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, displayedColumns: { classPropertyName: "displayedColumns", publicName: "displayedColumns", isSignal: true, isRequired: false, transformFunction: null }, searchFunc: { classPropertyName: "searchFunc", publicName: "searchFunc", isSignal: false, isRequired: false, transformFunction: null }, _searchQuery: { classPropertyName: "_searchQuery", publicName: "searchQuery", isSignal: false, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<app-btn\n group=\"download\"\n [disabled]=\"disabled() || !displayedColumns()?.length\"\n [showHelpIcon]=\"false\"\n help=\"Export Table\"\n [loading]=\"loading()\"\n [excludeLogging]=\"true\"\n (mclick)=\"downloadCSV()\" />\n", styles: [""], dependencies: [{ kind: "component", type: BtnComponent, selector: "app-btn", inputs: ["formSchema", "debug", "centerBtn", "danger", "warning", "verbose", "loading", "icon", "rightIcon", "leftIcon", "type", "group", "actionType", "animate", "excludeLogging", "loggingValue", "badge", "class", "customIcon", "form", "forms", "help", "iconBtn", "mclass", "showHelpIcon", "rightCustomIcon", "leftCustomIcon", "text", "valid", "mini", "onFormInvalid", "disabled"], outputs: ["loadingChange", "leftCustomIconChange", "mclick", "disabledChange"] }] }); }
|
|
67
67
|
}
|
|
68
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
68
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImport: i0, type: ExportTableComponent, decorators: [{
|
|
69
69
|
type: Component,
|
|
70
70
|
args: [{ selector: 'app-export-table', standalone: true, imports: [BtnComponent], template: "<app-btn\n group=\"download\"\n [disabled]=\"disabled() || !displayedColumns()?.length\"\n [showHelpIcon]=\"false\"\n help=\"Export Table\"\n [loading]=\"loading()\"\n [excludeLogging]=\"true\"\n (mclick)=\"downloadCSV()\" />\n" }]
|
|
71
71
|
}], propDecorators: { searchFunc: [{
|
|
@@ -74,4 +74,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImpor
|
|
|
74
74
|
type: Input,
|
|
75
75
|
args: ['searchQuery']
|
|
76
76
|
}] } });
|
|
77
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
77
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0LXRhYmxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V0cy1mZS1uZy1zZGsvc3JjL2xpYi9TaGFyZWQvY29tcG9uZW50cy9leHBvcnQtdGFibGUvZXhwb3J0LXRhYmxlLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2V0cy1mZS1uZy1zZGsvc3JjL2xpYi9TaGFyZWQvY29tcG9uZW50cy9leHBvcnQtdGFibGUvZXhwb3J0LXR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