@sme.up/ketchup 10.3.10 → 10.3.11
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/dist/cjs/{f-cell-9c556447.js → f-cell-17acbc57.js} +4 -4
- package/dist/cjs/{f-chip-29f981f7.js → f-chip-69c882a5.js} +1 -1
- package/dist/cjs/{f-object-field-ae0e860d.js → f-object-field-c4c5df13.js} +2 -2
- package/dist/cjs/{f-paginator-utils-806868eb.js → f-paginator-utils-66aa1936.js} +1 -1
- package/dist/cjs/{f-text-field-025f9ff3.js → f-text-field-9832e4ef.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +7 -8
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +116 -344
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- package/dist/cjs/kup-calendar.cjs.entry.js +5 -5
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +8 -8
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +8 -8
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/{kup-data-table-helper-d3b9b899.js → kup-data-table-helper-c7046c05.js} +2 -2
- package/dist/cjs/{kup-dates-8619368a.js → kup-dates-6feda954.js} +127 -7
- package/dist/cjs/kup-drawer.cjs.entry.js +4 -4
- package/dist/cjs/kup-echart.cjs.entry.js +3 -3
- package/dist/cjs/kup-editor.cjs.entry.js +3 -3
- package/dist/cjs/kup-family-tree.cjs.entry.js +21 -26
- package/dist/cjs/kup-gantt_10.cjs.entry.js +25 -25
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-htm.cjs.entry.js +3 -3
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +8 -8
- package/dist/cjs/kup-lazy.cjs.entry.js +13 -13
- package/dist/cjs/kup-magic-box.cjs.entry.js +5 -5
- package/dist/cjs/{kup-manager-dbf73b5f.js → kup-manager-863afae7.js} +1 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +3 -3
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +4 -4
- package/dist/cjs/kup-object-field.cjs.entry.js +5 -5
- package/dist/cjs/kup-pdf.cjs.entry.js +3 -3
- package/dist/cjs/{kup-planner-renderer-helper-eaca3f99.js → kup-planner-renderer-helper-593796c6.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +4 -4
- package/dist/cjs/kup-planner.cjs.entry.js +4 -4
- package/dist/cjs/kup-probe.cjs.entry.js +3 -3
- package/dist/cjs/kup-qlik.cjs.entry.js +3 -3
- package/dist/cjs/kup-snackbar.cjs.entry.js +3 -3
- package/dist/cjs/kup-txt.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography-list.cjs.entry.js +3 -3
- package/dist/cjs/kup-typography.cjs.entry.js +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-accordion/kup-accordion.js +5 -27
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
- package/dist/collection/components/kup-badge/kup-badge.js +2 -2
- package/dist/collection/components/kup-button-list/kup-button-list.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +2 -2
- package/dist/collection/components/kup-card/standard/kup-card-standard.js +2 -4
- package/dist/collection/components/kup-cell/kup-cell.js +2 -2
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.js +2 -2
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +1 -1
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table-state.js +1 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +49 -266
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +1 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.css +1 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +18 -23
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +2 -2
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-tab-bar/kup-tab-bar.js +2 -23
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/managers/kup-dates/kup-dates.js +127 -7
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +12 -33
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +7 -9
- package/dist/components/kup-activity-timeline.js +2 -2
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +5 -5
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +4 -4
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +3 -3
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +4 -4
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +22 -27
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +3 -3
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +5 -5
- package/dist/components/kup-lazy.js +13 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +7 -7
- package/dist/components/kup-nav-bar.js +3 -3
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-object-field.js +3 -3
- package/dist/components/kup-pdf.js +3 -3
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +18 -18
- package/dist/components/kup-probe.js +3 -3
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -3
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +3 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +3 -3
- package/dist/components/kup-typography-list.js +3 -3
- package/dist/components/kup-typography.js +4 -4
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-f4797086.js → p-23d0f0c7.js} +1 -1
- package/dist/components/{p-3a56a01b.js → p-2cb9fa58.js} +4 -4
- package/dist/components/{p-a52b0e92.js → p-3757ff31.js} +1 -1
- package/dist/components/{p-c9135ac0.js → p-5b1056e4.js} +7 -7
- package/dist/components/{p-9d9181cf.js → p-60e697f5.js} +127 -7
- package/dist/components/{p-28f6440c.js → p-767fcf91.js} +1 -1
- package/dist/components/{p-5155623a.js → p-87285464.js} +2 -2
- package/dist/components/{p-6cc3382e.js → p-944332b6.js} +3 -3
- package/dist/components/{p-a1ae4c21.js → p-97fceaf7.js} +17 -17
- package/dist/components/{p-1bb114b8.js → p-980686db.js} +14 -14
- package/dist/components/{p-9471f708.js → p-9a502c5d.js} +2 -2
- package/dist/components/{p-43275b92.js → p-9a617844.js} +3 -3
- package/dist/components/{p-7a243c51.js → p-9d13f3da.js} +4 -4
- package/dist/components/{p-fdb5e8d3.js → p-a4f3d24a.js} +2 -2
- package/dist/components/{p-32c28a10.js → p-aa882232.js} +2 -2
- package/dist/components/{p-ca202cfa.js → p-bbb25c58.js} +1 -1
- package/dist/components/{p-86464a43.js → p-bdecbc93.js} +5 -5
- package/dist/components/{p-0b4e99fd.js → p-cbc6b3d5.js} +2 -2
- package/dist/components/{p-395ac5ac.js → p-dc1ce1b4.js} +1 -1
- package/dist/components/{p-e02d95bf.js → p-decce077.js} +3 -3
- package/dist/components/{p-40202dad.js → p-e39b777a.js} +1 -1
- package/dist/components/{p-a1390144.js → p-f3faa212.js} +110 -342
- package/dist/esm/{f-cell-f31f34a8.js → f-cell-1b71c02b.js} +4 -4
- package/dist/esm/{f-chip-9d6113fe.js → f-chip-d553e330.js} +1 -1
- package/dist/esm/{f-object-field-0c2013c8.js → f-object-field-e6839071.js} +2 -2
- package/dist/esm/{f-paginator-utils-8314bf54.js → f-paginator-utils-74a15114.js} +1 -1
- package/dist/esm/{f-text-field-371b1b43.js → f-text-field-05735cbc.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +7 -8
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +116 -344
- package/dist/esm/kup-box.entry.js +8 -8
- package/dist/esm/kup-calendar.entry.js +5 -5
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +8 -8
- package/dist/esm/kup-custom-task-list-header_4.entry.js +8 -8
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/{kup-data-table-helper-04404034.js → kup-data-table-helper-1d14120b.js} +2 -2
- package/dist/esm/{kup-dates-77f1a451.js → kup-dates-964cc4dd.js} +127 -7
- package/dist/esm/kup-drawer.entry.js +4 -4
- package/dist/esm/kup-echart.entry.js +3 -3
- package/dist/esm/kup-editor.entry.js +3 -3
- package/dist/esm/kup-family-tree.entry.js +21 -26
- package/dist/esm/kup-gantt_10.entry.js +25 -25
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-htm.entry.js +3 -3
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +8 -8
- package/dist/esm/kup-lazy.entry.js +13 -13
- package/dist/esm/kup-magic-box.entry.js +5 -5
- package/dist/esm/{kup-manager-9ccdaa27.js → kup-manager-d7b61781.js} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +3 -3
- package/dist/esm/kup-numeric-picker.entry.js +4 -4
- package/dist/esm/kup-object-field.entry.js +5 -5
- package/dist/esm/kup-pdf.entry.js +3 -3
- package/dist/esm/{kup-planner-renderer-helper-373880b5.js → kup-planner-renderer-helper-64388bf8.js} +1 -1
- package/dist/esm/kup-planner-renderer.entry.js +4 -4
- package/dist/esm/kup-planner.entry.js +4 -4
- package/dist/esm/kup-probe.entry.js +3 -3
- package/dist/esm/kup-qlik.entry.js +3 -3
- package/dist/esm/kup-snackbar.entry.js +3 -3
- package/dist/esm/kup-txt.entry.js +3 -3
- package/dist/esm/kup-typography-list.entry.js +3 -3
- package/dist/esm/kup-typography.entry.js +4 -4
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-9249bf18.entry.js → p-0b674619.entry.js} +1 -1
- package/dist/ketchup/{p-be04cb85.entry.js → p-0e070e9c.entry.js} +1 -1
- package/dist/ketchup/p-0f97523f.entry.js +1 -0
- package/dist/ketchup/{p-74c6c382.js → p-13118466.js} +1 -1
- package/dist/ketchup/{p-f8aefe67.js → p-17f0cc01.js} +1 -1
- package/dist/ketchup/p-1e381f3d.js +1 -0
- package/dist/ketchup/{p-01fd9784.entry.js → p-1f9a5de9.entry.js} +1 -1
- package/dist/ketchup/{p-37d0e9e4.entry.js → p-207f8882.entry.js} +1 -1
- package/dist/ketchup/{p-43f50ba7.entry.js → p-273c4680.entry.js} +2 -2
- package/dist/ketchup/{p-17c33bed.entry.js → p-33699a63.entry.js} +1 -1
- package/dist/ketchup/{p-cabebabc.js → p-36edcc02.js} +1 -1
- package/dist/ketchup/{p-5f645f29.js → p-37390512.js} +1 -1
- package/dist/ketchup/p-3a9c45ff.entry.js +1 -0
- package/dist/ketchup/{p-8655b58a.entry.js → p-3ed784eb.entry.js} +1 -1
- package/dist/ketchup/{p-63dd560e.entry.js → p-47023eae.entry.js} +1 -1
- package/dist/ketchup/p-53570ac4.entry.js +1 -0
- package/dist/ketchup/p-5445b692.entry.js +1 -0
- package/dist/ketchup/{p-3357aa91.entry.js → p-551b95a9.entry.js} +1 -1
- package/dist/ketchup/{p-ecf63f95.entry.js → p-5540dd04.entry.js} +1 -1
- package/dist/ketchup/{p-b83c852d.entry.js → p-57b060e2.entry.js} +1 -1
- package/dist/ketchup/{p-885d0dd0.js → p-5c4b3914.js} +1 -1
- package/dist/ketchup/{p-6bf3ff2f.js → p-642fe1a3.js} +1 -1
- package/dist/ketchup/{p-c1257bb0.entry.js → p-6e8db402.entry.js} +1 -1
- package/dist/ketchup/{p-c8b6b65c.entry.js → p-798483ff.entry.js} +1 -1
- package/dist/ketchup/{p-8a291991.entry.js → p-79db04f9.entry.js} +1 -1
- package/dist/ketchup/{p-6766ca18.entry.js → p-87ab01df.entry.js} +2 -2
- package/dist/ketchup/{p-43e37416.js → p-9ef3e0eb.js} +1 -1
- package/dist/ketchup/p-ab080458.js +1 -0
- package/dist/ketchup/{p-6a59894e.entry.js → p-affac568.entry.js} +1 -1
- package/dist/ketchup/{p-da6ecaf5.entry.js → p-c875e6bb.entry.js} +1 -1
- package/dist/ketchup/{p-da6e388e.entry.js → p-c91a8416.entry.js} +1 -1
- package/dist/ketchup/{p-b6647af5.entry.js → p-cdd4c014.entry.js} +1 -1
- package/dist/ketchup/{p-a14160c1.entry.js → p-d09f2ae6.entry.js} +1 -1
- package/dist/ketchup/p-d2b66322.entry.js +1 -0
- package/dist/ketchup/p-da4f1ade.entry.js +1 -0
- package/dist/ketchup/{p-d3baddb1.entry.js → p-db78ec98.entry.js} +1 -1
- package/dist/ketchup/{p-346b17b4.entry.js → p-e333d2e1.entry.js} +1 -1
- package/dist/ketchup/{p-b803bf4b.entry.js → p-ebd8a151.entry.js} +2 -2
- package/dist/ketchup/{p-6ae996e1.entry.js → p-ed788afb.entry.js} +2 -2
- package/dist/ketchup/{p-26c10598.entry.js → p-ed961274.entry.js} +1 -1
- package/dist/ketchup/p-fde49142.entry.js +8 -0
- package/dist/types/components/kup-accordion/kup-accordion.d.ts +0 -5
- package/dist/types/components/kup-data-table/kup-data-table-state.d.ts +2 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +2 -4
- package/dist/types/components/kup-tab-bar/kup-tab-bar.d.ts +0 -5
- package/dist/types/components.d.ts +4 -23
- package/dist/types/managers/kup-dates/kup-dates.d.ts +10 -2
- package/package.json +1 -1
- package/dist/ketchup/p-87d242df.js +0 -1
- package/dist/ketchup/p-91846c17.entry.js +0 -1
- package/dist/ketchup/p-93dcbb39.js +0 -1
- package/dist/ketchup/p-99ff9e9c.entry.js +0 -1
- package/dist/ketchup/p-a6a12568.entry.js +0 -1
- package/dist/ketchup/p-b0c9b55c.entry.js +0 -1
- package/dist/ketchup/p-b780f3c6.entry.js +0 -1
- package/dist/ketchup/p-cfe822a5.entry.js +0 -1
- package/dist/ketchup/p-dcb80cbc.entry.js +0 -8
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement$1, F as Fragment, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, M as ShowGrid, T as TotalLabel, N as TotalMode, O as getRegExpFromString, Q as isNegativeNumber, R as FCellClasses, U as kupDynamicPositionAttribute, V as KupPointerEventTypes, W as kupDraggableColumnAttr, X as kupDragActiveAttr, Y as KupDragEffect, Z as kupDraggableCellAttr, _ as KupDropEventTypes, $ as DataTableAreasEnum, a0 as TypesToDuplicate, a1 as FixedCellsClasses, a2 as FixedCellsCSSVarsBase, a3 as KupLanguageFontsize, a4 as KupLanguageDensity, a5 as KupLanguageGrid, a6 as KupDataTableProps, a7 as UseAsValue, a8 as SortMode, a9 as iconColumn, aa as keyColumn, ab as fieldColumn, ac as KupLanguageUpload, ad as FCellTypes, ae as KupListRole, af as KupListProps, ag as addColumnValueFromRow, ah as KupGlobalFilterMode } from './kup-manager-
|
|
3
|
-
import { F as FTextField } from './f-text-field-
|
|
2
|
+
import { k as kupManagerInstance, I as ItemsDisplayMode, a as KupComponentSizing, g as getProps, s as setProps, b as KupLanguageGeneric, c as getSizeOfInputElement, d as KupThemeIconValues, e as KupDynamicPositionPlacement, f as KupThemeColorValues, h as KupDebugCategory, F as FCellShapes, i as FCellPadding, j as fillString, l as KupCardBuiltInClockElements, m as KupCardCSSClasses, n as KupLanguageTotals, o as KupLanguageColumn, p as KupDataNewColumnTypes, q as KupCardSubEvents, r as KupCardIds, t as KupLanguageRow, u as KupLanguageSearch, v as KupCardFamily, w as KupCardProps, x as getColumnByName, y as formatToNumber, z as KupObjects, A as identify, G as GroupLabelDisplayMode, S as SelectionMode, B as KupLanguageGrouping, C as KupLanguageCheckbox, D as getValueForDisplay2, E as Filters, H as getValueForDisplay, J as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, M as ShowGrid, T as TotalLabel, N as TotalMode, O as getRegExpFromString, Q as isNegativeNumber, R as FCellClasses, U as kupDynamicPositionAttribute, V as KupPointerEventTypes, W as kupDraggableColumnAttr, X as kupDragActiveAttr, Y as KupDragEffect, Z as kupDraggableCellAttr, _ as KupDropEventTypes, $ as DataTableAreasEnum, a0 as TypesToDuplicate, a1 as FixedCellsClasses, a2 as FixedCellsCSSVarsBase, a3 as KupLanguageFontsize, a4 as KupLanguageDensity, a5 as KupLanguageGrid, a6 as KupDataTableProps, a7 as UseAsValue, a8 as SortMode, a9 as iconColumn, aa as keyColumn, ab as fieldColumn, ac as KupLanguageUpload, ad as FCellTypes, ae as KupListRole, af as KupListProps, ag as addColumnValueFromRow, ah as KupGlobalFilterMode } from './kup-manager-d7b61781.js';
|
|
3
|
+
import { F as FTextField } from './f-text-field-05735cbc.js';
|
|
4
4
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
5
|
-
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-
|
|
5
|
+
import { g as getIdOfItemByDisplayMode, c as consistencyCheck, F as FChipType, a as FChipSize, b as FChipStyling, d as FChip } from './f-chip-d553e330.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import { F as FImage } from './f-image-96ea1421.js';
|
|
8
8
|
import { F as FButton } from './f-button-6298565d.js';
|
|
9
9
|
import { F as FButtonAlign, a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
10
|
-
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-
|
|
11
|
-
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-
|
|
10
|
+
import { F as FCell, a as FRadio, b as FRating, c as FSwitchSizing, d as FSwitch } from './f-cell-1b71c02b.js';
|
|
11
|
+
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-964cc4dd.js';
|
|
12
12
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
13
13
|
import { F as FCheckbox } from './f-checkbox-191ec2e7.js';
|
|
14
|
-
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-
|
|
15
|
-
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-
|
|
16
|
-
import './f-object-field-
|
|
14
|
+
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-1d14120b.js';
|
|
15
|
+
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-74a15114.js';
|
|
16
|
+
import './f-object-field-e6839071.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props of the kup-autocomplete component.
|
|
@@ -408,7 +408,7 @@ const KupAutocomplete = class {
|
|
|
408
408
|
};
|
|
409
409
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
410
410
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
411
|
-
return (h(Host, { key: '
|
|
411
|
+
return (h(Host, { key: 'ba27aa4bc6759aec2f01a404117c115e7aa7849f', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, h("style", { key: 'b4b0bd1e49208182acf4681b8c3764883e41d3c8' }, __classPrivateFieldGet$b(this, _KupAutocomplete_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '2b227672c21f3fedc690cdeb36cd5fb129928567', id: componentWrapperId, style: __classPrivateFieldGet$b(this, _KupAutocomplete_elStyle, "f") }, h(FTextField, Object.assign({ key: '4e62a1c01fc2691d74b3bc257ffb4c63f93acb04' }, props, { icon: this.showDropDownIcon
|
|
412
412
|
? KupThemeIconValues.SEARCH
|
|
413
413
|
: null, trailingIcon: true }, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupClick(), onChange: (e) => this.onKupChangeSubmit(e.target.value, this.kupChange), onFocus: () => this.onKupFocus(), onInput: () => {
|
|
414
414
|
window.clearTimeout(__classPrivateFieldGet$b(this, _KupAutocomplete_inputTimeout, "f"));
|
|
@@ -596,9 +596,9 @@ const KupBadge = class {
|
|
|
596
596
|
if (!this.imageData.color) {
|
|
597
597
|
this.imageData.color = `var(${KupThemeColorValues.TEXT_ON_PRIMARY})`;
|
|
598
598
|
}
|
|
599
|
-
imageEl = h(FImage, Object.assign({ key: '
|
|
599
|
+
imageEl = h(FImage, Object.assign({ key: '631e9d6e04fff403011f8255cd12315bb93a55b0' }, this.imageData));
|
|
600
600
|
}
|
|
601
|
-
return (h(Host, { key: '
|
|
601
|
+
return (h(Host, { key: 'deb3044ae43143737c21cd5641946f5205364a94' }, h("style", { key: '5c6b24c2b38257a8d3565fe7cd35d8214de0361c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1c2faa7d553f4f5f689c71ffc9c1f2632aa79ffc', id: componentWrapperId, class: this.type, onClick: () => this.onKupClick() }, this.text, imageEl)));
|
|
602
602
|
}
|
|
603
603
|
disconnectedCallback() {
|
|
604
604
|
this.kupManager.theme.unregister(this);
|
|
@@ -1124,7 +1124,7 @@ const KupButtonList = class {
|
|
|
1124
1124
|
'button-list--container': true,
|
|
1125
1125
|
'show-selection': this.showSelection && this.selected ? true : false,
|
|
1126
1126
|
};
|
|
1127
|
-
return (h(Host, { key: '
|
|
1127
|
+
return (h(Host, { key: '2e33423f2642435785fddd9367b95b5b36b3d427', style: hostStyle }, h("style", { key: '9b8e61b4515b6bf6d4f469b14e87e6743f785384' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '08d5b7f3fdd65e332e202dbc5eba22e04712e121', id: componentWrapperId }, h("div", { key: '95efb3149003ba19ca3db795fb7457deef78ccc2', class: classObj }, buttons))));
|
|
1128
1128
|
}
|
|
1129
1129
|
disconnectedCallback() {
|
|
1130
1130
|
this.kupManager.theme.unregister(this);
|
|
@@ -4330,9 +4330,7 @@ function create12(component) {
|
|
|
4330
4330
|
buttonsIds.includes(KupColumnMenuIds.BUTTON_REMOVE) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id === KupColumnMenuIds.BUTTON_REMOVE)))) : null,
|
|
4331
4331
|
buttonsIds.includes(KupColumnMenuIds.BUTTON_GROUP) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id === KupColumnMenuIds.BUTTON_GROUP)))) : null,
|
|
4332
4332
|
buttonsIds.includes(KupColumnMenuIds.BUTTON_ADD_COLUMNS) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id === KupColumnMenuIds.BUTTON_ADD_COLUMNS)))) : null,
|
|
4333
|
-
buttonsIds.includes(KupColumnMenuIds.TOTALS_TABLE) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id === KupColumnMenuIds.TOTALS_TABLE)))) : null,
|
|
4334
|
-
buttonsIds.includes(KupColumnMenuIds.BACK_TO_ORIGINAL_TABLE) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4335
|
-
KupColumnMenuIds.BACK_TO_ORIGINAL_TABLE)))) : null)) : null,
|
|
4333
|
+
buttonsIds.includes(KupColumnMenuIds.TOTALS_TABLE) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id === KupColumnMenuIds.TOTALS_TABLE)))) : null)) : null,
|
|
4336
4334
|
h("div", { class: `section-2 ${textfieldArray.length > 0 ||
|
|
4337
4335
|
datepickerArray.length > 0 ||
|
|
4338
4336
|
timepickerArray.length > 0
|
|
@@ -4523,9 +4521,7 @@ function create14(component) {
|
|
|
4523
4521
|
buttonsIds.includes(KupColumnMenuIds.BUTTON_GROUP) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4524
4522
|
KupColumnMenuIds.BUTTON_GROUP)))) : null,
|
|
4525
4523
|
buttonsIds.includes(KupColumnMenuIds.TOTALS_TABLE) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4526
|
-
KupColumnMenuIds.TOTALS_TABLE)))) : null,
|
|
4527
|
-
buttonsIds.includes(KupColumnMenuIds.BACK_TO_ORIGINAL_TABLE) ? (h("kup-button", Object.assign({}, buttonArray.find((x) => x.id ===
|
|
4528
|
-
KupColumnMenuIds.BACK_TO_ORIGINAL_TABLE)))) : null),
|
|
4524
|
+
KupColumnMenuIds.TOTALS_TABLE)))) : null),
|
|
4529
4525
|
h("div", { class: "sub-formula" }, textfieldsIds.includes(KupColumnMenuIds.TEXTFIELD_FORMULA) ? (h("kup-text-field", Object.assign({}, textfieldArray.find((x) => x.id ===
|
|
4530
4526
|
KupColumnMenuIds.TEXTFIELD_FORMULA)))) : null),
|
|
4531
4527
|
h("div", { class: "sub-chip" },
|
|
@@ -6929,7 +6925,7 @@ const KupCheckbox = class {
|
|
|
6929
6925
|
onChange: () => this.onKupChange(),
|
|
6930
6926
|
onFocus: () => this.onKupFocus(),
|
|
6931
6927
|
};
|
|
6932
|
-
return (h(Host, { key: '
|
|
6928
|
+
return (h(Host, { key: 'e9ae5aebfd2af1118ae192ec128bd53c8ff5d98f' }, h("style", { key: 'a456c51564d6f1d8c33ec57b6fa976a7aa5d163a' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'acf560b2746b2a3583a24e63eddbb3bf6782329e', id: componentWrapperId }, h(FCheckbox, Object.assign({ key: '99e4d2511e118b5482f29348b036ded7de772ba6' }, props)))));
|
|
6933
6929
|
}
|
|
6934
6930
|
disconnectedCallback() {
|
|
6935
6931
|
this.kupManager.theme.unregister(this);
|
|
@@ -7154,7 +7150,7 @@ const KupChip = class {
|
|
|
7154
7150
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
7155
7151
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
7156
7152
|
}
|
|
7157
|
-
return (h(Host, { key: '
|
|
7153
|
+
return (h(Host, { key: '092919df319761de61a7e6535f0dd18976463c6c', "onKup-autocomplete-itemclick": (e) => {
|
|
7158
7154
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7159
7155
|
}, "onKup-combobox-itemclick": (e) => {
|
|
7160
7156
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
@@ -7164,7 +7160,7 @@ const KupChip = class {
|
|
|
7164
7160
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7165
7161
|
}, "onKup-textfield-submit": (e) => {
|
|
7166
7162
|
__classPrivateFieldGet$a(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
7167
|
-
} }, h("style", { key: '
|
|
7163
|
+
} }, h("style", { key: '3cc916a8db665b151f59f4224d5f6f168268f842' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '57500014b7c3f0fe98add9eb950fa88615e6eec0', id: componentWrapperId }, this.label ? (h("div", { class: "mdc-text-field__label-container" }, h("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h(FChip, Object.assign({}, props)) : null, h("slot", { key: '92f0d3996bddacc0be40eab0298c4716de3783c1', name: "field" }))));
|
|
7168
7164
|
}
|
|
7169
7165
|
disconnectedCallback() {
|
|
7170
7166
|
this.kupManager.theme.unregister(this);
|
|
@@ -7467,7 +7463,7 @@ const KupColorPicker = class {
|
|
|
7467
7463
|
render() {
|
|
7468
7464
|
let widget = null;
|
|
7469
7465
|
if (this.swatchOnly) {
|
|
7470
|
-
widget = (h("button", { key: '
|
|
7466
|
+
widget = (h("button", { key: '53494c2aafc0f501a66f44206e331f8f49ec9a91', disabled: this.disabled, class: "color-picker", onClick: () => this.openPicker(), style: {
|
|
7471
7467
|
backgroundColor: this.value,
|
|
7472
7468
|
}, type: "button" }));
|
|
7473
7469
|
}
|
|
@@ -7477,7 +7473,7 @@ const KupColorPicker = class {
|
|
|
7477
7473
|
const style = {
|
|
7478
7474
|
['--kup_colorpicker_thumb_color']: this.value ? this.value : '',
|
|
7479
7475
|
};
|
|
7480
|
-
return (h(Host, { key: '
|
|
7476
|
+
return (h(Host, { key: 'd091aa33b406c09bad8b13a782807875f509eaed', style: style }, h("style", { key: 'dc9c6643843dfabb1301b78d8c9fb2f788fe415f' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '663a675c44dd8af1d729e267782c07d13b9ae039', id: componentWrapperId }, widget)));
|
|
7481
7477
|
}
|
|
7482
7478
|
disconnectedCallback() {
|
|
7483
7479
|
if (this.card) {
|
|
@@ -7849,7 +7845,7 @@ const KupCombobox = class {
|
|
|
7849
7845
|
};
|
|
7850
7846
|
const fullHeight = this.rootElement.classList.contains('kup-full-height');
|
|
7851
7847
|
const fullWidth = this.rootElement.classList.contains('kup-full-width');
|
|
7852
|
-
return (h(Host, { key: '
|
|
7848
|
+
return (h(Host, { key: '8bb8eace416a6799a32f5d5222759ead3525ed7d', class: `${fullHeight ? 'kup-full-height' : ''} ${fullWidth ? 'kup-full-width' : ''}`, style: __classPrivateFieldGet$9(this, _KupCombobox_elStyle, "f") }, h("style", { key: 'bf9817caafcbd303719c862f4f84111ef6da27c1' }, __classPrivateFieldGet$9(this, _KupCombobox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '1052268f4d6e8227b3fdc6c6a25ea2004f21d197', id: componentWrapperId, style: __classPrivateFieldGet$9(this, _KupCombobox_elStyle, "f") }, h(FTextField, Object.assign({ key: 'df2cf6672cfe3c9360476df936cedff6449861b6' }, props, this.data['kup-text-field'], { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, trailingIcon: true, icon: this.showDropDownIcon
|
|
7853
7849
|
? KupThemeIconValues.DROPDOWN
|
|
7854
7850
|
: null, value: this.displayedValue, onBlur: () => this.onKupBlur(), onClick: () => this.onKupIconClick(), onChange: (e) => this.onKupChange(e.target.value), onFocus: () => this.onKupFocus(), onInput: () => this.onKupInput(), onIconClick: () => this.onKupIconClick(), onClearIconClick: () => this.onKupClearIconClick() }))), __classPrivateFieldGet$9(this, _KupCombobox_instances, "m", _KupCombobox_prepList).call(this)));
|
|
7855
7851
|
}
|
|
@@ -7961,6 +7957,7 @@ class KupDataTableState {
|
|
|
7961
7957
|
this.showFooter = false;
|
|
7962
7958
|
this.load = false;
|
|
7963
7959
|
this.visibleColumns = undefined;
|
|
7960
|
+
this.pendingRowsToUpdate = [];
|
|
7964
7961
|
}
|
|
7965
7962
|
toDebugString() {
|
|
7966
7963
|
// TODO
|
|
@@ -8119,17 +8116,6 @@ class KupColumnMenu {
|
|
|
8119
8116
|
id: KupColumnMenuIds.TOTALS_TABLE,
|
|
8120
8117
|
title: dom$3.ketchup.language.translate(KupLanguageGeneric.TOTALS_TABLE),
|
|
8121
8118
|
});
|
|
8122
|
-
if (comp.totalsMatrixView) {
|
|
8123
|
-
props.push({
|
|
8124
|
-
className: 'printable',
|
|
8125
|
-
'data-storage': {
|
|
8126
|
-
columnName: column.name,
|
|
8127
|
-
},
|
|
8128
|
-
icon: 'table-large',
|
|
8129
|
-
id: KupColumnMenuIds.BACK_TO_ORIGINAL_TABLE,
|
|
8130
|
-
title: dom$3.ketchup.language.translate(KupLanguageGeneric.BACK_TO_ORIGINAL_TABLE),
|
|
8131
|
-
});
|
|
8132
|
-
}
|
|
8133
8119
|
}
|
|
8134
8120
|
}
|
|
8135
8121
|
return props;
|
|
@@ -8469,7 +8455,7 @@ class KupColumnMenu {
|
|
|
8469
8455
|
* @param {KupDataTable | KupTree} comp - Component using the column menu.
|
|
8470
8456
|
*/
|
|
8471
8457
|
eventHandlers(cardEvent, comp, columnName) {
|
|
8472
|
-
var _a;
|
|
8458
|
+
var _a, _b;
|
|
8473
8459
|
const card = cardEvent.detail.card
|
|
8474
8460
|
? cardEvent.detail.card
|
|
8475
8461
|
: cardEvent.detail.comp.rootElement;
|
|
@@ -8536,20 +8522,15 @@ class KupColumnMenu {
|
|
|
8536
8522
|
case 'kup-textfield-input':
|
|
8537
8523
|
case 'kup-timepicker-input':
|
|
8538
8524
|
case 'kup-timepicker-itemclick':
|
|
8539
|
-
|
|
8540
|
-
comp.
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8547
|
-
|
|
8548
|
-
if ((_a = card.data) === null || _a === void 0 ? void 0 : _a.checkbox) {
|
|
8549
|
-
card.data.checkbox = this.prepCheckbox(comp, dataStorage['column']);
|
|
8550
|
-
card.refresh();
|
|
8551
|
-
}
|
|
8552
|
-
}, 300);
|
|
8525
|
+
/** removed timeout management, the filter works well with 10000 values */
|
|
8526
|
+
this.textfieldChange(comp, compEvent.detail.value, dataStorage['column']);
|
|
8527
|
+
if (isClickEvent) {
|
|
8528
|
+
this.saveTextualFilters(comp, dataStorage['column']);
|
|
8529
|
+
}
|
|
8530
|
+
if ((_a = card.data) === null || _a === void 0 ? void 0 : _a.checkbox) {
|
|
8531
|
+
card.data.checkbox = this.prepCheckbox(comp, dataStorage['column']);
|
|
8532
|
+
card.refresh();
|
|
8533
|
+
}
|
|
8553
8534
|
break;
|
|
8554
8535
|
}
|
|
8555
8536
|
//#endregion
|
|
@@ -8568,12 +8549,7 @@ class KupColumnMenu {
|
|
|
8568
8549
|
break;
|
|
8569
8550
|
case KupColumnMenuIds.TOTALS_TABLE:
|
|
8570
8551
|
comp.closeColumnMenu().then(() => {
|
|
8571
|
-
comp.
|
|
8572
|
-
});
|
|
8573
|
-
break;
|
|
8574
|
-
case KupColumnMenuIds.BACK_TO_ORIGINAL_TABLE:
|
|
8575
|
-
comp.closeColumnMenu().then(() => {
|
|
8576
|
-
comp.toggleTotalsMatrix(columnName, false);
|
|
8552
|
+
comp.kupDataTableTotalsMatrixRequest.emit(columnName);
|
|
8577
8553
|
});
|
|
8578
8554
|
break;
|
|
8579
8555
|
}
|
|
@@ -8596,7 +8572,7 @@ class KupColumnMenu {
|
|
|
8596
8572
|
break;
|
|
8597
8573
|
}
|
|
8598
8574
|
//#endregion
|
|
8599
|
-
if (((
|
|
8575
|
+
if (((_b = card.data) === null || _b === void 0 ? void 0 : _b.checkbox) && (dataStorage === null || dataStorage === void 0 ? void 0 : dataStorage['column'])) {
|
|
8600
8576
|
card.data.checkbox = this.prepCheckbox(comp, dataStorage['column']);
|
|
8601
8577
|
card.refresh();
|
|
8602
8578
|
}
|
|
@@ -8709,7 +8685,7 @@ var __classPrivateFieldSet$4 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
8709
8685
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
8710
8686
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
8711
8687
|
};
|
|
8712
|
-
var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId,
|
|
8688
|
+
var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_rows, _KupDataTable_rowsLength, _KupDataTable_paginatedRows, _KupDataTable_paginatedRowsLength, _KupDataTable_footer, _KupDataTable_kupManager, _KupDataTable_renderedRows, _KupDataTable_loadMoreEventCounter, _KupDataTable_loadMoreEventPreviousQuantity, _KupDataTable_theadRef, _KupDataTable_tableRef, _KupDataTable_originalData, _KupDataTable_originalDataLoaded, _KupDataTable_originalDataLoadedMaxId, _KupDataTable_insertedRowIds, _KupDataTable_modifiedRowsIds, _KupDataTable_tableAreaRef, _KupDataTable_stickyTheadRef, _KupDataTable_lastPointerDetails, _KupDataTable_customizeTopButtonRef, _KupDataTable_customizeTopPanelRef, _KupDataTable_sizedColumns, _KupDataTable_intObserver, _KupDataTable_navBarHeight, _KupDataTable_theadIntersecting, _KupDataTable_tableIntersecting, _KupDataTable_isSafariBrowser, _KupDataTable_isRestoringState, _KupDataTable_globalFilterTimeout, _KupDataTable_totalMenuCoords, _KupDataTable_clickTimeout, _KupDataTable_thRefs, _KupDataTable_rowsRefs, _KupDataTable_oldWidth, _KupDataTable_hold, _KupDataTable_interactableDrag, _KupDataTable_interactableDrop, _KupDataTable_interactableResize, _KupDataTable_interactableTouch, _KupDataTable_dropareaRef, _KupDataTable_removeDropareaRef, _KupDataTable_groupsDropareaRef, _KupDataTable_clickCb, _KupDataTable_clickCbCustomPanel, _KupDataTable_clickCbDropCard, _KupDataTable_resizeTimeout, _KupDataTable_columnMenuInstance, _KupDataTable_filtersColumnMenuInstance, _KupDataTable_filtersRowsInstance, _KupDataTable_detailCard, _KupDataTable_insertCard, _KupDataTable_actionsCard, _KupDataTable_confirmDeleteCard, _KupDataTable_confirmDeleteDialog, _KupDataTable_columnMenuCard, _KupDataTable_columnDropCard, _KupDataTable_columnDropCardAnchor, _KupDataTable_dropDownActionCardAnchor, _KupDataTable_insertCount, _KupDataTable_lastFocusedColumn, _KupDataTable_lastFocusedCell, _KupDataTable_lastFocusedRow, _KupDataTable_maxRowsPerPage, _KupDataTable_readyPromise, _KupDataTable_readyResolve, _KupDataTable_BUTTON_CANCEL_ID, _KupDataTable_BUTTON_SUBMIT_ID, _KupDataTable_FIELDS_FORM_ID, _KupDataTable_MESSAGE_ID, _KupDataTable_MESSAGE_WRAPPER_ID, _KupDataTable_INSERT_PREFIX, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, _KupDataTable_insertNewColumnInVisibleColumnsList, _KupDataTable_closeDropCard, _KupDataTable_createDropCard, _KupDataTable_calculateData, _KupDataTable_getRow, _KupDataTable__getRow, _KupDataTable_getTransposedData, _KupDataTable_setTransposedData, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderOtherButtons, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified, _KupDataTable_arraysContainSameElements;
|
|
8713
8689
|
const dom$2 = document.documentElement;
|
|
8714
8690
|
const KupDataTable = class {
|
|
8715
8691
|
constructor(hostRef) {
|
|
@@ -8741,6 +8717,7 @@ const KupDataTable = class {
|
|
|
8741
8717
|
this.kupDataTableObjectFieldSearchPayload = createEvent(this, "kup-datatable-objectfield-searchpayload", 6);
|
|
8742
8718
|
this.kupDataTableObjectFieldOpenSearchMenu = createEvent(this, "kup-datatable-objectfield-opensearchmenu", 6);
|
|
8743
8719
|
this.kupDataTableObjectFieldSelectedMenuItem = createEvent(this, "kup-datatable-objectfield-selectedmenuitem", 6);
|
|
8720
|
+
this.kupDataTableTotalsMatrixRequest = createEvent(this, "kup-datatable-totals-matrix", 6);
|
|
8744
8721
|
_KupDataTable_instances.add(this);
|
|
8745
8722
|
this.state = new KupDataTableState();
|
|
8746
8723
|
_KupDataTable_initialized.set(this, false);
|
|
@@ -8774,13 +8751,6 @@ const KupDataTable = class {
|
|
|
8774
8751
|
* contains the id greater value in #originalDataLoaded
|
|
8775
8752
|
*/
|
|
8776
8753
|
_KupDataTable_originalDataLoadedMaxId.set(this, void 0);
|
|
8777
|
-
/**
|
|
8778
|
-
* variables keeping track of the matrix properties before the totals view
|
|
8779
|
-
*/
|
|
8780
|
-
_KupDataTable_beforeTotalMatrixData.set(this, undefined);
|
|
8781
|
-
_KupDataTable_beforeTotalMatrixGroups.set(this, undefined);
|
|
8782
|
-
_KupDataTable_beforeTotalMatrixTotals.set(this, undefined);
|
|
8783
|
-
_KupDataTable_beforeTotalMatrixVisibleColumns.set(this, undefined);
|
|
8784
8754
|
/**
|
|
8785
8755
|
* contains the id greater value in #originalDataLoaded
|
|
8786
8756
|
*/
|
|
@@ -9036,12 +9006,10 @@ const KupDataTable = class {
|
|
|
9036
9006
|
this.currentRowsPerPage = 50;
|
|
9037
9007
|
this.selectedRows = [];
|
|
9038
9008
|
this.selectedColumn = undefined;
|
|
9039
|
-
this.columnMenuAnchor = null;
|
|
9040
9009
|
this.groupState = {};
|
|
9041
9010
|
this.openedTotalMenu = null;
|
|
9042
9011
|
this.openedCustomSettings = false;
|
|
9043
9012
|
this.fontsize = 'small';
|
|
9044
|
-
this.totalsMatrixView = false;
|
|
9045
9013
|
}
|
|
9046
9014
|
initWithPersistedState() {
|
|
9047
9015
|
if (this.store && this.stateId) {
|
|
@@ -9127,20 +9095,35 @@ const KupDataTable = class {
|
|
|
9127
9095
|
}
|
|
9128
9096
|
decorateAndInitForUpdTable() {
|
|
9129
9097
|
var _a, _b, _c;
|
|
9098
|
+
if (this.updatableData) {
|
|
9099
|
+
__classPrivateFieldSet$4(this, _KupDataTable_originalDataLoaded, JSON.parse(JSON.stringify(this.data)), "f");
|
|
9100
|
+
__classPrivateFieldSet$4(this, _KupDataTable_originalDataLoadedMaxId, ((_a = __classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f").rows) === null || _a === void 0 ? void 0 : _a.length) > 0
|
|
9101
|
+
? Math.max(...__classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f").rows.map((r) => parseInt(r.id)))
|
|
9102
|
+
: -1, "f");
|
|
9103
|
+
if (this.state.pendingRowsToUpdate &&
|
|
9104
|
+
this.state.pendingRowsToUpdate.length > 0) {
|
|
9105
|
+
for (const row of this.state.pendingRowsToUpdate) {
|
|
9106
|
+
const originalDataRowIndex = this.data.rows.findIndex((dataRow) => dataRow.id === row.id // Row is SmeupDataRow and not Kup... using any for this type misalignment
|
|
9107
|
+
);
|
|
9108
|
+
if (originalDataRowIndex > -1) {
|
|
9109
|
+
this.data.rows[originalDataRowIndex].cells =
|
|
9110
|
+
structuredClone(row.cells);
|
|
9111
|
+
__classPrivateFieldGet$8(this, _KupDataTable_modifiedRowsIds, "f").push(`${originalDataRowIndex}`);
|
|
9112
|
+
}
|
|
9113
|
+
}
|
|
9114
|
+
this.state.pendingRowsToUpdate = [];
|
|
9115
|
+
}
|
|
9116
|
+
}
|
|
9130
9117
|
if (this.data['type'] === 'SmeupDataTable') {
|
|
9131
9118
|
decorateDataTable(this.data);
|
|
9132
9119
|
__classPrivateFieldSet$4(this, _KupDataTable_lastFocusedRow, this.data.rows[0], "f");
|
|
9133
9120
|
}
|
|
9134
9121
|
if (this.updatableData) {
|
|
9135
|
-
|
|
9136
|
-
this.selection = ((_b = (_a = this.data.setup) === null || _a === void 0 ? void 0 : _a.operations) === null || _b === void 0 ? void 0 : _b.delete)
|
|
9122
|
+
this.selection = ((_c = (_b = this.data.setup) === null || _b === void 0 ? void 0 : _b.operations) === null || _c === void 0 ? void 0 : _c.delete)
|
|
9137
9123
|
? SelectionMode.MULTIPLE_CHECKBOX
|
|
9138
9124
|
: this.selection;
|
|
9139
9125
|
__classPrivateFieldSet$4(this, _KupDataTable_insertedRowIds, [], "f");
|
|
9140
9126
|
__classPrivateFieldSet$4(this, _KupDataTable_modifiedRowsIds, [], "f");
|
|
9141
|
-
__classPrivateFieldSet$4(this, _KupDataTable_originalDataLoadedMaxId, ((_c = __classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f").rows) === null || _c === void 0 ? void 0 : _c.length) > 0
|
|
9142
|
-
? Math.max(...__classPrivateFieldGet$8(this, _KupDataTable_originalDataLoaded, "f").rows.map((r) => parseInt(r.id)))
|
|
9143
|
-
: -1, "f");
|
|
9144
9127
|
}
|
|
9145
9128
|
}
|
|
9146
9129
|
computeMaxRowsPerPage() {
|
|
@@ -9189,7 +9172,6 @@ const KupDataTable = class {
|
|
|
9189
9172
|
* Closes any opened column menu.
|
|
9190
9173
|
*/
|
|
9191
9174
|
async closeColumnMenu() {
|
|
9192
|
-
this.columnMenuAnchor = null;
|
|
9193
9175
|
if (__classPrivateFieldGet$8(this, _KupDataTable_columnMenuCard, "f")) {
|
|
9194
9176
|
__classPrivateFieldGet$8(this, _KupDataTable_columnMenuCard, "f").data = null;
|
|
9195
9177
|
}
|
|
@@ -9701,11 +9683,6 @@ const KupDataTable = class {
|
|
|
9701
9683
|
}
|
|
9702
9684
|
}
|
|
9703
9685
|
}
|
|
9704
|
-
async toggleTotalsMatrix(columnName, calculateTotals) {
|
|
9705
|
-
calculateTotals === true
|
|
9706
|
-
? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_switchToTotalsMatrix).call(this, columnName)
|
|
9707
|
-
: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_switchBackFromTotalsMatrix).call(this);
|
|
9708
|
-
}
|
|
9709
9686
|
//---- Lifecycle hooks ----
|
|
9710
9687
|
connectedCallback() {
|
|
9711
9688
|
__classPrivateFieldSet$4(this, _KupDataTable_readyPromise, new Promise((resolve) => {
|
|
@@ -10094,14 +10071,6 @@ const KupDataTable = class {
|
|
|
10094
10071
|
fontsize = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderFontSizePanel).call(this);
|
|
10095
10072
|
grid = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderGridPanel).call(this);
|
|
10096
10073
|
transpose = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderTransposeSwitch).call(this);
|
|
10097
|
-
if (this.totals && this.groups.length > 0) {
|
|
10098
|
-
// From original matrix to totalsMatrix
|
|
10099
|
-
totalsMatrix = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderTotalsMatrix).call(this);
|
|
10100
|
-
}
|
|
10101
|
-
if (this.totalsMatrixView) {
|
|
10102
|
-
// From totals matrix to original
|
|
10103
|
-
totalsMatrix = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderBackFromTotalsMatrix).call(this);
|
|
10104
|
-
}
|
|
10105
10074
|
}
|
|
10106
10075
|
return (h("kup-card", { customStyle: "::slotted(kup-switch) { width: max-content !important; } ::slotted(*) { margin: auto !important; } ::slotted(.customize-element) { margin: auto !important; padding: 0 1em 1em 1em !important; width: max-content !important; } ::slotted(.customize-element):nth-child(1) { padding-top: 1em !important; }", isMenu: true, layoutFamily: KupCardFamily.FREE, ref: (el) => {
|
|
10107
10076
|
__classPrivateFieldSet$4(this, _KupDataTable_customizeTopPanelRef, el, "f");
|
|
@@ -10154,7 +10123,7 @@ const KupDataTable = class {
|
|
|
10154
10123
|
__classPrivateFieldSet$4(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
10155
10124
|
let rows = null;
|
|
10156
10125
|
if (__classPrivateFieldGet$8(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
10157
|
-
rows = (h("tr", { key: '
|
|
10126
|
+
rows = (h("tr", { key: '992b95a9bc5a120dd934142a131b6f6f5b74b77f', ref: (el) => __classPrivateFieldGet$8(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '6b1b0b0b62873b578954b694599726a3b17a3031', colSpan: __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
10158
10127
|
}
|
|
10159
10128
|
else {
|
|
10160
10129
|
rows = [];
|
|
@@ -10230,7 +10199,7 @@ const KupDataTable = class {
|
|
|
10230
10199
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
10231
10200
|
});
|
|
10232
10201
|
}
|
|
10233
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
10202
|
+
groupChips = h(FChip, Object.assign({ key: '9a162a7803eb351e5614a9bd7482ef1c45942083' }, props));
|
|
10234
10203
|
}
|
|
10235
10204
|
}
|
|
10236
10205
|
const tableClass = {
|
|
@@ -10262,7 +10231,7 @@ const KupDataTable = class {
|
|
|
10262
10231
|
if (this.headerIsPersistent &&
|
|
10263
10232
|
this.tableHeight === undefined &&
|
|
10264
10233
|
this.tableWidth === undefined) {
|
|
10265
|
-
stickyEl = (h("sticky-header", { key: '
|
|
10234
|
+
stickyEl = (h("sticky-header", { key: '86054eb4ab8123b8176267c2426d059dc42e2a96', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: 'b5409c81cfd6cbd96780abfe579ef976f713738b' }, h("tr-sticky", { key: '5dfc144b389ea7b8c32e32342ae401a7edf6d218' }, stickyHeader))));
|
|
10266
10235
|
}
|
|
10267
10236
|
let belowClass = 'below-wrapper';
|
|
10268
10237
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10308,7 +10277,7 @@ const KupDataTable = class {
|
|
|
10308
10277
|
const useGlobalFilter = !this.legacyLook &&
|
|
10309
10278
|
(this.globalFilter ||
|
|
10310
10279
|
this.getRows().length > __classPrivateFieldGet$8(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10311
|
-
const compCreated = (h(Host, { key: '
|
|
10280
|
+
const compCreated = (h(Host, { key: 'a3ac1fd32279a4e8522370cf95cbb4c5b99a758a', "onKup-drop": (e) => {
|
|
10312
10281
|
this.kupDataTableDrop.emit(e.detail);
|
|
10313
10282
|
}, "onKup-cell-input": (e) => {
|
|
10314
10283
|
autoselectOnAction(e);
|
|
@@ -10327,11 +10296,11 @@ const KupDataTable = class {
|
|
|
10327
10296
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10328
10297
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10329
10298
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10330
|
-
} }, h("style", { key: '
|
|
10299
|
+
} }, h("style", { key: '16cabfec118d0c4d1c821452293808c062b71467' }, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), h("div", { key: 'e1d9c89998c53f676fef0bc3823c7c71ddf6af59', id: componentWrapperId, class: wrapClass }, h("div", { key: 'b75d083c7fd17aa22aef5e83ef62d9cd9d4d7f2f', class: "group-wrapper" }, groupChips), h("div", { key: '4fc8f34e1eb02050c22a4eab5246bc83b946ee44', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
10331
10300
|
const t = event.target;
|
|
10332
10301
|
window.clearTimeout(__classPrivateFieldGet$8(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10333
10302
|
__classPrivateFieldSet$4(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10334
|
-
} }))) : null, paginatorTop && (h("div", { key: '
|
|
10303
|
+
} }))) : null, paginatorTop && (h("div", { key: 'd809dcef661a1c3ea6999352bf72f529f898b3f7', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
10335
10304
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
10336
10305
|
this.kupSave.emit({
|
|
10337
10306
|
comp: this,
|
|
@@ -10381,9 +10350,9 @@ const KupDataTable = class {
|
|
|
10381
10350
|
this.data.rows.unshift(row);
|
|
10382
10351
|
await this.refresh(true);
|
|
10383
10352
|
}
|
|
10384
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
10353
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '0b16f28bee2cb0c4994bb388932aacb09d4259cd', class: "droparea", ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
10385
10354
|
? __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10386
|
-
: null), h("div", { key: '
|
|
10355
|
+
: null), h("div", { key: '2669c0b576295add74ca5d879fd7e9481e339a25', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10387
10356
|
? [
|
|
10388
10357
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
10389
10358
|
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10392,7 +10361,7 @@ const KupDataTable = class {
|
|
|
10392
10361
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10393
10362
|
this.renderCustomizePanel(),
|
|
10394
10363
|
]
|
|
10395
|
-
: null, h("table", { key: '
|
|
10364
|
+
: null, h("table", { key: '9f4d396671acb35a564e8927b296c30aeea5deac', class: tableClass, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$8(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
10396
10365
|
ev.stopPropagation();
|
|
10397
10366
|
}, onPointerDown: (e) => {
|
|
10398
10367
|
__classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -10400,7 +10369,7 @@ const KupDataTable = class {
|
|
|
10400
10369
|
__classPrivateFieldSet$4(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
10401
10370
|
}, onContextMenu: (e) => {
|
|
10402
10371
|
e.preventDefault();
|
|
10403
|
-
} }, h("thead", { key: '
|
|
10372
|
+
} }, h("thead", { key: 'eebd3d1d2385c12537471f9fdbbb251255d4eb3c', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$4(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'c963f671b9d703ab03e61a8895aa710a9b5fd5af' }, header)), h("tbody", { key: '70d69247c2000a2d3d4b1eb179d7da32a65679a6' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
10404
10373
|
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
10405
10374
|
return compCreated;
|
|
10406
10375
|
}
|
|
@@ -10448,7 +10417,7 @@ const KupDataTable = class {
|
|
|
10448
10417
|
"transpose": ["recalculateData"]
|
|
10449
10418
|
}; }
|
|
10450
10419
|
};
|
|
10451
|
-
_KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _KupDataTable_rowsLength = new WeakMap(), _KupDataTable_paginatedRows = new WeakMap(), _KupDataTable_paginatedRowsLength = new WeakMap(), _KupDataTable_footer = new WeakMap(), _KupDataTable_kupManager = new WeakMap(), _KupDataTable_renderedRows = new WeakMap(), _KupDataTable_loadMoreEventCounter = new WeakMap(), _KupDataTable_loadMoreEventPreviousQuantity = new WeakMap(), _KupDataTable_theadRef = new WeakMap(), _KupDataTable_tableRef = new WeakMap(), _KupDataTable_originalData = new WeakMap(), _KupDataTable_originalDataLoaded = new WeakMap(), _KupDataTable_originalDataLoadedMaxId = new WeakMap(),
|
|
10420
|
+
_KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _KupDataTable_rowsLength = new WeakMap(), _KupDataTable_paginatedRows = new WeakMap(), _KupDataTable_paginatedRowsLength = new WeakMap(), _KupDataTable_footer = new WeakMap(), _KupDataTable_kupManager = new WeakMap(), _KupDataTable_renderedRows = new WeakMap(), _KupDataTable_loadMoreEventCounter = new WeakMap(), _KupDataTable_loadMoreEventPreviousQuantity = new WeakMap(), _KupDataTable_theadRef = new WeakMap(), _KupDataTable_tableRef = new WeakMap(), _KupDataTable_originalData = new WeakMap(), _KupDataTable_originalDataLoaded = new WeakMap(), _KupDataTable_originalDataLoadedMaxId = new WeakMap(), _KupDataTable_insertedRowIds = new WeakMap(), _KupDataTable_modifiedRowsIds = new WeakMap(), _KupDataTable_tableAreaRef = new WeakMap(), _KupDataTable_stickyTheadRef = new WeakMap(), _KupDataTable_lastPointerDetails = new WeakMap(), _KupDataTable_customizeTopButtonRef = new WeakMap(), _KupDataTable_customizeTopPanelRef = new WeakMap(), _KupDataTable_sizedColumns = new WeakMap(), _KupDataTable_intObserver = new WeakMap(), _KupDataTable_navBarHeight = new WeakMap(), _KupDataTable_theadIntersecting = new WeakMap(), _KupDataTable_tableIntersecting = new WeakMap(), _KupDataTable_isSafariBrowser = new WeakMap(), _KupDataTable_isRestoringState = new WeakMap(), _KupDataTable_globalFilterTimeout = new WeakMap(), _KupDataTable_totalMenuCoords = new WeakMap(), _KupDataTable_clickTimeout = new WeakMap(), _KupDataTable_thRefs = new WeakMap(), _KupDataTable_rowsRefs = new WeakMap(), _KupDataTable_oldWidth = new WeakMap(), _KupDataTable_hold = new WeakMap(), _KupDataTable_interactableDrag = new WeakMap(), _KupDataTable_interactableDrop = new WeakMap(), _KupDataTable_interactableResize = new WeakMap(), _KupDataTable_interactableTouch = new WeakMap(), _KupDataTable_dropareaRef = new WeakMap(), _KupDataTable_removeDropareaRef = new WeakMap(), _KupDataTable_groupsDropareaRef = new WeakMap(), _KupDataTable_clickCb = new WeakMap(), _KupDataTable_clickCbCustomPanel = new WeakMap(), _KupDataTable_clickCbDropCard = new WeakMap(), _KupDataTable_resizeTimeout = new WeakMap(), _KupDataTable_columnMenuInstance = new WeakMap(), _KupDataTable_filtersColumnMenuInstance = new WeakMap(), _KupDataTable_filtersRowsInstance = new WeakMap(), _KupDataTable_detailCard = new WeakMap(), _KupDataTable_insertCard = new WeakMap(), _KupDataTable_actionsCard = new WeakMap(), _KupDataTable_confirmDeleteCard = new WeakMap(), _KupDataTable_confirmDeleteDialog = new WeakMap(), _KupDataTable_columnMenuCard = new WeakMap(), _KupDataTable_columnDropCard = new WeakMap(), _KupDataTable_columnDropCardAnchor = new WeakMap(), _KupDataTable_dropDownActionCardAnchor = new WeakMap(), _KupDataTable_insertCount = new WeakMap(), _KupDataTable_lastFocusedColumn = new WeakMap(), _KupDataTable_lastFocusedCell = new WeakMap(), _KupDataTable_lastFocusedRow = new WeakMap(), _KupDataTable_maxRowsPerPage = new WeakMap(), _KupDataTable_readyPromise = new WeakMap(), _KupDataTable_readyResolve = new WeakMap(), _KupDataTable_BUTTON_CANCEL_ID = new WeakMap(), _KupDataTable_BUTTON_SUBMIT_ID = new WeakMap(), _KupDataTable_FIELDS_FORM_ID = new WeakMap(), _KupDataTable_MESSAGE_ID = new WeakMap(), _KupDataTable_MESSAGE_WRAPPER_ID = new WeakMap(), _KupDataTable_INSERT_PREFIX = new WeakMap(), _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER = new WeakMap(), _KupDataTable_stickyHeaderPosition = new WeakMap(), _KupDataTable_horNav = new WeakMap(), _KupDataTable_verNav = new WeakMap(), _KupDataTable_onKupKeyDown = new WeakMap(), _KupDataTable_handleUpdateClick = new WeakMap(), _KupDataTable_FONTSIZE_CODES = new WeakMap(), _KupDataTable_FONTSIZE_DECODES = new WeakMap(), _KupDataTable_FONTSIZE_ICONS = new WeakMap(), _KupDataTable_DENSITY_DECODES = new WeakMap(), _KupDataTable_DENSITY_ICONS = new WeakMap(), _KupDataTable_GRID_CODES = new WeakMap(), _KupDataTable_GRID_DECODES = new WeakMap(), _KupDataTable_GRID_ICONS = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_checkUpdateState = function _KupDataTable_checkUpdateState() {
|
|
10452
10421
|
let somethingChanged = false;
|
|
10453
10422
|
if (!__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
|
|
10454
10423
|
this.state.filters = Object.assign({}, this.filters);
|
|
@@ -10701,193 +10670,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
10701
10670
|
if (this.data.columns.length > 0) {
|
|
10702
10671
|
this.data = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getTransposedData).call(this, this.data.columns[0].name);
|
|
10703
10672
|
}
|
|
10704
|
-
}, _KupDataTable_switchBackFromTotalsMatrix = function _KupDataTable_switchBackFromTotalsMatrix() {
|
|
10705
|
-
this.groups = __classPrivateFieldGet$8(this, _KupDataTable_beforeTotalMatrixGroups, "f");
|
|
10706
|
-
this.data = __classPrivateFieldGet$8(this, _KupDataTable_beforeTotalMatrixData, "f");
|
|
10707
|
-
this.totals = __classPrivateFieldGet$8(this, _KupDataTable_beforeTotalMatrixTotals, "f");
|
|
10708
|
-
this.visibleColumns = __classPrivateFieldGet$8(this, _KupDataTable_beforeTotalMatrixVisibleColumns, "f");
|
|
10709
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixData, undefined, "f");
|
|
10710
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixGroups, undefined, "f");
|
|
10711
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixTotals, undefined, "f");
|
|
10712
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixVisibleColumns, undefined, "f");
|
|
10713
|
-
this.totalsMatrixView = false;
|
|
10714
|
-
}, _KupDataTable_switchToTotalsMatrix = function _KupDataTable_switchToTotalsMatrix(columnName) {
|
|
10715
|
-
const groupColName = columnName !== null && columnName !== void 0 ? columnName : this.groups[0].column;
|
|
10716
|
-
const totalsColumns = Object.keys(this.totals);
|
|
10717
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixData, this.data, "f");
|
|
10718
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixGroups, this.groups, "f");
|
|
10719
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixTotals, this.totals, "f");
|
|
10720
|
-
__classPrivateFieldSet$4(this, _KupDataTable_beforeTotalMatrixVisibleColumns, this.visibleColumns, "f");
|
|
10721
|
-
if (__classPrivateFieldGet$8(this, _KupDataTable_rows, "f").length === 0 ||
|
|
10722
|
-
!__classPrivateFieldGet$8(this, _KupDataTable_rows, "f")[0].group ||
|
|
10723
|
-
(totalsColumns === null || totalsColumns === void 0 ? void 0 : totalsColumns.length) === 0 ||
|
|
10724
|
-
!groupColName)
|
|
10725
|
-
return;
|
|
10726
|
-
// ---------------------------
|
|
10727
|
-
// Build the matrix data object
|
|
10728
|
-
// ---------------------------
|
|
10729
|
-
const totalsMatrixData = {};
|
|
10730
|
-
const groupsToInsert = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_getGroupElementsBefore).call(this, this.groups, groupColName);
|
|
10731
|
-
// 1. Compute column IDs in correct order
|
|
10732
|
-
const columnIds = [
|
|
10733
|
-
...groupsToInsert.map((group) => group.column),
|
|
10734
|
-
...[columnName],
|
|
10735
|
-
...Object.keys(this.totals),
|
|
10736
|
-
];
|
|
10737
|
-
// 2. Optimize lookup of columns by building a Map
|
|
10738
|
-
const columnMap = new Map(this.data.columns.map((col) => [col.name, col]));
|
|
10739
|
-
// 3. Build matrix columns
|
|
10740
|
-
totalsMatrixData.columns = columnIds
|
|
10741
|
-
.map((id) => columnMap.get(id))
|
|
10742
|
-
.filter((col) => !!col) // ensure defined
|
|
10743
|
-
.map((col) => {
|
|
10744
|
-
const currentColumn = Object.assign({}, col);
|
|
10745
|
-
const totalMode = this.totals[currentColumn.name];
|
|
10746
|
-
if (totalMode) {
|
|
10747
|
-
currentColumn.title = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_buildTotalTitle).call(this, currentColumn.title, totalMode);
|
|
10748
|
-
__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_setObjForTotalsMatrix).call(this, currentColumn, this.totals);
|
|
10749
|
-
}
|
|
10750
|
-
return currentColumn;
|
|
10751
|
-
});
|
|
10752
|
-
// 4. Build matrix rows
|
|
10753
|
-
if (!groupsToInsert || groupsToInsert.length === 0) {
|
|
10754
|
-
totalsMatrixData.rows = __classPrivateFieldGet$8(this, _KupDataTable_rows, "f").map((row, index) => {
|
|
10755
|
-
const cells = {};
|
|
10756
|
-
columnIds.forEach((id) => {
|
|
10757
|
-
let totalValue;
|
|
10758
|
-
if ((columnName === id ||
|
|
10759
|
-
groupsToInsert
|
|
10760
|
-
.map((group) => group.column)
|
|
10761
|
-
.includes(id)) &&
|
|
10762
|
-
row.group.id) {
|
|
10763
|
-
// ID is contained in the column of the group levels before the one clicked
|
|
10764
|
-
// ID equals the column relative to the group the user clicked
|
|
10765
|
-
// - Returns the value of the group - row headers
|
|
10766
|
-
totalValue = row.group.id;
|
|
10767
|
-
}
|
|
10768
|
-
else if (row.group.totals[id] &&
|
|
10769
|
-
Object.keys(this.totals).includes(id)) {
|
|
10770
|
-
// The column id is contained in the totals columns
|
|
10771
|
-
// and the total exists
|
|
10772
|
-
totalValue = row.group.totals[id];
|
|
10773
|
-
}
|
|
10774
|
-
else {
|
|
10775
|
-
// Default with an empty value because '---' breaks the totals
|
|
10776
|
-
totalValue = '';
|
|
10777
|
-
}
|
|
10778
|
-
if (__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").dates.isIsoDate(totalValue)) {
|
|
10779
|
-
totalValue = __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").dates.format(totalValue);
|
|
10780
|
-
}
|
|
10781
|
-
cells[id] = { value: String(totalValue) };
|
|
10782
|
-
});
|
|
10783
|
-
return {
|
|
10784
|
-
id: String(index),
|
|
10785
|
-
cells,
|
|
10786
|
-
};
|
|
10787
|
-
});
|
|
10788
|
-
}
|
|
10789
|
-
else {
|
|
10790
|
-
totalsMatrixData.rows = [];
|
|
10791
|
-
for (const row of __classPrivateFieldGet$8(this, _KupDataTable_rows, "f")) {
|
|
10792
|
-
const foundGroups = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_findGroupsAtLevel).call(this, row.group, columnName);
|
|
10793
|
-
if (foundGroups) {
|
|
10794
|
-
for (const g of foundGroups) {
|
|
10795
|
-
if (g === null || g === void 0 ? void 0 : g.totals) {
|
|
10796
|
-
const utilityRow = g.children[0];
|
|
10797
|
-
for (const [key, value] of Object.entries(g.totals)) {
|
|
10798
|
-
let cellValue = value;
|
|
10799
|
-
if (__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").dates.isIsoDate(cellValue)) {
|
|
10800
|
-
cellValue =
|
|
10801
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").dates.format(cellValue);
|
|
10802
|
-
}
|
|
10803
|
-
utilityRow.cells[key].value = String(cellValue);
|
|
10804
|
-
utilityRow.cells[key].obj.k = String(cellValue);
|
|
10805
|
-
utilityRow.cells[key].displayedValue =
|
|
10806
|
-
String(cellValue);
|
|
10807
|
-
}
|
|
10808
|
-
totalsMatrixData.rows.push(utilityRow);
|
|
10809
|
-
}
|
|
10810
|
-
}
|
|
10811
|
-
}
|
|
10812
|
-
}
|
|
10813
|
-
}
|
|
10814
|
-
// ---------------------------
|
|
10815
|
-
// Finalize matrix
|
|
10816
|
-
// ---------------------------
|
|
10817
|
-
this.totalsMatrixView = true;
|
|
10818
|
-
this.groups = groupsToInsert;
|
|
10819
|
-
this.data = Object.assign({}, totalsMatrixData); // update dataset
|
|
10820
|
-
this.totals = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_promoteTotals).call(this, this.totals); // promote totals
|
|
10821
|
-
this.visibleColumns = columnIds;
|
|
10822
|
-
}, _KupDataTable_findGroupsAtLevel = function _KupDataTable_findGroupsAtLevel(group, columnName) {
|
|
10823
|
-
let results = [];
|
|
10824
|
-
if (!group || !Array.isArray(group.children)) {
|
|
10825
|
-
return results;
|
|
10826
|
-
}
|
|
10827
|
-
// check if any child group matches the columnName
|
|
10828
|
-
const hasMatch = group.children.some((child) => { var _a; return ((_a = child.group) === null || _a === void 0 ? void 0 : _a.column) === columnName; });
|
|
10829
|
-
if (hasMatch) {
|
|
10830
|
-
// collect all sibling groups at this level
|
|
10831
|
-
results.push(...group.children.map((child) => child.group));
|
|
10832
|
-
}
|
|
10833
|
-
else {
|
|
10834
|
-
// traverse children
|
|
10835
|
-
for (const child of group.children) {
|
|
10836
|
-
results.push(...__classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_findGroupsAtLevel).call(this, child.group, columnName));
|
|
10837
|
-
}
|
|
10838
|
-
}
|
|
10839
|
-
return results;
|
|
10840
|
-
}, _KupDataTable_getGroupElementsBefore = function _KupDataTable_getGroupElementsBefore(arr, target) {
|
|
10841
|
-
const index = arr.findIndex((obj) => obj.column === target);
|
|
10842
|
-
if (index <= 0) {
|
|
10843
|
-
return []; // not found or at index 0
|
|
10844
|
-
}
|
|
10845
|
-
return arr.slice(0, index);
|
|
10846
|
-
}, _KupDataTable_buildTotalTitle = function _KupDataTable_buildTotalTitle(originalTitle, totalMode) {
|
|
10847
|
-
if (totalMode.startsWith(TotalMode.MATH)) {
|
|
10848
|
-
return `${TotalLabel[TotalMode.MATH]} ${originalTitle}`;
|
|
10849
|
-
}
|
|
10850
|
-
const totalModeKey = Object.keys(TotalMode).find((key) => TotalMode[key] === totalMode);
|
|
10851
|
-
const label = totalModeKey ? TotalLabel[totalModeKey] : totalMode;
|
|
10852
|
-
return `${label} ${originalTitle}`;
|
|
10853
|
-
}, _KupDataTable_promoteTotals = function _KupDataTable_promoteTotals(totals) {
|
|
10854
|
-
const updated = {};
|
|
10855
|
-
for (const [key, mode] of Object.entries(totals)) {
|
|
10856
|
-
switch (mode) {
|
|
10857
|
-
case TotalMode.DISTINCT:
|
|
10858
|
-
updated[key] = TotalMode.COUNT;
|
|
10859
|
-
break;
|
|
10860
|
-
case TotalMode.COUNT:
|
|
10861
|
-
updated[key] = TotalMode.SUM;
|
|
10862
|
-
break;
|
|
10863
|
-
default:
|
|
10864
|
-
updated[key] = mode;
|
|
10865
|
-
break;
|
|
10866
|
-
}
|
|
10867
|
-
}
|
|
10868
|
-
return updated;
|
|
10869
|
-
}, _KupDataTable_setObjForTotalsMatrix = function _KupDataTable_setObjForTotalsMatrix(column, totals) {
|
|
10870
|
-
var _a;
|
|
10871
|
-
const obj = column.obj;
|
|
10872
|
-
const totalMode = totals[column.name];
|
|
10873
|
-
// Date columns: keep MAX/MIN modes
|
|
10874
|
-
if (__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").objects.isDate(obj)) {
|
|
10875
|
-
if (totalMode === TotalMode.MAX || totalMode === TotalMode.MIN)
|
|
10876
|
-
return;
|
|
10877
|
-
}
|
|
10878
|
-
// Percentage numbers: keep COUNT/DISTINCT modes
|
|
10879
|
-
if (__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").objects.isNumber(obj) &&
|
|
10880
|
-
((_a = obj.p) === null || _a === void 0 ? void 0 : _a.toUpperCase()) === 'P') {
|
|
10881
|
-
if (totalMode === TotalMode.COUNT ||
|
|
10882
|
-
totalMode === TotalMode.DISTINCT) {
|
|
10883
|
-
return;
|
|
10884
|
-
}
|
|
10885
|
-
}
|
|
10886
|
-
// Default: force numeric
|
|
10887
|
-
column.obj = { t: 'NR', p: '', k: '' };
|
|
10888
|
-
if (column.icon) {
|
|
10889
|
-
delete column.icon;
|
|
10890
|
-
}
|
|
10891
10673
|
}, _KupDataTable_updateStickyHeaderSize = function _KupDataTable_updateStickyHeaderSize() {
|
|
10892
10674
|
const navBar = document.querySelector('.header');
|
|
10893
10675
|
const topBar = document.querySelector('.topbar');
|
|
@@ -13192,16 +12974,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
13192
12974
|
this.transpose = false;
|
|
13193
12975
|
}
|
|
13194
12976
|
} })));
|
|
13195
|
-
}, _KupDataTable_renderTotalsMatrix = function _KupDataTable_renderTotalsMatrix() {
|
|
13196
|
-
return (h("div", { class: "customize-element grid-panel" }, h("kup-button", { title: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOTALS_TABLE) +
|
|
13197
|
-
' (' +
|
|
13198
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
|
|
13199
|
-
')', label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.TOTALS_TABLE), icon: "exposure", "onkup-button-click": () => this.toggleTotalsMatrix() })));
|
|
13200
|
-
}, _KupDataTable_renderBackFromTotalsMatrix = function _KupDataTable_renderBackFromTotalsMatrix() {
|
|
13201
|
-
return (h("div", { class: "customize-element grid-panel" }, h("kup-button", { title: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.BACK_TO_ORIGINAL_TABLE) +
|
|
13202
|
-
' (' +
|
|
13203
|
-
__classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.EXPERIMENTAL_FEAT) +
|
|
13204
|
-
')', label: __classPrivateFieldGet$8(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageGeneric.BACK_TO_ORIGINAL_TABLE), icon: "exposure", "onkup-button-click": () => __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_switchBackFromTotalsMatrix).call(this) })));
|
|
13205
12977
|
}, _KupDataTable_renderGridPanel = function _KupDataTable_renderGridPanel() {
|
|
13206
12978
|
const listItems = __classPrivateFieldGet$8(this, _KupDataTable_instances, "m", _KupDataTable_createListData).call(this, __classPrivateFieldGet$8(this, _KupDataTable_GRID_CODES, "f"), __classPrivateFieldGet$8(this, _KupDataTable_GRID_ICONS, "f"), this.showGrid);
|
|
13207
12979
|
const listData = { data: listItems, showIcons: true };
|
|
@@ -13784,7 +13556,7 @@ const KupDatePicker = class {
|
|
|
13784
13556
|
showPreviousNextMonthDays: this.showPreviousNextMonthDays,
|
|
13785
13557
|
},
|
|
13786
13558
|
};
|
|
13787
|
-
return (h(Host, { key: '
|
|
13559
|
+
return (h(Host, { key: '827b64b4e81a6238bd45388c3f5234a29685ce74' }, h("style", { key: '4bb32836db6bd0e39579f52abbd5b29cef9d2bf6' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'f8549d32cf3813544c56ad90f7b6e619dd131a53', id: componentWrapperId }, h(FTextField, Object.assign({ key: 'b561786c364f4f27b5edba3746202a8a6d5301b3' }, textfieldData, { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, maxLength: (_a = textfieldData.maxLength) !== null && _a !== void 0 ? _a : 10, size: 10, id: this.rootElement.id + '_text-field', value: this.getDateForOutput(), onBlur: () => this.onKupBlur(), onChange: (e) => this.onKupChange(e), onClearIconClick: () => this.onKupClearIconClick(), onClick: () => this.onKupClick(), onFocus: () => this.onKupFocus(), onIconClick: () => this.onKupIconClick(), onKeyDown: (e) => this.onKupTextFieldSubmit(e), onInput: (e) => this.onKupInput(e) }), h("div", { key: '136e15a45145ed9160a7da70ec0444ff417ec0c7', id: this.rootElement.id + '_card', class: "kup-date-picker-card" }, h("kup-card", { key: '5dd13a969e65cd4a6b4ebc9ea96019904ab7ffd6', ref: (el) => (this.pickerContainerEl = el), data: cardData, layoutFamily: KupCardFamily.BUILT_IN, sizeX: "300px", sizeY: "auto", isMenu: true, "onkup-card-click": (ev) => {
|
|
13788
13560
|
if (ev.detail.value != null &&
|
|
13789
13561
|
ev.detail.value != '')
|
|
13790
13562
|
this.onKupDatePickerItemClick(ev.detail.value);
|
|
@@ -13982,7 +13754,7 @@ const KupDialog = class {
|
|
|
13982
13754
|
if (headerSlot) {
|
|
13983
13755
|
__classPrivateFieldSet$3(this, _KupDialog_header, headerSlot, "f");
|
|
13984
13756
|
}
|
|
13985
|
-
return (h(Host, { key: '
|
|
13757
|
+
return (h(Host, { key: '0cb07d75610526f3c7648b51bdac8aeb512a070b', "fade-in": true, style: style, "data-anchor": ((_a = this.anchor) === null || _a === void 0 ? void 0 : _a.toString()) || 'none' }, h("style", { key: '03404fcbde03d05af4c2fda44ddd5256bd48dfbc' }, __classPrivateFieldGet$7(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'a2ef7a2f32922e74d4df173b71a839af7c921cea', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet$3(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_b = this.header.icons) === null || _b === void 0 ? void 0 : _b.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (h("slot", { name: "header" })) : null, h("div", { key: '4fbb7451e36edac50d2f3d4d994cf055c3ec1ee4', class: "content" }, h("slot", { key: '102800cdf42a5734f7358ae97fada09d70d83bb6', name: "content" })))));
|
|
13986
13758
|
}
|
|
13987
13759
|
disconnectedCallback() {
|
|
13988
13760
|
__classPrivateFieldGet$7(this, _KupDialog_instances, "m", _KupDialog_disconnectedCallback).call(this);
|
|
@@ -14401,7 +14173,7 @@ const KupDropdownButton = class {
|
|
|
14401
14173
|
return buttons;
|
|
14402
14174
|
}
|
|
14403
14175
|
render() {
|
|
14404
|
-
return (h(Host, { key: '
|
|
14176
|
+
return (h(Host, { key: '84daf971586f1c4a1d73f6b4e8f258f373a9b877' }, h("style", { key: '90d06938c34fc0f1cd52392126b636400fb23395' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '2a4ed6d94d1babca92216fda375e3a8338333413', id: componentWrapperId }, h("div", { key: 'e2a2ddc1601e2842f037158fc7154813273ff01a', class: "dropdown-button--wrapper" }, this.renderButtons()), h("kup-list", Object.assign({ key: '7c9b87c3d425d84a6823bb8344d9fa3dc4536be2' }, this.data['kup-list'], { displayMode: this.displayMode, isMenu: true, "onKup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el) })))));
|
|
14405
14177
|
}
|
|
14406
14178
|
disconnectedCallback() {
|
|
14407
14179
|
if (this.listEl) {
|
|
@@ -14581,7 +14353,7 @@ const KupFileUpload = class {
|
|
|
14581
14353
|
}
|
|
14582
14354
|
render() {
|
|
14583
14355
|
var _a;
|
|
14584
|
-
return (h(Host, { key: '
|
|
14356
|
+
return (h(Host, { key: 'e82c20508f86798008b2e961f2cef347ea19908f' }, h("style", { key: 'f9549e18810a5d38d300c167142d41e783d9e80d' }, __classPrivateFieldGet$6(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '09d2ae3e36a7e871aba975ccbb745472cb63652f', id: componentWrapperId }, h("div", { key: 'c2b798c7bf6cababc587990b710515060bb2e2a8', class: {
|
|
14585
14357
|
'file-upload': true,
|
|
14586
14358
|
'file-upload-spinner': this.showSpinner,
|
|
14587
14359
|
'file-upload__invalid': !this.isValidDropFiles,
|
|
@@ -14589,7 +14361,7 @@ const KupFileUpload = class {
|
|
|
14589
14361
|
var _a;
|
|
14590
14362
|
event.preventDefault();
|
|
14591
14363
|
this.isValidDropFiles = __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_isValidDraggedItems).call(this, (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.items);
|
|
14592
|
-
}, onDrop: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragLeave: () => (this.isValidDropFiles = true), onDragEnd: () => (this.isValidDropFiles = true) }, h("input", { key: '
|
|
14364
|
+
}, onDrop: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragLeave: () => (this.isValidDropFiles = true), onDragEnd: () => (this.isValidDropFiles = true) }, h("input", { key: 'a79897d0ea5885a55a71f04ce39bbd4791e1462d', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: this.multiUpload, accept: (_a = this.acceptedFiles) === null || _a === void 0 ? void 0 : _a.join(','), hidden: true }), h("div", { key: '856a74817a14d88844efb2b9ad765e8d7223d547', class: "file-upload__buttons" }, h(FButton, { key: '1eb230b6313b6fb9e65f178b9e4edd0592e87e20', icon: "upload", label: __classPrivateFieldGet$6(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.CHOOSE), onClick: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_handleClick).bind(this) }), !this.autoUpload && (h(Fragment, { key: 'df73268c675f6bf4ce81cd44c80a01305adf2f97' }, h(FButton, { key: '821b641f32a70972892b624d8ac55a9e38faaa14', icon: "save", disabled: !this.tempFiles.length, label: __classPrivateFieldGet$6(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.UPLOAD), onClick: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_uploadClick).bind(this), styling: FButtonStyling.FLAT }), h(FButton, { key: 'f8f969b3eb16bd86dcd4826b3c3f46f8f8551b8f', icon: "clear", disabled: !this.tempFiles.length, label: __classPrivateFieldGet$6(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.ABORT), onClick: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).bind(this), styling: FButtonStyling.FLAT })))), this.fupError && (h("div", { key: '2b760c793e980290ffb0847f46d0d5fb0abfac73', class: "file-upload__error" }, h("span", { key: '4c1a2cd135f330cf0dbda3f4da6dca78a5a298d4', class: "mdc-error-message" }, this.fupError))), h("div", { key: 'a034a8a57062eba3445e29168f740b867d5085a7', class: "file-upload__list" }, this.tempFiles.map((file, i) => (h("div", { class: "file-upload__list__item" }, h("div", { class: "file-upload__list__item__preview" }, h(FImage, { resource: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_getPreview).call(this, file), placeholderResource: "file" })), h("span", { class: "file-upload__list__item__desc", title: file.name }, __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_trimFileName).call(this, file.name)), h("span", { class: "file-upload__list__item__clear", onClick: __classPrivateFieldGet$6(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileRemove).bind(this, i) }))))), this.pathFiles.length ? (h("div", { class: "file-upload__list" }, this.pathFiles.map((path, i) => (h("span", { class: "file-upload__list__item" }, h("span", null, i + 1, ". ", path)))))) : null, this.showSpinner && (h("div", { key: 'cda18a34e433799f62f0026f4b38af748d39d2d7', class: "file-upload__spinner-container" }, h("kup-spinner", { key: 'cb010ba98b016941a087af4b250be33f675ac3fa', active: true, layout: 14, dimensions: "7px" })))))));
|
|
14593
14365
|
}
|
|
14594
14366
|
disconnectedCallback() {
|
|
14595
14367
|
__classPrivateFieldGet$6(this, _KupFileUpload_kupManager, "f").language.unregister(this);
|
|
@@ -15158,7 +14930,7 @@ const KupForm = class {
|
|
|
15158
14930
|
render() {
|
|
15159
14931
|
let formContent = null;
|
|
15160
14932
|
if (this.data.rows.length === 0) {
|
|
15161
|
-
formContent = (h("p", { key: '
|
|
14933
|
+
formContent = (h("p", { key: 'e6e94006b6a608e301373fdb7a4ca02665b2d844' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
15162
14934
|
}
|
|
15163
14935
|
else {
|
|
15164
14936
|
const rows = this.data.rows;
|
|
@@ -15169,7 +14941,7 @@ const KupForm = class {
|
|
|
15169
14941
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
15170
14942
|
}
|
|
15171
14943
|
}
|
|
15172
|
-
return (h(Host, { key: '
|
|
14944
|
+
return (h(Host, { key: 'c6fb5b3851606811f0c1cab66ce83f00c3073cd7' }, h("style", { key: '7451643bd2809dd41742977dc0c8ffaf2d29017c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'f68f672b0a6f03a01577a5120e8f3e74385a0373', id: componentWrapperId }, formContent)));
|
|
15173
14945
|
}
|
|
15174
14946
|
disconnectedCallback() {
|
|
15175
14947
|
this.kupManager.language.unregister(this);
|
|
@@ -16835,14 +16607,14 @@ const KupImageList = class {
|
|
|
16835
16607
|
}
|
|
16836
16608
|
const imlClass = 'image-list' +
|
|
16837
16609
|
(this.showFullDescription ? ' full-description' : '');
|
|
16838
|
-
return (h(Host, { key: '
|
|
16610
|
+
return (h(Host, { key: 'd3dd048c9d3557174d5feb3b6ba6203ea5ecafe7' }, h("style", { key: '8178c806d90f4852441e8b18743bfd0f6836d6ef' }, __classPrivateFieldGet$5(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd349af3c953aa70469c19f3868e5e850374996a0', id: componentWrapperId, ref: (el) => {
|
|
16839
16611
|
__classPrivateFieldSet$2(this, _KupImageList_el, el, "f");
|
|
16840
|
-
} }, h("div", { key: '
|
|
16612
|
+
} }, h("div", { key: '5501f3c1eb46fa4e856248c1e876de729a68195a', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
|
|
16841
16613
|
? 'navigation-bar__wrapper--active'
|
|
16842
16614
|
: ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
|
|
16843
16615
|
this.navigationBarToggled =
|
|
16844
16616
|
!this.navigationBarToggled;
|
|
16845
|
-
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet$5(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet$5(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet$5(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet$5(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), this.leadingLabel && (h("div", { key: '
|
|
16617
|
+
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet$5(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet$5(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet$5(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet$5(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), this.leadingLabel && (h("div", { key: 'e3a0c1acb410e52590a0309b9d1863ab75d2a6b5', class: "mdc-text-field__label-container" }, h("label", { key: 'a182435d28cf9ae405f61fda93794c5d81a5ed3e', class: "mdc-label" }, this.leadingLabel))), h("div", { key: '5df777d415c2ae7eeb95f22ce229614948b9a4c7', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet$5(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
|
|
16846
16618
|
}
|
|
16847
16619
|
disconnectedCallback() {
|
|
16848
16620
|
__classPrivateFieldGet$5(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet$5(this, _KupImageList_interactableTouch, "f"));
|
|
@@ -17727,7 +17499,7 @@ const KupProgressBar = class {
|
|
|
17727
17499
|
? true
|
|
17728
17500
|
: false,
|
|
17729
17501
|
};
|
|
17730
|
-
return (h(Host, { key: '
|
|
17502
|
+
return (h(Host, { key: '6d16fbbce2878c135c67a4b56dbf69099904d529' }, h("style", { key: 'd60887a62fa3ef9f320d97d67458561cff1f7210' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '26cb5f5983fde587f5badcbfdc2b4355326ac484', id: componentWrapperId }, h(FProgressBar, Object.assign({ key: '31de915d7832b8109087d632cf06e94c104e7c63' }, props)))));
|
|
17731
17503
|
}
|
|
17732
17504
|
disconnectedCallback() {
|
|
17733
17505
|
this.kupManager.theme.unregister(this);
|
|
@@ -17988,7 +17760,7 @@ const KupRating = class {
|
|
|
17988
17760
|
: false,
|
|
17989
17761
|
onClick: (i) => this.onKupClick(i),
|
|
17990
17762
|
};
|
|
17991
|
-
return (h(Host, { key: '
|
|
17763
|
+
return (h(Host, { key: 'd01ef2cfb73b3e72cb3d56ecede10cb7a2b66368' }, h("style", { key: '940e67e41bcaeb69205055ee5af1b56e3b015d1b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'a3342415e91667c9e9f0677c2f5b79616a814f69', id: componentWrapperId }, h(FRating, Object.assign({ key: 'b9147b13dd6157a875c84042329874b72c3a9b0e' }, props)))));
|
|
17992
17764
|
}
|
|
17993
17765
|
disconnectedCallback() {
|
|
17994
17766
|
this.kupManager.theme.unregister(this);
|
|
@@ -18111,59 +17883,59 @@ const KupSpinner = class {
|
|
|
18111
17883
|
spinnerClass = 'spinner-v' + this.layout;
|
|
18112
17884
|
if (this.layout === 7) {
|
|
18113
17885
|
spinnerEl = [
|
|
18114
|
-
h("div", { key: '
|
|
18115
|
-
h("div", { key: '
|
|
18116
|
-
h("div", { key: '
|
|
18117
|
-
h("div", { key: '
|
|
18118
|
-
h("div", { key: '
|
|
18119
|
-
h("div", { key: '
|
|
17886
|
+
h("div", { key: '90da4bea524d6ae49bd7590b099d7af5bce8c4bc', class: "sk-spinner-v7-dot" }),
|
|
17887
|
+
h("div", { key: 'f625f8a469c687a328dec11def5481b47dfdc6b2', class: "sk-spinner-v7-dot" }),
|
|
17888
|
+
h("div", { key: 'fce31054830c273aceb9fe0a186daed290319d07', class: "sk-spinner-v7-dot" }),
|
|
17889
|
+
h("div", { key: '18b89c2a7b927b07a03a6aa374cc6dc9d22d5c2c', class: "sk-spinner-v7-dot" }),
|
|
17890
|
+
h("div", { key: '454dd58c7c1f2a51dcf3891198aa9108d3240347', class: "sk-spinner-v7-dot" }),
|
|
17891
|
+
h("div", { key: '5787a5461b543828af41373b963fc2c3c984d848', class: "sk-spinner-v7-dot" }),
|
|
18120
17892
|
];
|
|
18121
17893
|
}
|
|
18122
17894
|
if (this.layout === 9) {
|
|
18123
17895
|
spinnerEl = [
|
|
18124
|
-
h("div", { key: '
|
|
18125
|
-
h("div", { key: '
|
|
17896
|
+
h("div", { key: '3b44a114e62bcfa99acb7fd583ebee257c75477d', class: "sk-spinner-v9-bounce1" }),
|
|
17897
|
+
h("div", { key: '1ac2ee154b6db501a95dcb6b9bd84d9eabea213a', class: "sk-spinner-v9-bounce2" }),
|
|
18126
17898
|
];
|
|
18127
17899
|
}
|
|
18128
17900
|
if (this.layout === 10) {
|
|
18129
17901
|
spinnerEl = [
|
|
18130
|
-
h("div", { key: '
|
|
18131
|
-
h("div", { key: '
|
|
17902
|
+
h("div", { key: 'd0be49dd982f4f40197f23c758526bfc9b769991', class: "sk-spinner-v10-cube1" }),
|
|
17903
|
+
h("div", { key: '177788b950edddfb35643e46d871137532aeeb9d', class: "sk-spinner-v10-cube2" }),
|
|
18132
17904
|
];
|
|
18133
17905
|
}
|
|
18134
17906
|
if (this.layout === 12) {
|
|
18135
17907
|
spinnerEl = [
|
|
18136
|
-
h("div", { key: '
|
|
18137
|
-
h("div", { key: '
|
|
17908
|
+
h("div", { key: '19e8c36f13d2c0eeb6a8ad24515a24a2e1cecfde', class: "sk-spinner-v12-dot1" }),
|
|
17909
|
+
h("div", { key: 'b8ac14d003d7f601437e223c72dfd59ff9954367', class: "sk-spinner-v12-dot2" }),
|
|
18138
17910
|
];
|
|
18139
17911
|
}
|
|
18140
17912
|
if (this.layout === 13) {
|
|
18141
17913
|
spinnerEl = [
|
|
18142
|
-
h("div", { key: '
|
|
18143
|
-
h("div", { key: '
|
|
18144
|
-
h("div", { key: '
|
|
18145
|
-
h("div", { key: '
|
|
18146
|
-
h("div", { key: '
|
|
18147
|
-
h("div", { key: '
|
|
18148
|
-
h("div", { key: '
|
|
18149
|
-
h("div", { key: '
|
|
18150
|
-
h("div", { key: '
|
|
17914
|
+
h("div", { key: '0b4a4e591c6ca25e85170fb004f324822f050135', class: "sk-spinner-v13-cube sk-spinner-v13-cube1" }),
|
|
17915
|
+
h("div", { key: '668a13a54d0e383977bed6f32e95e3f1dd78285f', class: "sk-spinner-v13-cube sk-spinner-v13-cube2" }),
|
|
17916
|
+
h("div", { key: 'd2792cde124ce31a812d9b8c169b83de6e078dc2', class: "sk-spinner-v13-cube sk-spinner-v13-cube3" }),
|
|
17917
|
+
h("div", { key: '3fc0b2ba9eebddfc0c1be20cd3e958fdfb86d123', class: "sk-spinner-v13-cube sk-spinner-v13-cube4" }),
|
|
17918
|
+
h("div", { key: '3269b799012c027a320bff8256aa846223c3c213', class: "sk-spinner-v13-cube sk-spinner-v13-cube5" }),
|
|
17919
|
+
h("div", { key: '9d932019c87435a325307b9c3ca11441a3f8d2c2', class: "sk-spinner-v13-cube sk-spinner-v13-cube6" }),
|
|
17920
|
+
h("div", { key: 'e29e2d7a8f7092f03893c4654577a6636bca5ddc', class: "sk-spinner-v13-cube sk-spinner-v13-cube7" }),
|
|
17921
|
+
h("div", { key: '9ec5c8fc4a18283180a5e98c63b796e2c06bd00c', class: "sk-spinner-v13-cube sk-spinner-v13-cube8" }),
|
|
17922
|
+
h("div", { key: 'b7976b9cdbbdb933316448e6c5cd72c4d9492026', class: "sk-spinner-v13-cube sk-spinner-v13-cube9" }),
|
|
18151
17923
|
];
|
|
18152
17924
|
}
|
|
18153
17925
|
if (this.layout === 14) {
|
|
18154
17926
|
spinnerEl = [
|
|
18155
|
-
h("div", { key: '
|
|
18156
|
-
h("div", { key: '
|
|
18157
|
-
h("div", { key: '
|
|
18158
|
-
h("div", { key: '
|
|
18159
|
-
h("div", { key: '
|
|
18160
|
-
h("div", { key: '
|
|
18161
|
-
h("div", { key: '
|
|
18162
|
-
h("div", { key: '
|
|
18163
|
-
h("div", { key: '
|
|
18164
|
-
h("div", { key: '
|
|
18165
|
-
h("div", { key: '
|
|
18166
|
-
h("div", { key: '
|
|
17927
|
+
h("div", { key: '43f703d9d094ba069b5bb02e92c9e74711828df1', class: "sk-spinner-v14-circle1 sk-spinner-v14-circle" }),
|
|
17928
|
+
h("div", { key: '82f2d547b8de3da9acd78f6ec69c6b5a67261e93', class: "sk-spinner-v14-circle2 sk-spinner-v14-circle" }),
|
|
17929
|
+
h("div", { key: 'a5e3f0d7d0ae729c4066fb0a64096b3021ed1c45', class: "sk-spinner-v14-circle3 sk-spinner-v14-circle" }),
|
|
17930
|
+
h("div", { key: '9e657fea86ab17b86ff5cc637597ca0501fea0a3', class: "sk-spinner-v14-circle4 sk-spinner-v14-circle" }),
|
|
17931
|
+
h("div", { key: '0f11f4fa9e91ad5265672903255fc07dfb08b07a', class: "sk-spinner-v14-circle5 sk-spinner-v14-circle" }),
|
|
17932
|
+
h("div", { key: '4dcec3ed2bc03228dfeca88976241e83d0210881', class: "sk-spinner-v14-circle6 sk-spinner-v14-circle" }),
|
|
17933
|
+
h("div", { key: 'a20a89d5a2d0d47bba54c9bb0c932e9e39c43c88', class: "sk-spinner-v14-circle7 sk-spinner-v14-circle" }),
|
|
17934
|
+
h("div", { key: '8061fd589444079388c88eff984b7d4c0e210fb6', class: "sk-spinner-v14-circle8 sk-spinner-v14-circle" }),
|
|
17935
|
+
h("div", { key: '27e9567b83cfd945abfa32f847dd80f7f71cf475', class: "sk-spinner-v14-circle9 sk-spinner-v14-circle" }),
|
|
17936
|
+
h("div", { key: '49d6b3a4f7bdbf78e99933a24fff7afc9126db63', class: "sk-spinner-v14-circle10 sk-spinner-v14-circle" }),
|
|
17937
|
+
h("div", { key: 'd870a887d28416a702279fbb2b84a73ef133d9c9', class: "sk-spinner-v14-circle11 sk-spinner-v14-circle" }),
|
|
17938
|
+
h("div", { key: '0e193a5bfc7a08c3cd8d82da2e36c0f319215125', class: "sk-spinner-v14-circle12 sk-spinner-v14-circle" }),
|
|
18167
17939
|
];
|
|
18168
17940
|
}
|
|
18169
17941
|
}
|
|
@@ -18182,7 +17954,7 @@ const KupSpinner = class {
|
|
|
18182
17954
|
else {
|
|
18183
17955
|
elStyle = Object.assign(Object.assign({}, elStyle), { fontSize: '3px' });
|
|
18184
17956
|
}
|
|
18185
|
-
return (h(Host, { key: '
|
|
17957
|
+
return (h(Host, { key: '047cf91e1b91090b19b9e07e8d3ed5c9e93c9b01', style: elStyle }, h("style", { key: 'c28e4baa877428442fc12ef9908ed9e3ee606e9e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '85c8bbcacfd075b9c3a4a16074a95df1a7773f23', id: componentWrapperId, style: elStyle }, h("div", { key: '12e7ab8754db6191ec050c32ec228df99bb2c33e', id: "loading-wrapper-master", class: masterClass, style: elStyle }, h("div", { key: '7a05138502bf991b2e72e8013712f51174bd1b50', id: wrapperClass, style: elStyle }, h("div", { key: '3bccdb4bb8beefd999fbdfbb86440e0999575819', class: spinnerClass }, spinnerEl))))));
|
|
18186
17958
|
}
|
|
18187
17959
|
disconnectedCallback() {
|
|
18188
17960
|
this.kupManager.theme.unregister(this);
|
|
@@ -18330,7 +18102,7 @@ const KupSwitch = class {
|
|
|
18330
18102
|
onChange: () => this.onKupChange(),
|
|
18331
18103
|
onFocus: () => this.onKupFocus(),
|
|
18332
18104
|
};
|
|
18333
|
-
return (h(Host, { key: '
|
|
18105
|
+
return (h(Host, { key: '89225ee1836608a0274bbf05d86b8673345b34b1' }, h("style", { key: 'e19f9784414d547d630c24a46a2e40e6d4c1dec6' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '621a69e22881473c900fa8874e9b06a47a4e7a18', id: componentWrapperId }, h(FSwitch, Object.assign({ key: '6318405dd07e72597071f86e79985b475eaf3a58' }, props)))));
|
|
18334
18106
|
}
|
|
18335
18107
|
disconnectedCallback() {
|
|
18336
18108
|
this.kupManager.theme.unregister(this);
|
|
@@ -18418,7 +18190,6 @@ const KupTabBar = class {
|
|
|
18418
18190
|
this.variant = KupTabbarStyling.FLAT;
|
|
18419
18191
|
this.dense = false;
|
|
18420
18192
|
this.ripple = false;
|
|
18421
|
-
this.toolbar = false;
|
|
18422
18193
|
this.toolbarCallback = undefined;
|
|
18423
18194
|
this.infoCallback = undefined;
|
|
18424
18195
|
}
|
|
@@ -18669,6 +18440,7 @@ const KupTabBar = class {
|
|
|
18669
18440
|
this.kupManager.debug.logRender(this, true);
|
|
18670
18441
|
}
|
|
18671
18442
|
render() {
|
|
18443
|
+
var _a;
|
|
18672
18444
|
if (!this.data || this.data.length === 0) {
|
|
18673
18445
|
return;
|
|
18674
18446
|
}
|
|
@@ -18695,7 +18467,7 @@ const KupTabBar = class {
|
|
|
18695
18467
|
this.kupManager.debug.logMessage(this, 'InfoIcon data is empty, not opening dropdown.');
|
|
18696
18468
|
}
|
|
18697
18469
|
}
|
|
18698
|
-
}, wrapperClass: "tab__iconToolbar iconInfo" })),
|
|
18470
|
+
}, wrapperClass: "tab__iconToolbar iconInfo" })), ((_a = node === null || node === void 0 ? void 0 : node.data) === null || _a === void 0 ? void 0 : _a.toolbar) && (h(FImage, { resource: "more_vert", sizeX: "16px", sizeY: "16px", onClick: async (event) => {
|
|
18699
18471
|
if (node.active) {
|
|
18700
18472
|
event.stopPropagation();
|
|
18701
18473
|
const el = event.currentTarget;
|
|
@@ -19578,7 +19350,7 @@ const KupTimePicker = class {
|
|
|
19578
19350
|
this.kupManager.debug.logRender(this, true);
|
|
19579
19351
|
}
|
|
19580
19352
|
render() {
|
|
19581
|
-
return (h(Host, { key: '
|
|
19353
|
+
return (h(Host, { key: '65f19ff4be56ba56c32b8620dece6485f90439e2' }, h("style", { key: 'f62b3c946c6a7c69b9890afcc1ac7301c75af349' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'b614dc8e91eed4693617300fa4aa072796465918', id: componentWrapperId }, this.prepTextfield(this.getTimeForOutput()))));
|
|
19582
19354
|
}
|
|
19583
19355
|
disconnectedCallback() {
|
|
19584
19356
|
this.kupManager.dates.unregister(this);
|