@smartsoft001/angular 1.2.71 → 1.2.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2020 → esm2022}/lib/+state/error.effects.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/accordion/accordion.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/accordion/body/body.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/accordion/header/header.component.mjs +4 -4
- package/esm2022/lib/components/app/base/base.component.mjs +137 -0
- package/{esm2020 → esm2022}/lib/components/app/split-panel/split-panel.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/base/base.component.mjs +7 -7
- package/esm2022/lib/components/button/base/base.component.mjs +39 -0
- package/{esm2020 → esm2022}/lib/components/button/button.component.mjs +6 -6
- package/{esm2020 → esm2022}/lib/components/button/standard/standard.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/card/card.component.mjs +4 -4
- package/esm2022/lib/components/chart/bar/bar.component.mjs +55 -0
- package/{esm2020 → esm2022}/lib/components/chart/base/base.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/chart/chart.component.mjs +4 -4
- package/esm2022/lib/components/chart/line/line.component.mjs +55 -0
- package/esm2022/lib/components/components.module.mjs +420 -0
- package/esm2022/lib/components/date-edit/date-edit.component.mjs +172 -0
- package/esm2022/lib/components/date-range/date-range.component.mjs +358 -0
- package/{esm2020 → esm2022}/lib/components/detail/address/address.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/array/array.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/attachment/attachment.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/base/base.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/detail/color/color.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/date-range/date-range.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/detail.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/email/email.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/enum/enum.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/flag/flag.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/image/image.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/logo/logo.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/object/object.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/pdf/pdf.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/text/text.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/detail/video/video.component.mjs +4 -4
- package/esm2022/lib/components/details/base/base.component.mjs +101 -0
- package/esm2022/lib/components/details/details.component.mjs +67 -0
- package/{esm2020 → esm2022}/lib/components/details/standard/standard.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/dynamic/dynamic.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/error-context/error-context.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/export/export.component.mjs +4 -4
- package/esm2022/lib/components/form/base/base.component.mjs +69 -0
- package/esm2022/lib/components/form/form.component.mjs +256 -0
- package/{esm2020 → esm2022}/lib/components/form/standard/standard.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/form/stepper/stepper.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/grid/column/column.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/grid/grid.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/grid/row/row.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/import/import.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/info/info.component.mjs +9 -9
- package/{esm2020 → esm2022}/lib/components/input/address/address.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/array/array.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/attachment/attachment.component.mjs +4 -4
- package/esm2022/lib/components/input/base/base.component.mjs +35 -0
- package/{esm2020 → esm2022}/lib/components/input/base/file.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/base/possibilities.component.mjs +4 -4
- package/{esm2020/lib/components/input/logo/logo.component.mjs → esm2022/lib/components/input/check/check.component.mjs} +51 -37
- package/{esm2020 → esm2022}/lib/components/input/color/color.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/currency/currency.component.mjs +4 -4
- package/esm2022/lib/components/input/date/date.component.mjs +73 -0
- package/{esm2020 → esm2022}/lib/components/input/date-range/date-range.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/date-with-edit/date-with-edit.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/email/email.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/enum/enum.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/error/error.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/file/file.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/flag/flag.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/float/float.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/image/image.component.mjs +4 -4
- package/esm2022/lib/components/input/input.component.mjs +124 -0
- package/{esm2020 → esm2022}/lib/components/input/int/int.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/ints/ints.component.mjs +4 -4
- package/esm2022/lib/components/input/logo/logo.component.mjs +48 -0
- package/{esm2020 → esm2022}/lib/components/input/long-text/long-text.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/nip/nip.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/object/object.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/password/password.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/pdf/pdf.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/pesel/pesel.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/phone-number/phone-number.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/radio/radio.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/strings/strings.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/text/text.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/input/video/video.component.mjs +4 -4
- package/esm2022/lib/components/list/base/base.component.mjs +174 -0
- package/{esm2020 → esm2022}/lib/components/list/desktop/desktop.component.mjs +4 -4
- package/esm2022/lib/components/list/list.component.mjs +68 -0
- package/{esm2020 → esm2022}/lib/components/list/masonry-grid/masonry-grid.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/list/mobile/mobile.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/loader/loader.component.mjs +4 -4
- package/esm2022/lib/components/page/base/base.component.mjs +62 -0
- package/esm2022/lib/components/page/page.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/components/page/standard/standard.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/paging/paging.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/password-strength/password-strength.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/searchbar/searchbar.component.mjs +7 -7
- package/{esm2020 → esm2022}/lib/components/tabs/tab/tab.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/components/tabs/tabs.component.mjs +4 -4
- package/{esm2020 → esm2022}/lib/directives/date-validator/date-validator.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/directives/details/details.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/directives/directives.module.mjs +11 -11
- package/{esm2020 → esm2022}/lib/directives/dynamic-content/dynamic-content.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/directives/viewport-show/viewport-show.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/factories/factories.module.mjs +7 -7
- package/{esm2020 → esm2022}/lib/factories/form/form.factory.mjs +4 -4
- package/{esm2020 → esm2022}/lib/ngrx-shared.module.mjs +9 -9
- package/{esm2020 → esm2022}/lib/pages/details/details.page.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pages/pages.module.mjs +11 -11
- package/{esm2020 → esm2022}/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pipes/file-url/file-url.pipe.mjs +4 -4
- package/esm2022/lib/pipes/index.mjs +8 -0
- package/{esm2020 → esm2022}/lib/pipes/list-cell/list-cell.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pipes/list-header/list-header.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/pipes/model-label/model-label.pipe.mjs +4 -4
- package/esm2022/lib/pipes/pipes.module.mjs +24 -0
- package/{esm2020 → esm2022}/lib/pipes/trust-html/trust-html.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/alert/alert.service.mjs +4 -4
- package/esm2022/lib/services/app/app.service.mjs +79 -0
- package/{esm2020 → esm2022}/lib/services/auth/auth.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/calendar/calendar.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/camera/camera.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/details/details.service.mjs +7 -7
- package/esm2022/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +34 -0
- package/{esm2020 → esm2022}/lib/services/error/error.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/file/file.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/services/hardware/hardware.service.mjs +7 -7
- package/esm2022/lib/services/index.mjs +22 -0
- package/esm2022/lib/services/menu/menu.service.mjs +96 -0
- package/{esm2020 → esm2022}/lib/services/modal/modal.service.mjs +4 -4
- package/esm2022/lib/services/ngrx-store/ngrx-store.service.mjs +22 -0
- package/{esm2020 → esm2022}/lib/services/popover/popover.service.mjs +4 -4
- package/esm2022/lib/services/services.module.mjs +70 -0
- package/esm2022/lib/services/storage/storage.service.mjs +73 -0
- package/esm2022/lib/services/style/style.service.mjs +105 -0
- package/esm2022/lib/services/toast/toast.service.mjs +57 -0
- package/{esm2020 → esm2022}/lib/services/ui/ui.service.mjs +4 -4
- package/{esm2020 → esm2022}/lib/shared.module.mjs +25 -25
- package/{esm2020 → esm2022}/lib/utils-shared.module.mjs +5 -5
- package/{fesm2020 → fesm2022}/smartsoft001-angular.mjs +829 -906
- package/fesm2022/smartsoft001-angular.mjs.map +1 -0
- package/lib/components/accordion/accordion.component.d.ts +1 -1
- package/lib/components/app/base/base.component.d.ts +1 -1
- package/lib/components/button/base/base.component.d.ts +1 -1
- package/lib/components/button/button.component.d.ts +1 -1
- package/lib/components/card/card.component.d.ts +1 -1
- package/lib/components/chart/bar/bar.component.d.ts +6 -16
- package/lib/components/chart/chart.component.d.ts +1 -1
- package/lib/components/chart/line/line.component.d.ts +7 -11
- package/lib/components/components.module.d.ts +3 -2
- package/lib/components/date-edit/date-edit.component.d.ts +1 -1
- package/lib/components/date-range/date-range.component.d.ts +2 -2
- package/lib/components/detail/base/base.component.d.ts +1 -1
- package/lib/components/detail/detail.component.d.ts +1 -1
- package/lib/components/details/base/base.component.d.ts +1 -1
- package/lib/components/details/details.component.d.ts +1 -1
- package/lib/components/dynamic/dynamic.component.d.ts +1 -1
- package/lib/components/export/export.component.d.ts +1 -1
- package/lib/components/form/base/base.component.d.ts +1 -1
- package/lib/components/form/form.component.d.ts +1 -1
- package/lib/components/import/import.component.d.ts +1 -1
- package/lib/components/info/info.component.d.ts +1 -1
- package/lib/components/input/base/base.component.d.ts +1 -1
- package/lib/components/input/error/error.component.d.ts +1 -1
- package/lib/components/input/input.component.d.ts +1 -1
- package/lib/components/list/base/base.component.d.ts +1 -1
- package/lib/components/list/list.component.d.ts +1 -1
- package/lib/components/loader/loader.component.d.ts +1 -1
- package/lib/components/page/base/base.component.d.ts +1 -1
- package/lib/components/page/page.component.d.ts +1 -1
- package/lib/components/paging/paging.component.d.ts +1 -1
- package/lib/components/password-strength/password-strength.component.d.ts +1 -1
- package/lib/components/searchbar/searchbar.component.d.ts +1 -1
- package/lib/components/tabs/tab/tab.component.d.ts +1 -1
- package/lib/directives/details/details.directive.d.ts +1 -1
- package/lib/models/interfaces.d.ts +3 -3
- package/lib/models/style.d.ts +1 -1
- package/lib/pipes/index.d.ts +0 -1
- package/lib/pipes/pipes.module.d.ts +3 -5
- package/lib/services/app/app.service.d.ts +1 -1
- package/lib/services/index.d.ts +0 -1
- package/package.json +26 -34
- package/esm2020/lib/components/app/base/base.component.mjs +0 -137
- package/esm2020/lib/components/button/base/base.component.mjs +0 -39
- package/esm2020/lib/components/chart/bar/bar.component.mjs +0 -57
- package/esm2020/lib/components/chart/line/line.component.mjs +0 -57
- package/esm2020/lib/components/components.module.mjs +0 -420
- package/esm2020/lib/components/date-edit/date-edit.component.mjs +0 -172
- package/esm2020/lib/components/date-range/date-range.component.mjs +0 -358
- package/esm2020/lib/components/details/base/base.component.mjs +0 -101
- package/esm2020/lib/components/details/details.component.mjs +0 -67
- package/esm2020/lib/components/form/base/base.component.mjs +0 -69
- package/esm2020/lib/components/form/form.component.mjs +0 -256
- package/esm2020/lib/components/input/base/base.component.mjs +0 -35
- package/esm2020/lib/components/input/check/check.component.mjs +0 -62
- package/esm2020/lib/components/input/date/date.component.mjs +0 -73
- package/esm2020/lib/components/input/input.component.mjs +0 -124
- package/esm2020/lib/components/list/base/base.component.mjs +0 -174
- package/esm2020/lib/components/list/list.component.mjs +0 -68
- package/esm2020/lib/components/page/base/base.component.mjs +0 -62
- package/esm2020/lib/components/page/page.component.mjs +0 -66
- package/esm2020/lib/pipes/index.mjs +0 -9
- package/esm2020/lib/pipes/pipes.module.mjs +0 -25
- package/esm2020/lib/pipes/virtual-data-source/virtual-data-source.pipe.mjs +0 -18
- package/esm2020/lib/services/app/app.service.mjs +0 -79
- package/esm2020/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +0 -34
- package/esm2020/lib/services/fingerprint/fingerprint.service.mjs +0 -61
- package/esm2020/lib/services/index.mjs +0 -23
- package/esm2020/lib/services/menu/menu.service.mjs +0 -96
- package/esm2020/lib/services/ngrx-store/ngrx-store.service.mjs +0 -22
- package/esm2020/lib/services/services.module.mjs +0 -76
- package/esm2020/lib/services/storage/storage.service.mjs +0 -73
- package/esm2020/lib/services/style/style.service.mjs +0 -105
- package/esm2020/lib/services/toast/toast.service.mjs +0 -57
- package/fesm2015/smartsoft001-angular.mjs +0 -6648
- package/fesm2015/smartsoft001-angular.mjs.map +0 -1
- package/fesm2020/smartsoft001-angular.mjs.map +0 -1
- package/lib/pipes/virtual-data-source/virtual-data-source.pipe.d.ts +0 -8
- package/lib/services/fingerprint/fingerprint.service.d.ts +0 -27
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/accordion/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/app/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/base/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/button/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/card/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/chart/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/date-edit/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/date-range/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/detail/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/details/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/dynamic/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/error-context/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/export/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/form/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/grid/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/import/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/info/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/input/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/list/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/loader/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/page/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/paging/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/password-strength/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/searchbar/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/components/tabs/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/decorators/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/decorators/module/module.decorator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/decorators/redux-action/redux-action.decorator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/decorators/redux-select/redux-select.decorator.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/directives/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/factories/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/chart.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/models/style.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/pages/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/providers/index.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/providers/interfaces.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/providers/model-export.provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/providers/model-import.provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/providers/model-label.provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/providers/model-possibilities.provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/providers/model-validators.provider.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/dynamic-component-storage/dynamic-component-storage.service.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/services/form/form.group.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/shared.animations.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/shared.inectors.mjs +0 -0
- /package/{esm2020 → esm2022}/lib/translations-default.mjs +0 -0
- /package/{esm2020 → esm2022}/smartsoft001-angular.mjs +0 -0
|
@@ -10,11 +10,11 @@ export class InputTextComponent extends InputBaseComponent {
|
|
|
10
10
|
super(cd);
|
|
11
11
|
}
|
|
12
12
|
ngOnInit() { }
|
|
13
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputTextComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
14
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: InputTextComponent, selector: "smart-input-text", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input [formControl]=\"control\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonInput, selector: "ion-input", inputs: ["accept", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "clearInput", "clearOnEdit", "color", "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.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.ModelLabelPipe, name: "smartModelLabel" }] }); }
|
|
13
15
|
}
|
|
14
|
-
|
|
15
|
-
/** @nocollapse */ InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: InputTextComponent, selector: "smart-input-text", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input [formControl]=\"control\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.IonInput, selector: "ion-input", inputs: ["accept", "autocapitalize", "autocomplete", "autocorrect", "autofocus", "clearInput", "clearOnEdit", "color", "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.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "directive", type: i2.TextValueAccessor, selector: "ion-input:not([type=number]),ion-textarea,ion-searchbar" }, { kind: "directive", type: i3.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i3.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "pipe", type: i1.AsyncPipe, name: "async" }, { kind: "pipe", type: i4.ModelLabelPipe, name: "smartModelLabel" }] });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
17
17
|
type: Component,
|
|
18
18
|
args: [{ selector: 'smart-input-text', template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n <ion-input [formControl]=\"control\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}.label-floating{--color: var(--smart-color-medium)}.label-floating.ios{--color: var(--smart-color-medium);margin-top:.6rem!important}\n"] }]
|
|
19
19
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC90ZXh0L3RleHQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvdGV4dC90ZXh0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxpQkFBaUIsRUFBRSxTQUFTLEVBQVMsTUFBTSxlQUF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nBhcmVudD8udmFsdWUgfCBzbWFydE1vZGVsTGFiZWwgOiBpbnRlcm5hbE9wdGlvbnMuZmllbGRLZXkgOiBpbnRlcm5hbE9wdGlvbnM/Lm1vZGVsPy5jb25zdHJ1Y3RvciB8IGFzeW5jIH19XG4gICAgICAgIDxpb24tdGV4dCBjb2xvcj1cImRhbmdlclwiPlxuICAgICAgICAgICAgPHNwYW4gKm5nSWY9XCJyZXF1aXJlZFwiPio8L3NwYW4+XG4gICAgICAgIDwvaW9uLXRleHQ+XG4gICAgPC9pb24tbGFiZWw+XG4gICAgPGlvbi1pbnB1dCBbZm9ybUNvbnRyb2xdPVwiY29udHJvbFwiIFthdHRyLmF1dG9mb2N1c109XCJmaWVsZE9wdGlvbnM/LmZvY3VzZWRcIj48L2lvbi1pbnB1dD5cbjwvbmctY29udGFpbmVyPiJdfQ==
|
|
@@ -35,11 +35,11 @@ export class InputVideoComponent extends InputFileBaseComponent {
|
|
|
35
35
|
this.cd.detectChanges();
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputVideoComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i1.FileService }, { token: i2.ToastService }, { token: i3.TranslateService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
39
|
+
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: InputVideoComponent, selector: "smart-input-video", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ng-container *ngIf=\"control.value\">({{ control.value.fileName }})</ng-container>\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label><br/>\n <smart-button [options]=\"addButtonOptions\">{{ (control.value ? 'change' : 'add') | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value && !play\" [options]=\"playButtonOptions\">{{ 'play' | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value\" [options]=\"deleteButtonOptions\">{{ 'delete' | translate }}</smart-button>\n\n <ion-progress-bar *ngIf=\"loading$ | async\" [value]=\"(percent$ | async) / 100\"></ion-progress-bar>\n\n <ng-container *ngIf=\"url && play\">\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\">\n Your browser does not support the video tag.\n </video>\n </ng-container>\n</ng-container>\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i5.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i5.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: i6.ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "pipe", type: i7.ModelLabelPipe, name: "smartModelLabel" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
38
40
|
}
|
|
39
|
-
|
|
40
|
-
/** @nocollapse */ InputVideoComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.1", type: InputVideoComponent, selector: "smart-input-video", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ng-container *ngIf=\"control.value\">({{ control.value.fileName }})</ng-container>\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label><br/>\n <smart-button [options]=\"addButtonOptions\">{{ (control.value ? 'change' : 'add') | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value && !play\" [options]=\"playButtonOptions\">{{ 'play' | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value\" [options]=\"deleteButtonOptions\">{{ 'delete' | translate }}</smart-button>\n\n <ion-progress-bar *ngIf=\"loading$ | async\" [value]=\"(percent$ | async) / 100\"></ion-progress-bar>\n\n <ng-container *ngIf=\"url && play\">\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\">\n Your browser does not support the video tag.\n </video>\n </ng-container>\n</ng-container>\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj>", styles: [""], dependencies: [{ kind: "directive", type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i5.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i5.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i5.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: i6.ButtonComponent, selector: "smart-button", inputs: ["options", "disabled"] }, { kind: "pipe", type: i4.AsyncPipe, name: "async" }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }, { kind: "pipe", type: i7.ModelLabelPipe, name: "smartModelLabel" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.1", ngImport: i0, type: InputVideoComponent, decorators: [{
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: InputVideoComponent, decorators: [{
|
|
42
42
|
type: Component,
|
|
43
43
|
args: [{ selector: "smart-input-video", changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ng-container *ngIf=\"control.value\">({{ control.value.fileName }})</ng-container>\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label><br/>\n <smart-button [options]=\"addButtonOptions\">{{ (control.value ? 'change' : 'add') | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value && !play\" [options]=\"playButtonOptions\">{{ 'play' | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value\" [options]=\"deleteButtonOptions\">{{ 'delete' | translate }}</smart-button>\n\n <ion-progress-bar *ngIf=\"loading$ | async\" [value]=\"(percent$ | async) / 100\"></ion-progress-bar>\n\n <ng-container *ngIf=\"url && play\">\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"url\">\n Your browser does not support the video tag.\n </video>\n </ng-container>\n</ng-container>\n<input type=\"file\" accept=\".mp4\" [hidden]=\"true\" #inputObj>" }]
|
|
44
44
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i1.FileService }, { type: i2.ToastService }, { type: i3.TranslateService }]; } });
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvdmlkZW8vdmlkZW8uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvdmlkZW8vdmlk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I+XG4gICAgICAgIDx2aWRlbyBzdHlsZT1cIndpZHRoOiAxMDAlXCIgY29udHJvbHMgY29udHJvbHNMaXN0PVwibm9kb3dubG9hZFwiPlxuICAgICAgICAgICAgPHNvdXJjZSB0eXBlPVwidmlkZW8vbXA0XCIgW3NyY109XCJ1cmxcIj5cbiAgICAgICAgICAgIFlvdXIgYnJvd3NlciBkb2VzIG5vdCBzdXBwb3J0IHRoZSB2aWRlbyB0YWcuXG4gICAgICAgIDwvdmlkZW8+XG4gICAgPC9uZy1jb250YWluZXI+XG48L25nLWNvbnRhaW5lcj5cbjxpbnB1dCB0eXBlPVwiZmlsZVwiIGFjY2VwdD1cIi5tcDRcIiBbaGlkZGVuXT1cInRydWVcIiAjaW5wdXRPYmo+Il19
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import { ChangeDetectorRef, Input, Directive, ViewChild, ViewContainerRef, inject, } from '@angular/core';
|
|
2
|
+
import { map } from 'rxjs/operators';
|
|
3
|
+
import { TranslateService } from '@ngx-translate/core';
|
|
4
|
+
import { Router } from "@angular/router";
|
|
5
|
+
import { FieldType, } from '@smartsoft001/models';
|
|
6
|
+
import { DetailsPage } from '../../../pages/details/details.page';
|
|
7
|
+
import { PaginationMode, } from '../../../models/interfaces';
|
|
8
|
+
import { AlertService } from '../../../services/alert/alert.service';
|
|
9
|
+
import { AuthService } from '../../../services/auth/auth.service';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
export class ListBaseComponent {
|
|
12
|
+
static { this.smartType = 'list'; }
|
|
13
|
+
set options(val) {
|
|
14
|
+
this._internalOptions = val;
|
|
15
|
+
this._fields = val.fields;
|
|
16
|
+
this.provider = val.provider;
|
|
17
|
+
this.sort = val.sort;
|
|
18
|
+
this.cellPipe = val.cellPipe;
|
|
19
|
+
this.selectMode = val.select;
|
|
20
|
+
this.type = val.type;
|
|
21
|
+
this.initKeys();
|
|
22
|
+
this.initList(val);
|
|
23
|
+
this.initLoading();
|
|
24
|
+
if (val.remove) {
|
|
25
|
+
this.checkRemoveHandler = val.remove['provider'].check;
|
|
26
|
+
this.removeHandler = async (obj) => {
|
|
27
|
+
const alertResult = await this.alertService.show({
|
|
28
|
+
header: this.translateService.instant('OBJECT.confirmDelete'),
|
|
29
|
+
buttons: [
|
|
30
|
+
{
|
|
31
|
+
text: this.translateService.instant('cancel'),
|
|
32
|
+
role: 'cancel',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
text: this.translateService.instant('confirm'),
|
|
36
|
+
handler: () => {
|
|
37
|
+
val.remove['provider'].invoke(obj.id);
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
backdropDismiss: false,
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
if (val.item) {
|
|
46
|
+
if (!val.item['options'])
|
|
47
|
+
throw Error('Must set edit options');
|
|
48
|
+
this.itemHandler = (id) => {
|
|
49
|
+
if (val.item['options'].routingPrefix) {
|
|
50
|
+
setTimeout(async () => {
|
|
51
|
+
await this.router.navigate([
|
|
52
|
+
val.item['options'].routingPrefix.replace('//', '/'),
|
|
53
|
+
id,
|
|
54
|
+
]);
|
|
55
|
+
this.cd.detectChanges();
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
else if (val.item['options'].select)
|
|
59
|
+
val.item['options'].select(id);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
if (val.details) {
|
|
63
|
+
if (!val.details['provider'])
|
|
64
|
+
throw Error('Must set details provider');
|
|
65
|
+
this.detailsComponent = DetailsPage;
|
|
66
|
+
this.detailsComponentProps = {
|
|
67
|
+
item$: val.details['provider'].item$,
|
|
68
|
+
type: val.type,
|
|
69
|
+
loading$: val.details['provider'].loading$,
|
|
70
|
+
itemHandler: this.itemHandler,
|
|
71
|
+
removeHandler: this.removeHandler,
|
|
72
|
+
componentFactories: val.details['componentFactories'],
|
|
73
|
+
};
|
|
74
|
+
this.select = val.details['provider'].getData;
|
|
75
|
+
this.unselect = val.details['provider'].clearData;
|
|
76
|
+
}
|
|
77
|
+
if (val.pagination) {
|
|
78
|
+
this.loadNextPage = async (event = null) => {
|
|
79
|
+
await val.pagination.loadNextPage();
|
|
80
|
+
if (event)
|
|
81
|
+
event.target.complete();
|
|
82
|
+
setTimeout(() => {
|
|
83
|
+
window.scrollTo(0, 0);
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
this.loadPrevPage = async (event = null) => {
|
|
87
|
+
await val.pagination.loadPrevPage();
|
|
88
|
+
if (event)
|
|
89
|
+
event.target.complete();
|
|
90
|
+
setTimeout(() => {
|
|
91
|
+
window.scrollTo(0, 10000);
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
this.page$ = val.pagination.page$;
|
|
95
|
+
this.totalPages$ = val.pagination.totalPages$;
|
|
96
|
+
}
|
|
97
|
+
this.afterInitOptions();
|
|
98
|
+
}
|
|
99
|
+
get options() {
|
|
100
|
+
return this._internalOptions;
|
|
101
|
+
}
|
|
102
|
+
constructor() {
|
|
103
|
+
this.authService = inject(AuthService);
|
|
104
|
+
this.router = inject(Router);
|
|
105
|
+
this.alertService = inject(AlertService);
|
|
106
|
+
this.cd = inject(ChangeDetectorRef);
|
|
107
|
+
this.translateService = inject(TranslateService);
|
|
108
|
+
this.removed = new Set();
|
|
109
|
+
this.FieldType = FieldType;
|
|
110
|
+
this.PaginationMode = PaginationMode;
|
|
111
|
+
this.detailsButtonOptions = {
|
|
112
|
+
loading$: this.loading$,
|
|
113
|
+
click: () => {
|
|
114
|
+
this.unselect();
|
|
115
|
+
},
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
initKeys(data = null) {
|
|
119
|
+
const result = [];
|
|
120
|
+
this._fields
|
|
121
|
+
.filter((field) => {
|
|
122
|
+
if (field.options.list &&
|
|
123
|
+
field.options.list.permissions) {
|
|
124
|
+
return this.authService.expectPermissions(field.options.list.permissions);
|
|
125
|
+
}
|
|
126
|
+
return true;
|
|
127
|
+
})
|
|
128
|
+
.forEach((field) => {
|
|
129
|
+
if (field.options.list.dynamic) {
|
|
130
|
+
if (!data?.length)
|
|
131
|
+
return;
|
|
132
|
+
data[0][field.key]
|
|
133
|
+
.map((_, index) => '__array.' +
|
|
134
|
+
field.key +
|
|
135
|
+
'.' +
|
|
136
|
+
index +
|
|
137
|
+
'.' +
|
|
138
|
+
field.options.list.dynamic.headerKey +
|
|
139
|
+
'.' +
|
|
140
|
+
field.options.list.dynamic.rowKey)
|
|
141
|
+
.forEach((item) => result.push(item));
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
result.push(field.key);
|
|
145
|
+
});
|
|
146
|
+
if (!this.keys || this.keys.length !== result.length)
|
|
147
|
+
this.keys = result;
|
|
148
|
+
}
|
|
149
|
+
initList(val) {
|
|
150
|
+
this.list$ = this.provider.list$.pipe(map((list) => {
|
|
151
|
+
if (!list)
|
|
152
|
+
return list;
|
|
153
|
+
const result = list.filter((item) => !this.removed.has(item.id));
|
|
154
|
+
this.initKeys(list);
|
|
155
|
+
return result;
|
|
156
|
+
}));
|
|
157
|
+
}
|
|
158
|
+
initLoading() {
|
|
159
|
+
this.loading$ = this.provider.loading$;
|
|
160
|
+
}
|
|
161
|
+
ngOnInit() { }
|
|
162
|
+
afterInitOptions() { }
|
|
163
|
+
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ListBaseComponent, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
164
|
+
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: ListBaseComponent, inputs: { options: "options" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0 }); }
|
|
165
|
+
}
|
|
166
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ListBaseComponent, decorators: [{
|
|
167
|
+
type: Directive
|
|
168
|
+
}], ctorParameters: function () { return []; }, propDecorators: { options: [{
|
|
169
|
+
type: Input
|
|
170
|
+
}], contentTpl: [{
|
|
171
|
+
type: ViewChild,
|
|
172
|
+
args: ['contentTpl', { read: ViewContainerRef, static: true }]
|
|
173
|
+
}] } });
|
|
174
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9saXN0L2Jhc2UvYmFzZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLGlCQUFpQixFQUNqQixLQUFLLEVBRUwsU0FBUyxFQUVULFNBQVMsRUFDVCxnQkFBZ0IsRUFDaEIsTUFBTSxHQUNQLE1BQU0sZUFBZSxDQUFDO0FBR3ZCLE9BQU8sRUFBRSxHQUFHLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUNyQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN2RCxPQUFPLEVBQUUsTUFBTSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFFekMsT0FBTyxFQUNMLFNBQVMsR0FHVixNQUFNLHNCQUFzQixDQUFDO0FBRzlCLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUNsRSxPQUFPLEVBTUwsY0FBYyxHQUVmLE1BQU0sNEJBQTRCLENBQUM7QUFDcEMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ3JFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxxQ0FBcUMsQ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ICAuZm9yRWFjaCgoZmllbGQpID0+IHtcbiAgICAgICAgaWYgKChmaWVsZC5vcHRpb25zLmxpc3QgYXMgSUZpZWxkTGlzdE1ldGFkYXRhKS5keW5hbWljKSB7XG4gICAgICAgICAgaWYgKCFkYXRhPy5sZW5ndGgpIHJldHVybjtcblxuICAgICAgICAgIChkYXRhWzBdW2ZpZWxkLmtleV0gYXMgW10pXG4gICAgICAgICAgICAubWFwKFxuICAgICAgICAgICAgICAoXywgaW5kZXgpID0+XG4gICAgICAgICAgICAgICAgJ19fYXJyYXkuJyArXG4gICAgICAgICAgICAgICAgZmllbGQua2V5ICtcbiAgICAgICAgICAgICAgICAnLicgK1xuICAgICAgICAgICAgICAgIGluZGV4ICtcbiAgICAgICAgICAgICAgICAnLicgK1xuICAgICAgICAgICAgICAgIChmaWVsZC5vcHRpb25zLmxpc3QgYXMgSUZpZWxkTGlzdE1ldGFkYXRhKS5keW5hbWljLmhlYWRlcktleSArXG4gICAgICAgICAgICAgICAgJy4nICtcbiAgICAgICAgICAgICAgICAoZmllbGQub3B0aW9ucy5saXN0IGFzIElGaWVsZExpc3RNZXRhZGF0YSkuZHluYW1pYy5yb3dLZXlcbiAgICAgICAgICAgIClcbiAgICAgICAgICAgIC5mb3JFYWNoKChpdGVtKSA9PiByZXN1bHQucHVzaChpdGVtKSk7XG5cbiAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICByZXN1bHQucHVzaChmaWVsZC5rZXkpO1xuICAgICAgfSk7XG5cbiAgICBpZiAoIXRoaXMua2V5cyB8fCB0aGlzLmtleXMubGVuZ3RoICE9PSByZXN1bHQubGVuZ3RoKSB0aGlzLmtleXMgPSByZXN1bHQ7XG4gIH1cblxuICBwcm90ZWN0ZWQgaW5pdExpc3QodmFsOiBJTGlzdEludGVybmFsT3B0aW9uczxUPik6IHZvaWQge1xuICAgIHRoaXMubGlzdCQgPSB0aGlzLnByb3ZpZGVyLmxpc3QkLnBpcGUoXG4gICAgICBtYX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