mis-crystal-design-system 18.0.3 → 18.0.5
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 +1 -1
- package/analytics/analytics.service.d.ts +1 -1
- package/async-search-dropdown/async-dropdown.component.d.ts +2 -2
- package/button/button.component.d.ts +1 -1
- package/button/button.directive.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/chip/chip.component.d.ts +1 -1
- package/datepicker_v2/models/dp-config.model.d.ts +1 -1
- package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
- package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
- package/daterangepicker_v2/models/drp-config.model.d.ts +3 -1
- package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +2 -1
- package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +3 -1
- package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
- package/dropdown/calculate-container-height.directive.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/esm2020/action-list/action-list.component.mjs +370 -0
- package/{esm2022 → esm2020}/action-list/action-list.module.mjs +5 -5
- package/{esm2022 → esm2020}/analytics/analytics.module.mjs +5 -5
- package/esm2020/analytics/analytics.service.mjs +64 -0
- package/esm2020/async-search-dropdown/async-dropdown.component.mjs +525 -0
- package/{esm2022 → esm2020}/async-search-dropdown/async-dropdown.module.mjs +5 -5
- package/esm2020/button/button.component.mjs +87 -0
- package/esm2020/button/button.directive.mjs +61 -0
- package/{esm2022 → esm2020}/button/button.module.mjs +5 -5
- package/esm2020/checkbox/checkbox.component.mjs +124 -0
- package/{esm2022 → esm2020}/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/chip/chip.component.mjs +82 -0
- package/{esm2022 → esm2020}/chip/chip.module.mjs +5 -5
- package/{esm2022 → esm2020}/datepicker_v2/datepicker.module.mjs +5 -5
- package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +183 -0
- package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +449 -0
- package/esm2020/datepicker_v2/utils/index.mjs +45 -0
- package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
- package/esm2020/daterangepicker_v2/models/drp-config.model.mjs +2 -0
- package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
- package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +502 -0
- package/{esm2022/datepicker_v2 → esm2020/daterangepicker_v2}/utils/index.mjs +1 -1
- package/esm2020/drawer/drawer-body/drawer-body.component.mjs +58 -0
- package/{esm2022 → esm2020}/drawer/drawer-ref.mjs +4 -4
- package/{esm2022 → esm2020}/drawer/drawer.module.mjs +5 -5
- package/{esm2022 → esm2020}/drawer/drawer.service.mjs +5 -5
- package/esm2020/dropdown/calculate-container-height.directive.mjs +41 -0
- package/esm2020/dropdown/dropdown.component.mjs +472 -0
- package/{esm2022 → esm2020}/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/dynamic-form/dynamic-form.component.mjs +1108 -0
- package/{esm2022 → esm2020}/dynamic-form/dynamic-form.module.mjs +13 -13
- package/esm2020/fab/fab.component.mjs +144 -0
- package/{esm2022 → esm2020}/fab/fab.module.mjs +5 -5
- package/esm2020/filter/filter-panel/filter-panel.component.mjs +403 -0
- package/{esm2022 → esm2020}/filter/filters.module.mjs +17 -17
- package/esm2020/filter/has-value.pipe.mjs +31 -0
- package/{esm2022 → esm2020}/input/directives/input/input.directive.mjs +6 -6
- package/esm2020/input/mis-input.component.mjs +84 -0
- package/{esm2022 → esm2020}/input/mis-input.module.mjs +5 -5
- package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +88 -0
- package/{esm2022 → esm2020}/input-stepper/input-stepper.module.mjs +5 -5
- package/esm2020/loader/loader.component.mjs +24 -0
- package/{esm2022 → esm2020}/loader/loader.module.mjs +5 -5
- package/esm2020/menu/menu-close.directive.mjs +25 -0
- package/{esm2022 → esm2020}/menu/menu.directive.mjs +7 -7
- package/{esm2022 → esm2020}/menu/menu.module.mjs +5 -5
- package/esm2020/mobile-filter/mobile-filter.component.mjs +181 -0
- package/{esm2022 → esm2020}/mobile-filter/mobile-filter.module.mjs +5 -5
- package/{esm2022 → esm2020}/modal/modal.module.mjs +5 -5
- package/esm2020/modal/modal.service.mjs +70 -0
- package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +55 -0
- package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +491 -0
- package/{esm2022 → esm2020}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
- package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +517 -0
- package/{esm2022 → esm2020}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
- package/esm2020/phone-input/phone-input.component.mjs +71 -0
- package/{esm2022 → esm2020}/phone-input/phone-input.module.mjs +5 -5
- package/esm2020/radio-button/radio-button.component.mjs +56 -0
- package/{esm2022 → esm2020}/radio-button/radio-button.module.mjs +5 -5
- package/esm2020/ske-loader/ske-loader.component.mjs +53 -0
- package/{esm2022 → esm2020}/ske-loader/ske-loader.module.mjs +5 -5
- package/esm2020/slider/slider.component.mjs +45 -0
- package/{esm2022 → esm2020}/slider/slider.module.mjs +7 -7
- package/esm2020/snackbar/snackbar/snackbar.component.mjs +72 -0
- package/{esm2022 → esm2020}/snackbar/snackbar.module.mjs +5 -5
- package/esm2020/snackbar/snackbar.service.mjs +47 -0
- package/{esm2022 → esm2020}/specificdatepicker/specificdatepicker.module.mjs +5 -5
- package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
- package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
- package/esm2020/specificdatepicker/utils/index.mjs +45 -0
- package/esm2020/star-rating/star-rating.component.mjs +112 -0
- package/{esm2022 → esm2020}/star-rating/star-rating.module.mjs +5 -5
- package/esm2020/switch/switch.component.mjs +55 -0
- package/{esm2022 → esm2020}/switch/switch.module.mjs +5 -5
- package/esm2020/table/custom-table-cell.directive.mjs +42 -0
- package/esm2020/table/filter/filter.component.mjs +176 -0
- package/esm2020/table/sub-table/sub-table.component.mjs +193 -0
- package/esm2020/table/table.component.mjs +492 -0
- package/{esm2022 → esm2020}/table/table.module.mjs +5 -5
- package/esm2020/timepicker/timepicker.component.mjs +370 -0
- package/esm2020/timepicker/timepicker.directive.mjs +69 -0
- package/{esm2022 → esm2020}/timepicker/timepicker.module.mjs +5 -5
- package/esm2020/timerangepicker/timerangepicker.component.mjs +236 -0
- package/{esm2022 → esm2020}/timerangepicker/timerangepicker.module.mjs +5 -5
- package/esm2020/toast/toast.component.mjs +50 -0
- package/{esm2022 → esm2020}/toast/toast.data.service.mjs +8 -8
- package/{esm2022 → esm2020}/toast/toast.module.mjs +5 -5
- package/esm2020/toast/toast.service.mjs +91 -0
- package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +79 -0
- package/esm2020/tooltip/tooltip.directive.mjs +143 -0
- package/{esm2022 → esm2020}/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/virtual-scroll/virtual-scroll.component.mjs +190 -0
- package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.module.mjs +7 -7
- package/esm2020/widgets/classes/async-widget.mjs +23 -0
- package/{esm2022 → esm2020}/widgets/classes/base-widget.mjs +1 -1
- package/esm2020/widgets/classes/sync-widget.mjs +20 -0
- package/{esm2022 → esm2020}/widgets/services/widget.service.mjs +5 -5
- package/{esm2022 → esm2020}/widgets/widgets.module.mjs +5 -5
- package/fab/fab.component.d.ts +4 -4
- package/fesm2015/mis-crystal-design-system-action-list.mjs +446 -0
- package/fesm2015/mis-crystal-design-system-action-list.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-analytics.mjs +87 -0
- package/fesm2015/mis-crystal-design-system-analytics.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +618 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-button.mjs +189 -0
- package/fesm2015/mis-crystal-design-system-button.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-checkbox.mjs +166 -0
- package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-chip.mjs +123 -0
- package/fesm2015/mis-crystal-design-system-chip.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +751 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +769 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-drawer.mjs +185 -0
- package/fesm2015/mis-crystal-design-system-drawer.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-dropdown.mjs +616 -0
- package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +1337 -0
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-fab.mjs +186 -0
- package/fesm2015/mis-crystal-design-system-fab.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-filter.mjs +559 -0
- package/fesm2015/mis-crystal-design-system-filter.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-input-stepper.mjs +124 -0
- package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-input.mjs +165 -0
- package/fesm2015/mis-crystal-design-system-input.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-loader.mjs +57 -0
- package/fesm2015/mis-crystal-design-system-loader.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-menu.mjs +135 -0
- package/fesm2015/mis-crystal-design-system-menu.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +227 -0
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-modal.mjs +184 -0
- package/fesm2015/mis-crystal-design-system-modal.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +550 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +559 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-phone-input.mjs +107 -0
- package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-radio-button.mjs +89 -0
- package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs +86 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-slider.mjs +88 -0
- package/fesm2015/mis-crystal-design-system-slider.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-snackbar.mjs +175 -0
- package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +970 -0
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-star-rating.mjs +145 -0
- package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-switch.mjs +88 -0
- package/fesm2015/mis-crystal-design-system-switch.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-table.mjs +1045 -0
- package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs +484 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +273 -0
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-toast.mjs +214 -0
- package/fesm2015/mis-crystal-design-system-toast.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-tooltip.mjs +272 -0
- package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +259 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-widgets.mjs +131 -0
- package/fesm2015/mis-crystal-design-system-widgets.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-action-list.mjs +113 -106
- package/fesm2020/mis-crystal-design-system-action-list.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs +9 -9
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-async-search-dropdown.mjs +144 -138
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-button.mjs +172 -0
- package/fesm2020/mis-crystal-design-system-button.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-checkbox.mjs +150 -0
- package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-chip.mjs +108 -0
- package/fesm2020/mis-crystal-design-system-chip.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-datepicker_v2.mjs +140 -133
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +736 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs +33 -34
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-dropdown.mjs +184 -176
- package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-dynamic-form.mjs +456 -441
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-fab.mjs +47 -48
- package/fesm2020/mis-crystal-design-system-fab.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-filter.mjs +140 -133
- package/fesm2020/mis-crystal-design-system-filter.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs +34 -35
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
- package/{esm2022/input/mis-input.component.mjs → fesm2020/mis-crystal-design-system-input.mjs} +109 -49
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-loader.mjs +50 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-loader.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs +16 -16
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +206 -0
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs +33 -34
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-multi-select-dropdown.mjs +109 -107
- package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +129 -128
- package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs +21 -22
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-radio-button.mjs +82 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs +76 -0
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-slider.mjs +79 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-slider.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-snackbar.mjs +32 -32
- package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
- package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-star-rating.mjs +28 -29
- package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-styles.mjs +4 -0
- package/fesm2020/mis-crystal-design-system-styles.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-switch.mjs +81 -0
- package/fesm2020/mis-crystal-design-system-switch.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-table.mjs +321 -314
- package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs +74 -78
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs +25 -26
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs +34 -35
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs +47 -47
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-utils.mjs +24 -0
- package/fesm2020/mis-crystal-design-system-utils.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-virtual-scroll.mjs +52 -50
- package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs +4 -4
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system.mjs +24 -0
- package/fesm2020/mis-crystal-design-system.mjs.map +1 -0
- package/filter/filter-panel/filter-panel.component.d.ts +4 -3
- package/input/directives/input/input.directive.d.ts +1 -1
- package/input/mis-input.component.d.ts +1 -1
- package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
- package/loader/loader.component.d.ts +1 -1
- package/menu/menu-close.directive.d.ts +1 -1
- package/menu/menu.directive.d.ts +1 -1
- package/mobile-filter/mobile-filter.component.d.ts +1 -1
- package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
- package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
- package/package.json +230 -148
- package/phone-input/phone-input.component.d.ts +1 -1
- package/radio-button/radio-button.component.d.ts +1 -1
- package/ske-loader/ske-loader.component.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/snackbar/snackbar/snackbar.component.d.ts +1 -1
- package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
- package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
- package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
- package/star-rating/star-rating.component.d.ts +1 -1
- package/switch/switch.component.d.ts +1 -1
- package/table/custom-table-cell.directive.d.ts +1 -1
- package/table/filter/filter.component.d.ts +1 -1
- package/table/sub-table/sub-table.component.d.ts +1 -1
- package/table/table.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +1 -1
- package/timerangepicker/timerange.namespace.d.ts +1 -1
- package/timerangepicker/timerangepicker.component.d.ts +1 -1
- package/toast/toast.component.d.ts +1 -1
- package/toast/toast.service.d.ts +1 -1
- package/tooltip/models/tooltip.model.d.ts +1 -1
- package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
- package/widgets/interfaces/widgets.model.d.ts +1 -1
- package/esm2022/action-list/action-list.component.mjs +0 -363
- package/esm2022/analytics/analytics.service.mjs +0 -64
- package/esm2022/async-search-dropdown/async-dropdown.component.mjs +0 -519
- package/esm2022/button/button.component.mjs +0 -88
- package/esm2022/button/button.directive.mjs +0 -61
- package/esm2022/checkbox/checkbox.component.mjs +0 -124
- package/esm2022/chip/chip.component.mjs +0 -82
- package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +0 -183
- package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -442
- package/esm2022/daterangepicker_v2/models/drp-config.model.mjs +0 -2
- package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -156
- package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -473
- package/esm2022/daterangepicker_v2/utils/index.mjs +0 -45
- package/esm2022/drawer/drawer-body/drawer-body.component.mjs +0 -59
- package/esm2022/dropdown/calculate-container-height.directive.mjs +0 -41
- package/esm2022/dropdown/dropdown.component.mjs +0 -464
- package/esm2022/dynamic-form/dynamic-form.component.mjs +0 -1093
- package/esm2022/fab/fab.component.mjs +0 -145
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +0 -396
- package/esm2022/filter/has-value.pipe.mjs +0 -31
- package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +0 -89
- package/esm2022/loader/loader.component.mjs +0 -25
- package/esm2022/menu/menu-close.directive.mjs +0 -25
- package/esm2022/mobile-filter/mobile-filter.component.mjs +0 -180
- package/esm2022/modal/modal.service.mjs +0 -70
- package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +0 -56
- package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -489
- package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -516
- package/esm2022/phone-input/phone-input.component.mjs +0 -72
- package/esm2022/radio-button/radio-button.component.mjs +0 -57
- package/esm2022/ske-loader/ske-loader.component.mjs +0 -54
- package/esm2022/slider/slider.component.mjs +0 -46
- package/esm2022/snackbar/snackbar/snackbar.component.mjs +0 -72
- package/esm2022/snackbar/snackbar.service.mjs +0 -47
- package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
- package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
- package/esm2022/specificdatepicker/utils/index.mjs +0 -45
- package/esm2022/star-rating/star-rating.component.mjs +0 -113
- package/esm2022/switch/switch.component.mjs +0 -56
- package/esm2022/table/custom-table-cell.directive.mjs +0 -42
- package/esm2022/table/filter/filter.component.mjs +0 -177
- package/esm2022/table/sub-table/sub-table.component.mjs +0 -192
- package/esm2022/table/table.component.mjs +0 -485
- package/esm2022/timepicker/timepicker.component.mjs +0 -374
- package/esm2022/timepicker/timepicker.directive.mjs +0 -69
- package/esm2022/timerangepicker/timerangepicker.component.mjs +0 -237
- package/esm2022/toast/toast.component.mjs +0 -51
- package/esm2022/toast/toast.service.mjs +0 -91
- package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +0 -79
- package/esm2022/tooltip/tooltip.directive.mjs +0 -143
- package/esm2022/virtual-scroll/virtual-scroll.component.mjs +0 -188
- package/esm2022/widgets/classes/async-widget.mjs +0 -23
- package/esm2022/widgets/classes/sync-widget.mjs +0 -20
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-button.mjs +0 -173
- package/fesm2022/mis-crystal-design-system-button.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-checkbox.mjs +0 -150
- package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-chip.mjs +0 -108
- package/fesm2022/mis-crystal-design-system-chip.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +0 -698
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-input.mjs +0 -146
- package/fesm2022/mis-crystal-design-system-loader.mjs +0 -51
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +0 -205
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-radio-button.mjs +0 -83
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs +0 -77
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-slider.mjs +0 -80
- package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-switch.mjs +0 -82
- package/fesm2022/mis-crystal-design-system-switch.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-table.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
- /package/{esm2022 → esm2020}/action-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
- /package/{esm2022 → esm2020}/action-list/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/index.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/button/mis-crystal-design-system-button.mjs +0 -0
- /package/{esm2022 → esm2020}/button/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/index.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/mis-crystal-design-system-chip.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/datepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/index.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/models/dp-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/index.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/drawer-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/dynamic-form.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/index.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/mis-crystal-design-system-fab.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/animations/slideFromRight.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/index.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/mis-crystal-design-system-filter.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/mis-crystal-design-system-input.mjs +0 -0
- /package/{esm2022 → esm2020}/input/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/index.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/mis-crystal-design-system-loader.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/index.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/mis-crystal-design-system-menu.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/mis-crystal-design-system.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/index.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/index.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/mis-crystal-design-system-modal.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/modal-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/modal-ref.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/index.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/index.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/mis-crystal-design-system-slider.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/index.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/daterangepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/models/sdp-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/index.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/index.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/mis-crystal-design-system-styles.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/index.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/mis-crystal-design-system-switch.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/table/index.mjs +0 -0
- /package/{esm2022 → esm2020}/table/mis-crystal-design-system-table.mjs +0 -0
- /package/{esm2022 → esm2020}/table/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/time.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/timerange.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/index.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/mis-crystal-design-system-toast.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/models/tooltip.model.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/mis-crystal-design-system-utils.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/index.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/classes/widget-group.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/index.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/interfaces/widgets.model.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/public_api.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs.map +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs.map +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs.map +0 -0
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
const _c0 = (a0, a1, a2, a3, a4, a5, a6, a7) => ({ solid: a0, outline: a1, text: a2, large: a3, medium: a4, small: a5, "large-mobile": a6, "small-mobile": a7 });
|
|
5
|
-
const _c1 = (a0, a1, a2, a3, a4) => ({ "border-top-left-radius": a0, "border-bottom-left-radius": a1, "border-top-right-radius": a2, "border-bottom-right-radius": a3, width: a4 });
|
|
6
|
-
function ButtonComponent_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
7
|
-
i0.ɵɵelementStart(0, "span", 3);
|
|
8
|
-
i0.ɵɵelement(1, "img", 4);
|
|
9
|
-
i0.ɵɵelementEnd();
|
|
10
|
-
} if (rf & 2) {
|
|
11
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
12
|
-
i0.ɵɵadvance();
|
|
13
|
-
i0.ɵɵproperty("src", ctx_r0.iconUrl, i0.ɵɵsanitizeUrl);
|
|
14
|
-
} }
|
|
15
|
-
function ButtonComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
-
i0.ɵɵelementStart(0, "span", 5);
|
|
17
|
-
i0.ɵɵelement(1, "img", 4);
|
|
18
|
-
i0.ɵɵelementEnd();
|
|
19
|
-
} if (rf & 2) {
|
|
20
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
21
|
-
i0.ɵɵadvance();
|
|
22
|
-
i0.ɵɵproperty("src", ctx_r0.iconUrl, i0.ɵɵsanitizeUrl);
|
|
23
|
-
} }
|
|
24
|
-
export class ButtonComponent {
|
|
25
|
-
constructor() {
|
|
26
|
-
this.name = "Enabled";
|
|
27
|
-
this.type = "Solid";
|
|
28
|
-
this.size = "Medium";
|
|
29
|
-
this.width = "";
|
|
30
|
-
this.showIcon = false;
|
|
31
|
-
this.iconUrl = "";
|
|
32
|
-
this.iconPosition = "Left";
|
|
33
|
-
this.disabled = false;
|
|
34
|
-
this.disableLeftBorderRadius = false;
|
|
35
|
-
this.disableRightBorderRadius = false;
|
|
36
|
-
/** Emits event when button is clicked */
|
|
37
|
-
this.click = new EventEmitter();
|
|
38
|
-
}
|
|
39
|
-
ngOnInit() { }
|
|
40
|
-
onClick(event) {
|
|
41
|
-
this.click.emit(event);
|
|
42
|
-
}
|
|
43
|
-
static { this.ɵfac = function ButtonComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ButtonComponent)(); }; }
|
|
44
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ButtonComponent, selectors: [["mis-button"]], inputs: { name: "name", type: "type", size: "size", width: "width", showIcon: "showIcon", iconUrl: "iconUrl", iconPosition: "iconPosition", disabled: "disabled", disableLeftBorderRadius: "disableLeftBorderRadius", disableRightBorderRadius: "disableRightBorderRadius" }, outputs: { click: "click" }, decls: 4, vars: 21, consts: [[3, "click", "disabled", "ngClass", "ngStyle"], ["id", "left-icon", 4, "ngIf"], ["id", "right-icon", 4, "ngIf"], ["id", "left-icon"], ["alt", "", 3, "src"], ["id", "right-icon"]], template: function ButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
45
|
-
i0.ɵɵelementStart(0, "button", 0);
|
|
46
|
-
i0.ɵɵlistener("click", function ButtonComponent_Template_button_click_0_listener($event) { return ctx.onClick($event); });
|
|
47
|
-
i0.ɵɵtemplate(1, ButtonComponent_span_1_Template, 2, 1, "span", 1);
|
|
48
|
-
i0.ɵɵtext(2);
|
|
49
|
-
i0.ɵɵtemplate(3, ButtonComponent_span_3_Template, 2, 1, "span", 2);
|
|
50
|
-
i0.ɵɵelementEnd();
|
|
51
|
-
} if (rf & 2) {
|
|
52
|
-
i0.ɵɵproperty("disabled", ctx.disabled)("ngClass", i0.ɵɵpureFunction8(6, _c0, ctx.type === "Solid", ctx.type === "Outline", ctx.type === "Text", ctx.size === "Large", ctx.size === "Medium", ctx.size === "Small", ctx.size === "Large-M", ctx.size === "Small-M"))("ngStyle", i0.ɵɵpureFunction5(15, _c1, ctx.disableLeftBorderRadius ? "0px" : "", ctx.disableLeftBorderRadius ? "0px" : "", ctx.disableRightBorderRadius ? "0px" : "", ctx.disableRightBorderRadius ? "0px" : "", ctx.width));
|
|
53
|
-
i0.ɵɵadvance();
|
|
54
|
-
i0.ɵɵproperty("ngIf", ctx.showIcon && ctx.iconPosition === "Left");
|
|
55
|
-
i0.ɵɵadvance();
|
|
56
|
-
i0.ɵɵtextInterpolate1(" ", ctx.name, " ");
|
|
57
|
-
i0.ɵɵadvance();
|
|
58
|
-
i0.ɵɵproperty("ngIf", ctx.showIcon && ctx.iconPosition === "Right");
|
|
59
|
-
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle], styles: ["button[_ngcontent-%COMP%]{font-family:Lato,sans-serif!important;border:none;padding:0;margin:0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#181f33;background-color:#fff}.solid[_ngcontent-%COMP%]{color:#fff;background:#0937b2}.solid[_ngcontent-%COMP%]:hover:enabled{background:#062a99}.solid[_ngcontent-%COMP%]:active:enabled{background:#041f80}.solid[_ngcontent-%COMP%]:disabled{color:#929dab;background:#f5f5f5}.outline[_ngcontent-%COMP%]{border:1px solid #0937b2;color:#0937b2;background:#fff}.outline[_ngcontent-%COMP%]:hover:enabled{background:#f0f3fa}.outline[_ngcontent-%COMP%]:active:enabled{background:#dae1f3}.outline[_ngcontent-%COMP%]:disabled{color:#929dab;border:1px solid #929dab}.text[_ngcontent-%COMP%]{color:#181f33;background:#fff}.text[_ngcontent-%COMP%]:hover:enabled{background:#f0f3fa}.text[_ngcontent-%COMP%]:active:enabled{background:#dae1f3}.text[_ngcontent-%COMP%]:disabled{color:#929dab}.large[_ngcontent-%COMP%]{height:56px;padding:16px;border-radius:10px;font-style:normal;font-weight:700;font-size:16px;line-height:24px;letter-spacing:.5px}.medium[_ngcontent-%COMP%]{height:44px;padding:10px 16px;border-radius:8px;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.2px}.small[_ngcontent-%COMP%]{height:32px;padding:6px 16px;border-radius:6px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px}.large-mobile[_ngcontent-%COMP%]{height:44px;padding:12px;border-radius:8px;font-style:normal;font-weight:700;font-size:14px;line-height:20px;letter-spacing:.1px}.small-mobile[_ngcontent-%COMP%]{height:32px;padding:6px 12px;border-radius:8px;font-style:normal;font-weight:700;font-size:14px;line-height:20px;letter-spacing:.1px}span[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}#left-icon[_ngcontent-%COMP%]{margin-right:8px}#right-icon[_ngcontent-%COMP%]{margin-left:8px}"] }); }
|
|
60
|
-
}
|
|
61
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonComponent, [{
|
|
62
|
-
type: Component,
|
|
63
|
-
args: [{ selector: "mis-button", template: "<button\n (click)=\"onClick($event)\"\n [disabled]=\"disabled\"\n [ngClass]=\"{\n solid: type === 'Solid',\n outline: type === 'Outline',\n text: type === 'Text',\n large: size === 'Large',\n medium: size === 'Medium',\n small: size === 'Small',\n 'large-mobile': size === 'Large-M',\n 'small-mobile': size === 'Small-M'\n }\"\n [ngStyle]=\"{\n 'border-top-left-radius': disableLeftBorderRadius ? '0px' : '',\n 'border-bottom-left-radius': disableLeftBorderRadius ? '0px' : '',\n 'border-top-right-radius': disableRightBorderRadius ? '0px' : '',\n 'border-bottom-right-radius': disableRightBorderRadius ? '0px' : '',\n width: width\n }\"\n>\n <span id=\"left-icon\" *ngIf=\"showIcon && iconPosition === 'Left'\">\n <img [src]=\"iconUrl\" alt=\"\" />\n </span>\n {{ name }}\n <span id=\"right-icon\" *ngIf=\"showIcon && iconPosition === 'Right'\">\n <img [src]=\"iconUrl\" alt=\"\" />\n </span>\n</button>\n", styles: ["button{font-family:Lato,sans-serif!important;border:none;padding:0;margin:0;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#181f33;background-color:#fff}.solid{color:#fff;background:#0937b2}.solid:hover:enabled{background:#062a99}.solid:active:enabled{background:#041f80}.solid:disabled{color:#929dab;background:#f5f5f5}.outline{border:1px solid #0937b2;color:#0937b2;background:#fff}.outline:hover:enabled{background:#f0f3fa}.outline:active:enabled{background:#dae1f3}.outline:disabled{color:#929dab;border:1px solid #929dab}.text{color:#181f33;background:#fff}.text:hover:enabled{background:#f0f3fa}.text:active:enabled{background:#dae1f3}.text:disabled{color:#929dab}.large{height:56px;padding:16px;border-radius:10px;font-style:normal;font-weight:700;font-size:16px;line-height:24px;letter-spacing:.5px}.medium{height:44px;padding:10px 16px;border-radius:8px;font-style:normal;font-weight:400;font-size:16px;line-height:24px;letter-spacing:.2px}.small{height:32px;padding:6px 16px;border-radius:6px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.25px}.large-mobile{height:44px;padding:12px;border-radius:8px;font-style:normal;font-weight:700;font-size:14px;line-height:20px;letter-spacing:.1px}.small-mobile{height:32px;padding:6px 12px;border-radius:8px;font-style:normal;font-weight:700;font-size:14px;line-height:20px;letter-spacing:.1px}span{display:flex;justify-content:center;align-items:center}#left-icon{margin-right:8px}#right-icon{margin-left:8px}\n"] }]
|
|
64
|
-
}], () => [], { name: [{
|
|
65
|
-
type: Input
|
|
66
|
-
}], type: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], size: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], width: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], showIcon: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], iconUrl: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], iconPosition: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], disabled: [{
|
|
79
|
-
type: Input
|
|
80
|
-
}], disableLeftBorderRadius: [{
|
|
81
|
-
type: Input
|
|
82
|
-
}], disableRightBorderRadius: [{
|
|
83
|
-
type: Input
|
|
84
|
-
}], click: [{
|
|
85
|
-
type: Output
|
|
86
|
-
}] }); })();
|
|
87
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ButtonComponent, { className: "ButtonComponent" }); })();
|
|
88
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3Byb2plY3RzL21pcy1jb21wb25lbnRzL2J1dHRvbi9idXR0b24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvYnV0dG9uL2J1dHRvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsWUFBWSxFQUE2QixNQUFNLGVBQWUsQ0FBQzs7Ozs7O0lDcUJ4RywrQkFBaUU7SUFDL0QseUJBQThCO0lBQ2hDLGlCQUFPOzs7SUFEQSxjQUFlO0lBQWYsc0RBQWU7OztJQUd0QiwrQkFBbUU7SUFDakUseUJBQThCO0lBQ2hDLGlCQUFPOzs7SUFEQSxjQUFlO0lBQWYsc0RBQWU7O0FEbkJ4QixNQUFNLE9BQU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yZGVyUmFkaXVzID8gJzBweCcgOiAnJyxcbiAgICAnYm9yZGVyLWJvdHRvbS1sZWZ0LXJhZGl1cyc6IGRpc2FibGVMZWZ0Qm9yZGVyUmFkaXVzID8gJzBweCcgOiAnJyxcbiAgICAnYm9yZGVyLXRvcC1yaWdodC1yYWRpdXMnOiBkaXNhYmxlUmlnaHRCb3JkZXJSYWRpdXMgPyAnMHB4JyA6ICcnLFxuICAgICdib3JkZXItYm90dG9tLXJpZ2h0LXJhZGl1cyc6IGRpc2FibGVSaWdodEJvcmRlclJhZGl1cyA/ICcwcHgnIDogJycsXG4gICAgd2lkdGg6IHdpZHRoXG4gIH1cIlxuPlxuICA8c3BhbiBpZD1cImxlZnQtaWNvblwiICpuZ0lmPVwic2hvd0ljb24gJiYgaWNvblBvc2l0aW9uID09PSAnTGVmdCdcIj5cbiAgICA8aW1nIFtzcmNdPVwiaWNvblVybFwiIGFsdD1cIlwiIC8+XG4gIDwvc3Bhbj5cbiAge3sgbmFtZSB9fVxuICA8c3BhbiBpZD1cInJpZ2h0LWljb25cIiAqbmdJZj1cInNob3dJY29uICYmIGljb25Qb3NpdGlvbiA9PT0gJ1JpZ2h0J1wiPlxuICAgIDxpbWcgW3NyY109XCJpY29uVXJsXCIgYWx0PVwiXCIgLz5cbiAgPC9zcGFuPlxuPC9idXR0b24+XG4iXX0=
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding, Input } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ButtonDirective {
|
|
4
|
-
constructor(el, renderer) {
|
|
5
|
-
this.el = el;
|
|
6
|
-
this.renderer = renderer;
|
|
7
|
-
this.type = "none";
|
|
8
|
-
this.size = "md";
|
|
9
|
-
this.elementClass = "mis-btn";
|
|
10
|
-
}
|
|
11
|
-
ngAfterViewInit() {
|
|
12
|
-
this.bindTypeClass();
|
|
13
|
-
this.bindSizeClass();
|
|
14
|
-
}
|
|
15
|
-
bindTypeClass() {
|
|
16
|
-
let className = "";
|
|
17
|
-
switch (this.type) {
|
|
18
|
-
case "primary":
|
|
19
|
-
className = "mis-primary";
|
|
20
|
-
break;
|
|
21
|
-
case "outline":
|
|
22
|
-
className = "mis-outline";
|
|
23
|
-
break;
|
|
24
|
-
default:
|
|
25
|
-
className = "mis-none";
|
|
26
|
-
}
|
|
27
|
-
this.renderer.addClass(this.el.nativeElement, className);
|
|
28
|
-
}
|
|
29
|
-
bindSizeClass() {
|
|
30
|
-
let className = "";
|
|
31
|
-
switch (this.size) {
|
|
32
|
-
case "lg":
|
|
33
|
-
className = "mis-btn-lg";
|
|
34
|
-
break;
|
|
35
|
-
case "sm":
|
|
36
|
-
className = "mis-btn-sm";
|
|
37
|
-
break;
|
|
38
|
-
default:
|
|
39
|
-
className = "mis-btn-md";
|
|
40
|
-
}
|
|
41
|
-
this.renderer.addClass(this.el.nativeElement, className);
|
|
42
|
-
}
|
|
43
|
-
static { this.ɵfac = function ButtonDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ButtonDirective)(i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
44
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: ButtonDirective, selectors: [["", "mis-button", ""]], hostVars: 2, hostBindings: function ButtonDirective_HostBindings(rf, ctx) { if (rf & 2) {
|
|
45
|
-
i0.ɵɵclassMap(ctx.elementClass);
|
|
46
|
-
} }, inputs: { type: "type", size: "size" } }); }
|
|
47
|
-
}
|
|
48
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ButtonDirective, [{
|
|
49
|
-
type: Directive,
|
|
50
|
-
args: [{
|
|
51
|
-
selector: "[mis-button]"
|
|
52
|
-
}]
|
|
53
|
-
}], () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], { type: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], size: [{
|
|
56
|
-
type: Input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gc3dpdGNoICh0aGlzLnNpemUpIHtcbiAgICAgIGNhc2UgXCJsZ1wiOlxuICAgICAgICBjbGFzc05hbWUgPSBcIm1pcy1idG4tbGdcIjtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlIFwic21cIjpcbiAgICAgICAgY2xhc3NOYW1lID0gXCJtaXMtYnRuLXNtXCI7XG4gICAgICAgIGJyZWFrO1xuICAgICAgZGVmYXVsdDpcbiAgICAgICAgY2xhc3NOYW1lID0gXCJtaXMtYnRuLW1kXCI7XG4gICAgfVxuICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3ModGhpcy5lbC5uYXRpdmVFbGVtZW50LCBjbGFzc05hbWUpO1xuICB9XG59XG4iXX0=
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output, ViewChild } from "@angular/core";
|
|
2
|
-
import { UntypedFormControl } from "@angular/forms";
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/common";
|
|
5
|
-
import * as i2 from "@angular/forms";
|
|
6
|
-
const _c0 = ["input"];
|
|
7
|
-
const _c1 = a0 => ({ cursor: a0 });
|
|
8
|
-
const _c2 = (a0, a1) => ({ "disabled-checkbox": a0, error: a1 });
|
|
9
|
-
function CheckboxComponent_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
10
|
-
i0.ɵɵelement(0, "span", 4);
|
|
11
|
-
} if (rf & 2) {
|
|
12
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
13
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c2, ctx_r0.formControl.disabled, ctx_r0.isError && !ctx_r0.formControl.disabled));
|
|
14
|
-
} }
|
|
15
|
-
function CheckboxComponent_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
16
|
-
i0.ɵɵelement(0, "span", 5);
|
|
17
|
-
} if (rf & 2) {
|
|
18
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(1, _c2, ctx_r0.formControl.disabled, ctx_r0.isError && !ctx_r0.formControl.disabled));
|
|
20
|
-
} }
|
|
21
|
-
export class CheckboxComponent {
|
|
22
|
-
set type(value) {
|
|
23
|
-
this.isError = value === "Error";
|
|
24
|
-
}
|
|
25
|
-
set indeterminate(value) {
|
|
26
|
-
if (value) {
|
|
27
|
-
this.formControl.setValue(true);
|
|
28
|
-
this.valueChange.emit({
|
|
29
|
-
name: this.name,
|
|
30
|
-
value: true
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
else {
|
|
34
|
-
this.formControl.setValue(false);
|
|
35
|
-
this.valueChange.emit({
|
|
36
|
-
name: this.name,
|
|
37
|
-
value: false
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
this.isIndeterminate = value;
|
|
41
|
-
}
|
|
42
|
-
set checked(value) {
|
|
43
|
-
if (value)
|
|
44
|
-
this.formControl.setValue(true);
|
|
45
|
-
else
|
|
46
|
-
this.formControl.setValue(false);
|
|
47
|
-
}
|
|
48
|
-
set disabled(value) {
|
|
49
|
-
if (value)
|
|
50
|
-
this.formControl.disable();
|
|
51
|
-
else
|
|
52
|
-
this.formControl.enable();
|
|
53
|
-
}
|
|
54
|
-
constructor() {
|
|
55
|
-
this.isError = false;
|
|
56
|
-
this.isIndeterminate = false;
|
|
57
|
-
this.name = "";
|
|
58
|
-
this.formControl = new UntypedFormControl();
|
|
59
|
-
this.valueChange = new EventEmitter();
|
|
60
|
-
}
|
|
61
|
-
ngOnInit() { }
|
|
62
|
-
toggleState() {
|
|
63
|
-
if (this.isIndeterminate) {
|
|
64
|
-
this.isIndeterminate = false;
|
|
65
|
-
this.formControl.setValue(true);
|
|
66
|
-
}
|
|
67
|
-
else {
|
|
68
|
-
if (this.formControl.value)
|
|
69
|
-
this.formControl.setValue(false);
|
|
70
|
-
else
|
|
71
|
-
this.formControl.setValue(true);
|
|
72
|
-
}
|
|
73
|
-
this.valueChange.emit({
|
|
74
|
-
name: this.name,
|
|
75
|
-
value: this.formControl.value
|
|
76
|
-
});
|
|
77
|
-
}
|
|
78
|
-
static { this.ɵfac = function CheckboxComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CheckboxComponent)(); }; }
|
|
79
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: CheckboxComponent, selectors: [["mis-checkbox"]], viewQuery: function CheckboxComponent_Query(rf, ctx) { if (rf & 1) {
|
|
80
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
81
|
-
} if (rf & 2) {
|
|
82
|
-
let _t;
|
|
83
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.inputBox = _t.first);
|
|
84
|
-
} }, inputs: { type: "type", indeterminate: "indeterminate", checked: "checked", disabled: "disabled", name: "name", formControl: "formControl" }, outputs: { valueChange: "valueChange" }, decls: 4, vars: 6, consts: [[1, "checkbox-container", 3, "click", "keyup.enter", "ngStyle"], ["hidden", "", "type", "checkbox", 3, "click", "formControl"], ["class", "checkmark", 3, "ngClass", 4, "ngIf"], ["class", "checkmark indeterminate", "tabindex", "0", 3, "ngClass", 4, "ngIf"], [1, "checkmark", 3, "ngClass"], ["tabindex", "0", 1, "checkmark", "indeterminate", 3, "ngClass"]], template: function CheckboxComponent_Template(rf, ctx) { if (rf & 1) {
|
|
85
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
86
|
-
i0.ɵɵlistener("click", function CheckboxComponent_Template_div_click_0_listener() { return !ctx.formControl.disabled && ctx.toggleState(); })("keyup.enter", function CheckboxComponent_Template_div_keyup_enter_0_listener() { return !ctx.formControl.disabled && ctx.toggleState(); });
|
|
87
|
-
i0.ɵɵelementStart(1, "input", 1);
|
|
88
|
-
i0.ɵɵlistener("click", function CheckboxComponent_Template_input_click_1_listener($event) { return $event.stopPropagation(); });
|
|
89
|
-
i0.ɵɵelementEnd();
|
|
90
|
-
i0.ɵɵtemplate(2, CheckboxComponent_span_2_Template, 1, 4, "span", 2)(3, CheckboxComponent_span_3_Template, 1, 4, "span", 3);
|
|
91
|
-
i0.ɵɵelementEnd();
|
|
92
|
-
} if (rf & 2) {
|
|
93
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(4, _c1, ctx.formControl.disabled ? "not-allowed" : "pointer"));
|
|
94
|
-
i0.ɵɵadvance();
|
|
95
|
-
i0.ɵɵproperty("formControl", ctx.formControl);
|
|
96
|
-
i0.ɵɵadvance();
|
|
97
|
-
i0.ɵɵproperty("ngIf", !ctx.isIndeterminate);
|
|
98
|
-
i0.ɵɵadvance();
|
|
99
|
-
i0.ɵɵproperty("ngIf", ctx.isIndeterminate);
|
|
100
|
-
} }, dependencies: [i1.NgClass, i1.NgIf, i1.NgStyle, i2.CheckboxControlValueAccessor, i2.NgControlStatus, i2.FormControlDirective], styles: [".checkbox-container[_ngcontent-%COMP%]{height:20px;width:20px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:sub}.checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:20px;width:20px}.checkmark[_ngcontent-%COMP%]{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;height:20px;width:20px;border-radius:4px;background-color:#fff;border:solid 2px #6a737d;box-sizing:border-box}.checkmark[_ngcontent-%COMP%]:hover{border-color:#929dab}.checkmark[_ngcontent-%COMP%]:focus-within, .checkmark[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .09em #fff,0 0 .01em .2em #0937b2;outline:none}.checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]{background-color:#0937b2;border-color:#0937b2}.checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark.disabled-checkbox[_ngcontent-%COMP%]{background-color:#c8cdd3;border-color:#c8cdd3}.checkmark[_ngcontent-%COMP%]:after{content:\"\";position:absolute;display:none}.checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .checkmark[_ngcontent-%COMP%]:after{display:block}.checkbox-container[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:1px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-container[_ngcontent-%COMP%] .checkmark.indeterminate[_ngcontent-%COMP%]:after{top:2px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.disabled-checkbox[_ngcontent-%COMP%]{pointer-events:none;border-color:#c8cdd3}.error[_ngcontent-%COMP%]{border-color:#b00020}.checkbox-container[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .error.checkmark[_ngcontent-%COMP%]{border:#b00020!important;background:#b00020!important}.checkbox-container[_ngcontent-%COMP%] .error.checkmark[_ngcontent-%COMP%]:after{top:3px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-container[_ngcontent-%COMP%] .error.checkmark.indeterminate[_ngcontent-%COMP%]:after{top:4px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.error[_ngcontent-%COMP%]:focus-within, .error[_ngcontent-%COMP%]:focus{box-shadow:none!important;outline:none}"] }); }
|
|
101
|
-
}
|
|
102
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CheckboxComponent, [{
|
|
103
|
-
type: Component,
|
|
104
|
-
args: [{ selector: "mis-checkbox", template: "<div\n class=\"checkbox-container\"\n [ngStyle]=\"{ cursor: formControl.disabled ? 'not-allowed' : 'pointer' }\"\n (click)=\"!formControl.disabled && toggleState()\"\n (keyup.enter)=\"!formControl.disabled && toggleState()\"\n>\n <input hidden type=\"checkbox\" [formControl]=\"formControl\" (click)=\"$event.stopPropagation()\" />\n <span\n class=\"checkmark\"\n *ngIf=\"!isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n <span\n class=\"checkmark indeterminate\"\n tabindex=\"0\"\n *ngIf=\"isIndeterminate\"\n [ngClass]=\"{\n 'disabled-checkbox': formControl.disabled,\n error: isError && !formControl.disabled\n }\"\n ></span>\n</div>\n", styles: [".checkbox-container{height:20px;width:20px;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;vertical-align:sub}.checkbox-container input{position:absolute;opacity:0;cursor:pointer;height:20px;width:20px}.checkmark{position:absolute;display:flex;justify-content:center;align-items:center;top:0;left:0;height:20px;width:20px;border-radius:4px;background-color:#fff;border:solid 2px #6a737d;box-sizing:border-box}.checkmark:hover{border-color:#929dab}.checkmark:focus-within,.checkmark:focus{box-shadow:0 0 0 .09em #fff,0 0 .01em .2em #0937b2;outline:none}.checkbox-container input:checked~.checkmark{background-color:#0937b2;border-color:#0937b2}.checkbox-container input:checked~.checkmark.disabled-checkbox{background-color:#c8cdd3;border-color:#c8cdd3}.checkmark:after{content:\"\";position:absolute;display:none}.checkbox-container input:checked~.checkmark:after{display:block}.checkbox-container .checkmark:after{top:1px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-container .checkmark.indeterminate:after{top:2px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.disabled-checkbox{pointer-events:none;border-color:#c8cdd3}.error{border-color:#b00020}.checkbox-container input:checked~.error.checkmark{border:#b00020!important;background:#b00020!important}.checkbox-container .error.checkmark:after{top:3px;width:4px;height:9px;border:solid white;border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.checkbox-container .error.checkmark.indeterminate:after{top:4px;width:2px;height:0px;border:solid white;border-width:0 0px 12px 0;border-radius:14px;transform:rotate(90deg);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg)}.error:focus-within,.error:focus{box-shadow:none!important;outline:none}\n"] }]
|
|
105
|
-
}], () => [], { inputBox: [{
|
|
106
|
-
type: ViewChild,
|
|
107
|
-
args: ["input"]
|
|
108
|
-
}], type: [{
|
|
109
|
-
type: Input
|
|
110
|
-
}], indeterminate: [{
|
|
111
|
-
type: Input
|
|
112
|
-
}], checked: [{
|
|
113
|
-
type: Input
|
|
114
|
-
}], disabled: [{
|
|
115
|
-
type: Input
|
|
116
|
-
}], name: [{
|
|
117
|
-
type: Input
|
|
118
|
-
}], formControl: [{
|
|
119
|
-
type: Input
|
|
120
|
-
}], valueChange: [{
|
|
121
|
-
type: Output
|
|
122
|
-
}] }); })();
|
|
123
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CheckboxComponent, { className: "CheckboxComponent" }); })();
|
|
124
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvY2hlY2tib3gvY2hlY2tib3guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvY2hlY2tib3gvY2hlY2tib3guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxZQUFZLEVBQUUsS0FBSyxFQUFFLE1BQU0sRUFBRSxTQUFTLEVBQXlCLE1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2JveC1jb250YWluZXJcIlxuICBbbmdTdHlsZV09XCJ7IGN1cnNvcjogZm9ybUNvbnRyb2wuZGlzYWJsZWQgPyAnbm90LWFsbG93ZWQnIDogJ3BvaW50ZXInIH1cIlxuICAoY2xpY2spPVwiIWZvcm1Db250cm9sLmRpc2FibGVkICYmIHRvZ2dsZVN0YXRlKClcIlxuICAoa2V5dXAuZW50ZXIpPVwiIWZvcm1Db250cm9sLmRpc2FibGVkICYmIHRvZ2dsZVN0YXRlKClcIlxuPlxuICA8aW5wdXQgaGlkZGVuIHR5cGU9XCJjaGVja2JveFwiIFtmb3JtQ29udHJvbF09XCJmb3JtQ29udHJvbFwiIChjbGljayk9XCIkZXZlbnQuc3RvcFByb3BhZ2F0aW9uKClcIiAvPlxuICA8c3BhblxuICAgIGNsYXNzPVwiY2hlY2ttYXJrXCJcbiAgICAqbmdJZj1cIiFpc0luZGV0ZXJtaW5hdGVcIlxuICAgIFtuZ0NsYXNzXT1cIntcbiAgICAgICdkaXNhYmxlZC1jaGVja2JveCc6IGZvcm1Db250cm9sLmRpc2FibGVkLFxuICAgICAgZXJyb3I6IGlzRXJyb3IgJiYgIWZvcm1Db250cm9sLmRpc2FibGVkXG4gICAgfVwiXG4gID48L3NwYW4+XG4gIDxzcGFuXG4gICAgY2xhc3M9XCJjaGVja21hcmsgaW5kZXRlcm1pbmF0ZVwiXG4gICAgdGFiaW5kZXg9XCIwXCJcbiAgICAqbmdJZj1cImlzSW5kZXRlcm1pbmF0ZVwiXG4gICAgW25nQ2xhc3NdPVwie1xuICAgICAgJ2Rpc2FibGVkLWNoZWNrYm94JzogZm9ybUNvbnRyb2wuZGlzYWJsZWQsXG4gICAgICBlcnJvcjogaXNFcnJvciAmJiAhZm9ybUNvbnRyb2wuZGlzYWJsZWRcbiAgICB9XCJcbiAgPjwvc3Bhbj5cbjwvZGl2PlxuIl19
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { Component, Input, Output, EventEmitter } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
import * as i1 from "@angular/common";
|
|
4
|
-
const _c0 = (a0, a1, a2, a3) => ({ small: a0, medium: a1, "small-m": a2, "medium-m": a3 });
|
|
5
|
-
function ChipComponent_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
6
|
-
i0.ɵɵelement(0, "img", 5);
|
|
7
|
-
} if (rf & 2) {
|
|
8
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
9
|
-
i0.ɵɵproperty("src", ctx_r0.iconUrl, i0.ɵɵsanitizeUrl);
|
|
10
|
-
} }
|
|
11
|
-
function ChipComponent_div_4_Template(rf, ctx) { if (rf & 1) {
|
|
12
|
-
i0.ɵɵelementStart(0, "div", 6);
|
|
13
|
-
i0.ɵɵelement(1, "div", 7);
|
|
14
|
-
i0.ɵɵelementStart(2, "span", 8);
|
|
15
|
-
i0.ɵɵtext(3);
|
|
16
|
-
i0.ɵɵelementEnd()();
|
|
17
|
-
} if (rf & 2) {
|
|
18
|
-
const ctx_r0 = i0.ɵɵnextContext();
|
|
19
|
-
i0.ɵɵadvance(3);
|
|
20
|
-
i0.ɵɵtextInterpolate(ctx_r0.count);
|
|
21
|
-
} }
|
|
22
|
-
function ChipComponent_span_5_Template(rf, ctx) { if (rf & 1) {
|
|
23
|
-
const _r2 = i0.ɵɵgetCurrentView();
|
|
24
|
-
i0.ɵɵelementStart(0, "span", 9);
|
|
25
|
-
i0.ɵɵlistener("keyup.enter", function ChipComponent_span_5_Template_span_keyup_enter_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.cancel.emit(ctx_r0.value)); })("click", function ChipComponent_span_5_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.cancel.emit(ctx_r0.value)); });
|
|
26
|
-
i0.ɵɵnamespaceSVG();
|
|
27
|
-
i0.ɵɵelementStart(1, "svg", 10);
|
|
28
|
-
i0.ɵɵelement(2, "path", 11);
|
|
29
|
-
i0.ɵɵelementEnd()();
|
|
30
|
-
} }
|
|
31
|
-
export class ChipComponent {
|
|
32
|
-
constructor() {
|
|
33
|
-
this.label = "";
|
|
34
|
-
this.value = "";
|
|
35
|
-
this.size = "Medium";
|
|
36
|
-
this.iconUrl = null;
|
|
37
|
-
this.count = null;
|
|
38
|
-
this.dismissible = false;
|
|
39
|
-
this.cancel = new EventEmitter();
|
|
40
|
-
}
|
|
41
|
-
ngOnInit() { }
|
|
42
|
-
static { this.ɵfac = function ChipComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ChipComponent)(); }; }
|
|
43
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ChipComponent, selectors: [["mis-chip"]], inputs: { label: "label", value: "value", size: "size", iconUrl: "iconUrl", count: "count", dismissible: "dismissible" }, outputs: { cancel: "cancel" }, decls: 6, vars: 10, consts: [["id", "chip-container", "tabindex", "0", 3, "ngClass"], ["alt", "chip icon", 3, "src", 4, "ngIf"], ["tabindex", "0"], ["id", "count-container", 4, "ngIf"], ["tabindex", "0", "id", "close-icon", "aria-label", "remove chip", 3, "keyup.enter", "click", 4, "ngIf"], ["alt", "chip icon", 3, "src"], ["id", "count-container"], ["id", "separator"], ["id", "count-text"], ["tabindex", "0", "id", "close-icon", "aria-label", "remove chip", 3, "keyup.enter", "click"], ["width", "16", "height", "16", "viewBox", "0 0 16 16", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M5.49931 4.25725C5.15643 3.91437 4.60052 3.91437 4.25765 4.25725C3.91477 4.60012 3.91477 5.15604 4.25765 5.49891L6.75868 7.99994L4.25827 10.5004C3.91539 10.8432 3.91539 11.3991 4.25827 11.742C4.60114 12.0849 5.15706 12.0849 5.49993 11.742L8.00034 9.24161L10.5007 11.742C10.8436 12.0849 11.3995 12.0849 11.7424 11.742C12.0853 11.3991 12.0853 10.8432 11.7424 10.5003L9.24201 7.99995L11.743 5.49893C12.0859 5.15606 12.0859 4.60014 11.743 4.25727C11.4001 3.91439 10.8442 3.91439 10.5014 4.25727L8.00034 6.75828L5.49931 4.25725Z", "fill", "#181F33"]], template: function ChipComponent_Template(rf, ctx) { if (rf & 1) {
|
|
44
|
-
i0.ɵɵelementStart(0, "div", 0);
|
|
45
|
-
i0.ɵɵtemplate(1, ChipComponent_img_1_Template, 1, 1, "img", 1);
|
|
46
|
-
i0.ɵɵelementStart(2, "span", 2);
|
|
47
|
-
i0.ɵɵtext(3);
|
|
48
|
-
i0.ɵɵelementEnd();
|
|
49
|
-
i0.ɵɵtemplate(4, ChipComponent_div_4_Template, 4, 1, "div", 3)(5, ChipComponent_span_5_Template, 3, 0, "span", 4);
|
|
50
|
-
i0.ɵɵelementEnd();
|
|
51
|
-
} if (rf & 2) {
|
|
52
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction4(5, _c0, ctx.size === "Small", ctx.size === "Medium", ctx.size === "Small-M", ctx.size === "Medium-M"));
|
|
53
|
-
i0.ɵɵadvance();
|
|
54
|
-
i0.ɵɵproperty("ngIf", ctx.iconUrl && ctx.iconUrl.length > 0);
|
|
55
|
-
i0.ɵɵadvance(2);
|
|
56
|
-
i0.ɵɵtextInterpolate(ctx.label);
|
|
57
|
-
i0.ɵɵadvance();
|
|
58
|
-
i0.ɵɵproperty("ngIf", ctx.count != null || ctx.count != undefined);
|
|
59
|
-
i0.ɵɵadvance();
|
|
60
|
-
i0.ɵɵproperty("ngIf", ctx.dismissible);
|
|
61
|
-
} }, dependencies: [i1.NgClass, i1.NgIf], styles: ["#chip-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif!important;background-color:#e0e0e0;box-sizing:border-box;cursor:default}#chip-container[_ngcontent-%COMP%]:hover{background:#d7d9de}img[_ngcontent-%COMP%]{margin-right:4px}#close-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin-left:4px;cursor:pointer}#count-container[_ngcontent-%COMP%]{display:flex;height:100%;justify-content:center;align-items:center}#separator[_ngcontent-%COMP%]{height:100%;width:1px;background-color:#c8cdd3;margin:0 8px}#count-text[_ngcontent-%COMP%]{font-weight:700;letter-spacing:.25px}.small[_ngcontent-%COMP%]{height:24px;padding:4px 8px;border-radius:7px;font-style:normal;font-weight:700;font-size:12px;line-height:16px;letter-spacing:.7px;color:#181f33}.medium[_ngcontent-%COMP%]{height:32px;padding:6px 12px;border-radius:16px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.small-m[_ngcontent-%COMP%]{height:20px;padding:4px 8px;border-radius:10px;font-style:normal;font-weight:400;font-size:11px;line-height:12px;letter-spacing:.1px;color:#181f33}.medium-m[_ngcontent-%COMP%]{height:24px;padding:4px 12px;border-radius:12px;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;color:#181f33}"] }); }
|
|
62
|
-
}
|
|
63
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ChipComponent, [{
|
|
64
|
-
type: Component,
|
|
65
|
-
args: [{ selector: "mis-chip", template: "<div\n id=\"chip-container\"\n tabindex=\"0\"\n [ngClass]=\"{\n small: size === 'Small',\n medium: size === 'Medium',\n 'small-m': size === 'Small-M',\n 'medium-m': size === 'Medium-M'\n }\"\n>\n <img *ngIf=\"iconUrl && iconUrl.length > 0\" [src]=\"iconUrl\" alt=\"chip icon\" />\n <span tabindex=\"0\">{{ label }}</span>\n <div *ngIf=\"count != null || count != undefined\" id=\"count-container\">\n <div id=\"separator\"></div>\n <span id=\"count-text\">{{ count }}</span>\n </div>\n <span *ngIf=\"dismissible\" tabindex=\"0\" id=\"close-icon\" aria-label=\"remove chip\" (keyup.enter)=\"cancel.emit(value)\" (click)=\"cancel.emit(value)\">\n <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M5.49931 4.25725C5.15643 3.91437 4.60052 3.91437 4.25765 4.25725C3.91477 4.60012 3.91477 5.15604 4.25765 5.49891L6.75868 7.99994L4.25827 10.5004C3.91539 10.8432 3.91539 11.3991 4.25827 11.742C4.60114 12.0849 5.15706 12.0849 5.49993 11.742L8.00034 9.24161L10.5007 11.742C10.8436 12.0849 11.3995 12.0849 11.7424 11.742C12.0853 11.3991 12.0853 10.8432 11.7424 10.5003L9.24201 7.99995L11.743 5.49893C12.0859 5.15606 12.0859 4.60014 11.743 4.25727C11.4001 3.91439 10.8442 3.91439 10.5014 4.25727L8.00034 6.75828L5.49931 4.25725Z\"\n fill=\"#181F33\"\n />\n </svg>\n </span>\n</div>\n", styles: ["#chip-container{display:flex;justify-content:center;align-items:center;font-family:Lato,sans-serif!important;background-color:#e0e0e0;box-sizing:border-box;cursor:default}#chip-container:hover{background:#d7d9de}img{margin-right:4px}#close-icon{display:flex;justify-content:center;align-items:center;margin-left:4px;cursor:pointer}#count-container{display:flex;height:100%;justify-content:center;align-items:center}#separator{height:100%;width:1px;background-color:#c8cdd3;margin:0 8px}#count-text{font-weight:700;letter-spacing:.25px}.small{height:24px;padding:4px 8px;border-radius:7px;font-style:normal;font-weight:700;font-size:12px;line-height:16px;letter-spacing:.7px;color:#181f33}.medium{height:32px;padding:6px 12px;border-radius:16px;font-style:normal;font-weight:400;font-size:14px;line-height:20px;letter-spacing:.2px;color:#181f33}.small-m{height:20px;padding:4px 8px;border-radius:10px;font-style:normal;font-weight:400;font-size:11px;line-height:12px;letter-spacing:.1px;color:#181f33}.medium-m{height:24px;padding:4px 12px;border-radius:12px;font-style:normal;font-weight:400;font-size:12px;line-height:16px;letter-spacing:.25px;color:#181f33}\n"] }]
|
|
66
|
-
}], () => [], { label: [{
|
|
67
|
-
type: Input
|
|
68
|
-
}], value: [{
|
|
69
|
-
type: Input
|
|
70
|
-
}], size: [{
|
|
71
|
-
type: Input
|
|
72
|
-
}], iconUrl: [{
|
|
73
|
-
type: Input
|
|
74
|
-
}], count: [{
|
|
75
|
-
type: Input
|
|
76
|
-
}], dismissible: [{
|
|
77
|
-
type: Input
|
|
78
|
-
}], cancel: [{
|
|
79
|
-
type: Output
|
|
80
|
-
}] }); })();
|
|
81
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ChipComponent, { className: "ChipComponent" }); })();
|
|
82
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hpcC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy9jaGlwL2NoaXAuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vcHJvamVjdHMvbWlzLWNvbXBvbmVudHMvY2hpcC9jaGlwLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7O0lDVTdFLHlCQUE2RTs7O0lBQWxDLHNEQUFlOzs7SUFFMUQsOEJBQXNFO0lBQ3BFLHlCQUEwQjtJQUMxQiwrQkFBc0I7SUFBQSxZQUFXO0lBQ25DLEFBRG1DLGlCQUFPLEVBQ3BDOzs7SUFEa0IsZUFBVztJQUFYLGtDQUFXOzs7O0lBRW5DLCtCQUFnSjtJQUE3QixBQUFuQyxvTEFBZSxnQ0FBa0IsS0FBQywySkFBVSxnQ0FBa0IsS0FBQzs7SUFDN0ksK0JBQStGO0lBQzdGLDJCQUtFO0lBRU4sQUFERSxpQkFBTSxFQUNEOztBRGxCVCxNQUFNLE9BQU8sYUFBYTtJQVN4QjtRQVJTLFVBQUssR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DkuMjQxNjFMMTAuNTAwNyAxMS43NDJDMTAuODQzNiAxMi4wODQ5IDExLjM5OTUgMTIuMDg0OSAxMS43NDI0IDExLjc0MkMxMi4wODUzIDExLjM5OTEgMTIuMDg1MyAxMC44NDMyIDExLjc0MjQgMTAuNTAwM0w5LjI0MjAxIDcuOTk5OTVMMTEuNzQzIDUuNDk4OTNDMTIuMDg1OSA1LjE1NjA2IDEyLjA4NTkgNC42MDAxNCAxMS43NDMgNC4yNTcyN0MxMS40MDAxIDMuOTE0MzkgMTAuODQ0MiAzLjkxNDM5IDEwLjUwMTQgNC4yNTcyN0w4LjAwMDM0IDYuNzU4MjhMNS40OTkzMSA0LjI1NzI1WlwiXG4gICAgICAgIGZpbGw9XCIjMTgxRjMzXCJcbiAgICAgIC8+XG4gICAgPC9zdmc+XG4gIDwvc3Bhbj5cbjwvZGl2PlxuIl19
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { OverlayConfig } from "@angular/cdk/overlay";
|
|
2
|
-
import { ComponentPortal } from "@angular/cdk/portal";
|
|
3
|
-
import { Directive, EventEmitter, HostListener, Injector, Input, Optional, Output, Self } from "@angular/core";
|
|
4
|
-
import { take } from "rxjs/operators";
|
|
5
|
-
import { genPositionPairs } from "mis-crystal-design-system/utils";
|
|
6
|
-
import { CONTAINER_DATA, DATE_FORMAT } from "./datepicker-constants";
|
|
7
|
-
import { TzDpContainerComponent } from "./tz-dp-container/tz-dp-container.component";
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "@angular/forms";
|
|
10
|
-
import * as i2 from "@angular/cdk/overlay";
|
|
11
|
-
export class TzDatepickerDirective {
|
|
12
|
-
// dd-mm-yyyy 01-12-2022
|
|
13
|
-
set selectedDate(date) {
|
|
14
|
-
this.date = date;
|
|
15
|
-
}
|
|
16
|
-
set datesDisabled(dates) {
|
|
17
|
-
this.dpDisabledDates = dates;
|
|
18
|
-
}
|
|
19
|
-
constructor(control, element, overlay, viewContainerRef) {
|
|
20
|
-
this.control = control;
|
|
21
|
-
this.element = element;
|
|
22
|
-
this.overlay = overlay;
|
|
23
|
-
this.viewContainerRef = viewContainerRef;
|
|
24
|
-
this.dateMessages = [];
|
|
25
|
-
this.positionX = "center";
|
|
26
|
-
this.positionY = "bottom";
|
|
27
|
-
this.offsetX = 0;
|
|
28
|
-
this.offsetY = 0;
|
|
29
|
-
this.allowBookingOnDisabledDay = false;
|
|
30
|
-
this.dateChange = new EventEmitter(true);
|
|
31
|
-
//to be passed from Specific date picker
|
|
32
|
-
this.disableBoxShadow = false;
|
|
33
|
-
this.disableOverLay = false;
|
|
34
|
-
this.openElement = false;
|
|
35
|
-
this.isOpen = false;
|
|
36
|
-
this.dpDisabledDates = [];
|
|
37
|
-
}
|
|
38
|
-
ngOnChanges(changes) {
|
|
39
|
-
if (changes['openElement']?.currentValue) {
|
|
40
|
-
this.open();
|
|
41
|
-
}
|
|
42
|
-
else if (!changes['openElement']?.currentValue) {
|
|
43
|
-
this.close();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
ngOnInit() { }
|
|
47
|
-
toggleDatePicker() {
|
|
48
|
-
if (this.isOpen) {
|
|
49
|
-
this.close();
|
|
50
|
-
}
|
|
51
|
-
else {
|
|
52
|
-
this.open();
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
toggleDatePickerOnEnter() {
|
|
56
|
-
if (this.isOpen) {
|
|
57
|
-
this.close();
|
|
58
|
-
}
|
|
59
|
-
else {
|
|
60
|
-
this.open();
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
closeOnEsc() {
|
|
64
|
-
if (this.isOpen) {
|
|
65
|
-
this.close();
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
open() {
|
|
69
|
-
this.dpConfig = {
|
|
70
|
-
format: DATE_FORMAT,
|
|
71
|
-
minDate: "",
|
|
72
|
-
maxDate: "",
|
|
73
|
-
showApplyButton: false,
|
|
74
|
-
...this.dpConfig
|
|
75
|
-
};
|
|
76
|
-
this.isOpen = true;
|
|
77
|
-
const positionStrategy = this.overlay
|
|
78
|
-
.position()
|
|
79
|
-
.flexibleConnectedTo(this.element)
|
|
80
|
-
.withPositions(genPositionPairs({
|
|
81
|
-
positionX: this.positionX,
|
|
82
|
-
positionY: this.positionY,
|
|
83
|
-
offsetX: this.offsetX,
|
|
84
|
-
offsetY: this.offsetY
|
|
85
|
-
}, true))
|
|
86
|
-
.withPush(true);
|
|
87
|
-
const config = new OverlayConfig({
|
|
88
|
-
hasBackdrop: !this.disableOverLay,
|
|
89
|
-
positionStrategy,
|
|
90
|
-
scrollStrategy: this.overlay.scrollStrategies.reposition(),
|
|
91
|
-
backdropClass: "cdk-overlay-transparent-backdrop"
|
|
92
|
-
});
|
|
93
|
-
this.overlayRef = this.overlay.create(config);
|
|
94
|
-
const tempRef = new ComponentPortal(TzDpContainerComponent, this.viewContainerRef, Injector.create({
|
|
95
|
-
providers: [
|
|
96
|
-
{
|
|
97
|
-
provide: CONTAINER_DATA,
|
|
98
|
-
useValue: {
|
|
99
|
-
messages: this.dateMessages,
|
|
100
|
-
date: this.control?.control.value || this.date,
|
|
101
|
-
allowBookingOnDisabledDay: this.allowBookingOnDisabledDay,
|
|
102
|
-
dpConfig: this.dpConfig,
|
|
103
|
-
datesDisabled: this.dpDisabledDates,
|
|
104
|
-
dateChange: this.applyDate.bind(this),
|
|
105
|
-
disableBoxShadow: this.disableBoxShadow,
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
]
|
|
109
|
-
}));
|
|
110
|
-
this.overlayRef.attach(tempRef);
|
|
111
|
-
this.overlayRef
|
|
112
|
-
.backdropClick()
|
|
113
|
-
.pipe(take(1))
|
|
114
|
-
.subscribe(() => {
|
|
115
|
-
this.close();
|
|
116
|
-
});
|
|
117
|
-
}
|
|
118
|
-
applyDate(date = "") {
|
|
119
|
-
if (!date) {
|
|
120
|
-
this.close();
|
|
121
|
-
return;
|
|
122
|
-
}
|
|
123
|
-
this.dateChange.emit(date);
|
|
124
|
-
this.control?.control.patchValue(date);
|
|
125
|
-
this.date = date;
|
|
126
|
-
this.close();
|
|
127
|
-
}
|
|
128
|
-
close() {
|
|
129
|
-
this.isOpen = false;
|
|
130
|
-
this.overlayRef?.detach();
|
|
131
|
-
this.overlayRef?.dispose();
|
|
132
|
-
}
|
|
133
|
-
static { this.ɵfac = function TzDatepickerDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TzDatepickerDirective)(i0.ɵɵdirectiveInject(i1.NgControl, 10), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i2.Overlay), i0.ɵɵdirectiveInject(i0.ViewContainerRef)); }; }
|
|
134
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: TzDatepickerDirective, selectors: [["input", "misTzDp", ""]], hostBindings: function TzDatepickerDirective_HostBindings(rf, ctx) { if (rf & 1) {
|
|
135
|
-
i0.ɵɵlistener("click", function TzDatepickerDirective_click_HostBindingHandler() { return ctx.toggleDatePicker(); })("keydown.enter", function TzDatepickerDirective_keydown_enter_HostBindingHandler() { return ctx.toggleDatePickerOnEnter(); })("keydown.esc", function TzDatepickerDirective_keydown_esc_HostBindingHandler() { return ctx.closeOnEsc(); });
|
|
136
|
-
} }, inputs: { dpConfig: "dpConfig", selectedDate: "selectedDate", datesDisabled: "datesDisabled", dateMessages: "dateMessages", positionX: "positionX", positionY: "positionY", offsetX: "offsetX", offsetY: "offsetY", allowBookingOnDisabledDay: "allowBookingOnDisabledDay", disableBoxShadow: "disableBoxShadow", disableOverLay: "disableOverLay", openElement: "openElement" }, outputs: { dateChange: "dateChange" }, features: [i0.ɵɵNgOnChangesFeature] }); }
|
|
137
|
-
}
|
|
138
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TzDatepickerDirective, [{
|
|
139
|
-
type: Directive,
|
|
140
|
-
args: [{
|
|
141
|
-
selector: "input[misTzDp]"
|
|
142
|
-
}]
|
|
143
|
-
}], () => [{ type: i1.NgControl, decorators: [{
|
|
144
|
-
type: Self
|
|
145
|
-
}, {
|
|
146
|
-
type: Optional
|
|
147
|
-
}] }, { type: i0.ElementRef }, { type: i2.Overlay }, { type: i0.ViewContainerRef }], { dpConfig: [{
|
|
148
|
-
type: Input
|
|
149
|
-
}], selectedDate: [{
|
|
150
|
-
type: Input
|
|
151
|
-
}], datesDisabled: [{
|
|
152
|
-
type: Input
|
|
153
|
-
}], dateMessages: [{
|
|
154
|
-
type: Input
|
|
155
|
-
}], positionX: [{
|
|
156
|
-
type: Input
|
|
157
|
-
}], positionY: [{
|
|
158
|
-
type: Input
|
|
159
|
-
}], offsetX: [{
|
|
160
|
-
type: Input
|
|
161
|
-
}], offsetY: [{
|
|
162
|
-
type: Input
|
|
163
|
-
}], allowBookingOnDisabledDay: [{
|
|
164
|
-
type: Input
|
|
165
|
-
}], dateChange: [{
|
|
166
|
-
type: Output
|
|
167
|
-
}], disableBoxShadow: [{
|
|
168
|
-
type: Input
|
|
169
|
-
}], disableOverLay: [{
|
|
170
|
-
type: Input
|
|
171
|
-
}], openElement: [{
|
|
172
|
-
type: Input
|
|
173
|
-
}], toggleDatePicker: [{
|
|
174
|
-
type: HostListener,
|
|
175
|
-
args: ["click"]
|
|
176
|
-
}], toggleDatePickerOnEnter: [{
|
|
177
|
-
type: HostListener,
|
|
178
|
-
args: ["keydown.enter"]
|
|
179
|
-
}], closeOnEsc: [{
|
|
180
|
-
type: HostListener,
|
|
181
|
-
args: ["keydown.esc"]
|
|
182
|
-
}] }); })();
|
|
183
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHotZGF0ZXBpY2tlci5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wcm9qZWN0cy9taXMtY29tcG9uZW50cy9kYXRlcGlja2VyX3YyL3R6LWRhdGVwaWNrZXIuZGlyZWN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