@smartsoft001/angular 1.1.843 → 1.1.846
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 +9 -9
- 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 +1069 -1083
- package/fesm2015/smartsoft001-angular.mjs.map +1 -1
- package/fesm2020/smartsoft001-angular.mjs +1061 -1075
- 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,20 +1,20 @@
|
|
|
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
|
-
import * as i4 from "
|
|
8
|
-
import * as i5 from "
|
|
7
|
+
import * as i4 from "@ngx-translate/core";
|
|
8
|
+
import * as i5 from "../../../pipes/model-label/model-label.pipe";
|
|
9
9
|
export class InputAddressComponent extends InputBaseComponent {
|
|
10
10
|
constructor(cd) {
|
|
11
11
|
super(cd);
|
|
12
12
|
}
|
|
13
13
|
ngOnInit() { }
|
|
14
14
|
}
|
|
15
|
-
/** @nocollapse */ InputAddressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
/** @nocollapse */ InputAddressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: InputAddressComponent, selector: "smart-input-address", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <br/>\n <ion-label>\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\n <ion-list [formGroup]=\"control\">\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.city' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"city\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.zipCode' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"zipCode\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.street' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"street\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.buildingNumber' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"buildingNumber\"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.flatNumber' | translate }}\n </ion-label>\n <ion-input formControlName=\"flatNumber\"></ion-input>\n </ion-item>\n </ion-list>\n</ng-container>\n", 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.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { 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: i3.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { type: i1.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }], pipes: { "async": i2.AsyncPipe, "smartModelLabel": i4.ModelLabelPipe, "translate": i5.TranslatePipe } });
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
/** @nocollapse */ InputAddressComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputAddressComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
/** @nocollapse */ InputAddressComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: InputAddressComponent, selector: "smart-input-address", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <br/>\n <ion-label>\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\n <ion-list [formGroup]=\"control\">\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.city' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"city\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.zipCode' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"zipCode\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.street' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"street\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.buildingNumber' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"buildingNumber\"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.flatNumber' | translate }}\n </ion-label>\n <ion-input formControlName=\"flatNumber\"></ion-input>\n </ion-item>\n </ion-list>\n</ng-container>\n", 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.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { 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.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i3.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }, { kind: "pipe", type: i5.ModelLabelPipe, name: "smartModelLabel" }] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputAddressComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'smart-input-address', template: "<ng-container *ngIf=\"control\">\n <br/>\n <ion-label>\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\n <ion-list [formGroup]=\"control\">\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.city' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"city\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.zipCode' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"zipCode\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.street' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"street\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n </ion-item>\n\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.buildingNumber' | translate }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input formControlName=\"buildingNumber\"></ion-input>\n </ion-item>\n <ion-item>\n <ion-label position=\"floating\">\n {{ 'MODEL.flatNumber' | translate }}\n </ion-label>\n <ion-input formControlName=\"flatNumber\"></ion-input>\n </ion-item>\n </ion-list>\n</ng-container>\n", 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"] }]
|
|
20
20
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
@@ -6,16 +6,16 @@ import { FieldType, getModelFieldOptions, getModelOptions } from "@smartsoft001/
|
|
|
6
6
|
import { FORM_COMPONENT_TOKEN } from "../../../shared.inectors";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "../../../factories/form/form.factory";
|
|
9
|
-
import * as i2 from "@
|
|
10
|
-
import * as i3 from "
|
|
11
|
-
import * as i4 from "
|
|
12
|
-
import * as i5 from "
|
|
9
|
+
import * as i2 from "@angular/common";
|
|
10
|
+
import * as i3 from "@ionic/angular";
|
|
11
|
+
import * as i4 from "@angular/cdk/drag-drop";
|
|
12
|
+
import * as i5 from "ng-dynamic-component";
|
|
13
13
|
import * as i6 from "../../button/button.component";
|
|
14
|
-
import * as i7 from "
|
|
15
|
-
import * as i8 from "
|
|
16
|
-
import * as i9 from "
|
|
17
|
-
import * as i10 from "
|
|
18
|
-
import * as i11 from "
|
|
14
|
+
import * as i7 from "../../accordion/accordion.component";
|
|
15
|
+
import * as i8 from "../../accordion/header/header.component";
|
|
16
|
+
import * as i9 from "../../accordion/body/body.component";
|
|
17
|
+
import * as i10 from "@ngx-translate/core";
|
|
18
|
+
import * as i11 from "../../../pipes/model-label/model-label.pipe";
|
|
19
19
|
export class InputArrayComponent extends InputBaseComponent {
|
|
20
20
|
constructor(cd, factory, formComponent) {
|
|
21
21
|
super(cd);
|
|
@@ -101,13 +101,13 @@ export class InputArrayComponent extends InputBaseComponent {
|
|
|
101
101
|
return options;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
/** @nocollapse */ InputArrayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
105
|
-
/** @nocollapse */ InputArrayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.5", type: InputArrayComponent, selector: "smart-input-array", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"static\">\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-list class=\"array\"\n cdkDropList\n [cdkDropListDisabled]=\"fieldOptions?.possibilities?.static\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <ion-item class=\"array-box\" *ngFor=\"let options of childOptions; let index = index\" lines=\"none\" cdkDrag>\n <ion-card *ngIf=\"!(fieldOptions?.possibilities?.static); else staticCardTpl\">\n <smart-accordion [(show)]=\"options.show\" >\n <smart-accordion-header>\n <ion-card-header>\n <ion-item lines=\"none\">\n <ion-label *ngIf=\"!options.show && options.control?.value[options.modelOptions.titleKey]\">\n {{ options.control.value[options.modelOptions.titleKey] | translate }}\n </ion-label>\n <ion-button (click)=\"onRemove(index)\" size=\"small\" fill=\"outline\" slot=\"end\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-item>\n </ion-card-header>\n </smart-accordion-header>\n <smart-accordion-body>\n <ion-card-content>\n <ng-template [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: options }\"\n ></ng-template>\n </ion-card-content>\n </smart-accordion-body>\n </smart-accordion>\n </ion-card>\n\n <ng-template #staticCardTpl>\n <ion-card>\n <ion-card-content>\n <ng-template [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: options }\"\n ></ng-template>\n </ion-card-content>\n </ion-card>\n </ng-template>\n </ion-item>\n </ion-list>\n <smart-button [options]=\"addButtonOptions\" class=\"add\" *ngIf=\"!(fieldOptions?.possibilities?.static)\">\n <span style=\"font-weight: 300\">{{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }} > </span><b>{{ 'add' | translate }}</b>\n </smart-button>\n</ng-container>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Material+Icons\";@import\"https://fonts.googleapis.com/css2?family=Material+Icons+Outlined\";ion-label[position=static]{margin-top:1.6rem}.add{float:right}smart-form{width:100%;margin:.3rem 0;display:block;border-radius:.5rem}smart-form form{margin:0 -.9rem}smart-form ion-item{--padding-start: 0 !important;--padding-end: 0 !important;width:100%;padding-inline-end:0!important}smart-form[tree-level=\"1\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"2\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"2\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"2\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"3\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"3\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"3\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"4\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"4\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"4\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"5\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"5\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"5\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"6\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"6\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"6\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"],.cdk-drag-disabled smart-form[tree-level=\"2\"],.cdk-drag-disabled smart-form[tree-level=\"3\"],.cdk-drag-disabled smart-form[tree-level=\"4\"],.cdk-drag-disabled smart-form[tree-level=\"5\"],.cdk-drag-disabled smart-form[tree-level=\"6\"]{border-left:.1rem solid #dedede;border-bottom:.1rem solid #dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"]:before,.cdk-drag-disabled smart-form[tree-level=\"2\"]:before,.cdk-drag-disabled smart-form[tree-level=\"3\"]:before,.cdk-drag-disabled smart-form[tree-level=\"4\"]:before,.cdk-drag-disabled smart-form[tree-level=\"5\"]:before,.cdk-drag-disabled smart-form[tree-level=\"6\"]:before{display:none}ion-card{width:100%;margin:.3rem;padding-left:0}ion-card ion-card-header{padding:0;margin:0}ion-card ion-card-header ion-item{margin:0}ion-card ion-card-header ion-item item-inner{margin:0;padding:0}ion-card ion-card-header ion-button[fill=outline]{--border-color: transparent !important;margin-right:-1.2rem}ion-card ion-card-content{padding:0}.array,.smart-list{max-width:100%;min-height:60px;display:block;border-radius:4px;overflow:hidden;padding-top:0!important;padding-bottom:0!important}.array-box{padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;font-size:14px;background-color:transparent;box-shadow:none}.cdk-drag-preview{margin:0;padding:0;box-sizing:border-box;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.array-box:last-child{border:none}.array.cdk-drop-list-dragging .array-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}smart-accordion-header{cursor:move}\n"], components: [{ type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { type: i2.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { type: i2.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { type: i2.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { type: i3.AccordionComponent, selector: "smart-accordion", inputs: ["show"], outputs: ["showChange"] }, { type: i4.AccordionHeaderComponent, selector: "smart-accordion-header" }, { type: i2.IonCardHeader, selector: "ion-card-header", inputs: ["color", "mode", "translucent"] }, { type: i2.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { type: i5.AccordionBodyComponent, selector: "smart-accordion-body" }, { type: i2.IonCardContent, selector: "ion-card-content", inputs: ["mode"] }, { type: i6.ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }], directives: [{ type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i8.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i7.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModuleFactory"] }, { type: i9.ComponentOutletInjectorDirective, selector: "[ngComponentOutlet]", exportAs: ["ndcComponentOutletInjector"] }, { type: i9.DynamicIoDirective, selector: "[ndcDynamicInputs],[ndcDynamicOutputs],[ngComponentOutletNdcDynamicInputs],[ngComponentOutletNdcDynamicOutputs]", inputs: ["ndcDynamicInputs", "ngComponentOutletNdcDynamicInputs", "ndcDynamicOutputs", "ngComponentOutletNdcDynamicOutputs"] }], pipes: { "async": i7.AsyncPipe, "smartModelLabel": i10.ModelLabelPipe, "translate": i11.TranslatePipe } });
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
104
|
+
/** @nocollapse */ InputArrayComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputArrayComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.FormFactory }, { token: FORM_COMPONENT_TOKEN }], target: i0.ɵɵFactoryTarget.Component });
|
|
105
|
+
/** @nocollapse */ InputArrayComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: InputArrayComponent, selector: "smart-input-array", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"static\">\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-list class=\"array\"\n cdkDropList\n [cdkDropListDisabled]=\"fieldOptions?.possibilities?.static\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <ion-item class=\"array-box\" *ngFor=\"let options of childOptions; let index = index\" lines=\"none\" cdkDrag>\n <ion-card *ngIf=\"!(fieldOptions?.possibilities?.static); else staticCardTpl\">\n <smart-accordion [(show)]=\"options.show\" >\n <smart-accordion-header>\n <ion-card-header>\n <ion-item lines=\"none\">\n <ion-label *ngIf=\"!options.show && options.control?.value[options.modelOptions.titleKey]\">\n {{ options.control.value[options.modelOptions.titleKey] | translate }}\n </ion-label>\n <ion-button (click)=\"onRemove(index)\" size=\"small\" fill=\"outline\" slot=\"end\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-item>\n </ion-card-header>\n </smart-accordion-header>\n <smart-accordion-body>\n <ion-card-content>\n <ng-template [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: options }\"\n ></ng-template>\n </ion-card-content>\n </smart-accordion-body>\n </smart-accordion>\n </ion-card>\n\n <ng-template #staticCardTpl>\n <ion-card>\n <ion-card-content>\n <ng-template [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: options }\"\n ></ng-template>\n </ion-card-content>\n </ion-card>\n </ng-template>\n </ion-item>\n </ion-list>\n <smart-button [options]=\"addButtonOptions\" class=\"add\" *ngIf=\"!(fieldOptions?.possibilities?.static)\">\n <span style=\"font-weight: 300\">{{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }} > </span><b>{{ 'add' | translate }}</b>\n </smart-button>\n</ng-container>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Material+Icons\";@import\"https://fonts.googleapis.com/css2?family=Material+Icons+Outlined\";ion-label[position=static]{margin-top:1.6rem}.add{float:right}smart-form{width:100%;margin:.3rem 0;display:block;border-radius:.5rem}smart-form form{margin:0 -.9rem}smart-form ion-item{--padding-start: 0 !important;--padding-end: 0 !important;width:100%;padding-inline-end:0!important}smart-form[tree-level=\"1\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"2\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"2\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"2\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"3\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"3\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"3\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"4\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"4\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"4\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"5\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"5\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"5\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"6\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"6\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"6\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"],.cdk-drag-disabled smart-form[tree-level=\"2\"],.cdk-drag-disabled smart-form[tree-level=\"3\"],.cdk-drag-disabled smart-form[tree-level=\"4\"],.cdk-drag-disabled smart-form[tree-level=\"5\"],.cdk-drag-disabled smart-form[tree-level=\"6\"]{border-left:.1rem solid #dedede;border-bottom:.1rem solid #dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"]:before,.cdk-drag-disabled smart-form[tree-level=\"2\"]:before,.cdk-drag-disabled smart-form[tree-level=\"3\"]:before,.cdk-drag-disabled smart-form[tree-level=\"4\"]:before,.cdk-drag-disabled smart-form[tree-level=\"5\"]:before,.cdk-drag-disabled smart-form[tree-level=\"6\"]:before{display:none}ion-card{width:100%;margin:.3rem;padding-left:0}ion-card ion-card-header{padding:0;margin:0}ion-card ion-card-header ion-item{margin:0}ion-card ion-card-header ion-item item-inner{margin:0;padding:0}ion-card ion-card-header ion-button[fill=outline]{--border-color: transparent !important;margin-right:-1.2rem}ion-card ion-card-content{padding:0}.array,.smart-list{max-width:100%;min-height:60px;display:block;border-radius:4px;overflow:hidden;padding-top:0!important;padding-bottom:0!important}.array-box{padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;font-size:14px;background-color:transparent;box-shadow:none}.cdk-drag-preview{margin:0;padding:0;box-sizing:border-box;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.array-box:last-child{border:none}.array.cdk-drop-list-dragging .array-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}smart-accordion-header{cursor:move}\n"], dependencies: [{ kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i3.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i3.IonCardContent, selector: "ion-card-content", inputs: ["mode"] }, { kind: "component", type: i3.IonCardHeader, selector: "ion-card-header", inputs: ["color", "mode", "translucent"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i3.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i3.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i3.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i3.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "directive", type: i4.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: i4.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: i5.DynamicIoDirective, selector: "[ndcDynamicInputs],[ndcDynamicOutputs],[ngComponentOutletNdcDynamicInputs],[ngComponentOutletNdcDynamicOutputs]", inputs: ["ndcDynamicInputs", "ngComponentOutletNdcDynamicInputs", "ndcDynamicOutputs", "ngComponentOutletNdcDynamicOutputs"] }, { kind: "directive", type: i5.ComponentOutletInjectorDirective, selector: "[ngComponentOutlet]", exportAs: ["ndcComponentOutletInjector"] }, { kind: "component", type: i6.ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "component", type: i7.AccordionComponent, selector: "smart-accordion", inputs: ["show"], outputs: ["showChange"] }, { kind: "component", type: i8.AccordionHeaderComponent, selector: "smart-accordion-header" }, { kind: "component", type: i9.AccordionBodyComponent, selector: "smart-accordion-body" }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: i10.TranslatePipe, name: "translate" }, { kind: "pipe", type: i11.ModelLabelPipe, name: "smartModelLabel" }] });
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputArrayComponent, decorators: [{
|
|
107
107
|
type: Component,
|
|
108
108
|
args: [{ selector: 'smart-input-array', template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"static\">\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-list class=\"array\"\n cdkDropList\n [cdkDropListDisabled]=\"fieldOptions?.possibilities?.static\"\n (cdkDropListDropped)=\"drop($event)\"\n >\n <ion-item class=\"array-box\" *ngFor=\"let options of childOptions; let index = index\" lines=\"none\" cdkDrag>\n <ion-card *ngIf=\"!(fieldOptions?.possibilities?.static); else staticCardTpl\">\n <smart-accordion [(show)]=\"options.show\" >\n <smart-accordion-header>\n <ion-card-header>\n <ion-item lines=\"none\">\n <ion-label *ngIf=\"!options.show && options.control?.value[options.modelOptions.titleKey]\">\n {{ options.control.value[options.modelOptions.titleKey] | translate }}\n </ion-label>\n <ion-button (click)=\"onRemove(index)\" size=\"small\" fill=\"outline\" slot=\"end\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-item>\n </ion-card-header>\n </smart-accordion-header>\n <smart-accordion-body>\n <ion-card-content>\n <ng-template [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: options }\"\n ></ng-template>\n </ion-card-content>\n </smart-accordion-body>\n </smart-accordion>\n </ion-card>\n\n <ng-template #staticCardTpl>\n <ion-card>\n <ion-card-content>\n <ng-template [ngComponentOutlet]=\"formComponent\"\n [ndcDynamicInputs]=\"{ options: options }\"\n ></ng-template>\n </ion-card-content>\n </ion-card>\n </ng-template>\n </ion-item>\n </ion-list>\n <smart-button [options]=\"addButtonOptions\" class=\"add\" *ngIf=\"!(fieldOptions?.possibilities?.static)\">\n <span style=\"font-weight: 300\">{{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }} > </span><b>{{ 'add' | translate }}</b>\n </smart-button>\n</ng-container>", styles: ["@import\"https://fonts.googleapis.com/css2?family=Material+Icons\";@import\"https://fonts.googleapis.com/css2?family=Material+Icons+Outlined\";ion-label[position=static]{margin-top:1.6rem}.add{float:right}smart-form{width:100%;margin:.3rem 0;display:block;border-radius:.5rem}smart-form form{margin:0 -.9rem}smart-form ion-item{--padding-start: 0 !important;--padding-end: 0 !important;width:100%;padding-inline-end:0!important}smart-form[tree-level=\"1\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"2\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"2\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"2\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"3\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"3\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"3\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"4\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"4\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"4\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}smart-form[tree-level=\"5\"]{margin:0!important;border-left:.2rem solid var(--smart-color-primary);border-bottom:.2rem solid var(--smart-color-primary)}smart-form[tree-level=\"5\"] .button-solid{--background: var(--smart-color-primary) !important;--color: var(--smart-color-light) !important}smart-form[tree-level=\"5\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#fff;background-color:var(--smart-color-primary)}smart-form[tree-level=\"6\"]{margin:0!important;border-left:.2rem solid #dedede;border-bottom:.2rem solid #dedede}smart-form[tree-level=\"6\"] .button-solid{--background: #dedede !important;--color: #333 !important}smart-form[tree-level=\"6\"]:before{box-sizing:border-box;position:absolute;display:block;width:4.8rem;height:5rem;border-radius:.5rem 50% 50% 0;z-index:666;left:0;top:-4.8rem;font-family:Material Icons Outlined;font-weight:400;font-style:normal;font-size:2.4rem;display:inline-block;line-height:1;text-transform:none;letter-spacing:normal;word-wrap:normal;white-space:nowrap;direction:ltr;content:\"open_with\";padding:1.3rem 0 0 .9rem;color:#999;background-color:#dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"],.cdk-drag-disabled smart-form[tree-level=\"2\"],.cdk-drag-disabled smart-form[tree-level=\"3\"],.cdk-drag-disabled smart-form[tree-level=\"4\"],.cdk-drag-disabled smart-form[tree-level=\"5\"],.cdk-drag-disabled smart-form[tree-level=\"6\"]{border-left:.1rem solid #dedede;border-bottom:.1rem solid #dedede}.cdk-drag-disabled smart-form[tree-level=\"1\"]:before,.cdk-drag-disabled smart-form[tree-level=\"2\"]:before,.cdk-drag-disabled smart-form[tree-level=\"3\"]:before,.cdk-drag-disabled smart-form[tree-level=\"4\"]:before,.cdk-drag-disabled smart-form[tree-level=\"5\"]:before,.cdk-drag-disabled smart-form[tree-level=\"6\"]:before{display:none}ion-card{width:100%;margin:.3rem;padding-left:0}ion-card ion-card-header{padding:0;margin:0}ion-card ion-card-header ion-item{margin:0}ion-card ion-card-header ion-item item-inner{margin:0;padding:0}ion-card ion-card-header ion-button[fill=outline]{--border-color: transparent !important;margin-right:-1.2rem}ion-card ion-card-content{padding:0}.array,.smart-list{max-width:100%;min-height:60px;display:block;border-radius:4px;overflow:hidden;padding-top:0!important;padding-bottom:0!important}.array-box{padding:0;display:flex;flex-direction:row;align-items:center;justify-content:space-between;box-sizing:border-box;font-size:14px;background-color:transparent;box-shadow:none}.cdk-drag-preview{margin:0;padding:0;box-sizing:border-box;border-radius:4px}.cdk-drag-placeholder{opacity:0}.cdk-drag-animating{transition:transform .25s cubic-bezier(0,0,.2,1)}.array-box:last-child{border:none}.array.cdk-drop-list-dragging .array-box:not(.cdk-drag-placeholder){transition:transform .25s cubic-bezier(0,0,.2,1)}smart-accordion-header{cursor:move}\n"] }]
|
|
109
109
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.FormFactory }, { type: undefined, decorators: [{
|
|
110
110
|
type: Inject,
|
|
111
111
|
args: [FORM_COMPONENT_TOKEN]
|
|
112
112
|
}] }]; } });
|
|
113
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvYXJyYXkvYXJyYXkuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvYXJyYXkvYXJyYXkuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyx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0ge1xuICAgICAgICBjbGljazogYXN5bmMgKCkgPT4ge1xuICAgICAgICAgICAgY29uc3Qgb3B0aW9ucyA9IHRoaXMuZ2V0T3B0aW9ucygpO1xuICAgICAgICAgICAgY29uc3QgbW9kZWxPcHRpb25zID0gZ2V0TW9kZWxPcHRpb25zKG9wdGlvbnMuY2xhc3NUeXBlKTtcbiAgICAgICAgICAgIGNvbnN0IGNvbnRyb2wgPSBhd2FpdCB0aGlzLmZhY3RvcnkuY3JlYXRlKFxuICAgICAgICAgICAgICAgIG5ldyB0aGlzLmZpZWxkT3B0aW9ucy5jbGFzc1R5cGUoKSxcbiAgICAgICAgICAgICAgICB7XG4gICAgICAgICAgICAgICAgICAgIG1vZGU6IHRoaXMuaW50ZXJuYWxPcHRpb25zLm1vZGUsXG4gICAgICAgICAgICAgICAgICAgIHJvb3Q6IHRoaXMuaW50ZXJuYWxPcHRpb25zLmNvbnRyb2wucm9vdFxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICk7XG4gICAgICAgICAgICAodGhpcy5pbnRlcm5hbE9wdGlvbnMuY29udHJvbCBhcyBGb3JtQXJyYXkpLnB1c2goY29udHJvbCk7XG4gICAgICAgICAgICB0aGlzLmNoaWxkT3B0aW9ucy5wdXNoKHtcbiAgICAgICAgICAgICAgICB0cmVlTGV2ZWw6IHRoaXMuaW50ZXJuYWxPcHRpb25zLnRyZWVMZXZlbCArIDEsXG4gICAgICAgICAgICAgICAgbW9kZTogdGhpcy5pbnRlcm5hbE9wdGlvbnMubW9kZSxcbiAgICAgICAgICAgICAgICBjb250cm9sLFxuICAgICAgICAgICAgICAgIG1vZGVsIDogT2JqZWN0U2VydmljZS5jcmVhdGVCeVR5cGUoY29udHJvbC52YWx1ZSwgb3B0aW9ucy5jbGFzc1R5cGUpLFxuICAgICAgICAgICAgICAgIGZpZWxkT3B0aW9uczogb3B0aW9ucyxcbiAgICAgICAgICAgICAgICBtb2RlbE9wdGlvbnMsXG4gICAgICAgICAgICAgICAg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ucy5jb250cm9sIGFzIEZvcm1BcnJheSkuY29udHJvbHMubWFwKGNvbnRyb2wgPT4ge1xuICAgICAgICAgICAgY29uc3Qgb3B0aW9ucyA9IHRoaXMuZ2V0T3B0aW9ucygpO1xuICAgICAgICAgICAgY29uc3QgbW9kZWxPcHRpb25zID0gZ2V0TW9kZWxPcHRpb25zKG9wdGlvbnMuY2xhc3NUeXBlKTtcblxuICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICB0cmVlTGV2ZWw6IHRoaXMuaW50ZXJuYWxPcHRpb25zLnRyZWVMZXZlbCArIDEsXG4gICAgICAgICAgICAgICAgbW9kZTogdGhpcy5pbnRlcm5hbE9wdGlvbnMubW9kZSxcbiAgICAgICAgICAgICAgICBjb250cm9sLFxuICAgICAgICAgICAgICAgIG1vZGVsIDogT2JqZWN0U2VydmljZS5jcmVhdGVCeVR5cGUoY29udHJvbC52YWx1ZSwgb3B0aW9ucy5jbGFzc1R5cGUpLFxuICAgICAgICAgICAgICAgIGZpZWxkT3B0aW9uczogb3B0aW9ucyxcbiAgICAgICAgICAgICAgICBtb2RlbE9wdGlvbnMsXG4gICAgICAgICAgICAgICAgc2hvdzogZmFsc2VcbiAgICAgICAgICAgIH0gYXMgSUZvcm1PcHRpb25zPFRDaGlsZD4gJiB7IGZpZWxkT3B0aW9uczogSUZpZWxkT3B0aW9ucywgbW9kZWxPcHRpb25zOiBJTW9kZWxPcHRpb25zIH07XG4gICAgICAgIH0pO1xuXG4gICAgICAgIHRoaXMuaW50ZXJuYWxPcHRpb25zLmNvbnRyb2wudmFsdWVDaGFuZ2VzXG4gICAgICAgICAgICAucGlwZShcbiAgICAgICAgICAgICAgICB0aGlzLnRha2VVbnRpbERlc3Ryb3lcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5zdWJzY3JpYmUodmFsID0+IHtcbiAgICAgICAgICAgICAgICB0aGlzLmNvbnRyb2wubWFya0FzRGlydHkoKTtcbiAgICAgICAgICAgIH0p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XCJcbiAgICAgICAgICAgICAgICAgICAgICAoY2RrRHJvcExpc3REcm9wcGVkKT1cImRyb3AoJGV2ZW50KVwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgPGlvbi1pdGVtIGNsYXNzPVwiYXJyYXktYm94XCIgKm5nRm9yPVwibGV0IG9wdGlvbnMgb2YgY2hpbGRPcHRpb25zOyBsZXQgaW5kZXggPSBpbmRleFwiIGxpbmVzPVwibm9uZVwiIGNka0RyYWc+XG4gICAgICAgICAgICAgICAgICAgIDxpb24tY2FyZCAqbmdJZj1cIiEoZmllbGRPcHRpb25zPy5wb3NzaWJpbGl0aWVzPy5zdGF0aWMpOyBlbHNlIHN0YXRpY0NhcmRUcGxcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxzbWFydC1hY2NvcmRpb24gWyhzaG93KV09XCJvcHRpb25zLnNob3dcIiA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNtYXJ0LWFjY29yZGlvbi1oZWFkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tY2FyZC1oZWFkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWl0ZW0gbGluZXM9XCJub25lXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1sYWJlbCAqbmdJZj1cIiFvcHRpb25zLnNob3cgJiYgb3B0aW9ucy5jb250cm9sPy52YWx1ZVtvcHRpb25zLm1vZGVsT3B0aW9ucy50aXRsZUtleV1cIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3sgb3B0aW9ucy5jb250cm9sLnZhbHVlW29wdGlvbnMubW9kZWxPcHRpb25zLnRpdGxlS2V5XSB8IHRyYW5zbGF0ZSB9fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvaW9uLWxhYmVsPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tYnV0dG9uIChjbGljayk9XCJvblJlbW92ZShpbmRleClcIiBzaXplPVwic21hbGxcIiBmaWxsPVwib3V0bGluZVwiIHNsb3Q9XCJlbmRcIj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1pY29uIG5hbWU9XCJjbG9zZS1vdXRsaW5lXCI+PC9pb24taWNvbj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1idXR0b24+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1pdGVtPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1jYXJkLWhlYWRlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NtYXJ0LWFjY29yZGlvbi1oZWFkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNtYXJ0LWFjY29yZGlvbi1ib2R5PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWNhcmQtY29udGVudD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSBbbmdDb21wb25lbnRPdXRsZXRdPVwiZm9ybUNvbXBvbmVudFwiXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW25kY0R5bmFtaWNJbnB1dHNdPVwieyBvcHRpb25zOiBvcHRpb25zIH1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvaW9uLWNhcmQtY29udGVudD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NtYXJ0LWFjY29yZGlvbi1ib2R5PlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9zbWFydC1hY2NvcmRpb24+XG4gICAgICAgICAgICAgICAgICAgIDwvaW9uLWNhcmQ+XG5cbiAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlICNzdGF0aWNDYXJkVHBsPlxuICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1jYXJkPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tY2FyZC1jb250ZW50PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgW25nQ29tcG9uZW50T3V0bGV0XT1cImZvcm1Db21wb25lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgW25kY0R5bmFtaWNJbnB1dHNdPVwieyBvcHRpb25zOiBvcHRpb25zIH1cIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA+PC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1jYXJkLWNvbnRlbnQ+XG4gICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1jYXJkPlxuICAgICAgICAgICAgICAgICAgICA8L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICAgIDwvaW9uLWl0ZW0+XG4gICAgICAgICAgICA8L2lvbi1saXN0PlxuICAgIDxzbWFydC1idXR0b24gW29wdGlvbnNdPVwiYWRkQnV0dG9uT3B0aW9uc1wiIGNsYXNzPVwiYWRkXCIgKm5nSWY9XCIhKGZpZWxkT3B0aW9ucz8ucG9zc2liaWxpdGllcz8uc3RhdGljKVwiPlxuICAgICAgICA8c3BhbiBzdHlsZT1cImZvbnQtd2VpZ2h0OiAzMDBcIj57eyBjb250cm9sPy5wYXJlbnQ/LnZhbHVlIHwgc21hcnRNb2RlbExhYmVsIDogaW50ZXJuYWxPcHRpb25zLmZpZWxkS2V5IDogaW50ZXJuYWxPcHRpb25zPy5tb2RlbD8uY29uc3RydWN0b3IgfCBhc3luYyB9fSA+ICZuYnNwOzwvc3Bhbj48Yj57eyAnYWRkJyB8IHRyYW5zbG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ICAgICAgICh0aGlzLmludGVybmFsT3B0aW9ucy5jb250cm9sIGFzIFVudHlwZWRGb3JtQXJyYXkpLnB1c2goY29udHJvbCk7XG4gICAgICAgICAgICB0aGlzLmNoaWxkT3B0aW9ucy5wdXNoKHtcbiAgICAgICAgICAgICAgICB0cmVlTGV2ZWw6IHRoaXMuaW50ZXJuYWxPcHRpb25zLnRyZWVMZXZlbCArIDEsXG4gICAgICAgICAgICAgICAgbW9kZTogdGhpcy5pbnRlcm5hbE9wdGlvbnMubW9kZSxcbiAgICAgICAgICAgICAgICBjb250cm9sLFxuICAgICAgICAgICAgICAgIG1vZGVsIDogT2JqZWN0U2VydmljZS5jcmVhdGVCeVR5cGUoY29udHJvbC52YWx1ZSwgb3B0aW9ucy5jbGFzc1R5cGUpLFxuICAgICAgICAgICAgICAgIGZpZWxkT3B0aW9uczogb3B0aW9ucyxcbiAgICAgICAgICAgICAgICBtb2RlbE9wdGlvbnMsXG4gICAgICAgICAgICAgICAgc2hvdzogdHJ1ZVxuICAgICAgICAgICAgfSk7XG4gICAgICAgICAgICB0aGlzLmNvbnRyb2wubWFya0FzRGlydHkoKTtcblxuICAgICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5jZC5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICAgICAgICB9KTtcbiAgICAgICAgfVxuICAgIH07XG5cbiAgICBGaWVsZFR5cGUgPSBGaWVsZFR5cGU7XG5cbiAgICBjb25zdHJ1Y3RvcihcbiAgICAgICAgY2Q6IENoYW5nZURldGVjdG9yUmVmLFxuICAgICAgICBwcml2YXRlIGZhY3Rvcnk6IEZvcm1GYWN0b3J5LFxuICAgICAgICBASW5qZWN0KEZPUk1fQ09NUE9ORU5UX1RPS0VOKSBwdWJsaWMgZm9ybUNvbXBvbmVudDogYW55XG4gICAgKSB7XG4gICAgICAgIHN1cGVyKGNkKTtcbiAgICB9XG5cbiAgICBwcm90ZWN0ZWQgYWZ0ZX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wZSksXG4gICAgICAgICAgICAgICAgZmllbGRPcHRpb25zOiBvcHRpb25zLFxuICAgICAgICAgICAgICAgIG1vZGVsT3B0aW9ucyxcbiAgICAgICAgICAgICAgICBzaG93OiBmYWxzZVxuICAgICAgICAgICAgfSBhcyBJRm9ybU9wdGlvbnM8VENoaWxkPiAmIHsgZmllbGRPcHRpb25zOiBJRmllbGRPcHRpb25zLCBtb2RlbE9wdGlvbnM6IElNb2RlbE9wdGlvbnMgfTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgdGhpcy5pbnRlcm5hbE9wdGlvbnMuY29udHJvbC52YWx1ZUNoYW5nZXNcbiAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIHRoaXMudGFrZVVudGlsRGVzdHJveVxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLnN1YnNjcmliZSh2YWwgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuY29udHJvbC5tYXJrQXNEaXJ0eSgpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgZHJvcChldmVudDogQ2RrRHJhZ0Ryb3A8VCwgYW55Pikge1xuICAgICAgICB0aGlzLmNvbnRyb2wubWFya0FzRGlydHkoKTtcblxuICAgICAgICBjb25zdCBzd2FwQXJyYXkgPSBmdW5jdGlvbiAoYXJyLCBpbmRleDEsIGluZGV4Mikge1xuICAgICAgICAgICAgY29uc3QgdGVtcCA9IGFycltpbmRleDFdO1xuXG4gICAgICAgICAgICBhcnJbaW5kZXgxXSA9IGFycltpbmRleDJdO1xuICAgICAgICAgICAgYXJyW2luZGV4Ml0gPSB0ZW1wO1xuICAgICAgICB9XG4gICAgICAgIHN3YXBBcnJheSh0aGlzLmNoaWxkT3B0aW9ucywgZXZlbnQucHJldmlvdXNJbmRleCwgZXZlbnQuY3VycmVudEluZGV4KTtcblxuICAgICAgICBjb25zdCBzd2FwRm9ybUFycmF5ID0gZnVuY3Rpb24gKGFycjogVW50eXBlZEZvcm1BcnJheSwgaW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Bjb250cm9sPy5wYXJlbnQ/LnZhbHVlIHwgc21hcnRNb2RlbExhYmVsIDogaW50ZXJuYWxPcHRpb25zLmZpZWxkS2V5IDogaW50ZXJuYWxPcHRpb25zPy5tb2RlbD8uY29uc3RydWN0b3IgfCBhc3luYyB9fVxuICAgICAgICAgICAgICAgIDxpb24tdGV4dCBjb2xvcj1cImRhbmdlclwiPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cInJlcXVpcmVkXCI+Kjwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8L2lvbi10ZXh0PlxuICAgICAgICAgICAgPC9pb24tbGFiZWw+XG4gICAgICAgICAgICA8aW9uLWxpc3QgY2xhc3M9XCJhcnJheVwiXG4gICAgICAgICAgICAgICAgICAgICAgY2RrRHJvcExpc3RcbiAgICAgICAgICAgICAgICAgICAgICBbY2RrRHJvcExpc3REaXNhYmxlZF09XCJmaWVsZE9wdGlvbnM/LnBvc3NpYmlsaXRpZXM/LnN0YXRpY1wiXG4gICAgICAgICAgICAgICAgICAgICAgKGNka0Ryb3BMaXN0RHJvcHBlZCk9XCJkcm9wKCRldmVudClcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxpb24taXRlbSBjbGFzcz1cImFycmF5LWJveFwiICpuZ0Zvcj1cImxldCBvcHRpb25zIG9mIGNoaWxkT3B0aW9uczsgbGV0IGluZGV4ID0gaW5kZXhcIiBsaW5lcz1cIm5vbmVcIiBjZGtEcmFnPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWNhcmQgKm5nSWY9XCIhKGZpZWxkT3B0aW9ucz8ucG9zc2liaWxpdGllcz8uc3RhdGljKTsgZWxzZSBzdGF0aWNDYXJkVHBsXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8c21hcnQtYWNjb3JkaW9uIFsoc2hvdyldPVwib3B0aW9ucy5zaG93XCIgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzbWFydC1hY2NvcmRpb24taGVhZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWNhcmQtaGVhZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1pdGVtIGxpbmVzPVwibm9uZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tbGFiZWwgKm5nSWY9XCIhb3B0aW9ucy5zaG93ICYmIG9wdGlvbnMuY29udHJvbD8udmFsdWVbb3B0aW9ucy5tb2RlbE9wdGlvbnMudGl0bGVLZXldXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IG9wdGlvbnMuY29udHJvbC52YWx1ZVtvcHRpb25zLm1vZGVsT3B0aW9ucy50aXRsZUtleV0gfCB0cmFuc2xhdGUgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1sYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWJ1dHRvbiAoY2xpY2spPVwib25SZW1vdmUoaW5kZXgpXCIgc2l6ZT1cInNtYWxsXCIgZmlsbD1cIm91dGxpbmVcIiBzbG90PVwiZW5kXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24taWNvbiBuYW1lPVwiY2xvc2Utb3V0bGluZVwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24taXRlbT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tY2FyZC1oZWFkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zbWFydC1hY2NvcmRpb24taGVhZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzbWFydC1hY2NvcmRpb24tYm9keT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1jYXJkLWNvbnRlbnQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgW25nQ29tcG9uZW50T3V0bGV0XT1cImZvcm1Db21wb25lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZGNEeW5hbWljSW5wdXRzXT1cInsgb3B0aW9uczogb3B0aW9ucyB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID48L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1jYXJkLWNvbnRlbnQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zbWFydC1hY2NvcmRpb24tYm9keT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvc21hcnQtYWNjb3JkaW9uPlxuICAgICAgICAgICAgICAgICAgICA8L2lvbi1jYXJkPlxuXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjc3RhdGljQ2FyZFRwbD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tY2FyZD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWNhcmQtY29udGVudD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlIFtuZ0NvbXBvbmVudE91dGxldF09XCJmb3JtQ29tcG9uZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZGNEeW5hbWljSW5wdXRzXT1cInsgb3B0aW9uczogb3B0aW9ucyB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tY2FyZC1jb250ZW50PlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tY2FyZD5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICA8L2lvbi1pdGVtPlxuICAgICAgICAgICAgPC9pb24tbGlzdD5cbiAgICA8c21hcnQtYnV0dG9uIFtvcHRpb25zXT1cImFkZEJ1dHRvbk9wdGlvbnNcIiBjbGFzcz1cImFkZFwiICpuZ0lmPVwiIShmaWVsZE9wdGlvbnM/LnBvc3NpYmlsaXRpZXM/LnN0YXRpYylcIj5cbiAgICAgICAgPHNwYW4gc3R5bGU9XCJmb250LXdlaWdodDogMzAwXCI+e3sgY29udHJvbD8ucGFyZW50Py52YWx1ZSB8IHNtYXJ0TW9kZWxMYWJlbCA6IGludGVybmFsT3B0aW9ucy5maWVsZEtleSA6IGludGVybmFsT3B0aW9ucz8ubW9kZWw/LmNvbnN0cnVjdG9yIHwgYXN5bmMgfX0gPiAmbmJzcDs8L3NwYW4+PGI+e3sgJ2FkZCcgfCB0cmFuc2xhdGUgfX08L2I+XG4gICAgPC9zbWFydC1idXR0b24+XG48L25nLWNvbnRhaW5lcj4iXX0=
|
|
@@ -7,19 +7,19 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
import * as i1 from "../../../services/file/file.service";
|
|
8
8
|
import * as i2 from "../../../services/toast/toast.service";
|
|
9
9
|
import * as i3 from "@ngx-translate/core";
|
|
10
|
-
import * as i4 from "@
|
|
11
|
-
import * as i5 from "
|
|
12
|
-
import * as i6 from "
|
|
10
|
+
import * as i4 from "@angular/common";
|
|
11
|
+
import * as i5 from "@ionic/angular";
|
|
12
|
+
import * as i6 from "../../button/button.component";
|
|
13
13
|
import * as i7 from "../../../pipes/model-label/model-label.pipe";
|
|
14
14
|
export class InputAttachmentComponent extends InputFileBaseComponent {
|
|
15
15
|
constructor(cd, renderer, fileService, toastService, translateService) {
|
|
16
16
|
super(cd, renderer, fileService, toastService, translateService);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
-
/** @nocollapse */ InputAttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
20
|
-
/** @nocollapse */ InputAttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
19
|
+
/** @nocollapse */ InputAttachmentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputAttachmentComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.FileService }, { token: i2.ToastService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component });
|
|
20
|
+
/** @nocollapse */ InputAttachmentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.1", type: InputAttachmentComponent, selector: "smart-input-attachment", 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\" [options]=\"showButtonOptions\">{{ 'download' | 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</ng-container>\n<input type=\"file\" [attr.accept]=\"fieldOptions?.possibilities\" [hidden]=\"true\" #inputObj>\n", 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 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputAttachmentComponent, decorators: [{
|
|
22
22
|
type: Component,
|
|
23
|
-
args: [{ selector: "smart-input-attachment", 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\" [options]=\"showButtonOptions\">{{ 'download' | 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</ng-container>\n<input type=\"file\" [attr.accept]=\"fieldOptions?.possibilities\" [hidden]=\"true\" #inputObj>\n"
|
|
23
|
+
args: [{ selector: "smart-input-attachment", 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\" [options]=\"showButtonOptions\">{{ 'download' | 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</ng-container>\n<input type=\"file\" [attr.accept]=\"fieldOptions?.possibilities\" [hidden]=\"true\" #inputObj>\n" }]
|
|
24
24
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.FileService }, { type: i2.ToastService }, { type: i3.TranslateService }]; } });
|
|
25
25
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0YWNobWVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC9hdHRhY2htZW50L2F0dGFjaG1lbnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvYXR0YWNobWVudC9hdHRhY2htZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFBRSxpQkFBaUIsRUFDMUMsU0FBUyxFQUNELFNBQVMsR0FDcEIsTUFBTSxlQUFlLENBQUM7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YXR0ci5hY2NlcHRdPVwiZmllbGRPcHRpb25zPy5wb3NzaWJpbGl0aWVzXCIgW2hpZGRlbl09XCJ0cnVlXCIgI2lucHV0T2JqPlxuIl19
|
|
@@ -23,9 +23,9 @@ export class InputBaseComponent extends BaseComponent {
|
|
|
23
23
|
this.required = validator && validator.required;
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
/** @nocollapse */ InputBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
27
|
-
/** @nocollapse */ InputBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
26
|
+
/** @nocollapse */ InputBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputBaseComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
/** @nocollapse */ InputBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: InputBaseComponent, inputs: { fieldOptions: "fieldOptions", options: "options" }, usesInheritance: true, ngImport: i0 });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputBaseComponent, decorators: [{
|
|
29
29
|
type: Directive
|
|
30
30
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { fieldOptions: [{
|
|
31
31
|
type: Input
|
|
@@ -73,9 +73,9 @@ export class InputFileBaseComponent extends InputBaseComponent {
|
|
|
73
73
|
});
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
/** @nocollapse */ InputFileBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
77
|
-
/** @nocollapse */ InputFileBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
76
|
+
/** @nocollapse */ InputFileBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputFileBaseComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.FileService }, { token: i2.ToastService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
77
|
+
/** @nocollapse */ InputFileBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: InputFileBaseComponent, viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputObj"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0 });
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputFileBaseComponent, decorators: [{
|
|
79
79
|
type: Directive
|
|
80
80
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.FileService }, { type: i2.ToastService }, { type: i3.TranslateService }]; }, propDecorators: { inputElementRef: [{
|
|
81
81
|
type: ViewChild,
|
|
@@ -32,9 +32,9 @@ export class InputPossibilitiesBaseComponent extends InputBaseComponent {
|
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
/** @nocollapse */ InputPossibilitiesBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
/** @nocollapse */ InputPossibilitiesBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
35
|
+
/** @nocollapse */ InputPossibilitiesBaseComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputPossibilitiesBaseComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: MODEL_POSSIBILITIES_PROVIDER, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
36
|
+
/** @nocollapse */ InputPossibilitiesBaseComponent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: InputPossibilitiesBaseComponent, usesInheritance: true, ngImport: i0 });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputPossibilitiesBaseComponent, decorators: [{
|
|
38
38
|
type: Directive
|
|
39
39
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.IModelPossibilitiesProvider, decorators: [{
|
|
40
40
|
type: Optional
|