@smartsoft001/angular 1.1.800 → 1.1.804
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- package/esm2020/lib/+state/error.effects.mjs +24 -0
- package/esm2020/lib/components/accordion/accordion.component.mjs +29 -0
- package/esm2020/lib/components/accordion/body/body.component.mjs +14 -0
- package/esm2020/lib/components/accordion/header/header.component.mjs +14 -0
- package/{esm2015/lib/components/accordion/index.js → esm2020/lib/components/accordion/index.mjs} +0 -0
- package/esm2020/lib/components/app/base/base.component.mjs +134 -0
- package/{esm2015/lib/components/app/index.js → esm2020/lib/components/app/index.mjs} +0 -0
- package/esm2020/lib/components/app/split-panel/split-panel.component.mjs +45 -0
- package/esm2020/lib/components/base/base.component.mjs +72 -0
- package/{esm2015/lib/components/base/index.js → esm2020/lib/components/base/index.mjs} +0 -0
- package/esm2020/lib/components/button/base/base.component.mjs +39 -0
- package/esm2020/lib/components/button/button.component.mjs +65 -0
- package/{esm2015/lib/components/button/index.js → esm2020/lib/components/button/index.mjs} +0 -0
- package/esm2020/lib/components/button/standard/standard.component.mjs +15 -0
- package/esm2020/lib/components/card/card.component.mjs +18 -0
- package/{esm2015/lib/components/card/index.js → esm2020/lib/components/card/index.mjs} +0 -0
- package/esm2020/lib/components/chart/bar/bar.component.mjs +57 -0
- package/esm2020/lib/components/chart/base/base.component.mjs +13 -0
- package/esm2020/lib/components/chart/chart.component.mjs +21 -0
- package/{esm2015/lib/components/chart/index.js → esm2020/lib/components/chart/index.mjs} +0 -0
- package/esm2020/lib/components/chart/line/line.component.mjs +57 -0
- package/esm2020/lib/components/components.module.mjs +422 -0
- package/esm2020/lib/components/date-edit/date-edit.component.mjs +171 -0
- package/{esm2015/lib/components/date-edit/index.js → esm2020/lib/components/date-edit/index.mjs} +0 -0
- package/esm2020/lib/components/date-range/date-range.component.mjs +357 -0
- package/{esm2015/lib/components/date-range/index.js → esm2020/lib/components/date-range/index.mjs} +0 -0
- package/esm2020/lib/components/detail/address/address.component.mjs +17 -0
- package/esm2020/lib/components/detail/array/array.component.mjs +37 -0
- package/esm2020/lib/components/detail/attachment/attachment.component.mjs +28 -0
- package/esm2020/lib/components/detail/base/base.component.mjs +24 -0
- package/esm2020/lib/components/detail/color/color.component.mjs +14 -0
- package/esm2020/lib/components/detail/date-range/date-range.component.mjs +13 -0
- package/esm2020/lib/components/detail/detail.component.mjs +40 -0
- package/esm2020/lib/components/detail/email/email.component.mjs +13 -0
- package/esm2020/lib/components/detail/enum/enum.component.mjs +14 -0
- package/esm2020/lib/components/detail/flag/flag.component.mjs +14 -0
- package/esm2020/lib/components/detail/image/image.component.mjs +29 -0
- package/{esm2015/lib/components/detail/index.js → esm2020/lib/components/detail/index.mjs} +0 -0
- package/esm2020/lib/components/detail/logo/logo.component.mjs +14 -0
- package/esm2020/lib/components/detail/object/object.component.mjs +35 -0
- package/esm2020/lib/components/detail/pdf/pdf.component.mjs +28 -0
- package/esm2020/lib/components/detail/phone-number-pl/phone-number-pl.component.mjs +15 -0
- package/esm2020/lib/components/detail/text/text.component.mjs +15 -0
- package/esm2020/lib/components/detail/video/video.component.mjs +22 -0
- package/esm2020/lib/components/details/base/base.component.mjs +101 -0
- package/esm2020/lib/components/details/details.component.mjs +67 -0
- package/{esm2015/lib/components/details/index.js → esm2020/lib/components/details/index.mjs} +0 -0
- package/esm2020/lib/components/details/standard/standard.component.mjs +17 -0
- package/esm2020/lib/components/dynamic/dynamic.component.mjs +24 -0
- package/{esm2015/lib/components/dynamic/index.js → esm2020/lib/components/dynamic/index.mjs} +0 -0
- package/esm2020/lib/components/error-context/error-context.component.mjs +25 -0
- package/{esm2015/lib/components/error-context/index.js → esm2020/lib/components/error-context/index.mjs} +0 -0
- package/esm2020/lib/components/export/export.component.mjs +30 -0
- package/{esm2015/lib/components/export/index.js → esm2020/lib/components/export/index.mjs} +0 -0
- package/esm2020/lib/components/form/base/base.component.mjs +69 -0
- package/esm2020/lib/components/form/form.component.mjs +256 -0
- package/{esm2015/lib/components/form/index.js → esm2020/lib/components/form/index.mjs} +0 -0
- package/esm2020/lib/components/form/standard/standard.component.mjs +17 -0
- package/esm2020/lib/components/form/stepper/stepper.component.mjs +65 -0
- package/esm2020/lib/components/grid/column/column.component.mjs +20 -0
- package/esm2020/lib/components/grid/grid.component.mjs +20 -0
- package/{esm2015/lib/components/grid/index.js → esm2020/lib/components/grid/index.mjs} +0 -0
- package/esm2020/lib/components/grid/row/row.component.mjs +20 -0
- package/esm2020/lib/components/import/import.component.mjs +35 -0
- package/{esm2015/lib/components/import/index.js → esm2020/lib/components/import/index.mjs} +0 -0
- package/{esm2015/lib/components/index.js → esm2020/lib/components/index.mjs} +0 -0
- package/{esm2015/lib/components/info/index.js → esm2020/lib/components/info/index.mjs} +0 -0
- package/esm2020/lib/components/info/info.component.mjs +49 -0
- package/esm2020/lib/components/input/address/address.component.mjs +21 -0
- package/esm2020/lib/components/input/array/array.component.mjs +113 -0
- package/esm2020/lib/components/input/attachment/attachment.component.mjs +25 -0
- package/esm2020/lib/components/input/base/base.component.mjs +35 -0
- package/esm2020/lib/components/input/base/file.component.mjs +84 -0
- package/esm2020/lib/components/input/base/possibilities.component.mjs +45 -0
- package/esm2020/lib/components/input/check/check.component.mjs +62 -0
- package/esm2020/lib/components/input/color/color.component.mjs +35 -0
- package/esm2020/lib/components/input/currency/currency.component.mjs +20 -0
- package/esm2020/lib/components/input/date/date.component.mjs +72 -0
- package/esm2020/lib/components/input/date-range/date-range.component.mjs +20 -0
- package/esm2020/lib/components/input/date-with-edit/date-with-edit.component.mjs +27 -0
- package/esm2020/lib/components/input/email/email.component.mjs +20 -0
- package/esm2020/lib/components/input/enum/enum.component.mjs +45 -0
- package/esm2020/lib/components/input/error/error.component.mjs +16 -0
- package/esm2020/lib/components/input/file/file.component.mjs +59 -0
- package/esm2020/lib/components/input/flag/flag.component.mjs +21 -0
- package/esm2020/lib/components/input/float/float.component.mjs +21 -0
- package/esm2020/lib/components/input/image/image.component.mjs +35 -0
- package/{esm2015/lib/components/input/index.js → esm2020/lib/components/input/index.mjs} +0 -0
- package/esm2020/lib/components/input/input.component.mjs +124 -0
- package/esm2020/lib/components/input/int/int.component.mjs +21 -0
- package/esm2020/lib/components/input/ints/ints.component.mjs +59 -0
- package/esm2020/lib/components/input/logo/logo.component.mjs +48 -0
- package/esm2020/lib/components/input/long-text/long-text.component.mjs +55 -0
- package/esm2020/lib/components/input/nip/nip.component.mjs +35 -0
- package/esm2020/lib/components/input/object/object.component.mjs +33 -0
- package/esm2020/lib/components/input/password/password.component.mjs +49 -0
- package/esm2020/lib/components/input/pdf/pdf.component.mjs +25 -0
- package/esm2020/lib/components/input/pesel/pesel.component.mjs +20 -0
- package/esm2020/lib/components/input/phone-number/phone-number.component.mjs +20 -0
- package/esm2020/lib/components/input/phone-number-pl/phone-number-pl.component.mjs +28 -0
- package/esm2020/lib/components/input/radio/radio.component.mjs +48 -0
- package/esm2020/lib/components/input/strings/strings.component.mjs +59 -0
- package/esm2020/lib/components/input/text/text.component.mjs +20 -0
- package/esm2020/lib/components/input/video/video.component.mjs +45 -0
- package/esm2020/lib/components/list/base/base.component.mjs +166 -0
- package/esm2020/lib/components/list/desktop/desktop.component.mjs +120 -0
- package/{esm2015/lib/components/list/index.js → esm2020/lib/components/list/index.mjs} +0 -0
- package/esm2020/lib/components/list/list.component.mjs +68 -0
- package/esm2020/lib/components/list/masonry-grid/masonry-grid.component.mjs +66 -0
- package/esm2020/lib/components/list/mobile/mobile.component.mjs +49 -0
- package/{esm2015/lib/components/loader/index.js → esm2020/lib/components/loader/index.mjs} +0 -0
- package/esm2020/lib/components/loader/loader.component.mjs +17 -0
- package/esm2020/lib/components/page/base/base.component.mjs +62 -0
- package/{esm2015/lib/components/page/index.js → esm2020/lib/components/page/index.mjs} +0 -0
- package/esm2020/lib/components/page/page.component.mjs +66 -0
- package/esm2020/lib/components/page/standard/standard.component.mjs +25 -0
- package/{esm2015/lib/components/paging/index.js → esm2020/lib/components/paging/index.mjs} +0 -0
- package/esm2020/lib/components/paging/paging.component.mjs +25 -0
- package/{esm2015/lib/components/password-strength/index.js → esm2020/lib/components/password-strength/index.mjs} +0 -0
- package/esm2020/lib/components/password-strength/password-strength.component.mjs +115 -0
- package/{esm2015/lib/components/searchbar/index.js → esm2020/lib/components/searchbar/index.mjs} +0 -0
- package/esm2020/lib/components/searchbar/searchbar.component.mjs +54 -0
- package/{esm2015/lib/components/tabs/index.js → esm2020/lib/components/tabs/index.mjs} +0 -0
- package/esm2020/lib/components/tabs/tab/tab.component.mjs +19 -0
- package/esm2020/lib/components/tabs/tabs.component.mjs +51 -0
- package/{esm2015/lib/decorators/index.js → esm2020/lib/decorators/index.mjs} +0 -0
- package/{esm2015/lib/decorators/module/module.decorator.js → esm2020/lib/decorators/module/module.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/redux-action/redux-action.decorator.js → esm2020/lib/decorators/redux-action/redux-action.decorator.mjs} +0 -0
- package/{esm2015/lib/decorators/redux-select/redux-select.decorator.js → esm2020/lib/decorators/redux-select/redux-select.decorator.mjs} +0 -0
- package/esm2020/lib/directives/date-validator/date-validator.directive.mjs +29 -0
- package/esm2020/lib/directives/details/details.directive.mjs +54 -0
- package/esm2020/lib/directives/directives.module.mjs +41 -0
- package/esm2020/lib/directives/dynamic-content/dynamic-content.directive.mjs +17 -0
- package/{esm2015/lib/directives/index.js → esm2020/lib/directives/index.mjs} +0 -0
- package/esm2020/lib/directives/viewport-show/viewport-show.directive.mjs +35 -0
- package/esm2020/lib/factories/factories.module.mjs +25 -0
- package/esm2020/lib/factories/form/form.factory.mjs +280 -0
- package/{esm2015/lib/factories/index.js → esm2020/lib/factories/index.mjs} +0 -0
- package/{esm2015/lib/models/chart.js → esm2020/lib/models/chart.mjs} +0 -0
- package/{esm2015/lib/models/index.js → esm2020/lib/models/index.mjs} +0 -0
- package/esm2020/lib/models/interfaces.mjs +12 -0
- package/{esm2015/lib/models/style.js → esm2020/lib/models/style.mjs} +0 -0
- package/esm2020/lib/ngrx-shared.module.mjs +39 -0
- package/esm2020/lib/pages/details/details.page.mjs +64 -0
- package/{esm2015/lib/pages/index.js → esm2020/lib/pages/index.mjs} +0 -0
- package/esm2020/lib/pages/pages.module.mjs +41 -0
- package/esm2020/lib/pipes/enum-to-list/enum-to-list.pipe.mjs +18 -0
- package/esm2020/lib/pipes/file-url/file-url.pipe.mjs +21 -0
- package/{esm2015/lib/pipes/index.js → esm2020/lib/pipes/index.mjs} +0 -0
- package/esm2020/lib/pipes/list-cell/list-cell.pipe.mjs +70 -0
- package/esm2020/lib/pipes/list-header/list-header.pipe.mjs +42 -0
- package/esm2020/lib/pipes/model-label/model-label.pipe.mjs +39 -0
- package/esm2020/lib/pipes/pipes.module.mjs +25 -0
- package/esm2020/lib/pipes/trust-html/trust-html.pipe.mjs +23 -0
- package/esm2020/lib/pipes/virtual-data-source/virtual-data-source.pipe.mjs +18 -0
- package/{esm2015/lib/providers/index.js → esm2020/lib/providers/index.mjs} +0 -0
- package/{esm2015/lib/providers/interfaces.js → esm2020/lib/providers/interfaces.mjs} +0 -0
- package/{esm2015/lib/providers/model-export.provider.js → esm2020/lib/providers/model-export.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-import.provider.js → esm2020/lib/providers/model-import.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-label.provider.js → esm2020/lib/providers/model-label.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-possibilities.provider.js → esm2020/lib/providers/model-possibilities.provider.mjs} +0 -0
- package/{esm2015/lib/providers/model-validators.provider.js → esm2020/lib/providers/model-validators.provider.mjs} +0 -0
- package/esm2020/lib/services/alert/alert.service.mjs +19 -0
- package/{esm2015/lib/services/app/app.service.js → esm2020/lib/services/app/app.service.mjs} +9 -20
- package/esm2020/lib/services/auth/auth.service.mjs +43 -0
- package/{esm2015/lib/services/calendar/calendar.service.js → esm2020/lib/services/calendar/calendar.service.mjs} +8 -14
- package/esm2020/lib/services/camera/camera.service.mjs +22 -0
- package/esm2020/lib/services/details/details.service.mjs +23 -0
- package/esm2020/lib/services/dynamic-component-loader/dynamic-component-loader.service.mjs +34 -0
- package/esm2020/lib/services/dynamic-component-storage/dynamic-component-storage.service.mjs +29 -0
- package/esm2020/lib/services/error/error.service.mjs +31 -0
- package/esm2020/lib/services/file/file.service.mjs +51 -0
- package/esm2020/lib/services/fingerprint/fingerprint.service.mjs +61 -0
- package/{esm2015/lib/services/form/form.group.js → esm2020/lib/services/form/form.group.mjs} +0 -0
- package/esm2020/lib/services/hardware/hardware.service.mjs +27 -0
- package/{esm2015/lib/services/index.js → esm2020/lib/services/index.mjs} +0 -0
- package/esm2020/lib/services/menu/menu.service.mjs +88 -0
- package/esm2020/lib/services/modal/modal.service.mjs +38 -0
- package/esm2020/lib/services/ngrx-store/ngrx-store.service.mjs +22 -0
- package/esm2020/lib/services/popover/popover.service.mjs +18 -0
- package/esm2020/lib/services/services.module.mjs +81 -0
- package/esm2020/lib/services/storage/storage.service.mjs +73 -0
- package/esm2020/lib/services/style/style.service.mjs +105 -0
- package/esm2020/lib/services/toast/toast.service.mjs +57 -0
- package/esm2020/lib/services/ui/ui.service.mjs +54 -0
- package/{esm2015/lib/shared.animations.js → esm2020/lib/shared.animations.mjs} +0 -0
- package/esm2020/lib/shared.inectors.mjs +4 -0
- package/esm2020/lib/shared.module.mjs +70 -0
- package/{esm2015/lib/translations-default.js → esm2020/lib/translations-default.mjs} +0 -0
- package/esm2020/lib/utils-shared.module.mjs +18 -0
- package/esm2020/smartsoft001-angular.mjs +5 -0
- package/fesm2015/smartsoft001-angular.mjs +6637 -0
- package/fesm2015/smartsoft001-angular.mjs.map +1 -0
- package/fesm2020/smartsoft001-angular.mjs +6536 -0
- package/fesm2020/smartsoft001-angular.mjs.map +1 -0
- package/lib/+state/error.effects.d.ts +3 -0
- package/lib/components/accordion/accordion.component.d.ts +3 -0
- package/lib/components/accordion/body/body.component.d.ts +3 -0
- package/lib/components/accordion/header/header.component.d.ts +3 -0
- package/lib/components/app/base/base.component.d.ts +3 -0
- package/lib/components/app/split-panel/split-panel.component.d.ts +3 -0
- package/lib/components/base/base.component.d.ts +3 -0
- package/lib/components/button/base/base.component.d.ts +3 -0
- package/lib/components/button/button.component.d.ts +4 -1
- package/lib/components/button/standard/standard.component.d.ts +3 -0
- package/lib/components/card/card.component.d.ts +3 -0
- package/lib/components/chart/bar/bar.component.d.ts +3 -0
- package/lib/components/chart/base/base.component.d.ts +3 -0
- package/lib/components/chart/chart.component.d.ts +3 -0
- package/lib/components/chart/line/line.component.d.ts +3 -0
- package/lib/components/components.module.d.ts +124 -10
- package/lib/components/date-edit/date-edit.component.d.ts +3 -0
- package/lib/components/date-range/date-range.component.d.ts +5 -0
- package/lib/components/detail/address/address.component.d.ts +3 -0
- package/lib/components/detail/array/array.component.d.ts +7 -1
- package/lib/components/detail/attachment/attachment.component.d.ts +3 -0
- package/lib/components/detail/base/base.component.d.ts +3 -0
- package/lib/components/detail/color/color.component.d.ts +3 -0
- package/lib/components/detail/date-range/date-range.component.d.ts +3 -0
- package/lib/components/detail/detail.component.d.ts +3 -0
- package/lib/components/detail/email/email.component.d.ts +3 -0
- package/lib/components/detail/enum/enum.component.d.ts +3 -0
- package/lib/components/detail/flag/flag.component.d.ts +3 -0
- package/lib/components/detail/image/image.component.d.ts +3 -0
- package/lib/components/detail/logo/logo.component.d.ts +3 -0
- package/lib/components/detail/object/object.component.d.ts +7 -1
- package/lib/components/detail/pdf/pdf.component.d.ts +3 -0
- package/lib/components/detail/phone-number-pl/phone-number-pl.component.d.ts +3 -0
- package/lib/components/detail/text/text.component.d.ts +3 -0
- package/lib/components/detail/video/video.component.d.ts +3 -0
- package/lib/components/details/base/base.component.d.ts +3 -0
- package/lib/components/details/details.component.d.ts +5 -2
- package/lib/components/details/standard/standard.component.d.ts +3 -0
- package/lib/components/dynamic/dynamic.component.d.ts +3 -0
- package/lib/components/error-context/error-context.component.d.ts +3 -0
- package/lib/components/export/export.component.d.ts +3 -0
- package/lib/components/form/base/base.component.d.ts +3 -0
- package/lib/components/form/form.component.d.ts +4 -1
- package/lib/components/form/standard/standard.component.d.ts +3 -0
- package/lib/components/form/stepper/stepper.component.d.ts +3 -0
- package/lib/components/grid/column/column.component.d.ts +3 -0
- package/lib/components/grid/grid.component.d.ts +3 -0
- package/lib/components/grid/row/row.component.d.ts +3 -0
- package/lib/components/import/import.component.d.ts +3 -0
- package/lib/components/info/info.component.d.ts +5 -0
- package/lib/components/input/address/address.component.d.ts +3 -0
- package/lib/components/input/array/array.component.d.ts +5 -1
- package/lib/components/input/attachment/attachment.component.d.ts +3 -0
- package/lib/components/input/base/base.component.d.ts +3 -0
- package/lib/components/input/base/file.component.d.ts +3 -0
- package/lib/components/input/base/possibilities.component.d.ts +3 -0
- package/lib/components/input/check/check.component.d.ts +3 -0
- package/lib/components/input/color/color.component.d.ts +3 -0
- package/lib/components/input/currency/currency.component.d.ts +3 -0
- package/lib/components/input/date/date.component.d.ts +3 -0
- package/lib/components/input/date-range/date-range.component.d.ts +3 -0
- package/lib/components/input/date-with-edit/date-with-edit.component.d.ts +5 -6
- package/lib/components/input/email/email.component.d.ts +3 -0
- package/lib/components/input/enum/enum.component.d.ts +3 -0
- package/lib/components/input/error/error.component.d.ts +3 -0
- package/lib/components/input/file/file.component.d.ts +3 -0
- package/lib/components/input/flag/flag.component.d.ts +3 -0
- package/lib/components/input/float/float.component.d.ts +3 -0
- package/lib/components/input/image/image.component.d.ts +3 -0
- package/lib/components/input/input.component.d.ts +3 -0
- package/lib/components/input/int/int.component.d.ts +3 -0
- package/lib/components/input/ints/ints.component.d.ts +3 -0
- package/lib/components/input/logo/logo.component.d.ts +3 -0
- package/lib/components/input/long-text/long-text.component.d.ts +3 -0
- package/lib/components/input/nip/nip.component.d.ts +3 -0
- package/lib/components/input/object/object.component.d.ts +6 -2
- package/lib/components/input/password/password.component.d.ts +3 -0
- package/lib/components/input/pdf/pdf.component.d.ts +3 -0
- package/lib/components/input/pesel/pesel.component.d.ts +3 -0
- package/lib/components/input/phone-number/phone-number.component.d.ts +3 -0
- package/lib/components/input/phone-number-pl/phone-number-pl.component.d.ts +3 -0
- package/lib/components/input/radio/radio.component.d.ts +3 -0
- package/lib/components/input/strings/strings.component.d.ts +3 -0
- package/lib/components/input/text/text.component.d.ts +3 -0
- package/lib/components/input/video/video.component.d.ts +3 -0
- package/lib/components/list/base/base.component.d.ts +4 -2
- package/lib/components/list/desktop/desktop.component.d.ts +4 -2
- package/lib/components/list/list.component.d.ts +5 -9
- package/lib/components/list/masonry-grid/masonry-grid.component.d.ts +4 -2
- package/lib/components/list/mobile/mobile.component.d.ts +4 -2
- package/lib/components/loader/loader.component.d.ts +3 -0
- package/lib/components/page/base/base.component.d.ts +3 -0
- package/lib/components/page/page.component.d.ts +3 -0
- package/lib/components/page/standard/standard.component.d.ts +3 -0
- package/lib/components/paging/paging.component.d.ts +3 -0
- package/lib/components/password-strength/password-strength.component.d.ts +3 -0
- package/lib/components/searchbar/searchbar.component.d.ts +3 -0
- package/lib/components/tabs/tab/tab.component.d.ts +3 -0
- package/lib/components/tabs/tabs.component.d.ts +3 -0
- package/lib/directives/date-validator/date-validator.directive.d.ts +3 -0
- package/lib/directives/details/details.directive.d.ts +3 -0
- package/lib/directives/directives.module.d.ts +9 -0
- package/lib/directives/dynamic-content/dynamic-content.directive.d.ts +3 -0
- package/lib/directives/viewport-show/viewport-show.directive.d.ts +3 -0
- package/lib/factories/factories.module.d.ts +5 -0
- package/lib/factories/form/form.factory.d.ts +3 -0
- package/lib/models/interfaces.d.ts +7 -1
- package/lib/ngrx-shared.module.d.ts +7 -0
- package/lib/pages/details/details.page.d.ts +3 -0
- package/lib/pages/pages.module.d.ts +9 -0
- package/lib/pipes/enum-to-list/enum-to-list.pipe.d.ts +3 -0
- package/lib/pipes/file-url/file-url.pipe.d.ts +3 -0
- package/lib/pipes/list-cell/list-cell.pipe.d.ts +3 -0
- package/lib/pipes/list-header/list-header.pipe.d.ts +3 -0
- package/lib/pipes/model-label/model-label.pipe.d.ts +3 -0
- package/lib/pipes/pipes.module.d.ts +12 -1
- package/lib/pipes/trust-html/trust-html.pipe.d.ts +3 -0
- package/lib/pipes/virtual-data-source/virtual-data-source.pipe.d.ts +3 -0
- package/lib/services/alert/alert.service.d.ts +3 -0
- package/lib/services/app/app.service.d.ts +3 -0
- package/lib/services/auth/auth.service.d.ts +3 -0
- package/lib/services/calendar/calendar.service.d.ts +3 -0
- package/lib/services/camera/camera.service.d.ts +3 -0
- package/lib/services/details/details.service.d.ts +3 -0
- package/lib/services/dynamic-component-loader/dynamic-component-loader.service.d.ts +3 -0
- package/lib/services/error/error.service.d.ts +3 -0
- package/lib/services/file/file.service.d.ts +3 -0
- package/lib/services/fingerprint/fingerprint.service.d.ts +3 -0
- package/lib/services/hardware/hardware.service.d.ts +3 -0
- package/lib/services/menu/menu.service.d.ts +3 -0
- package/lib/services/modal/modal.service.d.ts +3 -0
- package/lib/services/ngrx-store/ngrx-store.service.d.ts +3 -0
- package/lib/services/popover/popover.service.d.ts +3 -0
- package/lib/services/services.module.d.ts +7 -0
- package/lib/services/storage/storage.service.d.ts +3 -0
- package/lib/services/style/style.service.d.ts +3 -0
- package/lib/services/toast/toast.service.d.ts +3 -0
- package/lib/services/ui/ui.service.d.ts +3 -0
- package/lib/shared.inectors.d.ts +3 -0
- package/lib/shared.module.d.ts +15 -0
- package/lib/utils-shared.module.d.ts +5 -0
- package/package.json +39 -26
- package/smartsoft001-angular.d.ts +1 -142
- package/bundles/smartsoft001-angular.umd.js +0 -9127
- package/bundles/smartsoft001-angular.umd.js.map +0 -1
- package/esm2015/lib/+state/error.effects.js +0 -31
- package/esm2015/lib/components/accordion/accordion.component.js +0 -37
- package/esm2015/lib/components/accordion/body/body.component.js +0 -23
- package/esm2015/lib/components/accordion/header/header.component.js +0 -23
- package/esm2015/lib/components/app/base/base.component.js +0 -144
- package/esm2015/lib/components/app/split-panel/split-panel.component.js +0 -58
- package/esm2015/lib/components/base/base.component.js +0 -82
- package/esm2015/lib/components/button/base/base.component.js +0 -36
- package/esm2015/lib/components/button/button.component.js +0 -48
- package/esm2015/lib/components/button/standard/standard.component.js +0 -15
- package/esm2015/lib/components/card/card.component.js +0 -27
- package/esm2015/lib/components/chart/bar/bar.component.js +0 -68
- package/esm2015/lib/components/chart/base/base.component.js +0 -19
- package/esm2015/lib/components/chart/chart.component.js +0 -30
- package/esm2015/lib/components/chart/line/line.component.js +0 -68
- package/esm2015/lib/components/components.module.js +0 -257
- package/esm2015/lib/components/date-edit/date-edit.component.js +0 -184
- package/esm2015/lib/components/date-range/date-range.component.js +0 -387
- package/esm2015/lib/components/detail/address/address.component.js +0 -17
- package/esm2015/lib/components/detail/array/array.component.js +0 -28
- package/esm2015/lib/components/detail/attachment/attachment.component.js +0 -36
- package/esm2015/lib/components/detail/base/base.component.js +0 -34
- package/esm2015/lib/components/detail/color/color.component.js +0 -13
- package/esm2015/lib/components/detail/date-range/date-range.component.js +0 -13
- package/esm2015/lib/components/detail/detail.component.js +0 -32
- package/esm2015/lib/components/detail/email/email.component.js +0 -13
- package/esm2015/lib/components/detail/enum/enum.component.js +0 -13
- package/esm2015/lib/components/detail/flag/flag.component.js +0 -13
- package/esm2015/lib/components/detail/image/image.component.js +0 -38
- package/esm2015/lib/components/detail/logo/logo.component.js +0 -13
- package/esm2015/lib/components/detail/object/object.component.js +0 -26
- package/esm2015/lib/components/detail/pdf/pdf.component.js +0 -36
- package/esm2015/lib/components/detail/phone-number-pl/phone-number-pl.component.js +0 -13
- package/esm2015/lib/components/detail/text/text.component.js +0 -13
- package/esm2015/lib/components/detail/video/video.component.js +0 -32
- package/esm2015/lib/components/details/base/base.component.js +0 -104
- package/esm2015/lib/components/details/details.component.js +0 -66
- package/esm2015/lib/components/details/standard/standard.component.js +0 -15
- package/esm2015/lib/components/dynamic/dynamic.component.js +0 -34
- package/esm2015/lib/components/error-context/error-context.component.js +0 -35
- package/esm2015/lib/components/export/export.component.js +0 -41
- package/esm2015/lib/components/form/base/base.component.js +0 -75
- package/esm2015/lib/components/form/form.component.js +0 -216
- package/esm2015/lib/components/form/standard/standard.component.js +0 -16
- package/esm2015/lib/components/form/stepper/stepper.component.js +0 -68
- package/esm2015/lib/components/grid/column/column.component.js +0 -29
- package/esm2015/lib/components/grid/grid.component.js +0 -30
- package/esm2015/lib/components/grid/row/row.component.js +0 -29
- package/esm2015/lib/components/import/import.component.js +0 -48
- package/esm2015/lib/components/info/info.component.js +0 -70
- package/esm2015/lib/components/input/address/address.component.js +0 -27
- package/esm2015/lib/components/input/array/array.component.js +0 -110
- package/esm2015/lib/components/input/attachment/attachment.component.js +0 -34
- package/esm2015/lib/components/input/base/base.component.js +0 -45
- package/esm2015/lib/components/input/base/file.component.js +0 -94
- package/esm2015/lib/components/input/base/possibilities.component.js +0 -49
- package/esm2015/lib/components/input/check/check.component.js +0 -64
- package/esm2015/lib/components/input/color/color.component.js +0 -42
- package/esm2015/lib/components/input/currency/currency.component.js +0 -27
- package/esm2015/lib/components/input/date/date.component.js +0 -69
- package/esm2015/lib/components/input/date-range/date-range.component.js +0 -26
- package/esm2015/lib/components/input/date-with-edit/date-with-edit.component.js +0 -53
- package/esm2015/lib/components/input/email/email.component.js +0 -27
- package/esm2015/lib/components/input/enum/enum.component.js +0 -51
- package/esm2015/lib/components/input/error/error.component.js +0 -17
- package/esm2015/lib/components/input/file/file.component.js +0 -66
- package/esm2015/lib/components/input/flag/flag.component.js +0 -28
- package/esm2015/lib/components/input/float/float.component.js +0 -29
- package/esm2015/lib/components/input/image/image.component.js +0 -44
- package/esm2015/lib/components/input/input.component.js +0 -104
- package/esm2015/lib/components/input/int/int.component.js +0 -29
- package/esm2015/lib/components/input/ints/ints.component.js +0 -66
- package/esm2015/lib/components/input/logo/logo.component.js +0 -56
- package/esm2015/lib/components/input/long-text/long-text.component.js +0 -61
- package/esm2015/lib/components/input/nip/nip.component.js +0 -42
- package/esm2015/lib/components/input/object/object.component.js +0 -35
- package/esm2015/lib/components/input/password/password.component.js +0 -56
- package/esm2015/lib/components/input/pdf/pdf.component.js +0 -34
- package/esm2015/lib/components/input/pesel/pesel.component.js +0 -27
- package/esm2015/lib/components/input/phone-number/phone-number.component.js +0 -27
- package/esm2015/lib/components/input/phone-number-pl/phone-number-pl.component.js +0 -35
- package/esm2015/lib/components/input/radio/radio.component.js +0 -49
- package/esm2015/lib/components/input/strings/strings.component.js +0 -66
- package/esm2015/lib/components/input/text/text.component.js +0 -27
- package/esm2015/lib/components/input/video/video.component.js +0 -54
- package/esm2015/lib/components/list/base/base.component.js +0 -175
- package/esm2015/lib/components/list/desktop/desktop.component.js +0 -119
- package/esm2015/lib/components/list/list.component.js +0 -73
- package/esm2015/lib/components/list/masonry-grid/masonry-grid.component.js +0 -73
- package/esm2015/lib/components/list/mobile/mobile.component.js +0 -55
- package/esm2015/lib/components/loader/loader.component.js +0 -17
- package/esm2015/lib/components/page/base/base.component.js +0 -74
- package/esm2015/lib/components/page/page.component.js +0 -64
- package/esm2015/lib/components/page/standard/standard.component.js +0 -36
- package/esm2015/lib/components/paging/paging.component.js +0 -24
- package/esm2015/lib/components/password-strength/password-strength.component.js +0 -118
- package/esm2015/lib/components/searchbar/searchbar.component.js +0 -62
- package/esm2015/lib/components/tabs/tab/tab.component.js +0 -31
- package/esm2015/lib/components/tabs/tabs.component.js +0 -48
- package/esm2015/lib/directives/date-validator/date-validator.directive.js +0 -26
- package/esm2015/lib/directives/details/details.directive.js +0 -60
- package/esm2015/lib/directives/directives.module.js +0 -29
- package/esm2015/lib/directives/dynamic-content/dynamic-content.directive.js +0 -24
- package/esm2015/lib/directives/viewport-show/viewport-show.directive.js +0 -43
- package/esm2015/lib/factories/factories.module.js +0 -17
- package/esm2015/lib/factories/form/form.factory.js +0 -275
- package/esm2015/lib/models/interfaces.js +0 -12
- package/esm2015/lib/ngrx-shared.module.js +0 -37
- package/esm2015/lib/pages/details/details.page.js +0 -72
- package/esm2015/lib/pages/pages.module.js +0 -32
- package/esm2015/lib/pipes/enum-to-list/enum-to-list.pipe.js +0 -15
- package/esm2015/lib/pipes/file-url/file-url.pipe.js +0 -27
- package/esm2015/lib/pipes/list-cell/list-cell.pipe.js +0 -76
- package/esm2015/lib/pipes/list-header/list-header.pipe.js +0 -43
- package/esm2015/lib/pipes/model-label/model-label.pipe.js +0 -40
- package/esm2015/lib/pipes/pipes.module.js +0 -21
- package/esm2015/lib/pipes/trust-html/trust-html.pipe.js +0 -29
- package/esm2015/lib/pipes/virtual-data-source/virtual-data-source.pipe.js +0 -15
- package/esm2015/lib/services/alert/alert.service.js +0 -29
- package/esm2015/lib/services/auth/auth.service.js +0 -50
- package/esm2015/lib/services/camera/camera.service.js +0 -23
- package/esm2015/lib/services/details/details.service.js +0 -29
- package/esm2015/lib/services/dynamic-component-loader/dynamic-component-loader.service.js +0 -46
- package/esm2015/lib/services/dynamic-component-storage/dynamic-component-storage.service.js +0 -30
- package/esm2015/lib/services/error/error.service.js +0 -41
- package/esm2015/lib/services/file/file.service.js +0 -54
- package/esm2015/lib/services/fingerprint/fingerprint.service.js +0 -75
- package/esm2015/lib/services/hardware/hardware.service.js +0 -34
- package/esm2015/lib/services/menu/menu.service.js +0 -105
- package/esm2015/lib/services/modal/modal.service.js +0 -50
- package/esm2015/lib/services/ngrx-store/ngrx-store.service.js +0 -20
- package/esm2015/lib/services/popover/popover.service.js +0 -28
- package/esm2015/lib/services/services.module.js +0 -53
- package/esm2015/lib/services/storage/storage.service.js +0 -82
- package/esm2015/lib/services/style/style.service.js +0 -107
- package/esm2015/lib/services/toast/toast.service.js +0 -69
- package/esm2015/lib/services/ui/ui.service.js +0 -72
- package/esm2015/lib/shared.module.js +0 -53
- package/esm2015/lib/utils-shared.module.js +0 -14
- package/esm2015/smartsoft001-angular.js +0 -147
- package/fesm2015/smartsoft001-angular.js +0 -7502
- package/fesm2015/smartsoft001-angular.js.map +0 -1
- package/smartsoft001-angular.metadata.json +0 -1
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component, ViewChild, ViewContainerRef } from "@angular/core";
|
|
2
|
-
import { Router } from "@angular/router";
|
|
3
|
-
import { TranslateService } from "@ngx-translate/core";
|
|
4
|
-
import { ListBaseComponent } from "../base/base.component";
|
|
5
|
-
import { AlertService } from "../../../services/alert/alert.service";
|
|
6
|
-
import { AuthService } from "../../../services/auth/auth.service";
|
|
7
|
-
export class ListMobileComponent extends ListBaseComponent {
|
|
8
|
-
constructor(authService, router, alertService, cd, translateService) {
|
|
9
|
-
super(authService, router, alertService, cd, translateService);
|
|
10
|
-
}
|
|
11
|
-
initList(val) {
|
|
12
|
-
super.initList(val);
|
|
13
|
-
this.componentFactories = val.componentFactories;
|
|
14
|
-
this.generateDynamicComponents();
|
|
15
|
-
}
|
|
16
|
-
ngAfterViewInit() {
|
|
17
|
-
this.generateDynamicComponents();
|
|
18
|
-
}
|
|
19
|
-
generateDynamicComponents() {
|
|
20
|
-
if (!this.componentFactories)
|
|
21
|
-
return;
|
|
22
|
-
if (this.componentFactories.top && this.topTpl) {
|
|
23
|
-
if (!this.topTpl.get(0)) {
|
|
24
|
-
this.topTpl.createComponent(this.componentFactories.top);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
30
|
-
ListMobileComponent.decorators = [
|
|
31
|
-
{ type: Component, args: [{
|
|
32
|
-
selector: "smart-list-mobile",
|
|
33
|
-
template: "<div #topTpl></div>\n\n<ion-list>\n <ion-item-sliding *ngFor=\"let item of list$ | async\">\n <ion-item-options side=\"start\" (ionSwipe)=\"removeHandler && removeHandler(item)\" *ngIf=\"removeHandler\">\n <ion-item-option color=\"danger\" expandable (click)=\"removeHandler && removeHandler(item)\">\n {{ 'delete' | translate }}\n </ion-item-option>\n </ion-item-options>\n\n <ion-item (click)='itemHandler ? itemHandler(item.id) : unselect && unselect()'>\n <ion-label>\n <ng-container *ngFor=\"let key of keys; let first = first\">\n <ng-container *ngIf=\"item | smartListCell : key : cellPipe : type; let cell\">\n <ng-container [ngSwitch]=\"cell.type\">\n <img [attr.smart-item-key]=\"key\" *ngSwitchCase=\"FieldType.image\" height=\"100\" [lazyLoad]=\"cell.value | smartFileUrl\"> \n <ng-container *ngSwitchDefault>\n <h2 [attr.smart-item-key]=\"key\" *ngIf='first' [innerHTML]=\"cell.value\"></h2>\n <p [attr.smart-item-key]=\"key\" *ngIf='!first' [innerHTML]=\"cell.value\"></p>\n </ng-container> \n </ng-container>\n </ng-container>\n </ng-container>\n </ion-label>\n </ion-item>\n </ion-item-sliding>\n</ion-list>\n\n<ion-infinite-scroll threshold=\"100px\"\n *ngIf=\"loadNextPage && (list$ | async)?.length && options.pagination?.mode !== PaginationMode.singlePage\"\n (ionInfinite)=\"loadNextPage($event)\"\n>\n <ion-infinite-scroll-content loadingSpinner=\"circles\">\n </ion-infinite-scroll-content>\n</ion-infinite-scroll>\n\n<smart-paging *ngIf=\"options?.pagination?.mode === PaginationMode.singlePage\"\n [page]=\"page$ | async\"\n [totalPages]=\"totalPages$ | async\"\n (prevPage)=\"loadPrevPage()\"\n (nextPage)=\"loadNextPage()\"\n></smart-paging>\n",
|
|
34
|
-
styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:\"SF Display\";font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:\"SF Display\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:\"SF Display\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:\"SF Display\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:\"SF Display\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:\"SF Display\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:\"SF Display\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:\"SF Display\";font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:\"SF Display\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:\"SF Text\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:\"SF Text\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:\"SF Text\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:\"SF Text\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:\"SF Text\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:\"SF Text\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:\"SF Text\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:\"SF Text\";font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:14px;font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}ion-item{padding-left:1.2rem}\n"]
|
|
35
|
-
},] }
|
|
36
|
-
];
|
|
37
|
-
/**
|
|
38
|
-
* @type {function(): !Array<(null|{
|
|
39
|
-
* type: ?,
|
|
40
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
41
|
-
* })>}
|
|
42
|
-
* @nocollapse
|
|
43
|
-
*/
|
|
44
|
-
ListMobileComponent.ctorParameters = () => [
|
|
45
|
-
{ type: AuthService },
|
|
46
|
-
{ type: Router },
|
|
47
|
-
{ type: AlertService },
|
|
48
|
-
{ type: ChangeDetectorRef },
|
|
49
|
-
{ type: TranslateService }
|
|
50
|
-
];
|
|
51
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
52
|
-
ListMobileComponent.propDecorators = {
|
|
53
|
-
topTpl: [{ type: ViewChild, args: ["topTpl", { read: ViewContainerRef, static: true },] }]
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9iaWxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2xpc3QvbW9iaWxlL21vYmlsZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFnQixpQkFBaUIsRUFBRSxTQUFTLEVBQUUsU0FBUyxFQUFFLGdCQUFnQixFQUFDLE1BQU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mljZSk7XG4gIH1cblxuICBwcm90ZWN0ZWQgaW5pdExpc3QodmFsOiBJTGlzdEludGVybmFsT3B0aW9uczxUPik6IHZvaWQge1xuICAgIHN1cGVyLmluaXRMaXN0KHZhbCk7XG5cbiAgICB0aGlzLmNvbXBvbmVudEZhY3RvcmllcyA9IHZhbC5jb21wb25lbnRGYWN0b3JpZXM7XG5cbiAgICB0aGlzLmdlbmVyYXRlRHluYW1pY0NvbXBvbmVudHMoKTtcbiAgfVxuXG4gIG5nQWZ0ZXJWaWV3SW5pdCgpOiB2b2lkIHtcbiAgICB0aGlzLmdlbmVyYXRlRHluYW1pY0NvbXBvbmVudHMoKTtcbiAgfVxuXG4gIHByaXZhdGUgZ2VuZXJhdGVEeW5hbWljQ29tcG9uZW50cygpOiB2b2lkIHtcbiAgICBpZiAoIXRoaXMuY29tcG9uZW50RmFjdG9yaWVzKSByZXR1cm47XG5cbiAgICBpZiAodGhpcy5jb21wb25lbnRGYWN0b3JpZXMudG9wICYmIHRoaXMudG9wVHBsKSB7XG4gICAgICBpZiAoIXRoaXMudG9wVHBsLmdldCgwKSkge1xuICAgICAgICB0aGlzLnRvcFRwbC5jcmVhdGVDb21wb25lbnQodGhpcy5jb21wb25lbnRGYWN0b3JpZXMudG9wKTtcbiAgICAgIH1cbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
export class LoaderComponent {
|
|
3
|
-
}
|
|
4
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
5
|
-
LoaderComponent.decorators = [
|
|
6
|
-
{ type: Component, args: [{
|
|
7
|
-
selector: 'smart-loader',
|
|
8
|
-
template: '<ion-spinner *ngIf="show" [style.height]="height"></ion-spinner>',
|
|
9
|
-
styles: [""]
|
|
10
|
-
},] }
|
|
11
|
-
];
|
|
12
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
13
|
-
LoaderComponent.propDecorators = {
|
|
14
|
-
show: [{ type: Input }],
|
|
15
|
-
height: [{ type: Input }]
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL2xvYWRlci9sb2FkZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBU2pELE1BQU0sT0FBTyxlQUFlOzs7O1lBUDNCLFNBQVMsU0FBQztnQkFDUCxRQUFRLEVBQUUsY0FBYztnQkFDeEIsUUFBUSxFQUFFLGtFQUFrRTs7YUFJL0U7Ozs7bUJBRUksS0FBSztxQkFDTCxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgICBzZWxlY3RvcjogJ3NtYXJ0LWxvYWRlcicsXG4gICAgdGVtcGxhdGU6ICc8aW9uLXNwaW5uZXIgKm5nSWY9XCJzaG93XCIgW3N0eWxlLmhlaWdodF09XCJoZWlnaHRcIj48L2lvbi1zcGlubmVyPicsXG4gICAgc3R5bGVVcmxzOiBbXG4gICAgICAgICcuL2xvYWRlci5jb21wb25lbnQuc2NzcydcbiAgICBdXG59KVxuZXhwb3J0IGNsYXNzIExvYWRlckNvbXBvbmVudCB7XG4gICAgQElucHV0KCkgc2hvdzogYm9vbGVhbjtcbiAgICBASW5wdXQoKSBoZWlnaHQ6IHN0cmluZztcbn1cbiJdfQ==
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { ElementRef, Input, Renderer2, Directive, ViewChild, ViewContainerRef, } from "@angular/core";
|
|
3
|
-
import { Location } from '@angular/common';
|
|
4
|
-
import { PopoverController } from "@ionic/angular";
|
|
5
|
-
import { Subscription } from "rxjs";
|
|
6
|
-
import { AppService } from "../../../services/app/app.service";
|
|
7
|
-
import { HardwareService } from "../../../services/hardware/hardware.service";
|
|
8
|
-
export class PageBaseComponent {
|
|
9
|
-
constructor(el, renderer, location, popover, appService, hardwareService) {
|
|
10
|
-
this.el = el;
|
|
11
|
-
this.renderer = renderer;
|
|
12
|
-
this.location = location;
|
|
13
|
-
this.popover = popover;
|
|
14
|
-
this.appService = appService;
|
|
15
|
-
this.hardwareService = hardwareService;
|
|
16
|
-
this._subscriptions = new Subscription();
|
|
17
|
-
}
|
|
18
|
-
set options(val) {
|
|
19
|
-
this._options = val;
|
|
20
|
-
}
|
|
21
|
-
get options() {
|
|
22
|
-
return this._options;
|
|
23
|
-
}
|
|
24
|
-
get isMobile() {
|
|
25
|
-
return this.hardwareService.isMobile || this.hardwareService.isMobileWeb;
|
|
26
|
-
}
|
|
27
|
-
back() {
|
|
28
|
-
this.location.back();
|
|
29
|
-
}
|
|
30
|
-
presentPopover(ev, btn) {
|
|
31
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
-
const instance = yield this.popover.create({
|
|
33
|
-
event: ev,
|
|
34
|
-
component: btn.component,
|
|
35
|
-
translucent: true
|
|
36
|
-
});
|
|
37
|
-
yield instance.present();
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
ngOnInit() {
|
|
41
|
-
this.renderer.setStyle(this.el.nativeElement, 'height', '100%');
|
|
42
|
-
}
|
|
43
|
-
ngOnDestroy() {
|
|
44
|
-
if (this._subscriptions) {
|
|
45
|
-
this._subscriptions.unsubscribe();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
PageBaseComponent.smartType = "page";
|
|
50
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
51
|
-
PageBaseComponent.decorators = [
|
|
52
|
-
{ type: Directive }
|
|
53
|
-
];
|
|
54
|
-
/**
|
|
55
|
-
* @type {function(): !Array<(null|{
|
|
56
|
-
* type: ?,
|
|
57
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
58
|
-
* })>}
|
|
59
|
-
* @nocollapse
|
|
60
|
-
*/
|
|
61
|
-
PageBaseComponent.ctorParameters = () => [
|
|
62
|
-
{ type: ElementRef },
|
|
63
|
-
{ type: Renderer2 },
|
|
64
|
-
{ type: Location },
|
|
65
|
-
{ type: PopoverController },
|
|
66
|
-
{ type: AppService },
|
|
67
|
-
{ type: HardwareService }
|
|
68
|
-
];
|
|
69
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
70
|
-
PageBaseComponent.propDecorators = {
|
|
71
|
-
options: [{ type: Input }],
|
|
72
|
-
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: ViewContainerRef, static: true },] }]
|
|
73
|
-
};
|
|
74
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9saWJzL3NoYXJlZC9hbmd1bGFyL3NyYy9saWIvY29tcG9uZW50cy9wYWdlL2Jhc2UvYmFzZS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFDSCxVQUFVLEVBQ1YsS0FBSyxFQUdMLFNBQVMsRUFDVCxTQUFTLEVBQ1QsU0FBUyxFQUNULGdCQUFnQixHQUNuQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPL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vcHRpb25zO1xuICAgIH1cblxuICAgIGdldCBpc01vYmlsZSgpOiBib29sZWFuIHtcbiAgICAgICAgcmV0dXJuIHRoaXMuaGFyZHdhcmVTZXJ2aWNlLmlzTW9iaWxlIHx8IHRoaXMuaGFyZHdhcmVTZXJ2aWNlLmlzTW9iaWxlV2ViO1xuICAgIH1cblxuICAgIEBWaWV3Q2hpbGQoXCJjb250ZW50VHBsXCIsIHsgcmVhZDogVmlld0NvbnRhaW5lclJlZiwgc3RhdGljOiB0cnVlIH0pXG4gICAgY29udGVudFRwbDogVmlld0NvbnRhaW5lclJlZjtcblxuICAgIGNvbnN0cnVjdG9yKFxuICAgICAgICBwcml2YXRlIGVsOiBFbGVtZW50UmVmLFxuICAgICAgICBwcml2YXRlIHJlbmRlcmVyOiBSZW5kZXJlcjIsXG4gICAgICAgIHByaXZhdGUgbG9jYXRpb246IExvY2F0aW9uLFxuICAgICAgICBwcml2YXRlIHBvcG92ZXI6IFBvcG92ZXJDb250cm9sbGVyLFxuICAgICAgICBwdWJsaWMgYXBwU2VydmljZTogQXBwU2VydmljZSxcbiAgICAgICAgcHVibGljIGhhcmR3YXJlU2VydmljZTogSGFyZHdhcmVTZXJ2aWNlLFxuICAgICkgeyB9XG5cbiAgICBiYWNrKCk6IHZvaWQge1xuICAgICAgICB0aGlzLmxvY2F0aW9uLmJhY2soKTtcbiAgICB9XG5cbiAgICBhc3luYyBwcmVzZW50UG9wb3ZlcihldjogYW55LCBidG46IElJY29uQnV0dG9uT3B0aW9ucyk6IFByb21pc2U8dm9pZD4ge1xuICAgICAgICBjb25zdCBpbnN0YW5jZSA9IGF3YWl0IHRoaXMucG9wb3Zlci5jcmVhdGUoe1xuICAgICAgICAgICAgZXZlbnQ6IGV2LFxuICAgICAgICAgICAgY29tcG9uZW50OiBidG4uY29tcG9uZW50LFxuICAgICAgICAgICAgdHJhbnNsdWNlbnQ6IHRydWVcbiAgICAgICAgfSk7XG5cbiAgICAgICAgYXdhaXQgaW5zdGFuY2UucHJlc2VudCgpO1xuICAgIH1cblxuICAgIG5nT25Jbml0KCkge1xuICAgICAgICB0aGlzLnJlbmRlcmVyLnNldFN0eWxlKHRoaXMuZWwubmF0aXZlRWxlbWVudCwgJ2hlaWdodCcsICcxMDAlJyk7XG4gICAgfVxuXG4gICAgbmdPbkRlc3Ryb3koKTogdm9pZCB7XG4gICAgICAgIGlmICh0aGlzLl9zdWJzY3JpcHRpb25zKSB7XG4gICAgICAgICAgICB0aGlzLl9zdWJzY3JpcHRpb25zLnVuc3Vic2NyaWJlKCk7XG4gICAgICAgIH1cbiAgICB9XG59XG4iXX0=
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactoryResolver, ElementRef, Input, NgModuleRef, QueryList, Renderer2, TemplateRef, ViewChild, ViewChildren, } from "@angular/core";
|
|
2
|
-
import { DynamicContentDirective } from "../../directives/dynamic-content/dynamic-content.directive";
|
|
3
|
-
import { CreateDynamicComponent } from "../base";
|
|
4
|
-
export class PageComponent extends CreateDynamicComponent('page') {
|
|
5
|
-
constructor(el, cd, renderer, moduleRef, componentFactoryResolver) {
|
|
6
|
-
super(cd, moduleRef, componentFactoryResolver);
|
|
7
|
-
this.el = el;
|
|
8
|
-
this.cd = cd;
|
|
9
|
-
this.renderer = renderer;
|
|
10
|
-
this.moduleRef = moduleRef;
|
|
11
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
12
|
-
this.dynamicContents = new QueryList();
|
|
13
|
-
}
|
|
14
|
-
set options(val) {
|
|
15
|
-
this._options = val;
|
|
16
|
-
this.refreshDynamicInstance();
|
|
17
|
-
}
|
|
18
|
-
get options() {
|
|
19
|
-
return this._options;
|
|
20
|
-
}
|
|
21
|
-
ngOnInit() {
|
|
22
|
-
this.renderer.setStyle(this.el.nativeElement, 'height', '100%');
|
|
23
|
-
}
|
|
24
|
-
refreshProperties() {
|
|
25
|
-
this.baseInstance.options = this.options;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
29
|
-
PageComponent.decorators = [
|
|
30
|
-
{ type: Component, args: [{
|
|
31
|
-
selector: 'smart-page',
|
|
32
|
-
template: `
|
|
33
|
-
<smart-page-standard *ngIf="template === 'default'" [options]="options">
|
|
34
|
-
<ng-container [ngTemplateOutlet]="contentTpl"></ng-container>
|
|
35
|
-
</smart-page-standard>
|
|
36
|
-
<ng-template #contentTpl>
|
|
37
|
-
<ng-content></ng-content>
|
|
38
|
-
</ng-template>
|
|
39
|
-
<div class="dynamic-content"></div>
|
|
40
|
-
`,
|
|
41
|
-
changeDetection: ChangeDetectionStrategy.OnPush
|
|
42
|
-
},] }
|
|
43
|
-
];
|
|
44
|
-
/**
|
|
45
|
-
* @type {function(): !Array<(null|{
|
|
46
|
-
* type: ?,
|
|
47
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
48
|
-
* })>}
|
|
49
|
-
* @nocollapse
|
|
50
|
-
*/
|
|
51
|
-
PageComponent.ctorParameters = () => [
|
|
52
|
-
{ type: ElementRef },
|
|
53
|
-
{ type: ChangeDetectorRef },
|
|
54
|
-
{ type: Renderer2 },
|
|
55
|
-
{ type: NgModuleRef },
|
|
56
|
-
{ type: ComponentFactoryResolver }
|
|
57
|
-
];
|
|
58
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
59
|
-
PageComponent.propDecorators = {
|
|
60
|
-
options: [{ type: Input }],
|
|
61
|
-
contentTpl: [{ type: ViewChild, args: ["contentTpl", { read: TemplateRef, static: false },] }],
|
|
62
|
-
dynamicContents: [{ type: ViewChildren, args: [DynamicContentDirective, { read: DynamicContentDirective },] }]
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ij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E5nTW9kdWxlUmVmPGFueT4sXG4gICAgICAgIHByaXZhdGUgY29tcG9uZW50RmFjdG9yeVJlc29sdmVyOiBDb21wb25lbnRGYWN0b3J5UmVzb2x2ZXJcbiAgICApIHtcbiAgICAgICAgc3VwZXIoY2QsIG1vZHVsZVJlZiwgY29tcG9uZW50RmFjdG9yeVJlc29sdmVyKTtcbiAgICB9XG5cbiAgICBuZ09uSW5pdCgpIHtcbiAgICAgICAgdGhpcy5yZW5kZXJlci5zZXRTdHlsZSh0aGlzLmVsLm5hdGl2ZUVsZW1lbnQsICdoZWlnaHQnLCAnMTAwJScpO1xuICAgIH1cblxuICAgIHJlZnJlc2hQcm9wZXJ0aWVzKCk6IHZvaWQge1xuICAgICAgICB0aGlzLmJhc2VJbnN0YW5jZS5vcHRpb25zID0gdGhpcy5vcHRpb25zO1xuICAgIH1cbn1cbiJdfQ==
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ElementRef, Renderer2 } from '@angular/core';
|
|
2
|
-
import { Location } from '@angular/common';
|
|
3
|
-
import { PopoverController } from "@ionic/angular";
|
|
4
|
-
import { PageBaseComponent } from "../base/base.component";
|
|
5
|
-
import { AppService } from "../../../services/app/app.service";
|
|
6
|
-
import { HardwareService } from "../../../services/hardware/hardware.service";
|
|
7
|
-
export class PageStandardComponent extends PageBaseComponent {
|
|
8
|
-
constructor(el, renderer, location, popover, appService, hardwareService) {
|
|
9
|
-
super(el, renderer, location, popover, appService, hardwareService);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
13
|
-
PageStandardComponent.decorators = [
|
|
14
|
-
{ type: Component, args: [{
|
|
15
|
-
selector: 'smart-page-standard',
|
|
16
|
-
template: "<ion-header [hidden]=\"!options || options.hideHeader\">\n <ion-toolbar>\n <ion-buttons slot=\"start\">\n <ion-menu-button [hidden]=\"!options || options.hideMenuButton\"></ion-menu-button>\n <ion-button *ngIf=\"options && options.showBackButton\" (click)=\"back()\">\n <ion-icon slot=\"icon-only\" name=\"arrow-back\"> </ion-icon>\n </ion-button>\n </ion-buttons>\n <ion-title [innerHTML]=\"options?.title | translate\"></ion-title>\n\n <ion-buttons slot=\"end\">\n <smart-searchbar *ngIf=\"options?.search\" [text]=\"options.search.text$ | async\" (textChange)=\"options.search.set($event)\"></smart-searchbar>\n\n <ng-container *ngIf=\"options?.endButtons\">\n <ng-container *ngFor=\"let btn of options.endButtons\" [ngSwitch]=\"btn.type\">\n <ion-button (click)=\"presentPopover($event, btn)\" [disabled]=\"btn.disabled$ | async\" *ngSwitchCase=\"'popover'\">\n <ng-container [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n </ion-button>\n\n <ion-button (click)=\"btn.handler()\" [disabled]=\"btn.disabled$ | async\" *ngSwitchDefault>\n <ng-container [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n </ion-button>\n </ng-container>\n </ng-container>\n\n <ng-container *ngFor=\"let btn of appService.endButtons$ | async\" [ngSwitch]=\"btn.type\">\n <ion-button (click)=\"presentPopover($event, btn)\" [disabled]=\"btn.disabled$ | async\" *ngSwitchCase=\"'popover'\">\n <ng-container [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n </ion-button>\n\n <ion-button (click)=\"btn.handler()\" [disabled]=\"btn.disabled$ | async\" *ngSwitchDefault>\n <ng-container [ngTemplateOutlet]=\"btnContent\"\n [ngTemplateOutletContext]=\"{ btn: btn }\"\n ></ng-container>\n </ion-button>\n </ng-container>\n </ion-buttons>\n </ion-toolbar>\n</ion-header>\n<ion-content scroll>\n <ng-content></ng-content>\n</ion-content>\n\n<ng-template #btnContent let-btn=\"btn\">\n <ng-container *ngIf=\"!isMobile && btn.text\">\n <ion-icon slot=\"start\" [name]=\"btn.icon\"></ion-icon>\n {{ btn.text | translate }}\n <ion-badge *ngIf=\"btn.number\" color=\"primary\">{{btn.number}}</ion-badge>\n </ng-container>\n\n <ng-container *ngIf=\"isMobile || !btn.text\">\n <ion-icon slot=\"icon-only\" [name]=\"btn.icon\"></ion-icon>\n <ion-badge *ngIf=\"btn.number\" color=\"primary\">{{btn.number}}</ion-badge>\n </ng-container>\n</ng-template>",
|
|
17
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
18
|
-
styles: [":root{--smart-color-primary: #0f4c81;--smart-color-primary-rgb: 15, 76, 129;--smart-color-primary-contrast: #ffffff;--smart-color-primary-contrast-rgb: 255, 255, 255;--smart-color-primary-shade: #0d4372;--smart-color-primary-tint: #275e8e;--smart-color-secondary: #1568b0;--smart-color-secondary-rgb: 21, 104, 176;--smart-color-secondary-contrast: #ffffff;--smart-color-secondary-contrast-rgb: 255, 255, 255;--smart-color-secondary-shade: #125c9b;--smart-color-secondary-tint: #2c77b8;--smart-color-tertiary: #0c2949;--smart-color-tertiary-rgb: 12, 41, 73;--smart-color-tertiary-contrast: #ffffff;--smart-color-tertiary-contrast-rgb: 255, 255, 255;--smart-color-tertiary-shade: #0b2440;--smart-color-tertiary-tint: #243e5b;--smart-color-success: #2dd36f;--smart-color-success-rgb: 45, 211, 111;--smart-color-success-contrast: #ffffff;--smart-color-success-contrast-rgb: 255, 255, 255;--smart-color-success-shade: #28ba62;--smart-color-success-tint: #42d77d;--smart-color-warning: #ffc409;--smart-color-warning-rgb: 255, 196, 9;--smart-color-warning-contrast: #000000;--smart-color-warning-contrast-rgb: 0, 0, 0;--smart-color-warning-shade: #e0ac08;--smart-color-warning-tint: #ffca22;--smart-color-danger: #eb445a;--smart-color-danger-rgb: 235, 68, 90;--smart-color-danger-contrast: #ffffff;--smart-color-danger-contrast-rgb: 255, 255, 255;--smart-color-danger-shade: #cf3c4f;--smart-color-danger-tint: #ed576b;--smart-color-dark: #222428;--smart-color-dark-rgb: 34, 36, 40;--smart-color-dark-contrast: #ffffff;--smart-color-dark-contrast-rgb: 255, 255, 255;--smart-color-dark-shade: #1e2023;--smart-color-dark-tint: #383a3e;--smart-color-medium: #92949c;--smart-color-medium-rgb: 146, 148, 156;--smart-color-medium-contrast: #ffffff;--smart-color-medium-contrast-rgb: 255, 255, 255;--smart-color-medium-shade: #808289;--smart-color-medium-tint: #9d9fa6;--smart-color-light: #f4f5f8;--smart-color-light-rgb: 244, 245, 248;--smart-color-light-contrast: #000000;--smart-color-light-contrast-rgb: 0, 0, 0;--smart-color-light-shade: #d7d8da;--smart-color-light-tint: #f5f6f9}:root{--smart-button-height: 3.6rem;--smart-button-min-width: 3.6rem;--smart-button-padding-right: 1.6rem;--smart-button-padding-left: 1.6rem;--smart-button-padding-top: .9rem;--smart-button-padding-bottom: .9rem;--smart-button-icon-size: 1.8rem}@font-face{font-family:\"SF Display\";font-weight:900;src:url(https://sf.abarba.me/SF-UI-Display-Black.otf)}@font-face{font-family:\"SF Display\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Display-Bold.otf)}@font-face{font-family:\"SF Display\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Display-Heavy.otf)}@font-face{font-family:\"SF Display\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Display-Light.otf)}@font-face{font-family:\"SF Display\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Display-Medium.otf)}@font-face{font-family:\"SF Display\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Display-Regular.otf)}@font-face{font-family:\"SF Display\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Display-Semibold.otf)}@font-face{font-family:\"SF Display\";font-weight:300;src:url(https://sf.abarba.me/SF-UI-Display-Thin.otf)}@font-face{font-family:\"SF Display\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Display-Ultralight.otf)}@font-face{font-family:\"SF Text\";font-weight:700;src:url(https://sf.abarba.me/SF-UI-Text-Bold.otf)}@font-face{font-family:\"SF Text\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-BoldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:800;src:url(https://sf.abarba.me/SF-UI-Text-Heavy.otf)}@font-face{font-family:\"SF Text\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-HeavyItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:200;src:url(https://sf.abarba.me/SF-UI-Text-Light.otf)}@font-face{font-family:\"SF Text\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-LightItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:500;src:url(https://sf.abarba.me/SF-UI-Text-Medium.otf)}@font-face{font-family:\"SF Text\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-MediumItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:400;src:url(https://sf.abarba.me/SF-UI-Text-Regular.otf)}@font-face{font-family:\"SF Text\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-RegularItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:600;src:url(https://sf.abarba.me/SF-UI-Text-Semibold.otf)}@font-face{font-family:\"SF Text\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-SemiboldItalic.otf)}@font-face{font-family:\"SF Text\";font-weight:100;src:url(https://sf.abarba.me/SF-UI-Text-Ultrathin.otf)}@font-face{font-family:\"SF Text\";font-weight:100;font-style:italic;src:url(https://sf.abarba.me/SF-UI-Text-UltrathinItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;src:url(https://sf.abarba.me/SFMono-Bold.otf)}@font-face{font-family:\"SF Mono\";font-weight:700;font-style:italic;src:url(https://sf.abarba.me/SFMono-BoldItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;src:url(https://sf.abarba.me/SFMono-Heavy.otf)}@font-face{font-family:\"SF Mono\";font-weight:800;font-style:italic;src:url(https://sf.abarba.me/SFMono-HeavyItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;src:url(https://sf.abarba.me/SFMono-Light.otf)}@font-face{font-family:\"SF Mono\";font-weight:200;font-style:italic;src:url(https://sf.abarba.me/SFMono-LightItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;src:url(https://sf.abarba.me/SFMono-Medium.otf)}@font-face{font-family:\"SF Mono\";font-weight:500;font-style:italic;src:url(https://sf.abarba.me/SFMono-MediumItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;src:url(https://sf.abarba.me/SFMono-Regular.otf)}@font-face{font-family:\"SF Mono\";font-weight:400;font-style:italic;src:url(https://sf.abarba.me/SFMono-RegularItalic.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;src:url(https://sf.abarba.me/SFMono-Semibold.otf)}@font-face{font-family:\"SF Mono\";font-weight:600;font-style:italic;src:url(https://sf.abarba.me/SFMono-SemiboldItalic.otf)}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=biUEjW7P-lfzIZFXrcy-wQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=7KXg6nyyqN8gyMoNwQ7aOQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:500;src:url(https://themes.googleusercontent.com/font?kit=daIfzbEw-lbjMyv4rMUUTj8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=iE8HhaRzdhPxC93dOdA05z8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=jB4HYzUnEmLtjz-UHQe60fesZW2xOQ-xsNqO47m55DA) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=vxNK-E6B13CyehuDCmvQvw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=1_sFLBJZ_MiiGcnkjN_Mgg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:100;src:url(https://themes.googleusercontent.com/font?kit=MMDEOSa6i6T9gBocjYCJkQ) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:700;src:url(https://themes.googleusercontent.com/font?kit=owYYXKukxFDFjr0ZO8NXhz8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:italic;font-weight:900;src:url(https://themes.googleusercontent.com/font?kit=b9PWBSMHrT2zM5FgUdtu0T8E0i7KZn-EPnyo3HZu7kw) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:300;src:url(https://themes.googleusercontent.com/font?kit=d-QWLnp4didxos_6urzFtg) format(\"woff\")}@font-face{font-family:\"Roboto\";font-style:normal;font-weight:400;src:url(https://themes.googleusercontent.com/font?kit=grlryt2bdKIyfMSOhzd1eA) format(\"woff\")}:root{--default-smart-font: \"Roboto\";--default-smart-font-size: 2.4rem;--default-smart-font-weight: 200;--default-smart-font-style: italic;--default-md-smart-font: \"Roboto\";--default-md-smart-font-size: 2.4rem;--default-md-smart-font-weight: bold;--default-md-smart-font-style: normal;--default-ios-smart-font: \"SF Text\";--default-ios-smart-font-size: 2.4rem;--default-ios-smart-font-weight: thin;--default-ios-smart-font-style: italic;--default-font-size: 14px;--small-font-size: 12px}:root{--smart-phone-breakpoint: 420px;--smart-tablet-breakpoint: 860px}.smart-bg-container{background:url(../assets/smart-bg.png) no-repeat center center}:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint);--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style);font-size:14px;font-size:var(--default-font-size);--ion-statusbar-padding: 0;--ion-safe-area-top: 0;--ion-safe-area-right: 0;--ion-safe-area-bottom: 0;--ion-safe-area-left: 0;--phone-breakpoint: var(--smart-phone-breakpoint);--tablet-breakpoint: var(--smart-tablet-breakpoint)}@media (prefers-color-scheme: dark){:root{--ion-color-primary: var(--smart-color-primary);--ion-color-primary-rgb: var(--smart-color-primary-rgb);--ion-color-primary-contrast: var(--smart-color-primary-contrast);--ion-color-primary-contrast-rgb: var(--smart-color-primary-contrast-rgb);--ion-color-primary-shade: var(--smart-color-primary-shade);--ion-color-primary-tint: var(--smart-color-primary-tint);--ion-color-secondary: var(--smart-color-secondary);--ion-color-secondary-rgb: var(--smart-color-secondary-rgb);--ion-color-secondary-contrast: var(--smart-color-secondary-contrast);--ion-color-secondary-contrast-rgb: var(--smart-color-secondary-contrast-rgb);--ion-color-secondary-shade: var(--smart-color-secondary-shade);--ion-color-secondary-tint: var(--smart-color-secondary-tint);--ion-color-tertiary: var(--smart-color-tertiary);--ion-color-tertiary-rgb: var(--smart-color-tertiary-rgb);--ion-color-tertiary-contrast: var(--smart-color-tertiary-contrast);--ion-color-tertiary-contrast-rgb: var(--smart-color-tertiary-contrast-rgb);--ion-color-tertiary-shade: var(--smart-color-tertiary-shade);--ion-color-tertiary-tint: var(--smart-color-tertiary-tint);--ion-color-success: var(--smart-color-success);--ion-color-success-rgb: var(--smart-color-success-rgb);--ion-color-success-contrast: var(--smart-color-success-contrast);--ion-color-success-contrast-rgb: var(--smart-color-success-contrast-rgb);--ion-color-success-shade: var(--smart-color-success-shade);--ion-color-success-tint: var(--smart-color-success-tint);--ion-color-warning: var(--smart-color-warning);--ion-color-warning-rgb: var(--smart-color-warning-rgb);--ion-color-warning-contrast: var(--smart-color-warning-contrast);--ion-color-warning-contrast-rgb: var(--smart-color-warning-rgb);--ion-color-warning-shade: var(--smart-color-warning-shade);--ion-color-warning-tint: var(--smart-color-warning-tint);--ion-color-danger: var(--smart-color-danger);--ion-color-danger-rgb: var(--smart-color-danger-rgb);--ion-color-danger-contrast: var(--smart-color-danger-contrast);--ion-color-danger-contrast-rgb: var(--smart-color-danger-contrast-rgb);--ion-color-danger-shade: var(--smart-color-danger-shade);--ion-color-danger-tint: var(--smart-color-danger-tint);--ion-color-dark: var(--smart-color-dark);--ion-color-dark-rgb: var(--smart-color-dark-rgb);--ion-color-dark-contrast: var(--smart-color-dark-contrast);--ion-color-dark-contrast-rgb: var(--smart-color-dark-contrast-rgb);--ion-color-dark-shade: var(--smart-color-dark-shade);--ion-color-dark-tint: var(--smart-color-dark-tint);--ion-color-medium: var(--smart-color-medium);--ion-color-medium-rgb: var(--smart-color-medium-rgb);--ion-color-medium-contrast: var(--smart-color-medium-contrast);--ion-color-medium-contrast-rgb: var(--smart-color-medium-contrast-rgb);--ion-color-medium-shade: var(--smart-color-medium-shade);--ion-color-medium-tint: var(--smart-color-medium-tint);--ion-color-light: var(--smart-color-light);--ion-color-light-rgb: var(--smart-color-light-rgb);--ion-color-light-contrast: var(--smart-color-light-contrast);--ion-color-light-contrast-rgb: var(--smart-color-light-contrast-rgb);--ion-color-light-shade: var(--smart-color-light-shade);--ion-color-light-tint: var(--smart-color-light-tint)}.ios body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}.md body{--ion-background-color: #ffffff;--ion-background-color-rgb: 255, 255, 255;--ion-text-color: #000000;--ion-text-color-rgb: 0, 0, 0;--ion-color-step-50: #f2f2f2;--ion-color-step-100: #e6e6e6;--ion-color-step-150: #d9d9d9;--ion-color-step-200: #cccccc;--ion-color-step-250: #bfbfbf;--ion-color-step-300: #b3b3b3;--ion-color-step-350: #a6a6a6;--ion-color-step-400: #999999;--ion-color-step-450: #8c8c8c;--ion-color-step-500: #808080;--ion-color-step-550: #737373;--ion-color-step-600: #666666;--ion-color-step-650: #595959;--ion-color-step-700: #4d4d4d;--ion-color-step-750: #404040;--ion-color-step-800: #333333;--ion-color-step-850: #262626;--ion-color-step-900: #191919;--ion-color-step-950: #0d0d0d;--ion-toolbar-background: inherit;--ion-item-background: #FFF;--ion-card-background: #FFF}}:root[mode=md]{--ion-font-family: var(--default-md-smart-font);--default-font-weight: var(--default-md-smart-font-weight);--default-font-style: var(--default-md-smart-font-style)}:root[mode=ios]{--ion-font-family: var(--default-ios-smart-font);--default-font-weight: var(--default-ios-smart-font-weight);--default-font-style: var(--$default-ios-smart-font-style)}*{box-sizing:border-box}html{font-family:\"Roboto\";font-family:var(--ion-font-family);font-weight:bold;font-weight:var(--default-font-weight);font-style:normal;font-style:var(--default-font-style);font-size:62.5%!important}body{font-size:14px;font-size:var(--default-font-size)}.mat-step-header .mat-step-icon-selected,.mat-step-header .mat-step-icon-state-done,.mat-step-header .mat-step-icon-state-edit{background-color:#1568b0;background-color:var(--smart-color-secondary)}.mat-stepper-next{background-color:#0f4c81;background-color:var(--smart-color-primary);border:.1rem solid #0f4c81;border:.1rem solid var(--smart-color-primary);color:#f4f5f8;color:var(--smart-color-light);height:3.6rem;padding:0 .9rem;vertical-align:middle}.mat-stepper-previous{height:3.6rem;border:.1rem solid #dedede;color:#777;margin-right:.6rem;padding:0 .9rem;vertical-align:middle}ion-alert .alert-checkbox-group .alert-tappable{height:7rem!important;border:.1rem solid #efefef}ion-alert .alert-checkbox-group .alert-tappable .alert-checkbox-label{padding:.6rem 2.4rem .6rem 5.2rem!important;font-size:1.5rem!important}ion-alert .alert-checkbox-group .alert-checkbox-label{white-space:normal!important;word-wrap:break-word!important}tr.cdk-row:nth-child(even){background-color:#fdfdfd}tr.cdk-row:hover{background-color:#0f4c810d!important;background-color:rgba(var(--smart-color-primary-rgb),.05)!important}td.cdk-cell{padding-left:.6rem!important;border-right:.1rem solid #f6f6f6;border-bottom:.1rem solid #e6e6e6;text-overflow:unset}td.cdk-cell:last-child{border-right:0}td.cdk-cell:first-child{padding-left:1.2rem!important}th{background-color:#f4f5f8;background-color:var(--smart-color-light);padding-left:.6rem!important;text-align:left!important}th.cdk-header-cell{color:#1568b0!important;color:var(--smart-color-secondary)!important}th:first-child{padding-left:1.2rem!important}th .cdk-sort-header-button{color:#1568b0;color:var(--smart-color-secondary)}:host{height:100%}:host ion-toolbar{--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));--color: var(--ion-color-dark)}ion-modal :host ion-toolbar{--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));--color: var(--ion-color-dark)}@media only screen and (max-width: 992px){:host ion-toolbar{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-modal :host ion-toolbar{--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));color:#222428;color:var(--ion-color-dark)}}@media only screen and (max-width: 420px){:host ion-toolbar{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}ion-modal :host ion-toolbar{--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));color:#222428;color:var(--ion-color-dark)}}:host ion-toolbar.ios{height:4.6rem;--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));--color: var(--ion-color-dark)}@media only screen and (max-width: 992px){:host ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}:host ion-toolbar.ios ion-title{text-align:left;padding-left:5.2rem}:host ion-toolbar.ios ion-icon{color:#f4f5f8;color:var(--ion-color-light)}}@media only screen and (max-width: 420px){:host ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-primary), var(--ion-color-tertiary));--color: var(--ion-color-light)}:host ion-toolbar.ios ion-title{text-align:left;padding-left:5.2rem}:host ion-toolbar.ios ion-icon{color:#f4f5f8;color:var(--ion-color-light)}}.modal-wrapper :host ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));--color: var(--ion-color-dark)}@media only screen and (max-width: 992px){.modal-wrapper :host ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));color:#222428;color:var(--ion-color-dark)}.modal-wrapper :host ion-toolbar.ios ion-title{text-align:left;padding-left:1.2rem}.modal-wrapper :host ion-toolbar.ios ion-icon{color:#222428;color:var(--ion-color-dark)}.modal-wrapper :host ion-toolbar.ios ion-buttons{margin:0}}@media only screen and (max-width: 420px){.modal-wrapper :host ion-toolbar.ios{--background: linear-gradient(33deg, var(--ion-color-light), var(--ion-color-light-shade));color:#222428;color:var(--ion-color-dark)}.modal-wrapper :host ion-toolbar.ios ion-title{text-align:left;padding-left:1.2rem}.modal-wrapper :host ion-toolbar.ios ion-icon{color:#222428;color:var(--ion-color-dark)}.modal-wrapper :host ion-toolbar.ios ion-buttons{margin:0}}:host ion-toolbar.ios.toolbar-searchbar ion-buttons{height:3.6rem;height:var(--smart-button-height);margin:.4rem}:host ion-toolbar ion-menu-button{color:#f4f5f8;color:var(--ion-color-light)}:host ion-toolbar ion-buttons.ios{height:3.6rem;height:var(--smart-button-height);margin:0}ion-content{--offset-bottom: -58px !important}ion-titlep{color:red}ion-button ion-badge{position:absolute;top:1.3rem;right:-.2rem;opacity:.9}ion-button ion-badge~ion-icon{margin-right:1.2rem}\n"]
|
|
19
|
-
},] }
|
|
20
|
-
];
|
|
21
|
-
/**
|
|
22
|
-
* @type {function(): !Array<(null|{
|
|
23
|
-
* type: ?,
|
|
24
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
25
|
-
* })>}
|
|
26
|
-
* @nocollapse
|
|
27
|
-
*/
|
|
28
|
-
PageStandardComponent.ctorParameters = () => [
|
|
29
|
-
{ type: ElementRef },
|
|
30
|
-
{ type: Renderer2 },
|
|
31
|
-
{ type: Location },
|
|
32
|
-
{ type: PopoverController },
|
|
33
|
-
{ type: AppService },
|
|
34
|
-
{ type: HardwareService }
|
|
35
|
-
];
|
|
36
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RhbmRhcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvcGFnZS9zdGFuZGFyZC9zdGFuZGFyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsU0FBUyxFQUFDLE1BQU0s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19
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output } from "@angular/core";
|
|
2
|
-
export class PagingComponent {
|
|
3
|
-
constructor() {
|
|
4
|
-
this.nextPage = new EventEmitter();
|
|
5
|
-
this.prevPage = new EventEmitter();
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
9
|
-
PagingComponent.decorators = [
|
|
10
|
-
{ type: Component, args: [{
|
|
11
|
-
selector: "smart-paging",
|
|
12
|
-
template: "<ion-grid>\n <ion-row>\n <ion-col>\n <ion-button [disabled]=\"page <= 1\" (click)=\"prevPage.emit()\">{{ 'prev' | translate }}</ion-button>\n </ion-col>\n <ion-col>\n {{ 'page' | translate }} {{ page }} / {{ totalPages }}\n </ion-col>\n <ion-col>\n <ion-button [disabled]=\"page >= totalPages\" (click)=\"nextPage.emit()\">{{ 'next' | translate }}</ion-button>\n </ion-col>\n </ion-row>\n</ion-grid>",
|
|
13
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
14
|
-
styles: [":host{width:100%}\n"]
|
|
15
|
-
},] }
|
|
16
|
-
];
|
|
17
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
18
|
-
PagingComponent.propDecorators = {
|
|
19
|
-
page: [{ type: Input }],
|
|
20
|
-
totalPages: [{ type: Input }],
|
|
21
|
-
nextPage: [{ type: Output }],
|
|
22
|
-
prevPage: [{ type: Output }]
|
|
23
|
-
};
|
|
24
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL3BhZ2luZy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gQE91dHB1dCgpIG5leHRQYWdlID0gbmV3IEV2ZW50RW1pdHRlcigpO1xuICAgIEBPdXRwdXQoKSBwcmV2UGFnZSA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcbn0iXX0=
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, Input, EventEmitter, Output, } from "@angular/core";
|
|
3
|
-
export class PasswordStrengthComponent {
|
|
4
|
-
constructor() {
|
|
5
|
-
this._colors = ["darkred", "orangered", "yellowgreen"];
|
|
6
|
-
this.msg = '';
|
|
7
|
-
this.result = {
|
|
8
|
-
lowerLetters: false,
|
|
9
|
-
upperLetters: false,
|
|
10
|
-
symbols: false,
|
|
11
|
-
passLength: false
|
|
12
|
-
};
|
|
13
|
-
this.passwordStrength = new EventEmitter();
|
|
14
|
-
}
|
|
15
|
-
checkStrength(p = '') {
|
|
16
|
-
// 1
|
|
17
|
-
let force = 0;
|
|
18
|
-
// 2
|
|
19
|
-
const regex = /[$-/:-?{-~!"^_@`\[\]]/g;
|
|
20
|
-
const lowerLetters = p && (/[a-z]+/.test(p));
|
|
21
|
-
const upperLetters = /[A-Z]+/.test(p);
|
|
22
|
-
const symbols = regex.test(p);
|
|
23
|
-
// 3
|
|
24
|
-
const flags = [lowerLetters, upperLetters, symbols];
|
|
25
|
-
// 4
|
|
26
|
-
let passedMatches = 0;
|
|
27
|
-
for (const flag of flags) {
|
|
28
|
-
passedMatches += flag === true ? 1 : 0;
|
|
29
|
-
}
|
|
30
|
-
// 5
|
|
31
|
-
force += 2 * (p === null || p === void 0 ? void 0 : p.length) + ((p === null || p === void 0 ? void 0 : p.length) >= 8 ? 1 : 0);
|
|
32
|
-
force += passedMatches * 10;
|
|
33
|
-
// 6
|
|
34
|
-
const passLength = !(!p || (p === null || p === void 0 ? void 0 : p.length) <= 6);
|
|
35
|
-
force = !passLength ? Math.min(force, 10) : force;
|
|
36
|
-
// 7
|
|
37
|
-
force = passedMatches === 1 ? Math.min(force, 10) : force;
|
|
38
|
-
force = passedMatches === 2 ? Math.min(force, 20) : force;
|
|
39
|
-
force = passedMatches === 3 ? Math.min(force, 30) : force;
|
|
40
|
-
this.result = {
|
|
41
|
-
lowerLetters,
|
|
42
|
-
upperLetters,
|
|
43
|
-
symbols,
|
|
44
|
-
passLength
|
|
45
|
-
};
|
|
46
|
-
return force;
|
|
47
|
-
}
|
|
48
|
-
ngOnChanges(changes) {
|
|
49
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
50
|
-
yield new Promise(res => res());
|
|
51
|
-
if (!changes.passwordToCheck)
|
|
52
|
-
return;
|
|
53
|
-
const password = changes.passwordToCheck.currentValue;
|
|
54
|
-
this.setBarColors(3, "#DDD");
|
|
55
|
-
this.msg = '';
|
|
56
|
-
if (password) {
|
|
57
|
-
const c = this.getColor(this.checkStrength(password));
|
|
58
|
-
this.setBarColors(c.index, c.color);
|
|
59
|
-
}
|
|
60
|
-
const pwdStrength = this.checkStrength(password);
|
|
61
|
-
pwdStrength === 30
|
|
62
|
-
? this.passwordStrength.emit(true)
|
|
63
|
-
: this.passwordStrength.emit(false);
|
|
64
|
-
switch (pwdStrength) {
|
|
65
|
-
case 10:
|
|
66
|
-
this.msg = 'poor';
|
|
67
|
-
break;
|
|
68
|
-
case 20:
|
|
69
|
-
this.msg = 'notGood';
|
|
70
|
-
break;
|
|
71
|
-
case 30:
|
|
72
|
-
this.msg = 'good';
|
|
73
|
-
break;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
}
|
|
77
|
-
getColor(s) {
|
|
78
|
-
let index = 0;
|
|
79
|
-
if (s === 10) {
|
|
80
|
-
index = 0;
|
|
81
|
-
}
|
|
82
|
-
else if (s === 20) {
|
|
83
|
-
index = 1;
|
|
84
|
-
}
|
|
85
|
-
else if (s === 30) {
|
|
86
|
-
index = 2;
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
index = 3;
|
|
90
|
-
}
|
|
91
|
-
this.msgColor = this._colors[index];
|
|
92
|
-
return {
|
|
93
|
-
index: index + 1,
|
|
94
|
-
color: this._colors[index],
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
setBarColors(count, col) {
|
|
98
|
-
for (let n = 0; n < count; n++) {
|
|
99
|
-
this["bar" + n] = col;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
104
|
-
PasswordStrengthComponent.decorators = [
|
|
105
|
-
{ type: Component, args: [{
|
|
106
|
-
selector: "smart-password-strength",
|
|
107
|
-
template: "<div class=\"strength\">\n <ul class=\"strength-bar\">\n <li class=\"point\" [style.background-color]=\"bar0\"></li>\n <li class=\"point\" [style.background-color]=\"bar1\"></li>\n <li class=\"point\" [style.background-color]=\"bar2\"></li>\n </ul>\n <p [style.color]=\"msgColor\" *ngIf=\"msg\">{{ 'INPUT.PASSWORD-STRENGTH.' + msg | translate }}</p>\n\n <div *ngIf=\"showHint\">\n <ul [style.color]=\"msgColor\">\n <li *ngIf=\"!result?.passLength\">{{ 'INPUT.ERRORS.invalidMinLength' | translate }} 7</li>\n <li *ngIf=\"!result?.upperLetters\">{{ 'INPUT.ERRORS.upperLetters' | translate }}</li>\n <li *ngIf=\"!result?.lowerLetters\">{{ 'INPUT.ERRORS.lowerLetters' | translate }}</li>\n <li *ngIf=\"!result?.symbols\">{{ 'INPUT.ERRORS.symbols' | translate }}</li>\n </ul>\n </div>\n</div>",
|
|
108
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
109
|
-
styles: [".strength-bar{display:inline;list-style:none;margin:0 0 1.2rem;padding:0;vertical-align:2px;width:100%;min-width:100%}.strength{width:33%}@media screen and (max-width: 460px){.strength{width:100%}}.point:last-of-type{margin:0!important}.point{background:#DDD;border-radius:2px;display:inline-block;height:4px;margin-right:1px;width:32%}p{font-weight:bold;font-size:var(--default-font-size)}\n"]
|
|
110
|
-
},] }
|
|
111
|
-
];
|
|
112
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
113
|
-
PasswordStrengthComponent.propDecorators = {
|
|
114
|
-
passwordToCheck: [{ type: Input }],
|
|
115
|
-
showHint: [{ type: Input }],
|
|
116
|
-
passwordStrength: [{ type: Output }]
|
|
117
|
-
};
|
|
118
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFzc3dvcmQtc3RyZW5ndGguY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9zaGFyZWQvYW5ndWxhci9zcmMvbGliL2NvbXBvbmVudHMvcGFzc3dvcmQtc3RyZW5ndGgvcGFzc3dvcmQtc3RyZW5ndGguY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxLQUFLLEVBR0wsWUFBWSxFQUNaLE1BQU0sR0FDUCxNQUFNLGVBQWUsQ0FBQztBQVF2QixNQUFNLE9BQU8seUJBQXlCO0lBTnRDO1FBT1UsWUFBTyxHQUFHLENBQUMsU0FBUyxFQUFFLFdBQVcsRUFBRSxhQUFhLENBQUMsQ0FBQztRQUsxRCxRQUFHLEdBQUcsRUFBRSxDQUFDO1FBR1QsV0FBTSxHQUFHO1lBQ1AsWUFBWSxFQUFFLEtBQUs7WUFDbkIsWUFBWSxFQUFFLEtBQUs7WUFDbkIsT0FBTyxFQUFFLEtBQUs7WUFDZCxVQUFVLEVBQUUsS0FBSztTQUNsQixDQUFDO1FBS1EscUJBQWdCLEdBQUcsSUFBSSxZQUFZLEVBQVcsQ0FBQztJQXNHM0QsQ0FBQztJQXBHQyxhQUFhLENBQUMsQ0FBQyxHQUFHLEVBQUU7UUFDbEIsSUFBSTtRQUNKL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AgICAgICB0aGlzLm1zZyA9ICdub3RHb29kJztcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlIDMwOlxuICAgICAgICB0aGlzLm1zZyA9ICdnb29kJztcbiAgICAgICAgYnJlYWs7XG4gICAgfVxuICB9XG5cbiAgcHJpdmF0ZSBnZXRDb2xvcihzKSB7XG4gICAgbGV0IGluZGV4ID0gMDtcbiAgICBpZiAocyA9PT0gMTApIHtcbiAgICAgIGluZGV4ID0gMDtcbiAgICB9IGVsc2UgaWYgKHMgPT09IDIwKSB7XG4gICAgICBpbmRleCA9IDE7XG4gICAgfSBlbHNlIGlmIChzID09PSAzMCkge1xuICAgICAgaW5kZXggPSAyO1xuICAgIH0gZWxzZSB7XG4gICAgICBpbmRleCA9IDM7XG4gICAgfVxuXG4gICAgdGhpcy5tc2dDb2xvciA9IHRoaXMuX2NvbG9yc1tpbmRleF07XG5cbiAgICByZXR1cm4ge1xuICAgICAgaW5kZXg6IGluZGV4ICsgMSxcbiAgICAgIGNvbG9yOiB0aGlzLl9jb2xvcnNbaW5kZXhdLFxuICAgIH07XG4gIH1cblxuICBwcml2YXRlIHNldEJhckNvbG9ycyhjb3VudCwgY29sKSB7XG4gICAgZm9yIChsZXQgbiA9IDA7IG4gPCBjb3VudDsgbisrKSB7XG4gICAgICB0aGlzW1wiYmFyXCIgKyBuXSA9IGNvbDtcbiAgICB9XG4gIH1cbn1cbiJdfQ==
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation } from "@angular/core";
|
|
3
|
-
import { FormControl } from "@angular/forms";
|
|
4
|
-
import { Subscription } from "rxjs";
|
|
5
|
-
import { IonSearchbar } from "@ionic/angular";
|
|
6
|
-
import { debounceTime } from "rxjs/operators";
|
|
7
|
-
export class SearchbarComponent {
|
|
8
|
-
constructor() {
|
|
9
|
-
this._subscriptions = new Subscription();
|
|
10
|
-
this.textChange = new EventEmitter();
|
|
11
|
-
this.control = new FormControl();
|
|
12
|
-
}
|
|
13
|
-
set text(val) {
|
|
14
|
-
this.control.setValue(val);
|
|
15
|
-
}
|
|
16
|
-
setShow() {
|
|
17
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
18
|
-
this.show = true;
|
|
19
|
-
yield this.searchEl.setFocus();
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
tryHide() {
|
|
23
|
-
if (!this.control.value)
|
|
24
|
-
this.show = false;
|
|
25
|
-
}
|
|
26
|
-
ngAfterViewInit() {
|
|
27
|
-
this._subscriptions.add(this.control.valueChanges.pipe(debounceTime(1000)).subscribe(val => {
|
|
28
|
-
this.textChange.emit(val);
|
|
29
|
-
}));
|
|
30
|
-
}
|
|
31
|
-
ngOnDestroy() {
|
|
32
|
-
if (this._subscriptions) {
|
|
33
|
-
this._subscriptions.unsubscribe();
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
/** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */
|
|
38
|
-
SearchbarComponent.decorators = [
|
|
39
|
-
{ type: Component, args: [{
|
|
40
|
-
selector: "smart-searchbar",
|
|
41
|
-
template: "<ion-searchbar\n #searchbar\n [hidden]=\"!control || !show\"\n animated\n (ionBlur)=\"tryHide()\"\n [formControl]=\"control\"\n [placeholder]=\"('search' | translate) + '...'\"\n></ion-searchbar>\n<ion-button (click)=\"setShow()\" *ngIf=\"!show\">\n <ion-icon style=\"font-weight: bold\" slot=\"icon-only\" name=\"search\"></ion-icon>\n</ion-button>\n",
|
|
42
|
-
encapsulation: ViewEncapsulation.None,
|
|
43
|
-
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
44
|
-
styles: [".searchbar-input{border-radius:2.1rem;--border-radius: 2.1rem;--background: var(--ion-color-light)}ion-searchbar.ios{display:inline}\n"]
|
|
45
|
-
},] }
|
|
46
|
-
];
|
|
47
|
-
/**
|
|
48
|
-
* @type {function(): !Array<(null|{
|
|
49
|
-
* type: ?,
|
|
50
|
-
* decorators: (undefined|!Array<{type: !Function, args: (undefined|!Array<?>)}>),
|
|
51
|
-
* })>}
|
|
52
|
-
* @nocollapse
|
|
53
|
-
*/
|
|
54
|
-
SearchbarComponent.ctorParameters = () => [];
|
|
55
|
-
/** @type {!Object<string, !Array<{type: !Function, args: (undefined|!Array<?>)}>>} */
|
|
56
|
-
SearchbarComponent.propDecorators = {
|
|
57
|
-
show: [{ type: Input }],
|
|
58
|
-
text: [{ type: Input }],
|
|
59
|
-
textChange: [{ type: Output }],
|
|
60
|
-
searchEl: [{ type: ViewChild, args: ["searchbar", { static: true, read: IonSearchbar },] }]
|
|
61
|
-
};
|
|
62
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoYmFyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL2xpYnMvc2hhcmVkL2FuZ3VsYXIvc3JjL2xpYi9jb21wb25lbnRzL3NlYXJjaGJhci9zZWFyY2hiYXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxZQUFZLEVBQ1osS0FBSyxFQUVMLE1BQU0sRUFDTixTQUFTLEVBQ1QsaUJBQWlCLEVBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUM3QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBQ3BDLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUM1QyxPQUFPLEVBQUMsWUFBWSxFQUFDLE1BQU0sZ0JBQWdCL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