@sme.up/ketchup 11.0.0-SNAPSHOT-20250205134226 → 11.0.0-SNAPSHOT-20250205143327
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-c850bbeb.js → f-cell-1ebce571.js} +4 -4
- package/dist/cjs/{f-chip-5a6ee1fc.js → f-chip-65b2bdfd.js} +1 -1
- package/dist/cjs/{f-object-field-c5a2a197.js → f-object-field-055e8cca.js} +2 -2
- package/dist/cjs/{f-paginator-utils-cb712c74.js → f-paginator-utils-17dbcca2.js} +13 -4
- package/dist/cjs/{f-text-field-e92a7f58.js → f-text-field-87c9a930.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kup-accordion.cjs.entry.js +1 -1
- package/dist/cjs/kup-activity-timeline.cjs.entry.js +2 -2
- package/dist/cjs/kup-autocomplete_29.cjs.entry.js +23 -22
- package/dist/cjs/kup-box.cjs.entry.js +7 -7
- package/dist/cjs/kup-calendar.cjs.entry.js +2 -2
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +5 -5
- package/dist/cjs/kup-dashboard.cjs.entry.js +2 -2
- package/dist/cjs/{kup-data-table-helper-cdda3ef6.js → kup-data-table-helper-dc9310f6.js} +1 -1
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +1 -1
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-htm.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +5 -5
- package/dist/cjs/kup-input-panel.cjs.entry.js +5 -5
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +1 -1
- package/dist/cjs/{kup-manager-b0980021.js → kup-manager-bf9935c7.js} +1 -1
- package/dist/cjs/kup-nav-bar.cjs.entry.js +1 -1
- package/dist/cjs/kup-numeric-picker.cjs.entry.js +2 -2
- package/dist/cjs/kup-object-field.cjs.entry.js +3 -3
- package/dist/cjs/kup-pdf.cjs.entry.js +1 -1
- package/dist/cjs/kup-planner.cjs.entry.js +2 -2
- package/dist/cjs/kup-probe.cjs.entry.js +1 -1
- package/dist/cjs/kup-qlik.cjs.entry.js +1 -1
- package/dist/cjs/kup-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/kup-txt.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-typography.cjs.entry.js +1 -1
- package/dist/collection/components/kup-combobox/kup-combobox.js +1 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +11 -11
- package/dist/collection/components/kup-list/kup-list.js +4 -3
- package/dist/collection/f-components/f-paginator/f-paginator.js +10 -2
- 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 +2 -2
- 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-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-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 +2 -2
- 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-pdf.js +2 -2
- package/dist/components/kup-planner.js +2 -2
- 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-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-5c0f03a4.js → p-45b84d94.js} +2 -2
- package/dist/components/{p-60f3fe5e.js → p-47327b2b.js} +2 -2
- package/dist/components/{p-965f13a7.js → p-700a322b.js} +1 -1
- package/dist/components/{p-a75b3056.js → p-741bddcb.js} +2 -2
- package/dist/components/{p-afb1a3d6.js → p-9fe00131.js} +29 -19
- package/dist/components/{p-dd1f9d81.js → p-b4f7e6d0.js} +2 -2
- package/dist/esm/{f-cell-a1106baf.js → f-cell-c7bbb5a9.js} +4 -4
- package/dist/esm/{f-chip-49da8a9b.js → f-chip-28f0f666.js} +1 -1
- package/dist/esm/{f-object-field-d9b123d5.js → f-object-field-db698ceb.js} +2 -2
- package/dist/esm/{f-paginator-utils-55427e23.js → f-paginator-utils-b8c8e0b6.js} +13 -4
- package/dist/esm/{f-text-field-13ab4d72.js → f-text-field-f48cb7e9.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kup-accordion.entry.js +1 -1
- package/dist/esm/kup-activity-timeline.entry.js +2 -2
- package/dist/esm/kup-autocomplete_29.entry.js +23 -22
- package/dist/esm/kup-box.entry.js +7 -7
- package/dist/esm/kup-calendar.entry.js +2 -2
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +5 -5
- package/dist/esm/kup-dashboard.entry.js +2 -2
- package/dist/esm/{kup-data-table-helper-6781b030.js → kup-data-table-helper-d4578d59.js} +1 -1
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +1 -1
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-htm.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +5 -5
- package/dist/esm/kup-input-panel.entry.js +5 -5
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-02722ca1.js → kup-manager-a08b1823.js} +1 -1
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-object-field.entry.js +3 -3
- package/dist/esm/kup-pdf.entry.js +1 -1
- package/dist/esm/kup-planner.entry.js +2 -2
- package/dist/esm/kup-probe.entry.js +1 -1
- package/dist/esm/kup-qlik.entry.js +1 -1
- package/dist/esm/kup-snackbar.entry.js +1 -1
- package/dist/esm/kup-txt.entry.js +1 -1
- package/dist/esm/kup-typography-list.entry.js +1 -1
- package/dist/esm/kup-typography.entry.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-03ecb09e.entry.js +9 -0
- package/dist/ketchup/{p-7b357159.entry.js → p-06360264.entry.js} +1 -1
- package/dist/ketchup/{p-45d2c83a.entry.js → p-0c57cfc5.entry.js} +1 -1
- package/dist/ketchup/p-171c5fae.js +1 -0
- package/dist/ketchup/{p-320a7765.entry.js → p-1c6cde19.entry.js} +1 -1
- package/dist/ketchup/{p-31e63d06.entry.js → p-24111ebd.entry.js} +1 -1
- package/dist/ketchup/{p-4a50396d.entry.js → p-24658ca7.entry.js} +1 -1
- package/dist/ketchup/{p-469272f9.entry.js → p-25218b3b.entry.js} +1 -1
- package/dist/ketchup/{p-a7555e23.js → p-25f1e4bf.js} +1 -1
- package/dist/ketchup/{p-9342b54f.entry.js → p-26a8754b.entry.js} +1 -1
- package/dist/ketchup/{p-ffeb83e0.entry.js → p-27d7d8a7.entry.js} +1 -1
- package/dist/ketchup/{p-a4944492.entry.js → p-2b513e41.entry.js} +1 -1
- package/dist/ketchup/{p-11176892.entry.js → p-2d229381.entry.js} +1 -1
- package/dist/ketchup/{p-59389304.entry.js → p-3587239e.entry.js} +1 -1
- package/dist/ketchup/{p-c81087f5.js → p-4f9d0919.js} +1 -1
- package/dist/ketchup/{p-3e66ca33.entry.js → p-53e2645c.entry.js} +1 -1
- package/dist/ketchup/{p-86f205c2.entry.js → p-5c22a877.entry.js} +1 -1
- package/dist/ketchup/{p-1a715ace.entry.js → p-5ee4d84e.entry.js} +1 -1
- package/dist/ketchup/{p-c30a4733.entry.js → p-5fc94093.entry.js} +1 -1
- package/dist/ketchup/{p-a500b4e1.entry.js → p-60b147f3.entry.js} +1 -1
- package/dist/ketchup/{p-d3134505.entry.js → p-680efa51.entry.js} +1 -1
- package/dist/ketchup/{p-b913da79.entry.js → p-6cae6b15.entry.js} +1 -1
- package/dist/ketchup/{p-1a9f40af.js → p-6fdc73c2.js} +1 -1
- package/dist/ketchup/{p-78e0da2f.entry.js → p-6fdcb531.entry.js} +1 -1
- package/dist/ketchup/{p-73a19ede.entry.js → p-6fdd06a8.entry.js} +1 -1
- package/dist/ketchup/p-742e1ca0.js +1 -0
- package/dist/ketchup/{p-64644e96.entry.js → p-9d813868.entry.js} +1 -1
- package/dist/ketchup/{p-dbe9521e.entry.js → p-b1528297.entry.js} +1 -1
- package/dist/ketchup/{p-fe2299b0.js → p-b2ed96d1.js} +1 -1
- package/dist/ketchup/{p-26752aa1.entry.js → p-b7a96594.entry.js} +1 -1
- package/dist/ketchup/{p-e8c8c177.js → p-cef2c364.js} +1 -1
- package/dist/ketchup/{p-ae20aa9e.entry.js → p-cf03bba4.entry.js} +1 -1
- package/dist/ketchup/{p-ff3ede1c.entry.js → p-d2872e96.entry.js} +1 -1
- package/dist/ketchup/{p-2647623c.entry.js → p-d4ee5b08.entry.js} +1 -1
- package/dist/ketchup/{p-7d692b19.entry.js → p-d8cca5ee.entry.js} +1 -1
- package/dist/ketchup/{p-0037b59b.entry.js → p-e21bc514.entry.js} +1 -1
- package/dist/ketchup/{p-a0615cce.entry.js → p-fa7058e5.entry.js} +1 -1
- package/dist/types/f-components/f-paginator/f-paginator-declarations.d.ts +1 -0
- package/package.json +1 -1
- package/dist/ketchup/p-597ef453.entry.js +0 -9
- package/dist/ketchup/p-ba200bc0.js +0 -1
- package/dist/ketchup/p-bcfe4551.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h as h$1, d as Host, F as Fragment$1 } from './p-2e5f2e07.js';
|
|
2
|
-
import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, b as KupThemeColorValues, R as RADAdapter, C as CMBandACPAdapter, j as KupTagNames, l as FCellShapes, m as getCellValueForDisplay, n as fullWidthFieldsComps, o as autoCenterComps, p as FCellEvents, q as isForceUppercase, r as isForceLowercase, t as KupDebugCategory, u as adaptContentToDisplayMode, v as FCellPadding, w as fillString, x as KupCardBuiltInClockElements, y as KupCardCSSClasses, z as KupLanguageTotals, A as KupLanguageColumn, B as KupDataNewColumnTypes, D as KupCardSubEvents, E as KupCardIds, G as KupLanguageRow, H as getColumnByName, J as KupObjects, L as formatToNumber, M as Filters, N as getValueForDisplay, O as getValueForDisplay2, P as KupData, Q as compareCell, T as TotalMode, S as getRegExpFromString, U as CHKAdapter, V as CHIAdapter, W as SWTAdapter, X as SortMode, Y as GroupLabelDisplayMode, Z as SelectionMode, _ as KupLanguageGrouping, $ as KupLanguageCheckbox, a0 as KupLanguageSearch, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as KupListProps, aa as KupCardFamily, ab as KupListRole, ac as KupLanguageUpload, ad as identify, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as FixedCellsClasses, an as FixedCellsCSSVarsBase, ao as KupLanguageFontsize, ap as KupLanguageDensity, aq as KupLanguageGrid, ar as KupDataTableProps, as as DataTableAreasEnum, at as iconColumn, au as keyColumn, av as fieldColumn, aw as KupCardProps } from './p-
|
|
2
|
+
import { c as KupThemeIconValues, I as ItemsDisplayMode, d as KupLanguageGeneric, a as KupComponentSizing, k as kupManagerInstance, e as KupDynamicPositionPlacement, f as editableTypes, h as kupTypes, F as FCellClasses, i as FCellTypes, b as KupThemeColorValues, R as RADAdapter, C as CMBandACPAdapter, j as KupTagNames, l as FCellShapes, m as getCellValueForDisplay, n as fullWidthFieldsComps, o as autoCenterComps, p as FCellEvents, q as isForceUppercase, r as isForceLowercase, t as KupDebugCategory, u as adaptContentToDisplayMode, v as FCellPadding, w as fillString, x as KupCardBuiltInClockElements, y as KupCardCSSClasses, z as KupLanguageTotals, A as KupLanguageColumn, B as KupDataNewColumnTypes, D as KupCardSubEvents, E as KupCardIds, G as KupLanguageRow, H as getColumnByName, J as KupObjects, L as formatToNumber, M as Filters, N as getValueForDisplay, O as getValueForDisplay2, P as KupData, Q as compareCell, T as TotalMode, S as getRegExpFromString, U as CHKAdapter, V as CHIAdapter, W as SWTAdapter, X as SortMode, Y as GroupLabelDisplayMode, Z as SelectionMode, _ as KupLanguageGrouping, $ as KupLanguageCheckbox, a0 as KupLanguageSearch, a1 as FILTER_ANALYZER, a2 as KupLanguagePage, a3 as addColumnValueFromRow, a4 as KupGlobalFilterMode, g as getProps, s as setProps, a5 as TotalLabel, a6 as isNegativeNumber, a7 as KupPointerEventTypes, a8 as kupDynamicPositionAttribute, a9 as KupListProps, aa as KupCardFamily, ab as KupListRole, ac as KupLanguageUpload, ad as identify, ae as LoadMoreMode, af as PaginatorPos, ag as ShowGrid, ah as kupDraggableColumnAttr, ai as kupDragActiveAttr, aj as KupDragEffect, ak as kupDraggableCellAttr, al as KupDropEventTypes, am as FixedCellsClasses, an as FixedCellsCSSVarsBase, ao as KupLanguageFontsize, ap as KupLanguageDensity, aq as KupLanguageGrid, ar as KupDataTableProps, as as DataTableAreasEnum, at as iconColumn, au as keyColumn, av as fieldColumn, aw as KupCardProps } from './p-700a322b.js';
|
|
3
3
|
import { h, g as getAssetPath, F as Fragment } from './p-3aae989f.js';
|
|
4
4
|
import { c as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './p-1581348d.js';
|
|
5
5
|
|
|
@@ -12585,7 +12585,10 @@ const dom$2 = document.documentElement;
|
|
|
12585
12585
|
/*-------------------------------------------------*/
|
|
12586
12586
|
const FPaginator = (props) => {
|
|
12587
12587
|
if (!props.perPage) {
|
|
12588
|
-
props.perPage =
|
|
12588
|
+
props.perPage = 1000;
|
|
12589
|
+
}
|
|
12590
|
+
if (props.perPage > props.max) {
|
|
12591
|
+
props.perPage = props.max;
|
|
12589
12592
|
}
|
|
12590
12593
|
const maxNumberOfPage = Math.ceil(props.max / props.perPage);
|
|
12591
12594
|
const pageItems = getPageItems(props, maxNumberOfPage);
|
|
@@ -12593,6 +12596,7 @@ const FPaginator = (props) => {
|
|
|
12593
12596
|
const dataPageSelector = {
|
|
12594
12597
|
'kup-list': {
|
|
12595
12598
|
data: pageItems,
|
|
12599
|
+
displayMode: ItemsDisplayMode.CODE,
|
|
12596
12600
|
},
|
|
12597
12601
|
'kup-text-field': {
|
|
12598
12602
|
label: dom$2.ketchup.language.translate(KupLanguagePage.PAGE),
|
|
@@ -12602,11 +12606,13 @@ const FPaginator = (props) => {
|
|
|
12602
12606
|
inputType: 'number',
|
|
12603
12607
|
max: maxNumberOfPage,
|
|
12604
12608
|
min: 1,
|
|
12609
|
+
size: 5,
|
|
12605
12610
|
},
|
|
12606
12611
|
};
|
|
12607
12612
|
const dataRowsSelector = {
|
|
12608
12613
|
'kup-list': {
|
|
12609
12614
|
data: rowsPerPageItems,
|
|
12615
|
+
displayMode: ItemsDisplayMode.CODE,
|
|
12610
12616
|
},
|
|
12611
12617
|
'kup-text-field': {
|
|
12612
12618
|
label: dom$2.ketchup.language.translate(KupLanguageRow.ROWS) +
|
|
@@ -12618,12 +12624,15 @@ const FPaginator = (props) => {
|
|
|
12618
12624
|
inputType: 'number',
|
|
12619
12625
|
max: props.max,
|
|
12620
12626
|
min: 1,
|
|
12627
|
+
size: 5,
|
|
12621
12628
|
},
|
|
12622
12629
|
};
|
|
12623
12630
|
return (h("div", Object.assign({ class: `f-paginator ${props.mode ? props.mode : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }),
|
|
12624
12631
|
props.onLoadMore ? (h(FButton, { icon: "plus", onClick: props.onLoadMore, label: dom$2.ketchup.language.translate(KupLanguageGeneric.LOAD_MORE), sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "load-more-button kup-neutral" })) : null,
|
|
12625
|
-
h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, initialValue: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }),
|
|
12626
|
-
h("kup-combobox", { class: "page-selector", data: dataPageSelector, initialValue: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }),
|
|
12632
|
+
h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.perPage.toString(), initialValueDecode: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }),
|
|
12633
|
+
h("kup-combobox", { class: "page-selector", data: dataPageSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.currentPage.toString(), initialValueDecode: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }),
|
|
12634
|
+
props.showMaxPages ? (h("div", { class: "max-page-wrapper" },
|
|
12635
|
+
h("label", { htmlFor: "page-selector" }, '/ ' + maxNumberOfPage))) : null,
|
|
12627
12636
|
h("div", { class: "arrow-wrapper" },
|
|
12628
12637
|
props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_left", disabled: isPrevPageDisabled(props), onClick: props.onPrevPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral prev-page" })) : null,
|
|
12629
12638
|
props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_right", disabled: isNextPageDisabled(props), onClick: props.onNextPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral next-page" })) : null)));
|
|
@@ -19214,7 +19223,7 @@ const KupList = /*@__PURE__*/ proxyCustomElement(class KupList extends H {
|
|
|
19214
19223
|
}
|
|
19215
19224
|
__classPrivateFieldSet$4(this, _KupList_radios, [], "f");
|
|
19216
19225
|
let index = 0;
|
|
19217
|
-
return (h$1(Host, { key: '
|
|
19226
|
+
return (h$1(Host, { key: '7fd915c89b293ed2d52936757a3fa151ae0cf7f8' }, h$1("style", { key: '1837e892c0b8e26c7aa78016ff39286cc957e86c' }, __classPrivateFieldGet$6(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h$1("div", { key: 'e14d728e5c452631aa979f901e3422217dc8ceb5', id: "kup-component", class: wrapperClass, onKeyDown: __classPrivateFieldGet$6(this, _KupList_listenKeydown, "f") }, this.showFilter ? (h$1("div", { class: filterClass }, __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_createFilterComponent).call(this))) : null, h$1("div", { key: '791a9cfb4e56c4af4d409025ef9670e7b40945b5', class: listScrollClass }, h$1("ul", { key: '9ea9ba56d2c32ee1bb629fca9205c870eed6dcae', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
19218
19227
|
.filter((item) => __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
19219
19228
|
.map((item) => __classPrivateFieldGet$6(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++)))))));
|
|
19220
19229
|
}
|
|
@@ -19412,11 +19421,12 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
19412
19421
|
this.roleType = KupListRole.LISTBOX;
|
|
19413
19422
|
}
|
|
19414
19423
|
}, _KupList_itemCompliant = function _KupList_itemCompliant(item) {
|
|
19424
|
+
var _a, _b;
|
|
19415
19425
|
if (!this.filter) {
|
|
19416
19426
|
return true;
|
|
19417
19427
|
}
|
|
19418
|
-
return (item.id.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0 ||
|
|
19419
|
-
item.value.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0);
|
|
19428
|
+
return (((_a = item.id) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf(this.filter.toLowerCase())) >= 0 ||
|
|
19429
|
+
((_b = item.value) === null || _b === void 0 ? void 0 : _b.toLowerCase().indexOf(this.filter.toLowerCase())) >= 0);
|
|
19420
19430
|
}, _KupList_createFilterComponent = function _KupList_createFilterComponent() {
|
|
19421
19431
|
return (h$1("div", { id: "global-filter", class: "filter" }, h$1(FTextField, { fullWidth: true, label: __classPrivateFieldGet$6(this, _KupList_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, value: this.filter, onInput: (event) => {
|
|
19422
19432
|
this.onFilterValueChange(event);
|
|
@@ -24172,7 +24182,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24172
24182
|
}
|
|
24173
24183
|
let rows = null;
|
|
24174
24184
|
if (__classPrivateFieldGet$3(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
24175
|
-
rows = (h$1("tr", { key: '
|
|
24185
|
+
rows = (h$1("tr", { key: 'ff2af2cbcf672c621a74518625ae0aa132bc9ccf', ref: (el) => __classPrivateFieldGet$3(this, _KupDataTable_rowsRefs, "f").push(el) }, h$1("td", { key: 'abbc9730d438f6bc62de9fe4fa5ac908fb62a8a4', colSpan: __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
24176
24186
|
}
|
|
24177
24187
|
else {
|
|
24178
24188
|
rows = [];
|
|
@@ -24237,7 +24247,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24237
24247
|
for (let i = 0; i < chipsData.length; i++) {
|
|
24238
24248
|
props.onIconClick.push(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
24239
24249
|
}
|
|
24240
|
-
groupChips = h$1(FChip, Object.assign({ key: '
|
|
24250
|
+
groupChips = h$1(FChip, Object.assign({ key: '9a7b0ec52f985fe4144e18766264e7601bb3c272' }, props));
|
|
24241
24251
|
}
|
|
24242
24252
|
}
|
|
24243
24253
|
const tableClass = {
|
|
@@ -24269,7 +24279,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24269
24279
|
if (this.headerIsPersistent &&
|
|
24270
24280
|
this.tableHeight === undefined &&
|
|
24271
24281
|
this.tableWidth === undefined) {
|
|
24272
|
-
stickyEl = (h$1("sticky-header", { key: '
|
|
24282
|
+
stickyEl = (h$1("sticky-header", { key: 'fcdd19b2c1c40a5a99d55e3407de43db0762482d', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_stickyTheadRef, el, "f")) }, h$1("thead-sticky", { key: 'c16a2285078439fa08766e4f4c729f2f52486769' }, h$1("tr-sticky", { key: '9b0c6d143cd91e70f2341d66fae5b7364059826e' }, stickyHeader))));
|
|
24273
24283
|
}
|
|
24274
24284
|
let belowClass = 'below-wrapper';
|
|
24275
24285
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -24315,7 +24325,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24315
24325
|
const useGlobalFilter = !this.legacyLook &&
|
|
24316
24326
|
(this.globalFilter ||
|
|
24317
24327
|
this.getRows().length > __classPrivateFieldGet$3(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
24318
|
-
const compCreated = (h$1(Host, { key: '
|
|
24328
|
+
const compCreated = (h$1(Host, { key: '75328fc241d6073603d9f62c0b15c521afb1d621', "onKup-drop": (e) => {
|
|
24319
24329
|
this.kupDataTableDrop.emit(e.detail);
|
|
24320
24330
|
}, "onKup-cell-input": (e) => {
|
|
24321
24331
|
autoselectOnAction(e);
|
|
@@ -24330,11 +24340,11 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24330
24340
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
24331
24341
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
24332
24342
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
24333
|
-
} }, h$1("style", { key: '
|
|
24343
|
+
} }, h$1("style", { key: 'e337dc325642da02a096d987ab98f00d9744701b' }, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h$1("div", { key: '0fd6521a480ec548b2cc3ad53253ac8259975708', id: componentWrapperId, class: wrapClass }, h$1("div", { key: '7fae25543e11efc87a5ab9f78e4c2177695c6e72', class: "group-wrapper" }, groupChips), h$1("div", { key: 'a5feb5c1b5a63841b8af8fd5dbdad278964175bc', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h$1("div", { id: "global-filter" }, h$1(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
24334
24344
|
const t = event.target;
|
|
24335
24345
|
window.clearTimeout(__classPrivateFieldGet$3(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
24336
24346
|
__classPrivateFieldSet$2(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
24337
|
-
} }))) : null, h$1("div", { key: '
|
|
24347
|
+
} }))) : null, h$1("div", { key: '47650edfacce7529103d1325476686e419d933af', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
24338
24348
|
this.selectedRows.length > 0 ? (h$1(FButton, { icon: "save", onClick: () => {
|
|
24339
24349
|
this.kupSave.emit({
|
|
24340
24350
|
comp: this,
|
|
@@ -24384,9 +24394,9 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24384
24394
|
this.data.rows.unshift(row);
|
|
24385
24395
|
await this.refresh(true);
|
|
24386
24396
|
}
|
|
24387
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '
|
|
24397
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h$1("div", { key: '999829a17fdacaa1097409dda9700dbc8cef6574', class: "droparea", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
24388
24398
|
? __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
24389
|
-
: null), h$1("div", { key: '
|
|
24399
|
+
: null), h$1("div", { key: '57fd86ddf902ab5a1097050067c723ead45a4c70', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
24390
24400
|
? [
|
|
24391
24401
|
h$1("div", { class: "settings-trigger", onClick: () => {
|
|
24392
24402
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -24395,7 +24405,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24395
24405
|
} }, h$1(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
24396
24406
|
this.renderCustomizePanel(),
|
|
24397
24407
|
]
|
|
24398
|
-
: null, h$1("table", { key: '
|
|
24408
|
+
: null, h$1("table", { key: 'ac7b5d9852151cd04a8a0bfa62d8dd105dfccf76', class: tableClass, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
24399
24409
|
ev.stopPropagation();
|
|
24400
24410
|
}, onPointerDown: (e) => {
|
|
24401
24411
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -24403,7 +24413,7 @@ const KupDataTable = /*@__PURE__*/ proxyCustomElement(class KupDataTable extends
|
|
|
24403
24413
|
__classPrivateFieldSet$2(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$3(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
24404
24414
|
}, onContextMenu: (e) => {
|
|
24405
24415
|
e.preventDefault();
|
|
24406
|
-
} }, h$1("thead", { key: '
|
|
24416
|
+
} }, h$1("thead", { key: 'fd8bedf506af59d7daa42a6ab8c43027fd5a9bfe', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_theadRef, el, "f")) }, h$1("tr", { key: 'b6f554ba7443aabaad41aaba38847e927fb92eb9' }, header)), h$1("tbody", { key: '7bea1f5c1d6c352f7c9d34ec598f865f299243eb' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
24407
24417
|
return compCreated;
|
|
24408
24418
|
}
|
|
24409
24419
|
disconnectedCallback() {
|
|
@@ -26792,7 +26802,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
26792
26802
|
? () => {
|
|
26793
26803
|
__classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_onLoadMoreClick).call(this);
|
|
26794
26804
|
}
|
|
26795
|
-
: null, onNextPage: () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value) })) : null)));
|
|
26805
|
+
: null, onNextPage: () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$3(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value), showMaxPages: true })) : null)));
|
|
26796
26806
|
}, _KupDataTable_columnRemoveArea = function _KupDataTable_columnRemoveArea() {
|
|
26797
26807
|
return (h$1("div", { class: "droparea__remove", ref: (el) => (__classPrivateFieldSet$2(this, _KupDataTable_removeDropareaRef, el, "f")) }, h$1(FImage, { resource: "delete", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }), h$1(FImage, { resource: "delete-empty", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
|
|
26798
26808
|
}, _KupDataTable_columnGroupArea = function _KupDataTable_columnGroupArea() {
|
|
@@ -27669,7 +27679,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
27669
27679
|
}
|
|
27670
27680
|
}, _KupCombobox_prepList = function _KupCombobox_prepList() {
|
|
27671
27681
|
var _a, _b;
|
|
27672
|
-
return (h$1("kup-list", Object.assign({}, this.data['kup-list'], {
|
|
27682
|
+
return (h$1("kup-list", Object.assign({ displayMode: ItemsDisplayMode.CODE_AND_DESC }, this.data['kup-list'], { "is-menu": true, showFilter: ((_b = (_a = this.data['kup-list']) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) >= 10 ? true : false, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$1(this, _KupCombobox_listEl, el, "f")) })));
|
|
27673
27683
|
};
|
|
27674
27684
|
function defineCustomElement$9() {
|
|
27675
27685
|
if (typeof customElements === "undefined") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupDebugCategory } from './p-
|
|
3
|
-
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupDebugCategory } from './p-700a322b.js';
|
|
3
|
+
import { c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r, C as defineCustomElement$s, D as defineCustomElement$t } from './p-9fe00131.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-grid component.
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { h, g as getAssetPath, F as Fragment } from './index-c9246a86.js';
|
|
2
|
-
import { an as editableTypes, ao as kupTypes, Q as FCellClasses, aa as FCellTypes, d as KupThemeColorValues, aj as RADAdapter, ai as CMBandACPAdapter, ap as KupTagNames, F as FCellShapes, af as getCellValueForDisplay, a as KupComponentSizing, aq as fullWidthFieldsComps, I as ItemsDisplayMode, ar as autoCenterComps, as as adaptContentToDisplayMode, at as FCellEvents, au as isForceUppercase, av as isForceLowercase, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { an as editableTypes, ao as kupTypes, Q as FCellClasses, aa as FCellTypes, d as KupThemeColorValues, aj as RADAdapter, ai as CMBandACPAdapter, ap as KupTagNames, F as FCellShapes, af as getCellValueForDisplay, a as KupComponentSizing, aq as fullWidthFieldsComps, I as ItemsDisplayMode, ar as autoCenterComps, as as adaptContentToDisplayMode, at as FCellEvents, au as isForceUppercase, av as isForceLowercase, e as KupDebugCategory } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { F as FButton } from './f-button-f1040575.js';
|
|
4
4
|
import { F as FCheckbox } from './f-checkbox-3ba20ca4.js';
|
|
5
|
-
import { F as FChipType, c as FChip } from './f-chip-
|
|
5
|
+
import { F as FChipType, c as FChip } from './f-chip-28f0f666.js';
|
|
6
6
|
import { F as FImage } from './f-image-9b15e9ac.js';
|
|
7
|
-
import { F as FObjectField } from './f-object-field-
|
|
8
|
-
import { F as FTextField } from './f-text-field-
|
|
7
|
+
import { F as FObjectField } from './f-object-field-db698ceb.js';
|
|
8
|
+
import { F as FTextField } from './f-text-field-f48cb7e9.js';
|
|
9
9
|
|
|
10
10
|
/*-------------------------------------------------*/
|
|
11
11
|
/* C o m p o n e n t */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h } from './index-c9246a86.js';
|
|
2
2
|
import { F as FImage } from './f-image-9b15e9ac.js';
|
|
3
|
-
import { b as KupThemeIconValues, h as KupLanguageGeneric } from './kup-manager-
|
|
3
|
+
import { b as KupThemeIconValues, h as KupLanguageGeneric } from './kup-manager-a08b1823.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Types of the f-chip component.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { h } from './index-c9246a86.js';
|
|
2
|
-
import { a as KupComponentSizing, k as kupManagerInstance, c as KupDynamicPositionPlacement } from './kup-manager-
|
|
2
|
+
import { a as KupComponentSizing, k as kupManagerInstance, c as KupDynamicPositionPlacement } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { F as FButton } from './f-button-f1040575.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
|
-
import { F as FTextField } from './f-text-field-
|
|
5
|
+
import { F as FTextField } from './f-text-field-f48cb7e9.js';
|
|
6
6
|
|
|
7
7
|
const STATE = new WeakMap();
|
|
8
8
|
const FObjectField = (props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from './index-c9246a86.js';
|
|
2
|
-
import { aw as KupLanguagePage, r as KupLanguageRow, a as KupComponentSizing, h as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { I as ItemsDisplayMode, aw as KupLanguagePage, r as KupLanguageRow, a as KupComponentSizing, h as KupLanguageGeneric } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { F as FButton } from './f-button-f1040575.js';
|
|
4
4
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
5
5
|
|
|
@@ -15,7 +15,10 @@ const dom$1 = document.documentElement;
|
|
|
15
15
|
/*-------------------------------------------------*/
|
|
16
16
|
const FPaginator = (props) => {
|
|
17
17
|
if (!props.perPage) {
|
|
18
|
-
props.perPage =
|
|
18
|
+
props.perPage = 1000;
|
|
19
|
+
}
|
|
20
|
+
if (props.perPage > props.max) {
|
|
21
|
+
props.perPage = props.max;
|
|
19
22
|
}
|
|
20
23
|
const maxNumberOfPage = Math.ceil(props.max / props.perPage);
|
|
21
24
|
const pageItems = getPageItems(props, maxNumberOfPage);
|
|
@@ -23,6 +26,7 @@ const FPaginator = (props) => {
|
|
|
23
26
|
const dataPageSelector = {
|
|
24
27
|
'kup-list': {
|
|
25
28
|
data: pageItems,
|
|
29
|
+
displayMode: ItemsDisplayMode.CODE,
|
|
26
30
|
},
|
|
27
31
|
'kup-text-field': {
|
|
28
32
|
label: dom$1.ketchup.language.translate(KupLanguagePage.PAGE),
|
|
@@ -32,11 +36,13 @@ const FPaginator = (props) => {
|
|
|
32
36
|
inputType: 'number',
|
|
33
37
|
max: maxNumberOfPage,
|
|
34
38
|
min: 1,
|
|
39
|
+
size: 5,
|
|
35
40
|
},
|
|
36
41
|
};
|
|
37
42
|
const dataRowsSelector = {
|
|
38
43
|
'kup-list': {
|
|
39
44
|
data: rowsPerPageItems,
|
|
45
|
+
displayMode: ItemsDisplayMode.CODE,
|
|
40
46
|
},
|
|
41
47
|
'kup-text-field': {
|
|
42
48
|
label: dom$1.ketchup.language.translate(KupLanguageRow.ROWS) +
|
|
@@ -48,12 +54,15 @@ const FPaginator = (props) => {
|
|
|
48
54
|
inputType: 'number',
|
|
49
55
|
max: props.max,
|
|
50
56
|
min: 1,
|
|
57
|
+
size: 5,
|
|
51
58
|
},
|
|
52
59
|
};
|
|
53
60
|
return (h("div", Object.assign({ class: `f-paginator ${props.mode ? props.mode : ''} ${props.wrapperClass ? props.wrapperClass : ''}` }, props.dataSet, { id: props.id, title: props.title }),
|
|
54
61
|
props.onLoadMore ? (h(FButton, { icon: "plus", onClick: props.onLoadMore, label: dom$1.ketchup.language.translate(KupLanguageGeneric.LOAD_MORE), sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "load-more-button kup-neutral" })) : null,
|
|
55
|
-
h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, initialValue: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }),
|
|
56
|
-
h("kup-combobox", { class: "page-selector", data: dataPageSelector, initialValue: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }),
|
|
62
|
+
h("kup-combobox", { class: "rows-selector", data: dataRowsSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.perPage.toString(), initialValueDecode: props.perPage.toString(), "onkup-combobox-change": props.onRowsChange }),
|
|
63
|
+
h("kup-combobox", { class: "page-selector", data: dataPageSelector, displayMode: ItemsDisplayMode.CODE, initialValue: props.currentPage.toString(), initialValueDecode: props.currentPage.toString(), "onkup-combobox-change": props.onPageChange }),
|
|
64
|
+
props.showMaxPages ? (h("div", { class: "max-page-wrapper" },
|
|
65
|
+
h("label", { htmlFor: "page-selector" }, '/ ' + maxNumberOfPage))) : null,
|
|
57
66
|
h("div", { class: "arrow-wrapper" },
|
|
58
67
|
props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_left", disabled: isPrevPageDisabled(props), onClick: props.onPrevPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral prev-page" })) : null,
|
|
59
68
|
props.mode !== FPaginatorMode.SIMPLE ? (h(FButton, { icon: "chevron_right", disabled: isNextPageDisabled(props), onClick: props.onNextPage, sizing: KupComponentSizing.SMALL, styling: FButtonStyling.FLAT, wrapperClass: "kup-neutral next-page" })) : null)));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, g as getAssetPath } from './index-c9246a86.js';
|
|
2
|
-
import { b as KupThemeIconValues } from './kup-manager-
|
|
2
|
+
import { b as KupThemeIconValues } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { F as FImage } from './f-image-9b15e9ac.js';
|
|
4
4
|
|
|
5
5
|
const dom = document.documentElement;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, d as KupThemeColorValues, b as KupThemeIconValues } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, d as KupThemeColorValues, b as KupThemeIconValues } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { F as FImage } from './f-image-9b15e9ac.js';
|
|
4
4
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
5
5
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory, af as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory, af as getCellValueForDisplay } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-9b15e9ac.js';
|
|
5
|
-
import { s as sortRows } from './kup-data-table-helper-
|
|
5
|
+
import { s as sortRows } from './kup-data-table-helper-d4578d59.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
|
|
8
8
|
var KupActivityTimelineProps;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement$1, F as Fragment } from './index-c9246a86.js';
|
|
2
|
-
import { I as ItemsDisplayMode, k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupDynamicPositionPlacement, d as KupThemeColorValues, e as KupDebugCategory, F as FCellShapes, f as FCellPadding, h as KupLanguageGeneric, i as fillString, j as KupCardBuiltInClockElements, l as KupCardCSSClasses, m as KupLanguageTotals, n as KupLanguageColumn, o as KupDataNewColumnTypes, p as KupCardSubEvents, q as KupCardIds, r as KupLanguageRow, t as KupCardFamily, u as KupCardProps, v as getColumnByName, w as formatToNumber, x as KupObjects, y as identify, G as GroupLabelDisplayMode, S as SelectionMode, z as KupLanguageGrouping, A as KupLanguageCheckbox, B as getValueForDisplay2, C as Filters, D as getValueForDisplay, E as KupLanguageSearch, H as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, J as ShowGrid, T as TotalLabel, M as TotalMode, N as getRegExpFromString, O as isNegativeNumber, Q as FCellClasses, R as kupDynamicPositionAttribute, U as KupPointerEventTypes, V as kupDraggableColumnAttr, W as kupDragActiveAttr, X as KupDragEffect, Y as kupDraggableCellAttr, Z as KupDropEventTypes, _ as FixedCellsClasses, $ as FixedCellsCSSVarsBase, a0 as KupLanguageFontsize, a1 as KupLanguageDensity, a2 as KupLanguageGrid, a3 as KupDataTableProps, a4 as DataTableAreasEnum, a5 as SortMode, a6 as iconColumn, a7 as keyColumn, a8 as fieldColumn, a9 as KupLanguageUpload, aa as FCellTypes, ab as KupListRole, ac as KupListProps, ad as addColumnValueFromRow, ae as KupGlobalFilterMode } from './kup-manager-
|
|
3
|
-
import { F as FTextField } from './f-text-field-
|
|
2
|
+
import { I as ItemsDisplayMode, k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeIconValues, c as KupDynamicPositionPlacement, d as KupThemeColorValues, e as KupDebugCategory, F as FCellShapes, f as FCellPadding, h as KupLanguageGeneric, i as fillString, j as KupCardBuiltInClockElements, l as KupCardCSSClasses, m as KupLanguageTotals, n as KupLanguageColumn, o as KupDataNewColumnTypes, p as KupCardSubEvents, q as KupCardIds, r as KupLanguageRow, t as KupCardFamily, u as KupCardProps, v as getColumnByName, w as formatToNumber, x as KupObjects, y as identify, G as GroupLabelDisplayMode, S as SelectionMode, z as KupLanguageGrouping, A as KupLanguageCheckbox, B as getValueForDisplay2, C as Filters, D as getValueForDisplay, E as KupLanguageSearch, H as FILTER_ANALYZER, L as LoadMoreMode, P as PaginatorPos, J as ShowGrid, T as TotalLabel, M as TotalMode, N as getRegExpFromString, O as isNegativeNumber, Q as FCellClasses, R as kupDynamicPositionAttribute, U as KupPointerEventTypes, V as kupDraggableColumnAttr, W as kupDragActiveAttr, X as KupDragEffect, Y as kupDraggableCellAttr, Z as KupDropEventTypes, _ as FixedCellsClasses, $ as FixedCellsCSSVarsBase, a0 as KupLanguageFontsize, a1 as KupLanguageDensity, a2 as KupLanguageGrid, a3 as KupDataTableProps, a4 as DataTableAreasEnum, a5 as SortMode, a6 as iconColumn, a7 as keyColumn, a8 as fieldColumn, a9 as KupLanguageUpload, aa as FCellTypes, ab as KupListRole, ac as KupListProps, ad as addColumnValueFromRow, ae as KupGlobalFilterMode } from './kup-manager-a08b1823.js';
|
|
3
|
+
import { F as FTextField } from './f-text-field-f48cb7e9.js';
|
|
4
4
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
6
6
|
import { F as FImage } from './f-image-9b15e9ac.js';
|
|
7
7
|
import { F as FButton } from './f-button-f1040575.js';
|
|
8
8
|
import { F as FButtonAlign, a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
9
|
-
import { F as FCell, a as FProgressBar, b as FRadio, c as FRating, d as FSwitchSizing, e as FSwitch } from './f-cell-
|
|
9
|
+
import { F as FCell, a as FProgressBar, b as FRadio, c as FRating, d as FSwitchSizing, e as FSwitch } from './f-cell-c7bbb5a9.js';
|
|
10
10
|
import { d as KupDateTimeFormatOptionsMonth, K as KupDatesFormats, a as KupDates } from './kup-dates-da19044e.js';
|
|
11
|
-
import { F as FChipType, a as FChipSize, b as FChipStyling, c as FChip } from './f-chip-
|
|
11
|
+
import { F as FChipType, a as FChipSize, b as FChipStyling, c as FChip } from './f-chip-28f0f666.js';
|
|
12
12
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
13
13
|
import { F as FCheckbox } from './f-checkbox-3ba20ca4.js';
|
|
14
|
-
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-
|
|
15
|
-
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-
|
|
16
|
-
import './f-object-field-
|
|
14
|
+
import { F as FiltersColumnMenu, a as FiltersRows, g as getDiffData, d as decorateDataTable, c as calcTotals, n as normalizeRows, p as paginateRows, f as filterRows, b as groupRows, s as sortRows, t as treeMainColumnName, K as KupTreeExpansionMode, e as KupTreeProps } from './kup-data-table-helper-d4578d59.js';
|
|
15
|
+
import { F as FPaginator, p as pageChange, r as rowsPerPageChange } from './f-paginator-utils-b8c8e0b6.js';
|
|
16
|
+
import './f-object-field-db698ceb.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Props of the kup-autocomplete component.
|
|
@@ -7841,7 +7841,7 @@ _KupCombobox_kupManager = new WeakMap(), _KupCombobox_elStyle = new WeakMap(), _
|
|
|
7841
7841
|
}
|
|
7842
7842
|
}, _KupCombobox_prepList = function _KupCombobox_prepList() {
|
|
7843
7843
|
var _a, _b;
|
|
7844
|
-
return (h("kup-list", Object.assign({}, this.data['kup-list'], {
|
|
7844
|
+
return (h("kup-list", Object.assign({ displayMode: ItemsDisplayMode.CODE_AND_DESC }, this.data['kup-list'], { "is-menu": true, showFilter: ((_b = (_a = this.data['kup-list']) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.length) >= 10 ? true : false, "onkup-list-click": (e) => this.onKupItemClick(e), ref: (el) => (__classPrivateFieldSet$4(this, _KupCombobox_listEl, el, "f")) })));
|
|
7845
7845
|
};
|
|
7846
7846
|
KupCombobox.style = KupComboboxStyle0;
|
|
7847
7847
|
|
|
@@ -9937,7 +9937,7 @@ const KupDataTable = class {
|
|
|
9937
9937
|
}
|
|
9938
9938
|
let rows = null;
|
|
9939
9939
|
if (__classPrivateFieldGet$7(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
9940
|
-
rows = (h("tr", { key: '
|
|
9940
|
+
rows = (h("tr", { key: 'ff2af2cbcf672c621a74518625ae0aa132bc9ccf', ref: (el) => __classPrivateFieldGet$7(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: 'abbc9730d438f6bc62de9fe4fa5ac908fb62a8a4', colSpan: __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
9941
9941
|
}
|
|
9942
9942
|
else {
|
|
9943
9943
|
rows = [];
|
|
@@ -10002,7 +10002,7 @@ const KupDataTable = class {
|
|
|
10002
10002
|
for (let i = 0; i < chipsData.length; i++) {
|
|
10003
10003
|
props.onIconClick.push(() => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
10004
10004
|
}
|
|
10005
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
10005
|
+
groupChips = h(FChip, Object.assign({ key: '9a7b0ec52f985fe4144e18766264e7601bb3c272' }, props));
|
|
10006
10006
|
}
|
|
10007
10007
|
}
|
|
10008
10008
|
const tableClass = {
|
|
@@ -10034,7 +10034,7 @@ const KupDataTable = class {
|
|
|
10034
10034
|
if (this.headerIsPersistent &&
|
|
10035
10035
|
this.tableHeight === undefined &&
|
|
10036
10036
|
this.tableWidth === undefined) {
|
|
10037
|
-
stickyEl = (h("sticky-header", { key: '
|
|
10037
|
+
stickyEl = (h("sticky-header", { key: 'fcdd19b2c1c40a5a99d55e3407de43db0762482d', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: 'c16a2285078439fa08766e4f4c729f2f52486769' }, h("tr-sticky", { key: '9b0c6d143cd91e70f2341d66fae5b7364059826e' }, stickyHeader))));
|
|
10038
10038
|
}
|
|
10039
10039
|
let belowClass = 'below-wrapper';
|
|
10040
10040
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10080,7 +10080,7 @@ const KupDataTable = class {
|
|
|
10080
10080
|
const useGlobalFilter = !this.legacyLook &&
|
|
10081
10081
|
(this.globalFilter ||
|
|
10082
10082
|
this.getRows().length > __classPrivateFieldGet$7(this, _KupDataTable_DEFAULT_ROWS_FOR_GLOBAL_FILTER, "f"));
|
|
10083
|
-
const compCreated = (h(Host, { key: '
|
|
10083
|
+
const compCreated = (h(Host, { key: '75328fc241d6073603d9f62c0b15c521afb1d621', "onKup-drop": (e) => {
|
|
10084
10084
|
this.kupDataTableDrop.emit(e.detail);
|
|
10085
10085
|
}, "onKup-cell-input": (e) => {
|
|
10086
10086
|
autoselectOnAction(e);
|
|
@@ -10095,11 +10095,11 @@ const KupDataTable = class {
|
|
|
10095
10095
|
this.kupDataTableObjectFieldOpenSearchMenu.emit(e.detail);
|
|
10096
10096
|
}, "onKup-objectfield-selectedmenuitem": (e) => {
|
|
10097
10097
|
this.kupDataTableObjectFieldSelectedMenuItem.emit(e.detail);
|
|
10098
|
-
} }, h("style", { key: '
|
|
10098
|
+
} }, h("style", { key: 'e337dc325642da02a096d987ab98f00d9744701b' }, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: '0fd6521a480ec548b2cc3ad53253ac8259975708', id: componentWrapperId, class: wrapClass }, h("div", { key: '7fae25543e11efc87a5ab9f78e4c2177695c6e72', class: "group-wrapper" }, groupChips), h("div", { key: 'a5feb5c1b5a63841b8af8fd5dbdad278964175bc', class: "actions-wrapper", style: actionWrapperWidth }, useGlobalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
10099
10099
|
const t = event.target;
|
|
10100
10100
|
window.clearTimeout(__classPrivateFieldGet$7(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10101
10101
|
__classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10102
|
-
} }))) : null, h("div", { key: '
|
|
10102
|
+
} }))) : null, h("div", { key: '47650edfacce7529103d1325476686e419d933af', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
10103
10103
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
10104
10104
|
this.kupSave.emit({
|
|
10105
10105
|
comp: this,
|
|
@@ -10149,9 +10149,9 @@ const KupDataTable = class {
|
|
|
10149
10149
|
this.data.rows.unshift(row);
|
|
10150
10150
|
await this.refresh(true);
|
|
10151
10151
|
}
|
|
10152
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
10152
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '999829a17fdacaa1097409dda9700dbc8cef6574', class: "droparea", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
10153
10153
|
? __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10154
|
-
: null), h("div", { key: '
|
|
10154
|
+
: null), h("div", { key: '57fd86ddf902ab5a1097050067c723ead45a4c70', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10155
10155
|
? [
|
|
10156
10156
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
10157
10157
|
__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10160,7 +10160,7 @@ const KupDataTable = class {
|
|
|
10160
10160
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10161
10161
|
this.renderCustomizePanel(),
|
|
10162
10162
|
]
|
|
10163
|
-
: null, h("table", { key: '
|
|
10163
|
+
: null, h("table", { key: 'ac7b5d9852151cd04a8a0bfa62d8dd105dfccf76', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
10164
10164
|
ev.stopPropagation();
|
|
10165
10165
|
}, onPointerDown: (e) => {
|
|
10166
10166
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -10168,7 +10168,7 @@ const KupDataTable = class {
|
|
|
10168
10168
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$7(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
10169
10169
|
}, onContextMenu: (e) => {
|
|
10170
10170
|
e.preventDefault();
|
|
10171
|
-
} }, h("thead", { key: '
|
|
10171
|
+
} }, h("thead", { key: 'fd8bedf506af59d7daa42a6ab8c43027fd5a9bfe', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: 'b6f554ba7443aabaad41aaba38847e927fb92eb9' }, header)), h("tbody", { key: '7bea1f5c1d6c352f7c9d34ec598f865f299243eb' }, rows), this.showFooter && this.renderFooter()), stickyEl), paginatorBottom)));
|
|
10172
10172
|
return compCreated;
|
|
10173
10173
|
}
|
|
10174
10174
|
disconnectedCallback() {
|
|
@@ -12443,7 +12443,7 @@ _KupDataTable_initialized = new WeakMap(), _KupDataTable_rows = new WeakMap(), _
|
|
|
12443
12443
|
? () => {
|
|
12444
12444
|
__classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_onLoadMoreClick).call(this);
|
|
12445
12445
|
}
|
|
12446
|
-
: null, onNextPage: () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value) })) : null)));
|
|
12446
|
+
: null, onNextPage: () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage + 1), onPrevPage: () => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, this.currentPage - 1), onPageChange: (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handlePageChange).call(this, e.detail.value), onRowsChange: (e) => __classPrivateFieldGet$7(this, _KupDataTable_instances, "m", _KupDataTable_handleRowsPerPageChange).call(this, e.detail.value), showMaxPages: true })) : null)));
|
|
12447
12447
|
}, _KupDataTable_columnRemoveArea = function _KupDataTable_columnRemoveArea() {
|
|
12448
12448
|
return (h("div", { class: "droparea__remove", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_removeDropareaRef, el, "f")) }, h(FImage, { resource: "delete", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" }), h(FImage, { resource: "delete-empty", color: `var(${KupThemeColorValues.DANGER})`, sizeX: "30px", sizeY: "50px" })));
|
|
12449
12449
|
}, _KupDataTable_columnGroupArea = function _KupDataTable_columnGroupArea() {
|
|
@@ -16032,7 +16032,7 @@ const KupList = class {
|
|
|
16032
16032
|
}
|
|
16033
16033
|
__classPrivateFieldSet$1(this, _KupList_radios, [], "f");
|
|
16034
16034
|
let index = 0;
|
|
16035
|
-
return (h(Host, { key: '
|
|
16035
|
+
return (h(Host, { key: '7fd915c89b293ed2d52936757a3fa151ae0cf7f8' }, h("style", { key: '1837e892c0b8e26c7aa78016ff39286cc957e86c' }, __classPrivateFieldGet$4(this, _KupList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'e14d728e5c452631aa979f901e3422217dc8ceb5', id: "kup-component", class: wrapperClass, onKeyDown: __classPrivateFieldGet$4(this, _KupList_listenKeydown, "f") }, this.showFilter ? (h("div", { class: filterClass }, __classPrivateFieldGet$4(this, _KupList_instances, "m", _KupList_createFilterComponent).call(this))) : null, h("div", { key: '791a9cfb4e56c4af4d409025ef9670e7b40945b5', class: listScrollClass }, h("ul", { key: '9ea9ba56d2c32ee1bb629fca9205c870eed6dcae', class: componentClass, role: roleAttr, "aria-multiselectable": ariaMultiSelectable }, this.data
|
|
16036
16036
|
.filter((item) => __classPrivateFieldGet$4(this, _KupList_instances, "m", _KupList_itemCompliant).call(this, item))
|
|
16037
16037
|
.map((item) => __classPrivateFieldGet$4(this, _KupList_instances, "m", _KupList_renderListItem).call(this, item, index++)))))));
|
|
16038
16038
|
}
|
|
@@ -16204,11 +16204,12 @@ _KupList_kupManager = new WeakMap(), _KupList_inputEl = new WeakMap(), _KupList_
|
|
|
16204
16204
|
this.roleType = KupListRole.LISTBOX;
|
|
16205
16205
|
}
|
|
16206
16206
|
}, _KupList_itemCompliant = function _KupList_itemCompliant(item) {
|
|
16207
|
+
var _a, _b;
|
|
16207
16208
|
if (!this.filter) {
|
|
16208
16209
|
return true;
|
|
16209
16210
|
}
|
|
16210
|
-
return (item.id.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0 ||
|
|
16211
|
-
item.value.toLowerCase().indexOf(this.filter.toLowerCase()) >= 0);
|
|
16211
|
+
return (((_a = item.id) === null || _a === void 0 ? void 0 : _a.toLowerCase().indexOf(this.filter.toLowerCase())) >= 0 ||
|
|
16212
|
+
((_b = item.value) === null || _b === void 0 ? void 0 : _b.toLowerCase().indexOf(this.filter.toLowerCase())) >= 0);
|
|
16212
16213
|
}, _KupList_createFilterComponent = function _KupList_createFilterComponent() {
|
|
16213
16214
|
return (h("div", { id: "global-filter", class: "filter" }, h(FTextField, { fullWidth: true, label: __classPrivateFieldGet$4(this, _KupList_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, value: this.filter, onInput: (event) => {
|
|
16214
16215
|
this.onFilterValueChange(event);
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, y as identify, g as getProps, s as setProps, a5 as SortMode, v as getColumnByName, h as KupLanguageGeneric, b as KupThemeIconValues, e as KupDebugCategory, U as KupPointerEventTypes, X as KupDragEffect, aD as kupDraggableAttr, Z as KupDropEventTypes, E as KupLanguageSearch } from './kup-manager-
|
|
3
|
-
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-
|
|
2
|
+
import { k as kupManagerInstance, y as identify, g as getProps, s as setProps, a5 as SortMode, v as getColumnByName, h as KupLanguageGeneric, b as KupThemeIconValues, e as KupDebugCategory, U as KupPointerEventTypes, X as KupDragEffect, aD as kupDraggableAttr, Z as KupDropEventTypes, E as KupLanguageSearch } from './kup-manager-a08b1823.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-d4578d59.js';
|
|
4
4
|
import { F as FImage } from './f-image-9b15e9ac.js';
|
|
5
|
-
import { c as FChip } from './f-chip-
|
|
5
|
+
import { c as FChip } from './f-chip-28f0f666.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
8
|
-
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-
|
|
7
|
+
import { F as FCell } from './f-cell-c7bbb5a9.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-b8c8e0b6.js';
|
|
9
9
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
10
10
|
import './kup-dates-da19044e.js';
|
|
11
11
|
import './f-button-f1040575.js';
|
|
12
12
|
import './f-button-declarations-6c8f8abe.js';
|
|
13
13
|
import './f-checkbox-3ba20ca4.js';
|
|
14
|
-
import './f-object-field-
|
|
15
|
-
import './f-text-field-
|
|
14
|
+
import './f-object-field-db698ceb.js';
|
|
15
|
+
import './f-text-field-f48cb7e9.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, v as getColumnByName, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, v as getColumnByName, e as KupDebugCategory } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-f1040575.js';
|
|
5
|
-
import { c as FChip, F as FChipType } from './f-chip-
|
|
5
|
+
import { c as FChip, F as FChipType } from './f-chip-28f0f666.js';
|
|
6
6
|
import { b as KupDatesLocales, K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-9b15e9ac.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupCardFamily, af as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, t as KupCardFamily, af as getCellValueForDisplay } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-c9246a86.js';
|
|
2
|
-
import { k as kupManagerInstance, f as FCellPadding, ax as KupCellElementsPosition, g as getProps, s as setProps, X as KupDragEffect, ay as submitPositionAdapter, h as KupLanguageGeneric, az as KupCellProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, f as FCellPadding, ax as KupCellElementsPosition, g as getProps, s as setProps, X as KupDragEffect, ay as submitPositionAdapter, h as KupLanguageGeneric, az as KupCellProps } from './kup-manager-a08b1823.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-f1040575.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-c7bbb5a9.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-9b15e9ac.js';
|
|
9
9
|
import './f-checkbox-3ba20ca4.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-28f0f666.js';
|
|
11
|
+
import './f-object-field-db698ceb.js';
|
|
12
|
+
import './f-text-field-f48cb7e9.js';
|
|
13
13
|
|
|
14
14
|
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: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:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);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%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|