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,194 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/cdk/overlay'), require('rxjs/operators'), require('@angular/cdk/portal'), require('mis-crystal-design-system/utils'), require('@angular/common')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('mis-crystal-design-system/tooltip', ['exports', '@angular/core', '@angular/cdk/overlay', 'rxjs/operators', '@angular/cdk/portal', 'mis-crystal-design-system/utils', '@angular/common'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['mis-crystal-design-system'] = global['mis-crystal-design-system'] || {}, global['mis-crystal-design-system'].tooltip = {}), global.ng.core, global.ng.cdk.overlay, global.rxjs.operators, global.ng.cdk.portal, global['mis-crystal-design-system'].utils, global.ng.common));
|
|
5
|
+
}(this, (function (exports, core, overlay, operators, portal, utils, common) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var ToolTipComponent = /** @class */ (function () {
|
|
8
|
+
function ToolTipComponent() {
|
|
9
|
+
this.toolTipText = "";
|
|
10
|
+
this.toolTipPosition = "bottom";
|
|
11
|
+
}
|
|
12
|
+
ToolTipComponent.prototype.ngOnInit = function () { };
|
|
13
|
+
ToolTipComponent.prototype.ngAfterViewInit = function () {
|
|
14
|
+
var _a;
|
|
15
|
+
if (!((_a = this.container) === null || _a === void 0 ? void 0 : _a.nativeElement))
|
|
16
|
+
return;
|
|
17
|
+
if (this.toolTipPosition === "top" || this.toolTipPosition === "bottom") {
|
|
18
|
+
var eleWidth = this.container.nativeElement.getBoundingClientRect();
|
|
19
|
+
this.container.nativeElement.style.left = eleWidth.width / -2 + "px";
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
if (this.toolTipPosition === "left") {
|
|
23
|
+
var eleWidth = this.container.nativeElement.getBoundingClientRect();
|
|
24
|
+
this.container.nativeElement.style.left = -eleWidth.width + "px";
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
return ToolTipComponent;
|
|
28
|
+
}());
|
|
29
|
+
ToolTipComponent.decorators = [
|
|
30
|
+
{ type: core.Component, args: [{
|
|
31
|
+
selector: "mis-tooltip",
|
|
32
|
+
template: "<div id=\"tooltip-container\" *ngIf=\"toolTipText.length > 0\" #container>\n <div id=\"tooltip\">\n <div id=\"tooltip-text\">{{ toolTipText }}</div>\n <span\n id=\"arrow\"\n [ngClass]=\"{\n 'arrow-left': toolTipPosition === 'left',\n 'arrow-right': toolTipPosition === 'right',\n 'arrow-top': toolTipPosition === 'top',\n 'arrow-bottom': toolTipPosition === 'bottom'\n }\"\n ></span>\n </div>\n</div>\n",
|
|
33
|
+
styles: ["#tooltip-container{position:absolute;z-index:1}#tooltip{position:relative;display:block;padding:8px 12px;border-radius:8px;color:#fff;background:#181f33;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px}#tooltip-text{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#arrow{position:absolute;height:12px;width:12px;background:#181f33;z-index:1}.arrow-top{bottom:-6px}.arrow-bottom,.arrow-top{left:50%;transform:translateX(-50%) rotate(-45deg);-webkit-transform:translateX(-50%) rotate(-45deg)}.arrow-bottom{top:-6px}.arrow-left{right:-6px}.arrow-left,.arrow-right{top:50%;transform:translateY(-50%) rotate(-45deg);-webkit-transform:translateY(-50%) rotate(-45deg)}.arrow-right{left:-6px}"]
|
|
34
|
+
},] }
|
|
35
|
+
];
|
|
36
|
+
ToolTipComponent.ctorParameters = function () { return []; };
|
|
37
|
+
ToolTipComponent.propDecorators = {
|
|
38
|
+
container: [{ type: core.ViewChild, args: ["container",] }]
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
var ToolTipDirective = /** @class */ (function () {
|
|
42
|
+
function ToolTipDirective(element, overlay, viewContainerRef) {
|
|
43
|
+
this.element = element;
|
|
44
|
+
this.overlay = overlay;
|
|
45
|
+
this.viewContainerRef = viewContainerRef;
|
|
46
|
+
this.isToolTipDisplayed = false;
|
|
47
|
+
this.toolTipText = "";
|
|
48
|
+
this.toolTipPosition = "bottom";
|
|
49
|
+
this.showOnHover = true;
|
|
50
|
+
}
|
|
51
|
+
Object.defineProperty(ToolTipDirective.prototype, "showToolTip", {
|
|
52
|
+
set: function (value) {
|
|
53
|
+
this.isToolTipDisplayed = value;
|
|
54
|
+
if (value)
|
|
55
|
+
this.displayToolTip();
|
|
56
|
+
else
|
|
57
|
+
this.hideToolTip();
|
|
58
|
+
},
|
|
59
|
+
enumerable: false,
|
|
60
|
+
configurable: true
|
|
61
|
+
});
|
|
62
|
+
Object.defineProperty(ToolTipDirective.prototype, "text", {
|
|
63
|
+
set: function (value) {
|
|
64
|
+
this.toolTipText = value;
|
|
65
|
+
},
|
|
66
|
+
enumerable: false,
|
|
67
|
+
configurable: true
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(ToolTipDirective.prototype, "position", {
|
|
70
|
+
set: function (value) {
|
|
71
|
+
this.toolTipPosition = value;
|
|
72
|
+
},
|
|
73
|
+
enumerable: false,
|
|
74
|
+
configurable: true
|
|
75
|
+
});
|
|
76
|
+
ToolTipDirective.prototype.onMouseEnter = function () {
|
|
77
|
+
if (this.showOnHover)
|
|
78
|
+
this.displayToolTip();
|
|
79
|
+
};
|
|
80
|
+
ToolTipDirective.prototype.onMouseLeave = function () {
|
|
81
|
+
if (this.showOnHover)
|
|
82
|
+
this.hideToolTip();
|
|
83
|
+
};
|
|
84
|
+
ToolTipDirective.prototype.ngOnInit = function () { };
|
|
85
|
+
ToolTipDirective.prototype.ngAfterViewInit = function () {
|
|
86
|
+
if (this.isToolTipDisplayed)
|
|
87
|
+
this.displayToolTip();
|
|
88
|
+
else
|
|
89
|
+
this.hideToolTip();
|
|
90
|
+
};
|
|
91
|
+
ToolTipDirective.prototype.displayToolTip = function () {
|
|
92
|
+
var _this = this;
|
|
93
|
+
var positionStrategy = this.overlay
|
|
94
|
+
.position()
|
|
95
|
+
.flexibleConnectedTo(this.element)
|
|
96
|
+
.withPositions(utils.genPositionPairs({
|
|
97
|
+
positionX: "center",
|
|
98
|
+
positionY: this.toolTipPosition === "top" ? "top" : "center",
|
|
99
|
+
offsetX: this.positionTooltip("OFFSET_X"),
|
|
100
|
+
offsetY: this.positionTooltip("OFFSET_Y")
|
|
101
|
+
}, false))
|
|
102
|
+
.withPush(true);
|
|
103
|
+
var config = new overlay.OverlayConfig({
|
|
104
|
+
hasBackdrop: false,
|
|
105
|
+
positionStrategy: positionStrategy,
|
|
106
|
+
scrollStrategy: this.overlay.scrollStrategies.reposition()
|
|
107
|
+
});
|
|
108
|
+
this.overlayRef = this.overlay.create(config);
|
|
109
|
+
var tempRef = new portal.ComponentPortal(ToolTipComponent, this.viewContainerRef);
|
|
110
|
+
var tooltipRef = this.overlayRef.attach(tempRef);
|
|
111
|
+
tooltipRef.instance.toolTipText = this.toolTipText;
|
|
112
|
+
tooltipRef.instance.toolTipPosition = this.toolTipPosition;
|
|
113
|
+
this.overlayRef
|
|
114
|
+
.backdropClick()
|
|
115
|
+
.pipe(operators.take(1))
|
|
116
|
+
.subscribe(function () {
|
|
117
|
+
_this.hideToolTip();
|
|
118
|
+
});
|
|
119
|
+
};
|
|
120
|
+
ToolTipDirective.prototype.positionTooltip = function (type) {
|
|
121
|
+
if (type === "OFFSET_X") {
|
|
122
|
+
return this.toolTipPosition === "right"
|
|
123
|
+
? this.element.nativeElement.offsetWidth / 2 + 8
|
|
124
|
+
: this.toolTipPosition === "left"
|
|
125
|
+
? (this.element.nativeElement.offsetWidth / 2 + 8) * -1
|
|
126
|
+
: this.toolTipPosition === "top" || this.toolTipPosition === "bottom"
|
|
127
|
+
? 0
|
|
128
|
+
: 8;
|
|
129
|
+
}
|
|
130
|
+
if (type !== "OFFSET_Y")
|
|
131
|
+
return;
|
|
132
|
+
return this.toolTipPosition === "right" || this.toolTipPosition === "left"
|
|
133
|
+
? -18
|
|
134
|
+
: this.toolTipPosition === "top"
|
|
135
|
+
? -44
|
|
136
|
+
: this.toolTipPosition === "bottom"
|
|
137
|
+
? this.element.nativeElement.offsetHeight / 2 + 8
|
|
138
|
+
: 8;
|
|
139
|
+
};
|
|
140
|
+
ToolTipDirective.prototype.hideToolTip = function () {
|
|
141
|
+
var _a, _b;
|
|
142
|
+
(_a = this.overlayRef) === null || _a === void 0 ? void 0 : _a.detach();
|
|
143
|
+
(_b = this.overlayRef) === null || _b === void 0 ? void 0 : _b.dispose();
|
|
144
|
+
};
|
|
145
|
+
return ToolTipDirective;
|
|
146
|
+
}());
|
|
147
|
+
ToolTipDirective.decorators = [
|
|
148
|
+
{ type: core.Directive, args: [{
|
|
149
|
+
selector: "[misToolTip]"
|
|
150
|
+
},] }
|
|
151
|
+
];
|
|
152
|
+
ToolTipDirective.ctorParameters = function () { return [
|
|
153
|
+
{ type: core.ElementRef },
|
|
154
|
+
{ type: overlay.Overlay },
|
|
155
|
+
{ type: core.ViewContainerRef }
|
|
156
|
+
]; };
|
|
157
|
+
ToolTipDirective.propDecorators = {
|
|
158
|
+
showOnHover: [{ type: core.Input }],
|
|
159
|
+
showToolTip: [{ type: core.Input }],
|
|
160
|
+
text: [{ type: core.Input }],
|
|
161
|
+
position: [{ type: core.Input }],
|
|
162
|
+
onMouseEnter: [{ type: core.HostListener, args: ["mouseenter",] }],
|
|
163
|
+
onMouseLeave: [{ type: core.HostListener, args: ["mouseleave",] }]
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
var ToolTipModule = /** @class */ (function () {
|
|
167
|
+
function ToolTipModule() {
|
|
168
|
+
}
|
|
169
|
+
ToolTipModule.forRoot = function () {
|
|
170
|
+
return { ngModule: ToolTipModule, providers: [] };
|
|
171
|
+
};
|
|
172
|
+
return ToolTipModule;
|
|
173
|
+
}());
|
|
174
|
+
ToolTipModule.decorators = [
|
|
175
|
+
{ type: core.NgModule, args: [{
|
|
176
|
+
declarations: [ToolTipDirective, ToolTipComponent],
|
|
177
|
+
imports: [common.CommonModule, overlay.OverlayModule],
|
|
178
|
+
exports: [ToolTipDirective, ToolTipComponent],
|
|
179
|
+
entryComponents: [ToolTipComponent]
|
|
180
|
+
},] }
|
|
181
|
+
];
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Generated bundle index. Do not edit.
|
|
185
|
+
*/
|
|
186
|
+
|
|
187
|
+
exports.ToolTipComponent = ToolTipComponent;
|
|
188
|
+
exports.ToolTipDirective = ToolTipDirective;
|
|
189
|
+
exports.ToolTipModule = ToolTipModule;
|
|
190
|
+
|
|
191
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
192
|
+
|
|
193
|
+
})));
|
|
194
|
+
//# sourceMappingURL=mis-crystal-design-system-tooltip.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-tooltip.umd.js","sources":["../../../projects/mis-components/tooltip/tooltip-container/tooltip.component.ts","../../../projects/mis-components/tooltip/tooltip.directive.ts","../../../projects/mis-components/tooltip/tooltip.module.ts","../../../projects/mis-components/tooltip/mis-crystal-design-system-tooltip.ts"],"sourcesContent":["import { AfterViewInit, Component, ElementRef, Inject, OnInit, ViewChild } from \"@angular/core\";\nimport { ITooltipPositions } from \"../models/tooltip.model\";\n\n@Component({\n selector: \"mis-tooltip\",\n templateUrl: \"./tooltip.component.html\",\n styleUrls: [\"./tooltip.component.scss\"]\n})\nexport class ToolTipComponent implements OnInit, AfterViewInit {\n public toolTipText: string = \"\";\n public toolTipPosition: ITooltipPositions = \"bottom\";\n\n @ViewChild(\"container\") container: ElementRef;\n\n constructor() {}\n ngOnInit() {}\n ngAfterViewInit() {\n if (!this.container?.nativeElement) return;\n if (this.toolTipPosition === \"top\" || this.toolTipPosition === \"bottom\") {\n const eleWidth = this.container.nativeElement.getBoundingClientRect();\n this.container.nativeElement.style.left = eleWidth.width / -2 + \"px\";\n return;\n }\n if (this.toolTipPosition === \"left\") {\n const eleWidth = this.container.nativeElement.getBoundingClientRect();\n this.container.nativeElement.style.left = -eleWidth.width + \"px\";\n }\n }\n}\n","import { AfterViewInit, Directive, ElementRef, HostListener, Input, OnInit, ViewContainerRef } from \"@angular/core\";\nimport { Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { take } from \"rxjs/operators\";\nimport { ComponentPortal } from \"@angular/cdk/portal\";\nimport { ToolTipComponent } from \"./tooltip-container/tooltip.component\";\nimport { genPositionPairs } from \"mis-crystal-design-system/utils\";\nimport { ITooltipPositions } from \"./models/tooltip.model\";\n\n@Directive({\n selector: \"[misToolTip]\"\n})\nexport class ToolTipDirective implements OnInit, AfterViewInit {\n public isToolTipDisplayed: boolean = false;\n public toolTipText: string = \"\";\n public toolTipPosition: ITooltipPositions = \"bottom\";\n private overlayRef: OverlayRef;\n\n @Input() showOnHover: boolean = true;\n @Input() set showToolTip(value: boolean) {\n this.isToolTipDisplayed = value;\n if (value) this.displayToolTip();\n else this.hideToolTip();\n }\n @Input() set text(value: string) {\n this.toolTipText = value;\n }\n @Input() set position(value: ITooltipPositions) {\n this.toolTipPosition = value;\n }\n\n @HostListener(\"mouseenter\") onMouseEnter() {\n if (this.showOnHover) this.displayToolTip();\n }\n @HostListener(\"mouseleave\") onMouseLeave() {\n if (this.showOnHover) this.hideToolTip();\n }\n\n constructor(private element: ElementRef, private overlay: Overlay, private viewContainerRef: ViewContainerRef) {}\n\n ngOnInit() {}\n ngAfterViewInit() {\n if (this.isToolTipDisplayed) this.displayToolTip();\n else this.hideToolTip();\n }\n\n displayToolTip() {\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.element)\n .withPositions(\n genPositionPairs(\n {\n positionX: \"center\",\n positionY: this.toolTipPosition === \"top\" ? \"top\" : \"center\",\n offsetX: this.positionTooltip(\"OFFSET_X\"),\n offsetY: this.positionTooltip(\"OFFSET_Y\")\n },\n false\n )\n )\n .withPush(true);\n const config = new OverlayConfig({\n hasBackdrop: false,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition()\n });\n this.overlayRef = this.overlay.create(config);\n const tempRef = new ComponentPortal(ToolTipComponent, this.viewContainerRef);\n const tooltipRef = this.overlayRef.attach(tempRef);\n tooltipRef.instance.toolTipText = this.toolTipText;\n tooltipRef.instance.toolTipPosition = this.toolTipPosition;\n this.overlayRef\n .backdropClick()\n .pipe(take(1))\n .subscribe(() => {\n this.hideToolTip();\n });\n }\n\n positionTooltip(type: \"OFFSET_X\" | \"OFFSET_Y\") {\n if (type === \"OFFSET_X\") {\n return this.toolTipPosition === \"right\"\n ? this.element.nativeElement.offsetWidth / 2 + 8\n : this.toolTipPosition === \"left\"\n ? (this.element.nativeElement.offsetWidth / 2 + 8) * -1\n : this.toolTipPosition === \"top\" || this.toolTipPosition === \"bottom\"\n ? 0\n : 8;\n }\n if (type !== \"OFFSET_Y\") return;\n return this.toolTipPosition === \"right\" || this.toolTipPosition === \"left\"\n ? -18\n : this.toolTipPosition === \"top\"\n ? -44\n : this.toolTipPosition === \"bottom\"\n ? this.element.nativeElement.offsetHeight / 2 + 8\n : 8;\n }\n\n hideToolTip() {\n this.overlayRef?.detach();\n this.overlayRef?.dispose();\n }\n}\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { ToolTipDirective } from \"./tooltip.directive\";\nimport { ToolTipComponent } from \"./tooltip-container/tooltip.component\";\n\n@NgModule({\n declarations: [ToolTipDirective, ToolTipComponent],\n imports: [CommonModule, OverlayModule],\n exports: [ToolTipDirective, ToolTipComponent],\n entryComponents: [ToolTipComponent]\n})\nexport class ToolTipModule {\n static forRoot(): ModuleWithProviders<ToolTipModule> {\n return { ngModule: ToolTipModule, providers: [] };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["Component","ViewChild","genPositionPairs","OverlayConfig","ComponentPortal","take","Directive","ElementRef","Overlay","ViewContainerRef","Input","HostListener","NgModule","CommonModule","OverlayModule"],"mappings":"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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(t,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("@angular/core"),require("@angular/cdk/overlay"),require("rxjs/operators"),require("@angular/cdk/portal"),require("mis-crystal-design-system/utils"),require("@angular/common")):"function"==typeof define&&define.amd?define("mis-crystal-design-system/tooltip",["exports","@angular/core","@angular/cdk/overlay","rxjs/operators","@angular/cdk/portal","mis-crystal-design-system/utils","@angular/common"],o):o(((t="undefined"!=typeof globalThis?globalThis:t||self)["mis-crystal-design-system"]=t["mis-crystal-design-system"]||{},t["mis-crystal-design-system"].tooltip={}),t.ng.core,t.ng.cdk.overlay,t.rxjs.operators,t.ng.cdk.portal,t["mis-crystal-design-system"].utils,t.ng.common)}(this,(function(t,o,i,e,n,r,s){"use strict";var l=function(){function t(){this.toolTipText="",this.toolTipPosition="bottom"}return t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){var t;if(null===(t=this.container)||void 0===t?void 0:t.nativeElement)if("top"!==this.toolTipPosition&&"bottom"!==this.toolTipPosition){if("left"===this.toolTipPosition){o=this.container.nativeElement.getBoundingClientRect();this.container.nativeElement.style.left=-o.width+"px"}}else{var o=this.container.nativeElement.getBoundingClientRect();this.container.nativeElement.style.left=o.width/-2+"px"}},t}();l.decorators=[{type:o.Component,args:[{selector:"mis-tooltip",template:"<div id=\"tooltip-container\" *ngIf=\"toolTipText.length > 0\" #container>\n <div id=\"tooltip\">\n <div id=\"tooltip-text\">{{ toolTipText }}</div>\n <span\n id=\"arrow\"\n [ngClass]=\"{\n 'arrow-left': toolTipPosition === 'left',\n 'arrow-right': toolTipPosition === 'right',\n 'arrow-top': toolTipPosition === 'top',\n 'arrow-bottom': toolTipPosition === 'bottom'\n }\"\n ></span>\n </div>\n</div>\n",styles:["#tooltip-container{position:absolute;z-index:1}#tooltip{position:relative;display:block;padding:8px 12px;border-radius:8px;color:#fff;background:#181f33;font-family:Lato,sans-serif;font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-align:center;letter-spacing:.2px}#tooltip-text{width:100%;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#arrow{position:absolute;height:12px;width:12px;background:#181f33;z-index:1}.arrow-top{bottom:-6px}.arrow-bottom,.arrow-top{left:50%;transform:translateX(-50%) rotate(-45deg);-webkit-transform:translateX(-50%) rotate(-45deg)}.arrow-bottom{top:-6px}.arrow-left{right:-6px}.arrow-left,.arrow-right{top:50%;transform:translateY(-50%) rotate(-45deg);-webkit-transform:translateY(-50%) rotate(-45deg)}.arrow-right{left:-6px}"]}]}],l.ctorParameters=function(){return[]},l.propDecorators={container:[{type:o.ViewChild,args:["container"]}]};var p=function(){function t(t,o,i){this.element=t,this.overlay=o,this.viewContainerRef=i,this.isToolTipDisplayed=!1,this.toolTipText="",this.toolTipPosition="bottom",this.showOnHover=!0}return Object.defineProperty(t.prototype,"showToolTip",{set:function(t){this.isToolTipDisplayed=t,t?this.displayToolTip():this.hideToolTip()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{set:function(t){this.toolTipText=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"position",{set:function(t){this.toolTipPosition=t},enumerable:!1,configurable:!0}),t.prototype.onMouseEnter=function(){this.showOnHover&&this.displayToolTip()},t.prototype.onMouseLeave=function(){this.showOnHover&&this.hideToolTip()},t.prototype.ngOnInit=function(){},t.prototype.ngAfterViewInit=function(){this.isToolTipDisplayed?this.displayToolTip():this.hideToolTip()},t.prototype.displayToolTip=function(){var t=this,o=this.overlay.position().flexibleConnectedTo(this.element).withPositions(r.genPositionPairs({positionX:"center",positionY:"top"===this.toolTipPosition?"top":"center",offsetX:this.positionTooltip("OFFSET_X"),offsetY:this.positionTooltip("OFFSET_Y")},!1)).withPush(!0),s=new i.OverlayConfig({hasBackdrop:!1,positionStrategy:o,scrollStrategy:this.overlay.scrollStrategies.reposition()});this.overlayRef=this.overlay.create(s);var p=new n.ComponentPortal(l,this.viewContainerRef),a=this.overlayRef.attach(p);a.instance.toolTipText=this.toolTipText,a.instance.toolTipPosition=this.toolTipPosition,this.overlayRef.backdropClick().pipe(e.take(1)).subscribe((function(){t.hideToolTip()}))},t.prototype.positionTooltip=function(t){return"OFFSET_X"===t?"right"===this.toolTipPosition?this.element.nativeElement.offsetWidth/2+8:"left"===this.toolTipPosition?-1*(this.element.nativeElement.offsetWidth/2+8):"top"===this.toolTipPosition||"bottom"===this.toolTipPosition?0:8:"OFFSET_Y"===t?"right"===this.toolTipPosition||"left"===this.toolTipPosition?-18:"top"===this.toolTipPosition?-44:"bottom"===this.toolTipPosition?this.element.nativeElement.offsetHeight/2+8:8:void 0},t.prototype.hideToolTip=function(){var t,o;null===(t=this.overlayRef)||void 0===t||t.detach(),null===(o=this.overlayRef)||void 0===o||o.dispose()},t}();p.decorators=[{type:o.Directive,args:[{selector:"[misToolTip]"}]}],p.ctorParameters=function(){return[{type:o.ElementRef},{type:i.Overlay},{type:o.ViewContainerRef}]},p.propDecorators={showOnHover:[{type:o.Input}],showToolTip:[{type:o.Input}],text:[{type:o.Input}],position:[{type:o.Input}],onMouseEnter:[{type:o.HostListener,args:["mouseenter"]}],onMouseLeave:[{type:o.HostListener,args:["mouseleave"]}]};var a=function(){function t(){}return t.forRoot=function(){return{ngModule:t,providers:[]}},t}();a.decorators=[{type:o.NgModule,args:[{declarations:[p,l],imports:[s.CommonModule,i.OverlayModule],exports:[p,l],entryComponents:[l]}]}],t.ToolTipComponent=l,t.ToolTipDirective=p,t.ToolTipModule=a,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
2
|
+
//# sourceMappingURL=mis-crystal-design-system-tooltip.umd.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../projects/mis-components/tooltip/tooltip-container/tooltip.component.ts","../../../projects/mis-components/tooltip/tooltip.directive.ts","../../../projects/mis-components/tooltip/tooltip.module.ts"],"names":["ToolTipComponent","this","toolTipText","toolTipPosition","prototype","ngOnInit","ngAfterViewInit","_a","container","nativeElement","eleWidth","getBoundingClientRect","style","left","width","Component","args","selector","template","ViewChild","ToolTipDirective","element","overlay","viewContainerRef","isToolTipDisplayed","showOnHover","Object","defineProperty","value","displayToolTip","hideToolTip","onMouseEnter","onMouseLeave","_this","positionStrategy","position","flexibleConnectedTo","withPositions","genPositionPairs","positionX","positionY","offsetX","positionTooltip","offsetY","withPush","config","OverlayConfig","hasBackdrop","scrollStrategy","scrollStrategies","reposition","overlayRef","create","tempRef","ComponentPortal","tooltipRef","attach","instance","backdropClick","pipe","take","subscribe","type","offsetWidth","offsetHeight","detach","_b","dispose","Directive","ElementRef","Overlay","ViewContainerRef","Input","HostListener","ToolTipModule","forRoot","ngModule","providers","NgModule","declarations","imports","CommonModule","OverlayModule","exports","entryComponents"],"mappings":"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","sourcesContent":["import { AfterViewInit, Component, ElementRef, Inject, OnInit, ViewChild } from \"@angular/core\";\nimport { ITooltipPositions } from \"../models/tooltip.model\";\n\n@Component({\n selector: \"mis-tooltip\",\n templateUrl: \"./tooltip.component.html\",\n styleUrls: [\"./tooltip.component.scss\"]\n})\nexport class ToolTipComponent implements OnInit, AfterViewInit {\n public toolTipText: string = \"\";\n public toolTipPosition: ITooltipPositions = \"bottom\";\n\n @ViewChild(\"container\") container: ElementRef;\n\n constructor() {}\n ngOnInit() {}\n ngAfterViewInit() {\n if (!this.container?.nativeElement) return;\n if (this.toolTipPosition === \"top\" || this.toolTipPosition === \"bottom\") {\n const eleWidth = this.container.nativeElement.getBoundingClientRect();\n this.container.nativeElement.style.left = eleWidth.width / -2 + \"px\";\n return;\n }\n if (this.toolTipPosition === \"left\") {\n const eleWidth = this.container.nativeElement.getBoundingClientRect();\n this.container.nativeElement.style.left = -eleWidth.width + \"px\";\n }\n }\n}\n","import { AfterViewInit, Directive, ElementRef, HostListener, Input, OnInit, ViewContainerRef } from \"@angular/core\";\nimport { Overlay, OverlayConfig, OverlayRef } from \"@angular/cdk/overlay\";\nimport { take } from \"rxjs/operators\";\nimport { ComponentPortal } from \"@angular/cdk/portal\";\nimport { ToolTipComponent } from \"./tooltip-container/tooltip.component\";\nimport { genPositionPairs } from \"mis-crystal-design-system/utils\";\nimport { ITooltipPositions } from \"./models/tooltip.model\";\n\n@Directive({\n selector: \"[misToolTip]\"\n})\nexport class ToolTipDirective implements OnInit, AfterViewInit {\n public isToolTipDisplayed: boolean = false;\n public toolTipText: string = \"\";\n public toolTipPosition: ITooltipPositions = \"bottom\";\n private overlayRef: OverlayRef;\n\n @Input() showOnHover: boolean = true;\n @Input() set showToolTip(value: boolean) {\n this.isToolTipDisplayed = value;\n if (value) this.displayToolTip();\n else this.hideToolTip();\n }\n @Input() set text(value: string) {\n this.toolTipText = value;\n }\n @Input() set position(value: ITooltipPositions) {\n this.toolTipPosition = value;\n }\n\n @HostListener(\"mouseenter\") onMouseEnter() {\n if (this.showOnHover) this.displayToolTip();\n }\n @HostListener(\"mouseleave\") onMouseLeave() {\n if (this.showOnHover) this.hideToolTip();\n }\n\n constructor(private element: ElementRef, private overlay: Overlay, private viewContainerRef: ViewContainerRef) {}\n\n ngOnInit() {}\n ngAfterViewInit() {\n if (this.isToolTipDisplayed) this.displayToolTip();\n else this.hideToolTip();\n }\n\n displayToolTip() {\n const positionStrategy = this.overlay\n .position()\n .flexibleConnectedTo(this.element)\n .withPositions(\n genPositionPairs(\n {\n positionX: \"center\",\n positionY: this.toolTipPosition === \"top\" ? \"top\" : \"center\",\n offsetX: this.positionTooltip(\"OFFSET_X\"),\n offsetY: this.positionTooltip(\"OFFSET_Y\")\n },\n false\n )\n )\n .withPush(true);\n const config = new OverlayConfig({\n hasBackdrop: false,\n positionStrategy,\n scrollStrategy: this.overlay.scrollStrategies.reposition()\n });\n this.overlayRef = this.overlay.create(config);\n const tempRef = new ComponentPortal(ToolTipComponent, this.viewContainerRef);\n const tooltipRef = this.overlayRef.attach(tempRef);\n tooltipRef.instance.toolTipText = this.toolTipText;\n tooltipRef.instance.toolTipPosition = this.toolTipPosition;\n this.overlayRef\n .backdropClick()\n .pipe(take(1))\n .subscribe(() => {\n this.hideToolTip();\n });\n }\n\n positionTooltip(type: \"OFFSET_X\" | \"OFFSET_Y\") {\n if (type === \"OFFSET_X\") {\n return this.toolTipPosition === \"right\"\n ? this.element.nativeElement.offsetWidth / 2 + 8\n : this.toolTipPosition === \"left\"\n ? (this.element.nativeElement.offsetWidth / 2 + 8) * -1\n : this.toolTipPosition === \"top\" || this.toolTipPosition === \"bottom\"\n ? 0\n : 8;\n }\n if (type !== \"OFFSET_Y\") return;\n return this.toolTipPosition === \"right\" || this.toolTipPosition === \"left\"\n ? -18\n : this.toolTipPosition === \"top\"\n ? -44\n : this.toolTipPosition === \"bottom\"\n ? this.element.nativeElement.offsetHeight / 2 + 8\n : 8;\n }\n\n hideToolTip() {\n this.overlayRef?.detach();\n this.overlayRef?.dispose();\n }\n}\n","import { NgModule, ModuleWithProviders } from \"@angular/core\";\nimport { CommonModule } from \"@angular/common\";\nimport { OverlayModule } from \"@angular/cdk/overlay\";\nimport { ToolTipDirective } from \"./tooltip.directive\";\nimport { ToolTipComponent } from \"./tooltip-container/tooltip.component\";\n\n@NgModule({\n declarations: [ToolTipDirective, ToolTipComponent],\n imports: [CommonModule, OverlayModule],\n exports: [ToolTipDirective, ToolTipComponent],\n entryComponents: [ToolTipComponent]\n})\nexport class ToolTipModule {\n static forRoot(): ModuleWithProviders<ToolTipModule> {\n return { ngModule: ToolTipModule, providers: [] };\n }\n}\n"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
(function (global, factory) {
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/cdk/overlay')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('mis-crystal-design-system/utils', ['exports', '@angular/cdk/overlay'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['mis-crystal-design-system'] = global['mis-crystal-design-system'] || {}, global['mis-crystal-design-system'].utils = {}), global.ng.cdk.overlay));
|
|
5
|
+
}(this, (function (exports, overlay) { 'use strict';
|
|
6
|
+
|
|
7
|
+
var genPositionPairs = function (_a, isResponsive) {
|
|
8
|
+
var positionX = _a.positionX, positionY = _a.positionY, _b = _a.offsetX, offsetX = _b === void 0 ? 0 : _b, _c = _a.offsetY, offsetY = _c === void 0 ? 0 : _c;
|
|
9
|
+
var positions = [
|
|
10
|
+
new overlay.ConnectionPositionPair({ originX: positionX, originY: positionY }, {
|
|
11
|
+
overlayX: positionX,
|
|
12
|
+
overlayY: positionY
|
|
13
|
+
}, offsetX, offsetY),
|
|
14
|
+
new overlay.ConnectionPositionPair({ originX: "center", originY: "bottom" }, { overlayX: "center", overlayY: "top" }, offsetX, offsetY),
|
|
15
|
+
new overlay.ConnectionPositionPair({ originX: "center", originY: "top" }, { overlayX: "center", overlayY: "bottom" }, offsetX, offsetY),
|
|
16
|
+
new overlay.ConnectionPositionPair({ originX: "start", originY: "bottom" }, { overlayX: "start", overlayY: "top" }, offsetX, offsetY),
|
|
17
|
+
new overlay.ConnectionPositionPair({ originX: "start", originY: "top" }, { overlayX: "start", overlayY: "bottom" }, offsetX, offsetY),
|
|
18
|
+
new overlay.ConnectionPositionPair({ originX: "end", originY: "bottom" }, { overlayX: "end", overlayY: "top" }, offsetX, offsetY),
|
|
19
|
+
new overlay.ConnectionPositionPair({ originX: "end", originY: "top" }, { overlayX: "end", overlayY: "bottom" }, offsetX, offsetY)
|
|
20
|
+
];
|
|
21
|
+
return isResponsive ? positions : positions.slice(0, 1);
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Generated bundle index. Do not edit.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
exports.genPositionPairs = genPositionPairs;
|
|
29
|
+
|
|
30
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
31
|
+
|
|
32
|
+
})));
|
|
33
|
+
//# sourceMappingURL=mis-crystal-design-system-utils.umd.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mis-crystal-design-system-utils.umd.js","sources":["../../../projects/mis-components/utils/index.ts","../../../projects/mis-components/utils/mis-crystal-design-system-utils.ts"],"sourcesContent":["import { ConnectionPositionPair } from \"@angular/cdk/overlay\";\n\nexport const genPositionPairs = ({ positionX, positionY, offsetX = 0, offsetY = 0 }, isResponsive: boolean): ConnectionPositionPair[] => {\n const positions = [\n new ConnectionPositionPair(\n { originX: positionX, originY: positionY },\n {\n overlayX: positionX,\n overlayY: positionY\n },\n offsetX,\n offsetY\n ),\n new ConnectionPositionPair({ originX: \"center\", originY: \"bottom\" }, { overlayX: \"center\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"center\", originY: \"top\" }, { overlayX: \"center\", overlayY: \"bottom\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"start\", originY: \"bottom\" }, { overlayX: \"start\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"start\", originY: \"top\" }, { overlayX: \"start\", overlayY: \"bottom\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"bottom\" }, { overlayX: \"end\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"top\" }, { overlayX: \"end\", overlayY: \"bottom\" }, offsetX, offsetY)\n ];\n return isResponsive ? positions : positions.slice(0, 1);\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["ConnectionPositionPair"],"mappings":";;;;;;QAEa,gBAAgB,GAAG,UAAC,EAAkD,EAAE,YAAqB;YAAvE,SAAS,eAAA,EAAE,SAAS,eAAA,EAAE,eAAW,EAAX,OAAO,mBAAG,CAAC,KAAA,EAAE,eAAW,EAAX,OAAO,mBAAG,CAAC,KAAA;QAC/E,IAAM,SAAS,GAAG;YAChB,IAAIA,8BAAsB,CACxB,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,EAC1C;gBACE,QAAQ,EAAE,SAAS;gBACnB,QAAQ,EAAE,SAAS;aACpB,EACD,OAAO,EACP,OAAO,CACR;YACD,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC;YAC/H,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC;YAC/H,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC;YAC7H,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC;YAC7H,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC;YACzH,IAAIA,8BAAsB,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC;SAC1H,CAAC;QACF,OAAO,YAAY,GAAG,SAAS,GAAG,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC1D;;ICrBA;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(o,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@angular/cdk/overlay")):"function"==typeof define&&define.amd?define("mis-crystal-design-system/utils",["exports","@angular/cdk/overlay"],i):i(((o="undefined"!=typeof globalThis?globalThis:o||self)["mis-crystal-design-system"]=o["mis-crystal-design-system"]||{},o["mis-crystal-design-system"].utils={}),o.ng.cdk.overlay)}(this,(function(o,i){"use strict";o.genPositionPairs=function(o,e){var n=o.positionX,t=o.positionY,r=o.offsetX,s=void 0===r?0:r,a=o.offsetY,l=void 0===a?0:a,y=[new i.ConnectionPositionPair({originX:n,originY:t},{overlayX:n,overlayY:t},s,l),new i.ConnectionPositionPair({originX:"center",originY:"bottom"},{overlayX:"center",overlayY:"top"},s,l),new i.ConnectionPositionPair({originX:"center",originY:"top"},{overlayX:"center",overlayY:"bottom"},s,l),new i.ConnectionPositionPair({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"},s,l),new i.ConnectionPositionPair({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"},s,l),new i.ConnectionPositionPair({originX:"end",originY:"bottom"},{overlayX:"end",overlayY:"top"},s,l),new i.ConnectionPositionPair({originX:"end",originY:"top"},{overlayX:"end",overlayY:"bottom"},s,l)];return e?y:y.slice(0,1)},Object.defineProperty(o,"__esModule",{value:!0})}));
|
|
2
|
+
//# sourceMappingURL=mis-crystal-design-system-utils.umd.min.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../projects/mis-components/utils/index.ts"],"names":["_a","isResponsive","positionX","positionY","_b","offsetX","_c","offsetY","positions","ConnectionPositionPair","originX","originY","overlayX","overlayY","slice"],"mappings":"6cAEgC,SAACA,EAAoDC,OAAlDC,EAASF,EAAAE,UAAEC,EAASH,EAAAG,UAAEC,EAAAJ,EAAAK,QAAAA,OAAO,IAAAD,EAAG,EAACA,EAAEE,EAAAN,EAAAO,QAAAA,OAAO,IAAAD,EAAG,EAACA,EACzEE,EAAY,CAChB,IAAIC,EAAAA,uBACF,CAAEC,QAASR,EAAWS,QAASR,GAC/B,CACES,SAAUV,EACVW,SAAUV,GAEZE,EACAE,GAEF,IAAIE,EAAAA,uBAAuB,CAAEC,QAAS,SAAUC,QAAS,UAAY,CAAEC,SAAU,SAAUC,SAAU,OAASR,EAASE,GACvH,IAAIE,EAAAA,uBAAuB,CAAEC,QAAS,SAAUC,QAAS,OAAS,CAAEC,SAAU,SAAUC,SAAU,UAAYR,EAASE,GACvH,IAAIE,EAAAA,uBAAuB,CAAEC,QAAS,QAASC,QAAS,UAAY,CAAEC,SAAU,QAASC,SAAU,OAASR,EAASE,GACrH,IAAIE,EAAAA,uBAAuB,CAAEC,QAAS,QAASC,QAAS,OAAS,CAAEC,SAAU,QAASC,SAAU,UAAYR,EAASE,GACrH,IAAIE,EAAAA,uBAAuB,CAAEC,QAAS,MAAOC,QAAS,UAAY,CAAEC,SAAU,MAAOC,SAAU,OAASR,EAASE,GACjH,IAAIE,EAAAA,uBAAuB,CAAEC,QAAS,MAAOC,QAAS,OAAS,CAAEC,SAAU,MAAOC,SAAU,UAAYR,EAASE,IAEnH,OAAON,EAAeO,EAAYA,EAAUM,MAAM,EAAG","sourcesContent":["import { ConnectionPositionPair } from \"@angular/cdk/overlay\";\n\nexport const genPositionPairs = ({ positionX, positionY, offsetX = 0, offsetY = 0 }, isResponsive: boolean): ConnectionPositionPair[] => {\n const positions = [\n new ConnectionPositionPair(\n { originX: positionX, originY: positionY },\n {\n overlayX: positionX,\n overlayY: positionY\n },\n offsetX,\n offsetY\n ),\n new ConnectionPositionPair({ originX: \"center\", originY: \"bottom\" }, { overlayX: \"center\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"center\", originY: \"top\" }, { overlayX: \"center\", overlayY: \"bottom\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"start\", originY: \"bottom\" }, { overlayX: \"start\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"start\", originY: \"top\" }, { overlayX: \"start\", overlayY: \"bottom\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"bottom\" }, { overlayX: \"end\", overlayY: \"top\" }, offsetX, offsetY),\n new ConnectionPositionPair({ originX: \"end\", originY: \"top\" }, { overlayX: \"end\", overlayY: \"bottom\" }, offsetX, offsetY)\n ];\n return isResponsive ? positions : positions.slice(0, 1);\n};\n"]}
|