@sme.up/ketchup 11.0.0-SNAPSHOT-20250918105112 → 11.0.0-SNAPSHOT-20250926074033
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-f7a99b74.js → f-cell-2c0f4388.js} +4 -4
- package/dist/cjs/{f-chip-b0b4b0d9.js → f-chip-11c1763b.js} +1 -1
- package/dist/cjs/{f-object-field-db5613ef.js → f-object-field-974b6790.js} +2 -2
- package/dist/cjs/{f-paginator-utils-2fcf4642.js → f-paginator-utils-1736353d.js} +1 -1
- package/dist/cjs/{f-text-field-ee6120c5.js → f-text-field-bdf15a0f.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- 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 +2 -2
- package/dist/cjs/kup-autocomplete_30.cjs.entry.js +83 -77
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +4 -4
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +7 -7
- package/dist/cjs/kup-custom-task-list-header_4.cjs.entry.js +7 -7
- package/dist/cjs/kup-dashboard.cjs.entry.js +3 -3
- package/dist/cjs/{kup-data-table-helper-0705294e.js → kup-data-table-helper-c411be01.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +3 -3
- 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 +3 -3
- package/dist/cjs/kup-gantt_10.cjs.entry.js +23 -23
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +7 -7
- package/dist/cjs/kup-lazy.cjs.entry.js +12 -12
- package/dist/cjs/kup-magic-box.cjs.entry.js +4 -4
- package/dist/cjs/{kup-manager-0ce9fd30.js → kup-manager-d4cfbd61.js} +2 -2
- 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-pdf.cjs.entry.js +2 -2
- 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 +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-accordion/kup-accordion.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +1 -1
- package/dist/collection/components/kup-badge/kup-badge.js +2 -2
- package/dist/collection/components/kup-button-list/kup-button-list.js +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +2 -2
- package/dist/collection/components/kup-cell/kup-cell.js +2 -2
- package/dist/collection/components/kup-checkbox/kup-checkbox.js +1 -1
- package/dist/collection/components/kup-chip/kup-chip.js +2 -2
- package/dist/collection/components/kup-color-picker/kup-color-picker.js +2 -2
- package/dist/collection/components/kup-combobox/kup-combobox.js +1 -1
- package/dist/collection/components/kup-dashboard/kup-dashboard.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +46 -11
- package/dist/collection/components/kup-date-picker/kup-date-picker.js +1 -1
- package/dist/collection/components/kup-dialog/kup-dialog.js +1 -1
- package/dist/collection/components/kup-drawer/kup-drawer.js +2 -2
- package/dist/collection/components/kup-dropdown-button/kup-dropdown-button.js +1 -1
- package/dist/collection/components/kup-echart/kup-echart.js +1 -1
- package/dist/collection/components/kup-editor/kup-editor.js +1 -1
- package/dist/collection/components/kup-family-tree/kup-family-tree.js +2 -2
- package/dist/collection/components/kup-file-upload/kup-file-upload.js +2 -2
- package/dist/collection/components/kup-form/kup-form.js +2 -2
- package/dist/collection/components/kup-htm/kup-htm.js +1 -1
- package/dist/collection/components/kup-image-list/kup-image-list.js +3 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +2 -2
- package/dist/collection/components/kup-lazy/kup-lazy.js +11 -11
- package/dist/collection/components/kup-magic-box/kup-magic-box.js +3 -3
- package/dist/collection/components/kup-nav-bar/kup-nav-bar.js +1 -1
- package/dist/collection/components/kup-numeric-picker/kup-numeric-picker.js +1 -1
- package/dist/collection/components/kup-object-field/kup-object-field.js +1 -1
- package/dist/collection/components/kup-pdf/kup-pdf.js +1 -1
- package/dist/collection/components/kup-planner/kup-planner.js +1 -1
- package/dist/collection/components/kup-planner/utils/custom-task-list-header.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt/kup-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-gantt-calendar/kup-gantt-calendar.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-grid-renderer/kup-grid-renderer.js +3 -3
- package/dist/collection/components/kup-planner/utils/kup-horizontal-scroll/kup-horizontal-scroll.js +5 -5
- package/dist/collection/components/kup-planner/utils/kup-planner-renderer.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-switcher/kup-switcher.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-gantt/kup-task-gantt.js +2 -2
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-header.js +7 -7
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list-table.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-task-list/kup-task-list.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-standard-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-tooltip/kup-tooltip.js +1 -1
- package/dist/collection/components/kup-planner/utils/kup-vertical-scroll/kup-vertical-scroll.js +2 -2
- package/dist/collection/components/kup-probe/kup-probe.js +1 -1
- package/dist/collection/components/kup-progress-bar/kup-progress-bar.js +1 -1
- package/dist/collection/components/kup-qlik/kup-qlik.js +1 -1
- package/dist/collection/components/kup-rating/kup-rating.js +1 -1
- package/dist/collection/components/kup-snackbar/kup-snackbar.js +1 -1
- package/dist/collection/components/kup-spinner/kup-spinner.js +34 -34
- package/dist/collection/components/kup-switch/kup-switch.js +1 -1
- package/dist/collection/components/kup-time-picker/kup-time-picker.js +1 -1
- package/dist/collection/components/kup-txt/kup-txt.js +1 -1
- package/dist/collection/components/kup-typography/kup-typography.js +2 -2
- package/dist/collection/components/kup-typography-list/kup-typography-list.js +1 -1
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +3 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +3 -3
- 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 +4 -4
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +4 -4
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-header.js +1 -1
- package/dist/components/kup-dashboard.js +3 -3
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +4 -4
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +5 -5
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt-calendar.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid-renderer.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-horizontal-scroll.js +1 -1
- package/dist/components/kup-htm.js +3 -3
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +5 -5
- package/dist/components/kup-lazy.js +13 -13
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +7 -7
- package/dist/components/kup-nav-bar.js +3 -3
- package/dist/components/kup-numeric-picker.js +3 -3
- package/dist/components/kup-object-field.js +3 -3
- package/dist/components/kup-pdf.js +3 -3
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +17 -17
- package/dist/components/kup-probe.js +3 -3
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +3 -3
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +3 -3
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-standard-tooltip.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-switcher.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-gantt.js +1 -1
- package/dist/components/kup-task-list-header.js +1 -1
- package/dist/components/kup-task-list-table.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tooltip.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +3 -3
- package/dist/components/kup-typography-list.js +3 -3
- package/dist/components/kup-typography.js +4 -4
- package/dist/components/kup-vertical-scroll.js +1 -1
- package/dist/components/{p-a0689c36.js → p-08f7e266.js} +2 -2
- package/dist/components/{p-b5ccc0d2.js → p-0ff64854.js} +4 -4
- package/dist/components/{p-77d5a7b9.js → p-17337a7c.js} +5 -5
- package/dist/components/{p-e04a9d10.js → p-1cfc8a82.js} +2 -2
- package/dist/components/{p-e8d83de0.js → p-1d99f2fe.js} +1 -1
- package/dist/components/{p-85852162.js → p-28774031.js} +2 -2
- package/dist/components/{p-56da9a2f.js → p-30c8e164.js} +1 -1
- package/dist/components/{p-0d996df2.js → p-343b2833.js} +3 -3
- package/dist/components/{p-74fd0cb8.js → p-54d46233.js} +3 -3
- package/dist/components/{p-ea57c8a7.js → p-67276f12.js} +78 -71
- package/dist/components/{p-98036b1e.js → p-7c68a61b.js} +7 -7
- package/dist/components/{p-aa57deef.js → p-81f061fc.js} +2 -2
- package/dist/components/{p-f852dbfa.js → p-a07ff6c6.js} +2 -2
- package/dist/components/{p-9fae47de.js → p-a0e72afe.js} +13 -13
- package/dist/components/{p-03f1cdd9.js → p-b7db8929.js} +15 -15
- package/dist/components/{p-916e6551.js → p-b7fd7e3d.js} +2 -2
- package/dist/components/{p-78812491.js → p-da4b46f9.js} +3 -3
- package/dist/components/{p-b6f1319e.js → p-da813d4a.js} +2 -2
- package/dist/components/{p-f57a4a4e.js → p-e7f68bbe.js} +1 -1
- package/dist/components/{p-b33ec213.js → p-f39218a4.js} +1 -1
- package/dist/esm/{f-cell-3a3c8d87.js → f-cell-1137210f.js} +4 -4
- package/dist/esm/{f-chip-3ed440ef.js → f-chip-19ec7dfe.js} +1 -1
- package/dist/esm/{f-object-field-23935da4.js → f-object-field-9dc89cb1.js} +2 -2
- package/dist/esm/{f-paginator-utils-a9d5c2d3.js → f-paginator-utils-0cd02efc.js} +1 -1
- package/dist/esm/{f-text-field-4934ff74.js → f-text-field-ab9dca9d.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_30.entry.js +83 -77
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +4 -4
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +7 -7
- package/dist/esm/kup-custom-task-list-header_4.entry.js +7 -7
- package/dist/esm/kup-dashboard.entry.js +3 -3
- package/dist/esm/{kup-data-table-helper-de9421a0.js → kup-data-table-helper-20a204e9.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +3 -3
- 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 +3 -3
- package/dist/esm/kup-gantt_10.entry.js +23 -23
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +7 -7
- package/dist/esm/kup-lazy.entry.js +12 -12
- package/dist/esm/kup-magic-box.entry.js +4 -4
- package/dist/esm/{kup-manager-5c23bae7.js → kup-manager-fda30dc6.js} +2 -2
- 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-pdf.entry.js +2 -2
- 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 +3 -3
- 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-0ba187b4.js +1 -0
- package/dist/ketchup/{p-fcae71f2.entry.js → p-0dd0cf8d.entry.js} +1 -1
- package/dist/ketchup/{p-610e1045.entry.js → p-1036b64a.entry.js} +1 -1
- package/dist/ketchup/{p-02e22635.js → p-223b9ff7.js} +1 -1
- package/dist/ketchup/{p-5b4733d8.entry.js → p-2777a746.entry.js} +1 -1
- package/dist/ketchup/{p-758617e7.entry.js → p-35de99b7.entry.js} +1 -1
- package/dist/ketchup/{p-da273b4d.js → p-3a118dba.js} +1 -1
- package/dist/ketchup/{p-b509455c.entry.js → p-3e8901fc.entry.js} +1 -1
- package/dist/ketchup/{p-180bf54f.entry.js → p-481729c8.entry.js} +1 -1
- package/dist/ketchup/{p-1b2bf662.entry.js → p-4af8c55b.entry.js} +2 -2
- package/dist/ketchup/{p-6c8ce0a9.entry.js → p-4ca472ec.entry.js} +1 -1
- package/dist/ketchup/p-507efcb3.entry.js +1 -0
- package/dist/ketchup/p-5c7b6b74.entry.js +16 -0
- package/dist/ketchup/{p-59027fa3.entry.js → p-624a867b.entry.js} +1 -1
- package/dist/ketchup/{p-ece991ba.entry.js → p-69a3e47a.entry.js} +1 -1
- package/dist/ketchup/{p-b780b291.entry.js → p-6c2438ef.entry.js} +1 -1
- package/dist/ketchup/{p-0db73b81.entry.js → p-713aec20.entry.js} +1 -1
- package/dist/ketchup/{p-a113106a.entry.js → p-73feb2dc.entry.js} +1 -1
- package/dist/ketchup/{p-dc425c68.entry.js → p-7aef1158.entry.js} +1 -1
- package/dist/ketchup/{p-34f54cc8.entry.js → p-814c5e8a.entry.js} +1 -1
- package/dist/ketchup/{p-6d667386.entry.js → p-8c5aa6e4.entry.js} +1 -1
- package/dist/ketchup/{p-cc09bd1d.entry.js → p-90145ee3.entry.js} +1 -1
- package/dist/ketchup/{p-da5d5eea.js → p-99f280d4.js} +1 -1
- package/dist/ketchup/{p-1be8e449.entry.js → p-a61449bb.entry.js} +1 -1
- package/dist/ketchup/{p-143617b6.entry.js → p-a6dcbd2a.entry.js} +1 -1
- package/dist/ketchup/{p-057f9d22.entry.js → p-b2042e19.entry.js} +1 -1
- package/dist/ketchup/{p-a993d05a.entry.js → p-b8adb9c7.entry.js} +1 -1
- package/dist/ketchup/{p-8cc6c355.entry.js → p-b97055a6.entry.js} +1 -1
- package/dist/ketchup/p-bfd4ab89.entry.js +8 -0
- package/dist/ketchup/{p-e45b8338.entry.js → p-c8ca2bdc.entry.js} +1 -1
- package/dist/ketchup/p-c9323112.js +1 -0
- package/dist/ketchup/{p-97ea417e.entry.js → p-d2605540.entry.js} +2 -2
- package/dist/ketchup/p-d629f411.js +21 -0
- package/dist/ketchup/{p-7960c9e8.entry.js → p-d6f45de5.entry.js} +1 -1
- package/dist/ketchup/{p-eac0e5f0.entry.js → p-d7330a4e.entry.js} +1 -1
- package/dist/ketchup/{p-99f6dd77.entry.js → p-ddf37d4e.entry.js} +1 -1
- package/dist/ketchup/{p-b7d29946.entry.js → p-df654b52.entry.js} +2 -2
- package/dist/ketchup/{p-fcbf4e40.entry.js → p-e38b3b08.entry.js} +1 -1
- package/dist/ketchup/{p-87559acf.js → p-f28d4e2e.js} +1 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +5 -1
- package/dist/types/components.d.ts +18 -2
- package/package.json +1 -1
- package/dist/ketchup/p-03d049e3.js +0 -21
- package/dist/ketchup/p-25ec57f1.entry.js +0 -8
- package/dist/ketchup/p-596fb5b6.entry.js +0 -1
- package/dist/ketchup/p-5fa425df.entry.js +0 -16
- package/dist/ketchup/p-95346c81.js +0 -1
- package/dist/ketchup/p-cf5e1d07.js +0 -1
|
@@ -340,6 +340,7 @@ export class KupDataTable {
|
|
|
340
340
|
this.visibleColumns = undefined;
|
|
341
341
|
this.updatableData = false;
|
|
342
342
|
this.updateOnClick = false;
|
|
343
|
+
this.onCellActionBuild = undefined;
|
|
343
344
|
this.lazyLoadCells = false;
|
|
344
345
|
this.currentPage = 1;
|
|
345
346
|
this.currentRowsPerPage = 50;
|
|
@@ -1465,7 +1466,7 @@ export class KupDataTable {
|
|
|
1465
1466
|
__classPrivateFieldSet(this, _KupDataTable_sizedColumns, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
1466
1467
|
let rows = null;
|
|
1467
1468
|
if (__classPrivateFieldGet(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
1468
|
-
rows = (h("tr", { key: '
|
|
1469
|
+
rows = (h("tr", { key: '698fcc1c9dbcf8d6c69cba14f18c8dfdb590a1eb', ref: (el) => __classPrivateFieldGet(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: 'aa3666a2afcbb9a6916f0cfc7d5dbca155216ab0', colSpan: __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
1469
1470
|
}
|
|
1470
1471
|
else {
|
|
1471
1472
|
rows = [];
|
|
@@ -1541,7 +1542,7 @@ export class KupDataTable {
|
|
|
1541
1542
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
1542
1543
|
});
|
|
1543
1544
|
}
|
|
1544
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
1545
|
+
groupChips = h(FChip, Object.assign({ key: '12571ea3cab41755e9de2440d3eee7ffba19c47a' }, props));
|
|
1545
1546
|
}
|
|
1546
1547
|
}
|
|
1547
1548
|
const tableClass = {
|
|
@@ -1573,7 +1574,7 @@ export class KupDataTable {
|
|
|
1573
1574
|
if (this.headerIsPersistent &&
|
|
1574
1575
|
this.tableHeight === undefined &&
|
|
1575
1576
|
this.tableWidth === undefined) {
|
|
1576
|
-
stickyEl = (h("sticky-header", { key: '
|
|
1577
|
+
stickyEl = (h("sticky-header", { key: '1dba3ff1f77e499fcc7dc3b58b07bd0b663947a9', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: 'f702b14cea9c5a00e43fc6c26a8b6469d609a0df' }, h("tr-sticky", { key: 'b75a0f1d96cf6a5b0fff8569669d41a40fa34805' }, stickyHeader))));
|
|
1577
1578
|
}
|
|
1578
1579
|
let belowClass = 'below-wrapper';
|
|
1579
1580
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -1619,7 +1620,7 @@ export class KupDataTable {
|
|
|
1619
1620
|
const useGlobalFilter = !this.legacyLook &&
|
|
1620
1621
|
(this.globalFilter ||
|
|
1621
1622
|
this.getRows().length > __classPrivateFieldGet(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
1622
|
-
const compCreated = (h(Host, { key: '
|
|
1623
|
+
const compCreated = (h(Host, { key: '7d3d30ba5728b618150304880af189ea2ee851ca', "onKup-drop": (e) => {
|
|
1623
1624
|
this.kupDataTableDrop.emit(e.detail);
|
|
1624
1625
|
}, "onKup-cell-input": (e) => {
|
|
1625
1626
|
autoselectOnAction(e);
|
|
@@ -1638,11 +1639,11 @@ export class KupDataTable {
|
|
|
1638
1639
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
1639
1640
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
1640
1641
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
1641
|
-
} }, h("style", { key: '
|
|
1642
|
+
} }, h("style", { key: '9d2c3c4fcb8f96acedaf95a92b270ac1e74e1e13' }, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_renderOtherButtons).call(this), h("div", { key: 'cfe4d481969534d1e93faf1a1f6e852b5b24a2f7', id: componentWrapperId, class: wrapClass }, this.totalsMatrixView && (h(FButton, { key: '46627e3a463a12bc2ab100a442d98e2e7c05f755', icon: "table", label: dom.ketchup.language.translate(KupLanguageGeneric.BACK_TO_ORIGINAL_TABLE), sizing: KupComponentSizing.SMALL, onClick: () => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_switchBackFromTotalsMatrix).call(this) })), h("div", { key: 'd08cfa5176b236cf7d8d9ad5dca515bc6b290394', class: "group-wrapper" }, groupChips), h("div", { key: '2fe31da0cbfa21eb04fbf73646f05752e3ff23e4', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, value: this.globalFilterValue, onInput: (event) => {
|
|
1642
1643
|
const t = event.target;
|
|
1643
1644
|
window.clearTimeout(__classPrivateFieldGet(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
1644
1645
|
__classPrivateFieldSet(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
1645
|
-
} }))) : null, paginatorTop && (h("div", { key: '
|
|
1646
|
+
} }))) : null, paginatorTop && (h("div", { key: '4d7a45ec644ff94db7c57edc5e6aa4c75ae721f1', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
1646
1647
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
1647
1648
|
this.kupSave.emit({
|
|
1648
1649
|
comp: this,
|
|
@@ -1692,9 +1693,9 @@ export class KupDataTable {
|
|
|
1692
1693
|
this.data.rows.unshift(row);
|
|
1693
1694
|
await this.refresh(true);
|
|
1694
1695
|
}
|
|
1695
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
1696
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '9146b7cfcee67fcebc098b835b29db6580dd4f70', class: "droparea", ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
1696
1697
|
? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
1697
|
-
: null), h("div", { key: '
|
|
1698
|
+
: null), h("div", { key: '85d2adc0762a8f668df72fb3df9d0051692d756e', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
1698
1699
|
? [
|
|
1699
1700
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
1700
1701
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -1703,7 +1704,7 @@ export class KupDataTable {
|
|
|
1703
1704
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
1704
1705
|
this.renderCustomizePanel(),
|
|
1705
1706
|
]
|
|
1706
|
-
: null, h("table", { key: '
|
|
1707
|
+
: null, h("table", { key: '82d1042a6a669754669fccd6bb990841c94e9501', class: tableClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
1707
1708
|
ev.stopPropagation();
|
|
1708
1709
|
}, onPointerDown: (e) => {
|
|
1709
1710
|
__classPrivateFieldSet(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -1711,7 +1712,7 @@ export class KupDataTable {
|
|
|
1711
1712
|
__classPrivateFieldSet(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
1712
1713
|
}, onContextMenu: (e) => {
|
|
1713
1714
|
e.preventDefault();
|
|
1714
|
-
} }, h("thead", { key: '
|
|
1715
|
+
} }, h("thead", { key: '2e7e31a6caa8319178730f5a8886e9ae066b1e58', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'f699bcb2e1c5d96e5d80c988842d66ec1c78ca88' }, header)), h("tbody", { key: 'c7ca9e3408b13373d0692b489cc4f9065c1e8d5b' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
1715
1716
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
1716
1717
|
return compCreated;
|
|
1717
1718
|
}
|
|
@@ -3038,6 +3039,37 @@ export class KupDataTable {
|
|
|
3038
3039
|
"attribute": "update-on-click",
|
|
3039
3040
|
"reflect": false,
|
|
3040
3041
|
"defaultValue": "false"
|
|
3042
|
+
},
|
|
3043
|
+
"onCellActionBuild": {
|
|
3044
|
+
"type": "unknown",
|
|
3045
|
+
"mutable": false,
|
|
3046
|
+
"complexType": {
|
|
3047
|
+
"original": "(\n row: KupDataRow,\n column: KupDataColumn,\n cellActions: KupDataRowAction[]\n ) => KupDataRowAction[]",
|
|
3048
|
+
"resolved": "(row: KupDataRow, column: KupDataColumn, cellActions: KupDataRowAction[]) => KupDataRowAction[]",
|
|
3049
|
+
"references": {
|
|
3050
|
+
"KupDataRow": {
|
|
3051
|
+
"location": "import",
|
|
3052
|
+
"path": "../../managers/kup-data/kup-data-declarations",
|
|
3053
|
+
"id": "src/managers/kup-data/kup-data-declarations.ts::KupDataRow"
|
|
3054
|
+
},
|
|
3055
|
+
"KupDataColumn": {
|
|
3056
|
+
"location": "import",
|
|
3057
|
+
"path": "../../managers/kup-data/kup-data-declarations",
|
|
3058
|
+
"id": "src/managers/kup-data/kup-data-declarations.ts::KupDataColumn"
|
|
3059
|
+
},
|
|
3060
|
+
"KupDataRowAction": {
|
|
3061
|
+
"location": "import",
|
|
3062
|
+
"path": "../../managers/kup-data/kup-data-declarations",
|
|
3063
|
+
"id": "src/managers/kup-data/kup-data-declarations.ts::KupDataRowAction"
|
|
3064
|
+
}
|
|
3065
|
+
}
|
|
3066
|
+
},
|
|
3067
|
+
"required": false,
|
|
3068
|
+
"optional": false,
|
|
3069
|
+
"docs": {
|
|
3070
|
+
"tags": [],
|
|
3071
|
+
"text": "When set the new set of cellActions will be used insted of the default ones."
|
|
3072
|
+
}
|
|
3041
3073
|
}
|
|
3042
3074
|
};
|
|
3043
3075
|
}
|
|
@@ -5993,7 +6025,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
5993
6025
|
e.stopPropagation();
|
|
5994
6026
|
const details = __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
5995
6027
|
if (details.cell) {
|
|
5996
|
-
|
|
6028
|
+
let cellActions = __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").data.cell.buildCellActions(details.row, details.column, (_a = this.commands) !== null && _a !== void 0 ? _a : []);
|
|
6029
|
+
if (this.onCellActionBuild) {
|
|
6030
|
+
cellActions = this.onCellActionBuild(details.row, details.column, cellActions);
|
|
6031
|
+
}
|
|
5997
6032
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onRowActionExpanderClick).call(this, e, details.row, cellActions);
|
|
5998
6033
|
}
|
|
5999
6034
|
return details;
|
|
@@ -395,7 +395,7 @@ export class KupDatePicker {
|
|
|
395
395
|
showPreviousNextMonthDays: this.showPreviousNextMonthDays,
|
|
396
396
|
},
|
|
397
397
|
};
|
|
398
|
-
return (h(Host, { key: '
|
|
398
|
+
return (h(Host, { key: '89370db9093ab382829b4e2b194affcd8b31f1cc' }, h("style", { key: '5b5d84b0615bae285b0a628998a0cf1eb4ba48b3' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1dda510e487857d4e7dc12bcbf2436dd6c379216', id: componentWrapperId }, h(FTextField, Object.assign({ key: 'a440413c3c06269408f0a246c27263e807909986' }, textfieldData, { disabled: this.disabled, fullHeight: fullHeight, fullWidth: fullWidth, maxLength: (_a = textfieldData.maxLength) !== null && _a !== void 0 ? _a : 10, size: 10, id: this.rootElement.id + '_text-field', value: this.getDateForOutput(), onBlur: () => this.onKupBlur(), onChange: (e) => this.onKupChange(e), onClearIconClick: () => this.onKupClearIconClick(), onClick: () => this.onKupClick(), onFocus: () => this.onKupFocus(), onIconClick: () => this.onKupIconClick(), onKeyDown: (e) => this.onKupTextFieldSubmit(e), onInput: (e) => this.onKupInput(e) }), h("div", { key: '1d925cd67ecd77482ac21c476885366374b702f6', id: this.rootElement.id + '_card', class: "kup-date-picker-card" }, h("kup-card", { key: '20015aa671cb069aacb91d18d42af966341113c7', ref: (el) => (this.pickerContainerEl = el), data: cardData, layoutFamily: KupCardFamily.BUILT_IN, sizeX: "300px", sizeY: "auto", isMenu: true, "onkup-card-click": (ev) => {
|
|
399
399
|
if (ev.detail.value != null &&
|
|
400
400
|
ev.detail.value != '')
|
|
401
401
|
this.onKupDatePickerItemClick(ev.detail.value);
|
|
@@ -156,7 +156,7 @@ export class KupDialog {
|
|
|
156
156
|
if (headerSlot) {
|
|
157
157
|
__classPrivateFieldSet(this, _KupDialog_header, headerSlot, "f");
|
|
158
158
|
}
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '45ad2930ec31e900e741a3494270fbf788c34dd3', "fade-in": true, style: style, "data-anchor": ((_a = this.anchor) === null || _a === void 0 ? void 0 : _a.toString()) || 'none' }, h("style", { key: 'be70b4c9741a815973f214594435a3fef02e715c' }, __classPrivateFieldGet(this, _KupDialog_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '62496765cfc39d7c4896c553f6679db0878c209f', id: componentWrapperId }, this.header ? (h("div", { class: "header", ref: (el) => (__classPrivateFieldSet(this, _KupDialog_header, el, "f")) }, this.header.title ? (h("div", { class: "header__title" }, this.header.title)) : null, ((_b = this.header.icons) === null || _b === void 0 ? void 0 : _b.close) ? (h(FImage, { onClick: () => this.close(), sizeX: "1.25em", sizeY: "100%", resource: "clear", wrapperClass: "header__close" })) : null)) : headerSlot ? (h("slot", { name: "header" })) : null, h("div", { key: '7648fb8944d01223737750c5a6132055bdd32b11', class: "content" }, h("slot", { key: '68f966a08452a7ff0e91e5106e65b6aabe3087bf', name: "content" })))));
|
|
160
160
|
}
|
|
161
161
|
disconnectedCallback() {
|
|
162
162
|
__classPrivateFieldGet(this, _KupDialog_instances, "m", _KupDialog_disconnectedCallback).call(this);
|
|
@@ -108,7 +108,7 @@ export class KupDrawer {
|
|
|
108
108
|
this.kupManager.debug.logRender(this, true);
|
|
109
109
|
}
|
|
110
110
|
render() {
|
|
111
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: '0f03a9ec28a30133c48af267f152510a22d25c45', "kup-opened": this.opened }, h("style", { key: 'b6a2a042edb3ba925cb8e53b42f5a8f4329ae302' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '47d94ef2126cec0fc4bf908175cd5f75853ef7bb', class: "backdrop", onClick: (e) => {
|
|
112
112
|
e.preventDefault();
|
|
113
113
|
e.stopPropagation();
|
|
114
114
|
}, onPointerDown: (e) => {
|
|
@@ -118,7 +118,7 @@ export class KupDrawer {
|
|
|
118
118
|
}, onTouchStart: (e) => {
|
|
119
119
|
e.preventDefault();
|
|
120
120
|
e.stopPropagation();
|
|
121
|
-
} }), h("div", { key: '
|
|
121
|
+
} }), h("div", { key: '0ac61233158d55895bea11122f177814d20b4518', id: componentWrapperId }, h("div", { key: 'b29993549e61788eee7aa060a21de5eaca4e5eba', class: drawerClass }, this.content()))));
|
|
122
122
|
}
|
|
123
123
|
disconnectedCallback() {
|
|
124
124
|
this.kupManager.theme.unregister(this);
|
|
@@ -293,7 +293,7 @@ export class KupDropdownButton {
|
|
|
293
293
|
return buttons;
|
|
294
294
|
}
|
|
295
295
|
render() {
|
|
296
|
-
return (h(Host, { key: '
|
|
296
|
+
return (h(Host, { key: '26860146683f708166a88e19004f2b4199749c22' }, h("style", { key: 'c858481ea9845d44eef53c3537c45b5c40128580' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '4d470d4fbc78514e917a69d7d04340e560fb006c', id: componentWrapperId }, h("div", { key: '089151f10a32c56adae882cbf5b3b1e7461f4c4f', class: "dropdown-button--wrapper" }, this.renderButtons()), h("kup-list", Object.assign({ key: '4f0c917f10c7fd71dfda5a32ba97dd275bbdd128' }, this.data['kup-list'], { displayMode: this.displayMode, isMenu: true, "onKup-list-click": (e) => this.onKupItemClick(e), id: this.rootElement.id + '_list', ref: (el) => (this.listEl = el) })))));
|
|
297
297
|
}
|
|
298
298
|
disconnectedCallback() {
|
|
299
299
|
if (this.listEl) {
|
|
@@ -142,7 +142,7 @@ export class KupEchart {
|
|
|
142
142
|
'--kup_echart_height': this.sizeY ? this.sizeY : '100%',
|
|
143
143
|
'--kup_echart_width': this.sizeX ? this.sizeX : '100%',
|
|
144
144
|
};
|
|
145
|
-
return (h(Host, { key: '
|
|
145
|
+
return (h(Host, { key: '948513bc1cdd00267e84293746e762541bfea5e5', style: style }, h("style", { key: '4b0afee1aefa54c43ff8ad6f08f76030d922f294' }, __classPrivateFieldGet(this, _KupEchart_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'bbefba1b26561e184c8f8ef0bb77242e59aaff41', id: componentWrapperId, ref: (chartContainer) => (__classPrivateFieldSet(this, _KupEchart_chartContainer, chartContainer, "f")) })));
|
|
146
146
|
}
|
|
147
147
|
disconnectedCallback() {
|
|
148
148
|
var _a;
|
|
@@ -383,7 +383,7 @@ export class KupEditor {
|
|
|
383
383
|
__classPrivateFieldGet(this, _KupEditor_kupManager, "f").debug.logRender(this, true);
|
|
384
384
|
}
|
|
385
385
|
render() {
|
|
386
|
-
return (h(Host, { key: '
|
|
386
|
+
return (h(Host, { key: '309a38c8ee179718b950dca5cfbc1f35fd6a4bc2' }, h("div", { key: '5e54bba96fdb184414111c58bd8215e1536cde16', id: componentWrapperId }, h("div", { key: this.rootElement.id, ref: (el) => (this.editorRef = el), class: "kup-editor" }), __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_isPlainTextEditor).call(this) && (h("textarea", { key: 'ca5893466ce8190c7813416718765fa1abdc660b', id: '' + this.rootElement.id + '-textarea', value: this.initialValue, ref: (el) => (__classPrivateFieldSet(this, _KupEditor_textareaRef, el, "f")), onInput: (e) => __classPrivateFieldGet(this, _KupEditor_instances, "m", _KupEditor_handleUnsavedChanges).call(this, e.target.value), placeholder: "Type your text here...", readOnly: this.isReadOnly, style: {
|
|
387
387
|
height: this.editorHeight || 'auto',
|
|
388
388
|
}, class: "kup-editor-textarea" })))));
|
|
389
389
|
}
|
|
@@ -149,12 +149,12 @@ export class KupFamilyTree {
|
|
|
149
149
|
__classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").debug.logRender(this, true);
|
|
150
150
|
}
|
|
151
151
|
render() {
|
|
152
|
-
return (h(Host, { key: '
|
|
152
|
+
return (h(Host, { key: '2b3d29a0c6c4832b9fdbef8ad7f3af86d94c7efc', onDrag: (e) => e.preventDefault(), onPointerDown: (e) => {
|
|
153
153
|
e.preventDefault();
|
|
154
154
|
__classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_startPanning).call(this, e);
|
|
155
155
|
}, onWheel: (e) => {
|
|
156
156
|
__classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_zoomTree).call(this, e);
|
|
157
|
-
} }, h("style", { key: '
|
|
157
|
+
} }, h("style", { key: '1ef59be810f85f616fcc08c2b672ca452f0c14fa' }, __classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'bebb9e822bc259ca4dc23848e45e20147b5a9968', id: componentWrapperId }, __classPrivateFieldGet(this, _KupFamilyTree_instances, "m", _KupFamilyTree_createTree).call(this))));
|
|
158
158
|
}
|
|
159
159
|
disconnectedCallback() {
|
|
160
160
|
__classPrivateFieldGet(this, _KupFamilyTree_kupManager, "f").language.unregister(this);
|
|
@@ -156,7 +156,7 @@ export class KupFileUpload {
|
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
158
|
var _a;
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '86d27dd1526fcb59894d8bd0172465a5d4eedbba' }, h("style", { key: '083415d841897bf14803739158589ac6c3290beb' }, __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '633097816f37df614e2259104441fc888aa98869', id: componentWrapperId }, h("div", { key: '9bd8a68477971dc6968df6a8d5a944e13655c995', class: {
|
|
160
160
|
'file-upload': true,
|
|
161
161
|
'file-upload-spinner': this.showSpinner,
|
|
162
162
|
'file-upload__invalid': !this.isValidDropFiles,
|
|
@@ -164,7 +164,7 @@ export class KupFileUpload {
|
|
|
164
164
|
var _a;
|
|
165
165
|
event.preventDefault();
|
|
166
166
|
this.isValidDropFiles = __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_isValidDraggedItems).call(this, (_a = event.dataTransfer) === null || _a === void 0 ? void 0 : _a.items);
|
|
167
|
-
}, onDrop: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragLeave: () => (this.isValidDropFiles = true), onDragEnd: () => (this.isValidDropFiles = true) }, h("input", { key: '
|
|
167
|
+
}, onDrop: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleDrop).bind(this), onDragLeave: () => (this.isValidDropFiles = true), onDragEnd: () => (this.isValidDropFiles = true) }, h("input", { key: '520c5e641dd4686d6c5cb500e90ad0f9d5e13da6', type: "file", ref: (el) => (this.inputRef = el), onChange: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileChange).bind(this), multiple: this.multiUpload, accept: (_a = this.acceptedFiles) === null || _a === void 0 ? void 0 : _a.join(','), hidden: true }), h("div", { key: '3c362430599bfe922c292b60e10dd69b01c8f323', class: "file-upload__buttons" }, h(FButton, { key: '5461ed8b8691c8655d96a44e92defcaccc883fa4', icon: "upload", label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.CHOOSE), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleClick).bind(this) }), !this.autoUpload && (h(Fragment, { key: '301827ce8f629a1e7229d94a6f922e212b901648' }, h(FButton, { key: 'a962cd913a348d6fd5a9d83e338a9f4d8540fe86', icon: "save", disabled: !this.tempFiles.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.UPLOAD), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_uploadClick).bind(this), styling: FButtonStyling.FLAT }), h(FButton, { key: '9afc6fc3b440934706ccfc1772640c6fa1cb1b5e', icon: "clear", disabled: !this.tempFiles.length, label: __classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.translate(KupLanguageGeneric.ABORT), onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleCancel).bind(this), styling: FButtonStyling.FLAT })))), this.fupError && (h("div", { key: 'd247e2d7034ffe5d2feb5cd0bf70da3895228382', class: "file-upload__error" }, h("span", { key: '3bd88ab742f01606469d18c4f26f800ddb6cea32', class: "mdc-error-message" }, this.fupError))), h("div", { key: '032ddf95a67fdc248320ca7a5edaaf51595328d3', class: "file-upload__list" }, this.tempFiles.map((file, i) => (h("div", { class: "file-upload__list__item" }, h("div", { class: "file-upload__list__item__preview" }, h(FImage, { resource: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_getPreview).call(this, file), placeholderResource: "file" })), h("span", { class: "file-upload__list__item__desc", title: file.name }, __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_trimFileName).call(this, file.name)), h("span", { class: "file-upload__list__item__clear", onClick: __classPrivateFieldGet(this, _KupFileUpload_instances, "m", _KupFileUpload_handleFileRemove).bind(this, i) }))))), this.pathFiles.length ? (h("div", { class: "file-upload__list" }, this.pathFiles.map((path, i) => (h("span", { class: "file-upload__list__item" }, h("span", null, i + 1, ". ", path)))))) : null, this.showSpinner && (h("div", { key: '594de280a0f350250539d0a8570a530713d17520', class: "file-upload__spinner-container" }, h("kup-spinner", { key: '5beb1bdb7e81f633ef5212cc6b7bea37862b1656', active: true, layout: 14, dimensions: "7px" })))))));
|
|
168
168
|
}
|
|
169
169
|
disconnectedCallback() {
|
|
170
170
|
__classPrivateFieldGet(this, _KupFileUpload_kupManager, "f").language.unregister(this);
|
|
@@ -408,7 +408,7 @@ export class KupForm {
|
|
|
408
408
|
render() {
|
|
409
409
|
let formContent = null;
|
|
410
410
|
if (this.data.rows.length === 0) {
|
|
411
|
-
formContent = (h("p", { key: '
|
|
411
|
+
formContent = (h("p", { key: '46890dc8a88cce8157e2f51427436e14f4d28aff' }, this.kupManager.language.translate(KupLanguageGeneric.EMPTY_DATA)));
|
|
412
412
|
}
|
|
413
413
|
else {
|
|
414
414
|
const rows = this.data.rows;
|
|
@@ -419,7 +419,7 @@ export class KupForm {
|
|
|
419
419
|
formContent.push(this.renderRow(rows[cnt++]));
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
return (h(Host, { key: '
|
|
422
|
+
return (h(Host, { key: '3742b107591e2049557c9c6ba7a57c2c89ed2bf6' }, h("style", { key: 'e68b81d7ec845079bb1fa24798ab445174903feb' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '0e4b8b5cce0d8e7b456b049a0c534e7ece0f3875', id: componentWrapperId }, formContent)));
|
|
423
423
|
}
|
|
424
424
|
disconnectedCallback() {
|
|
425
425
|
this.kupManager.language.unregister(this);
|
|
@@ -72,7 +72,7 @@ export class KupHTM {
|
|
|
72
72
|
render() {
|
|
73
73
|
var _a;
|
|
74
74
|
const isLink = __classPrivateFieldGet(this, _KupHTM_instances, "m", _KupHTM_isObjectCompatibleWithHTM).call(this, (_a = this === null || this === void 0 ? void 0 : this.data) === null || _a === void 0 ? void 0 : _a.obj);
|
|
75
|
-
return (h(Host, { key: '
|
|
75
|
+
return (h(Host, { key: 'e0ff41740b7ba9f4868fa57584d322ecd48c303e' }, h("style", { key: '03023fa0073d7c50cbfa55575f7651fffd00ec9b' }, __classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '3936b946bd1c251dff6e6bc04f7fa3608871d8e4', id: componentWrapperId }, h("div", { key: '966b12ceaa527b60700fb7662810b1bf44184d98', class: `kup-htm ${isLink ? 'is-link' : ''}` }, isLink ? (h(Fragment, null, h("kup-button", { label: __classPrivateFieldGet(this, _KupHTM_kupManager, "f").language.translate(KupLanguageGeneric.OPEN_IN_NEW_TAB), sizing: 'small', class: 'kup-secondary', icon: "open-in-new", styling: 'flat', trailingIcon: true, onClick: () => this.openInNewTab(this.data.value) }), h("iframe", { src: this.data.value, frameBorder: "0" }))) : (h("div", { innerHTML: this.data.value }))))));
|
|
76
76
|
}
|
|
77
77
|
disconnectedCallback() {
|
|
78
78
|
__classPrivateFieldGet(this, _KupHTM_kupManager, "f").theme.unregister(this);
|
|
@@ -205,14 +205,14 @@ export class KupImageList {
|
|
|
205
205
|
}
|
|
206
206
|
const imlClass = 'image-list' +
|
|
207
207
|
(this.showFullDescription ? ' full-description' : '');
|
|
208
|
-
return (h(Host, { key: '
|
|
208
|
+
return (h(Host, { key: '70e641db8226035a3b1225d2e0ba41b7ab9efe07' }, h("style", { key: '716a4162de563cef34af13b2040af5c6822658dd' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'c7713ffe6ba01317739fc11462bd2a128c3204a7', id: componentWrapperId, ref: (el) => {
|
|
209
209
|
__classPrivateFieldSet(this, _KupImageList_el, el, "f");
|
|
210
|
-
} }, h("div", { key: '
|
|
210
|
+
} }, h("div", { key: '002b0d2b5f1eb83c3421afe7aba650ec6027640b', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
|
|
211
211
|
? 'navigation-bar__wrapper--active'
|
|
212
212
|
: ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
|
|
213
213
|
this.navigationBarToggled =
|
|
214
214
|
!this.navigationBarToggled;
|
|
215
|
-
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), this.leadingLabel && (h("div", { key: '
|
|
215
|
+
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), this.leadingLabel && (h("div", { key: '7fe4be416d9b55ecd2864c568b7fdd68f389a530', class: "mdc-text-field__label-container" }, h("label", { key: '9ad182f60e3f57a5e54e759f1d9fa346cf19ad05', class: "mdc-label" }, this.leadingLabel))), h("div", { key: '8bee80bf76f46761a88b577670fa2b9ddac263df', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
|
|
216
216
|
}
|
|
217
217
|
disconnectedCallback() {
|
|
218
218
|
__classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
|
|
@@ -272,7 +272,7 @@ export class KupInputPanel {
|
|
|
272
272
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
273
273
|
]
|
|
274
274
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
275
|
-
return (h(Host, { key: '
|
|
275
|
+
return (h(Host, { key: '1a92211ced351022b35f7a58aad683dbdcbc969e', "onKup-cell-blur": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.BLUR), "onKup-cell-update": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_onCellUpdate).bind(this), "onKup-tabbar-click": (e) => {
|
|
276
276
|
this.tabSelected = e.detail.node.id;
|
|
277
277
|
}, "onKup-autocomplete-input": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-autocomplete-iconclick": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).bind(this), "onKup-combobox-iconclick": (e) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_getOptionHandler).call(this, e, true), "onKup-cell-itemclick": (e) => {
|
|
278
278
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -282,7 +282,7 @@ export class KupInputPanel {
|
|
|
282
282
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
283
283
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
284
284
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
285
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '
|
|
285
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '8d499008a16904b18d5576cb36c03c23a6303d16' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'd962739097a2cab95213935598fbf965d53687f1', id: componentWrapperId }, inputPanelContent)));
|
|
286
286
|
}
|
|
287
287
|
disconnectedCallback() {
|
|
288
288
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -108,39 +108,39 @@ export class KupLazy {
|
|
|
108
108
|
switch (this.componentName) {
|
|
109
109
|
case 'kup-button':
|
|
110
110
|
//call_to_action.svg
|
|
111
|
-
resource = (h("svg", { key: '
|
|
111
|
+
resource = (h("svg", { key: '0cba0dfae80e8ac52b327f413a9ec6d5e2ffa3e5', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'e3d19fcfebe28791b4b166bdf1b30ed45aed1f18', d: "M42 6H6c-2.2 0-4 1.8-4 4v28c0 2.2 1.8 4 4 4h36c2.2 0 4-1.8 4-4V10c0-2.2-1.8-4-4-4zm0 32H6v-6h36v6z" })));
|
|
112
112
|
break;
|
|
113
113
|
case 'kup-card':
|
|
114
114
|
//art_track.svg
|
|
115
|
-
resource = (h("svg", { key: '
|
|
115
|
+
resource = (h("svg", { key: 'bc36dbbd6e363e4fe0727e9a748a0e0663ca5fa5', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '5297f591baf3d41516a0a45eb8dbb9a50b8cc901', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
116
116
|
break;
|
|
117
117
|
case 'kup-checkbox':
|
|
118
118
|
//check_box_outline_blank.svg
|
|
119
|
-
resource = (h("svg", { key: '
|
|
119
|
+
resource = (h("svg", { key: 'eb780d5e18366432cd548fb979faccffa4a8d5ed', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '13d99bd50d1e83f606c2d9bcb2ea86abae677853', d: "M38 10v28H10V10h28m0-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4V10c0-2.21-1.79-4-4-4z" })));
|
|
120
120
|
break;
|
|
121
121
|
case 'kup-chart':
|
|
122
122
|
//chart-bar.svg
|
|
123
|
-
resource = (h("svg", { key: '
|
|
123
|
+
resource = (h("svg", { key: '40979479a18e37f30c8289f31174085b2ba33e92', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: 'b94227ad852286e57865504da7c94c677c9d5549', d: "M22,21H2V3H4V19H6V10H10V19H12V6H16V19H18V14H22V21Z" })));
|
|
124
124
|
break;
|
|
125
125
|
case 'kup-data-table':
|
|
126
126
|
//table-large.svg
|
|
127
|
-
resource = (h("svg", { key: '
|
|
127
|
+
resource = (h("svg", { key: '65d15792552c8f4a8bafbe7d6a9c7dd95608377e', xmlns: "http://www.w3.org/2000/svg", version: "1.1", width: "100%", height: "100%", viewBox: "0 0 24 24" }, h("path", { key: '89474537e4706facccb7ad98ec55ae37e38799d2', d: "M4,3H20A2,2 0 0,1 22,5V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V5A2,2 0 0,1 4,3M4,7V10H8V7H4M10,7V10H14V7H10M20,10V7H16V10H20M4,12V15H8V12H4M4,20H8V17H4V20M10,12V15H14V12H10M10,20H14V17H10V20M20,20V17H16V20H20M20,12H16V15H20V12Z" })));
|
|
128
128
|
break;
|
|
129
129
|
case 'kup-image':
|
|
130
130
|
//photo.svg
|
|
131
|
-
resource = (h("svg", { key: '
|
|
131
|
+
resource = (h("svg", { key: '711945675796a5ed1cf5d5b37cf9c479f6079a8f', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '4fb5f44b88453e114c61138bb4204d19ab637ad1', d: "M42 38V10c0-2.21-1.79-4-4-4H10c-2.21 0-4 1.79-4 4v28c0 2.21 1.79 4 4 4h28c2.21 0 4-1.79 4-4zM17 27l5 6.01L29 24l9 12H10l7-9z" })));
|
|
132
132
|
break;
|
|
133
133
|
case 'kup-progress-bar':
|
|
134
134
|
//linear_scale.svg
|
|
135
|
-
resource = (h("svg", { key: '
|
|
135
|
+
resource = (h("svg", { key: 'd8cd2382068768590889ff5ba66a575fad9433b5', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'dfc1c558e4093d6ba829c61bc7fd171eff1b90d8', d: "M39 19c-2.05 0-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3s-3.81 1.23-4.58 3h-5.84c-.77-1.77-2.53-3-4.58-3-2.77 0-5 2.23-5 5s2.23 5 5 5c2.05 0 3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3s3.81-1.23 4.58-3h5.84c.77 1.77 2.53 3 4.58 3 2.77 0 5-2.23 5-5s-2.23-5-5-5z" })));
|
|
136
136
|
break;
|
|
137
137
|
case 'kup-radio':
|
|
138
138
|
//radio_button_unchecked.svg
|
|
139
|
-
resource = (h("svg", { key: '
|
|
139
|
+
resource = (h("svg", { key: '8b3e676485fced5df5bf4111b9ff5d43e8fcb6a0', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: '1689dec9ac44cc5c20efd969c0ce135ab7211d2a', d: "M24 4C12.95 4 4 12.95 4 24s8.95 20 20 20 20-8.95 20-20S35.05 4 24 4zm0 36c-8.84 0-16-7.16-16-16S15.16 8 24 8s16 7.16 16 16-7.16 16-16 16z" })));
|
|
140
140
|
break;
|
|
141
141
|
default:
|
|
142
142
|
//art_track.svg
|
|
143
|
-
resource = (h("svg", { key: '
|
|
143
|
+
resource = (h("svg", { key: '4df624e1ccfa3ba3ebf5b9ae244b66316c1f5622', xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 48 48" }, h("path", { key: 'b725bffa8e1211a08e3b329c1de0775179e7d72d', d: "M44 26H28v-4h16v4zm0-12H28v4h16v-4zM28 34h16v-4H28v4zm-4-16v12c0 2.2-1.8 4-4 4H8c-2.2 0-4-1.8-4-4V18c0-2.2 1.8-4 4-4h12c2.2 0 4 1.8 4 4zm-3 12l-4.5-6-3.5 4.51-2.5-3.01L7 30h14z" })));
|
|
144
144
|
break;
|
|
145
145
|
}
|
|
146
146
|
if ((this.renderMode === KupLazyRender.VIEWPORT && this.isInViewport) ||
|
|
@@ -149,14 +149,14 @@ export class KupLazy {
|
|
|
149
149
|
this.data &&
|
|
150
150
|
this.isInViewport)) {
|
|
151
151
|
let Tag = this.componentName;
|
|
152
|
-
content = (h(Tag, Object.assign({ key: '
|
|
152
|
+
content = (h(Tag, Object.assign({ key: '7392971c8567d7ae02593e36080205da5f009c12' }, this.data, { ref: (el) => (this.lazyComponent = el) })));
|
|
153
153
|
className += ' kup-loaded';
|
|
154
154
|
}
|
|
155
155
|
else if (this.showPlaceholder) {
|
|
156
156
|
content = resource;
|
|
157
157
|
className += ' kup-to-be-loaded';
|
|
158
158
|
}
|
|
159
|
-
return (h(Host, { key: '
|
|
159
|
+
return (h(Host, { key: '7f860280a851c0e22af1e6d4ebdb40769dc977d6', class: className }, h("style", { key: 'ef15067de8ee68ed8930aa682e611826dd73072e' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '42b906ac3d8dd0f6623b691024cba4a3864f9466', id: componentWrapperId }, content)));
|
|
160
160
|
}
|
|
161
161
|
disconnectedCallback() {
|
|
162
162
|
var _a;
|
|
@@ -263,11 +263,11 @@ export class KupMagicBox {
|
|
|
263
263
|
this.kupManager.debug.logRender(this, true);
|
|
264
264
|
}
|
|
265
265
|
render() {
|
|
266
|
-
return (h(Host, { key: '
|
|
266
|
+
return (h(Host, { key: '96bc321a64aa0a9e6417b00d4bd7cf71ee36c25e' }, h("style", { key: '780a3af31a76675bfb07828a091d71cf56e8a509' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'd0183168806b3ca3f7ea8bd0bb0d1db30b5fc555', id: componentWrapperId }, h("div", { key: '994608cae130b6677fe0e6b99e6c99efae978ae7', class: "magic-box-wrapper" }, h("div", { key: '2376551f8ebdae9a66cbbd5cfe96a0d0e7210c7e', class: "actions", id: "drag-handle" }, h("kup-combobox", Object.assign({ key: '4f47e24e91bfbba12127bbf0a841d07bca70e7c8' }, this.comboboxProps())), h("kup-button", { key: 'bc4bf26823b9d7dd79e7e22317be992553f8ce58', styling: FButtonStyling.FLAT, icon: "delete", label: "Reset", "onkup-button-click": () => {
|
|
267
267
|
this.data = null;
|
|
268
|
-
} }), h("kup-button", { key: '
|
|
268
|
+
} }), h("kup-button", { key: '3b792c14754c92c1b8c78d83d9f91f3dacf2b978', id: "close-dialog", customStyle: `:host{${KupThemeColorValues.PRIMARY}: var(${KupThemeColorValues.TITLE});}`, icon: "clear", "onkup-button-click": () => {
|
|
269
269
|
this.kupManager.hideMagicBox();
|
|
270
|
-
} })), h("div", { key: '
|
|
270
|
+
} })), h("div", { key: '821ce2b50c3c7d3f66d7d7088760f9ec05388bcb', class: "content", ref: (el) => (this.wrapperRef = el) }, this.setContent())))));
|
|
271
271
|
}
|
|
272
272
|
disconnectedCallback() {
|
|
273
273
|
this.kupManager.interact.unregister([
|
|
@@ -98,7 +98,7 @@ export class KupNavBar {
|
|
|
98
98
|
this.kupManager.debug.logRender(this, true);
|
|
99
99
|
}
|
|
100
100
|
render() {
|
|
101
|
-
return (h(Host, { key: '
|
|
101
|
+
return (h(Host, { key: '1b7dfbdcdba323600c1694ffd97fae2fea456fa3', class: "header" }, h("style", { key: '19c21b8f911faff1b7721c108f5ee37ca36d093b' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '5636fc107766c42b39a0681c60d037598a2340af', id: componentWrapperId }, h("header", { key: '7b7179dcf45e60515e3915f386fa8c589e740a65', class: `${navbarClass} ${navbarClass}--${this.styling.toLowerCase()} ` }, h("div", { key: '41b77c118a6455497d84c5b6fef3604d8e48e2e5', class: `${navbarClass}__row` }, this.content())))));
|
|
102
102
|
}
|
|
103
103
|
disconnectedCallback() {
|
|
104
104
|
this.kupManager.language.unregister(this);
|
|
@@ -321,7 +321,7 @@ export class KupNumericPicker {
|
|
|
321
321
|
this.kupManager.debug.logRender(this, true);
|
|
322
322
|
}
|
|
323
323
|
render() {
|
|
324
|
-
return (h(Host, { key: '
|
|
324
|
+
return (h(Host, { key: 'a0fa5db07a997676bf8ec920c17737ded8ebab73' }, h("style", { key: '6dd509dd8513a8f47d03771be98cba5c0b1d7104' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: 'f40aa94eca541896ef2eb48208b91b3304d8ef0c', id: componentWrapperId }, this.prepTextfield())));
|
|
325
325
|
}
|
|
326
326
|
disconnectedCallback() {
|
|
327
327
|
this.kupManager.dates.unregister(this);
|
|
@@ -79,7 +79,7 @@ export class KupObjectField {
|
|
|
79
79
|
inputValue: this.inputValue,
|
|
80
80
|
onChange: null,
|
|
81
81
|
};
|
|
82
|
-
return (h(Host, { key: '
|
|
82
|
+
return (h(Host, { key: '724e64584ab1c253cbfc7084163582ca5031e119' }, h("style", { key: '942adfde3a633b4b7fe0dc7e7b2006f6ce839544' }, __classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'cdf9cd2751d683f1ca9d2f14f5e80dec611f5acb', id: componentWrapperId }, h(FObjectField, Object.assign({ key: '70a6a48b4a9d426e8917bd985dfab12f5e51aeee' }, props)))));
|
|
83
83
|
}
|
|
84
84
|
disconnectedCallback() {
|
|
85
85
|
__classPrivateFieldGet(this, _KupObjectField_kupManager, "f").theme.unregister(this);
|
|
@@ -105,7 +105,7 @@ export class KupPdf {
|
|
|
105
105
|
catch (error) { }
|
|
106
106
|
}
|
|
107
107
|
render() {
|
|
108
|
-
return (h(Host, { key: '
|
|
108
|
+
return (h(Host, { key: 'f9c1d7fde04aaf67dcc8bfcec8d837877458f3d1' }, h("div", { key: '5888c88904e111d3c6943b3a5a2cb48c457a4ab6', id: componentWrapperId, ref: (el) => (this.wrapperRef = el) })));
|
|
109
109
|
}
|
|
110
110
|
disconnectedCallback() {
|
|
111
111
|
__classPrivateFieldGet(this, _KupPdf_kupManager, "f").theme.unregister(this);
|
|
@@ -523,7 +523,7 @@ export class KupPlanner {
|
|
|
523
523
|
if ((_b = this.plannerProps) === null || _b === void 0 ? void 0 : _b.secondaryGantt) {
|
|
524
524
|
plannerProps.secondaryGantt = Object.assign(Object.assign({}, this.plannerProps.secondaryGantt), { onScrollY: this.handleDetailGanttScrollY.bind(this) });
|
|
525
525
|
}
|
|
526
|
-
return (h(Host, { key: '
|
|
526
|
+
return (h(Host, { key: '8f6f8690534daff524d24c154262c647e3b47812' }, h("style", { key: 'b194bada5c19b1b2d8bec36045f6e951b9ba6f51' }, __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '86093c456345e85449818ea75da7bb25af716d2a', id: componentWrapperId, style: { maxWidth: this.maxWidth } }, this.plannerProps && (h("kup-planner-renderer", { key: 'afab67c14fd38d7c272137c46835220caacf8957', props: plannerProps, ref: (el) => (this.plannerRenderer = el) }))), h("div", { key: 'e025a5de1af015778298d1fba368c24f4b20693e', style: { display: this.plannerProps ? 'none' : '' } }, h(FTextField, { key: '3eaa194ed53dd577b2a5a32f5582860654b46276', icon: KupThemeIconValues.SEARCH, id: "main-filter", label: __classPrivateFieldGet(this, _KupPlanner_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), onKeyDown: (e) => {
|
|
527
527
|
if (e.key === 'Enter') {
|
|
528
528
|
__classPrivateFieldGet(this, _KupPlanner_instances, "m", _KupPlanner_onFilter).call(this, e.target.value);
|
|
529
529
|
}
|
|
@@ -8,11 +8,11 @@ export class KupCustomTaskListHeader {
|
|
|
8
8
|
this.fontSize = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: '05fe55f4c82048fb05af97503d62002b148959b8', class: "custom-task-list-wrapper", style: {
|
|
12
12
|
height: '25px',
|
|
13
13
|
fontFamily: this.fontFamily,
|
|
14
14
|
fontSize: this.fontSize,
|
|
15
|
-
} }, h("div", { key: '
|
|
15
|
+
} }, h("div", { key: 'cf9b43eba6135bc3ca160cb5f2a242c56d8f9d26', class: "title" }, h("span", { key: 'c153259b75a22b1f9696bb33501a5846c4462705' }, this.label)), this.setDoubleView !== undefined && (h("div", { key: '4ff3c8a080db82d55b055143ea2aa04889784b3c', class: "toggler" }, h("label", { key: '9a80e920593b91e76952492fd729c36695a879cb', htmlFor: "ch2", class: "switch" }, h("input", { key: '0c2e763afe9aa771d08f1e105fb8d4a3bcb4acda', class: "input", id: "ch2", type: "checkbox", checked: this.doubleView, onClick: () => this.setDoubleView(!this.doubleView) }), h("span", { key: '6d9476b473c7f99747bd7babffc5594a2668b3d5', class: "slider" })), h("span", { key: '7910f25dc048046ec7d62191729ad6279509c45e', class: "label" }, "Previsioni")))));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "kup-custom-task-list-header"; }
|
|
18
18
|
static get originalStyleUrls() {
|
|
@@ -563,9 +563,9 @@ export class KupGantt {
|
|
|
563
563
|
TaskListHeader: this.TaskListHeader,
|
|
564
564
|
TaskListTable: this.TaskListTable
|
|
565
565
|
};
|
|
566
|
-
return (h("div", { key: '
|
|
566
|
+
return (h("div", { key: '5d3729695125410a11383b26e08befe22d3e7e0e', class: "gannt-wrapper-main" }, h("div", { key: '1556c795e50e2ff0d69e671ab8741570bc8dc110', class: "wrapper", onKeyDown: this.handleKeyDown.bind(this), tabIndex: 0, ref: (el) => (this.wrapperRef = el) }, this.listCellWidth && (h("kup-task-list", Object.assign({ key: 'e1da92c14e7e3e1c2f70384c64c97c7e27ac8a84', currentTasks: this.currentTasks, handleClick: this.handleClick, handleDblClick: this.handleDblClick, handleContextMenu: this.handleContextMenu, ganttOnClick: this.ganttOnClick, ganttOnDblClick: this.ganttOnDblClick, ganttonOnContextMenu: this.ganttonOnContextMenu, label: this.label, doubleView: this.doubleView, setDoubleView: this.setDoubleView }, tableProps, { class: "tasks", scrollableTaskList: this.scrollableTaskList, updateTaskListScrollX: this.ignoreScrollEvent, ontaskListScrollWidth: (width) => {
|
|
567
567
|
this.taskListScrollWidth = width;
|
|
568
|
-
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: '
|
|
568
|
+
}, taskListScrollX: this.taskListScrollX, ref: (el) => (this.taskListTrueRef = el) }))), h("kup-task-gantt", { key: 'f400c2dab82d9009bc682ba1c9859b9b99100d90', gridProps: gridProps, calendarProps: calendarProps, barProps: barProps, ganttHeight: this.ganttHeight, taskGanttRef: this.taskGanttRef, scrollY: this.scrollY, scrollX: this.scrollX, phaseDragScroll: this.handlePhaseDragScroll.bind(this), class: "ganttContainer" }), this.ganttEvent.changedTask && (h("kup-tooltip", { key: '588d6bac86d907a291b9eec6dc136b2b2d01e2e0', arrowIndent: this.arrowIndent, rowHeight: this.rowHeight, svgContainerHeight: this.svgContainerHeight, svgContainerWidth: this.svgContainerWidth, fontFamily: this.fontFamily, fontSize: this.fontSize, scrollX: this.scrollX, scrollY: this.scrollY, task: this.ganttEvent.changedTask, headerHeight: this.headerHeight, taskListWidth: this.taskListWidth, TooltipContent: this.TooltipContent, rtl: this.rtl, svgWidth: this.svgWidth })), h("kup-vertical-scroll", { key: 'bae60f3b737ddab0430a8c439cfe78fae46410b7', ganttFullHeight: this.ganttFullHeight, ganttHeight: this.ganttHeight, headerHeight: this.headerHeight, scrollNumber: this.scrollY, verticalScroll: this.handleScrollY.bind(this), rtl: this.rtl })), this.taskGanttRef && (h("kup-horizontal-scroll", { key: '0f10a72541a09e33dfe3cf1ff7bb70de26d685ce', svgWidth: this.svgWidth, taskListTrueRef: this.taskListTrueRef, taskListWidth: this.taskListWidth, scrollNumber: this.scrollX, rtl: this.rtl, horizontalScroll: this.handleScrollX.bind(this), horizontalTaskListScroll: this.handleTaskListScrollX.bind(this), listCellWidth: this.listCellWidth, scrollableTaskList: this.scrollableTaskList, taskListScrollWidth: this.taskListScrollWidth, taskListScrollNumber: this.taskListScrollX }))));
|
|
569
569
|
}
|
|
570
570
|
static get is() { return "kup-gantt"; }
|
|
571
571
|
static get originalStyleUrls() {
|