@smartsoft001/angular 1.2.91 → 2.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -4
- package/fesm2022/smartsoft001-angular.mjs +6052 -5399
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/index.d.ts +1775 -13
- package/package.json +18 -36
- package/esm2022/index.mjs +0 -14
- package/esm2022/lib/+state/error.effects.mjs +0 -24
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -29
- package/esm2022/lib/components/accordion/body/body.component.mjs +0 -14
- package/esm2022/lib/components/accordion/header/header.component.mjs +0 -14
- package/esm2022/lib/components/accordion/index.mjs +0 -4
- package/esm2022/lib/components/app/base/base.component.mjs +0 -137
- package/esm2022/lib/components/app/index.mjs +0 -3
- package/esm2022/lib/components/app/split-panel/split-panel.component.mjs +0 -45
- package/esm2022/lib/components/base/base.component.mjs +0 -72
- package/esm2022/lib/components/base/index.mjs +0 -2
- package/esm2022/lib/components/button/base/base.component.mjs +0 -39
- package/esm2022/lib/components/button/button.component.mjs +0 -65
- package/esm2022/lib/components/button/index.mjs +0 -4
- package/esm2022/lib/components/button/standard/standard.component.mjs +0 -15
- package/esm2022/lib/components/card/card.component.mjs +0 -18
- package/esm2022/lib/components/card/index.mjs +0 -2
- package/esm2022/lib/components/chart/bar/bar.component.mjs +0 -55
- package/esm2022/lib/components/chart/base/base.component.mjs +0 -13
- package/esm2022/lib/components/chart/chart.component.mjs +0 -21
- package/esm2022/lib/components/chart/index.mjs +0 -4
- package/esm2022/lib/components/chart/line/line.component.mjs +0 -55
- package/esm2022/lib/components/components.module.mjs +0 -420
- package/esm2022/lib/components/date-edit/date-edit.component.mjs +0 -172
- package/esm2022/lib/components/date-edit/index.mjs +0 -2
- package/esm2022/lib/components/date-range/date-range.component.mjs +0 -348
- package/esm2022/lib/components/date-range/index.mjs +0 -2
- package/esm2022/lib/components/detail/address/address.component.mjs +0 -17
- package/esm2022/lib/components/detail/array/array.component.mjs +0 -37
- package/esm2022/lib/components/detail/attachment/attachment.component.mjs +0 -28
- package/esm2022/lib/components/detail/base/base.component.mjs +0 -24
- package/esm2022/lib/components/detail/color/color.component.mjs +0 -14
- package/esm2022/lib/components/detail/date-range/date-range.component.mjs +0 -13
- package/esm2022/lib/components/detail/detail.component.mjs +0 -40
- package/esm2022/lib/components/detail/email/email.component.mjs +0 -13
- package/esm2022/lib/components/detail/enum/enum.component.mjs +0 -14
- package/esm2022/lib/components/detail/flag/flag.component.mjs +0 -14
- package/esm2022/lib/components/detail/image/image.component.mjs +0 -29
- package/esm2022/lib/components/detail/index.mjs +0 -18
- package/esm2022/lib/components/detail/logo/logo.component.mjs +0 -14
- package/esm2022/lib/components/detail/object/object.component.mjs +0 -35
- package/esm2022/lib/components/detail/pdf/pdf.component.mjs +0 -28
- package/esm2022/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +0 -15
- package/esm2022/lib/components/detail/text/text.component.mjs +0 -15
- package/esm2022/lib/components/detail/video/video.component.mjs +0 -22
- package/esm2022/lib/components/details/base/base.component.mjs +0 -101
- package/esm2022/lib/components/details/details.component.mjs +0 -67
- package/esm2022/lib/components/details/index.mjs +0 -4
- package/esm2022/lib/components/details/standard/standard.component.mjs +0 -17
- package/esm2022/lib/components/dynamic/dynamic.component.mjs +0 -24
- package/esm2022/lib/components/dynamic/index.mjs +0 -2
- package/esm2022/lib/components/error-context/error-context.component.mjs +0 -25
- package/esm2022/lib/components/error-context/index.mjs +0 -2
- package/esm2022/lib/components/export/export.component.mjs +0 -30
- package/esm2022/lib/components/export/index.mjs +0 -2
- package/esm2022/lib/components/form/base/base.component.mjs +0 -69
- package/esm2022/lib/components/form/form.component.mjs +0 -256
- package/esm2022/lib/components/form/index.mjs +0 -5
- package/esm2022/lib/components/form/standard/standard.component.mjs +0 -17
- package/esm2022/lib/components/form/stepper/stepper.component.mjs +0 -65
- package/esm2022/lib/components/grid/column/column.component.mjs +0 -20
- package/esm2022/lib/components/grid/grid.component.mjs +0 -20
- package/esm2022/lib/components/grid/index.mjs +0 -4
- package/esm2022/lib/components/grid/row/row.component.mjs +0 -20
- package/esm2022/lib/components/import/import.component.mjs +0 -35
- package/esm2022/lib/components/import/index.mjs +0 -2
- package/esm2022/lib/components/index.mjs +0 -29
- package/esm2022/lib/components/info/index.mjs +0 -2
- package/esm2022/lib/components/info/info.component.mjs +0 -49
- package/esm2022/lib/components/input/address/address.component.mjs +0 -21
- package/esm2022/lib/components/input/array/array.component.mjs +0 -113
- package/esm2022/lib/components/input/attachment/attachment.component.mjs +0 -25
- package/esm2022/lib/components/input/base/base.component.mjs +0 -35
- package/esm2022/lib/components/input/base/file.component.mjs +0 -84
- package/esm2022/lib/components/input/base/possibilities.component.mjs +0 -45
- package/esm2022/lib/components/input/check/check.component.mjs +0 -62
- package/esm2022/lib/components/input/color/color.component.mjs +0 -35
- package/esm2022/lib/components/input/currency/currency.component.mjs +0 -20
- package/esm2022/lib/components/input/date/date.component.mjs +0 -73
- package/esm2022/lib/components/input/date-range/date-range.component.mjs +0 -20
- package/esm2022/lib/components/input/date-with-edit/date-with-edit.component.mjs +0 -27
- package/esm2022/lib/components/input/email/email.component.mjs +0 -20
- package/esm2022/lib/components/input/enum/enum.component.mjs +0 -45
- package/esm2022/lib/components/input/error/error.component.mjs +0 -16
- package/esm2022/lib/components/input/file/file.component.mjs +0 -59
- package/esm2022/lib/components/input/flag/flag.component.mjs +0 -21
- package/esm2022/lib/components/input/float/float.component.mjs +0 -21
- package/esm2022/lib/components/input/image/image.component.mjs +0 -35
- package/esm2022/lib/components/input/index.mjs +0 -34
- package/esm2022/lib/components/input/input.component.mjs +0 -124
- package/esm2022/lib/components/input/int/int.component.mjs +0 -21
- package/esm2022/lib/components/input/ints/ints.component.mjs +0 -59
- package/esm2022/lib/components/input/logo/logo.component.mjs +0 -48
- package/esm2022/lib/components/input/long-text/long-text.component.mjs +0 -55
- package/esm2022/lib/components/input/nip/nip.component.mjs +0 -35
- package/esm2022/lib/components/input/object/object.component.mjs +0 -33
- package/esm2022/lib/components/input/password/password.component.mjs +0 -51
- package/esm2022/lib/components/input/pdf/pdf.component.mjs +0 -25
- package/esm2022/lib/components/input/pesel/pesel.component.mjs +0 -20
- package/esm2022/lib/components/input/phone-number/phone-number.component.mjs +0 -20
- package/esm2022/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +0 -28
- package/esm2022/lib/components/input/radio/radio.component.mjs +0 -48
- package/esm2022/lib/components/input/strings/strings.component.mjs +0 -59
- package/esm2022/lib/components/input/text/text.component.mjs +0 -20
- package/esm2022/lib/components/input/video/video.component.mjs +0 -45
- package/esm2022/lib/components/list/base/base.component.mjs +0 -174
- package/esm2022/lib/components/list/desktop/desktop.component.mjs +0 -115
- package/esm2022/lib/components/list/index.mjs +0 -6
- package/esm2022/lib/components/list/list.component.mjs +0 -68
- package/esm2022/lib/components/list/masonry-grid/masonry-grid.component.mjs +0 -55
- package/esm2022/lib/components/list/mobile/mobile.component.mjs +0 -39
- package/esm2022/lib/components/loader/index.mjs +0 -2
- package/esm2022/lib/components/loader/loader.component.mjs +0 -17
- package/esm2022/lib/components/page/base/base.component.mjs +0 -62
- package/esm2022/lib/components/page/index.mjs +0 -4
- package/esm2022/lib/components/page/page.component.mjs +0 -66
- package/esm2022/lib/components/page/standard/standard.component.mjs +0 -25
- package/esm2022/lib/components/paging/index.mjs +0 -2
- package/esm2022/lib/components/paging/paging.component.mjs +0 -25
- package/esm2022/lib/components/password-strength/index.mjs +0 -2
- package/esm2022/lib/components/password-strength/password-strength.component.mjs +0 -115
- package/esm2022/lib/components/searchbar/index.mjs +0 -2
- package/esm2022/lib/components/searchbar/searchbar.component.mjs +0 -58
- package/esm2022/lib/components/tabs/index.mjs +0 -3
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -19
- package/esm2022/lib/components/tabs/tabs.component.mjs +0 -51
- package/esm2022/lib/decorators/index.mjs +0 -4
- package/esm2022/lib/decorators/module/module.decorator.mjs +0 -8
- package/esm2022/lib/decorators/redux-action/redux-action.decorator.mjs +0 -75
- package/esm2022/lib/decorators/redux-select/redux-select.decorator.mjs +0 -56
- package/esm2022/lib/directives/date-validator/date-validator.directive.mjs +0 -30
- package/esm2022/lib/directives/details/details.directive.mjs +0 -54
- package/esm2022/lib/directives/directives.module.mjs +0 -39
- package/esm2022/lib/directives/dynamic-content/dynamic-content.directive.mjs +0 -17
- package/esm2022/lib/directives/index.mjs +0 -6
- package/esm2022/lib/directives/viewport-show/viewport-show.directive.mjs +0 -35
- package/esm2022/lib/factories/factories.module.mjs +0 -23
- package/esm2022/lib/factories/form/form.factory.mjs +0 -280
- package/esm2022/lib/factories/index.mjs +0 -3
- package/esm2022/lib/models/chart.mjs +0 -6
- package/esm2022/lib/models/index.mjs +0 -4
- package/esm2022/lib/models/interfaces.mjs +0 -12
- package/esm2022/lib/models/style.mjs +0 -2
- package/esm2022/lib/ngrx-shared.module.mjs +0 -37
- package/esm2022/lib/pages/details/details.page.mjs +0 -64
- package/esm2022/lib/pages/index.mjs +0 -3
- package/esm2022/lib/pages/pages.module.mjs +0 -39
- package/esm2022/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +0 -18
- package/esm2022/lib/pipes/file-url/file-url.pipe.mjs +0 -21
- package/esm2022/lib/pipes/index.mjs +0 -8
- package/esm2022/lib/pipes/list-cell/list-cell.pipe.mjs +0 -70
- package/esm2022/lib/pipes/list-header/list-header.pipe.mjs +0 -42
- package/esm2022/lib/pipes/model-label/model-label.pipe.mjs +0 -39
- package/esm2022/lib/pipes/pipes.module.mjs +0 -24
- package/esm2022/lib/pipes/trust-html/trust-html.pipe.mjs +0 -23
- package/esm2022/lib/providers/index.mjs +0 -7
- package/esm2022/lib/providers/interfaces.mjs +0 -2
- package/esm2022/lib/providers/model-export.provider.mjs +0 -5
- package/esm2022/lib/providers/model-import.provider.mjs +0 -5
- package/esm2022/lib/providers/model-label.provider.mjs +0 -5
- package/esm2022/lib/providers/model-possibilities.provider.mjs +0 -5
- package/esm2022/lib/providers/model-validators.provider.mjs +0 -40
- package/esm2022/lib/services/alert/alert.service.mjs +0 -19
- package/esm2022/lib/services/app/app.service.mjs +0 -79
- package/esm2022/lib/services/auth/auth.service.mjs +0 -49
- package/esm2022/lib/services/calendar/calendar.service.mjs +0 -97
- package/esm2022/lib/services/camera/camera.service.mjs +0 -22
- package/esm2022/lib/services/details/details.service.mjs +0 -23
- package/esm2022/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +0 -34
- package/esm2022/lib/services/dynamic-component-storage/dynamic-component-storage.service.mjs +0 -29
- package/esm2022/lib/services/error/error.service.mjs +0 -31
- package/esm2022/lib/services/file/file.service.mjs +0 -51
- package/esm2022/lib/services/form/form.group.mjs +0 -14
- package/esm2022/lib/services/hardware/hardware.service.mjs +0 -27
- package/esm2022/lib/services/index.mjs +0 -22
- package/esm2022/lib/services/menu/menu.service.mjs +0 -96
- package/esm2022/lib/services/modal/modal.service.mjs +0 -38
- package/esm2022/lib/services/ngrx-store/ngrx-store.service.mjs +0 -22
- package/esm2022/lib/services/popover/popover.service.mjs +0 -18
- package/esm2022/lib/services/services.module.mjs +0 -70
- package/esm2022/lib/services/storage/storage.service.mjs +0 -75
- package/esm2022/lib/services/style/style.service.mjs +0 -105
- package/esm2022/lib/services/toast/toast.service.mjs +0 -57
- package/esm2022/lib/services/ui/ui.service.mjs +0 -54
- package/esm2022/lib/shared.animations.mjs +0 -39
- package/esm2022/lib/shared.inectors.mjs +0 -4
- package/esm2022/lib/shared.module.mjs +0 -68
- package/esm2022/lib/translations-default.mjs +0 -254
- package/esm2022/lib/utils-shared.module.mjs +0 -18
- package/esm2022/smartsoft001-angular.mjs +0 -5
- package/lib/+state/error.effects.d.ts +0 -12
- package/lib/components/accordion/accordion.component.d.ts +0 -12
- package/lib/components/accordion/body/body.component.d.ts +0 -8
- package/lib/components/accordion/header/header.component.d.ts +0 -8
- package/lib/components/accordion/index.d.ts +0 -3
- package/lib/components/app/base/base.component.d.ts +0 -43
- package/lib/components/app/index.d.ts +0 -2
- package/lib/components/app/split-panel/split-panel.component.d.ts +0 -17
- package/lib/components/base/base.component.d.ts +0 -23
- package/lib/components/base/index.d.ts +0 -1
- package/lib/components/button/base/base.component.d.ts +0 -15
- package/lib/components/button/button.component.d.ts +0 -21
- package/lib/components/button/index.d.ts +0 -3
- package/lib/components/button/standard/standard.component.d.ts +0 -6
- package/lib/components/card/card.component.d.ts +0 -10
- package/lib/components/card/index.d.ts +0 -1
- package/lib/components/chart/bar/bar.component.d.ts +0 -21
- package/lib/components/chart/base/base.component.d.ts +0 -8
- package/lib/components/chart/chart.component.d.ts +0 -11
- package/lib/components/chart/index.d.ts +0 -3
- package/lib/components/chart/line/line.component.d.ts +0 -27
- package/lib/components/components.module.d.ts +0 -192
- package/lib/components/date-edit/date-edit.component.d.ts +0 -43
- package/lib/components/date-edit/index.d.ts +0 -1
- package/lib/components/date-range/date-range.component.d.ts +0 -107
- package/lib/components/date-range/index.d.ts +0 -1
- package/lib/components/detail/address/address.component.d.ts +0 -10
- package/lib/components/detail/array/array.component.d.ts +0 -14
- package/lib/components/detail/attachment/attachment.component.d.ts +0 -15
- package/lib/components/detail/base/base.component.d.ts +0 -13
- package/lib/components/detail/color/color.component.d.ts +0 -6
- package/lib/components/detail/date-range/date-range.component.d.ts +0 -6
- package/lib/components/detail/detail.component.d.ts +0 -12
- package/lib/components/detail/email/email.component.d.ts +0 -6
- package/lib/components/detail/enum/enum.component.d.ts +0 -6
- package/lib/components/detail/flag/flag.component.d.ts +0 -6
- package/lib/components/detail/image/image.component.d.ts +0 -13
- package/lib/components/detail/index.d.ts +0 -17
- package/lib/components/detail/logo/logo.component.d.ts +0 -6
- package/lib/components/detail/object/object.component.d.ts +0 -14
- package/lib/components/detail/pdf/pdf.component.d.ts +0 -15
- package/lib/components/detail/phone-number-pl/phone-number-pl.component.d.ts +0 -6
- package/lib/components/detail/text/text.component.d.ts +0 -6
- package/lib/components/detail/video/video.component.d.ts +0 -14
- package/lib/components/details/base/base.component.d.ts +0 -33
- package/lib/components/details/details.component.d.ts +0 -24
- package/lib/components/details/index.d.ts +0 -3
- package/lib/components/details/standard/standard.component.d.ts +0 -9
- package/lib/components/dynamic/dynamic.component.d.ts +0 -10
- package/lib/components/dynamic/index.d.ts +0 -1
- package/lib/components/error-context/error-context.component.d.ts +0 -12
- package/lib/components/error-context/index.d.ts +0 -1
- package/lib/components/export/export.component.d.ts +0 -10
- package/lib/components/export/index.d.ts +0 -1
- package/lib/components/form/base/base.component.d.ts +0 -41
- package/lib/components/form/form.component.d.ts +0 -49
- package/lib/components/form/index.d.ts +0 -4
- package/lib/components/form/standard/standard.component.d.ts +0 -8
- package/lib/components/form/stepper/stepper.component.d.ts +0 -19
- package/lib/components/grid/column/column.component.d.ts +0 -9
- package/lib/components/grid/grid.component.d.ts +0 -9
- package/lib/components/grid/index.d.ts +0 -3
- package/lib/components/grid/row/row.component.d.ts +0 -9
- package/lib/components/import/import.component.d.ts +0 -13
- package/lib/components/import/index.d.ts +0 -1
- package/lib/components/index.d.ts +0 -28
- package/lib/components/info/index.d.ts +0 -1
- package/lib/components/info/info.component.d.ts +0 -16
- package/lib/components/input/address/address.component.d.ts +0 -9
- package/lib/components/input/array/array.component.d.ts +0 -27
- package/lib/components/input/attachment/attachment.component.d.ts +0 -11
- package/lib/components/input/base/base.component.d.ts +0 -24
- package/lib/components/input/base/file.component.d.ts +0 -28
- package/lib/components/input/base/possibilities.component.d.ts +0 -16
- package/lib/components/input/check/check.component.d.ts +0 -19
- package/lib/components/input/color/color.component.d.ts +0 -13
- package/lib/components/input/currency/currency.component.d.ts +0 -9
- package/lib/components/input/date/date.component.d.ts +0 -26
- package/lib/components/input/date-range/date-range.component.d.ts +0 -8
- package/lib/components/input/date-with-edit/date-with-edit.component.d.ts +0 -10
- package/lib/components/input/email/email.component.d.ts +0 -9
- package/lib/components/input/enum/enum.component.d.ts +0 -13
- package/lib/components/input/error/error.component.d.ts +0 -6
- package/lib/components/input/file/file.component.d.ts +0 -34
- package/lib/components/input/flag/flag.component.d.ts +0 -9
- package/lib/components/input/float/float.component.d.ts +0 -9
- package/lib/components/input/image/image.component.d.ts +0 -14
- package/lib/components/input/index.d.ts +0 -33
- package/lib/components/input/input.component.d.ts +0 -22
- package/lib/components/input/int/int.component.d.ts +0 -9
- package/lib/components/input/ints/ints.component.d.ts +0 -17
- package/lib/components/input/logo/logo.component.d.ts +0 -11
- package/lib/components/input/long-text/long-text.component.d.ts +0 -18
- package/lib/components/input/nip/nip.component.d.ts +0 -10
- package/lib/components/input/object/object.component.d.ts +0 -13
- package/lib/components/input/password/password.component.d.ts +0 -12
- package/lib/components/input/pdf/pdf.component.d.ts +0 -11
- package/lib/components/input/pesel/pesel.component.d.ts +0 -9
- package/lib/components/input/phone-number/phone-number.component.d.ts +0 -9
- package/lib/components/input/phone-number-pl/phone-number-pl.component.d.ts +0 -10
- package/lib/components/input/radio/radio.component.d.ts +0 -11
- package/lib/components/input/strings/strings.component.d.ts +0 -17
- package/lib/components/input/text/text.component.d.ts +0 -9
- package/lib/components/input/video/video.component.d.ts +0 -16
- package/lib/components/list/base/base.component.d.ts +0 -56
- package/lib/components/list/desktop/desktop.component.d.ts +0 -24
- package/lib/components/list/index.d.ts +0 -5
- package/lib/components/list/list.component.d.ts +0 -28
- package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +0 -21
- package/lib/components/list/mobile/mobile.component.d.ts +0 -14
- package/lib/components/loader/index.d.ts +0 -1
- package/lib/components/loader/loader.component.d.ts +0 -7
- package/lib/components/page/base/base.component.d.ts +0 -29
- package/lib/components/page/index.d.ts +0 -3
- package/lib/components/page/page.component.d.ts +0 -24
- package/lib/components/page/standard/standard.component.d.ts +0 -12
- package/lib/components/paging/index.d.ts +0 -1
- package/lib/components/paging/paging.component.d.ts +0 -10
- package/lib/components/password-strength/index.d.ts +0 -1
- package/lib/components/password-strength/password-strength.component.d.ts +0 -27
- package/lib/components/searchbar/index.d.ts +0 -1
- package/lib/components/searchbar/searchbar.component.d.ts +0 -18
- package/lib/components/tabs/index.d.ts +0 -2
- package/lib/components/tabs/tab/tab.component.d.ts +0 -11
- package/lib/components/tabs/tabs.component.d.ts +0 -17
- package/lib/decorators/index.d.ts +0 -3
- package/lib/decorators/module/module.decorator.d.ts +0 -3
- package/lib/decorators/redux-action/redux-action.decorator.d.ts +0 -2
- package/lib/decorators/redux-select/redux-select.decorator.d.ts +0 -4
- package/lib/directives/date-validator/date-validator.directive.d.ts +0 -9
- package/lib/directives/details/details.directive.d.ts +0 -19
- package/lib/directives/directives.module.d.ts +0 -11
- package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +0 -8
- package/lib/directives/index.d.ts +0 -5
- package/lib/directives/viewport-show/viewport-show.directive.d.ts +0 -11
- package/lib/factories/factories.module.d.ts +0 -7
- package/lib/factories/form/form.factory.d.ts +0 -27
- package/lib/factories/index.d.ts +0 -2
- package/lib/models/chart.d.ts +0 -18
- package/lib/models/index.d.ts +0 -3
- package/lib/models/interfaces.d.ts +0 -197
- package/lib/models/style.d.ts +0 -3
- package/lib/ngrx-shared.module.d.ts +0 -12
- package/lib/pages/details/details.page.d.ts +0 -20
- package/lib/pages/index.d.ts +0 -2
- package/lib/pages/pages.module.d.ts +0 -11
- package/lib/pipes/enum-to-list/enum-to-list.pipe.d.ts +0 -7
- package/lib/pipes/file-url/file-url.pipe.d.ts +0 -12
- package/lib/pipes/index.d.ts +0 -7
- package/lib/pipes/list-cell/list-cell.pipe.d.ts +0 -17
- package/lib/pipes/list-header/list-header.pipe.d.ts +0 -13
- package/lib/pipes/model-label/model-label.pipe.d.ts +0 -13
- package/lib/pipes/pipes.module.d.ts +0 -19
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +0 -10
- package/lib/providers/index.d.ts +0 -6
- package/lib/providers/interfaces.d.ts +0 -9
- package/lib/providers/model-export.provider.d.ts +0 -5
- package/lib/providers/model-import.provider.d.ts +0 -6
- package/lib/providers/model-label.provider.d.ts +0 -11
- package/lib/providers/model-possibilities.provider.d.ts +0 -14
- package/lib/providers/model-validators.provider.d.ts +0 -51
- package/lib/services/alert/alert.service.d.ts +0 -24
- package/lib/services/app/app.service.d.ts +0 -24
- package/lib/services/auth/auth.service.d.ts +0 -13
- package/lib/services/calendar/calendar.service.d.ts +0 -28
- package/lib/services/camera/camera.service.d.ts +0 -11
- package/lib/services/details/details.service.d.ts +0 -10
- package/lib/services/dynamic-component-loader/dynamic-component-loader.service.d.ts +0 -16
- package/lib/services/dynamic-component-storage/dynamic-component-storage.service.d.ts +0 -6
- package/lib/services/error/error.service.d.ts +0 -11
- package/lib/services/file/file.service.d.ts +0 -19
- package/lib/services/form/form.group.d.ts +0 -5
- package/lib/services/hardware/hardware.service.d.ts +0 -14
- package/lib/services/index.d.ts +0 -21
- package/lib/services/menu/menu.service.d.ts +0 -51
- package/lib/services/modal/modal.service.d.ts +0 -25
- package/lib/services/ngrx-store/ngrx-store.service.d.ts +0 -11
- package/lib/services/popover/popover.service.d.ts +0 -9
- package/lib/services/services.module.d.ts +0 -9
- package/lib/services/storage/storage.service.d.ts +0 -25
- package/lib/services/style/style.service.d.ts +0 -22
- package/lib/services/toast/toast.service.d.ts +0 -24
- package/lib/services/ui/ui.service.d.ts +0 -14
- package/lib/shared.animations.d.ts +0 -2
- package/lib/shared.inectors.d.ts +0 -3
- package/lib/shared.module.d.ts +0 -20
- package/lib/translations-default.d.ts +0 -124
- package/lib/utils-shared.module.d.ts +0 -7
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Component, HostBinding } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@ionic/angular";
|
|
4
|
-
export class GridRowComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.rowClassExist = true;
|
|
7
|
-
}
|
|
8
|
-
ngOnInit() {
|
|
9
|
-
}
|
|
10
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: GridRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: GridRowComponent, selector: "smart-grid-row", host: { properties: { "class.row": "this.rowClassExist" } }, ngImport: i0, template: "<ion-row>\n <ng-content></ng-content>\n</ion-row>\n", styles: [""], dependencies: [{ kind: "component", type: i1.IonRow, selector: "ion-row" }] }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: GridRowComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{ selector: 'smart-grid-row', template: "<ion-row>\n <ng-content></ng-content>\n</ion-row>\n" }]
|
|
16
|
-
}], ctorParameters: function () { return []; }, propDecorators: { rowClassExist: [{
|
|
17
|
-
type: HostBinding,
|
|
18
|
-
args: ['class.row']
|
|
19
|
-
}] } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2dyaWQvcm93L3Jvdy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9ncmlkL3Jvdy9yb3cuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQVMsTUFBTSxlQUFlLENBQUM7OztBQU83RCxNQUFNLE9BQU8sZ0JBQWdCO0lBRzNCO1FBRjBCLGtCQUFhLEdBQUcsSUFBSSxDQUFDO0lBRS9CLENBQUM7SUFFakIsUUFBUTtJQUNSLENBQUM7aUlBTlUsZ0JBQWdCO3FIQUFoQixnQkFBZ0IsbUhDUDdCLHdEQUdBOzsyRkRJYSxnQkFBZ0I7a0JBTDVCLFNBQVM7K0JBQ0UsZ0JBQWdCOzBFQUtBLGFBQWE7c0JBQXRDLFdBQVc7dUJBQUMsV0FBVyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7Q29tcG9uZW50LCBIb3N0QmluZGluZywgT25Jbml0fSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnc21hcnQtZ3JpZC1yb3cnLFxuICB0ZW1wbGF0ZVVybDogJy4vcm93LmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vcm93LmNvbXBvbmVudC5zY3NzJ11cbn0pXG5leHBvcnQgY2xhc3MgR3JpZFJvd0NvbXBvbmVudCBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIEBIb3N0QmluZGluZygnY2xhc3Mucm93Jykgcm93Q2xhc3NFeGlzdCA9IHRydWU7XG5cbiAgY29uc3RydWN0b3IoKSB7IH1cblxuICBuZ09uSW5pdCgpIHtcbiAgfVxuXG59XG4iLCI8aW9uLXJvdz5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG48L2lvbi1yb3c+XG4iXX0=
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, EventEmitter, Output, Renderer2, ViewChild, Input } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@ionic/angular";
|
|
4
|
-
export class ImportComponent {
|
|
5
|
-
constructor(renderer) {
|
|
6
|
-
this.renderer = renderer;
|
|
7
|
-
this.accept = "application/json";
|
|
8
|
-
this.set = new EventEmitter();
|
|
9
|
-
}
|
|
10
|
-
async onClick() {
|
|
11
|
-
this.inputElementRef.nativeElement.click();
|
|
12
|
-
}
|
|
13
|
-
ngAfterViewInit() {
|
|
14
|
-
this.renderer.listen(this.inputElementRef.nativeElement, 'change', () => {
|
|
15
|
-
const file = this.inputElementRef.nativeElement.files[0];
|
|
16
|
-
this.inputElementRef.nativeElement.type = 'text';
|
|
17
|
-
this.inputElementRef.nativeElement.type = 'file';
|
|
18
|
-
this.set.next(file);
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ImportComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: ImportComponent, selector: "smart-import", inputs: { accept: "accept" }, outputs: { set: "set" }, viewQueries: [{ propertyName: "inputElementRef", first: true, predicate: ["inputObj"], descendants: true, read: ElementRef }], ngImport: i0, template: "<ion-button title=\"import\" (click)=\"onClick()\" slot=\"icon-only\">\n <ion-icon name=\"cloud-upload\"></ion-icon>\n</ion-button>\n<input type=\"file\" [accept]=\"accept ? accept : 'application/json'\" [hidden]=\"true\" #inputObj>", styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"], dependencies: [{ kind: "component", type: i1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ImportComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{ selector: "smart-import", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-button title=\"import\" (click)=\"onClick()\" slot=\"icon-only\">\n <ion-icon name=\"cloud-upload\"></ion-icon>\n</ion-button>\n<input type=\"file\" [accept]=\"accept ? accept : 'application/json'\" [hidden]=\"true\" #inputObj>", styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"] }]
|
|
27
|
-
}], ctorParameters: function () { return [{ type: i0.Renderer2 }]; }, propDecorators: { accept: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], set: [{
|
|
30
|
-
type: Output
|
|
31
|
-
}], inputElementRef: [{
|
|
32
|
-
type: ViewChild,
|
|
33
|
-
args: ['inputObj', { read: ElementRef }]
|
|
34
|
-
}] } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1wb3J0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2ltcG9ydC9pbXBvcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW1wb3J0L2ltcG9ydC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0gsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxVQUFVLEVBQ1YsWUFBWSxFQUNaLE1BQU0sRUFDTixTQUFTLEVBQ1QsU0FBUyxFQUNNLEtBQUssRUFDdkIsTUFBTSxlQUFlLENBQUM7OztBQVF2QixNQUFNLE9BQU8sZUFBZTtJQU94QixZQUFvQixRQUFtQjtRQUFuQixhQU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KCk6IHZvaWQge1xuICAgICAgICB0aGlzLnJlbmRlcmVyLmxpc3Rlbih0aGlzLmlucHV0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LCAnY2hhbmdlJywgKCkgPT4ge1xuICAgICAgICAgICAgY29uc3QgZmlsZTogRmlsZSA9ICh0aGlzLmlucHV0RWxlbWVudFJlZi5uYXRpdmVFbGVtZW50IGFzIEhUTUxJbnB1dEVsZW1lbnQpLmZpbGVzWzBdO1xuXG4gICAgICAgICAgICAodGhpcy5pbnB1dEVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCBhcyBIVE1MSW5wdXRFbGVtZW50KS50eXBlID0gJ3RleHQnO1xuICAgICAgICAgICAgKHRoaXMuaW5wdXRFbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQgYXMgSFRNTElucHV0RWxlbWVudCkudHlwZSA9ICdmaWxlJztcblxuICAgICAgICAgICAgdGhpcy5zZXQubmV4dChmaWxlKTtcbiAgICAgICAgfSk7XG4gICAgfVxufVxuIiwiPGlvbi1idXR0b24gdGl0bGU9XCJpbXBvcnRcIiAoY2xpY2spPVwib25DbGljaygpXCIgc2xvdD1cImljb24tb25seVwiPlxuICAgIDxpb24taWNvbiBuYW1lPVwiY2xvdWQtdXBsb2FkXCI+PC9pb24taWNvbj5cbjwvaW9uLWJ1dHRvbj5cbjxpbnB1dCB0eXBlPVwiZmlsZVwiIFthY2NlcHRdPVwiYWNjZXB0ID8gYWNjZXB0IDogJ2FwcGxpY2F0aW9uL2pzb24nXCIgW2hpZGRlbl09XCJ0cnVlXCIgI2lucHV0T2JqPiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from "./import.component";
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbXBvcnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2ltcG9ydC5jb21wb25lbnRcIjsiXX0=
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from './accordion';
|
|
2
|
-
export * from './app';
|
|
3
|
-
export * from './base';
|
|
4
|
-
export * from './button';
|
|
5
|
-
export * from './card';
|
|
6
|
-
export * from './chart';
|
|
7
|
-
export * from './detail';
|
|
8
|
-
export * from './detail';
|
|
9
|
-
export * from './details';
|
|
10
|
-
export * from './form';
|
|
11
|
-
export * from './grid';
|
|
12
|
-
export * from './input';
|
|
13
|
-
export * from './input';
|
|
14
|
-
export * from './list';
|
|
15
|
-
export * from './loader';
|
|
16
|
-
export * from './page';
|
|
17
|
-
export * from './searchbar';
|
|
18
|
-
export * from './tabs';
|
|
19
|
-
export * from './dynamic';
|
|
20
|
-
export * from './password-strength';
|
|
21
|
-
export * from './info';
|
|
22
|
-
export * from './date-range';
|
|
23
|
-
export * from './date-edit';
|
|
24
|
-
export * from './error-context';
|
|
25
|
-
export * from './export';
|
|
26
|
-
export * from './import';
|
|
27
|
-
export * from './paging';
|
|
28
|
-
export * from './components.module';
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLE9BQU8sQ0FBQztBQUN0QixjQUFjLFFBQVEsQ0FBQztBQUN2QixjQUF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ztcbmV4cG9ydCAqIGZyb20gJy4vZ3JpZCc7XG5leHBvcnQgKiBmcm9tICcuL2lucHV0JztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQnO1xuZXhwb3J0ICogZnJvbSAnLi9saXN0JztcbmV4cG9ydCAqIGZyb20gJy4vbG9hZGVyJztcbmV4cG9ydCAqIGZyb20gJy4vcGFnZSc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaGJhcic7XG5leHBvcnQgKiBmcm9tICcuL3RhYnMnO1xuZXhwb3J0ICogZnJvbSAnLi9keW5hbWljJztcbmV4cG9ydCAqIGZyb20gJy4vcGFzc3dvcmQtc3RyZW5ndGgnO1xuZXhwb3J0ICogZnJvbSAnLi9pbmZvJztcbmV4cG9ydCAqIGZyb20gJy4vZGF0ZS1yYW5nZSc7XG5leHBvcnQgKiBmcm9tICcuL2RhdGUtZWRpdCc7XG5leHBvcnQgKiBmcm9tICcuL2Vycm9yLWNvbnRleHQnO1xuZXhwb3J0ICogZnJvbSAnLi9leHBvcnQnO1xuZXhwb3J0ICogZnJvbSAnLi9pbXBvcnQnO1xuZXhwb3J0ICogZnJvbSAnLi9wYWdpbmcnO1xuXG5leHBvcnQgKiBmcm9tICcuL2NvbXBvbmVudHMubW9kdWxlJztcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from "./info.component";
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbmZvL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9pbmZvLmNvbXBvbmVudFwiOyJdfQ==
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
|
|
2
|
-
import { NavParams, PopoverController } from "@ionic/angular";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@ionic/angular";
|
|
5
|
-
import * as i2 from "@ngx-translate/core";
|
|
6
|
-
export class InfoComponent {
|
|
7
|
-
constructor(popoverCtrl) {
|
|
8
|
-
this.popoverCtrl = popoverCtrl;
|
|
9
|
-
}
|
|
10
|
-
async onClick(ev) {
|
|
11
|
-
const popover = await this.popoverCtrl.create({
|
|
12
|
-
backdropDismiss: true,
|
|
13
|
-
component: InfoModalComponent,
|
|
14
|
-
componentProps: {
|
|
15
|
-
text: this.text
|
|
16
|
-
},
|
|
17
|
-
event: ev
|
|
18
|
-
});
|
|
19
|
-
await popover.present();
|
|
20
|
-
}
|
|
21
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InfoComponent, deps: [{ token: i1.PopoverController }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
22
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: InfoComponent, selector: "smart-info", inputs: { text: "text" }, ngImport: i0, template: "<ion-icon name=\"information-circle-outline\" (click)=\"onClick($event)\"></ion-icon>", styles: [":host{cursor:pointer;font-size:2.4rem;transform:translateY(-50%)}:host ion-icon{color:var(--smart-color-primary)}.item-multiple-inputs :host{height:100%;width:.1rem;border:.1rem dotted rgba(var(--smart-color-primary-rgb),.3)!important;right:3.2rem}.item-multiple-inputs :host ion-icon{position:absolute;top:50%;transform:translate(-50%,-50%);z-index:666;color:var(--smart-color-primary);background-color:#fff;border-radius:50%;padding-left:.1rem}.item-multiple-inputs.item-datetime :host{right:7.8rem;height:2.4rem;margin-top:-.3rem;border:none!important}.item-datetime :host{right:6.4rem;height:2.4rem}\n"], dependencies: [{ kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
23
|
-
}
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InfoComponent, decorators: [{
|
|
25
|
-
type: Component,
|
|
26
|
-
args: [{ selector: "smart-info", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ion-icon name=\"information-circle-outline\" (click)=\"onClick($event)\"></ion-icon>", styles: [":host{cursor:pointer;font-size:2.4rem;transform:translateY(-50%)}:host ion-icon{color:var(--smart-color-primary)}.item-multiple-inputs :host{height:100%;width:.1rem;border:.1rem dotted rgba(var(--smart-color-primary-rgb),.3)!important;right:3.2rem}.item-multiple-inputs :host ion-icon{position:absolute;top:50%;transform:translate(-50%,-50%);z-index:666;color:var(--smart-color-primary);background-color:#fff;border-radius:50%;padding-left:.1rem}.item-multiple-inputs.item-datetime :host{right:7.8rem;height:2.4rem;margin-top:-.3rem;border:none!important}.item-datetime :host{right:6.4rem;height:2.4rem}\n"] }]
|
|
27
|
-
}], ctorParameters: function () { return [{ type: i1.PopoverController }]; }, propDecorators: { text: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}] } });
|
|
30
|
-
export class InfoModalComponent {
|
|
31
|
-
constructor(params) {
|
|
32
|
-
this.text = params.get('text');
|
|
33
|
-
}
|
|
34
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InfoModalComponent, deps: [{ token: i1.NavParams }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
35
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: InfoModalComponent, selector: "smart-info-modal", ngImport: i0, template: `
|
|
36
|
-
<ion-content class="ion-padding" [innerHTML]="text | translate"></ion-content>
|
|
37
|
-
`, isInline: true, dependencies: [{ kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "pipe", type: i2.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
38
|
-
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InfoModalComponent, decorators: [{
|
|
40
|
-
type: Component,
|
|
41
|
-
args: [{
|
|
42
|
-
selector: "smart-info-modal",
|
|
43
|
-
template: `
|
|
44
|
-
<ion-content class="ion-padding" [innerHTML]="text | translate"></ion-content>
|
|
45
|
-
`,
|
|
46
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
47
|
-
}]
|
|
48
|
-
}], ctorParameters: function () { return [{ type: i1.NavParams }]; } });
|
|
49
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5mby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbmZvL2luZm8uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5mby9pbmZvLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQ3hFLE9BQU8sRUFBQyxTQUFTLEVBQUUsaUJBQWlCLEVBQUMsTUFBTSxnQkFBZ0IsQ0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sXCIsXG4gICAgdGVtcGxhdGU6IGBcbiAgICAgICAgPGlvbi1jb250ZW50IGNsYXNzPVwiaW9uLXBhZGRpbmdcIiBbaW5uZXJIVE1MXT1cInRleHQgfCB0cmFuc2xhdGVcIj48L2lvbi1jb250ZW50PlxuICAgIGAsXG4gICAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgSW5mb01vZGFsQ29tcG9uZW50IHtcbiAgICB0ZXh0OiBzdHJpbmc7XG5cbiAgICBjb25zdHJ1Y3RvcihwYXJhbXM6IE5hdlBhcmFtcykge1xuICAgICAgICB0aGlzLnRleHQgPSBwYXJhbXMuZ2V0KCd0ZXh0Jyk7XG4gICAgfVxufSIsIjxpb24taWNvbiBuYW1lPVwiaW5mb3JtYXRpb24tY2lyY2xlLW91dGxpbmVcIiAoY2xpY2spPVwib25DbGljaygkZXZlbnQpXCI+PC9pb24taWNvbj4iXX0=
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
import { InputBaseComponent } from "../base/base.component";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@ionic/angular";
|
|
6
|
-
import * as i3 from "@angular/forms";
|
|
7
|
-
import * as i4 from "@ngx-translate/core";
|
|
8
|
-
import * as i5 from "../../../pipes/model-label/model-label.pipe";
|
|
9
|
-
export class InputAddressComponent extends InputBaseComponent {
|
|
10
|
-
constructor(cd) {
|
|
11
|
-
super(cd);
|
|
12
|
-
}
|
|
13
|
-
ngOnInit() { }
|
|
14
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputAddressComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
15
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", 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", "counter", "counterFormatter", "debounce", "disabled", "enterkeyhint", "errorText", "fill", "helperText", "inputmode", "label", "labelPlacement", "legacy", "max", "maxlength", "min", "minlength", "mode", "multiple", "name", "pattern", "placeholder", "readonly", "required", "shape", "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" }] }); }
|
|
16
|
-
}
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputAddressComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
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
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
21
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWRkcmVzcy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC9hZGRyZXNzL2FkZHJlc3MuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvYWRkcmVzcy9hZGRyZXNzLmNvbXBvbmVudC5odG1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ImRhbmdlclwiPlxuICAgICAgICAgICAgICAgICAgICA8c3BhbiAqbmdJZj1cInJlcXVpcmVkXCI+Kjwvc3Bhbj5cbiAgICAgICAgICAgICAgICA8L2lvbi10ZXh0PlxuICAgICAgICAgICAgPC9pb24tbGFiZWw+XG4gICAgICAgICAgICA8aW9uLWlucHV0IGZvcm1Db250cm9sTmFtZT1cImJ1aWxkaW5nTnVtYmVyXCI+PC9pb24taW5wdXQ+XG4gICAgICAgIDwvaW9uLWl0ZW0+XG4gICAgICAgIDxpb24taXRlbT5cbiAgICAgICAgICAgIDxpb24tbGFiZWwgcG9zaXRpb249XCJmbG9hdGluZ1wiPlxuICAgICAgICAgICAgICAgIHt7ICdNT0RFTC5mbGF0TnVtYmVyJyB8IHRyYW5zbGF0ZSB9fVxuICAgICAgICAgICAgPC9pb24tbGFiZWw+XG4gICAgICAgICAgICA8aW9uLWlucHV0IGZvcm1Db250cm9sTmFtZT1cImZsYXROdW1iZXJcIj48L2lvbi1pbnB1dD5cbiAgICAgICAgPC9pb24taXRlbT5cbiAgICA8L2lvbi1saXN0PlxuPC9uZy1jb250YWluZXI+XG4iXX0=
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component, Inject } from '@angular/core';
|
|
2
|
-
import { ObjectService } from "@smartsoft001/utils";
|
|
3
|
-
import { InputBaseComponent } from "../base/base.component";
|
|
4
|
-
import { FormFactory } from "../../../factories/form/form.factory";
|
|
5
|
-
import { FieldType, getModelFieldOptions, getModelOptions } from "@smartsoft001/models";
|
|
6
|
-
import { FORM_COMPONENT_TOKEN } from "../../../shared.inectors";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../../factories/form/form.factory";
|
|
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
|
-
import * as i6 from "../../button/button.component";
|
|
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
|
-
export class InputArrayComponent extends InputBaseComponent {
|
|
20
|
-
constructor(cd, factory, formComponent) {
|
|
21
|
-
super(cd);
|
|
22
|
-
this.factory = factory;
|
|
23
|
-
this.formComponent = formComponent;
|
|
24
|
-
this.addButtonOptions = {
|
|
25
|
-
click: async () => {
|
|
26
|
-
const options = this.getOptions();
|
|
27
|
-
const modelOptions = getModelOptions(options.classType);
|
|
28
|
-
const control = await this.factory.create(new this.fieldOptions.classType(), {
|
|
29
|
-
mode: this.internalOptions.mode,
|
|
30
|
-
root: this.internalOptions.control.root
|
|
31
|
-
});
|
|
32
|
-
this.internalOptions.control.push(control);
|
|
33
|
-
this.childOptions.push({
|
|
34
|
-
treeLevel: this.internalOptions.treeLevel + 1,
|
|
35
|
-
mode: this.internalOptions.mode,
|
|
36
|
-
control,
|
|
37
|
-
model: ObjectService.createByType(control.value, options.classType),
|
|
38
|
-
fieldOptions: options,
|
|
39
|
-
modelOptions,
|
|
40
|
-
show: true
|
|
41
|
-
});
|
|
42
|
-
this.control.markAsDirty();
|
|
43
|
-
setTimeout(() => {
|
|
44
|
-
this.cd.detectChanges();
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
this.FieldType = FieldType;
|
|
49
|
-
}
|
|
50
|
-
afterSetOptionsHandler() {
|
|
51
|
-
this.initData();
|
|
52
|
-
}
|
|
53
|
-
onRemove(index) {
|
|
54
|
-
this.internalOptions.control.removeAt(index);
|
|
55
|
-
this.initData();
|
|
56
|
-
this.control.markAsDirty();
|
|
57
|
-
this.control.setValue(this.childOptions.map(o => o.control.value));
|
|
58
|
-
}
|
|
59
|
-
ngOnInit() { }
|
|
60
|
-
initData() {
|
|
61
|
-
this.childOptions = this.internalOptions.control.controls.map(control => {
|
|
62
|
-
const options = this.getOptions();
|
|
63
|
-
const modelOptions = getModelOptions(options.classType);
|
|
64
|
-
return {
|
|
65
|
-
treeLevel: this.internalOptions.treeLevel + 1,
|
|
66
|
-
mode: this.internalOptions.mode,
|
|
67
|
-
control,
|
|
68
|
-
model: ObjectService.createByType(control.value, options.classType),
|
|
69
|
-
fieldOptions: options,
|
|
70
|
-
modelOptions,
|
|
71
|
-
show: false
|
|
72
|
-
};
|
|
73
|
-
});
|
|
74
|
-
this.internalOptions.control.valueChanges
|
|
75
|
-
.pipe(this.takeUntilDestroy)
|
|
76
|
-
.subscribe(val => {
|
|
77
|
-
this.control.markAsDirty();
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
drop(event) {
|
|
81
|
-
this.control.markAsDirty();
|
|
82
|
-
const swapArray = function (arr, index1, index2) {
|
|
83
|
-
const temp = arr[index1];
|
|
84
|
-
arr[index1] = arr[index2];
|
|
85
|
-
arr[index2] = temp;
|
|
86
|
-
};
|
|
87
|
-
swapArray(this.childOptions, event.previousIndex, event.currentIndex);
|
|
88
|
-
const swapFormArray = function (arr, index1, index2) {
|
|
89
|
-
const c1 = arr.at(index1);
|
|
90
|
-
const c2 = arr.at(index2);
|
|
91
|
-
arr.controls[index2] = c1;
|
|
92
|
-
arr.controls[index1] = c2;
|
|
93
|
-
};
|
|
94
|
-
swapFormArray(this.control, event.previousIndex, event.currentIndex);
|
|
95
|
-
this.control.updateValueAndValidity();
|
|
96
|
-
}
|
|
97
|
-
getOptions() {
|
|
98
|
-
const options = this.internalOptions.model[0] && this.internalOptions.model[0][this.internalOptions.fieldKey] ?
|
|
99
|
-
getModelFieldOptions(this.internalOptions.model[0], this.internalOptions.fieldKey)
|
|
100
|
-
: getModelFieldOptions(this.internalOptions.model, this.internalOptions.fieldKey);
|
|
101
|
-
return options;
|
|
102
|
-
}
|
|
103
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputArrayComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.FormFactory }, { token: FORM_COMPONENT_TOKEN }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
104
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", 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", "form", "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]", inputs: ["ndcDynamicInputs", "ndcDynamicOutputs"], exportAs: ["ndcDynamicIo"] }, { 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" }] }); }
|
|
105
|
-
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputArrayComponent, decorators: [{
|
|
107
|
-
type: Component,
|
|
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
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.FormFactory }, { type: undefined, decorators: [{
|
|
110
|
-
type: Inject,
|
|
111
|
-
args: [FORM_COMPONENT_TOKEN]
|
|
112
|
-
}] }]; } });
|
|
113
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXJyYXkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvYXJyYXkvYXJyYXkuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQv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OiBib29sZWFuLCBtb2RlbE9wdGlvbnM6IElNb2RlbE9wdGlvbnMgfT47XG4gICAgYWRkQnV0dG9uT3B0aW9uczogSUJ1dHRvbk9wdGlvbnMgPSB7XG4gICAgICAgIGNsaWNrOiBhc3luYyAoKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBvcHRpb25zID0gdGhpcy5nZXRPcHRpb25zKCk7XG4gICAgICAgICAgICBjb25zdCBtb2RlbE9wdGlvbnMgPSBnZXRNb2RlbE9wdGlvbnMob3B0aW9ucy5jbGFzc1R5cGUpO1xuICAgICAgICAgICAgY29uc3QgY29udHJvbCA9IGF3YWl0IHRoaXMuZmFjdG9yeS5jcmVhdGUoXG4gICAgICAgICAgICAgICAgbmV3IHRoaXMuZmllbGRPcHRpb25zLmNsYXNzVHlwZSgpLFxuICAgICAgICAgICAgICAgIHtcbiAgICAgICAgICAgICAgICAgICAgbW9kZTogdGhpcy5pbnRlcm5hbE9wdGlvbnMubW9kZSxcbiAgICAgICAgICAgICAgICAgICAgcm9vdDogdGhpcy5pbnRlcm5hbE9wdGlvbnMuY29udHJvbC5yb290XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICh0aGlzLmludGVybmFsT3B0aW9ucy5jb250cm9sIGFzIFVudHlwZWRGb3JtQXJyYXkpLnB1c2goY29udHJvbCk7XG4gICAgICAgICAgICB0aGlzLmNoaWxkT3B0aW9ucy5wdXNoKHtcbiAgICAgICAgICAgICAgICB0cmVlTGV2ZWw6IHRoaXMuaW50ZXJuYWxPcHRpb25zLnRyZWVMZXZlbCArIDEsXG4gICAgICAgICAgICAgICAgbW9kZTogdGhpcy5pbnRlcm5hbE9wdGlvbnMubW9kZSxcbiAgICAgICAgICAgICAgICBjb250cm9sLFxuICAgICAgICAgICAgICAgIG1vZGVsIDogT2JqZWN0U2VydmljZS5jcmVhdGVCeVR5cGUoY29udHJvbC52YWx1ZSwgb3B0aW9ucy5jbGFzc1R5cGUpLFxuIC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B7fVxuXG4gICAgcHJpdmF0ZSBpbml0RGF0YSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5jaGlsZE9wdGlvbnMgPSAodGhpcy5pbnRlcm5hbE9wdGlvbnMuY29udHJvbCBhcyBVbnR5cGVkRm9ybUFycmF5KS5jb250cm9scy5tYXAoY29udHJvbCA9PiB7XG4gICAgICAgICAgICBjb25zdCBvcHRpb25zID0gdGhpcy5nZXRPcHRpb25zKCk7XG4gICAgICAgICAgICBjb25zdCBtb2RlbE9wdGlvbnMgPSBnZXRNb2RlbE9wdGlvbnMob3B0aW9ucy5jbGFzc1R5cGUpO1xuXG4gICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgIHRyZWVMZXZlbDogdGhpcy5pbnRlcm5hbE9wdGlvbnMudHJlZUxldmVsICsgMSxcbiAgICAgICAgICAgICAgICBtb2RlOiB0aGlzLmludGVybmFsT3B0aW9ucy5tb2RlLFxuICAgICAgICAgICAgICAgIGNvbnRyb2wsXG4gICAgICAgICAgICAgICAgbW9kZWwgOiBPYmplY3RTZXJ2aWNlLmNyZWF0ZUJ5VHlwZShjb250cm9sLnZhbHVlLCBvcHRpb25zLmNsYXNzVHlwZSksXG4gICAgICAgICAgICAgICAgZmllbGRPcHRpb25zOiBvcHRpb25zLFxuICAgICAgICAgICAgICAgIG1vZGVsT3B0aW9ucyxcbiAgICAgICAgICAgICAgICBzaG93OiBmYWxzZVxuICAgICAgICAgICAgfSBhcyBJRm9ybU9wdGlvbnM8VENoaWxkPiAmIHsgZmllbGRPcHRpb25zOiBJRmllbGRPcHRpb25zLCBtb2RlbE9wdGlvbnM6IElNb2RlbE9wdGlvbnMgfTtcbiAgICAgICAgfSk7XG5cbiAgICAgICAgdGhpcy5pbnRlcm5hbE9wdGlvbnMuY29udHJvbC52YWx1ZUNoYW5nZXNcbiAgICAgICAgICAgIC5waXBlKFxuICAgICAgICAgICAgICAgIHRoaXMudGFrZVVudGlsRGVzdHJveVxuICAgICAgICAgICAgKVxuICAgICAgICAgICAgLnN1YnNjcmliZSh2YWwgPT4ge1xuICAgICAgICAgICAgICAgIHRoaXMuY29udHJvbC5tYXJrQXNEaXJ0eSgpO1xuICAgICAgICAgICAgfSk7XG4gICAgfVxuXG4gICAgZHJvcChldmVudDogQ2RrRHJhZ0Ryb3A8VCwgYW55Pikge1xuICAgICAgICB0aGlzLmNvbnRyb2wubWFya0FzRGlydHkoKTtcblxuICAgICAgICBjb25zdCBzd2FwQXJyYXkgPSBmdW5jdGlvbiAoYXJyLCBpbmRleDEsIGluZGV4Mikge1xuICAgICAgICAgICAgY29uc3QgdGVtcCA9IGFycltpbmRleDFdO1xuXG4gICAgICAgICAgICBhcnJbaW5kZXgxXSA9IGFycltpbmRleDJdO1xuICAgICAgICAgICAgYXJyW2luZGV4Ml0gPSB0ZW1wO1xuICAgICAgICB9XG4gICAgICAgIHN3YXBBcnJheSh0aGlzLmNoaWxkT3B0aW9ucywgZXZlbnQucHJldmlvdXNJbmRleCwgZXZlbnQuY3VycmVudEluZGV4KTtcblxuICAgICAgICBjb25zdCBzd2FwRm9ybUFycmF5ID0gZnVuY3Rpb24gKGFycjogVW50eXBlZEZvcm1BcnJheSwgaW5kZXgxLCBpbmRleDIpIHtcbiAgICAgICAgICAgIGNvbnN0IGMxID0gYXJyLmF0KGluZGV4MSk7XG4gICAgICAgICAgICBjb25zdCBjMiA9IGFyci5hdChpbmRleDIpO1xuXG4gICAgICAgICAgICBhcnIuY29udHJvbHNbaW5kZXgyXSA9IGMxO1xuICAgICAgICAgICAgYXJyLmNvbnRyb2xzW2luZGV4MV0gPSBjMjtcbiAgICAgICAgfVxuICAgICAgICBzd2FwRm9ybUFycmF5KHRoaXMuY29udHJvbCBhcyBVbnR5cGVkRm9ybUFycmF5LCBldmVudC5wcmV2aW91c0luZGV4LCBldmVudC5jdXJyZW50SW5kZXgpO1xuXG4gICAgICAgIHRoaXMuY29udHJvbC51cGRhdGVWYWx1ZUFuZFZhbGlkaXR5KCk7XG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vcExpc3RcbiAgICAgICAgICAgICAgICAgICAgICBbY2RrRHJvcExpc3REaXNhYmxlZF09XCJmaWVsZE9wdGlvbnM/LnBvc3NpYmlsaXRpZXM/LnN0YXRpY1wiXG4gICAgICAgICAgICAgICAgICAgICAgKGNka0Ryb3BMaXN0RHJvcHBlZCk9XCJkcm9wKCRldmVudClcIlxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgIDxpb24taXRlbSBjbGFzcz1cImFycmF5LWJveFwiICpuZ0Zvcj1cImxldCBvcHRpb25zIG9mIGNoaWxkT3B0aW9uczsgbGV0IGluZGV4ID0gaW5kZXhcIiBsaW5lcz1cIm5vbmVcIiBjZGtEcmFnPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWNhcmQgKm5nSWY9XCIhKGZpZWxkT3B0aW9ucz8ucG9zc2liaWxpdGllcz8uc3RhdGljKTsgZWxzZSBzdGF0aWNDYXJkVHBsXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICA8c21hcnQtYWNjb3JkaW9uIFsoc2hvdyldPVwib3B0aW9ucy5zaG93XCIgPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzbWFydC1hY2NvcmRpb24taGVhZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWNhcmQtaGVhZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1pdGVtIGxpbmVzPVwibm9uZVwiPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tbGFiZWwgKm5nSWY9XCIhb3B0aW9ucy5zaG93ICYmIG9wdGlvbnMuY29udHJvbD8udmFsdWVbb3B0aW9ucy5tb2RlbE9wdGlvbnMudGl0bGVLZXldXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt7IG9wdGlvbnMuY29udHJvbC52YWx1ZVtvcHRpb25zLm1vZGVsT3B0aW9ucy50aXRsZUtleV0gfCB0cmFuc2xhdGUgfX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1sYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWJ1dHRvbiAoY2xpY2spPVwib25SZW1vdmUoaW5kZXgpXCIgc2l6ZT1cInNtYWxsXCIgZmlsbD1cIm91dGxpbmVcIiBzbG90PVwiZW5kXCI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpb24taWNvbiBuYW1lPVwiY2xvc2Utb3V0bGluZVwiPjwvaW9uLWljb24+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tYnV0dG9uPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24taXRlbT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tY2FyZC1oZWFkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zbWFydC1hY2NvcmRpb24taGVhZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzbWFydC1hY2NvcmRpb24tYm9keT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1jYXJkLWNvbnRlbnQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8bmctdGVtcGxhdGUgW25nQ29tcG9uZW50T3V0bGV0XT1cImZvcm1Db21wb25lbnRcIlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZGNEeW5hbWljSW5wdXRzXT1cInsgb3B0aW9uczogb3B0aW9ucyB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgID48L25nLXRlbXBsYXRlPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1jYXJkLWNvbnRlbnQ+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9zbWFydC1hY2NvcmRpb24tYm9keT5cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvc21hcnQtYWNjb3JkaW9uPlxuICAgICAgICAgICAgICAgICAgICA8L2lvbi1jYXJkPlxuXG4gICAgICAgICAgICAgICAgICAgIDxuZy10ZW1wbGF0ZSAjc3RhdGljQ2FyZFRwbD5cbiAgICAgICAgICAgICAgICAgICAgICAgIDxpb24tY2FyZD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWNhcmQtY29udGVudD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlIFtuZ0NvbXBvbmVudE91dGxldF09XCJmb3JtQ29tcG9uZW50XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIFtuZGNEeW5hbWljSW5wdXRzXT1cInsgb3B0aW9uczogb3B0aW9ucyB9XCJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPjwvbmctdGVtcGxhdGU+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tY2FyZC1jb250ZW50PlxuICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tY2FyZD5cbiAgICAgICAgICAgICAgICAgICAgPC9uZy10ZW1wbGF0ZT5cbiAgICAgICAgICAgICAgICA8L2lvbi1pdGVtPlxuICAgICAgICAgICAgPC9pb24tbGlzdD5cbiAgICA8c21hcnQtYnV0dG9uIFtvcHRpb25zXT1cImFkZEJ1dHRvbk9wdGlvbnNcIiBjbGFzcz1cImFkZFwiICpuZ0lmPVwiIShmaWVsZE9wdGlvbnM/LnBvc3NpYmlsaXRpZXM/LnN0YXRpYylcIj5cbiAgICAgICAgPHNwYW4gc3R5bGU9XCJmb250LXdlaWdodDogMzAwXCI+e3sgY29udHJvbD8ucGFyZW50Py52YWx1ZSB8IHNtYXJ0TW9kZWxMYWJlbCA6IGludGVybmFsT3B0aW9ucy5maWVsZEtleSA6IGludGVybmFsT3B0aW9ucz8ubW9kZWw/LmNvbnN0cnVjdG9yIHwgYXN5bmMgfX0gPiAmbmJzcDs8L3NwYW4+PGI+e3sgJ2FkZCcgfCB0cmFuc2xhdGUgfX08L2I+XG4gICAgPC9zbWFydC1idXR0b24+XG48L25nLWNvbnRhaW5lcj4iXX0=
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Renderer2, } from '@angular/core';
|
|
2
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
3
|
-
import { InputFileBaseComponent } from "../base/file.component";
|
|
4
|
-
import { FileService } from "../../../services/file/file.service";
|
|
5
|
-
import { ToastService } from "../../../services/toast/toast.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../../services/file/file.service";
|
|
8
|
-
import * as i2 from "../../../services/toast/toast.service";
|
|
9
|
-
import * as i3 from "@ngx-translate/core";
|
|
10
|
-
import * as i4 from "@angular/common";
|
|
11
|
-
import * as i5 from "@ionic/angular";
|
|
12
|
-
import * as i6 from "../../button/button.component";
|
|
13
|
-
import * as i7 from "../../../pipes/model-label/model-label.pipe";
|
|
14
|
-
export class InputAttachmentComponent extends InputFileBaseComponent {
|
|
15
|
-
constructor(cd, renderer, fileService, toastService, translateService) {
|
|
16
|
-
super(cd, renderer, fileService, toastService, translateService);
|
|
17
|
-
}
|
|
18
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputAttachmentComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.FileService }, { token: i2.ToastService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", 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 }); }
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputAttachmentComponent, decorators: [{
|
|
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" }]
|
|
24
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.FileService }, { type: i2.ToastService }, { type: i3.TranslateService }]; } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXR0YWNobWVudC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC9hdHRhY2htZW50L2F0dGFjaG1lbnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvYXR0YWNobWVudC9hdHRhY2htZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFBRSxpQkFBaUIsRUFDMUMs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Zy1jb250YWluZXI+XG48aW5wdXQgdHlwZT1cImZpbGVcIiBbYXR0ci5hY2NlcHRdPVwiZmllbGRPcHRpb25zPy5wb3NzaWJpbGl0aWVzXCIgW2hpZGRlbl09XCJ0cnVlXCIgI2lucHV0T2JqPlxuIl19
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Input, Directive } from "@angular/core";
|
|
2
|
-
import { BaseComponent } from "../../base";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class InputBaseComponent extends BaseComponent {
|
|
5
|
-
set options(val) {
|
|
6
|
-
if (!val)
|
|
7
|
-
return;
|
|
8
|
-
this.internalOptions = val;
|
|
9
|
-
this.control = this.internalOptions.control;
|
|
10
|
-
this.possibilities$ = val.possibilities$;
|
|
11
|
-
this.setRequired();
|
|
12
|
-
this.afterSetOptionsHandler();
|
|
13
|
-
this.cd.detectChanges();
|
|
14
|
-
}
|
|
15
|
-
constructor(cd) {
|
|
16
|
-
super();
|
|
17
|
-
this.cd = cd;
|
|
18
|
-
}
|
|
19
|
-
afterSetOptionsHandler() {
|
|
20
|
-
}
|
|
21
|
-
setRequired() {
|
|
22
|
-
const validator = this.control?.validator ? this.control.validator({}) : null;
|
|
23
|
-
this.required = validator && validator.required;
|
|
24
|
-
}
|
|
25
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputBaseComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
26
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: InputBaseComponent, inputs: { fieldOptions: "fieldOptions", options: "options" }, usesInheritance: true, ngImport: i0 }); }
|
|
27
|
-
}
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputBaseComponent, decorators: [{
|
|
29
|
-
type: Directive
|
|
30
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { fieldOptions: [{
|
|
31
|
-
type: Input
|
|
32
|
-
}], options: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}] } });
|
|
35
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC9iYXNlL2Jhc2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxLQUFLLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBT3BFLE9BQU8sRUFBQyxhQUFhLEVBQUMsTUFBTSxZQUFZLENBQUM7O0FBR3pDLE1BQU0sT0FBZ0Isa0JBQXNCLFNBQVEsYUFBYTtJQVEvRCxJQUFhLE9BQU8sQ0FBQyxHQUFvQjtRQUN2QyxJQUFJLENBQUMsR0FBRztZQUFFLE9BQU87UUFFakIsSUFBSSxDQUFDLGVBQWUsR0FBRyxHQUFHLENBQUM7UUFDM0IsSUFBSSxDQUFDLE9BQU8sR0FBRyxJQUFJLENBQUMsZUFBZSxDQUFDLE9BQU8sQ0FBQztRQUU1QyxJQUFJLENBQUMsY0FBYyxHQUFHLEdBQUcsQ0FBQyxjQUFjLENBQUM7UUFFekMsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1FBRW5CLElBQUksQ0FBQyxzQkFBc0IsRUFBRSxDQUFDO1FBRTlCLElBQUksQ0FBQyxFQUFFLENBQUMsYUFBYSxFQUFFLENBQUM7SUFDMUIsQ0FBQztJQUVELFlBQWdDLEVBQXFCO1FBQ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