@sme.up/ketchup 11.0.0-SNAPSHOT-20250520071859 → 11.0.0-SNAPSHOT-20250521145052
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-db3d9348.js → f-cell-24d64a1a.js} +1 -1
- package/dist/cjs/{f-chip-f2d6124b.js → f-chip-811a95bb.js} +10 -1
- package/dist/cjs/kup-autocomplete_29.cjs.entry.js +64 -43
- package/dist/cjs/kup-box.cjs.entry.js +2 -2
- package/dist/cjs/kup-calendar.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +2 -2
- package/dist/cjs/kup-image-list.cjs.entry.js +2 -2
- package/dist/cjs/kup-input-panel.cjs.entry.js +2 -2
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +34 -8
- package/dist/collection/components/kup-chip/kup-chip.js +6 -4
- package/dist/collection/components/kup-data-table/kup-data-table.js +40 -22
- package/dist/collection/components/kup-tree/kup-tree.js +7 -7
- package/dist/collection/f-components/f-chip/f-chip-declarations.js +1 -0
- package/dist/collection/f-components/f-chip/f-chip.js +8 -2
- package/dist/collection/utils/kup-column-menu/kup-column-menu.js +3 -4
- package/dist/components/kup-accordion.js +1 -1
- package/dist/components/kup-activity-timeline.js +1 -1
- 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 +1 -1
- package/dist/components/kup-card-list.js +2 -2
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.js +1 -1
- 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-dashboard.js +1 -1
- 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 +1 -1
- 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 +2 -2
- package/dist/components/kup-file-upload.js +1 -1
- package/dist/components/kup-form.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 +1 -1
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +2 -2
- package/dist/components/kup-lazy.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-object-field.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.js +1 -1
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- 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-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 +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/{p-be991ac5.js → p-09fa20cc.js} +1 -1
- package/dist/components/{p-8387161b.js → p-45dce9c0.js} +1 -1
- package/dist/components/{p-a6181692.js → p-51f2d4a6.js} +1 -1
- package/dist/components/{p-4f8f83ed.js → p-f419413f.js} +1 -1
- package/dist/components/{p-652331f5.js → p-f518bdea.js} +72 -42
- package/dist/esm/{f-cell-69a81706.js → f-cell-3bf5d8cc.js} +1 -1
- package/dist/esm/{f-chip-29242e70.js → f-chip-0264147f.js} +10 -1
- package/dist/esm/kup-autocomplete_29.entry.js +64 -43
- package/dist/esm/kup-box.entry.js +2 -2
- package/dist/esm/kup-calendar.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +2 -2
- package/dist/esm/kup-image-list.entry.js +2 -2
- package/dist/esm/kup-input-panel.entry.js +2 -2
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-03bd0a3e.entry.js → p-2f988171.entry.js} +1 -1
- package/dist/ketchup/p-45d1929e.js +1 -0
- package/dist/ketchup/{p-94e163ca.entry.js → p-68cf480d.entry.js} +1 -1
- package/dist/ketchup/{p-9f4714fd.js → p-6ce19522.js} +1 -1
- package/dist/ketchup/{p-2bc38560.entry.js → p-965c0398.entry.js} +1 -1
- package/dist/ketchup/p-979e2fa6.entry.js +8 -0
- package/dist/ketchup/{p-eb7881fc.entry.js → p-a2a337ce.entry.js} +1 -1
- package/dist/ketchup/{p-f1b21c30.entry.js → p-d0ab1b7d.entry.js} +1 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +2 -1
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +1 -1
- package/dist/types/components.d.ts +3 -1
- package/dist/types/f-components/f-chip/f-chip-declarations.d.ts +3 -0
- package/dist/types/utils/kup-column-menu/kup-column-menu.d.ts +2 -2
- package/package.json +1 -1
- package/dist/ketchup/p-7375d456.js +0 -1
- package/dist/ketchup/p-a8a05ef3.entry.js +0 -8
|
@@ -196,15 +196,17 @@ export class KupChip {
|
|
|
196
196
|
props.onFocus.push((chip) => this.onKupFocus(chip));
|
|
197
197
|
props.onIconClick.push((chip) => this.onKupIconClick(chip));
|
|
198
198
|
}
|
|
199
|
-
return (h(Host, { key: '
|
|
199
|
+
return (h(Host, { key: '05cf6bd3774f255b2e671f6f3e65ce96a25f792d', "onKup-autocomplete-itemclick": (e) => {
|
|
200
200
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
201
201
|
}, "onKup-combobox-itemclick": (e) => {
|
|
202
202
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
203
|
+
}, "onKup-autocomplete-submit": (e) => {
|
|
204
|
+
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
203
205
|
}, "onKup-textfield-change": (e) => {
|
|
204
206
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
205
207
|
}, "onKup-textfield-submit": (e) => {
|
|
206
208
|
__classPrivateFieldGet(this, _KupChip_instances, "m", _KupChip_changeHandler).call(this, e);
|
|
207
|
-
} }, h("style", { key: '
|
|
209
|
+
} }, h("style", { key: 'd640f106f593216aba419baeea71a9ecec735455' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '1ca6795c0eae881c873ea390eb2ea00949d03ddc', id: componentWrapperId }, this.label ? (h("div", { class: "mdc-text-field__label-container" }, h("label", { class: "mdc-label" }, this.label))) : null, ((_a = this.data) === null || _a === void 0 ? void 0 : _a.length) > 0 ? h(FChip, Object.assign({}, props)) : null, h("slot", { key: 'f970c8e19fda2655af8828b1b456d8bcaa5ed54b', name: "field" }))));
|
|
208
210
|
}
|
|
209
211
|
disconnectedCallback() {
|
|
210
212
|
this.kupManager.theme.unregister(this);
|
|
@@ -652,11 +654,11 @@ _KupChip_instances = new WeakSet(), _KupChip_changeHandler =
|
|
|
652
654
|
e.stopPropagation();
|
|
653
655
|
const data = this.data && this.data.length ? this.data : [];
|
|
654
656
|
// check event type
|
|
655
|
-
if ('node' in e.detail) {
|
|
657
|
+
if ('node' in e.detail && e.detail.node) {
|
|
656
658
|
// autocomplete and combobox handler
|
|
657
659
|
const node = e.detail.node;
|
|
658
660
|
// check if node isn't presents in data
|
|
659
|
-
if (!((_a = this.data) === null || _a === void 0 ? void 0 : _a.find((n) => n.id === node.id))) {
|
|
661
|
+
if (node.value && !((_a = this.data) === null || _a === void 0 ? void 0 : _a.find((n) => n.id === node.id))) {
|
|
660
662
|
this.data = [
|
|
661
663
|
...data,
|
|
662
664
|
{
|
|
@@ -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_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_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderUpdateButtons;
|
|
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_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_switchToTotalsMatrix, _KupDataTable_setObjForTotalsMatrix, _KupDataTable_stickyHeaderPosition, _KupDataTable_updateStickyHeaderSize, _KupDataTable_setObserver, _KupDataTable_didLoadInteractables, _KupDataTable_didRenderInteractables, _KupDataTable_didLoadObservers, _KupDataTable_didRenderObservers, _KupDataTable_didLoadEventHandling, _KupDataTable_scrollStickyHeader, _KupDataTable_checkScrollOnHover, _KupDataTable_customizePanelPosition, _KupDataTable_rowsPointLength, _KupDataTable_paginatedRowsPointLength, _KupDataTable__rowsLength, _KupDataTable_resetSelectedRows, _KupDataTable_getSizedColumns, _KupDataTable_rowDetail, _KupDataTable_dropDownActions, _KupDataTable_createDropDownActionsCard, _KupDataTable_clearSearchActionsCard, _KupDataTable_filterRowActionsCard, _KupDataTable_closeRowActionsCard, _KupDataTable_closeColumnMenuCard, _KupDataTable_prepareDataForActionsCard, _KupDataTable_rowInsertForm, _KupDataTable_rowsDelete, _KupDataTable_getEventDetails, _KupDataTable_getEventDetailsForCurrentSelection, _KupDataTable_getSourceElementCoordsForCurrentSelection, _KupDataTable_clickHandler, _KupDataTable_cellActionsMenuHandler, _KupDataTable_contextMenuHandler, _KupDataTable_tooltipRequestHandler, _KupDataTable_contextMenuHandlerDetailsManager, _KupDataTable_dblClickHandler, _KupDataTable_initRows, _KupDataTable_filterRows, _KupDataTable_isGrouping, _KupDataTable_hasRowActions, _KupDataTable_removeGroup, _KupDataTable_hasTotals, _KupDataTable_copyCellValueInColumnHandler, _KupDataTable_tableHasAutoWidth, _KupDataTable_forceGroupExpansion, _KupDataTable_forceRowGroupExpansion, _KupDataTable_adjustPaginator, _KupDataTable_setCellEditability, _KupDataTable_composeFixedCellStyleAndClass, _KupDataTable_updateFixedRowsAndColumnsCssVariables, _KupDataTable_horNav, _KupDataTable_verNav, _KupDataTable_onKupKeyDown, _KupDataTable_onColumnSort, _KupDataTable_onRemoveFilter, _KupDataTable_getFilterValueForTooltip, _KupDataTable_onGlobalFilterChange, _KupDataTable_handlePageChange, _KupDataTable_handleRowsPerPageChange, _KupDataTable_onRowClick, _KupDataTable_selectColumn, _KupDataTable_deselectColumn, _KupDataTable_onRowActionExpanderClick, _KupDataTable_handleRowSelect, _KupDataTable_onRowExpand, _KupDataTable_onSelectAll, _KupDataTable_openTotalMenu, _KupDataTable_closeTotalMenu, _KupDataTable_isOpenedTotalMenuForColumn, _KupDataTable_groupRows, _KupDataTable_onLoadMoreClick, _KupDataTable_adjustGroupState, _KupDataTable_adjustGroupStateFromRow, _KupDataTable_sortRows, _KupDataTable_getSortIcon, _KupDataTable_getSortDecode, _KupDataTable_calculateColspan, _KupDataTable_isGroupExpanded, _KupDataTable_handleColumnSort, _KupDataTable_moveSortedColumns, _KupDataTable_handleUpdateClick, _KupDataTable_onBlurHandler, _KupDataTable_applyLineBreaks, _KupDataTable_composeHeaderCellClassAndStyle, _KupDataTable_renderHeader, _KupDataTable_renderStickyHeader, _KupDataTable_totalMenuPosition, _KupDataTable_onTotalMenuOpen, _KupDataTable_renderRow, _KupDataTable_onCustomSettingsClick, _KupDataTable_openCustomSettings, _KupDataTable_closeCustomSettings, _KupDataTable_renderPaginator, _KupDataTable_columnRemoveArea, _KupDataTable_columnGroupArea, _KupDataTable_hideShowColumnDropArea, _KupDataTable_handleColumnGroup, _KupDataTable_transcodeItem, _KupDataTable_createListData, _KupDataTable_FONTSIZE_CODES, _KupDataTable_FONTSIZE_DECODES, _KupDataTable_FONTSIZE_ICONS, _KupDataTable_getFontSizeCodeFromDecode, _KupDataTable_renderFontSizePanel, _KupDataTable_DENSITY_DECODES, _KupDataTable_DENSITY_ICONS, _KupDataTable_getDensityCodeFromDecode, _KupDataTable_renderDensityPanel, _KupDataTable_GRID_CODES, _KupDataTable_GRID_DECODES, _KupDataTable_GRID_ICONS, _KupDataTable_getGridCodeFromDecode, _KupDataTable_renderTransposeSwitch, _KupDataTable_renderTotalsMatrix, _KupDataTable_renderGridPanel, _KupDataTable_renderCommandButton, _KupDataTable_handleChipsContextMenu, _KupDataTable_renderCommandDropDownButton, _KupDataTable_renderUpdateButtons;
|
|
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";
|
|
@@ -733,11 +733,10 @@ export class KupDataTable {
|
|
|
733
733
|
* Opens the column menu of the given column.
|
|
734
734
|
* @param {string} column - Name of the column.
|
|
735
735
|
*/
|
|
736
|
-
async openColumnMenu(
|
|
736
|
+
async openColumnMenu(columnName, wrapperClass) {
|
|
737
737
|
if (__classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f")) {
|
|
738
738
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_closeColumnMenuCard).call(this);
|
|
739
739
|
}
|
|
740
|
-
this.columnMenuAnchor = column;
|
|
741
740
|
__classPrivateFieldSet(this, _KupDataTable_columnMenuCard, document.createElement('kup-card'), "f");
|
|
742
741
|
__classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f").isMenu = true;
|
|
743
742
|
__classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f").layoutNumber = 12;
|
|
@@ -769,10 +768,10 @@ export class KupDataTable {
|
|
|
769
768
|
el: __classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f"),
|
|
770
769
|
}, "f");
|
|
771
770
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").addClickCallback(__classPrivateFieldGet(this, _KupDataTable_clickCbDropCard, "f"), true);
|
|
772
|
-
__classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column',
|
|
773
|
-
__classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet(this, _KupDataTable_columnMenuInstance, "f").prepData(this, getColumnByName(this.
|
|
774
|
-
__classPrivateFieldGet(this, _KupDataTable_columnMenuInstance, "f").open(this,
|
|
775
|
-
__classPrivateFieldGet(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f"));
|
|
771
|
+
__classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f").setAttribute('data-column', columnName);
|
|
772
|
+
__classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f").data = __classPrivateFieldGet(this, _KupDataTable_columnMenuInstance, "f").prepData(this, getColumnByName(this.getColumns(), columnName));
|
|
773
|
+
__classPrivateFieldGet(this, _KupDataTable_columnMenuInstance, "f").open(this, columnName);
|
|
774
|
+
__classPrivateFieldGet(this, _KupDataTable_columnMenuInstance, "f").reposition(this, __classPrivateFieldGet(this, _KupDataTable_columnMenuCard, "f"), wrapperClass);
|
|
776
775
|
this.kupDataTableColumnMenu.emit({
|
|
777
776
|
comp: this,
|
|
778
777
|
id: this.rootElement.id,
|
|
@@ -1439,7 +1438,7 @@ export class KupDataTable {
|
|
|
1439
1438
|
__classPrivateFieldSet(this, _KupDataTable_sizedColumns, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getSizedColumns).call(this), "f");
|
|
1440
1439
|
let rows = null;
|
|
1441
1440
|
if (__classPrivateFieldGet(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
1442
|
-
rows = (h("tr", { key: '
|
|
1441
|
+
rows = (h("tr", { key: '430b44ee29a2fca6f9c5b93f861ecdf4ad73e0a5', ref: (el) => __classPrivateFieldGet(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: 'bd1c377ad8bec0617a2438177bd966853bd6fee4', colSpan: __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
1443
1442
|
}
|
|
1444
1443
|
else {
|
|
1445
1444
|
rows = [];
|
|
@@ -1498,13 +1497,24 @@ export class KupDataTable {
|
|
|
1498
1497
|
const props = {
|
|
1499
1498
|
data: chipsData,
|
|
1500
1499
|
id: 'group-chips',
|
|
1501
|
-
type: FChipType.INPUT,
|
|
1502
1500
|
onIconClick: [],
|
|
1501
|
+
onClearFilterClick: [],
|
|
1502
|
+
type: FChipType.INPUT,
|
|
1503
|
+
onContextMenu: [],
|
|
1504
|
+
hasFilter: [],
|
|
1503
1505
|
};
|
|
1504
1506
|
for (let i = 0; i < chipsData.length; i++) {
|
|
1507
|
+
const column = getColumnByName(this.getColumns(), chipsData[i].id);
|
|
1508
|
+
const hasFilterColumn = __classPrivateFieldGet(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column);
|
|
1509
|
+
props.hasFilter.push(hasFilterColumn);
|
|
1510
|
+
__classPrivateFieldGet(this, _KupDataTable_filtersColumnMenuInstance, "f").hasFiltersForColumn(this.filters, column);
|
|
1511
|
+
props.onClearFilterClick.push(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onRemoveFilter).call(this, column));
|
|
1505
1512
|
props.onIconClick.push(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
1513
|
+
props.onContextMenu.push((chipArg, e) => {
|
|
1514
|
+
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_handleChipsContextMenu).call(this, chipArg.id, e);
|
|
1515
|
+
});
|
|
1506
1516
|
}
|
|
1507
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
1517
|
+
groupChips = h(FChip, Object.assign({ key: 'd3415fc95ae2f8a5ce26cb20002ba6661a3a760c' }, props));
|
|
1508
1518
|
}
|
|
1509
1519
|
}
|
|
1510
1520
|
const tableClass = {
|
|
@@ -1536,7 +1546,7 @@ export class KupDataTable {
|
|
|
1536
1546
|
if (this.headerIsPersistent &&
|
|
1537
1547
|
this.tableHeight === undefined &&
|
|
1538
1548
|
this.tableWidth === undefined) {
|
|
1539
|
-
stickyEl = (h("sticky-header", { key: '
|
|
1549
|
+
stickyEl = (h("sticky-header", { key: 'df0a886676b01a4ec8cdc238da50e5fb636c2e75', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: '7dfc484ccd0077864cf2e8ea220ed18ef1f1f10f' }, h("tr-sticky", { key: 'd6a818a76e04dc06fc88b00f54b88f2aa8ea3470' }, stickyHeader))));
|
|
1540
1550
|
}
|
|
1541
1551
|
let belowClass = 'below-wrapper';
|
|
1542
1552
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -1582,7 +1592,7 @@ export class KupDataTable {
|
|
|
1582
1592
|
const useGlobalFilter = !this.legacyLook &&
|
|
1583
1593
|
(this.globalFilter ||
|
|
1584
1594
|
this.getRows().length > __classPrivateFieldGet(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
1585
|
-
const compCreated = (h(Host, { key: '
|
|
1595
|
+
const compCreated = (h(Host, { key: '84427b1e39a433f2ab49960f32fb46e8a3e3bb94', "onKup-drop": (e) => {
|
|
1586
1596
|
this.kupDataTableDrop.emit(e.detail);
|
|
1587
1597
|
}, "onKup-cell-input": (e) => {
|
|
1588
1598
|
autoselectOnAction(e);
|
|
@@ -1597,11 +1607,11 @@ export class KupDataTable {
|
|
|
1597
1607
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
1598
1608
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
1599
1609
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
1600
|
-
} }, h("style", { key: '
|
|
1610
|
+
} }, h("style", { key: '87d876e2b04fda5102111f24ab911e56aa0bcce8' }, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: 'c65909d1e8b6d951f13c2bc9400a21a14ae6a4dd', id: componentWrapperId, class: wrapClass }, h("div", { key: '5be32632d47ebaa895d3c93549421896d4d34e9b', class: "group-wrapper" }, groupChips), h("div", { key: 'b022561419113d8f3f8510bdf6fe9e6972b73358', 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) => {
|
|
1601
1611
|
const t = event.target;
|
|
1602
1612
|
window.clearTimeout(__classPrivateFieldGet(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
1603
1613
|
__classPrivateFieldSet(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
1604
|
-
} }))) : null, h("div", { key: '
|
|
1614
|
+
} }))) : null, h("div", { key: '61932ed103271863d6391ef8f89fbb334786ed99', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
1605
1615
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
1606
1616
|
this.kupSave.emit({
|
|
1607
1617
|
comp: this,
|
|
@@ -1651,9 +1661,9 @@ export class KupDataTable {
|
|
|
1651
1661
|
this.data.rows.unshift(row);
|
|
1652
1662
|
await this.refresh(true);
|
|
1653
1663
|
}
|
|
1654
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
1664
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: 'b226a20f77b41d1c09e122c47174ada6d16b3487', class: "droparea", ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
1655
1665
|
? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
1656
|
-
: null), h("div", { key: '
|
|
1666
|
+
: null), h("div", { key: 'ee8243f804c2e5748fc42179e612136257232fe7', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
1657
1667
|
? [
|
|
1658
1668
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
1659
1669
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -1662,7 +1672,7 @@ export class KupDataTable {
|
|
|
1662
1672
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
1663
1673
|
this.renderCustomizePanel(),
|
|
1664
1674
|
]
|
|
1665
|
-
: null, h("table", { key: '
|
|
1675
|
+
: null, h("table", { key: 'e507b220df52538aea8c28ef3c067c7d666d2598', class: tableClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableRef, el, "f")), onKeyDown: (e) => __classPrivateFieldGet(this, _KupDataTable_onKupKeyDown, "f").call(this, e), onMouseLeave: (ev) => {
|
|
1666
1676
|
ev.stopPropagation();
|
|
1667
1677
|
}, onPointerDown: (e) => {
|
|
1668
1678
|
__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");
|
|
@@ -1670,7 +1680,7 @@ export class KupDataTable {
|
|
|
1670
1680
|
__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");
|
|
1671
1681
|
}, onContextMenu: (e) => {
|
|
1672
1682
|
e.preventDefault();
|
|
1673
|
-
} }, h("thead", { key: '
|
|
1683
|
+
} }, h("thead", { key: '8189633a66a558e1c101e00c681d132926d9f0d1', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'e266d4b881a4ce18169d10c737c1b84028364385' }, header)), h("tbody", { key: '4c248d2b4e9662dd94be97728bfe3aa0343f2ed1' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
1674
1684
|
__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").perfMonitoring.measure('componentRender', 'kup-data-table');
|
|
1675
1685
|
return compCreated;
|
|
1676
1686
|
}
|
|
@@ -3921,11 +3931,15 @@ export class KupDataTable {
|
|
|
3921
3931
|
},
|
|
3922
3932
|
"openColumnMenu": {
|
|
3923
3933
|
"complexType": {
|
|
3924
|
-
"signature": "(
|
|
3934
|
+
"signature": "(columnName: string, wrapperClass: string) => Promise<void>",
|
|
3925
3935
|
"parameters": [{
|
|
3926
|
-
"name": "
|
|
3936
|
+
"name": "columnName",
|
|
3927
3937
|
"type": "string",
|
|
3928
|
-
"docs": "
|
|
3938
|
+
"docs": ""
|
|
3939
|
+
}, {
|
|
3940
|
+
"name": "wrapperClass",
|
|
3941
|
+
"type": "string",
|
|
3942
|
+
"docs": ""
|
|
3929
3943
|
}],
|
|
3930
3944
|
"references": {
|
|
3931
3945
|
"Promise": {
|
|
@@ -5875,7 +5889,8 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
5875
5889
|
}, _KupDataTable_contextMenuHandlerDetailsManager = function _KupDataTable_contextMenuHandlerDetailsManager(details, eventCoords) {
|
|
5876
5890
|
if (details.area === DataTableAreasEnum.HEADER) {
|
|
5877
5891
|
if (details.column) {
|
|
5878
|
-
|
|
5892
|
+
const colName = details.column.name;
|
|
5893
|
+
this.openColumnMenu(colName, `th[data-column="${colName}"]`);
|
|
5879
5894
|
return details;
|
|
5880
5895
|
}
|
|
5881
5896
|
}
|
|
@@ -7138,6 +7153,9 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
7138
7153
|
} })));
|
|
7139
7154
|
}, _KupDataTable_renderCommandButton = function _KupDataTable_renderCommandButton(commandObj, styling) {
|
|
7140
7155
|
return (h("kup-button", { styling: styling, "onKup-button-click": () => __classPrivateFieldGet(this, _KupDataTable_handleUpdateClick, "f").call(this, commandObj), icon: commandObj.icon, placeholderIcon: commandObj.placeholderIcon, label: commandObj.value }));
|
|
7156
|
+
}, _KupDataTable_handleChipsContextMenu = function _KupDataTable_handleChipsContextMenu(chipColumnName, e) {
|
|
7157
|
+
e.preventDefault();
|
|
7158
|
+
this.openColumnMenu(chipColumnName, `.chip[data-value="${chipColumnName}"]`);
|
|
7141
7159
|
}, _KupDataTable_renderCommandDropDownButton = function _KupDataTable_renderCommandDropDownButton(commandObj, styling) {
|
|
7142
7160
|
const data = {
|
|
7143
7161
|
'kup-list': {
|
|
@@ -331,7 +331,7 @@ export class KupTree {
|
|
|
331
331
|
this.columnMenuCard.setAttribute('data-column', column);
|
|
332
332
|
this.columnMenuCard.data = this.columnMenuInstance.prepData(this, getColumnByName(this.getVisibleColumns(), column));
|
|
333
333
|
this.columnMenuInstance.open(this, column);
|
|
334
|
-
this.columnMenuInstance.reposition(this, this.columnMenuCard);
|
|
334
|
+
this.columnMenuInstance.reposition(this, this.columnMenuCard, 'th[data-column="' + column + '"]');
|
|
335
335
|
this.kupTreeColumnMenu.emit({
|
|
336
336
|
comp: this,
|
|
337
337
|
id: this.rootElement.id,
|
|
@@ -1368,19 +1368,19 @@ export class KupTree {
|
|
|
1368
1368
|
const visibleHeader = this.showHeader && this.showColumns;
|
|
1369
1369
|
let filterField = null;
|
|
1370
1370
|
if (this.globalFilter) {
|
|
1371
|
-
filterField = (h("div", { key: '
|
|
1371
|
+
filterField = (h("div", { key: '951cc7b33102ce09bd67359865c186c80d99b7ef', id: "global-filter" }, h("kup-text-field", { key: '624400796166fb13a274440aa7baddcb9de9a1ce', fullWidth: true, label: __classPrivateFieldGet(this, _KupTree_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), sizing: KupComponentSizing.EXTRA_SMALL, icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
1372
1372
|
window.clearTimeout(this.globalFilterTimeout);
|
|
1373
1373
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1374
1374
|
} })));
|
|
1375
1375
|
}
|
|
1376
|
-
return (h(Host, { key: '
|
|
1376
|
+
return (h(Host, { key: '7e892593e2eb01f08a6985046d14df031ce27951', "onKup-cell-click": (e) => {
|
|
1377
1377
|
this.kupTreeCellClick.emit(e.detail);
|
|
1378
|
-
} }, h("style", { key: '
|
|
1379
|
-
el) }, h("table", { key: '
|
|
1378
|
+
} }, h("style", { key: 'fc0d6f92bf7c46d2a1b13dc826fe4aeb6f032be9' }, __classPrivateFieldGet(this, _KupTree_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: '0efcf089f18129e1216e5ef352497d53257e0779', id: componentWrapperId, class: wrapperClass, style: wrapperStyle }, filterField, h("div", { key: '7939f7b39a94c845ba0551c1b27cdc7f73bbdf2e', class: "wrapper", ref: (el) => (this.treeWrapperRef =
|
|
1379
|
+
el) }, h("table", { key: '8a516d15076c80ef390fccd95fb021c5d01d2b47', class: "kup-tree", "data-show-columns": this.showColumns, onContextMenu: (e) => {
|
|
1380
1380
|
e.preventDefault();
|
|
1381
|
-
} }, h("thead", { key: '
|
|
1381
|
+
} }, h("thead", { key: '84d285915065d73decdd5ee03f2260aab3472aa7', class: {
|
|
1382
1382
|
'header--is-visible': visibleHeader,
|
|
1383
|
-
} }, h("tr", { key: '
|
|
1383
|
+
} }, h("tr", { key: '2ba3d653b3f9c5fdf5a183c946701712efa92a6b' }, visibleHeader ? this.renderHeader() : null)), h("tbody", { key: 'd12721e4a33eaba8240fafdeebd2ec2bc62bcc25' }, treeNodes), (this.showFooter || this.hasTotals()) &&
|
|
1384
1384
|
this.columns
|
|
1385
1385
|
? this.renderFooter()
|
|
1386
1386
|
: null)))));
|
|
@@ -69,8 +69,9 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
function createChip(chip, disabled) {
|
|
72
|
+
var _a;
|
|
72
73
|
const onlyIcon = !!(chip.icon && !chip.value);
|
|
73
|
-
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled
|
|
74
|
+
let componentClass = `chip ${onlyIcon ? 'chip--only-icon' : ''} ${disabled ? 'chip--disabled' : ''}`;
|
|
74
75
|
let iconEl = [];
|
|
75
76
|
let iconClass = 'chip__icon chip__icon--leading';
|
|
76
77
|
if (isFilter || isChoice) {
|
|
@@ -100,13 +101,18 @@ function createChipList(props, isChoice, isFilter, isInput) {
|
|
|
100
101
|
let chipText = getIdOfItemByDisplayMode(chip, chip.value == '' ? ItemsDisplayMode.CODE : props.displayMode, ' - ');
|
|
101
102
|
return (h("div", { class: componentClass, "data-value": chip.id, onClick: props.onClick && props.onClick[i]
|
|
102
103
|
? props.onClick[i].bind(props.onClick[i], chip)
|
|
104
|
+
: null, onContextMenu: props.onContextMenu && props.onContextMenu[i]
|
|
105
|
+
? props.onContextMenu[i].bind(props.onContextMenu[i], chip)
|
|
103
106
|
: null, role: "row", title: chip.title ? chip.title : '' }, h("span", { class: "chip-set__indent" }), iconEl, h("span", { role: "gridcell" }, h("span", { role: "button", tabindex: i, class: "chip__primary-action",
|
|
104
107
|
// @ts-ignore
|
|
105
108
|
value: chip.id, checked: chip.checked, onBlur: props.onBlur && props.onBlur[i]
|
|
106
109
|
? props.onBlur[i].bind(props.onBlur[i], chip)
|
|
107
110
|
: null, onFocus: props.onFocus && props.onFocus[i]
|
|
108
111
|
? props.onFocus[i].bind(props.onFocus[i], chip)
|
|
109
|
-
: null }, h("span", { class: "chip__text" }, chipText))),
|
|
112
|
+
: null }, h("span", { class: "chip__text" }, chipText))), ((_a = props.hasFilter) === null || _a === void 0 ? void 0 : _a[i]) && (h("span", { role: "gridcell" }, h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.FILTER_REMOVE.replace('--', '')}`, onClick: props.onClearFilterClick &&
|
|
113
|
+
props.onClearFilterClick[i]
|
|
114
|
+
? props.onClearFilterClick[i].bind(props.onClearFilterClick[i], chip)
|
|
115
|
+
: null }))), isInput ? (h("span", { role: "gridcell" }, h("span", { tabindex: "-1", class: `kup-icon chip__icon ${KupThemeIconValues.CLEAR.replace('--', '')}`, onClick: props.onIconClick && props.onIconClick[i]
|
|
110
116
|
? props.onIconClick[i].bind(props.onIconClick[i], chip)
|
|
111
117
|
: null }))) : null));
|
|
112
118
|
}
|
|
@@ -39,15 +39,14 @@ export class KupColumnMenu {
|
|
|
39
39
|
dom.ketchup.dynamicPosition.stop(card);
|
|
40
40
|
}
|
|
41
41
|
/**
|
|
42
|
-
* Function called to reposition the column menu card to the appropriate
|
|
42
|
+
* Function called to reposition the column menu card to the appropriate selector.
|
|
43
43
|
* @param {KupDataTable | KupTree} comp - Component using the column menu.
|
|
44
44
|
*/
|
|
45
|
-
reposition(comp, card) {
|
|
45
|
+
reposition(comp, card, wrapperSelector) {
|
|
46
46
|
const root = comp.rootElement.shadowRoot;
|
|
47
47
|
if (root) {
|
|
48
48
|
if (card) {
|
|
49
|
-
const
|
|
50
|
-
const wrapper = root.querySelector('th[data-column="' + column + '"]');
|
|
49
|
+
const wrapper = root.querySelector(wrapperSelector);
|
|
51
50
|
if (dom.ketchup.dynamicPosition.isRegistered(card)) {
|
|
52
51
|
dom.ketchup.dynamicPosition.changeAnchor(card, wrapper);
|
|
53
52
|
}
|
|
@@ -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
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-9859e801.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 } 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 } from './p-f518bdea.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
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupDebugCategory, n as getCellValueForDisplay } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, E 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, F as FImage } from './p-
|
|
3
|
+
import { c as componentWrapperId, E 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, F as FImage } from './p-f518bdea.js';
|
|
4
4
|
|
|
5
5
|
var KupActivityTimelineProps;
|
|
6
6
|
(function (KupActivityTimelineProps) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupAutocomplete$1, D as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupAutocomplete$1, D as defineCustomElement$1 } from './p-f518bdea.js';
|
|
2
2
|
|
|
3
3
|
const KupAutocomplete = KupAutocomplete$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
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
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupLanguageGeneric, L as getColumnByName, u as KupDebugCategory } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, T as FButton, O 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, U as FChipType } from './p-
|
|
3
|
+
import { c as componentWrapperId, T as FButton, O 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, U as FChipType } from './p-f518bdea.js';
|
|
4
4
|
import { b as KupDatesLocales, K as KupDatesFormats } from './p-1581348d.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;
|
|
@@ -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
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, ab as KupCardFamily, n as getCellValueForDisplay } from './p-9859e801.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$f, 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 } from './p-
|
|
4
|
-
import { d as defineCustomElement$e } 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$f, 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 } from './p-f518bdea.js';
|
|
4
|
+
import { d as defineCustomElement$e } from './p-f419413f.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
2
|
import { k as kupManagerInstance, w as FCellPadding, aA as KupCellElementsPosition, g as getProps, s as setProps, aj as KupDragEffect, aB as submitPositionAdapter, e as KupLanguageGeneric, aC as KupCellProps } from './p-9859e801.js';
|
|
3
|
-
import { c as componentWrapperId, N as FCell, T 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 } from './p-
|
|
3
|
+
import { c as componentWrapperId, N as FCell, T 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 } from './p-f518bdea.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,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-ef8cbd35.js';
|
|
2
|
-
import { T as FButton, $ as FTextField, a0 as FCheckbox, P 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 } from './p-
|
|
2
|
+
import { T as FButton, $ as FTextField, a0 as FCheckbox, P 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 } from './p-f518bdea.js';
|
|
3
3
|
import { k as kupManagerInstance, g as getProps, s as setProps, aD as KupLanguageDashboard, e as KupLanguageGeneric, aj as KupDragEffect, u as KupDebugCategory } from './p-9859e801.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -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
2
|
import { k as kupManagerInstance, g as getProps, s as setProps } from './p-9859e801.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 } 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 } from './p-f518bdea.js';
|
|
4
4
|
|
|
5
5
|
const drawerClass = 'drawer';
|
|
6
6
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a4 as KupDropdownButton$1, q as defineCustomElement$1 } from './p-
|
|
1
|
+
import { a4 as KupDropdownButton$1, q as defineCustomElement$1 } from './p-f518bdea.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|