@sme.up/ketchup 11.0.10 → 11.0.12
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-11e23c5d.js → f-cell-8d59b013.js} +4 -4
- package/dist/cjs/{f-chip-911142ce.js → f-chip-49e64788.js} +1 -1
- package/dist/cjs/{f-object-field-60ddab64.js → f-object-field-3d9272b4.js} +2 -2
- package/dist/cjs/{f-paginator-utils-fcbea8ea.js → f-paginator-utils-dd15c223.js} +1 -1
- package/dist/cjs/{f-text-field-028d892b.js → f-text-field-6187d0a8.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- 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 +62 -50
- package/dist/cjs/kup-box.cjs.entry.js +8 -8
- 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-a1d68467.js → kup-data-table-helper-02b756ec.js} +6 -3
- package/dist/cjs/{kup-dates-594b0f91.js → kup-dates-e977f515.js} +23 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +2 -2
- package/dist/cjs/kup-echart.cjs.entry.js +2 -2
- package/dist/cjs/kup-editor.cjs.entry.js +2 -2
- package/dist/cjs/kup-family-tree.cjs.entry.js +2 -2
- package/dist/cjs/kup-gantt_10.cjs.entry.js +2 -2
- package/dist/cjs/kup-grid.cjs.entry.js +2 -2
- package/dist/cjs/kup-htm.cjs.entry.js +2 -2
- package/dist/cjs/kup-iframe.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +2 -2
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-f3bdd297.js → kup-manager-e0c649cb.js} +2 -3
- 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-a2e9a62c.js → kup-planner-renderer-helper-c6d2afcc.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/collection/components/kup-data-table/kup-data-table.js +54 -42
- package/dist/collection/managers/kup-dates/kup-dates.js +23 -1
- package/dist/collection/managers/kup-objects/kup-objects.js +0 -1
- package/dist/collection/utils/filters/filters-rows.js +4 -1
- package/dist/components/index.js +1 -1
- package/dist/components/kup-accordion.js +2 -2
- package/dist/components/kup-activity-timeline.js +2 -2
- package/dist/components/kup-autocomplete.js +1 -1
- package/dist/components/kup-badge.js +1 -1
- package/dist/components/kup-box.js +1 -1
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +3 -3
- package/dist/components/kup-card-list.js +3 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +2 -2
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-custom-task-list-table.js +1 -1
- package/dist/components/kup-dashboard.js +2 -2
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-drawer.js +2 -2
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-echart.js +1 -1
- package/dist/components/kup-editor.js +1 -1
- package/dist/components/kup-family-tree.js +3 -3
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gantt.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-grid.js +1 -1
- package/dist/components/kup-htm.js +2 -2
- package/dist/components/kup-iframe.js +2 -2
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +3 -3
- package/dist/components/kup-lazy.js +2 -2
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +4 -4
- package/dist/components/kup-nav-bar.js +2 -2
- package/dist/components/kup-numeric-picker.js +2 -2
- package/dist/components/kup-object-field.js +2 -2
- package/dist/components/kup-planner-renderer.js +1 -1
- package/dist/components/kup-planner.js +6 -6
- package/dist/components/kup-probe.js +2 -2
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +2 -2
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +2 -2
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-task-list.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-toolbar.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +2 -2
- package/dist/components/kup-typography-list.js +2 -2
- package/dist/components/kup-typography.js +2 -2
- package/dist/components/{p-f8e06edf.js → p-46d64272.js} +2 -2
- package/dist/components/{p-e67d1f0e.js → p-522c0ff2.js} +4 -4
- package/dist/components/{p-9e6dfc20.js → p-5ca8f633.js} +2 -2
- package/dist/components/{p-bf7d326c.js → p-75fcb87d.js} +2 -2
- package/dist/components/{p-fd66b3e0.js → p-91af7893.js} +2 -2
- package/dist/components/{p-7e61d7bf.js → p-99c626fd.js} +60 -45
- package/dist/components/{p-6e16d432.js → p-a0a2840f.js} +1 -1
- package/dist/components/{p-ea482528.js → p-b14664b8.js} +23 -1
- package/dist/components/{p-44a1dec0.js → p-d0eb6f7d.js} +2 -2
- package/dist/components/{p-2b503f65.js → p-e5b2a91a.js} +2 -3
- package/dist/components/{p-5f1a69e4.js → p-fce393a3.js} +2 -2
- package/dist/esm/{f-cell-1b19e875.js → f-cell-be0e2a06.js} +4 -4
- package/dist/esm/{f-chip-a5d7826a.js → f-chip-fdac723c.js} +1 -1
- package/dist/esm/{f-object-field-ac7803c6.js → f-object-field-9f46e3e0.js} +2 -2
- package/dist/esm/{f-paginator-utils-4972c120.js → f-paginator-utils-d5709171.js} +1 -1
- package/dist/esm/{f-text-field-72215da7.js → f-text-field-7c8c7134.js} +1 -1
- package/dist/esm/index.js +2 -2
- 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 +62 -50
- package/dist/esm/kup-box.entry.js +8 -8
- 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-6424ddec.js → kup-data-table-helper-4eab2172.js} +6 -3
- package/dist/esm/{kup-dates-c38ee99a.js → kup-dates-5668dda8.js} +23 -1
- package/dist/esm/kup-drawer.entry.js +2 -2
- package/dist/esm/kup-echart.entry.js +2 -2
- package/dist/esm/kup-editor.entry.js +2 -2
- package/dist/esm/kup-family-tree.entry.js +2 -2
- package/dist/esm/kup-gantt_10.entry.js +2 -2
- package/dist/esm/kup-grid.entry.js +2 -2
- package/dist/esm/kup-htm.entry.js +2 -2
- package/dist/esm/kup-iframe.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +2 -2
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-725d4a8b.js → kup-manager-a43e13ec.js} +2 -3
- 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-836d9912.js → kup-planner-renderer-helper-b7cca778.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/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-8da1582c.entry.js → p-09aa32d5.entry.js} +1 -1
- package/dist/ketchup/{p-ef8816c0.entry.js → p-0df3724e.entry.js} +1 -1
- package/dist/ketchup/{p-13e4d5ef.entry.js → p-151309cc.entry.js} +1 -1
- package/dist/ketchup/p-19d9c4e7.entry.js +1 -0
- package/dist/ketchup/{p-ff2609e8.entry.js → p-1cd2395c.entry.js} +1 -1
- package/dist/ketchup/{p-73deaaed.entry.js → p-1ebf420f.entry.js} +1 -1
- package/dist/ketchup/{p-d0b30d6a.js → p-236d5a57.js} +1 -1
- package/dist/ketchup/{p-722b0fd6.entry.js → p-237a1fb2.entry.js} +1 -1
- package/dist/ketchup/{p-4453a080.js → p-26707bb9.js} +1 -1
- package/dist/ketchup/{p-901a40a1.entry.js → p-28b4e66a.entry.js} +1 -1
- package/dist/ketchup/{p-d5e0fdf9.js → p-28f8fcd1.js} +1 -1
- package/dist/ketchup/{p-38e435be.js → p-35c85352.js} +1 -1
- package/dist/ketchup/{p-50aeaa13.entry.js → p-3ef047f9.entry.js} +1 -1
- package/dist/ketchup/{p-78d54463.entry.js → p-417fa617.entry.js} +1 -1
- package/dist/ketchup/{p-5734d0f6.entry.js → p-4206caee.entry.js} +1 -1
- package/dist/ketchup/{p-a6a1a6a5.entry.js → p-4221a148.entry.js} +1 -1
- package/dist/ketchup/{p-dba91fab.entry.js → p-4eb64f66.entry.js} +1 -1
- package/dist/ketchup/{p-4019d630.js → p-509e2d39.js} +1 -1
- package/dist/ketchup/{p-77c66d30.entry.js → p-5ca1ea19.entry.js} +1 -1
- package/dist/ketchup/{p-857c601b.entry.js → p-60e9a557.entry.js} +1 -1
- package/dist/ketchup/{p-fb021412.entry.js → p-60fe6071.entry.js} +1 -1
- package/dist/ketchup/{p-232fff60.entry.js → p-6282c2df.entry.js} +1 -1
- package/dist/ketchup/{p-aa65c3e8.entry.js → p-7207eeaa.entry.js} +1 -1
- package/dist/ketchup/{p-7f14faa7.entry.js → p-806b51dd.entry.js} +1 -1
- package/dist/ketchup/p-81f907c2.entry.js +8 -0
- package/dist/ketchup/p-83c717cf.entry.js +1 -0
- package/dist/ketchup/{p-002e8a00.js → p-91ba2e1a.js} +1 -1
- package/dist/ketchup/{p-a8475834.entry.js → p-9f88a513.entry.js} +1 -1
- package/dist/ketchup/{p-aae5253f.entry.js → p-a37f4b8b.entry.js} +1 -1
- package/dist/ketchup/{p-d90c27c1.entry.js → p-b21006e4.entry.js} +1 -1
- package/dist/ketchup/p-bb566248.js +1 -0
- package/dist/ketchup/{p-86204062.entry.js → p-c5b38612.entry.js} +1 -1
- package/dist/ketchup/{p-63bcb26d.entry.js → p-ced0a463.entry.js} +1 -1
- package/dist/ketchup/{p-6a0b5252.entry.js → p-cef66d6e.entry.js} +1 -1
- package/dist/ketchup/{p-7d7f7f74.js → p-d0fcc68a.js} +1 -1
- package/dist/ketchup/{p-42897884.entry.js → p-d7ab81af.entry.js} +1 -1
- package/dist/ketchup/{p-1cf786c6.entry.js → p-ee83230a.entry.js} +1 -1
- package/dist/ketchup/{p-bc675f88.entry.js → p-f2d2a4f9.entry.js} +1 -1
- package/dist/ketchup/{p-84b243f9.js → p-f7d84f38.js} +1 -1
- package/dist/ketchup/{p-de8554d1.entry.js → p-fa893d65.entry.js} +1 -1
- package/dist/types/managers/kup-dates/kup-dates.d.ts +7 -0
- package/package.json +1 -1
- package/dist/ketchup/p-4be59c71.entry.js +0 -1
- package/dist/ketchup/p-7f84b3a5.entry.js +0 -8
- package/dist/ketchup/p-b78b0675.js +0 -1
- package/dist/ketchup/p-fa88962f.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_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_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
|
|
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_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;
|
|
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";
|
|
@@ -288,28 +288,40 @@ export class KupDataTable {
|
|
|
288
288
|
'grid_off',
|
|
289
289
|
]);
|
|
290
290
|
_KupDataTable_addRowHandler.set(this, async (row) => {
|
|
291
|
-
var _a, _b;
|
|
292
|
-
var _c;
|
|
293
291
|
let newRow;
|
|
292
|
+
// Retrieves the currently selected rows, if any. They will be used as a
|
|
293
|
+
// template for the new row when available.
|
|
294
294
|
const selectedRows = await this.getSelectedRows();
|
|
295
295
|
if (selectedRows.length > 0) {
|
|
296
|
-
newRow =
|
|
297
|
-
}
|
|
298
|
-
else if (((_b = (_a = __classPrivateFieldGet(this, _KupDataTable_originalDataLoaded, "f")) === null || _a === void 0 ? void 0 : _a.rows) === null || _b === void 0 ? void 0 : _b.length) > 0 && !row) {
|
|
299
|
-
newRow = JSON.parse(JSON.stringify(__classPrivateFieldGet(this, _KupDataTable_originalDataLoaded, "f").rows[0]));
|
|
296
|
+
newRow = __classPrivateFieldGet(this, _KupDataTable_createRowWithInputFields, "f").call(this, selectedRows[0]);
|
|
300
297
|
}
|
|
301
298
|
else if (row) {
|
|
299
|
+
// An explicit row was provided: build the new row from it, applying
|
|
300
|
+
// the column input-field configuration.
|
|
302
301
|
newRow = __classPrivateFieldGet(this, _KupDataTable_createRowWithInputFields, "f").call(this, row);
|
|
303
302
|
}
|
|
304
303
|
else {
|
|
304
|
+
// Nothing to copy from: build a blank row with input fields based on
|
|
305
|
+
// the current column definitions.
|
|
305
306
|
newRow = __classPrivateFieldGet(this, _KupDataTable_createRowWithInputFields, "f").call(this);
|
|
306
307
|
}
|
|
308
|
+
// When no template was used (no selection and no explicit row), reset the
|
|
309
|
+
// value of every cell so the new record is empty and ready for input.
|
|
307
310
|
Object.values(newRow.cells).forEach((cell) => {
|
|
308
|
-
|
|
311
|
+
var _a;
|
|
312
|
+
if (selectedRows.length === 0 && !row) {
|
|
309
313
|
cell.value = '';
|
|
314
|
+
if ((_a = cell === null || cell === void 0 ? void 0 : cell.data) === null || _a === void 0 ? void 0 : _a.initialValue) {
|
|
315
|
+
cell.data.initialValue = '';
|
|
316
|
+
}
|
|
310
317
|
}
|
|
311
318
|
});
|
|
312
|
-
|
|
319
|
+
// Assigns an id to the new row. The id is always the highest id
|
|
320
|
+
// currently present in the data plus one, so inserted rows are always
|
|
321
|
+
// ordered (0, 1, 2, 3, ...) regardless of insertions or deletions.
|
|
322
|
+
const currentMaxId = this.data.rows.reduce((max, r) => Math.max(max, parseInt(r.id) || 0), __classPrivateFieldGet(this, _KupDataTable_originalDataLoadedMaxId, "f"));
|
|
323
|
+
newRow.id = (currentMaxId + 1).toString();
|
|
324
|
+
// Tracks the new row as inserted and prepends it to the table data.
|
|
313
325
|
__classPrivateFieldGet(this, _KupDataTable_insertedRowIds, "f").push(newRow.id);
|
|
314
326
|
this.insertNewRow(newRow, true);
|
|
315
327
|
});
|
|
@@ -318,18 +330,22 @@ export class KupDataTable {
|
|
|
318
330
|
const row = { cells: {} };
|
|
319
331
|
(_a = this.data) === null || _a === void 0 ? void 0 : _a.columns.forEach((c) => {
|
|
320
332
|
var _a, _b, _c;
|
|
333
|
+
const columnData = Object.assign(Object.assign({}, c === null || c === void 0 ? void 0 : c['data']), (c['length'] && c['maxLength']
|
|
334
|
+
? {
|
|
335
|
+
size: c['length'],
|
|
336
|
+
maxLength: c['maxLength'],
|
|
337
|
+
}
|
|
338
|
+
: {}));
|
|
321
339
|
const cell = ((_a = rowToCopy === null || rowToCopy === void 0 ? void 0 : rowToCopy.cells) === null || _a === void 0 ? void 0 : _a[c.name])
|
|
322
|
-
?
|
|
340
|
+
? (() => {
|
|
341
|
+
const clonedCell = JSON.parse(JSON.stringify(rowToCopy.cells[c.name]));
|
|
342
|
+
return Object.assign(Object.assign({}, clonedCell), { data: Object.assign(Object.assign({}, columnData), clonedCell === null || clonedCell === void 0 ? void 0 : clonedCell.data) });
|
|
343
|
+
})()
|
|
323
344
|
: {
|
|
324
345
|
shape: (_b = c.shape) !== null && _b !== void 0 ? _b : FCellShapes.TEXT_FIELD,
|
|
325
346
|
obj: Object.assign({}, c.obj),
|
|
326
347
|
isEditable: (_c = c.isEditable) !== null && _c !== void 0 ? _c : true,
|
|
327
|
-
data:
|
|
328
|
-
? {
|
|
329
|
-
size: c['length'],
|
|
330
|
-
maxLength: c['maxLength'],
|
|
331
|
-
}
|
|
332
|
-
: {},
|
|
348
|
+
data: columnData,
|
|
333
349
|
};
|
|
334
350
|
row.cells[c.name] = cell;
|
|
335
351
|
});
|
|
@@ -437,7 +453,6 @@ export class KupDataTable {
|
|
|
437
453
|
this.showFilters = state.showFilters;
|
|
438
454
|
this.showGroups = state.showGroups;
|
|
439
455
|
this.showHeader = state.showHeader;
|
|
440
|
-
this.showLoadMore = state.showLoadMore;
|
|
441
456
|
this.showPaginator = state.showPaginator;
|
|
442
457
|
this.hiddenSubmitButton = state.hiddenSubmitButton;
|
|
443
458
|
this.sortEnabled = state.sortEnabled;
|
|
@@ -550,7 +565,9 @@ export class KupDataTable {
|
|
|
550
565
|
if (originalDataRowIndex > -1) {
|
|
551
566
|
this.data.rows[originalDataRowIndex].cells =
|
|
552
567
|
structuredClone(row.cells);
|
|
553
|
-
|
|
568
|
+
// Track the row by its id (consistent with the other
|
|
569
|
+
// places where #modifiedRowsIds is populated).
|
|
570
|
+
__classPrivateFieldGet(this, _KupDataTable_modifiedRowsIds, "f").push(row.id);
|
|
554
571
|
}
|
|
555
572
|
else {
|
|
556
573
|
__classPrivateFieldGet(this, _KupDataTable_addRowHandler, "f").call(this, row);
|
|
@@ -665,6 +682,10 @@ export class KupDataTable {
|
|
|
665
682
|
}
|
|
666
683
|
if (deletedRows.length > 0) {
|
|
667
684
|
this.data.rows = newRows;
|
|
685
|
+
// Clean up the tracking arrays so deleted rows are no longer
|
|
686
|
+
// considered inserted or modified.
|
|
687
|
+
__classPrivateFieldSet(this, _KupDataTable_insertedRowIds, __classPrivateFieldGet(this, _KupDataTable_insertedRowIds, "f").filter((id) => !ids.includes(id)), "f");
|
|
688
|
+
__classPrivateFieldSet(this, _KupDataTable_modifiedRowsIds, __classPrivateFieldGet(this, _KupDataTable_modifiedRowsIds, "f").filter((id) => !ids.includes(id)), "f");
|
|
668
689
|
await this.refresh(true);
|
|
669
690
|
}
|
|
670
691
|
return deletedRows;
|
|
@@ -1499,7 +1520,7 @@ export class KupDataTable {
|
|
|
1499
1520
|
};
|
|
1500
1521
|
// Add list elements
|
|
1501
1522
|
const listData = [];
|
|
1502
|
-
if (column.formula) {
|
|
1523
|
+
if (column.formula && !column.formula.includes('ATT(')) {
|
|
1503
1524
|
/* Formula cloumn */
|
|
1504
1525
|
const formula = (_a = ((__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this) && this.totals[column.name]) ||
|
|
1505
1526
|
column.formula)) === null || _a === void 0 ? void 0 : _a.replace(getRegExpFromString(TotalMode.MATH, 'g'), '');
|
|
@@ -1613,7 +1634,7 @@ export class KupDataTable {
|
|
|
1613
1634
|
__classPrivateFieldSet(this, _KupDataTable_sizedColumns, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
1614
1635
|
let rows = null;
|
|
1615
1636
|
if (__classPrivateFieldGet(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
1616
|
-
rows = (h("tr", { key: '
|
|
1637
|
+
rows = (h("tr", { key: 'ed437895cd70ec898aa734c94c1cd6bec382f247', ref: (el) => __classPrivateFieldGet(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: 'ddd692b49ca2ea4f2cf63573168e87c1b4afb974', colSpan: __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
1617
1638
|
}
|
|
1618
1639
|
else {
|
|
1619
1640
|
rows = [];
|
|
@@ -1689,7 +1710,7 @@ export class KupDataTable {
|
|
|
1689
1710
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
1690
1711
|
});
|
|
1691
1712
|
}
|
|
1692
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
1713
|
+
groupChips = h(FChip, Object.assign({ key: '1221f02d10b05dab4ff63b800d50760d19a40520' }, props));
|
|
1693
1714
|
}
|
|
1694
1715
|
}
|
|
1695
1716
|
const tableClass = {
|
|
@@ -1721,7 +1742,7 @@ export class KupDataTable {
|
|
|
1721
1742
|
if (this.headerIsPersistent &&
|
|
1722
1743
|
this.tableHeight === undefined &&
|
|
1723
1744
|
this.tableWidth === undefined) {
|
|
1724
|
-
stickyEl = (h("sticky-header", { key: '
|
|
1745
|
+
stickyEl = (h("sticky-header", { key: '8e59c7d5ff67698dd7f5a78dc6770d6430ced311', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: '601222f02bd8ac921b2768e366a5e797842a5660' }, h("tr-sticky", { key: 'fec0d68ba74060bfc71f153c5663fa591a454209' }, stickyHeader))));
|
|
1725
1746
|
}
|
|
1726
1747
|
let belowClass = 'below-wrapper';
|
|
1727
1748
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -1767,7 +1788,7 @@ export class KupDataTable {
|
|
|
1767
1788
|
const useGlobalFilter = !this.legacyLook &&
|
|
1768
1789
|
(this.globalFilter ||
|
|
1769
1790
|
this.getRows().length > __classPrivateFieldGet(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
1770
|
-
const compCreated = (h(Host, { key: '
|
|
1791
|
+
const compCreated = (h(Host, { key: '7513b10bffe79a30ea5da12b20b2ff10cf0bbfc7', "onKup-drop": (e) => {
|
|
1771
1792
|
this.kupDataTableDrop.emit(e.detail);
|
|
1772
1793
|
}, "onKup-cell-input": (e) => {
|
|
1773
1794
|
autoselectOnAction(e);
|
|
@@ -1786,11 +1807,11 @@ export class KupDataTable {
|
|
|
1786
1807
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
1787
1808
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
1788
1809
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
1789
|
-
} }, h("style", { key: '
|
|
1810
|
+
} }, h("style", { key: '3bf5147c93c3da6ddd050582d045b2b0f8f1617c' }, __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: '7ce524ba366159b9a6174280d9de33b45757e70a', id: componentWrapperId, class: wrapClass }, h("div", { key: 'a2b0d15d1cf2696285cd6a642547c365e01ed169', class: "group-wrapper" }, groupChips), h("div", { key: '31767e74aee98e923dbcd24a224e901747c898cd', 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) => {
|
|
1790
1811
|
const t = event.target;
|
|
1791
1812
|
window.clearTimeout(__classPrivateFieldGet(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
1792
1813
|
__classPrivateFieldSet(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
1793
|
-
} }))) : null, paginatorTop && (h("div", { key: '
|
|
1814
|
+
} }))) : null, paginatorTop && (h("div", { key: '5bbc111d4bb1a614cd0b29cbe13d435c3a23a7ef', class: "above-wrapper paginator-top" }, paginatorTop)), this.insertMode !== '' &&
|
|
1794
1815
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
1795
1816
|
this.kupSave.emit({
|
|
1796
1817
|
comp: this,
|
|
@@ -1840,9 +1861,9 @@ export class KupDataTable {
|
|
|
1840
1861
|
this.data.rows.unshift(row);
|
|
1841
1862
|
await this.refresh(true);
|
|
1842
1863
|
}
|
|
1843
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
1864
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'c0f59b454068f17b45640d872fb383b7c172c109', class: "droparea", ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
1844
1865
|
? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
1845
|
-
: null), h("div", { key: '
|
|
1866
|
+
: null), h("div", { key: 'f4f6dacbd8e280dce21b0d5a8d2efac949ac4254', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
1846
1867
|
? [
|
|
1847
1868
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
1848
1869
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -1851,7 +1872,7 @@ export class KupDataTable {
|
|
|
1851
1872
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
1852
1873
|
this.renderCustomizePanel(),
|
|
1853
1874
|
]
|
|
1854
|
-
: null, h("table", { key: '
|
|
1875
|
+
: null, h("table", { key: '3df4d878275fcfac135303bfa5591e596aebb44e', class: tableClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
1855
1876
|
ev.stopPropagation();
|
|
1856
1877
|
}, onPointerDown: (e) => {
|
|
1857
1878
|
__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");
|
|
@@ -1859,7 +1880,7 @@ export class KupDataTable {
|
|
|
1859
1880
|
__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");
|
|
1860
1881
|
}, onContextMenu: (e) => {
|
|
1861
1882
|
e.preventDefault();
|
|
1862
|
-
} }, h("thead", { key: '
|
|
1883
|
+
} }, h("thead", { key: '0883bbfaf0f09105dac92f48ab7818ce73ad4868', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: '449bf59f5d1902a18b5b98af6e72e7ef0c3425cf' }, header)), h("tbody", { key: 'd0c0c85a377b854af4acc18897196c26f679602c' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
1863
1884
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
1864
1885
|
return compCreated;
|
|
1865
1886
|
}
|
|
@@ -4819,10 +4840,6 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
4819
4840
|
this.state.showHeader = this.showHeader;
|
|
4820
4841
|
somethingChanged = true;
|
|
4821
4842
|
}
|
|
4822
|
-
if (!__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
|
|
4823
|
-
this.state.showLoadMore = this.showLoadMore;
|
|
4824
|
-
somethingChanged = true;
|
|
4825
|
-
}
|
|
4826
4843
|
if (!__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").objects.deepEqual(this.state.showPaginator, this.showPaginator)) {
|
|
4827
4844
|
this.state.showPaginator = this.showPaginator;
|
|
4828
4845
|
somethingChanged = true;
|
|
@@ -7421,9 +7438,10 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
7421
7438
|
onClickHandler: () => {
|
|
7422
7439
|
const selectedRowsIds = this.selectedRows.map((row) => row.id);
|
|
7423
7440
|
const insertedRowsIds = __classPrivateFieldGet(this, _KupDataTable_insertedRowIds, "f");
|
|
7424
|
-
|
|
7425
|
-
|
|
7426
|
-
|
|
7441
|
+
// If every selected row is an inserted (unconfirmed) row,
|
|
7442
|
+
// delete them locally without calling the update.
|
|
7443
|
+
const allSelectedAreInserted = selectedRowsIds.every((id) => insertedRowsIds.includes(id));
|
|
7444
|
+
if (allSelectedAreInserted) {
|
|
7427
7445
|
this.deleteRows(selectedRowsIds);
|
|
7428
7446
|
}
|
|
7429
7447
|
else {
|
|
@@ -7457,10 +7475,4 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_cellToFocus = new WeakM
|
|
|
7457
7475
|
return __classPrivateFieldGet(this, _KupDataTable_insertedRowIds, "f").includes(rowId);
|
|
7458
7476
|
}, _KupDataTable_isRowModified = function _KupDataTable_isRowModified(rowId) {
|
|
7459
7477
|
return __classPrivateFieldGet(this, _KupDataTable_modifiedRowsIds, "f").includes(rowId);
|
|
7460
|
-
}, _KupDataTable_arraysContainSameElements = function _KupDataTable_arraysContainSameElements(arr1, arr2) {
|
|
7461
|
-
if (arr1.length !== arr2.length)
|
|
7462
|
-
return false;
|
|
7463
|
-
const sorted1 = [...arr1].sort();
|
|
7464
|
-
const sorted2 = [...arr2].sort();
|
|
7465
|
-
return sorted1.every((val, index) => val === sorted2[index]);
|
|
7466
7478
|
};
|
|
@@ -517,6 +517,24 @@ export class KupDates {
|
|
|
517
517
|
}
|
|
518
518
|
return cleanedNumbers;
|
|
519
519
|
}
|
|
520
|
+
/**
|
|
521
|
+
* Cleans a time string (e.g., "08:20:08" -> "082008", "123" -> "0123").
|
|
522
|
+
* Unlike dates, a 6-digit time must not be interpreted as a day/month/year.
|
|
523
|
+
* @param input - Input time string
|
|
524
|
+
* @returns Numeric string with an even number of digits (HH, HHMM, HHMMSS, HHMMSSCC)
|
|
525
|
+
*/
|
|
526
|
+
cleanInputTimeString(input) {
|
|
527
|
+
if (!input) {
|
|
528
|
+
return '';
|
|
529
|
+
}
|
|
530
|
+
if (this.isIsoDate(input)) {
|
|
531
|
+
return input;
|
|
532
|
+
}
|
|
533
|
+
const cleanedNumbers = input.replace(/[^0-9]/g, '').trim();
|
|
534
|
+
return cleanedNumbers.length % 2 === 1 && cleanedNumbers.length > 1
|
|
535
|
+
? '0' + cleanedNumbers
|
|
536
|
+
: cleanedNumbers;
|
|
537
|
+
}
|
|
520
538
|
/**
|
|
521
539
|
* Helper method to pad unseparated date strings (e.g., "1122023" -> "01122023")
|
|
522
540
|
* @param input - Clean numeric string
|
|
@@ -555,7 +573,11 @@ export class KupDates {
|
|
|
555
573
|
*/
|
|
556
574
|
normalize(input, type) {
|
|
557
575
|
const l = type !== null && type !== void 0 ? type : dayjs.Ls[this.locale].formats.L;
|
|
558
|
-
|
|
576
|
+
const isTime = type === KupDatesFormats.ISO_TIME ||
|
|
577
|
+
type === KupDatesFormats.ISO_TIME_WITHOUT_SECONDS;
|
|
578
|
+
input = isTime
|
|
579
|
+
? this.cleanInputTimeString(input)
|
|
580
|
+
: this.cleanInputDateString(input);
|
|
559
581
|
switch (type) {
|
|
560
582
|
case KupDatesFormats.ISO_TIME:
|
|
561
583
|
case KupDatesFormats.ISO_TIME_WITHOUT_SECONDS:
|
|
@@ -96,7 +96,10 @@ export class FiltersRows extends Filters {
|
|
|
96
96
|
// There are no filters to check -> the element is valid
|
|
97
97
|
!columnFilters.hasFiltersForColumn(filters, currentColumn);
|
|
98
98
|
let b2 = _filterIsNegative;
|
|
99
|
-
|
|
99
|
+
// Cells without obj have nothing to be checked against: b2 must stay neutral
|
|
100
|
+
// (true for negative filters, which are ANDed, false for positive ones, which are ORed).
|
|
101
|
+
if (cell.obj &&
|
|
102
|
+
!kupObjects.isNumber(cell.obj) &&
|
|
100
103
|
!kupObjects.isDate(cell.obj) &&
|
|
101
104
|
!kupObjects.isTime(cell.obj) &&
|
|
102
105
|
!kupObjects.isTimestamp(cell.obj)) {
|
package/dist/components/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { g as getAssetPath, s as setAssetPath, a as setNonce, b as setPlatformOptions } from './p-ef8cbd35.js';
|
|
2
|
-
import { K as KupManager } from './p-
|
|
2
|
+
import { K as KupManager } from './p-e5b2a91a.js';
|
|
3
3
|
|
|
4
4
|
/** used for obtain a KupManager instance without a dom document (for UT) */
|
|
5
5
|
function newKupManager(init) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupThemeColorValues, d as KupDynamicPositionPlacement } from './p-
|
|
3
|
-
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupThemeColorValues, d as KupDynamicPositionPlacement } from './p-e5b2a91a.js';
|
|
3
|
+
import { M as MDCRipple, F as FImage, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-99c626fd.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-accordion component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-
|
|
3
|
-
import { c as componentWrapperId, G as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, F as FImage } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-e5b2a91a.js';
|
|
3
|
+
import { c as componentWrapperId, G as sortRows, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, F as FImage } from './p-99c626fd.js';
|
|
4
4
|
|
|
5
5
|
var KupActivityTimelineProps;
|
|
6
6
|
(function (KupActivityTimelineProps) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupAutocomplete$1, E as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupAutocomplete$1, E as defineCustomElement$1 } from './p-99c626fd.js';
|
|
2
2
|
|
|
3
3
|
const KupAutocomplete = KupAutocomplete$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H as H$2, c as createEvent, f as forceUpdate, h as h$1, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupLanguageGeneric, L as getColumnByName, u as KupDebugCategory } from './p-
|
|
3
|
-
import { c as componentWrapperId, U as FButton, P as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, V as FChipType } from './p-
|
|
4
|
-
import { b as KupDatesLocales, K as KupDatesFormats } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupLanguageGeneric, L as getColumnByName, u as KupDebugCategory } from './p-e5b2a91a.js';
|
|
3
|
+
import { c as componentWrapperId, U as FButton, P as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v, V as FChipType } from './p-99c626fd.js';
|
|
4
|
+
import { b as KupDatesLocales, K as KupDatesFormats } from './p-b14664b8.js';
|
|
5
5
|
|
|
6
6
|
var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, ac as KupCardFamily, n as getCellValueForDisplay } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u, D as defineCustomElement$v, E as defineCustomElement$w } from './p-
|
|
4
|
-
import { d as defineCustomElement$f } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, ac as KupCardFamily, n as getCellValueForDisplay } from './p-e5b2a91a.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$s, B as defineCustomElement$t, C as defineCustomElement$u, D as defineCustomElement$v, E as defineCustomElement$w } from './p-99c626fd.js';
|
|
4
|
+
import { d as defineCustomElement$f } from './p-46d64272.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-card-list component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, w as FCellPadding, aC as KupCellElementsPosition, g as getProps, s as setProps, al as KupDragEffect, aD as submitPositionAdapter, e as KupLanguageGeneric, aE as KupCellProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, O as FCell, U as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, w as FCellPadding, aC as KupCellElementsPosition, g as getProps, s as setProps, al as KupDragEffect, aD as submitPositionAdapter, e as KupLanguageGeneric, aE as KupCellProps } from './p-e5b2a91a.js';
|
|
3
|
+
import { c as componentWrapperId, O as FCell, U as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-99c626fd.js';
|
|
4
4
|
|
|
5
5
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:var(--kup-label-01-font-size, 12px);line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-compact-01-font-size, 14px);line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:var(--kup-heading-01-font-size, 14px);line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
6
6
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupCustomTaskListTable$1, d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupCustomTaskListTable$1, d as defineCustomElement$1 } from './p-a0a2840f.js';
|
|
2
2
|
|
|
3
3
|
const KupCustomTaskListTable = KupCustomTaskListTable$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { U as FButton, a0 as FTextField, a1 as FCheckbox, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
3
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aF as KupLanguageDashboard, e as KupLanguageGeneric, al as KupDragEffect, u as KupDebugCategory } from './p-
|
|
2
|
+
import { U as FButton, a0 as FTextField, a1 as FCheckbox, Q as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-99c626fd.js';
|
|
3
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aF as KupLanguageDashboard, e as KupLanguageGeneric, al as KupDragEffect, u as KupDebugCategory } from './p-e5b2a91a.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-dashboard component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-e5b2a91a.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, C as defineCustomElement$t, D as defineCustomElement$u, E as defineCustomElement$v } from './p-99c626fd.js';
|
|
4
4
|
|
|
5
5
|
const drawerClass = 'drawer';
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a5 as KupDropdownButton$1, r as defineCustomElement$1 } from './p-
|
|
1
|
+
import { a5 as KupDropdownButton$1, r as defineCustomElement$1 } from './p-99c626fd.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|