@sme.up/ketchup 11.0.0-SNAPSHOT-20250407095941 → 11.0.0-SNAPSHOT-20250407111441
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-dbf90bb8.js → f-cell-209db057.js} +4 -4
- package/dist/cjs/{f-chip-24b1eb58.js → f-chip-dc085b9b.js} +1 -1
- package/dist/cjs/{f-object-field-2ffc49c1.js → f-object-field-96e1c599.js} +2 -2
- package/dist/cjs/{f-paginator-utils-51bb9317.js → f-paginator-utils-3f233ebe.js} +1 -1
- package/dist/cjs/{f-text-field-5face063.js → f-text-field-d91ab1e8.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 +31 -23
- package/dist/cjs/kup-box.cjs.entry.js +58 -54
- 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-6f4d86ea.js → kup-data-table-helper-ff263f4f.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 +9 -8
- 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-49d2d8fe.js → kup-manager-ecc44384.js} +49 -0
- 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-box/kup-box.js +51 -47
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -10
- package/dist/collection/components/kup-image-list/kup-image-list.js +4 -3
- package/dist/collection/components/kup-tree/kup-tree.js +10 -6
- package/dist/collection/managers/kup-data/kup-data.js +49 -0
- 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 +6 -5
- 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-af1e8346.js → p-0860ea4c.js} +2 -2
- package/dist/components/{p-c5f8d41f.js → p-726f15fa.js} +25 -17
- package/dist/components/{p-7550d08c.js → p-73922583.js} +49 -0
- package/dist/components/{p-7baa46f4.js → p-beb34679.js} +53 -49
- package/dist/components/{p-5cf6e379.js → p-d4cabd2b.js} +2 -2
- package/dist/components/{p-e63b1087.js → p-e407f2ce.js} +2 -2
- package/dist/esm/{f-cell-f5c25500.js → f-cell-8ed6963a.js} +4 -4
- package/dist/esm/{f-chip-35dfafdb.js → f-chip-72bcea75.js} +1 -1
- package/dist/esm/{f-object-field-fa368c87.js → f-object-field-1827746c.js} +2 -2
- package/dist/esm/{f-paginator-utils-d7e6b742.js → f-paginator-utils-e785d34e.js} +1 -1
- package/dist/esm/{f-text-field-dcf09b57.js → f-text-field-591dc383.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 +31 -23
- package/dist/esm/kup-box.entry.js +58 -54
- 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-537035b9.js → kup-data-table-helper-0fbe9df1.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 +9 -8
- 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-2b2b7c68.js → kup-manager-a3f8ee8f.js} +49 -0
- 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-f295ca34.entry.js → p-02da7934.entry.js} +1 -1
- package/dist/ketchup/p-083e3b75.entry.js +1 -0
- package/dist/ketchup/{p-40dafa35.entry.js → p-0bfca086.entry.js} +1 -1
- package/dist/ketchup/{p-79f41e98.entry.js → p-20c7a116.entry.js} +1 -1
- package/dist/ketchup/p-2118015b.entry.js +1 -0
- package/dist/ketchup/{p-3aa35543.entry.js → p-2faa7118.entry.js} +1 -1
- package/dist/ketchup/p-2fd7281c.entry.js +1 -0
- package/dist/ketchup/{p-75fbe557.entry.js → p-356f79c6.entry.js} +1 -1
- package/dist/ketchup/{p-98f96683.entry.js → p-53e99c04.entry.js} +1 -1
- package/dist/ketchup/p-64e064f0.js +1 -0
- package/dist/ketchup/{p-752959b9.entry.js → p-6823ebc7.entry.js} +1 -1
- package/dist/ketchup/{p-6124d70d.entry.js → p-6a0c985b.entry.js} +1 -1
- package/dist/ketchup/{p-9ba596f1.entry.js → p-6ef496b5.entry.js} +1 -1
- package/dist/ketchup/{p-4418988a.entry.js → p-6fe57b1a.entry.js} +1 -1
- package/dist/ketchup/{p-2386ce89.js → p-761ad9ec.js} +1 -1
- package/dist/ketchup/{p-63117858.entry.js → p-79e580bc.entry.js} +1 -1
- package/dist/ketchup/{p-fd413285.entry.js → p-7c395c61.entry.js} +1 -1
- package/dist/ketchup/{p-eaabc269.js → p-8140c1d2.js} +1 -1
- package/dist/ketchup/{p-9569dd8f.entry.js → p-83a1e078.entry.js} +1 -1
- package/dist/ketchup/{p-a9673b06.entry.js → p-8864762c.entry.js} +2 -2
- package/dist/ketchup/{p-4a6c6bf4.entry.js → p-8cf7b4a6.entry.js} +1 -1
- package/dist/ketchup/{p-c021821b.entry.js → p-8f0bf77e.entry.js} +1 -1
- package/dist/ketchup/{p-e78670d8.js → p-932940cb.js} +1 -1
- package/dist/ketchup/{p-084db57d.entry.js → p-a3f39aa5.entry.js} +1 -1
- package/dist/ketchup/{p-8ea55d48.entry.js → p-a52e835e.entry.js} +1 -1
- package/dist/ketchup/{p-1f03e444.entry.js → p-a551358b.entry.js} +1 -1
- package/dist/ketchup/{p-06b5e205.entry.js → p-a7f2189e.entry.js} +1 -1
- package/dist/ketchup/{p-723eb2b0.entry.js → p-aa204653.entry.js} +1 -1
- package/dist/ketchup/{p-aecd109b.entry.js → p-af850d55.entry.js} +1 -1
- package/dist/ketchup/{p-bd00b50d.entry.js → p-c832734a.entry.js} +1 -1
- package/dist/ketchup/{p-0f7a8165.js → p-d1fa33e0.js} +1 -1
- package/dist/ketchup/{p-c5c28122.entry.js → p-dd0c299b.entry.js} +1 -1
- package/dist/ketchup/{p-a291cdc2.entry.js → p-df3ce69c.entry.js} +1 -1
- package/dist/ketchup/{p-b8142dd8.entry.js → p-eac868f3.entry.js} +1 -1
- package/dist/ketchup/{p-0a60f2ec.js → p-f1886258.js} +1 -1
- package/dist/ketchup/{p-2619d7d8.entry.js → p-f9c32c30.entry.js} +1 -1
- package/dist/ketchup/{p-cd73eaec.js → p-fb4f10d5.js} +1 -1
- package/dist/types/components/kup-box/kup-box.d.ts +0 -4
- package/dist/types/managers/kup-data/kup-data.d.ts +11 -0
- package/package.json +1 -1
- package/dist/ketchup/p-52724b77.entry.js +0 -1
- package/dist/ketchup/p-6eb5f3da.js +0 -1
- package/dist/ketchup/p-82b354c1.entry.js +0 -1
- package/dist/ketchup/p-f179d3ca.entry.js +0 -1
|
@@ -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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, z as identify, g as getProps, s as setProps, a7 as SortMode, w as getColumnByName, h as KupLanguageGeneric, b as KupThemeIconValues, e as KupDebugCategory, V as KupPointerEventTypes, Y as KupDragEffect, aF as kupDraggableAttr, _ as KupDropEventTypes, t 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, z as identify, g as getProps, s as setProps, a7 as SortMode, w as getColumnByName, h as KupLanguageGeneric, b as KupThemeIconValues, e as KupDebugCategory, V as KupPointerEventTypes, Y as KupDragEffect, aF as kupDraggableAttr, _ as KupDropEventTypes, t as KupLanguageSearch } from './kup-manager-a3f8ee8f.js';
|
|
3
|
+
import { f as filterRows, p as paginateRows, s as sortRows } from './kup-data-table-helper-0fbe9df1.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { d as FChip } from './f-chip-
|
|
5
|
+
import { d as FChip } from './f-chip-72bcea75.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-8ed6963a.js';
|
|
8
|
+
import { p as pageChange, r as rowsPerPageChange, F as FPaginator } from './f-paginator-utils-e785d34e.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-3c8f4506.js';
|
|
12
12
|
import './f-button-declarations-6c8f8abe.js';
|
|
13
13
|
import './f-checkbox-5cdd1cad.js';
|
|
14
|
-
import './f-object-field-
|
|
15
|
-
import './f-text-field-
|
|
14
|
+
import './f-object-field-1827746c.js';
|
|
15
|
+
import './f-text-field-591dc383.js';
|
|
16
16
|
import './component-a35bc7f1.js';
|
|
17
17
|
|
|
18
18
|
/**
|
|
@@ -97,7 +97,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
97
97
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
98
98
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
99
99
|
};
|
|
100
|
-
var _KupBox_instances, _KupBox_checkUpdateState, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
|
|
100
|
+
var _KupBox_instances, _KupBox_checkUpdateState, _KupBox_kupManager, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
|
|
101
101
|
const KupBox = class {
|
|
102
102
|
constructor(hostRef) {
|
|
103
103
|
registerInstance(this, hostRef);
|
|
@@ -119,7 +119,7 @@ const KupBox = class {
|
|
|
119
119
|
/**
|
|
120
120
|
* Instance of the KupManager class.
|
|
121
121
|
*/
|
|
122
|
-
this
|
|
122
|
+
_KupBox_kupManager.set(this, kupManagerInstance());
|
|
123
123
|
this.rows = [];
|
|
124
124
|
this.filteredRows = [];
|
|
125
125
|
this.sectionRef = null;
|
|
@@ -176,7 +176,7 @@ const KupBox = class {
|
|
|
176
176
|
this.state.load = true;
|
|
177
177
|
const state = this.store.getState(this.stateId);
|
|
178
178
|
if (state != null) {
|
|
179
|
-
this.
|
|
179
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Initialize with state for stateId ' +
|
|
180
180
|
this.stateId +
|
|
181
181
|
': ' +
|
|
182
182
|
state);
|
|
@@ -199,7 +199,7 @@ const KupBox = class {
|
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
201
|
if (somethingChanged) {
|
|
202
|
-
this.
|
|
202
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Persisting stateId ' + this.stateId);
|
|
203
203
|
this.store.persistState(this.stateId, this.state);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
@@ -264,7 +264,7 @@ const KupBox = class {
|
|
|
264
264
|
getVisibleColumns() {
|
|
265
265
|
// Starting columns filter
|
|
266
266
|
let resultVisibleColumns = this.getColumns().filter((col) => {
|
|
267
|
-
const isNotCodVer = !this.
|
|
267
|
+
const isNotCodVer = !__classPrivateFieldGet(this, _KupBox_kupManager, "f").data.column.isCodVer(col);
|
|
268
268
|
if (this.visibleColumns) {
|
|
269
269
|
// if visible columns is specified, include only those columns
|
|
270
270
|
return isNotCodVer && this.visibleColumns.includes(col.name);
|
|
@@ -316,14 +316,14 @@ const KupBox = class {
|
|
|
316
316
|
}
|
|
317
317
|
checkScrollOnHover() {
|
|
318
318
|
if (this.boxContainer) {
|
|
319
|
-
if (!this.
|
|
319
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.isRegistered(this.boxContainer)) {
|
|
320
320
|
if (this.scrollOnHover) {
|
|
321
|
-
this.
|
|
321
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.register(this.boxContainer);
|
|
322
322
|
}
|
|
323
323
|
}
|
|
324
324
|
else {
|
|
325
325
|
if (!this.scrollOnHover) {
|
|
326
|
-
this.
|
|
326
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.unregister(this.boxContainer);
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
}
|
|
@@ -438,7 +438,7 @@ const KupBox = class {
|
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
440
|
clickHandler(e) {
|
|
441
|
-
const details = this.getEventDetails(this.
|
|
441
|
+
const details = this.getEventDetails(__classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
442
442
|
if (details.row) {
|
|
443
443
|
if (this.multiSelection) {
|
|
444
444
|
this.onSelectionCheckChange(details.row);
|
|
@@ -450,7 +450,7 @@ const KupBox = class {
|
|
|
450
450
|
return details;
|
|
451
451
|
}
|
|
452
452
|
contextMenuHandler(e) {
|
|
453
|
-
const details = this.getEventDetails(this.
|
|
453
|
+
const details = this.getEventDetails(__classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
454
454
|
return details;
|
|
455
455
|
}
|
|
456
456
|
/**
|
|
@@ -882,10 +882,10 @@ const KupBox = class {
|
|
|
882
882
|
headerTitle = section.title;
|
|
883
883
|
}
|
|
884
884
|
else if (sectionExpanded) {
|
|
885
|
-
headerTitle = this.
|
|
885
|
+
headerTitle = __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.COLLAPSE);
|
|
886
886
|
}
|
|
887
887
|
else {
|
|
888
|
-
headerTitle = this.
|
|
888
|
+
headerTitle = __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.EXPAND);
|
|
889
889
|
}
|
|
890
890
|
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, h("div", { class: contentClass }, sectionContent), h("div", { class: "header", role: "button", onClick: (e) => {
|
|
891
891
|
e.stopPropagation();
|
|
@@ -921,12 +921,16 @@ const KupBox = class {
|
|
|
921
921
|
}
|
|
922
922
|
const cell = row.cells[boxObject.column];
|
|
923
923
|
let title = undefined;
|
|
924
|
-
if (cell && !this.
|
|
924
|
+
if (cell && !__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.isEmptyKupObj(cell.obj)) {
|
|
925
925
|
classObj['is-obj'] = true;
|
|
926
|
-
if (this.
|
|
926
|
+
if (__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.isDebug()) {
|
|
927
927
|
title =
|
|
928
928
|
cell.obj.t + '; ' + cell.obj.p + '; ' + cell.obj.k + ';';
|
|
929
929
|
}
|
|
930
|
+
if (!cell.isEditable) {
|
|
931
|
+
cell.cssClass =
|
|
932
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").data.cell.getObjectRelatedStyleClasses(cell.obj, cell.cssClass);
|
|
933
|
+
}
|
|
930
934
|
}
|
|
931
935
|
const cellProps = {
|
|
932
936
|
cell: cell,
|
|
@@ -947,9 +951,9 @@ const KupBox = class {
|
|
|
947
951
|
kanbanMode() {
|
|
948
952
|
// Testing whether there are columns to group by
|
|
949
953
|
if (!this.kanban.columns || this.kanban.columns.length === 0) {
|
|
950
|
-
this.
|
|
954
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'No columns to group by detected.', KupDebugCategory.ERROR);
|
|
951
955
|
return {
|
|
952
|
-
jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { ref: (el) => this.rowsRefs.push(el) }), this.
|
|
956
|
+
jsx: (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { ref: (el) => this.rowsRefs.push(el) }), __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA))),
|
|
953
957
|
style: { 'grid-template-columns': `repeat(1, 1fr)` },
|
|
954
958
|
};
|
|
955
959
|
}
|
|
@@ -970,7 +974,7 @@ const KupBox = class {
|
|
|
970
974
|
key.push(this.rows[index].cells[this.kanban.columns[j]].value);
|
|
971
975
|
}
|
|
972
976
|
catch (error) {
|
|
973
|
-
this.
|
|
977
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, error, KupDebugCategory.WARNING);
|
|
974
978
|
}
|
|
975
979
|
}
|
|
976
980
|
const check = {
|
|
@@ -1075,8 +1079,8 @@ const KupBox = class {
|
|
|
1075
1079
|
});
|
|
1076
1080
|
}
|
|
1077
1081
|
};
|
|
1078
|
-
this.
|
|
1079
|
-
this.
|
|
1082
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.on(this.boxContainer, KupPointerEventTypes.TAP, tapCb);
|
|
1083
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.on(this.boxContainer, KupPointerEventTypes.HOLD, holdCb);
|
|
1080
1084
|
}
|
|
1081
1085
|
didRenderInteractables() {
|
|
1082
1086
|
if (this.dragEnabled) {
|
|
@@ -1095,7 +1099,7 @@ const KupBox = class {
|
|
|
1095
1099
|
};
|
|
1096
1100
|
if (row && !this.interactableDrag.includes(row)) {
|
|
1097
1101
|
this.interactableDrag.push(row);
|
|
1098
|
-
this.
|
|
1102
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.draggable(row, {
|
|
1099
1103
|
allowFrom: '.box-object',
|
|
1100
1104
|
cursorChecker() {
|
|
1101
1105
|
return null;
|
|
@@ -1110,10 +1114,10 @@ const KupBox = class {
|
|
|
1110
1114
|
const dataCb = () => {
|
|
1111
1115
|
const cell = this.rootElement.shadowRoot.querySelector('.box:hover');
|
|
1112
1116
|
if (!cell) {
|
|
1113
|
-
this.
|
|
1117
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, "Couldn't find cell hovered to retrieve dropzone informations!", KupDebugCategory.WARNING);
|
|
1114
1118
|
return;
|
|
1115
1119
|
}
|
|
1116
|
-
const path = this.
|
|
1120
|
+
const path = __classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(cell, this.rootElement);
|
|
1117
1121
|
const receivingDetails = this.getEventDetails(path);
|
|
1118
1122
|
return {
|
|
1119
1123
|
cell: receivingDetails.cell,
|
|
@@ -1124,7 +1128,7 @@ const KupBox = class {
|
|
|
1124
1128
|
};
|
|
1125
1129
|
if (!this.interactableDrop.includes(this.sectionRef)) {
|
|
1126
1130
|
this.interactableDrop.push(this.sectionRef);
|
|
1127
|
-
this.
|
|
1131
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.dropzone(this.sectionRef, {
|
|
1128
1132
|
accept: `[${kupDraggableAttr}]`,
|
|
1129
1133
|
}, {
|
|
1130
1134
|
dispatcher: this.rootElement,
|
|
@@ -1135,7 +1139,7 @@ const KupBox = class {
|
|
|
1135
1139
|
const row = this.rowsRefs[index];
|
|
1136
1140
|
if (row && !this.interactableDrop.includes(row)) {
|
|
1137
1141
|
this.interactableDrop.push(row);
|
|
1138
|
-
this.
|
|
1142
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.dropzone(row, {
|
|
1139
1143
|
accept: `[${kupDraggableAttr}]`,
|
|
1140
1144
|
}, {
|
|
1141
1145
|
callback: dataCb,
|
|
@@ -1150,7 +1154,7 @@ const KupBox = class {
|
|
|
1150
1154
|
/* L i f e c y c l e H o o k s */
|
|
1151
1155
|
/*-------------------------------------------------*/
|
|
1152
1156
|
componentWillLoad() {
|
|
1153
|
-
this.
|
|
1157
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logLoad(this, false);
|
|
1154
1158
|
if (this.rowsPerPage) {
|
|
1155
1159
|
this.currentRowsPerPage = this.rowsPerPage;
|
|
1156
1160
|
}
|
|
@@ -1159,8 +1163,8 @@ const KupBox = class {
|
|
|
1159
1163
|
this.currentRowsPerPage > this.data.rows.length) {
|
|
1160
1164
|
this.currentRowsPerPage = this.data.rows.length;
|
|
1161
1165
|
}
|
|
1162
|
-
this.
|
|
1163
|
-
this.
|
|
1166
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").language.register(this);
|
|
1167
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.register(this);
|
|
1164
1168
|
this.initWithPersistedState();
|
|
1165
1169
|
this.onDataChanged();
|
|
1166
1170
|
this.adjustPaginator();
|
|
@@ -1189,10 +1193,10 @@ const KupBox = class {
|
|
|
1189
1193
|
}
|
|
1190
1194
|
this.didLoadInteractables();
|
|
1191
1195
|
this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
|
|
1192
|
-
this.
|
|
1196
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logLoad(this, true);
|
|
1193
1197
|
}
|
|
1194
1198
|
componentWillRender() {
|
|
1195
|
-
this.
|
|
1199
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logRender(this, false);
|
|
1196
1200
|
}
|
|
1197
1201
|
componentDidRender() {
|
|
1198
1202
|
const root = this.rootElement.shadowRoot;
|
|
@@ -1206,7 +1210,7 @@ const KupBox = class {
|
|
|
1206
1210
|
this.persistState();
|
|
1207
1211
|
this.didRenderInteractables();
|
|
1208
1212
|
__classPrivateFieldGet(this, _KupBox_instances, "m", _KupBox_didRenderObservers).call(this);
|
|
1209
|
-
this.
|
|
1213
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logRender(this, true);
|
|
1210
1214
|
}
|
|
1211
1215
|
render() {
|
|
1212
1216
|
__classPrivateFieldSet(this, _KupBox_rowsRefs, [], "f");
|
|
@@ -1224,7 +1228,7 @@ const KupBox = class {
|
|
|
1224
1228
|
});
|
|
1225
1229
|
const items = [{ value: '', id: '' }, ...visibleColumnsItems];
|
|
1226
1230
|
let textfieldData = {
|
|
1227
|
-
label: this.
|
|
1231
|
+
label: __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.SORT_BY),
|
|
1228
1232
|
trailingIcon: true,
|
|
1229
1233
|
};
|
|
1230
1234
|
let listData = {
|
|
@@ -1239,7 +1243,7 @@ const KupBox = class {
|
|
|
1239
1243
|
}
|
|
1240
1244
|
let filterPanel = null;
|
|
1241
1245
|
if (this.globalFilter) {
|
|
1242
|
-
filterPanel = (h("div", { id: "global-filter" }, h("kup-text-field", { fullWidth: true, label: this.
|
|
1246
|
+
filterPanel = (h("div", { id: "global-filter" }, h("kup-text-field", { fullWidth: true, label: __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), icon: KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
1243
1247
|
window.clearTimeout(this.globalFilterTimeout);
|
|
1244
1248
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1245
1249
|
} })));
|
|
@@ -1259,7 +1263,7 @@ const KupBox = class {
|
|
|
1259
1263
|
let boxContent = null;
|
|
1260
1264
|
let containerStyle = {};
|
|
1261
1265
|
if (this.rows.length === 0) {
|
|
1262
|
-
boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.
|
|
1266
|
+
boxContent = (h("div", { id: "empty-data-message", class: "box-wrapper" }, h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.EMPTY_DATA))));
|
|
1263
1267
|
containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
|
|
1264
1268
|
}
|
|
1265
1269
|
else if (isKanban) {
|
|
@@ -1281,17 +1285,17 @@ const KupBox = class {
|
|
|
1281
1285
|
}
|
|
1282
1286
|
return (h(Host, { "onKup-cell-click": (e) => {
|
|
1283
1287
|
this.kupBoxCellClick.emit(e.detail);
|
|
1284
|
-
} }, h("style", null, this.
|
|
1288
|
+
} }, h("style", null, __classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { id: componentWrapperId }, h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) }, sortPanel, filterPanel, paginator, h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
|
|
1285
1289
|
e.preventDefault();
|
|
1286
1290
|
}, ref: (el) => (this.boxContainer =
|
|
1287
1291
|
el) }, boxContent)))));
|
|
1288
1292
|
}
|
|
1289
1293
|
disconnectedCallback() {
|
|
1290
|
-
this.
|
|
1291
|
-
this.
|
|
1292
|
-
this.
|
|
1294
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.unregister(this.interactableDrag.concat(this.interactableDrop));
|
|
1295
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").language.unregister(this);
|
|
1296
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.unregister(this);
|
|
1293
1297
|
if (this.scrollOnHover) {
|
|
1294
|
-
this.
|
|
1298
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.unregister(this.boxContainer);
|
|
1295
1299
|
}
|
|
1296
1300
|
// When component is destroyed, then the listener is removed. @See clickFunction for more details
|
|
1297
1301
|
document.removeEventListener('click', this.clickFunction.bind(this));
|
|
@@ -1310,21 +1314,21 @@ const KupBox = class {
|
|
|
1310
1314
|
"selectBox": ["onSelectBoxChanged"]
|
|
1311
1315
|
}; }
|
|
1312
1316
|
};
|
|
1313
|
-
_KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_loadMoreEventCounter = new WeakMap(), _KupBox_loadMoreEventPreviousQuantity = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_checkUpdateState = function _KupBox_checkUpdateState() {
|
|
1317
|
+
_KupBox_kupManager = new WeakMap(), _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_loadMoreEventCounter = new WeakMap(), _KupBox_loadMoreEventPreviousQuantity = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_checkUpdateState = function _KupBox_checkUpdateState() {
|
|
1314
1318
|
let somethingChanged = false;
|
|
1315
|
-
if (!this.
|
|
1319
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.sortBy, this.sortBy)) {
|
|
1316
1320
|
this.state.sortBy = this.sortBy;
|
|
1317
1321
|
somethingChanged = true;
|
|
1318
1322
|
}
|
|
1319
|
-
if (!this.
|
|
1323
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
1320
1324
|
this.state.globalFilterValue = this.globalFilterValue;
|
|
1321
1325
|
somethingChanged = true;
|
|
1322
1326
|
}
|
|
1323
|
-
if (!this.
|
|
1327
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.pageSelected, this.currentPage)) {
|
|
1324
1328
|
this.state.pageSelected = this.currentPage;
|
|
1325
1329
|
somethingChanged = true;
|
|
1326
1330
|
}
|
|
1327
|
-
if (!this.
|
|
1331
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
|
|
1328
1332
|
this.state.rowsPerPage = this.currentRowsPerPage;
|
|
1329
1333
|
somethingChanged = true;
|
|
1330
1334
|
}
|
|
@@ -1332,15 +1336,15 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1332
1336
|
const prefix = currentIndex > 0 ? ';' : '';
|
|
1333
1337
|
return accumulator + prefix + row.id;
|
|
1334
1338
|
}, '');
|
|
1335
|
-
if (!this.
|
|
1339
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.selectedRowsState, selectedRowsState)) {
|
|
1336
1340
|
this.state.selectedRowsState = selectedRowsState;
|
|
1337
1341
|
somethingChanged = true;
|
|
1338
1342
|
}
|
|
1339
|
-
if (!this.
|
|
1343
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
|
|
1340
1344
|
this.state.loadMoreLimit = this.loadMoreLimit;
|
|
1341
1345
|
somethingChanged = true;
|
|
1342
1346
|
}
|
|
1343
|
-
if (!this.
|
|
1347
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
|
|
1344
1348
|
this.state.showLoadMore = this.showLoadMore;
|
|
1345
1349
|
somethingChanged = true;
|
|
1346
1350
|
}
|
|
@@ -1354,7 +1358,7 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1354
1358
|
const callback = (entries) => {
|
|
1355
1359
|
entries.forEach((entry) => {
|
|
1356
1360
|
if (entry.isIntersecting) {
|
|
1357
|
-
this.
|
|
1361
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
|
|
1358
1362
|
const delta = this.data.rows.length - this.currentRowsPerPage;
|
|
1359
1363
|
if (delta < this.loadMoreStep) {
|
|
1360
1364
|
this.currentRowsPerPage += delta;
|
|
@@ -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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, w as getColumnByName, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, w as getColumnByName, e as KupDebugCategory } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
5
|
-
import { d as FChip, F as FChipType } from './f-chip-
|
|
5
|
+
import { d as FChip, F as FChipType } from './f-chip-72bcea75.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-a2ecd7c3.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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupCardFamily, ah as getCellValueForDisplay } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, u as KupCardFamily, ah as getCellValueForDisplay } from './kup-manager-a3f8ee8f.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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, f as FCellPadding, az as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aA as submitPositionAdapter, h as KupLanguageGeneric, aB as KupCellProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, f as FCellPadding, az as KupCellElementsPosition, g as getProps, s as setProps, Y as KupDragEffect, aA as submitPositionAdapter, h as KupLanguageGeneric, aB as KupCellProps } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
5
|
-
import { F as FCell } from './f-cell-
|
|
5
|
+
import { F as FCell } from './f-cell-8ed6963a.js';
|
|
6
6
|
import './kup-dates-da19044e.js';
|
|
7
7
|
import './f-button-declarations-6c8f8abe.js';
|
|
8
8
|
import './f-image-a2ecd7c3.js';
|
|
9
9
|
import './f-checkbox-5cdd1cad.js';
|
|
10
|
-
import './f-chip-
|
|
11
|
-
import './f-object-field-
|
|
12
|
-
import './f-text-field-
|
|
10
|
+
import './f-chip-72bcea75.js';
|
|
11
|
+
import './f-object-field-1827746c.js';
|
|
12
|
+
import './f-text-field-591dc383.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: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%}";
|
|
15
15
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
3
|
import { F as FCheckbox } from './f-checkbox-5cdd1cad.js';
|
|
4
|
-
import { F as FTextField } from './f-text-field-
|
|
4
|
+
import { F as FTextField } from './f-text-field-591dc383.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, aC as KupLanguageDashboard, h as KupLanguageGeneric, Y as KupDragEffect, e as KupDebugCategory } from './kup-manager-
|
|
6
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, aC as KupLanguageDashboard, h as KupLanguageGeneric, Y as KupDragEffect, e as KupDebugCategory } from './kup-manager-a3f8ee8f.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as Filters, E as getValueForDisplay, C as getValueForDisplay2, ah as getCellValueForDisplay, w as getColumnByName, y as KupObjects, ai as KupData, aj as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, ak as CMBandACPAdapter, al as RADAdapter, am as CHKAdapter, an as CHIAdapter, ao as SWTAdapter, a7 as SortMode } from './kup-manager-
|
|
1
|
+
import { D as Filters, E as getValueForDisplay, C as getValueForDisplay2, ah as getCellValueForDisplay, w as getColumnByName, y as KupObjects, ai as KupData, aj as compareCell, N as TotalMode, O as getRegExpFromString, F as FCellShapes, ak as CMBandACPAdapter, al as RADAdapter, am as CHKAdapter, an as CHIAdapter, ao as SWTAdapter, a7 as SortMode } from './kup-manager-a3f8ee8f.js';
|
|
2
2
|
import { K as KupDatesFormats } from './kup-dates-da19044e.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement, g as getAssetPath } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupThemeColorValues, e as KupDebugCategory, w as getColumnByName, o as KupDataNewColumnTypes } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupThemeColorValues, e as KupDebugCategory, w as getColumnByName, o as KupDataNewColumnTypes } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -2,7 +2,7 @@ import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host
|
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-
|
|
5
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, V as KupPointerEventTypes } from './kup-manager-a3f8ee8f.js';
|
|
6
6
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
7
7
|
import './kup-dates-da19044e.js';
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, F as Fragment, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, e as KupDebugCategory } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import './kup-dates-da19044e.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, V as KupPointerEventTypes, f as FCellPadding } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, V as KupPointerEventTypes, f as FCellPadding } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
6
6
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
7
|
-
import { F as FCell } from './f-cell-
|
|
7
|
+
import { F as FCell } from './f-cell-8ed6963a.js';
|
|
8
8
|
import { M as MDCRipple } from './component-a35bc7f1.js';
|
|
9
9
|
import './kup-dates-da19044e.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-72bcea75.js';
|
|
12
|
+
import './f-object-field-1827746c.js';
|
|
13
|
+
import './f-text-field-591dc383.js';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Props of the kup-image-list component.
|
|
@@ -231,14 +231,14 @@ const KupImageList = class {
|
|
|
231
231
|
}
|
|
232
232
|
const imlClass = 'image-list' +
|
|
233
233
|
(this.showFullDescription ? ' full-description' : '');
|
|
234
|
-
return (h(Host, { key: '
|
|
234
|
+
return (h(Host, { key: '2d9f453a9119e9a1c61e876877c4e259dd26feb4' }, h("style", { key: 'c4a33416a589e3b735e9c37bbebe456335368175' }, __classPrivateFieldGet(this, _KupImageList_kupManager, "f").theme.setKupStyle(this.rootElement)), h("div", { key: 'c6006dd29bec75e314e0b61c4d37d17061788b12', id: componentWrapperId, ref: (el) => {
|
|
235
235
|
__classPrivateFieldSet(this, _KupImageList_el, el, "f");
|
|
236
|
-
} }, h("div", { key: '
|
|
236
|
+
} }, h("div", { key: 'f22918fadcc8719fdb1602dff1232d9252a952d1', class: "navigation-bar" }, hasNavigation ? (h("div", { class: `navigation-bar__wrapper ${this.navigationBarToggled
|
|
237
237
|
? 'navigation-bar__wrapper--active'
|
|
238
238
|
: ''}` }, h("div", { class: `navigation-bar__title`, onClick: () => {
|
|
239
239
|
this.navigationBarToggled =
|
|
240
240
|
!this.navigationBarToggled;
|
|
241
|
-
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: '
|
|
241
|
+
} }, h(FImage, { fit: true, resource: this.currentNode.icon, placeholderResource: this.currentNode.placeholderIcon, sizeX: "1.25em", sizeY: "1.25em", wrapperClass: "navigation-bar__title__image" }), h("div", { class: "navigation-bar__title__label" }, this.currentNode.value)), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_backProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.BACK) })), h(FButton, Object.assign({}, __classPrivateFieldGet(this, _KupImageList_topProps, "f"), { label: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").language.translate(KupLanguageGeneric.TOP) })))) : null), h("div", { key: '3baa97863a710241234387296177b2bf1a2174e0', class: imlClass, style: combinedGridStyle }, ...__classPrivateFieldGet(this, _KupImageList_instances, "m", _KupImageList_createList).call(this)))));
|
|
242
242
|
}
|
|
243
243
|
disconnectedCallback() {
|
|
244
244
|
__classPrivateFieldGet(this, _KupImageList_kupManager, "f").interact.unregister(__classPrivateFieldGet(this, _KupImageList_interactableTouch, "f"));
|
|
@@ -277,6 +277,7 @@ _KupImageList_clickTimeout = new WeakMap(), _KupImageList_kupManager = new WeakM
|
|
|
277
277
|
icon: node.icon,
|
|
278
278
|
placeholderIcon: node.placeholderIcon,
|
|
279
279
|
obj: node.obj,
|
|
280
|
+
cssClass: __classPrivateFieldGet(this, _KupImageList_kupManager, "f").data.cell.getObjectRelatedStyleClasses(node.obj, node.cssClass),
|
|
280
281
|
}, column: { name: 'IMAGE', title: 'Image' }, component: this, density: FCellPadding.NONE, row: Object.assign({}, node) }, h("div", { class: `image-list__wrapper${hasExternalResource ? ' images' : ''}` }, !hasExternalResource && (h("svg", { xmlns: "http://www.w3.org/2000/svg", version: "1.1", viewBox: "0 0 24 24" })), image, label)));
|
|
281
282
|
}, _KupImageList_createList = function _KupImageList_createList() {
|
|
282
283
|
const nodes = [];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
2
|
import { F as FButton } from './f-button-3c8f4506.js';
|
|
3
|
-
import { F as FCell, e as FLabel } from './f-cell-
|
|
4
|
-
import { F as FCellShapes, k as kupManagerInstance, ac as FCellTypes, g as getProps, s as setProps, h as KupLanguageGeneric, ah as getCellValueForDisplay, an as CHIAdapter, ak as CMBandACPAdapter, am as CHKAdapter, al as RADAdapter, ao as SWTAdapter, e as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-
|
|
3
|
+
import { F as FCell, e as FLabel } from './f-cell-8ed6963a.js';
|
|
4
|
+
import { F as FCellShapes, k as kupManagerInstance, ac as FCellTypes, g as getProps, s as setProps, h as KupLanguageGeneric, ah as getCellValueForDisplay, an as CHIAdapter, ak as CMBandACPAdapter, am as CHKAdapter, al as RADAdapter, ao as SWTAdapter, e as KupDebugCategory, V as KupPointerEventTypes } from './kup-manager-a3f8ee8f.js';
|
|
5
5
|
import { F as FTextFieldMDC } from './f-text-field-mdc-81ce6c7c.js';
|
|
6
6
|
import { F as FTypography, a as FTypographyType } from './f-typography-8c914ec6.js';
|
|
7
7
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
8
8
|
import './f-button-declarations-6c8f8abe.js';
|
|
9
9
|
import './f-image-a2ecd7c3.js';
|
|
10
10
|
import './f-checkbox-5cdd1cad.js';
|
|
11
|
-
import './f-chip-
|
|
12
|
-
import './f-object-field-
|
|
13
|
-
import './f-text-field-
|
|
11
|
+
import './f-chip-72bcea75.js';
|
|
12
|
+
import './f-object-field-1827746c.js';
|
|
13
|
+
import './f-text-field-591dc383.js';
|
|
14
14
|
import './kup-dates-da19044e.js';
|
|
15
15
|
import './component-a35bc7f1.js';
|
|
16
16
|
|
|
@@ -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-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|
|
4
4
|
import './kup-dates-da19044e.js';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, f as forceUpdate, h, H as Host, d as getElement } from './index-9b0f4a0d.js';
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, aD as kupDropEvent, W as kupDraggableColumnAttr, aE as kupDraggableRowAttr, _ as KupDropEventTypes, d as KupThemeColorValues } from './kup-manager-
|
|
2
|
+
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, e as KupDebugCategory, aD as kupDropEvent, W as kupDraggableColumnAttr, aE as kupDraggableRowAttr, _ as KupDropEventTypes, d as KupThemeColorValues } from './kup-manager-a3f8ee8f.js';
|
|
3
3
|
import { a as FButtonStyling } from './f-button-declarations-6c8f8abe.js';
|
|
4
4
|
import { F as FImage } from './f-image-a2ecd7c3.js';
|
|
5
5
|
import { c as componentWrapperId } from './GenericVariables-d8d0541e.js';
|