@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
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
7
|
-
const kupDataTableHelper = require('./kup-data-table-helper-
|
|
6
|
+
const kupManager = require('./kup-manager-ecc44384.js');
|
|
7
|
+
const kupDataTableHelper = require('./kup-data-table-helper-ff263f4f.js');
|
|
8
8
|
const fImage = require('./f-image-db10b066.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-dc085b9b.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
12
|
-
const fPaginatorUtils = require('./f-paginator-utils-
|
|
11
|
+
const fCell = require('./f-cell-be0c55ac.js');
|
|
12
|
+
const fPaginatorUtils = require('./f-paginator-utils-3f233ebe.js');
|
|
13
13
|
const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
|
|
14
14
|
require('./kup-dates-bc4cf9d0.js');
|
|
15
15
|
require('./f-button-bfafefb3.js');
|
|
16
16
|
require('./f-button-declarations-76ef9f87.js');
|
|
17
17
|
require('./f-checkbox-aaa6d45c.js');
|
|
18
|
-
require('./f-object-field-
|
|
19
|
-
require('./f-text-field-
|
|
18
|
+
require('./f-object-field-96e1c599.js');
|
|
19
|
+
require('./f-text-field-d91ab1e8.js');
|
|
20
20
|
require('./component-cb3b32f5.js');
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -101,7 +101,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
101
101
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
102
102
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
103
103
|
};
|
|
104
|
-
var _KupBox_instances, _KupBox_checkUpdateState, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
|
|
104
|
+
var _KupBox_instances, _KupBox_checkUpdateState, _KupBox_kupManager, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
|
|
105
105
|
const KupBox = class {
|
|
106
106
|
constructor(hostRef) {
|
|
107
107
|
index.registerInstance(this, hostRef);
|
|
@@ -114,6 +114,7 @@ const KupBox = class {
|
|
|
114
114
|
this.kupDidUnload = index.createEvent(this, "kup-box-didunload", 6);
|
|
115
115
|
this.kupBoxContextMenu = index.createEvent(this, "kup-box-contextmenu", 6);
|
|
116
116
|
this.kupLoadMoreClick = index.createEvent(this, "kup-box-loadmoreclick", 6);
|
|
117
|
+
this.kupBoxCellClick = index.createEvent(this, "kup-box-cell-click", 6);
|
|
117
118
|
_KupBox_instances.add(this);
|
|
118
119
|
this.state = new KupBoxState();
|
|
119
120
|
/*-------------------------------------------------*/
|
|
@@ -122,8 +123,7 @@ const KupBox = class {
|
|
|
122
123
|
/**
|
|
123
124
|
* Instance of the KupManager class.
|
|
124
125
|
*/
|
|
125
|
-
this
|
|
126
|
-
this.visibleColumns = [];
|
|
126
|
+
_KupBox_kupManager.set(this, kupManager.kupManagerInstance());
|
|
127
127
|
this.rows = [];
|
|
128
128
|
this.filteredRows = [];
|
|
129
129
|
this.sectionRef = null;
|
|
@@ -173,13 +173,14 @@ const KupBox = class {
|
|
|
173
173
|
this.stateId = '';
|
|
174
174
|
this.store = undefined;
|
|
175
175
|
this.swipeDisabled = false;
|
|
176
|
+
this.visibleColumns = undefined;
|
|
176
177
|
}
|
|
177
178
|
initWithPersistedState() {
|
|
178
179
|
if (this.store && this.stateId) {
|
|
179
180
|
this.state.load = true;
|
|
180
181
|
const state = this.store.getState(this.stateId);
|
|
181
182
|
if (state != null) {
|
|
182
|
-
this.
|
|
183
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Initialize with state for stateId ' +
|
|
183
184
|
this.stateId +
|
|
184
185
|
': ' +
|
|
185
186
|
state);
|
|
@@ -202,7 +203,7 @@ const KupBox = class {
|
|
|
202
203
|
return;
|
|
203
204
|
}
|
|
204
205
|
if (somethingChanged) {
|
|
205
|
-
this.
|
|
206
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Persisting stateId ' + this.stateId);
|
|
206
207
|
this.store.persistState(this.stateId, this.state);
|
|
207
208
|
}
|
|
208
209
|
}
|
|
@@ -218,7 +219,6 @@ const KupBox = class {
|
|
|
218
219
|
}
|
|
219
220
|
onDataChanged() {
|
|
220
221
|
kupManager.identify(this.getRows());
|
|
221
|
-
this.initVisibleColumns();
|
|
222
222
|
this.initRows();
|
|
223
223
|
this.checkLayout();
|
|
224
224
|
}
|
|
@@ -265,13 +265,24 @@ const KupBox = class {
|
|
|
265
265
|
? this.data.columns
|
|
266
266
|
: [{ title: '', name: '', size: undefined }];
|
|
267
267
|
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
getVisibleColumns() {
|
|
269
|
+
// Starting columns filter
|
|
270
|
+
let resultVisibleColumns = this.getColumns().filter((col) => {
|
|
271
|
+
const isNotCodVer = !__classPrivateFieldGet(this, _KupBox_kupManager, "f").data.column.isCodVer(col);
|
|
272
|
+
if (this.visibleColumns) {
|
|
273
|
+
// if visible columns is specified, include only those columns
|
|
274
|
+
return isNotCodVer && this.visibleColumns.includes(col.name);
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
return isNotCodVer && (!('visible' in col) || col.visible);
|
|
272
278
|
}
|
|
273
|
-
return true;
|
|
274
279
|
});
|
|
280
|
+
// order based on `visibleColumns`
|
|
281
|
+
if (this.visibleColumns) {
|
|
282
|
+
resultVisibleColumns = resultVisibleColumns.sort((a, b) => this.visibleColumns.indexOf(a.name) -
|
|
283
|
+
this.visibleColumns.indexOf(b.name));
|
|
284
|
+
}
|
|
285
|
+
return resultVisibleColumns;
|
|
275
286
|
}
|
|
276
287
|
getRows() {
|
|
277
288
|
return this.data && this.data.rows ? this.data.rows : [];
|
|
@@ -280,7 +291,7 @@ const KupBox = class {
|
|
|
280
291
|
this.filteredRows = this.getRows();
|
|
281
292
|
if (this.globalFilter && this.globalFilterValue) {
|
|
282
293
|
// filtering rows
|
|
283
|
-
this.filteredRows = kupDataTableHelper.filterRows(this.filteredRows, null, this.globalFilterValue, this.visibleColumns);
|
|
294
|
+
this.filteredRows = kupDataTableHelper.filterRows(this.filteredRows, null, this.globalFilterValue, this.getColumns(), undefined, undefined, this.visibleColumns);
|
|
284
295
|
}
|
|
285
296
|
this.rows = this.sortRows(this.filteredRows);
|
|
286
297
|
if (this.pagination) {
|
|
@@ -309,14 +320,14 @@ const KupBox = class {
|
|
|
309
320
|
}
|
|
310
321
|
checkScrollOnHover() {
|
|
311
322
|
if (this.boxContainer) {
|
|
312
|
-
if (!this.
|
|
323
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.isRegistered(this.boxContainer)) {
|
|
313
324
|
if (this.scrollOnHover) {
|
|
314
|
-
this.
|
|
325
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.register(this.boxContainer);
|
|
315
326
|
}
|
|
316
327
|
}
|
|
317
328
|
else {
|
|
318
329
|
if (!this.scrollOnHover) {
|
|
319
|
-
this.
|
|
330
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.unregister(this.boxContainer);
|
|
320
331
|
}
|
|
321
332
|
}
|
|
322
333
|
}
|
|
@@ -334,7 +345,7 @@ const KupBox = class {
|
|
|
334
345
|
sections: [],
|
|
335
346
|
};
|
|
336
347
|
// adding box objects to section
|
|
337
|
-
const visibleColumns = this.
|
|
348
|
+
const visibleColumns = this.getVisibleColumns();
|
|
338
349
|
let size = visibleColumns.length;
|
|
339
350
|
let content = [];
|
|
340
351
|
let cnt = 0;
|
|
@@ -350,7 +361,7 @@ const KupBox = class {
|
|
|
350
361
|
};
|
|
351
362
|
}
|
|
352
363
|
onSortChange(e) {
|
|
353
|
-
let column = kupManager.getColumnByName(this.
|
|
364
|
+
let column = kupManager.getColumnByName(this.getVisibleColumns(), e.detail.value);
|
|
354
365
|
this.sortBy = column.name;
|
|
355
366
|
}
|
|
356
367
|
onGlobalFilterChange({ detail }) {
|
|
@@ -419,7 +430,7 @@ const KupBox = class {
|
|
|
419
430
|
else {
|
|
420
431
|
cell = boxObject['data-cell'];
|
|
421
432
|
row = boxObject['data-row'];
|
|
422
|
-
column = kupManager.getColumnByName(this.
|
|
433
|
+
column = kupManager.getColumnByName(this.getVisibleColumns(), boxObject.dataset.column);
|
|
423
434
|
}
|
|
424
435
|
}
|
|
425
436
|
return {
|
|
@@ -431,7 +442,7 @@ const KupBox = class {
|
|
|
431
442
|
};
|
|
432
443
|
}
|
|
433
444
|
clickHandler(e) {
|
|
434
|
-
const details = this.getEventDetails(this.
|
|
445
|
+
const details = this.getEventDetails(__classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
435
446
|
if (details.row) {
|
|
436
447
|
if (this.multiSelection) {
|
|
437
448
|
this.onSelectionCheckChange(details.row);
|
|
@@ -443,7 +454,7 @@ const KupBox = class {
|
|
|
443
454
|
return details;
|
|
444
455
|
}
|
|
445
456
|
contextMenuHandler(e) {
|
|
446
|
-
const details = this.getEventDetails(this.
|
|
457
|
+
const details = this.getEventDetails(__classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(e.target, this.rootElement), e);
|
|
447
458
|
return details;
|
|
448
459
|
}
|
|
449
460
|
/**
|
|
@@ -594,8 +605,9 @@ const KupBox = class {
|
|
|
594
605
|
progressbar: [],
|
|
595
606
|
text: [],
|
|
596
607
|
};
|
|
597
|
-
|
|
598
|
-
|
|
608
|
+
const visibleColumns = this.getVisibleColumns();
|
|
609
|
+
for (let index = 0; index < visibleColumns.length; index++) {
|
|
610
|
+
const column = visibleColumns[index];
|
|
599
611
|
if (column.visible !== false) {
|
|
600
612
|
cardData.cell.push(row.cells[column.name]);
|
|
601
613
|
cardData.columns.push(column);
|
|
@@ -724,7 +736,7 @@ const KupBox = class {
|
|
|
724
736
|
return index.h("kup-card", Object.assign({ data: cardData }, this.cardData));
|
|
725
737
|
}
|
|
726
738
|
renderRow(row) {
|
|
727
|
-
const visibleColumns = [...this.
|
|
739
|
+
const visibleColumns = [...this.getVisibleColumns()];
|
|
728
740
|
let boxContent = null;
|
|
729
741
|
// if layout in row, use that one
|
|
730
742
|
let rowLayout = row.layout;
|
|
@@ -874,10 +886,10 @@ const KupBox = class {
|
|
|
874
886
|
headerTitle = section.title;
|
|
875
887
|
}
|
|
876
888
|
else if (sectionExpanded) {
|
|
877
|
-
headerTitle = this.
|
|
889
|
+
headerTitle = __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.COLLAPSE);
|
|
878
890
|
}
|
|
879
891
|
else {
|
|
880
|
-
headerTitle = this.
|
|
892
|
+
headerTitle = __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EXPAND);
|
|
881
893
|
}
|
|
882
894
|
sectionContainer = (index.h("div", { class: sectionClass, style: sectionStyle }, index.h("div", { class: contentClass }, sectionContent), index.h("div", { class: "header", role: "button", onClick: (e) => {
|
|
883
895
|
e.stopPropagation();
|
|
@@ -913,12 +925,16 @@ const KupBox = class {
|
|
|
913
925
|
}
|
|
914
926
|
const cell = row.cells[boxObject.column];
|
|
915
927
|
let title = undefined;
|
|
916
|
-
if (cell && !this.
|
|
928
|
+
if (cell && !__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.isEmptyKupObj(cell.obj)) {
|
|
917
929
|
classObj['is-obj'] = true;
|
|
918
|
-
if (this.
|
|
930
|
+
if (__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.isDebug()) {
|
|
919
931
|
title =
|
|
920
932
|
cell.obj.t + '; ' + cell.obj.p + '; ' + cell.obj.k + ';';
|
|
921
933
|
}
|
|
934
|
+
if (!cell.isEditable) {
|
|
935
|
+
cell.cssClass =
|
|
936
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").data.cell.getObjectRelatedStyleClasses(cell.obj, cell.cssClass);
|
|
937
|
+
}
|
|
922
938
|
}
|
|
923
939
|
const cellProps = {
|
|
924
940
|
cell: cell,
|
|
@@ -939,9 +955,9 @@ const KupBox = class {
|
|
|
939
955
|
kanbanMode() {
|
|
940
956
|
// Testing whether there are columns to group by
|
|
941
957
|
if (!this.kanban.columns || this.kanban.columns.length === 0) {
|
|
942
|
-
this.
|
|
958
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'No columns to group by detected.', kupManager.KupDebugCategory.ERROR);
|
|
943
959
|
return {
|
|
944
|
-
jsx: (index.h("div", { id: "empty-data-message", class: "box-wrapper" }, index.h("div", { ref: (el) => this.rowsRefs.push(el) }), this.
|
|
960
|
+
jsx: (index.h("div", { id: "empty-data-message", class: "box-wrapper" }, index.h("div", { ref: (el) => this.rowsRefs.push(el) }), __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA))),
|
|
945
961
|
style: { 'grid-template-columns': `repeat(1, 1fr)` },
|
|
946
962
|
};
|
|
947
963
|
}
|
|
@@ -962,7 +978,7 @@ const KupBox = class {
|
|
|
962
978
|
key.push(this.rows[index].cells[this.kanban.columns[j]].value);
|
|
963
979
|
}
|
|
964
980
|
catch (error) {
|
|
965
|
-
this.
|
|
981
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, error, kupManager.KupDebugCategory.WARNING);
|
|
966
982
|
}
|
|
967
983
|
}
|
|
968
984
|
const check = {
|
|
@@ -1067,8 +1083,8 @@ const KupBox = class {
|
|
|
1067
1083
|
});
|
|
1068
1084
|
}
|
|
1069
1085
|
};
|
|
1070
|
-
this.
|
|
1071
|
-
this.
|
|
1086
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.on(this.boxContainer, kupManager.KupPointerEventTypes.TAP, tapCb);
|
|
1087
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.on(this.boxContainer, kupManager.KupPointerEventTypes.HOLD, holdCb);
|
|
1072
1088
|
}
|
|
1073
1089
|
didRenderInteractables() {
|
|
1074
1090
|
if (this.dragEnabled) {
|
|
@@ -1078,7 +1094,7 @@ const KupBox = class {
|
|
|
1078
1094
|
const cellEl = this.rootElement.shadowRoot.querySelector('.box-object:hover');
|
|
1079
1095
|
return {
|
|
1080
1096
|
cell: cellEl['data-cell'],
|
|
1081
|
-
column: kupManager.getColumnByName(this.
|
|
1097
|
+
column: kupManager.getColumnByName(this.getVisibleColumns(), cellEl.dataset.column),
|
|
1082
1098
|
id: this.rootElement.id,
|
|
1083
1099
|
multiple: this.multiSelection,
|
|
1084
1100
|
row: cellEl['data-row'],
|
|
@@ -1087,7 +1103,7 @@ const KupBox = class {
|
|
|
1087
1103
|
};
|
|
1088
1104
|
if (row && !this.interactableDrag.includes(row)) {
|
|
1089
1105
|
this.interactableDrag.push(row);
|
|
1090
|
-
this.
|
|
1106
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.draggable(row, {
|
|
1091
1107
|
allowFrom: '.box-object',
|
|
1092
1108
|
cursorChecker() {
|
|
1093
1109
|
return null;
|
|
@@ -1102,10 +1118,10 @@ const KupBox = class {
|
|
|
1102
1118
|
const dataCb = () => {
|
|
1103
1119
|
const cell = this.rootElement.shadowRoot.querySelector('.box:hover');
|
|
1104
1120
|
if (!cell) {
|
|
1105
|
-
this.
|
|
1121
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, "Couldn't find cell hovered to retrieve dropzone informations!", kupManager.KupDebugCategory.WARNING);
|
|
1106
1122
|
return;
|
|
1107
1123
|
}
|
|
1108
|
-
const path = this.
|
|
1124
|
+
const path = __classPrivateFieldGet(this, _KupBox_kupManager, "f").getEventPath(cell, this.rootElement);
|
|
1109
1125
|
const receivingDetails = this.getEventDetails(path);
|
|
1110
1126
|
return {
|
|
1111
1127
|
cell: receivingDetails.cell,
|
|
@@ -1116,7 +1132,7 @@ const KupBox = class {
|
|
|
1116
1132
|
};
|
|
1117
1133
|
if (!this.interactableDrop.includes(this.sectionRef)) {
|
|
1118
1134
|
this.interactableDrop.push(this.sectionRef);
|
|
1119
|
-
this.
|
|
1135
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.dropzone(this.sectionRef, {
|
|
1120
1136
|
accept: `[${kupManager.kupDraggableAttr}]`,
|
|
1121
1137
|
}, {
|
|
1122
1138
|
dispatcher: this.rootElement,
|
|
@@ -1127,7 +1143,7 @@ const KupBox = class {
|
|
|
1127
1143
|
const row = this.rowsRefs[index];
|
|
1128
1144
|
if (row && !this.interactableDrop.includes(row)) {
|
|
1129
1145
|
this.interactableDrop.push(row);
|
|
1130
|
-
this.
|
|
1146
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.dropzone(row, {
|
|
1131
1147
|
accept: `[${kupManager.kupDraggableAttr}]`,
|
|
1132
1148
|
}, {
|
|
1133
1149
|
callback: dataCb,
|
|
@@ -1142,7 +1158,7 @@ const KupBox = class {
|
|
|
1142
1158
|
/* L i f e c y c l e H o o k s */
|
|
1143
1159
|
/*-------------------------------------------------*/
|
|
1144
1160
|
componentWillLoad() {
|
|
1145
|
-
this.
|
|
1161
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logLoad(this, false);
|
|
1146
1162
|
if (this.rowsPerPage) {
|
|
1147
1163
|
this.currentRowsPerPage = this.rowsPerPage;
|
|
1148
1164
|
}
|
|
@@ -1151,8 +1167,8 @@ const KupBox = class {
|
|
|
1151
1167
|
this.currentRowsPerPage > this.data.rows.length) {
|
|
1152
1168
|
this.currentRowsPerPage = this.data.rows.length;
|
|
1153
1169
|
}
|
|
1154
|
-
this.
|
|
1155
|
-
this.
|
|
1170
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").language.register(this);
|
|
1171
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.register(this);
|
|
1156
1172
|
this.initWithPersistedState();
|
|
1157
1173
|
this.onDataChanged();
|
|
1158
1174
|
this.adjustPaginator();
|
|
@@ -1181,10 +1197,10 @@ const KupBox = class {
|
|
|
1181
1197
|
}
|
|
1182
1198
|
this.didLoadInteractables();
|
|
1183
1199
|
this.kupDidLoad.emit({ comp: this, id: this.rootElement.id });
|
|
1184
|
-
this.
|
|
1200
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logLoad(this, true);
|
|
1185
1201
|
}
|
|
1186
1202
|
componentWillRender() {
|
|
1187
|
-
this.
|
|
1203
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logRender(this, false);
|
|
1188
1204
|
}
|
|
1189
1205
|
componentDidRender() {
|
|
1190
1206
|
const root = this.rootElement.shadowRoot;
|
|
@@ -1198,7 +1214,7 @@ const KupBox = class {
|
|
|
1198
1214
|
this.persistState();
|
|
1199
1215
|
this.didRenderInteractables();
|
|
1200
1216
|
__classPrivateFieldGet(this, _KupBox_instances, "m", _KupBox_didRenderObservers).call(this);
|
|
1201
|
-
this.
|
|
1217
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logRender(this, true);
|
|
1202
1218
|
}
|
|
1203
1219
|
render() {
|
|
1204
1220
|
__classPrivateFieldSet(this, _KupBox_rowsRefs, [], "f");
|
|
@@ -1206,7 +1222,7 @@ const KupBox = class {
|
|
|
1206
1222
|
let sortPanel = null;
|
|
1207
1223
|
if (this.sortEnabled) {
|
|
1208
1224
|
// creating items
|
|
1209
|
-
const visibleColumnsItems = this.
|
|
1225
|
+
const visibleColumnsItems = this.getVisibleColumns().map((column) => {
|
|
1210
1226
|
const item = {
|
|
1211
1227
|
value: column.title,
|
|
1212
1228
|
id: column.name,
|
|
@@ -1216,7 +1232,7 @@ const KupBox = class {
|
|
|
1216
1232
|
});
|
|
1217
1233
|
const items = [{ value: '', id: '' }, ...visibleColumnsItems];
|
|
1218
1234
|
let textfieldData = {
|
|
1219
|
-
label: this.
|
|
1235
|
+
label: __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.SORT_BY),
|
|
1220
1236
|
trailingIcon: true,
|
|
1221
1237
|
};
|
|
1222
1238
|
let listData = {
|
|
@@ -1231,7 +1247,7 @@ const KupBox = class {
|
|
|
1231
1247
|
}
|
|
1232
1248
|
let filterPanel = null;
|
|
1233
1249
|
if (this.globalFilter) {
|
|
1234
|
-
filterPanel = (index.h("div", { id: "global-filter" }, index.h("kup-text-field", { fullWidth: true, label: this.
|
|
1250
|
+
filterPanel = (index.h("div", { id: "global-filter" }, index.h("kup-text-field", { fullWidth: true, label: __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(kupManager.KupLanguageSearch.SEARCH), icon: kupManager.KupThemeIconValues.SEARCH, initialValue: this.globalFilterValue, "onkup-textfield-input": (event) => {
|
|
1235
1251
|
window.clearTimeout(this.globalFilterTimeout);
|
|
1236
1252
|
this.globalFilterTimeout = window.setTimeout(() => this.onGlobalFilterChange(event), 600);
|
|
1237
1253
|
} })));
|
|
@@ -1251,7 +1267,7 @@ const KupBox = class {
|
|
|
1251
1267
|
let boxContent = null;
|
|
1252
1268
|
let containerStyle = {};
|
|
1253
1269
|
if (this.rows.length === 0) {
|
|
1254
|
-
boxContent = (index.h("div", { id: "empty-data-message", class: "box-wrapper" }, index.h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, this.
|
|
1270
|
+
boxContent = (index.h("div", { id: "empty-data-message", class: "box-wrapper" }, index.h("div", { class: "box", ref: (el) => this.rowsRefs.push(el) }, __classPrivateFieldGet(this, _KupBox_kupManager, "f").language.translate(kupManager.KupLanguageGeneric.EMPTY_DATA))));
|
|
1255
1271
|
containerStyle = { 'grid-template-columns': `repeat(1, 1fr)` };
|
|
1256
1272
|
}
|
|
1257
1273
|
else if (isKanban) {
|
|
@@ -1271,17 +1287,19 @@ const KupBox = class {
|
|
|
1271
1287
|
boxContent.push(this.renderRow(rows[cnt++]));
|
|
1272
1288
|
}
|
|
1273
1289
|
}
|
|
1274
|
-
return (index.h(index.Host,
|
|
1290
|
+
return (index.h(index.Host, { "onKup-cell-click": (e) => {
|
|
1291
|
+
this.kupBoxCellClick.emit(e.detail);
|
|
1292
|
+
} }, index.h("style", null, __classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.setKupStyle(this.rootElement)), index.h("div", { id: GenericVariables.componentWrapperId }, index.h("div", { class: 'box-component', ref: (el) => (this.sectionRef = el) }, sortPanel, filterPanel, paginator, index.h("div", { class: isKanban ? 'is-kanban' : '', id: 'box-container', style: containerStyle, onContextMenu: (e) => {
|
|
1275
1293
|
e.preventDefault();
|
|
1276
1294
|
}, ref: (el) => (this.boxContainer =
|
|
1277
1295
|
el) }, boxContent)))));
|
|
1278
1296
|
}
|
|
1279
1297
|
disconnectedCallback() {
|
|
1280
|
-
this.
|
|
1281
|
-
this.
|
|
1282
|
-
this.
|
|
1298
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").interact.unregister(this.interactableDrag.concat(this.interactableDrop));
|
|
1299
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").language.unregister(this);
|
|
1300
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").theme.unregister(this);
|
|
1283
1301
|
if (this.scrollOnHover) {
|
|
1284
|
-
this.
|
|
1302
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").scrollOnHover.unregister(this.boxContainer);
|
|
1285
1303
|
}
|
|
1286
1304
|
// When component is destroyed, then the listener is removed. @See clickFunction for more details
|
|
1287
1305
|
document.removeEventListener('click', this.clickFunction.bind(this));
|
|
@@ -1300,21 +1318,21 @@ const KupBox = class {
|
|
|
1300
1318
|
"selectBox": ["onSelectBoxChanged"]
|
|
1301
1319
|
}; }
|
|
1302
1320
|
};
|
|
1303
|
-
_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() {
|
|
1321
|
+
_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() {
|
|
1304
1322
|
let somethingChanged = false;
|
|
1305
|
-
if (!this.
|
|
1323
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.sortBy, this.sortBy)) {
|
|
1306
1324
|
this.state.sortBy = this.sortBy;
|
|
1307
1325
|
somethingChanged = true;
|
|
1308
1326
|
}
|
|
1309
|
-
if (!this.
|
|
1327
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.globalFilterValue, this.globalFilterValue)) {
|
|
1310
1328
|
this.state.globalFilterValue = this.globalFilterValue;
|
|
1311
1329
|
somethingChanged = true;
|
|
1312
1330
|
}
|
|
1313
|
-
if (!this.
|
|
1331
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.pageSelected, this.currentPage)) {
|
|
1314
1332
|
this.state.pageSelected = this.currentPage;
|
|
1315
1333
|
somethingChanged = true;
|
|
1316
1334
|
}
|
|
1317
|
-
if (!this.
|
|
1335
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.rowsPerPage, this.currentRowsPerPage)) {
|
|
1318
1336
|
this.state.rowsPerPage = this.currentRowsPerPage;
|
|
1319
1337
|
somethingChanged = true;
|
|
1320
1338
|
}
|
|
@@ -1322,15 +1340,15 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1322
1340
|
const prefix = currentIndex > 0 ? ';' : '';
|
|
1323
1341
|
return accumulator + prefix + row.id;
|
|
1324
1342
|
}, '');
|
|
1325
|
-
if (!this.
|
|
1343
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.selectedRowsState, selectedRowsState)) {
|
|
1326
1344
|
this.state.selectedRowsState = selectedRowsState;
|
|
1327
1345
|
somethingChanged = true;
|
|
1328
1346
|
}
|
|
1329
|
-
if (!this.
|
|
1347
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
|
|
1330
1348
|
this.state.loadMoreLimit = this.loadMoreLimit;
|
|
1331
1349
|
somethingChanged = true;
|
|
1332
1350
|
}
|
|
1333
|
-
if (!this.
|
|
1351
|
+
if (!__classPrivateFieldGet(this, _KupBox_kupManager, "f").objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
|
|
1334
1352
|
this.state.showLoadMore = this.showLoadMore;
|
|
1335
1353
|
somethingChanged = true;
|
|
1336
1354
|
}
|
|
@@ -1344,7 +1362,7 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1344
1362
|
const callback = (entries) => {
|
|
1345
1363
|
entries.forEach((entry) => {
|
|
1346
1364
|
if (entry.isIntersecting) {
|
|
1347
|
-
this.
|
|
1365
|
+
__classPrivateFieldGet(this, _KupBox_kupManager, "f").debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
|
|
1348
1366
|
const delta = this.data.rows.length - this.currentRowsPerPage;
|
|
1349
1367
|
if (delta < this.loadMoreStep) {
|
|
1350
1368
|
this.currentRowsPerPage += delta;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index$4 = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-ecc44384.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-bfafefb3.js');
|
|
9
|
-
const fChip = require('./f-chip-
|
|
9
|
+
const fChip = require('./f-chip-dc085b9b.js');
|
|
10
10
|
const kupDates = require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-db10b066.js');
|
|
@@ -13966,7 +13966,7 @@ class KupCalendarState {
|
|
|
13966
13966
|
}
|
|
13967
13967
|
}
|
|
13968
13968
|
|
|
13969
|
-
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}}";
|
|
13969
|
+
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}}";
|
|
13970
13970
|
const KupCalendarStyle0 = kupCalendarCss;
|
|
13971
13971
|
|
|
13972
13972
|
const KupCalendar = class {
|
|
@@ -14095,24 +14095,42 @@ const KupCalendar = class {
|
|
|
14095
14095
|
row: event.extendedProps.row,
|
|
14096
14096
|
});
|
|
14097
14097
|
},
|
|
14098
|
+
eventTimeFormat: {
|
|
14099
|
+
hour: '2-digit',
|
|
14100
|
+
minute: '2-digit',
|
|
14101
|
+
},
|
|
14098
14102
|
eventDidMount: (info) => {
|
|
14103
|
+
// In the calendar component, we handle two cases:
|
|
14104
|
+
// if the '.fc-event-main' div exists, the event don't has start/end time;
|
|
14105
|
+
const content = document.createElement('div');
|
|
14106
|
+
const mainEvent = info.el.querySelector('.fc-event-main');
|
|
14107
|
+
if (!mainEvent) {
|
|
14108
|
+
const title = info.el.querySelector('.fc-event-title');
|
|
14109
|
+
const time = info.el.querySelector('.fc-event-time');
|
|
14110
|
+
content.append(time, title);
|
|
14111
|
+
content.style.display = 'flex';
|
|
14112
|
+
content.style.flexDirection = 'column';
|
|
14113
|
+
info.el.appendChild(content);
|
|
14114
|
+
}
|
|
14099
14115
|
if (this.iconCol) {
|
|
14100
14116
|
const row = info.event.extendedProps.row;
|
|
14101
14117
|
const cell = row.cells[this.iconCol];
|
|
14102
14118
|
if (cell === null || cell === void 0 ? void 0 : cell.value) {
|
|
14103
14119
|
const wrapper = document.createElement('div');
|
|
14104
14120
|
wrapper.classList.add('icon-wrapper');
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
|
|
14121
|
+
const propsFImage = {
|
|
14122
|
+
resource: cell.value,
|
|
14123
|
+
placeholderResource: cell.placeholderIcon,
|
|
14124
|
+
sizeX: '1.5em',
|
|
14125
|
+
sizeY: '1.5em',
|
|
14126
|
+
wrapperClass: 'custom-icon',
|
|
14127
|
+
};
|
|
14128
|
+
const fImage = document.createElement('kup-image');
|
|
14129
|
+
Object.keys(propsFImage).forEach((prop) => (fImage[prop] = propsFImage[prop]));
|
|
14130
|
+
wrapper.appendChild(fImage);
|
|
14131
|
+
mainEvent
|
|
14132
|
+
? mainEvent.appendChild(wrapper)
|
|
14133
|
+
: info.el.appendChild(wrapper);
|
|
14116
14134
|
}
|
|
14117
14135
|
}
|
|
14118
14136
|
if (this.imageCol) {
|
|
@@ -14394,11 +14412,11 @@ const KupCalendar = class {
|
|
|
14394
14412
|
this.kupManager.debug.logRender(this, true);
|
|
14395
14413
|
}
|
|
14396
14414
|
render() {
|
|
14397
|
-
return (index$4.h(index$4.Host, { key: '
|
|
14415
|
+
return (index$4.h(index$4.Host, { key: '694d6c782eed06ec64232acc3ef163236c157711' }, index$4.h("style", { key: 'eaa3dca371969bb1cedb5b45e019ad6b563d3a0f' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '8d1d89e4526d1b50649d9486f5f292ff328d5457', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: 'fd7ce40682db901688644ff02e4fcd56f79c9256', class: "navigation" }, !this.hideNavigation ? (index$4.h("div", { class: "navigation__left" }, index$4.h(fButton.FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), index$4.h(fButton.FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), index$4.h(fButton.FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(kupManager.KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, index$4.h("div", { key: '832adde7b78762398fb46d100159bc9e3ad31ea3', class: `navigation__title ${this.hideNavigation
|
|
14398
14416
|
? 'navigation__title--centered'
|
|
14399
14417
|
: ''}`, ref: (el) => {
|
|
14400
14418
|
this.navTitle = el;
|
|
14401
|
-
} }), index$4.h("div", { key: '
|
|
14419
|
+
} }), index$4.h("div", { key: '93d4d527539c090ca8a29ee76c04ef8ee0c36d29', class: "navigation__right" }, this.enableChangeView ? (index$4.h(fChip.FChip, Object.assign({}, this.setChipProps()))) : null)), index$4.h("div", { key: 'cf94727499fdd2dd62a8e0fb0481575b631efb4f', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14402
14420
|
}
|
|
14403
14421
|
disconnectedCallback() {
|
|
14404
14422
|
if (this.calendar) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-ecc44384.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
require('./kup-dates-bc4cf9d0.js');
|
|
9
9
|
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-c7d441d8.js');
|
|
6
|
-
const kupManager = require('./kup-manager-
|
|
6
|
+
const kupManager = require('./kup-manager-ecc44384.js');
|
|
7
7
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
8
8
|
const fButton = require('./f-button-bfafefb3.js');
|
|
9
|
-
const fCell = require('./f-cell-
|
|
9
|
+
const fCell = require('./f-cell-be0c55ac.js');
|
|
10
10
|
require('./kup-dates-bc4cf9d0.js');
|
|
11
11
|
require('./f-button-declarations-76ef9f87.js');
|
|
12
12
|
require('./f-image-db10b066.js');
|
|
13
13
|
require('./f-checkbox-aaa6d45c.js');
|
|
14
|
-
require('./f-chip-
|
|
15
|
-
require('./f-object-field-
|
|
16
|
-
require('./f-text-field-
|
|
14
|
+
require('./f-chip-dc085b9b.js');
|
|
15
|
+
require('./f-object-field-96e1c599.js');
|
|
16
|
+
require('./f-text-field-d91ab1e8.js');
|
|
17
17
|
|
|
18
18
|
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%}";
|
|
19
19
|
const KupCellStyle0 = kupCellCss;
|