@sme.up/ketchup 10.2.0 → 10.3.1
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-3ed4ad9e.js → f-cell-be0c55ac.js} +5 -5
- package/dist/cjs/{f-chip-b936dcaf.js → f-chip-dc085b9b.js} +1 -1
- package/dist/cjs/{f-object-field-348fa103.js → f-object-field-96e1c599.js} +2 -2
- package/dist/cjs/{f-paginator-utils-f951cc54.js → f-paginator-utils-3f233ebe.js} +1 -1
- package/dist/cjs/{f-text-field-e41f653a.js → f-text-field-d91ab1e8.js} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/ketchup.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 +143 -61
- package/dist/cjs/kup-box.cjs.entry.js +87 -69
- package/dist/cjs/kup-calendar.cjs.entry.js +34 -16
- 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-adaa11bb.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 +9 -4
- 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 +49 -77
- 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-39bc2be8.js → kup-manager-ecc44384.js} +130 -157
- 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/cjs/loader.cjs.js +1 -1
- package/dist/collection/components/kup-autocomplete/kup-autocomplete-declarations.js +1 -0
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +39 -7
- package/dist/collection/components/kup-box/kup-box.js +115 -62
- package/dist/collection/components/kup-button/kup-button.js +0 -24
- package/dist/collection/components/kup-calendar/kup-calendar.css +5 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +32 -14
- package/dist/collection/components/kup-combobox/kup-combobox-declarations.js +1 -0
- package/dist/collection/components/kup-combobox/kup-combobox.js +24 -1
- package/dist/collection/components/kup-data-table/kup-data-table.js +110 -28
- package/dist/collection/components/kup-editor/kup-editor.js +8 -3
- package/dist/collection/components/kup-image/assets/svg/bullseye-arrow.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/email-stacked.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/filter-off.svg +1 -0
- package/dist/collection/components/kup-image/assets/svg/status.svg +9 -0
- package/dist/collection/components/kup-image-list/kup-image-list.js +4 -3
- package/dist/collection/components/kup-input-panel/kup-input-panel-utils.js +24 -11
- package/dist/collection/components/kup-input-panel/kup-input-panel.js +52 -39
- package/dist/collection/components/kup-tree/kup-tree.js +48 -12
- package/dist/collection/f-components/f-cell/f-cell.js +1 -1
- package/dist/collection/managers/kup-data/kup-data.js +49 -0
- package/dist/collection/managers/kup-manager/kup-manager.js +0 -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 +35 -17
- 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 +49 -76
- 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-a0258e6f.js → p-39e807bc.js} +2 -2
- package/dist/components/{p-b80494d7.js → p-680ee680.js} +2 -2
- package/dist/components/{p-3438f15f.js → p-685106b4.js} +83 -64
- package/dist/components/{p-b304b91c.js → p-73922583.js} +130 -157
- package/dist/components/{p-eb8a2811.js → p-8037ef07.js} +10 -5
- package/dist/components/{p-7d0f1f90.js → p-e0031e17.js} +141 -57
- package/dist/esm/{f-cell-6576e009.js → f-cell-eea4e836.js} +5 -5
- package/dist/esm/{f-chip-bb62428a.js → f-chip-72bcea75.js} +1 -1
- package/dist/esm/{f-object-field-b87b6ae6.js → f-object-field-1827746c.js} +2 -2
- package/dist/esm/{f-paginator-utils-04903d74.js → f-paginator-utils-e785d34e.js} +1 -1
- package/dist/esm/{f-text-field-9be88e51.js → f-text-field-591dc383.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.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 +143 -61
- package/dist/esm/kup-box.entry.js +87 -69
- package/dist/esm/kup-calendar.entry.js +35 -17
- 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-13eb7abf.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 +9 -4
- 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 +49 -77
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +1 -1
- package/dist/esm/{kup-manager-6aa0a1c7.js → kup-manager-a3f8ee8f.js} +130 -157
- 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/esm/loader.js +1 -1
- package/dist/ketchup/assets/svg/bullseye-arrow.svg +1 -0
- package/dist/ketchup/assets/svg/email-stacked.svg +1 -0
- package/dist/ketchup/assets/svg/filter-off.svg +1 -0
- package/dist/ketchup/assets/svg/status.svg +9 -0
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/{p-267d1898.js → p-0eea54ac.js} +1 -1
- package/dist/ketchup/{p-0de49966.entry.js → p-0f9ae966.entry.js} +1 -1
- package/dist/ketchup/{p-6fc1bb18.entry.js → p-1a9fb6e7.entry.js} +1 -1
- package/dist/ketchup/{p-9b907768.entry.js → p-21a2d25a.entry.js} +1 -1
- package/dist/ketchup/{p-f8a027a1.entry.js → p-283f7bfc.entry.js} +1 -1
- package/dist/ketchup/{p-2d84c26e.entry.js → p-2c11b778.entry.js} +1 -1
- package/dist/ketchup/{p-4ffc1a88.entry.js → p-2f0664cb.entry.js} +1 -1
- package/dist/ketchup/{p-58002a23.entry.js → p-2faa7118.entry.js} +1 -1
- package/dist/ketchup/p-32a6feed.entry.js +9 -0
- package/dist/ketchup/{p-d084b2d4.entry.js → p-36ec5bc3.entry.js} +1 -1
- package/dist/ketchup/{p-fb775526.entry.js → p-43dc9f87.entry.js} +1 -1
- package/dist/ketchup/p-442a16b1.entry.js +1 -0
- package/dist/ketchup/p-4c16edda.entry.js +1 -0
- package/dist/ketchup/{p-15f192f0.entry.js → p-4c5b911e.entry.js} +1 -1
- package/dist/ketchup/{p-c2ccbaca.entry.js → p-5340f777.entry.js} +1 -1
- package/dist/ketchup/{p-b365f2f2.entry.js → p-57a93686.entry.js} +1 -1
- package/dist/ketchup/{p-100b8ae7.entry.js → p-5e55604b.entry.js} +1 -1
- package/dist/ketchup/{p-8be42f5c.js → p-64e064f0.js} +1 -1
- package/dist/ketchup/{p-5d9f2d24.entry.js → p-6fe57b1a.entry.js} +1 -1
- package/dist/ketchup/{p-fdcb43a2.entry.js → p-79e580bc.entry.js} +1 -1
- package/dist/ketchup/{p-a4b6d6c5.js → p-8140c1d2.js} +1 -1
- package/dist/ketchup/{p-9bc02da6.entry.js → p-8cf7b4a6.entry.js} +1 -1
- package/dist/ketchup/{p-0b1e0b48.js → p-932940cb.js} +1 -1
- package/dist/ketchup/p-a4168ce9.entry.js +1 -0
- package/dist/ketchup/{p-9edd90c2.entry.js → p-beef4fe9.entry.js} +1 -1
- package/dist/ketchup/{p-d8dbf3df.entry.js → p-cd5db3b1.entry.js} +2 -2
- package/dist/ketchup/{p-92431583.entry.js → p-d03527d8.entry.js} +1 -1
- package/dist/ketchup/{p-838d8e97.js → p-d1fa33e0.js} +1 -1
- package/dist/ketchup/{p-e6afa8a6.entry.js → p-d2e3f987.entry.js} +1 -1
- package/dist/ketchup/{p-07f50333.entry.js → p-d9ae70bb.entry.js} +1 -1
- package/dist/ketchup/{p-a597a851.entry.js → p-dcf2c5c0.entry.js} +1 -1
- package/dist/ketchup/p-e1281898.entry.js +1 -0
- package/dist/ketchup/{p-d0554d1f.entry.js → p-ec86f88f.entry.js} +1 -1
- package/dist/ketchup/{p-6d628b49.entry.js → p-ee0836a4.entry.js} +1 -1
- package/dist/ketchup/{p-e104cfb7.js → p-f1886258.js} +1 -1
- package/dist/ketchup/{p-e4fa2cf3.js → p-fb4f10d5.js} +2 -2
- package/dist/ketchup/p-fc750bff.entry.js +1 -0
- package/dist/types/components/kup-autocomplete/kup-autocomplete-declarations.d.ts +2 -1
- package/dist/types/components/kup-autocomplete/kup-autocomplete.d.ts +5 -0
- package/dist/types/components/kup-box/kup-box.d.ts +6 -5
- package/dist/types/components/kup-button/kup-button.d.ts +0 -1
- package/dist/types/components/kup-combobox/kup-combobox-declarations.d.ts +2 -1
- package/dist/types/components/kup-combobox/kup-combobox.d.ts +5 -0
- package/dist/types/components/kup-data-table/kup-data-table-declarations.d.ts +1 -0
- package/dist/types/components/kup-data-table/kup-data-table.d.ts +5 -0
- package/dist/types/components/kup-input-panel/kup-input-panel-utils.d.ts +7 -4
- package/dist/types/components/kup-input-panel/kup-input-panel.d.ts +5 -0
- package/dist/types/components/kup-tree/kup-tree.d.ts +2 -1
- package/dist/types/components.d.ts +44 -4
- package/dist/types/managers/kup-data/kup-data.d.ts +11 -0
- package/dist/types/managers/kup-manager/kup-manager-declarations.d.ts +0 -2
- package/dist/types/managers/kup-manager/kup-manager.d.ts +0 -2
- package/package.json +2 -2
- package/dist/collection/managers/kup-keys-binding/kup-keys-binding-declarations.js +0 -1
- package/dist/collection/managers/kup-keys-binding/kup-keys-binding.js +0 -79
- package/dist/ketchup/p-3dbafa20.entry.js +0 -9
- package/dist/ketchup/p-3e42953b.entry.js +0 -1
- package/dist/ketchup/p-42a1f9ec.entry.js +0 -1
- package/dist/ketchup/p-55b0991f.entry.js +0 -1
- package/dist/ketchup/p-65b23870.entry.js +0 -1
- package/dist/ketchup/p-da44226a.entry.js +0 -1
- package/dist/types/managers/kup-keys-binding/kup-keys-binding-declarations.d.ts +0 -1
- package/dist/types/managers/kup-keys-binding/kup-keys-binding.d.ts +0 -20
|
@@ -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-eea4e836.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-9a862967.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-879e99bf.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);
|
|
@@ -110,6 +110,7 @@ const KupBox = class {
|
|
|
110
110
|
this.kupDidUnload = createEvent(this, "kup-box-didunload", 6);
|
|
111
111
|
this.kupBoxContextMenu = createEvent(this, "kup-box-contextmenu", 6);
|
|
112
112
|
this.kupLoadMoreClick = createEvent(this, "kup-box-loadmoreclick", 6);
|
|
113
|
+
this.kupBoxCellClick = createEvent(this, "kup-box-cell-click", 6);
|
|
113
114
|
_KupBox_instances.add(this);
|
|
114
115
|
this.state = new KupBoxState();
|
|
115
116
|
/*-------------------------------------------------*/
|
|
@@ -118,8 +119,7 @@ const KupBox = class {
|
|
|
118
119
|
/**
|
|
119
120
|
* Instance of the KupManager class.
|
|
120
121
|
*/
|
|
121
|
-
this
|
|
122
|
-
this.visibleColumns = [];
|
|
122
|
+
_KupBox_kupManager.set(this, kupManagerInstance());
|
|
123
123
|
this.rows = [];
|
|
124
124
|
this.filteredRows = [];
|
|
125
125
|
this.sectionRef = null;
|
|
@@ -169,13 +169,14 @@ const KupBox = class {
|
|
|
169
169
|
this.stateId = '';
|
|
170
170
|
this.store = undefined;
|
|
171
171
|
this.swipeDisabled = false;
|
|
172
|
+
this.visibleColumns = undefined;
|
|
172
173
|
}
|
|
173
174
|
initWithPersistedState() {
|
|
174
175
|
if (this.store && this.stateId) {
|
|
175
176
|
this.state.load = true;
|
|
176
177
|
const state = this.store.getState(this.stateId);
|
|
177
178
|
if (state != null) {
|
|
178
|
-
this.
|
|
179
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Initialize with state for stateId ' +
|
|
179
180
|
this.stateId +
|
|
180
181
|
': ' +
|
|
181
182
|
state);
|
|
@@ -198,7 +199,7 @@ const KupBox = class {
|
|
|
198
199
|
return;
|
|
199
200
|
}
|
|
200
201
|
if (somethingChanged) {
|
|
201
|
-
this.
|
|
202
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Persisting stateId ' + this.stateId);
|
|
202
203
|
this.store.persistState(this.stateId, this.state);
|
|
203
204
|
}
|
|
204
205
|
}
|
|
@@ -214,7 +215,6 @@ const KupBox = class {
|
|
|
214
215
|
}
|
|
215
216
|
onDataChanged() {
|
|
216
217
|
identify(this.getRows());
|
|
217
|
-
this.initVisibleColumns();
|
|
218
218
|
this.initRows();
|
|
219
219
|
this.checkLayout();
|
|
220
220
|
}
|
|
@@ -261,13 +261,24 @@ const KupBox = class {
|
|
|
261
261
|
? this.data.columns
|
|
262
262
|
: [{ title: '', name: '', size: undefined }];
|
|
263
263
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
264
|
+
getVisibleColumns() {
|
|
265
|
+
// Starting columns filter
|
|
266
|
+
let resultVisibleColumns = this.getColumns().filter((col) => {
|
|
267
|
+
const isNotCodVer = !__classPrivateFieldGet(this, _KupBox_kupManager, "f").data.column.isCodVer(col);
|
|
268
|
+
if (this.visibleColumns) {
|
|
269
|
+
// if visible columns is specified, include only those columns
|
|
270
|
+
return isNotCodVer && this.visibleColumns.includes(col.name);
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
return isNotCodVer && (!('visible' in col) || col.visible);
|
|
268
274
|
}
|
|
269
|
-
return true;
|
|
270
275
|
});
|
|
276
|
+
// order based on `visibleColumns`
|
|
277
|
+
if (this.visibleColumns) {
|
|
278
|
+
resultVisibleColumns = resultVisibleColumns.sort((a, b) => this.visibleColumns.indexOf(a.name) -
|
|
279
|
+
this.visibleColumns.indexOf(b.name));
|
|
280
|
+
}
|
|
281
|
+
return resultVisibleColumns;
|
|
271
282
|
}
|
|
272
283
|
getRows() {
|
|
273
284
|
return this.data && this.data.rows ? this.data.rows : [];
|
|
@@ -276,7 +287,7 @@ const KupBox = class {
|
|
|
276
287
|
this.filteredRows = this.getRows();
|
|
277
288
|
if (this.globalFilter && this.globalFilterValue) {
|
|
278
289
|
// filtering rows
|
|
279
|
-
this.filteredRows = filterRows(this.filteredRows, null, this.globalFilterValue, this.visibleColumns);
|
|
290
|
+
this.filteredRows = filterRows(this.filteredRows, null, this.globalFilterValue, this.getColumns(), undefined, undefined, this.visibleColumns);
|
|
280
291
|
}
|
|
281
292
|
this.rows = this.sortRows(this.filteredRows);
|
|
282
293
|
if (this.pagination) {
|
|
@@ -305,14 +316,14 @@ const KupBox = class {
|
|
|
305
316
|
}
|
|
306
317
|
checkScrollOnHover() {
|
|
307
318
|
if (this.boxContainer) {
|
|
308
|
-
if (!this.
|
|
319
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.isRegistered(this.boxContainer)) {
|
|
309
320
|
if (this.scrollOnHover) {
|
|
310
|
-
this.
|
|
321
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.register(this.boxContainer);
|
|
311
322
|
}
|
|
312
323
|
}
|
|
313
324
|
else {
|
|
314
325
|
if (!this.scrollOnHover) {
|
|
315
|
-
this.
|
|
326
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.unregister(this.boxContainer);
|
|
316
327
|
}
|
|
317
328
|
}
|
|
318
329
|
}
|
|
@@ -330,7 +341,7 @@ const KupBox = class {
|
|
|
330
341
|
sections: [],
|
|
331
342
|
};
|
|
332
343
|
// adding box objects to section
|
|
333
|
-
const visibleColumns = this.
|
|
344
|
+
const visibleColumns = this.getVisibleColumns();
|
|
334
345
|
let size = visibleColumns.length;
|
|
335
346
|
let content = [];
|
|
336
347
|
let cnt = 0;
|
|
@@ -346,7 +357,7 @@ const KupBox = class {
|
|
|
346
357
|
};
|
|
347
358
|
}
|
|
348
359
|
onSortChange(e) {
|
|
349
|
-
let column = getColumnByName(this.
|
|
360
|
+
let column = getColumnByName(this.getVisibleColumns(), e.detail.value);
|
|
350
361
|
this.sortBy = column.name;
|
|
351
362
|
}
|
|
352
363
|
onGlobalFilterChange({ detail }) {
|
|
@@ -415,7 +426,7 @@ const KupBox = class {
|
|
|
415
426
|
else {
|
|
416
427
|
cell = boxObject['data-cell'];
|
|
417
428
|
row = boxObject['data-row'];
|
|
418
|
-
column = getColumnByName(this.
|
|
429
|
+
column = getColumnByName(this.getVisibleColumns(), boxObject.dataset.column);
|
|
419
430
|
}
|
|
420
431
|
}
|
|
421
432
|
return {
|
|
@@ -427,7 +438,7 @@ const KupBox = class {
|
|
|
427
438
|
};
|
|
428
439
|
}
|
|
429
440
|
clickHandler(e) {
|
|
430
|
-
const details = this.getEventDetails(this.
|
|
441
|
+
const details = this.getEventDetails(__classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
431
442
|
if (details.row) {
|
|
432
443
|
if (this.multiSelection) {
|
|
433
444
|
this.onSelectionCheckChange(details.row);
|
|
@@ -439,7 +450,7 @@ const KupBox = class {
|
|
|
439
450
|
return details;
|
|
440
451
|
}
|
|
441
452
|
contextMenuHandler(e) {
|
|
442
|
-
const details = this.getEventDetails(this.
|
|
453
|
+
const details = this.getEventDetails(__classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
443
454
|
return details;
|
|
444
455
|
}
|
|
445
456
|
/**
|
|
@@ -590,8 +601,9 @@ const KupBox = class {
|
|
|
590
601
|
progressbar: [],
|
|
591
602
|
text: [],
|
|
592
603
|
};
|
|
593
|
-
|
|
594
|
-
|
|
604
|
+
const visibleColumns = this.getVisibleColumns();
|
|
605
|
+
for (let index = 0; index < visibleColumns.length; index++) {
|
|
606
|
+
const column = visibleColumns[index];
|
|
595
607
|
if (column.visible !== false) {
|
|
596
608
|
cardData.cell.push(row.cells[column.name]);
|
|
597
609
|
cardData.columns.push(column);
|
|
@@ -720,7 +732,7 @@ const KupBox = class {
|
|
|
720
732
|
return h("kup-card", Object.assign({ data: cardData }, this.cardData));
|
|
721
733
|
}
|
|
722
734
|
renderRow(row) {
|
|
723
|
-
const visibleColumns = [...this.
|
|
735
|
+
const visibleColumns = [...this.getVisibleColumns()];
|
|
724
736
|
let boxContent = null;
|
|
725
737
|
// if layout in row, use that one
|
|
726
738
|
let rowLayout = row.layout;
|
|
@@ -870,10 +882,10 @@ const KupBox = class {
|
|
|
870
882
|
headerTitle = section.title;
|
|
871
883
|
}
|
|
872
884
|
else if (sectionExpanded) {
|
|
873
|
-
headerTitle = this.
|
|
885
|
+
headerTitle = __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.COLLAPSE);
|
|
874
886
|
}
|
|
875
887
|
else {
|
|
876
|
-
headerTitle = this.
|
|
888
|
+
headerTitle = __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.EXPAND);
|
|
877
889
|
}
|
|
878
890
|
sectionContainer = (h("div", { class: sectionClass, style: sectionStyle }, h("div", { class: contentClass }, sectionContent), h("div", { class: "header", role: "button", onClick: (e) => {
|
|
879
891
|
e.stopPropagation();
|
|
@@ -909,12 +921,16 @@ const KupBox = class {
|
|
|
909
921
|
}
|
|
910
922
|
const cell = row.cells[boxObject.column];
|
|
911
923
|
let title = undefined;
|
|
912
|
-
if (cell && !this.
|
|
924
|
+
if (cell && !__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.isEmptyKupObj(cell.obj)) {
|
|
913
925
|
classObj['is-obj'] = true;
|
|
914
|
-
if (this.
|
|
926
|
+
if (__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.isDebug()) {
|
|
915
927
|
title =
|
|
916
928
|
cell.obj.t + '; ' + cell.obj.p + '; ' + cell.obj.k + ';';
|
|
917
929
|
}
|
|
930
|
+
if (!cell.isEditable) {
|
|
931
|
+
cell.cssClass =
|
|
932
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").data.cell.getObjectRelatedStyleClasses(cell.obj, cell.cssClass);
|
|
933
|
+
}
|
|
918
934
|
}
|
|
919
935
|
const cellProps = {
|
|
920
936
|
cell: cell,
|
|
@@ -935,9 +951,9 @@ const KupBox = class {
|
|
|
935
951
|
kanbanMode() {
|
|
936
952
|
// Testing whether there are columns to group by
|
|
937
953
|
if (!this.kanban.columns || this.kanban.columns.length === 0) {
|
|
938
|
-
this.
|
|
954
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'No columns to group by detected.', KupDebugCategory.ERROR);
|
|
939
955
|
return {
|
|
940
|
-
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))),
|
|
941
957
|
style: { 'grid-template-columns': `repeat(1, 1fr)` },
|
|
942
958
|
};
|
|
943
959
|
}
|
|
@@ -958,7 +974,7 @@ const KupBox = class {
|
|
|
958
974
|
key.push(this.rows[index].cells[this.kanban.columns[j]].value);
|
|
959
975
|
}
|
|
960
976
|
catch (error) {
|
|
961
|
-
this.
|
|
977
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, error, KupDebugCategory.WARNING);
|
|
962
978
|
}
|
|
963
979
|
}
|
|
964
980
|
const check = {
|
|
@@ -1063,8 +1079,8 @@ const KupBox = class {
|
|
|
1063
1079
|
});
|
|
1064
1080
|
}
|
|
1065
1081
|
};
|
|
1066
|
-
this.
|
|
1067
|
-
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);
|
|
1068
1084
|
}
|
|
1069
1085
|
didRenderInteractables() {
|
|
1070
1086
|
if (this.dragEnabled) {
|
|
@@ -1074,7 +1090,7 @@ const KupBox = class {
|
|
|
1074
1090
|
const cellEl = this.rootElement.shadowRoot.querySelector('.box-object:hover');
|
|
1075
1091
|
return {
|
|
1076
1092
|
cell: cellEl['data-cell'],
|
|
1077
|
-
column: getColumnByName(this.
|
|
1093
|
+
column: getColumnByName(this.getVisibleColumns(), cellEl.dataset.column),
|
|
1078
1094
|
id: this.rootElement.id,
|
|
1079
1095
|
multiple: this.multiSelection,
|
|
1080
1096
|
row: cellEl['data-row'],
|
|
@@ -1083,7 +1099,7 @@ const KupBox = class {
|
|
|
1083
1099
|
};
|
|
1084
1100
|
if (row && !this.interactableDrag.includes(row)) {
|
|
1085
1101
|
this.interactableDrag.push(row);
|
|
1086
|
-
this.
|
|
1102
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.draggable(row, {
|
|
1087
1103
|
allowFrom: '.box-object',
|
|
1088
1104
|
cursorChecker() {
|
|
1089
1105
|
return null;
|
|
@@ -1098,10 +1114,10 @@ const KupBox = class {
|
|
|
1098
1114
|
const dataCb = () => {
|
|
1099
1115
|
const cell = this.rootElement.shadowRoot.querySelector('.box:hover');
|
|
1100
1116
|
if (!cell) {
|
|
1101
|
-
this.
|
|
1117
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, "Couldn't find cell hovered to retrieve dropzone informations!", KupDebugCategory.WARNING);
|
|
1102
1118
|
return;
|
|
1103
1119
|
}
|
|
1104
|
-
const path = this.
|
|
1120
|
+
const path = __classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(cell, this.rootElement);
|
|
1105
1121
|
const receivingDetails = this.getEventDetails(path);
|
|
1106
1122
|
return {
|
|
1107
1123
|
cell: receivingDetails.cell,
|
|
@@ -1112,7 +1128,7 @@ const KupBox = class {
|
|
|
1112
1128
|
};
|
|
1113
1129
|
if (!this.interactableDrop.includes(this.sectionRef)) {
|
|
1114
1130
|
this.interactableDrop.push(this.sectionRef);
|
|
1115
|
-
this.
|
|
1131
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.dropzone(this.sectionRef, {
|
|
1116
1132
|
accept: `[${kupDraggableAttr}]`,
|
|
1117
1133
|
}, {
|
|
1118
1134
|
dispatcher: this.rootElement,
|
|
@@ -1123,7 +1139,7 @@ const KupBox = class {
|
|
|
1123
1139
|
const row = this.rowsRefs[index];
|
|
1124
1140
|
if (row && !this.interactableDrop.includes(row)) {
|
|
1125
1141
|
this.interactableDrop.push(row);
|
|
1126
|
-
this.
|
|
1142
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.dropzone(row, {
|
|
1127
1143
|
accept: `[${kupDraggableAttr}]`,
|
|
1128
1144
|
}, {
|
|
1129
1145
|
callback: dataCb,
|
|
@@ -1138,7 +1154,7 @@ const KupBox = class {
|
|
|
1138
1154
|
/* L i f e c y c l e H o o k s */
|
|
1139
1155
|
/*-------------------------------------------------*/
|
|
1140
1156
|
componentWillLoad() {
|
|
1141
|
-
this.
|
|
1157
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logLoad(this, false);
|
|
1142
1158
|
if (this.rowsPerPage) {
|
|
1143
1159
|
this.currentRowsPerPage = this.rowsPerPage;
|
|
1144
1160
|
}
|
|
@@ -1147,8 +1163,8 @@ const KupBox = class {
|
|
|
1147
1163
|
this.currentRowsPerPage > this.data.rows.length) {
|
|
1148
1164
|
this.currentRowsPerPage = this.data.rows.length;
|
|
1149
1165
|
}
|
|
1150
|
-
this.
|
|
1151
|
-
this.
|
|
1166
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").language.register(this);
|
|
1167
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.register(this);
|
|
1152
1168
|
this.initWithPersistedState();
|
|
1153
1169
|
this.onDataChanged();
|
|
1154
1170
|
this.adjustPaginator();
|
|
@@ -1177,10 +1193,10 @@ const KupBox = class {
|
|
|
1177
1193
|
}
|
|
1178
1194
|
this.didLoadInteractables();
|
|
1179
1195
|
this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
|
|
1180
|
-
this.
|
|
1196
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logLoad(this, true);
|
|
1181
1197
|
}
|
|
1182
1198
|
componentWillRender() {
|
|
1183
|
-
this.
|
|
1199
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logRender(this, false);
|
|
1184
1200
|
}
|
|
1185
1201
|
componentDidRender() {
|
|
1186
1202
|
const root = this.rootElement.shadowRoot;
|
|
@@ -1194,7 +1210,7 @@ const KupBox = class {
|
|
|
1194
1210
|
this.persistState();
|
|
1195
1211
|
this.didRenderInteractables();
|
|
1196
1212
|
__classPrivateFieldGet(this, _KupBox_instances, "m", _KupBox_didRenderObservers).call(this);
|
|
1197
|
-
this.
|
|
1213
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logRender(this, true);
|
|
1198
1214
|
}
|
|
1199
1215
|
render() {
|
|
1200
1216
|
__classPrivateFieldSet(this, _KupBox_rowsRefs, [], "f");
|
|
@@ -1202,7 +1218,7 @@ const KupBox = class {
|
|
|
1202
1218
|
let sortPanel = null;
|
|
1203
1219
|
if (this.sortEnabled) {
|
|
1204
1220
|
// creating items
|
|
1205
|
-
const visibleColumnsItems = this.
|
|
1221
|
+
const visibleColumnsItems = this.getVisibleColumns().map((column) => {
|
|
1206
1222
|
const item = {
|
|
1207
1223
|
value: column.title,
|
|
1208
1224
|
id: column.name,
|
|
@@ -1212,7 +1228,7 @@ const KupBox = class {
|
|
|
1212
1228
|
});
|
|
1213
1229
|
const items = [{ value: '', id: '' }, ...visibleColumnsItems];
|
|
1214
1230
|
let textfieldData = {
|
|
1215
|
-
label: this.
|
|
1231
|
+
label: __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(KupLanguageGeneric.SORT_BY),
|
|
1216
1232
|
trailingIcon: true,
|
|
1217
1233
|
};
|
|
1218
1234
|
let listData = {
|
|
@@ -1227,7 +1243,7 @@ const KupBox = class {
|
|
|
1227
1243
|
}
|
|
1228
1244
|
let filterPanel = null;
|
|
1229
1245
|
if (this.globalFilter) {
|
|
1230
|
-
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) => {
|
|
1231
1247
|
window.clearTimeout(this.globalFilterTimeout);
|
|
1232
1248
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1233
1249
|
} })));
|
|
@@ -1247,7 +1263,7 @@ const KupBox = class {
|
|
|
1247
1263
|
let boxContent = null;
|
|
1248
1264
|
let containerStyle = {};
|
|
1249
1265
|
if (this.rows.length === 0) {
|
|
1250
|
-
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))));
|
|
1251
1267
|
containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
|
|
1252
1268
|
}
|
|
1253
1269
|
else if (isKanban) {
|
|
@@ -1267,17 +1283,19 @@ const KupBox = class {
|
|
|
1267
1283
|
boxContent.push(this.renderRow(rows[cnt++]));
|
|
1268
1284
|
}
|
|
1269
1285
|
}
|
|
1270
|
-
return (h(Host,
|
|
1286
|
+
return (h(Host, { "onKup-cell-click": (e) => {
|
|
1287
|
+
this.kupBoxCellClick.emit(e.detail);
|
|
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) => {
|
|
1271
1289
|
e.preventDefault();
|
|
1272
1290
|
}, ref: (el) => (this.boxContainer =
|
|
1273
1291
|
el) }, boxContent)))));
|
|
1274
1292
|
}
|
|
1275
1293
|
disconnectedCallback() {
|
|
1276
|
-
this.
|
|
1277
|
-
this.
|
|
1278
|
-
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);
|
|
1279
1297
|
if (this.scrollOnHover) {
|
|
1280
|
-
this.
|
|
1298
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.unregister(this.boxContainer);
|
|
1281
1299
|
}
|
|
1282
1300
|
// When component is destroyed, then the listener is removed. @See clickFunction for more details
|
|
1283
1301
|
document.removeEventListener('click', this.clickFunction.bind(this));
|
|
@@ -1296,21 +1314,21 @@ const KupBox = class {
|
|
|
1296
1314
|
"selectBox": ["onSelectBoxChanged"]
|
|
1297
1315
|
}; }
|
|
1298
1316
|
};
|
|
1299
|
-
_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() {
|
|
1300
1318
|
let somethingChanged = false;
|
|
1301
|
-
if (!this.
|
|
1319
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.sortBy, this.sortBy)) {
|
|
1302
1320
|
this.state.sortBy = this.sortBy;
|
|
1303
1321
|
somethingChanged = true;
|
|
1304
1322
|
}
|
|
1305
|
-
if (!this.
|
|
1323
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
1306
1324
|
this.state.globalFilterValue = this.globalFilterValue;
|
|
1307
1325
|
somethingChanged = true;
|
|
1308
1326
|
}
|
|
1309
|
-
if (!this.
|
|
1327
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.pageSelected, this.currentPage)) {
|
|
1310
1328
|
this.state.pageSelected = this.currentPage;
|
|
1311
1329
|
somethingChanged = true;
|
|
1312
1330
|
}
|
|
1313
|
-
if (!this.
|
|
1331
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
|
|
1314
1332
|
this.state.rowsPerPage = this.currentRowsPerPage;
|
|
1315
1333
|
somethingChanged = true;
|
|
1316
1334
|
}
|
|
@@ -1318,15 +1336,15 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1318
1336
|
const prefix = currentIndex > 0 ? ';' : '';
|
|
1319
1337
|
return accumulator + prefix + row.id;
|
|
1320
1338
|
}, '');
|
|
1321
|
-
if (!this.
|
|
1339
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.selectedRowsState, selectedRowsState)) {
|
|
1322
1340
|
this.state.selectedRowsState = selectedRowsState;
|
|
1323
1341
|
somethingChanged = true;
|
|
1324
1342
|
}
|
|
1325
|
-
if (!this.
|
|
1343
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
|
|
1326
1344
|
this.state.loadMoreLimit = this.loadMoreLimit;
|
|
1327
1345
|
somethingChanged = true;
|
|
1328
1346
|
}
|
|
1329
|
-
if (!this.
|
|
1347
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
|
|
1330
1348
|
this.state.showLoadMore = this.showLoadMore;
|
|
1331
1349
|
somethingChanged = true;
|
|
1332
1350
|
}
|
|
@@ -1340,7 +1358,7 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1340
1358
|
const callback = (entries) => {
|
|
1341
1359
|
entries.forEach((entry) => {
|
|
1342
1360
|
if (entry.isIntersecting) {
|
|
1343
|
-
this.
|
|
1361
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
|
|
1344
1362
|
const delta = this.data.rows.length - this.currentRowsPerPage;
|
|
1345
1363
|
if (delta < this.loadMoreStep) {
|
|
1346
1364
|
this.currentRowsPerPage += delta;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as registerInstance, c as createEvent,
|
|
2
|
-
import { k as kupManagerInstance, g as getProps, s as setProps, h as KupLanguageGeneric, w as getColumnByName, e as KupDebugCategory } from './kup-manager-
|
|
1
|
+
import { r as registerInstance, c as createEvent, 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-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';
|
|
@@ -13962,7 +13962,7 @@ class KupCalendarState {
|
|
|
13962
13962
|
}
|
|
13963
13963
|
}
|
|
13964
13964
|
|
|
13965
|
-
const kupCalendarCss = ".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{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-layer-1)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-subtle)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-gray-color-30)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-secondary)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-layer-2)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-text-secondary)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 1px solid var(--kup-border-subtle)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n var(--kup-layer-0)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-text-secondary)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n var(--kup-layer-2)\n );--kup_calendar_border_top_color:var(\n --kup-calendar-border-top-color,\n var(--kup-border-interactive)\n );--fc-border-color:var(--kup_calendar_border_color);background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;display:flex;justify-content:space-between;background-color:var(--kup_calendar_background_color)}.navigation__left{--kup-font-size:0.875em;display:flex;margin-left:var(--kup-space-03)}.navigation__right{display:flex;margin-right:var(--kup-space-03)}.navigation__title{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-event-title{white-space:normal;word-break:break-word}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color);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-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event-main{color:inherit}#kup-component .fc-event-title{padding:0.25em}#kup-component .fc-event-time{white-space:pre}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color);border-top:2px solid var(--kup_calendar_border_top_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color);opacity:0.7}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}@media (min-width: 599px){#kup-component .fc-daygrid-event{align-items:baseline;white-space:pre-line}}";
|
|
13965
|
+
const kupCalendarCss = ".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{--kup_calendar_background_color:var(\n --kup-calendar-background-color,\n var(--kup-layer-1)\n );--kup_calendar_border_color:var(\n --kup-calendar-border-color,\n var(--kup-border-subtle)\n );--kup_calendar_event_background_color:var(\n --kup-calendar-event-background-color,\n var(--kup-gray-color-30)\n );--kup_calendar_event_border_radius:var(\n --kup-calendar-event-border-radius,\n 4px\n );--kup_calendar_event_color:var(\n --kup-calendar-event-color,\n var(--kup-text-secondary)\n );--kup_calendar_font_family:var(\n --kup-calendar-font-family,\n var(--kup-font-family)\n );--kup_calendar_font_size:var(--kup-calendar-font-size, var(--kup-font-size));--kup_calendar_header_background_color:var(\n --kup-calendar-header-background-color,\n var(--kup-layer-2)\n );--kup_calendar_header_color:var(\n --kup-calendar-header-color,\n var(--kup-text-secondary)\n );--kup_calendar_navigator_border:var(\n --kup-calendar-navigator-border,\n 1px solid var(--kup-border-subtle)\n );--kup_calendar_no_work_day_background_color:var(\n --kup-calendar-no-work-day-background-color,\n var(--kup-layer-0)\n );--kup_calendar_no_work_day_color:var(\n --kup-calendar-no-work-day-color,\n var(--kup-text-secondary)\n );--kup_calendar_today_background_color:var(\n --kup-calendar-today-background-color,\n var(--kup-layer-2)\n );--kup_calendar_border_top_color:var(\n --kup-calendar-border-top-color,\n var(--kup-border-interactive)\n );--fc-border-color:var(--kup_calendar_border_color);background-color:var(--kup_calendar_background_color);display:block;font-family:var(--kup_calendar_font_family);font-size:var(--kup_calendar_font_size);height:100%;width:100%}.navigation{align-items:center;display:flex;justify-content:space-between;background-color:var(--kup_calendar_background_color)}.navigation__left{--kup-font-size:0.875em;display:flex;margin-left:var(--kup-space-03)}.navigation__right{display:flex;margin-right:var(--kup-space-03)}.navigation__title{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0;margin:0px;padding:0px 0.5em}.navigation__title--centered{padding:0.35em 0;text-align:center;width:100%}.icon-wrapper{display:flex;justify-content:flex-end;flex-wrap:wrap}.image-wrapper{display:flex;justify-content:space-between;flex-wrap:wrap}.image-wrapper img{width:20px;height:20px}.custom-icon{background-color:var(--kup_calendar_event_color);height:1.5em;width:1.5em}#kup-component .fc-toolbar.fc-header-toolbar{margin-top:1.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top{text-align:center;padding:0.5rem}#kup-component .fc-ltr .fc-dayGrid-view .fc-day-top .fc-day-number{float:none}#kup-component .fc-content{padding:0.25rem}#kup-component .fc-event-title{white-space:normal;word-break:break-word}#kup-component .fc-content,#kup-component .fc-divider,#kup-component .fc-list-heading td,#kup-component .fc-list-view,#kup-component .fc-popover,#kup-component .fc-row,#kup-component .fc-scrollgrid,#kup-component tbody,#kup-component td{border-color:var(--kup_calendar_border_color)}#kup-component .fc-col-header-cell{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color)}#kup-component .fc-h-event{background:none;border:none}#kup-component .fc-list-event-dot{border-color:var(--kup_calendar_event_background_color)}#kup-component .fc-list-day-cushion{background:var(--kup_calendar_header_background_color);color:var(--kup_calendar_header_color);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-component .fc-list-event:hover td{background:var(--kup-hover-background-color);color:var(--kup-hover-color)}#kup-component .fc-daygrid-event,#kup-component .fc-timegrid-event{background:var(--kup_calendar_event_background_color);border:none;border-color:var(--kup_calendar_event_background_color);color:var(--kup_calendar_event_color)}#kup-component .fc-event{padding:0.5rem}#kup-component .fc-event-main{color:inherit;display:flex}#kup-component .fc-event-title .fc-event-time{padding:0.25em}#kup-component .fc-event-time{white-space:pre}#kup-component td.fc-day-today{background-color:var(--kup_calendar_today_background_color);border-top:2px solid var(--kup_calendar_border_top_color)}#kup-component td.fc-day-sun,#kup-component td.fc-day-sat{background-color:var(--kup_calendar_no_work_day_background_color);color:var(--kup_calendar_no_work_day_color);opacity:0.7}@media (max-width: 599px){.navigation{flex-direction:column}.calendar{height:100%}.calendar .fc-view-harness{min-height:450px}.navigation .navigation__left{font-size:20px;gap:8px}.navigation .navigation__right .f-chip .chip-set .chip-set__item{font-size:16px}}@media (min-width: 599px){#kup-component .fc-daygrid-event{align-items:baseline;white-space:pre-line}}";
|
|
13966
13966
|
const KupCalendarStyle0 = kupCalendarCss;
|
|
13967
13967
|
|
|
13968
13968
|
const KupCalendar = class {
|
|
@@ -14091,24 +14091,42 @@ const KupCalendar = class {
|
|
|
14091
14091
|
row: event.extendedProps.row,
|
|
14092
14092
|
});
|
|
14093
14093
|
},
|
|
14094
|
+
eventTimeFormat: {
|
|
14095
|
+
hour: '2-digit',
|
|
14096
|
+
minute: '2-digit',
|
|
14097
|
+
},
|
|
14094
14098
|
eventDidMount: (info) => {
|
|
14099
|
+
// In the calendar component, we handle two cases:
|
|
14100
|
+
// if the '.fc-event-main' div exists, the event don't has start/end time;
|
|
14101
|
+
const content = document.createElement('div');
|
|
14102
|
+
const mainEvent = info.el.querySelector('.fc-event-main');
|
|
14103
|
+
if (!mainEvent) {
|
|
14104
|
+
const title = info.el.querySelector('.fc-event-title');
|
|
14105
|
+
const time = info.el.querySelector('.fc-event-time');
|
|
14106
|
+
content.append(time, title);
|
|
14107
|
+
content.style.display = 'flex';
|
|
14108
|
+
content.style.flexDirection = 'column';
|
|
14109
|
+
info.el.appendChild(content);
|
|
14110
|
+
}
|
|
14095
14111
|
if (this.iconCol) {
|
|
14096
14112
|
const row = info.event.extendedProps.row;
|
|
14097
14113
|
const cell = row.cells[this.iconCol];
|
|
14098
14114
|
if (cell === null || cell === void 0 ? void 0 : cell.value) {
|
|
14099
14115
|
const wrapper = document.createElement('div');
|
|
14100
14116
|
wrapper.classList.add('icon-wrapper');
|
|
14101
|
-
|
|
14102
|
-
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14117
|
+
const propsFImage = {
|
|
14118
|
+
resource: cell.value,
|
|
14119
|
+
placeholderResource: cell.placeholderIcon,
|
|
14120
|
+
sizeX: '1.5em',
|
|
14121
|
+
sizeY: '1.5em',
|
|
14122
|
+
wrapperClass: 'custom-icon',
|
|
14123
|
+
};
|
|
14124
|
+
const fImage = document.createElement('kup-image');
|
|
14125
|
+
Object.keys(propsFImage).forEach((prop) => (fImage[prop] = propsFImage[prop]));
|
|
14126
|
+
wrapper.appendChild(fImage);
|
|
14127
|
+
mainEvent
|
|
14128
|
+
? mainEvent.appendChild(wrapper)
|
|
14129
|
+
: info.el.appendChild(wrapper);
|
|
14112
14130
|
}
|
|
14113
14131
|
}
|
|
14114
14132
|
if (this.imageCol) {
|
|
@@ -14390,11 +14408,11 @@ const KupCalendar = class {
|
|
|
14390
14408
|
this.kupManager.debug.logRender(this, true);
|
|
14391
14409
|
}
|
|
14392
14410
|
render() {
|
|
14393
|
-
return (h$1(Host, { key: '
|
|
14411
|
+
return (h$1(Host, { key: '694d6c782eed06ec64232acc3ef163236c157711' }, h$1("style", { key: 'eaa3dca371969bb1cedb5b45e019ad6b563d3a0f' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '8d1d89e4526d1b50649d9486f5f292ff328d5457', id: componentWrapperId }, h$1("div", { key: 'fd7ce40682db901688644ff02e4fcd56f79c9256', class: "navigation" }, !this.hideNavigation ? (h$1("div", { class: "navigation__left" }, h$1(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h$1(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h$1(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h$1("div", { key: '832adde7b78762398fb46d100159bc9e3ad31ea3', class: `navigation__title ${this.hideNavigation
|
|
14394
14412
|
? 'navigation__title--centered'
|
|
14395
14413
|
: ''}`, ref: (el) => {
|
|
14396
14414
|
this.navTitle = el;
|
|
14397
|
-
} }), h$1("div", { key: '
|
|
14415
|
+
} }), h$1("div", { key: '93d4d527539c090ca8a29ee76c04ef8ee0c36d29', class: "navigation__right" }, this.enableChangeView ? (h$1(FChip, Object.assign({}, this.setChipProps()))) : null)), h$1("div", { key: 'cf94727499fdd2dd62a8e0fb0481575b631efb4f', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14398
14416
|
}
|
|
14399
14417
|
disconnectedCallback() {
|
|
14400
14418
|
if (this.calendar) {
|
|
@@ -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-eea4e836.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;
|