@sme.up/ketchup 11.0.6 → 11.0.7
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-d7ac8d4e.js → f-cell-eed32cd7.js} +4 -4
- package/dist/cjs/{f-chip-e8b709c3.js → f-chip-ec543689.js} +1 -1
- package/dist/cjs/{f-object-field-3ab19cc3.js → f-object-field-1ddaee2d.js} +2 -2
- package/dist/cjs/{f-paginator-utils-f9c65479.js → f-paginator-utils-f0d22b06.js} +1 -1
- package/dist/cjs/{f-text-field-e8ac044b.js → f-text-field-4d4fa492.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 +2 -2
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +3 -3
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +103 -23
- package/dist/cjs/kup-box.cjs.entry.js +16 -13
- package/dist/cjs/kup-calendar.cjs.entry.js +3 -3
- package/dist/cjs/kup-card-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +1 -1
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-02b0fb46.js → kup-data-table-helper-9a9ad503.js} +2 -2
- package/dist/cjs/{kup-dates-84f0bc78.js → kup-dates-594b0f91.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
- package/dist/cjs/kup-gantt_10.cjs.entry.js +2 -2
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-518e11f4.js → kup-manager-8787fc42.js} +174 -20
- package/dist/cjs/kup-nav-bar.cjs.entry.js +2 -2
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +3 -3
- package/dist/cjs/kup-object-field.cjs.entry.js +4 -4
- package/dist/cjs/{kup-planner-renderer-helper-7123c277.js → kup-planner-renderer-helper-a2e9a62c.js} +1 -1
- package/dist/cjs/kup-planner-renderer.cjs.entry.js +2 -2
- package/dist/cjs/kup-planner.cjs.entry.js +3 -3
- package/dist/cjs/kup-probe.cjs.entry.js +2 -2
- package/dist/cjs/kup-qlik.cjs.entry.js +2 -2
- package/dist/cjs/kup-snackbar.cjs.entry.js +2 -2
- package/dist/cjs/kup-txt.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-typography.cjs.entry.js +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-box/kup-box.js +8 -5
- package/dist/collection/components/kup-card/kup-card.js +6 -0
- package/dist/collection/components/kup-data-table/kup-data-table-declarations.js +1 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +109 -14
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +4 -4
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +5 -5
- package/dist/collection/managers/kup-dynamic-position/kup-dynamic-position.js +35 -12
- package/dist/collection/managers/kup-language/kup-language-declarations.js +1 -0
- package/dist/collection/managers/kup-theme/kup-theme.js +129 -7
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- 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 +3 -3
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- 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-table.js +1 -1
- package/dist/components/kup-dashboard.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-htm.js +2 -2
- 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 +3 -3
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +6 -6
- package/dist/components/kup-probe.js +2 -2
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +2 -2
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +2 -2
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.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-tree.js +1 -1
- package/dist/components/kup-txt.js +2 -2
- package/dist/components/kup-typography-list.js +2 -2
- package/dist/components/kup-typography.js +2 -2
- package/dist/components/{p-4e14ce99.js → p-362d7a44.js} +175 -21
- package/dist/components/{p-3cae4730.js → p-5f1a69e4.js} +2 -2
- package/dist/components/{p-bc63c612.js → p-6e16d432.js} +1 -1
- package/dist/components/{p-3a2aa794.js → p-9e6dfc20.js} +2 -2
- package/dist/components/{p-810f66a6.js → p-a30c0106.js} +99 -18
- package/dist/components/{p-d2438a9a.js → p-b85372ba.js} +2 -2
- package/dist/components/{p-253bbc27.js → p-e67d1f0e.js} +4 -4
- package/dist/components/{p-b23df37b.js → p-ea482528.js} +1 -1
- package/dist/components/{p-9114f3cb.js → p-f1766ad7.js} +2 -2
- package/dist/components/{p-0b156338.js → p-fc3df00a.js} +2 -2
- package/dist/components/{p-dcfe0e0b.js → p-fcdae215.js} +10 -7
- package/dist/esm/{f-cell-ef478d3f.js → f-cell-bd79ffef.js} +4 -4
- package/dist/esm/{f-chip-25b200ab.js → f-chip-c22107de.js} +1 -1
- package/dist/esm/{f-object-field-8306fe8f.js → f-object-field-90dfb903.js} +2 -2
- package/dist/esm/{f-paginator-utils-53de6f1c.js → f-paginator-utils-38b51762.js} +1 -1
- package/dist/esm/{f-text-field-465cc102.js → f-text-field-31ad8f7f.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +3 -3
- package/dist/esm/kup-autocomplete_30.entry.js +103 -23
- package/dist/esm/kup-box.entry.js +16 -13
- package/dist/esm/kup-calendar.entry.js +3 -3
- package/dist/esm/kup-card-list.entry.js +2 -2
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-custom-task-list-header_4.entry.js +1 -1
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-399ccea6.js → kup-data-table-helper-3a60f39d.js} +2 -2
- package/dist/esm/{kup-dates-992086f1.js → kup-dates-c38ee99a.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +2 -2
- package/dist/esm/kup-gantt_10.entry.js +2 -2
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-bc57ec34.js → kup-manager-35960eb2.js} +175 -21
- package/dist/esm/kup-nav-bar.entry.js +2 -2
- package/dist/esm/kup-numeric-picker.entry.js +3 -3
- package/dist/esm/kup-object-field.entry.js +4 -4
- package/dist/esm/{kup-planner-renderer-helper-9db7a491.js → kup-planner-renderer-helper-836d9912.js} +1 -1
- package/dist/esm/kup-planner-renderer.entry.js +2 -2
- package/dist/esm/kup-planner.entry.js +3 -3
- package/dist/esm/kup-probe.entry.js +2 -2
- package/dist/esm/kup-qlik.entry.js +2 -2
- package/dist/esm/kup-snackbar.entry.js +2 -2
- package/dist/esm/kup-txt.entry.js +2 -2
- package/dist/esm/kup-typography-list.entry.js +2 -2
- package/dist/esm/kup-typography.entry.js +2 -2
- 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-067b5430.entry.js +1 -0
- package/dist/ketchup/{p-301fafb0.entry.js → p-08ac13a7.entry.js} +1 -1
- package/dist/ketchup/{p-e85f1e78.entry.js → p-13e4d5ef.entry.js} +1 -1
- package/dist/ketchup/{p-26e0046e.js → p-1ad40fd0.js} +1 -1
- package/dist/ketchup/{p-5fa26942.entry.js → p-21cb6f39.entry.js} +1 -1
- package/dist/ketchup/{p-50a341fc.entry.js → p-2d954ca8.entry.js} +1 -1
- package/dist/ketchup/p-37c3d27d.js +1 -0
- package/dist/ketchup/{p-31a050c6.entry.js → p-3b4d57f5.entry.js} +1 -1
- package/dist/ketchup/p-4019d630.js +1 -0
- package/dist/ketchup/{p-1f5b1df4.entry.js → p-541d469a.entry.js} +1 -1
- package/dist/ketchup/{p-6bc44966.entry.js → p-55e69e9f.entry.js} +1 -1
- package/dist/ketchup/{p-85a956cd.js → p-5f82173c.js} +1 -1
- package/dist/ketchup/{p-070a0dac.js → p-68dc4ed1.js} +1 -1
- package/dist/ketchup/{p-302502d4.entry.js → p-6d3521d6.entry.js} +1 -1
- package/dist/ketchup/{p-90f5363e.entry.js → p-6dd48c60.entry.js} +1 -1
- package/dist/ketchup/{p-8213526b.entry.js → p-707dff2c.entry.js} +1 -1
- package/dist/ketchup/{p-2847ac2b.entry.js → p-751b23b7.entry.js} +1 -1
- package/dist/ketchup/{p-8222d46d.entry.js → p-76c2f184.entry.js} +1 -1
- package/dist/ketchup/{p-35d6f606.entry.js → p-77117b3a.entry.js} +1 -1
- package/dist/ketchup/p-7e0fb905.entry.js +1 -0
- package/dist/ketchup/{p-2018e835.entry.js → p-857c601b.entry.js} +1 -1
- package/dist/ketchup/{p-552622f5.entry.js → p-939094ef.entry.js} +1 -1
- package/dist/ketchup/{p-211d8935.entry.js → p-99761543.entry.js} +1 -1
- package/dist/ketchup/{p-e77460f4.js → p-9ae814eb.js} +1 -1
- package/dist/ketchup/p-9f5d650a.js +21 -0
- package/dist/ketchup/{p-37bd67d8.entry.js → p-a44780fb.entry.js} +1 -1
- package/dist/ketchup/p-a841aef5.entry.js +1 -0
- package/dist/ketchup/p-a8714314.entry.js +8 -0
- package/dist/ketchup/{p-56180822.entry.js → p-ab6b96ab.entry.js} +1 -1
- package/dist/ketchup/{p-2e6e1479.entry.js → p-b1197adf.entry.js} +1 -1
- package/dist/ketchup/{p-5183215e.entry.js → p-b6a5e87c.entry.js} +1 -1
- package/dist/ketchup/{p-c907474c.entry.js → p-bbd702fd.entry.js} +1 -1
- package/dist/ketchup/{p-ebcf1f74.js → p-c2367aee.js} +1 -1
- package/dist/ketchup/{p-e7ccceeb.entry.js → p-c31f37f9.entry.js} +1 -1
- package/dist/ketchup/{p-cbea5a29.entry.js → p-c838a17e.entry.js} +1 -1
- package/dist/ketchup/{p-bdbbfb48.js → p-d0b30d6a.js} +1 -1
- package/dist/ketchup/{p-daacc004.entry.js → p-d66086d5.entry.js} +1 -1
- package/dist/ketchup/{p-f96390e2.entry.js → p-d90c27c1.entry.js} +1 -1
- package/dist/ketchup/{p-0b5f3245.entry.js → p-df0207be.entry.js} +1 -1
- package/dist/ketchup/p-fa177711.entry.js +1 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +2 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +7 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/managers/kup-dynamic-position/kup-dynamic-position-declarations.d.ts +2 -0
- package/dist/types/managers/kup-language/kup-language-declarations.d.ts +1 -0
- package/dist/types/managers/kup-theme/kup-theme.d.ts +17 -0
- package/package.json +1 -4
- package/dist/ketchup/p-10a3d9cb.js +0 -21
- package/dist/ketchup/p-38ac3c4b.entry.js +0 -8
- package/dist/ketchup/p-48b91894.entry.js +0 -1
- package/dist/ketchup/p-80d8f092.entry.js +0 -1
- package/dist/ketchup/p-a78c9d39.js +0 -1
- package/dist/ketchup/p-c24e94cb.js +0 -1
- package/dist/ketchup/p-ebe27d32.entry.js +0 -1
- package/dist/ketchup/p-f9767f0a.entry.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, F as Fragment } from './p-ef8cbd35.js';
|
|
2
|
-
import { a as KupDates } from './p-
|
|
2
|
+
import { a as KupDates } from './p-ea482528.js';
|
|
3
3
|
import { c as createArrayFromNum } from './p-9aa93983.js';
|
|
4
4
|
|
|
5
5
|
const ganttTableModuleCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}.container{margin-top:var(--kup-space-04)}.scrollable{overflow-x:auto;scrollbar-width:0}.scrollable .project-wrapper{display:table}.scrollable .project{width:100% !important;display:table-row}.scrollable .project>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid var(--kup-border-subtle, #acacac);border-top:1px solid var(--kup-border-subtle, #acacac);padding-left:12px}.scrollable .project>*:first-child{border-left:1px solid var(--kup-border-subtle, #acacac);border-bottom-left-radius:4px;border-top-left-radius:4px}.scrollable .project>*:last-child{border-right:1px solid var(--kup-border-subtle, #acacac);border-bottom-right-radius:4px;border-top-right-radius:4px}.scrollable .subrow{width:100% !important;display:table-row}.scrollable .subrow>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .subrow>*:first-child{border-left:1px solid #acacac}.scrollable .subrow>*:last-child{border-right:1px solid #acacac}.scrollable .timeline{width:100% !important;display:table-row}.scrollable .timeline>*{overflow:unset;padding-right:10px;display:table-cell;vertical-align:middle;border-bottom:1px solid #acacac;border-top:1px solid #acacac;padding-left:12px}.scrollable .timeline>*:first-child{border-left:1px solid #acacac}.scrollable .timeline>*:last-child{border-right:1px solid #acacac}.scrollable .project:has(+.subrow)>*{border-bottom-left-radius:0;border-bottom-right-radius:0}.scrollable::-webkit-scrollbar{width:0;height:0}.project{background:var(--kup-layer-1);border-bottom:1px solid var(--kup-border-subtle);border-radius:var(--kup-radius-00);box-sizing:border-box;color:var(--kup-text-secondary);cursor:pointer;display:grid;font-weight:400;grid-template-columns:var(--grid-project-columns, 1fr 1fr 1fr);place-items:center;padding:var(--kup-space-03)}.project>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.project .main{font-weight:700;width:100%;padding-left:4px;font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.subrow{cursor:pointer;display:grid;border-bottom:1px solid var(--kup-border-subtle);box-sizing:border-box;grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background-color:var(--kup-layer-1);color:var(--kup-text-primary);font-weight:400}.subrow>*{font-size:12px;line-height:14px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.subrow:last-of-type{border-bottom:1px solid var(--kup-border-subtle)}.subrow:has(+.subrow),.project:has(+.subrow){border-bottom-left-radius:0 !important;border-bottom-right-radius:0 !important}.timeline{padding:var(--kup-space-03);cursor:pointer;display:grid;border-bottom:1px solid var(--kup-border-subtle);border-radius:var(--kup-radius-00);grid-template-columns:var(--grid-fasi-columns, 1fr 1fr 1fr);place-items:center;background-color:var(--kup-layer-1);color:var(--kup-text-primary);font-weight:400;box-sizing:border-box}.timeline>*{font-size:14px;line-height:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.timeline .main{font-weight:700;width:100%;padding-left:4px;font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h } from './p-ef8cbd35.js';
|
|
2
2
|
import { K as KUP_PLANNER_MAIN_GANTT_ID } from './p-a0eeacbd.js';
|
|
3
|
-
import { a as KupDates } from './p-
|
|
3
|
+
import { a as KupDates } from './p-ea482528.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './p-9669b12a.js';
|
|
5
|
-
import { d as defineCustomElement$1 } from './p-
|
|
5
|
+
import { d as defineCustomElement$1 } from './p-6e16d432.js';
|
|
6
6
|
|
|
7
7
|
const columnWidthForTimeUnit = (timeUnit) => {
|
|
8
8
|
switch (timeUnit) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h as h$1, d as Host, F as Fragment$1 } from './p-ef8cbd35.js';
|
|
2
|
-
import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as extractColumnsFromFormulaString, a2 as FILTER_ANALYZER, a3 as KupLanguagePage, a4 as addColumnValueFromRow, a5 as KupGlobalFilterMode, g as getProps, s as setProps, a6 as TotalLabel, a7 as isNegativeNumber, a8 as KupPointerEventTypes, a9 as kupDynamicPositionAttribute, aa as identify, ab as KupListProps, ac as KupCardFamily, ad as KupListRole, ae as KupLanguageUpload, af as LoadMoreMode, ag as PaginatorPos, ah as ShowGrid, ai as kupDraggableColumnAttr, aj as kupDragActiveAttr, ak as KupDragEffect, al as kupDraggableCellAttr, am as KupDropEventTypes, an as DataTableAreasEnum, ao as TypesToDuplicate, ap as
|
|
2
|
+
import { b as KupThemeIconValues, I as ItemsDisplayMode, e as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, d as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, c as KupThemeColorValues, C as CHIAdapter, R as RADAdapter, j as CMBandACPAdapter, l as KupTagNames, m as FCellShapes, n as getCellValueForDisplay, o as fullWidthFieldsComps, p as autoCenterComps, q as FCellEvents, r as isForceUppercase, t as isForceLowercase, u as KupDebugCategory, v as adaptContentToDisplayMode, w as FCellPadding, x as fillString, y as KupCardBuiltInClockElements, z as KupCardCSSClasses, A as KupLanguageTotals, B as KupLanguageColumn, D as KupDataNewColumnTypes, E as KupCardSubEvents, G as KupCardIds, H as KupLanguageRow, J as KupLanguageSearch, L as getColumnByName, M as KupObjects, N as formatToNumber, O as Filters, P as getValueForDisplay, Q as getValueForDisplay2, S as KupData, T as compareCell, U as TotalMode, V as getRegExpFromString, W as CHKAdapter, X as SWTAdapter, Y as SortMode, Z as GroupLabelDisplayMode, _ as SelectionMode, $ as KupLanguageGrouping, a0 as KupLanguageCheckbox, a1 as extractColumnsFromFormulaString, a2 as FILTER_ANALYZER, a3 as KupLanguagePage, a4 as addColumnValueFromRow, a5 as KupGlobalFilterMode, g as getProps, s as setProps, a6 as TotalLabel, a7 as isNegativeNumber, a8 as KupPointerEventTypes, a9 as kupDynamicPositionAttribute, aa as identify, ab as KupListProps, ac as KupCardFamily, ad as KupListRole, ae as KupLanguageUpload, af as LoadMoreMode, ag as PaginatorPos, ah as ShowGrid, ai as kupDraggableColumnAttr, aj as kupDragActiveAttr, ak as KupDragEffect, al as kupDraggableCellAttr, am as KupDropEventTypes, an as DataTableAreasEnum, ao as TypesToDuplicate, ap as UseAsValue, aq as FixedCellsClasses, ar as FixedCellsCSSVarsBase, as as KupLanguageFontsize, at as KupLanguageDensity, au as KupLanguageGrid, av as KupDataTableProps, aw as iconColumn, ax as keyColumn, ay as fieldColumn, az as getSizeOfInputElement, aA as KupCardProps } from './p-362d7a44.js';
|
|
3
3
|
import { h, g as getAssetPath, F as Fragment } from './p-3aae989f.js';
|
|
4
|
-
import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-
|
|
4
|
+
import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-ea482528.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Stores result from supportsCssVariables to avoid redundant processing to
|
|
@@ -24564,7 +24564,7 @@ var __classPrivateFieldSet$2 = (undefined && undefined.__classPrivateFieldSet) |
|
|
|
24564
24564
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
24565
24565
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
24566
24566
|
};
|
|
24567
|
-
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,
|
|
24567
|
+
var _KupDataTable_instances, _KupDataTable_checkUpdateState, _KupDataTable_initialized, _KupDataTable_cellToFocus, _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_getCellEditability, _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_addRowHandler, _KupDataTable_createRowWithInputFields, _KupDataTable_renderUpdateButtons, _KupDataTable_createDeletePayload, _KupDataTable_isRowInserted, _KupDataTable_isRowModified, _KupDataTable_arraysContainSameElements;
|
|
24568
24568
|
const dom = document.documentElement;
|
|
24569
24569
|
const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends H {
|
|
24570
24570
|
constructor() {
|
|
@@ -24602,6 +24602,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24602
24602
|
_KupDataTable_instances.add(this);
|
|
24603
24603
|
this.state = new KupDataTableState();
|
|
24604
24604
|
_KupDataTable_initialized.set(this, false);
|
|
24605
|
+
_KupDataTable_cellToFocus.set(this, null);
|
|
24605
24606
|
_KupDataTable_rows.set(this, void 0);
|
|
24606
24607
|
_KupDataTable_rowsLength.set(this, 0);
|
|
24607
24608
|
_KupDataTable_paginatedRows.set(this, void 0);
|
|
@@ -24944,6 +24945,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24944
24945
|
this.totals = undefined;
|
|
24945
24946
|
this.transpose = false;
|
|
24946
24947
|
this.visibleColumns = undefined;
|
|
24948
|
+
this.showMessage = undefined;
|
|
24947
24949
|
this.pendingRowsToUpdate = [];
|
|
24948
24950
|
this.updatableData = false;
|
|
24949
24951
|
this.updateOnClick = false;
|
|
@@ -25036,6 +25038,38 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25036
25038
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
|
|
25037
25039
|
}
|
|
25038
25040
|
}
|
|
25041
|
+
checkFocusErrorCell() {
|
|
25042
|
+
var _a, _b, _c, _d;
|
|
25043
|
+
__classPrivateFieldSet$2(this, _KupDataTable_cellToFocus, null, "f");
|
|
25044
|
+
if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.rows) || !((_b = this.data) === null || _b === void 0 ? void 0 : _b.columns)) {
|
|
25045
|
+
return;
|
|
25046
|
+
}
|
|
25047
|
+
outer: for (const row of this.data.rows) {
|
|
25048
|
+
for (const col of this.data.columns) {
|
|
25049
|
+
const cell = (_c = row.cells) === null || _c === void 0 ? void 0 : _c[col.name];
|
|
25050
|
+
if (((_d = cell === null || cell === void 0 ? void 0 : cell.data) === null || _d === void 0 ? void 0 : _d.error) &&
|
|
25051
|
+
col.visible !== false &&
|
|
25052
|
+
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getCellEditability).call(this, col, row, cell)) {
|
|
25053
|
+
__classPrivateFieldSet$2(this, _KupDataTable_cellToFocus, { column: col.name, rowId: row.id }, "f");
|
|
25054
|
+
break outer;
|
|
25055
|
+
}
|
|
25056
|
+
}
|
|
25057
|
+
}
|
|
25058
|
+
}
|
|
25059
|
+
checkHiddenColumnErrors() {
|
|
25060
|
+
var _a, _b;
|
|
25061
|
+
if (!this.showMessage || !((_a = this.data) === null || _a === void 0 ? void 0 : _a.rows) || !((_b = this.data) === null || _b === void 0 ? void 0 : _b.columns)) {
|
|
25062
|
+
return;
|
|
25063
|
+
}
|
|
25064
|
+
const hasHiddenError = this.data.rows.some((row) => this.data.columns.some((column) => {
|
|
25065
|
+
var _a, _b, _c;
|
|
25066
|
+
return column.visible === false &&
|
|
25067
|
+
((_c = (_b = (_a = row.cells) === null || _a === void 0 ? void 0 : _a[column.name]) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.error);
|
|
25068
|
+
}));
|
|
25069
|
+
if (hasHiddenError) {
|
|
25070
|
+
this.showMessage(__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.ERRORS_IN_ROWS));
|
|
25071
|
+
}
|
|
25072
|
+
}
|
|
25039
25073
|
identifyAndInitRows() {
|
|
25040
25074
|
if (this.data.rows.filter((r) => r.id == undefined).length) {
|
|
25041
25075
|
identify(this.getRows());
|
|
@@ -25734,6 +25768,12 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
25734
25768
|
this.persistState();
|
|
25735
25769
|
// ***
|
|
25736
25770
|
__classPrivateFieldSet$2(this, _KupDataTable_oldWidth, this.rootElement.clientWidth, "f");
|
|
25771
|
+
// Focus first editable cell with an error
|
|
25772
|
+
if (__classPrivateFieldGet$3(this, _KupDataTable_cellToFocus, "f")) {
|
|
25773
|
+
const { column, rowId } = __classPrivateFieldGet$3(this, _KupDataTable_cellToFocus, "f");
|
|
25774
|
+
__classPrivateFieldSet$2(this, _KupDataTable_cellToFocus, null, "f");
|
|
25775
|
+
this.setFocus(column, rowId);
|
|
25776
|
+
}
|
|
25737
25777
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").debug.logRender(this, true);
|
|
25738
25778
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentDidRender', 'kup-data-table');
|
|
25739
25779
|
}
|
|
@@ -26089,7 +26129,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26089
26129
|
__classPrivateFieldSet$2(this, _KupDataTable_sizedColumns, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
26090
26130
|
let rows = null;
|
|
26091
26131
|
if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
26092
|
-
rows = (h$1("tr", { key: '
|
|
26132
|
+
rows = (h$1("tr", { key: 'c778621f24dbe8ac50439c1f1cc2c8da60038c15', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: '38f680149997d7462d6dad98eb4c6d18cd21ccdf', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
26093
26133
|
}
|
|
26094
26134
|
else {
|
|
26095
26135
|
rows = [];
|
|
@@ -26165,7 +26205,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26165
26205
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
26166
26206
|
});
|
|
26167
26207
|
}
|
|
26168
|
-
groupChips = h$1(FChip, Object.assign({ key: '
|
|
26208
|
+
groupChips = h$1(FChip, Object.assign({ key: '452f382db133b46aeb06e7e2ecf5edbcf68c67f7' }, props));
|
|
26169
26209
|
}
|
|
26170
26210
|
}
|
|
26171
26211
|
const tableClass = {
|
|
@@ -26197,7 +26237,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26197
26237
|
if (this.headerIsPersistent &&
|
|
26198
26238
|
this.tableHeight === undefined &&
|
|
26199
26239
|
this.tableWidth === undefined) {
|
|
26200
|
-
stickyEl = (h$1("sticky-header", { key: '
|
|
26240
|
+
stickyEl = (h$1("sticky-header", { key: 'e427e9db53b607acba8dd58e5c9076e2e0b8f52c', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: '3f9ea12ec5eff7643b09b89dffc5b26a0b5ad49d' }, h$1("tr-sticky", { key: '7f1490b736d5390962aab145580e4cfad9bba3dc' }, stickyHeader))));
|
|
26201
26241
|
}
|
|
26202
26242
|
let belowClass = 'below-wrapper';
|
|
26203
26243
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -26243,7 +26283,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26243
26283
|
const useGlobalFilter = !this.legacyLook &&
|
|
26244
26284
|
(this.globalFilter ||
|
|
26245
26285
|
this.getRows().length > __classPrivateFieldGet$3(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
26246
|
-
const compCreated = (h$1(Host, { key: '
|
|
26286
|
+
const compCreated = (h$1(Host, { key: '7c0e5c976a0b9c2cfe64fc1f7cd91ec408b15412', "onKup-drop": (e) => {
|
|
26247
26287
|
this.kupDataTableDrop.emit(e.detail);
|
|
26248
26288
|
}, "onKup-cell-input": (e) => {
|
|
26249
26289
|
autoselectOnAction(e);
|
|
@@ -26262,11 +26302,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26262
26302
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
26263
26303
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
26264
26304
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
26265
|
-
} }, h$1("style", { key: '
|
|
26305
|
+
} }, h$1("style", { key: 'd1b3e38e13368eb88a6de25fc760e9833de7b795' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), h$1("div", { key: 'da0ced70283f1004b8711a6f8a1a666ab7a4abd2', id: componentWrapperId, class: wrapClass }, h$1("div", { key: '6022a92d789b77d2a38cf1c0fe758d0f4864610a', class: "group-wrapper" }, groupChips), h$1("div", { key: '8f511662df066227b919d56353fc297137255d23', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
26266
26306
|
const t = event.target;
|
|
26267
26307
|
window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
26268
26308
|
__classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
26269
|
-
} }))) : null, paginatorTop && (h$1("div", { key: '
|
|
26309
|
+
} }))) : null, paginatorTop && (h$1("div", { key: '386e53a65702e0b8cc1fc1f07a3753d9758e45f2', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
26270
26310
|
this.selectedRows.length > 0 ? (h$1(FButton, { icon: "save", onClick: () => {
|
|
26271
26311
|
this.kupSave.emit({
|
|
26272
26312
|
comp: this,
|
|
@@ -26316,9 +26356,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26316
26356
|
this.data.rows.unshift(row);
|
|
26317
26357
|
await this.refresh(true);
|
|
26318
26358
|
}
|
|
26319
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '
|
|
26359
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: 'f1725eb950f99f7e304d8391ca0ce1990ca0f9cc', class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
26320
26360
|
? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
26321
|
-
: null), h$1("div", { key: '
|
|
26361
|
+
: null), h$1("div", { key: '9322c2940e4d24ab283e3bc8ad924ef6817e6982', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
26322
26362
|
? [
|
|
26323
26363
|
h$1("div", { class: "settings-trigger", onClick: () => {
|
|
26324
26364
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -26327,7 +26367,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26327
26367
|
} }, h$1(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
26328
26368
|
this.renderCustomizePanel(),
|
|
26329
26369
|
]
|
|
26330
|
-
: null, h$1("table", { key: '
|
|
26370
|
+
: null, h$1("table", { key: '86198eaa2ea882bd6d919adffb19f8c19d1cf0e1', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet$3(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
26331
26371
|
ev.stopPropagation();
|
|
26332
26372
|
}, onPointerDown: (e) => {
|
|
26333
26373
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -26335,11 +26375,12 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26335
26375
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
26336
26376
|
}, onContextMenu: (e) => {
|
|
26337
26377
|
e.preventDefault();
|
|
26338
|
-
} }, h$1("thead", { key: '
|
|
26378
|
+
} }, h$1("thead", { key: '842fdb6cabe6779eb66a68644a0f86b77294e760', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: 'cf502adfe5ad7c95d4a253e05f4756ac70c9327a' }, header)), h$1("tbody", { key: 'cb9684e94db3646a5fadfe2a0e3e94340cbbc98e' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
26339
26379
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
26340
26380
|
return compCreated;
|
|
26341
26381
|
}
|
|
26342
26382
|
disconnectedCallback() {
|
|
26383
|
+
var _a;
|
|
26343
26384
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").interact.unregister(__classPrivateFieldGet$3(this, _KupDataTable_interactableDrag, "f").concat(__classPrivateFieldGet$3(this, _KupDataTable_interactableDrop, "f"), __classPrivateFieldGet$3(this, _KupDataTable_interactableResize, "f"), __classPrivateFieldGet$3(this, _KupDataTable_interactableTouch, "f")));
|
|
26344
26385
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.unregister(this);
|
|
26345
26386
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.unregister(this);
|
|
@@ -26348,6 +26389,25 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26348
26389
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
26349
26390
|
__classPrivateFieldGet$3(this, _KupDataTable_customizeTopPanelRef, "f"),
|
|
26350
26391
|
]);
|
|
26392
|
+
if (__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f")) {
|
|
26393
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"));
|
|
26394
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
26395
|
+
__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"),
|
|
26396
|
+
]);
|
|
26397
|
+
}
|
|
26398
|
+
if (__classPrivateFieldGet$3(this, _KupDataTable_actionsCard, "f")) {
|
|
26399
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$3(this, _KupDataTable_actionsCard, "f"));
|
|
26400
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
26401
|
+
__classPrivateFieldGet$3(this, _KupDataTable_actionsCard, "f"),
|
|
26402
|
+
]);
|
|
26403
|
+
}
|
|
26404
|
+
const totalMenu = (_a = this.rootElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('#totals-menu');
|
|
26405
|
+
if (totalMenu) {
|
|
26406
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(totalMenu);
|
|
26407
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
26408
|
+
totalMenu,
|
|
26409
|
+
]);
|
|
26410
|
+
}
|
|
26351
26411
|
const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupDynamicPositionAttribute + ']');
|
|
26352
26412
|
if (dynamicPositionElements.length > 0) {
|
|
26353
26413
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
|
|
@@ -26374,7 +26434,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26374
26434
|
"totals": ["recalculateRows"],
|
|
26375
26435
|
"currentPage": ["recalculateRows"],
|
|
26376
26436
|
"currentRowsPerPage": ["recalculateRows"],
|
|
26377
|
-
"data": ["identifyAndInitRows", "decorateAndInitForUpdTable", "computeMaxRowsPerPage"],
|
|
26437
|
+
"data": ["checkFocusErrorCell", "checkHiddenColumnErrors", "identifyAndInitRows", "decorateAndInitForUpdTable", "computeMaxRowsPerPage"],
|
|
26378
26438
|
"visibleColumns": ["computeMaxRowsPerPage"],
|
|
26379
26439
|
"groups": ["recalculateRowsAndUndoSelections"],
|
|
26380
26440
|
"fixedColumns": ["controlFixedRowsColumns"],
|
|
@@ -26446,6 +26506,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26446
26506
|
"totals": [1040],
|
|
26447
26507
|
"transpose": [1028],
|
|
26448
26508
|
"visibleColumns": [1040],
|
|
26509
|
+
"showMessage": [16],
|
|
26449
26510
|
"pendingRowsToUpdate": [1040],
|
|
26450
26511
|
"updatableData": [1540, "updatable-data"],
|
|
26451
26512
|
"updateOnClick": [4, "update-on-click"],
|
|
@@ -26497,7 +26558,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26497
26558
|
"totals": ["recalculateRows"],
|
|
26498
26559
|
"currentPage": ["recalculateRows"],
|
|
26499
26560
|
"currentRowsPerPage": ["recalculateRows"],
|
|
26500
|
-
"data": ["identifyAndInitRows", "decorateAndInitForUpdTable", "computeMaxRowsPerPage"],
|
|
26561
|
+
"data": ["checkFocusErrorCell", "checkHiddenColumnErrors", "identifyAndInitRows", "decorateAndInitForUpdTable", "computeMaxRowsPerPage"],
|
|
26501
26562
|
"visibleColumns": ["computeMaxRowsPerPage"],
|
|
26502
26563
|
"groups": ["recalculateRowsAndUndoSelections"],
|
|
26503
26564
|
"fixedColumns": ["controlFixedRowsColumns"],
|
|
@@ -26505,7 +26566,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
26505
26566
|
"fixedRows": ["controlFixedRowsColumns"],
|
|
26506
26567
|
"transpose": ["recalculateData"]
|
|
26507
26568
|
}]);
|
|
26508
|
-
_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_onBlurHandler = 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_addRowHandler = new WeakMap(), _KupDataTable_createRowWithInputFields = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_checkUpdateState = function _KupDataTable_checkUpdateState() {
|
|
26569
|
+
_KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = 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_onBlurHandler = 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_addRowHandler = new WeakMap(), _KupDataTable_createRowWithInputFields = new WeakMap(), _KupDataTable_instances = new WeakSet(), _KupDataTable_checkUpdateState = function _KupDataTable_checkUpdateState() {
|
|
26509
26570
|
let somethingChanged = false;
|
|
26510
26571
|
if (!__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
|
|
26511
26572
|
this.state.filters = Object.assign({}, this.filters);
|
|
@@ -26677,6 +26738,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
26677
26738
|
}
|
|
26678
26739
|
}, _KupDataTable_closeDropCard = function _KupDataTable_closeDropCard() {
|
|
26679
26740
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"));
|
|
26741
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
26742
|
+
__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f"),
|
|
26743
|
+
]);
|
|
26680
26744
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCbDropCard, "f"));
|
|
26681
26745
|
__classPrivateFieldGet$3(this, _KupDataTable_columnDropCard, "f").remove();
|
|
26682
26746
|
__classPrivateFieldSet$2(this, _KupDataTable_columnDropCard, null, "f");
|
|
@@ -27444,6 +27508,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
27444
27508
|
card.refresh();
|
|
27445
27509
|
}, _KupDataTable_closeRowActionsCard = function _KupDataTable_closeRowActionsCard() {
|
|
27446
27510
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet$3(this, _KupDataTable_actionsCard, "f"));
|
|
27511
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
27512
|
+
__classPrivateFieldGet$3(this, _KupDataTable_actionsCard, "f"),
|
|
27513
|
+
]);
|
|
27447
27514
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCbDropCard, "f"));
|
|
27448
27515
|
__classPrivateFieldGet$3(this, _KupDataTable_actionsCard, "f").remove();
|
|
27449
27516
|
__classPrivateFieldSet$2(this, _KupDataTable_actionsCard, null, "f");
|
|
@@ -27993,7 +28060,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
27993
28060
|
// reset page
|
|
27994
28061
|
this.currentPage = 1;
|
|
27995
28062
|
}
|
|
27996
|
-
},
|
|
28063
|
+
}, _KupDataTable_getCellEditability = function _KupDataTable_getCellEditability(column, row, cell) {
|
|
27997
28064
|
if (column.useAs) {
|
|
27998
28065
|
if (__classPrivateFieldGet$3(this, _KupDataTable_insertedRowIds, "f").includes(row.id) &&
|
|
27999
28066
|
column.useAs === UseAsValue.DEC) {
|
|
@@ -28293,7 +28360,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
28293
28360
|
}, _KupDataTable_openTotalMenu = function _KupDataTable_openTotalMenu(column) {
|
|
28294
28361
|
this.openedTotalMenu = column.name;
|
|
28295
28362
|
}, _KupDataTable_closeTotalMenu = function _KupDataTable_closeTotalMenu() {
|
|
28363
|
+
var _a;
|
|
28296
28364
|
this.openedTotalMenu = null;
|
|
28365
|
+
const menu = (_a = this.rootElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('#totals-menu');
|
|
28366
|
+
if (menu) {
|
|
28367
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(menu);
|
|
28368
|
+
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
28369
|
+
menu,
|
|
28370
|
+
]);
|
|
28371
|
+
}
|
|
28297
28372
|
__classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet$3(this, _KupDataTable_clickCb, "f"));
|
|
28298
28373
|
}, _KupDataTable_isOpenedTotalMenuForColumn = function _KupDataTable_isOpenedTotalMenuForColumn(column) {
|
|
28299
28374
|
return this.openedTotalMenu === column;
|
|
@@ -28799,7 +28874,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
28799
28874
|
return null;
|
|
28800
28875
|
}
|
|
28801
28876
|
}
|
|
28802
|
-
cell.isEditable = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m",
|
|
28877
|
+
cell.isEditable = __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getCellEditability).call(this, currentColumn, row, cell);
|
|
28803
28878
|
cell.data = Object.assign(Object.assign({}, cell.data), { legacyLook: this.legacyLook, sizing: this.density === 'extra_dense'
|
|
28804
28879
|
? 'extra-small'
|
|
28805
28880
|
: (_a = cell.data) === null || _a === void 0 ? void 0 : _a.sizing });
|
|
@@ -32263,6 +32338,12 @@ const KupCard = /*@__PURE__*/ proxyCustomElement(class KupCard extends H {
|
|
|
32263
32338
|
return (h$1(Host, { style: style }, h$1("style", null, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { id: componentWrapperId, onClick: () => this.onKupClick(null, null), ref: (el) => (this.componentWrapper = el) }, this.getLayout())));
|
|
32264
32339
|
}
|
|
32265
32340
|
disconnectedCallback() {
|
|
32341
|
+
if (this.rootElement.kupDynamicPosition) {
|
|
32342
|
+
this.kupManager.dynamicPosition.stop(this.rootElement);
|
|
32343
|
+
this.kupManager.dynamicPosition.unregister([
|
|
32344
|
+
this.rootElement,
|
|
32345
|
+
]);
|
|
32346
|
+
}
|
|
32266
32347
|
this.kupManager.interact.unregister([this.rootElement]);
|
|
32267
32348
|
this.kupManager.language.unregister(this);
|
|
32268
32349
|
this.kupManager.resize.unobserve(this.rootElement);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory } from './p-362d7a44.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-a30c0106.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h as h$1 } from './p-ef8cbd35.js';
|
|
2
|
-
import { c as calculateDisplayedDateRange, a as convertProjectToTasks, b as getPhaseById, m as mergeTaskIntoProjects, e as getProjectById, f as mergeTaskIntoPhases, h as columnWidthForTimeUnit, d as defineCustomElement$5 } from './p-
|
|
2
|
+
import { c as calculateDisplayedDateRange, a as convertProjectToTasks, b as getPhaseById, m as mergeTaskIntoProjects, e as getProjectById, f as mergeTaskIntoPhases, h as columnWidthForTimeUnit, d as defineCustomElement$5 } from './p-9e6dfc20.js';
|
|
3
3
|
import { K as KUP_PLANNER_MAIN_GANTT_ID, f as KUP_PLANNER_SECONDARY_GANTT_ID } from './p-a0eeacbd.js';
|
|
4
|
-
import { a as KupDates } from './p-
|
|
4
|
+
import { a as KupDates } from './p-ea482528.js';
|
|
5
5
|
import { g as ganttDateTimeFormatters, d as defineCustomElement$b } from './p-a89d1d1e.js';
|
|
6
6
|
import { h } from './p-3aae989f.js';
|
|
7
7
|
import { d as defineCustomElement$e } from './p-9669b12a.js';
|
|
8
|
-
import { d as defineCustomElement$d } from './p-
|
|
9
|
-
import { d as defineCustomElement$c } from './p-
|
|
8
|
+
import { d as defineCustomElement$d } from './p-6e16d432.js';
|
|
9
|
+
import { d as defineCustomElement$c } from './p-5f1a69e4.js';
|
|
10
10
|
import { d as defineCustomElement$a } from './p-75521d10.js';
|
|
11
11
|
import { d as defineCustomElement$9 } from './p-e2423dcd.js';
|
|
12
12
|
import { d as defineCustomElement$8 } from './p-7f02b390.js';
|
|
@@ -46,7 +46,7 @@ var KupDatesOrder;
|
|
|
46
46
|
var dayjs_min = {exports: {}};
|
|
47
47
|
|
|
48
48
|
(function (module, exports) {
|
|
49
|
-
!function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|
|
|
49
|
+
!function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),Y=_.prototype;return O.prototype=Y,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){Y[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
|
|
50
50
|
}(dayjs_min));
|
|
51
51
|
|
|
52
52
|
const dayjs = dayjs_min.exports;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-362d7a44.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-a30c0106.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './p-0462f723.js';
|
|
5
5
|
|
|
6
6
|
var toastuiEditor = {exports: {}};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host, g as getAssetPath } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupThemeColorValues, u as KupDebugCategory, L as getColumnByName, D as KupDataNewColumnTypes } from './p-362d7a44.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u } from './p-a30c0106.js';
|
|
4
4
|
|
|
5
5
|
/*! *****************************************************************************
|
|
6
6
|
Copyright (c) Microsoft Corporation.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, aa as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a8 as KupPointerEventTypes, ak as KupDragEffect, aB as kupDraggableAttr, am as KupDropEventTypes, J as KupLanguageSearch } from './p-
|
|
3
|
-
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-
|
|
2
|
+
import { k as kupManagerInstance, aa as identify, g as getProps, s as setProps, Y as SortMode, L as getColumnByName, e as KupLanguageGeneric, b as KupThemeIconValues, u as KupDebugCategory, a8 as KupPointerEventTypes, ak as KupDragEffect, aB as kupDraggableAttr, am as KupDropEventTypes, J as KupLanguageSearch } from './p-362d7a44.js';
|
|
3
|
+
import { I as filterRows, J as paginateRows, G as sortRows, L as pageChange, N as rowsPerPageChange, F as FImage, O as FCell, P as FChip, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t, E as defineCustomElement$u, R as FPaginator } from './p-a30c0106.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -84,7 +84,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
84
84
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
85
85
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
86
86
|
};
|
|
87
|
-
var _KupBox_instances, _KupBox_checkUpdateState, _KupBox_kupManager, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
|
|
87
|
+
var _KupBox_instances, _KupBox_checkUpdateState, _KupBox_kupManager, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_boundClickFunction, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
|
|
88
88
|
const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends H {
|
|
89
89
|
constructor() {
|
|
90
90
|
super();
|
|
@@ -120,6 +120,7 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends H {
|
|
|
120
120
|
_KupBox_intObserver.set(this, undefined);
|
|
121
121
|
_KupBox_rowsRefs.set(this, []);
|
|
122
122
|
_KupBox_navBarHeight.set(this, 0);
|
|
123
|
+
_KupBox_boundClickFunction.set(this, this.clickFunction.bind(this));
|
|
123
124
|
_KupBox_loadMoreEventCounter.set(this, 0);
|
|
124
125
|
_KupBox_loadMoreEventPreviousQuantity.set(this, 0);
|
|
125
126
|
this.collapsedSection = {};
|
|
@@ -1172,7 +1173,7 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends H {
|
|
|
1172
1173
|
componentDidLoad() {
|
|
1173
1174
|
this.handleAutomaticBoxSelection();
|
|
1174
1175
|
// When component is created, then the listener is set. @See clickFunction for more details
|
|
1175
|
-
document.addEventListener('click',
|
|
1176
|
+
document.addEventListener('click', __classPrivateFieldGet(this, _KupBox_boundClickFunction, "f"));
|
|
1176
1177
|
this.currentPage = this.pageSelected;
|
|
1177
1178
|
if (this.multiSelection && this.selectedRowsState) {
|
|
1178
1179
|
this.selectedRows = [];
|
|
@@ -1281,14 +1282,16 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends H {
|
|
|
1281
1282
|
el) }, boxContent)))));
|
|
1282
1283
|
}
|
|
1283
1284
|
disconnectedCallback() {
|
|
1284
|
-
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.unregister(this.interactableDrag
|
|
1285
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.unregister(this.interactableDrag
|
|
1286
|
+
.concat(this.interactableDrop)
|
|
1287
|
+
.concat(this.interactableTouch));
|
|
1285
1288
|
__classPrivateFieldGet(this, _KupBox_kupManager, "f").language.unregister(this);
|
|
1286
1289
|
__classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.unregister(this);
|
|
1287
1290
|
if (this.scrollOnHover) {
|
|
1288
1291
|
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.unregister(this.boxContainer);
|
|
1289
1292
|
}
|
|
1290
1293
|
// When component is destroyed, then the listener is removed. @See clickFunction for more details
|
|
1291
|
-
document.removeEventListener('click',
|
|
1294
|
+
document.removeEventListener('click', __classPrivateFieldGet(this, _KupBox_boundClickFunction, "f"));
|
|
1292
1295
|
this.kupDidUnload.emit({ comp: this, id: this.rootElement.id });
|
|
1293
1296
|
}
|
|
1294
1297
|
get rootElement() { return this; }
|
|
@@ -1357,7 +1360,7 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends H {
|
|
|
1357
1360
|
"layout": ["onLayoutChanged"],
|
|
1358
1361
|
"selectBox": ["onSelectBoxChanged"]
|
|
1359
1362
|
}]);
|
|
1360
|
-
_KupBox_kupManager = new WeakMap(), _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_loadMoreEventCounter = new WeakMap(), _KupBox_loadMoreEventPreviousQuantity = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_checkUpdateState = function _KupBox_checkUpdateState() {
|
|
1363
|
+
_KupBox_kupManager = new WeakMap(), _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_boundClickFunction = new WeakMap(), _KupBox_loadMoreEventCounter = new WeakMap(), _KupBox_loadMoreEventPreviousQuantity = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_checkUpdateState = function _KupBox_checkUpdateState() {
|
|
1361
1364
|
let somethingChanged = false;
|
|
1362
1365
|
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.sortBy, this.sortBy)) {
|
|
1363
1366
|
this.state.sortBy = this.sortBy;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, F as Fragment } from './index-9b0f4a0d.js';
|
|
2
|
-
import { ar as editableTypes, as as kupTypes, U as FCellClasses, ae as FCellTypes, f as KupThemeColorValues, ap as CHIAdapter, an as RADAdapter, am as CMBandACPAdapter, at as KupTagNames, F as FCellShapes, aj as getCellValueForDisplay, a as KupComponentSizing, au as fullWidthFieldsComps, I as ItemsDisplayMode, av as autoCenterComps, aw as adaptContentToDisplayMode, ax as FCellEvents, ay as isForceUppercase, az as isForceLowercase, h as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { ar as editableTypes, as as kupTypes, U as FCellClasses, ae as FCellTypes, f as KupThemeColorValues, ap as CHIAdapter, an as RADAdapter, am as CMBandACPAdapter, at as KupTagNames, F as FCellShapes, aj as getCellValueForDisplay, a as KupComponentSizing, au as fullWidthFieldsComps, I as ItemsDisplayMode, av as autoCenterComps, aw as adaptContentToDisplayMode, ax as FCellEvents, ay as isForceUppercase, az as isForceLowercase, h as KupDebugCategory } from './kup-manager-35960eb2.js';
|
|
3
3
|
import { F as FButton } from './f-button-3e022953.js';
|
|
4
4
|
import { F as FCheckbox } from './f-checkbox-9912e1a4.js';
|
|
5
|
-
import { F as FChipType, d as FChip } from './f-chip-
|
|
5
|
+
import { F as FChipType, d as FChip } from './f-chip-c22107de.js';
|
|
6
6
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
7
|
-
import { F as FObjectField } from './f-object-field-
|
|
8
|
-
import { F as FTextField } from './f-text-field-
|
|
7
|
+
import { F as FObjectField } from './f-object-field-90dfb903.js';
|
|
8
|
+
import { F as FTextField } from './f-text-field-31ad8f7f.js';
|
|
9
9
|
|
|
10
10
|
var FRadioType;
|
|
11
11
|
(function (FRadioType) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FImage } from './f-image-40b4e64b.js';
|
|
3
|
-
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-
|
|
3
|
+
import { I as ItemsDisplayMode, d as KupThemeIconValues, b as KupLanguageGeneric } from './kup-manager-35960eb2.js';
|
|
4
4
|
|
|
5
5
|
function getIdOfItemByDisplayMode(item, mode, separator) {
|
|
6
6
|
const { id, value, decode } = item;
|