@smartsoft001/angular 1.1.798 → 1.1.802
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/esm2020/lib/+state/error.effects.mjs +24 -0
- package/esm2020/lib/components/accordion/accordion.component.mjs +29 -0
- package/esm2020/lib/components/accordion/body/body.component.mjs +14 -0
- package/esm2020/lib/components/accordion/header/header.component.mjs +14 -0
- package/{esm2015/lib/components/accordion/index.js → esm2020/lib/components/accordion/index.mjs} +0 -0
- package/esm2020/lib/components/app/base/base.component.mjs +134 -0
- package/{esm2015/lib/components/app/index.js → esm2020/lib/components/app/index.mjs} +0 -0
- package/esm2020/lib/components/app/split-panel/split-panel.component.mjs +45 -0
- package/esm2020/lib/components/base/base.component.mjs +72 -0
- package/{esm2015/lib/components/base/index.js → esm2020/lib/components/base/index.mjs} +0 -0
- package/esm2020/lib/components/button/base/base.component.mjs +39 -0
- package/esm2020/lib/components/button/button.component.mjs +65 -0
- package/{esm2015/lib/components/button/index.js → esm2020/lib/components/button/index.mjs} +0 -0
- package/esm2020/lib/components/button/standard/standard.component.mjs +15 -0
- package/esm2020/lib/components/card/card.component.mjs +18 -0
- package/{esm2015/lib/components/card/index.js → esm2020/lib/components/card/index.mjs} +0 -0
- package/esm2020/lib/components/chart/bar/bar.component.mjs +57 -0
- package/esm2020/lib/components/chart/base/base.component.mjs +13 -0
- package/esm2020/lib/components/chart/chart.component.mjs +21 -0
- package/{esm2015/lib/components/chart/index.js → esm2020/lib/components/chart/index.mjs} +0 -0
- package/esm2020/lib/components/chart/line/line.component.mjs +57 -0
- package/esm2020/lib/components/components.module.mjs +422 -0
- package/esm2020/lib/components/date-edit/date-edit.component.mjs +171 -0
- package/{esm2015/lib/components/date-edit/index.js → esm2020/lib/components/date-edit/index.mjs} +0 -0
- package/esm2020/lib/components/date-range/date-range.component.mjs +357 -0
- package/{esm2015/lib/components/date-range/index.js → esm2020/lib/components/date-range/index.mjs} +0 -0
- package/esm2020/lib/components/detail/address/address.component.mjs +17 -0
- package/esm2020/lib/components/detail/array/array.component.mjs +37 -0
- package/esm2020/lib/components/detail/attachment/attachment.component.mjs +28 -0
- package/esm2020/lib/components/detail/base/base.component.mjs +24 -0
- package/esm2020/lib/components/detail/color/color.component.mjs +14 -0
- package/esm2020/lib/components/detail/date-range/date-range.component.mjs +13 -0
- package/esm2020/lib/components/detail/detail.component.mjs +40 -0
- package/esm2020/lib/components/detail/email/email.component.mjs +13 -0
- package/esm2020/lib/components/detail/enum/enum.component.mjs +14 -0
- package/esm2020/lib/components/detail/flag/flag.component.mjs +14 -0
- package/esm2020/lib/components/detail/image/image.component.mjs +29 -0
- package/{esm2015/lib/components/detail/index.js → esm2020/lib/components/detail/index.mjs} +0 -0
- package/esm2020/lib/components/detail/logo/logo.component.mjs +14 -0
- package/esm2020/lib/components/detail/object/object.component.mjs +35 -0
- package/esm2020/lib/components/detail/pdf/pdf.component.mjs +28 -0
- package/esm2020/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +15 -0
- package/esm2020/lib/components/detail/text/text.component.mjs +15 -0
- package/esm2020/lib/components/detail/video/video.component.mjs +22 -0
- package/esm2020/lib/components/details/base/base.component.mjs +101 -0
- package/esm2020/lib/components/details/details.component.mjs +67 -0
- package/{esm2015/lib/components/details/index.js → esm2020/lib/components/details/index.mjs} +0 -0
- package/esm2020/lib/components/details/standard/standard.component.mjs +17 -0
- package/esm2020/lib/components/dynamic/dynamic.component.mjs +24 -0
- package/{esm2015/lib/components/dynamic/index.js → esm2020/lib/components/dynamic/index.mjs} +0 -0
- package/esm2020/lib/components/error-context/error-context.component.mjs +25 -0
- package/{esm2015/lib/components/error-context/index.js → esm2020/lib/components/error-context/index.mjs} +0 -0
- package/esm2020/lib/components/export/export.component.mjs +30 -0
- package/{esm2015/lib/components/export/index.js → esm2020/lib/components/export/index.mjs} +0 -0
- package/esm2020/lib/components/form/base/base.component.mjs +69 -0
- package/esm2020/lib/components/form/form.component.mjs +256 -0
- package/{esm2015/lib/components/form/index.js → esm2020/lib/components/form/index.mjs} +0 -0
- package/esm2020/lib/components/form/standard/standard.component.mjs +17 -0
- package/esm2020/lib/components/form/stepper/stepper.component.mjs +65 -0
- package/esm2020/lib/components/grid/column/column.component.mjs +20 -0
- package/esm2020/lib/components/grid/grid.component.mjs +20 -0
- package/{esm2015/lib/components/grid/index.js → esm2020/lib/components/grid/index.mjs} +0 -0
- package/esm2020/lib/components/grid/row/row.component.mjs +20 -0
- package/esm2020/lib/components/import/import.component.mjs +35 -0
- package/{esm2015/lib/components/import/index.js → esm2020/lib/components/import/index.mjs} +0 -0
- package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
- package/{esm2015/lib/components/info/index.js → esm2020/lib/components/info/index.mjs} +0 -0
- package/esm2020/lib/components/info/info.component.mjs +49 -0
- package/esm2020/lib/components/input/address/address.component.mjs +21 -0
- package/esm2020/lib/components/input/array/array.component.mjs +113 -0
- package/esm2020/lib/components/input/attachment/attachment.component.mjs +25 -0
- package/esm2020/lib/components/input/base/base.component.mjs +35 -0
- package/esm2020/lib/components/input/base/file.component.mjs +84 -0
- package/esm2020/lib/components/input/base/possibilities.component.mjs +45 -0
- package/esm2020/lib/components/input/check/check.component.mjs +62 -0
- package/esm2020/lib/components/input/color/color.component.mjs +35 -0
- package/esm2020/lib/components/input/currency/currency.component.mjs +20 -0
- package/esm2020/lib/components/input/date/date.component.mjs +72 -0
- package/esm2020/lib/components/input/date-range/date-range.component.mjs +20 -0
- package/esm2020/lib/components/input/date-with-edit/date-with-edit.component.mjs +46 -0
- package/esm2020/lib/components/input/email/email.component.mjs +20 -0
- package/esm2020/lib/components/input/enum/enum.component.mjs +45 -0
- package/esm2020/lib/components/input/error/error.component.mjs +16 -0
- package/esm2020/lib/components/input/file/file.component.mjs +59 -0
- package/esm2020/lib/components/input/flag/flag.component.mjs +21 -0
- package/esm2020/lib/components/input/float/float.component.mjs +21 -0
- package/esm2020/lib/components/input/image/image.component.mjs +35 -0
- package/{esm2015/lib/components/input/index.js → esm2020/lib/components/input/index.mjs} +0 -0
- package/esm2020/lib/components/input/input.component.mjs +124 -0
- package/esm2020/lib/components/input/int/int.component.mjs +21 -0
- package/esm2020/lib/components/input/ints/ints.component.mjs +59 -0
- package/esm2020/lib/components/input/logo/logo.component.mjs +48 -0
- package/esm2020/lib/components/input/long-text/long-text.component.mjs +55 -0
- package/esm2020/lib/components/input/nip/nip.component.mjs +35 -0
- package/esm2020/lib/components/input/object/object.component.mjs +33 -0
- package/esm2020/lib/components/input/password/password.component.mjs +49 -0
- package/esm2020/lib/components/input/pdf/pdf.component.mjs +25 -0
- package/esm2020/lib/components/input/pesel/pesel.component.mjs +20 -0
- package/esm2020/lib/components/input/phone-number/phone-number.component.mjs +20 -0
- package/esm2020/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +28 -0
- package/esm2020/lib/components/input/radio/radio.component.mjs +48 -0
- package/esm2020/lib/components/input/strings/strings.component.mjs +59 -0
- package/esm2020/lib/components/input/text/text.component.mjs +20 -0
- package/esm2020/lib/components/input/video/video.component.mjs +45 -0
- package/esm2020/lib/components/list/base/base.component.mjs +166 -0
- package/esm2020/lib/components/list/desktop/desktop.component.mjs +120 -0
- package/{esm2015/lib/components/list/index.js → esm2020/lib/components/list/index.mjs} +0 -0
- package/esm2020/lib/components/list/list.component.mjs +68 -0
- package/esm2020/lib/components/list/masonry-grid/masonry-grid.component.mjs +66 -0
- package/esm2020/lib/components/list/mobile/mobile.component.mjs +49 -0
- package/{esm2015/lib/components/loader/index.js → esm2020/lib/components/loader/index.mjs} +0 -0
- package/esm2020/lib/components/loader/loader.component.mjs +17 -0
- package/esm2020/lib/components/page/base/base.component.mjs +62 -0
- package/{esm2015/lib/components/page/index.js → esm2020/lib/components/page/index.mjs} +0 -0
- package/esm2020/lib/components/page/page.component.mjs +66 -0
- package/esm2020/lib/components/page/standard/standard.component.mjs +25 -0
- package/{esm2015/lib/components/paging/index.js → esm2020/lib/components/paging/index.mjs} +0 -0
- package/esm2020/lib/components/paging/paging.component.mjs +25 -0
- package/{esm2015/lib/components/password-strength/index.js → esm2020/lib/components/password-strength/index.mjs} +0 -0
- package/esm2020/lib/components/password-strength/password-strength.component.mjs +115 -0
- package/{esm2015/lib/components/searchbar/index.js → esm2020/lib/components/searchbar/index.mjs} +0 -0
- package/esm2020/lib/components/searchbar/searchbar.component.mjs +54 -0
- package/{esm2015/lib/components/tabs/index.js → esm2020/lib/components/tabs/index.mjs} +0 -0
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +19 -0
- package/esm2020/lib/components/tabs/tabs.component.mjs +51 -0
- package/{esm2015/lib/decorators/index.js → esm2020/lib/decorators/index.mjs} +0 -0
- package/{esm2015/lib/decorators/module/module.decorator.js → esm2020/lib/decorators/module/module.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/redux-action/redux-action.decorator.js → esm2020/lib/decorators/redux-action/redux-action.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/redux-select/redux-select.decorator.js → esm2020/lib/decorators/redux-select/redux-select.decorator.mjs} +0 -0
- package/esm2020/lib/directives/date-validator/date-validator.directive.mjs +29 -0
- package/esm2020/lib/directives/details/details.directive.mjs +54 -0
- package/esm2020/lib/directives/directives.module.mjs +41 -0
- package/esm2020/lib/directives/dynamic-content/dynamic-content.directive.mjs +17 -0
- package/{esm2015/lib/directives/index.js → esm2020/lib/directives/index.mjs} +0 -0
- package/esm2020/lib/directives/viewport-show/viewport-show.directive.mjs +35 -0
- package/esm2020/lib/factories/factories.module.mjs +25 -0
- package/esm2020/lib/factories/form/form.factory.mjs +280 -0
- package/{esm2015/lib/factories/index.js → esm2020/lib/factories/index.mjs} +0 -0
- package/{esm2015/lib/models/chart.js → esm2020/lib/models/chart.mjs} +0 -0
- package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +0 -0
- package/esm2020/lib/models/interfaces.mjs +12 -0
- package/{esm2015/lib/models/style.js → esm2020/lib/models/style.mjs} +0 -0
- package/esm2020/lib/ngrx-shared.module.mjs +39 -0
- package/esm2020/lib/pages/details/details.page.mjs +64 -0
- package/{esm2015/lib/pages/index.js → esm2020/lib/pages/index.mjs} +0 -0
- package/esm2020/lib/pages/pages.module.mjs +41 -0
- package/esm2020/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +18 -0
- package/esm2020/lib/pipes/file-url/file-url.pipe.mjs +21 -0
- package/{esm2015/lib/pipes/index.js → esm2020/lib/pipes/index.mjs} +0 -0
- package/esm2020/lib/pipes/list-cell/list-cell.pipe.mjs +70 -0
- package/esm2020/lib/pipes/list-header/list-header.pipe.mjs +42 -0
- package/esm2020/lib/pipes/model-label/model-label.pipe.mjs +39 -0
- package/esm2020/lib/pipes/pipes.module.mjs +25 -0
- package/esm2020/lib/pipes/trust-html/trust-html.pipe.mjs +23 -0
- package/esm2020/lib/pipes/virtual-data-source/virtual-data-source.pipe.mjs +18 -0
- package/{esm2015/lib/providers/index.js → esm2020/lib/providers/index.mjs} +0 -0
- package/{esm2015/lib/providers/interfaces.js → esm2020/lib/providers/interfaces.mjs} +0 -0
- package/{esm2015/lib/providers/model-export.provider.js → esm2020/lib/providers/model-export.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-import.provider.js → esm2020/lib/providers/model-import.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-label.provider.js → esm2020/lib/providers/model-label.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-possibilities.provider.js → esm2020/lib/providers/model-possibilities.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-validators.provider.js → esm2020/lib/providers/model-validators.provider.mjs} +0 -0
- package/esm2020/lib/services/alert/alert.service.mjs +19 -0
- package/{esm2015/lib/services/app/app.service.js → esm2020/lib/services/app/app.service.mjs} +9 -20
- package/esm2020/lib/services/auth/auth.service.mjs +43 -0
- package/{esm2015/lib/services/calendar/calendar.service.js → esm2020/lib/services/calendar/calendar.service.mjs} +8 -14
- package/esm2020/lib/services/camera/camera.service.mjs +22 -0
- package/esm2020/lib/services/details/details.service.mjs +23 -0
- package/esm2020/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +34 -0
- package/esm2020/lib/services/dynamic-component-storage/dynamic-component-storage.service.mjs +29 -0
- package/esm2020/lib/services/error/error.service.mjs +31 -0
- package/esm2020/lib/services/file/file.service.mjs +51 -0
- package/esm2020/lib/services/fingerprint/fingerprint.service.mjs +61 -0
- package/{esm2015/lib/services/form/form.group.js → esm2020/lib/services/form/form.group.mjs} +0 -0
- package/esm2020/lib/services/hardware/hardware.service.mjs +27 -0
- package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
- package/esm2020/lib/services/menu/menu.service.mjs +88 -0
- package/esm2020/lib/services/modal/modal.service.mjs +38 -0
- package/esm2020/lib/services/ngrx-store/ngrx-store.service.mjs +22 -0
- package/esm2020/lib/services/popover/popover.service.mjs +18 -0
- package/esm2020/lib/services/services.module.mjs +81 -0
- package/esm2020/lib/services/storage/storage.service.mjs +73 -0
- package/esm2020/lib/services/style/style.service.mjs +105 -0
- package/esm2020/lib/services/toast/toast.service.mjs +57 -0
- package/esm2020/lib/services/ui/ui.service.mjs +54 -0
- package/{esm2015/lib/shared.animations.js → esm2020/lib/shared.animations.mjs} +0 -0
- package/esm2020/lib/shared.inectors.mjs +4 -0
- package/esm2020/lib/shared.module.mjs +70 -0
- package/{esm2015/lib/translations-default.js → esm2020/lib/translations-default.mjs} +0 -0
- package/esm2020/lib/utils-shared.module.mjs +18 -0
- package/esm2020/smartsoft001-angular.mjs +5 -0
- package/fesm2015/smartsoft001-angular.mjs +6654 -0
- package/fesm2015/smartsoft001-angular.mjs.map +1 -0
- package/fesm2020/smartsoft001-angular.mjs +6553 -0
- package/fesm2020/smartsoft001-angular.mjs.map +1 -0
- package/lib/+state/error.effects.d.ts +3 -0
- package/lib/components/accordion/accordion.component.d.ts +3 -0
- package/lib/components/accordion/body/body.component.d.ts +3 -0
- package/lib/components/accordion/header/header.component.d.ts +3 -0
- package/lib/components/app/base/base.component.d.ts +3 -0
- package/lib/components/app/split-panel/split-panel.component.d.ts +3 -0
- package/lib/components/base/base.component.d.ts +3 -0
- package/lib/components/button/base/base.component.d.ts +3 -0
- package/lib/components/button/button.component.d.ts +4 -1
- package/lib/components/button/standard/standard.component.d.ts +3 -0
- package/lib/components/card/card.component.d.ts +3 -0
- package/lib/components/chart/bar/bar.component.d.ts +3 -0
- package/lib/components/chart/base/base.component.d.ts +3 -0
- package/lib/components/chart/chart.component.d.ts +3 -0
- package/lib/components/chart/line/line.component.d.ts +3 -0
- package/lib/components/components.module.d.ts +124 -10
- package/lib/components/date-edit/date-edit.component.d.ts +3 -0
- package/lib/components/date-range/date-range.component.d.ts +5 -0
- package/lib/components/detail/address/address.component.d.ts +3 -0
- package/lib/components/detail/array/array.component.d.ts +7 -1
- package/lib/components/detail/attachment/attachment.component.d.ts +3 -0
- package/lib/components/detail/base/base.component.d.ts +3 -0
- package/lib/components/detail/color/color.component.d.ts +3 -0
- package/lib/components/detail/date-range/date-range.component.d.ts +3 -0
- package/lib/components/detail/detail.component.d.ts +3 -0
- package/lib/components/detail/email/email.component.d.ts +3 -0
- package/lib/components/detail/enum/enum.component.d.ts +3 -0
- package/lib/components/detail/flag/flag.component.d.ts +3 -0
- package/lib/components/detail/image/image.component.d.ts +3 -0
- package/lib/components/detail/logo/logo.component.d.ts +3 -0
- package/lib/components/detail/object/object.component.d.ts +7 -1
- package/lib/components/detail/pdf/pdf.component.d.ts +3 -0
- package/lib/components/detail/phone-number-pl/phone-number-pl.component.d.ts +3 -0
- package/lib/components/detail/text/text.component.d.ts +3 -0
- package/lib/components/detail/video/video.component.d.ts +3 -0
- package/lib/components/details/base/base.component.d.ts +3 -0
- package/lib/components/details/details.component.d.ts +5 -2
- package/lib/components/details/standard/standard.component.d.ts +3 -0
- package/lib/components/dynamic/dynamic.component.d.ts +3 -0
- package/lib/components/error-context/error-context.component.d.ts +3 -0
- package/lib/components/export/export.component.d.ts +3 -0
- package/lib/components/form/base/base.component.d.ts +3 -0
- package/lib/components/form/form.component.d.ts +4 -1
- package/lib/components/form/standard/standard.component.d.ts +3 -0
- package/lib/components/form/stepper/stepper.component.d.ts +3 -0
- package/lib/components/grid/column/column.component.d.ts +3 -0
- package/lib/components/grid/grid.component.d.ts +3 -0
- package/lib/components/grid/row/row.component.d.ts +3 -0
- package/lib/components/import/import.component.d.ts +3 -0
- package/lib/components/info/info.component.d.ts +5 -0
- package/lib/components/input/address/address.component.d.ts +3 -0
- package/lib/components/input/array/array.component.d.ts +5 -1
- package/lib/components/input/attachment/attachment.component.d.ts +3 -0
- package/lib/components/input/base/base.component.d.ts +3 -0
- package/lib/components/input/base/file.component.d.ts +3 -0
- package/lib/components/input/base/possibilities.component.d.ts +3 -0
- package/lib/components/input/check/check.component.d.ts +3 -0
- package/lib/components/input/color/color.component.d.ts +3 -0
- package/lib/components/input/currency/currency.component.d.ts +3 -0
- package/lib/components/input/date/date.component.d.ts +3 -0
- package/lib/components/input/date-range/date-range.component.d.ts +3 -0
- package/lib/components/input/date-with-edit/date-with-edit.component.d.ts +3 -0
- package/lib/components/input/email/email.component.d.ts +3 -0
- package/lib/components/input/enum/enum.component.d.ts +3 -0
- package/lib/components/input/error/error.component.d.ts +3 -0
- package/lib/components/input/file/file.component.d.ts +3 -0
- package/lib/components/input/flag/flag.component.d.ts +3 -0
- package/lib/components/input/float/float.component.d.ts +3 -0
- package/lib/components/input/image/image.component.d.ts +3 -0
- package/lib/components/input/input.component.d.ts +3 -0
- package/lib/components/input/int/int.component.d.ts +3 -0
- package/lib/components/input/ints/ints.component.d.ts +3 -0
- package/lib/components/input/logo/logo.component.d.ts +3 -0
- package/lib/components/input/long-text/long-text.component.d.ts +3 -0
- package/lib/components/input/nip/nip.component.d.ts +3 -0
- package/lib/components/input/object/object.component.d.ts +6 -2
- package/lib/components/input/password/password.component.d.ts +3 -0
- package/lib/components/input/pdf/pdf.component.d.ts +3 -0
- package/lib/components/input/pesel/pesel.component.d.ts +3 -0
- package/lib/components/input/phone-number/phone-number.component.d.ts +3 -0
- package/lib/components/input/phone-number-pl/phone-number-pl.component.d.ts +3 -0
- package/lib/components/input/radio/radio.component.d.ts +3 -0
- package/lib/components/input/strings/strings.component.d.ts +3 -0
- package/lib/components/input/text/text.component.d.ts +3 -0
- package/lib/components/input/video/video.component.d.ts +3 -0
- package/lib/components/list/base/base.component.d.ts +4 -2
- package/lib/components/list/desktop/desktop.component.d.ts +4 -2
- package/lib/components/list/list.component.d.ts +5 -9
- package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +4 -2
- package/lib/components/list/mobile/mobile.component.d.ts +4 -2
- package/lib/components/loader/loader.component.d.ts +3 -0
- package/lib/components/page/base/base.component.d.ts +3 -0
- package/lib/components/page/page.component.d.ts +3 -0
- package/lib/components/page/standard/standard.component.d.ts +3 -0
- package/lib/components/paging/paging.component.d.ts +3 -0
- package/lib/components/password-strength/password-strength.component.d.ts +3 -0
- package/lib/components/searchbar/searchbar.component.d.ts +3 -0
- package/lib/components/tabs/tab/tab.component.d.ts +3 -0
- package/lib/components/tabs/tabs.component.d.ts +3 -0
- package/lib/directives/date-validator/date-validator.directive.d.ts +3 -0
- package/lib/directives/details/details.directive.d.ts +3 -0
- package/lib/directives/directives.module.d.ts +9 -0
- package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +3 -0
- package/lib/directives/viewport-show/viewport-show.directive.d.ts +3 -0
- package/lib/factories/factories.module.d.ts +5 -0
- package/lib/factories/form/form.factory.d.ts +3 -0
- package/lib/models/interfaces.d.ts +7 -1
- package/lib/ngrx-shared.module.d.ts +7 -0
- package/lib/pages/details/details.page.d.ts +3 -0
- package/lib/pages/pages.module.d.ts +9 -0
- package/lib/pipes/enum-to-list/enum-to-list.pipe.d.ts +3 -0
- package/lib/pipes/file-url/file-url.pipe.d.ts +3 -0
- package/lib/pipes/list-cell/list-cell.pipe.d.ts +3 -0
- package/lib/pipes/list-header/list-header.pipe.d.ts +3 -0
- package/lib/pipes/model-label/model-label.pipe.d.ts +3 -0
- package/lib/pipes/pipes.module.d.ts +12 -1
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +3 -0
- package/lib/pipes/virtual-data-source/virtual-data-source.pipe.d.ts +3 -0
- package/lib/services/alert/alert.service.d.ts +3 -0
- package/lib/services/app/app.service.d.ts +3 -0
- package/lib/services/auth/auth.service.d.ts +3 -0
- package/lib/services/calendar/calendar.service.d.ts +3 -0
- package/lib/services/camera/camera.service.d.ts +3 -0
- package/lib/services/details/details.service.d.ts +3 -0
- package/lib/services/dynamic-component-loader/dynamic-component-loader.service.d.ts +3 -0
- package/lib/services/error/error.service.d.ts +3 -0
- package/lib/services/file/file.service.d.ts +3 -0
- package/lib/services/fingerprint/fingerprint.service.d.ts +3 -0
- package/lib/services/hardware/hardware.service.d.ts +3 -0
- package/lib/services/menu/menu.service.d.ts +3 -0
- package/lib/services/modal/modal.service.d.ts +3 -0
- package/lib/services/ngrx-store/ngrx-store.service.d.ts +3 -0
- package/lib/services/popover/popover.service.d.ts +3 -0
- package/lib/services/services.module.d.ts +7 -0
- package/lib/services/storage/storage.service.d.ts +3 -0
- package/lib/services/style/style.service.d.ts +3 -0
- package/lib/services/toast/toast.service.d.ts +3 -0
- package/lib/services/ui/ui.service.d.ts +3 -0
- package/lib/shared.inectors.d.ts +3 -0
- package/lib/shared.module.d.ts +15 -0
- package/lib/utils-shared.module.d.ts +5 -0
- package/package.json +38 -25
- package/smartsoft001-angular.d.ts +1 -142
- package/bundles/smartsoft001-angular.umd.js +0 -9117
- package/bundles/smartsoft001-angular.umd.js.map +0 -1
- package/esm2015/lib/+state/error.effects.js +0 -31
- package/esm2015/lib/components/accordion/accordion.component.js +0 -37
- package/esm2015/lib/components/accordion/body/body.component.js +0 -23
- package/esm2015/lib/components/accordion/header/header.component.js +0 -23
- package/esm2015/lib/components/app/base/base.component.js +0 -144
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +0 -58
- package/esm2015/lib/components/base/base.component.js +0 -82
- package/esm2015/lib/components/button/base/base.component.js +0 -36
- package/esm2015/lib/components/button/button.component.js +0 -48
- package/esm2015/lib/components/button/standard/standard.component.js +0 -15
- package/esm2015/lib/components/card/card.component.js +0 -27
- package/esm2015/lib/components/chart/bar/bar.component.js +0 -68
- package/esm2015/lib/components/chart/base/base.component.js +0 -19
- package/esm2015/lib/components/chart/chart.component.js +0 -30
- package/esm2015/lib/components/chart/line/line.component.js +0 -68
- package/esm2015/lib/components/components.module.js +0 -257
- package/esm2015/lib/components/date-edit/date-edit.component.js +0 -184
- package/esm2015/lib/components/date-range/date-range.component.js +0 -387
- package/esm2015/lib/components/detail/address/address.component.js +0 -17
- package/esm2015/lib/components/detail/array/array.component.js +0 -28
- package/esm2015/lib/components/detail/attachment/attachment.component.js +0 -36
- package/esm2015/lib/components/detail/base/base.component.js +0 -34
- package/esm2015/lib/components/detail/color/color.component.js +0 -13
- package/esm2015/lib/components/detail/date-range/date-range.component.js +0 -13
- package/esm2015/lib/components/detail/detail.component.js +0 -32
- package/esm2015/lib/components/detail/email/email.component.js +0 -13
- package/esm2015/lib/components/detail/enum/enum.component.js +0 -13
- package/esm2015/lib/components/detail/flag/flag.component.js +0 -13
- package/esm2015/lib/components/detail/image/image.component.js +0 -38
- package/esm2015/lib/components/detail/logo/logo.component.js +0 -13
- package/esm2015/lib/components/detail/object/object.component.js +0 -26
- package/esm2015/lib/components/detail/pdf/pdf.component.js +0 -36
- package/esm2015/lib/components/detail/phone-number-pl/phone-number-pl.component.js +0 -13
- package/esm2015/lib/components/detail/text/text.component.js +0 -13
- package/esm2015/lib/components/detail/video/video.component.js +0 -32
- package/esm2015/lib/components/details/base/base.component.js +0 -104
- package/esm2015/lib/components/details/details.component.js +0 -66
- package/esm2015/lib/components/details/standard/standard.component.js +0 -15
- package/esm2015/lib/components/dynamic/dynamic.component.js +0 -34
- package/esm2015/lib/components/error-context/error-context.component.js +0 -35
- package/esm2015/lib/components/export/export.component.js +0 -41
- package/esm2015/lib/components/form/base/base.component.js +0 -75
- package/esm2015/lib/components/form/form.component.js +0 -216
- package/esm2015/lib/components/form/standard/standard.component.js +0 -16
- package/esm2015/lib/components/form/stepper/stepper.component.js +0 -68
- package/esm2015/lib/components/grid/column/column.component.js +0 -29
- package/esm2015/lib/components/grid/grid.component.js +0 -30
- package/esm2015/lib/components/grid/row/row.component.js +0 -29
- package/esm2015/lib/components/import/import.component.js +0 -48
- package/esm2015/lib/components/info/info.component.js +0 -70
- package/esm2015/lib/components/input/address/address.component.js +0 -27
- package/esm2015/lib/components/input/array/array.component.js +0 -110
- package/esm2015/lib/components/input/attachment/attachment.component.js +0 -34
- package/esm2015/lib/components/input/base/base.component.js +0 -45
- package/esm2015/lib/components/input/base/file.component.js +0 -94
- package/esm2015/lib/components/input/base/possibilities.component.js +0 -49
- package/esm2015/lib/components/input/check/check.component.js +0 -64
- package/esm2015/lib/components/input/color/color.component.js +0 -42
- package/esm2015/lib/components/input/currency/currency.component.js +0 -27
- package/esm2015/lib/components/input/date/date.component.js +0 -69
- package/esm2015/lib/components/input/date-range/date-range.component.js +0 -26
- package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js +0 -53
- package/esm2015/lib/components/input/email/email.component.js +0 -27
- package/esm2015/lib/components/input/enum/enum.component.js +0 -51
- package/esm2015/lib/components/input/error/error.component.js +0 -17
- package/esm2015/lib/components/input/file/file.component.js +0 -66
- package/esm2015/lib/components/input/flag/flag.component.js +0 -28
- package/esm2015/lib/components/input/float/float.component.js +0 -29
- package/esm2015/lib/components/input/image/image.component.js +0 -44
- package/esm2015/lib/components/input/input.component.js +0 -104
- package/esm2015/lib/components/input/int/int.component.js +0 -29
- package/esm2015/lib/components/input/ints/ints.component.js +0 -66
- package/esm2015/lib/components/input/logo/logo.component.js +0 -56
- package/esm2015/lib/components/input/long-text/long-text.component.js +0 -61
- package/esm2015/lib/components/input/nip/nip.component.js +0 -42
- package/esm2015/lib/components/input/object/object.component.js +0 -35
- package/esm2015/lib/components/input/password/password.component.js +0 -46
- package/esm2015/lib/components/input/pdf/pdf.component.js +0 -34
- package/esm2015/lib/components/input/pesel/pesel.component.js +0 -27
- package/esm2015/lib/components/input/phone-number/phone-number.component.js +0 -27
- package/esm2015/lib/components/input/phone-number-pl/phone-number-pl.component.js +0 -35
- package/esm2015/lib/components/input/radio/radio.component.js +0 -49
- package/esm2015/lib/components/input/strings/strings.component.js +0 -66
- package/esm2015/lib/components/input/text/text.component.js +0 -27
- package/esm2015/lib/components/input/video/video.component.js +0 -54
- package/esm2015/lib/components/list/base/base.component.js +0 -175
- package/esm2015/lib/components/list/desktop/desktop.component.js +0 -119
- package/esm2015/lib/components/list/list.component.js +0 -73
- package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js +0 -73
- package/esm2015/lib/components/list/mobile/mobile.component.js +0 -55
- package/esm2015/lib/components/loader/loader.component.js +0 -17
- package/esm2015/lib/components/page/base/base.component.js +0 -74
- package/esm2015/lib/components/page/page.component.js +0 -64
- package/esm2015/lib/components/page/standard/standard.component.js +0 -36
- package/esm2015/lib/components/paging/paging.component.js +0 -24
- package/esm2015/lib/components/password-strength/password-strength.component.js +0 -118
- package/esm2015/lib/components/searchbar/searchbar.component.js +0 -62
- package/esm2015/lib/components/tabs/tab/tab.component.js +0 -31
- package/esm2015/lib/components/tabs/tabs.component.js +0 -48
- package/esm2015/lib/directives/date-validator/date-validator.directive.js +0 -26
- package/esm2015/lib/directives/details/details.directive.js +0 -60
- package/esm2015/lib/directives/directives.module.js +0 -29
- package/esm2015/lib/directives/dynamic-content/dynamic-content.directive.js +0 -24
- package/esm2015/lib/directives/viewport-show/viewport-show.directive.js +0 -43
- package/esm2015/lib/factories/factories.module.js +0 -17
- package/esm2015/lib/factories/form/form.factory.js +0 -275
- package/esm2015/lib/models/interfaces.js +0 -12
- package/esm2015/lib/ngrx-shared.module.js +0 -37
- package/esm2015/lib/pages/details/details.page.js +0 -72
- package/esm2015/lib/pages/pages.module.js +0 -32
- package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js +0 -15
- package/esm2015/lib/pipes/file-url/file-url.pipe.js +0 -27
- package/esm2015/lib/pipes/list-cell/list-cell.pipe.js +0 -76
- package/esm2015/lib/pipes/list-header/list-header.pipe.js +0 -43
- package/esm2015/lib/pipes/model-label/model-label.pipe.js +0 -40
- package/esm2015/lib/pipes/pipes.module.js +0 -21
- package/esm2015/lib/pipes/trust-html/trust-html.pipe.js +0 -29
- package/esm2015/lib/pipes/virtual-data-source/virtual-data-source.pipe.js +0 -15
- package/esm2015/lib/services/alert/alert.service.js +0 -29
- package/esm2015/lib/services/auth/auth.service.js +0 -50
- package/esm2015/lib/services/camera/camera.service.js +0 -23
- package/esm2015/lib/services/details/details.service.js +0 -29
- package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js +0 -46
- package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js +0 -30
- package/esm2015/lib/services/error/error.service.js +0 -41
- package/esm2015/lib/services/file/file.service.js +0 -54
- package/esm2015/lib/services/fingerprint/fingerprint.service.js +0 -75
- package/esm2015/lib/services/hardware/hardware.service.js +0 -34
- package/esm2015/lib/services/menu/menu.service.js +0 -105
- package/esm2015/lib/services/modal/modal.service.js +0 -50
- package/esm2015/lib/services/ngrx-store/ngrx-store.service.js +0 -20
- package/esm2015/lib/services/popover/popover.service.js +0 -28
- package/esm2015/lib/services/services.module.js +0 -53
- package/esm2015/lib/services/storage/storage.service.js +0 -82
- package/esm2015/lib/services/style/style.service.js +0 -107
- package/esm2015/lib/services/toast/toast.service.js +0 -69
- package/esm2015/lib/services/ui/ui.service.js +0 -72
- package/esm2015/lib/shared.module.js +0 -53
- package/esm2015/lib/utils-shared.module.js +0 -14
- package/esm2015/smartsoft001-angular.js +0 -147
- package/fesm2015/smartsoft001-angular.js +0 -7492
- package/fesm2015/smartsoft001-angular.js.map +0 -1
- package/smartsoft001-angular.metadata.json +0 -1
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
|
2
|
-
import { FieldType } from "@smartsoft001/models";
|
|
3
|
-
export class DetailComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this.FieldType = FieldType;
|
|
6
|
-
}
|
|
7
|
-
ngOnInit() {
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
11
|
-
DetailComponent.decorators = [
|
|
12
|
-
{ type: Component, args: [{
|
|
13
|
-
selector: 'smart-detail',
|
|
14
|
-
template: "<ion-item *ngIf=\"options\">\n <div class=\"container-right\">\n <smart-info *ngIf=\"options?.options?.info\" [text]=\"options?.options?.info\"></smart-info>\n </div>\n <ion-label color=\"medium\" position=\"stacked\">\n {{ (options.item$ | async) | smartModelLabel : options.key : type | async}}\n </ion-label>\n <ng-container *ngIf='options.item$ | async; let item; else skeletonTpl'>\n <ng-container [ngSwitch]=\"options.options.type\">\n <smart-detail-email *ngSwitchCase=\"FieldType.email\" [options]=\"options\"></smart-detail-email>\n <smart-detail-flag *ngSwitchCase=\"FieldType.flag\" [options]=\"options\"></smart-detail-flag>\n <smart-detail-enum *ngSwitchCase=\"FieldType.enum\" [options]=\"options\"></smart-detail-enum>\n <smart-detail-address *ngSwitchCase=\"FieldType.address\" [options]=\"options\"></smart-detail-address>\n <smart-detail-object *ngSwitchCase=\"FieldType.object\" [options]=\"options\"></smart-detail-object>\n <smart-detail-color *ngSwitchCase=\"FieldType.color\" [options]=\"options\"></smart-detail-color>\n <smart-detail-logo *ngSwitchCase=\"FieldType.logo\" [options]=\"options\"></smart-detail-logo>\n <smart-detail-array *ngSwitchCase=\"FieldType.array\" [options]=\"options\"></smart-detail-array>\n <smart-detail-pdf *ngSwitchCase=\"FieldType.pdf\" [options]=\"options\"></smart-detail-pdf>\n <smart-detail-video *ngSwitchCase=\"FieldType.video\" [options]=\"options\"></smart-detail-video>\n <smart-detail-attachment *ngSwitchCase=\"FieldType.attachment\" [options]=\"options\"></smart-detail-attachment>\n <smart-detail-date-range *ngSwitchCase=\"FieldType.dateRange\" [options]=\"options\"></smart-detail-date-range>\n <smart-detail-image *ngSwitchCase=\"FieldType.image\" [options]=\"options\"></smart-detail-image>\n <smart-detail-phone-number-pl *ngSwitchCase=\"FieldType.phoneNumberPl\"\n [options]=\"options\"\n ></smart-detail-phone-number-pl>\n <smart-detail-text *ngSwitchDefault [options]=\"options\"></smart-detail-text>\n </ng-container>\n </ng-container>\n</ion-item>\n\n<ng-template #skeletonTpl>\n <ion-skeleton-text [animated]='true'></ion-skeleton-text>\n</ng-template>\n",
|
|
15
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
16
|
-
styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:\"SF Display\";font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:\"SF Display\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:\"SF Display\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:\"SF Display\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:\"SF Display\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:\"SF Display\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:\"SF Display\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:\"SF Display\";font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:\"SF Display\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:\"SF Text\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:\"SF Text\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:\"SF Text\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:\"SF Text\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:\"SF Text\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:\"SF Text\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:\"SF Text\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:\"SF Text\";font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:14px;font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}:host{margin:0;padding:0}:host ion-item{padding-left:0;padding-right:0}@media only screen and (max-width: 992px){:host ion-item{padding-left:1.2rem}}@media only screen and (max-width: 420px){:host ion-item{padding-left:1.2rem}}.container-right{height:2.4rem;position:absolute;right:1.2rem;top:15%;z-index:666}\n"]
|
|
17
|
-
},] }
|
|
18
|
-
];
|
|
19
|
-
/**
|
|
20
|
-
* @type {function(): !Array<(null|{
|
|
21
|
-
* type: ?,
|
|
22
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
23
|
-
* })>}
|
|
24
|
-
* @nocollapse
|
|
25
|
-
*/
|
|
26
|
-
DetailComponent.ctorParameters = () => [];
|
|
27
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
28
|
-
DetailComponent.propDecorators = {
|
|
29
|
-
options: [{ type: Input }],
|
|
30
|
-
type: [{ type: Input }]
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2RldGFpbC9kZXRhaWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFTLE1BQU0sZUFBZSxDQUFDO0FBR2hGLE9BQU8sRUFBQyxTQUFTLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQVEvQyxNQUFNLE9BQU8sZUFBZTtJQU0xQjtRQUxBLGNBQVMsR0FBRyxTQUFTLENBQUM7SUFLTixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDOzs7O1lBZkYsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxjQUFjO2dCQUN4QiwyMkVBQXNDO2dCQUV0QyxlQUFlLEVBQUUsdUJBQXVCLENBQUMsTUFBTTs7YUFDaEQ7Ozs7Ozs7Ozs7OztzQkFJRSxLQUFLO21CQUNMLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge0NoYW5nZURldGVjdGlvblN0cmF0ZWd5LCBDb21wb25lbnQsIElucHV0LCBPbkluaXR9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQge0lEZXRhaWxPcHRpb25zfSBmcm9tIFwiLi4vLi4vbW9kZWxzL2ludGVyZmFjZXNcIjtcbmltcG9ydCB7RmllbGRUeXBlfSBmcm9tIFwiQHNtYXJ0c29mdDAwMS9tb2RlbHNcIjtcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnc21hcnQtZGV0YWlsJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2RldGFpbC5jb21wb25lbnQuaHRtbCcsXG4gIHN0eWxlVXJsczogWycuL2RldGFpbC5jb21wb25lbnQuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBEZXRhaWxDb21wb25lbnQ8VD4gaW1wbGVtZW50cyBPbkluaXQge1xuICBGaWVsZFR5cGUgPSBGaWVsZFR5cGU7XG5cbiAgQElucHV0KCkgb3B0aW9uczogSURldGFpbE9wdGlvbnM8VD47XG4gIEBJbnB1dCgpIHR5cGU6IGFueTtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxuXG4gIG5nT25Jbml0KCkge1xuICB9XG5cbn1cbiJdfQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
3
|
-
export class DetailEmailComponent extends DetailBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6
|
-
DetailEmailComponent.decorators = [
|
|
7
|
-
{ type: Component, args: [{
|
|
8
|
-
selector: 'smart-detail-email',
|
|
9
|
-
template: "<p>\n <a *ngIf='options?.item$ | async; let item' [href]=\"'mailto:' + item[options?.key]\">{{ item[options?.key] }}</a>\n</p>\n",
|
|
10
|
-
styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:\"SF Display\";font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:\"SF Display\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:\"SF Display\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:\"SF Display\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:\"SF Display\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:\"SF Display\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:\"SF Display\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:\"SF Display\";font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:\"SF Display\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:\"SF Text\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:\"SF Text\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:\"SF Text\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:\"SF Text\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:\"SF Text\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:\"SF Text\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:\"SF Text\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:\"SF Text\";font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:14px;font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}a{--color: var(--smart-color-medium)}\n"]
|
|
11
|
-
},] }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1haWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvZGV0YWlsL2VtYWlsL2VtYWlsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBTzNELE1BQU0sT0FBTyxvQkFBd0IsU0FBUSxtQkFBc0I7Ozs7WUFMbEUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxvQkFBb0I7Z0JBQzlCLCtJQUFxQzs7YUFFdEMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtEZXRhaWxCYXNlQ29tcG9uZW50fSBmcm9tIFwiLi4vYmFzZS9iYXNlLmNvbXBvbmVudFwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdzbWFydC1kZXRhaWwtZW1haWwnLFxuICB0ZW1wbGF0ZVVybDogJy4vZW1haWwuY29tcG9uZW50Lmh0bWwnLFxuICBzdHlsZVVybHM6IFsnLi9lbWFpbC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERldGFpbEVtYWlsQ29tcG9uZW50PFQ+IGV4dGVuZHMgRGV0YWlsQmFzZUNvbXBvbmVudDxUPiB7IH1cbiJdfQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
3
|
-
export class DetailEnumComponent extends DetailBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6
|
-
DetailEnumComponent.decorators = [
|
|
7
|
-
{ type: Component, args: [{
|
|
8
|
-
selector: 'smart-detail-enum',
|
|
9
|
-
template: "<p *ngIf='options?.item$ | async; let item'>\n <span *ngFor=\"let val of item[options?.key]; let first = first\">\n <ng-container *ngIf=\"!first\">, </ng-container>{{ val | translate }}\n </span>\n</p>\n",
|
|
10
|
-
styles: [""]
|
|
11
|
-
},] }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW51bS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWwvZW51bS9lbnVtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBTzNELE1BQU0sT0FBTyxtQkFBdUIsU0FBUSxtQkFBc0I7Ozs7WUFMakUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxtQkFBbUI7Z0JBQzdCLHlPQUFvQzs7YUFFckMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtEZXRhaWxCYXNlQ29tcG9uZW50fSBmcm9tIFwiLi4vYmFzZS9iYXNlLmNvbXBvbmVudFwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdzbWFydC1kZXRhaWwtZW51bScsXG4gIHRlbXBsYXRlVXJsOiAnLi9lbnVtLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vZW51bS5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERldGFpbEVudW1Db21wb25lbnQ8VD4gZXh0ZW5kcyBEZXRhaWxCYXNlQ29tcG9uZW50PFQ+IHsgfVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
3
|
-
export class DetailFlagComponent extends DetailBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6
|
-
DetailFlagComponent.decorators = [
|
|
7
|
-
{ type: Component, args: [{
|
|
8
|
-
selector: 'smart-detail-flag',
|
|
9
|
-
template: "<ion-checkbox *ngIf=\"options?.item$ | async; let item\" [disabled]=\"true\" [checked]=\"item[options?.key]\"></ion-checkbox>\n",
|
|
10
|
-
styles: [""]
|
|
11
|
-
},] }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmxhZy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWwvZmxhZy9mbGFnLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBTzNELE1BQU0sT0FBTyxtQkFBdUIsU0FBUSxtQkFBc0I7Ozs7WUFMakUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxtQkFBbUI7Z0JBQzdCLDJJQUFvQzs7YUFFckMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtEZXRhaWxCYXNlQ29tcG9uZW50fSBmcm9tIFwiLi4vYmFzZS9iYXNlLmNvbXBvbmVudFwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdzbWFydC1kZXRhaWwtZmxhZycsXG4gIHRlbXBsYXRlVXJsOiAnLi9mbGFnLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vZmxhZy5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERldGFpbEZsYWdDb21wb25lbnQ8VD4gZXh0ZW5kcyBEZXRhaWxCYXNlQ29tcG9uZW50PFQ+IHsgfVxuIl19
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component } from '@angular/core';
|
|
2
|
-
import { map } from "rxjs/operators";
|
|
3
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
4
|
-
import { FileService } from "../../../services/file/file.service";
|
|
5
|
-
export class DetailImageComponent extends DetailBaseComponent {
|
|
6
|
-
constructor(cd, fileService) {
|
|
7
|
-
super(cd);
|
|
8
|
-
this.fileService = fileService;
|
|
9
|
-
}
|
|
10
|
-
afterSetOptionsHandler() {
|
|
11
|
-
super.afterSetOptionsHandler();
|
|
12
|
-
this.imageUrl$ = this.options.item$.pipe(map(item => {
|
|
13
|
-
if (!item || !item[this.options.key])
|
|
14
|
-
return null;
|
|
15
|
-
return this.fileService.getUrl(item[this.options.key].id);
|
|
16
|
-
}));
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
20
|
-
DetailImageComponent.decorators = [
|
|
21
|
-
{ type: Component, args: [{
|
|
22
|
-
selector: 'smart-detail-image',
|
|
23
|
-
template: "<ion-card>\n <ion-img style=\"margin: 10px; height: 150px; width: 150px\" *ngIf='imageUrl$ | async; let url' [src]=\"url\"></ion-img>\n</ion-card>\n",
|
|
24
|
-
styles: [""]
|
|
25
|
-
},] }
|
|
26
|
-
];
|
|
27
|
-
/**
|
|
28
|
-
* @type {function(): !Array<(null|{
|
|
29
|
-
* type: ?,
|
|
30
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
31
|
-
* })>}
|
|
32
|
-
* @nocollapse
|
|
33
|
-
*/
|
|
34
|
-
DetailImageComponent.ctorParameters = () => [
|
|
35
|
-
{ type: ChangeDetectorRef },
|
|
36
|
-
{ type: FileService }
|
|
37
|
-
];
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvZGV0YWlsL2ltYWdlL2ltYWdlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsaUJBQWlCLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRTNELE9BQU8sRUFBQyxHQUFHLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUVuQyxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSx3QkFBd0IsQ0FBQztBQUMzRCxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0scUNBQXFDLENBQUM7QUFPaEUsTUFBTSxPQUFPLG9CQUF3QixTQUFRLG1CQUFzQjtJQUcvRCxZQUFZLEVBQXFCLEVBQVUsV0FBd0I7UUFDL0QsS0FBSyxDQUFDLEVBQUUsQ0FBQyxDQUFDO1FBRDZCLGdCQUFXLEdBQVgsV0FBVyxDQUFhO0lBRW5FLENBQUM7SUFFUyxzQkFBc0I7UUFDNUIsS0FBSyxDQUFDLHNCQUFzQixFQUFFLENBQUM7UUFFL0IsSUFBSSxDQUFDLFNBQVMsR0FBRyxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxJQUFJLENBQ3BDLEdBQUcsQ0FBQyxJQUFJLENBQUMsRUFBRTtZQUNQLElBQUksQ0FBQyxJQUFJLElBQUksQ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29tcG9uZW50PFQ+IHtcbiAgICBpbWFnZVVybCQ6IE9ic2VydmFibGU8c3RyaW5nPjtcblxuICAgIGNvbnN0cnVjdG9yKGNkOiBDaGFuZ2VEZXRlY3RvclJlZiwgcHJpdmF0ZSBmaWxlU2VydmljZTogRmlsZVNlcnZpY2UpIHtcbiAgICAgICAgc3VwZXIoY2QpO1xuICAgIH1cblxuICAgIHByb3RlY3RlZCBhZnRlclNldE9wdGlvbnNIYW5kbGVyKCkge1xuICAgICAgICBzdXBlci5hZnRlclNldE9wdGlvbnNIYW5kbGVyKCk7XG5cbiAgICAgICAgdGhpcy5pbWFnZVVybCQgPSB0aGlzLm9wdGlvbnMuaXRlbSQucGlwZShcbiAgICAgICAgICAgIG1hcChpdGVtID0+IHtcbiAgICAgICAgICAgICAgICBpZiAoIWl0ZW0gfHwgIWl0ZW1bdGhpcy5vcHRpb25zLmtleV0pIHJldHVybiBudWxsO1xuXG4gICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuZmlsZVNlcnZpY2UuZ2V0VXJsKGl0ZW1bdGhpcy5vcHRpb25zLmtleV0uaWQpO1xuICAgICAgICAgICAgfSlcbiAgICAgICAgKTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
3
|
-
export class DetailLogoComponent extends DetailBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6
|
-
DetailLogoComponent.decorators = [
|
|
7
|
-
{ type: Component, args: [{
|
|
8
|
-
selector: 'smart-detail-logo',
|
|
9
|
-
template: "<ion-card>\n <ion-img style=\"margin: 10px; height: 150px; width: 150px\" *ngIf='options?.item$ | async; let item' [src]=\"item[options?.key]\"></ion-img>\n</ion-card>\n",
|
|
10
|
-
styles: [""]
|
|
11
|
-
},] }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nby5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWwvbG9nby9sb2dvLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBTzNELE1BQU0sT0FBTyxtQkFBdUIsU0FBUSxtQkFBc0I7Ozs7WUFMakUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxtQkFBbUI7Z0JBQzdCLHdMQUFvQzs7YUFFckMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtEZXRhaWxCYXNlQ29tcG9uZW50fSBmcm9tIFwiLi4vYmFzZS9iYXNlLmNvbXBvbmVudFwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdzbWFydC1kZXRhaWwtbG9nbycsXG4gIHRlbXBsYXRlVXJsOiAnLi9sb2dvLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vbG9nby5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERldGFpbExvZ29Db21wb25lbnQ8VD4gZXh0ZW5kcyBEZXRhaWxCYXNlQ29tcG9uZW50PFQ+IHtcblxufVxuIl19
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { Component } from "@angular/core";
|
|
2
|
-
import { of } from "rxjs";
|
|
3
|
-
import { map } from "rxjs/operators";
|
|
4
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
5
|
-
export class DetailObjectComponent extends DetailBaseComponent {
|
|
6
|
-
afterSetOptionsHandler() {
|
|
7
|
-
super.afterSetOptionsHandler();
|
|
8
|
-
this.childOptions$ = this.options.item$.pipe(map(item => {
|
|
9
|
-
if (!item)
|
|
10
|
-
return;
|
|
11
|
-
return {
|
|
12
|
-
type: item[this.options.key].constructor,
|
|
13
|
-
item$: of(item[this.options.key])
|
|
14
|
-
};
|
|
15
|
-
}));
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
19
|
-
DetailObjectComponent.decorators = [
|
|
20
|
-
{ type: Component, args: [{
|
|
21
|
-
selector: "smart-detail-object",
|
|
22
|
-
template: "<br/>\n\n<ng-container *ngIf=\"childOptions$ | async; let childOptions\">\n <smart-details [options]=\"childOptions\"></smart-details>\n</ng-container>\n",
|
|
23
|
-
styles: [""]
|
|
24
|
-
},] }
|
|
25
|
-
];
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib2JqZWN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2RldGFpbC9vYmplY3Qvb2JqZWN0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBYSxFQUFFLEVBQUMsTUFBTSxNQUFNLENBQUM7QUFDcEMsT0FBTyxFQUFDLEdBQUcsRUFBQyxNQUFNLGdCQUFnQixDQUFDO0FBSW5DLE9BQU8sRUFBRSxtQkFBbUIsRUFBRSxNQUFNLHd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BDb21wb25lbnQoe1xuICBzZWxlY3RvcjogXCJzbWFydC1kZXRhaWwtb2JqZWN0XCIsXG4gIHRlbXBsYXRlVXJsOiBcIi4vb2JqZWN0LmNvbXBvbmVudC5odG1sXCIsXG4gIHN0eWxlVXJsczogW1wiLi9vYmplY3QuY29tcG9uZW50LnNjc3NcIl0sXG59KVxuZXhwb3J0IGNsYXNzIERldGFpbE9iamVjdENvbXBvbmVudDxcbiAgVCxcbiAgVENoaWxkIGV4dGVuZHMgSUVudGl0eTxzdHJpbmc+XG4+IGV4dGVuZHMgRGV0YWlsQmFzZUNvbXBvbmVudDxUPiB7XG4gIGNoaWxkT3B0aW9ucyQ6IE9ic2VydmFibGU8SURldGFpbHNPcHRpb25zPFRDaGlsZD4+O1xuXG4gIHByb3RlY3RlZCBhZnRlclNldE9wdGlvbnNIYW5kbGVyKCkge1xuICAgIHN1cGVyLmFmdGVyU2V0T3B0aW9uc0hhbmRsZXIoKTtcblxuICAgIHRoaXMuY2hpbGRPcHRpb25zJCA9IHRoaXMub3B0aW9ucy5pdGVtJC5waXBlKFxuICAgICAgICBtYXAoaXRlbSA9PiB7XG4gICAgICAgICAgaWYgKCFpdGVtKSByZXR1cm47XG5cbiAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgdHlwZTogKGl0ZW1bdGhpcy5vcHRpb25zLmtleV0uY29uc3RydWN0b3IgYXMgYW55KSxcbiAgICAgICAgICAgIGl0ZW0kOiBvZihpdGVtW3RoaXMub3B0aW9ucy5rZXldIGFzIFRDaGlsZClcbiAgICAgICAgICB9IGFzIElEZXRhaWxzT3B0aW9uczxUQ2hpbGQ+XG4gICAgICAgIH0pXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -1,36 +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
|
-
export class DetailPdfComponent extends DetailBaseComponent {
|
|
5
|
-
constructor(cd, fileService) {
|
|
6
|
-
super(cd);
|
|
7
|
-
this.fileService = fileService;
|
|
8
|
-
}
|
|
9
|
-
getButtonOptions(item) {
|
|
10
|
-
return {
|
|
11
|
-
click: () => {
|
|
12
|
-
this.fileService.download(item.id);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
18
|
-
DetailPdfComponent.decorators = [
|
|
19
|
-
{ type: Component, args: [{
|
|
20
|
-
selector: 'smart-detail-pdf',
|
|
21
|
-
template: "<ng-container *ngIf='options?.item$ | async; let item'>\n <smart-button *ngIf=\"item\"\n [options]=\"getButtonOptions(item[options?.key])\">\n {{ 'show' | translate }}\n </smart-button>\n</ng-container>\n",
|
|
22
|
-
styles: [""]
|
|
23
|
-
},] }
|
|
24
|
-
];
|
|
25
|
-
/**
|
|
26
|
-
* @type {function(): !Array<(null|{
|
|
27
|
-
* type: ?,
|
|
28
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
29
|
-
* })>}
|
|
30
|
-
* @nocollapse
|
|
31
|
-
*/
|
|
32
|
-
DetailPdfComponent.ctorParameters = () => [
|
|
33
|
-
{ type: ChangeDetectorRef },
|
|
34
|
-
{ type: FileService }
|
|
35
|
-
];
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGRmLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2RldGFpbC9wZGYvcGRmLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsaUJBQWlCLEVBQU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ZmlsZS9maWxlLnNlcnZpY2VcIjtcblxuQENvbXBvbmVudCh7XG4gICAgc2VsZWN0b3I6ICdzbWFydC1kZXRhaWwtcGRmJyxcbiAgICB0ZW1wbGF0ZVVybDogJy4vcGRmLmNvbXBvbmVudC5odG1sJyxcbiAgICBzdHlsZVVybHM6IFsnLi9wZGYuY29tcG9uZW50LnNjc3MnXVxufSlcbmV4cG9ydCBjbGFzcyBEZXRhaWxQZGZDb21wb25lbnQ8VCBleHRlbmRzIElFbnRpdHk8c3RyaW5nPj4gZXh0ZW5kcyBEZXRhaWxCYXNlQ29tcG9uZW50PFQ+IHtcbiAgICBjb25zdHJ1Y3RvcihjZDogQ2hhbmdlRGV0ZWN0b3JSZWYsIHByaXZhdGUgZmlsZVNlcnZpY2U6IEZpbGVTZXJ2aWNlKSB7XG4gICAgICAgIHN1cGVyKGNkKTtcbiAgICB9XG5cbiAgICBnZXRCdXR0b25PcHRpb25zKGl0ZW06IHsgaWQgfSk6IElCdXR0b25PcHRpb25zIHtcbiAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgIGNsaWNrOiAoKSA9PiB7XG4gICAgICAgICAgICAgICAgdGhpcy5maWxlU2VydmljZS5kb3dubG9hZChpdGVtLmlkKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
3
|
-
export class DetailPhoneNumberPlComponent extends DetailBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6
|
-
DetailPhoneNumberPlComponent.decorators = [
|
|
7
|
-
{ type: Component, args: [{
|
|
8
|
-
selector: 'smart-detail-phone-number-pl',
|
|
9
|
-
template: "<ion-row>\n <ion-col size=\"auto\">\n <ion-chip>48</ion-chip>\n </ion-col>\n <ion-col *ngIf='options?.item$ | async; let item'>\n <p class=\"container-tel\">\n <a *ngIf=\"(item | smartListCell : options?.key : options.cellPipe)?.value; let value\"\n [innerHTML]=\"value\"\n [href]=\"value ? 'tel:48' + value : ''\"\n ></a>\n </p>\n </ion-col>\n</ion-row>\n",
|
|
10
|
-
styles: [".container-tel{margin-top:.72rem}\n"]
|
|
11
|
-
},] }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGhvbmUtbnVtYmVyLXBsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2RldGFpbC9waG9uZS1udW1iZXItcGwvcGhvbmUtbnVtYmVyLXBsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBTzNELE1BQU0sT0FBTyw0QkFBZ0MsU0FBUSxtQkFBc0I7Ozs7WUFMMUUsU0FBUyxTQUFDO2dCQUNQLFFBQVEsRUFBRSw4QkFBOEI7Z0JBQ3hDLG1jQUErQzs7YUFFbEQiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtEZXRhaWxCYXNlQ29tcG9uZW50fSBmcm9tIFwiLi4vYmFzZS9iYXNlLmNvbXBvbmVudFwiO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ3NtYXJ0LWRldGFpbC1waG9uZS1udW1iZXItcGwnLFxuICAgIHRlbXBsYXRlVXJsOiAnLi9waG9uZS1udW1iZXItcGwuY29tcG9uZW50Lmh0bWwnLFxuICAgIHN0eWxlVXJsczogWycuL3Bob25lLW51bWJlci1wbC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERldGFpbFBob25lTnVtYmVyUGxDb21wb25lbnQ8VD4gZXh0ZW5kcyBEZXRhaWxCYXNlQ29tcG9uZW50PFQ+IHtcblxufVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { DetailBaseComponent } from "../base/base.component";
|
|
3
|
-
export class DetailTextComponent extends DetailBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6
|
-
DetailTextComponent.decorators = [
|
|
7
|
-
{ type: Component, args: [{
|
|
8
|
-
selector: 'smart-detail-text',
|
|
9
|
-
template: "<p *ngIf='options?.item$ | async; let item'\n [innerHTML]=\"(item | smartListCell : options?.key : options.cellPipe)?.value | smartTrustHtml\"\n></p>\n",
|
|
10
|
-
styles: [""]
|
|
11
|
-
},] }
|
|
12
|
-
];
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWwvdGV4dC90ZXh0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRTFDLE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBTzNELE1BQU0sT0FBTyxtQkFBdUIsU0FBUSxtQkFBc0I7Ozs7WUFMakUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxtQkFBbUI7Z0JBQzdCLHFLQUFvQzs7YUFFckMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb21wb25lbnQgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHtEZXRhaWxCYXNlQ29tcG9uZW50fSBmcm9tIFwiLi4vYmFzZS9iYXNlLmNvbXBvbmVudFwiO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdzbWFydC1kZXRhaWwtdGV4dCcsXG4gIHRlbXBsYXRlVXJsOiAnLi90ZXh0LmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vdGV4dC5jb21wb25lbnQuc2NzcyddXG59KVxuZXhwb3J0IGNsYXNzIERldGFpbFRleHRDb21wb25lbnQ8VD4gZXh0ZW5kcyBEZXRhaWxCYXNlQ29tcG9uZW50PFQ+IHtcblxufVxuIl19
|
|
@@ -1,32 +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
|
-
export class DetailVideoComponent extends DetailBaseComponent {
|
|
5
|
-
constructor(cd, fileService) {
|
|
6
|
-
super(cd);
|
|
7
|
-
this.fileService = fileService;
|
|
8
|
-
}
|
|
9
|
-
getUrl(item) {
|
|
10
|
-
return this.fileService.getUrl(item.id);
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
14
|
-
DetailVideoComponent.decorators = [
|
|
15
|
-
{ type: Component, args: [{
|
|
16
|
-
selector: 'smart-detail-video',
|
|
17
|
-
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>",
|
|
18
|
-
styles: [""]
|
|
19
|
-
},] }
|
|
20
|
-
];
|
|
21
|
-
/**
|
|
22
|
-
* @type {function(): !Array<(null|{
|
|
23
|
-
* type: ?,
|
|
24
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
25
|
-
* })>}
|
|
26
|
-
* @nocollapse
|
|
27
|
-
*/
|
|
28
|
-
DetailVideoComponent.ctorParameters = () => [
|
|
29
|
-
{ type: ChangeDetectorRef },
|
|
30
|
-
{ type: FileService }
|
|
31
|
-
];
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlkZW8uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvZGV0YWlsL3ZpZGVvL3ZpZGVvLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsaUJBQWlCLEVBQUUsU0FBUyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBSTNELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQzNELE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxxQ0FBcUMsQ0FBQztBQU9oRSxNQUFNLE9BQU8sb0JBQWdELFNBQVEsbUJBQXNCO0lBQ3ZGLFlBQVksRUFBcUIsRUFBVSxXQUF3QjtRQUMvRCxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUM7UUFENkIsZ0JBQVcsR0FBWCxXQUFXLENBQWE7SUFFbkUsQ0FBQztJQUVELE1BQU0sQ0FBQyxJQUFvQjtRQUN2QixPQUFPLElBQUksQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDLElBQ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ZXR1cm4gdGhpcy5maWxlU2VydmljZS5nZXRVcmwoaXRlbS5pZCk7XG4gICAgfVxufVxuIl19
|
|
@@ -1,104 +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
|
-
export class DetailsBaseComponent {
|
|
8
|
-
constructor(authService, detailsService) {
|
|
9
|
-
this.authService = authService;
|
|
10
|
-
this.detailsService = detailsService;
|
|
11
|
-
}
|
|
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
|
-
ngAfterViewInit() {
|
|
64
|
-
this.generateDynamicComponents();
|
|
65
|
-
}
|
|
66
|
-
generateDynamicComponents() {
|
|
67
|
-
if (!this.componentFactories)
|
|
68
|
-
return;
|
|
69
|
-
if (this.componentFactories.top && this.topTpl) {
|
|
70
|
-
if (!this.topTpl.get(0)) {
|
|
71
|
-
this.topTpl.createComponent(this.componentFactories.top);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
if (this.componentFactories.bottom && this.bottomTpl) {
|
|
75
|
-
if (!this.bottomTpl.get(0)) {
|
|
76
|
-
this.bottomTpl.createComponent(this.componentFactories.bottom);
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
DetailsBaseComponent.smartType = 'details';
|
|
82
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
83
|
-
DetailsBaseComponent.decorators = [
|
|
84
|
-
{ type: Directive }
|
|
85
|
-
];
|
|
86
|
-
/**
|
|
87
|
-
* @type {function(): !Array<(null|{
|
|
88
|
-
* type: ?,
|
|
89
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
90
|
-
* })>}
|
|
91
|
-
* @nocollapse
|
|
92
|
-
*/
|
|
93
|
-
DetailsBaseComponent.ctorParameters = () => [
|
|
94
|
-
{ type: AuthService },
|
|
95
|
-
{ type: DetailsService }
|
|
96
|
-
];
|
|
97
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
98
|
-
DetailsBaseComponent.propDecorators = {
|
|
99
|
-
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: ViewContainerRef, static: true },] }],
|
|
100
|
-
topTpl: [{ type: ViewChild, args: ["topTpl", { read: ViewContainerRef, static: true },] }],
|
|
101
|
-
bottomTpl: [{ type: ViewChild, args: ["bottomTpl", { read: ViewContainerRef, static: true },] }],
|
|
102
|
-
options: [{ type: Input }]
|
|
103
|
-
};
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWxzL2Jhc2UvYmFzZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUVMLEtBQUssRUFDTCxTQUFTLEVBQ1QsZ0JBQWdCLEVBQ2hCLFNBQVMsR0FDVixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsR0FBRyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFckMsT0FBTyxFQUNMLHlCQUF5QixHQUkxQixNQUFNLHNCQUFzQixDQUFDO0FBRTlCLE9BQU8sRUFBRSxhQUFhLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUcxRSxPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0scUNBQXFDLENBQUM7QUFD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ZXIoKGYpID0+IGYub3B0aW9ucy5kZXRhaWxzKVxuICAgICAgLmZpbHRlcigoZmllbGQpID0+IHtcbiAgICAgICAgaWYgKChmaWVsZC5vcHRpb25zLmRldGFpbHMgYXMgSUZpZWxkRGV0YWlsc01ldGFkYXRhKS5lbmFibGVkKSB7XG4gICAgICAgICAgZW5hYmxlZERlZmluaXRpb25zLnB1c2goe1xuICAgICAgICAgICAga2V5OiBmaWVsZC5rZXksXG4gICAgICAgICAgICBzcGVjOiAoZmllbGQub3B0aW9ucy5kZXRhaWxzIGFzIElGaWVsZERldGFpbHNNZXRhZGF0YSkuZW5hYmxlZCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfSBlbHNlIGlmIChmaWVsZC5vcHRpb25zLmVuYWJsZWQpIHtcbiAgICAgICAgICBlbmFibGVkRGVmaW5pdGlvbnMucHVzaCh7XG4gICAgICAgICAgICBrZXk6IGZpZWxkLmtleSxcbiAgICAgICAgICAgIHNwZWM6IGZpZWxkLm9wdGlvbnMuZW5hYmxlZCxcbiAgICAgICAgICB9KTtcbiAgICAgICAgfVxuXG4gICAgICAgIGlmIChcbiAgICAgICAgICAoZmllbGQub3B0aW9ucy5kZXRhaWxzIGFzIElGaWVsZERldGFpbHNNZXRhZGF0YSkucGVybWlzc2lvbnMgJiZcbiAgICAgICAgICAhdGhpcy5hdXRoU2VydmljZS5leHBlY3RQZXJtaXNzaW9ucyhcbiAgICAgICAgICAgIChmaWVsZC5vcHRpb25zLmRldGFpbHMgYXMgSUZpZWxkRGV0YWlsc01ldGFkYXRhKS5wZXJtaXNzaW9uc1xuICAgICAgICAgIClcbiAgICAgICAgKSB7XG4gICAgICAgICAgcmV0dXJuIGZhbHNlO1xuICAgICAgICB9XG5cbiAgICAgICAgcmV0dXJuIHRydWU7XG4gICAgICB9KTtcbiAgICB0aGlzLml0ZW0kID0gb2JqLml0ZW0kLnBpcGUoXG4gICAgICBtYXAoKGl0ZW0pID0+IHtcbiAgICAgICAgaWYgKCFpd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HZvaWQge1xuICAgIHRoaXMuZ2VuZXJhdGVEeW5hbWljQ29tcG9uZW50cygpO1xuICB9XG5cbiAgcHJvdGVjdGVkIGdlbmVyYXRlRHluYW1pY0NvbXBvbmVudHMoKTogdm9pZCB7XG4gICAgaWYgKCF0aGlzLmNvbXBvbmVudEZhY3RvcmllcykgcmV0dXJuO1xuXG4gICAgaWYgKHRoaXMuY29tcG9uZW50RmFjdG9yaWVzLnRvcCAmJiB0aGlzLnRvcFRwbCkge1xuICAgICAgaWYgKCF0aGlzLnRvcFRwbC5nZXQoMCkpIHtcbiAgICAgICAgdGhpcy50b3BUcGwuY3JlYXRlQ29tcG9uZW50KHRoaXMuY29tcG9uZW50RmFjdG9yaWVzLnRvcCk7XG4gICAgICB9XG4gICAgfVxuXG4gICAgaWYgKHRoaXMuY29tcG9uZW50RmFjdG9yaWVzLmJvdHRvbSAmJiB0aGlzLmJvdHRvbVRwbCkge1xuICAgICAgaWYgKCF0aGlzLmJvdHRvbVRwbC5nZXQoMCkpIHtcbiAgICAgICAgdGhpcy5ib3R0b21UcGwuY3JlYXRlQ29tcG9uZW50KHRoaXMuY29tcG9uZW50RmFjdG9yaWVzLmJvdHRvbSk7XG4gICAgICB9XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -1,66 +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";
|
|
4
|
-
import { DynamicContentDirective } from "../../directives/dynamic-content/dynamic-content.directive";
|
|
5
|
-
import { DetailsService } from "../../services/details/details.service";
|
|
6
|
-
export class DetailsComponent extends CreateDynamicComponent("details") {
|
|
7
|
-
constructor(cd, moduleRef, cfr, detailsService) {
|
|
8
|
-
super(cd, moduleRef, cfr);
|
|
9
|
-
this.detailsService = detailsService;
|
|
10
|
-
this._subscription = new Subscription();
|
|
11
|
-
this.dynamicContents = new QueryList();
|
|
12
|
-
}
|
|
13
|
-
set options(val) {
|
|
14
|
-
this._options = val;
|
|
15
|
-
this._subscription.add(this._options.item$.subscribe((item) => {
|
|
16
|
-
this.detailsService.setRoot(item);
|
|
17
|
-
this.item = item;
|
|
18
|
-
}));
|
|
19
|
-
this.refreshDynamicInstance();
|
|
20
|
-
}
|
|
21
|
-
get options() {
|
|
22
|
-
return this._options;
|
|
23
|
-
}
|
|
24
|
-
ngOnDestroy() {
|
|
25
|
-
if (this._subscription) {
|
|
26
|
-
this._subscription.unsubscribe();
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
refreshProperties() {
|
|
30
|
-
this.baseInstance.options = this.options;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
34
|
-
DetailsComponent.decorators = [
|
|
35
|
-
{ type: Component, args: [{
|
|
36
|
-
selector: "smart-details",
|
|
37
|
-
template: `
|
|
38
|
-
<smart-details-standard
|
|
39
|
-
*ngIf="options && template === 'default'"
|
|
40
|
-
[options]="options"
|
|
41
|
-
></smart-details-standard>
|
|
42
|
-
<div #customTpl></div>
|
|
43
|
-
`,
|
|
44
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
45
|
-
},] }
|
|
46
|
-
];
|
|
47
|
-
/**
|
|
48
|
-
* @type {function(): !Array<(null|{
|
|
49
|
-
* type: ?,
|
|
50
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
51
|
-
* })>}
|
|
52
|
-
* @nocollapse
|
|
53
|
-
*/
|
|
54
|
-
DetailsComponent.ctorParameters = () => [
|
|
55
|
-
{ type: ChangeDetectorRef },
|
|
56
|
-
{ type: NgModuleRef },
|
|
57
|
-
{ type: ComponentFactoryResolver },
|
|
58
|
-
{ type: DetailsService }
|
|
59
|
-
];
|
|
60
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
61
|
-
DetailsComponent.propDecorators = {
|
|
62
|
-
options: [{ type: Input }],
|
|
63
|
-
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
64
|
-
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
65
|
-
};
|
|
66
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlscy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9kZXRhaWxzL2RldGFpbHMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFBRSxpQkFBaUIsRUFDMUMsU0FBUyxFQUFFLHdCQUF3QixFQUNuQyxLQUFLLEVBQUUsV0FBVyxFQUNQLFNBQVMsRUFBRSxXQUFXLEVBQUUsU0FBUyxFQUFFLFlBQVksR0FDM0QsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUlwQyxPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSxTQUFTLENBQUM7QUFFakQsT0FBTyxFQUFDLHVCQUF1QixFQUFDLE1BQU0sNERBQTRELENBQUM7QUFDbkcsT0FBTyxFQUFDLGNBQWMsRUFBQyxNQUFNLHdDQUF3QyxDQUFDO0FBYXRFLE1BQU0sT0FBTyxnQkFDWCxTQUFRLHNCQUFzQixDQUE0QixTQUFTLENBQUM7SUE4QnBFLFlBQ0ksRUFBcUIsRUFDckIsU0FBMkIsRUFDM0IsR0FBNkIsRUFDckIsY0FBOEI7UUFFeEMsS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