@sme.up/ketchup 9.6.0 → 9.6.2
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-button-623dfcc3.js → f-button-4c346ca8.js} +1 -1
- package/dist/cjs/{f-cell-9c718d83.js → f-cell-8f3d12fd.js} +5 -5
- package/dist/cjs/{f-chip-c8efad5b.js → f-chip-a6c800be.js} +2 -2
- package/dist/cjs/{f-image-b61cc967.js → f-image-40476fa6.js} +1 -1
- package/dist/cjs/{f-paginator-utils-67dbc14c.js → f-paginator-utils-c652ceaa.js} +6 -6
- package/dist/cjs/{f-text-field-a09b1705.js → f-text-field-1f77ef23.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 +2 -2
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +91 -66
- package/dist/cjs/kup-box.cjs.entry.js +76 -14
- package/dist/cjs/kup-calendar.cjs.entry.js +8 -6
- package/dist/cjs/kup-card-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +6 -6
- package/dist/cjs/kup-dashboard.cjs.entry.js +4 -4
- package/dist/cjs/kup-drawer.cjs.entry.js +1 -1
- package/dist/cjs/kup-echart.cjs.entry.js +1 -1
- package/dist/cjs/kup-editor.cjs.entry.js +1 -1
- package/dist/cjs/kup-family-tree.cjs.entry.js +3 -3
- package/dist/cjs/kup-grid.cjs.entry.js +1 -1
- package/dist/cjs/kup-iframe.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +6 -6
- package/dist/cjs/kup-lazy.cjs.entry.js +1 -1
- package/dist/cjs/kup-magic-box.cjs.entry.js +2 -2
- package/dist/cjs/{kup-manager-227c4be2.js → kup-manager-08f1585b.js} +54 -41
- 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-photo-frame.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 +3 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/index.js +4 -0
- package/dist/collection/assets/planner-example-4.js +4 -4
- package/dist/collection/assets/planner-example-5.js +3175 -0
- package/dist/collection/components/kup-box/kup-box-declarations.js +11 -0
- package/dist/collection/components/kup-box/kup-box-state.js +2 -0
- package/dist/collection/components/kup-box/kup-box.js +169 -9
- package/dist/collection/components/kup-calendar/kup-calendar.js +4 -2
- package/dist/collection/components/kup-card/built-in/kup-card-openai.js +29 -1
- package/dist/collection/components/kup-card/kup-card.css +7 -0
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -17
- package/dist/collection/managers/kup-openai/kup-openai.js +53 -40
- package/dist/components/kup-autocomplete2.js +99 -74
- package/dist/components/kup-box2.js +74 -8
- package/dist/components/kup-button-list.js +1 -1
- package/dist/components/kup-button.js +1 -1
- package/dist/components/kup-calendar.js +5 -3
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-chart.js +1 -1
- package/dist/components/kup-checkbox.js +1 -1
- package/dist/components/kup-chip.js +1 -1
- package/dist/components/kup-color-picker.js +1 -1
- package/dist/components/kup-combobox.js +1 -1
- package/dist/components/kup-dashboard.js +1 -1
- package/dist/components/kup-data-table.js +1 -1
- package/dist/components/kup-date-picker.js +1 -1
- package/dist/components/kup-dialog.js +1 -1
- package/dist/components/kup-dropdown-button.js +1 -1
- package/dist/components/kup-family-tree.js +1 -1
- package/dist/components/kup-form.js +1 -1
- package/dist/components/kup-gauge.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +1 -1
- package/dist/components/kup-manager.js +54 -41
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-radio.js +1 -1
- package/dist/components/kup-rating.js +1 -1
- package/dist/components/kup-snackbar.js +1 -1
- package/dist/components/kup-spinner.js +1 -1
- package/dist/components/kup-switch.js +1 -1
- package/dist/components/kup-tab-bar.js +1 -1
- package/dist/components/kup-text-field.js +1 -1
- package/dist/components/kup-time-picker.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/esm/{f-button-121958b3.js → f-button-90a7ea86.js} +1 -1
- package/dist/esm/{f-cell-959b83db.js → f-cell-fdd338c5.js} +5 -5
- package/dist/esm/{f-chip-915ddf53.js → f-chip-4e6341a6.js} +2 -2
- package/dist/esm/{f-image-98371dac.js → f-image-5210f0b3.js} +1 -1
- package/dist/esm/{f-paginator-utils-f5f4c666.js → f-paginator-utils-3f179999.js} +3 -3
- package/dist/esm/{f-text-field-0df308e4.js → f-text-field-8429a853.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-accordion.entry.js +2 -2
- package/dist/esm/kup-autocomplete_27.entry.js +91 -66
- package/dist/esm/kup-box.entry.js +76 -14
- package/dist/esm/kup-calendar.entry.js +8 -6
- package/dist/esm/kup-card-list.entry.js +1 -1
- package/dist/esm/kup-cell.entry.js +6 -6
- package/dist/esm/kup-dashboard.entry.js +4 -4
- package/dist/esm/kup-drawer.entry.js +1 -1
- package/dist/esm/kup-echart.entry.js +1 -1
- package/dist/esm/kup-editor.entry.js +1 -1
- package/dist/esm/kup-family-tree.entry.js +3 -3
- package/dist/esm/kup-grid.entry.js +1 -1
- package/dist/esm/kup-iframe.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +6 -6
- package/dist/esm/kup-lazy.entry.js +1 -1
- package/dist/esm/kup-magic-box.entry.js +2 -2
- package/dist/esm/{kup-manager-33b051d6.js → kup-manager-8b39f876.js} +54 -41
- package/dist/esm/kup-nav-bar.entry.js +1 -1
- package/dist/esm/kup-numeric-picker.entry.js +2 -2
- package/dist/esm/kup-photo-frame.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 +3 -3
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/index.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-02820c2b.entry.js +1 -0
- package/dist/ketchup/{p-9d8d5070.entry.js → p-09d853c3.entry.js} +1 -1
- package/dist/ketchup/{p-81996620.entry.js → p-14e1a36b.entry.js} +1 -1
- package/dist/ketchup/{p-0a4595bd.entry.js → p-1936c6cd.entry.js} +1 -1
- package/dist/ketchup/{p-eb37ea7e.entry.js → p-318c9ecd.entry.js} +1 -1
- package/dist/ketchup/{p-e43d4ccc.js → p-35d503e2.js} +1 -1
- package/dist/ketchup/p-35dce86e.entry.js +1 -0
- package/dist/ketchup/{p-3ce8ce77.entry.js → p-4c20fefd.entry.js} +1 -1
- package/dist/ketchup/{p-9f31a129.entry.js → p-4eb70dd2.entry.js} +1 -1
- package/dist/ketchup/{p-3ff9a661.entry.js → p-5739cdc2.entry.js} +1 -1
- package/dist/ketchup/{p-41d6466e.entry.js → p-5ab3a88a.entry.js} +1 -1
- package/dist/ketchup/{p-7bda0684.js → p-5e16c9d3.js} +1 -1
- package/dist/ketchup/{p-a9b06bb8.js → p-6780a391.js} +1 -1
- package/dist/ketchup/{p-c1ade766.entry.js → p-67930d7c.entry.js} +1 -1
- package/dist/ketchup/{p-0dd0ae49.entry.js → p-6953f769.entry.js} +1 -1
- package/dist/ketchup/{p-babbffa4.entry.js → p-7d2fd8bd.entry.js} +1 -1
- package/dist/ketchup/{p-773bcc69.entry.js → p-8257141a.entry.js} +1 -1
- package/dist/ketchup/{p-9e63f56b.entry.js → p-82694fad.entry.js} +1 -1
- package/dist/ketchup/{p-ccc637ee.js → p-86f9b0d9.js} +1 -1
- package/dist/ketchup/{p-d5254caf.entry.js → p-8ea68d14.entry.js} +1 -1
- package/dist/ketchup/{p-4bf5e04f.entry.js → p-98c72335.entry.js} +1 -1
- package/dist/ketchup/{p-d15d1083.entry.js → p-ab8cac45.entry.js} +1 -1
- package/dist/ketchup/p-c089b961.js +1 -0
- package/dist/ketchup/{p-f0b882f4.entry.js → p-cdb24584.entry.js} +1 -1
- package/dist/ketchup/{p-ea625b2a.entry.js → p-d466d6d1.entry.js} +1 -1
- package/dist/ketchup/{p-b086727d.entry.js → p-ee30e274.entry.js} +1 -1
- package/dist/ketchup/{p-610a03d4.js → p-f31530fc.js} +2 -2
- package/dist/ketchup/{p-2f4055ba.entry.js → p-f353805e.entry.js} +1 -1
- package/dist/ketchup/p-f515308d.entry.js +9 -0
- package/dist/ketchup/{p-68e9379a.js → p-f9766625.js} +1 -1
- package/dist/types/components/kup-box/kup-box-declarations.d.ts +12 -0
- package/dist/types/components/kup-box/kup-box-state.d.ts +2 -0
- package/dist/types/components/kup-box/kup-box.d.ts +26 -1
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +1 -0
- package/dist/types/components/kup-card/kup-card-declarations.d.ts +1 -0
- package/dist/types/components.d.ts +48 -6
- package/dist/types/managers/kup-openai/kup-openai-declarations.d.ts +7 -0
- package/dist/types/managers/kup-openai/kup-openai.d.ts +8 -12
- package/package.json +1 -1
- package/dist/ketchup/p-102866cd.js +0 -1
- package/dist/ketchup/p-6001882e.entry.js +0 -9
- package/dist/ketchup/p-662d2f9b.entry.js +0 -1
- package/dist/ketchup/p-d1268ac7.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { k as kupManagerInstance, _ as identify, g as getProps, s as setProps, S as SortMode, z as getColumnByName, c as KupLanguageGeneric, b as KupThemeIconValues, P as KupDebugCategory, X as KupPointerEventTypes, a4 as KupDragEffect, ah as kupDraggableAttr, a6 as KupDropEventTypes, Q as KupLanguageSearch } from './kup-manager.js';
|
|
3
|
-
import { D as filterRows, E as paginateRows, G as sortRows, H as pageChange, I as rowsPerPageChange, F as FImage, J as FCell, L as FChip, N as FTextFieldMDC, O as FPaginator,
|
|
3
|
+
import { D as filterRows, E as paginateRows, G as sortRows, H as pageChange, I as rowsPerPageChange, F as FImage, J as FCell, L as FChip, N as FTextFieldMDC, O as FPaginator, c as componentWrapperId, d as defineCustomElement$1, a as defineCustomElement$2, b as defineCustomElement$3, e as defineCustomElement$4, f as defineCustomElement$5, g as defineCustomElement$6, h as defineCustomElement$7, i as defineCustomElement$8, j as defineCustomElement$9, k as defineCustomElement$a, l as defineCustomElement$b, m as defineCustomElement$c, n as defineCustomElement$d, o as defineCustomElement$e, p as defineCustomElement$f, q as defineCustomElement$g, r as defineCustomElement$h, s as defineCustomElement$i, t as defineCustomElement$j, u as defineCustomElement$k, v as defineCustomElement$l, w as defineCustomElement$m, x as defineCustomElement$n, y as defineCustomElement$o, z as defineCustomElement$p, A as defineCustomElement$q, B as defineCustomElement$r } from './kup-autocomplete2.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-box component.
|
|
@@ -21,6 +21,9 @@ var KupBoxProps;
|
|
|
21
21
|
KupBoxProps["kanban"] = "Displays the boxlist as a Kanban.";
|
|
22
22
|
KupBoxProps["layout"] = "How the field will be displayed. If not present, a default one will be created.";
|
|
23
23
|
KupBoxProps["lazyLoadRows"] = "When set to true, extra rows will be automatically loaded once the last row enters the viewport.";
|
|
24
|
+
KupBoxProps["loadMoreLimit"] = "Sets a maximum limit of new records which can be required by the load more functionality.";
|
|
25
|
+
KupBoxProps["loadMoreMode"] = "Establish the modality of how many new records will be downloaded. This property is regulated also by loadMoreStep.";
|
|
26
|
+
KupBoxProps["loadMoreStep"] = "The number of records which will be requested to be downloaded when clicking on the load more button. This property is regulated also by loadMoreMode.";
|
|
24
27
|
KupBoxProps["multiSelection"] = "Enable multi selection.";
|
|
25
28
|
KupBoxProps["pageSelected"] = "Current page number.";
|
|
26
29
|
KupBoxProps["pagination"] = "Enables pagination.";
|
|
@@ -28,6 +31,7 @@ var KupBoxProps;
|
|
|
28
31
|
KupBoxProps["scrollOnHover"] = "Activates the scroll on hover function.";
|
|
29
32
|
KupBoxProps["selectBox"] = "Automatically selects the box at the specified index.";
|
|
30
33
|
KupBoxProps["selectedRowsState"] = "Multiple selection.";
|
|
34
|
+
KupBoxProps["showLoadMore"] = "If set to true, displays the button to load more records.";
|
|
31
35
|
KupBoxProps["showSelection"] = "If enabled, highlights the selected box/boxes.";
|
|
32
36
|
KupBoxProps["sortBy"] = "If sorting is enabled, specifies which column to sort.";
|
|
33
37
|
KupBoxProps["sortEnabled"] = "Enable sorting.";
|
|
@@ -35,6 +39,13 @@ var KupBoxProps;
|
|
|
35
39
|
KupBoxProps["store"] = "";
|
|
36
40
|
KupBoxProps["swipeDisabled"] = "Disable swipe.";
|
|
37
41
|
})(KupBoxProps || (KupBoxProps = {}));
|
|
42
|
+
//---- *NEXT functionality AKA load more ----
|
|
43
|
+
var LoadMoreMode;
|
|
44
|
+
(function (LoadMoreMode) {
|
|
45
|
+
LoadMoreMode["CONSTANT"] = "constant";
|
|
46
|
+
LoadMoreMode["CONSTANT_INCREMENT"] = "constant_increment";
|
|
47
|
+
LoadMoreMode["PROGRESSIVE_THRESHOLD"] = "progressive_threshold";
|
|
48
|
+
})(LoadMoreMode || (LoadMoreMode = {}));
|
|
38
49
|
|
|
39
50
|
class KupBoxState {
|
|
40
51
|
constructor() {
|
|
@@ -44,6 +55,8 @@ class KupBoxState {
|
|
|
44
55
|
this.pageSelected = 1;
|
|
45
56
|
this.rowsPerPage = 0;
|
|
46
57
|
this.load = false;
|
|
58
|
+
this.loadMoreLimit = 1000;
|
|
59
|
+
this.showLoadMore = false;
|
|
47
60
|
}
|
|
48
61
|
/*Add attribute*/
|
|
49
62
|
toDebugString() {
|
|
@@ -71,7 +84,7 @@ var __classPrivateFieldSet = (undefined && undefined.__classPrivateFieldSet) ||
|
|
|
71
84
|
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
72
85
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
73
86
|
};
|
|
74
|
-
var _KupBox_instances, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_didRenderObservers, _KupBox_setObserver;
|
|
87
|
+
var _KupBox_instances, _KupBox_intObserver, _KupBox_rowsRefs, _KupBox_navBarHeight, _KupBox_loadMoreEventCounter, _KupBox_loadMoreEventPreviousQuantity, _KupBox_didRenderObservers, _KupBox_setObserver, _KupBox_onLoadMoreClick;
|
|
75
88
|
const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement {
|
|
76
89
|
constructor() {
|
|
77
90
|
super();
|
|
@@ -85,6 +98,7 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
85
98
|
this.kupDidLoad = createEvent(this, "kup-box-didload", 6);
|
|
86
99
|
this.kupDidUnload = createEvent(this, "kup-box-didunload", 6);
|
|
87
100
|
this.kupBoxContextMenu = createEvent(this, "kup-box-contextmenu", 6);
|
|
101
|
+
this.kupLoadMoreClick = createEvent(this, "kup-box-loadmoreclick", 6);
|
|
88
102
|
_KupBox_instances.add(this);
|
|
89
103
|
this.state = new KupBoxState();
|
|
90
104
|
/*-------------------------------------------------*/
|
|
@@ -106,6 +120,8 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
106
120
|
_KupBox_intObserver.set(this, undefined);
|
|
107
121
|
_KupBox_rowsRefs.set(this, []);
|
|
108
122
|
_KupBox_navBarHeight.set(this, 0);
|
|
123
|
+
_KupBox_loadMoreEventCounter.set(this, 0);
|
|
124
|
+
_KupBox_loadMoreEventPreviousQuantity.set(this, 0);
|
|
109
125
|
this.collapsedSection = {};
|
|
110
126
|
this.selectedRows = [];
|
|
111
127
|
this.rowActionMenuOpened = undefined;
|
|
@@ -125,6 +141,9 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
125
141
|
this.kanban = null;
|
|
126
142
|
this.layout = undefined;
|
|
127
143
|
this.lazyLoadRows = false;
|
|
144
|
+
this.loadMoreLimit = 1000;
|
|
145
|
+
this.loadMoreMode = LoadMoreMode.PROGRESSIVE_THRESHOLD;
|
|
146
|
+
this.loadMoreStep = 60;
|
|
128
147
|
this.multiSelection = false;
|
|
129
148
|
this.pageSelected = 1;
|
|
130
149
|
this.pagination = false;
|
|
@@ -132,6 +151,7 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
132
151
|
this.scrollOnHover = false;
|
|
133
152
|
this.selectBox = undefined;
|
|
134
153
|
this.selectedRowsState = undefined;
|
|
154
|
+
this.showLoadMore = false;
|
|
135
155
|
this.showSelection = true;
|
|
136
156
|
this.sortBy = undefined;
|
|
137
157
|
this.sortEnabled = false;
|
|
@@ -153,6 +173,8 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
153
173
|
this.selectedRowsState = this.state.selectedRowsState;
|
|
154
174
|
this.pageSelected = this.state.pageSelected;
|
|
155
175
|
this.rowsPerPage = this.state.rowsPerPage;
|
|
176
|
+
this.loadMoreLimit = state.loadMoreLimit;
|
|
177
|
+
this.showLoadMore = state.showLoadMore;
|
|
156
178
|
}
|
|
157
179
|
}
|
|
158
180
|
}
|
|
@@ -183,6 +205,14 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
183
205
|
this.state.selectedRowsState = selectedRowsState;
|
|
184
206
|
somethingChanged = true;
|
|
185
207
|
}
|
|
208
|
+
if (!this.kupManager.objects.deepEqual(this.state.loadMoreLimit, this.loadMoreLimit)) {
|
|
209
|
+
this.state.loadMoreLimit = this.loadMoreLimit;
|
|
210
|
+
somethingChanged = true;
|
|
211
|
+
}
|
|
212
|
+
if (!this.kupManager.objects.deepEqual(this.state.showLoadMore, this.showLoadMore)) {
|
|
213
|
+
this.state.showLoadMore = this.showLoadMore;
|
|
214
|
+
somethingChanged = true;
|
|
215
|
+
}
|
|
186
216
|
if (!this.state.load) {
|
|
187
217
|
this.state.load = true;
|
|
188
218
|
return;
|
|
@@ -1210,10 +1240,16 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
1210
1240
|
} })));
|
|
1211
1241
|
}
|
|
1212
1242
|
let paginator = null;
|
|
1213
|
-
if (!this.lazyLoadRows && this.pagination) {
|
|
1214
|
-
paginator = (h(FPaginator, { id:
|
|
1243
|
+
if (this.showLoadMore || (!this.lazyLoadRows && this.pagination)) {
|
|
1244
|
+
paginator = (h(FPaginator, { id: 'top-paginator' , currentPage: this.currentPage, max: this.filteredRows.length,
|
|
1245
|
+
// mode={FPaginatorMode.SIMPLE}
|
|
1246
|
+
perPage: this.currentRowsPerPage
|
|
1215
1247
|
? this.currentRowsPerPage
|
|
1216
|
-
: this.rowsPerPage,
|
|
1248
|
+
: this.rowsPerPage, onLoadMore: this.showLoadMore
|
|
1249
|
+
? () => {
|
|
1250
|
+
__classPrivateFieldGet(this, _KupBox_instances, "m", _KupBox_onLoadMoreClick).call(this);
|
|
1251
|
+
}
|
|
1252
|
+
: null, onNextPage: () => this.handlePageChange(this.currentPage + 1), onPrevPage: () => this.handlePageChange(this.currentPage - 1), onPageChange: (e) => this.handlePageChange(e.detail.value), onRowsChange: (e) => this.handleRowsPerPageChange(e.detail.value) }));
|
|
1217
1253
|
}
|
|
1218
1254
|
let boxContent = null;
|
|
1219
1255
|
let containerStyle = {};
|
|
@@ -1282,6 +1318,9 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
1282
1318
|
"kanban": [16],
|
|
1283
1319
|
"layout": [16],
|
|
1284
1320
|
"lazyLoadRows": [4, "lazy-load-rows"],
|
|
1321
|
+
"loadMoreLimit": [2, "load-more-limit"],
|
|
1322
|
+
"loadMoreMode": [1, "load-more-mode"],
|
|
1323
|
+
"loadMoreStep": [2, "load-more-step"],
|
|
1285
1324
|
"multiSelection": [4, "multi-selection"],
|
|
1286
1325
|
"pageSelected": [2, "page-selected"],
|
|
1287
1326
|
"pagination": [4],
|
|
@@ -1289,6 +1328,7 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
1289
1328
|
"scrollOnHover": [4, "scroll-on-hover"],
|
|
1290
1329
|
"selectBox": [2, "select-box"],
|
|
1291
1330
|
"selectedRowsState": [1025, "selected-rows-state"],
|
|
1331
|
+
"showLoadMore": [4, "show-load-more"],
|
|
1292
1332
|
"showSelection": [4, "show-selection"],
|
|
1293
1333
|
"sortBy": [1025, "sort-by"],
|
|
1294
1334
|
"sortEnabled": [4, "sort-enabled"],
|
|
@@ -1315,7 +1355,7 @@ const KupBox = /*@__PURE__*/ proxyCustomElement(class KupBox extends HTMLElement
|
|
|
1315
1355
|
"layout": ["onLayoutChanged"],
|
|
1316
1356
|
"selectBox": ["onSelectBoxChanged"]
|
|
1317
1357
|
}]);
|
|
1318
|
-
_KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_navBarHeight = new WeakMap(), _KupBox_instances = new WeakSet(), _KupBox_didRenderObservers = function _KupBox_didRenderObservers() {
|
|
1358
|
+
_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_didRenderObservers = function _KupBox_didRenderObservers() {
|
|
1319
1359
|
if (this.lazyLoadRows &&
|
|
1320
1360
|
this.currentRowsPerPage < this.data.rows.length) {
|
|
1321
1361
|
__classPrivateFieldGet(this, _KupBox_intObserver, "f").observe(__classPrivateFieldGet(this, _KupBox_rowsRefs, "f")[__classPrivateFieldGet(this, _KupBox_rowsRefs, "f").length - 1]);
|
|
@@ -1326,11 +1366,11 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1326
1366
|
if (entry.isIntersecting) {
|
|
1327
1367
|
this.kupManager.debug.logMessage(this, 'Last row entering the viewport, loading more elements.');
|
|
1328
1368
|
const delta = this.data.rows.length - this.currentRowsPerPage;
|
|
1329
|
-
if (delta <
|
|
1369
|
+
if (delta < this.loadMoreStep) {
|
|
1330
1370
|
this.currentRowsPerPage += delta;
|
|
1331
1371
|
}
|
|
1332
1372
|
else {
|
|
1333
|
-
this.currentRowsPerPage +=
|
|
1373
|
+
this.currentRowsPerPage += this.loadMoreStep;
|
|
1334
1374
|
}
|
|
1335
1375
|
entry.target.classList.remove('last-row');
|
|
1336
1376
|
__classPrivateFieldGet(this, _KupBox_intObserver, "f").unobserve(entry.target);
|
|
@@ -1342,6 +1382,32 @@ _KupBox_intObserver = new WeakMap(), _KupBox_rowsRefs = new WeakMap(), _KupBox_n
|
|
|
1342
1382
|
rootMargin: '-' + __classPrivateFieldGet(this, _KupBox_navBarHeight, "f") + 'px 0px 0px 0px',
|
|
1343
1383
|
};
|
|
1344
1384
|
__classPrivateFieldSet(this, _KupBox_intObserver, new IntersectionObserver(callback, options), "f");
|
|
1385
|
+
}, _KupBox_onLoadMoreClick = function _KupBox_onLoadMoreClick() {
|
|
1386
|
+
var _a;
|
|
1387
|
+
let loadItems = 0;
|
|
1388
|
+
switch (this.loadMoreMode) {
|
|
1389
|
+
case LoadMoreMode.CONSTANT:
|
|
1390
|
+
loadItems = this.loadMoreStep;
|
|
1391
|
+
break;
|
|
1392
|
+
case LoadMoreMode.CONSTANT_INCREMENT:
|
|
1393
|
+
loadItems =
|
|
1394
|
+
this.loadMoreStep * (__classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f") + 1);
|
|
1395
|
+
break;
|
|
1396
|
+
case LoadMoreMode.PROGRESSIVE_THRESHOLD:
|
|
1397
|
+
loadItems =
|
|
1398
|
+
Math.max(__classPrivateFieldGet(this, _KupBox_loadMoreEventPreviousQuantity, "f"), this.loadMoreStep) * Math.min(__classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f") + 1, 2);
|
|
1399
|
+
break;
|
|
1400
|
+
}
|
|
1401
|
+
if (loadItems > this.loadMoreLimit) {
|
|
1402
|
+
loadItems = this.loadMoreLimit;
|
|
1403
|
+
}
|
|
1404
|
+
this.kupLoadMoreClick.emit({
|
|
1405
|
+
comp: this,
|
|
1406
|
+
id: this.rootElement.id,
|
|
1407
|
+
loadItems: loadItems,
|
|
1408
|
+
});
|
|
1409
|
+
__classPrivateFieldSet(this, _KupBox_loadMoreEventPreviousQuantity, loadItems, "f");
|
|
1410
|
+
__classPrivateFieldSet(this, _KupBox_loadMoreEventCounter, (_a = __classPrivateFieldGet(this, _KupBox_loadMoreEventCounter, "f"), _a++, _a), "f");
|
|
1345
1411
|
};
|
|
1346
1412
|
function defineCustomElement() {
|
|
1347
1413
|
if (typeof customElements === "undefined") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Q as KupButtonList$1, y as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupButtonList = KupButtonList$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement as HTMLElement$1, createEvent, getAssetPath, forceUpdate, h as h$1, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric, z as getColumnByName } from './kup-manager.js';
|
|
3
|
-
import { c as componentWrapperId,
|
|
3
|
+
import { c as componentWrapperId, R as FButton, L as FChip, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, S as FChipType } from './kup-autocomplete2.js';
|
|
4
4
|
import { d as KupDatesLocales } from './kup-dates.js';
|
|
5
5
|
|
|
6
6
|
var n,l$1,u$1,i$1,t,r$1,o,f$1,e$1,c$1={},s=[],a$1=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function h(n,l){for(var u in l)n[u]=l[u];return n}function v$1(n){var l=n.parentNode;l&&l.removeChild(n);}function y(l,u,i){var t,r,o,f={};for(o in u)"key"==o?t=u[o]:"ref"==o?r=u[o]:f[o]=u[o];if(arguments.length>2&&(f.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof l&&null!=l.defaultProps)for(o in l.defaultProps)void 0===f[o]&&(f[o]=l.defaultProps[o]);return p(l,f,t,r,null)}function p(n,i,t,r,o){var f={type:n,props:i,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==o?++u$1:o};return null==o&&null!=l$1.vnode&&l$1.vnode(f),f}function d(){return {current:null}}function _(n){return n.children}function k$1(n,l,u,i,t){var r;for(r in u)"children"===r||"key"===r||r in l||g$2(n,r,null,u[r],i);for(r in l)t&&"function"!=typeof l[r]||"children"===r||"key"===r||"value"===r||"checked"===r||u[r]===l[r]||g$2(n,r,l[r],u[r],i);}function b$1(n,l,u){"-"===l[0]?n.setProperty(l,null==u?"":u):n[l]=null==u?"":"number"!=typeof u||a$1.test(l)?u:u+"px";}function g$2(n,l,u,i,t){var r;n:if("style"===l)if("string"==typeof u)n.style.cssText=u;else {if("string"==typeof i&&(n.style.cssText=i=""),i)for(l in i)u&&l in u||b$1(n.style,l,"");if(u)for(l in u)i&&u[l]===i[l]||b$1(n.style,l,u[l]);}else if("o"===l[0]&&"n"===l[1])r=l!==(l=l.replace(/Capture$/,"")),l=l.toLowerCase()in n?l.toLowerCase().slice(2):l.slice(2),n.l||(n.l={}),n.l[l+r]=u,u?i||n.addEventListener(l,r?w$2:m$1,r):n.removeEventListener(l,r?w$2:m$1,r);else if("dangerouslySetInnerHTML"!==l){if(t)l=l.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==l&&"height"!==l&&"href"!==l&&"list"!==l&&"form"!==l&&"tabIndex"!==l&&"download"!==l&&l in n)try{n[l]=null==u?"":u;break n}catch(n){}"function"==typeof u||(null==u||!1===u&&-1==l.indexOf("-")?n.removeAttribute(l):n.setAttribute(l,u));}}function m$1(n){t=!0;try{return this.l[n.type+!1](l$1.event?l$1.event(n):n)}finally{t=!1;}}function w$2(n){t=!0;try{return this.l[n.type+!0](l$1.event?l$1.event(n):n)}finally{t=!1;}}function x$1(n,l){this.props=n,this.context=l;}function A(n,l){if(null==l)return n.__?A(n.__,n.__.__k.indexOf(n)+1):null;for(var u;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e)return u.__e;return "function"==typeof n.type?A(n):null}function P$1(n){var l,u;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++)if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break}return P$1(n)}}function C$1(n){t?setTimeout(n):f$1(n);}function T$1(n){(!n.__d&&(n.__d=!0)&&r$1.push(n)&&!$$1.__r++||o!==l$1.debounceRendering)&&((o=l$1.debounceRendering)||C$1)($$1);}function $$1(){var n,l,u,i,t,o,f,e;for(r$1.sort(function(n,l){return n.__v.__b-l.__v.__b});n=r$1.shift();)n.__d&&(l=r$1.length,i=void 0,t=void 0,f=(o=(u=n).__v).__e,(e=u.__P)&&(i=[],(t=h({},o)).__v=o.__v+1,M(e,o,t,u.__n,void 0!==e.ownerSVGElement,null!=o.__h?[f]:null,i,null==f?A(o):f,o.__h),N(i,o),o.__e!=f&&P$1(o)),r$1.length>l&&r$1.sort(function(n,l){return n.__v.__b-l.__v.__b}));$$1.__r=0;}function H$1(n,l,u,i,t,r,o,f,e,a){var h,v,y,d,k,b,g,m=i&&i.__k||s,w=m.length;for(u.__k=[],h=0;h<l.length;h++)if(null!=(d=u.__k[h]=null==(d=l[h])||"boolean"==typeof d?null:"string"==typeof d||"number"==typeof d||"bigint"==typeof d?p(null,d,null,null,d):Array.isArray(d)?p(_,{children:d},null,null,null):d.__b>0?p(d.type,d.props,d.key,d.ref?d.ref:null,d.__v):d)){if(d.__=u,d.__b=u.__b+1,null===(y=m[h])||y&&d.key==y.key&&d.type===y.type)m[h]=void 0;else for(v=0;v<w;v++){if((y=m[v])&&d.key==y.key&&d.type===y.type){m[v]=void 0;break}y=null;}M(n,d,y=y||c$1,t,r,o,f,e,a),k=d.__e,(v=d.ref)&&y.ref!=v&&(g||(g=[]),y.ref&&g.push(y.ref,null,d),g.push(v,d.__c||k,d)),null!=k?(null==b&&(b=k),"function"==typeof d.type&&d.__k===y.__k?d.__d=e=I$1(d,e,n):e=z$1(n,d,y,m,k,e),"function"==typeof u.type&&(u.__d=e)):e&&y.__e==e&&e.parentNode!=n&&(e=A(y));}for(u.__e=b,h=w;h--;)null!=m[h]&&("function"==typeof u.type&&null!=m[h].__e&&m[h].__e==u.__d&&(u.__d=L$1(i).nextSibling),q(m[h],m[h]));if(g)for(h=0;h<g.length;h++)S(g[h],g[++h],g[++h]);}function I$1(n,l,u){for(var i,t=n.__k,r=0;t&&r<t.length;r++)(i=t[r])&&(i.__=n,l="function"==typeof i.type?I$1(i,l,u):z$1(u,i,i,t,i.__e,l));return l}function j$2(n,l){return l=l||[],null==n||"boolean"==typeof n||(Array.isArray(n)?n.some(function(n){j$2(n,l);}):l.push(n)),l}function z$1(n,l,u,i,t,r){var o,f,e;if(void 0!==l.__d)o=l.__d,l.__d=void 0;else if(null==u||t!=r||null==t.parentNode)n:if(null==r||r.parentNode!==n)n.appendChild(t),o=null;else {for(f=r,e=0;(f=f.nextSibling)&&e<i.length;e+=1)if(f==t)break n;n.insertBefore(t,r),o=r;}return void 0!==o?o:t.nextSibling}function L$1(n){var l,u,i;if(null==n.type||"string"==typeof n.type)return n.__e;if(n.__k)for(l=n.__k.length-1;l>=0;l--)if((u=n.__k[l])&&(i=L$1(u)))return i;return null}function M(n,u,i,t,r,o,f,e,c){var s,a,v,y,p,d,k,b,g,m,w,A,P,C,T,$=u.type;if(void 0!==u.constructor)return null;null!=i.__h&&(c=i.__h,e=u.__e=i.__e,u.__h=null,o=[e]),(s=l$1.__b)&&s(u);try{n:if("function"==typeof $){if(b=u.props,g=(s=$.contextType)&&t[s.__c],m=s?g?g.props.value:s.__:t,i.__c?k=(a=u.__c=i.__c).__=a.__E:("prototype"in $&&$.prototype.render?u.__c=a=new $(b,m):(u.__c=a=new x$1(b,m),a.constructor=$,a.render=B$1),g&&g.sub(a),a.props=b,a.state||(a.state={}),a.context=m,a.__n=t,v=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=$.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=h({},a.__s)),h(a.__s,$.getDerivedStateFromProps(b,a.__s))),y=a.props,p=a.state,a.__v=u,v)null==$.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else {if(null==$.getDerivedStateFromProps&&b!==y&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,m),!a.__e&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,m)||u.__v===i.__v){for(u.__v!==i.__v&&(a.props=b,a.state=a.__s,a.__d=!1),u.__e=i.__e,u.__k=i.__k,u.__k.forEach(function(n){n&&(n.__=u);}),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[],a.__h.length&&f.push(a);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,m),null!=a.componentDidUpdate&&a.__h.push(function(){a.componentDidUpdate(y,p,d);});}if(a.context=m,a.props=b,a.__P=n,A=l$1.__r,P=0,"prototype"in $&&$.prototype.render){for(a.state=a.__s,a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),C=0;C<a._sb.length;C++)a.__h.push(a._sb[C]);a._sb=[];}else do{a.__d=!1,A&&A(u),s=a.render(a.props,a.state,a.context),a.state=a.__s;}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=h(h({},t),a.getChildContext())),v||null==a.getSnapshotBeforeUpdate||(d=a.getSnapshotBeforeUpdate(y,p)),T=null!=s&&s.type===_&&null==s.key?s.props.children:s,H$1(n,Array.isArray(T)?T:[T],u,i,t,r,o,f,e,c),a.base=u.__e,u.__h=null,a.__h.length&&f.push(a),k&&(a.__E=a.__=null),a.__e=!1;}else null==o&&u.__v===i.__v?(u.__k=i.__k,u.__e=i.__e):u.__e=O(i.__e,u,i,t,r,o,f,c);(s=l$1.diffed)&&s(u);}catch(n){u.__v=null,(c||null!=o)&&(u.__e=e,u.__h=!!c,o[o.indexOf(e)]=null),l$1.__e(n,u,i);}}function N(n,u){l$1.__c&&l$1.__c(u,n),n.some(function(u){try{n=u.__h,u.__h=[],n.some(function(n){n.call(u);});}catch(n){l$1.__e(n,u.__v);}});}function O(l,u,i,t,r,o,f,e){var s,a,h,y=i.props,p=u.props,d=u.type,_=0;if("svg"===d&&(r=!0),null!=o)for(;_<o.length;_++)if((s=o[_])&&"setAttribute"in s==!!d&&(d?s.localName===d:3===s.nodeType)){l=s,o[_]=null;break}if(null==l){if(null===d)return document.createTextNode(p);l=r?document.createElementNS("http://www.w3.org/2000/svg",d):document.createElement(d,p.is&&p),o=null,e=!1;}if(null===d)y===p||e&&l.data===p||(l.data=p);else {if(o=o&&n.call(l.childNodes),a=(y=i.props||c$1).dangerouslySetInnerHTML,h=p.dangerouslySetInnerHTML,!e){if(null!=o)for(y={},_=0;_<l.attributes.length;_++)y[l.attributes[_].name]=l.attributes[_].value;(h||a)&&(h&&(a&&h.__html==a.__html||h.__html===l.innerHTML)||(l.innerHTML=h&&h.__html||""));}if(k$1(l,p,y,r,e),h)u.__k=[];else if(_=u.props.children,H$1(l,Array.isArray(_)?_:[_],u,i,t,r&&"foreignObject"!==d,o,f,o?o[0]:i.__k&&A(i,0),e),null!=o)for(_=o.length;_--;)null!=o[_]&&v$1(o[_]);e||("value"in p&&void 0!==(_=p.value)&&(_!==l.value||"progress"===d&&!_||"option"===d&&_!==y.value)&&g$2(l,"value",_,y.value,!1),"checked"in p&&void 0!==(_=p.checked)&&_!==l.checked&&g$2(l,"checked",_,y.checked,!1));}return l}function S(n,u,i){try{"function"==typeof n?n(u):n.current=u;}catch(n){l$1.__e(n,i);}}function q(n,u,i){var t,r;if(l$1.unmount&&l$1.unmount(n),(t=n.ref)&&(t.current&&t.current!==n.__e||S(t,null,u)),null!=(t=n.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount();}catch(n){l$1.__e(n,u);}t.base=t.__P=null,n.__c=void 0;}if(t=n.__k)for(r=0;r<t.length;r++)t[r]&&q(t[r],u,i||"function"!=typeof n.type);i||null==n.__e||v$1(n.__e),n.__=n.__e=n.__d=void 0;}function B$1(n,l,u){return this.constructor(n,u)}function D$1(u,i,t){var r,o,f;l$1.__&&l$1.__(u,i),o=(r="function"==typeof t)?null:t&&t.__k||i.__k,f=[],M(i,u=(!r&&t||i).__k=y(_,null,[u]),o||c$1,c$1,void 0!==i.ownerSVGElement,!r&&t?[t]:o?null:i.firstChild?n.call(i.childNodes):null,f,!r&&t?t:o?o.__e:i.firstChild,r),N(f,u);}function G$1(n,l){var u={__c:l="__cC"+e$1++,__:n,Consumer:function(n,l){return n.children(l)},Provider:function(n){var u,i;return this.getChildContext||(u=[],(i={})[l]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&u.some(function(n){n.__e=!0,T$1(n);});},this.sub=function(n){u.push(n);var l=n.componentWillUnmount;n.componentWillUnmount=function(){u.splice(u.indexOf(n),1),l&&l.call(n);};}),n.children}};return u.Provider.__=u.Consumer.contextType=u}n=s.slice,l$1={__e:function(n,l,u,i){for(var t,r,o;l=l.__;)if((t=l.__c)&&!t.__)try{if((r=t.constructor)&&null!=r.getDerivedStateFromError&&(t.setState(r.getDerivedStateFromError(n)),o=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(n,i||{}),o=t.__d),o)return t.__E=t}catch(l){n=l;}throw n}},u$1=0,i$1=function(n){return null!=n&&void 0===n.constructor},t=!1,x$1.prototype.setState=function(n,l){var u;u=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=h({},this.state),"function"==typeof n&&(n=n(h({},u),this.props)),n&&h(u,n),null!=n&&this.__v&&(l&&this._sb.push(l),T$1(this));},x$1.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),T$1(this));},x$1.prototype.render=_,r$1=[],f$1="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,$$1.__r=0,e$1=0;
|
|
@@ -14033,6 +14033,7 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14033
14033
|
}
|
|
14034
14034
|
},
|
|
14035
14035
|
eventDrop: ({ event, oldEvent }) => {
|
|
14036
|
+
var _a;
|
|
14036
14037
|
this.kupCalendarEventDrop.emit({
|
|
14037
14038
|
comp: this,
|
|
14038
14039
|
id: this.rootElement.id,
|
|
@@ -14044,6 +14045,7 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14044
14045
|
start: event.start,
|
|
14045
14046
|
end: event.end,
|
|
14046
14047
|
},
|
|
14048
|
+
row: (_a = oldEvent.extendedProps) === null || _a === void 0 ? void 0 : _a.row,
|
|
14047
14049
|
});
|
|
14048
14050
|
},
|
|
14049
14051
|
events: this.getEvents(),
|
|
@@ -14250,11 +14252,11 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14250
14252
|
this.kupManager.debug.logRender(this, true);
|
|
14251
14253
|
}
|
|
14252
14254
|
render() {
|
|
14253
|
-
return (h$1(Host, { key: '
|
|
14255
|
+
return (h$1(Host, { key: '256712f0367d8a4979fbe5cf01230ef6919cbe30' }, h$1("style", { key: '483bc12677fbf0feb94f0322d050d3e92b76aa96' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: 'd396f95087febb8439ba747250dbde5c966664a9', id: componentWrapperId }, h$1("div", { key: '218107d205ccc74759b902682fbb4ffc38b4e6af', 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: '35207cde78644377b8a90dc0798da7cb3a8fb028', class: `navigation__title ${this.hideNavigation
|
|
14254
14256
|
? 'navigation__title--centered'
|
|
14255
14257
|
: ''}`, ref: (el) => {
|
|
14256
14258
|
this.navTitle = el;
|
|
14257
|
-
} }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: '
|
|
14259
|
+
} }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: '0cc18bfc6befd69d45d4ba0c119fc5a4c2437d36', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14258
14260
|
}
|
|
14259
14261
|
disconnectedCallback() {
|
|
14260
14262
|
if (this.calendar) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { X as KupColorPicker$1, t as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupColorPicker = KupColorPicker$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import {
|
|
2
|
+
import { R as FButton, Z as FTextField, _ as FCheckbox, N as FTextFieldMDC, c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s } from './kup-autocomplete2.js';
|
|
3
3
|
import { k as kupManagerInstance, g as getProps, s as setProps, ai as KupLanguageDashboard, c as KupLanguageGeneric, a4 as KupDragEffect, P as KupDebugCategory } from './kup-manager.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as KupDataTable$1, r as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDataTable = KupDataTable$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a0 as KupDatePicker$1, q as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDatePicker = KupDatePicker$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a2 as KupDropdownButton$1, o as defineCustomElement$1 } from './kup-autocomplete2.js';
|
|
2
2
|
|
|
3
3
|
const KupDropdownButton = KupDropdownButton$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$s, B as defineCustomElement$t,
|
|
2
|
+
import { c as componentWrapperId, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$s, B as defineCustomElement$t, a3 as FButtonStyling, R as FButton, F as FImage } from './kup-autocomplete2.js';
|
|
3
3
|
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric, X as KupPointerEventTypes } from './kup-manager.js';
|
|
4
4
|
import { d as defineCustomElement$r } from './kup-box2.js';
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric, o as FCellPadding } from './kup-manager.js';
|
|
3
|
-
import {
|
|
3
|
+
import { a3 as FButtonStyling, M as MDCRipple, c as componentWrapperId, F as FImage, R as FButton, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$f, p as defineCustomElement$g, q as defineCustomElement$h, r as defineCustomElement$i, s as defineCustomElement$j, t as defineCustomElement$k, u as defineCustomElement$l, v as defineCustomElement$m, w as defineCustomElement$n, x as defineCustomElement$o, y as defineCustomElement$p, z as defineCustomElement$q, A as defineCustomElement$r, B as defineCustomElement$s, J as FCell } from './kup-autocomplete2.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-image-list component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, forceUpdate, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, c as KupLanguageGeneric, P as KupDebugCategory, aj as kupDropEvent, a2 as kupDraggableColumnAttr, ak as kupDraggableRowAttr, a6 as KupDropEventTypes, a as KupThemeColorValues } from './kup-manager.js';
|
|
3
|
-
import { F as FImage, c as componentWrapperId,
|
|
3
|
+
import { F as FImage, c as componentWrapperId, a3 as FButtonStyling, d as defineCustomElement$2, a as defineCustomElement$3, b as defineCustomElement$4, e as defineCustomElement$5, f as defineCustomElement$6, g as defineCustomElement$7, h as defineCustomElement$8, i as defineCustomElement$9, j as defineCustomElement$a, k as defineCustomElement$b, l as defineCustomElement$c, m as defineCustomElement$d, n as defineCustomElement$e, o as defineCustomElement$g, p as defineCustomElement$h, q as defineCustomElement$i, r as defineCustomElement$j, s as defineCustomElement$k, t as defineCustomElement$l, u as defineCustomElement$m, v as defineCustomElement$n, w as defineCustomElement$o, x as defineCustomElement$p, y as defineCustomElement$q, z as defineCustomElement$r, A as defineCustomElement$t, B as defineCustomElement$u } from './kup-autocomplete2.js';
|
|
4
4
|
import { d as defineCustomElement$s } from './kup-box2.js';
|
|
5
5
|
import { d as defineCustomElement$f } from './kup-echart2.js';
|
|
6
6
|
|