@smartsoft001/angular 1.2.91 → 2.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -4
- package/fesm2022/smartsoft001-angular.mjs +6052 -5399
- package/fesm2022/smartsoft001-angular.mjs.map +1 -1
- package/index.d.ts +1775 -13
- package/package.json +18 -36
- package/esm2022/index.mjs +0 -14
- package/esm2022/lib/+state/error.effects.mjs +0 -24
- package/esm2022/lib/components/accordion/accordion.component.mjs +0 -29
- package/esm2022/lib/components/accordion/body/body.component.mjs +0 -14
- package/esm2022/lib/components/accordion/header/header.component.mjs +0 -14
- package/esm2022/lib/components/accordion/index.mjs +0 -4
- package/esm2022/lib/components/app/base/base.component.mjs +0 -137
- package/esm2022/lib/components/app/index.mjs +0 -3
- package/esm2022/lib/components/app/split-panel/split-panel.component.mjs +0 -45
- package/esm2022/lib/components/base/base.component.mjs +0 -72
- package/esm2022/lib/components/base/index.mjs +0 -2
- package/esm2022/lib/components/button/base/base.component.mjs +0 -39
- package/esm2022/lib/components/button/button.component.mjs +0 -65
- package/esm2022/lib/components/button/index.mjs +0 -4
- package/esm2022/lib/components/button/standard/standard.component.mjs +0 -15
- package/esm2022/lib/components/card/card.component.mjs +0 -18
- package/esm2022/lib/components/card/index.mjs +0 -2
- package/esm2022/lib/components/chart/bar/bar.component.mjs +0 -55
- package/esm2022/lib/components/chart/base/base.component.mjs +0 -13
- package/esm2022/lib/components/chart/chart.component.mjs +0 -21
- package/esm2022/lib/components/chart/index.mjs +0 -4
- package/esm2022/lib/components/chart/line/line.component.mjs +0 -55
- package/esm2022/lib/components/components.module.mjs +0 -420
- package/esm2022/lib/components/date-edit/date-edit.component.mjs +0 -172
- package/esm2022/lib/components/date-edit/index.mjs +0 -2
- package/esm2022/lib/components/date-range/date-range.component.mjs +0 -348
- package/esm2022/lib/components/date-range/index.mjs +0 -2
- package/esm2022/lib/components/detail/address/address.component.mjs +0 -17
- package/esm2022/lib/components/detail/array/array.component.mjs +0 -37
- package/esm2022/lib/components/detail/attachment/attachment.component.mjs +0 -28
- package/esm2022/lib/components/detail/base/base.component.mjs +0 -24
- package/esm2022/lib/components/detail/color/color.component.mjs +0 -14
- package/esm2022/lib/components/detail/date-range/date-range.component.mjs +0 -13
- package/esm2022/lib/components/detail/detail.component.mjs +0 -40
- package/esm2022/lib/components/detail/email/email.component.mjs +0 -13
- package/esm2022/lib/components/detail/enum/enum.component.mjs +0 -14
- package/esm2022/lib/components/detail/flag/flag.component.mjs +0 -14
- package/esm2022/lib/components/detail/image/image.component.mjs +0 -29
- package/esm2022/lib/components/detail/index.mjs +0 -18
- package/esm2022/lib/components/detail/logo/logo.component.mjs +0 -14
- package/esm2022/lib/components/detail/object/object.component.mjs +0 -35
- package/esm2022/lib/components/detail/pdf/pdf.component.mjs +0 -28
- package/esm2022/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +0 -15
- package/esm2022/lib/components/detail/text/text.component.mjs +0 -15
- package/esm2022/lib/components/detail/video/video.component.mjs +0 -22
- package/esm2022/lib/components/details/base/base.component.mjs +0 -101
- package/esm2022/lib/components/details/details.component.mjs +0 -67
- package/esm2022/lib/components/details/index.mjs +0 -4
- package/esm2022/lib/components/details/standard/standard.component.mjs +0 -17
- package/esm2022/lib/components/dynamic/dynamic.component.mjs +0 -24
- package/esm2022/lib/components/dynamic/index.mjs +0 -2
- package/esm2022/lib/components/error-context/error-context.component.mjs +0 -25
- package/esm2022/lib/components/error-context/index.mjs +0 -2
- package/esm2022/lib/components/export/export.component.mjs +0 -30
- package/esm2022/lib/components/export/index.mjs +0 -2
- package/esm2022/lib/components/form/base/base.component.mjs +0 -69
- package/esm2022/lib/components/form/form.component.mjs +0 -256
- package/esm2022/lib/components/form/index.mjs +0 -5
- package/esm2022/lib/components/form/standard/standard.component.mjs +0 -17
- package/esm2022/lib/components/form/stepper/stepper.component.mjs +0 -65
- package/esm2022/lib/components/grid/column/column.component.mjs +0 -20
- package/esm2022/lib/components/grid/grid.component.mjs +0 -20
- package/esm2022/lib/components/grid/index.mjs +0 -4
- package/esm2022/lib/components/grid/row/row.component.mjs +0 -20
- package/esm2022/lib/components/import/import.component.mjs +0 -35
- package/esm2022/lib/components/import/index.mjs +0 -2
- package/esm2022/lib/components/index.mjs +0 -29
- package/esm2022/lib/components/info/index.mjs +0 -2
- package/esm2022/lib/components/info/info.component.mjs +0 -49
- package/esm2022/lib/components/input/address/address.component.mjs +0 -21
- package/esm2022/lib/components/input/array/array.component.mjs +0 -113
- package/esm2022/lib/components/input/attachment/attachment.component.mjs +0 -25
- package/esm2022/lib/components/input/base/base.component.mjs +0 -35
- package/esm2022/lib/components/input/base/file.component.mjs +0 -84
- package/esm2022/lib/components/input/base/possibilities.component.mjs +0 -45
- package/esm2022/lib/components/input/check/check.component.mjs +0 -62
- package/esm2022/lib/components/input/color/color.component.mjs +0 -35
- package/esm2022/lib/components/input/currency/currency.component.mjs +0 -20
- package/esm2022/lib/components/input/date/date.component.mjs +0 -73
- package/esm2022/lib/components/input/date-range/date-range.component.mjs +0 -20
- package/esm2022/lib/components/input/date-with-edit/date-with-edit.component.mjs +0 -27
- package/esm2022/lib/components/input/email/email.component.mjs +0 -20
- package/esm2022/lib/components/input/enum/enum.component.mjs +0 -45
- package/esm2022/lib/components/input/error/error.component.mjs +0 -16
- package/esm2022/lib/components/input/file/file.component.mjs +0 -59
- package/esm2022/lib/components/input/flag/flag.component.mjs +0 -21
- package/esm2022/lib/components/input/float/float.component.mjs +0 -21
- package/esm2022/lib/components/input/image/image.component.mjs +0 -35
- package/esm2022/lib/components/input/index.mjs +0 -34
- package/esm2022/lib/components/input/input.component.mjs +0 -124
- package/esm2022/lib/components/input/int/int.component.mjs +0 -21
- package/esm2022/lib/components/input/ints/ints.component.mjs +0 -59
- package/esm2022/lib/components/input/logo/logo.component.mjs +0 -48
- package/esm2022/lib/components/input/long-text/long-text.component.mjs +0 -55
- package/esm2022/lib/components/input/nip/nip.component.mjs +0 -35
- package/esm2022/lib/components/input/object/object.component.mjs +0 -33
- package/esm2022/lib/components/input/password/password.component.mjs +0 -51
- package/esm2022/lib/components/input/pdf/pdf.component.mjs +0 -25
- package/esm2022/lib/components/input/pesel/pesel.component.mjs +0 -20
- package/esm2022/lib/components/input/phone-number/phone-number.component.mjs +0 -20
- package/esm2022/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +0 -28
- package/esm2022/lib/components/input/radio/radio.component.mjs +0 -48
- package/esm2022/lib/components/input/strings/strings.component.mjs +0 -59
- package/esm2022/lib/components/input/text/text.component.mjs +0 -20
- package/esm2022/lib/components/input/video/video.component.mjs +0 -45
- package/esm2022/lib/components/list/base/base.component.mjs +0 -174
- package/esm2022/lib/components/list/desktop/desktop.component.mjs +0 -115
- package/esm2022/lib/components/list/index.mjs +0 -6
- package/esm2022/lib/components/list/list.component.mjs +0 -68
- package/esm2022/lib/components/list/masonry-grid/masonry-grid.component.mjs +0 -55
- package/esm2022/lib/components/list/mobile/mobile.component.mjs +0 -39
- package/esm2022/lib/components/loader/index.mjs +0 -2
- package/esm2022/lib/components/loader/loader.component.mjs +0 -17
- package/esm2022/lib/components/page/base/base.component.mjs +0 -62
- package/esm2022/lib/components/page/index.mjs +0 -4
- package/esm2022/lib/components/page/page.component.mjs +0 -66
- package/esm2022/lib/components/page/standard/standard.component.mjs +0 -25
- package/esm2022/lib/components/paging/index.mjs +0 -2
- package/esm2022/lib/components/paging/paging.component.mjs +0 -25
- package/esm2022/lib/components/password-strength/index.mjs +0 -2
- package/esm2022/lib/components/password-strength/password-strength.component.mjs +0 -115
- package/esm2022/lib/components/searchbar/index.mjs +0 -2
- package/esm2022/lib/components/searchbar/searchbar.component.mjs +0 -58
- package/esm2022/lib/components/tabs/index.mjs +0 -3
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -19
- package/esm2022/lib/components/tabs/tabs.component.mjs +0 -51
- package/esm2022/lib/decorators/index.mjs +0 -4
- package/esm2022/lib/decorators/module/module.decorator.mjs +0 -8
- package/esm2022/lib/decorators/redux-action/redux-action.decorator.mjs +0 -75
- package/esm2022/lib/decorators/redux-select/redux-select.decorator.mjs +0 -56
- package/esm2022/lib/directives/date-validator/date-validator.directive.mjs +0 -30
- package/esm2022/lib/directives/details/details.directive.mjs +0 -54
- package/esm2022/lib/directives/directives.module.mjs +0 -39
- package/esm2022/lib/directives/dynamic-content/dynamic-content.directive.mjs +0 -17
- package/esm2022/lib/directives/index.mjs +0 -6
- package/esm2022/lib/directives/viewport-show/viewport-show.directive.mjs +0 -35
- package/esm2022/lib/factories/factories.module.mjs +0 -23
- package/esm2022/lib/factories/form/form.factory.mjs +0 -280
- package/esm2022/lib/factories/index.mjs +0 -3
- package/esm2022/lib/models/chart.mjs +0 -6
- package/esm2022/lib/models/index.mjs +0 -4
- package/esm2022/lib/models/interfaces.mjs +0 -12
- package/esm2022/lib/models/style.mjs +0 -2
- package/esm2022/lib/ngrx-shared.module.mjs +0 -37
- package/esm2022/lib/pages/details/details.page.mjs +0 -64
- package/esm2022/lib/pages/index.mjs +0 -3
- package/esm2022/lib/pages/pages.module.mjs +0 -39
- package/esm2022/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +0 -18
- package/esm2022/lib/pipes/file-url/file-url.pipe.mjs +0 -21
- package/esm2022/lib/pipes/index.mjs +0 -8
- package/esm2022/lib/pipes/list-cell/list-cell.pipe.mjs +0 -70
- package/esm2022/lib/pipes/list-header/list-header.pipe.mjs +0 -42
- package/esm2022/lib/pipes/model-label/model-label.pipe.mjs +0 -39
- package/esm2022/lib/pipes/pipes.module.mjs +0 -24
- package/esm2022/lib/pipes/trust-html/trust-html.pipe.mjs +0 -23
- package/esm2022/lib/providers/index.mjs +0 -7
- package/esm2022/lib/providers/interfaces.mjs +0 -2
- package/esm2022/lib/providers/model-export.provider.mjs +0 -5
- package/esm2022/lib/providers/model-import.provider.mjs +0 -5
- package/esm2022/lib/providers/model-label.provider.mjs +0 -5
- package/esm2022/lib/providers/model-possibilities.provider.mjs +0 -5
- package/esm2022/lib/providers/model-validators.provider.mjs +0 -40
- package/esm2022/lib/services/alert/alert.service.mjs +0 -19
- package/esm2022/lib/services/app/app.service.mjs +0 -79
- package/esm2022/lib/services/auth/auth.service.mjs +0 -49
- package/esm2022/lib/services/calendar/calendar.service.mjs +0 -97
- package/esm2022/lib/services/camera/camera.service.mjs +0 -22
- package/esm2022/lib/services/details/details.service.mjs +0 -23
- package/esm2022/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +0 -34
- package/esm2022/lib/services/dynamic-component-storage/dynamic-component-storage.service.mjs +0 -29
- package/esm2022/lib/services/error/error.service.mjs +0 -31
- package/esm2022/lib/services/file/file.service.mjs +0 -51
- package/esm2022/lib/services/form/form.group.mjs +0 -14
- package/esm2022/lib/services/hardware/hardware.service.mjs +0 -27
- package/esm2022/lib/services/index.mjs +0 -22
- package/esm2022/lib/services/menu/menu.service.mjs +0 -96
- package/esm2022/lib/services/modal/modal.service.mjs +0 -38
- package/esm2022/lib/services/ngrx-store/ngrx-store.service.mjs +0 -22
- package/esm2022/lib/services/popover/popover.service.mjs +0 -18
- package/esm2022/lib/services/services.module.mjs +0 -70
- package/esm2022/lib/services/storage/storage.service.mjs +0 -75
- package/esm2022/lib/services/style/style.service.mjs +0 -105
- package/esm2022/lib/services/toast/toast.service.mjs +0 -57
- package/esm2022/lib/services/ui/ui.service.mjs +0 -54
- package/esm2022/lib/shared.animations.mjs +0 -39
- package/esm2022/lib/shared.inectors.mjs +0 -4
- package/esm2022/lib/shared.module.mjs +0 -68
- package/esm2022/lib/translations-default.mjs +0 -254
- package/esm2022/lib/utils-shared.module.mjs +0 -18
- package/esm2022/smartsoft001-angular.mjs +0 -5
- package/lib/+state/error.effects.d.ts +0 -12
- package/lib/components/accordion/accordion.component.d.ts +0 -12
- package/lib/components/accordion/body/body.component.d.ts +0 -8
- package/lib/components/accordion/header/header.component.d.ts +0 -8
- package/lib/components/accordion/index.d.ts +0 -3
- package/lib/components/app/base/base.component.d.ts +0 -43
- package/lib/components/app/index.d.ts +0 -2
- package/lib/components/app/split-panel/split-panel.component.d.ts +0 -17
- package/lib/components/base/base.component.d.ts +0 -23
- package/lib/components/base/index.d.ts +0 -1
- package/lib/components/button/base/base.component.d.ts +0 -15
- package/lib/components/button/button.component.d.ts +0 -21
- package/lib/components/button/index.d.ts +0 -3
- package/lib/components/button/standard/standard.component.d.ts +0 -6
- package/lib/components/card/card.component.d.ts +0 -10
- package/lib/components/card/index.d.ts +0 -1
- package/lib/components/chart/bar/bar.component.d.ts +0 -21
- package/lib/components/chart/base/base.component.d.ts +0 -8
- package/lib/components/chart/chart.component.d.ts +0 -11
- package/lib/components/chart/index.d.ts +0 -3
- package/lib/components/chart/line/line.component.d.ts +0 -27
- package/lib/components/components.module.d.ts +0 -192
- package/lib/components/date-edit/date-edit.component.d.ts +0 -43
- package/lib/components/date-edit/index.d.ts +0 -1
- package/lib/components/date-range/date-range.component.d.ts +0 -107
- package/lib/components/date-range/index.d.ts +0 -1
- package/lib/components/detail/address/address.component.d.ts +0 -10
- package/lib/components/detail/array/array.component.d.ts +0 -14
- package/lib/components/detail/attachment/attachment.component.d.ts +0 -15
- package/lib/components/detail/base/base.component.d.ts +0 -13
- package/lib/components/detail/color/color.component.d.ts +0 -6
- package/lib/components/detail/date-range/date-range.component.d.ts +0 -6
- package/lib/components/detail/detail.component.d.ts +0 -12
- package/lib/components/detail/email/email.component.d.ts +0 -6
- package/lib/components/detail/enum/enum.component.d.ts +0 -6
- package/lib/components/detail/flag/flag.component.d.ts +0 -6
- package/lib/components/detail/image/image.component.d.ts +0 -13
- package/lib/components/detail/index.d.ts +0 -17
- package/lib/components/detail/logo/logo.component.d.ts +0 -6
- package/lib/components/detail/object/object.component.d.ts +0 -14
- package/lib/components/detail/pdf/pdf.component.d.ts +0 -15
- package/lib/components/detail/phone-number-pl/phone-number-pl.component.d.ts +0 -6
- package/lib/components/detail/text/text.component.d.ts +0 -6
- package/lib/components/detail/video/video.component.d.ts +0 -14
- package/lib/components/details/base/base.component.d.ts +0 -33
- package/lib/components/details/details.component.d.ts +0 -24
- package/lib/components/details/index.d.ts +0 -3
- package/lib/components/details/standard/standard.component.d.ts +0 -9
- package/lib/components/dynamic/dynamic.component.d.ts +0 -10
- package/lib/components/dynamic/index.d.ts +0 -1
- package/lib/components/error-context/error-context.component.d.ts +0 -12
- package/lib/components/error-context/index.d.ts +0 -1
- package/lib/components/export/export.component.d.ts +0 -10
- package/lib/components/export/index.d.ts +0 -1
- package/lib/components/form/base/base.component.d.ts +0 -41
- package/lib/components/form/form.component.d.ts +0 -49
- package/lib/components/form/index.d.ts +0 -4
- package/lib/components/form/standard/standard.component.d.ts +0 -8
- package/lib/components/form/stepper/stepper.component.d.ts +0 -19
- package/lib/components/grid/column/column.component.d.ts +0 -9
- package/lib/components/grid/grid.component.d.ts +0 -9
- package/lib/components/grid/index.d.ts +0 -3
- package/lib/components/grid/row/row.component.d.ts +0 -9
- package/lib/components/import/import.component.d.ts +0 -13
- package/lib/components/import/index.d.ts +0 -1
- package/lib/components/index.d.ts +0 -28
- package/lib/components/info/index.d.ts +0 -1
- package/lib/components/info/info.component.d.ts +0 -16
- package/lib/components/input/address/address.component.d.ts +0 -9
- package/lib/components/input/array/array.component.d.ts +0 -27
- package/lib/components/input/attachment/attachment.component.d.ts +0 -11
- package/lib/components/input/base/base.component.d.ts +0 -24
- package/lib/components/input/base/file.component.d.ts +0 -28
- package/lib/components/input/base/possibilities.component.d.ts +0 -16
- package/lib/components/input/check/check.component.d.ts +0 -19
- package/lib/components/input/color/color.component.d.ts +0 -13
- package/lib/components/input/currency/currency.component.d.ts +0 -9
- package/lib/components/input/date/date.component.d.ts +0 -26
- package/lib/components/input/date-range/date-range.component.d.ts +0 -8
- package/lib/components/input/date-with-edit/date-with-edit.component.d.ts +0 -10
- package/lib/components/input/email/email.component.d.ts +0 -9
- package/lib/components/input/enum/enum.component.d.ts +0 -13
- package/lib/components/input/error/error.component.d.ts +0 -6
- package/lib/components/input/file/file.component.d.ts +0 -34
- package/lib/components/input/flag/flag.component.d.ts +0 -9
- package/lib/components/input/float/float.component.d.ts +0 -9
- package/lib/components/input/image/image.component.d.ts +0 -14
- package/lib/components/input/index.d.ts +0 -33
- package/lib/components/input/input.component.d.ts +0 -22
- package/lib/components/input/int/int.component.d.ts +0 -9
- package/lib/components/input/ints/ints.component.d.ts +0 -17
- package/lib/components/input/logo/logo.component.d.ts +0 -11
- package/lib/components/input/long-text/long-text.component.d.ts +0 -18
- package/lib/components/input/nip/nip.component.d.ts +0 -10
- package/lib/components/input/object/object.component.d.ts +0 -13
- package/lib/components/input/password/password.component.d.ts +0 -12
- package/lib/components/input/pdf/pdf.component.d.ts +0 -11
- package/lib/components/input/pesel/pesel.component.d.ts +0 -9
- package/lib/components/input/phone-number/phone-number.component.d.ts +0 -9
- package/lib/components/input/phone-number-pl/phone-number-pl.component.d.ts +0 -10
- package/lib/components/input/radio/radio.component.d.ts +0 -11
- package/lib/components/input/strings/strings.component.d.ts +0 -17
- package/lib/components/input/text/text.component.d.ts +0 -9
- package/lib/components/input/video/video.component.d.ts +0 -16
- package/lib/components/list/base/base.component.d.ts +0 -56
- package/lib/components/list/desktop/desktop.component.d.ts +0 -24
- package/lib/components/list/index.d.ts +0 -5
- package/lib/components/list/list.component.d.ts +0 -28
- package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +0 -21
- package/lib/components/list/mobile/mobile.component.d.ts +0 -14
- package/lib/components/loader/index.d.ts +0 -1
- package/lib/components/loader/loader.component.d.ts +0 -7
- package/lib/components/page/base/base.component.d.ts +0 -29
- package/lib/components/page/index.d.ts +0 -3
- package/lib/components/page/page.component.d.ts +0 -24
- package/lib/components/page/standard/standard.component.d.ts +0 -12
- package/lib/components/paging/index.d.ts +0 -1
- package/lib/components/paging/paging.component.d.ts +0 -10
- package/lib/components/password-strength/index.d.ts +0 -1
- package/lib/components/password-strength/password-strength.component.d.ts +0 -27
- package/lib/components/searchbar/index.d.ts +0 -1
- package/lib/components/searchbar/searchbar.component.d.ts +0 -18
- package/lib/components/tabs/index.d.ts +0 -2
- package/lib/components/tabs/tab/tab.component.d.ts +0 -11
- package/lib/components/tabs/tabs.component.d.ts +0 -17
- package/lib/decorators/index.d.ts +0 -3
- package/lib/decorators/module/module.decorator.d.ts +0 -3
- package/lib/decorators/redux-action/redux-action.decorator.d.ts +0 -2
- package/lib/decorators/redux-select/redux-select.decorator.d.ts +0 -4
- package/lib/directives/date-validator/date-validator.directive.d.ts +0 -9
- package/lib/directives/details/details.directive.d.ts +0 -19
- package/lib/directives/directives.module.d.ts +0 -11
- package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +0 -8
- package/lib/directives/index.d.ts +0 -5
- package/lib/directives/viewport-show/viewport-show.directive.d.ts +0 -11
- package/lib/factories/factories.module.d.ts +0 -7
- package/lib/factories/form/form.factory.d.ts +0 -27
- package/lib/factories/index.d.ts +0 -2
- package/lib/models/chart.d.ts +0 -18
- package/lib/models/index.d.ts +0 -3
- package/lib/models/interfaces.d.ts +0 -197
- package/lib/models/style.d.ts +0 -3
- package/lib/ngrx-shared.module.d.ts +0 -12
- package/lib/pages/details/details.page.d.ts +0 -20
- package/lib/pages/index.d.ts +0 -2
- package/lib/pages/pages.module.d.ts +0 -11
- package/lib/pipes/enum-to-list/enum-to-list.pipe.d.ts +0 -7
- package/lib/pipes/file-url/file-url.pipe.d.ts +0 -12
- package/lib/pipes/index.d.ts +0 -7
- package/lib/pipes/list-cell/list-cell.pipe.d.ts +0 -17
- package/lib/pipes/list-header/list-header.pipe.d.ts +0 -13
- package/lib/pipes/model-label/model-label.pipe.d.ts +0 -13
- package/lib/pipes/pipes.module.d.ts +0 -19
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +0 -10
- package/lib/providers/index.d.ts +0 -6
- package/lib/providers/interfaces.d.ts +0 -9
- package/lib/providers/model-export.provider.d.ts +0 -5
- package/lib/providers/model-import.provider.d.ts +0 -6
- package/lib/providers/model-label.provider.d.ts +0 -11
- package/lib/providers/model-possibilities.provider.d.ts +0 -14
- package/lib/providers/model-validators.provider.d.ts +0 -51
- package/lib/services/alert/alert.service.d.ts +0 -24
- package/lib/services/app/app.service.d.ts +0 -24
- package/lib/services/auth/auth.service.d.ts +0 -13
- package/lib/services/calendar/calendar.service.d.ts +0 -28
- package/lib/services/camera/camera.service.d.ts +0 -11
- package/lib/services/details/details.service.d.ts +0 -10
- package/lib/services/dynamic-component-loader/dynamic-component-loader.service.d.ts +0 -16
- package/lib/services/dynamic-component-storage/dynamic-component-storage.service.d.ts +0 -6
- package/lib/services/error/error.service.d.ts +0 -11
- package/lib/services/file/file.service.d.ts +0 -19
- package/lib/services/form/form.group.d.ts +0 -5
- package/lib/services/hardware/hardware.service.d.ts +0 -14
- package/lib/services/index.d.ts +0 -21
- package/lib/services/menu/menu.service.d.ts +0 -51
- package/lib/services/modal/modal.service.d.ts +0 -25
- package/lib/services/ngrx-store/ngrx-store.service.d.ts +0 -11
- package/lib/services/popover/popover.service.d.ts +0 -9
- package/lib/services/services.module.d.ts +0 -9
- package/lib/services/storage/storage.service.d.ts +0 -25
- package/lib/services/style/style.service.d.ts +0 -22
- package/lib/services/toast/toast.service.d.ts +0 -24
- package/lib/services/ui/ui.service.d.ts +0 -14
- package/lib/shared.animations.d.ts +0 -2
- package/lib/shared.inectors.d.ts +0 -3
- package/lib/shared.module.d.ts +0 -20
- package/lib/translations-default.d.ts +0 -124
- package/lib/utils-shared.module.d.ts +0 -7
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
3
|
-
import { FileService } from "../../../services/file/file.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../../services/file/file.service";
|
|
6
|
-
import * as i2 from "@angular/common";
|
|
7
|
-
export class DetailVideoComponent extends DetailBaseComponent {
|
|
8
|
-
constructor(cd, fileService) {
|
|
9
|
-
super(cd);
|
|
10
|
-
this.fileService = fileService;
|
|
11
|
-
}
|
|
12
|
-
getUrl(item) {
|
|
13
|
-
return this.fileService.getUrl(item.id);
|
|
14
|
-
}
|
|
15
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailVideoComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.FileService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
16
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: DetailVideoComponent, selector: "smart-detail-video", usesInheritance: true, ngImport: i0, template: "<ng-container *ngIf='options?.item$ | async; let item'>\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"getUrl(item[options?.key])\">\n Your browser does not support the video tag.\n </video>\n</ng-container>", styles: [""], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }] }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailVideoComponent, decorators: [{
|
|
19
|
-
type: Component,
|
|
20
|
-
args: [{ selector: 'smart-detail-video', template: "<ng-container *ngIf='options?.item$ | async; let item'>\n <video style=\"width: 100%\" controls controlsList=\"nodownload\">\n <source type=\"video/mp4\" [src]=\"getUrl(item[options?.key])\">\n Your browser does not support the video tag.\n </video>\n</ng-container>" }]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.FileService }]; } });
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi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YnJvd3NlciBkb2VzIG5vdCBzdXBwb3J0IHRoZSB2aWRlbyB0YWcuXG4gICAgPC92aWRlbz5cbjwvbmctY29udGFpbmVyPiJdfQ==
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { Input, ViewChild, ViewContainerRef, Directive, } from "@angular/core";
|
|
2
|
-
import { map } from "rxjs/operators";
|
|
3
|
-
import { getModelFieldsWithOptions, } from "@smartsoft001/models";
|
|
4
|
-
import { ObjectService, SpecificationService } from "@smartsoft001/utils";
|
|
5
|
-
import { AuthService } from "../../../services/auth/auth.service";
|
|
6
|
-
import { DetailsService } from "../../../services/details/details.service";
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../../../services/auth/auth.service";
|
|
9
|
-
import * as i2 from "../../../services/details/details.service";
|
|
10
|
-
export class DetailsBaseComponent {
|
|
11
|
-
static { this.smartType = 'details'; }
|
|
12
|
-
get fields() {
|
|
13
|
-
return this._fields;
|
|
14
|
-
}
|
|
15
|
-
get type() {
|
|
16
|
-
return this._type;
|
|
17
|
-
}
|
|
18
|
-
set options(obj) {
|
|
19
|
-
this._type = obj.type;
|
|
20
|
-
const enabledDefinitions = [];
|
|
21
|
-
this._fields = getModelFieldsWithOptions(new this._type())
|
|
22
|
-
.filter((f) => f.options.details)
|
|
23
|
-
.filter((field) => {
|
|
24
|
-
if (field.options.details.enabled) {
|
|
25
|
-
enabledDefinitions.push({
|
|
26
|
-
key: field.key,
|
|
27
|
-
spec: field.options.details.enabled,
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
else if (field.options.enabled) {
|
|
31
|
-
enabledDefinitions.push({
|
|
32
|
-
key: field.key,
|
|
33
|
-
spec: field.options.enabled,
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
if (field.options.details.permissions &&
|
|
37
|
-
!this.authService.expectPermissions(field.options.details.permissions)) {
|
|
38
|
-
return false;
|
|
39
|
-
}
|
|
40
|
-
return true;
|
|
41
|
-
});
|
|
42
|
-
this.item$ = obj.item$.pipe(map((item) => {
|
|
43
|
-
if (!item)
|
|
44
|
-
return item;
|
|
45
|
-
let result = null;
|
|
46
|
-
if (item instanceof obj.type)
|
|
47
|
-
result = item;
|
|
48
|
-
else
|
|
49
|
-
result = ObjectService.createByType(item, obj.type);
|
|
50
|
-
const removeFields = enabledDefinitions.filter((def) => {
|
|
51
|
-
return SpecificationService.invalid(result, def.spec, {
|
|
52
|
-
$root: this.detailsService.$root
|
|
53
|
-
});
|
|
54
|
-
}).map(def => def.key);
|
|
55
|
-
this._fields = this._fields.filter(f => !removeFields.some(rf => rf === f.key));
|
|
56
|
-
return result;
|
|
57
|
-
}));
|
|
58
|
-
this.loading$ = obj.loading$;
|
|
59
|
-
this.componentFactories = obj.componentFactories;
|
|
60
|
-
this.cellPipe = obj.cellPipe;
|
|
61
|
-
this.generateDynamicComponents();
|
|
62
|
-
}
|
|
63
|
-
constructor(authService, detailsService) {
|
|
64
|
-
this.authService = authService;
|
|
65
|
-
this.detailsService = detailsService;
|
|
66
|
-
}
|
|
67
|
-
ngAfterViewInit() {
|
|
68
|
-
this.generateDynamicComponents();
|
|
69
|
-
}
|
|
70
|
-
generateDynamicComponents() {
|
|
71
|
-
if (!this.componentFactories)
|
|
72
|
-
return;
|
|
73
|
-
if (this.componentFactories.top && this.topTpl) {
|
|
74
|
-
if (!this.topTpl.get(0)) {
|
|
75
|
-
this.topTpl.createComponent(this.componentFactories.top);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
if (this.componentFactories.bottom && this.bottomTpl) {
|
|
79
|
-
if (!this.bottomTpl.get(0)) {
|
|
80
|
-
this.bottomTpl.createComponent(this.componentFactories.bottom);
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailsBaseComponent, deps: [{ token: i1.AuthService }, { token: i2.DetailsService }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
85
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: DetailsBaseComponent, inputs: { options: "options" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "topTpl", first: true, predicate: ["topTpl"], descendants: true, read: ViewContainerRef, static: true }, { propertyName: "bottomTpl", first: true, predicate: ["bottomTpl"], descendants: true, read: ViewContainerRef, static: true }], ngImport: i0 }); }
|
|
86
|
-
}
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailsBaseComponent, decorators: [{
|
|
88
|
-
type: Directive
|
|
89
|
-
}], ctorParameters: function () { return [{ type: i1.AuthService }, { type: i2.DetailsService }]; }, propDecorators: { contentTpl: [{
|
|
90
|
-
type: ViewChild,
|
|
91
|
-
args: ["contentTpl", { read: ViewContainerRef, static: true }]
|
|
92
|
-
}], topTpl: [{
|
|
93
|
-
type: ViewChild,
|
|
94
|
-
args: ["topTpl", { read: ViewContainerRef, static: true }]
|
|
95
|
-
}], bottomTpl: [{
|
|
96
|
-
type: ViewChild,
|
|
97
|
-
args: ["bottomTpl", { read: ViewContainerRef, static: true }]
|
|
98
|
-
}], options: [{
|
|
99
|
-
type: Input
|
|
100
|
-
}] } });
|
|
101
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWxzL2Jhc2UvYmFzZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVML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R0b20pO1xuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactoryResolver, Input, NgModuleRef, QueryList, TemplateRef, ViewChild, ViewChildren, } from "@angular/core";
|
|
2
|
-
import { Subscription } from "rxjs";
|
|
3
|
-
import { CreateDynamicComponent } from "../base/base.component";
|
|
4
|
-
import { DynamicContentDirective } from "../../directives/dynamic-content/dynamic-content.directive";
|
|
5
|
-
import { DetailsService } from "../../services/details/details.service";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "../../services/details/details.service";
|
|
8
|
-
import * as i2 from "@angular/common";
|
|
9
|
-
import * as i3 from "./standard/standard.component";
|
|
10
|
-
export class DetailsComponent extends CreateDynamicComponent("details") {
|
|
11
|
-
set options(val) {
|
|
12
|
-
this._options = val;
|
|
13
|
-
this._subscription.add(this._options.item$.subscribe((item) => {
|
|
14
|
-
this.detailsService.setRoot(item);
|
|
15
|
-
this.item = item;
|
|
16
|
-
}));
|
|
17
|
-
this.refreshDynamicInstance();
|
|
18
|
-
}
|
|
19
|
-
get options() {
|
|
20
|
-
return this._options;
|
|
21
|
-
}
|
|
22
|
-
constructor(cd, moduleRef, cfr, detailsService) {
|
|
23
|
-
super(cd, moduleRef, cfr);
|
|
24
|
-
this.detailsService = detailsService;
|
|
25
|
-
this._subscription = new Subscription();
|
|
26
|
-
this.dynamicContents = new QueryList();
|
|
27
|
-
}
|
|
28
|
-
ngOnDestroy() {
|
|
29
|
-
if (this._subscription) {
|
|
30
|
-
this._subscription.unsubscribe();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
refreshProperties() {
|
|
34
|
-
this.baseInstance.options = this.options;
|
|
35
|
-
}
|
|
36
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailsComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.NgModuleRef }, { token: i0.ComponentFactoryResolver }, { token: i1.DetailsService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
37
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: DetailsComponent, selector: "smart-details", inputs: { options: "options" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, read: TemplateRef }, { propertyName: "dynamicContents", predicate: DynamicContentDirective, descendants: true, read: DynamicContentDirective }], usesInheritance: true, ngImport: i0, template: `
|
|
38
|
-
<smart-details-standard
|
|
39
|
-
*ngIf="options && template === 'default'"
|
|
40
|
-
[options]="options"
|
|
41
|
-
></smart-details-standard>
|
|
42
|
-
<div #customTpl></div>
|
|
43
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i3.DetailsStandardComponent, selector: "smart-details-standard" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
44
|
-
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailsComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
args: [{
|
|
48
|
-
selector: "smart-details",
|
|
49
|
-
template: `
|
|
50
|
-
<smart-details-standard
|
|
51
|
-
*ngIf="options && template === 'default'"
|
|
52
|
-
[options]="options"
|
|
53
|
-
></smart-details-standard>
|
|
54
|
-
<div #customTpl></div>
|
|
55
|
-
`,
|
|
56
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
57
|
-
}]
|
|
58
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.NgModuleRef }, { type: i0.ComponentFactoryResolver }, { type: i1.DetailsService }]; }, propDecorators: { options: [{
|
|
59
|
-
type: Input
|
|
60
|
-
}], contentTpl: [{
|
|
61
|
-
type: ViewChild,
|
|
62
|
-
args: ["contentTpl", { read: TemplateRef, static: false }]
|
|
63
|
-
}], dynamicContents: [{
|
|
64
|
-
type: ViewChildren,
|
|
65
|
-
args: [DynamicContentDirective, { read: DynamicContentDirective }]
|
|
66
|
-
}] } });
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlscy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWxzL2RldGFpbHMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFBRSxpQkFBaUIsRUFDMUMsU0FBUyxFQUFFLHdCQUF3QixFQUNuQyxLQUFLLEVBQUUsV0FBVyxFQUNQLFNBQVMsRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLFlBQVksR0FDM0QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUlwQyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSx3QkFBd0IsQ0FBQztBQUVoRSxPQUFPLEVBQUMsdUJBQXVCLEVBQUMsTUFBTSw0REFBNEQsQ0FBQztBQUNuRyxPQUFPLEVBQUMsY0FBYyxFQUFDLE1BQU0sd0NBQXdDLENBQUM7Ozs7O0FBYXRFLE1BQU0sT0FBTyxnQkFDWCxTQUFRLHNCQUFzQixDQUE0QixTQUFTLENBQUM7SUFRcEUsSUFBYSxPQUFPLENBQUMsR0FBdUI7UUFDMUMsSUFBSSxDQUFDLFFBQVEsR0FBRyxHQUFHLENBQUM7UUFFcEIsSUFBSSxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQ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W5zdWJzY3JpYmUoKTtcbiAgICB9XG4gIH1cblxuICByZWZyZXNoUHJvcGVydGllcygpOiB2b2lkIHtcbiAgICB0aGlzLmJhc2VJbnN0YW5jZS5vcHRpb25zID0gdGhpcy5vcHRpb25zO1xuICB9XG59XG4iXX0=
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export * from './standard/standard.component';
|
|
2
|
-
export * from './details.component';
|
|
3
|
-
export * from './base/base.component';
|
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsK0JBQStCLENBQUM7QUFDOUMsY0FBYyxxQkFBcUIsQ0FBQztBQUNwQyxjQUFjLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zdGFuZGFyZC9zdGFuZGFyZC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9kZXRhaWxzLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL2Jhc2UvYmFzZS5jb21wb25lbnQnO1xuXG4iXX0=
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, } from "@angular/core";
|
|
2
|
-
import { DetailsBaseComponent } from "../base/base.component";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@ionic/angular";
|
|
6
|
-
import * as i3 from "../../card/card.component";
|
|
7
|
-
import * as i4 from "../../detail/detail.component";
|
|
8
|
-
export class DetailsStandardComponent extends DetailsBaseComponent {
|
|
9
|
-
ngOnInit() { }
|
|
10
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailsStandardComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
|
|
11
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: DetailsStandardComponent, selector: "smart-details-standard", usesInheritance: true, ngImport: i0, template: "<ion-list>\n <div #topTpl class=\"top-content\"></div>\n\n <smart-card>\n <smart-detail *ngFor=\"let field of fields\" [type]=\"type\" [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe,\n item$: item$,\n loading$: loading$\n }\">\n </smart-detail>\n </smart-card>\n\n <div #bottomTpl class=\"bottom-content\"></div>\n</ion-list>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}smart-loader{margin-left:auto!important;margin-right:auto!important}.top-content,.bottom-content{font-size:1.2rem;padding:.6rem 0}.top-content:empty,.bottom-content:empty{padding:0}ion-list{margin:0;padding:0!important}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i2.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i3.CardComponent, selector: "smart-card", inputs: ["options"] }, { kind: "component", type: i4.DetailComponent, selector: "smart-detail", inputs: ["options", "type"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
|
|
12
|
-
}
|
|
13
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DetailsStandardComponent, decorators: [{
|
|
14
|
-
type: Component,
|
|
15
|
-
args: [{ selector: "smart-details-standard", changeDetection: ChangeDetectionStrategy.Default, template: "<ion-list>\n <div #topTpl class=\"top-content\"></div>\n\n <smart-card>\n <smart-detail *ngFor=\"let field of fields\" [type]=\"type\" [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe,\n item$: item$,\n loading$: loading$\n }\">\n </smart-detail>\n </smart-card>\n\n <div #bottomTpl class=\"bottom-content\"></div>\n</ion-list>", styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:SF Display;font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:SF Display;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:SF Display;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:SF Display;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:SF Display;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:SF Display;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:SF Display;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:SF Display;font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:SF Display;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:SF Text;font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:SF Text;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:SF Text;font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:SF Text;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:SF Text;font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:SF Text;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:SF Text;font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:SF Text;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:SF Text;font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:SF Text;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:SF Text;font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:SF Text;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:SF Text;font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:SF Text;font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:SF Mono;font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:SF Mono;font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:SF Mono;font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:SF Mono;font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:SF Mono;font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:SF Mono;font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:SF Mono;font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:SF Mono;font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:SF Mono;font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:SF Mono;font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:SF Mono;font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:SF Mono;font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body,.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:var(--ion-font-family);font-weight:var(--default-font-weight);font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:var(--smart-color-primary);border:.1rem solid var(--smart-color-primary);color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:var(--smart-color-secondary)}smart-loader{margin-left:auto!important;margin-right:auto!important}.top-content,.bottom-content{font-size:1.2rem;padding:.6rem 0}.top-content:empty,.bottom-content:empty{padding:0}ion-list{margin:0;padding:0!important}\n"] }]
|
|
16
|
-
}] });
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhbmRhcmQuY29t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ponentFactoryResolver, Input, ViewContainerRef, } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class DynamicComponent {
|
|
4
|
-
constructor(vf, componentFactoryResolver) {
|
|
5
|
-
this.vf = vf;
|
|
6
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
7
|
-
}
|
|
8
|
-
set component(val) {
|
|
9
|
-
const resolver = this.componentFactoryResolver.resolveComponentFactory(val);
|
|
10
|
-
this.vf.createComponent(resolver);
|
|
11
|
-
}
|
|
12
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DynamicComponent, deps: [{ token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
13
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: DynamicComponent, selector: "smart-dynamic", inputs: { component: "component" }, ngImport: i0, template: ` <ng-template #tpl></ng-template> `, isInline: true }); }
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: DynamicComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{
|
|
18
|
-
selector: "smart-dynamic",
|
|
19
|
-
template: ` <ng-template #tpl></ng-template> `,
|
|
20
|
-
}]
|
|
21
|
-
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, propDecorators: { component: [{
|
|
22
|
-
type: Input
|
|
23
|
-
}] } });
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHluYW1pYy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFy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bXBsYXRlPiBgLFxufSlcbmV4cG9ydCBjbGFzcyBEeW5hbWljQ29tcG9uZW50IHtcbiAgY29uc3RydWN0b3IoXG4gICAgcHJpdmF0ZSB2ZjogVmlld0NvbnRhaW5lclJlZixcbiAgICBwcml2YXRlIGNvbXBvbmVudEZhY3RvcnlSZXNvbHZlcjogQ29tcG9uZW50RmFjdG9yeVJlc29sdmVyXG4gICkge31cblxuICBASW5wdXQoKSBzZXQgY29tcG9uZW50KHZhbDogYW55KSB7XG4gICAgY29uc3QgcmVzb2x2ZXIgPSB0aGlzLmNvbXBvbmVudEZhY3RvcnlSZXNvbHZlci5yZXNvbHZlQ29tcG9uZW50RmFjdG9yeSh2YWwpO1xuICAgIHRoaXMudmYuY3JlYXRlQ29tcG9uZW50KHJlc29sdmVyKTtcbiAgfVxufVxuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from "./dynamic.component";
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9keW5hbWljL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMscUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9keW5hbWljLmNvbXBvbmVudFwiO1xuIl19
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { Component } from "@angular/core";
|
|
2
|
-
import { BaseComponent } from "../base/base.component";
|
|
3
|
-
import { ToastService } from "../../services/toast/toast.service";
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../services/toast/toast.service";
|
|
6
|
-
export class ErrorContextComponent extends BaseComponent {
|
|
7
|
-
constructor(toastService) {
|
|
8
|
-
super();
|
|
9
|
-
this.toastService = toastService;
|
|
10
|
-
}
|
|
11
|
-
ngOnInit() {
|
|
12
|
-
this.toastService.addLockError();
|
|
13
|
-
}
|
|
14
|
-
ngOnDestroy() {
|
|
15
|
-
this.toastService.removeLockError();
|
|
16
|
-
super.ngOnDestroy();
|
|
17
|
-
}
|
|
18
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ErrorContextComponent, deps: [{ token: i1.ToastService }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
19
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: ErrorContextComponent, selector: "smart-error-context", usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>", styles: [""] }); }
|
|
20
|
-
}
|
|
21
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ErrorContextComponent, decorators: [{
|
|
22
|
-
type: Component,
|
|
23
|
-
args: [{ selector: "smart-error-context", template: "<ng-content></ng-content>" }]
|
|
24
|
-
}], ctorParameters: function () { return [{ type: i1.ToastService }]; } });
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXJyb3ItY29udGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9lcnJvci1jb250ZXh0L2Vycm9yLWNvbnRleHQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvZXJyb3ItY29udGV4dC9lcnJvci1jb250ZXh0LmNvbXBvbmVudC5odG1sIl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b21wb25lbnQuaHRtbFwiLFxuICBzdHlsZVVybHM6IFtcIi4vZXJyb3ItY29udGV4dC5jb21wb25lbnQuc2Nzc1wiXSxcbn0pXG5leHBvcnQgY2xhc3MgRXJyb3JDb250ZXh0Q29tcG9uZW50IGV4dGVuZHMgQmFzZUNvbXBvbmVudCBpbXBsZW1lbnRzIE9uRGVzdHJveSwgT25Jbml0IHtcbiAgY29uc3RydWN0b3IocHJpdmF0ZSB0b2FzdFNlcnZpY2U6IFRvYXN0U2VydmljZSkge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBuZ09uSW5pdCgpIHtcbiAgICAgIHRoaXMudG9hc3RTZXJ2aWNlLmFkZExvY2tFcnJvcigpO1xuICB9XG5cbiAgICBuZ09uRGVzdHJveSgpIHtcbiAgICAgIHRoaXMudG9hc3RTZXJ2aWNlLnJlbW92ZUxvY2tFcnJvcigpO1xuICAgICAgc3VwZXIubmdPbkRlc3Ryb3koKTtcbiAgfVxufVxuIiwiPG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from "./error-context.component";
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9lcnJvci1jb250ZXh0L2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tIFwiLi9lcnJvci1jb250ZXh0LmNvbXBvbmVudFwiOyJdfQ==
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@ionic/angular";
|
|
4
|
-
export class ExportComponent {
|
|
5
|
-
constructor() { }
|
|
6
|
-
async onClick() {
|
|
7
|
-
if (this.handler) {
|
|
8
|
-
this.handler(this.value);
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
// this.download(
|
|
12
|
-
// JSON.stringify(this.value, null, "\t"),
|
|
13
|
-
// (this.fileName ? this.fileName : 'data') + '.json',
|
|
14
|
-
// 'application/json'
|
|
15
|
-
// );
|
|
16
|
-
}
|
|
17
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ExportComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
/** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.3", type: ExportComponent, selector: "smart-export", inputs: { value: "value", fileName: "fileName", handler: "handler" }, ngImport: i0, template: "<ion-button title=\"export\" (click)=\"onClick()\" slot=\"icon-only\">\n <ion-icon name=\"download\"></ion-icon>\n</ion-button>\n", styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"], dependencies: [{ kind: "component", type: i1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }] }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: ExportComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: "smart-export", template: "<ion-button title=\"export\" (click)=\"onClick()\" slot=\"icon-only\">\n <ion-icon name=\"download\"></ion-icon>\n</ion-button>\n", styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"] }]
|
|
23
|
-
}], ctorParameters: function () { return []; }, propDecorators: { value: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], fileName: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], handler: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}] } });
|
|
30
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXhwb3J0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2V4cG9ydC9leHBvcnQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvZXhwb3J0L2V4cG9ydC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQTBCLFNBQVMsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7OztBQU94RSxNQUFNLE9BQU8sZUFBZTtJQU14QixnQkFBZ0IsQ0FBQztJQUVqQixLQUFLLENBQUMsT0FBTztRQUNULElBQUksSUFBSSxDQUFDLE9BQU8sRUFBRTtZQUNkLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDO1lBQ3pCLE9BQU87U0FDVjtRQUVELGlCQUFpQjtRQUNqQiw4Q0FBOEM7UUFDOUMsMERBQTBEO1FBQzFELHlCQUF5QjtRQUN6QixLQUFLO0lBQ1QsQ0FBQztpSUFuQlEsZUFBZTtxSEFBZixlQUFlLDBIQ1A1QixzSUFHQTs7MkZESWEsZUFBZTtrQkFMM0IsU0FBUzsrQkFDSSxjQUFjOzBFQU1mLEtBQU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xvYWQodGV4dCwgbmFtZSwgdHlwZSk6IHZvaWQge1xuICAgIC8vICAgICBjb25zdCBmaWxlID0gbmV3IEJsb2IoW3RleHRdLCB7dHlwZTogdHlwZX0pO1xuICAgIC8vICAgICAvLyBAdHMtaWdub3JlXG4gICAgLy8gICAgIGNvbnN0IGlzSUUgPSAvKkBjY19vbiFAKi9mYWxzZSB8fCAhIWRvY3VtZW50LmRvY3VtZW50TW9kZTtcbiAgICAvLyAgICAgaWYgKGlzSUUpIHtcbiAgICAvLyAgICAgICAgIHdpbmRvdy5uYXZpZ2F0b3IubXNTYXZlT3JPcGVuQmxvYihmaWxlLCBuYW1lKTtcbiAgICAvLyAgICAgfSBlbHNlIHtcbiAgICAvLyAgICAgICAgIGNvbnN0IGEgPSBkb2N1bWVudC5jcmVhdGVFbGVtZW50KCdhJyk7XG4gICAgLy8gICAgICAgICBhLmhyZWYgPSBVUkwuY3JlYXRlT2JqZWN0VVJMKGZpbGUpO1xuICAgIC8vICAgICAgICAgYS5kb3dubG9hZCA9IG5hbWU7XG4gICAgLy8gICAgICAgICBhLmNsaWNrKCk7XG4gICAgLy8gICAgIH1cbiAgICAvLyB9XG59XG4iLCI8aW9uLWJ1dHRvbiB0aXRsZT1cImV4cG9ydFwiIChjbGljayk9XCJvbkNsaWNrKClcIiBzbG90PVwiaWNvbi1vbmx5XCI+XG4gICAgPGlvbi1pY29uIG5hbWU9XCJkb3dubG9hZFwiPjwvaW9uLWljb24+XG48L2lvbi1idXR0b24+XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from "./export.component";
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9leHBvcnQvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxvQkFBb0IsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL2V4cG9ydC5jb21wb25lbnRcIjsiXX0=
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, Input, Output, Directive, ChangeDetectorRef, ViewChild, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { UntypedFormGroup } from "@angular/forms";
|
|
3
|
-
import { Subscription } from "rxjs";
|
|
4
|
-
import { delay } from "rxjs/operators";
|
|
5
|
-
import { BaseComponent } from "../../base/base.component";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export class FormBaseComponent extends BaseComponent {
|
|
8
|
-
static { this.smartType = "form"; }
|
|
9
|
-
get fields() {
|
|
10
|
-
return this._fields;
|
|
11
|
-
}
|
|
12
|
-
get model() {
|
|
13
|
-
return this._model;
|
|
14
|
-
}
|
|
15
|
-
get possibilities() {
|
|
16
|
-
return this._possibilities;
|
|
17
|
-
}
|
|
18
|
-
get inputComponents() {
|
|
19
|
-
return this._inputComponents;
|
|
20
|
-
}
|
|
21
|
-
set form(val) {
|
|
22
|
-
if (this._subscription) {
|
|
23
|
-
this._subscription.unsubscribe();
|
|
24
|
-
}
|
|
25
|
-
this._subscription = new Subscription();
|
|
26
|
-
this._form = val;
|
|
27
|
-
this._fields = Object.keys(this._form.controls);
|
|
28
|
-
this._subscription.add(this._form.valueChanges.pipe(delay(0)).subscribe(() => {
|
|
29
|
-
this.cd.detectChanges();
|
|
30
|
-
}));
|
|
31
|
-
this.afterSetForm();
|
|
32
|
-
}
|
|
33
|
-
get form() {
|
|
34
|
-
return this._form;
|
|
35
|
-
}
|
|
36
|
-
set options(obj) {
|
|
37
|
-
this._model = obj.model;
|
|
38
|
-
this.mode = obj.mode;
|
|
39
|
-
this._possibilities = obj.possibilities ? obj.possibilities : {};
|
|
40
|
-
this._inputComponents = obj.inputComponents ? obj.inputComponents : {};
|
|
41
|
-
this.treeLevel = obj.treeLevel;
|
|
42
|
-
this.afterSetOptions();
|
|
43
|
-
}
|
|
44
|
-
constructor(cd) {
|
|
45
|
-
super();
|
|
46
|
-
this.cd = cd;
|
|
47
|
-
this.invokeSubmit = new EventEmitter();
|
|
48
|
-
}
|
|
49
|
-
submit() {
|
|
50
|
-
this.invokeSubmit.emit(this.form.value);
|
|
51
|
-
}
|
|
52
|
-
afterSetOptions() { }
|
|
53
|
-
afterSetForm() { }
|
|
54
|
-
/** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: FormBaseComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
55
|
-
/** @nocollapse */ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.3", type: FormBaseComponent, inputs: { form: "form", options: "options" }, outputs: { invokeSubmit: "invokeSubmit" }, viewQueries: [{ propertyName: "contentTpl", first: true, predicate: ["contentTpl"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0 }); }
|
|
56
|
-
}
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.3", ngImport: i0, type: FormBaseComponent, decorators: [{
|
|
58
|
-
type: Directive
|
|
59
|
-
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { form: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], options: [{
|
|
62
|
-
type: Input
|
|
63
|
-
}], invokeSubmit: [{
|
|
64
|
-
type: Output
|
|
65
|
-
}], contentTpl: [{
|
|
66
|
-
type: ViewChild,
|
|
67
|
-
args: ["contentTpl", { read: ViewContainerRef, static: true }]
|
|
68
|
-
}] } });
|
|
69
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMi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