@smartsoft001/angular 1.1.800 → 1.1.802
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/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/esm2020/lib/+state/error.effects.mjs +24 -0
- package/esm2020/lib/components/accordion/accordion.component.mjs +29 -0
- package/esm2020/lib/components/accordion/body/body.component.mjs +14 -0
- package/esm2020/lib/components/accordion/header/header.component.mjs +14 -0
- package/{esm2015/lib/components/accordion/index.js → esm2020/lib/components/accordion/index.mjs} +0 -0
- package/esm2020/lib/components/app/base/base.component.mjs +134 -0
- package/{esm2015/lib/components/app/index.js → esm2020/lib/components/app/index.mjs} +0 -0
- package/esm2020/lib/components/app/split-panel/split-panel.component.mjs +45 -0
- package/esm2020/lib/components/base/base.component.mjs +72 -0
- package/{esm2015/lib/components/base/index.js → esm2020/lib/components/base/index.mjs} +0 -0
- package/esm2020/lib/components/button/base/base.component.mjs +39 -0
- package/esm2020/lib/components/button/button.component.mjs +65 -0
- package/{esm2015/lib/components/button/index.js → esm2020/lib/components/button/index.mjs} +0 -0
- package/esm2020/lib/components/button/standard/standard.component.mjs +15 -0
- package/esm2020/lib/components/card/card.component.mjs +18 -0
- package/{esm2015/lib/components/card/index.js → esm2020/lib/components/card/index.mjs} +0 -0
- package/esm2020/lib/components/chart/bar/bar.component.mjs +57 -0
- package/esm2020/lib/components/chart/base/base.component.mjs +13 -0
- package/esm2020/lib/components/chart/chart.component.mjs +21 -0
- package/{esm2015/lib/components/chart/index.js → esm2020/lib/components/chart/index.mjs} +0 -0
- package/esm2020/lib/components/chart/line/line.component.mjs +57 -0
- package/esm2020/lib/components/components.module.mjs +422 -0
- package/esm2020/lib/components/date-edit/date-edit.component.mjs +171 -0
- package/{esm2015/lib/components/date-edit/index.js → esm2020/lib/components/date-edit/index.mjs} +0 -0
- package/esm2020/lib/components/date-range/date-range.component.mjs +357 -0
- package/{esm2015/lib/components/date-range/index.js → esm2020/lib/components/date-range/index.mjs} +0 -0
- package/esm2020/lib/components/detail/address/address.component.mjs +17 -0
- package/esm2020/lib/components/detail/array/array.component.mjs +37 -0
- package/esm2020/lib/components/detail/attachment/attachment.component.mjs +28 -0
- package/esm2020/lib/components/detail/base/base.component.mjs +24 -0
- package/esm2020/lib/components/detail/color/color.component.mjs +14 -0
- package/esm2020/lib/components/detail/date-range/date-range.component.mjs +13 -0
- package/esm2020/lib/components/detail/detail.component.mjs +40 -0
- package/esm2020/lib/components/detail/email/email.component.mjs +13 -0
- package/esm2020/lib/components/detail/enum/enum.component.mjs +14 -0
- package/esm2020/lib/components/detail/flag/flag.component.mjs +14 -0
- package/esm2020/lib/components/detail/image/image.component.mjs +29 -0
- package/{esm2015/lib/components/detail/index.js → esm2020/lib/components/detail/index.mjs} +0 -0
- package/esm2020/lib/components/detail/logo/logo.component.mjs +14 -0
- package/esm2020/lib/components/detail/object/object.component.mjs +35 -0
- package/esm2020/lib/components/detail/pdf/pdf.component.mjs +28 -0
- package/esm2020/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +15 -0
- package/esm2020/lib/components/detail/text/text.component.mjs +15 -0
- package/esm2020/lib/components/detail/video/video.component.mjs +22 -0
- package/esm2020/lib/components/details/base/base.component.mjs +101 -0
- package/esm2020/lib/components/details/details.component.mjs +67 -0
- package/{esm2015/lib/components/details/index.js → esm2020/lib/components/details/index.mjs} +0 -0
- package/esm2020/lib/components/details/standard/standard.component.mjs +17 -0
- package/esm2020/lib/components/dynamic/dynamic.component.mjs +24 -0
- package/{esm2015/lib/components/dynamic/index.js → esm2020/lib/components/dynamic/index.mjs} +0 -0
- package/esm2020/lib/components/error-context/error-context.component.mjs +25 -0
- package/{esm2015/lib/components/error-context/index.js → esm2020/lib/components/error-context/index.mjs} +0 -0
- package/esm2020/lib/components/export/export.component.mjs +30 -0
- package/{esm2015/lib/components/export/index.js → esm2020/lib/components/export/index.mjs} +0 -0
- package/esm2020/lib/components/form/base/base.component.mjs +69 -0
- package/esm2020/lib/components/form/form.component.mjs +256 -0
- package/{esm2015/lib/components/form/index.js → esm2020/lib/components/form/index.mjs} +0 -0
- package/esm2020/lib/components/form/standard/standard.component.mjs +17 -0
- package/esm2020/lib/components/form/stepper/stepper.component.mjs +65 -0
- package/esm2020/lib/components/grid/column/column.component.mjs +20 -0
- package/esm2020/lib/components/grid/grid.component.mjs +20 -0
- package/{esm2015/lib/components/grid/index.js → esm2020/lib/components/grid/index.mjs} +0 -0
- package/esm2020/lib/components/grid/row/row.component.mjs +20 -0
- package/esm2020/lib/components/import/import.component.mjs +35 -0
- package/{esm2015/lib/components/import/index.js → esm2020/lib/components/import/index.mjs} +0 -0
- package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
- package/{esm2015/lib/components/info/index.js → esm2020/lib/components/info/index.mjs} +0 -0
- package/esm2020/lib/components/info/info.component.mjs +49 -0
- package/esm2020/lib/components/input/address/address.component.mjs +21 -0
- package/esm2020/lib/components/input/array/array.component.mjs +113 -0
- package/esm2020/lib/components/input/attachment/attachment.component.mjs +25 -0
- package/esm2020/lib/components/input/base/base.component.mjs +35 -0
- package/esm2020/lib/components/input/base/file.component.mjs +84 -0
- package/esm2020/lib/components/input/base/possibilities.component.mjs +45 -0
- package/esm2020/lib/components/input/check/check.component.mjs +62 -0
- package/esm2020/lib/components/input/color/color.component.mjs +35 -0
- package/esm2020/lib/components/input/currency/currency.component.mjs +20 -0
- package/esm2020/lib/components/input/date/date.component.mjs +72 -0
- package/esm2020/lib/components/input/date-range/date-range.component.mjs +20 -0
- package/esm2020/lib/components/input/date-with-edit/date-with-edit.component.mjs +46 -0
- package/esm2020/lib/components/input/email/email.component.mjs +20 -0
- package/esm2020/lib/components/input/enum/enum.component.mjs +45 -0
- package/esm2020/lib/components/input/error/error.component.mjs +16 -0
- package/esm2020/lib/components/input/file/file.component.mjs +59 -0
- package/esm2020/lib/components/input/flag/flag.component.mjs +21 -0
- package/esm2020/lib/components/input/float/float.component.mjs +21 -0
- package/esm2020/lib/components/input/image/image.component.mjs +35 -0
- package/{esm2015/lib/components/input/index.js → esm2020/lib/components/input/index.mjs} +0 -0
- package/esm2020/lib/components/input/input.component.mjs +124 -0
- package/esm2020/lib/components/input/int/int.component.mjs +21 -0
- package/esm2020/lib/components/input/ints/ints.component.mjs +59 -0
- package/esm2020/lib/components/input/logo/logo.component.mjs +48 -0
- package/esm2020/lib/components/input/long-text/long-text.component.mjs +55 -0
- package/esm2020/lib/components/input/nip/nip.component.mjs +35 -0
- package/esm2020/lib/components/input/object/object.component.mjs +33 -0
- package/esm2020/lib/components/input/password/password.component.mjs +49 -0
- package/esm2020/lib/components/input/pdf/pdf.component.mjs +25 -0
- package/esm2020/lib/components/input/pesel/pesel.component.mjs +20 -0
- package/esm2020/lib/components/input/phone-number/phone-number.component.mjs +20 -0
- package/esm2020/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +28 -0
- package/esm2020/lib/components/input/radio/radio.component.mjs +48 -0
- package/esm2020/lib/components/input/strings/strings.component.mjs +59 -0
- package/esm2020/lib/components/input/text/text.component.mjs +20 -0
- package/esm2020/lib/components/input/video/video.component.mjs +45 -0
- package/esm2020/lib/components/list/base/base.component.mjs +166 -0
- package/esm2020/lib/components/list/desktop/desktop.component.mjs +120 -0
- package/{esm2015/lib/components/list/index.js → esm2020/lib/components/list/index.mjs} +0 -0
- package/esm2020/lib/components/list/list.component.mjs +68 -0
- package/esm2020/lib/components/list/masonry-grid/masonry-grid.component.mjs +66 -0
- package/esm2020/lib/components/list/mobile/mobile.component.mjs +49 -0
- package/{esm2015/lib/components/loader/index.js → esm2020/lib/components/loader/index.mjs} +0 -0
- package/esm2020/lib/components/loader/loader.component.mjs +17 -0
- package/esm2020/lib/components/page/base/base.component.mjs +62 -0
- package/{esm2015/lib/components/page/index.js → esm2020/lib/components/page/index.mjs} +0 -0
- package/esm2020/lib/components/page/page.component.mjs +66 -0
- package/esm2020/lib/components/page/standard/standard.component.mjs +25 -0
- package/{esm2015/lib/components/paging/index.js → esm2020/lib/components/paging/index.mjs} +0 -0
- package/esm2020/lib/components/paging/paging.component.mjs +25 -0
- package/{esm2015/lib/components/password-strength/index.js → esm2020/lib/components/password-strength/index.mjs} +0 -0
- package/esm2020/lib/components/password-strength/password-strength.component.mjs +115 -0
- package/{esm2015/lib/components/searchbar/index.js → esm2020/lib/components/searchbar/index.mjs} +0 -0
- package/esm2020/lib/components/searchbar/searchbar.component.mjs +54 -0
- package/{esm2015/lib/components/tabs/index.js → esm2020/lib/components/tabs/index.mjs} +0 -0
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +19 -0
- package/esm2020/lib/components/tabs/tabs.component.mjs +51 -0
- package/{esm2015/lib/decorators/index.js → esm2020/lib/decorators/index.mjs} +0 -0
- package/{esm2015/lib/decorators/module/module.decorator.js → esm2020/lib/decorators/module/module.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/redux-action/redux-action.decorator.js → esm2020/lib/decorators/redux-action/redux-action.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/redux-select/redux-select.decorator.js → esm2020/lib/decorators/redux-select/redux-select.decorator.mjs} +0 -0
- package/esm2020/lib/directives/date-validator/date-validator.directive.mjs +29 -0
- package/esm2020/lib/directives/details/details.directive.mjs +54 -0
- package/esm2020/lib/directives/directives.module.mjs +41 -0
- package/esm2020/lib/directives/dynamic-content/dynamic-content.directive.mjs +17 -0
- package/{esm2015/lib/directives/index.js → esm2020/lib/directives/index.mjs} +0 -0
- package/esm2020/lib/directives/viewport-show/viewport-show.directive.mjs +35 -0
- package/esm2020/lib/factories/factories.module.mjs +25 -0
- package/esm2020/lib/factories/form/form.factory.mjs +280 -0
- package/{esm2015/lib/factories/index.js → esm2020/lib/factories/index.mjs} +0 -0
- package/{esm2015/lib/models/chart.js → esm2020/lib/models/chart.mjs} +0 -0
- package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +0 -0
- package/esm2020/lib/models/interfaces.mjs +12 -0
- package/{esm2015/lib/models/style.js → esm2020/lib/models/style.mjs} +0 -0
- package/esm2020/lib/ngrx-shared.module.mjs +39 -0
- package/esm2020/lib/pages/details/details.page.mjs +64 -0
- package/{esm2015/lib/pages/index.js → esm2020/lib/pages/index.mjs} +0 -0
- package/esm2020/lib/pages/pages.module.mjs +41 -0
- package/esm2020/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +18 -0
- package/esm2020/lib/pipes/file-url/file-url.pipe.mjs +21 -0
- package/{esm2015/lib/pipes/index.js → esm2020/lib/pipes/index.mjs} +0 -0
- package/esm2020/lib/pipes/list-cell/list-cell.pipe.mjs +70 -0
- package/esm2020/lib/pipes/list-header/list-header.pipe.mjs +42 -0
- package/esm2020/lib/pipes/model-label/model-label.pipe.mjs +39 -0
- package/esm2020/lib/pipes/pipes.module.mjs +25 -0
- package/esm2020/lib/pipes/trust-html/trust-html.pipe.mjs +23 -0
- package/esm2020/lib/pipes/virtual-data-source/virtual-data-source.pipe.mjs +18 -0
- package/{esm2015/lib/providers/index.js → esm2020/lib/providers/index.mjs} +0 -0
- package/{esm2015/lib/providers/interfaces.js → esm2020/lib/providers/interfaces.mjs} +0 -0
- package/{esm2015/lib/providers/model-export.provider.js → esm2020/lib/providers/model-export.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-import.provider.js → esm2020/lib/providers/model-import.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-label.provider.js → esm2020/lib/providers/model-label.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-possibilities.provider.js → esm2020/lib/providers/model-possibilities.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-validators.provider.js → esm2020/lib/providers/model-validators.provider.mjs} +0 -0
- package/esm2020/lib/services/alert/alert.service.mjs +19 -0
- package/{esm2015/lib/services/app/app.service.js → esm2020/lib/services/app/app.service.mjs} +9 -20
- package/esm2020/lib/services/auth/auth.service.mjs +43 -0
- package/{esm2015/lib/services/calendar/calendar.service.js → esm2020/lib/services/calendar/calendar.service.mjs} +8 -14
- package/esm2020/lib/services/camera/camera.service.mjs +22 -0
- package/esm2020/lib/services/details/details.service.mjs +23 -0
- package/esm2020/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +34 -0
- package/esm2020/lib/services/dynamic-component-storage/dynamic-component-storage.service.mjs +29 -0
- package/esm2020/lib/services/error/error.service.mjs +31 -0
- package/esm2020/lib/services/file/file.service.mjs +51 -0
- package/esm2020/lib/services/fingerprint/fingerprint.service.mjs +61 -0
- package/{esm2015/lib/services/form/form.group.js → esm2020/lib/services/form/form.group.mjs} +0 -0
- package/esm2020/lib/services/hardware/hardware.service.mjs +27 -0
- package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
- package/esm2020/lib/services/menu/menu.service.mjs +88 -0
- package/esm2020/lib/services/modal/modal.service.mjs +38 -0
- package/esm2020/lib/services/ngrx-store/ngrx-store.service.mjs +22 -0
- package/esm2020/lib/services/popover/popover.service.mjs +18 -0
- package/esm2020/lib/services/services.module.mjs +81 -0
- package/esm2020/lib/services/storage/storage.service.mjs +73 -0
- package/esm2020/lib/services/style/style.service.mjs +105 -0
- package/esm2020/lib/services/toast/toast.service.mjs +57 -0
- package/esm2020/lib/services/ui/ui.service.mjs +54 -0
- package/{esm2015/lib/shared.animations.js → esm2020/lib/shared.animations.mjs} +0 -0
- package/esm2020/lib/shared.inectors.mjs +4 -0
- package/esm2020/lib/shared.module.mjs +70 -0
- package/{esm2015/lib/translations-default.js → esm2020/lib/translations-default.mjs} +0 -0
- package/esm2020/lib/utils-shared.module.mjs +18 -0
- package/esm2020/smartsoft001-angular.mjs +5 -0
- package/fesm2015/smartsoft001-angular.mjs +6654 -0
- package/fesm2015/smartsoft001-angular.mjs.map +1 -0
- package/fesm2020/smartsoft001-angular.mjs +6553 -0
- package/fesm2020/smartsoft001-angular.mjs.map +1 -0
- package/lib/+state/error.effects.d.ts +3 -0
- package/lib/components/accordion/accordion.component.d.ts +3 -0
- package/lib/components/accordion/body/body.component.d.ts +3 -0
- package/lib/components/accordion/header/header.component.d.ts +3 -0
- package/lib/components/app/base/base.component.d.ts +3 -0
- package/lib/components/app/split-panel/split-panel.component.d.ts +3 -0
- package/lib/components/base/base.component.d.ts +3 -0
- package/lib/components/button/base/base.component.d.ts +3 -0
- package/lib/components/button/button.component.d.ts +4 -1
- package/lib/components/button/standard/standard.component.d.ts +3 -0
- package/lib/components/card/card.component.d.ts +3 -0
- package/lib/components/chart/bar/bar.component.d.ts +3 -0
- package/lib/components/chart/base/base.component.d.ts +3 -0
- package/lib/components/chart/chart.component.d.ts +3 -0
- package/lib/components/chart/line/line.component.d.ts +3 -0
- package/lib/components/components.module.d.ts +124 -10
- package/lib/components/date-edit/date-edit.component.d.ts +3 -0
- package/lib/components/date-range/date-range.component.d.ts +5 -0
- package/lib/components/detail/address/address.component.d.ts +3 -0
- package/lib/components/detail/array/array.component.d.ts +7 -1
- package/lib/components/detail/attachment/attachment.component.d.ts +3 -0
- package/lib/components/detail/base/base.component.d.ts +3 -0
- package/lib/components/detail/color/color.component.d.ts +3 -0
- package/lib/components/detail/date-range/date-range.component.d.ts +3 -0
- package/lib/components/detail/detail.component.d.ts +3 -0
- package/lib/components/detail/email/email.component.d.ts +3 -0
- package/lib/components/detail/enum/enum.component.d.ts +3 -0
- package/lib/components/detail/flag/flag.component.d.ts +3 -0
- package/lib/components/detail/image/image.component.d.ts +3 -0
- package/lib/components/detail/logo/logo.component.d.ts +3 -0
- package/lib/components/detail/object/object.component.d.ts +7 -1
- package/lib/components/detail/pdf/pdf.component.d.ts +3 -0
- package/lib/components/detail/phone-number-pl/phone-number-pl.component.d.ts +3 -0
- package/lib/components/detail/text/text.component.d.ts +3 -0
- package/lib/components/detail/video/video.component.d.ts +3 -0
- package/lib/components/details/base/base.component.d.ts +3 -0
- package/lib/components/details/details.component.d.ts +5 -2
- package/lib/components/details/standard/standard.component.d.ts +3 -0
- package/lib/components/dynamic/dynamic.component.d.ts +3 -0
- package/lib/components/error-context/error-context.component.d.ts +3 -0
- package/lib/components/export/export.component.d.ts +3 -0
- package/lib/components/form/base/base.component.d.ts +3 -0
- package/lib/components/form/form.component.d.ts +4 -1
- package/lib/components/form/standard/standard.component.d.ts +3 -0
- package/lib/components/form/stepper/stepper.component.d.ts +3 -0
- package/lib/components/grid/column/column.component.d.ts +3 -0
- package/lib/components/grid/grid.component.d.ts +3 -0
- package/lib/components/grid/row/row.component.d.ts +3 -0
- package/lib/components/import/import.component.d.ts +3 -0
- package/lib/components/info/info.component.d.ts +5 -0
- package/lib/components/input/address/address.component.d.ts +3 -0
- package/lib/components/input/array/array.component.d.ts +5 -1
- package/lib/components/input/attachment/attachment.component.d.ts +3 -0
- package/lib/components/input/base/base.component.d.ts +3 -0
- package/lib/components/input/base/file.component.d.ts +3 -0
- package/lib/components/input/base/possibilities.component.d.ts +3 -0
- package/lib/components/input/check/check.component.d.ts +3 -0
- package/lib/components/input/color/color.component.d.ts +3 -0
- package/lib/components/input/currency/currency.component.d.ts +3 -0
- package/lib/components/input/date/date.component.d.ts +3 -0
- package/lib/components/input/date-range/date-range.component.d.ts +3 -0
- package/lib/components/input/date-with-edit/date-with-edit.component.d.ts +3 -0
- package/lib/components/input/email/email.component.d.ts +3 -0
- package/lib/components/input/enum/enum.component.d.ts +3 -0
- package/lib/components/input/error/error.component.d.ts +3 -0
- package/lib/components/input/file/file.component.d.ts +3 -0
- package/lib/components/input/flag/flag.component.d.ts +3 -0
- package/lib/components/input/float/float.component.d.ts +3 -0
- package/lib/components/input/image/image.component.d.ts +3 -0
- package/lib/components/input/input.component.d.ts +3 -0
- package/lib/components/input/int/int.component.d.ts +3 -0
- package/lib/components/input/ints/ints.component.d.ts +3 -0
- package/lib/components/input/logo/logo.component.d.ts +3 -0
- package/lib/components/input/long-text/long-text.component.d.ts +3 -0
- package/lib/components/input/nip/nip.component.d.ts +3 -0
- package/lib/components/input/object/object.component.d.ts +6 -2
- package/lib/components/input/password/password.component.d.ts +3 -0
- package/lib/components/input/pdf/pdf.component.d.ts +3 -0
- package/lib/components/input/pesel/pesel.component.d.ts +3 -0
- package/lib/components/input/phone-number/phone-number.component.d.ts +3 -0
- package/lib/components/input/phone-number-pl/phone-number-pl.component.d.ts +3 -0
- package/lib/components/input/radio/radio.component.d.ts +3 -0
- package/lib/components/input/strings/strings.component.d.ts +3 -0
- package/lib/components/input/text/text.component.d.ts +3 -0
- package/lib/components/input/video/video.component.d.ts +3 -0
- package/lib/components/list/base/base.component.d.ts +4 -2
- package/lib/components/list/desktop/desktop.component.d.ts +4 -2
- package/lib/components/list/list.component.d.ts +5 -9
- package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +4 -2
- package/lib/components/list/mobile/mobile.component.d.ts +4 -2
- package/lib/components/loader/loader.component.d.ts +3 -0
- package/lib/components/page/base/base.component.d.ts +3 -0
- package/lib/components/page/page.component.d.ts +3 -0
- package/lib/components/page/standard/standard.component.d.ts +3 -0
- package/lib/components/paging/paging.component.d.ts +3 -0
- package/lib/components/password-strength/password-strength.component.d.ts +3 -0
- package/lib/components/searchbar/searchbar.component.d.ts +3 -0
- package/lib/components/tabs/tab/tab.component.d.ts +3 -0
- package/lib/components/tabs/tabs.component.d.ts +3 -0
- package/lib/directives/date-validator/date-validator.directive.d.ts +3 -0
- package/lib/directives/details/details.directive.d.ts +3 -0
- package/lib/directives/directives.module.d.ts +9 -0
- package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +3 -0
- package/lib/directives/viewport-show/viewport-show.directive.d.ts +3 -0
- package/lib/factories/factories.module.d.ts +5 -0
- package/lib/factories/form/form.factory.d.ts +3 -0
- package/lib/models/interfaces.d.ts +7 -1
- package/lib/ngrx-shared.module.d.ts +7 -0
- package/lib/pages/details/details.page.d.ts +3 -0
- package/lib/pages/pages.module.d.ts +9 -0
- package/lib/pipes/enum-to-list/enum-to-list.pipe.d.ts +3 -0
- package/lib/pipes/file-url/file-url.pipe.d.ts +3 -0
- package/lib/pipes/list-cell/list-cell.pipe.d.ts +3 -0
- package/lib/pipes/list-header/list-header.pipe.d.ts +3 -0
- package/lib/pipes/model-label/model-label.pipe.d.ts +3 -0
- package/lib/pipes/pipes.module.d.ts +12 -1
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +3 -0
- package/lib/pipes/virtual-data-source/virtual-data-source.pipe.d.ts +3 -0
- package/lib/services/alert/alert.service.d.ts +3 -0
- package/lib/services/app/app.service.d.ts +3 -0
- package/lib/services/auth/auth.service.d.ts +3 -0
- package/lib/services/calendar/calendar.service.d.ts +3 -0
- package/lib/services/camera/camera.service.d.ts +3 -0
- package/lib/services/details/details.service.d.ts +3 -0
- package/lib/services/dynamic-component-loader/dynamic-component-loader.service.d.ts +3 -0
- package/lib/services/error/error.service.d.ts +3 -0
- package/lib/services/file/file.service.d.ts +3 -0
- package/lib/services/fingerprint/fingerprint.service.d.ts +3 -0
- package/lib/services/hardware/hardware.service.d.ts +3 -0
- package/lib/services/menu/menu.service.d.ts +3 -0
- package/lib/services/modal/modal.service.d.ts +3 -0
- package/lib/services/ngrx-store/ngrx-store.service.d.ts +3 -0
- package/lib/services/popover/popover.service.d.ts +3 -0
- package/lib/services/services.module.d.ts +7 -0
- package/lib/services/storage/storage.service.d.ts +3 -0
- package/lib/services/style/style.service.d.ts +3 -0
- package/lib/services/toast/toast.service.d.ts +3 -0
- package/lib/services/ui/ui.service.d.ts +3 -0
- package/lib/shared.inectors.d.ts +3 -0
- package/lib/shared.module.d.ts +15 -0
- package/lib/utils-shared.module.d.ts +5 -0
- package/package.json +38 -25
- package/smartsoft001-angular.d.ts +1 -142
- package/bundles/smartsoft001-angular.umd.js +0 -9127
- package/bundles/smartsoft001-angular.umd.js.map +0 -1
- package/esm2015/lib/+state/error.effects.js +0 -31
- package/esm2015/lib/components/accordion/accordion.component.js +0 -37
- package/esm2015/lib/components/accordion/body/body.component.js +0 -23
- package/esm2015/lib/components/accordion/header/header.component.js +0 -23
- package/esm2015/lib/components/app/base/base.component.js +0 -144
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +0 -58
- package/esm2015/lib/components/base/base.component.js +0 -82
- package/esm2015/lib/components/button/base/base.component.js +0 -36
- package/esm2015/lib/components/button/button.component.js +0 -48
- package/esm2015/lib/components/button/standard/standard.component.js +0 -15
- package/esm2015/lib/components/card/card.component.js +0 -27
- package/esm2015/lib/components/chart/bar/bar.component.js +0 -68
- package/esm2015/lib/components/chart/base/base.component.js +0 -19
- package/esm2015/lib/components/chart/chart.component.js +0 -30
- package/esm2015/lib/components/chart/line/line.component.js +0 -68
- package/esm2015/lib/components/components.module.js +0 -257
- package/esm2015/lib/components/date-edit/date-edit.component.js +0 -184
- package/esm2015/lib/components/date-range/date-range.component.js +0 -387
- package/esm2015/lib/components/detail/address/address.component.js +0 -17
- package/esm2015/lib/components/detail/array/array.component.js +0 -28
- package/esm2015/lib/components/detail/attachment/attachment.component.js +0 -36
- package/esm2015/lib/components/detail/base/base.component.js +0 -34
- package/esm2015/lib/components/detail/color/color.component.js +0 -13
- package/esm2015/lib/components/detail/date-range/date-range.component.js +0 -13
- package/esm2015/lib/components/detail/detail.component.js +0 -32
- package/esm2015/lib/components/detail/email/email.component.js +0 -13
- package/esm2015/lib/components/detail/enum/enum.component.js +0 -13
- package/esm2015/lib/components/detail/flag/flag.component.js +0 -13
- package/esm2015/lib/components/detail/image/image.component.js +0 -38
- package/esm2015/lib/components/detail/logo/logo.component.js +0 -13
- package/esm2015/lib/components/detail/object/object.component.js +0 -26
- package/esm2015/lib/components/detail/pdf/pdf.component.js +0 -36
- package/esm2015/lib/components/detail/phone-number-pl/phone-number-pl.component.js +0 -13
- package/esm2015/lib/components/detail/text/text.component.js +0 -13
- package/esm2015/lib/components/detail/video/video.component.js +0 -32
- package/esm2015/lib/components/details/base/base.component.js +0 -104
- package/esm2015/lib/components/details/details.component.js +0 -66
- package/esm2015/lib/components/details/standard/standard.component.js +0 -15
- package/esm2015/lib/components/dynamic/dynamic.component.js +0 -34
- package/esm2015/lib/components/error-context/error-context.component.js +0 -35
- package/esm2015/lib/components/export/export.component.js +0 -41
- package/esm2015/lib/components/form/base/base.component.js +0 -75
- package/esm2015/lib/components/form/form.component.js +0 -216
- package/esm2015/lib/components/form/standard/standard.component.js +0 -16
- package/esm2015/lib/components/form/stepper/stepper.component.js +0 -68
- package/esm2015/lib/components/grid/column/column.component.js +0 -29
- package/esm2015/lib/components/grid/grid.component.js +0 -30
- package/esm2015/lib/components/grid/row/row.component.js +0 -29
- package/esm2015/lib/components/import/import.component.js +0 -48
- package/esm2015/lib/components/info/info.component.js +0 -70
- package/esm2015/lib/components/input/address/address.component.js +0 -27
- package/esm2015/lib/components/input/array/array.component.js +0 -110
- package/esm2015/lib/components/input/attachment/attachment.component.js +0 -34
- package/esm2015/lib/components/input/base/base.component.js +0 -45
- package/esm2015/lib/components/input/base/file.component.js +0 -94
- package/esm2015/lib/components/input/base/possibilities.component.js +0 -49
- package/esm2015/lib/components/input/check/check.component.js +0 -64
- package/esm2015/lib/components/input/color/color.component.js +0 -42
- package/esm2015/lib/components/input/currency/currency.component.js +0 -27
- package/esm2015/lib/components/input/date/date.component.js +0 -69
- package/esm2015/lib/components/input/date-range/date-range.component.js +0 -26
- package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js +0 -53
- package/esm2015/lib/components/input/email/email.component.js +0 -27
- package/esm2015/lib/components/input/enum/enum.component.js +0 -51
- package/esm2015/lib/components/input/error/error.component.js +0 -17
- package/esm2015/lib/components/input/file/file.component.js +0 -66
- package/esm2015/lib/components/input/flag/flag.component.js +0 -28
- package/esm2015/lib/components/input/float/float.component.js +0 -29
- package/esm2015/lib/components/input/image/image.component.js +0 -44
- package/esm2015/lib/components/input/input.component.js +0 -104
- package/esm2015/lib/components/input/int/int.component.js +0 -29
- package/esm2015/lib/components/input/ints/ints.component.js +0 -66
- package/esm2015/lib/components/input/logo/logo.component.js +0 -56
- package/esm2015/lib/components/input/long-text/long-text.component.js +0 -61
- package/esm2015/lib/components/input/nip/nip.component.js +0 -42
- package/esm2015/lib/components/input/object/object.component.js +0 -35
- package/esm2015/lib/components/input/password/password.component.js +0 -56
- package/esm2015/lib/components/input/pdf/pdf.component.js +0 -34
- package/esm2015/lib/components/input/pesel/pesel.component.js +0 -27
- package/esm2015/lib/components/input/phone-number/phone-number.component.js +0 -27
- package/esm2015/lib/components/input/phone-number-pl/phone-number-pl.component.js +0 -35
- package/esm2015/lib/components/input/radio/radio.component.js +0 -49
- package/esm2015/lib/components/input/strings/strings.component.js +0 -66
- package/esm2015/lib/components/input/text/text.component.js +0 -27
- package/esm2015/lib/components/input/video/video.component.js +0 -54
- package/esm2015/lib/components/list/base/base.component.js +0 -175
- package/esm2015/lib/components/list/desktop/desktop.component.js +0 -119
- package/esm2015/lib/components/list/list.component.js +0 -73
- package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js +0 -73
- package/esm2015/lib/components/list/mobile/mobile.component.js +0 -55
- package/esm2015/lib/components/loader/loader.component.js +0 -17
- package/esm2015/lib/components/page/base/base.component.js +0 -74
- package/esm2015/lib/components/page/page.component.js +0 -64
- package/esm2015/lib/components/page/standard/standard.component.js +0 -36
- package/esm2015/lib/components/paging/paging.component.js +0 -24
- package/esm2015/lib/components/password-strength/password-strength.component.js +0 -118
- package/esm2015/lib/components/searchbar/searchbar.component.js +0 -62
- package/esm2015/lib/components/tabs/tab/tab.component.js +0 -31
- package/esm2015/lib/components/tabs/tabs.component.js +0 -48
- package/esm2015/lib/directives/date-validator/date-validator.directive.js +0 -26
- package/esm2015/lib/directives/details/details.directive.js +0 -60
- package/esm2015/lib/directives/directives.module.js +0 -29
- package/esm2015/lib/directives/dynamic-content/dynamic-content.directive.js +0 -24
- package/esm2015/lib/directives/viewport-show/viewport-show.directive.js +0 -43
- package/esm2015/lib/factories/factories.module.js +0 -17
- package/esm2015/lib/factories/form/form.factory.js +0 -275
- package/esm2015/lib/models/interfaces.js +0 -12
- package/esm2015/lib/ngrx-shared.module.js +0 -37
- package/esm2015/lib/pages/details/details.page.js +0 -72
- package/esm2015/lib/pages/pages.module.js +0 -32
- package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js +0 -15
- package/esm2015/lib/pipes/file-url/file-url.pipe.js +0 -27
- package/esm2015/lib/pipes/list-cell/list-cell.pipe.js +0 -76
- package/esm2015/lib/pipes/list-header/list-header.pipe.js +0 -43
- package/esm2015/lib/pipes/model-label/model-label.pipe.js +0 -40
- package/esm2015/lib/pipes/pipes.module.js +0 -21
- package/esm2015/lib/pipes/trust-html/trust-html.pipe.js +0 -29
- package/esm2015/lib/pipes/virtual-data-source/virtual-data-source.pipe.js +0 -15
- package/esm2015/lib/services/alert/alert.service.js +0 -29
- package/esm2015/lib/services/auth/auth.service.js +0 -50
- package/esm2015/lib/services/camera/camera.service.js +0 -23
- package/esm2015/lib/services/details/details.service.js +0 -29
- package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js +0 -46
- package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js +0 -30
- package/esm2015/lib/services/error/error.service.js +0 -41
- package/esm2015/lib/services/file/file.service.js +0 -54
- package/esm2015/lib/services/fingerprint/fingerprint.service.js +0 -75
- package/esm2015/lib/services/hardware/hardware.service.js +0 -34
- package/esm2015/lib/services/menu/menu.service.js +0 -105
- package/esm2015/lib/services/modal/modal.service.js +0 -50
- package/esm2015/lib/services/ngrx-store/ngrx-store.service.js +0 -20
- package/esm2015/lib/services/popover/popover.service.js +0 -28
- package/esm2015/lib/services/services.module.js +0 -53
- package/esm2015/lib/services/storage/storage.service.js +0 -82
- package/esm2015/lib/services/style/style.service.js +0 -107
- package/esm2015/lib/services/toast/toast.service.js +0 -69
- package/esm2015/lib/services/ui/ui.service.js +0 -72
- package/esm2015/lib/shared.module.js +0 -53
- package/esm2015/lib/utils-shared.module.js +0 -14
- package/esm2015/smartsoft001-angular.js +0 -147
- package/fesm2015/smartsoft001-angular.js +0 -7502
- package/fesm2015/smartsoft001-angular.js.map +0 -1
- package/smartsoft001-angular.metadata.json +0 -1
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
import { InputBaseComponent } from "../base/base.component";
|
|
3
|
-
export class InputFloatComponent extends InputBaseComponent {
|
|
4
|
-
constructor(cd) {
|
|
5
|
-
super(cd);
|
|
6
|
-
}
|
|
7
|
-
ngOnInit() {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
11
|
-
InputFloatComponent.decorators = [
|
|
12
|
-
{ type: Component, args: [{
|
|
13
|
-
selector: 'smart-input-float',
|
|
14
|
-
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\" type=\"number\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>",
|
|
15
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
-
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:14px;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{--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}.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:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;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:#0f4c810d!important;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:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;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"]
|
|
17
|
-
},] }
|
|
18
|
-
];
|
|
19
|
-
/**
|
|
20
|
-
* @type {function(): !Array<(null|{
|
|
21
|
-
* type: ?,
|
|
22
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
23
|
-
* })>}
|
|
24
|
-
* @nocollapse
|
|
25
|
-
*/
|
|
26
|
-
InputFloatComponent.ctorParameters = () => [
|
|
27
|
-
{ type: ChangeDetectorRef }
|
|
28
|
-
];
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxvYXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvZmxvYXQvZmxvYXQuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxpQkFBaUIsRUFBRSxTQUFTLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFFNUYsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFRMUQsTUFBTSxPQUFPLG1CQUF1QixTQUFRLGtCQUFxQjtJQUMvRCxZQUFZLEVBQXFCO1FBQy9CLEtBQUssQ0FBQyxFQUFFLENBQUMsQ0FBQztJQUNaLENBQUM7SUFDRCxRQUFRO0lBQ1IsQ0FBQzs7OztZQVhGLFNBQVMsU0FBQztnQkFDVCxRQUFRLEVBQUUsbUJBQW1CO2dCQUM3QixrZEFBcUM7Z0JBRXJDLGVBQWUsRUFBRSx1QkFBdUIsQ0FBQyxNQUFNOzthQUNoRDs7Ozs7Ozs7OztZQVRnQyxpQkFBaUIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDaGFuZ2VEZXRlY3RvclJlZiwgQ29tcG9uZW50LCBPbkluaXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge0lucHV0QmFzZUNvbXBvbmVudH0gZnJvbSBcIi4uL2Jhc2UvYmFzZS5jb21wb25lbnRcIjtcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnc21hcnQtaW5wdXQtZmxvYXQnLFxuICB0ZW1wbGF0ZVVybDogJy4vZmxvYXQuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9mbG9hdC5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBJbnB1dEZsb2F0Q29tcG9uZW50PFQ+IGV4dGVuZHMgSW5wdXRCYXNlQ29tcG9uZW50PFQ+IGltcGxlbWVudHMgT25Jbml0IHtcbiAgY29uc3RydWN0b3IoY2Q6IENoYW5nZURldGVjdG9yUmVmKSB7XG4gICAgc3VwZXIoY2QpO1xuICB9XG4gIG5nT25Jbml0KCkge1xuICB9XG5cbn1cbiJdfQ==
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, Renderer2, } from '@angular/core';
|
|
2
|
-
import { debounceTime } from "rxjs/operators";
|
|
3
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
-
import { InputFileBaseComponent } from "../base/file.component";
|
|
5
|
-
import { FileService } from "../../../services/file/file.service";
|
|
6
|
-
import { ToastService } from "../../../services/toast/toast.service";
|
|
7
|
-
export class InputImageComponent extends InputFileBaseComponent {
|
|
8
|
-
constructor(cd, renderer, fileService, toastService, translateService) {
|
|
9
|
-
super(cd, renderer, fileService, toastService, translateService);
|
|
10
|
-
}
|
|
11
|
-
ngOnInit() {
|
|
12
|
-
super.ngOnInit();
|
|
13
|
-
this.control.valueChanges.pipe(debounceTime(1000), this.takeUntilDestroy).subscribe(() => this.initImage());
|
|
14
|
-
this.initImage();
|
|
15
|
-
}
|
|
16
|
-
initImage() {
|
|
17
|
-
this.imageUrl = this.control.value ? this.fileService.getUrl(this.control.value.id) : null;
|
|
18
|
-
this.cd.detectChanges();
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
22
|
-
InputImageComponent.decorators = [
|
|
23
|
-
{ type: Component, args: [{
|
|
24
|
-
selector: "smart-input-image",
|
|
25
|
-
template: "<ng-container *ngIf=\"control\">\n <ion-label position=\"floating\">\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ng-container *ngIf=\"control.value\">({{ control.value.fileName }})</ng-container>\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label><br/>\n <smart-button [options]=\"addButtonOptions\">{{ (control.value ? 'change' : 'add') | translate }}</smart-button>\n\n <smart-button *ngIf=\"control.value\" [options]=\"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=\"imageUrl\">\n <ion-img style=\"max-width: 400px; max-height: 400px\" [src]=\"imageUrl\"></ion-img>\n <br/>\n </ng-container>\n</ng-container>\n<input type=\"file\" accept=\".jpg,.png,.jpeg\" [hidden]=\"true\" #inputObj>",
|
|
26
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
27
|
-
styles: [""]
|
|
28
|
-
},] }
|
|
29
|
-
];
|
|
30
|
-
/**
|
|
31
|
-
* @type {function(): !Array<(null|{
|
|
32
|
-
* type: ?,
|
|
33
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
34
|
-
* })>}
|
|
35
|
-
* @nocollapse
|
|
36
|
-
*/
|
|
37
|
-
InputImageComponent.ctorParameters = () => [
|
|
38
|
-
{ type: ChangeDetectorRef },
|
|
39
|
-
{ type: Renderer2 },
|
|
40
|
-
{ type: FileService },
|
|
41
|
-
{ type: ToastService },
|
|
42
|
-
{ type: TranslateService }
|
|
43
|
-
];
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXQvaW1hZ2UvaW1hZ2UuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFBRSxpQkFBaUIsRUFDMUMsU0FBUyxFQUNELFNBQVMsR0FDcEIsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBQzVDLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLHFCQUFxQixDQUFDO0FBRXJELE9BQU8sRUFBQyxzQkFBc0IsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQzlELE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQUNoRSxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sdUNBQXVDLENBQUM7QUFRbkUsTUFBTSxPQUFPLG1CQUF1QixTQUFRLHNCQUF5QjtJQUdqRS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ZWN0b3JSZWYsXG4gICAgICAgIHJlbmRlcmVyOiBSZW5kZXJlcjIsXG4gICAgICAgIGZpbGVTZXJ2aWNlOiBGaWxlU2VydmljZSxcbiAgICAgICAgdG9hc3RTZXJ2aWNlOiBUb2FzdFNlcnZpY2UsXG4gICAgICAgIHRyYW5zbGF0ZVNlcnZpY2U6IFRyYW5zbGF0ZVNlcnZpY2VcbiAgICApIHtcbiAgICAgICAgc3VwZXIoY2QsIHJlbmRlcmVyLCBmaWxlU2VydmljZSwgdG9hc3RTZXJ2aWNlLCB0cmFuc2xhdGVTZXJ2aWNlKTtcbiAgICB9XG5cbiAgICBuZ09uSW5pdCgpIHtcbiAgICAgICAgc3VwZXIubmdPbkluaXQoKTtcblxuICAgICAgICB0aGlzLmNvbnRyb2wudmFsdWVDaGFuZ2VzLnBpcGUoXG4gICAgICAgICAgICBkZWJvdW5jZVRpbWUoMTAwMCksXG4gICAgICAgICAgICB0aGlzLnRha2VVbnRpbERlc3Ryb3lcbiAgICAgICAgKS5zdWJzY3JpYmUoKCkgPT4gdGhpcy5pbml0SW1hZ2UoKSk7XG5cbiAgICAgICAgdGhpcy5pbml0SW1hZ2UoKTtcbiAgICB9XG5cbiAgICBwcml2YXRlIGluaXRJbWFnZSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy5pbWFnZVVybCA9IHRoaXMuY29udHJvbC52YWx1ZSA/IHRoaXMuZmlsZVNlcnZpY2UuZ2V0VXJsKHRoaXMuY29udHJvbC52YWx1ZS5pZCkgOiBudWxsO1xuICAgICAgICB0aGlzLmNkLmRldGVjdENoYW5nZXMoKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactoryResolver, ElementRef, Injector, Input, ViewChild, ViewContainerRef } from '@angular/core';
|
|
3
|
-
import * as _ from 'lodash';
|
|
4
|
-
import { FieldType, getModelFieldOptions, getModelFieldsWithOptions } from "@smartsoft001/models";
|
|
5
|
-
import { StyleService } from "../../services";
|
|
6
|
-
import { FormArray } from "@angular/forms";
|
|
7
|
-
export class InputComponent {
|
|
8
|
-
constructor(componentFactoryResolver, injector) {
|
|
9
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
10
|
-
this.injector = injector;
|
|
11
|
-
this.FieldType = FieldType;
|
|
12
|
-
}
|
|
13
|
-
set options(val) {
|
|
14
|
-
var _a;
|
|
15
|
-
this._options = val;
|
|
16
|
-
let key = this._options.fieldKey;
|
|
17
|
-
if (key && key.endsWith('Confirm')) {
|
|
18
|
-
key = key.replace('Confirm', '');
|
|
19
|
-
}
|
|
20
|
-
let fieldOptions = getModelFieldOptions(this._options.model, key);
|
|
21
|
-
if (!fieldOptions && this._options.model[0])
|
|
22
|
-
fieldOptions = getModelFieldOptions(this._options.model[0], key);
|
|
23
|
-
if (!fieldOptions) {
|
|
24
|
-
fieldOptions = (_a = getModelFieldsWithOptions(this._options.model).find(x => x.key === key)) === null || _a === void 0 ? void 0 : _a.options;
|
|
25
|
-
}
|
|
26
|
-
if (val.mode === 'create' && _.isObject(fieldOptions.create)) {
|
|
27
|
-
fieldOptions = Object.assign(Object.assign({}, fieldOptions), fieldOptions.create);
|
|
28
|
-
}
|
|
29
|
-
else if (val.mode === 'update' && _.isObject(fieldOptions.update)) {
|
|
30
|
-
fieldOptions = Object.assign(Object.assign({}, fieldOptions), fieldOptions.update);
|
|
31
|
-
}
|
|
32
|
-
this.fieldOptions = fieldOptions;
|
|
33
|
-
this.initCustomComponent().then();
|
|
34
|
-
this.options.control.statusChanges.subscribe(status => {
|
|
35
|
-
this.status = status;
|
|
36
|
-
this.injector.get(ChangeDetectorRef).detectChanges();
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
get options() {
|
|
40
|
-
return this._options;
|
|
41
|
-
}
|
|
42
|
-
oSetValue($event) {
|
|
43
|
-
if (!$event)
|
|
44
|
-
return;
|
|
45
|
-
if (this.options.control instanceof FormArray) {
|
|
46
|
-
this.options.control.clear();
|
|
47
|
-
}
|
|
48
|
-
setTimeout(() => {
|
|
49
|
-
this.options.control.setValue($event);
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
ngOnInit() {
|
|
53
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
-
yield this.initStyles();
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
initStyles() {
|
|
58
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
-
const styleService = yield this.injector.get(StyleService);
|
|
60
|
-
const elementRef = yield this.injector.get(ElementRef);
|
|
61
|
-
styleService.init(elementRef);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
initCustomComponent() {
|
|
65
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
-
if (!this.options.component)
|
|
67
|
-
return;
|
|
68
|
-
yield new Promise(res => res());
|
|
69
|
-
const componentFactory = this.componentFactoryResolver
|
|
70
|
-
.resolveComponentFactory(this.options.component);
|
|
71
|
-
const viewContainerRef = this.componentRef;
|
|
72
|
-
viewContainerRef.clear();
|
|
73
|
-
const componentRef = viewContainerRef.createComponent(componentFactory, 0, this.injector);
|
|
74
|
-
componentRef.instance.options = this.options;
|
|
75
|
-
componentRef.instance.fieldOptions = this.fieldOptions;
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
80
|
-
InputComponent.decorators = [
|
|
81
|
-
{ type: Component, args: [{
|
|
82
|
-
selector: 'smart-input',
|
|
83
|
-
template: "<ion-item *ngIf=\"!fieldOptions?.hide\">\n <div class=\"container-right\">\n <smart-info *ngIf=\"fieldOptions?.info\" [text]=\"fieldOptions.info\"></smart-info>\n <smart-loader [show]=\"status === 'PENDING'\"></smart-loader>\n </div>\n <ng-container *ngIf=\"!options.component\" [ngSwitch]=\"fieldOptions?.type\">\n <smart-input-currency class=\"input-type\" *ngSwitchCase=\"FieldType.currency\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-currency>\n <smart-input-date class=\"input-type\" *ngSwitchCase=\"FieldType.date\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-date>\n <smart-input-date-with-edit class=\"input-type\" *ngSwitchCase=\"FieldType.dateWithEdit\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-date-with-edit>\n <smart-input-email class=\"input-type\" *ngSwitchCase=\"FieldType.email\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-email>\n <smart-input-enum class=\"input-type\" *ngSwitchCase=\"FieldType.enum\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-enum>\n <smart-input-file class=\"input-type\" *ngSwitchCase=\"FieldType.file\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-file>\n <smart-input-flag class=\"input-type\" *ngSwitchCase=\"FieldType.flag\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-flag>\n <smart-input-int class=\"input-type\" *ngSwitchCase=\"FieldType.int\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-int>\n <smart-input-nip class=\"input-type\" *ngSwitchCase=\"FieldType.nip\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-nip>\n <smart-input-password class=\"input-type\" *ngSwitchCase=\"FieldType.password\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-password>\n <smart-input-radio class=\"input-type\" *ngSwitchCase=\"FieldType.radio\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-radio>\n <smart-input-text class=\"input-type\" *ngSwitchCase=\"FieldType.text\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-text>\n <smart-input-strings class=\"input-type\" *ngSwitchCase=\"FieldType.strings\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-strings>\n <smart-input-long-text class=\"input-type\" *ngSwitchCase=\"FieldType.longText\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-long-text>\n <smart-input-address class=\"input-type\" *ngSwitchCase=\"FieldType.address\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-address>\n <smart-input-object class=\"input-type\" *ngSwitchCase=\"FieldType.object\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-object>\n <smart-input-color class=\"input-type\" *ngSwitchCase=\"FieldType.color\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-color>\n <smart-input-logo class=\"input-type\" *ngSwitchCase=\"FieldType.logo\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-logo>\n <smart-input-check class=\"input-type\" *ngSwitchCase=\"FieldType.check\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-check>\n <smart-input-ints class=\"input-type\" *ngSwitchCase=\"FieldType.ints\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-ints>\n <smart-input-phone-number class=\"input-type\" *ngSwitchCase=\"FieldType.phoneNumber\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-phone-number>\n <smart-input-phone-number-pl class=\"input-type\" *ngSwitchCase=\"FieldType.phoneNumberPl\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-phone-number-pl>\n <smart-input-pesel class=\"input-type\" *ngSwitchCase=\"FieldType.pesel\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-pesel>\n <smart-input-array class=\"input-type\" *ngSwitchCase=\"FieldType.array\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-array>\n <smart-input-pdf class=\"input-type\" *ngSwitchCase=\"FieldType.pdf\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-pdf>\n <smart-input-video class=\"input-type\" *ngSwitchCase=\"FieldType.video\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-video>\n <smart-input-attachment class=\"input-type\" *ngSwitchCase=\"FieldType.attachment\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-attachment>\n <smart-input-date-range class=\"input-type\" *ngSwitchCase=\"FieldType.dateRange\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-date-range>\n <smart-input-image class=\"input-type\" *ngSwitchCase=\"FieldType.image\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-image>\n <smart-input-float class=\"input-type\" *ngSwitchCase=\"FieldType.float\" [options]=\"options\" [fieldOptions]=\"fieldOptions\"></smart-input-float>\n </ng-container>\n\n <div #componentRef></div>\n</ion-item>\n\n<ion-item *ngIf=\"options?.control?.errors && options?.control?.touched\">\n <smart-input-error [errors]=\"options?.control?.errors\"></smart-input-error>\n</ion-item>\n",
|
|
84
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
85
|
-
styles: [".input-type{width:100%;padding-left:1.2rem;padding-right:1.2rem}.container-right{height:2.4rem;position:absolute;right:3rem;top:15%;z-index:666}\n"]
|
|
86
|
-
},] }
|
|
87
|
-
];
|
|
88
|
-
/**
|
|
89
|
-
* @type {function(): !Array<(null|{
|
|
90
|
-
* type: ?,
|
|
91
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
92
|
-
* })>}
|
|
93
|
-
* @nocollapse
|
|
94
|
-
*/
|
|
95
|
-
InputComponent.ctorParameters = () => [
|
|
96
|
-
{ type: ComponentFactoryResolver },
|
|
97
|
-
{ type: Injector }
|
|
98
|
-
];
|
|
99
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
100
|
-
InputComponent.propDecorators = {
|
|
101
|
-
componentRef: [{ type: ViewChild, args: ['componentRef', { read: ViewContainerRef },] }],
|
|
102
|
-
options: [{ type: Input }]
|
|
103
|
-
};
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Ii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XRCYXNlQ29tcG9uZW50PGFueT4+KHRoaXMub3B0aW9ucy5jb21wb25lbnQpO1xuXG4gICAgY29uc3Qgdmlld0NvbnRhaW5lclJlZiA9IHRoaXMuY29tcG9uZW50UmVmO1xuICAgIHZpZXdDb250YWluZXJSZWYuY2xlYXIoKTtcblxuICAgIGNvbnN0IGNvbXBvbmVudFJlZiA9IHZpZXdDb250YWluZXJSZWYuY3JlYXRlQ29tcG9uZW50KGNvbXBvbmVudEZhY3RvcnksIDAsIHRoaXMuaW5qZWN0b3IpO1xuXG4gICAgY29tcG9uZW50UmVmLmluc3RhbmNlLm9wdGlvbnMgPSB0aGlzLm9wdGlvbnM7XG4gICAgY29tcG9uZW50UmVmLmluc3RhbmNlLmZpZWxkT3B0aW9ucyA9IHRoaXMuZmllbGRPcHRpb25zO1xuICB9XG59XG4iXX0=
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
import { InputBaseComponent } from "../base/base.component";
|
|
3
|
-
export class InputIntComponent extends InputBaseComponent {
|
|
4
|
-
constructor(cd) {
|
|
5
|
-
super(cd);
|
|
6
|
-
}
|
|
7
|
-
ngOnInit() {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
11
|
-
InputIntComponent.decorators = [
|
|
12
|
-
{ type: Component, args: [{
|
|
13
|
-
selector: 'smart-input-int',
|
|
14
|
-
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\" type=\"number\" step=\"1\" [attr.autofocus]=\"fieldOptions?.focused\"></ion-input>\n</ng-container>",
|
|
15
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
-
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:14px;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{--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}.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:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;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:#0f4c810d!important;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:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;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"]
|
|
17
|
-
},] }
|
|
18
|
-
];
|
|
19
|
-
/**
|
|
20
|
-
* @type {function(): !Array<(null|{
|
|
21
|
-
* type: ?,
|
|
22
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
23
|
-
* })>}
|
|
24
|
-
* @nocollapse
|
|
25
|
-
*/
|
|
26
|
-
InputIntComponent.ctorParameters = () => [
|
|
27
|
-
{ type: ChangeDetectorRef }
|
|
28
|
-
];
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2x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CBjbGFzcyBJbnB1dEludENvbXBvbmVudDxUPiBleHRlbmRzIElucHV0QmFzZUNvbXBvbmVudDxUPiBpbXBsZW1lbnRzIE9uSW5pdCB7XG4gIGNvbnN0cnVjdG9yKGNkOiBDaGFuZ2VEZXRlY3RvclJlZikge1xuICAgIHN1cGVyKGNkKTtcbiAgfVxuICBuZ09uSW5pdCgpIHtcbiAgfVxuXG59XG4iXX0=
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
import { InputBaseComponent } from "../base/base.component";
|
|
3
|
-
import { FormBuilder } from "@angular/forms";
|
|
4
|
-
export class InputIntsComponent extends InputBaseComponent {
|
|
5
|
-
constructor(cd, fb) {
|
|
6
|
-
super(cd);
|
|
7
|
-
this.fb = fb;
|
|
8
|
-
this.list = [];
|
|
9
|
-
}
|
|
10
|
-
afterSetOptionsHandler() {
|
|
11
|
-
if (this.control.value) {
|
|
12
|
-
this.list = [];
|
|
13
|
-
this.control.value.forEach(i => this.add(i));
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
this.list = [];
|
|
17
|
-
}
|
|
18
|
-
this.refresh();
|
|
19
|
-
}
|
|
20
|
-
onItemChange() {
|
|
21
|
-
this.refresh();
|
|
22
|
-
}
|
|
23
|
-
ngOnInit() { }
|
|
24
|
-
refresh() {
|
|
25
|
-
this.control.markAsTouched();
|
|
26
|
-
this.control.markAsDirty();
|
|
27
|
-
this.control.setValue(this.list
|
|
28
|
-
.filter(i => i && i.value)
|
|
29
|
-
.map(i => Number(i.value)));
|
|
30
|
-
if (!this.list.length
|
|
31
|
-
|| (this.list[this.list.length - 1] && this.list[this.list.length - 1].value)) {
|
|
32
|
-
this.add(0);
|
|
33
|
-
}
|
|
34
|
-
this.cd.detectChanges();
|
|
35
|
-
}
|
|
36
|
-
add(val) {
|
|
37
|
-
this.list.push(this.fb.control(val));
|
|
38
|
-
}
|
|
39
|
-
removeItem(item) {
|
|
40
|
-
const index = this.list.indexOf(item);
|
|
41
|
-
if (index > -1) {
|
|
42
|
-
this.list.splice(index, 1);
|
|
43
|
-
}
|
|
44
|
-
this.refresh();
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
48
|
-
InputIntsComponent.decorators = [
|
|
49
|
-
{ type: Component, args: [{
|
|
50
|
-
selector: 'smart-input-ints',
|
|
51
|
-
template: "<ng-container *ngIf=\"control\">\n <br/>\n <ion-list>\n <ion-item>\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-item>\n <ion-item *ngFor=\"let item of list; let last = last\" lines=\"none\">\n <ion-icon slot=\"start\" name=\"ellipse-outline\"></ion-icon>\n <ion-input [placeholder]=\"(last ? ('add' | translate) : '') + '...'\"\n [formControl]=\"item\"\n type=\"number\"\n [attr.autofocus]=\"fieldOptions?.focused\"\n (ionChange)=\"onItemChange()\"\n ></ion-input>\n <ion-button slot=\"end\" color=\"danger\" *ngIf=\"!last\" (click)=\"removeItem(item)\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-item>\n\n </ion-list>\n</ng-container>\n",
|
|
52
|
-
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:14px;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{--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}.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:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;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:#0f4c810d!important;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:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;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"]
|
|
53
|
-
},] }
|
|
54
|
-
];
|
|
55
|
-
/**
|
|
56
|
-
* @type {function(): !Array<(null|{
|
|
57
|
-
* type: ?,
|
|
58
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
59
|
-
* })>}
|
|
60
|
-
* @nocollapse
|
|
61
|
-
*/
|
|
62
|
-
InputIntsComponent.ctorParameters = () => [
|
|
63
|
-
{ type: ChangeDetectorRef },
|
|
64
|
-
{ type: FormBuilder }
|
|
65
|
-
];
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50cy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dC9pbnRzL2ludHMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxpQkFBaUIsRUFBRSxTQUFTLEVBQVMsTUFBTSxlQUFlLENBQUM7QUFFbkUsT0FBTyxFQUFDLGtCQUFrQixFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFDMUQsT0FBTyxFQUFDLFdBQVcsRUFBYyxNQUFNLGdCQUFnQixDQUFDO0FBT3hELE1BQU0sT0FBTyxrQkFBc0IsU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IHRoaXMuY29udHJvbC5tYXJrQXNUb3VjaGVkKCk7XG4gICAgdGhpcy5jb250cm9sLm1hcmtBc0RpcnR5KCk7XG5cbiAgICB0aGlzLmNvbnRyb2wuc2V0VmFsdWUodGhpcy5saXN0XG4gICAgICAgIC5maWx0ZXIoaSA9PiBpICYmIGkudmFsdWUpXG4gICAgICAgIC5tYXAoaSA9PiBOdW1iZXIoaS52YWx1ZSkpXG4gICAgKTtcblxuICAgIGlmIChcbiAgICAgICAgIXRoaXMubGlzdC5sZW5ndGhcbiAgICAgICAgfHwgKHRoaXMubGlzdFt0aGlzLmxpc3QubGVuZ3RoIC0xXSAmJiB0aGlzLmxpc3RbdGhpcy5saXN0Lmxlbmd0aCAtMV0udmFsdWUpXG4gICAgKSB7XG4gICAgICB0aGlzLmFkZCgwKTtcbiAgICB9XG5cbiAgICB0aGlzLmNkLmRldGVjdENoYW5nZXMoKTtcbiAgfVxuXG4gIHByaXZhdGUgYWRkKHZhbDogbnVtYmVyKTogdm9pZCB7XG4gICAgdGhpcy5saXN0LnB1c2godGhpcy5mYi5jb250cm9sKHZhbCkpO1xuICB9XG5cbiAgcmVtb3ZlSXRlbShpdGVtOiBGb3JtQ29udHJvbCkge1xuICAgIGNvbnN0IGluZGV4ID0gdGhpcy5saXN0LmluZGV4T2YoaXRlbSk7XG4gICAgaWYgKGluZGV4ID4gLTEpIHtcbiAgICAgIHRoaXMubGlzdC5zcGxpY2UoaW5kZXgsIDEpO1xuICAgIH1cbiAgICB0aGlzLnJlZnJlc2goKTtcbiAgfVxufVxuIl19
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
import { InputBaseComponent } from "../base/base.component";
|
|
3
|
-
export class InputLogoComponent extends InputBaseComponent {
|
|
4
|
-
constructor(cd) {
|
|
5
|
-
super(cd);
|
|
6
|
-
}
|
|
7
|
-
set(inputFile) {
|
|
8
|
-
inputFile.click();
|
|
9
|
-
inputFile.onchange = () => {
|
|
10
|
-
if (!inputFile.files[0]) {
|
|
11
|
-
inputFile.onchange = null;
|
|
12
|
-
inputFile.files = null;
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
const reader = new FileReader();
|
|
16
|
-
reader.onload = ((theFile) => {
|
|
17
|
-
return (e) => {
|
|
18
|
-
const binaryData = e.target.result;
|
|
19
|
-
const base64String = window.btoa(binaryData);
|
|
20
|
-
this.control.markAsDirty();
|
|
21
|
-
this.control.markAsTouched();
|
|
22
|
-
this.control.setValue('data:image/jpeg;base64, ' + base64String);
|
|
23
|
-
this.cd.detectChanges();
|
|
24
|
-
};
|
|
25
|
-
})(inputFile);
|
|
26
|
-
reader.readAsBinaryString(inputFile.files[0]);
|
|
27
|
-
inputFile.onchange = null;
|
|
28
|
-
inputFile.files = null;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
clear() {
|
|
32
|
-
this.control.markAsDirty();
|
|
33
|
-
this.control.markAsTouched();
|
|
34
|
-
this.control.setValue(null);
|
|
35
|
-
}
|
|
36
|
-
ngOnInit() { }
|
|
37
|
-
}
|
|
38
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
39
|
-
InputLogoComponent.decorators = [
|
|
40
|
-
{ type: Component, args: [{
|
|
41
|
-
selector: 'smart-input-logo',
|
|
42
|
-
template: "<ng-container *ngIf=\"control\">\n <ion-label>\n {{ control?.parent?.value | smartModelLabel : internalOptions.fieldKey : internalOptions?.model?.constructor | async }}\n <ion-text color=\"danger\">\n <span *ngIf=\"required\">*</span>\n </ion-text>\n </ion-label>\n\n\n <ion-row>\n <ion-col size=\"auto\">\n <ion-card>\n <ion-img style=\"padding: 10px; width: 150px; height: 150px;\" *ngIf=\"control?.value\" [src]=\"control?.value\" (click)=\"set(inputFile)\">\n ></ion-img>\n </ion-card>\n </ion-col>\n\n <ion-col size=\"auto\" *ngIf=\"!control?.value\">\n <ion-button (click)=\"set(inputFile)\">\n <ion-icon name=\"image-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n\n <ion-col size=\"auto\" *ngIf=\"control?.value\">\n <ion-button color=\"danger\" (click)=\"clear()\">\n <ion-icon name=\"close-outline\"></ion-icon>\n </ion-button>\n </ion-col>\n </ion-row>\n\n</ng-container>\n\n<input [hidden]=\"true\" #inputFile accept=\"image/jpeg\" type=\"file\">",
|
|
43
|
-
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:14px;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{--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}.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:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;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:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;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:#0f4c810d!important;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:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;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"]
|
|
44
|
-
},] }
|
|
45
|
-
];
|
|
46
|
-
/**
|
|
47
|
-
* @type {function(): !Array<(null|{
|
|
48
|
-
* type: ?,
|
|
49
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
50
|
-
* })>}
|
|
51
|
-
* @nocollapse
|
|
52
|
-
*/
|
|
53
|
-
InputLogoComponent.ctorParameters = () => [
|
|
54
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