@sme.up/ketchup 11.0.5 → 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 +123 -28
- 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 +14 -10
- 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/built-in/kup-card-calendar.js +20 -5
- package/dist/collection/components/kup-card/kup-card.css +4 -0
- 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-input-panel/kup-input-panel.js +8 -4
- 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 +11 -7
- 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-3c28a421.js → p-a30c0106.js} +119 -23
- package/dist/components/{p-571ebd17.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-d2c85296.js → p-f1766ad7.js} +2 -2
- package/dist/components/{p-7b004e12.js → p-fc3df00a.js} +2 -2
- package/dist/components/{p-2ae1b3af.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 +123 -28
- 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 +14 -10
- 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-a44780fb.entry.js +1 -0
- 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-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-bbf06c90.entry.js +0 -1
- package/dist/ketchup/p-c24e94cb.js +0 -1
- package/dist/ketchup/p-ebe27d32.entry.js +0 -1
- package/dist/ketchup/p-ef780739.entry.js +0 -8
- package/dist/ketchup/p-f9767f0a.entry.js +0 -1
|
@@ -14,7 +14,7 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
|
|
|
14
14
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
15
15
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
16
16
|
};
|
|
17
|
-
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,
|
|
17
|
+
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;
|
|
18
18
|
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
19
19
|
import { FixedCellsClasses, FixedCellsCSSVarsBase, GroupLabelDisplayMode, LoadMoreMode, PaginatorPos, ShowGrid, SortMode, TotalMode, TotalLabel, KupDataTableProps, fieldColumn, iconColumn, keyColumn, SelectionMode, DataTableAreasEnum, TypesToDuplicate, } from "./kup-data-table-declarations";
|
|
20
20
|
import { getColumnByName, getValueForDisplay, isNegativeNumber, } from "../../utils/cell-utils";
|
|
@@ -54,6 +54,7 @@ export class KupDataTable {
|
|
|
54
54
|
_KupDataTable_instances.add(this);
|
|
55
55
|
this.state = new KupDataTableState();
|
|
56
56
|
_KupDataTable_initialized.set(this, false);
|
|
57
|
+
_KupDataTable_cellToFocus.set(this, null);
|
|
57
58
|
_KupDataTable_rows.set(this, void 0);
|
|
58
59
|
_KupDataTable_rowsLength.set(this, 0);
|
|
59
60
|
_KupDataTable_paginatedRows.set(this, void 0);
|
|
@@ -396,6 +397,7 @@ export class KupDataTable {
|
|
|
396
397
|
this.totals = undefined;
|
|
397
398
|
this.transpose = false;
|
|
398
399
|
this.visibleColumns = undefined;
|
|
400
|
+
this.showMessage = undefined;
|
|
399
401
|
this.pendingRowsToUpdate = [];
|
|
400
402
|
this.updatableData = false;
|
|
401
403
|
this.updateOnClick = false;
|
|
@@ -488,6 +490,38 @@ export class KupDataTable {
|
|
|
488
490
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_initRows).call(this);
|
|
489
491
|
}
|
|
490
492
|
}
|
|
493
|
+
checkFocusErrorCell() {
|
|
494
|
+
var _a, _b, _c, _d;
|
|
495
|
+
__classPrivateFieldSet(this, _KupDataTable_cellToFocus, null, "f");
|
|
496
|
+
if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.rows) || !((_b = this.data) === null || _b === void 0 ? void 0 : _b.columns)) {
|
|
497
|
+
return;
|
|
498
|
+
}
|
|
499
|
+
outer: for (const row of this.data.rows) {
|
|
500
|
+
for (const col of this.data.columns) {
|
|
501
|
+
const cell = (_c = row.cells) === null || _c === void 0 ? void 0 : _c[col.name];
|
|
502
|
+
if (((_d = cell === null || cell === void 0 ? void 0 : cell.data) === null || _d === void 0 ? void 0 : _d.error) &&
|
|
503
|
+
col.visible !== false &&
|
|
504
|
+
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getCellEditability).call(this, col, row, cell)) {
|
|
505
|
+
__classPrivateFieldSet(this, _KupDataTable_cellToFocus, { column: col.name, rowId: row.id }, "f");
|
|
506
|
+
break outer;
|
|
507
|
+
}
|
|
508
|
+
}
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
checkHiddenColumnErrors() {
|
|
512
|
+
var _a, _b;
|
|
513
|
+
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)) {
|
|
514
|
+
return;
|
|
515
|
+
}
|
|
516
|
+
const hasHiddenError = this.data.rows.some((row) => this.data.columns.some((column) => {
|
|
517
|
+
var _a, _b, _c;
|
|
518
|
+
return column.visible === false &&
|
|
519
|
+
((_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);
|
|
520
|
+
}));
|
|
521
|
+
if (hasHiddenError) {
|
|
522
|
+
this.showMessage(__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageRow.ERRORS_IN_ROWS));
|
|
523
|
+
}
|
|
524
|
+
}
|
|
491
525
|
identifyAndInitRows() {
|
|
492
526
|
if (this.data.rows.filter((r) => r.id == undefined).length) {
|
|
493
527
|
identify(this.getRows());
|
|
@@ -1186,6 +1220,12 @@ export class KupDataTable {
|
|
|
1186
1220
|
this.persistState();
|
|
1187
1221
|
// ***
|
|
1188
1222
|
__classPrivateFieldSet(this, _KupDataTable_oldWidth, this.rootElement.clientWidth, "f");
|
|
1223
|
+
// Focus first editable cell with an error
|
|
1224
|
+
if (__classPrivateFieldGet(this, _KupDataTable_cellToFocus, "f")) {
|
|
1225
|
+
const { column, rowId } = __classPrivateFieldGet(this, _KupDataTable_cellToFocus, "f");
|
|
1226
|
+
__classPrivateFieldSet(this, _KupDataTable_cellToFocus, null, "f");
|
|
1227
|
+
this.setFocus(column, rowId);
|
|
1228
|
+
}
|
|
1189
1229
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").debug.logRender(this, true);
|
|
1190
1230
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentDidRender', 'kup-data-table');
|
|
1191
1231
|
}
|
|
@@ -1543,7 +1583,7 @@ export class KupDataTable {
|
|
|
1543
1583
|
__classPrivateFieldSet(this, _KupDataTable_sizedColumns, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
1544
1584
|
let rows = null;
|
|
1545
1585
|
if (__classPrivateFieldGet(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
1546
|
-
rows = (h("tr", { key: '
|
|
1586
|
+
rows = (h("tr", { key: 'c778621f24dbe8ac50439c1f1cc2c8da60038c15', ref: (el) => __classPrivateFieldGet(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '38f680149997d7462d6dad98eb4c6d18cd21ccdf', colSpan: __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
1547
1587
|
}
|
|
1548
1588
|
else {
|
|
1549
1589
|
rows = [];
|
|
@@ -1619,7 +1659,7 @@ export class KupDataTable {
|
|
|
1619
1659
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
1620
1660
|
});
|
|
1621
1661
|
}
|
|
1622
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
1662
|
+
groupChips = h(FChip, Object.assign({ key: '452f382db133b46aeb06e7e2ecf5edbcf68c67f7' }, props));
|
|
1623
1663
|
}
|
|
1624
1664
|
}
|
|
1625
1665
|
const tableClass = {
|
|
@@ -1651,7 +1691,7 @@ export class KupDataTable {
|
|
|
1651
1691
|
if (this.headerIsPersistent &&
|
|
1652
1692
|
this.tableHeight === undefined &&
|
|
1653
1693
|
this.tableWidth === undefined) {
|
|
1654
|
-
stickyEl = (h("sticky-header", { key: '
|
|
1694
|
+
stickyEl = (h("sticky-header", { key: 'e427e9db53b607acba8dd58e5c9076e2e0b8f52c', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: '3f9ea12ec5eff7643b09b89dffc5b26a0b5ad49d' }, h("tr-sticky", { key: '7f1490b736d5390962aab145580e4cfad9bba3dc' }, stickyHeader))));
|
|
1655
1695
|
}
|
|
1656
1696
|
let belowClass = 'below-wrapper';
|
|
1657
1697
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -1697,7 +1737,7 @@ export class KupDataTable {
|
|
|
1697
1737
|
const useGlobalFilter = !this.legacyLook &&
|
|
1698
1738
|
(this.globalFilter ||
|
|
1699
1739
|
this.getRows().length > __classPrivateFieldGet(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
1700
|
-
const compCreated = (h(Host, { key: '
|
|
1740
|
+
const compCreated = (h(Host, { key: '7c0e5c976a0b9c2cfe64fc1f7cd91ec408b15412', "onKup-drop": (e) => {
|
|
1701
1741
|
this.kupDataTableDrop.emit(e.detail);
|
|
1702
1742
|
}, "onKup-cell-input": (e) => {
|
|
1703
1743
|
autoselectOnAction(e);
|
|
@@ -1716,11 +1756,11 @@ export class KupDataTable {
|
|
|
1716
1756
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
1717
1757
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
1718
1758
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
1719
|
-
} }, h("style", { key: '
|
|
1759
|
+
} }, h("style", { key: 'd1b3e38e13368eb88a6de25fc760e9833de7b795' }, __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: 'da0ced70283f1004b8711a6f8a1a666ab7a4abd2', id: componentWrapperId, class: wrapClass }, h("div", { key: '6022a92d789b77d2a38cf1c0fe758d0f4864610a', class: "group-wrapper" }, groupChips), h("div", { key: '8f511662df066227b919d56353fc297137255d23', 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) => {
|
|
1720
1760
|
const t = event.target;
|
|
1721
1761
|
window.clearTimeout(__classPrivateFieldGet(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
1722
1762
|
__classPrivateFieldSet(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
1723
|
-
} }))) : null, paginatorTop && (h("div", { key: '
|
|
1763
|
+
} }))) : null, paginatorTop && (h("div", { key: '386e53a65702e0b8cc1fc1f07a3753d9758e45f2', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
1724
1764
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
1725
1765
|
this.kupSave.emit({
|
|
1726
1766
|
comp: this,
|
|
@@ -1770,9 +1810,9 @@ export class KupDataTable {
|
|
|
1770
1810
|
this.data.rows.unshift(row);
|
|
1771
1811
|
await this.refresh(true);
|
|
1772
1812
|
}
|
|
1773
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
1813
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'f1725eb950f99f7e304d8391ca0ce1990ca0f9cc', class: "droparea", ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
1774
1814
|
? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
1775
|
-
: null), h("div", { key: '
|
|
1815
|
+
: null), h("div", { key: '9322c2940e4d24ab283e3bc8ad924ef6817e6982', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
1776
1816
|
? [
|
|
1777
1817
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
1778
1818
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -1781,7 +1821,7 @@ export class KupDataTable {
|
|
|
1781
1821
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
1782
1822
|
this.renderCustomizePanel(),
|
|
1783
1823
|
]
|
|
1784
|
-
: null, h("table", { key: '
|
|
1824
|
+
: null, h("table", { key: '86198eaa2ea882bd6d919adffb19f8c19d1cf0e1', class: tableClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
1785
1825
|
ev.stopPropagation();
|
|
1786
1826
|
}, onPointerDown: (e) => {
|
|
1787
1827
|
__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");
|
|
@@ -1789,11 +1829,12 @@ export class KupDataTable {
|
|
|
1789
1829
|
__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");
|
|
1790
1830
|
}, onContextMenu: (e) => {
|
|
1791
1831
|
e.preventDefault();
|
|
1792
|
-
} }, h("thead", { key: '
|
|
1832
|
+
} }, h("thead", { key: '842fdb6cabe6779eb66a68644a0f86b77294e760', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'cf502adfe5ad7c95d4a253e05f4756ac70c9327a' }, header)), h("tbody", { key: 'cb9684e94db3646a5fadfe2a0e3e94340cbbc98e' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
1793
1833
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
1794
1834
|
return compCreated;
|
|
1795
1835
|
}
|
|
1796
1836
|
disconnectedCallback() {
|
|
1837
|
+
var _a;
|
|
1797
1838
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupDataTable_interactableDrag, "f").concat(__classPrivateFieldGet(this, _KupDataTable_interactableDrop, "f"), __classPrivateFieldGet(this, _KupDataTable_interactableResize, "f"), __classPrivateFieldGet(this, _KupDataTable_interactableTouch, "f")));
|
|
1798
1839
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").language.unregister(this);
|
|
1799
1840
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").theme.unregister(this);
|
|
@@ -1802,6 +1843,25 @@ export class KupDataTable {
|
|
|
1802
1843
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
1803
1844
|
__classPrivateFieldGet(this, _KupDataTable_customizeTopPanelRef, "f"),
|
|
1804
1845
|
]);
|
|
1846
|
+
if (__classPrivateFieldGet(this, _KupDataTable_columnDropCard, "f")) {
|
|
1847
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet(this, _KupDataTable_columnDropCard, "f"));
|
|
1848
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
1849
|
+
__classPrivateFieldGet(this, _KupDataTable_columnDropCard, "f"),
|
|
1850
|
+
]);
|
|
1851
|
+
}
|
|
1852
|
+
if (__classPrivateFieldGet(this, _KupDataTable_actionsCard, "f")) {
|
|
1853
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet(this, _KupDataTable_actionsCard, "f"));
|
|
1854
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
1855
|
+
__classPrivateFieldGet(this, _KupDataTable_actionsCard, "f"),
|
|
1856
|
+
]);
|
|
1857
|
+
}
|
|
1858
|
+
const totalMenu = (_a = this.rootElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('#totals-menu');
|
|
1859
|
+
if (totalMenu) {
|
|
1860
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(totalMenu);
|
|
1861
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
1862
|
+
totalMenu,
|
|
1863
|
+
]);
|
|
1864
|
+
}
|
|
1805
1865
|
const dynamicPositionElements = this.rootElement.shadowRoot.querySelectorAll('[' + kupDynamicPositionAttribute + ']');
|
|
1806
1866
|
if (dynamicPositionElements.length > 0) {
|
|
1807
1867
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister(Array.prototype.slice.call(dynamicPositionElements));
|
|
@@ -3075,6 +3135,21 @@ export class KupDataTable {
|
|
|
3075
3135
|
"text": "List of the visible columns"
|
|
3076
3136
|
}
|
|
3077
3137
|
},
|
|
3138
|
+
"showMessage": {
|
|
3139
|
+
"type": "unknown",
|
|
3140
|
+
"mutable": false,
|
|
3141
|
+
"complexType": {
|
|
3142
|
+
"original": "(message: string) => void",
|
|
3143
|
+
"resolved": "(message: string) => void",
|
|
3144
|
+
"references": {}
|
|
3145
|
+
},
|
|
3146
|
+
"required": false,
|
|
3147
|
+
"optional": false,
|
|
3148
|
+
"docs": {
|
|
3149
|
+
"tags": [],
|
|
3150
|
+
"text": "Callback invoked to display an error message (e.g. errors on hidden columns).\r\nWhen provided, the built-in dialog is not shown and the consumer is responsible for the display."
|
|
3151
|
+
}
|
|
3152
|
+
},
|
|
3078
3153
|
"pendingRowsToUpdate": {
|
|
3079
3154
|
"type": "unknown",
|
|
3080
3155
|
"mutable": true,
|
|
@@ -4570,6 +4645,12 @@ export class KupDataTable {
|
|
|
4570
4645
|
}, {
|
|
4571
4646
|
"propName": "currentRowsPerPage",
|
|
4572
4647
|
"methodName": "recalculateRows"
|
|
4648
|
+
}, {
|
|
4649
|
+
"propName": "data",
|
|
4650
|
+
"methodName": "checkFocusErrorCell"
|
|
4651
|
+
}, {
|
|
4652
|
+
"propName": "data",
|
|
4653
|
+
"methodName": "checkHiddenColumnErrors"
|
|
4573
4654
|
}, {
|
|
4574
4655
|
"propName": "data",
|
|
4575
4656
|
"methodName": "identifyAndInitRows"
|
|
@@ -4615,7 +4696,7 @@ export class KupDataTable {
|
|
|
4615
4696
|
}];
|
|
4616
4697
|
}
|
|
4617
4698
|
}
|
|
4618
|
-
_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() {
|
|
4699
|
+
_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() {
|
|
4619
4700
|
let somethingChanged = false;
|
|
4620
4701
|
if (!__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.filters, this.filters)) {
|
|
4621
4702
|
this.state.filters = Object.assign({}, this.filters);
|
|
@@ -4787,6 +4868,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
4787
4868
|
}
|
|
4788
4869
|
}, _KupDataTable_closeDropCard = function _KupDataTable_closeDropCard() {
|
|
4789
4870
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet(this, _KupDataTable_columnDropCard, "f"));
|
|
4871
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
4872
|
+
__classPrivateFieldGet(this, _KupDataTable_columnDropCard, "f"),
|
|
4873
|
+
]);
|
|
4790
4874
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupDataTable_clickCbDropCard, "f"));
|
|
4791
4875
|
__classPrivateFieldGet(this, _KupDataTable_columnDropCard, "f").remove();
|
|
4792
4876
|
__classPrivateFieldSet(this, _KupDataTable_columnDropCard, null, "f");
|
|
@@ -5554,6 +5638,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
5554
5638
|
card.refresh();
|
|
5555
5639
|
}, _KupDataTable_closeRowActionsCard = function _KupDataTable_closeRowActionsCard() {
|
|
5556
5640
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(__classPrivateFieldGet(this, _KupDataTable_actionsCard, "f"));
|
|
5641
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
5642
|
+
__classPrivateFieldGet(this, _KupDataTable_actionsCard, "f"),
|
|
5643
|
+
]);
|
|
5557
5644
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupDataTable_clickCbDropCard, "f"));
|
|
5558
5645
|
__classPrivateFieldGet(this, _KupDataTable_actionsCard, "f").remove();
|
|
5559
5646
|
__classPrivateFieldSet(this, _KupDataTable_actionsCard, null, "f");
|
|
@@ -6103,7 +6190,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
6103
6190
|
// reset page
|
|
6104
6191
|
this.currentPage = 1;
|
|
6105
6192
|
}
|
|
6106
|
-
},
|
|
6193
|
+
}, _KupDataTable_getCellEditability = function _KupDataTable_getCellEditability(column, row, cell) {
|
|
6107
6194
|
if (column.useAs) {
|
|
6108
6195
|
if (__classPrivateFieldGet(this, _KupDataTable_insertedRowIds, "f").includes(row.id) &&
|
|
6109
6196
|
column.useAs === UseAsValue.DEC) {
|
|
@@ -6405,7 +6492,15 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
6405
6492
|
}, _KupDataTable_openTotalMenu = function _KupDataTable_openTotalMenu(column) {
|
|
6406
6493
|
this.openedTotalMenu = column.name;
|
|
6407
6494
|
}, _KupDataTable_closeTotalMenu = function _KupDataTable_closeTotalMenu() {
|
|
6495
|
+
var _a;
|
|
6408
6496
|
this.openedTotalMenu = null;
|
|
6497
|
+
const menu = (_a = this.rootElement.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('#totals-menu');
|
|
6498
|
+
if (menu) {
|
|
6499
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.stop(menu);
|
|
6500
|
+
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").dynamicPosition.unregister([
|
|
6501
|
+
menu,
|
|
6502
|
+
]);
|
|
6503
|
+
}
|
|
6409
6504
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").removeClickCallback(__classPrivateFieldGet(this, _KupDataTable_clickCb, "f"));
|
|
6410
6505
|
}, _KupDataTable_isOpenedTotalMenuForColumn = function _KupDataTable_isOpenedTotalMenuForColumn(column) {
|
|
6411
6506
|
return this.openedTotalMenu === column;
|
|
@@ -6916,7 +7011,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
6916
7011
|
return null;
|
|
6917
7012
|
}
|
|
6918
7013
|
}
|
|
6919
|
-
cell.isEditable = __classPrivateFieldGet(this, _KupDataTable_instances, "m",
|
|
7014
|
+
cell.isEditable = __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getCellEditability).call(this, currentColumn, row, cell);
|
|
6920
7015
|
cell.data = Object.assign(Object.assign({}, cell.data), { legacyLook: this.legacyLook, sizing: this.density === 'extra_dense'
|
|
6921
7016
|
? 'extra-small'
|
|
6922
7017
|
: (_a = cell.data) === null || _a === void 0 ? void 0 : _a.sizing });
|
|
@@ -268,7 +268,7 @@ export class KupInputPanel {
|
|
|
268
268
|
h("p", null, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA)),
|
|
269
269
|
]
|
|
270
270
|
: this.inputPanelCells.map((inputPanelCell) => __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_renderRow).call(this, inputPanelCell));
|
|
271
|
-
return (h(Host, { key: '
|
|
271
|
+
return (h(Host, { key: 'd9fbca78674850146e47c580b0c5b011f478e66a', "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) => {
|
|
272
272
|
this.tabSelected = e.detail.node.id;
|
|
273
273
|
}, "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) => {
|
|
274
274
|
__classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_manageInputPanelCheck).call(this, e, CheckTriggeringEvents.ITEMCLICK);
|
|
@@ -278,7 +278,7 @@ export class KupInputPanel {
|
|
|
278
278
|
this.kupInputPanelObjectFieldOpenSearchMenu.emit(e.detail);
|
|
279
279
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
280
280
|
this.kupInputPanelObjectFieldSelectedMenuItem.emit(e.detail);
|
|
281
|
-
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: '
|
|
281
|
+
}, "onKup-file-upload-upload": __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_upload).bind(this) }, h("style", { key: 'd13184d7e49622985bb1edcc11ca289e64e5186f' }, __classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'c90a0a1001649ed3517e2780e5bd3d130afd07d3', id: componentWrapperId }, inputPanelContent)));
|
|
282
282
|
}
|
|
283
283
|
disconnectedCallback() {
|
|
284
284
|
__classPrivateFieldGet(this, _KupInputPanel_kupManager, "f").language.unregister(this);
|
|
@@ -1360,6 +1360,10 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1360
1360
|
if (!field.absoluteHeight) {
|
|
1361
1361
|
field.absoluteHeight = 1;
|
|
1362
1362
|
}
|
|
1363
|
+
if (dom.ketchup.objects.isSwitch(fieldCell.cell.obj)) {
|
|
1364
|
+
fieldCell.cell.data.leadingLabel = false;
|
|
1365
|
+
fieldCell.cell.shape = FCellShapes.TEXT_FIELD;
|
|
1366
|
+
}
|
|
1363
1367
|
const absoluteWidth = fieldCell.cell.shape === FCellShapes.LABEL
|
|
1364
1368
|
? getLabelAbsoluteWidth(length)
|
|
1365
1369
|
: fieldCell.cell.shape === FCellShapes.CHECKBOX
|
|
@@ -1803,7 +1807,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1803
1807
|
: (_d = (_c = cell.data) === null || _c === void 0 ? void 0 : _c.data) === null || _d === void 0 ? void 0 : _d['kup-list'];
|
|
1804
1808
|
if (kupListData) {
|
|
1805
1809
|
kupListData.data = (filteredRows === null || filteredRows === void 0 ? void 0 : filteredRows.length)
|
|
1806
|
-
? (_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : []
|
|
1810
|
+
? ((_e = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cell.value)) !== null && _e !== void 0 ? _e : [])
|
|
1807
1811
|
: [];
|
|
1808
1812
|
kupListData.options = (_f = options === null || options === void 0 ? void 0 : options.columns) !== null && _f !== void 0 ? _f : [];
|
|
1809
1813
|
}
|
|
@@ -1852,7 +1856,7 @@ _KupInputPanel_kupManager = new WeakMap(), _KupInputPanel_formRef = new WeakMap(
|
|
|
1852
1856
|
// Update the autocomplete list data
|
|
1853
1857
|
const kupListData = targetCell.data.data['kup-list'];
|
|
1854
1858
|
kupListData.data = filteredRows.length
|
|
1855
|
-
? (_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : []
|
|
1859
|
+
? ((_f = __classPrivateFieldGet(this, _KupInputPanel_instances, "m", _KupInputPanel_optionsTreeComboAdapter).call(this, visibleColumnsOptions, cellValue)) !== null && _f !== void 0 ? _f : [])
|
|
1856
1860
|
: [];
|
|
1857
1861
|
kupListData.options = (_g = options.columns) !== null && _g !== void 0 ? _g : [];
|
|
1858
1862
|
// Update the component data and refresh
|
|
@@ -1858,7 +1858,7 @@ export class KupGantt {
|
|
|
1858
1858
|
"mutable": false,
|
|
1859
1859
|
"complexType": {
|
|
1860
1860
|
"original": "KupPlannerGanttProps['dateChange']",
|
|
1861
|
-
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<
|
|
1861
|
+
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<void> | Promise<boolean>",
|
|
1862
1862
|
"references": {
|
|
1863
1863
|
"KupPlannerGanttProps": {
|
|
1864
1864
|
"location": "import",
|
|
@@ -2030,7 +2030,7 @@ export class KupGantt {
|
|
|
2030
2030
|
"mutable": false,
|
|
2031
2031
|
"complexType": {
|
|
2032
2032
|
"original": "KupPlannerGanttProps['progressChange']",
|
|
2033
|
-
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<
|
|
2033
|
+
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<void> | Promise<boolean>",
|
|
2034
2034
|
"references": {
|
|
2035
2035
|
"KupPlannerGanttProps": {
|
|
2036
2036
|
"location": "import",
|
|
@@ -2072,7 +2072,7 @@ export class KupGantt {
|
|
|
2072
2072
|
"mutable": false,
|
|
2073
2073
|
"complexType": {
|
|
2074
2074
|
"original": "KupPlannerGanttProps['delete']",
|
|
2075
|
-
"resolved": "(task: KupPlannerTask) => boolean | void | Promise<
|
|
2075
|
+
"resolved": "(task: KupPlannerTask) => boolean | void | Promise<void> | Promise<boolean>",
|
|
2076
2076
|
"references": {
|
|
2077
2077
|
"KupPlannerGanttProps": {
|
|
2078
2078
|
"location": "import",
|
|
@@ -2114,7 +2114,7 @@ export class KupGantt {
|
|
|
2114
2114
|
"mutable": false,
|
|
2115
2115
|
"complexType": {
|
|
2116
2116
|
"original": "KupPlannerGanttProps['phaseDrop']",
|
|
2117
|
-
"resolved": "(originalPhaseData: KupPlannerTask, originalTaskData: KupPlannerTask, finalPhaseData: KupPlannerTask, destinationData: KupPlannerTask) => boolean | void | Promise<
|
|
2117
|
+
"resolved": "(originalPhaseData: KupPlannerTask, originalTaskData: KupPlannerTask, finalPhaseData: KupPlannerTask, destinationData: KupPlannerTask) => boolean | void | Promise<void> | Promise<boolean>",
|
|
2118
2118
|
"references": {
|
|
2119
2119
|
"KupPlannerGanttProps": {
|
|
2120
2120
|
"location": "import",
|
|
@@ -1030,7 +1030,7 @@ export class KupGridRenderer {
|
|
|
1030
1030
|
"mutable": false,
|
|
1031
1031
|
"complexType": {
|
|
1032
1032
|
"original": "KupPlannerEventOption['dateChange']",
|
|
1033
|
-
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<
|
|
1033
|
+
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<void> | Promise<boolean>",
|
|
1034
1034
|
"references": {
|
|
1035
1035
|
"KupPlannerEventOption": {
|
|
1036
1036
|
"location": "import",
|
|
@@ -1051,7 +1051,7 @@ export class KupGridRenderer {
|
|
|
1051
1051
|
"mutable": false,
|
|
1052
1052
|
"complexType": {
|
|
1053
1053
|
"original": "KupPlannerEventOption['progressChange']",
|
|
1054
|
-
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<
|
|
1054
|
+
"resolved": "(task: KupPlannerTask, children: KupPlannerTask[]) => boolean | void | Promise<void> | Promise<boolean>",
|
|
1055
1055
|
"references": {
|
|
1056
1056
|
"KupPlannerEventOption": {
|
|
1057
1057
|
"location": "import",
|
|
@@ -1156,7 +1156,7 @@ export class KupGridRenderer {
|
|
|
1156
1156
|
"mutable": false,
|
|
1157
1157
|
"complexType": {
|
|
1158
1158
|
"original": "KupPlannerEventOption['delete']",
|
|
1159
|
-
"resolved": "(task: KupPlannerTask) => boolean | void | Promise<
|
|
1159
|
+
"resolved": "(task: KupPlannerTask) => boolean | void | Promise<void> | Promise<boolean>",
|
|
1160
1160
|
"references": {
|
|
1161
1161
|
"KupPlannerEventOption": {
|
|
1162
1162
|
"location": "import",
|
|
@@ -1219,7 +1219,7 @@ export class KupGridRenderer {
|
|
|
1219
1219
|
"mutable": false,
|
|
1220
1220
|
"complexType": {
|
|
1221
1221
|
"original": "KupPlannerTaskItemProps['onEventStart']",
|
|
1222
|
-
"resolved": "(action: KupPlannerGanttContentMoveAction, selectedTask: KupPlannerBarTask, event?:
|
|
1222
|
+
"resolved": "(action: KupPlannerGanttContentMoveAction, selectedTask: KupPlannerBarTask, event?: MouseEvent | KeyboardEvent) => any",
|
|
1223
1223
|
"references": {
|
|
1224
1224
|
"KupPlannerTaskItemProps": {
|
|
1225
1225
|
"location": "import",
|
|
@@ -1261,7 +1261,7 @@ export class KupGridRenderer {
|
|
|
1261
1261
|
"mutable": false,
|
|
1262
1262
|
"complexType": {
|
|
1263
1263
|
"original": "KupPlannerEventOption['phaseDrop']",
|
|
1264
|
-
"resolved": "(originalPhaseData: KupPlannerTask, originalTaskData: KupPlannerTask, finalPhaseData: KupPlannerTask, destinationData: KupPlannerTask) => boolean | void | Promise<
|
|
1264
|
+
"resolved": "(originalPhaseData: KupPlannerTask, originalTaskData: KupPlannerTask, finalPhaseData: KupPlannerTask, destinationData: KupPlannerTask) => boolean | void | Promise<void> | Promise<boolean>",
|
|
1265
1265
|
"references": {
|
|
1266
1266
|
"KupPlannerEventOption": {
|
|
1267
1267
|
"location": "import",
|
|
@@ -111,10 +111,22 @@ export class KupDynamicPosition {
|
|
|
111
111
|
* @param {KupDynamicPositionElement[]} elements - Elements to remove from the managed elements set.
|
|
112
112
|
*/
|
|
113
113
|
unregister(elements) {
|
|
114
|
+
var _a;
|
|
114
115
|
if (this.managedElements) {
|
|
115
116
|
for (let index = 0; index < elements.length; index++) {
|
|
116
|
-
|
|
117
|
-
this.
|
|
117
|
+
const el = elements[index];
|
|
118
|
+
this.removeRepositionListeners(el);
|
|
119
|
+
this.managedElements.delete(el);
|
|
120
|
+
// If the element was detached (moved to the global container),
|
|
121
|
+
// remove it from the container to avoid orphaned DOM nodes.
|
|
122
|
+
if (((_a = el === null || el === void 0 ? void 0 : el.kupDynamicPosition) === null || _a === void 0 ? void 0 : _a.detach) && el.parentElement === this.container) {
|
|
123
|
+
this.container.removeChild(el);
|
|
124
|
+
}
|
|
125
|
+
// Sever all object references (originalPath, anchor, etc.)
|
|
126
|
+
// so the GC can collect detached ancestor nodes.
|
|
127
|
+
if (el) {
|
|
128
|
+
el.kupDynamicPosition = null;
|
|
129
|
+
}
|
|
118
130
|
}
|
|
119
131
|
}
|
|
120
132
|
}
|
|
@@ -293,27 +305,38 @@ export class KupDynamicPosition {
|
|
|
293
305
|
window.addEventListener('resize', repositionListener);
|
|
294
306
|
window.addEventListener('scroll', repositionListener);
|
|
295
307
|
if ((_a = el === null || el === void 0 ? void 0 : el.kupDynamicPosition) === null || _a === void 0 ? void 0 : _a.anchor) {
|
|
308
|
+
const scrollTargets = [];
|
|
296
309
|
let container = this.getAnchorContainer(el);
|
|
297
|
-
this.updateEventListenerOnAncestors(container, (
|
|
298
|
-
if (this.isScrollable(
|
|
299
|
-
|
|
310
|
+
this.updateEventListenerOnAncestors(container, (ancestor) => {
|
|
311
|
+
if (this.isScrollable(ancestor)) {
|
|
312
|
+
ancestor.addEventListener('scroll', repositionListener);
|
|
313
|
+
scrollTargets.push(ancestor);
|
|
300
314
|
}
|
|
301
315
|
});
|
|
316
|
+
// Store which ancestors received scroll listeners for reliable cleanup.
|
|
317
|
+
if (el.kupDynamicPosition) {
|
|
318
|
+
el.kupDynamicPosition.scrollListenerTargets = scrollTargets;
|
|
319
|
+
}
|
|
302
320
|
}
|
|
303
321
|
el._repositionListener = repositionListener;
|
|
304
322
|
}
|
|
305
323
|
removeRepositionListeners(el) {
|
|
306
324
|
var _a;
|
|
307
325
|
const repositionListener = el._repositionListener;
|
|
326
|
+
if (!repositionListener) {
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
308
329
|
window.removeEventListener('resize', repositionListener);
|
|
309
330
|
window.removeEventListener('scroll', repositionListener);
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
331
|
+
// Use the stored list of scroll targets for reliable removal:
|
|
332
|
+
// re-evaluating isScrollable during teardown is unreliable because
|
|
333
|
+
// computed styles may have changed, causing listeners to leak.
|
|
334
|
+
const scrollTargets = (_a = el === null || el === void 0 ? void 0 : el.kupDynamicPosition) === null || _a === void 0 ? void 0 : _a.scrollListenerTargets;
|
|
335
|
+
if (scrollTargets === null || scrollTargets === void 0 ? void 0 : scrollTargets.length) {
|
|
336
|
+
for (const target of scrollTargets) {
|
|
337
|
+
target.removeEventListener('scroll', repositionListener);
|
|
338
|
+
}
|
|
339
|
+
el.kupDynamicPosition.scrollListenerTargets = [];
|
|
317
340
|
}
|
|
318
341
|
delete el._repositionListener;
|
|
319
342
|
}
|
|
@@ -187,6 +187,7 @@ export var KupLanguageRow;
|
|
|
187
187
|
(function (KupLanguageRow) {
|
|
188
188
|
KupLanguageRow["DETAIL"] = "rowDetail";
|
|
189
189
|
KupLanguageRow["EDITABLE_KEY"] = "rowEditableKey";
|
|
190
|
+
KupLanguageRow["ERRORS_IN_ROWS"] = "rowErrorsInRows";
|
|
190
191
|
KupLanguageRow["KEY"] = "rowKey";
|
|
191
192
|
KupLanguageRow["NEXT"] = "rowNext";
|
|
192
193
|
KupLanguageRow["PREVIOUS"] = "rowPrevious";
|