mis-crystal-design-system 2.9.7-v14-1 → 2.9.7
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-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-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/{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/esm2015/analytics/analytics.module.js +14 -0
- package/esm2015/analytics/analytics.service.js +62 -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/esm2015/async-search-dropdown/async-dropdown.component.js +223 -0
- package/esm2015/async-search-dropdown/async-dropdown.module.js +16 -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/esm2015/button/button.component.js +43 -0
- package/esm2015/button/button.directive.js +57 -0
- package/esm2015/button/button.module.js +17 -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/esm2015/checkbox/checkbox.component.js +79 -0
- package/esm2015/checkbox/checkbox.module.js +17 -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/esm2015/chip/chip.component.js +31 -0
- package/esm2015/chip/chip.module.js +16 -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/esm2015/datepicker_v2/datepicker.module.js +18 -0
- package/{esm2020/datepicker_v2/index.mjs → esm2015/datepicker_v2/index.js} +0 -0
- package/esm2015/datepicker_v2/mis-crystal-design-system-datepicker_v2.js +7 -0
- package/{esm2020/datepicker_v2/models/dp-config.model.mjs → esm2015/datepicker_v2/models/dp-config.model.js} +0 -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/{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/esm2015/daterangepicker_v2/daterangepicker.module.js +18 -0
- package/{esm2020/daterangepicker_v2/index.mjs → esm2015/daterangepicker_v2/index.js} +0 -0
- package/esm2015/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.js +7 -0
- package/{esm2020/daterangepicker_v2/models/drp-config.model.mjs → esm2015/daterangepicker_v2/models/drp-config.model.js} +0 -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/{esm2020/daterangepicker_v2/utils/index.mjs → esm2015/daterangepicker_v2/utils/index.js} +0 -0
- package/esm2015/drawer/drawer-body/drawer-body.component.js +41 -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/esm2015/drawer/drawer.module.js +28 -0
- package/{esm2020/drawer/drawer.service.mjs → esm2015/drawer/drawer.service.js} +15 -12
- package/{esm2020/drawer/index.mjs → esm2015/drawer/index.js} +0 -0
- package/esm2015/drawer/mis-crystal-design-system-drawer.js +6 -0
- package/{esm2020/drawer/public_api.mjs → esm2015/drawer/public_api.js} +0 -0
- package/esm2015/dropdown/dropdown.component.js +145 -0
- package/esm2015/dropdown/dropdown.module.js +20 -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/esm2015/fab/fab.component.js +63 -0
- package/esm2015/fab/fab.module.js +16 -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/esm2015/input/directives/input/input.directive.js +38 -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/esm2015/input/mis-input.component.js +43 -0
- package/esm2015/input/mis-input.module.js +15 -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/esm2015/loader/loader.component.js +20 -0
- package/esm2015/loader/loader.module.js +16 -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/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/{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/esm2015/modal/mis-crystal-design-system-modal.js +6 -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/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/{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/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +268 -0
- package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +20 -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/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/{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/esm2015/radio-button/radio-button.component.js +45 -0
- package/esm2015/radio-button/radio-button.module.js +17 -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/esm2015/ske-loader/ske-loader.component.js +31 -0
- package/esm2015/ske-loader/ske-loader.module.js +13 -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/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/{esm2020/table/index.mjs → esm2015/table/index.js} +0 -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/index.mjs → esm2015/toast/index.js} +0 -0
- package/{esm2020/toast/mis-crystal-design-system-toast.mjs → esm2015/toast/mis-crystal-design-system-toast.js} +2 -1
- package/{esm2020/toast/public_api.mjs → esm2015/toast/public_api.js} +0 -0
- 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/{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/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/{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/base-widget.mjs → esm2015/widgets/classes/base-widget.js} +2 -2
- package/{esm2020/widgets/classes/sync-widget.mjs → esm2015/widgets/classes/sync-widget.js} +0 -0
- package/esm2015/widgets/classes/widget-group.js +32 -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
- 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-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-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/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/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
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
+
import { ComponentPortal, PortalInjector, PortalModule } from '@angular/cdk/portal';
|
|
3
|
+
import { Component, ComponentFactoryResolver, ViewChild, ViewContainerRef, InjectionToken, ɵɵdefineInjectable, ɵɵinject, INJECTOR, Injectable, Injector, NgModule } from '@angular/core';
|
|
4
|
+
import { take } from 'rxjs/operators';
|
|
5
|
+
import { trigger, transition, style, animate } from '@angular/animations';
|
|
6
|
+
import { Subject } from 'rxjs';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
/** @format */
|
|
10
|
+
class DrawerRef {
|
|
11
|
+
constructor(overlay) {
|
|
12
|
+
this.overlay = overlay;
|
|
13
|
+
this._isExpanded = false;
|
|
14
|
+
this.afterClosed$ = new Subject();
|
|
15
|
+
this.afterClosed = this.afterClosed$.asObservable();
|
|
16
|
+
}
|
|
17
|
+
get isExpanded() {
|
|
18
|
+
return this._isExpanded;
|
|
19
|
+
}
|
|
20
|
+
close(data) {
|
|
21
|
+
this.overlay.detach();
|
|
22
|
+
this.overlay.dispose();
|
|
23
|
+
this.afterClosed$.next(data);
|
|
24
|
+
this.afterClosed$.complete();
|
|
25
|
+
}
|
|
26
|
+
expand() {
|
|
27
|
+
this.overlay.updateSize({ width: "100%" });
|
|
28
|
+
this._isExpanded = true;
|
|
29
|
+
}
|
|
30
|
+
collapse() {
|
|
31
|
+
this.overlay.updateSize({ width: "422px" });
|
|
32
|
+
this._isExpanded = false;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/** @format */
|
|
37
|
+
class DrawerBodyComponent {
|
|
38
|
+
constructor(cfr) {
|
|
39
|
+
this.cfr = cfr;
|
|
40
|
+
}
|
|
41
|
+
bindComponent(type, injector) {
|
|
42
|
+
this.initComponent(type, injector);
|
|
43
|
+
}
|
|
44
|
+
initComponent(type, injector) {
|
|
45
|
+
this.drawerPortal = new ComponentPortal(type, this.place, injector);
|
|
46
|
+
}
|
|
47
|
+
createInjector(ref, inj) {
|
|
48
|
+
const injectorTokens = new WeakMap([[DrawerRef, ref]]);
|
|
49
|
+
return new PortalInjector(inj, injectorTokens);
|
|
50
|
+
// return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
DrawerBodyComponent.decorators = [
|
|
54
|
+
{ type: Component, args: [{
|
|
55
|
+
selector: "mis-drawer-body",
|
|
56
|
+
template: "<!-- @format -->\n\n<div class=\"mis-drawer-body\" #place @slideInOut>\n <ng-template [cdkPortalOutlet]=\"drawerPortal\"></ng-template>\n</div>\n",
|
|
57
|
+
animations: [
|
|
58
|
+
trigger("slideInOut", [
|
|
59
|
+
transition(":enter", [style({ transform: "translateX(100%)" }), animate("200ms ease-out", style({ transform: "translateX(0%)" }))]),
|
|
60
|
+
transition(":leave", [animate("200ms ease-out", style({ transform: "translateX(100%)" }))])
|
|
61
|
+
])
|
|
62
|
+
],
|
|
63
|
+
styles: [".mis-drawer-body{display:block;width:100%;height:100%}"]
|
|
64
|
+
},] }
|
|
65
|
+
];
|
|
66
|
+
DrawerBodyComponent.ctorParameters = () => [
|
|
67
|
+
{ type: ComponentFactoryResolver }
|
|
68
|
+
];
|
|
69
|
+
DrawerBodyComponent.propDecorators = {
|
|
70
|
+
place: [{ type: ViewChild, args: ["place", { static: false, read: ViewContainerRef },] }]
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
/** @format */
|
|
74
|
+
const DRAWER_DATA_VAR = new InjectionToken("MISDrawerDataInjectionToken");
|
|
75
|
+
|
|
76
|
+
/** @format */
|
|
77
|
+
class DrawerService {
|
|
78
|
+
constructor(overlay, injector) {
|
|
79
|
+
this.overlay = overlay;
|
|
80
|
+
this.injector = injector;
|
|
81
|
+
}
|
|
82
|
+
show(component, data, options) {
|
|
83
|
+
const positionStrategy = this.overlay.position().global().top("0px").right("0px");
|
|
84
|
+
const { width = "422px", height = "100%" } = options || {};
|
|
85
|
+
const config = new OverlayConfig({
|
|
86
|
+
hasBackdrop: true,
|
|
87
|
+
positionStrategy,
|
|
88
|
+
scrollStrategy: this.overlay.scrollStrategies.noop(),
|
|
89
|
+
width: width,
|
|
90
|
+
height,
|
|
91
|
+
panelClass: "mis-drawer",
|
|
92
|
+
backdropClass: "mis-drawer-overlay"
|
|
93
|
+
});
|
|
94
|
+
const overlayRef = this.overlay.create(config);
|
|
95
|
+
this.drawerRef = new DrawerRef(overlayRef);
|
|
96
|
+
const injector = this.createInjector(this.drawerRef, this.injector, data);
|
|
97
|
+
const portal = new ComponentPortal(DrawerBodyComponent, null);
|
|
98
|
+
this.componentInstance = overlayRef.attach(portal);
|
|
99
|
+
this.componentInstance.instance.bindComponent(component, injector);
|
|
100
|
+
overlayRef.backdropClick().pipe(take(1)).subscribe(this.hide.bind(this));
|
|
101
|
+
return this.drawerRef;
|
|
102
|
+
}
|
|
103
|
+
hide() {
|
|
104
|
+
var _a;
|
|
105
|
+
(_a = this.drawerRef) === null || _a === void 0 ? void 0 : _a.close();
|
|
106
|
+
}
|
|
107
|
+
createInjector(ref, inj, data) {
|
|
108
|
+
const injectorTokens = new WeakMap();
|
|
109
|
+
injectorTokens.set(DrawerRef, ref);
|
|
110
|
+
injectorTokens.set(DRAWER_DATA_VAR, data);
|
|
111
|
+
return new PortalInjector(inj, injectorTokens);
|
|
112
|
+
// return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
DrawerService.ɵprov = ɵɵdefineInjectable({ factory: function DrawerService_Factory() { return new DrawerService(ɵɵinject(Overlay), ɵɵinject(INJECTOR)); }, token: DrawerService, providedIn: "root" });
|
|
116
|
+
DrawerService.decorators = [
|
|
117
|
+
{ type: Injectable, args: [{
|
|
118
|
+
providedIn: "root"
|
|
119
|
+
},] }
|
|
120
|
+
];
|
|
121
|
+
DrawerService.ctorParameters = () => [
|
|
122
|
+
{ type: Overlay },
|
|
123
|
+
{ type: Injector }
|
|
124
|
+
];
|
|
125
|
+
|
|
126
|
+
class DrawerModule {
|
|
127
|
+
static forRoot() {
|
|
128
|
+
return {
|
|
129
|
+
ngModule: DrawerModule,
|
|
130
|
+
providers: [DrawerService]
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
static forChild() {
|
|
134
|
+
return {
|
|
135
|
+
ngModule: DrawerModule,
|
|
136
|
+
providers: [DrawerService]
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
DrawerModule.decorators = [
|
|
141
|
+
{ type: NgModule, args: [{
|
|
142
|
+
declarations: [DrawerBodyComponent],
|
|
143
|
+
imports: [CommonModule, OverlayModule, PortalModule],
|
|
144
|
+
entryComponents: [DrawerBodyComponent]
|
|
145
|
+
},] }
|
|
146
|
+
];
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Generated bundle index. Do not edit.
|
|
150
|
+
*/
|
|
151
|
+
|
|
152
|
+
export { DRAWER_DATA_VAR, DrawerModule, DrawerRef, DrawerService, DrawerBodyComponent as ɵa };
|
|
153
|
+
//# sourceMappingURL=mis-crystal-design-system-drawer.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-drawer.js","sources":["../../../projects/mis-components/drawer/drawer-ref.ts","../../../projects/mis-components/drawer/drawer-body/drawer-body.component.ts","../../../projects/mis-components/drawer/drawer-constants.ts","../../../projects/mis-components/drawer/drawer.service.ts","../../../projects/mis-components/drawer/drawer.module.ts","../../../projects/mis-components/drawer/mis-crystal-design-system-drawer.ts"],"sourcesContent":["/** @format */\n\nimport { OverlayRef } from \"@angular/cdk/overlay\";\nimport { Injectable } from \"@angular/core\";\nimport { Subject } from \"rxjs\";\n\nexport class DrawerRef {\n private _isExpanded = false;\n private afterClosed$ = new Subject<any>();\n afterClosed = this.afterClosed$.asObservable();\n get isExpanded(): boolean {\n return this._isExpanded;\n }\n constructor(public overlay: OverlayRef) {}\n\n close(data?: any): void {\n this.overlay.detach();\n this.overlay.dispose();\n this.afterClosed$.next(data);\n this.afterClosed$.complete();\n }\n\n expand(): void {\n this.overlay.updateSize({ width: \"100%\" });\n this._isExpanded = true;\n }\n\n collapse(): void {\n this.overlay.updateSize({ width: \"422px\" });\n this._isExpanded = false;\n }\n}\n","/** @format */\n\nimport { trigger, transition, style, animate } from \"@angular/animations\";\nimport { ComponentPortal, PortalInjector } from \"@angular/cdk/portal\";\nimport { Component, ComponentFactoryResolver, Injector, OnInit, ViewChild, ViewContainerRef } from \"@angular/core\";\nimport { DrawerRef } from \"../drawer-ref\";\n\n@Component({\n selector: \"mis-drawer-body\",\n templateUrl: \"./drawer-body.component.html\",\n styleUrls: [\"./drawer-body.component.scss\"],\n animations: [\n trigger(\"slideInOut\", [\n transition(\":enter\", [style({ transform: \"translateX(100%)\" }), animate(\"200ms ease-out\", style({ transform: \"translateX(0%)\" }))]),\n transition(\":leave\", [animate(\"200ms ease-out\", style({ transform: \"translateX(100%)\" }))])\n ])\n ]\n})\nexport class DrawerBodyComponent {\n drawerPortal: ComponentPortal<any>;\n constructor(private cfr: ComponentFactoryResolver) {}\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.drawerPortal = new ComponentPortal(type, this.place, injector);\n }\n\n private createInjector(ref: DrawerRef, inj: Injector): PortalInjector {\n const injectorTokens = new WeakMap([[DrawerRef, ref]]);\n return new PortalInjector(inj, injectorTokens);\n // return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });\n }\n}\n","/** @format */\n\nimport { InjectionToken } from \"@angular/core\";\n\nexport const DRAWER_DATA_VAR = new InjectionToken<any>(\"MISDrawerDataInjectionToken\");\n","/** @format */\n\nimport { Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { ComponentPortal, ComponentType, PortalInjector } from \"@angular/cdk/portal\";\nimport { ComponentRef, Injectable, Injector } from \"@angular/core\";\nimport { take } from \"rxjs/operators\";\nimport { DrawerBodyComponent } from \"./drawer-body/drawer-body.component\";\nimport { DrawerRef } from \"./drawer-ref\";\nimport { DRAWER_DATA_VAR } from \"./drawer-constants\";\n\n@Injectable({\n providedIn: \"root\"\n})\nexport class DrawerService {\n drawerRef: DrawerRef;\n componentInstance: ComponentRef<any>;\n\n constructor(private overlay: Overlay, private injector: Injector) {}\n\n show<T, D>(component: ComponentType<T>, data?: D, options?: { width?: string; height?: string }): DrawerRef {\n const positionStrategy = this.overlay.position().global().top(\"0px\").right(\"0px\");\n const { width = \"422px\", height = \"100%\" } = 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-drawer\",\n backdropClass: \"mis-drawer-overlay\"\n });\n const overlayRef = this.overlay.create(config);\n this.drawerRef = new DrawerRef(overlayRef);\n const injector = this.createInjector(this.drawerRef, this.injector, data);\n const portal = new ComponentPortal(DrawerBodyComponent, null);\n this.componentInstance = overlayRef.attach(portal);\n this.componentInstance.instance.bindComponent(component, injector);\n overlayRef.backdropClick().pipe(take(1)).subscribe(this.hide.bind(this));\n return this.drawerRef;\n }\n\n hide(): void {\n this.drawerRef?.close();\n }\n\n private createInjector<D>(ref: DrawerRef, inj: Injector, data?: D): PortalInjector {\n const injectorTokens = new WeakMap();\n injectorTokens.set(DrawerRef, ref);\n injectorTokens.set(DRAWER_DATA_VAR, data);\n return new PortalInjector(inj, injectorTokens);\n // return Injector.create({ providers: [{ provide: inj, useValue: injectorTokens }] });\n }\n}\n","import { ModuleWithProviders, NgModule } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { DrawerService } from \"./drawer.service\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { DrawerBodyComponent } from \"./drawer-body/drawer-body.component\";\nimport { PortalModule } from \"@angular/cdk/portal\";\n\n@NgModule({\n declarations: [DrawerBodyComponent],\n imports: [CommonModule, OverlayModule, PortalModule],\n entryComponents: [DrawerBodyComponent]\n})\nexport class DrawerModule {\n static forRoot(): ModuleWithProviders<DrawerModule> {\n return {\n ngModule: DrawerModule,\n providers: [DrawerService]\n };\n }\n\n static forChild(): ModuleWithProviders<DrawerModule> {\n return {\n ngModule: DrawerModule,\n providers: [DrawerService]\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {DrawerBodyComponent as ɵa} from './drawer-body/drawer-body.component';"],"names":[],"mappings":";;;;;;;;AAAA;MAMa,SAAS;IAOpB,YAAmB,OAAmB;QAAnB,YAAO,GAAP,OAAO,CAAY;QAN9B,gBAAW,GAAG,KAAK,CAAC;QACpB,iBAAY,GAAG,IAAI,OAAO,EAAO,CAAC;QAC1C,gBAAW,GAAG,IAAI,CAAC,YAAY,CAAC,YAAY,EAAE,CAAC;KAIL;IAH1C,IAAI,UAAU;QACZ,OAAO,IAAI,CAAC,WAAW,CAAC;KACzB;IAGD,KAAK,CAAC,IAAU;QACd,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,CAAC;QACtB,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;QACvB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7B,IAAI,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC;KAC9B;IAED,MAAM;QACJ,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC,CAAC;QAC3C,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;KACzB;IAED,QAAQ;QACN,IAAI,CAAC,OAAO,CAAC,UAAU,CAA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AC,aAAa,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACzE,OAAO,IAAI,CAAC,SAAS,CAAC;KACvB;IAED,IAAI;;QACF,MAAA,IAAI,CAAC,SAAS,0CAAE,KAAK,GAAG;KACzB;IAEO,cAAc,CAAI,GAAc,EAAE,GAAa,EAAE,IAAQ;QAC/D,MAAM,cAAc,GAAG,IAAI,OAAO,EAAE,CAAC;QACrC,cAAc,CAAC,GAAG,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC;QACnC,cAAc,CAAC,GAAG,CAAC,eAAe,EAAE,IAAI,CAAC,CAAC;QAC1C,OAAO,IAAI,cAAc,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;;KAEhD;;;;YAzCF,UAAU,SAAC;gBACV,UAAU,EAAE,MAAM;aACnB;;;YAVQ,OAAO;YAEmB,QAAQ;;;MCQ9B,YAAY;IACvB,OAAO,OAAO;QACZ,OAAO;YACL,QAAQ,EAAE,YAAY;YACtB,SAAS,EAAE,CAAC,aAAa,CAAC;SAC3B,CAAC;KACH;IAED,OAAO,QAAQ;QACb,OAAO;YACL,QAAQ,EAAE,YAAY;YACtB,SAAS,EAAE,CAAC,aAAa,CAAC;SAC3B,CAAC;KACH;;;YAlBF,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,mBAAmB,CAAC;gBACnC,OAAO,EAAE,CAAC,YAAY,EAAE,aAAa,EAAE,YAAY,CAAC;gBACpD,eAAe,EAAE,CAAC,mBAAmB,CAAC;aACvC;;;ACXD;;;;;;"}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
import { ConnectionPositionPair, OverlayConfig, Overlay, OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
+
import { TemplatePortal } from '@angular/cdk/portal';
|
|
3
|
+
import { EventEmitter, Component, ElementRef, ViewContainerRef, Input, Output, ViewChild, NgModule } from '@angular/core';
|
|
4
|
+
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { FormsModule } from '@angular/forms';
|
|
6
|
+
import { ScrollingModule } from '@angular/cdk-experimental/scrolling';
|
|
7
|
+
import { LoaderModule } from 'mis-crystal-design-system/loader';
|
|
8
|
+
|
|
9
|
+
class DropdownComponent {
|
|
10
|
+
constructor(eRef, overlay, viewContainerRef) {
|
|
11
|
+
this.eRef = eRef;
|
|
12
|
+
this.overlay = overlay;
|
|
13
|
+
this.viewContainerRef = viewContainerRef;
|
|
14
|
+
this.isOpen = false;
|
|
15
|
+
this.loading = false;
|
|
16
|
+
this.isSearchInputFocused = false;
|
|
17
|
+
this.searchInput = "";
|
|
18
|
+
this.searchData = [];
|
|
19
|
+
this.data = [];
|
|
20
|
+
this.height = "";
|
|
21
|
+
this.width = "";
|
|
22
|
+
this.label = "Select";
|
|
23
|
+
this.dropdownListHeight = "";
|
|
24
|
+
this.dropdownListWidth = "";
|
|
25
|
+
this.dropdownListPosition = "Left";
|
|
26
|
+
this.searchEnabled = true;
|
|
27
|
+
this.selectedItem = { value: "", label: "" };
|
|
28
|
+
this.noDataMessage = "No Data";
|
|
29
|
+
this.multiLine = false;
|
|
30
|
+
this.onChange = new EventEmitter();
|
|
31
|
+
}
|
|
32
|
+
ngOnInit() {
|
|
33
|
+
}
|
|
34
|
+
setUpAsyncDataSearch() {
|
|
35
|
+
if (this.config) {
|
|
36
|
+
this.loading = true;
|
|
37
|
+
this.config.dataStream().pipe().subscribe(res => {
|
|
38
|
+
this.data = res;
|
|
39
|
+
this.loading = false;
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
filterByValue(array, string) {
|
|
44
|
+
return array.filter(o => o.label.toLowerCase().includes(string.toLowerCase()));
|
|
45
|
+
}
|
|
46
|
+
filterByPrimaryText(array, string) {
|
|
47
|
+
return array.filter(o => o.label.primaryText.toLowerCase().includes(string.toLowerCase()));
|
|
48
|
+
}
|
|
49
|
+
searchInputOnChange(newValue) {
|
|
50
|
+
this.searchInput = newValue;
|
|
51
|
+
if (newValue) {
|
|
52
|
+
this.searchData = this.multiLine ? this.filterByPrimaryText(this.data, newValue) : this.filterByValue(this.data, newValue);
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
this.searchData = [];
|
|
56
|
+
this.searchInput = "";
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
searchInputFocused(isFocused) {
|
|
60
|
+
this.isSearchInputFocused = isFocused;
|
|
61
|
+
}
|
|
62
|
+
searchInputCanceled(event) {
|
|
63
|
+
event.stopPropagation();
|
|
64
|
+
this.searchInput = "";
|
|
65
|
+
this.isSearchInputFocused = false;
|
|
66
|
+
}
|
|
67
|
+
toggleDropdown() {
|
|
68
|
+
this.isOpen = !this.isOpen;
|
|
69
|
+
if (this.isOpen)
|
|
70
|
+
this.openDropdown(this.popupContainer, this.selectElement.nativeElement);
|
|
71
|
+
else
|
|
72
|
+
this.onCancel();
|
|
73
|
+
}
|
|
74
|
+
openDropdown(template, origin) {
|
|
75
|
+
const positionsBottom = [
|
|
76
|
+
new ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, 0, 4),
|
|
77
|
+
new ConnectionPositionPair({ originX: "end", originY: "bottom" }, { overlayX: "end", overlayY: "top" }, 0, 4)
|
|
78
|
+
];
|
|
79
|
+
const positionsTop = [
|
|
80
|
+
new ConnectionPositionPair({ originX: "start", originY: "top" }, { overlayX: "start", overlayY: "bottom" }, 0, -4),
|
|
81
|
+
new ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, 0, -4)
|
|
82
|
+
];
|
|
83
|
+
const positionStrategy = this.overlay
|
|
84
|
+
.position()
|
|
85
|
+
.flexibleConnectedTo(origin)
|
|
86
|
+
.withPositions([
|
|
87
|
+
...(this.dropdownListPosition === "Right" ? positionsBottom.reverse() : positionsBottom),
|
|
88
|
+
...(this.dropdownListPosition === "Right" ? positionsTop.reverse() : positionsTop)
|
|
89
|
+
])
|
|
90
|
+
.withPush(true);
|
|
91
|
+
const configs = new OverlayConfig({
|
|
92
|
+
hasBackdrop: true,
|
|
93
|
+
backdropClass: "cdk-overlay-transparent-backdrop",
|
|
94
|
+
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
95
|
+
positionStrategy,
|
|
96
|
+
width: origin.clientWidth
|
|
97
|
+
});
|
|
98
|
+
this.overlayRef = this.overlay.create(configs);
|
|
99
|
+
if (this.dropdownListWidth)
|
|
100
|
+
this.overlayRef.updateSize({ width: this.dropdownListWidth });
|
|
101
|
+
if (this.dropdownListHeight)
|
|
102
|
+
this.overlayRef.updateSize({ height: this.dropdownListHeight });
|
|
103
|
+
this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));
|
|
104
|
+
this.overlayRef.backdropClick().subscribe(res => {
|
|
105
|
+
this.onCancel();
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
selectItem(item) {
|
|
109
|
+
this.onChange.emit(item);
|
|
110
|
+
this.toggleDropdown();
|
|
111
|
+
}
|
|
112
|
+
onCancel() {
|
|
113
|
+
var _a;
|
|
114
|
+
this.isSearchInputFocused = false;
|
|
115
|
+
this.isOpen = false;
|
|
116
|
+
(_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
117
|
+
this.searchInput = "";
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
DropdownComponent.decorators = [
|
|
121
|
+
{ type: Component, args: [{
|
|
122
|
+
selector: "mis-dropdown",
|
|
123
|
+
template: "<div (click)=\"setUpAsyncDataSearch()\"\n class=\"main-container\"\n [ngStyle]=\"{\n height: height.length > 0 ? height : '',\n width: width.length > 0 ? width : ''\n }\"\n>\n <div\n class=\"dropdown\"\n #select\n tabindex=\"0\"\n (keyup.enter)=\"toggleDropdown()\"\n (click)=\"toggleDropdown()\"\n [ngStyle]=\"{ background: isOpen ? '#E6EBF7' : '' }\"\n >\n <div class=\"label\">\n <p class=\"text\">\n {{ multiLine ? selectedItem.label?.primaryText : selectedItem.label || label }}\n </p>\n </div>\n <svg\n class=\"handle\"\n [ngStyle]=\"{ transform: isOpen ? 'rotate(180deg)' : 'rotate(0deg)' }\"\n width=\"20\"\n height=\"20\"\n viewBox=\"0 0 20 20\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.825 7.15845L10 10.9751L6.175 7.15845L5 8.33345L10 13.3334L15 8.33345L13.825 7.15845Z\"\n fill=\"#181F33\"\n />\n </svg>\n </div>\n</div>\n<ng-template #popupContainer>\n <div\n class=\"popup-container\"\n [ngStyle]=\"{\n height: dropdownListHeight,\n width: dropdownListWidth\n }\"\n >\n <div *ngIf=\"searchEnabled\" class=\"search-container\">\n <svg\n *ngIf=\"!isSearchInputFocused\"\n class=\"search-icon\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M4.21508 11.1456C4.21508 7.3179 7.33722 4.21165 11.1926 4.21165C15.048 4.21165 18.1702 7.3179 18.1702 11.1456C18.1702 12.6931 17.6599 14.1226 16.7972 15.2767L15.3685 16.7013C14.2044 17.5668 12.759 18.0796 11.1926 18.0796C7.33722 18.0796 4.21508 14.9734 4.21508 11.1456ZM15.9421 17.7835C14.6021 18.7329 12.9627 19.2913 11.1926 19.2913C6.66977 19.2913 3 15.6461 3 11.1456C3 6.64512 6.66977 3 11.1926 3C15.7155 3 19.3852 6.64512 19.3852 11.1456C19.3852 12.9371 18.8037 14.5931 17.8184 15.9375L19.8361 17.4048C20.6705 17.912 21.7554 18.6543 20.2454 20.215C18.7353 21.7756 18.0099 20.6663 17.4991 19.8364L15.9421 17.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n <input\n [ngModel]=\"searchInput\"\n [ngStyle]=\"{\n paddingLeft: isSearchInputFocused ? '12px' : '45px',\n border: isSearchInputFocused ? '1px solid #0937B2' : '1px solid #e0e0e0',\n paddingRight: isSearchInputFocused ? '45px' : '10px'\n }\"\n (ngModelChange)=\"searchInputOnChange($event)\"\n [placeholder]=\"isSearchInputFocused ? '' : 'Search Keyword'\"\n (focus)=\"searchInputFocused(true)\"\n class=\"search-input\"\n />\n <svg\n *ngIf=\"isSearchInputFocused\"\n class=\"cancel-icon\"\n (click)=\"searchInputCanceled($event)\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M8.87446 7.32144C8.44588 6.89285 7.751 6.89285 7.32242 7.32144C6.89383 7.75002 6.89383 8.4449 7.32242 8.87349L10.4488 11.9999L7.32357 15.1252C6.89498 15.5538 6.89498 16.2486 7.32357 16.6772C7.75215 17.1058 8.44703 17.1058 8.87561 16.6772L12.0009 13.552L15.1261 16.6772C15.5547 17.1058 16.2496 17.1058 16.6781 16.6772C17.1067 16.2486 17.1067 15.5537 16.6781 15.1251L13.5529 11.9999L16.6793 8.87354C17.1079 8.44496 17.1079 7.75008 16.6793 7.3215C16.2507 6.89291 15.5558 6.89291 15.1273 7.3215L12.0009 10.4479L8.87446 7.32144Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div class=\"status-container\" *ngIf=\"loading\">\n <mis-loader [mobileView]=\"true\"></mis-loader>\n </div>\n <div class=\"items\" *ngIf=\"!loading\"> \n <cdk-virtual-scroll-viewport autosize class=\"dropdown-viewport\">\n <div\n class=\"item\"\n tabindex=\"0\"\n [ngClass]=\"{ 'item-disabled': item.disabled }\"\n (click)=\"item.disabled ? null : selectItem(item)\"\n (keyup.enter)=\"item.disabled ? null : selectItem(item)\"\n *cdkVirtualFor=\"let item of searchInput ? searchData : data\"\n >\n <div class=\"label\" [ngStyle]=\"{ width: item.icon ? '90%' : '100%', 'display': multiLine ? 'flex': 'inherit', 'flex-direction': multiLine ? 'column': 'inherit' }\">\n <span class=\"primaryText\">{{ multiLine ? item.label?.primaryText : item.label }}</span>\n <span class=\"secondaryText\" *ngIf=\"multiLine\"> {{ item.label?.secondaryText ? item.label?.secondaryText : additionalInfoMessage }} </span>\n </div>\n <div class=\"icon-container\" *ngIf=\"item.icon\">\n <img class=\"icon\" [src]=\"item.icon\" alt=\"no img\" />\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n <div class=\"noData\" *ngIf=\"(searchInput ? searchData : data).length === 0\">\n {{ searchInput === \"\" ? noDataMessage : \"No results\" }}\n </div>\n </div>\n </div>\n</ng-template>\n",
|
|
124
|
+
styles: [".main-container{position:relative;display:flex;flex-wrap:wrap;justify-content:center;align-items:center;height:32px;width:256px;font-family:Lato,sans-serif!important}.main-container .dropdown{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:inherit;border:1px solid #e0e0e0;border-radius:6px;background-color:#fff;cursor:pointer;display:flex;justify-content:space-between;align-items:center;width:100%;box-sizing:border-box;padding:0 12px}.main-container .dropdown:focus-visible,.main-container .dropdown:hover{background-color:#f5f7fc;outline:none}.main-container .dropdown .label{box-sizing:border-box;display:flex;justify-content:flex-start;align-items:center;width:calc(100% - 32px)}.main-container .dropdown .label,.main-container .dropdown .label .text{font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.main-container .dropdown .label .text{margin:0!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.main-container .dropdown .label .count{background-color:#e0e0e0;border-radius:50%;padding:2px 7px;margin:0}.main-container .dropdown .handle{width:24px;height:24px;transition:.3s;position:absolute;right:12px;border-radius:50%;overflow:hidden}.popup-container{width:100%;max-height:340px;padding-bottom:0;border:1px solid #e0e0e0;border-radius:8px;background-color:#fff;box-shadow:0 12px 24px 0 rgba(0,0,0,.12);display:flex;flex-direction:column;overflow:hidden;justify-content:space-between}.popup-container::-webkit-scrollbar{width:0;height:0}.popup-container .search-container{position:relative;box-sizing:border-box;padding:8px}.popup-container .search-container .search-icon{position:absolute;width:24px;height:24px;top:50%;transform:translateY(-50%);left:18px;z-index:1}.popup-container .search-container .search-input{height:40px;width:100%;padding:12px;border:1px solid #e0e0e0;box-sizing:border-box;border-radius:8px;outline:none;caret-color:#0937b2;font-style:normal;font-weight:400;font-size:12px;line-height:18px;display:flex;align-items:center;letter-spacing:.2px;color:#181f33}.popup-container .search-container .cancel-icon{position:absolute;cursor:pointer;width:24px;height:24px;top:50%;transform:translateY(-50%);right:18px;z-index:1}.popup-container .items{padding:8px 0 8px 8px;overflow-y:scroll}.popup-container .items::-webkit-scrollbar{width:5px;height:0}.popup-container .items::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:10px}.popup-container .items .noData{display:flex;justify-content:center;align-items:center;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.popup-container .items .dropdown-viewport{height:200px}.popup-container .items .dropdown-viewport .item{cursor:pointer;display:flex;justify-content:flex-start;align-items:center;gap:10px;padding:8px 12px;border-radius:6px;height:auto;letter-spacing:.2px;color:#181f33}.popup-container .items .dropdown-viewport .item:focus-visible,.popup-container .items .dropdown-viewport .item:hover{background-color:#f5f7fc;outline:none}.popup-container .items .dropdown-viewport .item .label{width:100%;line-height:20px;font-size:14px;font-style:normal;font-weight:400;text-overflow:ellipsis;overflow:hidden}.popup-container .items .dropdown-viewport .item .label .primaryText{color:#181f33;font-family:Lato;font-size:14px;line-height:20px;letter-spacing:.2px}.popup-container .items .dropdown-viewport .item .label .secondaryText{color:#6a737d;font-family:Lato;font-size:14px;line-height:20px;letter-spacing:.2px}.popup-container .items .dropdown-viewport .item .icon-container{width:10%;display:flex;justify-content:flex-end}.popup-container .items .dropdown-viewport .item .icon-container .icon{width:20px;height:20px}.popup-container .items .item-disabled{cursor:not-allowed}.popup-container .items .item-disabled:focus-visible,.popup-container .items .item-disabled:hover{background-color:transparent;outline:none}.popup-container .items .item-disabled .label{color:#929dab;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.status-container{display:flex;justify-content:center;align-items:center;height:128px}.status-container p{text-align:center}"]
|
|
125
|
+
},] }
|
|
126
|
+
];
|
|
127
|
+
DropdownComponent.ctorParameters = () => [
|
|
128
|
+
{ type: ElementRef },
|
|
129
|
+
{ type: Overlay },
|
|
130
|
+
{ type: ViewContainerRef }
|
|
131
|
+
];
|
|
132
|
+
DropdownComponent.propDecorators = {
|
|
133
|
+
data: [{ type: Input }],
|
|
134
|
+
height: [{ type: Input }],
|
|
135
|
+
width: [{ type: Input }],
|
|
136
|
+
label: [{ type: Input }],
|
|
137
|
+
dropdownListHeight: [{ type: Input }],
|
|
138
|
+
dropdownListWidth: [{ type: Input }],
|
|
139
|
+
dropdownListPosition: [{ type: Input }],
|
|
140
|
+
config: [{ type: Input }],
|
|
141
|
+
searchEnabled: [{ type: Input }],
|
|
142
|
+
selectedItem: [{ type: Input }],
|
|
143
|
+
noDataMessage: [{ type: Input }],
|
|
144
|
+
multiLine: [{ type: Input }],
|
|
145
|
+
additionalInfoMessage: [{ type: Input }],
|
|
146
|
+
onChange: [{ type: Output }],
|
|
147
|
+
selectElement: [{ type: ViewChild, args: ["select", { static: false },] }],
|
|
148
|
+
popupContainer: [{ type: ViewChild, args: ["popupContainer", { static: false },] }]
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
class DropdownModule {
|
|
152
|
+
static forRoot() {
|
|
153
|
+
return { ngModule: DropdownModule, providers: [] };
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
DropdownModule.decorators = [
|
|
157
|
+
{ type: NgModule, args: [{
|
|
158
|
+
declarations: [DropdownComponent],
|
|
159
|
+
imports: [CommonModule, FormsModule, OverlayModule, ScrollingModule, LoaderModule],
|
|
160
|
+
exports: [DropdownComponent]
|
|
161
|
+
},] }
|
|
162
|
+
];
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Generated bundle index. Do not edit.
|
|
166
|
+
*/
|
|
167
|
+
|
|
168
|
+
export { DropdownComponent, DropdownModule };
|
|
169
|
+
//# sourceMappingURL=mis-crystal-design-system-dropdown.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-dropdown.js","sources":["../../../projects/mis-components/dropdown/dropdown.component.ts","../../../projects/mis-components/dropdown/dropdown.module.ts","../../../projects/mis-components/dropdown/mis-crystal-design-system-dropdown.ts"],"sourcesContent":["import { ConnectionPositionPair, Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { TemplatePortal } from \"@angular/cdk/portal\";\nimport { Component, ElementRef, EventEmitter, Input, OnInit, Output, TemplateRef, ViewChild, ViewContainerRef } from \"@angular/core\";\n\n@Component({\n selector: \"mis-dropdown\",\n templateUrl: \"./dropdown.component.html\",\n styleUrls: [\"./dropdown.component.scss\"]\n})\nexport class DropdownComponent implements OnInit {\n isOpen = false;\n loading: boolean = false;\n isSearchInputFocused: boolean = false;\n searchInput: string = \"\";\n searchData: DropdownItem[] = [];\n\n @Input() data: DropdownItem[] = [];\n @Input() height: string = \"\";\n @Input() width: string = \"\";\n @Input() label: string = \"Select\";\n\n @Input() dropdownListHeight: string = \"\";\n @Input() dropdownListWidth: string = \"\";\n @Input() dropdownListPosition: \"Left\" | \"Right\" = \"Left\";\n\n @Input() config\n\n @Input() searchEnabled: boolean = true;\n @Input() selectedItem: DropdownItem = { value: \"\", label: \"\" };\n @Input() noDataMessage: string = \"No Data\";\n @Input() multiLine: boolean = false;\n @Input() additionalInfoMessage : string;\n\n @Output() onChange: EventEmitter<any> = new EventEmitter();\n\n @ViewChild(\"select\", { static: false }) selectElement: ElementRef;\n @ViewChild(\"popupContainer\", { static: false }) popupContainer: TemplateRef<Element>;\n private overlayRef: OverlayRef;\n\n constructor(private eRef: ElementRef, private overlay: Overlay, private viewContainerRef: ViewContainerRef) {}\n ngOnInit() {\n \n \n \n}\n\nsetUpAsyncDataSearch()\n{\n if(this.config)\n {\n this.loading = true;\n this.config.dataStream().pipe().subscribe(res=> {\n this.data = res\n this.loading = false\n })\n }\n}\n filterByValue(array, string: string) {\n return array.filter(o => o.label.toLowerCase().includes(string.toLowerCase()));\n }\n\n filterByPrimaryText(array, string: string) {\n return array.filter(o => o.label.primaryText.toLowerCase().includes(string.toLowerCase()));\n }\n searchInputOnChange(newValue) {\n this.searchInput = newValue;\n if (newValue) {\n this.searchData = this.multiLine ? this.filterByPrimaryText(this.data, newValue) : this.filterByValue(this.data, newValue);\n } else {\n this.searchData = [];\n this.searchInput = \"\";\n }\n }\n searchInputFocused(isFocused: boolean) {\n this.isSearchInputFocused = isFocused;\n }\n searchInputCanceled(event) {\n event.stopPropagation();\n this.searchInput = \"\";\n this.isSearchInputFocused = false;\n }\n toggleDropdown() {\n this.isOpen = !this.isOpen;\n if (this.isOpen) this.openDropdown(this.popupContainer, this.selectElement.nativeElement);\n else this.onCancel();\n }\n private openDropdown(template: TemplateRef<Element>, origin: HTMLElement): void {\n const positionsBottom = [\n new ConnectionPositionPair({ originX: \"start\", originY: \"bottom\" }, { overlayX: \"start\", overlayY: \"top\" }, 0, 4),\n new ConnectionPositionPair({ originX: \"end\", originY: \"bottom\" }, { overlayX: \"end\", overlayY: \"top\" }, 0, 4)\n ];\n const positionsTop = [\n new ConnectionPositionPair({ originX: \"start\", originY: \"top\" }, { overlayX: \"start\", overlayY: \"bottom\" }, 0, -4),\n new ConnectionPositionPair({ originX: \"end\", originY: \"top\" }, { overlayX: \"end\", overlayY: \"bottom\" }, 0, -4)\n ];\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(origin)\n .withPositions([\n ...(this.dropdownListPosition === \"Right\" ? positionsBottom.reverse() : positionsBottom),\n ...(this.dropdownListPosition === \"Right\" ? positionsTop.reverse() : positionsTop)\n ])\n .withPush(true);\n const configs = new OverlayConfig({\n hasBackdrop: true,\n backdropClass: \"cdk-overlay-transparent-backdrop\",\n scrollStrategy: this.overlay.scrollStrategies.reposition(),\n positionStrategy,\n width: origin.clientWidth\n });\n this.overlayRef = this.overlay.create(configs);\n if (this.dropdownListWidth) this.overlayRef.updateSize({ width: this.dropdownListWidth });\n if (this.dropdownListHeight) this.overlayRef.updateSize({ height: this.dropdownListHeight });\n this.overlayRef.attach(new TemplatePortal(template, this.viewContainerRef));\n this.overlayRef.backdropClick().subscribe(res => {\n this.onCancel();\n });\n }\n selectItem(item) {\n this.onChange.emit(item);\n this.toggleDropdown();\n }\n onCancel() {\n this.isSearchInputFocused = false;\n this.isOpen = false;\n this.overlayRef?.detach();\n this.searchInput = \"\";\n }\n}\nexport interface DropdownItem {\n label: any ;\n value: string;\n icon?: string;\n disabled?: boolean;\n}\nexport interface ActionItemLabel {\n primaryText ?: string;\n secondaryText ?: string;\n}\n","import { CommonModule } from \"@angular/common\";\nimport { FormsModule } from \"@angular/forms\";\nimport { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { DropdownComponent } from \"./dropdown.component\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { ScrollingModule } from \"@angular/cdk-experimental/scrolling\";\nimport { LoaderModule } from \"mis-crystal-design-system/loader\";\n\n@NgModule({\n declarations: [DropdownComponent],\n imports: [CommonModule, FormsModule, OverlayModule, ScrollingModule,LoaderModule],\n exports: [DropdownComponent]\n})\nexport class DropdownModule {\n static forRoot(): ModuleWithProviders<DropdownModule> {\n return { ngModule: DropdownModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MASa,iBAAiB;IA8B5B,YAAoB,IAAgB,EAAU,OAAgB,EAAU,gBAAkC;QAAtF,SAAI,GAAJ,IAAI,CAAY;QAAU,YAAO,GAAP,OAAO,CAAS;QAAU,qBAAgB,GAAhB,gBAAgB,CAAkB;QA7B1G,WAAM,GAAG,KAAK,CAAC;QACf,YAAO,GAAY,KAAK,CA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AAS,EAAE,EAAE,EAAE,CAAC;KACpD;;;YARF,QAAQ,SAAC;gBACR,YAAY,EAAE,CAAC,iBAAiB,CAAC;gBACjC,OAAO,EAAE,CAAC,YAAY,EAAE,WAAW,EAAE,aAAa,EAAE,eAAe,EAAC,YAAY,CAAC;gBACjF,OAAO,EAAE,CAAC,iBAAiB,CAAC;aAC7B;;;ACZD;;;;;;"}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { Component, ElementRef, Input, HostListener, NgModule } from '@angular/core';
|
|
2
|
+
import { trigger, transition, style, animate, state } from '@angular/animations';
|
|
3
|
+
import { CommonModule } from '@angular/common';
|
|
4
|
+
|
|
5
|
+
/** @format */
|
|
6
|
+
class FabComponent {
|
|
7
|
+
constructor(eRef) {
|
|
8
|
+
this.eRef = eRef;
|
|
9
|
+
this.show = false;
|
|
10
|
+
this.options = {};
|
|
11
|
+
this.items = [];
|
|
12
|
+
this.isOpen = false;
|
|
13
|
+
}
|
|
14
|
+
clickout(event) {
|
|
15
|
+
if (!this.eRef.nativeElement.contains(event.target)) {
|
|
16
|
+
this.closeFab();
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
this.options = Object.assign({ size: 56, backgroundColorClosed: "#0937B2", backgroundColorOpened: "#3a5fc1" }, this.options);
|
|
21
|
+
}
|
|
22
|
+
ngOnDestroy() { }
|
|
23
|
+
clickItem(item) {
|
|
24
|
+
this.closeFab();
|
|
25
|
+
item.click();
|
|
26
|
+
}
|
|
27
|
+
closeFab() {
|
|
28
|
+
this.isOpen = false;
|
|
29
|
+
}
|
|
30
|
+
toogleFab() {
|
|
31
|
+
this.isOpen = !this.isOpen;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
FabComponent.decorators = [
|
|
35
|
+
{ type: Component, args: [{
|
|
36
|
+
selector: "mis-fab",
|
|
37
|
+
template: "<div class=\"fab-wrapper\" *ngIf=\"show\">\n <div class=\"fab-items\" *ngIf=\"isOpen\" @slideUpFab>\n <div class=\"fab-item\" *ngFor=\"let item of items.reverse(); let i = index\" (click)=\"clickItem(item)\">\n <div *ngIf=\"item.label\" class=\"fab-tooltip\">\n {{ item.label }}\n </div>\n <div\n class=\"fab-button\"\n [ngStyle]=\"{\n backgroundColor: item.backgroundColor || '#0937B2'\n }\"\n >\n <img [src]=\"item.icon\" class=\"add-img\" />\n </div>\n </div>\n </div>\n <div\n class=\"fab-container\"\n [ngStyle]=\"{\n backgroundColor: isOpen ? options.backgroundColorOpened : options.backgroundColorClosed\n }\"\n (click)=\"toogleFab()\"\n >\n <svg\n [@rotateButton]=\"isOpen ? 'rotated' : 'default'\"\n class=\"add-img\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n >\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M13.1424 5.15607C13.1424 4.51759 12.6313 4 12.0009 4C11.3704 4 10.8594 4.51759 10.8594 5.15607V10.8421H5.14149C4.51106 10.8421 4 11.3597 4 11.9982C4 12.6367 4.51106 13.1543 5.14149 13.1543H10.8594V18.8439C10.8594 19.4824 11.3704 20 12.0009 20C12.6313 20 13.1424 19.4824 13.1424 18.8439V13.1543H18.8585C19.4889 13.1543 20 12.6367 20 11.9982C20 11.3597 19.4889 10.8421 18.8585 10.8421H13.1424V5.15607Z\"\n fill=\"white\"\n />\n </svg>\n </div>\n</div>\n",
|
|
38
|
+
animations: [
|
|
39
|
+
trigger("slideUpFab", [
|
|
40
|
+
transition(":enter", [
|
|
41
|
+
style({ transform: "translateY(50px)", opacity: 0 }),
|
|
42
|
+
animate("300ms ease-out", style({ transform: "translateY(0px)", opacity: 1 }))
|
|
43
|
+
]),
|
|
44
|
+
transition(":leave", [animate("200ms ease-out", style({ transform: "translateY(70px)", opacity: 0 }))])
|
|
45
|
+
]),
|
|
46
|
+
trigger("rotateButton", [
|
|
47
|
+
state("default", style({ transform: "rotate(0)" })),
|
|
48
|
+
state("rotated", style({ transform: "rotate(45deg)" })),
|
|
49
|
+
transition("rotated => default", animate("300ms ease-out")),
|
|
50
|
+
transition("default => rotated", animate("200ms ease-in"))
|
|
51
|
+
])
|
|
52
|
+
],
|
|
53
|
+
styles: [".fab-wrapper{position:fixed;right:24px;bottom:24px;z-index:1000}.fab-wrapper .fab-item{position:relative;padding:0 0 16px 8px}.fab-wrapper .fab-item .fab-tooltip{position:absolute;background-color:#181f33;border-radius:4px;color:#fff;padding:8px;display:flex;justify-content:center;align-items:center;white-space:nowrap;right:100%;top:calc(50% - 8px);transform:translateY(-50%)}.fab-wrapper .fab-item .fab-button{width:40px;height:40px}.fab-wrapper .fab-container,.fab-wrapper .fab-item .fab-button{cursor:pointer;border-radius:50%;display:flex;justify-content:center;align-items:center}.fab-wrapper .fab-container{width:56px;height:56px}.add-img{height:24px;width:24px}"]
|
|
54
|
+
},] }
|
|
55
|
+
];
|
|
56
|
+
FabComponent.ctorParameters = () => [
|
|
57
|
+
{ type: ElementRef }
|
|
58
|
+
];
|
|
59
|
+
FabComponent.propDecorators = {
|
|
60
|
+
show: [{ type: Input }],
|
|
61
|
+
options: [{ type: Input }],
|
|
62
|
+
items: [{ type: Input }],
|
|
63
|
+
clickout: [{ type: HostListener, args: ["document:click", ["$event"],] }]
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
class FabModule {
|
|
67
|
+
static forRoot() {
|
|
68
|
+
return { ngModule: FabModule, providers: [] };
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
FabModule.decorators = [
|
|
72
|
+
{ type: NgModule, args: [{
|
|
73
|
+
declarations: [FabComponent],
|
|
74
|
+
imports: [CommonModule],
|
|
75
|
+
exports: [FabComponent]
|
|
76
|
+
},] }
|
|
77
|
+
];
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Generated bundle index. Do not edit.
|
|
81
|
+
*/
|
|
82
|
+
|
|
83
|
+
export { FabComponent, FabModule };
|
|
84
|
+
//# sourceMappingURL=mis-crystal-design-system-fab.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-fab.js","sources":["../../../projects/mis-components/fab/fab.component.ts","../../../projects/mis-components/fab/fab.module.ts","../../../projects/mis-components/fab/mis-crystal-design-system-fab.ts"],"sourcesContent":["/** @format */\n\nimport { Component, ElementRef, HostListener, Input, OnDestroy, OnInit } from \"@angular/core\";\nimport { trigger, transition, style, animate, state } from \"@angular/animations\";\n\nexport type FabOptions = {\n backgroundColorClosed?: string;\n backgroundColorOpened?: string;\n size?: number;\n};\n\nexport type FabItem = {\n label?: string;\n icon: string;\n backgroundColor?: string;\n id?: string;\n click?: () => any;\n};\n\nexport type FabItems = FabItem[];\n\n@Component({\n selector: \"mis-fab\",\n templateUrl: \"./fab.component.html\",\n styleUrls: [\"./fab.component.scss\"],\n animations: [\n trigger(\"slideUpFab\", [\n transition(\":enter\", [\n style({ transform: \"translateY(50px)\", opacity: 0 }),\n animate(\"300ms ease-out\", style({ transform: \"translateY(0px)\", opacity: 1 }))\n ]),\n transition(\":leave\", [animate(\"200ms ease-out\", style({ transform: \"translateY(70px)\", opacity: 0 }))])\n ]),\n trigger(\"rotateButton\", [\n state(\"default\", style({ transform: \"rotate(0)\" })),\n state(\"rotated\", style({ transform: \"rotate(45deg)\" })),\n transition(\"rotated => default\", animate(\"300ms ease-out\")),\n transition(\"default => rotated\", animate(\"200ms ease-in\"))\n ])\n ]\n})\nexport class FabComponent implements OnInit, OnDestroy {\n @Input() show: boolean = false;\n @Input() options: FabOptions = {};\n @Input() items: FabItems = [];\n\n isOpen: boolean = false;\n\n constructor(private eRef: ElementRef) {}\n\n @HostListener(\"document:click\", [\"$event\"])\n clickout(event) {\n if (!this.eRef.nativeElement.contains(event.target)) {\n this.closeFab();\n }\n }\n\n ngOnInit(): void {\n this.options = {\n size: 56,\n backgroundColorClosed: \"#0937B2\",\n backgroundColorOpened: \"#3a5fc1\",\n ...this.options\n };\n }\n\n ngOnDestroy(): void {}\n\n clickItem(item: FabItem) {\n this.closeFab();\n item.click();\n }\n\n closeFab() {\n this.isOpen = false;\n }\n\n toogleFab() {\n this.isOpen = !this.isOpen;\n }\n}\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { FabComponent } from \"./fab.component\";\n\n@NgModule({\n declarations: [FabComponent],\n imports: [CommonModule],\n exports: [FabComponent]\n})\nexport class FabModule {\n static forRoot(): ModuleWithProviders<FabModule> {\n return { ngModule: FabModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAAA;MAyCa,YAAY;IAOvB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;QAN3B,SAAI,GAAY,KAAK,CAAC;QACtB,YAAO,GAAe,EAAE,CAAC;QACzB,UAAK,GAAa,EAAE,CAAC;QAE9B,WAAM,GAAY,KAAK,CAAC;KAEgB;IAGxC,QAAQ,CAAC,KAAK;QACZ,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE;YACnD,IAAI,CAAC,QAAQ,EAAE,CAAC;SACjB;KACF;IAED,QAAQ;QACN,IAAI,CAAC,OAAO,mBACV,IAAI,EAAE,EAAE,EACR,qBAAqB,EAAE,SAAS,EAChC,qBAAqB,EAAE,SAAS,IAC7B,IAAI,CAAC,OAAO,CAChB,CAAC;KACH;IAED,WAAW,MAAW;IAEtB,SAAS,CAAC,IAAa;QACrB,IAAI,CAAC,QAAQ,EAAE,CAAC;QAChB,IAAI,CAAC,KAAK,EAAE,CAAC;KACd;IAED,QAAQ;QACN,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;KACrB;IAED,SAAS;QACP,IAAI,CAAC,MAAM,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC;KAC5B;;;YA1DF,SAAS,SAAC;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ACRD;;;;;;"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Directive, ElementRef, Self, Optional, Component, Input, ContentChild, NgModule } from '@angular/core';
|
|
2
|
+
import { NgControl, FormsModule } from '@angular/forms';
|
|
3
|
+
import { ReplaySubject, Subject } from 'rxjs';
|
|
4
|
+
import { takeUntil } from 'rxjs/operators';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
class MisInputDirective {
|
|
8
|
+
constructor(el, control) {
|
|
9
|
+
this.el = el;
|
|
10
|
+
this.control = control;
|
|
11
|
+
this.validityChange = new ReplaySubject(1);
|
|
12
|
+
this.validity = this.validityChange.asObservable();
|
|
13
|
+
this.endObs = new Subject();
|
|
14
|
+
this.focus = false;
|
|
15
|
+
this.hasValue = false;
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
var _a, _b;
|
|
19
|
+
(_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(() => {
|
|
20
|
+
var _a;
|
|
21
|
+
this.validityChange.next(!((_a = this.control.control) === null || _a === void 0 ? void 0 : _a.invalid));
|
|
22
|
+
});
|
|
23
|
+
this.el.nativeElement.placeholder += " ";
|
|
24
|
+
}
|
|
25
|
+
ngOnDestroy() {
|
|
26
|
+
this.endObs.next();
|
|
27
|
+
this.endObs.complete();
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
MisInputDirective.decorators = [
|
|
31
|
+
{ type: Directive, args: [{
|
|
32
|
+
// tslint:disable-next-line
|
|
33
|
+
selector: "input[misInput]"
|
|
34
|
+
},] }
|
|
35
|
+
];
|
|
36
|
+
MisInputDirective.ctorParameters = () => [
|
|
37
|
+
{ type: ElementRef },
|
|
38
|
+
{ type: NgControl, decorators: [{ type: Self }, { type: Optional }] }
|
|
39
|
+
];
|
|
40
|
+
|
|
41
|
+
class MisInputComponent {
|
|
42
|
+
constructor() {
|
|
43
|
+
this.type = "floating";
|
|
44
|
+
this.size = "sm";
|
|
45
|
+
this.noHints = false;
|
|
46
|
+
this.hasError = false; // show input in error state
|
|
47
|
+
this.inputValidity = true;
|
|
48
|
+
}
|
|
49
|
+
set formInput(input) {
|
|
50
|
+
var _a, _b;
|
|
51
|
+
if (!this.placeholder) {
|
|
52
|
+
this.placeholder = (input === null || input === void 0 ? void 0 : input.el.nativeElement.placeholder) || "";
|
|
53
|
+
}
|
|
54
|
+
this.inputCtrl = (_a = input.control) === null || _a === void 0 ? void 0 : _a.control;
|
|
55
|
+
(_b = this.inputSubscription) === null || _b === void 0 ? void 0 : _b.unsubscribe();
|
|
56
|
+
this.inputSubscription = input === null || input === void 0 ? void 0 : input.validity.subscribe(res => (this.inputValidity = res));
|
|
57
|
+
this.placeholder += " ";
|
|
58
|
+
}
|
|
59
|
+
ngOnInit() { }
|
|
60
|
+
ngOnDestroy() {
|
|
61
|
+
var _a;
|
|
62
|
+
(_a = this.inputSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
MisInputComponent.decorators = [
|
|
66
|
+
{ type: Component, args: [{
|
|
67
|
+
selector: "mis-input",
|
|
68
|
+
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",
|
|
69
|
+
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:#fff;--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 60ms ease-in;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::-moz-placeholder{-moz-transition:all .1s ease-in;transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper input:-ms-input-placeholder{-ms-transition:all .1s ease-in;transition:all .1s ease-in;opacity:0;transform-origin:left center;color:transparent}.input-container .input-wrapper input::placeholder{transition:all .1s ease-in;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 .15s ease-in}.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(:-moz-placeholder-shown)+.mis-placeholder{color:transparent!important}.input-container.rounded .input-wrapper input:not(:-ms-input-placeholder)+.mis-placeholder{color:transparent!important}.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(:-moz-placeholder-shown)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper input:not(:-ms-input-placeholder)+.mis-placeholder{transform:translateY(calc(-100% + 6px))!important;font-size:12px!important;letter-spacing:.2px!important}.input-container.floating .input-wrapper input:focus+.mis-placeholder,.input-container.floating .input-wrapper input:not(:placeholder-shown)+.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::-moz-placeholder{color:#6a737d;opacity:1;font-size:16px}.input-container.floating .input-wrapper:focus-within input:-ms-input-placeholder{color:#6a737d;opacity:1;font-size:16px}.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-error],.input-container [mis-input-hint]{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}"]
|
|
70
|
+
},] }
|
|
71
|
+
];
|
|
72
|
+
MisInputComponent.ctorParameters = () => [];
|
|
73
|
+
MisInputComponent.propDecorators = {
|
|
74
|
+
type: [{ type: Input }],
|
|
75
|
+
size: [{ type: Input }],
|
|
76
|
+
placeholder: [{ type: Input }],
|
|
77
|
+
noHints: [{ type: Input }],
|
|
78
|
+
hasError: [{ type: Input }],
|
|
79
|
+
formInput: [{ type: ContentChild, args: [MisInputDirective,] }]
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
class MisInputModule {
|
|
83
|
+
}
|
|
84
|
+
MisInputModule.decorators = [
|
|
85
|
+
{ type: NgModule, args: [{
|
|
86
|
+
declarations: [MisInputComponent, MisInputDirective],
|
|
87
|
+
imports: [CommonModule, FormsModule],
|
|
88
|
+
exports: [MisInputComponent, MisInputDirective]
|
|
89
|
+
},] }
|
|
90
|
+
];
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Generated bundle index. Do not edit.
|
|
94
|
+
*/
|
|
95
|
+
|
|
96
|
+
export { MisInputComponent, MisInputDirective, MisInputModule };
|
|
97
|
+
//# sourceMappingURL=mis-crystal-design-system-input.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-input.js","sources":["../../../projects/mis-components/input/directives/input/input.directive.ts","../../../projects/mis-components/input/mis-input.component.ts","../../../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","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":[],"mappings":";;;;;;MASa,iBAAiB;IAC5B,YAAmB,EAAc,EAA6B,OAAkB;QAA7D,OAAE,GAAF,EAAE,CAAY;QAA6B,YAAO,GAAP,OAAO,CAAW;QACxE,mBAAc,GAA2B,IAAI,aAAa,CAAC,CAAC,CAAC,CAAC;QACtE,aAAQ,GAAG,IAAI,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC;QAC9C,WAAM,GAAkB,IAAI,OAAO,EAAE,CAAC;QACtC,UAAK,GAAG,KAAK,CAAC;QACd,aAAQ,GAAG,KAAK,CAAC;KALmE;IAOpF,QAAQ;;QACN,YAAA,IAAI,CAAC,OAAO,0CAAE,OA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