mis-crystal-design-system 18.0.3 → 18.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-list/action-list.component.d.ts +1 -1
- package/analytics/analytics.service.d.ts +1 -1
- package/async-search-dropdown/async-dropdown.component.d.ts +2 -2
- package/button/button.component.d.ts +1 -1
- package/button/button.directive.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/chip/chip.component.d.ts +1 -1
- package/datepicker_v2/models/dp-config.model.d.ts +1 -1
- package/datepicker_v2/tz-datepicker.directive.d.ts +1 -1
- package/datepicker_v2/tz-dp-container/tz-dp-container.component.d.ts +1 -1
- package/daterangepicker_v2/models/drp-config.model.d.ts +3 -1
- package/daterangepicker_v2/tz-daterangepicker.directive.d.ts +2 -1
- package/daterangepicker_v2/tz-drp-container/tz-drp-container.component.d.ts +3 -1
- package/drawer/drawer-body/drawer-body.component.d.ts +1 -1
- package/dropdown/calculate-container-height.directive.d.ts +1 -1
- package/dropdown/dropdown.component.d.ts +1 -1
- package/dynamic-form/dynamic-form.component.d.ts +1 -1
- package/esm2020/action-list/action-list.component.mjs +370 -0
- package/{esm2022 → esm2020}/action-list/action-list.module.mjs +5 -5
- package/{esm2022 → esm2020}/analytics/analytics.module.mjs +5 -5
- package/esm2020/analytics/analytics.service.mjs +64 -0
- package/esm2020/async-search-dropdown/async-dropdown.component.mjs +525 -0
- package/{esm2022 → esm2020}/async-search-dropdown/async-dropdown.module.mjs +5 -5
- package/esm2020/button/button.component.mjs +87 -0
- package/esm2020/button/button.directive.mjs +61 -0
- package/{esm2022 → esm2020}/button/button.module.mjs +5 -5
- package/esm2020/checkbox/checkbox.component.mjs +124 -0
- package/{esm2022 → esm2020}/checkbox/checkbox.module.mjs +5 -5
- package/esm2020/chip/chip.component.mjs +82 -0
- package/{esm2022 → esm2020}/chip/chip.module.mjs +5 -5
- package/{esm2022 → esm2020}/datepicker_v2/datepicker.module.mjs +5 -5
- package/esm2020/datepicker_v2/tz-datepicker.directive.mjs +183 -0
- package/esm2020/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +449 -0
- package/esm2020/datepicker_v2/utils/index.mjs +45 -0
- package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker.module.mjs +5 -5
- package/esm2020/daterangepicker_v2/models/drp-config.model.mjs +2 -0
- package/esm2020/daterangepicker_v2/tz-daterangepicker.directive.mjs +165 -0
- package/esm2020/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +502 -0
- package/{esm2022/datepicker_v2 → esm2020/daterangepicker_v2}/utils/index.mjs +1 -1
- package/esm2020/drawer/drawer-body/drawer-body.component.mjs +58 -0
- package/{esm2022 → esm2020}/drawer/drawer-ref.mjs +4 -4
- package/{esm2022 → esm2020}/drawer/drawer.module.mjs +5 -5
- package/{esm2022 → esm2020}/drawer/drawer.service.mjs +5 -5
- package/esm2020/dropdown/calculate-container-height.directive.mjs +41 -0
- package/esm2020/dropdown/dropdown.component.mjs +472 -0
- package/{esm2022 → esm2020}/dropdown/dropdown.module.mjs +5 -5
- package/esm2020/dynamic-form/dynamic-form.component.mjs +1108 -0
- package/{esm2022 → esm2020}/dynamic-form/dynamic-form.module.mjs +13 -13
- package/esm2020/fab/fab.component.mjs +144 -0
- package/{esm2022 → esm2020}/fab/fab.module.mjs +5 -5
- package/esm2020/filter/filter-panel/filter-panel.component.mjs +403 -0
- package/{esm2022 → esm2020}/filter/filters.module.mjs +17 -17
- package/esm2020/filter/has-value.pipe.mjs +31 -0
- package/{esm2022 → esm2020}/input/directives/input/input.directive.mjs +6 -6
- package/esm2020/input/mis-input.component.mjs +84 -0
- package/{esm2022 → esm2020}/input/mis-input.module.mjs +5 -5
- package/esm2020/input-stepper/input-stepper/input-stepper.component.mjs +88 -0
- package/{esm2022 → esm2020}/input-stepper/input-stepper.module.mjs +5 -5
- package/esm2020/loader/loader.component.mjs +24 -0
- package/{esm2022 → esm2020}/loader/loader.module.mjs +5 -5
- package/esm2020/menu/menu-close.directive.mjs +25 -0
- package/{esm2022 → esm2020}/menu/menu.directive.mjs +7 -7
- package/{esm2022 → esm2020}/menu/menu.module.mjs +5 -5
- package/esm2020/mobile-filter/mobile-filter.component.mjs +181 -0
- package/{esm2022 → esm2020}/mobile-filter/mobile-filter.module.mjs +5 -5
- package/{esm2022 → esm2020}/modal/modal.module.mjs +5 -5
- package/esm2020/modal/modal.service.mjs +70 -0
- package/esm2020/modal/module-wrapper/module-wrapper.component.mjs +55 -0
- package/esm2020/multi-select-dropdown/multi-select-dropdown.component.mjs +491 -0
- package/{esm2022 → esm2020}/multi-select-dropdown/multi-select-dropdown.module.mjs +5 -5
- package/esm2020/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +517 -0
- package/{esm2022 → esm2020}/nested-multi-select-dropdown/nested-multi-select-dropdown.module.mjs +5 -5
- package/esm2020/phone-input/phone-input.component.mjs +71 -0
- package/{esm2022 → esm2020}/phone-input/phone-input.module.mjs +5 -5
- package/esm2020/radio-button/radio-button.component.mjs +56 -0
- package/{esm2022 → esm2020}/radio-button/radio-button.module.mjs +5 -5
- package/esm2020/ske-loader/ske-loader.component.mjs +53 -0
- package/{esm2022 → esm2020}/ske-loader/ske-loader.module.mjs +5 -5
- package/esm2020/slider/slider.component.mjs +45 -0
- package/{esm2022 → esm2020}/slider/slider.module.mjs +7 -7
- package/esm2020/snackbar/snackbar/snackbar.component.mjs +72 -0
- package/{esm2022 → esm2020}/snackbar/snackbar.module.mjs +5 -5
- package/esm2020/snackbar/snackbar.service.mjs +47 -0
- package/{esm2022 → esm2020}/specificdatepicker/specificdatepicker.module.mjs +5 -5
- package/esm2020/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +646 -0
- package/esm2020/specificdatepicker/tz-specificdatepicker.directive.mjs +196 -0
- package/esm2020/specificdatepicker/utils/index.mjs +45 -0
- package/esm2020/star-rating/star-rating.component.mjs +112 -0
- package/{esm2022 → esm2020}/star-rating/star-rating.module.mjs +5 -5
- package/esm2020/switch/switch.component.mjs +55 -0
- package/{esm2022 → esm2020}/switch/switch.module.mjs +5 -5
- package/esm2020/table/custom-table-cell.directive.mjs +42 -0
- package/esm2020/table/filter/filter.component.mjs +176 -0
- package/esm2020/table/sub-table/sub-table.component.mjs +193 -0
- package/esm2020/table/table.component.mjs +492 -0
- package/{esm2022 → esm2020}/table/table.module.mjs +5 -5
- package/esm2020/timepicker/timepicker.component.mjs +370 -0
- package/esm2020/timepicker/timepicker.directive.mjs +69 -0
- package/{esm2022 → esm2020}/timepicker/timepicker.module.mjs +5 -5
- package/esm2020/timerangepicker/timerangepicker.component.mjs +236 -0
- package/{esm2022 → esm2020}/timerangepicker/timerangepicker.module.mjs +5 -5
- package/esm2020/toast/toast.component.mjs +50 -0
- package/{esm2022 → esm2020}/toast/toast.data.service.mjs +8 -8
- package/{esm2022 → esm2020}/toast/toast.module.mjs +5 -5
- package/esm2020/toast/toast.service.mjs +91 -0
- package/esm2020/tooltip/tooltip-container/tooltip.component.mjs +79 -0
- package/esm2020/tooltip/tooltip.directive.mjs +143 -0
- package/{esm2022 → esm2020}/tooltip/tooltip.module.mjs +5 -5
- package/esm2020/virtual-scroll/virtual-scroll.component.mjs +190 -0
- package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.module.mjs +7 -7
- package/esm2020/widgets/classes/async-widget.mjs +23 -0
- package/{esm2022 → esm2020}/widgets/classes/base-widget.mjs +1 -1
- package/esm2020/widgets/classes/sync-widget.mjs +20 -0
- package/{esm2022 → esm2020}/widgets/services/widget.service.mjs +5 -5
- package/{esm2022 → esm2020}/widgets/widgets.module.mjs +5 -5
- package/fab/fab.component.d.ts +4 -4
- package/fesm2015/mis-crystal-design-system-action-list.mjs +446 -0
- package/fesm2015/mis-crystal-design-system-action-list.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-analytics.mjs +87 -0
- package/fesm2015/mis-crystal-design-system-analytics.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs +618 -0
- package/fesm2015/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-button.mjs +189 -0
- package/fesm2015/mis-crystal-design-system-button.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-checkbox.mjs +166 -0
- package/fesm2015/mis-crystal-design-system-checkbox.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-chip.mjs +123 -0
- package/fesm2015/mis-crystal-design-system-chip.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs +751 -0
- package/fesm2015/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs +769 -0
- package/fesm2015/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-drawer.mjs +185 -0
- package/fesm2015/mis-crystal-design-system-drawer.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-dropdown.mjs +616 -0
- package/fesm2015/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs +1337 -0
- package/fesm2015/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-fab.mjs +186 -0
- package/fesm2015/mis-crystal-design-system-fab.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-filter.mjs +559 -0
- package/fesm2015/mis-crystal-design-system-filter.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-input-stepper.mjs +124 -0
- package/fesm2015/mis-crystal-design-system-input-stepper.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-input.mjs +165 -0
- package/fesm2015/mis-crystal-design-system-input.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-loader.mjs +57 -0
- package/fesm2015/mis-crystal-design-system-loader.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-menu.mjs +135 -0
- package/fesm2015/mis-crystal-design-system-menu.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs +227 -0
- package/fesm2015/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-modal.mjs +184 -0
- package/fesm2015/mis-crystal-design-system-modal.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs +550 -0
- package/fesm2015/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs +559 -0
- package/fesm2015/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-phone-input.mjs +107 -0
- package/fesm2015/mis-crystal-design-system-phone-input.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-radio-button.mjs +89 -0
- package/fesm2015/mis-crystal-design-system-radio-button.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs +86 -0
- package/fesm2015/mis-crystal-design-system-ske-loader.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-slider.mjs +88 -0
- package/fesm2015/mis-crystal-design-system-slider.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-snackbar.mjs +175 -0
- package/fesm2015/mis-crystal-design-system-snackbar.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs +970 -0
- package/fesm2015/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-star-rating.mjs +145 -0
- package/fesm2015/mis-crystal-design-system-star-rating.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-switch.mjs +88 -0
- package/fesm2015/mis-crystal-design-system-switch.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-table.mjs +1045 -0
- package/fesm2015/mis-crystal-design-system-table.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs +484 -0
- package/fesm2015/mis-crystal-design-system-timepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs +273 -0
- package/fesm2015/mis-crystal-design-system-timerangepicker.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-toast.mjs +214 -0
- package/fesm2015/mis-crystal-design-system-toast.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-tooltip.mjs +272 -0
- package/fesm2015/mis-crystal-design-system-tooltip.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs +259 -0
- package/fesm2015/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
- package/fesm2015/mis-crystal-design-system-widgets.mjs +131 -0
- package/fesm2015/mis-crystal-design-system-widgets.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-action-list.mjs +113 -106
- package/fesm2020/mis-crystal-design-system-action-list.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs +9 -9
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-analytics.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-async-search-dropdown.mjs +144 -138
- package/fesm2020/mis-crystal-design-system-async-search-dropdown.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-button.mjs +172 -0
- package/fesm2020/mis-crystal-design-system-button.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-checkbox.mjs +150 -0
- package/fesm2020/mis-crystal-design-system-checkbox.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-chip.mjs +108 -0
- package/fesm2020/mis-crystal-design-system-chip.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-datepicker_v2.mjs +140 -133
- package/fesm2020/mis-crystal-design-system-datepicker_v2.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs +736 -0
- package/fesm2020/mis-crystal-design-system-daterangepicker_v2.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs +33 -34
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-drawer.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-dropdown.mjs +184 -176
- package/fesm2020/mis-crystal-design-system-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-dynamic-form.mjs +456 -441
- package/fesm2020/mis-crystal-design-system-dynamic-form.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-fab.mjs +47 -48
- package/fesm2020/mis-crystal-design-system-fab.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-filter.mjs +140 -133
- package/fesm2020/mis-crystal-design-system-filter.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs +34 -35
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input-stepper.mjs.map +1 -1
- package/{esm2022/input/mis-input.component.mjs → fesm2020/mis-crystal-design-system-input.mjs} +109 -49
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-input.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-loader.mjs +50 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-loader.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs +16 -16
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-menu.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs +206 -0
- package/fesm2020/mis-crystal-design-system-mobile-filter.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs +33 -34
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-modal.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-multi-select-dropdown.mjs +109 -107
- package/fesm2020/mis-crystal-design-system-multi-select-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-nested-multi-select-dropdown.mjs +129 -128
- package/fesm2020/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs +21 -22
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-phone-input.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-radio-button.mjs +82 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-radio-button.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs +76 -0
- package/fesm2020/mis-crystal-design-system-ske-loader.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-slider.mjs +79 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-slider.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-snackbar.mjs +32 -32
- package/fesm2020/mis-crystal-design-system-snackbar.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-specificdatepicker.mjs +204 -204
- package/fesm2020/mis-crystal-design-system-specificdatepicker.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-star-rating.mjs +28 -29
- package/fesm2020/mis-crystal-design-system-star-rating.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-styles.mjs +4 -0
- package/fesm2020/mis-crystal-design-system-styles.mjs.map +1 -0
- package/fesm2020/mis-crystal-design-system-switch.mjs +81 -0
- package/fesm2020/mis-crystal-design-system-switch.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-table.mjs +321 -314
- package/fesm2020/mis-crystal-design-system-table.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs +74 -78
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timepicker.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs +25 -26
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-timerangepicker.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs +34 -35
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-toast.mjs.map +1 -1
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs +47 -47
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-tooltip.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system-utils.mjs +24 -0
- package/fesm2020/mis-crystal-design-system-utils.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-virtual-scroll.mjs +52 -50
- package/fesm2020/mis-crystal-design-system-virtual-scroll.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs +4 -4
- package/{fesm2022 → fesm2020}/mis-crystal-design-system-widgets.mjs.map +1 -1
- package/fesm2020/mis-crystal-design-system.mjs +24 -0
- package/fesm2020/mis-crystal-design-system.mjs.map +1 -0
- package/filter/filter-panel/filter-panel.component.d.ts +4 -3
- package/input/directives/input/input.directive.d.ts +1 -1
- package/input/mis-input.component.d.ts +1 -1
- package/input-stepper/input-stepper/input-stepper.component.d.ts +1 -1
- package/loader/loader.component.d.ts +1 -1
- package/menu/menu-close.directive.d.ts +1 -1
- package/menu/menu.directive.d.ts +1 -1
- package/mobile-filter/mobile-filter.component.d.ts +1 -1
- package/modal/module-wrapper/module-wrapper.component.d.ts +1 -1
- package/multi-select-dropdown/multi-select-dropdown.component.d.ts +1 -1
- package/nested-multi-select-dropdown/nested-multi-select-dropdown.component.d.ts +1 -1
- package/package.json +230 -148
- package/phone-input/phone-input.component.d.ts +1 -1
- package/radio-button/radio-button.component.d.ts +1 -1
- package/ske-loader/ske-loader.component.d.ts +1 -1
- package/slider/slider.component.d.ts +1 -1
- package/snackbar/snackbar/snackbar.component.d.ts +1 -1
- package/specificdatepicker/models/sdp-config.model.d.ts +1 -1
- package/specificdatepicker/tz-sdp-container/tz-sdp-container.component.d.ts +1 -1
- package/specificdatepicker/tz-specificdatepicker.directive.d.ts +1 -1
- package/star-rating/star-rating.component.d.ts +1 -1
- package/switch/switch.component.d.ts +1 -1
- package/table/custom-table-cell.directive.d.ts +1 -1
- package/table/filter/filter.component.d.ts +1 -1
- package/table/sub-table/sub-table.component.d.ts +1 -1
- package/table/table.component.d.ts +1 -1
- package/timepicker/timepicker.component.d.ts +1 -1
- package/timepicker/timepicker.directive.d.ts +1 -1
- package/timerangepicker/timerange.namespace.d.ts +1 -1
- package/timerangepicker/timerangepicker.component.d.ts +1 -1
- package/toast/toast.component.d.ts +1 -1
- package/toast/toast.service.d.ts +1 -1
- package/tooltip/models/tooltip.model.d.ts +1 -1
- package/tooltip/tooltip-container/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/virtual-scroll/virtual-scroll.component.d.ts +1 -1
- package/widgets/interfaces/widgets.model.d.ts +1 -1
- package/esm2022/action-list/action-list.component.mjs +0 -363
- package/esm2022/analytics/analytics.service.mjs +0 -64
- package/esm2022/async-search-dropdown/async-dropdown.component.mjs +0 -519
- package/esm2022/button/button.component.mjs +0 -88
- package/esm2022/button/button.directive.mjs +0 -61
- package/esm2022/checkbox/checkbox.component.mjs +0 -124
- package/esm2022/chip/chip.component.mjs +0 -82
- package/esm2022/datepicker_v2/tz-datepicker.directive.mjs +0 -183
- package/esm2022/datepicker_v2/tz-dp-container/tz-dp-container.component.mjs +0 -442
- package/esm2022/daterangepicker_v2/models/drp-config.model.mjs +0 -2
- package/esm2022/daterangepicker_v2/tz-daterangepicker.directive.mjs +0 -156
- package/esm2022/daterangepicker_v2/tz-drp-container/tz-drp-container.component.mjs +0 -473
- package/esm2022/daterangepicker_v2/utils/index.mjs +0 -45
- package/esm2022/drawer/drawer-body/drawer-body.component.mjs +0 -59
- package/esm2022/dropdown/calculate-container-height.directive.mjs +0 -41
- package/esm2022/dropdown/dropdown.component.mjs +0 -464
- package/esm2022/dynamic-form/dynamic-form.component.mjs +0 -1093
- package/esm2022/fab/fab.component.mjs +0 -145
- package/esm2022/filter/filter-panel/filter-panel.component.mjs +0 -396
- package/esm2022/filter/has-value.pipe.mjs +0 -31
- package/esm2022/input-stepper/input-stepper/input-stepper.component.mjs +0 -89
- package/esm2022/loader/loader.component.mjs +0 -25
- package/esm2022/menu/menu-close.directive.mjs +0 -25
- package/esm2022/mobile-filter/mobile-filter.component.mjs +0 -180
- package/esm2022/modal/modal.service.mjs +0 -70
- package/esm2022/modal/module-wrapper/module-wrapper.component.mjs +0 -56
- package/esm2022/multi-select-dropdown/multi-select-dropdown.component.mjs +0 -489
- package/esm2022/nested-multi-select-dropdown/nested-multi-select-dropdown.component.mjs +0 -516
- package/esm2022/phone-input/phone-input.component.mjs +0 -72
- package/esm2022/radio-button/radio-button.component.mjs +0 -57
- package/esm2022/ske-loader/ske-loader.component.mjs +0 -54
- package/esm2022/slider/slider.component.mjs +0 -46
- package/esm2022/snackbar/snackbar/snackbar.component.mjs +0 -72
- package/esm2022/snackbar/snackbar.service.mjs +0 -47
- package/esm2022/specificdatepicker/tz-sdp-container/tz-sdp-container.component.mjs +0 -646
- package/esm2022/specificdatepicker/tz-specificdatepicker.directive.mjs +0 -196
- package/esm2022/specificdatepicker/utils/index.mjs +0 -45
- package/esm2022/star-rating/star-rating.component.mjs +0 -113
- package/esm2022/switch/switch.component.mjs +0 -56
- package/esm2022/table/custom-table-cell.directive.mjs +0 -42
- package/esm2022/table/filter/filter.component.mjs +0 -177
- package/esm2022/table/sub-table/sub-table.component.mjs +0 -192
- package/esm2022/table/table.component.mjs +0 -485
- package/esm2022/timepicker/timepicker.component.mjs +0 -374
- package/esm2022/timepicker/timepicker.directive.mjs +0 -69
- package/esm2022/timerangepicker/timerangepicker.component.mjs +0 -237
- package/esm2022/toast/toast.component.mjs +0 -51
- package/esm2022/toast/toast.service.mjs +0 -91
- package/esm2022/tooltip/tooltip-container/tooltip.component.mjs +0 -79
- package/esm2022/tooltip/tooltip.directive.mjs +0 -143
- package/esm2022/virtual-scroll/virtual-scroll.component.mjs +0 -188
- package/esm2022/widgets/classes/async-widget.mjs +0 -23
- package/esm2022/widgets/classes/sync-widget.mjs +0 -20
- package/fesm2022/mis-crystal-design-system-action-list.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-async-search-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-button.mjs +0 -173
- package/fesm2022/mis-crystal-design-system-button.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-checkbox.mjs +0 -150
- package/fesm2022/mis-crystal-design-system-checkbox.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-chip.mjs +0 -108
- package/fesm2022/mis-crystal-design-system-chip.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-datepicker_v2.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs +0 -698
- package/fesm2022/mis-crystal-design-system-daterangepicker_v2.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-dynamic-form.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-fab.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-filter.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-input.mjs +0 -146
- package/fesm2022/mis-crystal-design-system-loader.mjs +0 -51
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs +0 -205
- package/fesm2022/mis-crystal-design-system-mobile-filter.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-multi-select-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-nested-multi-select-dropdown.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-radio-button.mjs +0 -83
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs +0 -77
- package/fesm2022/mis-crystal-design-system-ske-loader.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-slider.mjs +0 -80
- package/fesm2022/mis-crystal-design-system-snackbar.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-specificdatepicker.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-star-rating.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-switch.mjs +0 -82
- package/fesm2022/mis-crystal-design-system-switch.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-table.mjs.map +0 -1
- package/fesm2022/mis-crystal-design-system-virtual-scroll.mjs.map +0 -1
- /package/{esm2022 → esm2020}/action-list/index.mjs +0 -0
- /package/{esm2022 → esm2020}/action-list/mis-crystal-design-system-action-list.mjs +0 -0
- /package/{esm2022 → esm2020}/action-list/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/index.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/mis-crystal-design-system-analytics.mjs +0 -0
- /package/{esm2022 → esm2020}/analytics/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/mis-crystal-design-system-async-search-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/async-search-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/button/mis-crystal-design-system-button.mjs +0 -0
- /package/{esm2022 → esm2020}/button/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/index.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/mis-crystal-design-system-checkbox.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/mis-crystal-design-system-chip.mjs +0 -0
- /package/{esm2022 → esm2020}/chip/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/datepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/index.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/mis-crystal-design-system-datepicker_v2.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/models/dp-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/datepicker_v2/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/daterangepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/index.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/mis-crystal-design-system-daterangepicker_v2.mjs +0 -0
- /package/{esm2022 → esm2020}/daterangepicker_v2/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/drawer-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/mis-crystal-design-system-drawer.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/mis-crystal-design-system-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/dynamic-form.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/mis-crystal-design-system-dynamic-form.mjs +0 -0
- /package/{esm2022 → esm2020}/dynamic-form/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/index.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/mis-crystal-design-system-fab.mjs +0 -0
- /package/{esm2022 → esm2020}/fab/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/animations/slideFromRight.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/index.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/mis-crystal-design-system-filter.mjs +0 -0
- /package/{esm2022 → esm2020}/filter/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/mis-crystal-design-system-input.mjs +0 -0
- /package/{esm2022 → esm2020}/input/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/mis-crystal-design-system-input-stepper.mjs +0 -0
- /package/{esm2022 → esm2020}/input-stepper/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/index.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/mis-crystal-design-system-loader.mjs +0 -0
- /package/{esm2022 → esm2020}/loader/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/index.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/mis-crystal-design-system-menu.mjs +0 -0
- /package/{esm2022 → esm2020}/menu/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/mis-crystal-design-system.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/index.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/mis-crystal-design-system-mobile-filter.mjs +0 -0
- /package/{esm2022 → esm2020}/mobile-filter/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/index.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/mis-crystal-design-system-modal.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/modal-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/modal-ref.mjs +0 -0
- /package/{esm2022 → esm2020}/modal/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/mis-crystal-design-system-multi-select-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/multi-select-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/mis-crystal-design-system-nested-multi-select-dropdown.mjs +0 -0
- /package/{esm2022 → esm2020}/nested-multi-select-dropdown/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/mis-crystal-design-system-phone-input.mjs +0 -0
- /package/{esm2022 → esm2020}/phone-input/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/public-api.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/mis-crystal-design-system-radio-button.mjs +0 -0
- /package/{esm2022 → esm2020}/radio-button/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/index.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/mis-crystal-design-system-ske-loader.mjs +0 -0
- /package/{esm2022 → esm2020}/ske-loader/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/index.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/mis-crystal-design-system-slider.mjs +0 -0
- /package/{esm2022 → esm2020}/slider/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/index.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/mis-crystal-design-system-snackbar.mjs +0 -0
- /package/{esm2022 → esm2020}/snackbar/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/daterangepicker-constants.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/mis-crystal-design-system-specificdatepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/models/sdp-config.model.mjs +0 -0
- /package/{esm2022 → esm2020}/specificdatepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/index.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/mis-crystal-design-system-star-rating.mjs +0 -0
- /package/{esm2022 → esm2020}/star-rating/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/index.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/mis-crystal-design-system-styles.mjs +0 -0
- /package/{esm2022 → esm2020}/styles/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/index.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/mis-crystal-design-system-switch.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/table/index.mjs +0 -0
- /package/{esm2022 → esm2020}/table/mis-crystal-design-system-table.mjs +0 -0
- /package/{esm2022 → esm2020}/table/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/mis-crystal-design-system-timepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timepicker/time.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/mis-crystal-design-system-timerangepicker.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/timerangepicker/timerange.namespace.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/index.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/mis-crystal-design-system-toast.mjs +0 -0
- /package/{esm2022 → esm2020}/toast/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/mis-crystal-design-system-tooltip.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/models/tooltip.model.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/mis-crystal-design-system-utils.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/index.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/mis-crystal-design-system-virtual-scroll.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/public_api.mjs +0 -0
- /package/{esm2022 → esm2020}/virtual-scroll/virtual-scroll.constants.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/classes/widget-group.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/index.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/interfaces/widgets.model.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/mis-crystal-design-system-widgets.mjs +0 -0
- /package/{esm2022 → esm2020}/widgets/public_api.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-styles.mjs.map +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system-utils.mjs.map +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs +0 -0
- /package/{fesm2022 → fesm2015}/mis-crystal-design-system.mjs.map +0 -0
|
@@ -8,6 +8,10 @@ import * as i2$1 from 'mis-crystal-design-system/checkbox';
|
|
|
8
8
|
import { CheckboxModule } from 'mis-crystal-design-system/checkbox';
|
|
9
9
|
|
|
10
10
|
class CustomTableCellDirective {
|
|
11
|
+
constructor(viewContainerRef, componentFactoryResolver) {
|
|
12
|
+
this.viewContainerRef = viewContainerRef;
|
|
13
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
14
|
+
}
|
|
11
15
|
set customComponent(value) {
|
|
12
16
|
this.component = value;
|
|
13
17
|
this.createComponent();
|
|
@@ -18,10 +22,6 @@ class CustomTableCellDirective {
|
|
|
18
22
|
this.ref.instance.data = this.cellData;
|
|
19
23
|
}
|
|
20
24
|
}
|
|
21
|
-
constructor(viewContainerRef, componentFactoryResolver) {
|
|
22
|
-
this.viewContainerRef = viewContainerRef;
|
|
23
|
-
this.componentFactoryResolver = componentFactoryResolver;
|
|
24
|
-
}
|
|
25
25
|
createComponent() {
|
|
26
26
|
if (this.component) {
|
|
27
27
|
const cmpFactoryResolver = this.componentFactoryResolver.resolveComponentFactory(this.component);
|
|
@@ -33,122 +33,124 @@ class CustomTableCellDirective {
|
|
|
33
33
|
setData() {
|
|
34
34
|
this.ref.instance.data = this.cellData;
|
|
35
35
|
}
|
|
36
|
-
static { this.ɵfac = function CustomTableCellDirective_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CustomTableCellDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); }; }
|
|
37
|
-
static { this.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CustomTableCellDirective, selectors: [["", "customTableCell", ""]], inputs: { customComponent: "customComponent", data: "data" } }); }
|
|
38
36
|
}
|
|
39
|
-
(
|
|
37
|
+
CustomTableCellDirective.ɵfac = function CustomTableCellDirective_Factory(t) { return new (t || CustomTableCellDirective)(i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i0.ComponentFactoryResolver)); };
|
|
38
|
+
CustomTableCellDirective.ɵdir = /*@__PURE__*/ i0.ɵɵdefineDirective({ type: CustomTableCellDirective, selectors: [["", "customTableCell", ""]], inputs: { customComponent: "customComponent", data: "data" } });
|
|
39
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CustomTableCellDirective, [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: "[customTableCell]"
|
|
43
43
|
}]
|
|
44
|
-
}], ()
|
|
44
|
+
}], function () { return [{ type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }]; }, { customComponent: [{
|
|
45
45
|
type: Input
|
|
46
46
|
}], data: [{
|
|
47
47
|
type: Input
|
|
48
48
|
}] }); })();
|
|
49
49
|
|
|
50
50
|
const _c0$2 = ["table"];
|
|
51
|
-
const _c1$2 = (a0, a1) => ({ height: a0, width: a1 });
|
|
52
|
-
const _c2$2 = (a0, a1, a2) => ({ height: a0, "border-top": a1, "border-bottom": a2 });
|
|
53
|
-
const _c3$1 = (a0, a1, a2) => ({ width: a0, cursor: a1, "justify-content": a2 });
|
|
54
|
-
const _c4$1 = a0 => ({ backgroundColor: a0 });
|
|
55
|
-
const _c5$1 = a0 => ({ width: a0 });
|
|
56
|
-
const _c6$1 = (a0, a1) => ({ width: "100%", cursor: a0, "justify-content": a1 });
|
|
57
|
-
const _c7$1 = a0 => ({ color: a0 });
|
|
58
51
|
function SubTableComponent_div_3_div_1_p_1_Template(rf, ctx) { if (rf & 1) {
|
|
59
52
|
i0.ɵɵelementStart(0, "p", 11);
|
|
60
53
|
i0.ɵɵtext(1);
|
|
61
54
|
i0.ɵɵelementEnd();
|
|
62
55
|
} if (rf & 2) {
|
|
63
|
-
const
|
|
64
|
-
i0.ɵɵadvance();
|
|
65
|
-
i0.ɵɵtextInterpolate1(" ", (
|
|
56
|
+
const colHeader_r4 = i0.ɵɵnextContext().$implicit;
|
|
57
|
+
i0.ɵɵadvance(1);
|
|
58
|
+
i0.ɵɵtextInterpolate1(" ", (colHeader_r4 == null ? null : colHeader_r4.data) || " ", " ");
|
|
66
59
|
} }
|
|
67
60
|
function SubTableComponent_div_3_div_1_2_ng_template_0_Template(rf, ctx) { }
|
|
68
61
|
function SubTableComponent_div_3_div_1_2_Template(rf, ctx) { if (rf & 1) {
|
|
69
62
|
i0.ɵɵtemplate(0, SubTableComponent_div_3_div_1_2_ng_template_0_Template, 0, 0, "ng-template", 12);
|
|
70
63
|
} if (rf & 2) {
|
|
71
|
-
const
|
|
72
|
-
i0.ɵɵproperty("customComponent",
|
|
64
|
+
const colHeader_r4 = i0.ɵɵnextContext().$implicit;
|
|
65
|
+
i0.ɵɵproperty("customComponent", colHeader_r4 == null ? null : colHeader_r4.componentRef)("data", colHeader_r4.data);
|
|
73
66
|
} }
|
|
67
|
+
const _c1$2 = function (a0, a1, a2) { return { width: a0, cursor: a1, "justify-content": a2 }; };
|
|
74
68
|
function SubTableComponent_div_3_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
75
|
-
const
|
|
69
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
76
70
|
i0.ɵɵelementStart(0, "div", 8);
|
|
77
|
-
i0.ɵɵlistener("click", function SubTableComponent_div_3_div_1_Template_div_click_0_listener() { const
|
|
78
|
-
i0.ɵɵtemplate(1, SubTableComponent_div_3_div_1_p_1_Template, 2, 1, "p", 9)
|
|
71
|
+
i0.ɵɵlistener("click", function SubTableComponent_div_3_div_1_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r11); const colHeader_r4 = restoredCtx.$implicit; return i0.ɵɵresetView((colHeader_r4 == null ? null : colHeader_r4.action) ? colHeader_r4 == null ? null : colHeader_r4.action(colHeader_r4) : null); });
|
|
72
|
+
i0.ɵɵtemplate(1, SubTableComponent_div_3_div_1_p_1_Template, 2, 1, "p", 9);
|
|
73
|
+
i0.ɵɵtemplate(2, SubTableComponent_div_3_div_1_2_Template, 1, 2, null, 10);
|
|
79
74
|
i0.ɵɵelementEnd();
|
|
80
75
|
} if (rf & 2) {
|
|
81
|
-
const
|
|
82
|
-
i0.ɵɵstyleMap(
|
|
83
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(5,
|
|
84
|
-
i0.ɵɵadvance();
|
|
85
|
-
i0.ɵɵproperty("ngIf", (
|
|
86
|
-
i0.ɵɵadvance();
|
|
87
|
-
i0.ɵɵproperty("ngIf", (
|
|
76
|
+
const colHeader_r4 = ctx.$implicit;
|
|
77
|
+
i0.ɵɵstyleMap(colHeader_r4 == null ? null : colHeader_r4.style);
|
|
78
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(5, _c1$2, (colHeader_r4 == null ? null : colHeader_r4.style == null ? null : colHeader_r4.style.width) || "", colHeader_r4.action ? "pointer" : "default", (colHeader_r4 == null ? null : colHeader_r4.style == null ? null : colHeader_r4.style.justifyContent) ? colHeader_r4 == null ? null : colHeader_r4.style == null ? null : colHeader_r4.style.justifyContent : colHeader_r4.type === "number" ? "flex-end" : "space-between"));
|
|
79
|
+
i0.ɵɵadvance(1);
|
|
80
|
+
i0.ɵɵproperty("ngIf", (colHeader_r4 == null ? null : colHeader_r4.type) !== "custom");
|
|
81
|
+
i0.ɵɵadvance(1);
|
|
82
|
+
i0.ɵɵproperty("ngIf", (colHeader_r4 == null ? null : colHeader_r4.type) === "custom");
|
|
88
83
|
} }
|
|
84
|
+
const _c2$2 = function (a0, a1, a2) { return { height: a0, "border-top": a1, "border-bottom": a2 }; };
|
|
89
85
|
function SubTableComponent_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
90
86
|
i0.ɵɵelementStart(0, "div", 6);
|
|
91
87
|
i0.ɵɵtemplate(1, SubTableComponent_div_3_div_1_Template, 3, 9, "div", 7);
|
|
92
88
|
i0.ɵɵelementEnd();
|
|
93
89
|
} if (rf & 2) {
|
|
94
|
-
const
|
|
95
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(2, _c2$2,
|
|
96
|
-
i0.ɵɵadvance();
|
|
97
|
-
i0.ɵɵproperty("ngForOf",
|
|
90
|
+
const ctx_r1 = i0.ɵɵnextContext();
|
|
91
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(2, _c2$2, ctx_r1.getColHeadersRowHeight(), ctx_r1.getColHeadersRowBorderTop(), ctx_r1.getColHeadersRowBorderBottom()));
|
|
92
|
+
i0.ɵɵadvance(1);
|
|
93
|
+
i0.ɵɵproperty("ngForOf", ctx_r1.config == null ? null : ctx_r1.config.colHeaderConfig);
|
|
98
94
|
} }
|
|
95
|
+
const _c3$1 = function (a0) { return { color: a0 }; };
|
|
99
96
|
function SubTableComponent_div_6_div_2_p_2_Template(rf, ctx) { if (rf & 1) {
|
|
100
97
|
i0.ɵɵelementStart(0, "p", 19);
|
|
101
98
|
i0.ɵɵtext(1);
|
|
102
99
|
i0.ɵɵelementEnd();
|
|
103
100
|
} if (rf & 2) {
|
|
104
|
-
const
|
|
105
|
-
const
|
|
106
|
-
const
|
|
107
|
-
const
|
|
108
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2,
|
|
109
|
-
i0.ɵɵadvance();
|
|
110
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
101
|
+
const ctx_r19 = i0.ɵɵnextContext();
|
|
102
|
+
const i_r16 = ctx_r19.index;
|
|
103
|
+
const col_r15 = ctx_r19.$implicit;
|
|
104
|
+
const ctx_r17 = i0.ɵɵnextContext(2);
|
|
105
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c3$1, (ctx_r17.config == null ? null : ctx_r17.config.colConfig[i_r16] == null ? null : ctx_r17.config.colConfig[i_r16].style == null ? null : ctx_r17.config.colConfig[i_r16].style.color) ? ctx_r17.config == null ? null : ctx_r17.config.colConfig[i_r16] == null ? null : ctx_r17.config.colConfig[i_r16].style == null ? null : ctx_r17.config.colConfig[i_r16].style.color : ""));
|
|
106
|
+
i0.ɵɵadvance(1);
|
|
107
|
+
i0.ɵɵtextInterpolate1(" ", col_r15, " ");
|
|
111
108
|
} }
|
|
112
109
|
function SubTableComponent_div_6_div_2_3_ng_template_0_Template(rf, ctx) { }
|
|
113
110
|
function SubTableComponent_div_6_div_2_3_Template(rf, ctx) { if (rf & 1) {
|
|
114
111
|
i0.ɵɵtemplate(0, SubTableComponent_div_6_div_2_3_ng_template_0_Template, 0, 0, "ng-template", 12);
|
|
115
112
|
} if (rf & 2) {
|
|
116
|
-
const
|
|
117
|
-
const
|
|
118
|
-
const
|
|
119
|
-
const
|
|
120
|
-
i0.ɵɵproperty("customComponent",
|
|
113
|
+
const ctx_r21 = i0.ɵɵnextContext();
|
|
114
|
+
const i_r16 = ctx_r21.index;
|
|
115
|
+
const col_r15 = ctx_r21.$implicit;
|
|
116
|
+
const ctx_r18 = i0.ɵɵnextContext(2);
|
|
117
|
+
i0.ɵɵproperty("customComponent", ctx_r18.config.colConfig[i_r16].componentRef)("data", col_r15);
|
|
121
118
|
} }
|
|
119
|
+
const _c4$1 = function (a0) { return { width: a0 }; };
|
|
120
|
+
const _c5$1 = function (a1, a2) { return { width: "100%", cursor: a1, "justify-content": a2 }; };
|
|
122
121
|
function SubTableComponent_div_6_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
123
|
-
const
|
|
122
|
+
const _r23 = i0.ɵɵgetCurrentView();
|
|
124
123
|
i0.ɵɵelementStart(0, "div", 16);
|
|
125
|
-
i0.ɵɵlistener("click", function SubTableComponent_div_6_div_2_Template_div_click_0_listener() { const
|
|
124
|
+
i0.ɵɵlistener("click", function SubTableComponent_div_6_div_2_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r23); const i_r16 = restoredCtx.index; const col_r15 = restoredCtx.$implicit; const ctx_r22 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r22.config == null ? null : ctx_r22.config.colConfig[i_r16] == null ? null : ctx_r22.config.colConfig[i_r16].action) ? ctx_r22.config == null ? null : ctx_r22.config.colConfig[i_r16] == null ? null : ctx_r22.config.colConfig[i_r16].action(col_r15) : null); });
|
|
126
125
|
i0.ɵɵelementStart(1, "div", 17);
|
|
127
|
-
i0.ɵɵtemplate(2, SubTableComponent_div_6_div_2_p_2_Template, 2, 4, "p", 18)
|
|
126
|
+
i0.ɵɵtemplate(2, SubTableComponent_div_6_div_2_p_2_Template, 2, 4, "p", 18);
|
|
127
|
+
i0.ɵɵtemplate(3, SubTableComponent_div_6_div_2_3_Template, 1, 2, null, 10);
|
|
128
128
|
i0.ɵɵelementEnd()();
|
|
129
129
|
} if (rf & 2) {
|
|
130
|
-
const
|
|
131
|
-
const
|
|
132
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6,
|
|
133
|
-
i0.ɵɵadvance();
|
|
134
|
-
i0.ɵɵstyleMap(
|
|
135
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(8,
|
|
136
|
-
i0.ɵɵadvance();
|
|
137
|
-
i0.ɵɵproperty("ngIf",
|
|
138
|
-
i0.ɵɵadvance();
|
|
139
|
-
i0.ɵɵproperty("ngIf",
|
|
130
|
+
const i_r16 = ctx.index;
|
|
131
|
+
const ctx_r14 = i0.ɵɵnextContext(2);
|
|
132
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(6, _c4$1, (ctx_r14.config == null ? null : ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style == null ? null : ctx_r14.config.colConfig[i_r16].style.width) || (ctx_r14.config == null ? null : ctx_r14.config.colHeaderConfig[i_r16] == null ? null : ctx_r14.config.colHeaderConfig[i_r16].style == null ? null : ctx_r14.config.colHeaderConfig[i_r16].style.width) || ""));
|
|
133
|
+
i0.ɵɵadvance(1);
|
|
134
|
+
i0.ɵɵstyleMap(ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style);
|
|
135
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(8, _c5$1, ctx_r14.config.colConfig[i_r16].action ? "pointer" : "default", (ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style == null ? null : ctx_r14.config.colConfig[i_r16].style.justifyContent) ? ctx_r14.config.colConfig[i_r16] == null ? null : ctx_r14.config.colConfig[i_r16].style == null ? null : ctx_r14.config.colConfig[i_r16].style.justifyContent : ctx_r14.config.colConfig[i_r16].type === "number" ? "flex-end" : "space-between"));
|
|
136
|
+
i0.ɵɵadvance(1);
|
|
137
|
+
i0.ɵɵproperty("ngIf", ctx_r14.config.colConfig[i_r16].type !== "custom");
|
|
138
|
+
i0.ɵɵadvance(1);
|
|
139
|
+
i0.ɵɵproperty("ngIf", ctx_r14.config.colConfig[i_r16].type === "custom");
|
|
140
140
|
} }
|
|
141
|
+
const _c6$1 = function (a0) { return { backgroundColor: a0 }; };
|
|
141
142
|
function SubTableComponent_div_6_Template(rf, ctx) { if (rf & 1) {
|
|
142
143
|
i0.ɵɵelementStart(0, "div", 13)(1, "div", 14);
|
|
143
144
|
i0.ɵɵtemplate(2, SubTableComponent_div_6_div_2_Template, 4, 11, "div", 15);
|
|
144
145
|
i0.ɵɵelementEnd()();
|
|
145
146
|
} if (rf & 2) {
|
|
146
|
-
const
|
|
147
|
-
const
|
|
148
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2,
|
|
147
|
+
const row_r12 = ctx.$implicit;
|
|
148
|
+
const i_r13 = ctx.index;
|
|
149
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c6$1, i_r13 % 2 === 0 ? "#FAFAFA" : null));
|
|
149
150
|
i0.ɵɵadvance(2);
|
|
150
|
-
i0.ɵɵproperty("ngForOf",
|
|
151
|
+
i0.ɵɵproperty("ngForOf", row_r12);
|
|
151
152
|
} }
|
|
153
|
+
const _c7$1 = function (a0, a1) { return { height: a0, width: a1 }; };
|
|
152
154
|
class SubTableComponent {
|
|
153
155
|
constructor(renderer) {
|
|
154
156
|
this.renderer = renderer;
|
|
@@ -198,33 +200,33 @@ class SubTableComponent {
|
|
|
198
200
|
else
|
|
199
201
|
return "1px solid #E0E0E0";
|
|
200
202
|
}
|
|
201
|
-
static { this.ɵfac = function SubTableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SubTableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
202
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubTableComponent, selectors: [["sub-table"]], viewQuery: function SubTableComponent_Query(rf, ctx) { if (rf & 1) {
|
|
203
|
-
i0.ɵɵviewQuery(_c0$2, 5);
|
|
204
|
-
} if (rf & 2) {
|
|
205
|
-
let _t;
|
|
206
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
|
|
207
|
-
} }, inputs: { config: "config", tableData: "tableData" }, decls: 7, vars: 12, consts: [["table", ""], ["id", "main-container", 3, "ngStyle"], ["id", "table-container"], ["id", "col-headers-container", 3, "ngStyle", 4, "ngIf"], ["itemSize", "50", "id", "data-container", 3, "minBufferPx", "maxBufferPx"], ["class", "row-wrapper", 3, "ngStyle", 4, "cdkVirtualFor", "cdkVirtualForOf"], ["id", "col-headers-container", 3, "ngStyle"], ["class", "col-header", 3, "style", "ngStyle", "click", 4, "ngFor", "ngForOf"], [1, "col-header", 3, "click", "ngStyle"], ["class", "col-header-text", 4, "ngIf"], [4, "ngIf"], [1, "col-header-text"], ["customTableCell", "", 3, "customComponent", "data"], [1, "row-wrapper", 3, "ngStyle"], [1, "t-row"], ["class", "t-col-container", 3, "ngStyle", "click", 4, "ngFor", "ngForOf"], [1, "t-col-container", 3, "click", "ngStyle"], [1, "t-col", 3, "ngStyle"], ["class", "t-col-text", 3, "ngStyle", 4, "ngIf"], [1, "t-col-text", 3, "ngStyle"]], template: function SubTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
208
|
-
i0.ɵɵelementStart(0, "div", 1)(1, "div", 2, 0);
|
|
209
|
-
i0.ɵɵtemplate(3, SubTableComponent_div_3_Template, 2, 6, "div", 3);
|
|
210
|
-
i0.ɵɵelementStart(4, "div")(5, "cdk-virtual-scroll-viewport", 4);
|
|
211
|
-
i0.ɵɵtemplate(6, SubTableComponent_div_6_Template, 3, 4, "div", 5);
|
|
212
|
-
i0.ɵɵelementEnd()()()();
|
|
213
|
-
} if (rf & 2) {
|
|
214
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(9, _c1$2, ctx.getContainerHeight(), ctx.getContainerWidth()));
|
|
215
|
-
i0.ɵɵadvance(3);
|
|
216
|
-
i0.ɵɵproperty("ngIf", !!ctx.config.showHeader);
|
|
217
|
-
i0.ɵɵadvance(2);
|
|
218
|
-
i0.ɵɵstyleProp("overflow", "overlay")("height", ctx.config.dataContainerMaxHeight || "400px");
|
|
219
|
-
i0.ɵɵproperty("minBufferPx", ctx.config.dataContainerMaxHeight || "400")("maxBufferPx", ctx.config.dataContainerMaxHeight + 200 || "600");
|
|
220
|
-
i0.ɵɵadvance();
|
|
221
|
-
i0.ɵɵproperty("cdkVirtualForOf", ctx.tableData);
|
|
222
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2.CdkFixedSizeVirtualScroll, i2.CdkVirtualForOf, i2.CdkVirtualScrollViewport, CustomTableCellDirective], styles: ["#main-container[_ngcontent-%COMP%]{font-family:Lato,sans-serif}#table-container[_ngcontent-%COMP%]{height:inherit}#col-headers-container[_ngcontent-%COMP%]{display:flex;background-color:#fff;height:36px;border-bottom:1px solid #e0e0e0}#data-container[_ngcontent-%COMP%]{overflow:scroll;width:100%}#data-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}#data-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4}.col-header[_ngcontent-%COMP%]{height:100%;width:160px;display:flex;align-items:center;padding:0 16px}.col-header-text[_ngcontent-%COMP%]{font-style:normal;font-weight:700;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.25px;margin:0}.t-row[_ngcontent-%COMP%]{display:flex;align-items:center;height:36px;width:100%;border-bottom:1px solid #e0e0e0}.t-row[_ngcontent-%COMP%]:hover{background-color:#f1fdf8}.t-col-container[_ngcontent-%COMP%]{padding:0 16px;height:100%}.t-col[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}.t-col-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;align-items:center;letter-spacing:.2px;margin:0}"] }); }
|
|
223
203
|
}
|
|
224
|
-
(
|
|
204
|
+
SubTableComponent.ɵfac = function SubTableComponent_Factory(t) { return new (t || SubTableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
205
|
+
SubTableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SubTableComponent, selectors: [["sub-table"]], viewQuery: function SubTableComponent_Query(rf, ctx) { if (rf & 1) {
|
|
206
|
+
i0.ɵɵviewQuery(_c0$2, 5);
|
|
207
|
+
} if (rf & 2) {
|
|
208
|
+
let _t;
|
|
209
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
|
|
210
|
+
} }, inputs: { config: "config", tableData: "tableData" }, decls: 7, vars: 12, consts: [["id", "main-container", 3, "ngStyle"], ["id", "table-container"], ["table", ""], ["id", "col-headers-container", 3, "ngStyle", 4, "ngIf"], ["itemSize", "50", "id", "data-container", 3, "minBufferPx", "maxBufferPx"], ["class", "row-wrapper", 3, "ngStyle", 4, "cdkVirtualFor", "cdkVirtualForOf"], ["id", "col-headers-container", 3, "ngStyle"], ["class", "col-header", 3, "style", "ngStyle", "click", 4, "ngFor", "ngForOf"], [1, "col-header", 3, "ngStyle", "click"], ["class", "col-header-text", 4, "ngIf"], [4, "ngIf"], [1, "col-header-text"], ["customTableCell", "", 3, "customComponent", "data"], [1, "row-wrapper", 3, "ngStyle"], [1, "t-row"], ["class", "t-col-container", 3, "ngStyle", "click", 4, "ngFor", "ngForOf"], [1, "t-col-container", 3, "ngStyle", "click"], [1, "t-col", 3, "ngStyle"], ["class", "t-col-text", 3, "ngStyle", 4, "ngIf"], [1, "t-col-text", 3, "ngStyle"]], template: function SubTableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
211
|
+
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1, 2);
|
|
212
|
+
i0.ɵɵtemplate(3, SubTableComponent_div_3_Template, 2, 6, "div", 3);
|
|
213
|
+
i0.ɵɵelementStart(4, "div")(5, "cdk-virtual-scroll-viewport", 4);
|
|
214
|
+
i0.ɵɵtemplate(6, SubTableComponent_div_6_Template, 3, 4, "div", 5);
|
|
215
|
+
i0.ɵɵelementEnd()()()();
|
|
216
|
+
} if (rf & 2) {
|
|
217
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(9, _c7$1, ctx.getContainerHeight(), ctx.getContainerWidth()));
|
|
218
|
+
i0.ɵɵadvance(3);
|
|
219
|
+
i0.ɵɵproperty("ngIf", !!ctx.config.showHeader);
|
|
220
|
+
i0.ɵɵadvance(2);
|
|
221
|
+
i0.ɵɵstyleProp("overflow", "overlay")("height", ctx.config.dataContainerMaxHeight || "400px");
|
|
222
|
+
i0.ɵɵproperty("minBufferPx", ctx.config.dataContainerMaxHeight || "400")("maxBufferPx", ctx.config.dataContainerMaxHeight + 200 || "600");
|
|
223
|
+
i0.ɵɵadvance(1);
|
|
224
|
+
i0.ɵɵproperty("cdkVirtualForOf", ctx.tableData);
|
|
225
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2.CdkFixedSizeVirtualScroll, i2.CdkVirtualForOf, i2.CdkVirtualScrollViewport, CustomTableCellDirective], styles: ["#main-container[_ngcontent-%COMP%]{font-family:Lato,sans-serif}#table-container[_ngcontent-%COMP%]{height:inherit}#col-headers-container[_ngcontent-%COMP%]{display:flex;background-color:#fff;height:36px;border-bottom:1px solid #e0e0e0}#data-container[_ngcontent-%COMP%]{overflow:scroll;width:100%}#data-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}#data-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4}.col-header[_ngcontent-%COMP%]{height:100%;width:160px;display:flex;align-items:center;padding:0 16px}.col-header-text[_ngcontent-%COMP%]{font-style:normal;font-weight:700;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.25px;margin:0}.t-row[_ngcontent-%COMP%]{display:flex;align-items:center;height:36px;width:100%;border-bottom:1px solid #e0e0e0}.t-row[_ngcontent-%COMP%]:hover{background-color:#f1fdf8}.t-col-container[_ngcontent-%COMP%]{padding:0 16px;height:100%}.t-col[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}.t-col-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;align-items:center;letter-spacing:.2px;margin:0}"] });
|
|
226
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SubTableComponent, [{
|
|
225
227
|
type: Component,
|
|
226
228
|
args: [{ selector: "sub-table", template: "<div\n id=\"main-container\"\n [ngStyle]=\"{\n height: getContainerHeight(),\n width: getContainerWidth()\n }\"\n>\n <div id=\"table-container\" #table>\n <div\n id=\"col-headers-container\"\n *ngIf=\"!!config.showHeader\"\n [ngStyle]=\"{\n height: getColHeadersRowHeight(),\n 'border-top': getColHeadersRowBorderTop(),\n 'border-bottom': getColHeadersRowBorderBottom()\n }\"\n >\n <div\n class=\"col-header\"\n (click)=\"colHeader?.action ? colHeader?.action(colHeader) : null\"\n *ngFor=\"let colHeader of config?.colHeaderConfig\"\n [style]=\"colHeader?.style\"\n [ngStyle]=\"{\n width: colHeader?.style?.width || '',\n cursor: colHeader.action ? 'pointer' : 'default',\n 'justify-content': colHeader?.style?.justifyContent\n ? colHeader?.style?.justifyContent\n : colHeader.type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p *ngIf=\"colHeader?.type !== 'custom'\" class=\"col-header-text\">\n {{ colHeader?.data || \" \" }}\n </p>\n <ng-template\n *ngIf=\"colHeader?.type === 'custom'\"\n customTableCell\n [customComponent]=\"colHeader?.componentRef\"\n [data]=\"colHeader.data\"\n ></ng-template>\n </div>\n </div>\n <div>\n <cdk-virtual-scroll-viewport\n [minBufferPx]=\"config.dataContainerMaxHeight || '400'\"\n [maxBufferPx]=\"config.dataContainerMaxHeight + 200 || '600'\"\n [style.overflow]=\"'overlay'\"\n [style.height]=\"config.dataContainerMaxHeight || '400px'\"\n itemSize=\"50\"\n id=\"data-container\"\n >\n <div\n class=\"row-wrapper\"\n *cdkVirtualFor=\"let row of tableData; let i = index\"\n [ngStyle]=\"{\n backgroundColor: i % 2 === 0 ? '#FAFAFA' : null\n }\"\n >\n <div class=\"t-row\">\n <div\n (click)=\"config?.colConfig[i]?.action ? config?.colConfig[i]?.action(col) : null\"\n *ngFor=\"let col of row; let i = index\"\n [ngStyle]=\"{\n width: config?.colConfig[i]?.style?.width || config?.colHeaderConfig[i]?.style?.width || ''\n }\"\n class=\"t-col-container\"\n >\n <div\n class=\"t-col\"\n [style]=\"config.colConfig[i]?.style\"\n [ngStyle]=\"{\n width: '100%',\n cursor: config.colConfig[i].action ? 'pointer' : 'default',\n 'justify-content': config.colConfig[i]?.style?.justifyContent\n ? config.colConfig[i]?.style?.justifyContent\n : config.colConfig[i].type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p\n *ngIf=\"config.colConfig[i].type !== 'custom'\"\n [ngStyle]=\"{\n color: config?.colConfig[i]?.style?.color ? config?.colConfig[i]?.style?.color : ''\n }\"\n class=\"t-col-text\"\n >\n {{ col }}\n </p>\n <ng-template\n *ngIf=\"config.colConfig[i].type === 'custom'\"\n [customComponent]=\"config.colConfig[i].componentRef\"\n [data]=\"col\"\n customTableCell\n ></ng-template>\n </div>\n </div>\n </div>\n </div>\n </cdk-virtual-scroll-viewport>\n </div>\n </div>\n</div>\n", styles: ["#main-container{font-family:Lato,sans-serif}#table-container{height:inherit}#col-headers-container{display:flex;background-color:#fff;height:36px;border-bottom:1px solid #e0e0e0}#data-container{overflow:scroll;width:100%}#data-container::-webkit-scrollbar{width:8px}#data-container::-webkit-scrollbar-thumb{background:#9aa7b4}.col-header{height:100%;width:160px;display:flex;align-items:center;padding:0 16px}.col-header-text{font-style:normal;font-weight:700;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.25px;margin:0}.t-row{display:flex;align-items:center;height:36px;width:100%;border-bottom:1px solid #e0e0e0}.t-row:hover{background-color:#f1fdf8}.t-col-container{padding:0 16px;height:100%}.t-col{display:flex;align-items:center;height:100%}.t-col-text{font-style:normal;font-weight:400;font-size:14px;line-height:20px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:flex;align-items:center;letter-spacing:.2px;margin:0}\n"] }]
|
|
227
|
-
}], ()
|
|
229
|
+
}], function () { return [{ type: i0.Renderer2 }]; }, { config: [{
|
|
228
230
|
type: Input
|
|
229
231
|
}], tableData: [{
|
|
230
232
|
type: Input
|
|
@@ -232,60 +234,59 @@ class SubTableComponent {
|
|
|
232
234
|
type: ViewChild,
|
|
233
235
|
args: ["table"]
|
|
234
236
|
}] }); })();
|
|
235
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SubTableComponent, { className: "SubTableComponent" }); })();
|
|
236
237
|
|
|
237
238
|
const _c0$1 = ["mainContainer"];
|
|
238
|
-
const _c1$1 = () => ({ "margin": "16px 0px" });
|
|
239
|
-
const _c2$1 = () => ({ "margin-right": "8px" });
|
|
240
239
|
function TableFilterComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
241
|
-
const
|
|
240
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
242
241
|
i0.ɵɵelementStart(0, "div")(1, "div", 15)(2, "mis-checkbox", 16);
|
|
243
|
-
i0.ɵɵlistener("valueChange", function TableFilterComponent_div_8_Template_mis_checkbox_valueChange_2_listener($event) { i0.ɵɵrestoreView(
|
|
242
|
+
i0.ɵɵlistener("valueChange", function TableFilterComponent_div_8_Template_mis_checkbox_valueChange_2_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.updateFilter($event)); });
|
|
244
243
|
i0.ɵɵelementEnd();
|
|
245
244
|
i0.ɵɵelementStart(3, "span", 17);
|
|
246
245
|
i0.ɵɵtext(4);
|
|
247
246
|
i0.ɵɵelementEnd()()();
|
|
248
247
|
} if (rf & 2) {
|
|
249
|
-
const
|
|
248
|
+
const filter_r5 = ctx.$implicit;
|
|
250
249
|
i0.ɵɵadvance(2);
|
|
251
|
-
i0.ɵɵproperty("checked", true)("name",
|
|
250
|
+
i0.ɵɵproperty("checked", true)("name", filter_r5.value);
|
|
252
251
|
i0.ɵɵadvance(2);
|
|
253
|
-
i0.ɵɵtextInterpolate(
|
|
252
|
+
i0.ɵɵtextInterpolate(filter_r5.name);
|
|
254
253
|
} }
|
|
254
|
+
const _c1$1 = function () { return { "margin": "16px 0px" }; };
|
|
255
255
|
function TableFilterComponent_div_9_Template(rf, ctx) { if (rf & 1) {
|
|
256
256
|
i0.ɵɵelement(0, "div", 11);
|
|
257
257
|
} if (rf & 2) {
|
|
258
258
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c1$1));
|
|
259
259
|
} }
|
|
260
260
|
function TableFilterComponent_div_11_div_1_Template(rf, ctx) { if (rf & 1) {
|
|
261
|
-
const
|
|
261
|
+
const _r11 = i0.ɵɵgetCurrentView();
|
|
262
262
|
i0.ɵɵelementStart(0, "div", 15)(1, "mis-checkbox", 16);
|
|
263
|
-
i0.ɵɵlistener("valueChange", function TableFilterComponent_div_11_div_1_Template_mis_checkbox_valueChange_1_listener($event) { i0.ɵɵrestoreView(
|
|
263
|
+
i0.ɵɵlistener("valueChange", function TableFilterComponent_div_11_div_1_Template_mis_checkbox_valueChange_1_listener($event) { i0.ɵɵrestoreView(_r11); const ctx_r10 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r10.updateFilter($event)); });
|
|
264
264
|
i0.ɵɵelementEnd();
|
|
265
265
|
i0.ɵɵelementStart(2, "span", 17);
|
|
266
266
|
i0.ɵɵtext(3);
|
|
267
267
|
i0.ɵɵelementEnd()();
|
|
268
268
|
} if (rf & 2) {
|
|
269
|
-
const
|
|
270
|
-
i0.ɵɵadvance();
|
|
271
|
-
i0.ɵɵproperty("checked", false)("name",
|
|
269
|
+
const filter_r8 = i0.ɵɵnextContext().$implicit;
|
|
270
|
+
i0.ɵɵadvance(1);
|
|
271
|
+
i0.ɵɵproperty("checked", false)("name", filter_r8.value);
|
|
272
272
|
i0.ɵɵadvance(2);
|
|
273
|
-
i0.ɵɵtextInterpolate(
|
|
273
|
+
i0.ɵɵtextInterpolate(filter_r8.name);
|
|
274
274
|
} }
|
|
275
275
|
function TableFilterComponent_div_11_Template(rf, ctx) { if (rf & 1) {
|
|
276
276
|
i0.ɵɵelementStart(0, "div");
|
|
277
277
|
i0.ɵɵtemplate(1, TableFilterComponent_div_11_div_1_Template, 4, 3, "div", 18);
|
|
278
278
|
i0.ɵɵelementEnd();
|
|
279
279
|
} if (rf & 2) {
|
|
280
|
-
const
|
|
281
|
-
i0.ɵɵadvance();
|
|
282
|
-
i0.ɵɵproperty("ngIf", !
|
|
280
|
+
const filter_r8 = ctx.$implicit;
|
|
281
|
+
i0.ɵɵadvance(1);
|
|
282
|
+
i0.ɵɵproperty("ngIf", !filter_r8.checked);
|
|
283
283
|
} }
|
|
284
284
|
function TableFilterComponent_div_12_Template(rf, ctx) { if (rf & 1) {
|
|
285
285
|
i0.ɵɵelementStart(0, "div", 19)(1, "span", 17);
|
|
286
286
|
i0.ɵɵtext(2, "No matches found");
|
|
287
287
|
i0.ɵɵelementEnd()();
|
|
288
288
|
} }
|
|
289
|
+
const _c2$1 = function () { return { "margin-right": "8px" }; };
|
|
289
290
|
class TableFilterComponent {
|
|
290
291
|
constructor() {
|
|
291
292
|
this.filtersData = [];
|
|
@@ -344,58 +345,58 @@ class TableFilterComponent {
|
|
|
344
345
|
list = list.filter((filter) => filter.checked).sort(this.mySort);
|
|
345
346
|
return list;
|
|
346
347
|
}
|
|
347
|
-
static { this.ɵfac = function TableFilterComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableFilterComponent)(); }; }
|
|
348
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableFilterComponent, selectors: [["mis-table-filter"]], viewQuery: function TableFilterComponent_Query(rf, ctx) { if (rf & 1) {
|
|
349
|
-
i0.ɵɵviewQuery(_c0$1, 5);
|
|
350
|
-
} if (rf & 2) {
|
|
351
|
-
let _t;
|
|
352
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
353
|
-
} }, inputs: { filtersData: "filtersData", containerStyles: "containerStyles" }, outputs: { filtersApplied: "filtersApplied" }, decls: 19, vars: 9, consts: [["mainContainer", ""], ["id", "main-container", 3, "ngStyle"], ["id", "search-bar-container"], ["type", "text", "placeholder", "Search", 3, "keyup"], ["id", "search-icon", "width", "18", "height", "18", "viewBox", "0 0 18 18", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M1.21496 8.14563C1.21496 4.3179 4.33709 1.21165 8.19249 1.21165C12.0479 1.21165 15.17 4.3179 15.17 8.14563C15.17 9.69308 14.6598 11.1226 13.797 12.2767L12.3684 13.7013C11.2043 14.5668 9.75891 15.0796 8.19249 15.0796C4.33709 15.0796 1.21496 11.9734 1.21496 8.14563ZM12.9419 14.7835C11.602 15.7329 9.96259 16.2913 8.19249 16.2913C3.66965 16.2913 -0.00012207 12.6461 -0.00012207 8.14563C-0.00012207 3.64512 3.66965 0 8.19249 0C12.7153 0 16.3851 3.64512 16.3851 8.14563C16.3851 9.93713 15.8036 11.5931 14.8183 12.9375L16.836 14.4048C17.6704 14.912 18.7553 15.6543 17.2453 17.215C15.7352 18.7756 15.0098 17.6663 14.499 16.8364L12.9419 14.7835Z", "fill", "#6A737D"], ["id", "filters-main-container"], [1, "filters-sub-container"], [4, "ngFor", "ngForOf"], ["class", "separator", 3, "ngStyle", 4, "ngIf"], ["id", "no-results-container", 4, "ngIf"], [1, "separator", 3, "ngStyle"], ["id", "buttons-container"], ["id", "reset-btn", 3, "click", "ngStyle"], ["id", "apply-btn", 3, "click"], [1, "filter"], [3, "valueChange", "checked", "name"], [1, "filter-text"], ["class", "filter", 4, "ngIf"], ["id", "no-results-container"]], template: function TableFilterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
354
|
-
const _r1 = i0.ɵɵgetCurrentView();
|
|
355
|
-
i0.ɵɵelementStart(0, "div", 1, 0)(2, "div", 2)(3, "input", 3);
|
|
356
|
-
i0.ɵɵlistener("keyup", function TableFilterComponent_Template_input_keyup_3_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.updateSearchValue($event)); });
|
|
357
|
-
i0.ɵɵelementEnd();
|
|
358
|
-
i0.ɵɵnamespaceSVG();
|
|
359
|
-
i0.ɵɵelementStart(4, "svg", 4);
|
|
360
|
-
i0.ɵɵelement(5, "path", 5);
|
|
361
|
-
i0.ɵɵelementEnd()();
|
|
362
|
-
i0.ɵɵnamespaceHTML();
|
|
363
|
-
i0.ɵɵelementStart(6, "div", 6)(7, "div", 7);
|
|
364
|
-
i0.ɵɵtemplate(8, TableFilterComponent_div_8_Template, 5, 3, "div", 8);
|
|
365
|
-
i0.ɵɵelementEnd();
|
|
366
|
-
i0.ɵɵtemplate(9, TableFilterComponent_div_9_Template, 1, 2, "div", 9);
|
|
367
|
-
i0.ɵɵelementStart(10, "div", 7);
|
|
368
|
-
i0.ɵɵtemplate(11, TableFilterComponent_div_11_Template, 2, 1, "div", 8)(12, TableFilterComponent_div_12_Template, 3, 0, "div", 10);
|
|
369
|
-
i0.ɵɵelementEnd();
|
|
370
|
-
i0.ɵɵelement(13, "div", 11);
|
|
371
|
-
i0.ɵɵelementStart(14, "div", 12)(15, "button", 13);
|
|
372
|
-
i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_15_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.resetFilters()); });
|
|
373
|
-
i0.ɵɵtext(16, "Reset");
|
|
374
|
-
i0.ɵɵelementEnd();
|
|
375
|
-
i0.ɵɵelementStart(17, "button", 14);
|
|
376
|
-
i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_17_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.applyFilters()); });
|
|
377
|
-
i0.ɵɵtext(18, "Apply");
|
|
378
|
-
i0.ɵɵelementEnd()()()();
|
|
379
|
-
} if (rf & 2) {
|
|
380
|
-
i0.ɵɵproperty("ngStyle", ctx.containerStyles);
|
|
381
|
-
i0.ɵɵadvance(8);
|
|
382
|
-
i0.ɵɵproperty("ngForOf", ctx.getCheckedFilters());
|
|
383
|
-
i0.ɵɵadvance();
|
|
384
|
-
i0.ɵɵproperty("ngIf", ctx.getCheckedFilters().length && ctx.getCheckedFilters().length < ctx.filtersData.length);
|
|
385
|
-
i0.ɵɵadvance(2);
|
|
386
|
-
i0.ɵɵproperty("ngForOf", ctx.getFiltersBasedOnSearchValue());
|
|
387
|
-
i0.ɵɵadvance();
|
|
388
|
-
i0.ɵɵproperty("ngIf", ctx.getFiltersBasedOnSearchValue().length < 1);
|
|
389
|
-
i0.ɵɵadvance();
|
|
390
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(7, _c1$1));
|
|
391
|
-
i0.ɵɵadvance(2);
|
|
392
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(8, _c2$1));
|
|
393
|
-
} }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2$1.CheckboxComponent], styles: ["#main-container[_ngcontent-%COMP%]{position:absolute;background:#fff;z-index:2;right:calc(50% - 128px);width:256px;padding:16px;font-family:Lato,sans-serif;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:8px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4}#search-bar-container[_ngcontent-%COMP%]{width:100%;position:relative;margin-bottom:8px}input[_ngcontent-%COMP%]{width:100%;padding:12px 12px 12px 42px;border:solid 1px black;border-radius:4px;height:48px;box-shadow:none;outline:none;font-style:normal;font-weight:400;font-size:15px;line-height:20px;letter-spacing:.1px;color:#181f33}input[_ngcontent-%COMP%]:focus{border:solid 1px #0937b2}#search-icon[_ngcontent-%COMP%]{position:absolute;top:15px;left:12px}.filters-sub-container[_ngcontent-%COMP%]{max-height:144px;overflow-y:auto}.filter[_ngcontent-%COMP%]{height:36px;display:flex;justify-content:flex-start;align-items:center}.filter-text[_ngcontent-%COMP%]{font-size:14px;line-height:20px;padding-left:8px;letter-spacing:.2px;color:#181f33;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#no-results-container[_ngcontent-%COMP%]{height:36px;display:flex;justify-content:center;align-items:center}.separator[_ngcontent-%COMP%]{border:1px solid #e0e0e0}#buttons-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}button[_ngcontent-%COMP%]{width:calc(50% - 4px);border:none;box-shadow:none;outline:none;font-size:16px;line-height:24px;text-align:center;letter-spacing:.2px;padding:10px 30px;background:none;border-radius:8px}#apply-btn[_ngcontent-%COMP%]{background:#0937b2;color:#fff}#reset-btn[_ngcontent-%COMP%]{background:#fff;color:#0937b2}"] }); }
|
|
394
348
|
}
|
|
395
|
-
(
|
|
349
|
+
TableFilterComponent.ɵfac = function TableFilterComponent_Factory(t) { return new (t || TableFilterComponent)(); };
|
|
350
|
+
TableFilterComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableFilterComponent, selectors: [["mis-table-filter"]], viewQuery: function TableFilterComponent_Query(rf, ctx) { if (rf & 1) {
|
|
351
|
+
i0.ɵɵviewQuery(_c0$1, 5);
|
|
352
|
+
} if (rf & 2) {
|
|
353
|
+
let _t;
|
|
354
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.container = _t.first);
|
|
355
|
+
} }, inputs: { filtersData: "filtersData", containerStyles: "containerStyles" }, outputs: { filtersApplied: "filtersApplied" }, decls: 19, vars: 9, consts: [["id", "main-container", 3, "ngStyle"], ["mainContainer", ""], ["id", "search-bar-container"], ["type", "text", "placeholder", "Search", 3, "keyup"], ["id", "search-icon", "width", "18", "height", "18", "viewBox", "0 0 18 18", "fill", "none", "xmlns", "http://www.w3.org/2000/svg"], ["fill-rule", "evenodd", "clip-rule", "evenodd", "d", "M1.21496 8.14563C1.21496 4.3179 4.33709 1.21165 8.19249 1.21165C12.0479 1.21165 15.17 4.3179 15.17 8.14563C15.17 9.69308 14.6598 11.1226 13.797 12.2767L12.3684 13.7013C11.2043 14.5668 9.75891 15.0796 8.19249 15.0796C4.33709 15.0796 1.21496 11.9734 1.21496 8.14563ZM12.9419 14.7835C11.602 15.7329 9.96259 16.2913 8.19249 16.2913C3.66965 16.2913 -0.00012207 12.6461 -0.00012207 8.14563C-0.00012207 3.64512 3.66965 0 8.19249 0C12.7153 0 16.3851 3.64512 16.3851 8.14563C16.3851 9.93713 15.8036 11.5931 14.8183 12.9375L16.836 14.4048C17.6704 14.912 18.7553 15.6543 17.2453 17.215C15.7352 18.7756 15.0098 17.6663 14.499 16.8364L12.9419 14.7835Z", "fill", "#6A737D"], ["id", "filters-main-container"], [1, "filters-sub-container"], [4, "ngFor", "ngForOf"], ["class", "separator", 3, "ngStyle", 4, "ngIf"], ["id", "no-results-container", 4, "ngIf"], [1, "separator", 3, "ngStyle"], ["id", "buttons-container"], ["id", "reset-btn", 3, "ngStyle", "click"], ["id", "apply-btn", 3, "click"], [1, "filter"], [3, "checked", "name", "valueChange"], [1, "filter-text"], ["class", "filter", 4, "ngIf"], ["id", "no-results-container"]], template: function TableFilterComponent_Template(rf, ctx) { if (rf & 1) {
|
|
356
|
+
i0.ɵɵelementStart(0, "div", 0, 1)(2, "div", 2)(3, "input", 3);
|
|
357
|
+
i0.ɵɵlistener("keyup", function TableFilterComponent_Template_input_keyup_3_listener($event) { return ctx.updateSearchValue($event); });
|
|
358
|
+
i0.ɵɵelementEnd();
|
|
359
|
+
i0.ɵɵnamespaceSVG();
|
|
360
|
+
i0.ɵɵelementStart(4, "svg", 4);
|
|
361
|
+
i0.ɵɵelement(5, "path", 5);
|
|
362
|
+
i0.ɵɵelementEnd()();
|
|
363
|
+
i0.ɵɵnamespaceHTML();
|
|
364
|
+
i0.ɵɵelementStart(6, "div", 6)(7, "div", 7);
|
|
365
|
+
i0.ɵɵtemplate(8, TableFilterComponent_div_8_Template, 5, 3, "div", 8);
|
|
366
|
+
i0.ɵɵelementEnd();
|
|
367
|
+
i0.ɵɵtemplate(9, TableFilterComponent_div_9_Template, 1, 2, "div", 9);
|
|
368
|
+
i0.ɵɵelementStart(10, "div", 7);
|
|
369
|
+
i0.ɵɵtemplate(11, TableFilterComponent_div_11_Template, 2, 1, "div", 8);
|
|
370
|
+
i0.ɵɵtemplate(12, TableFilterComponent_div_12_Template, 3, 0, "div", 10);
|
|
371
|
+
i0.ɵɵelementEnd();
|
|
372
|
+
i0.ɵɵelement(13, "div", 11);
|
|
373
|
+
i0.ɵɵelementStart(14, "div", 12)(15, "button", 13);
|
|
374
|
+
i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_15_listener() { return ctx.resetFilters(); });
|
|
375
|
+
i0.ɵɵtext(16, "Reset");
|
|
376
|
+
i0.ɵɵelementEnd();
|
|
377
|
+
i0.ɵɵelementStart(17, "button", 14);
|
|
378
|
+
i0.ɵɵlistener("click", function TableFilterComponent_Template_button_click_17_listener() { return ctx.applyFilters(); });
|
|
379
|
+
i0.ɵɵtext(18, "Apply");
|
|
380
|
+
i0.ɵɵelementEnd()()()();
|
|
381
|
+
} if (rf & 2) {
|
|
382
|
+
i0.ɵɵproperty("ngStyle", ctx.containerStyles);
|
|
383
|
+
i0.ɵɵadvance(8);
|
|
384
|
+
i0.ɵɵproperty("ngForOf", ctx.getCheckedFilters());
|
|
385
|
+
i0.ɵɵadvance(1);
|
|
386
|
+
i0.ɵɵproperty("ngIf", ctx.getCheckedFilters().length && ctx.getCheckedFilters().length < ctx.filtersData.length);
|
|
387
|
+
i0.ɵɵadvance(2);
|
|
388
|
+
i0.ɵɵproperty("ngForOf", ctx.getFiltersBasedOnSearchValue());
|
|
389
|
+
i0.ɵɵadvance(1);
|
|
390
|
+
i0.ɵɵproperty("ngIf", ctx.getFiltersBasedOnSearchValue().length < 1);
|
|
391
|
+
i0.ɵɵadvance(1);
|
|
392
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(7, _c1$1));
|
|
393
|
+
i0.ɵɵadvance(2);
|
|
394
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(8, _c2$1));
|
|
395
|
+
} }, dependencies: [i1.NgForOf, i1.NgIf, i1.NgStyle, i2$1.CheckboxComponent], styles: ["#main-container[_ngcontent-%COMP%]{position:absolute;background:#ffffff;z-index:2;right:calc(50% - 128px);width:256px;padding:16px;font-family:Lato,sans-serif;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:8px}[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px}[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4}#search-bar-container[_ngcontent-%COMP%]{width:100%;position:relative;margin-bottom:8px}input[_ngcontent-%COMP%]{width:100%;padding:12px 12px 12px 42px;border:solid 1px black;border-radius:4px;height:48px;box-shadow:none;outline:none;font-style:normal;font-weight:400;font-size:15px;line-height:20px;letter-spacing:.1px;color:#181f33}input[_ngcontent-%COMP%]:focus{border:solid 1px #0937b2}#search-icon[_ngcontent-%COMP%]{position:absolute;top:15px;left:12px}.filters-sub-container[_ngcontent-%COMP%]{max-height:144px;overflow-y:auto}.filter[_ngcontent-%COMP%]{height:36px;display:flex;justify-content:flex-start;align-items:center}.filter-text[_ngcontent-%COMP%]{font-size:14px;line-height:20px;padding-left:8px;letter-spacing:.2px;color:#181f33;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#no-results-container[_ngcontent-%COMP%]{height:36px;display:flex;justify-content:center;align-items:center}.separator[_ngcontent-%COMP%]{border:1px solid #e0e0e0}#buttons-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}button[_ngcontent-%COMP%]{width:calc(50% - 4px);border:none;box-shadow:none;outline:none;font-size:16px;line-height:24px;text-align:center;letter-spacing:.2px;padding:10px 30px;background:none;border-radius:8px}#apply-btn[_ngcontent-%COMP%]{background:#0937b2;color:#fff}#reset-btn[_ngcontent-%COMP%]{background:#ffffff;color:#0937b2}"] });
|
|
396
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableFilterComponent, [{
|
|
396
397
|
type: Component,
|
|
397
|
-
args: [{ selector: "mis-table-filter", template: "<div id=\"main-container\" #mainContainer [ngStyle]=\"containerStyles\">\n <div id=\"search-bar-container\">\n <input (keyup)=\"updateSearchValue($event)\" type=\"text\" placeholder=\"Search\" />\n <svg id=\"search-icon\" width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M1.21496 8.14563C1.21496 4.3179 4.33709 1.21165 8.19249 1.21165C12.0479 1.21165 15.17 4.3179 15.17 8.14563C15.17 9.69308 14.6598 11.1226 13.797 12.2767L12.3684 13.7013C11.2043 14.5668 9.75891 15.0796 8.19249 15.0796C4.33709 15.0796 1.21496 11.9734 1.21496 8.14563ZM12.9419 14.7835C11.602 15.7329 9.96259 16.2913 8.19249 16.2913C3.66965 16.2913 -0.00012207 12.6461 -0.00012207 8.14563C-0.00012207 3.64512 3.66965 0 8.19249 0C12.7153 0 16.3851 3.64512 16.3851 8.14563C16.3851 9.93713 15.8036 11.5931 14.8183 12.9375L16.836 14.4048C17.6704 14.912 18.7553 15.6543 17.2453 17.215C15.7352 18.7756 15.0098 17.6663 14.499 16.8364L12.9419 14.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div id=\"filters-main-container\">\n <div class=\"filters-sub-container\">\n <div *ngFor=\"let filter of getCheckedFilters()\">\n <div class=\"filter\">\n <mis-checkbox [checked]=\"true\" [name]=\"filter.value\" (valueChange)=\"updateFilter($event)\"></mis-checkbox>\n <span class=\"filter-text\">{{ filter.name }}</span>\n </div>\n </div>\n </div>\n <div class=\"separator\" [ngStyle]=\"{ 'margin': '16px 0px' }\" *ngIf=\"getCheckedFilters().length && getCheckedFilters().length < filtersData.length\"></div>\n <div class=\"filters-sub-container\">\n <div *ngFor=\"let filter of getFiltersBasedOnSearchValue()\">\n <div class=\"filter\" *ngIf=\"!filter.checked\">\n <mis-checkbox [checked]=\"false\" [name]=\"filter.value\" (valueChange)=\"updateFilter($event)\"></mis-checkbox>\n <span class=\"filter-text\">{{ filter.name }}</span>\n </div>\n </div>\n <div id=\"no-results-container\" *ngIf=\"getFiltersBasedOnSearchValue().length < 1\">\n <span class=\"filter-text\">No matches found</span>\n </div>\n </div>\n <div class=\"separator\" [ngStyle]=\"{ 'margin': '16px 0px' }\"></div>\n <div id=\"buttons-container\">\n <button id=\"reset-btn\" [ngStyle]=\"{ 'margin-right': '8px' }\" (click)=\"resetFilters()\">Reset</button>\n <button id=\"apply-btn\" (click)=\"applyFilters()\">Apply</button>\n </div>\n </div>\n</div>\n", styles: ["#main-container{position:absolute;background:#
|
|
398
|
-
}], ()
|
|
398
|
+
args: [{ selector: "mis-table-filter", template: "<div id=\"main-container\" #mainContainer [ngStyle]=\"containerStyles\">\n <div id=\"search-bar-container\">\n <input (keyup)=\"updateSearchValue($event)\" type=\"text\" placeholder=\"Search\" />\n <svg id=\"search-icon\" width=\"18\" height=\"18\" viewBox=\"0 0 18 18\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M1.21496 8.14563C1.21496 4.3179 4.33709 1.21165 8.19249 1.21165C12.0479 1.21165 15.17 4.3179 15.17 8.14563C15.17 9.69308 14.6598 11.1226 13.797 12.2767L12.3684 13.7013C11.2043 14.5668 9.75891 15.0796 8.19249 15.0796C4.33709 15.0796 1.21496 11.9734 1.21496 8.14563ZM12.9419 14.7835C11.602 15.7329 9.96259 16.2913 8.19249 16.2913C3.66965 16.2913 -0.00012207 12.6461 -0.00012207 8.14563C-0.00012207 3.64512 3.66965 0 8.19249 0C12.7153 0 16.3851 3.64512 16.3851 8.14563C16.3851 9.93713 15.8036 11.5931 14.8183 12.9375L16.836 14.4048C17.6704 14.912 18.7553 15.6543 17.2453 17.215C15.7352 18.7756 15.0098 17.6663 14.499 16.8364L12.9419 14.7835Z\"\n fill=\"#6A737D\"\n />\n </svg>\n </div>\n <div id=\"filters-main-container\">\n <div class=\"filters-sub-container\">\n <div *ngFor=\"let filter of getCheckedFilters()\">\n <div class=\"filter\">\n <mis-checkbox [checked]=\"true\" [name]=\"filter.value\" (valueChange)=\"updateFilter($event)\"></mis-checkbox>\n <span class=\"filter-text\">{{ filter.name }}</span>\n </div>\n </div>\n </div>\n <div class=\"separator\" [ngStyle]=\"{ 'margin': '16px 0px' }\" *ngIf=\"getCheckedFilters().length && getCheckedFilters().length < filtersData.length\"></div>\n <div class=\"filters-sub-container\">\n <div *ngFor=\"let filter of getFiltersBasedOnSearchValue()\">\n <div class=\"filter\" *ngIf=\"!filter.checked\">\n <mis-checkbox [checked]=\"false\" [name]=\"filter.value\" (valueChange)=\"updateFilter($event)\"></mis-checkbox>\n <span class=\"filter-text\">{{ filter.name }}</span>\n </div>\n </div>\n <div id=\"no-results-container\" *ngIf=\"getFiltersBasedOnSearchValue().length < 1\">\n <span class=\"filter-text\">No matches found</span>\n </div>\n </div>\n <div class=\"separator\" [ngStyle]=\"{ 'margin': '16px 0px' }\"></div>\n <div id=\"buttons-container\">\n <button id=\"reset-btn\" [ngStyle]=\"{ 'margin-right': '8px' }\" (click)=\"resetFilters()\">Reset</button>\n <button id=\"apply-btn\" (click)=\"applyFilters()\">Apply</button>\n </div>\n </div>\n</div>\n", styles: ["#main-container{position:absolute;background:#ffffff;z-index:2;right:calc(50% - 128px);width:256px;padding:16px;font-family:Lato,sans-serif;box-shadow:0 12px 24px #0000001f,0 4px 8px #0000001f;border-radius:8px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-thumb{background:#9aa7b4}#search-bar-container{width:100%;position:relative;margin-bottom:8px}input{width:100%;padding:12px 12px 12px 42px;border:solid 1px black;border-radius:4px;height:48px;box-shadow:none;outline:none;font-style:normal;font-weight:400;font-size:15px;line-height:20px;letter-spacing:.1px;color:#181f33}input:focus{border:solid 1px #0937b2}#search-icon{position:absolute;top:15px;left:12px}.filters-sub-container{max-height:144px;overflow-y:auto}.filter{height:36px;display:flex;justify-content:flex-start;align-items:center}.filter-text{font-size:14px;line-height:20px;padding-left:8px;letter-spacing:.2px;color:#181f33;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}#no-results-container{height:36px;display:flex;justify-content:center;align-items:center}.separator{border:1px solid #e0e0e0}#buttons-container{display:flex;justify-content:center;align-items:center}button{width:calc(50% - 4px);border:none;box-shadow:none;outline:none;font-size:16px;line-height:24px;text-align:center;letter-spacing:.2px;padding:10px 30px;background:none;border-radius:8px}#apply-btn{background:#0937b2;color:#fff}#reset-btn{background:#ffffff;color:#0937b2}\n"] }]
|
|
399
|
+
}], function () { return []; }, { filtersData: [{
|
|
399
400
|
type: Input
|
|
400
401
|
}], containerStyles: [{
|
|
401
402
|
type: Input
|
|
@@ -405,125 +406,120 @@ class TableFilterComponent {
|
|
|
405
406
|
type: ViewChild,
|
|
406
407
|
args: ["mainContainer"]
|
|
407
408
|
}] }); })();
|
|
408
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableFilterComponent, { className: "TableFilterComponent" }); })();
|
|
409
409
|
|
|
410
410
|
const _c0 = ["filter"];
|
|
411
411
|
const _c1 = ["table"];
|
|
412
412
|
const _c2 = ["colHeaderRef"];
|
|
413
|
-
const _c3 = (a0, a1, a2) => ({ height: a0, width: a1, "overflow-x": a2 });
|
|
414
|
-
const _c4 = (a0, a1, a2) => ({ "no-scrollbar": a0, scrollbar: a1, "scroll-horizontally": a2 });
|
|
415
|
-
const _c5 = (a0, a1, a2) => ({ width: a0, cursor: a1, "justify-content": a2 });
|
|
416
|
-
const _c6 = (a0, a1) => ({ "t-row-hover": a0, "active-row": a1 });
|
|
417
|
-
const _c7 = a0 => ({ "min-height": a0 });
|
|
418
|
-
const _c8 = a0 => ({ width: a0 });
|
|
419
|
-
const _c9 = a0 => ({ "t-col-container-hover": a0 });
|
|
420
|
-
const _c10 = (a0, a1) => ({ width: "100%", cursor: a0, "justify-content": a1 });
|
|
421
|
-
const _c11 = a0 => ({ color: a0 });
|
|
422
|
-
const _c12 = () => ({ display: "flex", justifyContent: "center", alignItems: "center", padding: "16px" });
|
|
423
|
-
const _c13 = a0 => ({ "page-active": a0 });
|
|
424
|
-
const _c14 = () => ({ display: "flex" });
|
|
425
|
-
const _c15 = () => ({ "margin-right": "4px" });
|
|
426
413
|
function TableComponent_mis_table_filter_1_Template(rf, ctx) { if (rf & 1) {
|
|
427
|
-
const
|
|
428
|
-
i0.ɵɵelementStart(0, "mis-table-filter",
|
|
429
|
-
i0.ɵɵlistener("filtersApplied", function TableComponent_mis_table_filter_1_Template_mis_table_filter_filtersApplied_0_listener($event) { i0.ɵɵrestoreView(
|
|
414
|
+
const _r7 = i0.ɵɵgetCurrentView();
|
|
415
|
+
i0.ɵɵelementStart(0, "mis-table-filter", 9, 10);
|
|
416
|
+
i0.ɵɵlistener("filtersApplied", function TableComponent_mis_table_filter_1_Template_mis_table_filter_filtersApplied_0_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.updateAppliedFilters($event)); });
|
|
430
417
|
i0.ɵɵelementEnd();
|
|
431
418
|
} if (rf & 2) {
|
|
432
|
-
const
|
|
433
|
-
i0.ɵɵproperty("containerStyles",
|
|
419
|
+
const ctx_r0 = i0.ɵɵnextContext();
|
|
420
|
+
i0.ɵɵproperty("containerStyles", ctx_r0.filterContainerStyles)("filtersData", ctx_r0.filterData);
|
|
434
421
|
} }
|
|
435
422
|
function TableComponent_div_5_p_2_Template(rf, ctx) { if (rf & 1) {
|
|
436
423
|
i0.ɵɵelementStart(0, "p", 16);
|
|
437
424
|
i0.ɵɵtext(1);
|
|
438
425
|
i0.ɵɵelementEnd();
|
|
439
426
|
} if (rf & 2) {
|
|
440
|
-
const
|
|
441
|
-
i0.ɵɵadvance();
|
|
442
|
-
i0.ɵɵtextInterpolate1(" ", (
|
|
427
|
+
const colHeader_r8 = i0.ɵɵnextContext().$implicit;
|
|
428
|
+
i0.ɵɵadvance(1);
|
|
429
|
+
i0.ɵɵtextInterpolate1(" ", (colHeader_r8 == null ? null : colHeader_r8.data) || " ", " ");
|
|
443
430
|
} }
|
|
444
431
|
function TableComponent_div_5_span_3_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
445
432
|
i0.ɵɵelement(0, "span", 21);
|
|
446
433
|
} }
|
|
447
434
|
function TableComponent_div_5_span_3_Template(rf, ctx) { if (rf & 1) {
|
|
448
|
-
const
|
|
435
|
+
const _r16 = i0.ɵɵgetCurrentView();
|
|
449
436
|
i0.ɵɵelementStart(0, "span", 17);
|
|
450
|
-
i0.ɵɵlistener("click", function TableComponent_div_5_span_3_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(
|
|
437
|
+
i0.ɵɵlistener("click", function TableComponent_div_5_span_3_Template_span_click_0_listener($event) { i0.ɵɵrestoreView(_r16); const colHeader_r8 = i0.ɵɵnextContext().$implicit; const ctx_r15 = i0.ɵɵnextContext(); ctx_r15.filterData = colHeader_r8.filters; ctx_r15.toggleFilter(colHeader_r8.data); return i0.ɵɵresetView($event.stopPropagation()); });
|
|
451
438
|
i0.ɵɵtemplate(1, TableComponent_div_5_span_3_span_1_Template, 1, 0, "span", 18);
|
|
452
439
|
i0.ɵɵnamespaceSVG();
|
|
453
440
|
i0.ɵɵelementStart(2, "svg", 19);
|
|
454
441
|
i0.ɵɵelement(3, "path", 20);
|
|
455
442
|
i0.ɵɵelementEnd()();
|
|
456
443
|
} if (rf & 2) {
|
|
457
|
-
const
|
|
458
|
-
const
|
|
459
|
-
i0.ɵɵadvance();
|
|
460
|
-
i0.ɵɵproperty("ngIf", (
|
|
444
|
+
const colHeader_r8 = i0.ɵɵnextContext().$implicit;
|
|
445
|
+
const ctx_r11 = i0.ɵɵnextContext();
|
|
446
|
+
i0.ɵɵadvance(1);
|
|
447
|
+
i0.ɵɵproperty("ngIf", (ctx_r11.appliedFilters[colHeader_r8.data] == null ? null : ctx_r11.appliedFilters[colHeader_r8.data].length) > 0);
|
|
461
448
|
} }
|
|
462
449
|
function TableComponent_div_5_4_ng_template_0_Template(rf, ctx) { }
|
|
463
450
|
function TableComponent_div_5_4_Template(rf, ctx) { if (rf & 1) {
|
|
464
451
|
i0.ɵɵtemplate(0, TableComponent_div_5_4_ng_template_0_Template, 0, 0, "ng-template", 22);
|
|
465
452
|
} if (rf & 2) {
|
|
466
|
-
const
|
|
467
|
-
i0.ɵɵproperty("customComponent",
|
|
453
|
+
const colHeader_r8 = i0.ɵɵnextContext().$implicit;
|
|
454
|
+
i0.ɵɵproperty("customComponent", colHeader_r8 == null ? null : colHeader_r8.componentRef)("data", colHeader_r8.data);
|
|
468
455
|
} }
|
|
456
|
+
const _c3 = function (a0, a1, a2) { return { width: a0, cursor: a1, "justify-content": a2 }; };
|
|
469
457
|
function TableComponent_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
470
|
-
const
|
|
471
|
-
i0.ɵɵelementStart(0, "div",
|
|
472
|
-
i0.ɵɵlistener("click", function TableComponent_div_5_Template_div_click_0_listener() { const
|
|
473
|
-
i0.ɵɵtemplate(2, TableComponent_div_5_p_2_Template, 2, 1, "p", 13)
|
|
458
|
+
const _r22 = i0.ɵɵgetCurrentView();
|
|
459
|
+
i0.ɵɵelementStart(0, "div", 11, 12);
|
|
460
|
+
i0.ɵɵlistener("click", function TableComponent_div_5_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r22); const colHeader_r8 = restoredCtx.$implicit; return i0.ɵɵresetView((colHeader_r8 == null ? null : colHeader_r8.action) ? colHeader_r8 == null ? null : colHeader_r8.action(colHeader_r8) : null); });
|
|
461
|
+
i0.ɵɵtemplate(2, TableComponent_div_5_p_2_Template, 2, 1, "p", 13);
|
|
462
|
+
i0.ɵɵtemplate(3, TableComponent_div_5_span_3_Template, 4, 1, "span", 14);
|
|
463
|
+
i0.ɵɵtemplate(4, TableComponent_div_5_4_Template, 1, 2, null, 15);
|
|
474
464
|
i0.ɵɵelementEnd();
|
|
475
465
|
} if (rf & 2) {
|
|
476
|
-
const
|
|
477
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(4,
|
|
466
|
+
const colHeader_r8 = ctx.$implicit;
|
|
467
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(4, _c3, (colHeader_r8 == null ? null : colHeader_r8.style == null ? null : colHeader_r8.style.width) || "", colHeader_r8.action ? "pointer" : "default", (colHeader_r8 == null ? null : colHeader_r8.style == null ? null : colHeader_r8.style.justifyContent) ? colHeader_r8 == null ? null : colHeader_r8.style == null ? null : colHeader_r8.style.justifyContent : colHeader_r8.type === "number" ? "flex-end" : "space-between"));
|
|
478
468
|
i0.ɵɵadvance(2);
|
|
479
|
-
i0.ɵɵproperty("ngIf", (
|
|
480
|
-
i0.ɵɵadvance();
|
|
481
|
-
i0.ɵɵproperty("ngIf", (
|
|
482
|
-
i0.ɵɵadvance();
|
|
483
|
-
i0.ɵɵproperty("ngIf", (
|
|
469
|
+
i0.ɵɵproperty("ngIf", (colHeader_r8 == null ? null : colHeader_r8.type) !== "custom");
|
|
470
|
+
i0.ɵɵadvance(1);
|
|
471
|
+
i0.ɵɵproperty("ngIf", (colHeader_r8 == null ? null : colHeader_r8.type) !== "custom" && (colHeader_r8 == null ? null : colHeader_r8.filters) && (colHeader_r8 == null ? null : colHeader_r8.filters == null ? null : colHeader_r8.filters.length) > 0);
|
|
472
|
+
i0.ɵɵadvance(1);
|
|
473
|
+
i0.ɵɵproperty("ngIf", (colHeader_r8 == null ? null : colHeader_r8.type) === "custom");
|
|
484
474
|
} }
|
|
475
|
+
const _c4 = function (a0) { return { color: a0 }; };
|
|
485
476
|
function TableComponent_div_7_div_2_p_2_Template(rf, ctx) { if (rf & 1) {
|
|
486
477
|
i0.ɵɵelementStart(0, "p", 30);
|
|
487
478
|
i0.ɵɵtext(1);
|
|
488
479
|
i0.ɵɵelementEnd();
|
|
489
480
|
} if (rf & 2) {
|
|
490
|
-
const
|
|
491
|
-
const
|
|
492
|
-
const
|
|
493
|
-
const
|
|
494
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2,
|
|
495
|
-
i0.ɵɵadvance();
|
|
496
|
-
i0.ɵɵtextInterpolate1(" ",
|
|
481
|
+
const ctx_r31 = i0.ɵɵnextContext();
|
|
482
|
+
const i_r28 = ctx_r31.index;
|
|
483
|
+
const col_r27 = ctx_r31.$implicit;
|
|
484
|
+
const ctx_r29 = i0.ɵɵnextContext(2);
|
|
485
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c4, (ctx_r29.config == null ? null : ctx_r29.config.colConfig[i_r28] == null ? null : ctx_r29.config.colConfig[i_r28].style == null ? null : ctx_r29.config.colConfig[i_r28].style.color) ? ctx_r29.config == null ? null : ctx_r29.config.colConfig[i_r28] == null ? null : ctx_r29.config.colConfig[i_r28].style == null ? null : ctx_r29.config.colConfig[i_r28].style.color : ""));
|
|
486
|
+
i0.ɵɵadvance(1);
|
|
487
|
+
i0.ɵɵtextInterpolate1(" ", col_r27, " ");
|
|
497
488
|
} }
|
|
498
489
|
function TableComponent_div_7_div_2_3_ng_template_0_Template(rf, ctx) { }
|
|
499
490
|
function TableComponent_div_7_div_2_3_Template(rf, ctx) { if (rf & 1) {
|
|
500
491
|
i0.ɵɵtemplate(0, TableComponent_div_7_div_2_3_ng_template_0_Template, 0, 0, "ng-template", 22);
|
|
501
492
|
} if (rf & 2) {
|
|
502
|
-
const
|
|
503
|
-
const
|
|
504
|
-
const
|
|
505
|
-
const
|
|
506
|
-
i0.ɵɵproperty("customComponent",
|
|
493
|
+
const ctx_r33 = i0.ɵɵnextContext();
|
|
494
|
+
const i_r28 = ctx_r33.index;
|
|
495
|
+
const col_r27 = ctx_r33.$implicit;
|
|
496
|
+
const ctx_r30 = i0.ɵɵnextContext(2);
|
|
497
|
+
i0.ɵɵproperty("customComponent", ctx_r30.config.colConfig[i_r28].componentRef)("data", col_r27);
|
|
507
498
|
} }
|
|
499
|
+
const _c5 = function (a0) { return { width: a0 }; };
|
|
500
|
+
const _c6 = function (a0) { return { "t-col-container-hover": a0 }; };
|
|
501
|
+
const _c7 = function (a1, a2) { return { width: "100%", cursor: a1, "justify-content": a2 }; };
|
|
508
502
|
function TableComponent_div_7_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
509
|
-
const
|
|
503
|
+
const _r35 = i0.ɵɵgetCurrentView();
|
|
510
504
|
i0.ɵɵelementStart(0, "div", 27);
|
|
511
|
-
i0.ɵɵlistener("click", function TableComponent_div_7_div_2_Template_div_click_0_listener() { const
|
|
505
|
+
i0.ɵɵlistener("click", function TableComponent_div_7_div_2_Template_div_click_0_listener() { const restoredCtx = i0.ɵɵrestoreView(_r35); const i_r28 = restoredCtx.index; const col_r27 = restoredCtx.$implicit; const ctx_r34 = i0.ɵɵnextContext(2); return i0.ɵɵresetView((ctx_r34.config == null ? null : ctx_r34.config.colConfig[i_r28] == null ? null : ctx_r34.config.colConfig[i_r28].action) ? ctx_r34.config == null ? null : ctx_r34.config.colConfig[i_r28] == null ? null : ctx_r34.config.colConfig[i_r28].action(col_r27) : null); });
|
|
512
506
|
i0.ɵɵelementStart(1, "div", 28);
|
|
513
|
-
i0.ɵɵtemplate(2, TableComponent_div_7_div_2_p_2_Template, 2, 4, "p", 29)
|
|
507
|
+
i0.ɵɵtemplate(2, TableComponent_div_7_div_2_p_2_Template, 2, 4, "p", 29);
|
|
508
|
+
i0.ɵɵtemplate(3, TableComponent_div_7_div_2_3_Template, 1, 2, null, 15);
|
|
514
509
|
i0.ɵɵelementEnd()();
|
|
515
510
|
} if (rf & 2) {
|
|
516
|
-
const
|
|
517
|
-
const
|
|
518
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7,
|
|
519
|
-
i0.ɵɵadvance();
|
|
520
|
-
i0.ɵɵstyleMap(
|
|
521
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(11,
|
|
522
|
-
i0.ɵɵadvance();
|
|
523
|
-
i0.ɵɵproperty("ngIf", (
|
|
524
|
-
i0.ɵɵadvance();
|
|
525
|
-
i0.ɵɵproperty("ngIf", (
|
|
511
|
+
const i_r28 = ctx.index;
|
|
512
|
+
const ctx_r25 = i0.ɵɵnextContext(2);
|
|
513
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(7, _c5, (ctx_r25.config == null ? null : ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style == null ? null : ctx_r25.config.colConfig[i_r28].style.width) || (ctx_r25.config == null ? null : ctx_r25.config.colHeaderConfig[i_r28] == null ? null : ctx_r25.config.colHeaderConfig[i_r28].style == null ? null : ctx_r25.config.colHeaderConfig[i_r28].style.width) || ""))("ngClass", i0.ɵɵpureFunction1(9, _c6, ctx_r25.config.cellHover));
|
|
514
|
+
i0.ɵɵadvance(1);
|
|
515
|
+
i0.ɵɵstyleMap(ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style);
|
|
516
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction2(11, _c7, (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].action) ? "pointer" : "default", (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style == null ? null : ctx_r25.config.colConfig[i_r28].style.justifyContent) ? ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].style == null ? null : ctx_r25.config.colConfig[i_r28].style.justifyContent : (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].type) === "number" ? "flex-end" : "space-between"));
|
|
517
|
+
i0.ɵɵadvance(1);
|
|
518
|
+
i0.ɵɵproperty("ngIf", (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].type) !== "custom");
|
|
519
|
+
i0.ɵɵadvance(1);
|
|
520
|
+
i0.ɵɵproperty("ngIf", (ctx_r25.config.colConfig[i_r28] == null ? null : ctx_r25.config.colConfig[i_r28].type) === "custom");
|
|
526
521
|
} }
|
|
522
|
+
const _c8 = function () { return { display: "flex", justifyContent: "center", alignItems: "center", padding: "16px" }; };
|
|
527
523
|
function TableComponent_div_7_div_3_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
528
524
|
i0.ɵɵelementContainerStart(0);
|
|
529
525
|
i0.ɵɵelementStart(1, "div", 32);
|
|
@@ -531,8 +527,8 @@ function TableComponent_div_7_div_3_ng_container_1_Template(rf, ctx) { if (rf &
|
|
|
531
527
|
i0.ɵɵelementEnd();
|
|
532
528
|
i0.ɵɵelementContainerEnd();
|
|
533
529
|
} if (rf & 2) {
|
|
534
|
-
i0.ɵɵadvance();
|
|
535
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1,
|
|
530
|
+
i0.ɵɵadvance(1);
|
|
531
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c8));
|
|
536
532
|
} }
|
|
537
533
|
function TableComponent_div_7_div_3_ng_container_2_Template(rf, ctx) { if (rf & 1) {
|
|
538
534
|
i0.ɵɵelementContainerStart(0);
|
|
@@ -541,93 +537,103 @@ function TableComponent_div_7_div_3_ng_container_2_Template(rf, ctx) { if (rf &
|
|
|
541
537
|
i0.ɵɵelementEnd();
|
|
542
538
|
i0.ɵɵelementContainerEnd();
|
|
543
539
|
} if (rf & 2) {
|
|
544
|
-
i0.ɵɵadvance();
|
|
545
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1,
|
|
540
|
+
i0.ɵɵadvance(1);
|
|
541
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(1, _c8));
|
|
546
542
|
} }
|
|
547
543
|
function TableComponent_div_7_div_3_ng_container_3_Template(rf, ctx) { if (rf & 1) {
|
|
548
544
|
i0.ɵɵelementContainerStart(0);
|
|
549
545
|
i0.ɵɵelement(1, "sub-table", 33);
|
|
550
546
|
i0.ɵɵelementContainerEnd();
|
|
551
547
|
} if (rf & 2) {
|
|
552
|
-
const
|
|
553
|
-
i0.ɵɵadvance();
|
|
554
|
-
i0.ɵɵproperty("config",
|
|
548
|
+
const ctx_r38 = i0.ɵɵnextContext(3);
|
|
549
|
+
i0.ɵɵadvance(1);
|
|
550
|
+
i0.ɵɵproperty("config", ctx_r38.subTableconfig)("tableData", ctx_r38.subTableData);
|
|
555
551
|
} }
|
|
556
552
|
function TableComponent_div_7_div_3_Template(rf, ctx) { if (rf & 1) {
|
|
557
553
|
i0.ɵɵelementStart(0, "div", 31);
|
|
558
|
-
i0.ɵɵtemplate(1, TableComponent_div_7_div_3_ng_container_1_Template, 3, 2, "ng-container", 15)
|
|
554
|
+
i0.ɵɵtemplate(1, TableComponent_div_7_div_3_ng_container_1_Template, 3, 2, "ng-container", 15);
|
|
555
|
+
i0.ɵɵtemplate(2, TableComponent_div_7_div_3_ng_container_2_Template, 3, 2, "ng-container", 15);
|
|
556
|
+
i0.ɵɵtemplate(3, TableComponent_div_7_div_3_ng_container_3_Template, 2, 2, "ng-container", 15);
|
|
559
557
|
i0.ɵɵelementEnd();
|
|
560
558
|
} if (rf & 2) {
|
|
561
|
-
const
|
|
562
|
-
i0.ɵɵadvance();
|
|
563
|
-
i0.ɵɵproperty("ngIf",
|
|
564
|
-
i0.ɵɵadvance();
|
|
565
|
-
i0.ɵɵproperty("ngIf", !
|
|
566
|
-
i0.ɵɵadvance();
|
|
567
|
-
i0.ɵɵproperty("ngIf", !
|
|
559
|
+
const ctx_r26 = i0.ɵɵnextContext(2);
|
|
560
|
+
i0.ɵɵadvance(1);
|
|
561
|
+
i0.ɵɵproperty("ngIf", ctx_r26.subTableDataLoading);
|
|
562
|
+
i0.ɵɵadvance(1);
|
|
563
|
+
i0.ɵɵproperty("ngIf", !ctx_r26.subTableDataLoading && ctx_r26.subTableData.length === 0);
|
|
564
|
+
i0.ɵɵadvance(1);
|
|
565
|
+
i0.ɵɵproperty("ngIf", !ctx_r26.subTableDataLoading && ctx_r26.subTableData.length > 0);
|
|
568
566
|
} }
|
|
567
|
+
const _c9 = function (a0, a1) { return { "t-row-hover": a0, "active-row": a1 }; };
|
|
568
|
+
const _c10 = function (a0) { return { "min-height": a0 }; };
|
|
569
569
|
function TableComponent_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
570
|
-
const
|
|
570
|
+
const _r40 = i0.ɵɵgetCurrentView();
|
|
571
571
|
i0.ɵɵelementStart(0, "div", 23)(1, "div", 24);
|
|
572
|
-
i0.ɵɵlistener("click", function TableComponent_div_7_Template_div_click_1_listener() { const
|
|
572
|
+
i0.ɵɵlistener("click", function TableComponent_div_7_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r40); const i_r24 = restoredCtx.index; const ctx_r39 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r39.selectRow(i_r24)); });
|
|
573
573
|
i0.ɵɵtemplate(2, TableComponent_div_7_div_2_Template, 4, 14, "div", 25);
|
|
574
574
|
i0.ɵɵelementEnd();
|
|
575
575
|
i0.ɵɵtemplate(3, TableComponent_div_7_div_3_Template, 4, 3, "div", 26);
|
|
576
576
|
i0.ɵɵelementEnd();
|
|
577
577
|
} if (rf & 2) {
|
|
578
|
-
const
|
|
579
|
-
const
|
|
580
|
-
const
|
|
581
|
-
i0.ɵɵadvance();
|
|
582
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4,
|
|
583
|
-
i0.ɵɵadvance();
|
|
584
|
-
i0.ɵɵproperty("ngForOf",
|
|
585
|
-
i0.ɵɵadvance();
|
|
586
|
-
i0.ɵɵproperty("ngIf", (
|
|
578
|
+
const row_r23 = ctx.$implicit;
|
|
579
|
+
const i_r24 = ctx.index;
|
|
580
|
+
const ctx_r3 = i0.ɵɵnextContext();
|
|
581
|
+
i0.ɵɵadvance(1);
|
|
582
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction2(4, _c9, ctx_r3.config.cellHover, i_r24 === ctx_r3.activeRowIndex))("ngStyle", i0.ɵɵpureFunction1(7, _c10, (ctx_r3.config == null ? null : ctx_r3.config.rowConfig == null ? null : ctx_r3.config.rowConfig.height) ? ctx_r3.config.rowConfig.height : "44px"));
|
|
583
|
+
i0.ɵɵadvance(1);
|
|
584
|
+
i0.ɵɵproperty("ngForOf", row_r23);
|
|
585
|
+
i0.ɵɵadvance(1);
|
|
586
|
+
i0.ɵɵproperty("ngIf", (ctx_r3.config == null ? null : ctx_r3.config.canExpand) && ctx_r3.expandedIndex === i_r24);
|
|
587
587
|
} }
|
|
588
|
+
const _c11 = function (a0) { return { "page-active": a0 }; };
|
|
588
589
|
function TableComponent_div_8_div_7_span_1_Template(rf, ctx) { if (rf & 1) {
|
|
589
|
-
const
|
|
590
|
+
const _r47 = i0.ɵɵgetCurrentView();
|
|
590
591
|
i0.ɵɵelementStart(0, "span", 44);
|
|
591
|
-
i0.ɵɵlistener("click", function TableComponent_div_8_div_7_span_1_Template_span_click_0_listener() { i0.ɵɵrestoreView(
|
|
592
|
+
i0.ɵɵlistener("click", function TableComponent_div_8_div_7_span_1_Template_span_click_0_listener() { i0.ɵɵrestoreView(_r47); const pageNumber_r42 = i0.ɵɵnextContext().$implicit; const ctx_r45 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r45.updateSelectedPage(pageNumber_r42)); });
|
|
592
593
|
i0.ɵɵtext(1);
|
|
593
594
|
i0.ɵɵelementEnd();
|
|
594
595
|
} if (rf & 2) {
|
|
595
|
-
const
|
|
596
|
-
const
|
|
597
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2,
|
|
598
|
-
i0.ɵɵadvance();
|
|
599
|
-
i0.ɵɵtextInterpolate(
|
|
596
|
+
const pageNumber_r42 = i0.ɵɵnextContext().$implicit;
|
|
597
|
+
const ctx_r43 = i0.ɵɵnextContext(2);
|
|
598
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction1(2, _c11, pageNumber_r42 == (ctx_r43.config.paginationConfig == null ? null : ctx_r43.config.paginationConfig.selectedPage)));
|
|
599
|
+
i0.ɵɵadvance(1);
|
|
600
|
+
i0.ɵɵtextInterpolate(pageNumber_r42);
|
|
600
601
|
} }
|
|
602
|
+
const _c12 = function () { return { display: "flex" }; };
|
|
603
|
+
const _c13 = function () { return { "margin-right": "4px" }; };
|
|
601
604
|
function TableComponent_div_8_div_7_span_2_Template(rf, ctx) { if (rf & 1) {
|
|
602
605
|
i0.ɵɵelementStart(0, "span", 45)(1, "div", 32);
|
|
603
606
|
i0.ɵɵelement(2, "span", 46)(3, "span", 46)(4, "span", 47);
|
|
604
607
|
i0.ɵɵelementEnd()();
|
|
605
608
|
} if (rf & 2) {
|
|
606
|
-
i0.ɵɵadvance();
|
|
607
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(3,
|
|
608
|
-
i0.ɵɵadvance();
|
|
609
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(4,
|
|
610
|
-
i0.ɵɵadvance();
|
|
611
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(5,
|
|
609
|
+
i0.ɵɵadvance(1);
|
|
610
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(3, _c12));
|
|
611
|
+
i0.ɵɵadvance(1);
|
|
612
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(4, _c13));
|
|
613
|
+
i0.ɵɵadvance(1);
|
|
614
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction0(5, _c13));
|
|
612
615
|
} }
|
|
613
616
|
function TableComponent_div_8_div_7_Template(rf, ctx) { if (rf & 1) {
|
|
617
|
+
i0.ɵɵnamespaceSVG();
|
|
618
|
+
i0.ɵɵnamespaceHTML();
|
|
614
619
|
i0.ɵɵelementStart(0, "div");
|
|
615
|
-
i0.ɵɵtemplate(1, TableComponent_div_8_div_7_span_1_Template, 2, 4, "span", 42)
|
|
620
|
+
i0.ɵɵtemplate(1, TableComponent_div_8_div_7_span_1_Template, 2, 4, "span", 42);
|
|
621
|
+
i0.ɵɵtemplate(2, TableComponent_div_8_div_7_span_2_Template, 5, 6, "span", 43);
|
|
616
622
|
i0.ɵɵelementEnd();
|
|
617
623
|
} if (rf & 2) {
|
|
618
|
-
const
|
|
619
|
-
i0.ɵɵadvance();
|
|
620
|
-
i0.ɵɵproperty("ngIf",
|
|
621
|
-
i0.ɵɵadvance();
|
|
622
|
-
i0.ɵɵproperty("ngIf",
|
|
624
|
+
const pageNumber_r42 = ctx.$implicit;
|
|
625
|
+
i0.ɵɵadvance(1);
|
|
626
|
+
i0.ɵɵproperty("ngIf", pageNumber_r42 != 0);
|
|
627
|
+
i0.ɵɵadvance(1);
|
|
628
|
+
i0.ɵɵproperty("ngIf", pageNumber_r42 == 0);
|
|
623
629
|
} }
|
|
624
630
|
function TableComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
625
|
-
const
|
|
631
|
+
const _r50 = i0.ɵɵgetCurrentView();
|
|
626
632
|
i0.ɵɵelementStart(0, "div", 34)(1, "p", 35);
|
|
627
633
|
i0.ɵɵtext(2);
|
|
628
634
|
i0.ɵɵelementEnd();
|
|
629
635
|
i0.ɵɵelementStart(3, "div", 36)(4, "span", 37);
|
|
630
|
-
i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_4_listener() { i0.ɵɵrestoreView(
|
|
636
|
+
i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_4_listener() { i0.ɵɵrestoreView(_r50); const ctx_r49 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r49.updateSelectedPage((ctx_r49.config.paginationConfig == null ? null : ctx_r49.config.paginationConfig.selectedPage) - 1)); });
|
|
631
637
|
i0.ɵɵnamespaceSVG();
|
|
632
638
|
i0.ɵɵelementStart(5, "svg", 38);
|
|
633
639
|
i0.ɵɵelement(6, "path", 39);
|
|
@@ -635,18 +641,20 @@ function TableComponent_div_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
635
641
|
i0.ɵɵtemplate(7, TableComponent_div_8_div_7_Template, 3, 2, "div", 40);
|
|
636
642
|
i0.ɵɵnamespaceHTML();
|
|
637
643
|
i0.ɵɵelementStart(8, "span", 37);
|
|
638
|
-
i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_8_listener() { i0.ɵɵrestoreView(
|
|
644
|
+
i0.ɵɵlistener("click", function TableComponent_div_8_Template_span_click_8_listener() { i0.ɵɵrestoreView(_r50); const ctx_r51 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r51.updateSelectedPage((ctx_r51.config.paginationConfig == null ? null : ctx_r51.config.paginationConfig.selectedPage) + 1)); });
|
|
639
645
|
i0.ɵɵnamespaceSVG();
|
|
640
646
|
i0.ɵɵelementStart(9, "svg", 38);
|
|
641
647
|
i0.ɵɵelement(10, "path", 41);
|
|
642
648
|
i0.ɵɵelementEnd()()()();
|
|
643
649
|
} if (rf & 2) {
|
|
644
|
-
const
|
|
650
|
+
const ctx_r4 = i0.ɵɵnextContext();
|
|
645
651
|
i0.ɵɵadvance(2);
|
|
646
|
-
i0.ɵɵtextInterpolate3(" Showing ", ((
|
|
652
|
+
i0.ɵɵtextInterpolate3(" Showing ", ((ctx_r4.config.paginationConfig == null ? null : ctx_r4.config.paginationConfig.selectedPage) - 1) * ctx_r4.config.paginationConfig.rowsPerPage + 1, "-", ((ctx_r4.config.paginationConfig == null ? null : ctx_r4.config.paginationConfig.selectedPage) - 1) * ctx_r4.config.paginationConfig.rowsPerPage + ctx_r4.tableLength, " of ", ctx_r4.config.paginationConfig.totalNoOfRows, " items ");
|
|
647
653
|
i0.ɵɵadvance(5);
|
|
648
|
-
i0.ɵɵproperty("ngForOf",
|
|
654
|
+
i0.ɵɵproperty("ngForOf", ctx_r4.pages);
|
|
649
655
|
} }
|
|
656
|
+
const _c14 = function (a0, a1, a2) { return { height: a0, width: a1, "overflow-x": a2 }; };
|
|
657
|
+
const _c15 = function (a0, a1, a2) { return { "no-scrollbar": a0, scrollbar: a1, "scroll-horizontally": a2 }; };
|
|
650
658
|
class TableComponent {
|
|
651
659
|
constructor(renderer) {
|
|
652
660
|
this.renderer = renderer;
|
|
@@ -815,47 +823,47 @@ class TableComponent {
|
|
|
815
823
|
'font-size': fontSize
|
|
816
824
|
};
|
|
817
825
|
}
|
|
818
|
-
static { this.ɵfac = function TableComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); }; }
|
|
819
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableComponent, selectors: [["mis-table"]], viewQuery: function TableComponent_Query(rf, ctx) { if (rf & 1) {
|
|
820
|
-
i0.ɵɵviewQuery(_c0, 5);
|
|
821
|
-
i0.ɵɵviewQuery(_c1, 5);
|
|
822
|
-
i0.ɵɵviewQuery(_c2, 5);
|
|
823
|
-
} if (rf & 2) {
|
|
824
|
-
let _t;
|
|
825
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filter = _t.first);
|
|
826
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
|
|
827
|
-
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.colHeaders = _t);
|
|
828
|
-
} }, inputs: { config: [0, "tableConfig", "config"], subTableconfig: "subTableconfig", tableDataLoading: "tableDataLoading", expandedIndex: "expandedIndex", tableData: "tableData", subTableData: "subTableData", subTableDataLoading: "subTableDataLoading" }, outputs: { filtersUpdated: "filtersUpdated", pageSelected: "pageSelected" }, features: [i0.ɵɵNgOnChangesFeature], decls: 9, vars: 15, consts: [["table", ""], ["filter", ""], ["colHeaderRef", ""], ["id", "main-container", 3, "ngStyle"], [3, "containerStyles", "filtersData", "filtersApplied", 4, "ngIf"], ["id", "table-container", 3, "ngClass"], ["id", "col-headers-container", 3, "ngStyle"], ["class", "col-header", 3, "ngStyle", "click", 4, "ngFor", "ngForOf"], ["id", "data-container"], ["class", "row-wrapper", 4, "ngFor", "ngForOf"], ["id", "pagination-container", 4, "ngIf"], [3, "filtersApplied", "containerStyles", "filtersData"], [1, "col-header", 3, "click", "ngStyle"], ["class", "col-header-text", 4, "ngIf"], ["class", "filter-icon", 3, "click", 4, "ngIf"], [4, "ngIf"], [1, "col-header-text"], [1, "filter-icon", 3, "click"], ["id", "filter-active", 4, "ngIf"], ["fill", "none", "height", "10", "viewBox", "0 0 13 10", "width", "13", "xmlns", "http://www.w3.org/2000/svg"], ["clip-rule", "evenodd", "d", "M4.97546 10H7.64213V8H4.97546V10ZM0.308472 0V2H12.3085V0H0.308472ZM2.30847 6H10.3085V4H2.30847V6Z", "fill", "#181F33", "fill-rule", "evenodd"], ["id", "filter-active"], ["customTableCell", "", 3, "customComponent", "data"], [1, "row-wrapper"], [1, "t-row", 3, "click", "ngClass", "ngStyle"], ["class", "t-col-container", 3, "ngStyle", "ngClass", "click", 4, "ngFor", "ngForOf"], ["class", "sub-row", 4, "ngIf"], [1, "t-col-container", 3, "click", "ngStyle", "ngClass"], [1, "t-col", 3, "ngStyle"], ["class", "t-col-text", 3, "ngStyle", 4, "ngIf"], [1, "t-col-text", 3, "ngStyle"], [1, "sub-row"], [3, "ngStyle"], [3, "config", "tableData"], ["id", "pagination-container"], ["id", "pagination-text"], ["id", "pages-container"], [1, "page", 3, "click"], ["fill", "none", "height", "10", "viewBox", "0 0 7 10", "width", "7", "xmlns", "http://www.w3.org/2000/svg"], ["clip-rule", "evenodd", "d", "M0.857405 5.56295C0.855794 5.56139 0.854188 5.55982 0.852588 5.55824C0.695955 5.40408 0.617641 5.20203 0.617647 4.99998C0.617641 4.79793 0.695955 4.59588 0.852588 4.44172C0.854188 4.44014 0.855794 4.43858 0.857404 4.43702L5.13066 0.231231C5.44392 -0.0770771 5.9518 -0.0770771 6.26506 0.231231C6.57831 0.53954 6.57831 1.03941 6.26506 1.34772L2.5542 4.99998L6.26506 8.65225C6.57831 8.96055 6.57831 9.46042 6.26506 9.76873C5.9518 10.077 5.44392 10.077 5.13066 9.76873L0.857405 5.56295Z", "fill", "#181F33", "fill-rule", "evenodd"], [4, "ngFor", "ngForOf"], ["clip-rule", "evenodd", "d", "M6.1426 5.56295C6.14421 5.56139 6.14581 5.55982 6.14741 5.55824C6.30405 5.40408 6.38236 5.20203 6.38236 4.99998C6.38236 4.79793 6.30405 4.59588 6.14741 4.44172C6.14581 4.44014 6.14421 4.43858 6.1426 4.43702L1.86934 0.231231C1.55608 -0.0770771 1.0482 -0.0770771 0.734942 0.231231C0.421688 0.53954 0.421688 1.03941 0.734942 1.34772L4.4458 4.99998L0.734941 8.65225C0.421686 8.96055 0.421686 9.46042 0.734941 9.76873C1.0482 10.077 1.55608 10.077 1.86934 9.76873L6.1426 5.56295Z", "fill", "#181F33", "fill-rule", "evenodd"], ["class", "page", 3, "ngClass", "click", 4, "ngIf"], ["class", "page-seperator", 4, "ngIf"], [1, "page", 3, "click", "ngClass"], [1, "page-seperator"], [1, "dot", 3, "ngStyle"], [1, "dot"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
829
|
-
i0.ɵɵelementStart(0, "div", 3);
|
|
830
|
-
i0.ɵɵtemplate(1, TableComponent_mis_table_filter_1_Template, 2, 2, "mis-table-filter", 4);
|
|
831
|
-
i0.ɵɵelementStart(2, "div", 5, 0)(4, "div", 6);
|
|
832
|
-
i0.ɵɵtemplate(5, TableComponent_div_5_Template, 5, 8, "div", 7);
|
|
833
|
-
i0.ɵɵelementEnd();
|
|
834
|
-
i0.ɵɵelementStart(6, "div", 8);
|
|
835
|
-
i0.ɵɵtemplate(7, TableComponent_div_7_Template, 4, 9, "div", 9);
|
|
836
|
-
i0.ɵɵelementEnd()();
|
|
837
|
-
i0.ɵɵtemplate(8, TableComponent_div_8_Template, 11, 4, "div", 10);
|
|
838
|
-
i0.ɵɵelementEnd();
|
|
839
|
-
} if (rf & 2) {
|
|
840
|
-
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(7, _c3, ctx.getContainerHeight(), ctx.getContainerWidth(), ctx.config.canScrollHorizontally ? "auto" : "unset"));
|
|
841
|
-
i0.ɵɵadvance();
|
|
842
|
-
i0.ɵɵproperty("ngIf", ctx.showFilter);
|
|
843
|
-
i0.ɵɵadvance();
|
|
844
|
-
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(11, _c4, ctx.expandedIndex < 0, !(ctx.expandedIndex < 0), ctx.config.canScrollHorizontally));
|
|
845
|
-
i0.ɵɵadvance(2);
|
|
846
|
-
i0.ɵɵproperty("ngStyle", ctx.getColHeadersRowStyles());
|
|
847
|
-
i0.ɵɵadvance();
|
|
848
|
-
i0.ɵɵproperty("ngForOf", ctx.config == null ? null : ctx.config.colHeaderConfig);
|
|
849
|
-
i0.ɵɵadvance(2);
|
|
850
|
-
i0.ɵɵproperty("ngForOf", ctx.tableData);
|
|
851
|
-
i0.ɵɵadvance();
|
|
852
|
-
i0.ɵɵproperty("ngIf", (ctx.config == null ? null : ctx.config.paginationConfig) && (ctx.tableLength >= ctx.config.paginationConfig.rowsPerPage || (ctx.config.paginationConfig == null ? null : ctx.config.paginationConfig.selectedPage) !== 1));
|
|
853
|
-
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgStyle, SubTableComponent, TableFilterComponent, CustomTableCellDirective], styles: ["#main-container[_ngcontent-%COMP%]{font-family:Lato,sans-serif;position:relative}.no-scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{width:0}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px;border-radius:15px}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:15px}#table-container[_ngcontent-%COMP%]{height:inherit;overflow-y:auto}.scroll-horizontally[_ngcontent-%COMP%]{height:inherit;width:fit-content;overflow-y:unset!important;overflow-x:visible}#col-headers-container[_ngcontent-%COMP%]{display:flex;align-items:center;position:sticky;background-color:#fff;width:100%;z-index:1;min-height:44px;border-bottom:1px solid #e0e0e0;top:0;left:0;right:0}.col-header[_ngcontent-%COMP%]{padding:0 16px;display:flex;align-items:center;height:100%}.col-header-text[_ngcontent-%COMP%]{font-style:normal;font-weight:700;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}.filter-icon[_ngcontent-%COMP%]{margin-left:8px;padding:0 8px;position:relative;cursor:pointer}#filter-active[_ngcontent-%COMP%]{height:8px;width:8px;background:#16cbbc;border-radius:50%;position:absolute;top:4px;right:4px}.sub-row[_ngcontent-%COMP%]{height:auto;border-bottom:none}.loader[_ngcontent-%COMP%] .mat-progress-spinner circle, .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#0937b2}.t-row[_ngcontent-%COMP%]{display:flex;min-height:44px;background-color:#fff;width:100%;border-bottom:1px solid #e0e0e0}.t-row[_ngcontent-%COMP%]:hover{background-color:#e7eefd}.active-row[_ngcontent-%COMP%]{background-color:#e6f6fd}.t-col-container[_ngcontent-%COMP%]{padding:0 16px;overflow-wrap:anywhere}.t-row-hover[_ngcontent-%COMP%]:hover{background-color:#0000}.t-col-container-hover[_ngcontent-%COMP%]:hover{background-color:#e6ebf7}.t-col-container-hover[_ngcontent-%COMP%]:first-child{border-left:1px solid #e0e0e0}.t-col-container-hover[_ngcontent-%COMP%]{border-right:1px solid #e0e0e0}.t-col[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}.t-col-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}#pagination-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;height:56px}#pagination-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:12px;line-height:18px;letter-spacing:.4px;color:#6a737d;margin:0 96px 0 0}#pages-container[_ngcontent-%COMP%]{display:flex;margin-right:32px}.page[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:1px solid #6a737d;box-sizing:border-box;border-radius:4px;width:32px;height:32px;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d;margin-right:8px;cursor:pointer}.page-seperator[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin-right:8px}.dot[_ngcontent-%COMP%]{height:3px;width:3px;border-radius:50%;background:#6a737d}.page-active[_ngcontent-%COMP%]{color:#0937b2;border:1px solid #0937b2}"] }); }
|
|
854
826
|
}
|
|
855
|
-
(
|
|
827
|
+
TableComponent.ɵfac = function TableComponent_Factory(t) { return new (t || TableComponent)(i0.ɵɵdirectiveInject(i0.Renderer2)); };
|
|
828
|
+
TableComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: TableComponent, selectors: [["mis-table"]], viewQuery: function TableComponent_Query(rf, ctx) { if (rf & 1) {
|
|
829
|
+
i0.ɵɵviewQuery(_c0, 5);
|
|
830
|
+
i0.ɵɵviewQuery(_c1, 5);
|
|
831
|
+
i0.ɵɵviewQuery(_c2, 5);
|
|
832
|
+
} if (rf & 2) {
|
|
833
|
+
let _t;
|
|
834
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.filter = _t.first);
|
|
835
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.table = _t.first);
|
|
836
|
+
i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.colHeaders = _t);
|
|
837
|
+
} }, inputs: { config: ["tableConfig", "config"], subTableconfig: "subTableconfig", tableDataLoading: "tableDataLoading", expandedIndex: "expandedIndex", tableData: "tableData", subTableData: "subTableData", subTableDataLoading: "subTableDataLoading" }, outputs: { filtersUpdated: "filtersUpdated", pageSelected: "pageSelected" }, features: [i0.ɵɵNgOnChangesFeature], decls: 9, vars: 15, consts: [["id", "main-container", 3, "ngStyle"], [3, "containerStyles", "filtersData", "filtersApplied", 4, "ngIf"], ["id", "table-container", 3, "ngClass"], ["table", ""], ["id", "col-headers-container", 3, "ngStyle"], ["class", "col-header", 3, "ngStyle", "click", 4, "ngFor", "ngForOf"], ["id", "data-container"], ["class", "row-wrapper", 4, "ngFor", "ngForOf"], ["id", "pagination-container", 4, "ngIf"], [3, "containerStyles", "filtersData", "filtersApplied"], ["filter", ""], [1, "col-header", 3, "ngStyle", "click"], ["colHeaderRef", ""], ["class", "col-header-text", 4, "ngIf"], ["class", "filter-icon", 3, "click", 4, "ngIf"], [4, "ngIf"], [1, "col-header-text"], [1, "filter-icon", 3, "click"], ["id", "filter-active", 4, "ngIf"], ["fill", "none", "height", "10", "viewBox", "0 0 13 10", "width", "13", "xmlns", "http://www.w3.org/2000/svg"], ["clip-rule", "evenodd", "d", "M4.97546 10H7.64213V8H4.97546V10ZM0.308472 0V2H12.3085V0H0.308472ZM2.30847 6H10.3085V4H2.30847V6Z", "fill", "#181F33", "fill-rule", "evenodd"], ["id", "filter-active"], ["customTableCell", "", 3, "customComponent", "data"], [1, "row-wrapper"], [1, "t-row", 3, "ngClass", "ngStyle", "click"], ["class", "t-col-container", 3, "ngStyle", "ngClass", "click", 4, "ngFor", "ngForOf"], ["class", "sub-row", 4, "ngIf"], [1, "t-col-container", 3, "ngStyle", "ngClass", "click"], [1, "t-col", 3, "ngStyle"], ["class", "t-col-text", 3, "ngStyle", 4, "ngIf"], [1, "t-col-text", 3, "ngStyle"], [1, "sub-row"], [3, "ngStyle"], [3, "config", "tableData"], ["id", "pagination-container"], ["id", "pagination-text"], ["id", "pages-container"], [1, "page", 3, "click"], ["fill", "none", "height", "10", "viewBox", "0 0 7 10", "width", "7", "xmlns", "http://www.w3.org/2000/svg"], ["clip-rule", "evenodd", "d", "M0.857405 5.56295C0.855794 5.56139 0.854188 5.55982 0.852588 5.55824C0.695955 5.40408 0.617641 5.20203 0.617647 4.99998C0.617641 4.79793 0.695955 4.59588 0.852588 4.44172C0.854188 4.44014 0.855794 4.43858 0.857404 4.43702L5.13066 0.231231C5.44392 -0.0770771 5.9518 -0.0770771 6.26506 0.231231C6.57831 0.53954 6.57831 1.03941 6.26506 1.34772L2.5542 4.99998L6.26506 8.65225C6.57831 8.96055 6.57831 9.46042 6.26506 9.76873C5.9518 10.077 5.44392 10.077 5.13066 9.76873L0.857405 5.56295Z", "fill", "#181F33", "fill-rule", "evenodd"], [4, "ngFor", "ngForOf"], ["clip-rule", "evenodd", "d", "M6.1426 5.56295C6.14421 5.56139 6.14581 5.55982 6.14741 5.55824C6.30405 5.40408 6.38236 5.20203 6.38236 4.99998C6.38236 4.79793 6.30405 4.59588 6.14741 4.44172C6.14581 4.44014 6.14421 4.43858 6.1426 4.43702L1.86934 0.231231C1.55608 -0.0770771 1.0482 -0.0770771 0.734942 0.231231C0.421688 0.53954 0.421688 1.03941 0.734942 1.34772L4.4458 4.99998L0.734941 8.65225C0.421686 8.96055 0.421686 9.46042 0.734941 9.76873C1.0482 10.077 1.55608 10.077 1.86934 9.76873L6.1426 5.56295Z", "fill", "#181F33", "fill-rule", "evenodd"], ["class", "page", 3, "ngClass", "click", 4, "ngIf"], ["class", "page-seperator", 4, "ngIf"], [1, "page", 3, "ngClass", "click"], [1, "page-seperator"], [1, "dot", 3, "ngStyle"], [1, "dot"]], template: function TableComponent_Template(rf, ctx) { if (rf & 1) {
|
|
838
|
+
i0.ɵɵelementStart(0, "div", 0);
|
|
839
|
+
i0.ɵɵtemplate(1, TableComponent_mis_table_filter_1_Template, 2, 2, "mis-table-filter", 1);
|
|
840
|
+
i0.ɵɵelementStart(2, "div", 2, 3)(4, "div", 4);
|
|
841
|
+
i0.ɵɵtemplate(5, TableComponent_div_5_Template, 5, 8, "div", 5);
|
|
842
|
+
i0.ɵɵelementEnd();
|
|
843
|
+
i0.ɵɵelementStart(6, "div", 6);
|
|
844
|
+
i0.ɵɵtemplate(7, TableComponent_div_7_Template, 4, 9, "div", 7);
|
|
845
|
+
i0.ɵɵelementEnd()();
|
|
846
|
+
i0.ɵɵtemplate(8, TableComponent_div_8_Template, 11, 4, "div", 8);
|
|
847
|
+
i0.ɵɵelementEnd();
|
|
848
|
+
} if (rf & 2) {
|
|
849
|
+
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction3(7, _c14, ctx.getContainerHeight(), ctx.getContainerWidth(), ctx.config.canScrollHorizontally ? "auto" : "unset"));
|
|
850
|
+
i0.ɵɵadvance(1);
|
|
851
|
+
i0.ɵɵproperty("ngIf", ctx.showFilter);
|
|
852
|
+
i0.ɵɵadvance(1);
|
|
853
|
+
i0.ɵɵproperty("ngClass", i0.ɵɵpureFunction3(11, _c15, ctx.expandedIndex < 0, !(ctx.expandedIndex < 0), ctx.config.canScrollHorizontally));
|
|
854
|
+
i0.ɵɵadvance(2);
|
|
855
|
+
i0.ɵɵproperty("ngStyle", ctx.getColHeadersRowStyles());
|
|
856
|
+
i0.ɵɵadvance(1);
|
|
857
|
+
i0.ɵɵproperty("ngForOf", ctx.config == null ? null : ctx.config.colHeaderConfig);
|
|
858
|
+
i0.ɵɵadvance(2);
|
|
859
|
+
i0.ɵɵproperty("ngForOf", ctx.tableData);
|
|
860
|
+
i0.ɵɵadvance(1);
|
|
861
|
+
i0.ɵɵproperty("ngIf", (ctx.config == null ? null : ctx.config.paginationConfig) && (ctx.tableLength >= ctx.config.paginationConfig.rowsPerPage || (ctx.config.paginationConfig == null ? null : ctx.config.paginationConfig.selectedPage) !== 1));
|
|
862
|
+
} }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i1.NgStyle, SubTableComponent, TableFilterComponent, CustomTableCellDirective], styles: ["#main-container[_ngcontent-%COMP%]{font-family:Lato,sans-serif;position:relative}.no-scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{width:0}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px;height:8px;border-radius:15px}.scrollbar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:15px}#table-container[_ngcontent-%COMP%]{height:inherit;overflow-y:auto}.scroll-horizontally[_ngcontent-%COMP%]{height:inherit;width:fit-content;overflow-y:unset!important;overflow-x:visible}#col-headers-container[_ngcontent-%COMP%]{display:flex;align-items:center;position:sticky;background-color:#fff;width:100%;z-index:1;min-height:44px;border-bottom:1px solid #e0e0e0;top:0;left:0;right:0}.col-header[_ngcontent-%COMP%]{padding:0 16px;display:flex;align-items:center;height:100%}.col-header-text[_ngcontent-%COMP%]{font-style:normal;font-weight:700;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}.filter-icon[_ngcontent-%COMP%]{margin-left:8px;padding:0 8px;position:relative;cursor:pointer}#filter-active[_ngcontent-%COMP%]{height:8px;width:8px;background:#16cbbc;border-radius:50%;position:absolute;top:4px;right:4px}.sub-row[_ngcontent-%COMP%]{height:auto;border-bottom:none}.loader[_ngcontent-%COMP%] .mat-progress-spinner circle, .mat-spinner[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#0937b2}.t-row[_ngcontent-%COMP%]{display:flex;min-height:44px;background-color:#fff;width:100%;border-bottom:1px solid #e0e0e0}.t-row[_ngcontent-%COMP%]:hover{background-color:#e7eefd}.active-row[_ngcontent-%COMP%]{background-color:#e6f6fd}.t-col-container[_ngcontent-%COMP%]{padding:0 16px;overflow-wrap:anywhere}.t-row-hover[_ngcontent-%COMP%]:hover{background-color:#0000}.t-col-container-hover[_ngcontent-%COMP%]:hover{background-color:#e6ebf7}.t-col-container-hover[_ngcontent-%COMP%]:first-child{border-left:1px solid #e0e0e0}.t-col-container-hover[_ngcontent-%COMP%]{border-right:1px solid #e0e0e0}.t-col[_ngcontent-%COMP%]{display:flex;align-items:center;height:100%}.t-col-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}#pagination-container[_ngcontent-%COMP%]{display:flex;justify-content:flex-end;align-items:center;height:56px}#pagination-text[_ngcontent-%COMP%]{font-style:normal;font-weight:400;font-size:12px;line-height:18px;letter-spacing:.4px;color:#6a737d;margin:0 96px 0 0}#pages-container[_ngcontent-%COMP%]{display:flex;margin-right:32px}.page[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:1px solid #6a737d;box-sizing:border-box;border-radius:4px;width:32px;height:32px;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d;margin-right:8px;cursor:pointer}.page-seperator[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin-right:8px}.dot[_ngcontent-%COMP%]{height:3px;width:3px;border-radius:50%;background:#6a737d}.page-active[_ngcontent-%COMP%]{color:#0937b2;border:1px solid #0937b2}"] });
|
|
863
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableComponent, [{
|
|
856
864
|
type: Component,
|
|
857
865
|
args: [{ selector: "mis-table", template: "<div\n [ngStyle]=\"{\n height: getContainerHeight(),\n width: getContainerWidth(),\n 'overflow-x': config.canScrollHorizontally ? 'auto' : 'unset'\n }\"\n id=\"main-container\"\n>\n <mis-table-filter\n #filter\n (filtersApplied)=\"updateAppliedFilters($event)\"\n *ngIf=\"showFilter\"\n [containerStyles]=\"filterContainerStyles\"\n [filtersData]=\"filterData\"\n ></mis-table-filter>\n <div\n #table\n id=\"table-container\"\n [ngClass]=\"{ 'no-scrollbar': expandedIndex < 0, scrollbar: !(expandedIndex < 0), 'scroll-horizontally': config.canScrollHorizontally }\"\n >\n <div\n [ngStyle]=\"getColHeadersRowStyles()\"\n id=\"col-headers-container\"\n >\n <div\n #colHeaderRef\n (click)=\"colHeader?.action ? colHeader?.action(colHeader) : null\"\n *ngFor=\"let colHeader of config?.colHeaderConfig\"\n class=\"col-header\"\n [ngStyle]=\"{\n width: colHeader?.style?.width || '',\n cursor: colHeader.action ? 'pointer' : 'default',\n 'justify-content': colHeader?.style?.justifyContent\n ? colHeader?.style?.justifyContent\n : colHeader.type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p *ngIf=\"colHeader?.type !== 'custom'\" class=\"col-header-text\">\n {{ colHeader?.data || \" \" }}\n </p>\n <span\n (click)=\"filterData = colHeader.filters; toggleFilter(colHeader.data); $event.stopPropagation()\"\n *ngIf=\"colHeader?.type !== 'custom' && colHeader?.filters && colHeader?.filters?.length > 0\"\n class=\"filter-icon\"\n >\n <span *ngIf=\"appliedFilters[colHeader.data]?.length > 0\" id=\"filter-active\"></span>\n <svg fill=\"none\" height=\"10\" viewBox=\"0 0 13 10\" width=\"13\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n clip-rule=\"evenodd\"\n d=\"M4.97546 10H7.64213V8H4.97546V10ZM0.308472 0V2H12.3085V0H0.308472ZM2.30847 6H10.3085V4H2.30847V6Z\"\n fill=\"#181F33\"\n fill-rule=\"evenodd\"\n />\n </svg>\n </span>\n <ng-template\n *ngIf=\"colHeader?.type === 'custom'\"\n [customComponent]=\"colHeader?.componentRef\"\n [data]=\"colHeader.data\"\n customTableCell\n ></ng-template>\n </div>\n </div>\n <div id=\"data-container\">\n <div class=\"row-wrapper\" *ngFor=\"let row of tableData; let i = index\">\n <div\n class=\"t-row\"\n [ngClass]=\"{ 't-row-hover': config.cellHover, 'active-row': i === activeRowIndex }\"\n [ngStyle]=\"{ 'min-height': config?.rowConfig?.height ? config.rowConfig.height : '44px' }\"\n (click)=\"selectRow(i)\"\n >\n <div\n (click)=\"config?.colConfig[i]?.action ? config?.colConfig[i]?.action(col) : null\"\n *ngFor=\"let col of row; let i = index\"\n [ngStyle]=\"{\n width: config?.colConfig[i]?.style?.width || config?.colHeaderConfig[i]?.style?.width || ''\n }\"\n class=\"t-col-container\"\n [ngClass]=\"{ 't-col-container-hover': config.cellHover }\"\n >\n <div\n class=\"t-col\"\n [style]=\"config.colConfig[i]?.style\"\n [ngStyle]=\"{\n width: '100%',\n cursor: config.colConfig[i]?.action ? 'pointer' : 'default',\n 'justify-content': config.colConfig[i]?.style?.justifyContent\n ? config.colConfig[i]?.style?.justifyContent\n : config.colConfig[i]?.type === 'number'\n ? 'flex-end'\n : 'space-between'\n }\"\n >\n <p\n *ngIf=\"config.colConfig[i]?.type !== 'custom'\"\n [ngStyle]=\"{\n color: config?.colConfig[i]?.style?.color ? config?.colConfig[i]?.style?.color : ''\n }\"\n class=\"t-col-text\"\n >\n {{ col }}\n </p>\n <ng-template\n *ngIf=\"config.colConfig[i]?.type === 'custom'\"\n [customComponent]=\"config.colConfig[i].componentRef\"\n [data]=\"col\"\n customTableCell\n ></ng-template>\n </div>\n </div>\n </div>\n <div *ngIf=\"config?.canExpand && expandedIndex === i\" class=\"sub-row\">\n <ng-container *ngIf=\"subTableDataLoading\">\n <div [ngStyle]=\"{\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n padding: '16px'\n }\">\n Loading...\n </div>\n </ng-container>\n \n <ng-container *ngIf=\"!subTableDataLoading && subTableData.length === 0\">\n <div [ngStyle]=\"{\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n padding: '16px'\n }\">\n No Data Available...\n </div>\n </ng-container>\n \n <ng-container *ngIf=\"!subTableDataLoading && subTableData.length > 0\">\n <sub-table [config]=\"subTableconfig\" [tableData]=\"subTableData\"></sub-table>\n </ng-container>\n </div>\n </div>\n </div>\n </div>\n <div\n *ngIf=\"config?.paginationConfig && (tableLength >= config.paginationConfig.rowsPerPage || config.paginationConfig?.selectedPage !== 1)\"\n id=\"pagination-container\"\n >\n <p id=\"pagination-text\">\n Showing\n {{ (config.paginationConfig?.selectedPage - 1) * config.paginationConfig.rowsPerPage + 1 }}-{{\n (config.paginationConfig?.selectedPage - 1) * config.paginationConfig.rowsPerPage + tableLength\n }}\n of {{ config.paginationConfig.totalNoOfRows }} items\n </p>\n <div id=\"pages-container\">\n <span (click)=\"updateSelectedPage(config.paginationConfig?.selectedPage - 1)\" class=\"page\">\n <svg fill=\"none\" height=\"10\" viewBox=\"0 0 7 10\" width=\"7\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n clip-rule=\"evenodd\"\n d=\"M0.857405 5.56295C0.855794 5.56139 0.854188 5.55982 0.852588 5.55824C0.695955 5.40408 0.617641 5.20203 0.617647 4.99998C0.617641 4.79793 0.695955 4.59588 0.852588 4.44172C0.854188 4.44014 0.855794 4.43858 0.857404 4.43702L5.13066 0.231231C5.44392 -0.0770771 5.9518 -0.0770771 6.26506 0.231231C6.57831 0.53954 6.57831 1.03941 6.26506 1.34772L2.5542 4.99998L6.26506 8.65225C6.57831 8.96055 6.57831 9.46042 6.26506 9.76873C5.9518 10.077 5.44392 10.077 5.13066 9.76873L0.857405 5.56295Z\"\n fill=\"#181F33\"\n fill-rule=\"evenodd\"\n />\n </svg>\n </span>\n <div *ngFor=\"let pageNumber of pages\">\n <span\n (click)=\"updateSelectedPage(pageNumber)\"\n *ngIf=\"pageNumber != 0\"\n [ngClass]=\"{ 'page-active': pageNumber == config.paginationConfig?.selectedPage }\"\n class=\"page\"\n >{{ pageNumber }}</span\n >\n <span *ngIf=\"pageNumber == 0\" class=\"page-seperator\">\n <div [ngStyle]=\"{ display: 'flex' }\">\n <span class=\"dot\" [ngStyle]=\"{ 'margin-right': '4px' }\"></span>\n <span class=\"dot\" [ngStyle]=\"{ 'margin-right': '4px' }\"></span>\n <span class=\"dot\"></span>\n </div> \n </span>\n </div>\n <span (click)=\"updateSelectedPage(config.paginationConfig?.selectedPage + 1)\" class=\"page\">\n <svg fill=\"none\" height=\"10\" viewBox=\"0 0 7 10\" width=\"7\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n clip-rule=\"evenodd\"\n d=\"M6.1426 5.56295C6.14421 5.56139 6.14581 5.55982 6.14741 5.55824C6.30405 5.40408 6.38236 5.20203 6.38236 4.99998C6.38236 4.79793 6.30405 4.59588 6.14741 4.44172C6.14581 4.44014 6.14421 4.43858 6.1426 4.43702L1.86934 0.231231C1.55608 -0.0770771 1.0482 -0.0770771 0.734942 0.231231C0.421688 0.53954 0.421688 1.03941 0.734942 1.34772L4.4458 4.99998L0.734941 8.65225C0.421686 8.96055 0.421686 9.46042 0.734941 9.76873C1.0482 10.077 1.55608 10.077 1.86934 9.76873L6.1426 5.56295Z\"\n fill=\"#181F33\"\n fill-rule=\"evenodd\"\n />\n </svg>\n </span>\n </div>\n </div>\n</div>\n", styles: ["#main-container{font-family:Lato,sans-serif;position:relative}.no-scrollbar::-webkit-scrollbar{width:0}.scrollbar::-webkit-scrollbar{width:8px;height:8px;border-radius:15px}.scrollbar::-webkit-scrollbar-thumb{background:#9aa7b4;border-radius:15px}#table-container{height:inherit;overflow-y:auto}.scroll-horizontally{height:inherit;width:fit-content;overflow-y:unset!important;overflow-x:visible}#col-headers-container{display:flex;align-items:center;position:sticky;background-color:#fff;width:100%;z-index:1;min-height:44px;border-bottom:1px solid #e0e0e0;top:0;left:0;right:0}.col-header{padding:0 16px;display:flex;align-items:center;height:100%}.col-header-text{font-style:normal;font-weight:700;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}.filter-icon{margin-left:8px;padding:0 8px;position:relative;cursor:pointer}#filter-active{height:8px;width:8px;background:#16cbbc;border-radius:50%;position:absolute;top:4px;right:4px}.sub-row{height:auto;border-bottom:none}.loader ::ng-deep .mat-progress-spinner circle,.mat-spinner circle{stroke:#0937b2}.t-row{display:flex;min-height:44px;background-color:#fff;width:100%;border-bottom:1px solid #e0e0e0}.t-row:hover{background-color:#e7eefd}.active-row{background-color:#e6f6fd}.t-col-container{padding:0 16px;overflow-wrap:anywhere}.t-row-hover:hover{background-color:#0000}.t-col-container-hover:hover{background-color:#e6ebf7}.t-col-container-hover:first-child{border-left:1px solid #e0e0e0}.t-col-container-hover{border-right:1px solid #e0e0e0}.t-col{display:flex;align-items:center;height:100%}.t-col-text{font-style:normal;font-weight:400;font-size:14px;line-height:20px;display:flex;align-items:center;letter-spacing:.2px;margin:0}#pagination-container{display:flex;justify-content:flex-end;align-items:center;height:56px}#pagination-text{font-style:normal;font-weight:400;font-size:12px;line-height:18px;letter-spacing:.4px;color:#6a737d;margin:0 96px 0 0}#pages-container{display:flex;margin-right:32px}.page{display:flex;justify-content:center;align-items:center;border:1px solid #6a737d;box-sizing:border-box;border-radius:4px;width:32px;height:32px;font-size:14px;line-height:20px;letter-spacing:.2px;color:#6a737d;margin-right:8px;cursor:pointer}.page-seperator{display:flex;justify-content:center;align-items:center;width:32px;height:32px;margin-right:8px}.dot{height:3px;width:3px;border-radius:50%;background:#6a737d}.page-active{color:#0937b2;border:1px solid #0937b2}\n"] }]
|
|
858
|
-
}], ()
|
|
866
|
+
}], function () { return [{ type: i0.Renderer2 }]; }, { filtersUpdated: [{
|
|
859
867
|
type: Output
|
|
860
868
|
}], filter: [{
|
|
861
869
|
type: ViewChild,
|
|
@@ -884,17 +892,16 @@ class TableComponent {
|
|
|
884
892
|
type: ViewChild,
|
|
885
893
|
args: ["table"]
|
|
886
894
|
}] }); })();
|
|
887
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(TableComponent, { className: "TableComponent" }); })();
|
|
888
895
|
|
|
889
896
|
class TableModule {
|
|
890
897
|
static forRoot() {
|
|
891
898
|
return { ngModule: TableModule, providers: [] };
|
|
892
899
|
}
|
|
893
|
-
static { this.ɵfac = function TableModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TableModule)(); }; }
|
|
894
|
-
static { this.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TableModule }); }
|
|
895
|
-
static { this.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, CheckboxModule, ScrollingModule] }); }
|
|
896
900
|
}
|
|
897
|
-
(
|
|
901
|
+
TableModule.ɵfac = function TableModule_Factory(t) { return new (t || TableModule)(); };
|
|
902
|
+
TableModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: TableModule });
|
|
903
|
+
TableModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule, CheckboxModule, ScrollingModule] });
|
|
904
|
+
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TableModule, [{
|
|
898
905
|
type: NgModule,
|
|
899
906
|
args: [{
|
|
900
907
|
declarations: [TableComponent, SubTableComponent, TableFilterComponent, CustomTableCellDirective],
|