mis-crystal-design-system 4.0.51 → 14.0.1
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 +3 -0
- package/action-list/action-list.module.d.ts +9 -0
- package/analytics/analytics.module.d.ts +4 -0
- package/analytics/analytics.service.d.ts +3 -0
- package/async-search-dropdown/async-dropdown.component.d.ts +5 -2
- package/async-search-dropdown/async-dropdown.module.d.ts +9 -0
- package/button/button.component.d.ts +3 -0
- package/button/button.directive.d.ts +3 -0
- package/button/button.module.d.ts +7 -0
- package/checkbox/checkbox.component.d.ts +3 -0
- package/checkbox/checkbox.module.d.ts +7 -0
- package/chip/chip.component.d.ts +3 -0
- package/chip/chip.module.d.ts +6 -0
- package/datepicker_v2/datepicker.module.d.ts +10 -0
- package/datepicker_v2/public_api.d.ts +1 -0
- package/datepicker_v2/tz-datepicker.directive.d.ts +3 -0
- package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +3 -0
- package/daterangepicker_v2/daterangepicker.module.d.ts +10 -0
- package/daterangepicker_v2/public_api.d.ts +1 -0
- package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +3 -0
- package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +3 -0
- package/drawer/drawer-body/drawer-body.component.d.ts +3 -1
- package/drawer/drawer.module.d.ts +8 -0
- package/drawer/drawer.service.d.ts +3 -0
- package/dropdown/calculate-container-height.directive.d.ts +3 -0
- package/dropdown/dropdown.component.d.ts +3 -0
- package/dropdown/dropdown.module.d.ts +11 -0
- package/dynamic-form/dynamic-form.component.d.ts +11 -8
- package/dynamic-form/dynamic-form.module.d.ts +13 -0
- package/esm2020/action-list/action-list.component.mjs +370 -0
- package/esm2020/action-list/action-list.module.mjs +25 -0
- package/esm2020/analytics/analytics.module.mjs +18 -0
- package/esm2020/analytics/analytics.service.mjs +63 -0
- package/esm2020/async-search-dropdown/async-dropdown.component.mjs +473 -0
- package/esm2020/async-search-dropdown/async-dropdown.module.mjs +22 -0
- package/esm2020/button/button.component.mjs +87 -0
- package/esm2020/button/button.directive.mjs +61 -0
- package/esm2020/button/button.module.mjs +23 -0
- package/esm2020/checkbox/checkbox.component.mjs +124 -0
- package/esm2020/checkbox/checkbox.module.mjs +23 -0
- package/esm2020/chip/chip.component.mjs +82 -0
- package/esm2020/chip/chip.module.mjs +22 -0
- package/esm2020/datepicker_v2/datepicker.module.mjs +24 -0
- package/esm2020/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +5 -0
- package/esm2020/datepicker_v2/public_api.mjs +4 -0
- package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +164 -0
- package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +245 -0
- package/esm2020/daterangepicker_v2/daterangepicker.module.mjs +25 -0
- package/esm2020/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +5 -0
- package/esm2020/daterangepicker_v2/public_api.mjs +4 -0
- package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +135 -0
- package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +364 -0
- package/esm2020/drawer/drawer-body/drawer-body.component.mjs +58 -0
- package/esm2020/drawer/drawer.module.mjs +33 -0
- package/esm2020/drawer/drawer.service.mjs +56 -0
- package/esm2020/drawer/mis-crystal-design-system-drawer.mjs +5 -0
- package/esm2020/dropdown/calculate-container-height.directive.mjs +41 -0
- package/esm2020/dropdown/dropdown.component.mjs +410 -0
- package/esm2020/dropdown/dropdown.module.mjs +27 -0
- package/esm2020/dropdown/mis-crystal-design-system-dropdown.mjs +5 -0
- package/esm2020/dynamic-form/dynamic-form.component.mjs +712 -0
- package/esm2020/dynamic-form/dynamic-form.module.mjs +56 -0
- package/esm2020/fab/fab.component.mjs +144 -0
- package/esm2020/fab/fab.module.mjs +22 -0
- package/esm2020/input/directives/input/input.directive.mjs +40 -0
- package/esm2020/input/mis-input.component.mjs +84 -0
- package/esm2020/input/mis-input.module.mjs +21 -0
- package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +74 -0
- package/esm2020/input-stepper/input-stepper.module.mjs +25 -0
- package/esm2020/loader/loader.component.mjs +24 -0
- package/esm2020/loader/loader.module.mjs +22 -0
- package/esm2020/menu/menu-close.directive.mjs +25 -0
- package/esm2020/menu/menu.directive.mjs +77 -0
- package/esm2020/menu/menu.module.mjs +23 -0
- package/esm2020/mobile-filter/mobile-filter.component.mjs +179 -0
- package/esm2020/mobile-filter/mobile-filter.module.mjs +21 -0
- package/esm2020/modal/mis-crystal-design-system-modal.mjs +5 -0
- package/esm2020/modal/modal.module.mjs +33 -0
- 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 +483 -0
- package/esm2020/multi-select-dropdown/multi-select-dropdown.module.mjs +26 -0
- package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +510 -0
- package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +26 -0
- package/esm2020/phone-input/phone-input.component.mjs +115 -0
- package/esm2020/phone-input/phone-input.module.mjs +27 -0
- package/esm2020/radio-button/radio-button.component.mjs +56 -0
- package/esm2020/radio-button/radio-button.module.mjs +23 -0
- package/esm2020/ske-loader/ske-loader.component.mjs +53 -0
- package/esm2020/ske-loader/ske-loader.module.mjs +19 -0
- package/esm2020/slider/slider.component.mjs +45 -0
- package/esm2020/slider/slider.module.mjs +30 -0
- package/esm2020/snackbar/snackbar/snackbar.component.mjs +72 -0
- package/esm2020/snackbar/snackbar.module.mjs +36 -0
- package/esm2020/snackbar/snackbar.service.mjs +47 -0
- package/esm2020/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +5 -0
- package/esm2020/specificdatepicker/public_api.mjs +4 -0
- package/esm2020/specificdatepicker/specificdatepicker.module.mjs +27 -0
- package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +619 -0
- package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
- package/esm2020/star-rating/star-rating.component.mjs +112 -0
- package/esm2020/star-rating/star-rating.module.mjs +19 -0
- package/esm2020/switch/switch.component.mjs +55 -0
- package/esm2020/switch/switch.module.mjs +23 -0
- package/esm2020/table/custom-table-cell.directive.mjs +42 -0
- package/esm2020/table/filter/filter.component.mjs +168 -0
- package/esm2020/table/mis-crystal-design-system-table.mjs +5 -0
- package/esm2020/table/public_api.mjs +6 -0
- package/esm2020/table/sub-table/sub-table.component.mjs +193 -0
- package/esm2020/table/table.component.mjs +476 -0
- package/esm2020/table/table.module.mjs +27 -0
- package/esm2020/timepicker/mis-crystal-design-system-timepicker.mjs +5 -0
- package/esm2020/timepicker/timepicker.component.mjs +339 -0
- package/esm2020/timepicker/timepicker.directive.mjs +65 -0
- package/esm2020/timepicker/timepicker.module.mjs +26 -0
- package/esm2020/timerangepicker/timerangepicker.component.mjs +227 -0
- package/esm2020/timerangepicker/timerangepicker.module.mjs +24 -0
- package/esm2020/toast/toast.component.mjs +50 -0
- package/{esm2015/toast/toast.data.service.js → esm2020/toast/toast.data.service.mjs} +8 -7
- package/esm2020/toast/toast.module.mjs +33 -0
- package/esm2020/toast/toast.service.mjs +91 -0
- package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +78 -0
- package/esm2020/tooltip/tooltip.directive.mjs +137 -0
- package/esm2020/tooltip/tooltip.module.mjs +24 -0
- package/esm2020/virtual-scroll/virtual-scroll.component.mjs +190 -0
- package/esm2020/virtual-scroll/virtual-scroll.module.mjs +34 -0
- package/{esm2015/widgets/classes/base-widget.js → esm2020/widgets/classes/base-widget.mjs} +2 -2
- package/esm2020/widgets/classes/widget-group.mjs +32 -0
- package/esm2020/widgets/services/widget.service.mjs +18 -0
- package/esm2020/widgets/widgets.module.mjs +18 -0
- package/fab/fab.component.d.ts +3 -0
- package/fab/fab.module.d.ts +6 -0
- 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.js → mis-crystal-design-system-analytics.mjs} +26 -14
- package/fesm2015/mis-crystal-design-system-analytics.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +563 -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 +501 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +599 -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 +536 -0
- package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +867 -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-input-stepper.mjs +110 -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 +225 -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 +542 -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 +552 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-phone-input.mjs +151 -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 +942 -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-styles.mjs +4 -0
- package/fesm2015/mis-crystal-design-system-styles.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 +1017 -0
- package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs +448 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +264 -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 +265 -0
- package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +1 -0
- package/fesm2015/{mis-crystal-design-system-utils.js → mis-crystal-design-system-utils.mjs} +1 -1
- package/fesm2015/mis-crystal-design-system-utils.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.js → mis-crystal-design-system-widgets.mjs} +16 -8
- package/fesm2015/mis-crystal-design-system-widgets.mjs.map +1 -0
- package/fesm2015/{mis-crystal-design-system.js → mis-crystal-design-system.mjs} +1 -1
- package/fesm2015/mis-crystal-design-system.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-action-list.mjs +398 -0
- package/fesm2020/mis-crystal-design-system-action-list.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-analytics.mjs +85 -0
- package/fesm2020/mis-crystal-design-system-analytics.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs +497 -0
- 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/fesm2020/mis-crystal-design-system-datepicker_v2.mjs +477 -0
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +567 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
- package/{fesm2015/mis-crystal-design-system-drawer.js → fesm2020/mis-crystal-design-system-drawer.mjs} +55 -36
- package/fesm2020/mis-crystal-design-system-drawer.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-dropdown.mjs +477 -0
- package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs +770 -0
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-fab.mjs +170 -0
- package/fesm2020/mis-crystal-design-system-fab.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-input-stepper.mjs +103 -0
- package/fesm2020/mis-crystal-design-system-input-stepper.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-input.mjs +145 -0
- package/fesm2020/mis-crystal-design-system-input.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-loader.mjs +50 -0
- package/fesm2020/mis-crystal-design-system-loader.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-menu.mjs +124 -0
- package/fesm2020/mis-crystal-design-system-menu.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +204 -0
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-modal.mjs +172 -0
- package/fesm2020/mis-crystal-design-system-modal.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs +512 -0
- package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs +539 -0
- package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-phone-input.mjs +144 -0
- package/fesm2020/mis-crystal-design-system-phone-input.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-radio-button.mjs +82 -0
- package/fesm2020/mis-crystal-design-system-radio-button.mjs.map +1 -0
- 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/fesm2020/mis-crystal-design-system-slider.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-snackbar.mjs +155 -0
- package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs +884 -0
- package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-star-rating.mjs +135 -0
- 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/fesm2020/mis-crystal-design-system-table.mjs +895 -0
- package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-timepicker.mjs +425 -0
- package/fesm2020/mis-crystal-design-system-timepicker.mjs.map +1 -0
- package/{fesm2015/mis-crystal-design-system-timerangepicker.js → fesm2020/mis-crystal-design-system-timerangepicker.mjs} +73 -36
- package/fesm2020/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-toast.mjs +198 -0
- package/fesm2020/mis-crystal-design-system-toast.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-tooltip.mjs +238 -0
- package/fesm2020/mis-crystal-design-system-tooltip.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-utils.mjs +24 -0
- package/fesm2020/mis-crystal-design-system-utils.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs +229 -0
- package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-widgets.mjs +129 -0
- package/fesm2020/mis-crystal-design-system-widgets.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system.mjs +24 -0
- package/fesm2020/mis-crystal-design-system.mjs.map +1 -0
- package/input/directives/input/input.directive.d.ts +3 -0
- package/input/mis-input.component.d.ts +3 -0
- package/input/mis-input.module.d.ts +8 -0
- package/input-stepper/input-stepper/input-stepper.component.d.ts +3 -0
- package/input-stepper/input-stepper.module.d.ts +6 -0
- package/loader/loader.component.d.ts +3 -0
- package/loader/loader.module.d.ts +6 -0
- package/menu/menu-close.directive.d.ts +3 -0
- package/menu/menu.directive.d.ts +3 -0
- package/menu/menu.module.d.ts +9 -1
- package/mobile-filter/mobile-filter.component.d.ts +3 -0
- package/mobile-filter/mobile-filter.module.d.ts +8 -0
- package/modal/modal.module.d.ts +8 -0
- package/modal/modal.service.d.ts +3 -0
- package/modal/module-wrapper/module-wrapper.component.d.ts +3 -0
- package/multi-select-dropdown/multi-select-dropdown.component.d.ts +4 -0
- package/multi-select-dropdown/multi-select-dropdown.module.d.ts +10 -0
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +3 -0
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.module.d.ts +10 -0
- package/package.json +320 -9
- package/phone-input/phone-input.component.d.ts +5 -2
- package/phone-input/phone-input.module.d.ts +10 -0
- package/radio-button/radio-button.component.d.ts +3 -0
- package/radio-button/radio-button.module.d.ts +7 -0
- package/ske-loader/ske-loader.component.d.ts +3 -0
- package/ske-loader/ske-loader.module.d.ts +6 -0
- package/slider/slider.component.d.ts +6 -3
- package/slider/slider.module.d.ts +7 -0
- package/snackbar/snackbar/snackbar.component.d.ts +3 -0
- package/snackbar/snackbar.module.d.ts +6 -0
- package/snackbar/snackbar.service.d.ts +5 -2
- package/specificdatepicker/public_api.d.ts +1 -0
- package/specificdatepicker/specificdatepicker.module.d.ts +12 -0
- package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +5 -2
- package/specificdatepicker/tz-specificdatepicker.directive.d.ts +3 -0
- package/star-rating/star-rating.component.d.ts +3 -0
- package/star-rating/star-rating.module.d.ts +6 -0
- package/switch/switch.component.d.ts +3 -0
- package/switch/switch.module.d.ts +7 -0
- package/table/custom-table-cell.directive.d.ts +3 -0
- package/table/filter/filter.component.d.ts +3 -0
- package/table/public_api.d.ts +1 -0
- package/table/sub-table/sub-table.component.d.ts +3 -0
- package/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +11 -0
- package/timepicker/timepicker.component.d.ts +3 -0
- package/timepicker/timepicker.directive.d.ts +3 -0
- package/timepicker/timepicker.module.d.ts +10 -0
- package/timerangepicker/timerangepicker.component.d.ts +3 -0
- package/timerangepicker/timerangepicker.module.d.ts +8 -0
- package/toast/toast.component.d.ts +3 -0
- package/toast/toast.data.service.d.ts +3 -0
- package/toast/toast.module.d.ts +7 -0
- package/toast/toast.service.d.ts +3 -0
- package/tooltip/tooltip-container/tooltip.component.d.ts +3 -0
- package/tooltip/tooltip.directive.d.ts +3 -0
- package/tooltip/tooltip.module.d.ts +8 -0
- package/virtual-scroll/virtual-scroll.component.d.ts +3 -0
- package/virtual-scroll/virtual-scroll.module.d.ts +8 -0
- package/widgets/services/widget.service.d.ts +3 -0
- package/widgets/widgets.module.d.ts +5 -0
- package/action-list/mis-crystal-design-system-action-list.d.ts +0 -4
- package/action-list/mis-crystal-design-system-action-list.metadata.json +0 -1
- package/action-list/package.json +0 -11
- package/analytics/mis-crystal-design-system-analytics.d.ts +0 -4
- package/analytics/mis-crystal-design-system-analytics.metadata.json +0 -1
- package/analytics/package.json +0 -11
- package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.d.ts +0 -4
- package/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.metadata.json +0 -1
- package/async-search-dropdown/package.json +0 -11
- package/bundles/mis-crystal-design-system-action-list.umd.js +0 -509
- package/bundles/mis-crystal-design-system-action-list.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-action-list.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-action-list.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-analytics.umd.js +0 -422
- package/bundles/mis-crystal-design-system-analytics.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-analytics.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-analytics.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js +0 -279
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-async-search-dropdown.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-button.umd.js +0 -134
- package/bundles/mis-crystal-design-system-button.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-button.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-button.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-checkbox.umd.js +0 -127
- package/bundles/mis-crystal-design-system-checkbox.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-checkbox.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-checkbox.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-chip.umd.js +0 -64
- package/bundles/mis-crystal-design-system-chip.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-chip.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-chip.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.js +0 -706
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-datepicker_v2.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js +0 -464
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-daterangepicker_v2.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-drawer.umd.js +0 -169
- package/bundles/mis-crystal-design-system-drawer.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-drawer.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-drawer.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-dropdown.umd.js +0 -558
- package/bundles/mis-crystal-design-system-dropdown.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-dropdown.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-dropdown.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-dynamic-form.umd.js +0 -740
- package/bundles/mis-crystal-design-system-dynamic-form.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-dynamic-form.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-dynamic-form.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-fab.umd.js +0 -95
- package/bundles/mis-crystal-design-system-fab.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-fab.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-fab.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-input-stepper.umd.js +0 -85
- package/bundles/mis-crystal-design-system-input-stepper.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-input-stepper.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-input-stepper.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-input.umd.js +0 -116
- package/bundles/mis-crystal-design-system-input.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-input.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-input.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-loader.umd.js +0 -53
- package/bundles/mis-crystal-design-system-loader.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-loader.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-loader.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-menu.umd.js +0 -119
- package/bundles/mis-crystal-design-system-menu.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-menu.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-menu.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-mobile-filter.umd.js +0 -89
- package/bundles/mis-crystal-design-system-mobile-filter.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-mobile-filter.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-mobile-filter.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-modal.umd.js +0 -161
- package/bundles/mis-crystal-design-system-modal.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-modal.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-modal.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js +0 -623
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-multi-select-dropdown.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js +0 -636
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-nested-multi-select-dropdown.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-phone-input.umd.js +0 -117
- package/bundles/mis-crystal-design-system-phone-input.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-phone-input.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-phone-input.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-radio-button.umd.js +0 -77
- package/bundles/mis-crystal-design-system-radio-button.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-radio-button.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-radio-button.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-ske-loader.umd.js +0 -65
- package/bundles/mis-crystal-design-system-ske-loader.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-ske-loader.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-ske-loader.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-slider.umd.js +0 -73
- package/bundles/mis-crystal-design-system-slider.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-slider.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-slider.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-snackbar.umd.js +0 -114
- package/bundles/mis-crystal-design-system-snackbar.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-snackbar.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-snackbar.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-specificdatepicker.umd.js +0 -977
- package/bundles/mis-crystal-design-system-specificdatepicker.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-specificdatepicker.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-specificdatepicker.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-star-rating.umd.js +0 -112
- package/bundles/mis-crystal-design-system-star-rating.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-star-rating.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-star-rating.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-styles.umd.js +0 -11
- package/bundles/mis-crystal-design-system-styles.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-styles.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-styles.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-switch.umd.js +0 -79
- package/bundles/mis-crystal-design-system-switch.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-switch.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-switch.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-table.umd.js +0 -784
- package/bundles/mis-crystal-design-system-table.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-table.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-table.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-timepicker.umd.js +0 -688
- package/bundles/mis-crystal-design-system-timepicker.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-timepicker.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-timepicker.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-timerangepicker.umd.js +0 -248
- package/bundles/mis-crystal-design-system-timerangepicker.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-timerangepicker.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-timerangepicker.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-toast.umd.js +0 -202
- package/bundles/mis-crystal-design-system-toast.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-toast.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-toast.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-tooltip.umd.js +0 -214
- package/bundles/mis-crystal-design-system-tooltip.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-tooltip.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-tooltip.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-utils.umd.js +0 -33
- package/bundles/mis-crystal-design-system-utils.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-utils.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system-utils.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.js +0 -471
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-virtual-scroll.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system-widgets.umd.js +0 -478
- package/bundles/mis-crystal-design-system-widgets.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system-widgets.umd.min.js +0 -16
- package/bundles/mis-crystal-design-system-widgets.umd.min.js.map +0 -1
- package/bundles/mis-crystal-design-system.umd.js +0 -31
- package/bundles/mis-crystal-design-system.umd.js.map +0 -1
- package/bundles/mis-crystal-design-system.umd.min.js +0 -2
- package/bundles/mis-crystal-design-system.umd.min.js.map +0 -1
- package/button/mis-crystal-design-system-button.d.ts +0 -4
- package/button/mis-crystal-design-system-button.metadata.json +0 -1
- package/button/package.json +0 -11
- package/checkbox/mis-crystal-design-system-checkbox.d.ts +0 -4
- package/checkbox/mis-crystal-design-system-checkbox.metadata.json +0 -1
- package/checkbox/package.json +0 -11
- package/chip/mis-crystal-design-system-chip.d.ts +0 -4
- package/chip/mis-crystal-design-system-chip.metadata.json +0 -1
- package/chip/package.json +0 -11
- package/datepicker_v2/mis-crystal-design-system-datepicker_v2.d.ts +0 -7
- package/datepicker_v2/mis-crystal-design-system-datepicker_v2.metadata.json +0 -1
- package/datepicker_v2/package.json +0 -11
- package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.d.ts +0 -7
- package/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.metadata.json +0 -1
- package/daterangepicker_v2/package.json +0 -11
- package/drawer/mis-crystal-design-system-drawer.d.ts +0 -5
- package/drawer/mis-crystal-design-system-drawer.metadata.json +0 -1
- package/drawer/package.json +0 -11
- package/dropdown/mis-crystal-design-system-dropdown.d.ts +0 -5
- package/dropdown/mis-crystal-design-system-dropdown.metadata.json +0 -1
- package/dropdown/package.json +0 -11
- package/dynamic-form/mis-crystal-design-system-dynamic-form.d.ts +0 -4
- package/dynamic-form/mis-crystal-design-system-dynamic-form.metadata.json +0 -1
- package/dynamic-form/package.json +0 -11
- package/esm2015/action-list/action-list.component.js +0 -161
- package/esm2015/action-list/action-list.module.js +0 -19
- package/esm2015/analytics/analytics.module.js +0 -14
- package/esm2015/analytics/analytics.service.js +0 -62
- package/esm2015/async-search-dropdown/async-dropdown.component.js +0 -243
- package/esm2015/async-search-dropdown/async-dropdown.module.js +0 -16
- package/esm2015/button/button.component.js +0 -43
- package/esm2015/button/button.directive.js +0 -57
- package/esm2015/button/button.module.js +0 -17
- package/esm2015/checkbox/checkbox.component.js +0 -79
- package/esm2015/checkbox/checkbox.module.js +0 -17
- package/esm2015/chip/chip.component.js +0 -31
- package/esm2015/chip/chip.module.js +0 -16
- package/esm2015/datepicker_v2/datepicker.module.js +0 -18
- package/esm2015/datepicker_v2/mis-crystal-design-system-datepicker_v2.js +0 -7
- package/esm2015/datepicker_v2/public_api.js +0 -3
- package/esm2015/datepicker_v2/tz-datepicker.directive.js +0 -144
- package/esm2015/datepicker_v2/tz-dp-container/tz-dp-container.component.js +0 -149
- package/esm2015/daterangepicker_v2/daterangepicker.module.js +0 -18
- package/esm2015/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.js +0 -7
- package/esm2015/daterangepicker_v2/public_api.js +0 -3
- package/esm2015/daterangepicker_v2/tz-daterangepicker.directive.js +0 -123
- package/esm2015/daterangepicker_v2/tz-drp-container/tz-drp-container.component.js +0 -226
- package/esm2015/drawer/drawer-body/drawer-body.component.js +0 -41
- package/esm2015/drawer/drawer.module.js +0 -28
- package/esm2015/drawer/drawer.service.js +0 -59
- package/esm2015/drawer/mis-crystal-design-system-drawer.js +0 -6
- package/esm2015/dropdown/calculate-container-height.directive.js +0 -40
- package/esm2015/dropdown/dropdown.component.js +0 -169
- package/esm2015/dropdown/dropdown.module.js +0 -21
- package/esm2015/dropdown/mis-crystal-design-system-dropdown.js +0 -6
- package/esm2015/dynamic-form/dynamic-form.component.js +0 -308
- package/esm2015/dynamic-form/dynamic-form.module.js +0 -34
- package/esm2015/fab/fab.component.js +0 -63
- package/esm2015/fab/fab.module.js +0 -16
- package/esm2015/input/directives/input/input.directive.js +0 -38
- package/esm2015/input/mis-input.component.js +0 -45
- package/esm2015/input/mis-input.module.js +0 -15
- package/esm2015/input-stepper/input-stepper/input-stepper.component.js +0 -49
- package/esm2015/input-stepper/input-stepper.module.js +0 -19
- package/esm2015/loader/loader.component.js +0 -20
- package/esm2015/loader/loader.module.js +0 -16
- package/esm2015/menu/menu-close.directive.js +0 -18
- package/esm2015/menu/menu.directive.js +0 -70
- package/esm2015/menu/menu.module.js +0 -17
- package/esm2015/mobile-filter/mobile-filter.component.js +0 -54
- package/esm2015/mobile-filter/mobile-filter.module.js +0 -15
- package/esm2015/modal/mis-crystal-design-system-modal.js +0 -6
- package/esm2015/modal/modal.module.js +0 -28
- package/esm2015/modal/modal.service.js +0 -72
- package/esm2015/modal/module-wrapper/module-wrapper.component.js +0 -33
- package/esm2015/multi-select-dropdown/multi-select-dropdown.component.js +0 -269
- package/esm2015/multi-select-dropdown/multi-select-dropdown.module.js +0 -20
- package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.component.js +0 -265
- package/esm2015/nested-multi-select-dropdown/nested-multi-select-dropdown.module.js +0 -20
- package/esm2015/phone-input/phone-input.component.js +0 -85
- package/esm2015/phone-input/phone-input.module.js +0 -21
- package/esm2015/radio-button/radio-button.component.js +0 -45
- package/esm2015/radio-button/radio-button.module.js +0 -17
- package/esm2015/ske-loader/ske-loader.component.js +0 -31
- package/esm2015/ske-loader/ske-loader.module.js +0 -13
- package/esm2015/slider/slider.component.js +0 -38
- package/esm2015/slider/slider.module.js +0 -20
- package/esm2015/snackbar/snackbar/snackbar.component.js +0 -22
- package/esm2015/snackbar/snackbar.module.js +0 -31
- package/esm2015/snackbar/snackbar.service.js +0 -48
- package/esm2015/specificdatepicker/mis-crystal-design-system-specificdatepicker.js +0 -7
- package/esm2015/specificdatepicker/public_api.js +0 -3
- package/esm2015/specificdatepicker/specificdatepicker.module.js +0 -20
- package/esm2015/specificdatepicker/tz-sdp-container/tz-sdp-container.component.js +0 -356
- package/esm2015/specificdatepicker/tz-specificdatepicker.directive.js +0 -179
- package/esm2015/star-rating/star-rating.component.js +0 -78
- package/esm2015/star-rating/star-rating.module.js +0 -13
- package/esm2015/switch/switch.component.js +0 -39
- package/esm2015/switch/switch.module.js +0 -17
- package/esm2015/table/custom-table-cell.directive.js +0 -42
- package/esm2015/table/filter/filter.component.js +0 -75
- package/esm2015/table/mis-crystal-design-system-table.js +0 -6
- package/esm2015/table/public_api.js +0 -5
- package/esm2015/table/sub-table/sub-table.component.js +0 -69
- package/esm2015/table/table.component.js +0 -200
- package/esm2015/table/table.module.js +0 -21
- package/esm2015/timepicker/mis-crystal-design-system-timepicker.js +0 -6
- package/esm2015/timepicker/timepicker.component.js +0 -248
- package/esm2015/timepicker/timepicker.directive.js +0 -62
- package/esm2015/timepicker/timepicker.module.js +0 -20
- package/esm2015/timerangepicker/timerangepicker.component.js +0 -194
- package/esm2015/timerangepicker/timerangepicker.module.js +0 -18
- package/esm2015/toast/toast.component.js +0 -28
- package/esm2015/toast/toast.module.js +0 -28
- package/esm2015/toast/toast.service.js +0 -96
- package/esm2015/tooltip/tooltip-container/tooltip.component.js +0 -35
- package/esm2015/tooltip/tooltip.directive.js +0 -128
- package/esm2015/tooltip/tooltip.module.js +0 -19
- package/esm2015/virtual-scroll/virtual-scroll.component.js +0 -111
- package/esm2015/virtual-scroll/virtual-scroll.module.js +0 -24
- package/esm2015/widgets/classes/widget-group.js +0 -32
- package/esm2015/widgets/services/widget.service.js +0 -16
- package/esm2015/widgets/widgets.module.js +0 -12
- package/fab/mis-crystal-design-system-fab.d.ts +0 -4
- package/fab/mis-crystal-design-system-fab.metadata.json +0 -1
- package/fab/package.json +0 -11
- package/fesm2015/mis-crystal-design-system-action-list.js +0 -184
- package/fesm2015/mis-crystal-design-system-action-list.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-analytics.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.js +0 -262
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-button.js +0 -120
- package/fesm2015/mis-crystal-design-system-button.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-checkbox.js +0 -100
- package/fesm2015/mis-crystal-design-system-checkbox.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-chip.js +0 -52
- package/fesm2015/mis-crystal-design-system-chip.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-datepicker_v2.js +0 -357
- package/fesm2015/mis-crystal-design-system-datepicker_v2.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js +0 -413
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-drawer.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-dropdown.js +0 -232
- package/fesm2015/mis-crystal-design-system-dropdown.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-dynamic-form.js +0 -346
- package/fesm2015/mis-crystal-design-system-dynamic-form.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-fab.js +0 -84
- package/fesm2015/mis-crystal-design-system-fab.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-input-stepper.js +0 -73
- package/fesm2015/mis-crystal-design-system-input-stepper.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-input.js +0 -99
- package/fesm2015/mis-crystal-design-system-input.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-loader.js +0 -41
- package/fesm2015/mis-crystal-design-system-loader.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-menu.js +0 -106
- package/fesm2015/mis-crystal-design-system-menu.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-mobile-filter.js +0 -74
- package/fesm2015/mis-crystal-design-system-mobile-filter.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-modal.js +0 -147
- package/fesm2015/mis-crystal-design-system-modal.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js +0 -293
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js +0 -289
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-phone-input.js +0 -109
- package/fesm2015/mis-crystal-design-system-phone-input.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-radio-button.js +0 -66
- package/fesm2015/mis-crystal-design-system-radio-button.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-ske-loader.js +0 -49
- package/fesm2015/mis-crystal-design-system-ske-loader.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-slider.js +0 -62
- package/fesm2015/mis-crystal-design-system-slider.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-snackbar.js +0 -101
- package/fesm2015/mis-crystal-design-system-snackbar.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-specificdatepicker.js +0 -599
- package/fesm2015/mis-crystal-design-system-specificdatepicker.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-star-rating.js +0 -96
- package/fesm2015/mis-crystal-design-system-star-rating.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-styles.js +0 -4
- package/fesm2015/mis-crystal-design-system-styles.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-switch.js +0 -60
- package/fesm2015/mis-crystal-design-system-switch.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-table.js +0 -406
- package/fesm2015/mis-crystal-design-system-table.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-timepicker.js +0 -330
- package/fesm2015/mis-crystal-design-system-timepicker.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-timerangepicker.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-toast.js +0 -174
- package/fesm2015/mis-crystal-design-system-toast.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-tooltip.js +0 -183
- package/fesm2015/mis-crystal-design-system-tooltip.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-utils.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-virtual-scroll.js +0 -141
- package/fesm2015/mis-crystal-design-system-virtual-scroll.js.map +0 -1
- package/fesm2015/mis-crystal-design-system-widgets.js.map +0 -1
- package/fesm2015/mis-crystal-design-system.js.map +0 -1
- package/input/mis-crystal-design-system-input.d.ts +0 -4
- package/input/mis-crystal-design-system-input.metadata.json +0 -1
- package/input/package.json +0 -11
- package/input-stepper/mis-crystal-design-system-input-stepper.d.ts +0 -4
- package/input-stepper/mis-crystal-design-system-input-stepper.metadata.json +0 -1
- package/input-stepper/package.json +0 -11
- package/loader/mis-crystal-design-system-loader.d.ts +0 -4
- package/loader/mis-crystal-design-system-loader.metadata.json +0 -1
- package/loader/package.json +0 -11
- package/menu/mis-crystal-design-system-menu.d.ts +0 -4
- package/menu/mis-crystal-design-system-menu.metadata.json +0 -1
- package/menu/package.json +0 -11
- package/mis-crystal-design-system.d.ts +0 -4
- package/mis-crystal-design-system.metadata.json +0 -1
- package/mobile-filter/mis-crystal-design-system-mobile-filter.d.ts +0 -4
- package/mobile-filter/mis-crystal-design-system-mobile-filter.metadata.json +0 -1
- package/mobile-filter/package.json +0 -11
- package/modal/mis-crystal-design-system-modal.d.ts +0 -5
- package/modal/mis-crystal-design-system-modal.metadata.json +0 -1
- package/modal/package.json +0 -11
- package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.d.ts +0 -4
- package/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.metadata.json +0 -1
- package/multi-select-dropdown/package.json +0 -11
- package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.d.ts +0 -4
- package/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.metadata.json +0 -1
- package/nested-multi-select-dropdown/package.json +0 -11
- package/phone-input/mis-crystal-design-system-phone-input.d.ts +0 -4
- package/phone-input/mis-crystal-design-system-phone-input.metadata.json +0 -1
- package/phone-input/package.json +0 -11
- package/radio-button/mis-crystal-design-system-radio-button.d.ts +0 -4
- package/radio-button/mis-crystal-design-system-radio-button.metadata.json +0 -1
- package/radio-button/package.json +0 -11
- package/ske-loader/mis-crystal-design-system-ske-loader.d.ts +0 -4
- package/ske-loader/mis-crystal-design-system-ske-loader.metadata.json +0 -1
- package/ske-loader/package.json +0 -11
- package/slider/mis-crystal-design-system-slider.d.ts +0 -4
- package/slider/mis-crystal-design-system-slider.metadata.json +0 -1
- package/slider/package.json +0 -11
- package/snackbar/mis-crystal-design-system-snackbar.d.ts +0 -4
- package/snackbar/mis-crystal-design-system-snackbar.metadata.json +0 -1
- package/snackbar/package.json +0 -11
- package/specificdatepicker/mis-crystal-design-system-specificdatepicker.d.ts +0 -7
- package/specificdatepicker/mis-crystal-design-system-specificdatepicker.metadata.json +0 -1
- package/specificdatepicker/package.json +0 -11
- package/star-rating/mis-crystal-design-system-star-rating.d.ts +0 -4
- package/star-rating/mis-crystal-design-system-star-rating.metadata.json +0 -1
- package/star-rating/package.json +0 -11
- package/styles/mis-crystal-design-system-styles.d.ts +0 -4
- package/styles/mis-crystal-design-system-styles.metadata.json +0 -1
- package/styles/package.json +0 -11
- package/switch/mis-crystal-design-system-switch.d.ts +0 -4
- package/switch/mis-crystal-design-system-switch.metadata.json +0 -1
- package/switch/package.json +0 -11
- package/table/mis-crystal-design-system-table.d.ts +0 -5
- package/table/mis-crystal-design-system-table.metadata.json +0 -1
- package/table/package.json +0 -11
- package/timepicker/mis-crystal-design-system-timepicker.d.ts +0 -5
- package/timepicker/mis-crystal-design-system-timepicker.metadata.json +0 -1
- package/timepicker/package.json +0 -11
- package/timerangepicker/mis-crystal-design-system-timerangepicker.d.ts +0 -4
- package/timerangepicker/mis-crystal-design-system-timerangepicker.metadata.json +0 -1
- package/timerangepicker/package.json +0 -11
- package/toast/mis-crystal-design-system-toast.d.ts +0 -4
- package/toast/mis-crystal-design-system-toast.metadata.json +0 -1
- package/toast/package.json +0 -11
- package/tooltip/mis-crystal-design-system-tooltip.d.ts +0 -4
- package/tooltip/mis-crystal-design-system-tooltip.metadata.json +0 -1
- package/tooltip/package.json +0 -11
- package/utils/mis-crystal-design-system-utils.d.ts +0 -4
- package/utils/mis-crystal-design-system-utils.metadata.json +0 -1
- package/utils/package.json +0 -11
- package/virtual-scroll/mis-crystal-design-system-virtual-scroll.d.ts +0 -4
- package/virtual-scroll/mis-crystal-design-system-virtual-scroll.metadata.json +0 -1
- package/virtual-scroll/package.json +0 -11
- package/widgets/mis-crystal-design-system-widgets.d.ts +0 -4
- package/widgets/mis-crystal-design-system-widgets.metadata.json +0 -1
- package/widgets/package.json +0 -11
- /package/{esm2015/action-list/index.js → esm2020/action-list/index.mjs} +0 -0
- /package/{esm2015/action-list/mis-crystal-design-system-action-list.js → esm2020/action-list/mis-crystal-design-system-action-list.mjs} +0 -0
- /package/{esm2015/action-list/public_api.js → esm2020/action-list/public_api.mjs} +0 -0
- /package/{esm2015/analytics/index.js → esm2020/analytics/index.mjs} +0 -0
- /package/{esm2015/analytics/mis-crystal-design-system-analytics.js → esm2020/analytics/mis-crystal-design-system-analytics.mjs} +0 -0
- /package/{esm2015/analytics/public_api.js → esm2020/analytics/public_api.mjs} +0 -0
- /package/{esm2015/async-search-dropdown/index.js → esm2020/async-search-dropdown/index.mjs} +0 -0
- /package/{esm2015/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.js → esm2020/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs} +0 -0
- /package/{esm2015/async-search-dropdown/public_api.js → esm2020/async-search-dropdown/public_api.mjs} +0 -0
- /package/{esm2015/button/index.js → esm2020/button/index.mjs} +0 -0
- /package/{esm2015/button/mis-crystal-design-system-button.js → esm2020/button/mis-crystal-design-system-button.mjs} +0 -0
- /package/{esm2015/button/public_api.js → esm2020/button/public_api.mjs} +0 -0
- /package/{esm2015/checkbox/index.js → esm2020/checkbox/index.mjs} +0 -0
- /package/{esm2015/checkbox/mis-crystal-design-system-checkbox.js → esm2020/checkbox/mis-crystal-design-system-checkbox.mjs} +0 -0
- /package/{esm2015/checkbox/public_api.js → esm2020/checkbox/public_api.mjs} +0 -0
- /package/{esm2015/chip/index.js → esm2020/chip/index.mjs} +0 -0
- /package/{esm2015/chip/mis-crystal-design-system-chip.js → esm2020/chip/mis-crystal-design-system-chip.mjs} +0 -0
- /package/{esm2015/chip/public_api.js → esm2020/chip/public_api.mjs} +0 -0
- /package/{esm2015/datepicker_v2/datepicker-constants.js → esm2020/datepicker_v2/datepicker-constants.mjs} +0 -0
- /package/{esm2015/datepicker_v2/index.js → esm2020/datepicker_v2/index.mjs} +0 -0
- /package/{esm2015/datepicker_v2/models/dp-config.model.js → esm2020/datepicker_v2/models/dp-config.model.mjs} +0 -0
- /package/{esm2015/datepicker_v2/utils/index.js → esm2020/datepicker_v2/utils/index.mjs} +0 -0
- /package/{esm2015/daterangepicker_v2/daterangepicker-constants.js → esm2020/daterangepicker_v2/daterangepicker-constants.mjs} +0 -0
- /package/{esm2015/daterangepicker_v2/index.js → esm2020/daterangepicker_v2/index.mjs} +0 -0
- /package/{esm2015/daterangepicker_v2/models/drp-config.model.js → esm2020/daterangepicker_v2/models/drp-config.model.mjs} +0 -0
- /package/{esm2015/daterangepicker_v2/utils/index.js → esm2020/daterangepicker_v2/utils/index.mjs} +0 -0
- /package/{esm2015/drawer/drawer-constants.js → esm2020/drawer/drawer-constants.mjs} +0 -0
- /package/{esm2015/drawer/drawer-ref.js → esm2020/drawer/drawer-ref.mjs} +0 -0
- /package/{esm2015/drawer/index.js → esm2020/drawer/index.mjs} +0 -0
- /package/{esm2015/drawer/public_api.js → esm2020/drawer/public_api.mjs} +0 -0
- /package/{esm2015/dropdown/index.js → esm2020/dropdown/index.mjs} +0 -0
- /package/{esm2015/dropdown/public_api.js → esm2020/dropdown/public_api.mjs} +0 -0
- /package/{esm2015/dynamic-form/dynamic-form.namespace.js → esm2020/dynamic-form/dynamic-form.namespace.mjs} +0 -0
- /package/{esm2015/dynamic-form/index.js → esm2020/dynamic-form/index.mjs} +0 -0
- /package/{esm2015/dynamic-form/mis-crystal-design-system-dynamic-form.js → esm2020/dynamic-form/mis-crystal-design-system-dynamic-form.mjs} +0 -0
- /package/{esm2015/dynamic-form/public_api.js → esm2020/dynamic-form/public_api.mjs} +0 -0
- /package/{esm2015/fab/index.js → esm2020/fab/index.mjs} +0 -0
- /package/{esm2015/fab/mis-crystal-design-system-fab.js → esm2020/fab/mis-crystal-design-system-fab.mjs} +0 -0
- /package/{esm2015/fab/public_api.js → esm2020/fab/public_api.mjs} +0 -0
- /package/{esm2015/index.js → esm2020/index.mjs} +0 -0
- /package/{esm2015/input/index.js → esm2020/input/index.mjs} +0 -0
- /package/{esm2015/input/mis-crystal-design-system-input.js → esm2020/input/mis-crystal-design-system-input.mjs} +0 -0
- /package/{esm2015/input/public_api.js → esm2020/input/public_api.mjs} +0 -0
- /package/{esm2015/input-stepper/index.js → esm2020/input-stepper/index.mjs} +0 -0
- /package/{esm2015/input-stepper/mis-crystal-design-system-input-stepper.js → esm2020/input-stepper/mis-crystal-design-system-input-stepper.mjs} +0 -0
- /package/{esm2015/input-stepper/public_api.js → esm2020/input-stepper/public_api.mjs} +0 -0
- /package/{esm2015/loader/index.js → esm2020/loader/index.mjs} +0 -0
- /package/{esm2015/loader/mis-crystal-design-system-loader.js → esm2020/loader/mis-crystal-design-system-loader.mjs} +0 -0
- /package/{esm2015/loader/public_api.js → esm2020/loader/public_api.mjs} +0 -0
- /package/{esm2015/menu/index.js → esm2020/menu/index.mjs} +0 -0
- /package/{esm2015/menu/mis-crystal-design-system-menu.js → esm2020/menu/mis-crystal-design-system-menu.mjs} +0 -0
- /package/{esm2015/menu/public_api.js → esm2020/menu/public_api.mjs} +0 -0
- /package/{esm2015/mis-crystal-design-system.js → esm2020/mis-crystal-design-system.mjs} +0 -0
- /package/{esm2015/mobile-filter/index.js → esm2020/mobile-filter/index.mjs} +0 -0
- /package/{esm2015/mobile-filter/mis-crystal-design-system-mobile-filter.js → esm2020/mobile-filter/mis-crystal-design-system-mobile-filter.mjs} +0 -0
- /package/{esm2015/mobile-filter/public_api.js → esm2020/mobile-filter/public_api.mjs} +0 -0
- /package/{esm2015/modal/index.js → esm2020/modal/index.mjs} +0 -0
- /package/{esm2015/modal/modal-constants.js → esm2020/modal/modal-constants.mjs} +0 -0
- /package/{esm2015/modal/modal-ref.js → esm2020/modal/modal-ref.mjs} +0 -0
- /package/{esm2015/modal/public_api.js → esm2020/modal/public_api.mjs} +0 -0
- /package/{esm2015/multi-select-dropdown/index.js → esm2020/multi-select-dropdown/index.mjs} +0 -0
- /package/{esm2015/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.js → esm2020/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs} +0 -0
- /package/{esm2015/multi-select-dropdown/public_api.js → esm2020/multi-select-dropdown/public_api.mjs} +0 -0
- /package/{esm2015/nested-multi-select-dropdown/index.js → esm2020/nested-multi-select-dropdown/index.mjs} +0 -0
- /package/{esm2015/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.js → esm2020/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs} +0 -0
- /package/{esm2015/nested-multi-select-dropdown/public_api.js → esm2020/nested-multi-select-dropdown/public_api.mjs} +0 -0
- /package/{esm2015/phone-input/index.js → esm2020/phone-input/index.mjs} +0 -0
- /package/{esm2015/phone-input/mis-crystal-design-system-phone-input.js → esm2020/phone-input/mis-crystal-design-system-phone-input.mjs} +0 -0
- /package/{esm2015/phone-input/public_api.js → esm2020/phone-input/public_api.mjs} +0 -0
- /package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- /package/{esm2015/radio-button/index.js → esm2020/radio-button/index.mjs} +0 -0
- /package/{esm2015/radio-button/mis-crystal-design-system-radio-button.js → esm2020/radio-button/mis-crystal-design-system-radio-button.mjs} +0 -0
- /package/{esm2015/radio-button/public_api.js → esm2020/radio-button/public_api.mjs} +0 -0
- /package/{esm2015/ske-loader/index.js → esm2020/ske-loader/index.mjs} +0 -0
- /package/{esm2015/ske-loader/mis-crystal-design-system-ske-loader.js → esm2020/ske-loader/mis-crystal-design-system-ske-loader.mjs} +0 -0
- /package/{esm2015/ske-loader/public_api.js → esm2020/ske-loader/public_api.mjs} +0 -0
- /package/{esm2015/slider/index.js → esm2020/slider/index.mjs} +0 -0
- /package/{esm2015/slider/mis-crystal-design-system-slider.js → esm2020/slider/mis-crystal-design-system-slider.mjs} +0 -0
- /package/{esm2015/slider/public_api.js → esm2020/slider/public_api.mjs} +0 -0
- /package/{esm2015/snackbar/index.js → esm2020/snackbar/index.mjs} +0 -0
- /package/{esm2015/snackbar/mis-crystal-design-system-snackbar.js → esm2020/snackbar/mis-crystal-design-system-snackbar.mjs} +0 -0
- /package/{esm2015/snackbar/public_api.js → esm2020/snackbar/public_api.mjs} +0 -0
- /package/{esm2015/specificdatepicker/daterangepicker-constants.js → esm2020/specificdatepicker/daterangepicker-constants.mjs} +0 -0
- /package/{esm2015/specificdatepicker/index.js → esm2020/specificdatepicker/index.mjs} +0 -0
- /package/{esm2015/specificdatepicker/models/sdp-config.model.js → esm2020/specificdatepicker/models/sdp-config.model.mjs} +0 -0
- /package/{esm2015/specificdatepicker/utils/index.js → esm2020/specificdatepicker/utils/index.mjs} +0 -0
- /package/{esm2015/star-rating/index.js → esm2020/star-rating/index.mjs} +0 -0
- /package/{esm2015/star-rating/mis-crystal-design-system-star-rating.js → esm2020/star-rating/mis-crystal-design-system-star-rating.mjs} +0 -0
- /package/{esm2015/star-rating/public_api.js → esm2020/star-rating/public_api.mjs} +0 -0
- /package/{esm2015/styles/index.js → esm2020/styles/index.mjs} +0 -0
- /package/{esm2015/styles/mis-crystal-design-system-styles.js → esm2020/styles/mis-crystal-design-system-styles.mjs} +0 -0
- /package/{esm2015/styles/public_api.js → esm2020/styles/public_api.mjs} +0 -0
- /package/{esm2015/switch/index.js → esm2020/switch/index.mjs} +0 -0
- /package/{esm2015/switch/mis-crystal-design-system-switch.js → esm2020/switch/mis-crystal-design-system-switch.mjs} +0 -0
- /package/{esm2015/switch/public_api.js → esm2020/switch/public_api.mjs} +0 -0
- /package/{esm2015/table/index.js → esm2020/table/index.mjs} +0 -0
- /package/{esm2015/timepicker/index.js → esm2020/timepicker/index.mjs} +0 -0
- /package/{esm2015/timepicker/public_api.js → esm2020/timepicker/public_api.mjs} +0 -0
- /package/{esm2015/timepicker/time.namespace.js → esm2020/timepicker/time.namespace.mjs} +0 -0
- /package/{esm2015/timerangepicker/index.js → esm2020/timerangepicker/index.mjs} +0 -0
- /package/{esm2015/timerangepicker/mis-crystal-design-system-timerangepicker.js → esm2020/timerangepicker/mis-crystal-design-system-timerangepicker.mjs} +0 -0
- /package/{esm2015/timerangepicker/public_api.js → esm2020/timerangepicker/public_api.mjs} +0 -0
- /package/{esm2015/timerangepicker/timerange.namespace.js → esm2020/timerangepicker/timerange.namespace.mjs} +0 -0
- /package/{esm2015/toast/index.js → esm2020/toast/index.mjs} +0 -0
- /package/{esm2015/toast/mis-crystal-design-system-toast.js → esm2020/toast/mis-crystal-design-system-toast.mjs} +0 -0
- /package/{esm2015/toast/public_api.js → esm2020/toast/public_api.mjs} +0 -0
- /package/{esm2015/tooltip/index.js → esm2020/tooltip/index.mjs} +0 -0
- /package/{esm2015/tooltip/mis-crystal-design-system-tooltip.js → esm2020/tooltip/mis-crystal-design-system-tooltip.mjs} +0 -0
- /package/{esm2015/tooltip/models/tooltip.model.js → esm2020/tooltip/models/tooltip.model.mjs} +0 -0
- /package/{esm2015/tooltip/public_api.js → esm2020/tooltip/public_api.mjs} +0 -0
- /package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- /package/{esm2015/utils/mis-crystal-design-system-utils.js → esm2020/utils/mis-crystal-design-system-utils.mjs} +0 -0
- /package/{esm2015/virtual-scroll/index.js → esm2020/virtual-scroll/index.mjs} +0 -0
- /package/{esm2015/virtual-scroll/mis-crystal-design-system-virtual-scroll.js → esm2020/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs} +0 -0
- /package/{esm2015/virtual-scroll/public_api.js → esm2020/virtual-scroll/public_api.mjs} +0 -0
- /package/{esm2015/virtual-scroll/virtual-scroll.constants.js → esm2020/virtual-scroll/virtual-scroll.constants.mjs} +0 -0
- /package/{esm2015/widgets/classes/async-widget.js → esm2020/widgets/classes/async-widget.mjs} +0 -0
- /package/{esm2015/widgets/classes/sync-widget.js → esm2020/widgets/classes/sync-widget.mjs} +0 -0
- /package/{esm2015/widgets/index.js → esm2020/widgets/index.mjs} +0 -0
- /package/{esm2015/widgets/interfaces/widgets.model.js → esm2020/widgets/interfaces/widgets.model.mjs} +0 -0
- /package/{esm2015/widgets/mis-crystal-design-system-widgets.js → esm2020/widgets/mis-crystal-design-system-widgets.mjs} +0 -0
- /package/{esm2015/widgets/public_api.js → esm2020/widgets/public_api.mjs} +0 -0
|
@@ -0,0 +1,867 @@
|
|
|
1
|
+
import * as i1 from '@angular/common';
|
|
2
|
+
import { CommonModule } from '@angular/common';
|
|
3
|
+
import * as i2 from '@angular/forms';
|
|
4
|
+
import { UntypedFormArray, UntypedFormGroup, UntypedFormControl, Validators, ReactiveFormsModule, FormsModule } from '@angular/forms';
|
|
5
|
+
import * as i0 from '@angular/core';
|
|
6
|
+
import { EventEmitter, Component, Input, Output, NgModule } from '@angular/core';
|
|
7
|
+
import { OverlayModule } from '@angular/cdk/overlay';
|
|
8
|
+
import { ScrollingModule } from '@angular/cdk-experimental/scrolling';
|
|
9
|
+
import * as i3 from 'mis-crystal-design-system/dropdown';
|
|
10
|
+
import { DropdownModule } from 'mis-crystal-design-system/dropdown';
|
|
11
|
+
import * as moment from 'moment';
|
|
12
|
+
import 'moment-timezone';
|
|
13
|
+
import * as i4 from 'mis-crystal-design-system/switch';
|
|
14
|
+
import { SwitchModule } from 'mis-crystal-design-system/switch';
|
|
15
|
+
import * as i5 from 'mis-crystal-design-system/multi-select-dropdown';
|
|
16
|
+
import { MultiSelectDropdownModule } from 'mis-crystal-design-system/multi-select-dropdown';
|
|
17
|
+
import * as i6 from 'mis-crystal-design-system/datepicker_v2';
|
|
18
|
+
import { DatepickerModuleV2 } from 'mis-crystal-design-system/datepicker_v2';
|
|
19
|
+
|
|
20
|
+
const _c0 = function (a0, a1) { return { $implicit: a0, control: a1 }; };
|
|
21
|
+
function DynamicFormComponent_ng_container_2_div_2_ng_container_1_Template(rf, ctx) {
|
|
22
|
+
if (rf & 1) {
|
|
23
|
+
i0.ɵɵelementContainerStart(0);
|
|
24
|
+
i0.ɵɵelementContainer(1, 6);
|
|
25
|
+
i0.ɵɵelementContainerEnd();
|
|
26
|
+
}
|
|
27
|
+
if (rf & 2) {
|
|
28
|
+
const subFieldControl_r9 = ctx.$implicit;
|
|
29
|
+
const ctx_r10 = i0.ɵɵnextContext(2);
|
|
30
|
+
const i_r6 = ctx_r10.index;
|
|
31
|
+
const fieldControl_r5 = ctx_r10.$implicit;
|
|
32
|
+
const ctx_r8 = i0.ɵɵnextContext();
|
|
33
|
+
const _r1 = i0.ɵɵreference(4);
|
|
34
|
+
i0.ɵɵadvance(1);
|
|
35
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c0, ctx_r8.formFields[i_r6].subFields[ctx_r8.findSelectedIndex(ctx_r8.formFields[i_r6] == null ? null : ctx_r8.formFields[i_r6].subFields, fieldControl_r5.controls.value.value.value)], subFieldControl_r9));
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
function DynamicFormComponent_ng_container_2_div_2_Template(rf, ctx) {
|
|
39
|
+
if (rf & 1) {
|
|
40
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
41
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_container_2_div_2_ng_container_1_Template, 2, 5, "ng-container", 9);
|
|
42
|
+
i0.ɵɵelementEnd();
|
|
43
|
+
}
|
|
44
|
+
if (rf & 2) {
|
|
45
|
+
const fieldControl_r5 = i0.ɵɵnextContext().$implicit;
|
|
46
|
+
i0.ɵɵadvance(1);
|
|
47
|
+
i0.ɵɵproperty("ngForOf", fieldControl_r5.controls.subFields.controls);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const _c1 = function (a0, a1, a2) { return { $implicit: a0, formGroup: a1, control: a2 }; };
|
|
51
|
+
function DynamicFormComponent_ng_container_2_Template(rf, ctx) {
|
|
52
|
+
if (rf & 1) {
|
|
53
|
+
i0.ɵɵelementContainerStart(0, 5);
|
|
54
|
+
i0.ɵɵelementContainer(1, 6);
|
|
55
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_container_2_div_2_Template, 2, 1, "div", 7);
|
|
56
|
+
i0.ɵɵelementContainerEnd();
|
|
57
|
+
}
|
|
58
|
+
if (rf & 2) {
|
|
59
|
+
const fieldControl_r5 = ctx.$implicit;
|
|
60
|
+
const i_r6 = ctx.index;
|
|
61
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
62
|
+
const _r1 = i0.ɵɵreference(4);
|
|
63
|
+
i0.ɵɵproperty("formGroupName", i_r6);
|
|
64
|
+
i0.ɵɵadvance(1);
|
|
65
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction3(4, _c1, ctx_r0.formFields[i_r6], fieldControl_r5, fieldControl_r5.controls.value));
|
|
66
|
+
i0.ɵɵadvance(1);
|
|
67
|
+
i0.ɵɵproperty("ngIf", fieldControl_r5.value && (!!(ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields) && (ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields == null ? null : ctx_r0.formFields[i_r6].subFields.length) > 0 && ctx_r0.matchParentConfig(ctx_r0.formFields[i_r6] == null ? null : ctx_r0.formFields[i_r6].subFields, fieldControl_r5.controls.value.value.value)));
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
const _c2 = function (a0) { return { $implicit: a0 }; };
|
|
71
|
+
function DynamicFormComponent_ng_template_3_div_0_ng_container_5_Template(rf, ctx) {
|
|
72
|
+
if (rf & 1) {
|
|
73
|
+
i0.ɵɵelementContainer(0, 6);
|
|
74
|
+
}
|
|
75
|
+
if (rf & 2) {
|
|
76
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
77
|
+
i0.ɵɵnextContext();
|
|
78
|
+
const _r3 = i0.ɵɵreference(6);
|
|
79
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
const _c3 = function (a0) { return { "border": a0 }; };
|
|
83
|
+
function DynamicFormComponent_ng_template_3_div_0_Template(rf, ctx) {
|
|
84
|
+
if (rf & 1) {
|
|
85
|
+
const _r27 = i0.ɵɵgetCurrentView();
|
|
86
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
87
|
+
i0.ɵɵtext(2);
|
|
88
|
+
i0.ɵɵelementEnd();
|
|
89
|
+
i0.ɵɵelement(3, "div", 14);
|
|
90
|
+
i0.ɵɵelementStart(4, "input", 15);
|
|
91
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_div_0_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r27); const ctx_r26 = i0.ɵɵnextContext(); const field_r12 = ctx_r26.$implicit; const formgroup_r14 = ctx_r26.formGroup; const ctx_r25 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r25.updateSubDynamicFields(field_r12, formgroup_r14, $event)); });
|
|
92
|
+
i0.ɵɵelementEnd();
|
|
93
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_0_ng_container_5_Template, 1, 4, "ng-container", 16);
|
|
94
|
+
i0.ɵɵelementEnd();
|
|
95
|
+
}
|
|
96
|
+
if (rf & 2) {
|
|
97
|
+
const ctx_r28 = i0.ɵɵnextContext();
|
|
98
|
+
const field_r12 = ctx_r28.$implicit;
|
|
99
|
+
const control_r13 = ctx_r28.control;
|
|
100
|
+
i0.ɵɵadvance(2);
|
|
101
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
102
|
+
i0.ɵɵadvance(2);
|
|
103
|
+
i0.ɵɵproperty("type", field_r12.fieldInputType)("formControl", control_r13)("ngStyle", i0.ɵɵpureFunction1(7, _c3, control_r13.touched && control_r13.errors ? "1px solid #B00020" : ""))("placeholder", field_r12.placeholderText ? field_r12.placeholderText : "Input Text")("min", field_r12.fieldInputType === "number" ? 0 : "");
|
|
104
|
+
i0.ɵɵadvance(1);
|
|
105
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
function DynamicFormComponent_ng_template_3_div_1_ng_container_5_Template(rf, ctx) {
|
|
109
|
+
if (rf & 1) {
|
|
110
|
+
i0.ɵɵelementContainer(0, 6);
|
|
111
|
+
}
|
|
112
|
+
if (rf & 2) {
|
|
113
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
114
|
+
i0.ɵɵnextContext();
|
|
115
|
+
const _r3 = i0.ɵɵreference(6);
|
|
116
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
function DynamicFormComponent_ng_template_3_div_1_Template(rf, ctx) {
|
|
120
|
+
if (rf & 1) {
|
|
121
|
+
const _r33 = i0.ɵɵgetCurrentView();
|
|
122
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
123
|
+
i0.ɵɵtext(2);
|
|
124
|
+
i0.ɵɵelementEnd();
|
|
125
|
+
i0.ɵɵelement(3, "div", 14);
|
|
126
|
+
i0.ɵɵelementStart(4, "textarea", 17);
|
|
127
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_div_1_Template_textarea_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r33); const ctx_r32 = i0.ɵɵnextContext(); const field_r12 = ctx_r32.$implicit; const formgroup_r14 = ctx_r32.formGroup; const ctx_r31 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r31.updateSubDynamicFields(field_r12, formgroup_r14, $event)); });
|
|
128
|
+
i0.ɵɵelementEnd();
|
|
129
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_1_ng_container_5_Template, 1, 4, "ng-container", 16);
|
|
130
|
+
i0.ɵɵelementEnd();
|
|
131
|
+
}
|
|
132
|
+
if (rf & 2) {
|
|
133
|
+
const ctx_r34 = i0.ɵɵnextContext();
|
|
134
|
+
const field_r12 = ctx_r34.$implicit;
|
|
135
|
+
const control_r13 = ctx_r34.control;
|
|
136
|
+
i0.ɵɵadvance(2);
|
|
137
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
138
|
+
i0.ɵɵadvance(2);
|
|
139
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c3, control_r13.touched && control_r13.errors ? "1px solid #B00020" : ""))("placeholder", field_r12.placeholderText ? field_r12.placeholderText : "Input Text")("formControl", control_r13);
|
|
140
|
+
i0.ɵɵadvance(1);
|
|
141
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
function DynamicFormComponent_ng_template_3_div_2_img_6_Template(rf, ctx) {
|
|
145
|
+
if (rf & 1) {
|
|
146
|
+
const _r39 = i0.ɵɵgetCurrentView();
|
|
147
|
+
i0.ɵɵelementStart(0, "img", 24);
|
|
148
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_div_2_img_6_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r39); i0.ɵɵnextContext(); const _r35 = i0.ɵɵreference(5); return i0.ɵɵresetView(_r35.click()); });
|
|
149
|
+
i0.ɵɵelementEnd();
|
|
150
|
+
}
|
|
151
|
+
if (rf & 2) {
|
|
152
|
+
const ctx_r36 = i0.ɵɵnextContext(3);
|
|
153
|
+
i0.ɵɵproperty("src", ctx_r36.calendarIconUrl, i0.ɵɵsanitizeUrl);
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
function DynamicFormComponent_ng_template_3_div_2_ng_container_7_Template(rf, ctx) {
|
|
157
|
+
if (rf & 1) {
|
|
158
|
+
i0.ɵɵelementContainer(0, 6);
|
|
159
|
+
}
|
|
160
|
+
if (rf & 2) {
|
|
161
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
162
|
+
i0.ɵɵnextContext();
|
|
163
|
+
const _r3 = i0.ɵɵreference(6);
|
|
164
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
function DynamicFormComponent_ng_template_3_div_2_Template(rf, ctx) {
|
|
168
|
+
if (rf & 1) {
|
|
169
|
+
const _r43 = i0.ɵɵgetCurrentView();
|
|
170
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "p", 19);
|
|
171
|
+
i0.ɵɵtext(2);
|
|
172
|
+
i0.ɵɵelementEnd();
|
|
173
|
+
i0.ɵɵelementStart(3, "div", 20)(4, "input", 21, 22);
|
|
174
|
+
i0.ɵɵlistener("dateChange", function DynamicFormComponent_ng_template_3_div_2_Template_input_dateChange_4_listener($event) { i0.ɵɵrestoreView(_r43); const control_r13 = i0.ɵɵnextContext().control; return i0.ɵɵresetView(control_r13.setValue($event)); });
|
|
175
|
+
i0.ɵɵelementEnd();
|
|
176
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_2_img_6_Template, 1, 1, "img", 23);
|
|
177
|
+
i0.ɵɵelementEnd();
|
|
178
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_2_ng_container_7_Template, 1, 4, "ng-container", 16);
|
|
179
|
+
i0.ɵɵelementEnd();
|
|
180
|
+
}
|
|
181
|
+
if (rf & 2) {
|
|
182
|
+
const ctx_r44 = i0.ɵɵnextContext();
|
|
183
|
+
const field_r12 = ctx_r44.$implicit;
|
|
184
|
+
const control_r13 = ctx_r44.control;
|
|
185
|
+
const ctx_r17 = i0.ɵɵnextContext();
|
|
186
|
+
i0.ɵɵadvance(2);
|
|
187
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
188
|
+
i0.ɵɵadvance(2);
|
|
189
|
+
i0.ɵɵproperty("dpConfig", field_r12.fieldConfig)("selectedDate", control_r13.value)("offsetY", 0)("value", control_r13.value);
|
|
190
|
+
i0.ɵɵadvance(2);
|
|
191
|
+
i0.ɵɵproperty("ngIf", ctx_r17.calendarIconUrl);
|
|
192
|
+
i0.ɵɵadvance(1);
|
|
193
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
function DynamicFormComponent_ng_template_3_div_3_ng_container_4_Template(rf, ctx) {
|
|
197
|
+
if (rf & 1) {
|
|
198
|
+
i0.ɵɵelementContainer(0, 6);
|
|
199
|
+
}
|
|
200
|
+
if (rf & 2) {
|
|
201
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
202
|
+
i0.ɵɵnextContext();
|
|
203
|
+
const _r3 = i0.ɵɵreference(6);
|
|
204
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
function DynamicFormComponent_ng_template_3_div_3_Template(rf, ctx) {
|
|
208
|
+
if (rf & 1) {
|
|
209
|
+
const _r49 = i0.ɵɵgetCurrentView();
|
|
210
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "p", 19);
|
|
211
|
+
i0.ɵɵtext(2);
|
|
212
|
+
i0.ɵɵelementEnd();
|
|
213
|
+
i0.ɵɵelementStart(3, "mis-switch", 25);
|
|
214
|
+
i0.ɵɵlistener("valueChanged", function DynamicFormComponent_ng_template_3_div_3_Template_mis_switch_valueChanged_3_listener($event) { i0.ɵɵrestoreView(_r49); const ctx_r48 = i0.ɵɵnextContext(); const field_r12 = ctx_r48.$implicit; const formgroup_r14 = ctx_r48.formGroup; const ctx_r47 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r47.updateSubDynamicFields(field_r12, formgroup_r14, $event)); });
|
|
215
|
+
i0.ɵɵelementEnd();
|
|
216
|
+
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_div_3_ng_container_4_Template, 1, 4, "ng-container", 16);
|
|
217
|
+
i0.ɵɵelementEnd();
|
|
218
|
+
}
|
|
219
|
+
if (rf & 2) {
|
|
220
|
+
const ctx_r50 = i0.ɵɵnextContext();
|
|
221
|
+
const field_r12 = ctx_r50.$implicit;
|
|
222
|
+
const control_r13 = ctx_r50.control;
|
|
223
|
+
i0.ɵɵadvance(2);
|
|
224
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
225
|
+
i0.ɵɵadvance(1);
|
|
226
|
+
i0.ɵɵproperty("control", control_r13);
|
|
227
|
+
i0.ɵɵadvance(1);
|
|
228
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
function DynamicFormComponent_ng_template_3_div_4_ng_container_4_Template(rf, ctx) {
|
|
232
|
+
if (rf & 1) {
|
|
233
|
+
i0.ɵɵelementContainer(0, 6);
|
|
234
|
+
}
|
|
235
|
+
if (rf & 2) {
|
|
236
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
237
|
+
i0.ɵɵnextContext();
|
|
238
|
+
const _r3 = i0.ɵɵreference(6);
|
|
239
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
function DynamicFormComponent_ng_template_3_div_4_Template(rf, ctx) {
|
|
243
|
+
if (rf & 1) {
|
|
244
|
+
const _r55 = i0.ɵɵgetCurrentView();
|
|
245
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "p", 19);
|
|
246
|
+
i0.ɵɵtext(2);
|
|
247
|
+
i0.ɵɵelementEnd();
|
|
248
|
+
i0.ɵɵelementStart(3, "mis-dropdown", 26);
|
|
249
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_div_4_Template_mis_dropdown_onChange_3_listener($event) { i0.ɵɵrestoreView(_r55); const ctx_r54 = i0.ɵɵnextContext(); const field_r12 = ctx_r54.$implicit; const control_r13 = ctx_r54.control; const formgroup_r14 = ctx_r54.formGroup; const ctx_r53 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r53.updateSelectedValueForSingleSelect(field_r12, control_r13, formgroup_r14, $event)); });
|
|
250
|
+
i0.ɵɵelementEnd();
|
|
251
|
+
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_div_4_ng_container_4_Template, 1, 4, "ng-container", 16);
|
|
252
|
+
i0.ɵɵelementEnd();
|
|
253
|
+
}
|
|
254
|
+
if (rf & 2) {
|
|
255
|
+
const ctx_r56 = i0.ɵɵnextContext();
|
|
256
|
+
const field_r12 = ctx_r56.$implicit;
|
|
257
|
+
const control_r13 = ctx_r56.control;
|
|
258
|
+
i0.ɵɵadvance(2);
|
|
259
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
260
|
+
i0.ɵɵadvance(1);
|
|
261
|
+
i0.ɵɵproperty("searchEnabled", false)("width", "140px")("data", field_r12.itemsList)("selectedItem", control_r13.value);
|
|
262
|
+
i0.ɵɵadvance(1);
|
|
263
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
function DynamicFormComponent_ng_template_3_div_5_div_5_img_1_Template(rf, ctx) {
|
|
267
|
+
if (rf & 1) {
|
|
268
|
+
i0.ɵɵelement(0, "img", 31);
|
|
269
|
+
}
|
|
270
|
+
if (rf & 2) {
|
|
271
|
+
const ctx_r60 = i0.ɵɵnextContext(4);
|
|
272
|
+
i0.ɵɵproperty("src", ctx_r60.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
const _c4 = function (a0) { return { "checkbox-active": a0 }; };
|
|
276
|
+
function DynamicFormComponent_ng_template_3_div_5_div_5_Template(rf, ctx) {
|
|
277
|
+
if (rf & 1) {
|
|
278
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
279
|
+
i0.ɵɵelementStart(0, "div", 29);
|
|
280
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_div_5_div_5_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r63); const item_r59 = restoredCtx.$implicit; const ctx_r62 = i0.ɵɵnextContext(2); const field_r12 = ctx_r62.$implicit; const control_r13 = ctx_r62.control; const formgroup_r14 = ctx_r62.formGroup; const ctx_r61 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r61.updateSelectedValueForSingleSelect(field_r12, control_r13, formgroup_r14, item_r59)); });
|
|
281
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_div_5_div_5_img_1_Template, 1, 1, "img", 30);
|
|
282
|
+
i0.ɵɵelementStart(2, "p", 19);
|
|
283
|
+
i0.ɵɵtext(3);
|
|
284
|
+
i0.ɵɵelementEnd()();
|
|
285
|
+
}
|
|
286
|
+
if (rf & 2) {
|
|
287
|
+
const item_r59 = ctx.$implicit;
|
|
288
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
289
|
+
const ctx_r57 = i0.ɵɵnextContext();
|
|
290
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c4, item_r59.label === (control_r13.value == null ? null : control_r13.value.label)));
|
|
291
|
+
i0.ɵɵadvance(1);
|
|
292
|
+
i0.ɵɵproperty("ngIf", item_r59.label === (control_r13.value == null ? null : control_r13.value.label) && ctx_r57.activeBtnIconUrl);
|
|
293
|
+
i0.ɵɵadvance(2);
|
|
294
|
+
i0.ɵɵtextInterpolate(item_r59.label);
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
function DynamicFormComponent_ng_template_3_div_5_ng_container_6_Template(rf, ctx) {
|
|
298
|
+
if (rf & 1) {
|
|
299
|
+
i0.ɵɵelementContainer(0, 6);
|
|
300
|
+
}
|
|
301
|
+
if (rf & 2) {
|
|
302
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
303
|
+
i0.ɵɵnextContext();
|
|
304
|
+
const _r3 = i0.ɵɵreference(6);
|
|
305
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
function DynamicFormComponent_ng_template_3_div_5_Template(rf, ctx) {
|
|
309
|
+
if (rf & 1) {
|
|
310
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
311
|
+
i0.ɵɵtext(2);
|
|
312
|
+
i0.ɵɵelementEnd();
|
|
313
|
+
i0.ɵɵelement(3, "div", 14);
|
|
314
|
+
i0.ɵɵelementStart(4, "div", 27);
|
|
315
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_5_div_5_Template, 4, 5, "div", 28);
|
|
316
|
+
i0.ɵɵelementEnd();
|
|
317
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_5_ng_container_6_Template, 1, 4, "ng-container", 16);
|
|
318
|
+
i0.ɵɵelementEnd();
|
|
319
|
+
}
|
|
320
|
+
if (rf & 2) {
|
|
321
|
+
const ctx_r66 = i0.ɵɵnextContext();
|
|
322
|
+
const field_r12 = ctx_r66.$implicit;
|
|
323
|
+
const control_r13 = ctx_r66.control;
|
|
324
|
+
i0.ɵɵadvance(2);
|
|
325
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
326
|
+
i0.ɵɵadvance(3);
|
|
327
|
+
i0.ɵɵproperty("ngForOf", field_r12.itemsList);
|
|
328
|
+
i0.ɵɵadvance(1);
|
|
329
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
function DynamicFormComponent_ng_template_3_div_6_div_5_img_1_Template(rf, ctx) {
|
|
333
|
+
if (rf & 1) {
|
|
334
|
+
i0.ɵɵelement(0, "img", 31);
|
|
335
|
+
}
|
|
336
|
+
if (rf & 2) {
|
|
337
|
+
const ctx_r70 = i0.ɵɵnextContext(4);
|
|
338
|
+
i0.ɵɵproperty("src", ctx_r70.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
function DynamicFormComponent_ng_template_3_div_6_div_5_Template(rf, ctx) {
|
|
342
|
+
if (rf & 1) {
|
|
343
|
+
const _r73 = i0.ɵɵgetCurrentView();
|
|
344
|
+
i0.ɵɵelementStart(0, "div", 29);
|
|
345
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_div_6_div_5_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r73); const item_r69 = restoredCtx.$implicit; const ctx_r72 = i0.ɵɵnextContext(2); const field_r12 = ctx_r72.$implicit; const control_r13 = ctx_r72.control; const formgroup_r14 = ctx_r72.formGroup; const ctx_r71 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r71.updateSelectedValueForMultiSelect(field_r12, control_r13, formgroup_r14, [item_r69])); });
|
|
346
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_div_6_div_5_img_1_Template, 1, 1, "img", 30);
|
|
347
|
+
i0.ɵɵelementStart(2, "p", 19);
|
|
348
|
+
i0.ɵɵtext(3);
|
|
349
|
+
i0.ɵɵelementEnd()();
|
|
350
|
+
}
|
|
351
|
+
if (rf & 2) {
|
|
352
|
+
const item_r69 = ctx.$implicit;
|
|
353
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
354
|
+
const ctx_r67 = i0.ɵɵnextContext();
|
|
355
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c4, ctx_r67.isCheckBoxSelected(item_r69.label, control_r13.value)));
|
|
356
|
+
i0.ɵɵadvance(1);
|
|
357
|
+
i0.ɵɵproperty("ngIf", ctx_r67.isCheckBoxSelected(item_r69.label, control_r13.value) && ctx_r67.activeBtnIconUrl);
|
|
358
|
+
i0.ɵɵadvance(2);
|
|
359
|
+
i0.ɵɵtextInterpolate(item_r69.label);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
function DynamicFormComponent_ng_template_3_div_6_ng_container_6_Template(rf, ctx) {
|
|
363
|
+
if (rf & 1) {
|
|
364
|
+
i0.ɵɵelementContainer(0, 6);
|
|
365
|
+
}
|
|
366
|
+
if (rf & 2) {
|
|
367
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
368
|
+
i0.ɵɵnextContext();
|
|
369
|
+
const _r3 = i0.ɵɵreference(6);
|
|
370
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
function DynamicFormComponent_ng_template_3_div_6_Template(rf, ctx) {
|
|
374
|
+
if (rf & 1) {
|
|
375
|
+
i0.ɵɵelementStart(0, "div", 12)(1, "p", 13);
|
|
376
|
+
i0.ɵɵtext(2);
|
|
377
|
+
i0.ɵɵelementEnd();
|
|
378
|
+
i0.ɵɵelement(3, "div", 14);
|
|
379
|
+
i0.ɵɵelementStart(4, "div", 27);
|
|
380
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_6_div_5_Template, 4, 5, "div", 28);
|
|
381
|
+
i0.ɵɵelementEnd();
|
|
382
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_6_ng_container_6_Template, 1, 4, "ng-container", 16);
|
|
383
|
+
i0.ɵɵelementEnd();
|
|
384
|
+
}
|
|
385
|
+
if (rf & 2) {
|
|
386
|
+
const ctx_r76 = i0.ɵɵnextContext();
|
|
387
|
+
const field_r12 = ctx_r76.$implicit;
|
|
388
|
+
const control_r13 = ctx_r76.control;
|
|
389
|
+
i0.ɵɵadvance(2);
|
|
390
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
391
|
+
i0.ɵɵadvance(3);
|
|
392
|
+
i0.ɵɵproperty("ngForOf", field_r12.itemsList);
|
|
393
|
+
i0.ɵɵadvance(1);
|
|
394
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
function DynamicFormComponent_ng_template_3_div_7_ng_container_4_Template(rf, ctx) {
|
|
398
|
+
if (rf & 1) {
|
|
399
|
+
i0.ɵɵelementContainer(0, 6);
|
|
400
|
+
}
|
|
401
|
+
if (rf & 2) {
|
|
402
|
+
const control_r13 = i0.ɵɵnextContext(2).control;
|
|
403
|
+
i0.ɵɵnextContext();
|
|
404
|
+
const _r3 = i0.ɵɵreference(6);
|
|
405
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c2, control_r13.errors));
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
function DynamicFormComponent_ng_template_3_div_7_Template(rf, ctx) {
|
|
409
|
+
if (rf & 1) {
|
|
410
|
+
const _r81 = i0.ɵɵgetCurrentView();
|
|
411
|
+
i0.ɵɵelementStart(0, "div", 18)(1, "p", 19);
|
|
412
|
+
i0.ɵɵtext(2);
|
|
413
|
+
i0.ɵɵelementEnd();
|
|
414
|
+
i0.ɵɵelementStart(3, "mis-multi-select-dropdown", 32);
|
|
415
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_div_7_Template_mis_multi_select_dropdown_onChange_3_listener($event) { i0.ɵɵrestoreView(_r81); const ctx_r80 = i0.ɵɵnextContext(); const field_r12 = ctx_r80.$implicit; const control_r13 = ctx_r80.control; const formgroup_r14 = ctx_r80.formGroup; const ctx_r79 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r79.updateSelectedValueForMultiSelect(field_r12, control_r13, formgroup_r14, $event)); });
|
|
416
|
+
i0.ɵɵelementEnd();
|
|
417
|
+
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_div_7_ng_container_4_Template, 1, 4, "ng-container", 16);
|
|
418
|
+
i0.ɵɵelementEnd();
|
|
419
|
+
}
|
|
420
|
+
if (rf & 2) {
|
|
421
|
+
const ctx_r82 = i0.ɵɵnextContext();
|
|
422
|
+
const field_r12 = ctx_r82.$implicit;
|
|
423
|
+
const control_r13 = ctx_r82.control;
|
|
424
|
+
i0.ɵɵadvance(2);
|
|
425
|
+
i0.ɵɵtextInterpolate1(" ", field_r12.title, " ");
|
|
426
|
+
i0.ɵɵadvance(1);
|
|
427
|
+
i0.ɵɵproperty("width", "140px")("showSelectedCount", true)("dropdownListWidth", "256px")("searchEnabled", false)("hideApplyButton", true)("data", field_r12.itemsList)("selectedItems", control_r13.value);
|
|
428
|
+
i0.ɵɵadvance(1);
|
|
429
|
+
i0.ɵɵproperty("ngIf", control_r13.touched && control_r13.errors);
|
|
430
|
+
}
|
|
431
|
+
}
|
|
432
|
+
function DynamicFormComponent_ng_template_3_Template(rf, ctx) {
|
|
433
|
+
if (rf & 1) {
|
|
434
|
+
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_div_0_Template, 6, 9, "div", 10);
|
|
435
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_div_1_Template, 6, 7, "div", 10);
|
|
436
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_div_2_Template, 8, 7, "div", 11);
|
|
437
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_div_3_Template, 5, 3, "div", 11);
|
|
438
|
+
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_div_4_Template, 5, 6, "div", 11);
|
|
439
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_div_5_Template, 7, 3, "div", 10);
|
|
440
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_div_6_Template, 7, 3, "div", 10);
|
|
441
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_div_7_Template, 5, 9, "div", 11);
|
|
442
|
+
}
|
|
443
|
+
if (rf & 2) {
|
|
444
|
+
const field_r12 = ctx.$implicit;
|
|
445
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "input" && (field_r12.fieldInputType === "text" || field_r12.fieldInputType === "number"));
|
|
446
|
+
i0.ɵɵadvance(1);
|
|
447
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "input" && field_r12.fieldInputType === "textarea");
|
|
448
|
+
i0.ɵɵadvance(1);
|
|
449
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "input" && field_r12.fieldInputType === "date");
|
|
450
|
+
i0.ɵɵadvance(1);
|
|
451
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "boolean" && field_r12.fieldInputType === "toggle");
|
|
452
|
+
i0.ɵɵadvance(1);
|
|
453
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "singleSelect" && field_r12.fieldInputType === "dropdown");
|
|
454
|
+
i0.ɵɵadvance(1);
|
|
455
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "singleSelect" && field_r12.fieldInputType === "radio");
|
|
456
|
+
i0.ɵɵadvance(1);
|
|
457
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "multiSelect" && field_r12.fieldInputType === "checkbox");
|
|
458
|
+
i0.ɵɵadvance(1);
|
|
459
|
+
i0.ɵɵproperty("ngIf", field_r12.fieldType === "multiSelect" && field_r12.fieldInputType === "dropdown");
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
function DynamicFormComponent_ng_template_5_ng_container_1_Template(rf, ctx) {
|
|
463
|
+
if (rf & 1) {
|
|
464
|
+
i0.ɵɵelementContainerStart(0);
|
|
465
|
+
i0.ɵɵelementStart(1, "p", 34);
|
|
466
|
+
i0.ɵɵtext(2);
|
|
467
|
+
i0.ɵɵelementEnd();
|
|
468
|
+
i0.ɵɵelement(3, "div", 35);
|
|
469
|
+
i0.ɵɵelementContainerEnd();
|
|
470
|
+
}
|
|
471
|
+
if (rf & 2) {
|
|
472
|
+
const error_r85 = ctx.$implicit;
|
|
473
|
+
i0.ɵɵadvance(2);
|
|
474
|
+
i0.ɵɵtextInterpolate1(" ", " \u2022 \u00A0" + error_r85.value, " ");
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
function DynamicFormComponent_ng_template_5_Template(rf, ctx) {
|
|
478
|
+
if (rf & 1) {
|
|
479
|
+
i0.ɵɵelementStart(0, "div", 33);
|
|
480
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_5_ng_container_1_Template, 4, 1, "ng-container", 9);
|
|
481
|
+
i0.ɵɵpipe(2, "keyvalue");
|
|
482
|
+
i0.ɵɵelementEnd();
|
|
483
|
+
}
|
|
484
|
+
if (rf & 2) {
|
|
485
|
+
const errors_r83 = ctx.$implicit;
|
|
486
|
+
i0.ɵɵadvance(1);
|
|
487
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, errors_r83));
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
class DynamicFormComponent {
|
|
491
|
+
constructor() {
|
|
492
|
+
/**
|
|
493
|
+
* formFields: Dynamic fields recieved from the API metadata to build a dynamic form
|
|
494
|
+
* formValues: Holds the value of the dynamic form with "key" being dynamic field "title"
|
|
495
|
+
* and value being the user input.
|
|
496
|
+
*/
|
|
497
|
+
this.formFields = [];
|
|
498
|
+
this.formValues = {};
|
|
499
|
+
// Need to deprecate these inputs and use constants.
|
|
500
|
+
this.activeBtnIconUrl = "";
|
|
501
|
+
this.calendarIconUrl = "";
|
|
502
|
+
/**
|
|
503
|
+
* formUpdated: Emits formValues Object whenever there is a change in the dynamic form.
|
|
504
|
+
*/
|
|
505
|
+
this.formUpdated = new EventEmitter();
|
|
506
|
+
/**
|
|
507
|
+
* formValid: Emits boolean depending on validity of the form
|
|
508
|
+
*/
|
|
509
|
+
this.formValid = new EventEmitter();
|
|
510
|
+
/**
|
|
511
|
+
* formInitialized: Emits dynamic form API on form initilization
|
|
512
|
+
*/
|
|
513
|
+
this.formInitialized = new EventEmitter();
|
|
514
|
+
}
|
|
515
|
+
ngOnInit() {
|
|
516
|
+
// Building the form
|
|
517
|
+
this.dynamicForm = this.generateDynamicForm(this.formFields, this.formValues);
|
|
518
|
+
// Subscribing to form changes and emiting values.
|
|
519
|
+
this.valueChangesSubscription$ = this.dynamicForm.valueChanges.subscribe(formValue => {
|
|
520
|
+
this.onFormValueChanges();
|
|
521
|
+
});
|
|
522
|
+
//api to expose functions
|
|
523
|
+
this.dynamicFormAPI = {
|
|
524
|
+
defaultFormValues: () => {
|
|
525
|
+
return this.generateDynamicFieldsValueObject(this.dynamicForm.value.dynamicFields);
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
this.formInitialized.emit(this.dynamicFormAPI);
|
|
529
|
+
this.formValid.emit(this.dynamicForm.valid);
|
|
530
|
+
}
|
|
531
|
+
ngOnDestroy() {
|
|
532
|
+
var _a;
|
|
533
|
+
(_a = this.valueChangesSubscription$) === null || _a === void 0 ? void 0 : _a.unsubscribe();
|
|
534
|
+
}
|
|
535
|
+
onFormValueChanges() {
|
|
536
|
+
let formValues = this.generateDynamicFieldsValueObject(this.dynamicForm.value.dynamicFields);
|
|
537
|
+
this.formValid.emit(this.dynamicForm.valid);
|
|
538
|
+
this.formUpdated.emit(formValues);
|
|
539
|
+
console.log(formValues);
|
|
540
|
+
}
|
|
541
|
+
generateDynamicFieldsValueObject(formValues) {
|
|
542
|
+
let dynamicFieldsValue = {};
|
|
543
|
+
formValues.forEach((fieldValue, index) => {
|
|
544
|
+
var _a;
|
|
545
|
+
let formattedValue = this.mapFormFieldToFormValue(this.formFields[index], fieldValue.value);
|
|
546
|
+
if (((_a = fieldValue.subFields) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
547
|
+
let formattedSubFieldsValues = {};
|
|
548
|
+
fieldValue.subFields.forEach((subFieldValue, subIndex) => {
|
|
549
|
+
let subFormField = this.formFields[index].subFields[subIndex];
|
|
550
|
+
formattedSubFieldsValues[subFormField.configName] = this.mapFormFieldToFormValue(subFormField, subFieldValue);
|
|
551
|
+
});
|
|
552
|
+
dynamicFieldsValue[this.formFields[index].configName] = {
|
|
553
|
+
value: formattedValue,
|
|
554
|
+
subFields: formattedSubFieldsValues
|
|
555
|
+
};
|
|
556
|
+
}
|
|
557
|
+
else {
|
|
558
|
+
dynamicFieldsValue[this.formFields[index].configName] = formattedValue;
|
|
559
|
+
}
|
|
560
|
+
});
|
|
561
|
+
return dynamicFieldsValue;
|
|
562
|
+
}
|
|
563
|
+
generateDynamicForm(formFields, formValues) {
|
|
564
|
+
var _a;
|
|
565
|
+
let formArray = new UntypedFormArray([]);
|
|
566
|
+
for (let field of formFields) {
|
|
567
|
+
let fieldValue = ((_a = formValues[field.configName]) === null || _a === void 0 ? void 0 : _a.value) ? formValues[field.configName].value : formValues[field.configName];
|
|
568
|
+
let fieldControl = this.mapFormValueToFormField(field, fieldValue);
|
|
569
|
+
let subFieldsControls = this.generateSubDynamicFields(formValues, field, fieldControl.value);
|
|
570
|
+
formArray.push(new UntypedFormGroup({
|
|
571
|
+
value: fieldControl,
|
|
572
|
+
subFields: subFieldsControls
|
|
573
|
+
}));
|
|
574
|
+
}
|
|
575
|
+
return new UntypedFormGroup({
|
|
576
|
+
dynamicFields: formArray
|
|
577
|
+
});
|
|
578
|
+
}
|
|
579
|
+
getDynamicFieldsControls() {
|
|
580
|
+
return this.dynamicForm.get("dynamicFields");
|
|
581
|
+
}
|
|
582
|
+
updateSubDynamicFields(field, formGroup, value) {
|
|
583
|
+
var _a;
|
|
584
|
+
if (((_a = field.subFields) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
585
|
+
let subFieldsControls = this.generateSubDynamicFields(this.formValues, field, value);
|
|
586
|
+
formGroup.removeControl('subFields');
|
|
587
|
+
formGroup.addControl('subFields', subFieldsControls);
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
updateSelectedValueForSingleSelect(field, control, formGroup, value) {
|
|
591
|
+
var _a;
|
|
592
|
+
if (((_a = control.value) === null || _a === void 0 ? void 0 : _a.value) !== value.value) {
|
|
593
|
+
control.setValue(value);
|
|
594
|
+
}
|
|
595
|
+
else
|
|
596
|
+
control.setValue('');
|
|
597
|
+
this.updateSubDynamicFields(field, formGroup, value);
|
|
598
|
+
control.markAsTouched();
|
|
599
|
+
}
|
|
600
|
+
updateSelectedValueForMultiSelect(field, control, formGroup, values) {
|
|
601
|
+
let selectedValues = control.value;
|
|
602
|
+
for (let value of values) {
|
|
603
|
+
let itemIndex = selectedValues.findIndex(item => item.label === value.label);
|
|
604
|
+
if (itemIndex > -1) {
|
|
605
|
+
selectedValues.splice(itemIndex, 1);
|
|
606
|
+
}
|
|
607
|
+
else {
|
|
608
|
+
selectedValues.push(Object.assign({}, value));
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
control.setValue(selectedValues);
|
|
612
|
+
this.updateSubDynamicFields(field, formGroup, values);
|
|
613
|
+
control.markAsTouched();
|
|
614
|
+
}
|
|
615
|
+
isCheckBoxSelected(value, selectedValues) {
|
|
616
|
+
return selectedValues.findIndex(item => item.label === value) > -1;
|
|
617
|
+
}
|
|
618
|
+
findSelectedIndex(subfields, value) {
|
|
619
|
+
const selectedIndex = subfields.findIndex(item => item.parentConfigValue === value);
|
|
620
|
+
return selectedIndex !== -1 ? selectedIndex : 0;
|
|
621
|
+
}
|
|
622
|
+
matchParentConfig(subfields, value) {
|
|
623
|
+
if (!subfields || subfields.length === 0) {
|
|
624
|
+
return false;
|
|
625
|
+
}
|
|
626
|
+
return subfields.some(item => item.parentConfigValue === value);
|
|
627
|
+
}
|
|
628
|
+
generateSubDynamicFields(formValues, parentField, parentValue) {
|
|
629
|
+
var _a;
|
|
630
|
+
let controls = new UntypedFormArray([]);
|
|
631
|
+
let subFields = parentField.subFields;
|
|
632
|
+
let subFieldsValues = ((_a = formValues[parentField.configName]) === null || _a === void 0 ? void 0 : _a.subFields) ? formValues[parentField.configName].subFields : {};
|
|
633
|
+
if (!subFields)
|
|
634
|
+
return controls;
|
|
635
|
+
if (parentField.fieldType === 'singleSelect') {
|
|
636
|
+
subFields = subFields.filter((subField) => subField.parentConfigValue === (parentValue === null || parentValue === void 0 ? void 0 : parentValue.value));
|
|
637
|
+
}
|
|
638
|
+
else if (parentField.fieldType === 'multiSelect') {
|
|
639
|
+
let parentValues = new Set(parentValue.map((value) => value.value));
|
|
640
|
+
subFields = subFields.filter((subField) => parentValues.has(subField.parentConfigValue));
|
|
641
|
+
}
|
|
642
|
+
if ((subFields === null || subFields === void 0 ? void 0 : subFields.length) > 0) {
|
|
643
|
+
for (let subField of subFields) {
|
|
644
|
+
controls.push(this.mapFormValueToFormField(subField, subFieldsValues[subField.configName]));
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
return controls;
|
|
648
|
+
}
|
|
649
|
+
mapFormValueToFormField(formField, formValue) {
|
|
650
|
+
let validators = formField.validators ? [dynamicFieldValidator(formField.validators)] : [];
|
|
651
|
+
let control = new UntypedFormControl(null, validators);
|
|
652
|
+
if (formField.fieldType === "input") {
|
|
653
|
+
if (formField.fieldInputType === "text" || formField.fieldInputType === "textarea")
|
|
654
|
+
control.setValue(formValue ? formValue : "");
|
|
655
|
+
else if (formField.fieldInputType === "number")
|
|
656
|
+
control.setValue(formValue ? formValue : 0);
|
|
657
|
+
else if (formField.fieldInputType === "date") {
|
|
658
|
+
if (formValue && typeof formValue === "number") {
|
|
659
|
+
control.setValue(moment(formValue).tz(formField.fieldConfig.timezone).format(formField.fieldConfig.format));
|
|
660
|
+
}
|
|
661
|
+
else {
|
|
662
|
+
control.setValue(moment().tz(formField.fieldConfig.timezone).format(formField.fieldConfig.format));
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
else if (formField.fieldType === "singleSelect") {
|
|
667
|
+
const findSelectedValue = () => {
|
|
668
|
+
let index = formField.itemsList.findIndex(item => item.value === formValue);
|
|
669
|
+
return index >= 0 ? formField.itemsList[index] : "";
|
|
670
|
+
};
|
|
671
|
+
if (formField.fieldInputType === "dropdown") {
|
|
672
|
+
if (!formValue)
|
|
673
|
+
control.setValue(formField.itemsList[0]);
|
|
674
|
+
else
|
|
675
|
+
control.setValue(findSelectedValue());
|
|
676
|
+
}
|
|
677
|
+
else if (formField.fieldInputType === "radio") {
|
|
678
|
+
control.setValue(findSelectedValue());
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
else if (formField.fieldType === "multiSelect") {
|
|
682
|
+
if (formValue && Array.isArray(formValue)) {
|
|
683
|
+
let selectedValues = [];
|
|
684
|
+
for (let value of formValue) {
|
|
685
|
+
let index = formField.itemsList.findIndex(item => item.value === value);
|
|
686
|
+
if (index > -1)
|
|
687
|
+
selectedValues.push(Object.assign({}, formField.itemsList[index]));
|
|
688
|
+
}
|
|
689
|
+
control.setValue(selectedValues);
|
|
690
|
+
}
|
|
691
|
+
else {
|
|
692
|
+
control.setValue([]);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
else if (formField.fieldType === "boolean") {
|
|
696
|
+
control.setValue(!!formValue);
|
|
697
|
+
}
|
|
698
|
+
else
|
|
699
|
+
control.setValue(null);
|
|
700
|
+
return control;
|
|
701
|
+
}
|
|
702
|
+
mapFormFieldToFormValue(formField, formValue) {
|
|
703
|
+
var _a;
|
|
704
|
+
if (formField.fieldType === "input") {
|
|
705
|
+
if (formField.fieldInputType === "text" || formField.fieldInputType === "textarea")
|
|
706
|
+
return formValue;
|
|
707
|
+
else if (formField.fieldInputType === "number")
|
|
708
|
+
return +formValue;
|
|
709
|
+
else if (formField.fieldInputType === "date") {
|
|
710
|
+
return moment.tz(formValue, formField.fieldConfig.format, formField.fieldConfig.timezone).valueOf();
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
else if (formField.fieldType === "singleSelect") {
|
|
714
|
+
return (_a = formValue === null || formValue === void 0 ? void 0 : formValue.value) !== null && _a !== void 0 ? _a : '';
|
|
715
|
+
}
|
|
716
|
+
else if (formField.fieldType === "multiSelect") {
|
|
717
|
+
return formValue === null || formValue === void 0 ? void 0 : formValue.map(item => item.value);
|
|
718
|
+
}
|
|
719
|
+
else if (formField.fieldType === "boolean") {
|
|
720
|
+
return formValue;
|
|
721
|
+
}
|
|
722
|
+
else
|
|
723
|
+
return formValue;
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
DynamicFormComponent.ɵfac = function DynamicFormComponent_Factory(t) { return new (t || DynamicFormComponent)(); };
|
|
727
|
+
DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicFormComponent, selectors: [["mis-dynamic-form"]], inputs: { formFields: "formFields", formValues: "formValues", activeBtnIconUrl: "activeBtnIconUrl", calendarIconUrl: "calendarIconUrl" }, outputs: { formUpdated: "formUpdated", formValid: "formValid", formInitialized: "formInitialized" }, decls: 7, vars: 2, consts: [[3, "formGroup"], ["formArrayName", "dynamicFields"], [3, "formGroupName", 4, "ngFor", "ngForOf"], ["dynamicField", ""], ["dynamicFieldErrors", ""], [3, "formGroupName"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "sub-dynamic-form", 4, "ngIf"], [1, "sub-dynamic-form"], [4, "ngFor", "ngForOf"], ["class", "dynamic-field multi-line-field-container", 4, "ngIf"], ["class", "dynamic-field single-line-field-container", 4, "ngIf"], [1, "dynamic-field", "multi-line-field-container"], [1, "h7", "field-title-sm"], [2, "flex-basis", "100%"], [1, "input-field", "ip-text", 3, "type", "formControl", "ngStyle", "placeholder", "min", "ngModelChange"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["type", "text", 1, "input-field", "ip-textarea", 3, "ngStyle", "placeholder", "formControl", "ngModelChange"], [1, "dynamic-field", "single-line-field-container"], [1, "h6"], [1, "date-picker-container"], ["readonly", "", "misTzDp", "", 1, "date-picker", 3, "dpConfig", "selectedDate", "offsetY", "value", "dateChange"], ["dp", ""], ["alt", "data-picker", "class", "date-picker-icon", 3, "src", "click", 4, "ngIf"], ["alt", "data-picker", 1, "date-picker-icon", 3, "src", "click"], [3, "control", "valueChanged"], [3, "searchEnabled", "width", "data", "selectedItem", "onChange"], ["id", "checkboxes-container"], ["class", "radio-checkbox-common", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "radio-checkbox-common", 3, "ngClass", "click"], ["alt", "", 3, "src", 4, "ngIf"], ["alt", "", 3, "src"], [3, "width", "showSelectedCount", "dropdownListWidth", "searchEnabled", "hideApplyButton", "data", "selectedItems", "onChange"], ["id", "error-messages-container"], [1, "h8"], [2, "flex-basis", "100%", "height", "0"]], template: function DynamicFormComponent_Template(rf, ctx) {
|
|
728
|
+
if (rf & 1) {
|
|
729
|
+
i0.ɵɵelementStart(0, "form", 0);
|
|
730
|
+
i0.ɵɵelementContainerStart(1, 1);
|
|
731
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_container_2_Template, 3, 8, "ng-container", 2);
|
|
732
|
+
i0.ɵɵelementContainerEnd();
|
|
733
|
+
i0.ɵɵelementEnd();
|
|
734
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_Template, 8, 8, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
735
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_5_Template, 3, 3, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
736
|
+
}
|
|
737
|
+
if (rf & 2) {
|
|
738
|
+
i0.ɵɵproperty("formGroup", ctx.dynamicForm);
|
|
739
|
+
i0.ɵɵadvance(2);
|
|
740
|
+
i0.ɵɵproperty("ngForOf", ctx.getDynamicFieldsControls().controls);
|
|
741
|
+
}
|
|
742
|
+
}, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgTemplateOutlet, i1.NgStyle, i2.ɵNgNoValidate, i2.DefaultValueAccessor, i2.NgControlStatus, i2.NgControlStatusGroup, i2.FormControlDirective, i2.FormGroupDirective, i2.FormGroupName, i2.FormArrayName, i3.DropdownComponent, i4.SwitchComponent, i5.MultiSelectDropdownComponent, i6.TzDatepickerDirective, i1.KeyValuePipe], styles: ["p[_ngcontent-%COMP%]{margin:0;cursor:default} .main-container{margin:0;max-width:100%}.sub-dynamic-form[_ngcontent-%COMP%]{padding-left:24px}.dynamic-field[_ngcontent-%COMP%] .container{height:32px!important}.single-line-field-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm[_ngcontent-%COMP%]{margin-bottom:8px;cursor:default}.input-field[_ngcontent-%COMP%]{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text[_ngcontent-%COMP%]{height:44px;padding:8px 12px}.ip-textarea[_ngcontent-%COMP%]{max-height:94px;padding:8px}input[_ngcontent-%COMP%]:focus{outline:none}input[_ngcontent-%COMP%]::placeholder{color:var(--grey-seperators)}textarea[_ngcontent-%COMP%]:focus{outline:none}.date-picker-container[_ngcontent-%COMP%]{position:relative;width:140px}.date-picker-container[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container[_ngcontent-%COMP%] .date-picker[_ngcontent-%COMP%]:hover{background-color:var(--grey-hover)}.date-picker-container[_ngcontent-%COMP%] .date-picker-icon[_ngcontent-%COMP%]{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form[_ngcontent-%COMP%] .dynamic-field[_ngcontent-%COMP%]:last-child{border-bottom:none!important}#checkboxes-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-muted);cursor:pointer}.radio-checkbox-common[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{margin-right:8px}.checkbox-active[_ngcontent-%COMP%]{background-color:var(--pmry-500)}.checkbox-active[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-white)}#error-messages-container[_ngcontent-%COMP%]{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--sem-error)}"] });
|
|
743
|
+
(function () {
|
|
744
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicFormComponent, [{
|
|
745
|
+
type: Component,
|
|
746
|
+
args: [{ selector: "mis-dynamic-form", template: "<form [formGroup]=\"dynamicForm\">\n <ng-container formArrayName=\"dynamicFields\">\n <ng-container [formGroupName]=\"i\" *ngFor=\"let fieldControl of getDynamicFieldsControls().controls; let i = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: formFields[i],\n formGroup: fieldControl,\n control: fieldControl.controls.value\n }\"\n >\n </ng-container>\n <div class=\"sub-dynamic-form\" *ngIf=\"fieldControl.value && (!!formFields[i]?.subFields && formFields[i]?.subFields?.length > 0 && matchParentConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value))\">\n <ng-container *ngFor=\"let subFieldControl of fieldControl.controls.subFields.controls;\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: formFields[i].subFields[findSelectedIndex(formFields[i]?.subFields, fieldControl.controls.value.value.value)],\n control: subFieldControl\n }\">\n </ng-container>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n</form>\n\n\n<ng-template #dynamicField let-field let-control=\"control\" let-formgroup=\"formGroup\">\n\n <!-- fieldType: 'input' fieldInputType: 'text' | 'number' -->\n <div class=\"dynamic-field multi-line-field-container\"\n *ngIf=\"field.fieldType === 'input' && (field.fieldInputType === 'text' || field.fieldInputType === 'number')\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <input class=\"input-field ip-text\" [type]=\"field.fieldInputType\" [formControl]=\"control\"\n (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\" \n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" \n [min]=\"field.fieldInputType === 'number' ? 0 : '' \"/>\n <ng-container *ngIf=\"control.touched && control.errors\"\n [ngTemplateOutlet]=\"dynamicFieldErrors\" \n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\"\n >\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'textarea' -->\n <div class=\"dynamic-field multi-line-field-container\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'textarea'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <textarea class=\"input-field ip-textarea\" type=\"text\"\n [ngStyle]=\"{'border': control.touched && control.errors ? '1px solid #B00020': ''}\"\n [placeholder]=\"field.placeholderText ? field.placeholderText : 'Input Text'\" [formControl]=\"control\" (ngModelChange)=\"updateSubDynamicFields(field, formgroup, $event)\"></textarea>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'input' fieldInputType: 'date' -->\n <div class=\"dynamic-field single-line-field-container\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <div class=\"date-picker-container\">\n <input class=\"date-picker\" readonly misTzDp [dpConfig]=\"field.fieldConfig\"\n (dateChange)=\"control.setValue($event)\" [selectedDate]=\"control.value\" [offsetY]=\"0\"\n [value]=\"control.value\" #dp />\n <img alt=\"data-picker\" *ngIf=\"calendarIconUrl\" class=\"date-picker-icon\" [src]=\"calendarIconUrl\"\n (click)=\"dp.click()\" />\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'boolean' fieldInputType: 'toggle' -->\n <div class=\"dynamic-field single-line-field-container\"\n *ngIf=\"field.fieldType === 'boolean' && field.fieldInputType === 'toggle'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <mis-switch [control]=\"control\" (valueChanged)=\"updateSubDynamicFields(field, formgroup, $event)\"></mis-switch>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <mis-dropdown [searchEnabled]=\"false\" [width]=\"'140px'\" [data]=\"field.itemsList\" [selectedItem]=\"control.value\"\n (onChange)=\"updateSelectedValueForSingleSelect(field, control, formgroup, $event);\">\n </mis-dropdown>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'radio' -->\n <div class=\"dynamic-field multi-line-field-container\"\n *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'radio'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': item.label === control.value?.label }\"\n (click)=\"updateSelectedValueForSingleSelect(field, control, formgroup, item);\">\n <img *ngIf=\"(item.label === control.value?.label) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\" alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'checkbox' -->\n <div class=\"dynamic-field multi-line-field-container\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'checkbox'\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}\n </p>\n <div style=\"flex-basis: 100%\"></div>\n <div id=\"checkboxes-container\">\n <div class=\"radio-checkbox-common\" *ngFor=\"let item of field.itemsList\"\n [ngClass]=\"{ 'checkbox-active': isCheckBoxSelected(item.label, control.value) }\"\n (click)=\"updateSelectedValueForMultiSelect(field, control, formgroup, [item])\">\n <img *ngIf=\"isCheckBoxSelected(item.label, control.value) && activeBtnIconUrl\" [src]=\"activeBtnIconUrl\"\n alt=\"\" />\n <p class=\"h6\">{{ item.label }}</p>\n </div>\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'dropdown' -->\n <div class=\"dynamic-field single-line-field-container\"\n *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'dropdown'\">\n <p class=\"h6\">\n {{ field.title }}\n </p>\n <mis-multi-select-dropdown [width]=\"'140px'\" [showSelectedCount]=\"true\" [dropdownListWidth]=\"'256px'\"\n [searchEnabled]=\"false\" [hideApplyButton]=\"true\" [data]=\"field.itemsList\"\n [selectedItems]=\"control.value\" (onChange)=\"updateSelectedValueForMultiSelect(field, control, formgroup, $event);\"></mis-multi-select-dropdown>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n\n</ng-template>\n\n<ng-template #dynamicFieldErrors let-errors>\n <div id=\"error-messages-container\">\n <ng-container *ngFor=\"let error of errors | keyvalue\">\n <p class=\"h8\">\n {{\" \u2022 \" + error.value}}\n </p>\n <div style=\"flex-basis: 100%; height: 0\"></div>\n </ng-container>\n </div>\n</ng-template>", styles: ["p{margin:0;cursor:default}::ng-deep .main-container{margin:0;max-width:100%}.sub-dynamic-form{padding-left:24px}.dynamic-field ::ng-deep .container{height:32px!important}.single-line-field-container{display:flex;justify-content:space-between;align-items:center;padding:28px 16px;border-bottom:1px solid var(--grey-seperators)}.multi-line-field-container{display:flex;justify-content:flex-start;align-items:flex-start;padding:28px 16px;flex-wrap:wrap;border-bottom:1px solid var(--grey-seperators)}.field-title-sm{margin-bottom:8px;cursor:default}.input-field{width:100%;background-color:var(--grey-bg-1);border:1px solid var(--grey-seperators);border-radius:6px}.ip-text{height:44px;padding:8px 12px}.ip-textarea{max-height:94px;padding:8px}input:focus{outline:none}input::placeholder{color:var(--grey-seperators)}textarea:focus{outline:none}.date-picker-container{position:relative;width:140px}.date-picker-container .date-picker{cursor:pointer;height:32px;width:100%;font-size:14px;border-radius:6px;padding:0 12px;border:1px solid var(--grey-seperators);inset:10px auto auto 80px;background-color:var(--text-white)}.date-picker-container .date-picker:hover{background-color:var(--grey-hover)}.date-picker-container .date-picker-icon{position:absolute;top:50%;right:12px;transform:translateY(-50%);cursor:pointer}form .dynamic-field:last-child{border-bottom:none!important}#checkboxes-container{display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}.radio-checkbox-common{display:flex;justify-content:center;align-items:center;cursor:pointer;margin-right:8px;margin-bottom:8px;background-color:var(--text-white);padding:12px 16px;border:1px solid var(--text-muted);border-radius:8px}.radio-checkbox-common p{color:var(--text-muted);cursor:pointer}.radio-checkbox-common img{margin-right:8px}.checkbox-active{background-color:var(--pmry-500)}.checkbox-active p{color:var(--text-white)}#error-messages-container{margin-top:4px;width:100%;display:flex;justify-content:flex-start;align-items:center;flex-wrap:wrap}#error-messages-container p{color:var(--sem-error)}\n"] }]
|
|
747
|
+
}], function () { return []; }, { formFields: [{
|
|
748
|
+
type: Input
|
|
749
|
+
}], formValues: [{
|
|
750
|
+
type: Input
|
|
751
|
+
}], activeBtnIconUrl: [{
|
|
752
|
+
type: Input
|
|
753
|
+
}], calendarIconUrl: [{
|
|
754
|
+
type: Input
|
|
755
|
+
}], formUpdated: [{
|
|
756
|
+
type: Output
|
|
757
|
+
}], formValid: [{
|
|
758
|
+
type: Output
|
|
759
|
+
}], formInitialized: [{
|
|
760
|
+
type: Output
|
|
761
|
+
}] });
|
|
762
|
+
})();
|
|
763
|
+
const dynamicFieldValidator = (validators) => {
|
|
764
|
+
return (control) => {
|
|
765
|
+
let value = control.value;
|
|
766
|
+
if (Array.isArray(value)) {
|
|
767
|
+
return null;
|
|
768
|
+
}
|
|
769
|
+
else if (typeof value === 'object') {
|
|
770
|
+
value = (value === null || value === void 0 ? void 0 : value.value) ? value.value : '';
|
|
771
|
+
}
|
|
772
|
+
let errors = null;
|
|
773
|
+
validators.forEach((validator) => {
|
|
774
|
+
let error = null;
|
|
775
|
+
let message = validator.message;
|
|
776
|
+
switch (validator.type) {
|
|
777
|
+
case "Required":
|
|
778
|
+
error = Validators.required(control);
|
|
779
|
+
if (error)
|
|
780
|
+
error = { Required: message };
|
|
781
|
+
break;
|
|
782
|
+
case "MinLength":
|
|
783
|
+
error = Validators.minLength(+validator.value)(control);
|
|
784
|
+
message = message.replace('${0}', error === null || error === void 0 ? void 0 : error.minlength.requiredLength);
|
|
785
|
+
if (error)
|
|
786
|
+
error = { MinLength: message };
|
|
787
|
+
break;
|
|
788
|
+
case "MaxLength":
|
|
789
|
+
error = Validators.maxLength(+validator.value)(control);
|
|
790
|
+
message = message.replace('${0}', error === null || error === void 0 ? void 0 : error.actualLength);
|
|
791
|
+
if (error)
|
|
792
|
+
error = { MaxLength: message };
|
|
793
|
+
break;
|
|
794
|
+
case "Email":
|
|
795
|
+
error = Validators.email(control);
|
|
796
|
+
if (error)
|
|
797
|
+
error = { Email: message };
|
|
798
|
+
break;
|
|
799
|
+
case "Custom":
|
|
800
|
+
error = Validators.pattern(`${validator.value}`)(control);
|
|
801
|
+
if (error)
|
|
802
|
+
error = { Custom: message };
|
|
803
|
+
break;
|
|
804
|
+
default:
|
|
805
|
+
break;
|
|
806
|
+
}
|
|
807
|
+
if (error)
|
|
808
|
+
errors = Object.assign(Object.assign({}, errors), error);
|
|
809
|
+
});
|
|
810
|
+
return errors;
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
|
|
814
|
+
class DynamicFormModule {
|
|
815
|
+
static forRoot() {
|
|
816
|
+
return { ngModule: DynamicFormModule, providers: [] };
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
DynamicFormModule.ɵfac = function DynamicFormModule_Factory(t) { return new (t || DynamicFormModule)(); };
|
|
820
|
+
DynamicFormModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DynamicFormModule });
|
|
821
|
+
DynamicFormModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
822
|
+
ReactiveFormsModule,
|
|
823
|
+
FormsModule,
|
|
824
|
+
OverlayModule,
|
|
825
|
+
ScrollingModule,
|
|
826
|
+
DropdownModule,
|
|
827
|
+
SwitchModule,
|
|
828
|
+
MultiSelectDropdownModule,
|
|
829
|
+
DatepickerModuleV2] });
|
|
830
|
+
(function () {
|
|
831
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicFormModule, [{
|
|
832
|
+
type: NgModule,
|
|
833
|
+
args: [{
|
|
834
|
+
declarations: [DynamicFormComponent],
|
|
835
|
+
imports: [
|
|
836
|
+
CommonModule,
|
|
837
|
+
ReactiveFormsModule,
|
|
838
|
+
FormsModule,
|
|
839
|
+
OverlayModule,
|
|
840
|
+
ScrollingModule,
|
|
841
|
+
DropdownModule,
|
|
842
|
+
SwitchModule,
|
|
843
|
+
MultiSelectDropdownModule,
|
|
844
|
+
DatepickerModuleV2
|
|
845
|
+
],
|
|
846
|
+
exports: [DynamicFormComponent]
|
|
847
|
+
}]
|
|
848
|
+
}], null, null);
|
|
849
|
+
})();
|
|
850
|
+
(function () {
|
|
851
|
+
(typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(DynamicFormModule, { declarations: [DynamicFormComponent], imports: [CommonModule,
|
|
852
|
+
ReactiveFormsModule,
|
|
853
|
+
FormsModule,
|
|
854
|
+
OverlayModule,
|
|
855
|
+
ScrollingModule,
|
|
856
|
+
DropdownModule,
|
|
857
|
+
SwitchModule,
|
|
858
|
+
MultiSelectDropdownModule,
|
|
859
|
+
DatepickerModuleV2], exports: [DynamicFormComponent] });
|
|
860
|
+
})();
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* Generated bundle index. Do not edit.
|
|
864
|
+
*/
|
|
865
|
+
|
|
866
|
+
export { DynamicFormComponent, DynamicFormModule };
|
|
867
|
+
//# sourceMappingURL=mis-crystal-design-system-dynamic-form.mjs.map
|