mis-crystal-design-system 2.9.7-v14-1 → 2.9.8
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/action-list/action-list.component.d.ts +0 -3
- package/action-list/action-list.module.d.ts +0 -9
- package/action-list/mis-crystal-design-system-action-list.d.ts +4 -0
- package/action-list/mis-crystal-design-system-action-list.metadata.json +1 -0
- package/action-list/package.json +11 -0
- package/analytics/analytics.module.d.ts +0 -4
- package/analytics/analytics.service.d.ts +0 -3
- package/analytics/mis-crystal-design-system-analytics.d.ts +4 -0
- package/analytics/mis-crystal-design-system-analytics.metadata.json +1 -0
- package/analytics/package.json +11 -0
- package/async-search-dropdown/async-dropdown.component.d.ts +2 -5
- package/async-search-dropdown/async-dropdown.module.d.ts +0 -9
- package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.d.ts +4 -0
- package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.metadata.json +1 -0
- package/async-search-dropdown/package.json +11 -0
- package/bundles/mis-crystal-design-system-action-list.umd.js +508 -0
- package/bundles/mis-crystal-design-system-action-list.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-action-list.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-action-list.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-analytics.umd.js +422 -0
- package/bundles/mis-crystal-design-system-analytics.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-analytics.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-analytics.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js +258 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-button.umd.js +134 -0
- package/bundles/mis-crystal-design-system-button.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-button.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-button.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.js +127 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-checkbox.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-chip.umd.js +64 -0
- package/bundles/mis-crystal-design-system-chip.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-chip.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-chip.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.js +688 -0
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js +740 -0
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-drawer.umd.js +169 -0
- package/bundles/mis-crystal-design-system-drawer.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-drawer.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-drawer.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.js +493 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-fab.umd.js +95 -0
- package/bundles/mis-crystal-design-system-fab.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-fab.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-fab.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-input.umd.js +114 -0
- package/bundles/mis-crystal-design-system-input.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-input.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-input.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-loader.umd.js +53 -0
- package/bundles/mis-crystal-design-system-loader.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-loader.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-loader.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-menu.umd.js +119 -0
- package/bundles/mis-crystal-design-system-menu.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-menu.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-menu.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-modal.umd.js +161 -0
- package/bundles/mis-crystal-design-system-modal.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-modal.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-modal.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js +622 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js +636 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-phone-input.umd.js +68 -0
- package/bundles/mis-crystal-design-system-phone-input.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-phone-input.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-phone-input.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.js +77 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-radio-button.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-ske-loader.umd.js +65 -0
- package/bundles/mis-crystal-design-system-ske-loader.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-ske-loader.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-ske-loader.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-styles.umd.js +11 -0
- package/bundles/mis-crystal-design-system-styles.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-styles.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-styles.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-switch.umd.js +79 -0
- package/bundles/mis-crystal-design-system-switch.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-switch.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-switch.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-table.umd.js +783 -0
- package/bundles/mis-crystal-design-system-table.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-table.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-table.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-toast.umd.js +202 -0
- package/bundles/mis-crystal-design-system-toast.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-toast.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-toast.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.js +194 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-tooltip.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-utils.umd.js +33 -0
- package/bundles/mis-crystal-design-system-utils.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-utils.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system-utils.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.js +472 -0
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system-widgets.umd.js +478 -0
- package/bundles/mis-crystal-design-system-widgets.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system-widgets.umd.min.js +16 -0
- package/bundles/mis-crystal-design-system-widgets.umd.min.js.map +1 -0
- package/bundles/mis-crystal-design-system.umd.js +31 -0
- package/bundles/mis-crystal-design-system.umd.js.map +1 -0
- package/bundles/mis-crystal-design-system.umd.min.js +2 -0
- package/bundles/mis-crystal-design-system.umd.min.js.map +1 -0
- package/button/button.component.d.ts +0 -3
- package/button/button.directive.d.ts +0 -3
- package/button/button.module.d.ts +0 -7
- package/button/mis-crystal-design-system-button.d.ts +4 -0
- package/button/mis-crystal-design-system-button.metadata.json +1 -0
- package/button/package.json +11 -0
- package/checkbox/checkbox.component.d.ts +0 -3
- package/checkbox/checkbox.module.d.ts +0 -7
- package/checkbox/mis-crystal-design-system-checkbox.d.ts +4 -0
- package/checkbox/mis-crystal-design-system-checkbox.metadata.json +1 -0
- package/checkbox/package.json +11 -0
- package/chip/chip.component.d.ts +0 -3
- package/chip/chip.module.d.ts +0 -6
- package/chip/mis-crystal-design-system-chip.d.ts +4 -0
- package/chip/mis-crystal-design-system-chip.metadata.json +1 -0
- package/chip/package.json +11 -0
- package/datepicker_v2/datepicker.module.d.ts +0 -10
- package/datepicker_v2/mis-crystal-design-system-datepicker_v2.d.ts +7 -0
- package/datepicker_v2/mis-crystal-design-system-datepicker_v2.metadata.json +1 -0
- package/datepicker_v2/package.json +11 -0
- package/datepicker_v2/public_api.d.ts +0 -1
- package/datepicker_v2/tz-datepicker.directive.d.ts +0 -3
- package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +0 -3
- package/daterangepicker_v2/daterangepicker.module.d.ts +0 -10
- package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.d.ts +7 -0
- package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.metadata.json +1 -0
- package/daterangepicker_v2/package.json +11 -0
- package/daterangepicker_v2/public_api.d.ts +0 -1
- package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +0 -3
- package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +0 -3
- package/drawer/drawer-body/drawer-body.component.d.ts +1 -3
- package/drawer/drawer.module.d.ts +0 -8
- package/drawer/drawer.service.d.ts +0 -3
- package/drawer/mis-crystal-design-system-drawer.d.ts +5 -0
- package/drawer/mis-crystal-design-system-drawer.metadata.json +1 -0
- package/drawer/package.json +11 -0
- package/dropdown/dropdown.component.d.ts +3 -3
- package/dropdown/dropdown.module.d.ts +0 -9
- package/dropdown/mis-crystal-design-system-dropdown.d.ts +4 -0
- package/dropdown/mis-crystal-design-system-dropdown.metadata.json +1 -0
- package/dropdown/package.json +11 -0
- package/esm2015/action-list/action-list.component.js +160 -0
- package/esm2015/action-list/action-list.module.js +19 -0
- package/esm2015/analytics/analytics.module.js +14 -0
- package/esm2015/analytics/analytics.service.js +62 -0
- package/esm2015/async-search-dropdown/async-dropdown.component.js +223 -0
- package/esm2015/async-search-dropdown/async-dropdown.module.js +16 -0
- package/esm2015/button/button.component.js +43 -0
- package/esm2015/button/button.directive.js +57 -0
- package/esm2015/button/button.module.js +17 -0
- package/esm2015/checkbox/checkbox.component.js +79 -0
- package/esm2015/checkbox/checkbox.module.js +17 -0
- package/esm2015/chip/chip.component.js +31 -0
- package/esm2015/chip/chip.module.js +16 -0
- package/esm2015/datepicker_v2/datepicker.module.js +18 -0
- package/esm2015/datepicker_v2/mis-crystal-design-system-datepicker_v2.js +7 -0
- package/esm2015/datepicker_v2/public_api.js +3 -0
- package/esm2015/datepicker_v2/tz-datepicker.directive.js +126 -0
- package/esm2015/datepicker_v2/tz-dp-container/tz-dp-container.component.js +149 -0
- package/esm2015/daterangepicker_v2/daterangepicker.module.js +18 -0
- package/esm2015/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.js +7 -0
- package/esm2015/daterangepicker_v2/public_api.js +3 -0
- package/esm2015/daterangepicker_v2/tz-daterangepicker.directive.js +123 -0
- package/esm2015/daterangepicker_v2/tz-drp-container/tz-drp-container.component.js +205 -0
- package/esm2015/drawer/drawer-body/drawer-body.component.js +41 -0
- package/esm2015/drawer/drawer.module.js +28 -0
- package/{esm2020/drawer/drawer.service.mjs → esm2015/drawer/drawer.service.js} +15 -12
- package/esm2015/drawer/mis-crystal-design-system-drawer.js +6 -0
- package/esm2015/dropdown/dropdown.component.js +145 -0
- package/esm2015/dropdown/dropdown.module.js +20 -0
- package/esm2015/fab/fab.component.js +63 -0
- package/esm2015/fab/fab.module.js +16 -0
- package/esm2015/input/directives/input/input.directive.js +38 -0
- package/esm2015/input/mis-input.component.js +43 -0
- package/esm2015/input/mis-input.module.js +15 -0
- package/esm2015/loader/loader.component.js +20 -0
- package/esm2015/loader/loader.module.js +16 -0
- package/esm2015/menu/menu-close.directive.js +18 -0
- package/esm2015/menu/menu.directive.js +70 -0
- package/esm2015/menu/menu.module.js +17 -0
- package/esm2015/modal/mis-crystal-design-system-modal.js +6 -0
- package/esm2015/modal/modal.module.js +28 -0
- package/esm2015/modal/modal.service.js +72 -0
- package/esm2015/modal/module-wrapper/module-wrapper.component.js +33 -0
- package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +268 -0
- package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +20 -0
- package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +265 -0
- package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.module.js +20 -0
- package/esm2015/phone-input/index.js +2 -0
- package/esm2015/phone-input/mis-crystal-design-system-phone-input.js +5 -0
- package/esm2015/phone-input/phone-input.component.js +36 -0
- package/esm2015/phone-input/phone-input.module.js +21 -0
- package/esm2015/phone-input/public_api.js +3 -0
- package/esm2015/radio-button/radio-button.component.js +45 -0
- package/esm2015/radio-button/radio-button.module.js +17 -0
- package/esm2015/ske-loader/ske-loader.component.js +31 -0
- package/esm2015/ske-loader/ske-loader.module.js +13 -0
- package/esm2015/switch/switch.component.js +39 -0
- package/esm2015/switch/switch.module.js +17 -0
- package/esm2015/table/custom-table-cell.directive.js +42 -0
- package/esm2015/table/filter/filter.component.js +75 -0
- package/esm2015/table/mis-crystal-design-system-table.js +6 -0
- package/esm2015/table/public_api.js +5 -0
- package/esm2015/table/sub-table/sub-table.component.js +69 -0
- package/esm2015/table/table.component.js +199 -0
- package/esm2015/table/table.module.js +21 -0
- package/{esm2020/toast/mis-crystal-design-system-toast.mjs → esm2015/toast/mis-crystal-design-system-toast.js} +2 -1
- package/esm2015/toast/toast.component.js +28 -0
- package/esm2015/toast/toast.data.service.js +29 -0
- package/esm2015/toast/toast.module.js +28 -0
- package/esm2015/toast/toast.service.js +96 -0
- package/esm2015/tooltip/tooltip-container/tooltip.component.js +34 -0
- package/esm2015/tooltip/tooltip.directive.js +117 -0
- package/esm2015/tooltip/tooltip.module.js +19 -0
- package/esm2015/virtual-scroll/index.js +2 -0
- package/esm2015/virtual-scroll/mis-crystal-design-system-virtual-scroll.js +5 -0
- package/esm2015/virtual-scroll/public_api.js +4 -0
- package/esm2015/virtual-scroll/virtual-scroll.component.js +112 -0
- package/esm2015/virtual-scroll/virtual-scroll.constants.js +2 -0
- package/esm2015/virtual-scroll/virtual-scroll.module.js +24 -0
- package/{esm2020/widgets/classes/base-widget.mjs → esm2015/widgets/classes/base-widget.js} +2 -2
- package/esm2015/widgets/classes/widget-group.js +32 -0
- package/esm2015/widgets/services/widget.service.js +16 -0
- package/esm2015/widgets/widgets.module.js +12 -0
- package/fab/fab.component.d.ts +0 -3
- package/fab/fab.module.d.ts +0 -6
- package/fab/mis-crystal-design-system-fab.d.ts +4 -0
- package/fab/mis-crystal-design-system-fab.metadata.json +1 -0
- package/fab/package.json +11 -0
- package/fesm2015/mis-crystal-design-system-action-list.js +183 -0
- package/fesm2015/mis-crystal-design-system-action-list.js.map +1 -0
- package/fesm2015/{mis-crystal-design-system-analytics.mjs → mis-crystal-design-system-analytics.js} +14 -22
- package/fesm2015/mis-crystal-design-system-analytics.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.js +242 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-button.js +120 -0
- package/fesm2015/mis-crystal-design-system-button.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-checkbox.js +100 -0
- package/fesm2015/mis-crystal-design-system-checkbox.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-chip.js +52 -0
- package/fesm2015/mis-crystal-design-system-chip.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.js +339 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js +392 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-drawer.js +153 -0
- package/fesm2015/mis-crystal-design-system-drawer.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-dropdown.js +169 -0
- package/fesm2015/mis-crystal-design-system-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-fab.js +84 -0
- package/fesm2015/mis-crystal-design-system-fab.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-input.js +97 -0
- package/fesm2015/mis-crystal-design-system-input.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-loader.js +41 -0
- package/fesm2015/mis-crystal-design-system-loader.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-menu.js +106 -0
- package/fesm2015/mis-crystal-design-system-menu.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-modal.js +147 -0
- package/fesm2015/mis-crystal-design-system-modal.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js +292 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js +289 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-phone-input.js +60 -0
- package/fesm2015/mis-crystal-design-system-phone-input.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-radio-button.js +66 -0
- package/fesm2015/mis-crystal-design-system-radio-button.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.js +49 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-styles.js +4 -0
- package/fesm2015/mis-crystal-design-system-styles.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-switch.js +60 -0
- package/fesm2015/mis-crystal-design-system-switch.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-table.js +405 -0
- package/fesm2015/mis-crystal-design-system-table.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-toast.js +174 -0
- package/fesm2015/mis-crystal-design-system-toast.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-tooltip.js +171 -0
- package/fesm2015/mis-crystal-design-system-tooltip.js.map +1 -0
- package/{fesm2020/mis-crystal-design-system-utils.mjs → fesm2015/mis-crystal-design-system-utils.js} +1 -1
- package/fesm2015/mis-crystal-design-system-utils.js.map +1 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.js +142 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.js.map +1 -0
- package/fesm2015/{mis-crystal-design-system-widgets.mjs → mis-crystal-design-system-widgets.js} +8 -13
- package/fesm2015/mis-crystal-design-system-widgets.js.map +1 -0
- package/fesm2015/{mis-crystal-design-system.mjs → mis-crystal-design-system.js} +1 -1
- package/fesm2015/mis-crystal-design-system.js.map +1 -0
- package/input/directives/input/input.directive.d.ts +0 -3
- package/input/mis-crystal-design-system-input.d.ts +4 -0
- package/input/mis-crystal-design-system-input.metadata.json +1 -0
- package/input/mis-input.component.d.ts +0 -3
- package/input/mis-input.module.d.ts +0 -8
- package/input/package.json +11 -0
- package/loader/loader.component.d.ts +0 -3
- package/loader/loader.module.d.ts +0 -6
- package/loader/mis-crystal-design-system-loader.d.ts +4 -0
- package/loader/mis-crystal-design-system-loader.metadata.json +1 -0
- package/loader/package.json +11 -0
- package/menu/menu-close.directive.d.ts +0 -3
- package/menu/menu.directive.d.ts +0 -3
- package/menu/menu.module.d.ts +1 -9
- package/menu/mis-crystal-design-system-menu.d.ts +4 -0
- package/menu/mis-crystal-design-system-menu.metadata.json +1 -0
- package/menu/package.json +11 -0
- package/mis-crystal-design-system.d.ts +4 -0
- package/mis-crystal-design-system.metadata.json +1 -0
- package/modal/mis-crystal-design-system-modal.d.ts +5 -0
- package/modal/mis-crystal-design-system-modal.metadata.json +1 -0
- package/modal/modal.module.d.ts +0 -8
- package/modal/modal.service.d.ts +0 -3
- package/modal/module-wrapper/module-wrapper.component.d.ts +0 -3
- package/modal/package.json +11 -0
- package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.d.ts +4 -0
- package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.metadata.json +1 -0
- package/multi-select-dropdown/multi-select-dropdown.component.d.ts +0 -3
- package/multi-select-dropdown/multi-select-dropdown.module.d.ts +0 -10
- package/multi-select-dropdown/package.json +11 -0
- package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +4 -0
- package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.metadata.json +1 -0
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +0 -3
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.module.d.ts +0 -10
- package/nested-multi-select-dropdown/package.json +11 -0
- package/package.json +8 -228
- package/phone-input/index.d.ts +1 -0
- package/phone-input/mis-crystal-design-system-phone-input.d.ts +4 -0
- package/phone-input/mis-crystal-design-system-phone-input.metadata.json +1 -0
- package/phone-input/package.json +11 -0
- package/phone-input/phone-input.component.d.ts +17 -0
- package/phone-input/phone-input.module.d.ts +4 -0
- package/phone-input/public_api.d.ts +2 -0
- package/radio-button/mis-crystal-design-system-radio-button.d.ts +4 -0
- package/radio-button/mis-crystal-design-system-radio-button.metadata.json +1 -0
- package/radio-button/package.json +11 -0
- package/radio-button/radio-button.component.d.ts +0 -3
- package/radio-button/radio-button.module.d.ts +0 -7
- package/ske-loader/mis-crystal-design-system-ske-loader.d.ts +4 -0
- package/ske-loader/mis-crystal-design-system-ske-loader.metadata.json +1 -0
- package/ske-loader/package.json +11 -0
- package/ske-loader/ske-loader.component.d.ts +0 -3
- package/ske-loader/ske-loader.module.d.ts +0 -6
- package/styles/mis-crystal-design-system-styles.d.ts +4 -0
- package/styles/mis-crystal-design-system-styles.metadata.json +1 -0
- package/styles/package.json +11 -0
- package/switch/mis-crystal-design-system-switch.d.ts +4 -0
- package/switch/mis-crystal-design-system-switch.metadata.json +1 -0
- package/switch/package.json +11 -0
- package/switch/switch.component.d.ts +0 -3
- package/switch/switch.module.d.ts +0 -7
- package/table/custom-table-cell.directive.d.ts +0 -3
- package/table/filter/filter.component.d.ts +0 -3
- package/table/mis-crystal-design-system-table.d.ts +5 -0
- package/table/mis-crystal-design-system-table.metadata.json +1 -0
- package/table/package.json +11 -0
- package/table/public_api.d.ts +0 -1
- package/table/sub-table/sub-table.component.d.ts +0 -3
- package/table/table.component.d.ts +0 -3
- package/table/table.module.d.ts +0 -11
- package/toast/mis-crystal-design-system-toast.d.ts +5 -0
- package/toast/mis-crystal-design-system-toast.metadata.json +1 -0
- package/toast/package.json +11 -0
- package/toast/toast.component.d.ts +0 -3
- package/toast/toast.data.service.d.ts +0 -3
- package/toast/toast.module.d.ts +0 -7
- package/toast/toast.service.d.ts +0 -3
- package/tooltip/mis-crystal-design-system-tooltip.d.ts +4 -0
- package/tooltip/mis-crystal-design-system-tooltip.metadata.json +1 -0
- package/tooltip/package.json +11 -0
- package/tooltip/tooltip-container/tooltip.component.d.ts +0 -3
- package/tooltip/tooltip.directive.d.ts +0 -3
- package/tooltip/tooltip.module.d.ts +0 -8
- package/utils/mis-crystal-design-system-utils.d.ts +4 -0
- package/utils/mis-crystal-design-system-utils.metadata.json +1 -0
- package/utils/package.json +11 -0
- package/virtual-scroll/index.d.ts +1 -0
- package/virtual-scroll/mis-crystal-design-system-virtual-scroll.d.ts +4 -0
- package/virtual-scroll/mis-crystal-design-system-virtual-scroll.metadata.json +1 -0
- package/virtual-scroll/package.json +11 -0
- package/virtual-scroll/public_api.d.ts +3 -0
- package/virtual-scroll/virtual-scroll.component.d.ts +25 -0
- package/virtual-scroll/virtual-scroll.constants.d.ts +15 -0
- package/virtual-scroll/virtual-scroll.module.d.ts +4 -0
- package/widgets/mis-crystal-design-system-widgets.d.ts +4 -0
- package/widgets/mis-crystal-design-system-widgets.metadata.json +1 -0
- package/widgets/package.json +11 -0
- package/widgets/services/widget.service.d.ts +0 -3
- package/widgets/widgets.module.d.ts +0 -5
- package/esm2020/action-list/action-list.component.mjs +0 -174
- package/esm2020/action-list/action-list.module.mjs +0 -24
- package/esm2020/analytics/analytics.module.mjs +0 -18
- package/esm2020/analytics/analytics.service.mjs +0 -63
- package/esm2020/async-search-dropdown/async-dropdown.component.mjs +0 -242
- package/esm2020/async-search-dropdown/async-dropdown.module.mjs +0 -21
- package/esm2020/button/button.component.mjs +0 -52
- package/esm2020/button/button.directive.mjs +0 -59
- package/esm2020/button/button.module.mjs +0 -22
- package/esm2020/checkbox/checkbox.component.mjs +0 -87
- package/esm2020/checkbox/checkbox.module.mjs +0 -22
- package/esm2020/chip/chip.component.mjs +0 -36
- package/esm2020/chip/chip.module.mjs +0 -21
- package/esm2020/datepicker_v2/datepicker.module.mjs +0 -23
- package/esm2020/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -5
- package/esm2020/datepicker_v2/public_api.mjs +0 -4
- package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +0 -143
- package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -151
- package/esm2020/daterangepicker_v2/daterangepicker.module.mjs +0 -24
- package/esm2020/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -5
- package/esm2020/daterangepicker_v2/public_api.mjs +0 -4
- package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -133
- package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -209
- package/esm2020/drawer/drawer-body/drawer-body.component.mjs +0 -43
- package/esm2020/drawer/drawer.module.mjs +0 -32
- package/esm2020/drawer/mis-crystal-design-system-drawer.mjs +0 -5
- package/esm2020/dropdown/dropdown.component.mjs +0 -148
- package/esm2020/dropdown/dropdown.module.mjs +0 -24
- package/esm2020/fab/fab.component.mjs +0 -82
- package/esm2020/fab/fab.module.mjs +0 -21
- package/esm2020/input/directives/input/input.directive.mjs +0 -40
- package/esm2020/input/mis-input.component.mjs +0 -46
- package/esm2020/input/mis-input.module.mjs +0 -20
- package/esm2020/loader/loader.component.mjs +0 -19
- package/esm2020/loader/loader.module.mjs +0 -21
- package/esm2020/menu/menu-close.directive.mjs +0 -23
- package/esm2020/menu/menu.directive.mjs +0 -75
- package/esm2020/menu/menu.module.mjs +0 -22
- package/esm2020/modal/mis-crystal-design-system-modal.mjs +0 -5
- package/esm2020/modal/modal.module.mjs +0 -32
- package/esm2020/modal/modal.service.mjs +0 -70
- package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +0 -40
- package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -297
- package/esm2020/multi-select-dropdown/multi-select-dropdown.module.mjs +0 -25
- package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -313
- package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +0 -25
- package/esm2020/radio-button/radio-button.component.mjs +0 -49
- package/esm2020/radio-button/radio-button.module.mjs +0 -22
- package/esm2020/ske-loader/ske-loader.component.mjs +0 -34
- package/esm2020/ske-loader/ske-loader.module.mjs +0 -18
- package/esm2020/switch/switch.component.mjs +0 -43
- package/esm2020/switch/switch.module.mjs +0 -22
- package/esm2020/table/custom-table-cell.directive.mjs +0 -42
- package/esm2020/table/filter/filter.component.mjs +0 -79
- package/esm2020/table/mis-crystal-design-system-table.mjs +0 -5
- package/esm2020/table/public_api.mjs +0 -6
- package/esm2020/table/sub-table/sub-table.component.mjs +0 -69
- package/esm2020/table/table.component.mjs +0 -208
- package/esm2020/table/table.module.mjs +0 -26
- package/esm2020/toast/toast.component.mjs +0 -33
- package/esm2020/toast/toast.data.service.mjs +0 -30
- package/esm2020/toast/toast.module.mjs +0 -32
- package/esm2020/toast/toast.service.mjs +0 -91
- package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +0 -33
- package/esm2020/tooltip/tooltip.directive.mjs +0 -122
- package/esm2020/tooltip/tooltip.module.mjs +0 -23
- package/esm2020/widgets/classes/widget-group.mjs +0 -32
- package/esm2020/widgets/services/widget.service.mjs +0 -18
- package/esm2020/widgets/widgets.module.mjs +0 -17
- package/fesm2015/mis-crystal-design-system-action-list.mjs +0 -199
- package/fesm2015/mis-crystal-design-system-action-list.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-analytics.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +0 -272
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-button.mjs +0 -134
- package/fesm2015/mis-crystal-design-system-button.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-checkbox.mjs +0 -112
- package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-chip.mjs +0 -61
- package/fesm2015/mis-crystal-design-system-chip.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +0 -360
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +0 -412
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-drawer.mjs +0 -157
- package/fesm2015/mis-crystal-design-system-drawer.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-dropdown.mjs +0 -176
- package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-fab.mjs +0 -102
- package/fesm2015/mis-crystal-design-system-fab.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-input.mjs +0 -112
- package/fesm2015/mis-crystal-design-system-input.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-loader.mjs +0 -44
- package/fesm2015/mis-crystal-design-system-loader.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-menu.mjs +0 -120
- package/fesm2015/mis-crystal-design-system-menu.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-modal.mjs +0 -156
- package/fesm2015/mis-crystal-design-system-modal.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +0 -312
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -310
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-radio-button.mjs +0 -74
- package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs +0 -56
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-styles.mjs +0 -4
- package/fesm2015/mis-crystal-design-system-styles.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-switch.mjs +0 -68
- package/fesm2015/mis-crystal-design-system-switch.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-table.mjs +0 -421
- package/fesm2015/mis-crystal-design-system-table.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-toast.mjs +0 -182
- package/fesm2015/mis-crystal-design-system-toast.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-tooltip.mjs +0 -179
- package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-utils.mjs +0 -24
- package/fesm2015/mis-crystal-design-system-utils.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system-widgets.mjs.map +0 -1
- package/fesm2015/mis-crystal-design-system.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-action-list.mjs +0 -201
- package/fesm2020/mis-crystal-design-system-action-list.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-analytics.mjs +0 -85
- package/fesm2020/mis-crystal-design-system-analytics.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +0 -265
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-button.mjs +0 -134
- package/fesm2020/mis-crystal-design-system-button.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-checkbox.mjs +0 -112
- package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-chip.mjs +0 -61
- package/fesm2020/mis-crystal-design-system-chip.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs +0 -361
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +0 -409
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-drawer.mjs +0 -156
- package/fesm2020/mis-crystal-design-system-drawer.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-dropdown.mjs +0 -175
- package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-fab.mjs +0 -107
- package/fesm2020/mis-crystal-design-system-fab.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-input.mjs +0 -106
- package/fesm2020/mis-crystal-design-system-input.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-loader.mjs +0 -44
- package/fesm2020/mis-crystal-design-system-loader.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-menu.mjs +0 -119
- package/fesm2020/mis-crystal-design-system-menu.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-modal.mjs +0 -156
- package/fesm2020/mis-crystal-design-system-modal.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs +0 -325
- package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -341
- package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-radio-button.mjs +0 -74
- package/fesm2020/mis-crystal-design-system-radio-button.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs +0 -56
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-styles.mjs +0 -4
- package/fesm2020/mis-crystal-design-system-styles.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-switch.mjs +0 -68
- package/fesm2020/mis-crystal-design-system-switch.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-table.mjs +0 -413
- package/fesm2020/mis-crystal-design-system-table.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-toast.mjs +0 -180
- package/fesm2020/mis-crystal-design-system-toast.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-tooltip.mjs +0 -177
- package/fesm2020/mis-crystal-design-system-tooltip.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-utils.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system-widgets.mjs +0 -128
- package/fesm2020/mis-crystal-design-system-widgets.mjs.map +0 -1
- package/fesm2020/mis-crystal-design-system.mjs +0 -24
- package/fesm2020/mis-crystal-design-system.mjs.map +0 -1
- /package/{esm2020/action-list/index.mjs → esm2015/action-list/index.js} +0 -0
- /package/{esm2020/action-list/mis-crystal-design-system-action-list.mjs → esm2015/action-list/mis-crystal-design-system-action-list.js} +0 -0
- /package/{esm2020/action-list/public_api.mjs → esm2015/action-list/public_api.js} +0 -0
- /package/{esm2020/analytics/index.mjs → esm2015/analytics/index.js} +0 -0
- /package/{esm2020/analytics/mis-crystal-design-system-analytics.mjs → esm2015/analytics/mis-crystal-design-system-analytics.js} +0 -0
- /package/{esm2020/analytics/public_api.mjs → esm2015/analytics/public_api.js} +0 -0
- /package/{esm2020/async-search-dropdown/index.mjs → esm2015/async-search-dropdown/index.js} +0 -0
- /package/{esm2020/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs → esm2015/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.js} +0 -0
- /package/{esm2020/async-search-dropdown/public_api.mjs → esm2015/async-search-dropdown/public_api.js} +0 -0
- /package/{esm2020/button/index.mjs → esm2015/button/index.js} +0 -0
- /package/{esm2020/button/mis-crystal-design-system-button.mjs → esm2015/button/mis-crystal-design-system-button.js} +0 -0
- /package/{esm2020/button/public_api.mjs → esm2015/button/public_api.js} +0 -0
- /package/{esm2020/checkbox/index.mjs → esm2015/checkbox/index.js} +0 -0
- /package/{esm2020/checkbox/mis-crystal-design-system-checkbox.mjs → esm2015/checkbox/mis-crystal-design-system-checkbox.js} +0 -0
- /package/{esm2020/checkbox/public_api.mjs → esm2015/checkbox/public_api.js} +0 -0
- /package/{esm2020/chip/index.mjs → esm2015/chip/index.js} +0 -0
- /package/{esm2020/chip/mis-crystal-design-system-chip.mjs → esm2015/chip/mis-crystal-design-system-chip.js} +0 -0
- /package/{esm2020/chip/public_api.mjs → esm2015/chip/public_api.js} +0 -0
- /package/{esm2020/datepicker_v2/datepicker-constants.mjs → esm2015/datepicker_v2/datepicker-constants.js} +0 -0
- /package/{esm2020/datepicker_v2/index.mjs → esm2015/datepicker_v2/index.js} +0 -0
- /package/{esm2020/datepicker_v2/models/dp-config.model.mjs → esm2015/datepicker_v2/models/dp-config.model.js} +0 -0
- /package/{esm2020/datepicker_v2/utils/index.mjs → esm2015/datepicker_v2/utils/index.js} +0 -0
- /package/{esm2020/daterangepicker_v2/daterangepicker-constants.mjs → esm2015/daterangepicker_v2/daterangepicker-constants.js} +0 -0
- /package/{esm2020/daterangepicker_v2/index.mjs → esm2015/daterangepicker_v2/index.js} +0 -0
- /package/{esm2020/daterangepicker_v2/models/drp-config.model.mjs → esm2015/daterangepicker_v2/models/drp-config.model.js} +0 -0
- /package/{esm2020/daterangepicker_v2/utils/index.mjs → esm2015/daterangepicker_v2/utils/index.js} +0 -0
- /package/{esm2020/drawer/drawer-constants.mjs → esm2015/drawer/drawer-constants.js} +0 -0
- /package/{esm2020/drawer/drawer-ref.mjs → esm2015/drawer/drawer-ref.js} +0 -0
- /package/{esm2020/drawer/index.mjs → esm2015/drawer/index.js} +0 -0
- /package/{esm2020/drawer/public_api.mjs → esm2015/drawer/public_api.js} +0 -0
- /package/{esm2020/dropdown/index.mjs → esm2015/dropdown/index.js} +0 -0
- /package/{esm2020/dropdown/mis-crystal-design-system-dropdown.mjs → esm2015/dropdown/mis-crystal-design-system-dropdown.js} +0 -0
- /package/{esm2020/dropdown/public_api.mjs → esm2015/dropdown/public_api.js} +0 -0
- /package/{esm2020/fab/index.mjs → esm2015/fab/index.js} +0 -0
- /package/{esm2020/fab/mis-crystal-design-system-fab.mjs → esm2015/fab/mis-crystal-design-system-fab.js} +0 -0
- /package/{esm2020/fab/public_api.mjs → esm2015/fab/public_api.js} +0 -0
- /package/{esm2020/index.mjs → esm2015/index.js} +0 -0
- /package/{esm2020/input/index.mjs → esm2015/input/index.js} +0 -0
- /package/{esm2020/input/mis-crystal-design-system-input.mjs → esm2015/input/mis-crystal-design-system-input.js} +0 -0
- /package/{esm2020/input/public_api.mjs → esm2015/input/public_api.js} +0 -0
- /package/{esm2020/loader/index.mjs → esm2015/loader/index.js} +0 -0
- /package/{esm2020/loader/mis-crystal-design-system-loader.mjs → esm2015/loader/mis-crystal-design-system-loader.js} +0 -0
- /package/{esm2020/loader/public_api.mjs → esm2015/loader/public_api.js} +0 -0
- /package/{esm2020/menu/index.mjs → esm2015/menu/index.js} +0 -0
- /package/{esm2020/menu/mis-crystal-design-system-menu.mjs → esm2015/menu/mis-crystal-design-system-menu.js} +0 -0
- /package/{esm2020/menu/public_api.mjs → esm2015/menu/public_api.js} +0 -0
- /package/{esm2020/mis-crystal-design-system.mjs → esm2015/mis-crystal-design-system.js} +0 -0
- /package/{esm2020/modal/index.mjs → esm2015/modal/index.js} +0 -0
- /package/{esm2020/modal/modal-constants.mjs → esm2015/modal/modal-constants.js} +0 -0
- /package/{esm2020/modal/modal-ref.mjs → esm2015/modal/modal-ref.js} +0 -0
- /package/{esm2020/modal/public_api.mjs → esm2015/modal/public_api.js} +0 -0
- /package/{esm2020/multi-select-dropdown/index.mjs → esm2015/multi-select-dropdown/index.js} +0 -0
- /package/{esm2020/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs → esm2015/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.js} +0 -0
- /package/{esm2020/multi-select-dropdown/public_api.mjs → esm2015/multi-select-dropdown/public_api.js} +0 -0
- /package/{esm2020/nested-multi-select-dropdown/index.mjs → esm2015/nested-multi-select-dropdown/index.js} +0 -0
- /package/{esm2020/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs → esm2015/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.js} +0 -0
- /package/{esm2020/nested-multi-select-dropdown/public_api.mjs → esm2015/nested-multi-select-dropdown/public_api.js} +0 -0
- /package/{esm2020/public-api.mjs → esm2015/public-api.js} +0 -0
- /package/{esm2020/radio-button/index.mjs → esm2015/radio-button/index.js} +0 -0
- /package/{esm2020/radio-button/mis-crystal-design-system-radio-button.mjs → esm2015/radio-button/mis-crystal-design-system-radio-button.js} +0 -0
- /package/{esm2020/radio-button/public_api.mjs → esm2015/radio-button/public_api.js} +0 -0
- /package/{esm2020/ske-loader/index.mjs → esm2015/ske-loader/index.js} +0 -0
- /package/{esm2020/ske-loader/mis-crystal-design-system-ske-loader.mjs → esm2015/ske-loader/mis-crystal-design-system-ske-loader.js} +0 -0
- /package/{esm2020/ske-loader/public_api.mjs → esm2015/ske-loader/public_api.js} +0 -0
- /package/{esm2020/styles/index.mjs → esm2015/styles/index.js} +0 -0
- /package/{esm2020/styles/mis-crystal-design-system-styles.mjs → esm2015/styles/mis-crystal-design-system-styles.js} +0 -0
- /package/{esm2020/styles/public_api.mjs → esm2015/styles/public_api.js} +0 -0
- /package/{esm2020/switch/index.mjs → esm2015/switch/index.js} +0 -0
- /package/{esm2020/switch/mis-crystal-design-system-switch.mjs → esm2015/switch/mis-crystal-design-system-switch.js} +0 -0
- /package/{esm2020/switch/public_api.mjs → esm2015/switch/public_api.js} +0 -0
- /package/{esm2020/table/index.mjs → esm2015/table/index.js} +0 -0
- /package/{esm2020/toast/index.mjs → esm2015/toast/index.js} +0 -0
- /package/{esm2020/toast/public_api.mjs → esm2015/toast/public_api.js} +0 -0
- /package/{esm2020/tooltip/index.mjs → esm2015/tooltip/index.js} +0 -0
- /package/{esm2020/tooltip/mis-crystal-design-system-tooltip.mjs → esm2015/tooltip/mis-crystal-design-system-tooltip.js} +0 -0
- /package/{esm2020/tooltip/models/tooltip.model.mjs → esm2015/tooltip/models/tooltip.model.js} +0 -0
- /package/{esm2020/tooltip/public_api.mjs → esm2015/tooltip/public_api.js} +0 -0
- /package/{esm2020/utils/index.mjs → esm2015/utils/index.js} +0 -0
- /package/{esm2020/utils/mis-crystal-design-system-utils.mjs → esm2015/utils/mis-crystal-design-system-utils.js} +0 -0
- /package/{esm2020/widgets/classes/async-widget.mjs → esm2015/widgets/classes/async-widget.js} +0 -0
- /package/{esm2020/widgets/classes/sync-widget.mjs → esm2015/widgets/classes/sync-widget.js} +0 -0
- /package/{esm2020/widgets/index.mjs → esm2015/widgets/index.js} +0 -0
- /package/{esm2020/widgets/interfaces/widgets.model.mjs → esm2015/widgets/interfaces/widgets.model.js} +0 -0
- /package/{esm2020/widgets/mis-crystal-design-system-widgets.mjs → esm2015/widgets/mis-crystal-design-system-widgets.js} +0 -0
- /package/{esm2020/widgets/public_api.mjs → esm2015/widgets/public_api.js} +0 -0
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Self, Optional, Component, Input, ContentChild, NgModule } from '@angular/core';
|
|
3
|
-
import { ReplaySubject, Subject } from 'rxjs';
|
|
4
|
-
import { takeUntil } from 'rxjs/operators';
|
|
5
|
-
import * as i1 from '@angular/forms';
|
|
6
|
-
import { FormsModule } from '@angular/forms';
|
|
7
|
-
import * as i1$1 from '@angular/common';
|
|
8
|
-
import { CommonModule } from '@angular/common';
|
|
9
|
-
|
|
10
|
-
class MisInputDirective {
|
|
11
|
-
constructor(el, control) {
|
|
12
|
-
this.el = el;
|
|
13
|
-
this.control = control;
|
|
14
|
-
this.validityChange = new ReplaySubject(1);
|
|
15
|
-
this.validity = this.validityChange.asObservable();
|
|
16
|
-
this.endObs = new Subject();
|
|
17
|
-
this.focus = false;
|
|
18
|
-
this.hasValue = false;
|
|
19
|
-
}
|
|
20
|
-
ngOnInit() {
|
|
21
|
-
var _a, _b;
|
|
22
|
-
(_b = (_a = this.control) === null || _a === void 0 ? void 0 : _a.control) === null || _b === void 0 ? void 0 : _b.valueChanges.pipe(takeUntil(this.endObs)).subscribe(() => {
|
|
23
|
-
var _a;
|
|
24
|
-
this.validityChange.next(!((_a = this.control.control) === null || _a === void 0 ? void 0 : _a.invalid));
|
|
25
|
-
});
|
|
26
|
-
this.el.nativeElement.placeholder += " ";
|
|
27
|
-
}
|
|
28
|
-
ngOnDestroy() {
|
|
29
|
-
this.endObs.next();
|
|
30
|
-
this.endObs.complete();
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
MisInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisInputDirective, deps: [{ token: i0.ElementRef }, { token: i1.NgControl, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
34
|
-
MisInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: MisInputDirective, selector: "input[misInput]", ngImport: i0 });
|
|
35
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisInputDirective, decorators: [{
|
|
36
|
-
type: Directive,
|
|
37
|
-
args: [{
|
|
38
|
-
// tslint:disable-next-line
|
|
39
|
-
selector: "input[misInput]"
|
|
40
|
-
}]
|
|
41
|
-
}], ctorParameters: function () {
|
|
42
|
-
return [{ type: i0.ElementRef }, { type: i1.NgControl, decorators: [{
|
|
43
|
-
type: Self
|
|
44
|
-
}, {
|
|
45
|
-
type: Optional
|
|
46
|
-
}] }];
|
|
47
|
-
} });
|
|
48
|
-
|
|
49
|
-
class MisInputComponent {
|
|
50
|
-
constructor() {
|
|
51
|
-
this.type = "floating";
|
|
52
|
-
this.size = "sm";
|
|
53
|
-
this.noHints = false;
|
|
54
|
-
this.hasError = false; // show input in error state
|
|
55
|
-
this.inputValidity = true;
|
|
56
|
-
}
|
|
57
|
-
set formInput(input) {
|
|
58
|
-
var _a, _b;
|
|
59
|
-
if (!this.placeholder) {
|
|
60
|
-
this.placeholder = (input === null || input === void 0 ? void 0 : input.el.nativeElement.placeholder) || "";
|
|
61
|
-
}
|
|
62
|
-
this.inputCtrl = (_a = input.control) === null || _a === void 0 ? void 0 : _a.control;
|
|
63
|
-
(_b = this.inputSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
64
|
-
this.inputSubscription = input === null || input === void 0 ? void 0 : input.validity.subscribe(res => (this.inputValidity = res));
|
|
65
|
-
this.placeholder += " ";
|
|
66
|
-
}
|
|
67
|
-
ngOnInit() { }
|
|
68
|
-
ngOnDestroy() {
|
|
69
|
-
var _a;
|
|
70
|
-
(_a = this.inputSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
MisInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
-
MisInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: MisInputComponent, selector: "mis-input", inputs: { type: "type", size: "size", placeholder: "placeholder", noHints: "noHints", hasError: "hasError" }, queries: [{ propertyName: "formInput", first: true, predicate: MisInputDirective, descendants: true }], ngImport: i0, template: "<div\n [class]=\"'input-container ' + size\"\n [ngClass]=\"{\n rounded: type === 'rounded',\n floating: type === 'floating',\n 'has-error': !inputValidity || hasError,\n 'no-hint': noHints,\n 'mis-disabled': inputCtrl?.disabled\n }\"\n>\n <div class=\"input-wrapper\">\n <ng-content select=\"[mis-input-icon]\"></ng-content>\n <div class=\"mis-input\">\n <ng-content select=\"input\"></ng-content>\n <span class=\"mis-placeholder\">{{ placeholder }}</span>\n </div>\n <ng-content select=\"[mis-input-act]\"></ng-content>\n </div>\n <ng-content select=\"[mis-input-hint]\"></ng-content>\n <ng-content select=\"[mis-input-error]\"></ng-content>\n</div>\n", styles: [":root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-disabled: #929DAB;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3}.input-container{position:relative;padding-bottom:24px}.input-container.mis-disabled .input-wrapper{pointer-events:none!important}.input-container .input-wrapper{box-sizing:border-box;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;transition:all ease-in 60ms;background-color:#fff;padding:3px 16px;gap:16px}.input-container .input-wrapper .mis-input{flex:1 1 auto;z-index:0;position:relative;display:flex;align-items:center}.input-container .input-wrapper input{flex:1 1 auto;border:none;outline:none;height:100%;padding:0;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;height:24px;color:#181f33;background-color:transparent;width:100%;vertical-align:middle}.input-container .input-wrapper input::placeholder{transition:all ease-in .1s;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper .mis-placeholder{position:absolute;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#6a737d;z-index:-1;transition:all ease-in .15s}.input-container .input-wrapper:focus-within{background-color:#f5f5f5}.input-container .input-wrapper:focus-within{border:1px solid #0937B2}.input-container .input-wrapper [mis-input-act],.input-container .input-wrapper [mis-input-icon]{width:18px;height:18px;color:#6a737d;font-size:24px;line-height:18px}.input-container .input-wrapper [mis-input-act]{cursor:pointer}.input-container.no-hint{padding-bottom:0}.input-container.rounded input{box-sizing:initial}.input-container.rounded.sm input{padding:3px 16px}.input-container.rounded.md input{padding:9px 16px}.input-container.rounded.lg input{padding:15px 16px}.input-container.rounded .input-wrapper{border-radius:4px;border:1px solid #e0e0e0;padding:0}.input-container.rounded .input-wrapper:hover{background-color:#f5f5f5}.input-container.rounded .input-wrapper:focus-within{border:1px solid #0937b2}.input-container.rounded .input-wrapper input:not(:placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper .mis-placeholder{margin-left:16px;transition-duration:50ms}.input-container.rounded.has-error .input-wrapper{border:1px solid #b00020!important}.input-container.floating .input-wrapper{padding-top:24px;padding-bottom:7px;border-bottom:1px solid #e0e0e0}.input-container.floating .input-wrapper input:focus+.mis-placeholder{color:#0937b2!important}.input-container.floating .input-wrapper input:not(:placeholder-shown)+.mis-placeholder,.input-container.floating .input-wrapper input:focus+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper:focus-within{border:none;border-bottom:1px solid #0937b2}.input-container.floating .input-wrapper:focus-within input::placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating.has-error .input-wrapper{border-bottom:1px solid #b00020!important}.input-container.floating.has-error .input-wrapper .mis-placeholder{color:#b00020!important}.input-container [mis-input-hint],.input-container [mis-input-error]{position:absolute;left:0;right:0;bottom:0;line-height:24px;height:24px;font-size:12px;color:#6a737d;letter-spacing:.2px}.input-container [mis-input-error]{color:#b00020}\n"], dependencies: [{ kind: "directive", type: i1$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
75
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisInputComponent, decorators: [{
|
|
76
|
-
type: Component,
|
|
77
|
-
args: [{ selector: "mis-input", template: "<div\n [class]=\"'input-container ' + size\"\n [ngClass]=\"{\n rounded: type === 'rounded',\n floating: type === 'floating',\n 'has-error': !inputValidity || hasError,\n 'no-hint': noHints,\n 'mis-disabled': inputCtrl?.disabled\n }\"\n>\n <div class=\"input-wrapper\">\n <ng-content select=\"[mis-input-icon]\"></ng-content>\n <div class=\"mis-input\">\n <ng-content select=\"input\"></ng-content>\n <span class=\"mis-placeholder\">{{ placeholder }}</span>\n </div>\n <ng-content select=\"[mis-input-act]\"></ng-content>\n </div>\n <ng-content select=\"[mis-input-hint]\"></ng-content>\n <ng-content select=\"[mis-input-error]\"></ng-content>\n</div>\n", styles: [":root{--pmry-200: #99BAF7;--pmry-100: #CBDDFB;--pmry-500: #0937B2;--pmry-400: #3C68D0;--pmry-600: #062A99;--pmry-700: #041F80;--pmry-300: #638FE7;--pmry-800: #021567;--pmry-900: #010F55;--sec-d-purple: #40447F;--sec-maroon: #6B034E;--sec-mud-red: #B23600;--sec-orange: #ED711C;--sec-purple: #815FD5;--sec-teal: #10ADAE;--sec-yellow: #D4900C;--sec-green: #547F40;--sec-bright-green: #27D22E;--sec-dark-teal: #035F6B;--sec-chocolate: #7C2F33;--sec-rube-pink: #C13D6D;--sec-cerulean: #0087B2;--sem-error: #B00020;--sem-info: #0091FF;--sem-warning: #FF9D00;--sem-success: #38AF49;--grey-bg-1: #FAFAFA;--grey-bg: #F5F5F5;--grey-seperators: #E0E0E0;--grey-disabled: #C8CDD3;--grey-hover: #F5F7FC;--grey-pressed: #E6EBF7;--grey-row: #F5F7FC;--dec-light-yellow: #F4E7C3;--dec-light-purple: #DACFF9;--dec-light-green: #E4F5E9;--dec-light-green2: #F1FFF3;--dec-light-pink: #FAE1EA;--dec-: #F4CBC1;--dec-lt-orange: #FAEFED;--dec-light-blue: #CFECF9;--dec-row-selection: #F1FDF8;--dec-row-selection2: #F2FBFF;--dec-row-lines: #D3E1E9;--text-white: #FFFFFF;--text-disabled: #929DAB;--text-muted: #6A737D;--text-black: #181F33;--MR-solid-blue2:#C8D5F6;--MR-solid-purple:#C9C3FB;--MR-solid-orange:#EEAC9F;--MR-solid-green:#ACDADA;--MR-solid-brown:#E8C8AF;--MR-solid-yellow:#FFEFC7;--MR-solid-blue:#BBE6FF;--MR-solid-pink:#FFC6F2;--tr-hover:#F0F3FA;--tr-pressed:#DAE1F3}.input-container{position:relative;padding-bottom:24px}.input-container.mis-disabled .input-wrapper{pointer-events:none!important}.input-container .input-wrapper{box-sizing:border-box;display:flex;align-items:center;flex-direction:row;flex-wrap:nowrap;transition:all ease-in 60ms;background-color:#fff;padding:3px 16px;gap:16px}.input-container .input-wrapper .mis-input{flex:1 1 auto;z-index:0;position:relative;display:flex;align-items:center}.input-container .input-wrapper input{flex:1 1 auto;border:none;outline:none;height:100%;padding:0;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;height:24px;color:#181f33;background-color:transparent;width:100%;vertical-align:middle}.input-container .input-wrapper input::placeholder{transition:all ease-in .1s;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper .mis-placeholder{position:absolute;font-family:Lato;font-style:normal;font-weight:400;font-size:16px;line-height:24px;color:#6a737d;z-index:-1;transition:all ease-in .15s}.input-container .input-wrapper:focus-within{background-color:#f5f5f5}.input-container .input-wrapper:focus-within{border:1px solid #0937B2}.input-container .input-wrapper [mis-input-act],.input-container .input-wrapper [mis-input-icon]{width:18px;height:18px;color:#6a737d;font-size:24px;line-height:18px}.input-container .input-wrapper [mis-input-act]{cursor:pointer}.input-container.no-hint{padding-bottom:0}.input-container.rounded input{box-sizing:initial}.input-container.rounded.sm input{padding:3px 16px}.input-container.rounded.md input{padding:9px 16px}.input-container.rounded.lg input{padding:15px 16px}.input-container.rounded .input-wrapper{border-radius:4px;border:1px solid #e0e0e0;padding:0}.input-container.rounded .input-wrapper:hover{background-color:#f5f5f5}.input-container.rounded .input-wrapper:focus-within{border:1px solid #0937b2}.input-container.rounded .input-wrapper input:not(:placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper .mis-placeholder{margin-left:16px;transition-duration:50ms}.input-container.rounded.has-error .input-wrapper{border:1px solid #b00020!important}.input-container.floating .input-wrapper{padding-top:24px;padding-bottom:7px;border-bottom:1px solid #e0e0e0}.input-container.floating .input-wrapper input:focus+.mis-placeholder{color:#0937b2!important}.input-container.floating .input-wrapper input:not(:placeholder-shown)+.mis-placeholder,.input-container.floating .input-wrapper input:focus+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper:focus-within{border:none;border-bottom:1px solid #0937b2}.input-container.floating .input-wrapper:focus-within input::placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating.has-error .input-wrapper{border-bottom:1px solid #b00020!important}.input-container.floating.has-error .input-wrapper .mis-placeholder{color:#b00020!important}.input-container [mis-input-hint],.input-container [mis-input-error]{position:absolute;left:0;right:0;bottom:0;line-height:24px;height:24px;font-size:12px;color:#6a737d;letter-spacing:.2px}.input-container [mis-input-error]{color:#b00020}\n"] }]
|
|
78
|
-
}], ctorParameters: function () { return []; }, propDecorators: { type: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], size: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], placeholder: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], noHints: [{
|
|
85
|
-
type: Input
|
|
86
|
-
}], hasError: [{
|
|
87
|
-
type: Input
|
|
88
|
-
}], formInput: [{
|
|
89
|
-
type: ContentChild,
|
|
90
|
-
args: [MisInputDirective]
|
|
91
|
-
}] } });
|
|
92
|
-
|
|
93
|
-
class MisInputModule {
|
|
94
|
-
}
|
|
95
|
-
MisInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
96
|
-
MisInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: MisInputModule, declarations: [MisInputComponent, MisInputDirective], imports: [CommonModule, FormsModule], exports: [MisInputComponent, MisInputDirective] });
|
|
97
|
-
MisInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisInputModule, imports: [CommonModule, FormsModule] });
|
|
98
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisInputModule, decorators: [{
|
|
99
|
-
type: NgModule,
|
|
100
|
-
args: [{
|
|
101
|
-
declarations: [MisInputComponent, MisInputDirective],
|
|
102
|
-
imports: [CommonModule, FormsModule],
|
|
103
|
-
exports: [MisInputComponent, MisInputDirective]
|
|
104
|
-
}]
|
|
105
|
-
}] });
|
|
106
|
-
|
|
107
|
-
/**
|
|
108
|
-
* Generated bundle index. Do not edit.
|
|
109
|
-
*/
|
|
110
|
-
|
|
111
|
-
export { MisInputComponent, MisInputDirective, MisInputModule };
|
|
112
|
-
//# sourceMappingURL=mis-crystal-design-system-input.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mis-crystal-design-system-input.mjs","sources":["../../../projects/mis-components/input/directives/input/input.directive.ts","../../../projects/mis-components/input/mis-input.component.ts","../../../projects/mis-components/input/mis-input.component.html","../../../projects/mis-components/input/mis-input.module.ts","../../../projects/mis-components/input/mis-crystal-design-system-input.ts"],"sourcesContent":["import { Directive, ElementRef, OnDestroy, OnInit, Optional, Self } from \"@angular/core\";\nimport { NgControl } from \"@angular/forms\";\nimport { ReplaySubject, Subject, Subscription } from \"rxjs\";\nimport { takeUntil } from \"rxjs/operators\";\n\n@Directive({\n // tslint:disable-next-line\n selector: \"input[misInput]\"\n})\nexport class MisInputDirective implements OnInit, OnDestroy {\n constructor(public el: ElementRef, @Self() @Optional() public control: NgControl) {}\n private validityChange: ReplaySubject<boolean> = new ReplaySubject(1);\n validity = this.validityChange.asObservable();\n endObs: Subject<void> = new Subject();\n focus = false;\n hasValue = false;\n\n ngOnInit(): void {\n this.control?.control?.valueChanges.pipe(takeUntil(this.endObs)).subscribe(() => {\n this.validityChange.next(!this.control.control?.invalid);\n });\n this.el.nativeElement.placeholder += \" \";\n }\n ngOnDestroy(): void {\n this.endObs.next();\n this.endObs.complete();\n }\n}\n","import { Component, ContentChild, Input, OnDestroy, OnInit, ViewEncapsulation } from \"@angular/core\";\nimport { AbstractControl } from \"@angular/forms\";\nimport { Subscription } from \"rxjs\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\n\n@Component({\n selector: \"mis-input\",\n templateUrl: \"./mis-input.component.html\",\n styleUrls: [\"./mis-input.component.scss\"]\n})\nexport class MisInputComponent implements OnInit, OnDestroy {\n @Input() type: \"rounded\" | \"floating\" = \"floating\";\n @Input() size: \"sm\" | \"md\" | \"lg\" = \"sm\";\n @Input() placeholder: string; // floating placeholder text\n @Input() noHints = false;\n @Input() hasError = false; // show input in error state\n @ContentChild(MisInputDirective) set formInput(input: MisInputDirective) {\n if (!this.placeholder) {\n this.placeholder = input?.el.nativeElement.placeholder || \"\";\n }\n this.inputCtrl = input.control?.control;\n this.inputSubscription?.unsubscribe();\n this.inputSubscription = input?.validity.subscribe(res => (this.inputValidity = res));\n this.placeholder += \" \";\n }\n inputCtrl: AbstractControl;\n inputSubscription: Subscription | undefined;\n inputValidity: boolean = true;\n constructor() {}\n\n ngOnInit(): void {}\n ngOnDestroy(): void {\n this.inputSubscription?.unsubscribe();\n }\n}\n","<div\n [class]=\"'input-container ' + size\"\n [ngClass]=\"{\n rounded: type === 'rounded',\n floating: type === 'floating',\n 'has-error': !inputValidity || hasError,\n 'no-hint': noHints,\n 'mis-disabled': inputCtrl?.disabled\n }\"\n>\n <div class=\"input-wrapper\">\n <ng-content select=\"[mis-input-icon]\"></ng-content>\n <div class=\"mis-input\">\n <ng-content select=\"input\"></ng-content>\n <span class=\"mis-placeholder\">{{ placeholder }}</span>\n </div>\n <ng-content select=\"[mis-input-act]\"></ng-content>\n </div>\n <ng-content select=\"[mis-input-hint]\"></ng-content>\n <ng-content select=\"[mis-input-error]\"></ng-content>\n</div>\n","import { CommonModule } from \"@angular/common\";\nimport { NgModule } from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { MisInputDirective } from \"./directives/input/input.directive\";\nimport { MisInputComponent } from \"./mis-input.component\";\n\n@NgModule({\n declarations: [MisInputComponent, MisInputDirective],\n imports: [CommonModule, FormsModule],\n exports: [MisInputComponent, MisInputDirective]\n})\nexport class MisInputModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;MASa,iBAAiB,CAAA;IAC5B,WAAmB,CAAA,EAAc,EAA6B,OAAkB,EAAA;AAA7D,QAAA,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;AAA6B,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAW;QACxE,IAAA,CAAA,cAAc,GAA2B,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;QACtE,IAAA,CAAA,QAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC;AAC9C,QAAA,IAAA,CAAA,MAAM,GAAkB,IAAI,OAAO,EAAE,CAAC;AACtC,QAAA,IAAK,CAAA,KAAA,GAAG,KAAK,CAAC;AACd,QAAA,IAAQ,CAAA,QAAA,GAAG,KAAK,CAAC;KALmE;IAOpF,QAAQ,GAAA;;QACN,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,IAAI,CAAC,OAAO,0CAAE,OAAO,MAAA,IAAA,IAAA,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A,OAAA,EAAA,CACzB,iBAAiB,EAAE,iBAAiB,CAAA,EAAA,CAAA,CAAA;6GAEnC,cAAc,EAAA,OAAA,EAAA,CAHf,YAAY,EAAE,WAAW,CAAA,EAAA,CAAA,CAAA;4FAGxB,cAAc,EAAA,UAAA,EAAA,CAAA;kBAL1B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC;AACpC,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;iBAChD,CAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, NgModule } from '@angular/core';
|
|
3
|
-
import * as i1 from '@angular/common';
|
|
4
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
-
|
|
6
|
-
class LoaderComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
/** Controls loader size */
|
|
9
|
-
this.mobileView = false;
|
|
10
|
-
}
|
|
11
|
-
ngOnInit() { }
|
|
12
|
-
}
|
|
13
|
-
LoaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
14
|
-
LoaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: LoaderComponent, selector: "mis-loader", inputs: { mobileView: "mobileView" }, ngImport: i0, template: "<div\n id=\"spinner\"\n [ngClass]=\"{\n mobile: mobileView\n }\"\n></div>\n", styles: ["#spinner{animation:frames 1s infinite linear;background:transparent;border:4px solid #e0e0e0;border-radius:100%;border-top-color:#6200ee;width:40px;height:40px;padding:0;position:absolute}@keyframes frames{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mobile{height:20px!important;width:20px!important;border:2px solid #e0e0e0!important;border-top-color:#6200ee!important}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoaderComponent, decorators: [{
|
|
16
|
-
type: Component,
|
|
17
|
-
args: [{ selector: "mis-loader", template: "<div\n id=\"spinner\"\n [ngClass]=\"{\n mobile: mobileView\n }\"\n></div>\n", styles: ["#spinner{animation:frames 1s infinite linear;background:transparent;border:4px solid #e0e0e0;border-radius:100%;border-top-color:#6200ee;width:40px;height:40px;padding:0;position:absolute}@keyframes frames{0%{transform:rotate(0)}to{transform:rotate(359deg)}}.mobile{height:20px!important;width:20px!important;border:2px solid #e0e0e0!important;border-top-color:#6200ee!important}\n"] }]
|
|
18
|
-
}], ctorParameters: function () { return []; }, propDecorators: { mobileView: [{
|
|
19
|
-
type: Input
|
|
20
|
-
}] } });
|
|
21
|
-
|
|
22
|
-
class LoaderModule {
|
|
23
|
-
static forRoot() {
|
|
24
|
-
return { ngModule: LoaderModule, providers: [] };
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
LoaderModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoaderModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
28
|
-
LoaderModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: LoaderModule, declarations: [LoaderComponent], imports: [CommonModule], exports: [LoaderComponent] });
|
|
29
|
-
LoaderModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoaderModule, imports: [CommonModule] });
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: LoaderModule, decorators: [{
|
|
31
|
-
type: NgModule,
|
|
32
|
-
args: [{
|
|
33
|
-
declarations: [LoaderComponent],
|
|
34
|
-
imports: [CommonModule],
|
|
35
|
-
exports: [LoaderComponent]
|
|
36
|
-
}]
|
|
37
|
-
}] });
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Generated bundle index. Do not edit.
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
|
-
export { LoaderComponent, LoaderModule };
|
|
44
|
-
//# sourceMappingURL=mis-crystal-design-system-loader.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mis-crystal-design-system-loader.mjs","sources":["../../../projects/mis-components/loader/loader.component.ts","../../../projects/mis-components/loader/loader.component.html","../../../projects/mis-components/loader/loader.module.ts","../../../projects/mis-components/loader/mis-crystal-design-system-loader.ts"],"sourcesContent":["import { Component, Input, OnInit } from \"@angular/core\";\n\n@Component({\n selector: \"mis-loader\",\n templateUrl: \"./loader.component.html\",\n styleUrls: [\"./loader.component.scss\"]\n})\nexport class LoaderComponent implements OnInit {\n /** Controls loader size */\n @Input() mobileView: boolean = false;\n\n constructor() {}\n ngOnInit() {}\n}\n","<div\n id=\"spinner\"\n [ngClass]=\"{\n mobile: mobileView\n }\"\n></div>\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\n\nimport { LoaderComponent } from \"./loader.component\";\n\n@NgModule({\n declarations: [LoaderComponent],\n imports: [CommonModule],\n exports: [LoaderComponent]\n})\nexport class LoaderModule {\n static forRoot(): ModuleWithProviders<LoaderModule> {\n return { ngModule: LoaderModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAOa,eAAe,CAAA;AAI1B,IAAA,WAAA,GAAA;;AAFS,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK,CAAC;KAErB;AAChB,IAAA,QAAQ,MAAK;;6GALF,eAAe,EAAA,IAAA,EAAA,EAAA,EA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AAA,EAAA,YAAY,YAHb,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGX,YAAY,EAAA,UAAA,EAAA,CAAA;kBALxB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACR,YAAY,EAAE,CAAC,eAAe,CAAC;oBAC/B,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,eAAe,CAAC;iBAC3B,CAAA;;;ACTD;;AAEG;;;;"}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import * as i1 from '@angular/cdk/overlay';
|
|
2
|
-
import { ConnectionPositionPair, OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
3
|
-
import { TemplatePortal, PortalModule } from '@angular/cdk/portal';
|
|
4
|
-
import * as i0 from '@angular/core';
|
|
5
|
-
import { Directive, Input, HostListener, NgModule } from '@angular/core';
|
|
6
|
-
import { take } from 'rxjs/operators';
|
|
7
|
-
import { CommonModule } from '@angular/common';
|
|
8
|
-
|
|
9
|
-
/** @format */
|
|
10
|
-
class MenuDirective {
|
|
11
|
-
constructor(overlay, element, viewContainerRef) {
|
|
12
|
-
this.overlay = overlay;
|
|
13
|
-
this.element = element;
|
|
14
|
-
this.viewContainerRef = viewContainerRef;
|
|
15
|
-
this.positionX = "start";
|
|
16
|
-
this.positionY = "bottom";
|
|
17
|
-
this.offsetX = 0;
|
|
18
|
-
this.offsetY = 0;
|
|
19
|
-
}
|
|
20
|
-
onClick(event) {
|
|
21
|
-
this.menuShow();
|
|
22
|
-
}
|
|
23
|
-
menuShow() {
|
|
24
|
-
const positionStrategy = this.overlay
|
|
25
|
-
.position()
|
|
26
|
-
.flexibleConnectedTo(this.element)
|
|
27
|
-
.withPositions([
|
|
28
|
-
new ConnectionPositionPair({ originX: this.positionX, originY: this.positionY }, { overlayX: this.positionX, overlayY: this.positionY === "bottom" ? "top" : "bottom" }, this.offsetX, this.offsetY),
|
|
29
|
-
new ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, this.offsetX, this.offsetY),
|
|
30
|
-
new ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, this.offsetX, this.offsetY)
|
|
31
|
-
])
|
|
32
|
-
.withPush(true);
|
|
33
|
-
const config = new OverlayConfig({
|
|
34
|
-
hasBackdrop: true,
|
|
35
|
-
positionStrategy,
|
|
36
|
-
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
37
|
-
backdropClass: "cdk-overlay-transparent-backdrop"
|
|
38
|
-
});
|
|
39
|
-
this.overlayRef = this.overlay.create(config);
|
|
40
|
-
const tempRef = new TemplatePortal(this.menu, this.viewContainerRef);
|
|
41
|
-
this.overlayRef.attach(tempRef);
|
|
42
|
-
this.overlayRef
|
|
43
|
-
.backdropClick()
|
|
44
|
-
.pipe(take(1))
|
|
45
|
-
.subscribe(res => {
|
|
46
|
-
this.close();
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
|
-
close() {
|
|
50
|
-
var _a, _b;
|
|
51
|
-
(_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
52
|
-
(_b = this.overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
MenuDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MenuDirective, deps: [{ token: i1.Overlay }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
56
|
-
MenuDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: MenuDirective, selector: "[misMenu]", inputs: { menu: ["misMenu", "menu"], positionX: "positionX", positionY: "positionY", offsetX: "offsetX", offsetY: "offsetY" }, host: { listeners: { "click": "onClick($event)" } }, exportAs: ["misMenu"], ngImport: i0 });
|
|
57
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MenuDirective, decorators: [{
|
|
58
|
-
type: Directive,
|
|
59
|
-
args: [{
|
|
60
|
-
selector: "[misMenu]",
|
|
61
|
-
exportAs: "misMenu"
|
|
62
|
-
}]
|
|
63
|
-
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.ElementRef }, { type: i0.ViewContainerRef }]; }, propDecorators: { menu: [{
|
|
64
|
-
type: Input,
|
|
65
|
-
args: ["misMenu"]
|
|
66
|
-
}], positionX: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], positionY: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], offsetX: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], offsetY: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], onClick: [{
|
|
75
|
-
type: HostListener,
|
|
76
|
-
args: ["click", ["$event"]]
|
|
77
|
-
}] } });
|
|
78
|
-
|
|
79
|
-
class MenuCloseDirective {
|
|
80
|
-
constructor() { }
|
|
81
|
-
closeMenu() {
|
|
82
|
-
this.menu.close();
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
MenuCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MenuCloseDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
86
|
-
MenuCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: MenuCloseDirective, selector: "[misMenuClose]", inputs: { menu: ["misMenuClose", "menu"] }, host: { listeners: { "click": "closeMenu()" } }, ngImport: i0 });
|
|
87
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MenuCloseDirective, decorators: [{
|
|
88
|
-
type: Directive,
|
|
89
|
-
args: [{
|
|
90
|
-
selector: "[misMenuClose]"
|
|
91
|
-
}]
|
|
92
|
-
}], ctorParameters: function () { return []; }, propDecorators: { menu: [{
|
|
93
|
-
type: Input,
|
|
94
|
-
args: ["misMenuClose"]
|
|
95
|
-
}], closeMenu: [{
|
|
96
|
-
type: HostListener,
|
|
97
|
-
args: ["click", []]
|
|
98
|
-
}] } });
|
|
99
|
-
|
|
100
|
-
/** @format */
|
|
101
|
-
class MisMenuModule {
|
|
102
|
-
}
|
|
103
|
-
MisMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
104
|
-
MisMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: MisMenuModule, declarations: [MenuDirective, MenuCloseDirective], imports: [CommonModule, OverlayModule, PortalModule], exports: [MenuDirective, MenuCloseDirective] });
|
|
105
|
-
MisMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisMenuModule, imports: [CommonModule, OverlayModule, PortalModule] });
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: MisMenuModule, decorators: [{
|
|
107
|
-
type: NgModule,
|
|
108
|
-
args: [{
|
|
109
|
-
declarations: [MenuDirective, MenuCloseDirective],
|
|
110
|
-
imports: [CommonModule, OverlayModule, PortalModule],
|
|
111
|
-
exports: [MenuDirective, MenuCloseDirective]
|
|
112
|
-
}]
|
|
113
|
-
}] });
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* Generated bundle index. Do not edit.
|
|
117
|
-
*/
|
|
118
|
-
|
|
119
|
-
export { MenuCloseDirective, MenuDirective, MisMenuModule };
|
|
120
|
-
//# sourceMappingURL=mis-crystal-design-system-menu.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mis-crystal-design-system-menu.mjs","sources":["../../../projects/mis-components/menu/menu.directive.ts","../../../projects/mis-components/menu/menu-close.directive.ts","../../../projects/mis-components/menu/menu.module.ts","../../../projects/mis-components/menu/mis-crystal-design-system-menu.ts"],"sourcesContent":["/** @format */\n\nimport { ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { TemplatePortal } from \"@angular/cdk/portal\";\nimport { Directive, ElementRef, HostListener, Input, TemplateRef, ViewContainerRef } from \"@angular/core\";\nimport { take } from \"rxjs/operators\";\n\n@Directive({\n selector: \"[misMenu]\",\n exportAs: \"misMenu\"\n})\nexport class MenuDirective {\n @Input(\"misMenu\") menu: TemplateRef<ElementRef>;\n @Input() positionX: \"start\" | \"end\" = \"start\";\n @Input() positionY: \"top\" | \"bottom\" = \"bottom\";\n @Input() offsetX = 0;\n @Input() offsetY = 0;\n private overlayRef: OverlayRef;\n\n constructor(private overlay: Overlay, private element: ElementRef, private viewContainerRef: ViewContainerRef) {}\n @HostListener(\"click\", [\"$event\"]) onClick(event) {\n this.menuShow();\n }\n private menuShow() {\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.element)\n .withPositions([\n new ConnectionPositionPair(\n { originX: this.positionX, originY: this.positionY },\n { overlayX: this.positionX, overlayY: this.positionY === \"bottom\" ? \"top\" : \"bottom\" },\n this.offsetX,\n this.offsetY\n ),\n new ConnectionPositionPair({ originX: \"start\", originY: \"bottom\" }, { overlayX: \"start\", overlayY: \"top\" }, this.offsetX, this.offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"top\" }, { overlayX: \"end\", overlayY: \"bottom\" }, this.offsetX, this.offsetY)\n ])\n .withPush(true);\n const config = new OverlayConfig({\n hasBackdrop: true,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n backdropClass: \"cdk-overlay-transparent-backdrop\"\n });\n this.overlayRef = this.overlay.create(config);\n\n const tempRef = new TemplatePortal(this.menu, this.viewContainerRef);\n this.overlayRef.attach(tempRef);\n this.overlayRef\n .backdropClick()\n .pipe(take(1))\n .subscribe(res => {\n this.close();\n });\n }\n\n close(): void {\n this.overlayRef?.detach();\n this.overlayRef?.dispose();\n }\n}\n","import { Directive, HostListener, Input } from \"@angular/core\";\nimport { MenuDirective } from \"./menu.directive\";\n\n@Directive({\n selector: \"[misMenuClose]\"\n})\nexport class MenuCloseDirective {\n @Input(\"misMenuClose\") menu: MenuDirective;\n constructor() {}\n\n @HostListener(\"click\", []) closeMenu() {\n this.menu.close();\n }\n}\n","/** @format */\n\nimport { NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { MenuDirective } from \"./menu.directive\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { PortalModule } from \"@angular/cdk/portal\";\nimport { MenuCloseDirective } from \"./menu-close.directive\";\n\n@NgModule({\n declarations: [MenuDirective, MenuCloseDirective],\n imports: [CommonModule, OverlayModule, PortalModule],\n exports: [MenuDirective, MenuCloseDirective]\n})\nexport class MisMenuModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAAA;MAWa,aAAa,CAAA;AAQxB,IAAA,WAAA,CAAoB,OAAgB,EAAU,OAAmB,EAAU,gBAAkC,EAAA;AAAzF,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAS;AAAU,QAAA,IAAO,CAAA,OAAA,GAAP,OAAO,CAAY;AAAU,QAAA,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;AANpG,QAAA,IAAS,CAAA,SAAA,GAAoB,OAAO,CAAC;AACrC,QAAA,IAAS,CAAA,SAAA,GAAqB,QAAQ,CAAC;AACvC,QAAA,IAAO,CAAA,OAAA,GAAG,CAAC,CAAC;AACZ,QAAA,IAAO,CAAA,OAAA,GAAG,CAAC,CAAC;KAG4F;AAC9E,IAAA,OAAO,CAAC,KAAK,EAAA;QAC9C,IAAI,CAAC,QAAQ,EAAE,CAAC;KACjB;IACO,QAAQ,GAAA;AACd,QAAA,MAAM,gBAAgB,GAAG,IAAI,CAAC,OAAO;AAClC,aA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EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAb,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAJT,YAAA,EAAA,CAAA,aAAa,EAAE,kBAAkB,CACtC,EAAA,OAAA,EAAA,CAAA,YAAY,EAAE,aAAa,EAAE,YAAY,CACzC,EAAA,OAAA,EAAA,CAAA,aAAa,EAAE,kBAAkB,CAAA,EAAA,CAAA,CAAA;AAEhC,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAHd,OAAA,EAAA,CAAA,YAAY,EAAE,aAAa,EAAE,YAAY,CAAA,EAAA,CAAA,CAAA;4FAGxC,aAAa,EAAA,UAAA,EAAA,CAAA;kBALzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE,CAAC,aAAa,EAAE,kBAAkB,CAAC;AACjD,oBAAA,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC;AACpD,oBAAA,OAAO,EAAE,CAAC,aAAa,EAAE,kBAAkB,CAAC;iBAC7C,CAAA;;;ACbD;;AAEG;;;;"}
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import * as i1$1 from '@angular/cdk/overlay';
|
|
2
|
-
import { OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
|
|
3
|
-
import * as i1 from '@angular/cdk/portal';
|
|
4
|
-
import { ComponentPortal, PortalInjector, PortalModule } from '@angular/cdk/portal';
|
|
5
|
-
import * as i0 from '@angular/core';
|
|
6
|
-
import { InjectionToken, ViewContainerRef, Component, ViewChild, Injectable, NgModule } from '@angular/core';
|
|
7
|
-
import { Subject } from 'rxjs';
|
|
8
|
-
import { trigger, transition, style, animate } from '@angular/animations';
|
|
9
|
-
import { CommonModule } from '@angular/common';
|
|
10
|
-
|
|
11
|
-
/** @format */
|
|
12
|
-
const MODAL_DATA_VAR = new InjectionToken("MISModalDataInjectionToken");
|
|
13
|
-
|
|
14
|
-
/** @format */
|
|
15
|
-
class ModalRef {
|
|
16
|
-
constructor(overlay) {
|
|
17
|
-
this.overlay = overlay;
|
|
18
|
-
this.afterClosed$ = new Subject();
|
|
19
|
-
this.afterClosed = this.afterClosed$.asObservable();
|
|
20
|
-
}
|
|
21
|
-
close(data) {
|
|
22
|
-
this.overlay.detach();
|
|
23
|
-
this.overlay.dispose();
|
|
24
|
-
this.afterClosed$.next(data);
|
|
25
|
-
this.afterClosed$.complete();
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
class ModuleWrapperComponent {
|
|
30
|
-
constructor() { }
|
|
31
|
-
bindComponent(type, injector) {
|
|
32
|
-
this.initComponent(type, injector);
|
|
33
|
-
}
|
|
34
|
-
initComponent(type, injector) {
|
|
35
|
-
this.modalPortal = new ComponentPortal(type, this.place, injector);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
ModuleWrapperComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModuleWrapperComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
ModuleWrapperComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.12", type: ModuleWrapperComponent, selector: "mis-module-wrapper", viewQueries: [{ propertyName: "place", first: true, predicate: ["place"], descendants: true, read: ViewContainerRef }], ngImport: i0, template: "<div class=\"mis-modal-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"modalPortal\"></ng-template>\n</div>\n", styles: [".mis-modal-body{display:block;width:100%;height:100%;background-color:transparent;border-radius:12px;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i1.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], animations: [
|
|
40
|
-
trigger("slideInOut", [
|
|
41
|
-
transition(":enter", [
|
|
42
|
-
style({ transform: "translateY(-30%)", opacity: 0 }),
|
|
43
|
-
animate("200ms ease-out", style({ transform: "translatey(0%)", opacity: 1 }))
|
|
44
|
-
]),
|
|
45
|
-
transition(":leave", [animate("200ms ease-out", style({ transform: "translatey(-30%)", opacity: 0 }))])
|
|
46
|
-
])
|
|
47
|
-
] });
|
|
48
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModuleWrapperComponent, decorators: [{
|
|
49
|
-
type: Component,
|
|
50
|
-
args: [{ selector: "mis-module-wrapper", animations: [
|
|
51
|
-
trigger("slideInOut", [
|
|
52
|
-
transition(":enter", [
|
|
53
|
-
style({ transform: "translateY(-30%)", opacity: 0 }),
|
|
54
|
-
animate("200ms ease-out", style({ transform: "translatey(0%)", opacity: 1 }))
|
|
55
|
-
]),
|
|
56
|
-
transition(":leave", [animate("200ms ease-out", style({ transform: "translatey(-30%)", opacity: 0 }))])
|
|
57
|
-
])
|
|
58
|
-
], template: "<div class=\"mis-modal-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"modalPortal\"></ng-template>\n</div>\n", styles: [".mis-modal-body{display:block;width:100%;height:100%;background-color:transparent;border-radius:12px;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;overflow:hidden}\n"] }]
|
|
59
|
-
}], ctorParameters: function () { return []; }, propDecorators: { place: [{
|
|
60
|
-
type: ViewChild,
|
|
61
|
-
args: ["place", { static: false, read: ViewContainerRef }]
|
|
62
|
-
}] } });
|
|
63
|
-
|
|
64
|
-
class ModalService {
|
|
65
|
-
constructor(overlay, injector) {
|
|
66
|
-
this.overlay = overlay;
|
|
67
|
-
this.injector = injector;
|
|
68
|
-
}
|
|
69
|
-
show(component, data, options) {
|
|
70
|
-
const positionStrategy = this.calculatePosition(options);
|
|
71
|
-
const { width, height } = options || {};
|
|
72
|
-
const config = new OverlayConfig({
|
|
73
|
-
hasBackdrop: true,
|
|
74
|
-
positionStrategy,
|
|
75
|
-
scrollStrategy: this.overlay.scrollStrategies.noop(),
|
|
76
|
-
width: width,
|
|
77
|
-
height,
|
|
78
|
-
panelClass: "mis-modal",
|
|
79
|
-
backdropClass: "mis-modal-overlay"
|
|
80
|
-
});
|
|
81
|
-
const overlayRef = this.overlay.create(config);
|
|
82
|
-
const modalRef = new ModalRef(overlayRef);
|
|
83
|
-
const injector = this.createInjector(modalRef, this.injector, data);
|
|
84
|
-
const portal = new ComponentPortal(ModuleWrapperComponent, null);
|
|
85
|
-
this.componentInstance = overlayRef.attach(portal);
|
|
86
|
-
if (options === null || options === void 0 ? void 0 : options.closeOnBackdropClick) {
|
|
87
|
-
overlayRef.backdropClick().subscribe(() => modalRef.close());
|
|
88
|
-
}
|
|
89
|
-
this.componentInstance.instance.bindComponent(component, injector);
|
|
90
|
-
return modalRef;
|
|
91
|
-
}
|
|
92
|
-
createInjector(ref, inj, data) {
|
|
93
|
-
const injectorTokens = new WeakMap();
|
|
94
|
-
injectorTokens.set(ModalRef, ref);
|
|
95
|
-
injectorTokens.set(MODAL_DATA_VAR, data);
|
|
96
|
-
return new PortalInjector(inj, injectorTokens);
|
|
97
|
-
}
|
|
98
|
-
calculatePosition(options) {
|
|
99
|
-
const position = this.overlay.position().global().centerHorizontally().centerVertically();
|
|
100
|
-
if (options && screen.width > 600) {
|
|
101
|
-
if (options.top) {
|
|
102
|
-
position.top(options.top);
|
|
103
|
-
}
|
|
104
|
-
if (options.left) {
|
|
105
|
-
position.left(options.left);
|
|
106
|
-
}
|
|
107
|
-
if (options.right) {
|
|
108
|
-
position.right(options.right);
|
|
109
|
-
}
|
|
110
|
-
if (options.bottom) {
|
|
111
|
-
position.bottom(options.bottom);
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
return position;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
ModalService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalService, deps: [{ token: i1$1.Overlay }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
118
|
-
ModalService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalService, providedIn: "root" });
|
|
119
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalService, decorators: [{
|
|
120
|
-
type: Injectable,
|
|
121
|
-
args: [{
|
|
122
|
-
providedIn: "root"
|
|
123
|
-
}]
|
|
124
|
-
}], ctorParameters: function () { return [{ type: i1$1.Overlay }, { type: i0.Injector }]; } });
|
|
125
|
-
|
|
126
|
-
class ModalModule {
|
|
127
|
-
static forRoot() {
|
|
128
|
-
return {
|
|
129
|
-
ngModule: ModalModule,
|
|
130
|
-
providers: [ModalService]
|
|
131
|
-
};
|
|
132
|
-
}
|
|
133
|
-
static forChild() {
|
|
134
|
-
return {
|
|
135
|
-
ngModule: ModalModule,
|
|
136
|
-
providers: [ModalService]
|
|
137
|
-
};
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
ModalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
141
|
-
ModalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.12", ngImport: i0, type: ModalModule, declarations: [ModuleWrapperComponent], imports: [CommonModule, OverlayModule, PortalModule] });
|
|
142
|
-
ModalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalModule, imports: [CommonModule, OverlayModule, PortalModule] });
|
|
143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: ModalModule, decorators: [{
|
|
144
|
-
type: NgModule,
|
|
145
|
-
args: [{
|
|
146
|
-
declarations: [ModuleWrapperComponent],
|
|
147
|
-
imports: [CommonModule, OverlayModule, PortalModule]
|
|
148
|
-
}]
|
|
149
|
-
}] });
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Generated bundle index. Do not edit.
|
|
153
|
-
*/
|
|
154
|
-
|
|
155
|
-
export { MODAL_DATA_VAR, ModalModule, ModalRef, ModalService };
|
|
156
|
-
//# sourceMappingURL=mis-crystal-design-system-modal.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mis-crystal-design-system-modal.mjs","sources":["../../../projects/mis-components/modal/modal-constants.ts","../../../projects/mis-components/modal/modal-ref.ts","../../../projects/mis-components/modal/module-wrapper/module-wrapper.component.ts","../../../projects/mis-components/modal/module-wrapper/module-wrapper.component.html","../../../projects/mis-components/modal/modal.service.ts","../../../projects/mis-components/modal/modal.module.ts","../../../projects/mis-components/modal/mis-crystal-design-system-modal.ts"],"sourcesContent":["/** @format */\n\nimport { InjectionToken } from \"@angular/core\";\n\nexport const MODAL_DATA_VAR = new InjectionToken<any>(\"MISModalDataInjectionToken\");\n","/** @format */\n\nimport { OverlayRef } from \"@angular/cdk/overlay\";\nimport { Injectable } from \"@angular/core\";\nimport { Subject } from \"rxjs\";\n\nexport class ModalRef {\n private afterClosed$ = new Subject<unknown>();\n afterClosed = this.afterClosed$.asObservable();\n\n constructor(public overlay: OverlayRef) {}\n\n close(data?: unknown): void {\n this.overlay.detach();\n this.overlay.dispose();\n this.afterClosed$.next(data);\n this.afterClosed$.complete();\n }\n}\n","import { trigger, transition, style, animate } from \"@angular/animations\";\nimport { ComponentPortal, PortalInjector } from \"@angular/cdk/portal\";\nimport { Component, Injector, OnInit, ViewChild, ViewContainerRef } from \"@angular/core\";\nimport { ModalRef } from \"../modal-ref\";\n\n@Component({\n selector: \"mis-module-wrapper\",\n templateUrl: \"./module-wrapper.component.html\",\n styleUrls: [\"./module-wrapper.component.scss\"],\n animations: [\n trigger(\"slideInOut\", [\n transition(\":enter\", [\n style({ transform: \"translateY(-30%)\", opacity: 0 }),\n animate(\"200ms ease-out\", style({ transform: \"translatey(0%)\", opacity: 1 }))\n ]),\n transition(\":leave\", [animate(\"200ms ease-out\", style({ transform: \"translatey(-30%)\", opacity: 0 }))])\n ])\n ]\n})\nexport class ModuleWrapperComponent {\n modalPortal: ComponentPortal<any>;\n constructor() {}\n\n @ViewChild(\"place\", { static: false, read: ViewContainerRef }) place: ViewContainerRef;\n\n bindComponent(type: any, injector: PortalInjector) {\n this.initComponent(type, injector);\n }\n\n private initComponent(type: any, injector: PortalInjector) {\n this.modalPortal = new ComponentPortal(type, this.place, injector);\n }\n}\n","<div class=\"mis-modal-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"modalPortal\"></ng-template>\n</div>\n","import { ComponentType, Overlay, OverlayConfig } from \"@angular/cdk/overlay\";\nimport { ComponentPortal, PortalInjector } from \"@angular/cdk/portal\";\nimport { ComponentRef, Injectable, Injector } from \"@angular/core\";\nimport { MODAL_DATA_VAR } from \"./modal-constants\";\nimport { ModalRef } from \"./modal-ref\";\nimport { ModuleWrapperComponent } from \"./module-wrapper/module-wrapper.component\";\n\ninterface IModalOptions {\n width?: string;\n height?: string;\n top?: string;\n right?: string;\n bottom?: string;\n left?: string;\n closeOnBackdropClick?: boolean;\n}\n@Injectable({\n providedIn: \"root\"\n})\nexport class ModalService {\n private componentInstance: ComponentRef<ModuleWrapperComponent>;\n\n constructor(private overlay: Overlay, private injector: Injector) {}\n\n show<T, D>(component: ComponentType<T>, data?: D, options?: IModalOptions): ModalRef {\n const positionStrategy = this.calculatePosition(options);\n const { width, height } = options || {};\n const config = new OverlayConfig({\n hasBackdrop: true,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.noop(),\n width: width,\n height,\n panelClass: \"mis-modal\",\n backdropClass: \"mis-modal-overlay\"\n });\n const overlayRef = this.overlay.create(config);\n const modalRef = new ModalRef(overlayRef);\n const injector = this.createInjector(modalRef, this.injector, data);\n const portal = new ComponentPortal(ModuleWrapperComponent, null);\n this.componentInstance = overlayRef.attach(portal);\n if (options?.closeOnBackdropClick) {\n overlayRef.backdropClick().subscribe(() => modalRef.close());\n }\n this.componentInstance.instance.bindComponent(component, injector);\n return modalRef;\n }\n private createInjector<D>(ref: ModalRef, inj: Injector, data?: D): PortalInjector {\n const injectorTokens = new WeakMap();\n injectorTokens.set(ModalRef, ref);\n injectorTokens.set(MODAL_DATA_VAR, data);\n return new PortalInjector(inj, injectorTokens);\n }\n\n private calculatePosition(options: IModalOptions) {\n const position = this.overlay.position().global().centerHorizontally().centerVertically();\n if (options && screen.width > 600) {\n if (options.top) {\n position.top(options.top);\n }\n if (options.left) {\n position.left(options.left);\n }\n if (options.right) {\n position.right(options.right);\n }\n if (options.bottom) {\n position.bottom(options.bottom);\n }\n }\n return position;\n }\n}\n","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { PortalModule } from \"@angular/cdk/portal\";\nimport { ModuleWrapperComponent } from \"./module-wrapper/module-wrapper.component\";\nimport { ModalService } from \"./modal.service\";\n\n@NgModule({\n declarations: [ModuleWrapperComponent],\n imports: [CommonModule, OverlayModule, PortalModule]\n})\nexport class ModalModule {\n static forRoot(): ModuleWithProviders<ModalModule> {\n return {\n ngModule: ModalModule,\n providers: [ModalService]\n };\n }\n\n static forChild(): ModuleWithProviders<ModalModule> {\n return {\n ngModule: ModalModule,\n providers: [ModalService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1"],"mappings":";;;;;;;;;;AAAA;MA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