mis-crystal-design-system 18.0.4 → 18.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-list/action-list.component.d.ts +1 -1
- package/analytics/analytics.service.d.ts +1 -1
- package/async-search-dropdown/async-dropdown.component.d.ts +2 -2
- package/button/button.component.d.ts +1 -1
- package/button/button.directive.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/chip/chip.component.d.ts +1 -1
- package/datepicker_v2/models/dp-config.model.d.ts +1 -1
- package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
- package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
- package/daterangepicker_v2/models/drp-config.model.d.ts +1 -1
- package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +1 -1
- package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +1 -1
- package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
- package/dropdown/calculate-container-height.directive.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/esm2020/action-list/action-list.component.mjs +370 -0
- package/{esm2022 → esm2020}/action-list/action-list.module.mjs +5 -5
- package/{esm2022 → esm2020}/analytics/analytics.module.mjs +5 -5
- package/esm2020/analytics/analytics.service.mjs +64 -0
- package/esm2020/async-search-dropdown/async-dropdown.component.mjs +525 -0
- package/{esm2022 → esm2020}/async-search-dropdown/async-dropdown.module.mjs +5 -5
- package/esm2020/button/button.component.mjs +87 -0
- package/esm2020/button/button.directive.mjs +61 -0
- package/{esm2022 → esm2020}/button/button.module.mjs +5 -5
- package/esm2020/checkbox/checkbox.component.mjs +124 -0
- package/{esm2022 → esm2020}/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/chip/chip.component.mjs +82 -0
- package/{esm2022 → esm2020}/chip/chip.module.mjs +5 -5
- package/{esm2022 → esm2020}/datepicker_v2/datepicker.module.mjs +5 -5
- package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +183 -0
- package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +449 -0
- package/esm2020/datepicker_v2/utils/index.mjs +45 -0
- package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
- package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
- package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +502 -0
- package/{esm2022/datepicker_v2 → esm2020/daterangepicker_v2}/utils/index.mjs +1 -1
- package/esm2020/drawer/drawer-body/drawer-body.component.mjs +58 -0
- package/{esm2022 → esm2020}/drawer/drawer-ref.mjs +4 -4
- package/{esm2022 → esm2020}/drawer/drawer.module.mjs +5 -5
- package/{esm2022 → esm2020}/drawer/drawer.service.mjs +5 -5
- package/esm2020/dropdown/calculate-container-height.directive.mjs +41 -0
- package/esm2020/dropdown/dropdown.component.mjs +472 -0
- package/{esm2022 → esm2020}/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/dynamic-form/dynamic-form.component.mjs +1108 -0
- package/{esm2022 → esm2020}/dynamic-form/dynamic-form.module.mjs +13 -13
- package/esm2020/fab/fab.component.mjs +144 -0
- package/{esm2022 → esm2020}/fab/fab.module.mjs +5 -5
- package/esm2020/filter/filter-panel/filter-panel.component.mjs +403 -0
- package/{esm2022 → esm2020}/filter/filters.module.mjs +17 -17
- package/esm2020/filter/has-value.pipe.mjs +31 -0
- package/{esm2022 → esm2020}/input/directives/input/input.directive.mjs +6 -6
- package/esm2020/input/mis-input.component.mjs +84 -0
- package/{esm2022 → esm2020}/input/mis-input.module.mjs +5 -5
- package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +88 -0
- package/{esm2022 → esm2020}/input-stepper/input-stepper.module.mjs +5 -5
- package/esm2020/loader/loader.component.mjs +24 -0
- package/{esm2022 → esm2020}/loader/loader.module.mjs +5 -5
- package/esm2020/menu/menu-close.directive.mjs +25 -0
- package/{esm2022 → esm2020}/menu/menu.directive.mjs +7 -7
- package/{esm2022 → esm2020}/menu/menu.module.mjs +5 -5
- package/esm2020/mobile-filter/mobile-filter.component.mjs +181 -0
- package/{esm2022 → esm2020}/mobile-filter/mobile-filter.module.mjs +5 -5
- package/{esm2022 → esm2020}/modal/modal.module.mjs +5 -5
- package/esm2020/modal/modal.service.mjs +70 -0
- package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +55 -0
- package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +491 -0
- package/{esm2022 → esm2020}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
- package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +517 -0
- package/{esm2022 → esm2020}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
- package/esm2020/phone-input/phone-input.component.mjs +71 -0
- package/{esm2022 → esm2020}/phone-input/phone-input.module.mjs +5 -5
- package/esm2020/radio-button/radio-button.component.mjs +56 -0
- package/{esm2022 → esm2020}/radio-button/radio-button.module.mjs +5 -5
- package/esm2020/ske-loader/ske-loader.component.mjs +53 -0
- package/{esm2022 → esm2020}/ske-loader/ske-loader.module.mjs +5 -5
- package/esm2020/slider/slider.component.mjs +45 -0
- package/{esm2022 → esm2020}/slider/slider.module.mjs +7 -7
- package/esm2020/snackbar/snackbar/snackbar.component.mjs +72 -0
- package/{esm2022 → esm2020}/snackbar/snackbar.module.mjs +5 -5
- package/esm2020/snackbar/snackbar.service.mjs +47 -0
- package/{esm2022 → esm2020}/specificdatepicker/specificdatepicker.module.mjs +5 -5
- package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
- package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
- package/esm2020/specificdatepicker/utils/index.mjs +45 -0
- package/esm2020/star-rating/star-rating.component.mjs +112 -0
- package/{esm2022 → esm2020}/star-rating/star-rating.module.mjs +5 -5
- package/esm2020/switch/switch.component.mjs +55 -0
- package/{esm2022 → esm2020}/switch/switch.module.mjs +5 -5
- package/esm2020/table/custom-table-cell.directive.mjs +42 -0
- package/esm2020/table/filter/filter.component.mjs +176 -0
- package/esm2020/table/sub-table/sub-table.component.mjs +193 -0
- package/esm2020/table/table.component.mjs +492 -0
- package/{esm2022 → esm2020}/table/table.module.mjs +5 -5
- package/esm2020/timepicker/timepicker.component.mjs +370 -0
- package/esm2020/timepicker/timepicker.directive.mjs +69 -0
- package/{esm2022 → esm2020}/timepicker/timepicker.module.mjs +5 -5
- package/esm2020/timerangepicker/timerangepicker.component.mjs +236 -0
- package/{esm2022 → esm2020}/timerangepicker/timerangepicker.module.mjs +5 -5
- package/esm2020/toast/toast.component.mjs +50 -0
- package/{esm2022 → esm2020}/toast/toast.data.service.mjs +8 -8
- package/{esm2022 → esm2020}/toast/toast.module.mjs +5 -5
- package/esm2020/toast/toast.service.mjs +91 -0
- package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +79 -0
- package/esm2020/tooltip/tooltip.directive.mjs +143 -0
- package/{esm2022 → esm2020}/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/virtual-scroll/virtual-scroll.component.mjs +190 -0
- package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.module.mjs +7 -7
- package/esm2020/widgets/classes/async-widget.mjs +23 -0
- package/{esm2022 → esm2020}/widgets/classes/base-widget.mjs +1 -1
- package/esm2020/widgets/classes/sync-widget.mjs +20 -0
- package/{esm2022 → esm2020}/widgets/services/widget.service.mjs +5 -5
- package/{esm2022 → esm2020}/widgets/widgets.module.mjs +5 -5
- package/fab/fab.component.d.ts +4 -4
- package/fesm2015/mis-crystal-design-system-action-list.mjs +446 -0
- package/fesm2015/mis-crystal-design-system-action-list.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-analytics.mjs +87 -0
- package/fesm2015/mis-crystal-design-system-analytics.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +618 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-button.mjs +189 -0
- package/fesm2015/mis-crystal-design-system-button.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-checkbox.mjs +166 -0
- package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-chip.mjs +123 -0
- package/fesm2015/mis-crystal-design-system-chip.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +751 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +769 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-drawer.mjs +185 -0
- package/fesm2015/mis-crystal-design-system-drawer.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-dropdown.mjs +616 -0
- package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +1337 -0
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-fab.mjs +186 -0
- package/fesm2015/mis-crystal-design-system-fab.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-filter.mjs +559 -0
- package/fesm2015/mis-crystal-design-system-filter.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-input-stepper.mjs +124 -0
- package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-input.mjs +165 -0
- package/fesm2015/mis-crystal-design-system-input.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-loader.mjs +57 -0
- package/fesm2015/mis-crystal-design-system-loader.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-menu.mjs +135 -0
- package/fesm2015/mis-crystal-design-system-menu.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +227 -0
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-modal.mjs +184 -0
- package/fesm2015/mis-crystal-design-system-modal.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +550 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +559 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-phone-input.mjs +107 -0
- package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-radio-button.mjs +89 -0
- package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs +86 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-slider.mjs +88 -0
- package/fesm2015/mis-crystal-design-system-slider.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-snackbar.mjs +175 -0
- package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +970 -0
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-star-rating.mjs +145 -0
- package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-switch.mjs +88 -0
- package/fesm2015/mis-crystal-design-system-switch.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-table.mjs +1045 -0
- package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs +484 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +273 -0
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-toast.mjs +214 -0
- package/fesm2015/mis-crystal-design-system-toast.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-tooltip.mjs +272 -0
- package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +259 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-widgets.mjs +131 -0
- package/fesm2015/mis-crystal-design-system-widgets.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-action-list.mjs +113 -106
- package/fesm2020/mis-crystal-design-system-action-list.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs +9 -9
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-async-search-dropdown.mjs +144 -138
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-button.mjs +172 -0
- package/fesm2020/mis-crystal-design-system-button.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-checkbox.mjs +150 -0
- package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-chip.mjs +108 -0
- package/fesm2020/mis-crystal-design-system-chip.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-datepicker_v2.mjs +140 -133
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +736 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs +33 -34
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-dropdown.mjs +184 -176
- package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-dynamic-form.mjs +456 -441
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-fab.mjs +47 -48
- package/fesm2020/mis-crystal-design-system-fab.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-filter.mjs +140 -133
- package/fesm2020/mis-crystal-design-system-filter.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs +34 -35
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
- package/{esm2022/input/mis-input.component.mjs → fesm2020/mis-crystal-design-system-input.mjs} +109 -49
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-loader.mjs +50 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-loader.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs +16 -16
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +206 -0
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs +33 -34
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-multi-select-dropdown.mjs +109 -107
- package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +129 -128
- package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs +21 -22
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-radio-button.mjs +82 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs +76 -0
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-slider.mjs +79 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-slider.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-snackbar.mjs +32 -32
- package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
- package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-star-rating.mjs +28 -29
- package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-styles.mjs +4 -0
- package/fesm2020/mis-crystal-design-system-styles.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-switch.mjs +81 -0
- package/fesm2020/mis-crystal-design-system-switch.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-table.mjs +321 -314
- package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs +74 -78
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs +25 -26
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs +34 -35
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs +47 -47
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-utils.mjs +24 -0
- package/fesm2020/mis-crystal-design-system-utils.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-virtual-scroll.mjs +52 -50
- package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs +4 -4
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system.mjs +24 -0
- package/fesm2020/mis-crystal-design-system.mjs.map +1 -0
- package/filter/filter-panel/filter-panel.component.d.ts +4 -3
- package/input/directives/input/input.directive.d.ts +1 -1
- package/input/mis-input.component.d.ts +1 -1
- package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
- package/loader/loader.component.d.ts +1 -1
- package/menu/menu-close.directive.d.ts +1 -1
- package/menu/menu.directive.d.ts +1 -1
- package/mobile-filter/mobile-filter.component.d.ts +1 -1
- package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
- package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
- package/package.json +204 -122
- package/phone-input/phone-input.component.d.ts +1 -1
- package/radio-button/radio-button.component.d.ts +1 -1
- package/ske-loader/ske-loader.component.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/snackbar/snackbar/snackbar.component.d.ts +1 -1
- package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
- package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
- package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
- package/star-rating/star-rating.component.d.ts +1 -1
- package/switch/switch.component.d.ts +1 -1
- package/table/custom-table-cell.directive.d.ts +1 -1
- package/table/filter/filter.component.d.ts +1 -1
- package/table/sub-table/sub-table.component.d.ts +1 -1
- package/table/table.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +1 -1
- package/timerangepicker/timerange.namespace.d.ts +1 -1
- package/timerangepicker/timerangepicker.component.d.ts +1 -1
- package/toast/toast.component.d.ts +1 -1
- package/toast/toast.service.d.ts +1 -1
- package/tooltip/models/tooltip.model.d.ts +1 -1
- package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
- package/widgets/interfaces/widgets.model.d.ts +1 -1
- package/esm2022/action-list/action-list.component.mjs +0 -363
- package/esm2022/analytics/analytics.service.mjs +0 -64
- package/esm2022/async-search-dropdown/async-dropdown.component.mjs +0 -519
- package/esm2022/button/button.component.mjs +0 -88
- package/esm2022/button/button.directive.mjs +0 -61
- package/esm2022/checkbox/checkbox.component.mjs +0 -124
- package/esm2022/chip/chip.component.mjs +0 -82
- package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +0 -183
- package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -442
- package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -165
- package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -503
- package/esm2022/daterangepicker_v2/utils/index.mjs +0 -45
- package/esm2022/drawer/drawer-body/drawer-body.component.mjs +0 -59
- package/esm2022/dropdown/calculate-container-height.directive.mjs +0 -41
- package/esm2022/dropdown/dropdown.component.mjs +0 -464
- package/esm2022/dynamic-form/dynamic-form.component.mjs +0 -1093
- package/esm2022/fab/fab.component.mjs +0 -145
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +0 -396
- package/esm2022/filter/has-value.pipe.mjs +0 -31
- package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +0 -89
- package/esm2022/loader/loader.component.mjs +0 -25
- package/esm2022/menu/menu-close.directive.mjs +0 -25
- package/esm2022/mobile-filter/mobile-filter.component.mjs +0 -180
- package/esm2022/modal/modal.service.mjs +0 -70
- package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +0 -56
- package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -489
- package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -516
- package/esm2022/phone-input/phone-input.component.mjs +0 -72
- package/esm2022/radio-button/radio-button.component.mjs +0 -57
- package/esm2022/ske-loader/ske-loader.component.mjs +0 -54
- package/esm2022/slider/slider.component.mjs +0 -46
- package/esm2022/snackbar/snackbar/snackbar.component.mjs +0 -72
- package/esm2022/snackbar/snackbar.service.mjs +0 -47
- package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
- package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
- package/esm2022/specificdatepicker/utils/index.mjs +0 -45
- package/esm2022/star-rating/star-rating.component.mjs +0 -113
- package/esm2022/switch/switch.component.mjs +0 -56
- package/esm2022/table/custom-table-cell.directive.mjs +0 -42
- package/esm2022/table/filter/filter.component.mjs +0 -177
- package/esm2022/table/sub-table/sub-table.component.mjs +0 -192
- package/esm2022/table/table.component.mjs +0 -485
- package/esm2022/timepicker/timepicker.component.mjs +0 -374
- package/esm2022/timepicker/timepicker.directive.mjs +0 -69
- package/esm2022/timerangepicker/timerangepicker.component.mjs +0 -237
- package/esm2022/toast/toast.component.mjs +0 -51
- package/esm2022/toast/toast.service.mjs +0 -91
- package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +0 -79
- package/esm2022/tooltip/tooltip.directive.mjs +0 -143
- package/esm2022/virtual-scroll/virtual-scroll.component.mjs +0 -188
- package/esm2022/widgets/classes/async-widget.mjs +0 -23
- package/esm2022/widgets/classes/sync-widget.mjs +0 -20
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-button.mjs +0 -173
- package/fesm2022/mis-crystal-design-system-button.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-checkbox.mjs +0 -150
- package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-chip.mjs +0 -108
- package/fesm2022/mis-crystal-design-system-chip.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +0 -737
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-input.mjs +0 -146
- package/fesm2022/mis-crystal-design-system-loader.mjs +0 -51
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +0 -205
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-radio-button.mjs +0 -83
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs +0 -77
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-slider.mjs +0 -80
- package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-switch.mjs +0 -82
- package/fesm2022/mis-crystal-design-system-switch.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-table.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
- /package/{esm2022 → esm2020}/action-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
- /package/{esm2022 → esm2020}/action-list/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/index.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/button/mis-crystal-design-system-button.mjs +0 -0
- /package/{esm2022 → esm2020}/button/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/index.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/mis-crystal-design-system-chip.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/datepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/index.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/models/dp-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/index.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/models/drp-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/drawer-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/dynamic-form.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/index.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/mis-crystal-design-system-fab.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/animations/slideFromRight.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/index.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/mis-crystal-design-system-filter.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/mis-crystal-design-system-input.mjs +0 -0
- /package/{esm2022 → esm2020}/input/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/index.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/mis-crystal-design-system-loader.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/index.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/mis-crystal-design-system-menu.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/mis-crystal-design-system.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/index.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/index.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/mis-crystal-design-system-modal.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/modal-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/modal-ref.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/index.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/index.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/mis-crystal-design-system-slider.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/index.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/daterangepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/models/sdp-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/index.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/index.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/mis-crystal-design-system-styles.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/index.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/mis-crystal-design-system-switch.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/table/index.mjs +0 -0
- /package/{esm2022 → esm2020}/table/mis-crystal-design-system-table.mjs +0 -0
- /package/{esm2022 → esm2020}/table/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/time.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/timerange.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/index.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/mis-crystal-design-system-toast.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/models/tooltip.model.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/mis-crystal-design-system-utils.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/index.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/classes/widget-group.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/index.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/interfaces/widgets.model.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/public_api.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs.map +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs.map +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs.map +0 -0
|
@@ -27,133 +27,131 @@ const _c4 = ["customSingleSelectDropdown"];
|
|
|
27
27
|
const _c5 = ["customSingleSelectRadio"];
|
|
28
28
|
const _c6 = ["customMultiSelectCheckbox"];
|
|
29
29
|
const _c7 = ["customMultiSelectDropdown"];
|
|
30
|
-
const _c8 = (a0, a1
|
|
31
|
-
const _c9 = (a0, a1) => ({ $implicit: a0, control: a1 });
|
|
32
|
-
const _c10 = (a0, a1, a2) => ({ field: a0, control: a1, formgroup: a2 });
|
|
33
|
-
const _c11 = a0 => ({ "border-bottom": a0 });
|
|
34
|
-
const _c12 = a0 => ({ "border": a0 });
|
|
35
|
-
const _c13 = a0 => ({ $implicit: a0 });
|
|
36
|
-
const _c14 = a0 => ({ "removeable-container": a0 });
|
|
37
|
-
const _c15 = a0 => ({ "checkbox-active": a0 });
|
|
38
|
-
const _c16 = () => ({ "flex-basis": "100%", "height": "0" });
|
|
30
|
+
const _c8 = function (a0, a1) { return { $implicit: a0, control: a1 }; };
|
|
39
31
|
function DynamicFormComponent_ng_container_2_div_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
40
32
|
i0.ɵɵelementContainerStart(0);
|
|
41
|
-
i0.ɵɵelementContainer(1,
|
|
33
|
+
i0.ɵɵelementContainer(1, 6);
|
|
42
34
|
i0.ɵɵelementContainerEnd();
|
|
43
35
|
} if (rf & 2) {
|
|
44
|
-
const
|
|
45
|
-
const
|
|
46
|
-
const
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
const
|
|
50
|
-
const
|
|
51
|
-
i0.ɵɵadvance();
|
|
52
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
36
|
+
const subFieldControl_r9 = ctx.$implicit;
|
|
37
|
+
const j_r10 = ctx.index;
|
|
38
|
+
const ctx_r11 = i0.ɵɵnextContext(2);
|
|
39
|
+
const i_r6 = ctx_r11.index;
|
|
40
|
+
const fieldControl_r5 = ctx_r11.$implicit;
|
|
41
|
+
const ctx_r8 = i0.ɵɵnextContext();
|
|
42
|
+
const _r1 = i0.ɵɵreference(4);
|
|
43
|
+
i0.ɵɵadvance(1);
|
|
44
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c8, ctx_r8.findSelectedSubFieldConfig(ctx_r8.formFields[i_r6] == null ? null : ctx_r8.formFields[i_r6].subFields, fieldControl_r5.controls.value.value.value, j_r10), subFieldControl_r9));
|
|
53
45
|
} }
|
|
54
46
|
function DynamicFormComponent_ng_container_2_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
55
|
-
i0.ɵɵelementStart(0, "div",
|
|
56
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_container_2_div_2_ng_container_1_Template, 2, 5, "ng-container",
|
|
47
|
+
i0.ɵɵelementStart(0, "div", 8);
|
|
48
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_container_2_div_2_ng_container_1_Template, 2, 5, "ng-container", 9);
|
|
57
49
|
i0.ɵɵelementEnd();
|
|
58
50
|
} if (rf & 2) {
|
|
59
|
-
const
|
|
60
|
-
i0.ɵɵadvance();
|
|
61
|
-
i0.ɵɵproperty("ngForOf",
|
|
51
|
+
const fieldControl_r5 = i0.ɵɵnextContext().$implicit;
|
|
52
|
+
i0.ɵɵadvance(1);
|
|
53
|
+
i0.ɵɵproperty("ngForOf", fieldControl_r5.controls.subFields.controls);
|
|
62
54
|
} }
|
|
55
|
+
const _c9 = function (a0, a1, a2) { return { $implicit: a0, formGroup: a1, control: a2 }; };
|
|
63
56
|
function DynamicFormComponent_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
64
|
-
i0.ɵɵelementContainerStart(0,
|
|
65
|
-
i0.ɵɵelementContainer(1,
|
|
66
|
-
i0.ɵɵtemplate(2, DynamicFormComponent_ng_container_2_div_2_Template, 2, 1, "div",
|
|
57
|
+
i0.ɵɵelementContainerStart(0, 5);
|
|
58
|
+
i0.ɵɵelementContainer(1, 6);
|
|
59
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_container_2_div_2_Template, 2, 1, "div", 7);
|
|
67
60
|
i0.ɵɵelementContainerEnd();
|
|
68
61
|
} if (rf & 2) {
|
|
69
|
-
const
|
|
70
|
-
const
|
|
71
|
-
const
|
|
72
|
-
const
|
|
73
|
-
i0.ɵɵproperty("formGroupName",
|
|
74
|
-
i0.ɵɵadvance();
|
|
75
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
76
|
-
i0.ɵɵadvance();
|
|
77
|
-
i0.ɵɵproperty("ngIf", (
|
|
62
|
+
const fieldControl_r5 = ctx.$implicit;
|
|
63
|
+
const i_r6 = ctx.index;
|
|
64
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
65
|
+
const _r1 = i0.ɵɵreference(4);
|
|
66
|
+
i0.ɵɵproperty("formGroupName", i_r6);
|
|
67
|
+
i0.ɵɵadvance(1);
|
|
68
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r1)("ngTemplateOutletContext", i0.ɵɵpureFunction3(4, _c9, ctx_r0.formFields[i_r6], fieldControl_r5, fieldControl_r5.controls.value));
|
|
69
|
+
i0.ɵɵadvance(1);
|
|
70
|
+
i0.ɵɵproperty("ngIf", (fieldControl_r5 == null ? null : 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 == null ? null : fieldControl_r5.controls == null ? null : fieldControl_r5.controls.value == null ? null : fieldControl_r5.controls.value.value == null ? null : fieldControl_r5.controls.value.value.value)));
|
|
78
71
|
} }
|
|
79
72
|
function DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
73
|
+
const _c10 = function (a0, a1, a2) { return { field: a0, control: a1, formgroup: a2 }; };
|
|
80
74
|
function DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
81
75
|
i0.ɵɵelementContainerStart(0);
|
|
82
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
76
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
83
77
|
i0.ɵɵelementContainerEnd();
|
|
84
78
|
} if (rf & 2) {
|
|
85
|
-
const
|
|
86
|
-
const
|
|
87
|
-
const
|
|
88
|
-
const
|
|
89
|
-
const
|
|
90
|
-
i0.ɵɵadvance();
|
|
91
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
79
|
+
const ctx_r28 = i0.ɵɵnextContext(2);
|
|
80
|
+
const field_r13 = ctx_r28.$implicit;
|
|
81
|
+
const control_r14 = ctx_r28.control;
|
|
82
|
+
const formgroup_r15 = ctx_r28.formGroup;
|
|
83
|
+
const ctx_r24 = i0.ɵɵnextContext();
|
|
84
|
+
i0.ɵɵadvance(1);
|
|
85
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r24.customInputTextNumber)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
92
86
|
} }
|
|
93
87
|
function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
94
88
|
i0.ɵɵelementStart(0, "span");
|
|
95
89
|
i0.ɵɵtext(1, " *");
|
|
96
90
|
i0.ɵɵelementEnd();
|
|
97
91
|
} }
|
|
92
|
+
const _c11 = function (a0) { return { $implicit: a0 }; };
|
|
98
93
|
function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
99
|
-
i0.ɵɵelementContainer(0,
|
|
94
|
+
i0.ɵɵelementContainer(0, 6);
|
|
100
95
|
} if (rf & 2) {
|
|
101
|
-
const
|
|
96
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
102
97
|
i0.ɵɵnextContext();
|
|
103
|
-
const
|
|
104
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
98
|
+
const _r3 = i0.ɵɵreference(6);
|
|
99
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
105
100
|
} }
|
|
101
|
+
const _c12 = function (a0) { return { "border-bottom": a0 }; };
|
|
102
|
+
const _c13 = function (a0) { return { "border": a0 }; };
|
|
106
103
|
function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
107
|
-
const
|
|
108
|
-
i0.ɵɵelementStart(0, "div",
|
|
104
|
+
const _r34 = i0.ɵɵgetCurrentView();
|
|
105
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
109
106
|
i0.ɵɵtext(2);
|
|
110
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_span_3_Template, 2, 0, "span",
|
|
107
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
111
108
|
i0.ɵɵelementEnd();
|
|
112
|
-
i0.ɵɵelement(4, "div",
|
|
113
|
-
i0.ɵɵelementStart(5, "input",
|
|
114
|
-
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_Template_input_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(
|
|
109
|
+
i0.ɵɵelement(4, "div", 15);
|
|
110
|
+
i0.ɵɵelementStart(5, "input", 16);
|
|
111
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_Template_input_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r34); const ctx_r33 = i0.ɵɵnextContext(2); const field_r13 = ctx_r33.$implicit; const formgroup_r15 = ctx_r33.formGroup; const ctx_r32 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r32.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
115
112
|
i0.ɵɵelementEnd();
|
|
116
|
-
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_ng_container_6_Template, 1, 4, "ng-container",
|
|
113
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_ng_container_6_Template, 1, 4, "ng-container", 17);
|
|
117
114
|
i0.ɵɵelementEnd();
|
|
118
115
|
} if (rf & 2) {
|
|
119
|
-
const
|
|
120
|
-
const
|
|
121
|
-
const
|
|
122
|
-
const
|
|
123
|
-
const
|
|
124
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9,
|
|
116
|
+
const ctx_r35 = i0.ɵɵnextContext(2);
|
|
117
|
+
const formgroup_r15 = ctx_r35.formGroup;
|
|
118
|
+
const field_r13 = ctx_r35.$implicit;
|
|
119
|
+
const control_r14 = ctx_r35.control;
|
|
120
|
+
const ctx_r26 = i0.ɵɵnextContext();
|
|
121
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r26.removeSepratorForSubFields ? "none" : ""));
|
|
125
122
|
i0.ɵɵadvance(2);
|
|
126
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
127
|
-
i0.ɵɵadvance();
|
|
128
|
-
i0.ɵɵproperty("ngIf",
|
|
123
|
+
i0.ɵɵtextInterpolate1(" ", field_r13 == null ? null : field_r13.title, " ");
|
|
124
|
+
i0.ɵɵadvance(1);
|
|
125
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
129
126
|
i0.ɵɵadvance(2);
|
|
130
|
-
i0.ɵɵproperty("type",
|
|
131
|
-
i0.ɵɵadvance();
|
|
132
|
-
i0.ɵɵproperty("ngIf",
|
|
127
|
+
i0.ɵɵproperty("type", field_r13.fieldInputType)("formControl", control_r14)("ngStyle", i0.ɵɵpureFunction1(11, _c13, control_r14.touched && control_r14.errors ? "1px solid #B00020" : ""))("placeholder", field_r13.placeholderText ? field_r13.placeholderText : "Input Text")("min", field_r13.fieldInputType === "number" ? 0 : "");
|
|
128
|
+
i0.ɵɵadvance(1);
|
|
129
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
133
130
|
} }
|
|
134
131
|
function DynamicFormComponent_ng_template_3_ng_container_0_Template(rf, ctx) { if (rf & 1) {
|
|
135
132
|
i0.ɵɵelementContainerStart(0);
|
|
136
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_Template, 2, 6, "ng-container",
|
|
133
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_0_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
134
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_0_ng_template_2_Template, 7, 13, "ng-template", null, 12, i0.ɵɵtemplateRefExtractor);
|
|
137
135
|
i0.ɵɵelementContainerEnd();
|
|
138
136
|
} if (rf & 2) {
|
|
139
|
-
const
|
|
140
|
-
const
|
|
141
|
-
i0.ɵɵadvance();
|
|
142
|
-
i0.ɵɵproperty("ngIf",
|
|
137
|
+
const _r25 = i0.ɵɵreference(3);
|
|
138
|
+
const ctx_r16 = i0.ɵɵnextContext(2);
|
|
139
|
+
i0.ɵɵadvance(1);
|
|
140
|
+
i0.ɵɵproperty("ngIf", ctx_r16.customInputTextNumber)("ngIfElse", _r25);
|
|
143
141
|
} }
|
|
144
142
|
function DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
145
143
|
function DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
146
144
|
i0.ɵɵelementContainerStart(0);
|
|
147
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
145
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
148
146
|
i0.ɵɵelementContainerEnd();
|
|
149
147
|
} if (rf & 2) {
|
|
150
|
-
const
|
|
151
|
-
const
|
|
152
|
-
const
|
|
153
|
-
const
|
|
154
|
-
const
|
|
155
|
-
i0.ɵɵadvance();
|
|
156
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
148
|
+
const ctx_r40 = i0.ɵɵnextContext(2);
|
|
149
|
+
const field_r13 = ctx_r40.$implicit;
|
|
150
|
+
const control_r14 = ctx_r40.control;
|
|
151
|
+
const formgroup_r15 = ctx_r40.formGroup;
|
|
152
|
+
const ctx_r36 = i0.ɵɵnextContext();
|
|
153
|
+
i0.ɵɵadvance(1);
|
|
154
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r36.customInputTextarea)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
157
155
|
} }
|
|
158
156
|
function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
159
157
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -161,64 +159,65 @@ function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_span_3_
|
|
|
161
159
|
i0.ɵɵelementEnd();
|
|
162
160
|
} }
|
|
163
161
|
function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
164
|
-
i0.ɵɵelementContainer(0,
|
|
162
|
+
i0.ɵɵelementContainer(0, 6);
|
|
165
163
|
} if (rf & 2) {
|
|
166
|
-
const
|
|
164
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
167
165
|
i0.ɵɵnextContext();
|
|
168
|
-
const
|
|
169
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
166
|
+
const _r3 = i0.ɵɵreference(6);
|
|
167
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
170
168
|
} }
|
|
171
169
|
function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
172
|
-
const
|
|
173
|
-
i0.ɵɵelementStart(0, "div",
|
|
170
|
+
const _r46 = i0.ɵɵgetCurrentView();
|
|
171
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
174
172
|
i0.ɵɵtext(2);
|
|
175
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_span_3_Template, 2, 0, "span",
|
|
173
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
176
174
|
i0.ɵɵelementEnd();
|
|
177
|
-
i0.ɵɵelement(4, "div",
|
|
178
|
-
i0.ɵɵelementStart(5, "textarea",
|
|
179
|
-
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_Template_textarea_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(
|
|
175
|
+
i0.ɵɵelement(4, "div", 15);
|
|
176
|
+
i0.ɵɵelementStart(5, "textarea", 19);
|
|
177
|
+
i0.ɵɵlistener("ngModelChange", function DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_Template_textarea_ngModelChange_5_listener($event) { i0.ɵɵrestoreView(_r46); const ctx_r45 = i0.ɵɵnextContext(2); const field_r13 = ctx_r45.$implicit; const formgroup_r15 = ctx_r45.formGroup; const ctx_r44 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r44.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
180
178
|
i0.ɵɵelementEnd();
|
|
181
|
-
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_ng_container_6_Template, 1, 4, "ng-container",
|
|
179
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_ng_container_6_Template, 1, 4, "ng-container", 17);
|
|
182
180
|
i0.ɵɵelementEnd();
|
|
183
181
|
} if (rf & 2) {
|
|
184
|
-
const
|
|
185
|
-
const
|
|
186
|
-
const
|
|
187
|
-
const
|
|
188
|
-
const
|
|
189
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7,
|
|
182
|
+
const ctx_r47 = i0.ɵɵnextContext(2);
|
|
183
|
+
const formgroup_r15 = ctx_r47.formGroup;
|
|
184
|
+
const field_r13 = ctx_r47.$implicit;
|
|
185
|
+
const control_r14 = ctx_r47.control;
|
|
186
|
+
const ctx_r38 = i0.ɵɵnextContext();
|
|
187
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r38.removeSepratorForSubFields ? "none" : ""));
|
|
190
188
|
i0.ɵɵadvance(2);
|
|
191
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
192
|
-
i0.ɵɵadvance();
|
|
193
|
-
i0.ɵɵproperty("ngIf",
|
|
189
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
190
|
+
i0.ɵɵadvance(1);
|
|
191
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
194
192
|
i0.ɵɵadvance(2);
|
|
195
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9,
|
|
196
|
-
i0.ɵɵadvance();
|
|
197
|
-
i0.ɵɵproperty("ngIf",
|
|
193
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c13, control_r14.touched && control_r14.errors ? "1px solid #B00020" : ""))("placeholder", field_r13.placeholderText ? field_r13.placeholderText : "Input Text")("formControl", control_r14);
|
|
194
|
+
i0.ɵɵadvance(1);
|
|
195
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
198
196
|
} }
|
|
199
197
|
function DynamicFormComponent_ng_template_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
200
198
|
i0.ɵɵelementContainerStart(0);
|
|
201
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_Template, 2, 6, "ng-container",
|
|
199
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
200
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_1_ng_template_2_Template, 7, 11, "ng-template", null, 18, i0.ɵɵtemplateRefExtractor);
|
|
202
201
|
i0.ɵɵelementContainerEnd();
|
|
203
202
|
} if (rf & 2) {
|
|
204
|
-
const
|
|
205
|
-
const
|
|
206
|
-
i0.ɵɵadvance();
|
|
207
|
-
i0.ɵɵproperty("ngIf",
|
|
203
|
+
const _r37 = i0.ɵɵreference(3);
|
|
204
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
205
|
+
i0.ɵɵadvance(1);
|
|
206
|
+
i0.ɵɵproperty("ngIf", ctx_r17.customInputTextarea)("ngIfElse", _r37);
|
|
208
207
|
} }
|
|
209
208
|
function DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
210
209
|
function DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
211
210
|
i0.ɵɵelementContainerStart(0);
|
|
212
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
211
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
213
212
|
i0.ɵɵelementContainerEnd();
|
|
214
213
|
} if (rf & 2) {
|
|
215
|
-
const
|
|
216
|
-
const
|
|
217
|
-
const
|
|
218
|
-
const
|
|
219
|
-
const
|
|
220
|
-
i0.ɵɵadvance();
|
|
221
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
214
|
+
const ctx_r52 = i0.ɵɵnextContext(2);
|
|
215
|
+
const field_r13 = ctx_r52.$implicit;
|
|
216
|
+
const control_r14 = ctx_r52.control;
|
|
217
|
+
const formgroup_r15 = ctx_r52.formGroup;
|
|
218
|
+
const ctx_r48 = i0.ɵɵnextContext();
|
|
219
|
+
i0.ɵɵadvance(1);
|
|
220
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r48.customInputDate)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
222
221
|
} }
|
|
223
222
|
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
224
223
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -226,82 +225,83 @@ function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_s
|
|
|
226
225
|
i0.ɵɵelementEnd();
|
|
227
226
|
} }
|
|
228
227
|
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template(rf, ctx) { if (rf & 1) {
|
|
229
|
-
const
|
|
230
|
-
i0.ɵɵelementStart(0, "img",
|
|
231
|
-
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template_img_click_0_listener() { i0.ɵɵrestoreView(
|
|
228
|
+
const _r59 = i0.ɵɵgetCurrentView();
|
|
229
|
+
i0.ɵɵelementStart(0, "img", 28);
|
|
230
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r59); i0.ɵɵnextContext(); const _r55 = i0.ɵɵreference(6); return i0.ɵɵresetView(_r55.click()); });
|
|
232
231
|
i0.ɵɵelementEnd();
|
|
233
232
|
} if (rf & 2) {
|
|
234
|
-
const
|
|
235
|
-
i0.ɵɵproperty("src",
|
|
233
|
+
const ctx_r56 = i0.ɵɵnextContext(5);
|
|
234
|
+
i0.ɵɵproperty("src", ctx_r56.calendarIconUrl, i0.ɵɵsanitizeUrl);
|
|
236
235
|
} }
|
|
237
236
|
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_ng_container_8_Template(rf, ctx) { if (rf & 1) {
|
|
238
|
-
i0.ɵɵelementContainer(0,
|
|
237
|
+
i0.ɵɵelementContainer(0, 6);
|
|
239
238
|
} if (rf & 2) {
|
|
240
|
-
const
|
|
239
|
+
const control_r14 = i0.ɵɵnextContext(4).control;
|
|
241
240
|
i0.ɵɵnextContext();
|
|
242
|
-
const
|
|
243
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
241
|
+
const _r3 = i0.ɵɵreference(6);
|
|
242
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
244
243
|
} }
|
|
245
244
|
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template(rf, ctx) { if (rf & 1) {
|
|
246
|
-
const
|
|
247
|
-
i0.ɵɵelementStart(0, "div",
|
|
245
|
+
const _r63 = i0.ɵɵgetCurrentView();
|
|
246
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
248
247
|
i0.ɵɵtext(2);
|
|
249
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_span_3_Template, 2, 0, "span",
|
|
248
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_span_3_Template, 2, 0, "span", 10);
|
|
250
249
|
i0.ɵɵelementEnd();
|
|
251
|
-
i0.ɵɵelementStart(4, "div",
|
|
252
|
-
i0.ɵɵlistener("dateChange", function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template_input_dateChange_5_listener($event) { i0.ɵɵrestoreView(
|
|
250
|
+
i0.ɵɵelementStart(4, "div", 24)(5, "input", 25, 26);
|
|
251
|
+
i0.ɵɵlistener("dateChange", function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template_input_dateChange_5_listener($event) { i0.ɵɵrestoreView(_r63); const control_r14 = i0.ɵɵnextContext(3).control; return i0.ɵɵresetView(control_r14.setValue($event)); });
|
|
253
252
|
i0.ɵɵelementEnd();
|
|
254
|
-
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template, 1, 1, "img",
|
|
253
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_img_7_Template, 1, 1, "img", 27);
|
|
255
254
|
i0.ɵɵelementEnd();
|
|
256
|
-
i0.ɵɵtemplate(8, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_ng_container_8_Template, 1, 4, "ng-container",
|
|
255
|
+
i0.ɵɵtemplate(8, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_ng_container_8_Template, 1, 4, "ng-container", 17);
|
|
257
256
|
i0.ɵɵelementEnd();
|
|
258
257
|
} if (rf & 2) {
|
|
259
|
-
const
|
|
260
|
-
const
|
|
261
|
-
const
|
|
262
|
-
const
|
|
263
|
-
const
|
|
264
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9,
|
|
258
|
+
const ctx_r64 = i0.ɵɵnextContext(3);
|
|
259
|
+
const formgroup_r15 = ctx_r64.formGroup;
|
|
260
|
+
const field_r13 = ctx_r64.$implicit;
|
|
261
|
+
const control_r14 = ctx_r64.control;
|
|
262
|
+
const ctx_r53 = i0.ɵɵnextContext();
|
|
263
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(9, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r53.removeSepratorForSubFields ? "none" : ""));
|
|
265
264
|
i0.ɵɵadvance(2);
|
|
266
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
267
|
-
i0.ɵɵadvance();
|
|
268
|
-
i0.ɵɵproperty("ngIf",
|
|
265
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, " ");
|
|
266
|
+
i0.ɵɵadvance(1);
|
|
267
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
269
268
|
i0.ɵɵadvance(2);
|
|
270
|
-
i0.ɵɵproperty("dpConfig",
|
|
269
|
+
i0.ɵɵproperty("dpConfig", field_r13.fieldConfig)("selectedDate", control_r14.value)("offsetY", 0)("value", control_r14.value);
|
|
271
270
|
i0.ɵɵadvance(2);
|
|
272
|
-
i0.ɵɵproperty("ngIf",
|
|
273
|
-
i0.ɵɵadvance();
|
|
274
|
-
i0.ɵɵproperty("ngIf",
|
|
271
|
+
i0.ɵɵproperty("ngIf", ctx_r53.calendarIconUrl);
|
|
272
|
+
i0.ɵɵadvance(1);
|
|
273
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
275
274
|
} }
|
|
276
275
|
function DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
277
|
-
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template, 9, 11, "div",
|
|
276
|
+
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_div_0_Template, 9, 11, "div", 21);
|
|
278
277
|
} if (rf & 2) {
|
|
279
|
-
const
|
|
280
|
-
i0.ɵɵproperty("ngIf",
|
|
278
|
+
const field_r13 = i0.ɵɵnextContext(2).$implicit;
|
|
279
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "input" && field_r13.fieldInputType === "date");
|
|
281
280
|
} }
|
|
282
281
|
function DynamicFormComponent_ng_template_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
283
282
|
i0.ɵɵelementContainerStart(0);
|
|
284
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_Template, 2, 6, "ng-container",
|
|
283
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_2_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
284
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_2_ng_template_2_Template, 1, 1, "ng-template", null, 20, i0.ɵɵtemplateRefExtractor);
|
|
285
285
|
i0.ɵɵelementContainerEnd();
|
|
286
286
|
} if (rf & 2) {
|
|
287
|
-
const
|
|
288
|
-
const
|
|
289
|
-
i0.ɵɵadvance();
|
|
290
|
-
i0.ɵɵproperty("ngIf",
|
|
287
|
+
const _r49 = i0.ɵɵreference(3);
|
|
288
|
+
const ctx_r18 = i0.ɵɵnextContext(2);
|
|
289
|
+
i0.ɵɵadvance(1);
|
|
290
|
+
i0.ɵɵproperty("ngIf", ctx_r18.customInputDate)("ngIfElse", _r49);
|
|
291
291
|
} }
|
|
292
292
|
function DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
293
293
|
function DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
294
294
|
i0.ɵɵelementContainerStart(0);
|
|
295
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
295
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
296
296
|
i0.ɵɵelementContainerEnd();
|
|
297
297
|
} if (rf & 2) {
|
|
298
|
-
const
|
|
299
|
-
const
|
|
300
|
-
const
|
|
301
|
-
const
|
|
302
|
-
const
|
|
303
|
-
i0.ɵɵadvance();
|
|
304
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
298
|
+
const ctx_r70 = i0.ɵɵnextContext(2);
|
|
299
|
+
const field_r13 = ctx_r70.$implicit;
|
|
300
|
+
const control_r14 = ctx_r70.control;
|
|
301
|
+
const formgroup_r15 = ctx_r70.formGroup;
|
|
302
|
+
const ctx_r66 = i0.ɵɵnextContext();
|
|
303
|
+
i0.ɵɵadvance(1);
|
|
304
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r66.customBooleanToggle)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
305
305
|
} }
|
|
306
306
|
function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
307
307
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -309,63 +309,64 @@ function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_span_3_
|
|
|
309
309
|
i0.ɵɵelementEnd();
|
|
310
310
|
} }
|
|
311
311
|
function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
312
|
-
i0.ɵɵelementContainer(0,
|
|
312
|
+
i0.ɵɵelementContainer(0, 6);
|
|
313
313
|
} if (rf & 2) {
|
|
314
|
-
const
|
|
314
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
315
315
|
i0.ɵɵnextContext();
|
|
316
|
-
const
|
|
317
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
316
|
+
const _r3 = i0.ɵɵreference(6);
|
|
317
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
318
318
|
} }
|
|
319
319
|
function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
320
|
-
const
|
|
321
|
-
i0.ɵɵelementStart(0, "div",
|
|
320
|
+
const _r76 = i0.ɵɵgetCurrentView();
|
|
321
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
322
322
|
i0.ɵɵtext(2);
|
|
323
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_span_3_Template, 2, 0, "span",
|
|
323
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
324
324
|
i0.ɵɵelementEnd();
|
|
325
|
-
i0.ɵɵelementStart(4, "mis-switch",
|
|
326
|
-
i0.ɵɵlistener("valueChanged", function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_Template_mis_switch_valueChanged_4_listener($event) { i0.ɵɵrestoreView(
|
|
325
|
+
i0.ɵɵelementStart(4, "mis-switch", 30);
|
|
326
|
+
i0.ɵɵlistener("valueChanged", function DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_Template_mis_switch_valueChanged_4_listener($event) { i0.ɵɵrestoreView(_r76); const ctx_r75 = i0.ɵɵnextContext(2); const field_r13 = ctx_r75.$implicit; const formgroup_r15 = ctx_r75.formGroup; const ctx_r74 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r74.updateSubDynamicFields(field_r13, formgroup_r15, $event)); });
|
|
327
327
|
i0.ɵɵelementEnd();
|
|
328
|
-
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_ng_container_5_Template, 1, 4, "ng-container",
|
|
328
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_ng_container_5_Template, 1, 4, "ng-container", 17);
|
|
329
329
|
i0.ɵɵelementEnd();
|
|
330
330
|
} if (rf & 2) {
|
|
331
|
-
const
|
|
332
|
-
const
|
|
333
|
-
const
|
|
334
|
-
const
|
|
335
|
-
const
|
|
336
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5,
|
|
331
|
+
const ctx_r77 = i0.ɵɵnextContext(2);
|
|
332
|
+
const formgroup_r15 = ctx_r77.formGroup;
|
|
333
|
+
const field_r13 = ctx_r77.$implicit;
|
|
334
|
+
const control_r14 = ctx_r77.control;
|
|
335
|
+
const ctx_r68 = i0.ɵɵnextContext();
|
|
336
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r68.removeSepratorForSubFields ? "none" : ""));
|
|
337
337
|
i0.ɵɵadvance(2);
|
|
338
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
339
|
-
i0.ɵɵadvance();
|
|
340
|
-
i0.ɵɵproperty("ngIf",
|
|
341
|
-
i0.ɵɵadvance();
|
|
342
|
-
i0.ɵɵproperty("control",
|
|
343
|
-
i0.ɵɵadvance();
|
|
344
|
-
i0.ɵɵproperty("ngIf",
|
|
338
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
339
|
+
i0.ɵɵadvance(1);
|
|
340
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
341
|
+
i0.ɵɵadvance(1);
|
|
342
|
+
i0.ɵɵproperty("control", control_r14);
|
|
343
|
+
i0.ɵɵadvance(1);
|
|
344
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
345
345
|
} }
|
|
346
346
|
function DynamicFormComponent_ng_template_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
347
347
|
i0.ɵɵelementContainerStart(0);
|
|
348
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_Template, 2, 6, "ng-container",
|
|
348
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_3_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
349
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_3_ng_template_2_Template, 6, 7, "ng-template", null, 29, i0.ɵɵtemplateRefExtractor);
|
|
349
350
|
i0.ɵɵelementContainerEnd();
|
|
350
351
|
} if (rf & 2) {
|
|
351
|
-
const
|
|
352
|
-
const
|
|
353
|
-
i0.ɵɵadvance();
|
|
354
|
-
i0.ɵɵproperty("ngIf",
|
|
352
|
+
const _r67 = i0.ɵɵreference(3);
|
|
353
|
+
const ctx_r19 = i0.ɵɵnextContext(2);
|
|
354
|
+
i0.ɵɵadvance(1);
|
|
355
|
+
i0.ɵɵproperty("ngIf", ctx_r19.customBooleanToggle)("ngIfElse", _r67);
|
|
355
356
|
} }
|
|
356
357
|
function DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
357
358
|
function DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
358
359
|
i0.ɵɵelementContainerStart(0);
|
|
359
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
360
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
360
361
|
i0.ɵɵelementContainerEnd();
|
|
361
362
|
} if (rf & 2) {
|
|
362
|
-
const
|
|
363
|
-
const
|
|
364
|
-
const
|
|
365
|
-
const
|
|
366
|
-
const
|
|
367
|
-
i0.ɵɵadvance();
|
|
368
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
363
|
+
const ctx_r82 = i0.ɵɵnextContext(2);
|
|
364
|
+
const field_r13 = ctx_r82.$implicit;
|
|
365
|
+
const control_r14 = ctx_r82.control;
|
|
366
|
+
const formgroup_r15 = ctx_r82.formGroup;
|
|
367
|
+
const ctx_r78 = i0.ɵɵnextContext();
|
|
368
|
+
i0.ɵɵadvance(1);
|
|
369
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r78.customSingleSelectDropdown)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
369
370
|
} }
|
|
370
371
|
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
371
372
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -373,78 +374,80 @@ function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_span_3_
|
|
|
373
374
|
i0.ɵɵelementEnd();
|
|
374
375
|
} }
|
|
375
376
|
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template(rf, ctx) { if (rf & 1) {
|
|
376
|
-
const
|
|
377
|
-
i0.ɵɵelementStart(0, "img",
|
|
378
|
-
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template_img_click_0_listener() { i0.ɵɵrestoreView(
|
|
377
|
+
const _r88 = i0.ɵɵgetCurrentView();
|
|
378
|
+
i0.ɵɵelementStart(0, "img", 35);
|
|
379
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template_img_click_0_listener() { i0.ɵɵrestoreView(_r88); const field_r13 = i0.ɵɵnextContext(3).$implicit; const ctx_r86 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r86.fieldRemoved.emit(field_r13)); });
|
|
379
380
|
i0.ɵɵelementEnd();
|
|
380
381
|
} if (rf & 2) {
|
|
381
|
-
const
|
|
382
|
-
i0.ɵɵproperty("src",
|
|
382
|
+
const ctx_r84 = i0.ɵɵnextContext(4);
|
|
383
|
+
i0.ɵɵproperty("src", ctx_r84.removeIconUrl, i0.ɵɵsanitizeUrl);
|
|
383
384
|
} }
|
|
384
385
|
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
385
|
-
i0.ɵɵelementContainer(0,
|
|
386
|
+
i0.ɵɵelementContainer(0, 6);
|
|
386
387
|
} if (rf & 2) {
|
|
387
|
-
const
|
|
388
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
388
389
|
i0.ɵɵnextContext();
|
|
389
|
-
const
|
|
390
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
390
|
+
const _r3 = i0.ɵɵreference(6);
|
|
391
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
391
392
|
} }
|
|
393
|
+
const _c14 = function (a0) { return { "removeable-container": a0 }; };
|
|
392
394
|
function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
393
|
-
const
|
|
394
|
-
i0.ɵɵelementStart(0, "div",
|
|
395
|
+
const _r92 = i0.ɵɵgetCurrentView();
|
|
396
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
395
397
|
i0.ɵɵtext(2);
|
|
396
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_span_3_Template, 2, 0, "span",
|
|
398
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
397
399
|
i0.ɵɵelementEnd();
|
|
398
|
-
i0.ɵɵelementStart(4, "div",
|
|
399
|
-
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_Template_mis_dropdown_onChange_5_listener($event) { i0.ɵɵrestoreView(
|
|
400
|
+
i0.ɵɵelementStart(4, "div", 32)(5, "mis-dropdown", 33);
|
|
401
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_Template_mis_dropdown_onChange_5_listener($event) { i0.ɵɵrestoreView(_r92); const ctx_r91 = i0.ɵɵnextContext(2); const field_r13 = ctx_r91.$implicit; const control_r14 = ctx_r91.control; const formgroup_r15 = ctx_r91.formGroup; const ctx_r90 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r90.updateSelectedValueForSingleSelect(field_r13, control_r14, formgroup_r15, $event)); });
|
|
400
402
|
i0.ɵɵelementEnd();
|
|
401
|
-
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template, 1, 1, "img",
|
|
403
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_img_6_Template, 1, 1, "img", 34);
|
|
402
404
|
i0.ɵɵelementEnd();
|
|
403
|
-
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_ng_container_7_Template, 1, 4, "ng-container",
|
|
405
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
404
406
|
i0.ɵɵelementEnd();
|
|
405
407
|
} if (rf & 2) {
|
|
406
|
-
const
|
|
407
|
-
const
|
|
408
|
-
const
|
|
409
|
-
const
|
|
410
|
-
const
|
|
411
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10,
|
|
408
|
+
const ctx_r93 = i0.ɵɵnextContext(2);
|
|
409
|
+
const formgroup_r15 = ctx_r93.formGroup;
|
|
410
|
+
const field_r13 = ctx_r93.$implicit;
|
|
411
|
+
const control_r14 = ctx_r93.control;
|
|
412
|
+
const ctx_r80 = i0.ɵɵnextContext();
|
|
413
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(10, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r80.removeSepratorForSubFields ? "none" : ""));
|
|
412
414
|
i0.ɵɵadvance(2);
|
|
413
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
414
|
-
i0.ɵɵadvance();
|
|
415
|
-
i0.ɵɵproperty("ngIf",
|
|
416
|
-
i0.ɵɵadvance();
|
|
417
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c14,
|
|
418
|
-
i0.ɵɵadvance();
|
|
419
|
-
i0.ɵɵproperty("searchEnabled", false)("width", "140px")("data",
|
|
420
|
-
i0.ɵɵadvance();
|
|
421
|
-
i0.ɵɵproperty("ngIf",
|
|
422
|
-
i0.ɵɵadvance();
|
|
423
|
-
i0.ɵɵproperty("ngIf",
|
|
415
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
416
|
+
i0.ɵɵadvance(1);
|
|
417
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
418
|
+
i0.ɵɵadvance(1);
|
|
419
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(12, _c14, field_r13 == null ? null : field_r13.isRemoveable));
|
|
420
|
+
i0.ɵɵadvance(1);
|
|
421
|
+
i0.ɵɵproperty("searchEnabled", false)("width", "140px")("data", field_r13.itemsList)("selectedItem", control_r14.value);
|
|
422
|
+
i0.ɵɵadvance(1);
|
|
423
|
+
i0.ɵɵproperty("ngIf", field_r13.isRemoveable && ctx_r80.removeIconUrl);
|
|
424
|
+
i0.ɵɵadvance(1);
|
|
425
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
424
426
|
} }
|
|
425
427
|
function DynamicFormComponent_ng_template_3_ng_container_4_Template(rf, ctx) { if (rf & 1) {
|
|
426
428
|
i0.ɵɵelementContainerStart(0);
|
|
427
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_Template, 2, 6, "ng-container",
|
|
429
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_4_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
430
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_4_ng_template_2_Template, 8, 14, "ng-template", null, 31, i0.ɵɵtemplateRefExtractor);
|
|
428
431
|
i0.ɵɵelementContainerEnd();
|
|
429
432
|
} if (rf & 2) {
|
|
430
|
-
const
|
|
431
|
-
const
|
|
432
|
-
i0.ɵɵadvance();
|
|
433
|
-
i0.ɵɵproperty("ngIf",
|
|
433
|
+
const _r79 = i0.ɵɵreference(3);
|
|
434
|
+
const ctx_r20 = i0.ɵɵnextContext(2);
|
|
435
|
+
i0.ɵɵadvance(1);
|
|
436
|
+
i0.ɵɵproperty("ngIf", ctx_r20.customSingleSelectDropdown)("ngIfElse", _r79);
|
|
434
437
|
} }
|
|
435
438
|
function DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
436
439
|
function DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
437
440
|
i0.ɵɵelementContainerStart(0);
|
|
438
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
441
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
439
442
|
i0.ɵɵelementContainerEnd();
|
|
440
443
|
} if (rf & 2) {
|
|
441
|
-
const
|
|
442
|
-
const
|
|
443
|
-
const
|
|
444
|
-
const
|
|
445
|
-
const
|
|
446
|
-
i0.ɵɵadvance();
|
|
447
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
444
|
+
const ctx_r98 = i0.ɵɵnextContext(2);
|
|
445
|
+
const field_r13 = ctx_r98.$implicit;
|
|
446
|
+
const control_r14 = ctx_r98.control;
|
|
447
|
+
const formgroup_r15 = ctx_r98.formGroup;
|
|
448
|
+
const ctx_r94 = i0.ɵɵnextContext();
|
|
449
|
+
i0.ɵɵadvance(1);
|
|
450
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r94.customSingleSelectRadio)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
448
451
|
} }
|
|
449
452
|
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
450
453
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -452,87 +455,89 @@ function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_span_3_
|
|
|
452
455
|
i0.ɵɵelementEnd();
|
|
453
456
|
} }
|
|
454
457
|
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
455
|
-
i0.ɵɵelement(0, "img",
|
|
458
|
+
i0.ɵɵelement(0, "img", 41);
|
|
456
459
|
} if (rf & 2) {
|
|
457
|
-
const
|
|
458
|
-
i0.ɵɵproperty("src",
|
|
460
|
+
const ctx_r103 = i0.ɵɵnextContext(5);
|
|
461
|
+
i0.ɵɵproperty("src", ctx_r103.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
459
462
|
} }
|
|
463
|
+
const _c15 = function (a0) { return { "checkbox-active": a0 }; };
|
|
460
464
|
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
461
|
-
const
|
|
462
|
-
i0.ɵɵelementStart(0, "div",
|
|
463
|
-
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template_div_click_0_listener() { const
|
|
464
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_img_1_Template, 1, 1, "img",
|
|
465
|
-
i0.ɵɵelementStart(2, "p",
|
|
465
|
+
const _r106 = i0.ɵɵgetCurrentView();
|
|
466
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
467
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r106); const item_r102 = restoredCtx.$implicit; const ctx_r105 = i0.ɵɵnextContext(3); const field_r13 = ctx_r105.$implicit; const control_r14 = ctx_r105.control; const formgroup_r15 = ctx_r105.formGroup; const ctx_r104 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r104.updateSelectedValueForSingleSelect(field_r13, control_r14, formgroup_r15, item_r102)); });
|
|
468
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_img_1_Template, 1, 1, "img", 40);
|
|
469
|
+
i0.ɵɵelementStart(2, "p", 23);
|
|
466
470
|
i0.ɵɵtext(3);
|
|
467
471
|
i0.ɵɵelementEnd()();
|
|
468
472
|
} if (rf & 2) {
|
|
469
|
-
const
|
|
470
|
-
const
|
|
471
|
-
const
|
|
472
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c15,
|
|
473
|
-
i0.ɵɵadvance();
|
|
474
|
-
i0.ɵɵproperty("ngIf",
|
|
473
|
+
const item_r102 = ctx.$implicit;
|
|
474
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
475
|
+
const ctx_r100 = i0.ɵɵnextContext();
|
|
476
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c15, item_r102.label === (control_r14.value == null ? null : control_r14.value.label)));
|
|
477
|
+
i0.ɵɵadvance(1);
|
|
478
|
+
i0.ɵɵproperty("ngIf", item_r102.label === (control_r14.value == null ? null : control_r14.value.label) && ctx_r100.activeBtnIconUrl);
|
|
475
479
|
i0.ɵɵadvance(2);
|
|
476
|
-
i0.ɵɵtextInterpolate(
|
|
480
|
+
i0.ɵɵtextInterpolate(item_r102.label);
|
|
477
481
|
} }
|
|
478
482
|
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
479
|
-
i0.ɵɵelementContainer(0,
|
|
483
|
+
i0.ɵɵelementContainer(0, 6);
|
|
480
484
|
} if (rf & 2) {
|
|
481
|
-
const
|
|
485
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
482
486
|
i0.ɵɵnextContext();
|
|
483
|
-
const
|
|
484
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
487
|
+
const _r3 = i0.ɵɵreference(6);
|
|
488
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
485
489
|
} }
|
|
486
490
|
function DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
487
|
-
i0.ɵɵelementStart(0, "div",
|
|
491
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
488
492
|
i0.ɵɵtext(2);
|
|
489
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_span_3_Template, 2, 0, "span",
|
|
493
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
490
494
|
i0.ɵɵelementEnd();
|
|
491
|
-
i0.ɵɵelement(4, "div",
|
|
492
|
-
i0.ɵɵelementStart(5, "div",
|
|
493
|
-
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template, 4, 5, "div",
|
|
495
|
+
i0.ɵɵelement(4, "div", 15);
|
|
496
|
+
i0.ɵɵelementStart(5, "div", 37);
|
|
497
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_div_6_Template, 4, 5, "div", 38);
|
|
494
498
|
i0.ɵɵelementEnd();
|
|
495
|
-
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_ng_container_7_Template, 1, 4, "ng-container",
|
|
499
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
496
500
|
i0.ɵɵelementEnd();
|
|
497
501
|
} if (rf & 2) {
|
|
498
|
-
const
|
|
499
|
-
const
|
|
500
|
-
const
|
|
501
|
-
const
|
|
502
|
-
const
|
|
503
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5,
|
|
502
|
+
const ctx_r109 = i0.ɵɵnextContext(2);
|
|
503
|
+
const formgroup_r15 = ctx_r109.formGroup;
|
|
504
|
+
const field_r13 = ctx_r109.$implicit;
|
|
505
|
+
const control_r14 = ctx_r109.control;
|
|
506
|
+
const ctx_r96 = i0.ɵɵnextContext();
|
|
507
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r96.removeSepratorForSubFields ? "none" : ""));
|
|
504
508
|
i0.ɵɵadvance(2);
|
|
505
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
506
|
-
i0.ɵɵadvance();
|
|
507
|
-
i0.ɵɵproperty("ngIf",
|
|
509
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
510
|
+
i0.ɵɵadvance(1);
|
|
511
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
508
512
|
i0.ɵɵadvance(3);
|
|
509
|
-
i0.ɵɵproperty("ngForOf",
|
|
510
|
-
i0.ɵɵadvance();
|
|
511
|
-
i0.ɵɵproperty("ngIf",
|
|
513
|
+
i0.ɵɵproperty("ngForOf", field_r13.itemsList);
|
|
514
|
+
i0.ɵɵadvance(1);
|
|
515
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
512
516
|
} }
|
|
513
517
|
function DynamicFormComponent_ng_template_3_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
514
518
|
i0.ɵɵelementContainerStart(0);
|
|
515
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_Template, 2, 6, "ng-container",
|
|
519
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_5_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
520
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_5_ng_template_2_Template, 8, 7, "ng-template", null, 36, i0.ɵɵtemplateRefExtractor);
|
|
516
521
|
i0.ɵɵelementContainerEnd();
|
|
517
522
|
} if (rf & 2) {
|
|
518
|
-
const
|
|
519
|
-
const
|
|
520
|
-
i0.ɵɵadvance();
|
|
521
|
-
i0.ɵɵproperty("ngIf",
|
|
523
|
+
const _r95 = i0.ɵɵreference(3);
|
|
524
|
+
const ctx_r21 = i0.ɵɵnextContext(2);
|
|
525
|
+
i0.ɵɵadvance(1);
|
|
526
|
+
i0.ɵɵproperty("ngIf", ctx_r21.customSingleSelectRadio)("ngIfElse", _r95);
|
|
522
527
|
} }
|
|
523
528
|
function DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
524
529
|
function DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
525
530
|
i0.ɵɵelementContainerStart(0);
|
|
526
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
531
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
527
532
|
i0.ɵɵelementContainerEnd();
|
|
528
533
|
} if (rf & 2) {
|
|
529
|
-
const
|
|
530
|
-
const
|
|
531
|
-
const
|
|
532
|
-
const
|
|
533
|
-
const
|
|
534
|
-
i0.ɵɵadvance();
|
|
535
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
534
|
+
const ctx_r114 = i0.ɵɵnextContext(2);
|
|
535
|
+
const field_r13 = ctx_r114.$implicit;
|
|
536
|
+
const control_r14 = ctx_r114.control;
|
|
537
|
+
const formgroup_r15 = ctx_r114.formGroup;
|
|
538
|
+
const ctx_r110 = i0.ɵɵnextContext();
|
|
539
|
+
i0.ɵɵadvance(1);
|
|
540
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r110.customMultiSelectCheckbox)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
536
541
|
} }
|
|
537
542
|
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
538
543
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -540,87 +545,88 @@ function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_span_3_
|
|
|
540
545
|
i0.ɵɵelementEnd();
|
|
541
546
|
} }
|
|
542
547
|
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_img_1_Template(rf, ctx) { if (rf & 1) {
|
|
543
|
-
i0.ɵɵelement(0, "img",
|
|
548
|
+
i0.ɵɵelement(0, "img", 41);
|
|
544
549
|
} if (rf & 2) {
|
|
545
|
-
const
|
|
546
|
-
i0.ɵɵproperty("src",
|
|
550
|
+
const ctx_r119 = i0.ɵɵnextContext(5);
|
|
551
|
+
i0.ɵɵproperty("src", ctx_r119.activeBtnIconUrl, i0.ɵɵsanitizeUrl);
|
|
547
552
|
} }
|
|
548
553
|
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
549
|
-
const
|
|
550
|
-
i0.ɵɵelementStart(0, "div",
|
|
551
|
-
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template_div_click_0_listener() { const
|
|
552
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_img_1_Template, 1, 1, "img",
|
|
553
|
-
i0.ɵɵelementStart(2, "p",
|
|
554
|
+
const _r122 = i0.ɵɵgetCurrentView();
|
|
555
|
+
i0.ɵɵelementStart(0, "div", 39);
|
|
556
|
+
i0.ɵɵlistener("click", function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r122); const item_r118 = restoredCtx.$implicit; const ctx_r121 = i0.ɵɵnextContext(3); const field_r13 = ctx_r121.$implicit; const control_r14 = ctx_r121.control; const formgroup_r15 = ctx_r121.formGroup; const ctx_r120 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r120.updateSelectedValueForMultiSelect(field_r13, control_r14, formgroup_r15, [item_r118])); });
|
|
557
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_img_1_Template, 1, 1, "img", 40);
|
|
558
|
+
i0.ɵɵelementStart(2, "p", 23);
|
|
554
559
|
i0.ɵɵtext(3);
|
|
555
560
|
i0.ɵɵelementEnd()();
|
|
556
561
|
} if (rf & 2) {
|
|
557
|
-
const
|
|
558
|
-
const
|
|
559
|
-
const
|
|
560
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c15,
|
|
561
|
-
i0.ɵɵadvance();
|
|
562
|
-
i0.ɵɵproperty("ngIf",
|
|
562
|
+
const item_r118 = ctx.$implicit;
|
|
563
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
564
|
+
const ctx_r116 = i0.ɵɵnextContext();
|
|
565
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(3, _c15, ctx_r116.isCheckBoxSelected(item_r118.label, control_r14.value)));
|
|
566
|
+
i0.ɵɵadvance(1);
|
|
567
|
+
i0.ɵɵproperty("ngIf", ctx_r116.isCheckBoxSelected(item_r118.label, control_r14.value) && ctx_r116.activeBtnIconUrl);
|
|
563
568
|
i0.ɵɵadvance(2);
|
|
564
|
-
i0.ɵɵtextInterpolate(
|
|
569
|
+
i0.ɵɵtextInterpolate(item_r118.label);
|
|
565
570
|
} }
|
|
566
571
|
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
567
|
-
i0.ɵɵelementContainer(0,
|
|
572
|
+
i0.ɵɵelementContainer(0, 6);
|
|
568
573
|
} if (rf & 2) {
|
|
569
|
-
const
|
|
574
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
570
575
|
i0.ɵɵnextContext();
|
|
571
|
-
const
|
|
572
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
576
|
+
const _r3 = i0.ɵɵreference(6);
|
|
577
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
573
578
|
} }
|
|
574
579
|
function DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
575
|
-
i0.ɵɵelementStart(0, "div",
|
|
580
|
+
i0.ɵɵelementStart(0, "div", 13)(1, "p", 14);
|
|
576
581
|
i0.ɵɵtext(2);
|
|
577
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_span_3_Template, 2, 0, "span",
|
|
582
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
578
583
|
i0.ɵɵelementEnd();
|
|
579
|
-
i0.ɵɵelement(4, "div",
|
|
580
|
-
i0.ɵɵelementStart(5, "div",
|
|
581
|
-
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template, 4, 5, "div",
|
|
584
|
+
i0.ɵɵelement(4, "div", 15);
|
|
585
|
+
i0.ɵɵelementStart(5, "div", 37);
|
|
586
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_div_6_Template, 4, 5, "div", 38);
|
|
582
587
|
i0.ɵɵelementEnd();
|
|
583
|
-
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_ng_container_7_Template, 1, 4, "ng-container",
|
|
588
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_ng_container_7_Template, 1, 4, "ng-container", 17);
|
|
584
589
|
i0.ɵɵelementEnd();
|
|
585
590
|
} if (rf & 2) {
|
|
586
|
-
const
|
|
587
|
-
const
|
|
588
|
-
const
|
|
589
|
-
const
|
|
590
|
-
const
|
|
591
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5,
|
|
591
|
+
const ctx_r125 = i0.ɵɵnextContext(2);
|
|
592
|
+
const formgroup_r15 = ctx_r125.formGroup;
|
|
593
|
+
const field_r13 = ctx_r125.$implicit;
|
|
594
|
+
const control_r14 = ctx_r125.control;
|
|
595
|
+
const ctx_r112 = i0.ɵɵnextContext();
|
|
596
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(5, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r112.removeSepratorForSubFields ? "none" : ""));
|
|
592
597
|
i0.ɵɵadvance(2);
|
|
593
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
594
|
-
i0.ɵɵadvance();
|
|
595
|
-
i0.ɵɵproperty("ngIf",
|
|
598
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
599
|
+
i0.ɵɵadvance(1);
|
|
600
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
596
601
|
i0.ɵɵadvance(3);
|
|
597
|
-
i0.ɵɵproperty("ngForOf",
|
|
598
|
-
i0.ɵɵadvance();
|
|
599
|
-
i0.ɵɵproperty("ngIf",
|
|
602
|
+
i0.ɵɵproperty("ngForOf", field_r13.itemsList);
|
|
603
|
+
i0.ɵɵadvance(1);
|
|
604
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
600
605
|
} }
|
|
601
606
|
function DynamicFormComponent_ng_template_3_ng_container_6_Template(rf, ctx) { if (rf & 1) {
|
|
602
607
|
i0.ɵɵelementContainerStart(0);
|
|
603
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_Template, 2, 6, "ng-container",
|
|
608
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_6_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
609
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_6_ng_template_2_Template, 8, 7, "ng-template", null, 42, i0.ɵɵtemplateRefExtractor);
|
|
604
610
|
i0.ɵɵelementContainerEnd();
|
|
605
611
|
} if (rf & 2) {
|
|
606
|
-
const
|
|
607
|
-
const
|
|
608
|
-
i0.ɵɵadvance();
|
|
609
|
-
i0.ɵɵproperty("ngIf",
|
|
612
|
+
const _r111 = i0.ɵɵreference(3);
|
|
613
|
+
const ctx_r22 = i0.ɵɵnextContext(2);
|
|
614
|
+
i0.ɵɵadvance(1);
|
|
615
|
+
i0.ɵɵproperty("ngIf", ctx_r22.customMultiSelectCheckbox)("ngIfElse", _r111);
|
|
610
616
|
} }
|
|
611
617
|
function DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_ng_template_1_Template(rf, ctx) { }
|
|
612
618
|
function DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
613
619
|
i0.ɵɵelementContainerStart(0);
|
|
614
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_ng_template_1_Template, 0, 0, "ng-template",
|
|
620
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_ng_template_1_Template, 0, 0, "ng-template", 6);
|
|
615
621
|
i0.ɵɵelementContainerEnd();
|
|
616
622
|
} if (rf & 2) {
|
|
617
|
-
const
|
|
618
|
-
const
|
|
619
|
-
const
|
|
620
|
-
const
|
|
621
|
-
const
|
|
622
|
-
i0.ɵɵadvance();
|
|
623
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
623
|
+
const ctx_r130 = i0.ɵɵnextContext(2);
|
|
624
|
+
const field_r13 = ctx_r130.$implicit;
|
|
625
|
+
const control_r14 = ctx_r130.control;
|
|
626
|
+
const formgroup_r15 = ctx_r130.formGroup;
|
|
627
|
+
const ctx_r126 = i0.ɵɵnextContext();
|
|
628
|
+
i0.ɵɵadvance(1);
|
|
629
|
+
i0.ɵɵproperty("ngTemplateOutlet", ctx_r126.customMultiSelectDropdown)("ngTemplateOutletContext", i0.ɵɵpureFunction3(2, _c10, field_r13, control_r14, formgroup_r15));
|
|
624
630
|
} }
|
|
625
631
|
function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
626
632
|
i0.ɵɵelementStart(0, "span");
|
|
@@ -628,70 +634,79 @@ function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_span_3_
|
|
|
628
634
|
i0.ɵɵelementEnd();
|
|
629
635
|
} }
|
|
630
636
|
function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_ng_container_5_Template(rf, ctx) { if (rf & 1) {
|
|
631
|
-
i0.ɵɵelementContainer(0,
|
|
637
|
+
i0.ɵɵelementContainer(0, 6);
|
|
632
638
|
} if (rf & 2) {
|
|
633
|
-
const
|
|
639
|
+
const control_r14 = i0.ɵɵnextContext(3).control;
|
|
634
640
|
i0.ɵɵnextContext();
|
|
635
|
-
const
|
|
636
|
-
i0.ɵɵproperty("ngTemplateOutlet",
|
|
641
|
+
const _r3 = i0.ɵɵreference(6);
|
|
642
|
+
i0.ɵɵproperty("ngTemplateOutlet", _r3)("ngTemplateOutletContext", i0.ɵɵpureFunction1(2, _c11, control_r14.errors));
|
|
637
643
|
} }
|
|
638
644
|
function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
639
|
-
const
|
|
640
|
-
i0.ɵɵelementStart(0, "div",
|
|
645
|
+
const _r136 = i0.ɵɵgetCurrentView();
|
|
646
|
+
i0.ɵɵelementStart(0, "div", 22)(1, "p", 23);
|
|
641
647
|
i0.ɵɵtext(2);
|
|
642
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_span_3_Template, 2, 0, "span",
|
|
648
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_span_3_Template, 2, 0, "span", 10);
|
|
643
649
|
i0.ɵɵelementEnd();
|
|
644
650
|
i0.ɵɵelementStart(4, "mis-multi-select-dropdown", 44);
|
|
645
|
-
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_Template_mis_multi_select_dropdown_onChange_4_listener($event) { i0.ɵɵrestoreView(
|
|
651
|
+
i0.ɵɵlistener("onChange", function DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_Template_mis_multi_select_dropdown_onChange_4_listener($event) { i0.ɵɵrestoreView(_r136); const ctx_r135 = i0.ɵɵnextContext(2); const field_r13 = ctx_r135.$implicit; const control_r14 = ctx_r135.control; const formgroup_r15 = ctx_r135.formGroup; const ctx_r134 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r134.updateSelectedValueForMultiSelect(field_r13, control_r14, formgroup_r15, $event)); });
|
|
646
652
|
i0.ɵɵelementEnd();
|
|
647
|
-
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_ng_container_5_Template, 1, 4, "ng-container",
|
|
653
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_ng_container_5_Template, 1, 4, "ng-container", 17);
|
|
648
654
|
i0.ɵɵelementEnd();
|
|
649
655
|
} if (rf & 2) {
|
|
650
|
-
const
|
|
651
|
-
const
|
|
652
|
-
const
|
|
653
|
-
const
|
|
654
|
-
const
|
|
655
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(11,
|
|
656
|
+
const ctx_r137 = i0.ɵɵnextContext(2);
|
|
657
|
+
const formgroup_r15 = ctx_r137.formGroup;
|
|
658
|
+
const field_r13 = ctx_r137.$implicit;
|
|
659
|
+
const control_r14 = ctx_r137.control;
|
|
660
|
+
const ctx_r128 = i0.ɵɵnextContext();
|
|
661
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(11, _c12, (formgroup_r15 == null ? null : formgroup_r15.controls == null ? null : formgroup_r15.controls.subFields == null ? null : formgroup_r15.controls.subFields.controls == null ? null : formgroup_r15.controls.subFields.controls.length) && ctx_r128.removeSepratorForSubFields ? "none" : ""));
|
|
656
662
|
i0.ɵɵadvance(2);
|
|
657
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
658
|
-
i0.ɵɵadvance();
|
|
659
|
-
i0.ɵɵproperty("ngIf",
|
|
660
|
-
i0.ɵɵadvance();
|
|
661
|
-
i0.ɵɵproperty("width", "140px")("showSelectedCount", true)("dropdownListWidth", "256px")("searchEnabled", false)("hideApplyButton", true)("data",
|
|
662
|
-
i0.ɵɵadvance();
|
|
663
|
-
i0.ɵɵproperty("ngIf",
|
|
663
|
+
i0.ɵɵtextInterpolate1(" ", field_r13.title, "");
|
|
664
|
+
i0.ɵɵadvance(1);
|
|
665
|
+
i0.ɵɵproperty("ngIf", field_r13.validators && field_r13.validators.length > 0);
|
|
666
|
+
i0.ɵɵadvance(1);
|
|
667
|
+
i0.ɵɵproperty("width", "140px")("showSelectedCount", true)("dropdownListWidth", "256px")("searchEnabled", false)("hideApplyButton", true)("data", field_r13.itemsList)("selectedItems", control_r14.value);
|
|
668
|
+
i0.ɵɵadvance(1);
|
|
669
|
+
i0.ɵɵproperty("ngIf", control_r14.touched && control_r14.errors);
|
|
664
670
|
} }
|
|
665
671
|
function DynamicFormComponent_ng_template_3_ng_container_7_Template(rf, ctx) { if (rf & 1) {
|
|
666
672
|
i0.ɵɵelementContainerStart(0);
|
|
667
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_Template, 2, 6, "ng-container",
|
|
673
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_7_ng_container_1_Template, 2, 6, "ng-container", 11);
|
|
674
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_7_ng_template_2_Template, 6, 13, "ng-template", null, 43, i0.ɵɵtemplateRefExtractor);
|
|
668
675
|
i0.ɵɵelementContainerEnd();
|
|
669
676
|
} if (rf & 2) {
|
|
670
|
-
const
|
|
671
|
-
const
|
|
672
|
-
i0.ɵɵadvance();
|
|
673
|
-
i0.ɵɵproperty("ngIf",
|
|
677
|
+
const _r127 = i0.ɵɵreference(3);
|
|
678
|
+
const ctx_r23 = i0.ɵɵnextContext(2);
|
|
679
|
+
i0.ɵɵadvance(1);
|
|
680
|
+
i0.ɵɵproperty("ngIf", ctx_r23.customMultiSelectDropdown)("ngIfElse", _r127);
|
|
674
681
|
} }
|
|
675
682
|
function DynamicFormComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
676
|
-
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_ng_container_0_Template, 4, 2, "ng-container",
|
|
683
|
+
i0.ɵɵtemplate(0, DynamicFormComponent_ng_template_3_ng_container_0_Template, 4, 2, "ng-container", 10);
|
|
684
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_3_ng_container_1_Template, 4, 2, "ng-container", 10);
|
|
685
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_template_3_ng_container_2_Template, 4, 2, "ng-container", 10);
|
|
686
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_ng_container_3_Template, 4, 2, "ng-container", 10);
|
|
687
|
+
i0.ɵɵtemplate(4, DynamicFormComponent_ng_template_3_ng_container_4_Template, 4, 2, "ng-container", 10);
|
|
688
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_3_ng_container_5_Template, 4, 2, "ng-container", 10);
|
|
689
|
+
i0.ɵɵtemplate(6, DynamicFormComponent_ng_template_3_ng_container_6_Template, 4, 2, "ng-container", 10);
|
|
690
|
+
i0.ɵɵtemplate(7, DynamicFormComponent_ng_template_3_ng_container_7_Template, 4, 2, "ng-container", 10);
|
|
677
691
|
} if (rf & 2) {
|
|
678
|
-
const
|
|
679
|
-
i0.ɵɵproperty("ngIf",
|
|
680
|
-
i0.ɵɵadvance();
|
|
681
|
-
i0.ɵɵproperty("ngIf",
|
|
682
|
-
i0.ɵɵadvance();
|
|
683
|
-
i0.ɵɵproperty("ngIf",
|
|
684
|
-
i0.ɵɵadvance();
|
|
685
|
-
i0.ɵɵproperty("ngIf",
|
|
686
|
-
i0.ɵɵadvance();
|
|
687
|
-
i0.ɵɵproperty("ngIf",
|
|
688
|
-
i0.ɵɵadvance();
|
|
689
|
-
i0.ɵɵproperty("ngIf",
|
|
690
|
-
i0.ɵɵadvance();
|
|
691
|
-
i0.ɵɵproperty("ngIf",
|
|
692
|
-
i0.ɵɵadvance();
|
|
693
|
-
i0.ɵɵproperty("ngIf",
|
|
692
|
+
const field_r13 = ctx.$implicit;
|
|
693
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "input" && (field_r13.fieldInputType === "text" || field_r13.fieldInputType === "number"));
|
|
694
|
+
i0.ɵɵadvance(1);
|
|
695
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "input" && field_r13.fieldInputType === "textarea");
|
|
696
|
+
i0.ɵɵadvance(1);
|
|
697
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "input" && field_r13.fieldInputType === "date");
|
|
698
|
+
i0.ɵɵadvance(1);
|
|
699
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "boolean" && field_r13.fieldInputType === "toggle");
|
|
700
|
+
i0.ɵɵadvance(1);
|
|
701
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "singleSelect" && field_r13.fieldInputType === "dropdown");
|
|
702
|
+
i0.ɵɵadvance(1);
|
|
703
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "singleSelect" && field_r13.fieldInputType === "radio");
|
|
704
|
+
i0.ɵɵadvance(1);
|
|
705
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "multiSelect" && field_r13.fieldInputType === "checkbox");
|
|
706
|
+
i0.ɵɵadvance(1);
|
|
707
|
+
i0.ɵɵproperty("ngIf", field_r13.fieldType === "multiSelect" && field_r13.fieldInputType === "dropdown");
|
|
694
708
|
} }
|
|
709
|
+
const _c16 = function () { return { "flex-basis": "100%", "height": "0" }; };
|
|
695
710
|
function DynamicFormComponent_ng_template_5_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
696
711
|
i0.ɵɵelementContainerStart(0);
|
|
697
712
|
i0.ɵɵelementStart(1, "p", 46);
|
|
@@ -700,21 +715,21 @@ function DynamicFormComponent_ng_template_5_ng_container_1_Template(rf, ctx) { i
|
|
|
700
715
|
i0.ɵɵelement(3, "div", 47);
|
|
701
716
|
i0.ɵɵelementContainerEnd();
|
|
702
717
|
} if (rf & 2) {
|
|
703
|
-
const
|
|
718
|
+
const error_r140 = ctx.$implicit;
|
|
704
719
|
i0.ɵɵadvance(2);
|
|
705
|
-
i0.ɵɵtextInterpolate1(" ", " \u2022 \u00A0" +
|
|
706
|
-
i0.ɵɵadvance();
|
|
720
|
+
i0.ɵɵtextInterpolate1(" ", " \u2022 \u00A0" + error_r140.value, " ");
|
|
721
|
+
i0.ɵɵadvance(1);
|
|
707
722
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(2, _c16));
|
|
708
723
|
} }
|
|
709
724
|
function DynamicFormComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
710
725
|
i0.ɵɵelementStart(0, "div", 45);
|
|
711
|
-
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_5_ng_container_1_Template, 4, 3, "ng-container",
|
|
726
|
+
i0.ɵɵtemplate(1, DynamicFormComponent_ng_template_5_ng_container_1_Template, 4, 3, "ng-container", 9);
|
|
712
727
|
i0.ɵɵpipe(2, "keyvalue");
|
|
713
728
|
i0.ɵɵelementEnd();
|
|
714
729
|
} if (rf & 2) {
|
|
715
|
-
const
|
|
716
|
-
i0.ɵɵadvance();
|
|
717
|
-
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1,
|
|
730
|
+
const errors_r138 = ctx.$implicit;
|
|
731
|
+
i0.ɵɵadvance(1);
|
|
732
|
+
i0.ɵɵproperty("ngForOf", i0.ɵɵpipeBind1(2, 1, errors_r138));
|
|
718
733
|
} }
|
|
719
734
|
dayjs.extend(utc);
|
|
720
735
|
dayjs.extend(timezone);
|
|
@@ -963,43 +978,44 @@ class DynamicFormComponent {
|
|
|
963
978
|
else
|
|
964
979
|
return formValue;
|
|
965
980
|
}
|
|
966
|
-
static { this.ɵfac = function DynamicFormComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DynamicFormComponent)(); }; }
|
|
967
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicFormComponent, selectors: [["mis-dynamic-form"]], contentQueries: function DynamicFormComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
968
|
-
i0.ɵɵcontentQuery(dirIndex, _c0, 5);
|
|
969
|
-
i0.ɵɵcontentQuery(dirIndex, _c1, 5);
|
|
970
|
-
i0.ɵɵcontentQuery(dirIndex, _c2, 5);
|
|
971
|
-
i0.ɵɵcontentQuery(dirIndex, _c3, 5);
|
|
972
|
-
i0.ɵɵcontentQuery(dirIndex, _c4, 5);
|
|
973
|
-
i0.ɵɵcontentQuery(dirIndex, _c5, 5);
|
|
974
|
-
i0.ɵɵcontentQuery(dirIndex, _c6, 5);
|
|
975
|
-
i0.ɵɵcontentQuery(dirIndex, _c7, 5);
|
|
976
|
-
} if (rf & 2) {
|
|
977
|
-
let _t;
|
|
978
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputTextNumber = _t.first);
|
|
979
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputTextarea = _t.first);
|
|
980
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputDate = _t.first);
|
|
981
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customBooleanToggle = _t.first);
|
|
982
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customSingleSelectDropdown = _t.first);
|
|
983
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customSingleSelectRadio = _t.first);
|
|
984
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customMultiSelectCheckbox = _t.first);
|
|
985
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customMultiSelectDropdown = _t.first);
|
|
986
|
-
} }, inputs: { formFields: "formFields", formValues: "formValues", activeBtnIconUrl: "activeBtnIconUrl", calendarIconUrl: "calendarIconUrl", removeIconUrl: "removeIconUrl", removeSepratorForSubFields: "removeSepratorForSubFields" }, outputs: { formUpdated: "formUpdated", formValid: "formValid", formInitialized: "formInitialized", fieldRemoved: "fieldRemoved" }, decls: 7, vars: 2, consts: [["dynamicField", ""], ["dynamicFieldErrors", ""], ["defaultInputTextNumber", ""], ["defaultInputTextarea", ""], ["defaultInputDate", ""], ["dp", ""], ["defaultBooleanToggle", ""], ["defaultSingleSelectDropdown", ""], ["defaultSingleSelectRadio", ""], ["defaultMultiSelectCheckbox", ""], ["defaultMultiSelectDropdown", ""], [3, "formGroup"], ["formArrayName", "dynamicFields"], [3, "formGroupName", 4, "ngFor", "ngForOf"], [3, "formGroupName"], [3, "ngTemplateOutlet", "ngTemplateOutletContext"], ["class", "sub-dynamic-form", 4, "ngIf"], [1, "sub-dynamic-form"], [4, "ngFor", "ngForOf"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], [1, "dynamic-field", "multi-line-field-container", 3, "ngStyle"], [1, "h7", "field-title-sm"], [2, "flex-basis", "100%"], [1, "input-field", "ip-text", 3, "ngModelChange", "type", "formControl", "ngStyle", "placeholder", "min"], [3, "ngTemplateOutlet", "ngTemplateOutletContext", 4, "ngIf"], ["type", "text", 1, "input-field", "ip-textarea", 3, "ngModelChange", "ngStyle", "placeholder", "formControl"], ["class", "dynamic-field single-line-field-container", 3, "ngStyle", 4, "ngIf"], [1, "dynamic-field", "single-line-field-container", 3, "ngStyle"], [1, "h6"], [1, "date-picker-container"], ["readonly", "", "misTzDp", "", 1, "date-picker", 3, "dateChange", "dpConfig", "selectedDate", "offsetY", "value"], ["alt", "data-picker", "class", "date-picker-icon", 3, "src", "click", 4, "ngIf"], ["alt", "data-picker", 1, "date-picker-icon", 3, "click", "src"], [3, "valueChanged", "control"], [3, "ngClass"], [3, "onChange", "searchEnabled", "width", "data", "selectedItem"], ["class", "remove-icon", 3, "src", "click", 4, "ngIf"], [1, "remove-icon", 3, "click", "src"], ["id", "checkboxes-container"], ["class", "radio-checkbox-common", 3, "ngClass", "click", 4, "ngFor", "ngForOf"], [1, "radio-checkbox-common", 3, "click", "ngClass"], ["alt", "", 3, "src", 4, "ngIf"], ["alt", "", 3, "src"], [3, "onChange", "width", "showSelectedCount", "dropdownListWidth", "searchEnabled", "hideApplyButton", "data", "selectedItems"], ["id", "error-messages-container"], [1, "h8"], [3, "ngStyle"]], template: function DynamicFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
987
|
-
i0.ɵɵelementStart(0, "form", 11);
|
|
988
|
-
i0.ɵɵelementContainerStart(1, 12);
|
|
989
|
-
i0.ɵɵtemplate(2, DynamicFormComponent_ng_container_2_Template, 3, 8, "ng-container", 13);
|
|
990
|
-
i0.ɵɵelementContainerEnd();
|
|
991
|
-
i0.ɵɵelementEnd();
|
|
992
|
-
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_Template, 8, 8, "ng-template", null, 0, i0.ɵɵtemplateRefExtractor)(5, DynamicFormComponent_ng_template_5_Template, 3, 3, "ng-template", null, 1, i0.ɵɵtemplateRefExtractor);
|
|
993
|
-
} if (rf & 2) {
|
|
994
|
-
i0.ɵɵproperty("formGroup", ctx.dynamicForm);
|
|
995
|
-
i0.ɵɵadvance(2);
|
|
996
|
-
i0.ɵɵproperty("ngForOf", ctx.getDynamicFieldsControls().controls);
|
|
997
|
-
} }, 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;border-bottom:1px solid var(--grey-seperators)}.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)}.removeable-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.removeable-container[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:8px;max-width:24px}span[_ngcontent-%COMP%]{color:var(--sem-error)}"] }); }
|
|
998
981
|
}
|
|
999
|
-
(
|
|
982
|
+
DynamicFormComponent.ɵfac = function DynamicFormComponent_Factory(t) { return new (t || DynamicFormComponent)(); };
|
|
983
|
+
DynamicFormComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DynamicFormComponent, selectors: [["mis-dynamic-form"]], contentQueries: function DynamicFormComponent_ContentQueries(rf, ctx, dirIndex) { if (rf & 1) {
|
|
984
|
+
i0.ɵɵcontentQuery(dirIndex, _c0, 5);
|
|
985
|
+
i0.ɵɵcontentQuery(dirIndex, _c1, 5);
|
|
986
|
+
i0.ɵɵcontentQuery(dirIndex, _c2, 5);
|
|
987
|
+
i0.ɵɵcontentQuery(dirIndex, _c3, 5);
|
|
988
|
+
i0.ɵɵcontentQuery(dirIndex, _c4, 5);
|
|
989
|
+
i0.ɵɵcontentQuery(dirIndex, _c5, 5);
|
|
990
|
+
i0.ɵɵcontentQuery(dirIndex, _c6, 5);
|
|
991
|
+
i0.ɵɵcontentQuery(dirIndex, _c7, 5);
|
|
992
|
+
} if (rf & 2) {
|
|
993
|
+
let _t;
|
|
994
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputTextNumber = _t.first);
|
|
995
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputTextarea = _t.first);
|
|
996
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customInputDate = _t.first);
|
|
997
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customBooleanToggle = _t.first);
|
|
998
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customSingleSelectDropdown = _t.first);
|
|
999
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customSingleSelectRadio = _t.first);
|
|
1000
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customMultiSelectCheckbox = _t.first);
|
|
1001
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.customMultiSelectDropdown = _t.first);
|
|
1002
|
+
} }, inputs: { formFields: "formFields", formValues: "formValues", activeBtnIconUrl: "activeBtnIconUrl", calendarIconUrl: "calendarIconUrl", removeIconUrl: "removeIconUrl", removeSepratorForSubFields: "removeSepratorForSubFields" }, outputs: { formUpdated: "formUpdated", formValid: "formValid", formInitialized: "formInitialized", fieldRemoved: "fieldRemoved" }, 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"], [4, "ngIf"], [4, "ngIf", "ngIfElse"], ["defaultInputTextNumber", ""], [1, "dynamic-field", "multi-line-field-container", 3, "ngStyle"], [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"], ["defaultInputTextarea", ""], ["type", "text", 1, "input-field", "ip-textarea", 3, "ngStyle", "placeholder", "formControl", "ngModelChange"], ["defaultInputDate", ""], ["class", "dynamic-field single-line-field-container", 3, "ngStyle", 4, "ngIf"], [1, "dynamic-field", "single-line-field-container", 3, "ngStyle"], [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"], ["defaultBooleanToggle", ""], [3, "control", "valueChanged"], ["defaultSingleSelectDropdown", ""], [3, "ngClass"], [3, "searchEnabled", "width", "data", "selectedItem", "onChange"], ["class", "remove-icon", 3, "src", "click", 4, "ngIf"], [1, "remove-icon", 3, "src", "click"], ["defaultSingleSelectRadio", ""], ["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"], ["defaultMultiSelectCheckbox", ""], ["defaultMultiSelectDropdown", ""], [3, "width", "showSelectedCount", "dropdownListWidth", "searchEnabled", "hideApplyButton", "data", "selectedItems", "onChange"], ["id", "error-messages-container"], [1, "h8"], [3, "ngStyle"]], template: function DynamicFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1003
|
+
i0.ɵɵelementStart(0, "form", 0);
|
|
1004
|
+
i0.ɵɵelementContainerStart(1, 1);
|
|
1005
|
+
i0.ɵɵtemplate(2, DynamicFormComponent_ng_container_2_Template, 3, 8, "ng-container", 2);
|
|
1006
|
+
i0.ɵɵelementContainerEnd();
|
|
1007
|
+
i0.ɵɵelementEnd();
|
|
1008
|
+
i0.ɵɵtemplate(3, DynamicFormComponent_ng_template_3_Template, 8, 8, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
1009
|
+
i0.ɵɵtemplate(5, DynamicFormComponent_ng_template_5_Template, 3, 3, "ng-template", null, 4, i0.ɵɵtemplateRefExtractor);
|
|
1010
|
+
} if (rf & 2) {
|
|
1011
|
+
i0.ɵɵproperty("formGroup", ctx.dynamicForm);
|
|
1012
|
+
i0.ɵɵadvance(2);
|
|
1013
|
+
i0.ɵɵproperty("ngForOf", ctx.getDynamicFieldsControls().controls);
|
|
1014
|
+
} }, 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;border-bottom:1px solid var(--grey-seperators)}.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)}.removeable-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}.removeable-container[_ngcontent-%COMP%] .remove-icon[_ngcontent-%COMP%]{cursor:pointer;margin-left:8px;max-width:24px}span[_ngcontent-%COMP%]{color:var(--sem-error)}"] });
|
|
1015
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicFormComponent, [{
|
|
1000
1016
|
type: Component,
|
|
1001
1017
|
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; let j = index\">\n <ng-container\n [ngTemplateOutlet]=\"dynamicField\"\n [ngTemplateOutletContext]=\"{\n $implicit: findSelectedSubFieldConfig(formFields[i]?.subFields, fieldControl.controls.value.value.value,j),\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 <ng-container *ngIf=\"field.fieldType === 'input' && (field.fieldInputType === 'text' || field.fieldInputType === 'number')\">\n <ng-container *ngIf=\"customInputTextNumber; else defaultInputTextNumber\">\n <ng-template\n [ngTemplateOutlet]=\"customInputTextNumber\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultInputTextNumber>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field?.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\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 </ng-template>\n </ng-container>\n \n <!-- fieldType: 'input' fieldInputType: 'textarea' -->\n <ng-container *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'textarea'\">\n <ng-container *ngIf=\"customInputTextarea; else defaultInputTextarea\">\n <ng-template\n [ngTemplateOutlet]=\"customInputTextarea\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultInputTextarea>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\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 </ng-template>\n </ng-container>\n \n <!-- fieldType: 'input' fieldInputType: 'date' -->\n <ng-container *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <ng-container *ngIf=\"customInputDate; else defaultInputDate\">\n <ng-template\n [ngTemplateOutlet]=\"customInputDate\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultInputDate>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\"\n *ngIf=\"field.fieldType === 'input' && field.fieldInputType === 'date'\">\n <p class=\"h6\">\n {{ field.title }} <span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\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 </ng-template>\n </ng-container>\n\n <!-- fieldType: 'boolean' fieldInputType: 'toggle' -->\n <ng-container *ngIf=\"field.fieldType === 'boolean' && field.fieldInputType === 'toggle'\">\n <ng-container *ngIf=\"customBooleanToggle; else defaultBooleanToggle\">\n <ng-template\n [ngTemplateOutlet]=\"customBooleanToggle\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultBooleanToggle>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\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 </ng-template>\n </ng-container>\n\n <!-- fieldType: 'singleSelect' fieldInputType: 'dropdown' -->\n <ng-container *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'dropdown'\">\n <ng-container *ngIf=\"customSingleSelectDropdown; else defaultSingleSelectDropdown\">\n <ng-template\n [ngTemplateOutlet]=\"customSingleSelectDropdown\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultSingleSelectDropdown>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\n </p>\n <div [ngClass]=\"{'removeable-container' : field?.isRemoveable}\">\n <mis-dropdown [searchEnabled]=\"false\" [width]=\"'140px'\" [data]=\"field.itemsList\" [selectedItem]=\"control.value\"\n (onChange)=\"updateSelectedValueForSingleSelect(field, control, formgroup, $event);\">\n </mis-dropdown>\n <img *ngIf=\"field.isRemoveable && removeIconUrl\" class=\"remove-icon\" [src]=\"removeIconUrl\" (click)=\"fieldRemoved.emit(field)\">\n </div>\n <ng-container *ngIf=\"control.touched && control.errors\" [ngTemplateOutlet]=\"dynamicFieldErrors\"\n [ngTemplateOutletContext]=\"{ $implicit: control.errors }\">\n </ng-container>\n </div>\n </ng-template>\n </ng-container >\n \n\n <!-- fieldType: 'singleSelect' fieldInputType: 'radio' -->\n <ng-container *ngIf=\"field.fieldType === 'singleSelect' && field.fieldInputType === 'radio'\">\n <ng-container *ngIf=\"customSingleSelectRadio; else defaultSingleSelectRadio\">\n <ng-template\n [ngTemplateOutlet]=\"customSingleSelectRadio\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultSingleSelectRadio>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\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 </ng-template>\n </ng-container>\n \n\n <!-- fieldType: 'multiSelect' fieldInputType: 'checkbox' -->\n <ng-container *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'checkbox'\">\n <ng-container *ngIf=\"customMultiSelectCheckbox; else defaultMultiSelectCheckbox\">\n <ng-template\n [ngTemplateOutlet]=\"customMultiSelectCheckbox\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultMultiSelectCheckbox>\n <div class=\"dynamic-field multi-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h7 field-title-sm\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\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 </ng-template>\n </ng-container>\n\n\n <!-- fieldType: 'multiSelect' fieldInputType: 'dropdown' -->\n <ng-container *ngIf=\"field.fieldType === 'multiSelect' && field.fieldInputType === 'dropdown'\">\n <ng-container *ngIf=\"customMultiSelectDropdown; else defaultMultiSelectDropdown\">\n <ng-template\n [ngTemplateOutlet]=\"customMultiSelectDropdown\"\n [ngTemplateOutletContext]=\"{ field: field, control: control, formgroup: formgroup }\"\n ></ng-template>\n </ng-container>\n <ng-template #defaultMultiSelectDropdown>\n <div class=\"dynamic-field single-line-field-container\"\n [ngStyle]=\"{'border-bottom': (formgroup?.controls?.subFields?.controls?.length && removeSepratorForSubFields) ? 'none':''}\">\n <p class=\"h6\">\n {{ field.title }}<span *ngIf=\"field.validators && field.validators.length > 0\"> *</span>\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 </ng-template>\n </ng-container>\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 [ngStyle]=\"{ '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;border-bottom:1px solid var(--grey-seperators)}.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)}.removeable-container{display:flex;justify-content:center;align-items:center}.removeable-container .remove-icon{cursor:pointer;margin-left:8px;max-width:24px}span{color:var(--sem-error)}\n"] }]
|
|
1002
|
-
}], ()
|
|
1018
|
+
}], function () { return []; }, { formFields: [{
|
|
1003
1019
|
type: Input
|
|
1004
1020
|
}], formValues: [{
|
|
1005
1021
|
type: Input
|
|
@@ -1044,7 +1060,6 @@ class DynamicFormComponent {
|
|
|
1044
1060
|
type: ContentChild,
|
|
1045
1061
|
args: ["customMultiSelectDropdown", { static: false }]
|
|
1046
1062
|
}] }); })();
|
|
1047
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(DynamicFormComponent, { className: "DynamicFormComponent" }); })();
|
|
1048
1063
|
const dynamicFieldValidator = (validators) => {
|
|
1049
1064
|
return (control) => {
|
|
1050
1065
|
let value = control.value;
|
|
@@ -1103,19 +1118,19 @@ class DynamicFormModule {
|
|
|
1103
1118
|
static forRoot() {
|
|
1104
1119
|
return { ngModule: DynamicFormModule, providers: [] };
|
|
1105
1120
|
}
|
|
1106
|
-
static { this.ɵfac = function DynamicFormModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DynamicFormModule)(); }; }
|
|
1107
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DynamicFormModule }); }
|
|
1108
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
1109
|
-
ReactiveFormsModule,
|
|
1110
|
-
FormsModule,
|
|
1111
|
-
OverlayModule,
|
|
1112
|
-
ScrollingModule,
|
|
1113
|
-
DropdownModule,
|
|
1114
|
-
SwitchModule,
|
|
1115
|
-
MultiSelectDropdownModule,
|
|
1116
|
-
DatepickerModuleV2] }); }
|
|
1117
1121
|
}
|
|
1118
|
-
(
|
|
1122
|
+
DynamicFormModule.ɵfac = function DynamicFormModule_Factory(t) { return new (t || DynamicFormModule)(); };
|
|
1123
|
+
DynamicFormModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: DynamicFormModule });
|
|
1124
|
+
DynamicFormModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
1125
|
+
ReactiveFormsModule,
|
|
1126
|
+
FormsModule,
|
|
1127
|
+
OverlayModule,
|
|
1128
|
+
ScrollingModule,
|
|
1129
|
+
DropdownModule,
|
|
1130
|
+
SwitchModule,
|
|
1131
|
+
MultiSelectDropdownModule,
|
|
1132
|
+
DatepickerModuleV2] });
|
|
1133
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DynamicFormModule, [{
|
|
1119
1134
|
type: NgModule,
|
|
1120
1135
|
args: [{
|
|
1121
1136
|
declarations: [DynamicFormComponent],
|