@smartsoft001/angular 1.1.606 → 1.1.610
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/bundles/smartsoft001-angular.umd.js +929 -158
- package/bundles/smartsoft001-angular.umd.js.map +1 -1
- package/esm2015/lib/+state/error.effects.js +8 -1
- package/esm2015/lib/+state/error.effects.js.map +1 -1
- package/esm2015/lib/components/accordion/accordion.component.js +10 -2
- package/esm2015/lib/components/accordion/accordion.component.js.map +1 -1
- package/esm2015/lib/components/accordion/accordion.component.metadata.json +1 -1
- package/esm2015/lib/components/accordion/body/body.component.js +9 -2
- package/esm2015/lib/components/accordion/body/body.component.js.map +1 -1
- package/esm2015/lib/components/accordion/body/body.component.metadata.json +1 -1
- package/esm2015/lib/components/accordion/header/header.component.js +9 -2
- package/esm2015/lib/components/accordion/header/header.component.js.map +1 -1
- package/esm2015/lib/components/accordion/header/header.component.metadata.json +1 -1
- package/esm2015/lib/components/app/base/base.component.js +9 -1
- package/esm2015/lib/components/app/base/base.component.js.map +1 -1
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +10 -2
- package/esm2015/lib/components/app/split-panel/split-panel.component.js.map +1 -1
- package/esm2015/lib/components/app/split-panel/split-panel.component.metadata.json +1 -1
- package/esm2015/lib/components/base/base.component.js +1 -0
- package/esm2015/lib/components/base/base.component.js.map +1 -1
- package/esm2015/lib/components/button/button.component.js +10 -2
- package/esm2015/lib/components/button/button.component.js.map +1 -1
- package/esm2015/lib/components/button/button.component.metadata.json +1 -1
- package/esm2015/lib/components/card/card.component.js +10 -2
- package/esm2015/lib/components/card/card.component.js.map +1 -1
- package/esm2015/lib/components/card/card.component.metadata.json +1 -1
- package/esm2015/lib/components/chart/bar/bar.component.js +9 -1
- package/esm2015/lib/components/chart/bar/bar.component.js.map +1 -1
- package/esm2015/lib/components/chart/base/base.component.js +8 -1
- package/esm2015/lib/components/chart/base/base.component.js.map +1 -1
- package/esm2015/lib/components/chart/chart.component.js +9 -1
- package/esm2015/lib/components/chart/chart.component.js.map +1 -1
- package/esm2015/lib/components/chart/line/line.component.js +9 -1
- package/esm2015/lib/components/chart/line/line.component.js.map +1 -1
- package/esm2015/lib/components/components.module.js +1 -0
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/date-edit/date-edit.component.js +10 -2
- package/esm2015/lib/components/date-edit/date-edit.component.js.map +1 -1
- package/esm2015/lib/components/date-edit/date-edit.component.metadata.json +1 -1
- package/esm2015/lib/components/date-range/date-range.component.js +19 -3
- package/esm2015/lib/components/date-range/date-range.component.js.map +1 -1
- package/esm2015/lib/components/date-range/date-range.component.metadata.json +1 -1
- package/esm2015/lib/components/detail/address/address.component.js +1 -0
- package/esm2015/lib/components/detail/address/address.component.js.map +1 -1
- package/esm2015/lib/components/detail/array/array.component.js +2 -1
- package/esm2015/lib/components/detail/array/array.component.js.map +1 -1
- package/esm2015/lib/components/detail/array/array.component.metadata.json +1 -1
- package/esm2015/lib/components/detail/attachment/attachment.component.js +8 -1
- package/esm2015/lib/components/detail/attachment/attachment.component.js.map +1 -1
- package/esm2015/lib/components/detail/base/base.component.js +9 -1
- package/esm2015/lib/components/detail/base/base.component.js.map +1 -1
- package/esm2015/lib/components/detail/color/color.component.js +2 -1
- package/esm2015/lib/components/detail/color/color.component.js.map +1 -1
- package/esm2015/lib/components/detail/color/color.component.metadata.json +1 -1
- package/esm2015/lib/components/detail/date-range/date-range.component.js +1 -0
- package/esm2015/lib/components/detail/date-range/date-range.component.js.map +1 -1
- package/esm2015/lib/components/detail/detail.component.js +10 -2
- package/esm2015/lib/components/detail/detail.component.js.map +1 -1
- package/esm2015/lib/components/detail/detail.component.metadata.json +1 -1
- package/esm2015/lib/components/detail/email/email.component.js +2 -1
- package/esm2015/lib/components/detail/email/email.component.js.map +1 -1
- package/esm2015/lib/components/detail/email/email.component.metadata.json +1 -1
- package/esm2015/lib/components/detail/enum/enum.component.js +1 -0
- package/esm2015/lib/components/detail/enum/enum.component.js.map +1 -1
- package/esm2015/lib/components/detail/flag/flag.component.js +1 -0
- package/esm2015/lib/components/detail/flag/flag.component.js.map +1 -1
- package/esm2015/lib/components/detail/image/image.component.js +8 -1
- package/esm2015/lib/components/detail/image/image.component.js.map +1 -1
- package/esm2015/lib/components/detail/logo/logo.component.js +1 -0
- package/esm2015/lib/components/detail/logo/logo.component.js.map +1 -1
- package/esm2015/lib/components/detail/object/object.component.js +1 -0
- package/esm2015/lib/components/detail/object/object.component.js.map +1 -1
- package/esm2015/lib/components/detail/pdf/pdf.component.js +8 -1
- package/esm2015/lib/components/detail/pdf/pdf.component.js.map +1 -1
- package/esm2015/lib/components/detail/text/text.component.js +1 -0
- package/esm2015/lib/components/detail/text/text.component.js.map +1 -1
- package/esm2015/lib/components/detail/video/video.component.js +8 -1
- package/esm2015/lib/components/detail/video/video.component.js.map +1 -1
- package/esm2015/lib/components/details/base/base.component.js +9 -1
- package/esm2015/lib/components/details/base/base.component.js.map +1 -1
- package/esm2015/lib/components/details/details.component.js +2 -0
- package/esm2015/lib/components/details/details.component.js.map +1 -1
- package/esm2015/lib/components/details/standard/standard.component.js +2 -1
- package/esm2015/lib/components/details/standard/standard.component.js.map +1 -1
- package/esm2015/lib/components/details/standard/standard.component.metadata.json +1 -1
- package/esm2015/lib/components/dynamic/dynamic.component.js +9 -1
- package/esm2015/lib/components/dynamic/dynamic.component.js.map +1 -1
- package/esm2015/lib/components/error-context/error-context.component.js +8 -1
- package/esm2015/lib/components/error-context/error-context.component.js.map +1 -1
- package/esm2015/lib/components/export/export.component.js +10 -2
- package/esm2015/lib/components/export/export.component.js.map +1 -1
- package/esm2015/lib/components/export/export.component.metadata.json +1 -1
- package/esm2015/lib/components/form/base/base.component.js +9 -1
- package/esm2015/lib/components/form/base/base.component.js.map +1 -1
- package/esm2015/lib/components/form/form.component.js +9 -1
- package/esm2015/lib/components/form/form.component.js.map +1 -1
- package/esm2015/lib/components/form/standard/standard.component.js +2 -1
- package/esm2015/lib/components/form/standard/standard.component.js.map +1 -1
- package/esm2015/lib/components/form/standard/standard.component.metadata.json +1 -1
- package/esm2015/lib/components/form/stepper/stepper.component.js +9 -2
- package/esm2015/lib/components/form/stepper/stepper.component.js.map +1 -1
- package/esm2015/lib/components/form/stepper/stepper.component.metadata.json +1 -1
- package/esm2015/lib/components/grid/column/column.component.js +9 -1
- package/esm2015/lib/components/grid/column/column.component.js.map +1 -1
- package/esm2015/lib/components/grid/grid.component.js +10 -2
- package/esm2015/lib/components/grid/grid.component.js.map +1 -1
- package/esm2015/lib/components/grid/grid.component.metadata.json +1 -1
- package/esm2015/lib/components/grid/row/row.component.js +9 -1
- package/esm2015/lib/components/grid/row/row.component.js.map +1 -1
- package/esm2015/lib/components/import/import.component.js +10 -2
- package/esm2015/lib/components/import/import.component.js.map +1 -1
- package/esm2015/lib/components/import/import.component.metadata.json +1 -1
- package/esm2015/lib/components/info/info.component.js +18 -3
- package/esm2015/lib/components/info/info.component.js.map +1 -1
- package/esm2015/lib/components/info/info.component.metadata.json +1 -1
- package/esm2015/lib/components/input/address/address.component.js +9 -2
- package/esm2015/lib/components/input/address/address.component.js.map +1 -1
- package/esm2015/lib/components/input/address/address.component.metadata.json +1 -1
- package/esm2015/lib/components/input/array/array.component.js +9 -2
- package/esm2015/lib/components/input/array/array.component.js.map +1 -1
- package/esm2015/lib/components/input/array/array.component.metadata.json +1 -1
- package/esm2015/lib/components/input/attachment/attachment.component.js +8 -1
- package/esm2015/lib/components/input/attachment/attachment.component.js.map +1 -1
- package/esm2015/lib/components/input/base/base.component.js +9 -1
- package/esm2015/lib/components/input/base/base.component.js.map +1 -1
- package/esm2015/lib/components/input/base/file.component.js +9 -1
- package/esm2015/lib/components/input/base/file.component.js.map +1 -1
- package/esm2015/lib/components/input/base/possibilities.component.js +8 -1
- package/esm2015/lib/components/input/base/possibilities.component.js.map +1 -1
- package/esm2015/lib/components/input/check/check.component.js +9 -2
- package/esm2015/lib/components/input/check/check.component.js.map +1 -1
- package/esm2015/lib/components/input/check/check.component.metadata.json +1 -1
- package/esm2015/lib/components/input/color/color.component.js +9 -2
- package/esm2015/lib/components/input/color/color.component.js.map +1 -1
- package/esm2015/lib/components/input/color/color.component.metadata.json +1 -1
- package/esm2015/lib/components/input/currency/currency.component.js +9 -2
- package/esm2015/lib/components/input/currency/currency.component.js.map +1 -1
- package/esm2015/lib/components/input/currency/currency.component.metadata.json +1 -1
- package/esm2015/lib/components/input/date/date.component.js +9 -2
- package/esm2015/lib/components/input/date/date.component.js.map +1 -1
- package/esm2015/lib/components/input/date/date.component.metadata.json +1 -1
- package/esm2015/lib/components/input/date-range/date-range.component.js +8 -1
- package/esm2015/lib/components/input/date-range/date-range.component.js.map +1 -1
- package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js +10 -2
- package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js.map +1 -1
- package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.metadata.json +1 -1
- package/esm2015/lib/components/input/email/email.component.js +9 -2
- package/esm2015/lib/components/input/email/email.component.js.map +1 -1
- package/esm2015/lib/components/input/email/email.component.metadata.json +1 -1
- package/esm2015/lib/components/input/enum/enum.component.js +9 -2
- package/esm2015/lib/components/input/enum/enum.component.js.map +1 -1
- package/esm2015/lib/components/input/enum/enum.component.metadata.json +1 -1
- package/esm2015/lib/components/input/error/error.component.js +3 -1
- package/esm2015/lib/components/input/error/error.component.js.map +1 -1
- package/esm2015/lib/components/input/error/error.component.metadata.json +1 -1
- package/esm2015/lib/components/input/file/file.component.js +10 -2
- package/esm2015/lib/components/input/file/file.component.js.map +1 -1
- package/esm2015/lib/components/input/file/file.component.metadata.json +1 -1
- package/esm2015/lib/components/input/flag/flag.component.js +9 -2
- package/esm2015/lib/components/input/flag/flag.component.js.map +1 -1
- package/esm2015/lib/components/input/flag/flag.component.metadata.json +1 -1
- package/esm2015/lib/components/input/float/float.component.js +9 -2
- package/esm2015/lib/components/input/float/float.component.js.map +1 -1
- package/esm2015/lib/components/input/float/float.component.metadata.json +1 -1
- package/esm2015/lib/components/input/image/image.component.js +8 -1
- package/esm2015/lib/components/input/image/image.component.js.map +1 -1
- package/esm2015/lib/components/input/input.component.js +10 -2
- package/esm2015/lib/components/input/input.component.js.map +1 -1
- package/esm2015/lib/components/input/input.component.metadata.json +1 -1
- package/esm2015/lib/components/input/int/int.component.js +9 -2
- package/esm2015/lib/components/input/int/int.component.js.map +1 -1
- package/esm2015/lib/components/input/int/int.component.metadata.json +1 -1
- package/esm2015/lib/components/input/ints/ints.component.js +9 -2
- package/esm2015/lib/components/input/ints/ints.component.js.map +1 -1
- package/esm2015/lib/components/input/ints/ints.component.metadata.json +1 -1
- package/esm2015/lib/components/input/logo/logo.component.js +9 -2
- package/esm2015/lib/components/input/logo/logo.component.js.map +1 -1
- package/esm2015/lib/components/input/logo/logo.component.metadata.json +1 -1
- package/esm2015/lib/components/input/long-text/long-text.component.js +9 -2
- package/esm2015/lib/components/input/long-text/long-text.component.js.map +1 -1
- package/esm2015/lib/components/input/long-text/long-text.component.metadata.json +1 -1
- package/esm2015/lib/components/input/nip/nip.component.js +9 -2
- package/esm2015/lib/components/input/nip/nip.component.js.map +1 -1
- package/esm2015/lib/components/input/nip/nip.component.metadata.json +1 -1
- package/esm2015/lib/components/input/object/object.component.js +9 -2
- package/esm2015/lib/components/input/object/object.component.js.map +1 -1
- package/esm2015/lib/components/input/object/object.component.metadata.json +1 -1
- package/esm2015/lib/components/input/password/password.component.js +9 -2
- package/esm2015/lib/components/input/password/password.component.js.map +1 -1
- package/esm2015/lib/components/input/password/password.component.metadata.json +1 -1
- package/esm2015/lib/components/input/pdf/pdf.component.js +8 -1
- package/esm2015/lib/components/input/pdf/pdf.component.js.map +1 -1
- package/esm2015/lib/components/input/pesel/pesel.component.js +9 -2
- package/esm2015/lib/components/input/pesel/pesel.component.js.map +1 -1
- package/esm2015/lib/components/input/pesel/pesel.component.metadata.json +1 -1
- package/esm2015/lib/components/input/phone-number/phone-number.component.js +9 -2
- package/esm2015/lib/components/input/phone-number/phone-number.component.js.map +1 -1
- package/esm2015/lib/components/input/phone-number/phone-number.component.metadata.json +1 -1
- package/esm2015/lib/components/input/radio/radio.component.js +9 -2
- package/esm2015/lib/components/input/radio/radio.component.js.map +1 -1
- package/esm2015/lib/components/input/radio/radio.component.metadata.json +1 -1
- package/esm2015/lib/components/input/strings/strings.component.js +9 -2
- package/esm2015/lib/components/input/strings/strings.component.js.map +1 -1
- package/esm2015/lib/components/input/strings/strings.component.metadata.json +1 -1
- package/esm2015/lib/components/input/text/text.component.js +9 -2
- package/esm2015/lib/components/input/text/text.component.js.map +1 -1
- package/esm2015/lib/components/input/text/text.component.metadata.json +1 -1
- package/esm2015/lib/components/input/video/video.component.js +8 -1
- package/esm2015/lib/components/input/video/video.component.js.map +1 -1
- package/esm2015/lib/components/list/base/base.component.js +9 -1
- package/esm2015/lib/components/list/base/base.component.js.map +1 -1
- package/esm2015/lib/components/list/desktop/desktop.component.js +10 -2
- package/esm2015/lib/components/list/desktop/desktop.component.js.map +1 -1
- package/esm2015/lib/components/list/desktop/desktop.component.metadata.json +1 -1
- package/esm2015/lib/components/list/list.component.js +10 -2
- package/esm2015/lib/components/list/list.component.js.map +1 -1
- package/esm2015/lib/components/list/list.component.metadata.json +1 -1
- package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js +10 -2
- package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js.map +1 -1
- package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.metadata.json +1 -1
- package/esm2015/lib/components/list/mobile/mobile.component.js +10 -2
- package/esm2015/lib/components/list/mobile/mobile.component.js.map +1 -1
- package/esm2015/lib/components/list/mobile/mobile.component.metadata.json +1 -1
- package/esm2015/lib/components/loader/loader.component.js +2 -0
- package/esm2015/lib/components/loader/loader.component.js.map +1 -1
- package/esm2015/lib/components/page/base/base.component.js +9 -1
- package/esm2015/lib/components/page/base/base.component.js.map +1 -1
- package/esm2015/lib/components/page/page.component.js +9 -1
- package/esm2015/lib/components/page/page.component.js.map +1 -1
- package/esm2015/lib/components/page/standard/standard.component.js +9 -2
- package/esm2015/lib/components/page/standard/standard.component.js.map +1 -1
- package/esm2015/lib/components/page/standard/standard.component.metadata.json +1 -1
- package/esm2015/lib/components/password-strength/password-strength.component.js +3 -1
- package/esm2015/lib/components/password-strength/password-strength.component.js.map +1 -1
- package/esm2015/lib/components/password-strength/password-strength.component.metadata.json +1 -1
- package/esm2015/lib/components/searchbar/searchbar.component.js +10 -2
- package/esm2015/lib/components/searchbar/searchbar.component.js.map +1 -1
- package/esm2015/lib/components/searchbar/searchbar.component.metadata.json +1 -1
- package/esm2015/lib/components/tabs/tab/tab.component.js +10 -2
- package/esm2015/lib/components/tabs/tab/tab.component.js.map +1 -1
- package/esm2015/lib/components/tabs/tab/tab.component.metadata.json +1 -1
- package/esm2015/lib/components/tabs/tabs.component.js +2 -0
- package/esm2015/lib/components/tabs/tabs.component.js.map +1 -1
- package/esm2015/lib/directives/date-validator/date-validator.directive.js +1 -0
- package/esm2015/lib/directives/date-validator/date-validator.directive.js.map +1 -1
- package/esm2015/lib/directives/details/details.directive.js +9 -1
- package/esm2015/lib/directives/details/details.directive.js.map +1 -1
- package/esm2015/lib/directives/directives.module.js +1 -0
- package/esm2015/lib/directives/directives.module.js.map +1 -1
- package/esm2015/lib/factories/factories.module.js +1 -0
- package/esm2015/lib/factories/factories.module.js.map +1 -1
- package/esm2015/lib/factories/factories.module.ngfactory.js.map +1 -1
- package/esm2015/lib/factories/form/form.factory.js +8 -1
- package/esm2015/lib/factories/form/form.factory.js.map +1 -1
- package/esm2015/lib/ngrx-shared.module.js +8 -1
- package/esm2015/lib/ngrx-shared.module.js.map +1 -1
- package/esm2015/lib/ngrx-shared.module.ngfactory.js.map +1 -1
- package/esm2015/lib/pages/details/details.page.js +9 -2
- package/esm2015/lib/pages/details/details.page.js.map +1 -1
- package/esm2015/lib/pages/details/details.page.metadata.json +1 -1
- package/esm2015/lib/pages/pages.module.js +1 -0
- package/esm2015/lib/pages/pages.module.js.map +1 -1
- package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js +1 -0
- package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js.map +1 -1
- package/esm2015/lib/pipes/file-url/file-url.pipe.js +8 -1
- package/esm2015/lib/pipes/file-url/file-url.pipe.js.map +1 -1
- package/esm2015/lib/pipes/list-cell/list-cell.pipe.js +8 -1
- package/esm2015/lib/pipes/list-cell/list-cell.pipe.js.map +1 -1
- package/esm2015/lib/pipes/list-header/list-header.pipe.js +8 -1
- package/esm2015/lib/pipes/list-header/list-header.pipe.js.map +1 -1
- package/esm2015/lib/pipes/model-label/model-label.pipe.js +8 -1
- package/esm2015/lib/pipes/model-label/model-label.pipe.js.map +1 -1
- package/esm2015/lib/pipes/pipes.module.js +1 -0
- package/esm2015/lib/pipes/pipes.module.js.map +1 -1
- package/esm2015/lib/services/app/app.service.js +1 -0
- package/esm2015/lib/services/app/app.service.js.map +1 -1
- package/esm2015/lib/services/auth/auth.service.js +8 -1
- package/esm2015/lib/services/auth/auth.service.js.map +1 -1
- package/esm2015/lib/services/calendar/calendar.service.js +8 -1
- package/esm2015/lib/services/calendar/calendar.service.js.map +1 -1
- package/esm2015/lib/services/camera/camera.service.js +1 -0
- package/esm2015/lib/services/camera/camera.service.js.map +1 -1
- package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js +8 -1
- package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js.map +1 -1
- package/esm2015/lib/services/error/error.service.js +8 -1
- package/esm2015/lib/services/error/error.service.js.map +1 -1
- package/esm2015/lib/services/file/file.service.js +8 -1
- package/esm2015/lib/services/file/file.service.js.map +1 -1
- package/esm2015/lib/services/fingerprint/fingerprint.service.js +8 -1
- package/esm2015/lib/services/fingerprint/fingerprint.service.js.map +1 -1
- package/esm2015/lib/services/hardware/hardware.service.js +8 -1
- package/esm2015/lib/services/hardware/hardware.service.js.map +1 -1
- package/esm2015/lib/services/menu/menu.service.js +8 -1
- package/esm2015/lib/services/menu/menu.service.js.map +1 -1
- package/esm2015/lib/services/modal/modal.service.js +8 -1
- package/esm2015/lib/services/modal/modal.service.js.map +1 -1
- package/esm2015/lib/services/ngrx-store/ngrx-store.service.js +1 -0
- package/esm2015/lib/services/ngrx-store/ngrx-store.service.js.map +1 -1
- package/esm2015/lib/services/popover/popover.service.js +8 -1
- package/esm2015/lib/services/popover/popover.service.js.map +1 -1
- package/esm2015/lib/services/services.module.js +1 -0
- package/esm2015/lib/services/services.module.js.map +1 -1
- package/esm2015/lib/services/storage/storage.service.js +8 -1
- package/esm2015/lib/services/storage/storage.service.js.map +1 -1
- package/esm2015/lib/services/style/style.service.js +8 -1
- package/esm2015/lib/services/style/style.service.js.map +1 -1
- package/esm2015/lib/services/toast/toast.service.js +8 -1
- package/esm2015/lib/services/toast/toast.service.js.map +1 -1
- package/esm2015/lib/services/ui/ui.service.js +8 -1
- package/esm2015/lib/services/ui/ui.service.js.map +1 -1
- package/esm2015/lib/shared.module.js +8 -1
- package/esm2015/lib/shared.module.js.map +1 -1
- package/esm2015/lib/utils-shared.module.js +1 -0
- package/esm2015/lib/utils-shared.module.js.map +1 -1
- package/fesm2015/smartsoft001-angular.js +927 -154
- package/fesm2015/smartsoft001-angular.js.map +1 -1
- package/package.json +15 -15
- package/smartsoft001-angular.metadata.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pdf.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/detail/pdf/pdf.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAI3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAC,WAAW,EAAC,MAAM,qCAAqC,CAAC;AAOhE,MAAM,OAAO,kBAA8C,SAAQ,mBAAsB;IACrF,YAAY,EAAqB,EAAU,WAAwB;QAC/D,KAAK,CAAC,EAAE,CAAC,CAAC;QAD6B,gBAAW,GAAX,WAAW,CAAa;IAEnE,CAAC;IAED,gBAAgB,CAAC,IAAY;QACzB,OAAO;YACH,KAAK,EAAE,GAAG,EAAE;gBACR,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACvC,CAAC;SACJ,CAAA;IACL,CAAC
|
|
1
|
+
{"version":3,"file":"pdf.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/detail/pdf/pdf.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAI3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAC,WAAW,EAAC,MAAM,qCAAqC,CAAC;AAOhE,MAAM,OAAO,kBAA8C,SAAQ,mBAAsB;IACrF,YAAY,EAAqB,EAAU,WAAwB;QAC/D,KAAK,CAAC,EAAE,CAAC,CAAC;QAD6B,gBAAW,GAAX,WAAW,CAAa;IAEnE,CAAC;IAED,gBAAgB,CAAC,IAAY;QACzB,OAAO;YACH,KAAK,EAAE,GAAG,EAAE;gBACR,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;YACvC,CAAC;SACJ,CAAA;IACL,CAAC;;;;YAhBJ,SAAS,SAAC;gBACP,QAAQ,EAAE,kBAAkB;gBAC5B,sPAAmC;;aAEtC;;;;;;;;;;YAZO,iBAAiB;YAMjB,WAAW","sourcesContent":["import {ChangeDetectorRef, Component} from '@angular/core';\n\nimport {IEntity} from \"@smartsoft001/domain-core\";\n\nimport {DetailBaseComponent} from \"../base/base.component\";\nimport {IButtonOptions} from \"../../../models\";\nimport {FileService} from \"../../../services/file/file.service\";\n\n@Component({\n selector: 'smart-detail-pdf',\n templateUrl: './pdf.component.html',\n styleUrls: ['./pdf.component.scss']\n})\nexport class DetailPdfComponent<T extends IEntity<string>> extends DetailBaseComponent<T> {\n constructor(cd: ChangeDetectorRef, private fileService: FileService) {\n super(cd);\n }\n\n getButtonOptions(item: { id }): IButtonOptions {\n return {\n click: () => {\n this.fileService.download(item.id);\n }\n }\n }\n}\n"]}
|
|
@@ -2,6 +2,7 @@ import { Component } from '@angular/core';
|
|
|
2
2
|
import { DetailBaseComponent } from "../base/base.component";
|
|
3
3
|
export class DetailTextComponent extends DetailBaseComponent {
|
|
4
4
|
}
|
|
5
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
5
6
|
DetailTextComponent.decorators = [
|
|
6
7
|
{ type: Component, args: [{
|
|
7
8
|
selector: 'smart-detail-text',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/detail/text/text.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAO3D,MAAM,OAAO,mBAAuB,SAAQ,mBAAsB
|
|
1
|
+
{"version":3,"file":"text.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/detail/text/text.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAO3D,MAAM,OAAO,mBAAuB,SAAQ,mBAAsB;;;;YALjE,SAAS,SAAC;gBACT,QAAQ,EAAE,mBAAmB;gBAC7B,oJAAoC;;aAErC","sourcesContent":["import { Component } from '@angular/core';\n\nimport {DetailBaseComponent} from \"../base/base.component\";\n\n@Component({\n selector: 'smart-detail-text',\n templateUrl: './text.component.html',\n styleUrls: ['./text.component.scss']\n})\nexport class DetailTextComponent<T> extends DetailBaseComponent<T> {\n\n}\n"]}
|
|
@@ -10,6 +10,7 @@ export class DetailVideoComponent extends DetailBaseComponent {
|
|
|
10
10
|
return this.fileService.getUrl(item.id);
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
13
14
|
DetailVideoComponent.decorators = [
|
|
14
15
|
{ type: Component, args: [{
|
|
15
16
|
selector: 'smart-detail-video',
|
|
@@ -17,7 +18,13 @@ DetailVideoComponent.decorators = [
|
|
|
17
18
|
styles: [""]
|
|
18
19
|
},] }
|
|
19
20
|
];
|
|
20
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* @type {function(): !Array<(null|{
|
|
23
|
+
* type: ?,
|
|
24
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
25
|
+
* })>}
|
|
26
|
+
* @nocollapse
|
|
27
|
+
*/
|
|
21
28
|
DetailVideoComponent.ctorParameters = () => [
|
|
22
29
|
{ type: ChangeDetectorRef },
|
|
23
30
|
{ type: FileService }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"video.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/detail/video/video.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAI3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,qCAAqC,CAAC;AAOhE,MAAM,OAAO,oBAAgD,SAAQ,mBAAsB;IACvF,YAAY,EAAqB,EAAU,WAAwB;QAC/D,KAAK,CAAC,EAAE,CAAC,CAAC;QAD6B,gBAAW,GAAX,WAAW,CAAa;IAEnE,CAAC;IAED,MAAM,CAAC,IAAoB;QACvB,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC
|
|
1
|
+
{"version":3,"file":"video.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/detail/video/video.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,eAAe,CAAC;AAI3D,OAAO,EAAC,mBAAmB,EAAC,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAC,WAAW,EAAC,MAAM,qCAAqC,CAAC;AAOhE,MAAM,OAAO,oBAAgD,SAAQ,mBAAsB;IACvF,YAAY,EAAqB,EAAU,WAAwB;QAC/D,KAAK,CAAC,EAAE,CAAC,CAAC;QAD6B,gBAAW,GAAX,WAAW,CAAa;IAEnE,CAAC;IAED,MAAM,CAAC,IAAoB;QACvB,OAAO,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;IAC5C,CAAC;;;;YAZJ,SAAS,SAAC;gBACP,QAAQ,EAAE,oBAAoB;gBAC9B,0SAAqC;;aAExC;;;;;;;;;;YAXO,iBAAiB;YAKjB,WAAW","sourcesContent":["import {ChangeDetectorRef, Component} from '@angular/core';\n\nimport {IEntity} from \"@smartsoft001/domain-core\";\n\nimport {DetailBaseComponent} from \"../base/base.component\";\nimport {FileService} from \"../../../services/file/file.service\";\n\n@Component({\n selector: 'smart-detail-video',\n templateUrl: './video.component.html',\n styleUrls: ['./video.component.scss']\n})\nexport class DetailVideoComponent<T extends IEntity<string>> extends DetailBaseComponent<T> {\n constructor(cd: ChangeDetectorRef, private fileService: FileService) {\n super(cd);\n }\n\n getUrl(item: { id: string }): string {\n return this.fileService.getUrl(item.id);\n }\n}\n"]}
|
|
@@ -74,13 +74,21 @@ export class DetailsBaseComponent {
|
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
77
78
|
DetailsBaseComponent.decorators = [
|
|
78
79
|
{ type: Directive }
|
|
79
80
|
];
|
|
80
|
-
/**
|
|
81
|
+
/**
|
|
82
|
+
* @type {function(): !Array<(null|{
|
|
83
|
+
* type: ?,
|
|
84
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
85
|
+
* })>}
|
|
86
|
+
* @nocollapse
|
|
87
|
+
*/
|
|
81
88
|
DetailsBaseComponent.ctorParameters = () => [
|
|
82
89
|
{ type: AuthService }
|
|
83
90
|
];
|
|
91
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
84
92
|
DetailsBaseComponent.propDecorators = {
|
|
85
93
|
topTpl: [{ type: ViewChild, args: ["topTpl", { read: ViewContainerRef, static: true },] }],
|
|
86
94
|
bottomTpl: [{ type: ViewChild, args: ["bottomTpl", { read: ViewContainerRef, static: true },] }],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/details/base/base.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,EACL,SAAS,EACT,gBAAgB,EAChB,SAAS,GACV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,OAAO,EACL,yBAAyB,GAI1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAG1E,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAGlE,MAAM,OAAgB,oBAAoB;IAiFxC,YAAoB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IAAG,CAAC;IAzEhD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAWD,IAAa,OAAO,CAAC,GAAuB;QAC1C,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC;QAEtB,MAAM,kBAAkB,GAAiD,EAAE,CAAC;QAE5E,IAAI,CAAC,OAAO,GAAG,yBAAyB,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;aACvD,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;aAChC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;YAChB,IAAK,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,OAAO,EAAE;gBAC5D,kBAAkB,CAAC,IAAI,CAAC;oBACtB,GAAG,EAAE,KAAK,CAAC,GAAG;oBACd,IAAI,EAAG,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,OAAO;iBAC/D,CAAC,CAAC;aACJ;iBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE;gBAChC,kBAAkB,CAAC,IAAI,CAAC;oBACtB,GAAG,EAAE,KAAK,CAAC,GAAG;oBACd,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO;iBAC5B,CAAC,CAAC;aACJ;YAED,IACG,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,WAAW;gBAC5D,CAAC,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAChC,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,WAAW,CAC7D,EACD;gBACA,OAAO,KAAK,CAAC;aACd;YAED,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QACL,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,CACzB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACX,IAAI,CAAC,IAAI;gBAAE,OAAO,IAAI,CAAC;YAEvB,IAAI,MAAM,GAAG,IAAI,CAAC;YAElB,IAAI,IAAI,YAAY,GAAG,CAAC,IAAI;gBAAE,MAAM,GAAG,IAAI,CAAC;;gBACvC,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;YAEzD,MAAM,YAAY,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;gBACrD,OAAO,oBAAoB,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAEvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YAEhF,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CACH,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC7B,IAAI,CAAC,kBAAkB,GAAG,GAAG,CAAC,kBAAkB,CAAC;QACjD,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAE7B,IAAI,CAAC,yBAAyB,EAAE,CAAC;IACnC,CAAC;IAID,eAAe;QACb,IAAI,CAAC,yBAAyB,EAAE,CAAC;IACnC,CAAC;IAES,yBAAyB;QACjC,IAAI,CAAC,IAAI,CAAC,kBAAkB;YAAE,OAAO;QAErC,IAAI,IAAI,CAAC,kBAAkB,CAAC,GAAG,IAAI,IAAI,CAAC,MAAM,EAAE;YAC9C,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;gBACvB,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC;aAC1D;SACF;QAED,IAAI,IAAI,CAAC,kBAAkB,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE;YACpD,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;gBAC1B,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;aAChE;SACF;IACH,CAAC
|
|
1
|
+
{"version":3,"file":"base.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/details/base/base.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,EACL,SAAS,EACT,gBAAgB,EAChB,SAAS,GACV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AAErC,OAAO,EACL,yBAAyB,GAI1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAG1E,OAAO,EAAE,WAAW,EAAE,MAAM,qCAAqC,CAAC;AAGlE,MAAM,OAAgB,oBAAoB;IAiFxC,YAAoB,WAAwB;QAAxB,gBAAW,GAAX,WAAW,CAAa;IAAG,CAAC;IAzEhD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAWD,IAAa,OAAO,CAAC,GAAuB;QAC1C,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,IAAI,CAAC;QAEtB,MAAM,kBAAkB,GAAiD,EAAE,CAAC;QAE5E,IAAI,CAAC,OAAO,GAAG,yBAAyB,CAAC,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;aACvD,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC;aAChC,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;YAChB,IAAK,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,OAAO,EAAE;gBAC5D,kBAAkB,CAAC,IAAI,CAAC;oBACtB,GAAG,EAAE,KAAK,CAAC,GAAG;oBACd,IAAI,EAAG,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,OAAO;iBAC/D,CAAC,CAAC;aACJ;iBAAM,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,EAAE;gBAChC,kBAAkB,CAAC,IAAI,CAAC;oBACtB,GAAG,EAAE,KAAK,CAAC,GAAG;oBACd,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,OAAO;iBAC5B,CAAC,CAAC;aACJ;YAED,IACG,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,WAAW;gBAC5D,CAAC,IAAI,CAAC,WAAW,CAAC,iBAAiB,CAChC,KAAK,CAAC,OAAO,CAAC,OAAiC,CAAC,WAAW,CAC7D,EACD;gBACA,OAAO,KAAK,CAAC;aACd;YAED,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;QACL,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,IAAI,CACzB,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YACX,IAAI,CAAC,IAAI;gBAAE,OAAO,IAAI,CAAC;YAEvB,IAAI,MAAM,GAAG,IAAI,CAAC;YAElB,IAAI,IAAI,YAAY,GAAG,CAAC,IAAI;gBAAE,MAAM,GAAG,IAAI,CAAC;;gBACvC,MAAM,GAAG,aAAa,CAAC,YAAY,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;YAEzD,MAAM,YAAY,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE;gBACrD,OAAO,oBAAoB,CAAC,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;YACxD,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;YAEvB,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;YAEhF,OAAO,MAAM,CAAC;QAChB,CAAC,CAAC,CACH,CAAC;QACF,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC7B,IAAI,CAAC,kBAAkB,GAAG,GAAG,CAAC,kBAAkB,CAAC;QACjD,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAE7B,IAAI,CAAC,yBAAyB,EAAE,CAAC;IACnC,CAAC;IAID,eAAe;QACb,IAAI,CAAC,yBAAyB,EAAE,CAAC;IACnC,CAAC;IAES,yBAAyB;QACjC,IAAI,CAAC,IAAI,CAAC,kBAAkB;YAAE,OAAO;QAErC,IAAI,IAAI,CAAC,kBAAkB,CAAC,GAAG,IAAI,IAAI,CAAC,MAAM,EAAE;YAC9C,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;gBACvB,IAAI,CAAC,MAAM,CAAC,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,CAAC;aAC1D;SACF;QAED,IAAI,IAAI,CAAC,kBAAkB,CAAC,MAAM,IAAI,IAAI,CAAC,SAAS,EAAE;YACpD,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE;gBAC1B,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,IAAI,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;aAChE;SACF;IACH,CAAC;;;;YAtGF,SAAS;;;;;;;;;;YAFD,WAAW;;;;qBAsBjB,SAAS,SAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE;wBAG5D,SAAS,SAAC,WAAW,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,EAAE,IAAI,EAAE;sBAG/D,KAAK","sourcesContent":["import {\n AfterViewInit,\n Input,\n ViewChild,\n ViewContainerRef,\n Directive,\n} from \"@angular/core\";\nimport { Observable } from \"rxjs\";\nimport { map } from \"rxjs/operators\";\n\nimport {\n getModelFieldsWithOptions,\n IFieldDetailsMetadata,\n IFieldOptions,\n ISpecification,\n} from \"@smartsoft001/models\";\nimport { IEntity } from \"@smartsoft001/domain-core\";\nimport { ObjectService, SpecificationService } from \"@smartsoft001/utils\";\n\nimport {ICellPipe, IDetailsComponentFactories, IDetailsOptions} from \"../../../models\";\nimport { AuthService } from \"../../../services/auth/auth.service\";\n\n@Directive()\nexport abstract class DetailsBaseComponent<T extends IEntity<string>>\n implements AfterViewInit {\n private _fields: Array<{ key: string; options: IFieldOptions }>;\n private _type: any;\n\n componentFactories: IDetailsComponentFactories<T>;\n cellPipe: ICellPipe<T>;\n\n get fields(): Array<{ key: string; options: IFieldOptions }> {\n return this._fields;\n }\n\n get type(): any {\n return this._type;\n }\n\n item$: Observable<T>;\n loading$: Observable<boolean>;\n\n @ViewChild(\"topTpl\", { read: ViewContainerRef, static: true })\n topTpl: ViewContainerRef;\n\n @ViewChild(\"bottomTpl\", { read: ViewContainerRef, static: true })\n bottomTpl: ViewContainerRef;\n\n @Input() set options(obj: IDetailsOptions<T>) {\n this._type = obj.type;\n\n const enabledDefinitions: Array<{ key: string; spec: ISpecification }> = [];\n\n this._fields = getModelFieldsWithOptions(new this._type())\n .filter((f) => f.options.details)\n .filter((field) => {\n if ((field.options.details as IFieldDetailsMetadata).enabled) {\n enabledDefinitions.push({\n key: field.key,\n spec: (field.options.details as IFieldDetailsMetadata).enabled,\n });\n } else if (field.options.enabled) {\n enabledDefinitions.push({\n key: field.key,\n spec: field.options.enabled,\n });\n }\n\n if (\n (field.options.details as IFieldDetailsMetadata).permissions &&\n !this.authService.expectPermissions(\n (field.options.details as IFieldDetailsMetadata).permissions\n )\n ) {\n return false;\n }\n\n return true;\n });\n this.item$ = obj.item$.pipe(\n map((item) => {\n if (!item) return item;\n\n let result = null;\n\n if (item instanceof obj.type) result = item;\n else result = ObjectService.createByType(item, obj.type);\n\n const removeFields = enabledDefinitions.filter((def) => {\n return SpecificationService.invalid(result, def.spec);\n }).map(def => def.key);\n\n this._fields = this._fields.filter(f => !removeFields.some(rf => rf === f.key));\n\n return result;\n })\n );\n this.loading$ = obj.loading$;\n this.componentFactories = obj.componentFactories;\n this.cellPipe = obj.cellPipe;\n\n this.generateDynamicComponents();\n }\n\n constructor(private authService: AuthService) {}\n\n ngAfterViewInit(): void {\n this.generateDynamicComponents();\n }\n\n protected generateDynamicComponents(): void {\n if (!this.componentFactories) return;\n\n if (this.componentFactories.top && this.topTpl) {\n if (!this.topTpl.get(0)) {\n this.topTpl.createComponent(this.componentFactories.top);\n }\n }\n\n if (this.componentFactories.bottom && this.bottomTpl) {\n if (!this.bottomTpl.get(0)) {\n this.bottomTpl.createComponent(this.componentFactories.bottom);\n }\n }\n }\n}\n"]}
|
|
@@ -19,6 +19,7 @@ export class DetailsComponent {
|
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
22
23
|
DetailsComponent.decorators = [
|
|
23
24
|
{ type: Component, args: [{
|
|
24
25
|
selector: "smart-details",
|
|
@@ -31,6 +32,7 @@ DetailsComponent.decorators = [
|
|
|
31
32
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
32
33
|
},] }
|
|
33
34
|
];
|
|
35
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
34
36
|
DetailsComponent.propDecorators = {
|
|
35
37
|
options: [{ type: Input }]
|
|
36
38
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/details/details.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAelC,MAAM,OAAO,gBAAgB;IAV7B;QAYU,kBAAa,GAAG,IAAI,YAAY,EAAE,CAAC;IAoB7C,CAAC;IAhBC,IAAa,OAAO,CAAC,GAAuB;QAC1C,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;QAEpB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE;YAC1D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC,CAAC,CAAC;IACN,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,WAAW;QACT,IAAI,IAAI,CAAC,aAAa,EAAC;YACrB,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;SAClC;IACH,CAAC
|
|
1
|
+
{"version":3,"file":"details.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/details/details.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,EACT,KAAK,GACN,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,YAAY,EAAC,MAAM,MAAM,CAAC;AAelC,MAAM,OAAO,gBAAgB;IAV7B;QAYU,kBAAa,GAAG,IAAI,YAAY,EAAE,CAAC;IAoB7C,CAAC;IAhBC,IAAa,OAAO,CAAC,GAAuB;QAC1C,IAAI,CAAC,QAAQ,GAAG,GAAG,CAAC;QAEpB,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE;YAC1D,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACnB,CAAC,CAAC,CAAC,CAAC;IACN,CAAC;IACD,IAAI,OAAO;QACT,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,WAAW;QACT,IAAI,IAAI,CAAC,aAAa,EAAC;YACrB,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;SAClC;IACH,CAAC;;;;YA/BF,SAAS,SAAC;gBACT,QAAQ,EAAE,eAAe;gBACzB,QAAQ,EAAE;;;;;GAKT;gBACD,eAAe,EAAE,uBAAuB,CAAC,MAAM;aAChD;;;;sBAOE,KAAK","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Input, OnDestroy,\n} from \"@angular/core\";\nimport {Subscription} from \"rxjs\";\n\nimport { IDetailsOptions } from \"../../models\";\nimport {IEntity} from \"@smartsoft001/domain-core\";\n\n@Component({\n selector: \"smart-details\",\n template: `\n <smart-details-standard\n *ngIf=\"options\"\n [options]=\"options\"\n ></smart-details-standard>\n `,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class DetailsComponent<T extends IEntity<string>> implements OnDestroy {\n private _options: IDetailsOptions<T>;\n private _subscription = new Subscription();\n\n item: T;\n\n @Input() set options(val: IDetailsOptions<T>) {\n this._options = val;\n\n this._subscription.add(this._options.item$.subscribe(item => {\n this.item = item;\n }));\n }\n get options(): IDetailsOptions<T> {\n return this._options;\n }\n\n ngOnDestroy(): void {\n if (this._subscription){\n this._subscription.unsubscribe();\n }\n }\n}\n"]}
|
|
@@ -3,12 +3,13 @@ import { DetailsBaseComponent } from "../base/base.component";
|
|
|
3
3
|
export class DetailsStandardComponent extends DetailsBaseComponent {
|
|
4
4
|
ngOnInit() { }
|
|
5
5
|
}
|
|
6
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
6
7
|
DetailsStandardComponent.decorators = [
|
|
7
8
|
{ type: Component, args: [{
|
|
8
9
|
selector: "smart-details-standard",
|
|
9
10
|
template: "<ion-list>\n <div #topTpl class=\"top-content\"></div>\n\n <smart-card>\n <smart-detail *ngFor=\"let field of fields\" [type]=\"type\" [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe,\n item$: item$,\n loading$: loading$\n }\">\n </smart-detail>\n </smart-card>\n\n <div #bottomTpl class=\"bottom-content\"></div>\n</ion-list>",
|
|
10
11
|
changeDetection: ChangeDetectionStrategy.Default,
|
|
11
|
-
styles: [":root{--smart-color-primary:#0f4c81;--smart-color-primary-rgb:15,76,129;--smart-color-primary-contrast:#fff;--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:#fff;--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:#fff;--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:#fff;--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:#000;--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:#fff;--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:#fff;--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:#fff;--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:#000;--smart-color-light-contrast-rgb:0,0,0;--smart-color-light-shade:#d7d8da;--smart-color-light-tint:#f5f6f9;--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;--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;--smart-phone-breakpoint:420px;--smart-tablet-breakpoint:860px}@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\")}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat 50%}: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,.md body{--ion-background-color:#fff;--ion-background-color-rgb:255,255,255;--ion-text-color:#000;--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:#ccc;--ion-color-step-250:#bfbfbf;--ion-color-step-300:#b3b3b3;--ion-color-step-350:#a6a6a6;--ion-color-step-400:#999;--ion-color-step-450:#8c8c8c;--ion-color-step-500:grey;--ion-color-step-550:#737373;--ion-color-step-600:#666;--ion-color-step-650:#595959;--ion-color-step-700:#4d4d4d;--ion-color-step-750:#404040;--ion-color-step-800:#333;--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:700;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)}.mat-stepper-next,.mat-stepper-previous{height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{border:.1rem solid #dedede;color:#777;margin-right:.6rem}tr.mat-row:nth-child(2n){background-color:#fdfdfd}tr.mat-row:hover{background-color:rgba(15,76,129,.05)!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}smart-loader{margin-left:auto!important;margin-right:auto!important}.bottom-content,.top-content{font-size:1.2rem;padding:.6rem 0}.bottom-content:empty,.top-content:empty{padding:0}ion-list{margin:0;padding:0!important}"]
|
|
12
|
+
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}tr.mat-row:nth-child(even){background-color:#fdfdfd}tr.mat-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}smart-loader{margin-left:auto!important;margin-right:auto!important}.top-content,.bottom-content{font-size:1.2rem;padding:.6rem 0}.top-content:empty,.bottom-content:empty{padding:0}ion-list{margin:0;padding:0!important}\n"]
|
|
12
13
|
},] }
|
|
13
14
|
];
|
|
14
15
|
//# sourceMappingURL=standard.component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standard.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/details/standard/standard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,GAGV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAS9D,MAAM,OAAO,wBACX,SAAQ,oBAAuB;IAE/B,QAAQ,KAAI,CAAC
|
|
1
|
+
{"version":3,"file":"standard.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/details/standard/standard.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,SAAS,GAGV,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAS9D,MAAM,OAAO,wBACX,SAAQ,oBAAuB;IAE/B,QAAQ,KAAI,CAAC;;;;YATd,SAAS,SAAC;gBACT,QAAQ,EAAE,wBAAwB;gBAClC,qbAAwC;gBAExC,eAAe,EAAE,uBAAuB,CAAC,OAAO;;aACjD","sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n OnInit,\n ViewEncapsulation,\n} from \"@angular/core\";\n\nimport { DetailsBaseComponent } from \"../base/base.component\";\nimport { IEntity } from \"@smartsoft001/domain-core\";\n\n@Component({\n selector: \"smart-details-standard\",\n templateUrl: \"./standard.component.html\",\n styleUrls: [\"./standard.component.scss\"],\n changeDetection: ChangeDetectionStrategy.Default,\n})\nexport class DetailsStandardComponent<T extends IEntity<string>>\n extends DetailsBaseComponent<T>\n implements OnInit {\n ngOnInit() {}\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"DetailsStandardComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base/base.component","name":"DetailsBaseComponent","line":17,"character":10},"arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"smart-details-standard","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":14,"character":19},"member":"Default"},"template":"<ion-list>\n <div #topTpl class=\"top-content\"></div>\n\n <smart-card>\n <smart-detail *ngFor=\"let field of fields\" [type]=\"type\" [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe,\n item$: item$,\n loading$: loading$\n }\">\n </smart-detail>\n </smart-card>\n\n <div #bottomTpl class=\"bottom-content\"></div>\n</ion-list>","styles":[":root{--smart-color-primary:#0f4c81;--smart-color-primary-rgb:15,76,129;--smart-color-primary-contrast:#fff;--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:#fff;--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:#fff;--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:#fff;--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:#000;--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:#fff;--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:#fff;--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:#fff;--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:#000;--smart-color-light-contrast-rgb:0,0,0;--smart-color-light-shade:#d7d8da;--smart-color-light-tint:#f5f6f9;--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;--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;--smart-phone-breakpoint:420px;--smart-tablet-breakpoint:860px}@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\")}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat 50%}: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,.md body{--ion-background-color:#fff;--ion-background-color-rgb:255,255,255;--ion-text-color:#000;--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:#ccc;--ion-color-step-250:#bfbfbf;--ion-color-step-300:#b3b3b3;--ion-color-step-350:#a6a6a6;--ion-color-step-400:#999;--ion-color-step-450:#8c8c8c;--ion-color-step-500:grey;--ion-color-step-550:#737373;--ion-color-step-600:#666;--ion-color-step-650:#595959;--ion-color-step-700:#4d4d4d;--ion-color-step-750:#404040;--ion-color-step-800:#333;--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:700;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)}.mat-stepper-next,.mat-stepper-previous{height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{border:.1rem solid #dedede;color:#777;margin-right:.6rem}tr.mat-row:nth-child(2n){background-color:#fdfdfd}tr.mat-row:hover{background-color:rgba(15,76,129,.05)!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}smart-loader{margin-left:auto!important;margin-right:auto!important}.bottom-content,.top-content{font-size:1.2rem;padding:.6rem 0}.bottom-content:empty,.top-content:empty{padding:0}ion-list{margin:0;padding:0!important}"]}]}],"members":{"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"DetailsStandardComponent":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"../base/base.component","name":"DetailsBaseComponent","line":17,"character":10},"arity":1,"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"smart-details-standard","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":14,"character":19},"member":"Default"},"template":"<ion-list>\n <div #topTpl class=\"top-content\"></div>\n\n <smart-card>\n <smart-detail *ngFor=\"let field of fields\" [type]=\"type\" [options]=\"{\n key: field.key,\n options: field.options,\n cellPipe: cellPipe,\n item$: item$,\n loading$: loading$\n }\">\n </smart-detail>\n </smart-card>\n\n <div #bottomTpl class=\"bottom-content\"></div>\n</ion-list>","styles":[":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:\"SF Display\";font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:\"SF Display\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:\"SF Display\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:\"SF Display\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:\"SF Display\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:\"SF Display\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:\"SF Display\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:\"SF Display\";font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:\"SF Display\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:\"SF Text\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:\"SF Text\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:\"SF Text\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:\"SF Text\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:\"SF Text\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:\"SF Text\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:\"SF Text\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:\"SF Text\";font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size: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}tr.mat-row:nth-child(even){background-color:#fdfdfd}tr.mat-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.mat-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.mat-cell:last-child{border-right:0}td.mat-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important}th.mat-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .mat-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}smart-loader{margin-left:auto!important;margin-right:auto!important}.top-content,.bottom-content{font-size:1.2rem;padding:.6rem 0}.top-content:empty,.bottom-content:empty{padding:0}ion-list{margin:0;padding:0!important}\n"]}]}],"members":{"ngOnInit":[{"__symbolic":"method"}]}}}}]
|
|
@@ -9,17 +9,25 @@ export class DynamicComponent {
|
|
|
9
9
|
this.vf.createComponent(resolver);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
12
13
|
DynamicComponent.decorators = [
|
|
13
14
|
{ type: Component, args: [{
|
|
14
15
|
selector: "smart-dynamic",
|
|
15
16
|
template: ` <ng-template #tpl></ng-template> `
|
|
16
17
|
},] }
|
|
17
18
|
];
|
|
18
|
-
/**
|
|
19
|
+
/**
|
|
20
|
+
* @type {function(): !Array<(null|{
|
|
21
|
+
* type: ?,
|
|
22
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
23
|
+
* })>}
|
|
24
|
+
* @nocollapse
|
|
25
|
+
*/
|
|
19
26
|
DynamicComponent.ctorParameters = () => [
|
|
20
27
|
{ type: ViewContainerRef },
|
|
21
28
|
{ type: ComponentFactoryResolver }
|
|
22
29
|
];
|
|
30
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
23
31
|
DynamicComponent.propDecorators = {
|
|
24
32
|
component: [{ type: Input }]
|
|
25
33
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/dynamic/dynamic.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,wBAAwB,EACxB,KAAK,EACL,gBAAgB,GACjB,MAAM,eAAe,CAAC;AAMvB,MAAM,OAAO,gBAAgB;IAC3B,YACU,EAAoB,EACpB,wBAAkD;QADlD,OAAE,GAAF,EAAE,CAAkB;QACpB,6BAAwB,GAAxB,wBAAwB,CAA0B;IACzD,CAAC;IAEJ,IAAa,SAAS,CAAC,GAAQ;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;QAC5E,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC
|
|
1
|
+
{"version":3,"file":"dynamic.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/dynamic/dynamic.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,wBAAwB,EACxB,KAAK,EACL,gBAAgB,GACjB,MAAM,eAAe,CAAC;AAMvB,MAAM,OAAO,gBAAgB;IAC3B,YACU,EAAoB,EACpB,wBAAkD;QADlD,OAAE,GAAF,EAAE,CAAkB;QACpB,6BAAwB,GAAxB,wBAAwB,CAA0B;IACzD,CAAC;IAEJ,IAAa,SAAS,CAAC,GAAQ;QAC7B,MAAM,QAAQ,GAAG,IAAI,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;QAC5E,IAAI,CAAC,EAAE,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC;IACpC,CAAC;;;;YAbF,SAAS,SAAC;gBACT,QAAQ,EAAE,eAAe;gBACzB,QAAQ,EAAE,oCAAoC;aAC/C;;;;;;;;;;YANC,gBAAgB;YAFhB,wBAAwB;;;;wBAevB,KAAK","sourcesContent":["import {\n Component,\n ComponentFactoryResolver,\n Input,\n ViewContainerRef,\n} from \"@angular/core\";\n\n@Component({\n selector: \"smart-dynamic\",\n template: ` <ng-template #tpl></ng-template> `,\n})\nexport class DynamicComponent {\n constructor(\n private vf: ViewContainerRef,\n private componentFactoryResolver: ComponentFactoryResolver\n ) {}\n\n @Input() set component(val: any) {\n const resolver = this.componentFactoryResolver.resolveComponentFactory(val);\n this.vf.createComponent(resolver);\n }\n}\n"]}
|
|
@@ -14,6 +14,7 @@ export class ErrorContextComponent extends BaseComponent {
|
|
|
14
14
|
super.ngOnDestroy();
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
17
18
|
ErrorContextComponent.decorators = [
|
|
18
19
|
{ type: Component, args: [{
|
|
19
20
|
selector: "smart-error-context",
|
|
@@ -21,7 +22,13 @@ ErrorContextComponent.decorators = [
|
|
|
21
22
|
styles: [""]
|
|
22
23
|
},] }
|
|
23
24
|
];
|
|
24
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* @type {function(): !Array<(null|{
|
|
27
|
+
* type: ?,
|
|
28
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
29
|
+
* })>}
|
|
30
|
+
* @nocollapse
|
|
31
|
+
*/
|
|
25
32
|
ErrorContextComponent.ctorParameters = () => [
|
|
26
33
|
{ type: ToastService }
|
|
27
34
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"error-context.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/error-context/error-context.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAoB,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAC,YAAY,EAAC,MAAM,oCAAoC,CAAC;AAOhE,MAAM,OAAO,qBAAsB,SAAQ,aAAa;IACtD,YAAoB,YAA0B;QAC5C,KAAK,EAAE,CAAC;QADU,iBAAY,GAAZ,YAAY,CAAc;IAE9C,CAAC;IAED,QAAQ;QACJ,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;IACrC,CAAC;IAEC,WAAW;QACT,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,CAAC;QACpC,KAAK,CAAC,WAAW,EAAE,CAAC;IACxB,CAAC
|
|
1
|
+
{"version":3,"file":"error-context.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/error-context/error-context.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAoB,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAC,YAAY,EAAC,MAAM,oCAAoC,CAAC;AAOhE,MAAM,OAAO,qBAAsB,SAAQ,aAAa;IACtD,YAAoB,YAA0B;QAC5C,KAAK,EAAE,CAAC;QADU,iBAAY,GAAZ,YAAY,CAAc;IAE9C,CAAC;IAED,QAAQ;QACJ,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;IACrC,CAAC;IAEC,WAAW;QACT,IAAI,CAAC,YAAY,CAAC,eAAe,EAAE,CAAC;QACpC,KAAK,CAAC,WAAW,EAAE,CAAC;IACxB,CAAC;;;;YAjBF,SAAS,SAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,qCAA6C;;aAE9C;;;;;;;;;;YANO,YAAY","sourcesContent":["import {Component, OnDestroy, OnInit} from \"@angular/core\";\n\nimport {BaseComponent} from \"../base/base.component\";\nimport {ToastService} from \"../../services/toast/toast.service\";\n\n@Component({\n selector: \"smart-error-context\",\n templateUrl: \"./error-context.component.html\",\n styleUrls: [\"./error-context.component.scss\"],\n})\nexport class ErrorContextComponent extends BaseComponent implements OnDestroy, OnInit {\n constructor(private toastService: ToastService) {\n super();\n }\n\n ngOnInit() {\n this.toastService.addLockError();\n }\n\n ngOnDestroy() {\n this.toastService.removeLockError();\n super.ngOnDestroy();\n }\n}\n"]}
|
|
@@ -16,15 +16,23 @@ export class ExportComponent {
|
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
19
20
|
ExportComponent.decorators = [
|
|
20
21
|
{ type: Component, args: [{
|
|
21
22
|
selector: "smart-export",
|
|
22
23
|
template: "<ion-button title=\"export\" (click)=\"onClick()\" slot=\"icon-only\">\n <ion-icon name=\"download\"></ion-icon>\n</ion-button>\n",
|
|
23
|
-
styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}"]
|
|
24
|
+
styles: [":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"]
|
|
24
25
|
},] }
|
|
25
26
|
];
|
|
26
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* @type {function(): !Array<(null|{
|
|
29
|
+
* type: ?,
|
|
30
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
31
|
+
* })>}
|
|
32
|
+
* @nocollapse
|
|
33
|
+
*/
|
|
27
34
|
ExportComponent.ctorParameters = () => [];
|
|
35
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
28
36
|
ExportComponent.propDecorators = {
|
|
29
37
|
value: [{ type: Input }],
|
|
30
38
|
fileName: [{ type: Input }],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"export.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/export/export.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAA0B,SAAS,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AAOxE,MAAM,OAAO,eAAe;IAMxB,gBAAgB,CAAC;IAEX,OAAO;;YACT,IAAI,IAAI,CAAC,OAAO,EAAE;gBACd,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACzB,OAAO;aACV;YAED,iBAAiB;YACjB,8CAA8C;YAC9C,0DAA0D;YAC1D,yBAAyB;YACzB,KAAK;QACT,CAAC;KAAA
|
|
1
|
+
{"version":3,"file":"export.component.js","sourceRoot":"","sources":["../../../../../../../../libs/shared/angular/src/lib/components/export/export.component.ts"],"names":[],"mappings":";AAAA,OAAO,EAA0B,SAAS,EAAE,KAAK,EAAC,MAAM,eAAe,CAAC;AAOxE,MAAM,OAAO,eAAe;IAMxB,gBAAgB,CAAC;IAEX,OAAO;;YACT,IAAI,IAAI,CAAC,OAAO,EAAE;gBACd,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACzB,OAAO;aACV;YAED,iBAAiB;YACjB,8CAA8C;YAC9C,0DAA0D;YAC1D,yBAAyB;YACzB,KAAK;QACT,CAAC;KAAA;;;;YAxBJ,SAAS,SAAC;gBACP,QAAQ,EAAE,cAAc;gBACxB,gJAAsC;;aAEzC;;;;;;;;;;;;oBAGI,KAAK;uBACL,KAAK;sBACL,KAAK","sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from \"@angular/core\";\n\n@Component({\n selector: \"smart-export\",\n templateUrl: \"./export.component.html\",\n styleUrls: [\"./export.component.scss\"]\n})\nexport class ExportComponent {\n\n @Input() value: any;\n @Input() fileName: string;\n @Input() handler: (value) => void;\n\n constructor() { }\n\n async onClick(): Promise<void> {\n if (this.handler) {\n this.handler(this.value);\n return;\n }\n\n // this.download(\n // JSON.stringify(this.value, null, \"\\t\"),\n // (this.fileName ? this.fileName : 'data') + '.json',\n // 'application/json'\n // );\n }\n\n // private download(text, name, type): void {\n // const file = new Blob([text], {type: type});\n // // @ts-ignore\n // const isIE = /*@cc_on!@*/false || !!document.documentMode;\n // if (isIE) {\n // window.navigator.msSaveOrOpenBlob(file, name);\n // } else {\n // const a = document.createElement('a');\n // a.href = URL.createObjectURL(file);\n // a.download = name;\n // a.click();\n // }\n // }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"__symbolic":"module","version":4,"metadata":{"ExportComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"smart-export","template":"<ion-button title=\"export\" (click)=\"onClick()\" slot=\"icon-only\">\n <ion-icon name=\"download\"></ion-icon>\n</ion-button>\n","styles":[":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}"]}]}],"members":{"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5}}]}],"fileName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"handler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor"}],"onClick":[{"__symbolic":"method"}]}}}}]
|
|
1
|
+
[{"__symbolic":"module","version":4,"metadata":{"ExportComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"smart-export","template":"<ion-button title=\"export\" (click)=\"onClick()\" slot=\"icon-only\">\n <ion-icon name=\"download\"></ion-icon>\n</ion-button>\n","styles":[":host{cursor:pointer;font-size:3rem;height:3rem;margin:10px}\n"]}]}],"members":{"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":5}}]}],"fileName":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":5}}]}],"handler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor"}],"onClick":[{"__symbolic":"method"}]}}}}]
|
|
@@ -50,13 +50,21 @@ export class FormBaseComponent extends BaseComponent {
|
|
|
50
50
|
afterSetOptions() { }
|
|
51
51
|
afterSetForm() { }
|
|
52
52
|
}
|
|
53
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
53
54
|
FormBaseComponent.decorators = [
|
|
54
55
|
{ type: Directive }
|
|
55
56
|
];
|
|
56
|
-
/**
|
|
57
|
+
/**
|
|
58
|
+
* @type {function(): !Array<(null|{
|
|
59
|
+
* type: ?,
|
|
60
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
61
|
+
* })>}
|
|
62
|
+
* @nocollapse
|
|
63
|
+
*/
|
|
57
64
|
FormBaseComponent.ctorParameters = () => [
|
|
58
65
|
{ type: ChangeDetectorRef }
|
|
59
66
|
];
|
|
67
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
60
68
|
FormBaseComponent.propDecorators = {
|
|
61
69
|
form: [{ type: Input }],
|
|
62
70
|
options: [{ type: Input }],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/form/base/base.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAQ,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAa,YAAY,EAAC,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAIrC,OAAO,EAAC,aAAa,EAAC,MAAM,2BAA2B,CAAC;AAGxD,MAAM,OAAgB,iBAAqB,SAAQ,aAAa;IAkE9D,YAAsB,EAAqB;QACzC,KAAK,EAAE,CAAC;QADY,OAAE,GAAF,EAAE,CAAmB;QAFjC,iBAAY,GAAG,IAAI,YAAY,EAAE,CAAC;IAI5C,CAAC;IAvDD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,aAAa;QAGf,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAED,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAED,IAAa,IAAI,CAAC,GAAc;QAC9B,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;SAClC;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,YAAY,EAAE,CAAC;QAExC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAEhD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAC/C,KAAK,CAAC,CAAC,CAAC,CACX,CAAC,SAAS,CAAC,GAAG,EAAE;YACf,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC,CAAC;QAEJ,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IACD,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAa,OAAO,CAAC,GAAoB;QACrC,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;QACjE,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;QAEvE,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAE/B,IAAI,CAAC,eAAe,EAAE,CAAC;IAC3B,CAAC;IAQD,MAAM;QACJ,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IAES,eAAe,KAAW,CAAC;IAE3B,YAAY,KAAW,CAAC
|
|
1
|
+
{"version":3,"file":"base.component.js","sourceRoot":"","sources":["../../../../../../../../../libs/shared/angular/src/lib/components/form/base/base.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAQ,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAC9F,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AACzC,OAAO,EAAa,YAAY,EAAC,MAAM,MAAM,CAAC;AAC9C,OAAO,EAAC,KAAK,EAAC,MAAM,gBAAgB,CAAC;AAIrC,OAAO,EAAC,aAAa,EAAC,MAAM,2BAA2B,CAAC;AAGxD,MAAM,OAAgB,iBAAqB,SAAQ,aAAa;IAkE9D,YAAsB,EAAqB;QACzC,KAAK,EAAE,CAAC;QADY,OAAE,GAAF,EAAE,CAAmB;QAFjC,iBAAY,GAAG,IAAI,YAAY,EAAE,CAAC;IAI5C,CAAC;IAvDD,IAAI,MAAM;QACR,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAED,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IAED,IAAI,aAAa;QAGf,OAAO,IAAI,CAAC,cAAc,CAAC;IAC7B,CAAC;IAED,IAAI,eAAe;QACjB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAED,IAAa,IAAI,CAAC,GAAc;QAC9B,IAAI,IAAI,CAAC,aAAa,EAAE;YACtB,IAAI,CAAC,aAAa,CAAC,WAAW,EAAE,CAAC;SAClC;QAED,IAAI,CAAC,aAAa,GAAG,IAAI,YAAY,EAAE,CAAC;QAExC,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAEhD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,IAAI,CAC/C,KAAK,CAAC,CAAC,CAAC,CACX,CAAC,SAAS,CAAC,GAAG,EAAE;YACf,IAAI,CAAC,EAAE,CAAC,aAAa,EAAE,CAAC;QAC1B,CAAC,CAAC,CAAC,CAAC;QAEJ,IAAI,CAAC,YAAY,EAAE,CAAC;IACtB,CAAC;IACD,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,IAAa,OAAO,CAAC,GAAoB;QACrC,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,CAAC,cAAc,GAAG,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;QACjE,IAAI,CAAC,gBAAgB,GAAG,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;QAEvE,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAE/B,IAAI,CAAC,eAAe,EAAE,CAAC;IAC3B,CAAC;IAQD,MAAM;QACJ,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IAES,eAAe,KAAW,CAAC;IAE3B,YAAY,KAAW,CAAC;;;;YA7EnC,SAAS;;;;;;;;;;YAT4C,iBAAiB;;;;mBAyCpE,KAAK;sBAsBL,KAAK;2BAWL,MAAM","sourcesContent":["import {EventEmitter, Input, Output, Directive, Type, ChangeDetectorRef} from '@angular/core';\nimport {FormGroup} from \"@angular/forms\";\nimport {Observable, Subscription} from \"rxjs\";\nimport {delay} from \"rxjs/operators\";\n\nimport {IFormOptions} from \"../../../models\";\nimport {InputBaseComponent} from \"../../input/base/base.component\";\nimport {BaseComponent} from \"../../base/base.component\";\n\n@Directive()\nexport abstract class FormBaseComponent<T> extends BaseComponent {\n private _fields: Array<string>;\n private _subscription: Subscription;\n private _model: any;\n private _form: FormGroup;\n private _possibilities: {\n [key: string]: Observable<{ id: any, text: string }[]>;\n };\n private _inputComponents: { [key: string]: Type<InputBaseComponent<T>>; };\n\n mode: string;\n treeLevel: number;\n\n get fields(): Array<string> {\n return this._fields;\n }\n\n get model(): any {\n return this._model;\n }\n\n get possibilities(): {\n [key: string]: Observable<{ id: any, text: string }[]>;\n } {\n return this._possibilities;\n }\n\n get inputComponents(): { [key: string]: Type<InputBaseComponent<T>>; } {\n return this._inputComponents;\n }\n\n @Input() set form(val: FormGroup) {\n if (this._subscription) {\n this._subscription.unsubscribe();\n }\n\n this._subscription = new Subscription();\n\n this._form = val;\n this._fields = Object.keys(this._form.controls);\n\n this._subscription.add(this._form.valueChanges.pipe(\n delay(0)\n ).subscribe(() => {\n this.cd.detectChanges();\n }));\n\n this.afterSetForm();\n }\n get form(): FormGroup {\n return this._form;\n }\n\n @Input() set options(obj: IFormOptions<T>) {\n this._model = obj.model;\n this.mode = obj.mode;\n this._possibilities = obj.possibilities ? obj.possibilities : {};\n this._inputComponents = obj.inputComponents ? obj.inputComponents : {};\n\n this.treeLevel = obj.treeLevel;\n\n this.afterSetOptions();\n }\n\n @Output() invokeSubmit = new EventEmitter();\n\n constructor(protected cd: ChangeDetectorRef) {\n super();\n }\n\n submit(): void {\n this.invokeSubmit.emit(this.form.value);\n }\n\n protected afterSetOptions(): void { }\n\n protected afterSetForm(): void { }\n}\n"]}
|
|
@@ -134,6 +134,7 @@ export class FormComponent {
|
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
|
+
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
137
138
|
FormComponent.decorators = [
|
|
138
139
|
{ type: Component, args: [{
|
|
139
140
|
selector: "smart-form",
|
|
@@ -167,7 +168,13 @@ FormComponent.decorators = [
|
|
|
167
168
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
168
169
|
},] }
|
|
169
170
|
];
|
|
170
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* @type {function(): !Array<(null|{
|
|
173
|
+
* type: ?,
|
|
174
|
+
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
175
|
+
* })>}
|
|
176
|
+
* @nocollapse
|
|
177
|
+
*/
|
|
171
178
|
FormComponent.ctorParameters = () => [
|
|
172
179
|
{ type: FormFactory },
|
|
173
180
|
{ type: ChangeDetectorRef },
|
|
@@ -175,6 +182,7 @@ FormComponent.ctorParameters = () => [
|
|
|
175
182
|
{ type: IModelExportProvider, decorators: [{ type: Optional }, { type: Inject, args: [MODEL_EXPORT_PROVIDER,] }] },
|
|
176
183
|
{ type: IModelImportProvider, decorators: [{ type: Optional }, { type: Inject, args: [MODEL_IMPORT_PROVIDER,] }] }
|
|
177
184
|
];
|
|
185
|
+
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
178
186
|
FormComponent.propDecorators = {
|
|
179
187
|
options: [{ type: Input }],
|
|
180
188
|
invokeSubmit: [{ type: Output }],
|