@smartsoft001/angular 1.1.845 → 1.1.856
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/esm2020/lib/+state/error.effects.mjs +3 -3
- package/esm2020/lib/components/accordion/accordion.component.mjs +5 -5
- package/esm2020/lib/components/accordion/body/body.component.mjs +3 -3
- package/esm2020/lib/components/accordion/header/header.component.mjs +3 -3
- package/esm2020/lib/components/app/base/base.component.mjs +3 -3
- package/esm2020/lib/components/app/split-panel/split-panel.component.mjs +6 -6
- package/esm2020/lib/components/base/base.component.mjs +6 -6
- package/esm2020/lib/components/button/base/base.component.mjs +3 -3
- package/esm2020/lib/components/button/button.component.mjs +7 -7
- package/esm2020/lib/components/button/standard/standard.component.mjs +5 -5
- package/esm2020/lib/components/card/card.component.mjs +5 -5
- package/esm2020/lib/components/chart/bar/bar.component.mjs +4 -4
- package/esm2020/lib/components/chart/base/base.component.mjs +3 -3
- package/esm2020/lib/components/chart/chart.component.mjs +7 -7
- package/esm2020/lib/components/chart/line/line.component.mjs +4 -4
- package/esm2020/lib/components/components.module.mjs +6 -8
- package/esm2020/lib/components/date-edit/date-edit.component.mjs +4 -4
- package/esm2020/lib/components/date-range/date-range.component.mjs +11 -11
- package/esm2020/lib/components/detail/address/address.component.mjs +4 -4
- package/esm2020/lib/components/detail/array/array.component.mjs +3 -3
- package/esm2020/lib/components/detail/attachment/attachment.component.mjs +6 -6
- package/esm2020/lib/components/detail/base/base.component.mjs +3 -3
- package/esm2020/lib/components/detail/color/color.component.mjs +5 -5
- package/esm2020/lib/components/detail/date-range/date-range.component.mjs +4 -4
- package/esm2020/lib/components/detail/detail.component.mjs +19 -19
- package/esm2020/lib/components/detail/email/email.component.mjs +3 -3
- package/esm2020/lib/components/detail/enum/enum.component.mjs +4 -4
- package/esm2020/lib/components/detail/flag/flag.component.mjs +6 -6
- package/esm2020/lib/components/detail/image/image.component.mjs +6 -6
- package/esm2020/lib/components/detail/logo/logo.component.mjs +6 -6
- package/esm2020/lib/components/detail/object/object.component.mjs +4 -4
- package/esm2020/lib/components/detail/pdf/pdf.component.mjs +6 -6
- package/esm2020/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +5 -5
- package/esm2020/lib/components/detail/text/text.component.mjs +6 -6
- package/esm2020/lib/components/detail/video/video.component.mjs +4 -4
- package/esm2020/lib/components/details/base/base.component.mjs +3 -3
- package/esm2020/lib/components/details/details.component.mjs +6 -6
- package/esm2020/lib/components/details/standard/standard.component.mjs +7 -7
- package/esm2020/lib/components/dynamic/dynamic.component.mjs +3 -3
- package/esm2020/lib/components/error-context/error-context.component.mjs +4 -4
- package/esm2020/lib/components/export/export.component.mjs +3 -3
- package/esm2020/lib/components/form/base/base.component.mjs +5 -5
- package/esm2020/lib/components/form/form.component.mjs +11 -11
- package/esm2020/lib/components/form/standard/standard.component.mjs +6 -6
- package/esm2020/lib/components/form/stepper/stepper.component.mjs +9 -9
- package/esm2020/lib/components/grid/column/column.component.mjs +4 -4
- package/esm2020/lib/components/grid/grid.component.mjs +3 -3
- package/esm2020/lib/components/grid/row/row.component.mjs +4 -4
- package/esm2020/lib/components/import/import.component.mjs +3 -3
- package/esm2020/lib/components/info/info.component.mjs +7 -7
- package/esm2020/lib/components/input/address/address.component.mjs +7 -7
- package/esm2020/lib/components/input/array/array.component.mjs +13 -13
- package/esm2020/lib/components/input/attachment/attachment.component.mjs +7 -7
- package/esm2020/lib/components/input/base/base.component.mjs +3 -3
- package/esm2020/lib/components/input/base/file.component.mjs +3 -3
- package/esm2020/lib/components/input/base/possibilities.component.mjs +3 -3
- package/esm2020/lib/components/input/check/check.component.mjs +7 -7
- package/esm2020/lib/components/input/color/color.component.mjs +5 -5
- package/esm2020/lib/components/input/currency/currency.component.mjs +5 -5
- package/esm2020/lib/components/input/date/date.component.mjs +8 -8
- package/esm2020/lib/components/input/date-range/date-range.component.mjs +8 -8
- package/esm2020/lib/components/input/date-with-edit/date-with-edit.component.mjs +7 -7
- package/esm2020/lib/components/input/email/email.component.mjs +5 -5
- package/esm2020/lib/components/input/enum/enum.component.mjs +7 -7
- package/esm2020/lib/components/input/error/error.component.mjs +5 -5
- package/esm2020/lib/components/input/file/file.component.mjs +8 -8
- package/esm2020/lib/components/input/flag/flag.component.mjs +5 -5
- package/esm2020/lib/components/input/float/float.component.mjs +5 -5
- package/esm2020/lib/components/input/image/image.component.mjs +7 -7
- package/esm2020/lib/components/input/input.component.mjs +21 -21
- package/esm2020/lib/components/input/int/int.component.mjs +5 -5
- package/esm2020/lib/components/input/ints/ints.component.mjs +10 -10
- package/esm2020/lib/components/input/logo/logo.component.mjs +5 -5
- package/esm2020/lib/components/input/long-text/long-text.component.mjs +7 -7
- package/esm2020/lib/components/input/nip/nip.component.mjs +5 -5
- package/esm2020/lib/components/input/object/object.component.mjs +5 -5
- package/esm2020/lib/components/input/password/password.component.mjs +7 -7
- package/esm2020/lib/components/input/pdf/pdf.component.mjs +7 -7
- package/esm2020/lib/components/input/pesel/pesel.component.mjs +5 -5
- package/esm2020/lib/components/input/phone-number/phone-number.component.mjs +5 -5
- package/esm2020/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +5 -5
- package/esm2020/lib/components/input/radio/radio.component.mjs +7 -7
- package/esm2020/lib/components/input/strings/strings.component.mjs +10 -10
- package/esm2020/lib/components/input/text/text.component.mjs +5 -5
- package/esm2020/lib/components/input/video/video.component.mjs +7 -7
- package/esm2020/lib/components/list/base/base.component.mjs +3 -3
- package/esm2020/lib/components/list/desktop/desktop.component.mjs +14 -14
- package/esm2020/lib/components/list/list.component.mjs +11 -11
- package/esm2020/lib/components/list/masonry-grid/masonry-grid.component.mjs +8 -8
- package/esm2020/lib/components/list/mobile/mobile.component.mjs +7 -7
- package/esm2020/lib/components/loader/loader.component.mjs +6 -6
- package/esm2020/lib/components/page/base/base.component.mjs +3 -3
- package/esm2020/lib/components/page/page.component.mjs +7 -7
- package/esm2020/lib/components/page/standard/standard.component.mjs +3 -3
- package/esm2020/lib/components/paging/paging.component.mjs +3 -3
- package/esm2020/lib/components/password-strength/password-strength.component.mjs +3 -3
- package/esm2020/lib/components/searchbar/searchbar.component.mjs +9 -9
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +3 -3
- package/esm2020/lib/components/tabs/tabs.component.mjs +6 -6
- package/esm2020/lib/directives/date-validator/date-validator.directive.mjs +3 -3
- package/esm2020/lib/directives/details/details.directive.mjs +3 -3
- package/esm2020/lib/directives/directives.module.mjs +5 -7
- package/esm2020/lib/directives/dynamic-content/dynamic-content.directive.mjs +3 -3
- package/esm2020/lib/directives/viewport-show/viewport-show.directive.mjs +3 -3
- package/esm2020/lib/factories/factories.module.mjs +6 -8
- package/esm2020/lib/factories/form/form.factory.mjs +6 -6
- package/esm2020/lib/ngrx-shared.module.mjs +8 -10
- package/esm2020/lib/pages/details/details.page.mjs +3 -3
- package/esm2020/lib/pages/pages.module.mjs +8 -10
- package/esm2020/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +3 -3
- package/esm2020/lib/pipes/file-url/file-url.pipe.mjs +3 -3
- package/esm2020/lib/pipes/list-cell/list-cell.pipe.mjs +3 -3
- package/esm2020/lib/pipes/list-header/list-header.pipe.mjs +3 -3
- package/esm2020/lib/pipes/model-label/model-label.pipe.mjs +3 -3
- package/esm2020/lib/pipes/pipes.module.mjs +4 -4
- package/esm2020/lib/pipes/trust-html/trust-html.pipe.mjs +3 -3
- package/esm2020/lib/pipes/virtual-data-source/virtual-data-source.pipe.mjs +3 -3
- package/esm2020/lib/services/alert/alert.service.mjs +3 -3
- package/esm2020/lib/services/app/app.service.mjs +3 -3
- package/esm2020/lib/services/auth/auth.service.mjs +3 -3
- package/esm2020/lib/services/calendar/calendar.service.mjs +3 -3
- package/esm2020/lib/services/camera/camera.service.mjs +3 -3
- package/esm2020/lib/services/details/details.service.mjs +3 -3
- package/esm2020/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +3 -3
- package/esm2020/lib/services/error/error.service.mjs +3 -3
- package/esm2020/lib/services/file/file.service.mjs +3 -3
- package/esm2020/lib/services/fingerprint/fingerprint.service.mjs +3 -3
- package/esm2020/lib/services/form/form.group.mjs +3 -3
- package/esm2020/lib/services/hardware/hardware.service.mjs +3 -3
- package/esm2020/lib/services/menu/menu.service.mjs +3 -3
- package/esm2020/lib/services/modal/modal.service.mjs +3 -3
- package/esm2020/lib/services/ngrx-store/ngrx-store.service.mjs +3 -3
- package/esm2020/lib/services/popover/popover.service.mjs +3 -3
- package/esm2020/lib/services/services.module.mjs +8 -10
- package/esm2020/lib/services/storage/storage.service.mjs +3 -3
- package/esm2020/lib/services/style/style.service.mjs +3 -3
- package/esm2020/lib/services/toast/toast.service.mjs +3 -3
- package/esm2020/lib/services/ui/ui.service.mjs +3 -3
- package/esm2020/lib/shared.module.mjs +5 -7
- package/esm2020/lib/utils-shared.module.mjs +4 -4
- package/fesm2015/smartsoft001-angular.mjs +1068 -1082
- package/fesm2015/smartsoft001-angular.mjs.map +1 -1
- package/fesm2020/smartsoft001-angular.mjs +1060 -1074
- package/fesm2020/smartsoft001-angular.mjs.map +1 -1
- package/lib/components/accordion/accordion.component.d.ts +1 -1
- package/lib/components/accordion/body/body.component.d.ts +1 -1
- package/lib/components/accordion/header/header.component.d.ts +1 -1
- package/lib/components/app/base/base.component.d.ts +1 -1
- package/lib/components/app/split-panel/split-panel.component.d.ts +1 -1
- package/lib/components/base/base.component.d.ts +1 -1
- package/lib/components/button/base/base.component.d.ts +1 -1
- package/lib/components/button/button.component.d.ts +1 -1
- package/lib/components/button/standard/standard.component.d.ts +1 -1
- package/lib/components/card/card.component.d.ts +1 -1
- package/lib/components/chart/bar/bar.component.d.ts +1 -1
- package/lib/components/chart/base/base.component.d.ts +1 -1
- package/lib/components/chart/chart.component.d.ts +1 -1
- package/lib/components/chart/line/line.component.d.ts +1 -1
- package/lib/components/date-edit/date-edit.component.d.ts +1 -1
- package/lib/components/date-range/date-range.component.d.ts +6 -6
- package/lib/components/detail/address/address.component.d.ts +1 -1
- package/lib/components/detail/array/array.component.d.ts +1 -1
- package/lib/components/detail/attachment/attachment.component.d.ts +1 -1
- package/lib/components/detail/base/base.component.d.ts +1 -1
- package/lib/components/detail/color/color.component.d.ts +1 -1
- package/lib/components/detail/date-range/date-range.component.d.ts +1 -1
- package/lib/components/detail/detail.component.d.ts +1 -1
- package/lib/components/detail/email/email.component.d.ts +1 -1
- package/lib/components/detail/enum/enum.component.d.ts +1 -1
- package/lib/components/detail/flag/flag.component.d.ts +1 -1
- package/lib/components/detail/image/image.component.d.ts +1 -1
- package/lib/components/detail/logo/logo.component.d.ts +1 -1
- package/lib/components/detail/object/object.component.d.ts +1 -1
- package/lib/components/detail/pdf/pdf.component.d.ts +1 -1
- package/lib/components/detail/phone-number-pl/phone-number-pl.component.d.ts +1 -1
- package/lib/components/detail/text/text.component.d.ts +1 -1
- package/lib/components/detail/video/video.component.d.ts +1 -1
- package/lib/components/details/base/base.component.d.ts +1 -1
- package/lib/components/details/details.component.d.ts +1 -1
- package/lib/components/details/standard/standard.component.d.ts +1 -1
- package/lib/components/dynamic/dynamic.component.d.ts +1 -1
- package/lib/components/error-context/error-context.component.d.ts +1 -1
- package/lib/components/export/export.component.d.ts +1 -1
- package/lib/components/form/base/base.component.d.ts +4 -4
- package/lib/components/form/form.component.d.ts +1 -1
- package/lib/components/form/standard/standard.component.d.ts +1 -1
- package/lib/components/form/stepper/stepper.component.d.ts +4 -4
- package/lib/components/grid/column/column.component.d.ts +1 -1
- package/lib/components/grid/grid.component.d.ts +1 -1
- package/lib/components/grid/row/row.component.d.ts +1 -1
- package/lib/components/import/import.component.d.ts +1 -1
- package/lib/components/info/info.component.d.ts +2 -2
- package/lib/components/input/address/address.component.d.ts +1 -1
- package/lib/components/input/array/array.component.d.ts +1 -1
- package/lib/components/input/attachment/attachment.component.d.ts +1 -1
- package/lib/components/input/base/base.component.d.ts +1 -1
- package/lib/components/input/base/file.component.d.ts +1 -1
- package/lib/components/input/base/possibilities.component.d.ts +1 -1
- package/lib/components/input/check/check.component.d.ts +1 -1
- package/lib/components/input/color/color.component.d.ts +1 -1
- package/lib/components/input/currency/currency.component.d.ts +1 -1
- package/lib/components/input/date/date.component.d.ts +1 -1
- package/lib/components/input/date-range/date-range.component.d.ts +1 -1
- package/lib/components/input/date-with-edit/date-with-edit.component.d.ts +1 -1
- package/lib/components/input/email/email.component.d.ts +1 -1
- package/lib/components/input/enum/enum.component.d.ts +1 -1
- package/lib/components/input/error/error.component.d.ts +1 -1
- package/lib/components/input/file/file.component.d.ts +1 -1
- package/lib/components/input/flag/flag.component.d.ts +1 -1
- package/lib/components/input/float/float.component.d.ts +1 -1
- package/lib/components/input/image/image.component.d.ts +1 -1
- package/lib/components/input/input.component.d.ts +1 -1
- package/lib/components/input/int/int.component.d.ts +1 -1
- package/lib/components/input/ints/ints.component.d.ts +5 -5
- package/lib/components/input/logo/logo.component.d.ts +1 -1
- package/lib/components/input/long-text/long-text.component.d.ts +1 -1
- package/lib/components/input/nip/nip.component.d.ts +1 -1
- package/lib/components/input/object/object.component.d.ts +1 -1
- package/lib/components/input/password/password.component.d.ts +1 -1
- package/lib/components/input/pdf/pdf.component.d.ts +1 -1
- package/lib/components/input/pesel/pesel.component.d.ts +1 -1
- package/lib/components/input/phone-number/phone-number.component.d.ts +1 -1
- package/lib/components/input/phone-number-pl/phone-number-pl.component.d.ts +1 -1
- package/lib/components/input/radio/radio.component.d.ts +1 -1
- package/lib/components/input/strings/strings.component.d.ts +5 -5
- package/lib/components/input/text/text.component.d.ts +1 -1
- package/lib/components/input/video/video.component.d.ts +1 -1
- package/lib/components/list/base/base.component.d.ts +1 -1
- package/lib/components/list/desktop/desktop.component.d.ts +1 -1
- package/lib/components/list/list.component.d.ts +1 -1
- package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +1 -1
- package/lib/components/list/mobile/mobile.component.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -1
- package/lib/components/page/base/base.component.d.ts +1 -1
- package/lib/components/page/page.component.d.ts +1 -1
- package/lib/components/page/standard/standard.component.d.ts +1 -1
- package/lib/components/paging/paging.component.d.ts +1 -1
- package/lib/components/password-strength/password-strength.component.d.ts +1 -1
- package/lib/components/searchbar/searchbar.component.d.ts +3 -3
- package/lib/components/tabs/tab/tab.component.d.ts +1 -1
- package/lib/components/tabs/tabs.component.d.ts +1 -1
- package/lib/directives/date-validator/date-validator.directive.d.ts +1 -1
- package/lib/directives/details/details.directive.d.ts +1 -1
- package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +1 -1
- package/lib/directives/viewport-show/viewport-show.directive.d.ts +1 -1
- package/lib/factories/form/form.factory.d.ts +2 -2
- package/lib/pages/details/details.page.d.ts +1 -1
- package/lib/pipes/enum-to-list/enum-to-list.pipe.d.ts +1 -1
- package/lib/pipes/file-url/file-url.pipe.d.ts +1 -1
- package/lib/pipes/list-cell/list-cell.pipe.d.ts +1 -1
- package/lib/pipes/list-header/list-header.pipe.d.ts +1 -1
- package/lib/pipes/model-label/model-label.pipe.d.ts +1 -1
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +1 -1
- package/lib/pipes/virtual-data-source/virtual-data-source.pipe.d.ts +1 -1
- package/lib/services/form/form.group.d.ts +3 -3
- package/package.json +16 -16
- package/smartsoft001-angular.d.ts +0 -5
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ChangeDetectorRef, Component } from '@angular/core';
|
|
2
2
|
import { InputBaseComponent } from "../base/base.component";
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@
|
|
5
|
-
import * as i2 from "@angular
|
|
4
|
+
import * as i1 from "@angular/common";
|
|
5
|
+
import * as i2 from "@ionic/angular";
|
|
6
6
|
import * as i3 from "@angular/forms";
|
|
7
7
|
import * as i4 from "../../../pipes/model-label/model-label.pipe";
|
|
8
8
|
export class InputTextComponent extends InputBaseComponent {
|
|
@@ -11,9 +11,9 @@ export class InputTextComponent extends InputBaseComponent {
|
|
|
11
11
|
}
|
|
12
12
|
ngOnInit() { }
|
|
13
13
|
}
|
|
14
|
-
/** @nocollapse */ InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
15
|
-
/** @nocollapse */ InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: InputTextComponent, selector: "smart-input-text", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input [formControl]=\"control\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"], components: [{ type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { type: i1.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { type: i1.IonInput, selector: "ion-input", inputs: ["accept", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "clearInput", "clearOnEdit", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "max", "maxlength", "min", "minlength", "mode", "multiple", "name", "pattern", "placeholder", "readonly", "required", "size", "spellcheck", "step", "type", "value"] }], directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }], pipes: { "async": i2.AsyncPipe, "smartModelLabel": i4.ModelLabelPipe } });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
14
|
+
/** @nocollapse */ InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputTextComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
/** @nocollapse */ InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: InputTextComponent, selector: "smart-input-text", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input [formControl]=\"control\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonInput, selector: "ion-input", inputs: ["accept", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "clearInput", "clearOnEdit", "color", "debounce", "disabled", "enterkeyhint", "inputmode", "max", "maxlength", "min", "minlength", "mode", "multiple", "name", "pattern", "placeholder", "readonly", "required", "size", "spellcheck", "step", "type", "value"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.ModelLabelPipe, name: "smartModelLabel" }] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'smart-input-text', template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input [formControl]=\"control\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"] }]
|
|
19
19
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
@@ -8,9 +8,9 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
import * as i1 from "../../../services/file/file.service";
|
|
9
9
|
import * as i2 from "../../../services/toast/toast.service";
|
|
10
10
|
import * as i3 from "@ngx-translate/core";
|
|
11
|
-
import * as i4 from "@
|
|
12
|
-
import * as i5 from "
|
|
13
|
-
import * as i6 from "
|
|
11
|
+
import * as i4 from "@angular/common";
|
|
12
|
+
import * as i5 from "@ionic/angular";
|
|
13
|
+
import * as i6 from "../../button/button.component";
|
|
14
14
|
import * as i7 from "../../../pipes/model-label/model-label.pipe";
|
|
15
15
|
export class InputVideoComponent extends InputFileBaseComponent {
|
|
16
16
|
constructor(cd, renderer, fileService, toastService, translateService) {
|
|
@@ -36,10 +36,10 @@ export class InputVideoComponent extends InputFileBaseComponent {
|
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
/** @nocollapse */ InputVideoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
40
|
-
/** @nocollapse */ InputVideoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
39
|
+
/** @nocollapse */ InputVideoComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputVideoComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.FileService }, { token: i2.ToastService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
40
|
+
/** @nocollapse */ InputVideoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: InputVideoComponent, selector: "smart-input-video", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ng-container *ngIf=\"control.value\">({{ control.value.fileName }})</ng-container>\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label><br/>\n <smart-button [options]=\"addButtonOptions\">{{ (control.value ? 'change' : 'add') | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value && !play\" [options]=\"playButtonOptions\">{{ 'play' | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value\" [options]=\"deleteButtonOptions\">{{ 'delete' | translate }}</smart-button>\n\n <ion-progress-bar *ngIf=\"loading$ | async\" [value]=\"(percent$ | async) / 100\"></ion-progress-bar>\n\n <ng-container *ngIf=\"url && play\">\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\">\n Your browser does not support the video tag.\n </video>\n </ng-container>\n</ng-container>\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i5.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i5.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: i6.ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "pipe", type: i7.ModelLabelPipe, name: "smartModelLabel" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputVideoComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
|
-
args: [{ selector: "smart-input-video", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ng-container *ngIf=\"control.value\">({{ control.value.fileName }})</ng-container>\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label><br/>\n <smart-button [options]=\"addButtonOptions\">{{ (control.value ? 'change' : 'add') | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value && !play\" [options]=\"playButtonOptions\">{{ 'play' | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value\" [options]=\"deleteButtonOptions\">{{ 'delete' | translate }}</smart-button>\n\n <ion-progress-bar *ngIf=\"loading$ | async\" [value]=\"(percent$ | async) / 100\"></ion-progress-bar>\n\n <ng-container *ngIf=\"url && play\">\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\">\n Your browser does not support the video tag.\n </video>\n </ng-container>\n</ng-container>\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj>"
|
|
43
|
+
args: [{ selector: "smart-input-video", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ng-container *ngIf=\"control.value\">({{ control.value.fileName }})</ng-container>\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label><br/>\n <smart-button [options]=\"addButtonOptions\">{{ (control.value ? 'change' : 'add') | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value && !play\" [options]=\"playButtonOptions\">{{ 'play' | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value\" [options]=\"deleteButtonOptions\">{{ 'delete' | translate }}</smart-button>\n\n <ion-progress-bar *ngIf=\"loading$ | async\" [value]=\"(percent$ | async) / 100\"></ion-progress-bar>\n\n <ng-container *ngIf=\"url && play\">\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\">\n Your browser does not support the video tag.\n </video>\n </ng-container>\n</ng-container>\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj>" }]
|
|
44
44
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.FileService }, { type: i2.ToastService }, { type: i3.TranslateService }]; } });
|
|
45
45
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvdmlkZW8vdmlkZW8uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvdmlkZW8vdmlkZW8uY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNILHVCQUF1QixFQUFFLGlCQUFpQixFQUMxQyxTQUFTLEVBQ0QsU0FBUyxHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxxQkFBcUIsQ0FBQztBQUVyRCxPQUFPLEVBQUMsc0JBQXNCLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUM5RCxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFDaEUsT0FBTyxFQUFDLEtBQUssRUFBRSxHQUFHLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUUxQyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sdUNBQXVDLENBQUM7Ozs7Ozs7OztBQVFuRSxNQUFNLE9BQU8sbUJBQXVCLFNBQVEsc0JBQXlCO0lBVWpFLFlBQ0ksRUFBcUIsRUFDckIsUUFBbUIsRUFDbkIsV0FBd0IsRUFDeEIsWUFBMEIsRUFDMUIsZ0JBQWtDO1FBRWxDLEtBQUssQ0FBQyxFQUFFLEVBQUUsUUFBUSxFQUFFLFdBQVcsRUFBRSxZQUFZLEVBQUUsZ0JBQWdCLENBQUMsQ0FBQztRQWRyRSxzQkFBaUIsR0FBbUI7WUFDaEMsS0FBSyxFQUFFLEdBQUcsRUFBRTtnQkFDUixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztZQUNyQixDQUFDO1lBQ0QsUUFBUSxFQUFFLElBQUksQ0FBQyxRQUFRO1NBQzFCLENBQUM7SUFVRixDQUFDO0lBRVMsc0JBQXNCO1FBQzVCLEtBQUssQ0FBQyxzQkFBc0IsRUFBRSxDQUFDO1FBRS9CLElBQUksQ0FBQyxPQUFPLENBQUMsWUFBWSxDQUFDLElBQUksQ0FDMUIsR0FBRyxDQUFDLEdBQUcsRUFBRTtZQUNMLElBQUksQ0FBQyxHQUFHLEdBQUcsSUFBSSxDQUFDO1lBQ2hCLElBQUksQ0FBQyxJQUFJLEdBQUcsS0FBSyxDQUFDO1lBQ2xCLElBQUksQ0FBQyxFQUFFLENBQUMsYUFBYSxFQUFFLENBQUM7UUFDNUIsQ0FBQyxDQUFDLEVBQ0YsS0FBSyxDQUFDLElBQUksQ0FBQyxFQUNYLElBQUksQ0FBQyxnQkFBZ0IsQ0FDeEIsQ0FBQyxTQUFTLENBQUMsS0FBSyxDQUFDLEVBQUU7WUFDaEIsSUFBSSxDQUFDLEtBQUssRUFBRSxFQUFFO2dCQUFFLE9BQU87WUFFdkIsSUFBSSxDQUFDLEdBQUcsR0FBRyxJQUFJLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUM7WUFFN0MsSUFBSSxDQUFDLEVBQUUsQ0FBQyxhQUFhLEVBQUUsQ0FBQztRQUM1QixDQUFDLENBQUMsQ0FBQTtJQUNOLENBQUM7O21JQXRDUSxtQkFBbUI7dUhBQW5CLG1CQUFtQixnRkNuQmhDLHF1Q0F1QjJEOzJGREo5QyxtQkFBbUI7a0JBTi9CLFNBQVM7K0JBQ0ksbUJBQW1CLG1CQUdaLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICAgIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDaGFuZ2VEZXRlY3RvclJlZixcbiAgICBDb21wb25lbnQsXG4gICAgT25Jbml0LCBSZW5kZXJlcjIsXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHtUcmFuc2xhdGVTZXJ2aWNlfSBmcm9tIFwiQG5neC10cmFuc2xhdGUvY29yZVwiO1xuXG5pbXBvcnQge0lucHV0RmlsZUJhc2VDb21wb25lbnR9IGZyb20gXCIuLi9iYXNlL2ZpbGUuY29tcG9uZW50XCI7XG5pbXBvcnQge0ZpbGVTZXJ2aWNlfSBmcm9tIFwiLi4vLi4vLi4vc2VydmljZXMvZmlsZS9maWxlLnNlcnZpY2VcIjtcbmltcG9ydCB7ZGVsYXksIHRhcH0gZnJvbSBcInJ4anMvb3BlcmF0b3JzXCI7XG5pbXBvcnQge0lCdXR0b25PcHRpb25zfSBmcm9tIFwiLi4vLi4vLi4vbW9kZWxzXCI7XG5pbXBvcnQge1RvYXN0U2VydmljZX0gZnJvbSBcIi4uLy4uLy4uL3NlcnZpY2VzL3RvYXN0L3RvYXN0LnNlcnZpY2VcIjtcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6IFwic21hcnQtaW5wdXQtdmlkZW9cIixcbiAgICB0ZW1wbGF0ZVVybDogXCIuL3ZpZGVvLmNvbXBvbmVudC5odG1sXCIsXG4gICAgc3R5bGVVcmxzOiBbXCIuL3ZpZGVvLmNvbXBvbmVudC5zY3NzXCJdLFxuICAgIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoXG59KVxuZXhwb3J0IGNsYXNzIElucHV0VmlkZW9Db21wb25lbnQ8VD4gZXh0ZW5kcyBJbnB1dEZpbGVCYXNlQ29tcG9uZW50PFQ+IGltcGxlbWVudHMgT25Jbml0IHtcbiAgICB1cmw6IHN0cmluZztcbiAgICBwbGF5OiBib29sZWFuO1xuICAgIHBsYXlCdXR0b25PcHRpb25zOiBJQnV0dG9uT3B0aW9ucyA9IHtcbiAgICAgICAgY2xpY2s6ICgpID0+IHtcbiAgICAgICAgICAgIHRoaXMucGxheSA9IHRydWU7XG4gICAgICAgIH0sXG4gICAgICAgIGxvYWRpbmckOiB0aGlzLmxvYWRpbmckLFxuICAgIH07XG5cbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgY2Q6IENoYW5nZURldGVjdG9yUmVmLFxuICAgICAgICByZW5kZXJlcjogUmVuZGVyZXIyLFxuICAgICAgICBmaWxlU2VydmljZTogRmlsZVNlcnZpY2UsXG4gICAgICAgIHRvYXN0U2VydmljZTogVG9hc3RTZXJ2aWNlLFxuICAgICAgICB0cmFuc2xhdGVTZXJ2aWNlOiBUcmFuc2xhdGVTZXJ2aWNlXG4gICAgKSB7XG4gICAgICAgIHN1cGVyKGNkLCByZW5kZXJlciwgZmlsZVNlcnZpY2UsIHRvYXN0U2VydmljZSwgdHJhbnNsYXRlU2VydmljZSk7XG4gICAgfVxuXG4gICAgcHJvdGVjdGVkIGFmdGVyU2V0T3B0aW9uc0hhbmRsZXIoKSB7XG4gICAgICAgIHN1cGVyLmFmdGVyU2V0T3B0aW9uc0hhbmRsZXIoKTtcblxuICAgICAgICB0aGlzLmNvbnRyb2wudmFsdWVDaGFuZ2VzLnBpcGUoXG4gICAgICAgICAgICB0YXAoKCkgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMudXJsID0gbnVsbDtcbiAgICAgICAgICAgICAgICB0aGlzLnBsYXkgPSBmYWxzZTtcbiAgICAgICAgICAgICAgICB0aGlzLmNkLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgICAgIH0pLFxuICAgICAgICAgICAgZGVsYXkoNTAwMCksXG4gICAgICAgICAgICB0aGlzLnRha2VVbnRpbERlc3Ryb3ksXG4gICAgICAgICkuc3Vic2NyaWJlKHZhbHVlID0+IHtcbiAgICAgICAgICAgIGlmICghdmFsdWU/LmlkKSByZXR1cm47XG5cbiAgICAgICAgICAgIHRoaXMudXJsID0gdGhpcy5maWxlU2VydmljZS5nZXRVcmwodmFsdWUuaWQpO1xuXG4gICAgICAgICAgICB0aGlzLmNkLmRldGVjdENoYW5nZXMoKTtcbiAgICAgICAgfSlcbiAgICB9XG59IiwiPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbnRyb2xcIj5cbiAgICA8aW9uLWxhYmVsIHBvc2l0aW9uPVwiZmxvYXRpbmdcIj5cbiAgICAgICAge3sgY29udHJvbD8ucGFyZW50Py52YWx1ZSB8IHNtYXJ0TW9kZWxMYWJlbCA6IGludGVybmFsT3B0aW9ucy5maWVsZEtleSA6IGludGVybmFsT3B0aW9ucz8ubW9kZWw/LmNvbnN0cnVjdG9yIHwgYXN5bmMgfX1cbiAgICAgICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cImNvbnRyb2wudmFsdWVcIj4oe3sgY29udHJvbC52YWx1ZS5maWxlTmFtZSB9fSk8L25nLWNvbnRhaW5lcj5cbiAgICAgICAgPGlvbi10ZXh0IGNvbG9yPVwiZGFuZ2VyXCI+XG4gICAgICAgICAgICA8c3BhbiAqbmdJZj1cInJlcXVpcmVkXCI+Kjwvc3Bhbj5cbiAgICAgICAgPC9pb24tdGV4dD5cbiAgICA8L2lvbi1sYWJlbD48YnIvPlxuICAgIDxzbWFydC1idXR0b24gW29wdGlvbnNdPVwiYWRkQnV0dG9uT3B0aW9uc1wiPnt7IChjb250cm9sLnZhbHVlID8gJ2NoYW5nZScgOiAnYWRkJykgfCB0cmFuc2xhdGUgfX08L3NtYXJ0LWJ1dHRvbj5cblxuICAgIDxzbWFydC1idXR0b24gKm5nSWY9XCJjb250cm9sLnZhbHVlICYmICFwbGF5XCIgW29wdGlvbnNdPVwicGxheUJ1dHRvbk9wdGlvbnNcIj57eyAncGxheScgfCB0cmFuc2xhdGUgfX08L3NtYXJ0LWJ1dHRvbj5cblxuICAgIDxzbWFydC1idXR0b24gKm5nSWY9XCJjb250cm9sLnZhbHVlXCIgW29wdGlvbnNdPVwiZGVsZXRlQnV0dG9uT3B0aW9uc1wiPnt7ICdkZWxldGUnIHwgdHJhbnNsYXRlIH19PC9zbWFydC1idXR0b24+XG5cbiAgICA8aW9uLXByb2dyZXNzLWJhciAqbmdJZj1cImxvYWRpbmckIHwgYXN5bmNcIiBbdmFsdWVdPVwiKHBlcmNlbnQkIHwgYXN5bmMpIC8gMTAwXCI+PC9pb24tcHJvZ3Jlc3MtYmFyPlxuXG4gICAgPG5nLWNvbnRhaW5lciAqbmdJZj1cInVybCAmJiBwbGF5XCI+XG4gICAgICAgIDx2aWRlbyBzdHlsZT1cIndpZHRoOiAxMDAlXCIgY29udHJvbHMgY29udHJvbHNMaXN0PVwibm9kb3dubG9hZFwiPlxuICAgICAgICAgICAgPHNvdXJjZSB0eXBlPVwidmlkZW8vbXA0XCIgW3NyY109XCJ1cmxcIj5cbiAgICAgICAgICAgIFlvdXIgYnJvd3NlciBkb2VzIG5vdCBzdXBwb3J0IHRoZSB2aWRlbyB0YWcuXG4gICAgICAgIDwvdmlkZW8+XG4gICAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbjxpbnB1dCB0eXBlPVwiZmlsZVwiIGFjY2VwdD1cIi5tcDRcIiBbaGlkZGVuXT1cInRydWVcIiAjaW5wdXRPYmo+Il19
|
|
@@ -154,9 +154,9 @@ export class ListBaseComponent {
|
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
ListBaseComponent.smartType = "list";
|
|
157
|
-
/** @nocollapse */ ListBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
158
|
-
/** @nocollapse */ ListBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
157
|
+
/** @nocollapse */ ListBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ListBaseComponent, deps: [{ token: i1.AuthService }, { token: i2.Router }, { token: i3.AlertService }, { token: i0.ChangeDetectorRef }, { token: i4.TranslateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
158
|
+
/** @nocollapse */ ListBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: ListBaseComponent, inputs: { options: "options" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0 });
|
|
159
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ListBaseComponent, decorators: [{
|
|
160
160
|
type: Directive
|
|
161
161
|
}], ctorParameters: function () { return [{ type: i1.AuthService }, { type: i2.Router }, { type: i3.AlertService }, { type: i0.ChangeDetectorRef }, { type: i4.TranslateService }]; }, propDecorators: { options: [{
|
|
162
162
|
type: Input
|
|
@@ -13,17 +13,17 @@ import * as i2 from "@angular/router";
|
|
|
13
13
|
import * as i3 from "../../../services/alert/alert.service";
|
|
14
14
|
import * as i4 from "@ngx-translate/core";
|
|
15
15
|
import * as i5 from "@angular/cdk/overlay";
|
|
16
|
-
import * as i6 from "@angular/
|
|
16
|
+
import * as i6 from "@angular/common";
|
|
17
17
|
import * as i7 from "@ionic/angular";
|
|
18
|
-
import * as i8 from "
|
|
19
|
-
import * as i9 from "
|
|
20
|
-
import * as i10 from "@angular/
|
|
21
|
-
import * as i11 from "
|
|
22
|
-
import * as i12 from "
|
|
23
|
-
import * as i13 from "
|
|
24
|
-
import * as i14 from "../../../pipes/list-
|
|
25
|
-
import * as i15 from "../../../pipes/
|
|
26
|
-
import * as i16 from "../../../pipes/
|
|
18
|
+
import * as i8 from "../../../directives/details/details.directive";
|
|
19
|
+
import * as i9 from "@angular/material/table";
|
|
20
|
+
import * as i10 from "@angular/material/sort";
|
|
21
|
+
import * as i11 from "ng-lazyload-image";
|
|
22
|
+
import * as i12 from "@angular/cdk/table";
|
|
23
|
+
import * as i13 from "../../paging/paging.component";
|
|
24
|
+
import * as i14 from "../../../pipes/list-cell/list-cell.pipe";
|
|
25
|
+
import * as i15 from "../../../pipes/file-url/file-url.pipe";
|
|
26
|
+
import * as i16 from "../../../pipes/list-header/list-header.pipe";
|
|
27
27
|
export class ListDesktopComponent extends ListBaseComponent {
|
|
28
28
|
constructor(authService, router, alertService, cd, translateService, scrollDispatcher) {
|
|
29
29
|
super(authService, router, alertService, cd, translateService);
|
|
@@ -110,11 +110,11 @@ export class ListDesktopComponent extends ListBaseComponent {
|
|
|
110
110
|
console.log("dupa");
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
/** @nocollapse */ ListDesktopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
114
|
-
/** @nocollapse */ ListDesktopComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
113
|
+
/** @nocollapse */ ListDesktopComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ListDesktopComponent, deps: [{ token: i1.AuthService }, { token: i2.Router }, { token: i3.AlertService }, { token: i0.ChangeDetectorRef }, { token: i4.TranslateService }, { token: i5.ScrollDispatcher }], target: i0.ɵɵFactoryTarget.Component });
|
|
114
|
+
/** @nocollapse */ ListDesktopComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: ListDesktopComponent, selector: "smart-list-desktop", viewQueries: [{ propertyName: "sortObj", first: true, predicate: MatSort, descendants: true, static: true }, { propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<div #topTpl></div>\n\n<div style=\"width: 100%; overflow-y: auto\">\n <table cdk-table matSort [dataSource]=\"(list$ | async)\" recycleRows [trackBy]=\"myTrackById\" style=\"overflow-y: auto\">\n <ng-container\n *ngFor=\"let key of desktopKeys; let last = last\"\n matColumnDef=\"{{ key }}\"\n class=\"col-sm\" style=\"text-align: left\"\n >\n <div [ngSwitch]=\"key\">\n\n <ng-container *ngSwitchCase=\"'selectMulti'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-checkbox style=\"margin-right: 15px\" *ngIf=\"list$ | async; let list\" (ionChange)=\"onChangeMultiselect($event.detail.checked, element, list)\"></ion-checkbox>\n </td>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"'removeAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button (click)=\"removeHandler(element)\" *ngIf=\"!checkRemoveHandler || checkRemoveHandler(element)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'detailsAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button\n (click)=\"detailsButtonOptions.click()\"\n [smartDetails]=\"{\n component: detailsComponent,\n params: detailsComponentProps,\n mode: 'bottom'\n }\"\n (smartDetailsShowed)=\"select && select(element.id)\"\n >\n <ion-icon slot=\"icon-only\" name=\"ellipsis-vertical-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'itemAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button (click)=\"itemHandler(element.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <th cdk-header-cell *matHeaderCellDef mat-sort-header=\"{{ key }}\">\n {{ (list$ | async) | smartListHeader : key : type | async }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <ng-container *matCellDef=\"let element\">\n <td cdk-cell [attr.smart-item-key]=\"key\"\n *ngIf=\"element | smartListCell : key : cellPipe : type; else blankCellTpl; let cell\"\n [style.width.px]=\"cell.type === FieldType.image ? 60 : null\"\n [style.textAlign]=\"cell.type === FieldType.image ? 'center' : null\"\n >\n <ng-container [ngSwitch]=\"cell.type\">\n <img *ngSwitchCase=\"FieldType.image\" height=\"50\" [lazyLoad]=\"cell.value | smartFileUrl\">\n <div *ngSwitchDefault class=\"cell-html\" [innerHTML]=\"cell.value\"></div>\n </ng-container>\n </td>\n <ng-template #blankCellTpl><td cdk-cell></td></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <ng-template #pagination>\n <ng-container *ngIf=\"last && loadNextPage && (totalPages$ | async)\">\n {{ \"page\" | translate }}:\n <b>{{ page$ | async }}/{{ totalPages$ | async }}</b>\n </ng-container>\n </ng-template>\n </ng-container>\n\n <tr cdk-header-row *matHeaderRowDef=\"desktopKeys; sticky: true\"></tr>\n <tr cdk-row *matRowDef=\"let row; columns: desktopKeys\"></tr>\n </table>\n</div>\n\n<ion-infinite-scroll\n threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: [".cell-details{width:20px}table{width:100%}table .mat-row,table .mat-header-row{background:white;min-width:1200px}.wrapper{height:100%}.mat-row,.mat-header-row{min-width:1200px}.cell-html{min-height:30px;padding-top:6px}\n", ""], dependencies: [{ kind: "directive", type: i6.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i6.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i6.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i6.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i6.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i6.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { kind: "component", type: i7.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i7.IonCheckbox, selector: "ion-checkbox", inputs: ["checked", "color", "disabled", "indeterminate", "mode", "name", "value"] }, { kind: "component", type: i7.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i7.IonInfiniteScroll, selector: "ion-infinite-scroll", inputs: ["disabled", "position", "threshold"] }, { kind: "component", type: i7.IonInfiniteScrollContent, selector: "ion-infinite-scroll-content", inputs: ["loadingSpinner", "loadingText"] }, { kind: "directive", type: i7.BooleanValueAccessor, selector: "ion-checkbox,ion-toggle" }, { kind: "directive", type: i8.DetailsDirective, selector: "[smartDetails]", inputs: ["smartDetails"], outputs: ["smartDetailsShowed", "smartDetailsDismissed"] }, { kind: "directive", type: i9.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i9.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i9.MatColumnDef, selector: "[matColumnDef]", inputs: ["sticky", "matColumnDef"] }, { kind: "directive", type: i9.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i9.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i10.MatSort, selector: "[matSort]", inputs: ["matSortDisabled", "matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i10.MatSortHeader, selector: "[mat-sort-header]", inputs: ["disabled", "mat-sort-header", "arrowPosition", "start", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "directive", type: i11.LazyLoadImageDirective, selector: "[lazyLoad]", inputs: ["lazyLoad", "defaultImage", "errorImage", "scrollTarget", "customObservable", "offset", "useSrcset", "decode", "debug"], outputs: ["onStateChange"] }, { kind: "component", type: i12.CdkTable, selector: "cdk-table, table[cdk-table]", inputs: ["trackBy", "dataSource", "multiTemplateDataRows", "fixedLayout"], outputs: ["contentChanged"], exportAs: ["cdkTable"] }, { kind: "directive", type: i12.CdkCell, selector: "cdk-cell, td[cdk-cell]" }, { kind: "component", type: i12.CdkRow, selector: "cdk-row, tr[cdk-row]" }, { kind: "directive", type: i12.CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "component", type: i12.CdkHeaderRow, selector: "cdk-header-row, tr[cdk-header-row]" }, { kind: "directive", type: i12.CdkRecycleRows, selector: "cdk-table[recycleRows], table[cdk-table][recycleRows]" }, { kind: "component", type: i13.PagingComponent, selector: "smart-paging", inputs: ["page", "totalPages"], outputs: ["nextPage", "prevPage"] }, { kind: "pipe", type: i6.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }, { kind: "pipe", type: i14.ListCellPipe, name: "smartListCell" }, { kind: "pipe", type: i15.FileUrlPipe, name: "smartFileUrl" }, { kind: "pipe", type: i16.ListHeaderPipe, name: "smartListHeader" }] });
|
|
115
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ListDesktopComponent, decorators: [{
|
|
116
116
|
type: Component,
|
|
117
|
-
args: [{ selector: "smart-list-desktop", template: "<div #topTpl></div>\n\n<div style=\"width: 100%; overflow-y: auto\">\n <table cdk-table matSort [dataSource]=\"(list$ | async)\" recycleRows [trackBy]=\"myTrackById\" style=\"overflow-y: auto\">\n <ng-container\n *ngFor=\"let key of desktopKeys; let last = last\"\n matColumnDef=\"{{ key }}\"\n class=\"col-sm\" style=\"text-align: left\"\n >\n <div [ngSwitch]=\"key\">\n\n <ng-container *ngSwitchCase=\"'selectMulti'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-checkbox style=\"margin-right: 15px\" *ngIf=\"list$ | async; let list\" (ionChange)=\"onChangeMultiselect($event.detail.checked, element, list)\"></ion-checkbox>\n </td>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"'removeAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button (click)=\"removeHandler(element)\" *ngIf=\"!checkRemoveHandler || checkRemoveHandler(element)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'detailsAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button\n (click)=\"detailsButtonOptions.click()\"\n [smartDetails]=\"{\n component: detailsComponent,\n params: detailsComponentProps,\n mode: 'bottom'\n }\"\n (smartDetailsShowed)=\"select && select(element.id)\"\n >\n <ion-icon slot=\"icon-only\" name=\"ellipsis-vertical-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'itemAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button (click)=\"itemHandler(element.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <th cdk-header-cell *matHeaderCellDef mat-sort-header=\"{{ key }}\">\n {{ (list$ | async) | smartListHeader : key : type | async }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <ng-container *matCellDef=\"let element\">\n <td cdk-cell [attr.smart-item-key]=\"key\"\n *ngIf=\"element | smartListCell : key : cellPipe : type; else blankCellTpl; let cell\"\n [style.width.px]=\"cell.type === FieldType.image ? 60 : null\"\n [style.textAlign]=\"cell.type === FieldType.image ? 'center' : null\"\n >\n <ng-container [ngSwitch]=\"cell.type\">\n <img *ngSwitchCase=\"FieldType.image\" height=\"50\" [lazyLoad]=\"cell.value | smartFileUrl\">\n <div *ngSwitchDefault class=\"cell-html\" [innerHTML]=\"cell.value\"></div>\n </ng-container>\n </td>\n <ng-template #blankCellTpl><td cdk-cell></td></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <ng-template #pagination>\n <ng-container *ngIf=\"last && loadNextPage && (totalPages$ | async)\">\n {{ \"page\" | translate }}:\n <b>{{ page$ | async }}/{{ totalPages$ | async }}</b>\n </ng-container>\n </ng-template>\n </ng-container>\n\n <tr cdk-header-row *matHeaderRowDef=\"desktopKeys; sticky: true\"></tr>\n <tr cdk-row *matRowDef=\"let row; columns: desktopKeys\"></tr>\n </table>\n</div>\n\n<ion-infinite-scroll\n threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: [".cell-details{width:20px}table{width:100%}table .mat-row,table .mat-header-row{background:white;min-width:1200px}.wrapper{height:100%}.mat-row,.mat-header-row{min-width:1200px}.cell-html{min-height:30px;padding-top:6px}\n"
|
|
117
|
+
args: [{ selector: "smart-list-desktop", template: "<div #topTpl></div>\n\n<div style=\"width: 100%; overflow-y: auto\">\n <table cdk-table matSort [dataSource]=\"(list$ | async)\" recycleRows [trackBy]=\"myTrackById\" style=\"overflow-y: auto\">\n <ng-container\n *ngFor=\"let key of desktopKeys; let last = last\"\n matColumnDef=\"{{ key }}\"\n class=\"col-sm\" style=\"text-align: left\"\n >\n <div [ngSwitch]=\"key\">\n\n <ng-container *ngSwitchCase=\"'selectMulti'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-checkbox style=\"margin-right: 15px\" *ngIf=\"list$ | async; let list\" (ionChange)=\"onChangeMultiselect($event.detail.checked, element, list)\"></ion-checkbox>\n </td>\n </ng-container>\n\n\n <ng-container *ngSwitchCase=\"'removeAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button (click)=\"removeHandler(element)\" *ngIf=\"!checkRemoveHandler || checkRemoveHandler(element)\">\n <ion-icon slot=\"icon-only\" name=\"trash\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'detailsAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button\n (click)=\"detailsButtonOptions.click()\"\n [smartDetails]=\"{\n component: detailsComponent,\n params: detailsComponentProps,\n mode: 'bottom'\n }\"\n (smartDetailsShowed)=\"select && select(element.id)\"\n >\n <ion-icon slot=\"icon-only\" name=\"ellipsis-vertical-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'itemAction'\">\n <th cdk-header-cell class=\"cell-details\" *matHeaderCellDef>\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <td cdk-cell *matCellDef=\"let element\">\n <ion-button (click)=\"itemHandler(element.id)\">\n <ion-icon slot=\"icon-only\" name=\"arrow-forward-outline\"></ion-icon>\n </ion-button>\n </td>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <th cdk-header-cell *matHeaderCellDef mat-sort-header=\"{{ key }}\">\n {{ (list$ | async) | smartListHeader : key : type | async }}\n <ng-container *ngTemplateOutlet=\"pagination\"></ng-container>\n </th>\n <ng-container *matCellDef=\"let element\">\n <td cdk-cell [attr.smart-item-key]=\"key\"\n *ngIf=\"element | smartListCell : key : cellPipe : type; else blankCellTpl; let cell\"\n [style.width.px]=\"cell.type === FieldType.image ? 60 : null\"\n [style.textAlign]=\"cell.type === FieldType.image ? 'center' : null\"\n >\n <ng-container [ngSwitch]=\"cell.type\">\n <img *ngSwitchCase=\"FieldType.image\" height=\"50\" [lazyLoad]=\"cell.value | smartFileUrl\">\n <div *ngSwitchDefault class=\"cell-html\" [innerHTML]=\"cell.value\"></div>\n </ng-container>\n </td>\n <ng-template #blankCellTpl><td cdk-cell></td></ng-template>\n </ng-container>\n </ng-container>\n </div>\n\n <ng-template #pagination>\n <ng-container *ngIf=\"last && loadNextPage && (totalPages$ | async)\">\n {{ \"page\" | translate }}:\n <b>{{ page$ | async }}/{{ totalPages$ | async }}</b>\n </ng-container>\n </ng-template>\n </ng-container>\n\n <tr cdk-header-row *matHeaderRowDef=\"desktopKeys; sticky: true\"></tr>\n <tr cdk-row *matRowDef=\"let row; columns: desktopKeys\"></tr>\n </table>\n</div>\n\n<ion-infinite-scroll\n threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n", styles: [".cell-details{width:20px}table{width:100%}table .mat-row,table .mat-header-row{background:white;min-width:1200px}.wrapper{height:100%}.mat-row,.mat-header-row{min-width:1200px}.cell-html{min-height:30px;padding-top:6px}\n"] }]
|
|
118
118
|
}], ctorParameters: function () { return [{ type: i1.AuthService }, { type: i2.Router }, { type: i3.AlertService }, { type: i0.ChangeDetectorRef }, { type: i4.TranslateService }, { type: i5.ScrollDispatcher }]; }, propDecorators: { sortObj: [{
|
|
119
119
|
type: ViewChild,
|
|
120
120
|
args: [MatSort, { static: true }]
|