@sme.up/ketchup 11.0.0-SNAPSHOT-20241211084505 → 11.0.0-SNAPSHOT-20241211113125
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/kup-autocomplete_28.cjs.entry.js +14 -11
- package/dist/cjs/kup-calendar.cjs.entry.js +21 -21
- package/dist/collection/components/kup-calendar/kup-calendar.js +22 -22
- package/dist/collection/components/kup-data-table/kup-data-table.js +14 -11
- package/dist/components/kup-accordion.js +1 -1
- package/dist/components/kup-activity-timeline.js +1 -1
- 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 +23 -23
- package/dist/components/kup-card-list.js +2 -2
- package/dist/components/kup-card.js +1 -1
- package/dist/components/kup-cell.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-drawer.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/components/kup-iframe.js +1 -1
- package/dist/components/kup-image-list.js +1 -1
- package/dist/components/kup-image.js +1 -1
- package/dist/components/kup-input-panel.js +2 -2
- package/dist/components/kup-lazy.js +1 -1
- package/dist/components/kup-list.js +1 -1
- package/dist/components/kup-magic-box.js +3 -3
- package/dist/components/kup-nav-bar.js +1 -1
- package/dist/components/kup-numeric-picker.js +1 -1
- package/dist/components/kup-object-field.js +1 -1
- package/dist/components/kup-pdf.js +1 -1
- package/dist/components/kup-photo-frame.js +1 -1
- package/dist/components/kup-planner.js +1 -1
- package/dist/components/kup-probe.js +1 -1
- package/dist/components/kup-progress-bar.js +1 -1
- package/dist/components/kup-qlik.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-toolbar.js +1 -1
- package/dist/components/kup-tree.js +1 -1
- package/dist/components/kup-txt.js +1 -1
- package/dist/components/kup-typography-list.js +1 -1
- package/dist/components/kup-typography.js +1 -1
- package/dist/components/{p-d520f094.js → p-18ab72ef.js} +1 -1
- package/dist/components/{p-8a5f7e0f.js → p-1ce85678.js} +1 -1
- package/dist/components/{p-d4200174.js → p-41472dd0.js} +14 -11
- package/dist/components/{p-6659d0da.js → p-6523aa1b.js} +1 -1
- package/dist/components/{p-b63ca555.js → p-a9c185c6.js} +1 -1
- package/dist/esm/kup-autocomplete_28.entry.js +14 -11
- package/dist/esm/kup-calendar.entry.js +22 -22
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/p-62bb784c.entry.js +1 -0
- package/dist/ketchup/{p-1828c00e.entry.js → p-fb6c99f4.entry.js} +1 -1
- package/package.json +1 -1
- package/dist/ketchup/p-23de9b7d.entry.js +0 -1
|
@@ -9650,11 +9650,14 @@ const KupDataTable = class {
|
|
|
9650
9650
|
getVisibleColumns() {
|
|
9651
9651
|
// Starting columns filter
|
|
9652
9652
|
let resultVisibleColumns = this.getColumns().filter((col) => {
|
|
9653
|
-
const isNotCodVer = __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.isCodVer(col);
|
|
9653
|
+
const isNotCodVer = !__classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").data.column.isCodVer(col);
|
|
9654
9654
|
if (this.visibleColumns) {
|
|
9655
|
+
// if visible columns is specified, include only those columns
|
|
9655
9656
|
return this.visibleColumns.includes(col.name);
|
|
9656
9657
|
}
|
|
9657
|
-
|
|
9658
|
+
else {
|
|
9659
|
+
return isNotCodVer && (!('visible' in col) || col.visible);
|
|
9660
|
+
}
|
|
9658
9661
|
});
|
|
9659
9662
|
// order based on `visibleColumns`
|
|
9660
9663
|
if (this.visibleColumns) {
|
|
@@ -9926,7 +9929,7 @@ const KupDataTable = class {
|
|
|
9926
9929
|
}
|
|
9927
9930
|
let rows = null;
|
|
9928
9931
|
if (__classPrivateFieldGet$6(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
9929
|
-
rows = (index.h("tr", { key: '
|
|
9932
|
+
rows = (index.h("tr", { key: '31702bfcff8e98c4e77187184adaa73d6ec73c8a', ref: (el) => __classPrivateFieldGet$6(this, _KupDataTable_rowsRefs, "f").push(el) }, index.h("td", { key: '94e9a3de627f06a630608d4f999bea5035a9cf49', colSpan: __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
9930
9933
|
}
|
|
9931
9934
|
else {
|
|
9932
9935
|
rows = [];
|
|
@@ -9991,7 +9994,7 @@ const KupDataTable = class {
|
|
|
9991
9994
|
for (let i = 0; i < chipsData.length; i++) {
|
|
9992
9995
|
props.onIconClick.push(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
9993
9996
|
}
|
|
9994
|
-
groupChips = index.h(fChip.FChip, Object.assign({ key: '
|
|
9997
|
+
groupChips = index.h(fChip.FChip, Object.assign({ key: '1eeaa77a6483bbb21a253d3f1442570be69ab97c' }, props));
|
|
9995
9998
|
}
|
|
9996
9999
|
}
|
|
9997
10000
|
const tableClass = {
|
|
@@ -10023,7 +10026,7 @@ const KupDataTable = class {
|
|
|
10023
10026
|
if (this.headerIsPersistent &&
|
|
10024
10027
|
this.tableHeight === undefined &&
|
|
10025
10028
|
this.tableWidth === undefined) {
|
|
10026
|
-
stickyEl = (index.h("sticky-header", { key: '
|
|
10029
|
+
stickyEl = (index.h("sticky-header", { key: '048fd8c1b5c3399a8ca7ff1c370cc6129ce6006e', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_stickyTheadRef, el, "f")) }, index.h("thead-sticky", { key: '35b2ea8a5d914d5795940b29341f2804e6a2e88a' }, index.h("tr-sticky", { key: 'ebbb24321c9b78033b38fbde2ce7c67acd13f42c' }, stickyHeader))));
|
|
10027
10030
|
}
|
|
10028
10031
|
let belowClass = 'below-wrapper';
|
|
10029
10032
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -10049,11 +10052,11 @@ const KupDataTable = class {
|
|
|
10049
10052
|
}
|
|
10050
10053
|
}
|
|
10051
10054
|
};
|
|
10052
|
-
const compCreated = (index.h(index.Host, { key: '
|
|
10055
|
+
const compCreated = (index.h(index.Host, { key: '8310ee690e8e7c5c4ce03f2b8ebfdd8e2fd07728', "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, index.h("style", { key: '0c4822b3967933dcb57bbc12093754e9f7f37971' }, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, index.h("div", { key: 'fe4a9412b7f753988be1dd191e2f9781978f8232', id: GenericVariables.componentWrapperId, class: wrapClass }, index.h("div", { key: 'c32e7ed23cdb2fcf2c06e3de7967854168d44efb', class: "group-wrapper" }, groupChips), index.h("div", { key: '957e17e4e8ec4565419ef88a2616d3f98d54da89', class: "actions-wrapper", style: actionWrapperWidth }, this.globalFilter ? (index.h("div", { id: "global-filter" }, index.h(fTextField.FTextField, { fullWidth: true, icon: kupManager$1.KupThemeIconValues.SEARCH, label: __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").language.translate(kupManager$1.KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
10053
10056
|
const t = event.target;
|
|
10054
10057
|
window.clearTimeout(__classPrivateFieldGet$6(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
10055
10058
|
__classPrivateFieldSet$3(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
10056
|
-
} }))) : null, index.h("div", { key: '
|
|
10059
|
+
} }))) : null, index.h("div", { key: 'e549bd24b81806a7a2c2aad793fed99489d78f31', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
10057
10060
|
this.selectedRows.length > 0 ? (index.h(fButton.FButton, { icon: "save", onClick: () => {
|
|
10058
10061
|
this.kupSave.emit({
|
|
10059
10062
|
comp: this,
|
|
@@ -10103,9 +10106,9 @@ const KupDataTable = class {
|
|
|
10103
10106
|
this.data.rows.unshift(row);
|
|
10104
10107
|
await this.refresh(true);
|
|
10105
10108
|
}
|
|
10106
|
-
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '
|
|
10109
|
+
}, sizing: kupManager$1.KupComponentSizing.MEDIUM, styling: fButtonDeclarations.FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), index.h("div", { key: '5267efae177c8de764fbf0e24c1e653ade7d6815', class: "droparea", ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
10107
10110
|
? __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
10108
|
-
: null), index.h("div", { key: '
|
|
10111
|
+
: null), index.h("div", { key: '61c640eee5c0eba934da0efb1885df5b4218713b', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
10109
10112
|
? [
|
|
10110
10113
|
index.h("div", { class: "settings-trigger", onClick: () => {
|
|
10111
10114
|
__classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -10114,7 +10117,7 @@ const KupDataTable = class {
|
|
|
10114
10117
|
} }, index.h(fImage.FImage, { color: `var(${kupManager$1.KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
10115
10118
|
this.renderCustomizePanel(),
|
|
10116
10119
|
]
|
|
10117
|
-
: null, index.h("table", { key: '
|
|
10120
|
+
: null, index.h("table", { key: '24a0b7fdc24317c222bb03e9bab04014a3ea9e7b', class: tableClass, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
10118
10121
|
ev.stopPropagation();
|
|
10119
10122
|
}, onPointerDown: (e) => {
|
|
10120
10123
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -10122,7 +10125,7 @@ const KupDataTable = class {
|
|
|
10122
10125
|
__classPrivateFieldSet$3(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet$6(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
10123
10126
|
}, onContextMenu: (e) => {
|
|
10124
10127
|
e.preventDefault();
|
|
10125
|
-
} }, index.h("thead", { key: '
|
|
10128
|
+
} }, index.h("thead", { key: '65fab7d461bded7547edc6ecb4488ed00cab497b', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet$3(this, _KupDataTable_theadRef, el, "f")) }, index.h("tr", { key: '09cf7b1f88c5aefab894290f13f759aab5c7791d' }, header)), index.h("tbody", { key: '1efd7c01ee552ca5bc09cd086efb1bc772037cec' }, rows), this.showFooter || __classPrivateFieldGet$6(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
10126
10129
|
? this.renderFooter()
|
|
10127
10130
|
: null), stickyEl), paginatorBottom)));
|
|
10128
10131
|
return compCreated;
|
|
@@ -14034,25 +14034,25 @@ const KupCalendar = class {
|
|
|
14034
14034
|
});
|
|
14035
14035
|
},
|
|
14036
14036
|
eventDidMount: (info) => {
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
|
|
14053
|
-
|
|
14054
|
-
|
|
14055
|
-
|
|
14037
|
+
if (this.iconCol) {
|
|
14038
|
+
const row = info.event.extendedProps.row;
|
|
14039
|
+
const cell = row.cells[this.iconCol];
|
|
14040
|
+
if (cell === null || cell === void 0 ? void 0 : cell.value) {
|
|
14041
|
+
const wrapper = document.createElement('div');
|
|
14042
|
+
wrapper.classList.add('icon-wrapper');
|
|
14043
|
+
cell.value.split(';').forEach((icon) => {
|
|
14044
|
+
if (icon) {
|
|
14045
|
+
const span = document.createElement('span');
|
|
14046
|
+
span.className = 'custom-icon';
|
|
14047
|
+
const path = index$4.getAssetPath(`./assets/svg/${icon}.svg`);
|
|
14048
|
+
span.style.mask = `url('${path}') no-repeat center`;
|
|
14049
|
+
span.style.webkitMask = `url('${path}') no-repeat center`;
|
|
14050
|
+
wrapper.appendChild(span);
|
|
14051
|
+
}
|
|
14052
|
+
});
|
|
14053
|
+
info.el.appendChild(wrapper);
|
|
14054
|
+
}
|
|
14055
|
+
}
|
|
14056
14056
|
if (this.imageCol) {
|
|
14057
14057
|
const row = info.event.extendedProps.row;
|
|
14058
14058
|
const cell = row.cells[this.imageCol];
|
|
@@ -14318,11 +14318,11 @@ const KupCalendar = class {
|
|
|
14318
14318
|
this.kupManager.debug.logRender(this, true);
|
|
14319
14319
|
}
|
|
14320
14320
|
render() {
|
|
14321
|
-
return (index$4.h(index$4.Host, { key: '
|
|
14321
|
+
return (index$4.h(index$4.Host, { key: '90dcbd70d9bf86fe953d261972c0dc4b9e6cd405' }, index$4.h("style", { key: '700d2d0edd7f3299f9d9e39529656b8366ae6a9c' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '7998e527562faa3e2479c80373121263bb1cd270', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: '9a488b6fcb41010ffc027347a0a5214dd50de7d4', 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: 'ebf98d2aae34c82651f5adbd368b19b2bc314517', class: `navigation__title ${this.hideNavigation
|
|
14322
14322
|
? 'navigation__title--centered'
|
|
14323
14323
|
: ''}`, ref: (el) => {
|
|
14324
14324
|
this.navTitle = el;
|
|
14325
|
-
} }), !this.hideNavigation ? (index$4.h("div", { class: "navigation__right" }, index$4.h(fChip.FChip, Object.assign({}, this.setChipProps())))) : null), index$4.h("div", { key: '
|
|
14325
|
+
} }), !this.hideNavigation ? (index$4.h("div", { class: "navigation__right" }, index$4.h(fChip.FChip, Object.assign({}, this.setChipProps())))) : null), index$4.h("div", { key: '5cc2675af17c156d72bca669b880382a0a3e4a8b', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14326
14326
|
}
|
|
14327
14327
|
disconnectedCallback() {
|
|
14328
14328
|
if (this.calendar) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { forceUpdate, h, Host, } from "@stencil/core";
|
|
1
|
+
import { forceUpdate, getAssetPath, h, Host, } from "@stencil/core";
|
|
2
2
|
import { Calendar, } from "@fullcalendar/core";
|
|
3
3
|
import dayGridPlugin from "@fullcalendar/daygrid";
|
|
4
4
|
import interactionPlugin from "@fullcalendar/interaction";
|
|
@@ -89,25 +89,25 @@ export class KupCalendar {
|
|
|
89
89
|
});
|
|
90
90
|
},
|
|
91
91
|
eventDidMount: (info) => {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
92
|
+
if (this.iconCol) {
|
|
93
|
+
const row = info.event.extendedProps.row;
|
|
94
|
+
const cell = row.cells[this.iconCol];
|
|
95
|
+
if (cell === null || cell === void 0 ? void 0 : cell.value) {
|
|
96
|
+
const wrapper = document.createElement('div');
|
|
97
|
+
wrapper.classList.add('icon-wrapper');
|
|
98
|
+
cell.value.split(';').forEach((icon) => {
|
|
99
|
+
if (icon) {
|
|
100
|
+
const span = document.createElement('span');
|
|
101
|
+
span.className = 'custom-icon';
|
|
102
|
+
const path = getAssetPath(`./assets/svg/${icon}.svg`);
|
|
103
|
+
span.style.mask = `url('${path}') no-repeat center`;
|
|
104
|
+
span.style.webkitMask = `url('${path}') no-repeat center`;
|
|
105
|
+
wrapper.appendChild(span);
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
info.el.appendChild(wrapper);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
111
|
if (this.imageCol) {
|
|
112
112
|
const row = info.event.extendedProps.row;
|
|
113
113
|
const cell = row.cells[this.imageCol];
|
|
@@ -373,11 +373,11 @@ export class KupCalendar {
|
|
|
373
373
|
this.kupManager.debug.logRender(this, true);
|
|
374
374
|
}
|
|
375
375
|
render() {
|
|
376
|
-
return (h(Host, { key: '
|
|
376
|
+
return (h(Host, { key: '90dcbd70d9bf86fe953d261972c0dc4b9e6cd405' }, h("style", { key: '700d2d0edd7f3299f9d9e39529656b8366ae6a9c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h("div", { key: '7998e527562faa3e2479c80373121263bb1cd270', id: componentWrapperId }, h("div", { key: '9a488b6fcb41010ffc027347a0a5214dd50de7d4', class: "navigation" }, !this.hideNavigation ? (h("div", { class: "navigation__left" }, h(FButton, { icon: "chevron_left", onClick: () => this.onPrev(), title: this.kupManager.language.translate(KupLanguageGeneric.PREVIOUS), wrapperClass: "navigation__prev" }), h(FButton, { icon: "calendar", onClick: () => this.onToday(), title: this.kupManager.language.translate(KupLanguageGeneric.TODAY), wrapperClass: "navigation__today" }), h(FButton, { icon: "chevron_right", onClick: () => this.onNext(), title: this.kupManager.language.translate(KupLanguageGeneric.NEXT), wrapperClass: "navigation__next" }))) : null, h("div", { key: 'ebf98d2aae34c82651f5adbd368b19b2bc314517', class: `navigation__title ${this.hideNavigation
|
|
377
377
|
? 'navigation__title--centered'
|
|
378
378
|
: ''}`, ref: (el) => {
|
|
379
379
|
this.navTitle = el;
|
|
380
|
-
} }), !this.hideNavigation ? (h("div", { class: "navigation__right" }, h(FChip, Object.assign({}, this.setChipProps())))) : null), h("div", { key: '
|
|
380
|
+
} }), !this.hideNavigation ? (h("div", { class: "navigation__right" }, h(FChip, Object.assign({}, this.setChipProps())))) : null), h("div", { key: '5cc2675af17c156d72bca669b880382a0a3e4a8b', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
381
381
|
}
|
|
382
382
|
disconnectedCallback() {
|
|
383
383
|
if (this.calendar) {
|
|
@@ -1055,11 +1055,14 @@ export class KupDataTable {
|
|
|
1055
1055
|
getVisibleColumns() {
|
|
1056
1056
|
// Starting columns filter
|
|
1057
1057
|
let resultVisibleColumns = this.getColumns().filter((col) => {
|
|
1058
|
-
const isNotCodVer = __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").data.column.isCodVer(col);
|
|
1058
|
+
const isNotCodVer = !__classPrivateFieldGet(this, _KupDataTable_kupManager, "f").data.column.isCodVer(col);
|
|
1059
1059
|
if (this.visibleColumns) {
|
|
1060
|
+
// if visible columns is specified, include only those columns
|
|
1060
1061
|
return this.visibleColumns.includes(col.name);
|
|
1061
1062
|
}
|
|
1062
|
-
|
|
1063
|
+
else {
|
|
1064
|
+
return isNotCodVer && (!('visible' in col) || col.visible);
|
|
1065
|
+
}
|
|
1063
1066
|
});
|
|
1064
1067
|
// order based on `visibleColumns`
|
|
1065
1068
|
if (this.visibleColumns) {
|
|
@@ -1333,7 +1336,7 @@ export class KupDataTable {
|
|
|
1333
1336
|
}
|
|
1334
1337
|
let rows = null;
|
|
1335
1338
|
if (__classPrivateFieldGet(this, _KupDataTable_paginatedRowsLength, "f") === 0) {
|
|
1336
|
-
rows = (h("tr", { key: '
|
|
1339
|
+
rows = (h("tr", { key: '31702bfcff8e98c4e77187184adaa73d6ec73c8a', ref: (el) => __classPrivateFieldGet(this, _KupDataTable_rowsRefs, "f").push(el) }, h("td", { key: '94e9a3de627f06a630608d4f999bea5035a9cf49', colSpan: __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_calculateColspan).call(this) }, this.emptyDataLabel)));
|
|
1337
1340
|
}
|
|
1338
1341
|
else {
|
|
1339
1342
|
rows = [];
|
|
@@ -1398,7 +1401,7 @@ export class KupDataTable {
|
|
|
1398
1401
|
for (let i = 0; i < chipsData.length; i++) {
|
|
1399
1402
|
props.onIconClick.push(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_removeGroup).call(this, i));
|
|
1400
1403
|
}
|
|
1401
|
-
groupChips = h(FChip, Object.assign({ key: '
|
|
1404
|
+
groupChips = h(FChip, Object.assign({ key: '1eeaa77a6483bbb21a253d3f1442570be69ab97c' }, props));
|
|
1402
1405
|
}
|
|
1403
1406
|
}
|
|
1404
1407
|
const tableClass = {
|
|
@@ -1430,7 +1433,7 @@ export class KupDataTable {
|
|
|
1430
1433
|
if (this.headerIsPersistent &&
|
|
1431
1434
|
this.tableHeight === undefined &&
|
|
1432
1435
|
this.tableWidth === undefined) {
|
|
1433
|
-
stickyEl = (h("sticky-header", { key: '
|
|
1436
|
+
stickyEl = (h("sticky-header", { key: '048fd8c1b5c3399a8ca7ff1c370cc6129ce6006e', class: "hover-scrolling-child", hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_stickyTheadRef, el, "f")) }, h("thead-sticky", { key: '35b2ea8a5d914d5795940b29341f2804e6a2e88a' }, h("tr-sticky", { key: 'ebbb24321c9b78033b38fbde2ce7c67acd13f42c' }, stickyHeader))));
|
|
1434
1437
|
}
|
|
1435
1438
|
let belowClass = 'below-wrapper';
|
|
1436
1439
|
if (!!this.tableHeight || !!this.tableWidth) {
|
|
@@ -1456,11 +1459,11 @@ export class KupDataTable {
|
|
|
1456
1459
|
}
|
|
1457
1460
|
}
|
|
1458
1461
|
};
|
|
1459
|
-
const compCreated = (h(Host, { key: '
|
|
1462
|
+
const compCreated = (h(Host, { key: '8310ee690e8e7c5c4ce03f2b8ebfdd8e2fd07728', "onKup-cell-input": autoselectOnAction, "onKup-cell-update": autoselectOnAction }, h("style", { key: '0c4822b3967933dcb57bbc12093754e9f7f37971' }, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").theme.setKupStyle(this.rootElement)), this.updatableData ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_renderUpdateButtons).call(this) : null, h("div", { key: 'fe4a9412b7f753988be1dd191e2f9781978f8232', id: componentWrapperId, class: wrapClass }, h("div", { key: 'c32e7ed23cdb2fcf2c06e3de7967854168d44efb', class: "group-wrapper" }, groupChips), h("div", { key: '957e17e4e8ec4565419ef88a2616d3f98d54da89', class: "actions-wrapper", style: actionWrapperWidth }, this.globalFilter ? (h("div", { id: "global-filter" }, h(FTextField, { fullWidth: true, icon: KupThemeIconValues.SEARCH, label: __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").language.translate(KupLanguageSearch.SEARCH), value: this.globalFilterValue, onInput: (event) => {
|
|
1460
1463
|
const t = event.target;
|
|
1461
1464
|
window.clearTimeout(__classPrivateFieldGet(this, _KupDataTable_globalFilterTimeout, "f"));
|
|
1462
1465
|
__classPrivateFieldSet(this, _KupDataTable_globalFilterTimeout, window.setTimeout(() => __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onGlobalFilterChange).call(this, t), 600, t), "f");
|
|
1463
|
-
} }))) : null, h("div", { key: '
|
|
1466
|
+
} }))) : null, h("div", { key: 'e549bd24b81806a7a2c2aad793fed99489d78f31', class: "above-wrapper paginator-top" }, paginatorTop), this.insertMode !== '' &&
|
|
1464
1467
|
this.selectedRows.length > 0 ? (h(FButton, { icon: "save", onClick: () => {
|
|
1465
1468
|
this.kupSave.emit({
|
|
1466
1469
|
comp: this,
|
|
@@ -1510,9 +1513,9 @@ export class KupDataTable {
|
|
|
1510
1513
|
this.data.rows.unshift(row);
|
|
1511
1514
|
await this.refresh(true);
|
|
1512
1515
|
}
|
|
1513
|
-
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '
|
|
1516
|
+
}, sizing: KupComponentSizing.MEDIUM, styling: FButtonStyling.RAISED, title: "Insert row", wrapperClass: "insert-button" })) : null), h("div", { key: '5267efae177c8de764fbf0e24c1e653ade7d6815', class: "droparea", ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_dropareaRef, el, "f")) }, this.showGroups ? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnGroupArea).call(this) : null, this.removableColumns
|
|
1514
1517
|
? __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_columnRemoveArea).call(this)
|
|
1515
|
-
: null), h("div", { key: '
|
|
1518
|
+
: null), h("div", { key: '61c640eee5c0eba934da0efb1885df5b4218713b', style: elStyle, class: belowClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableAreaRef, el, "f")) }, this.showCustomization
|
|
1516
1519
|
? [
|
|
1517
1520
|
h("div", { class: "settings-trigger", onClick: () => {
|
|
1518
1521
|
__classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_onCustomSettingsClick).call(this);
|
|
@@ -1521,7 +1524,7 @@ export class KupDataTable {
|
|
|
1521
1524
|
} }, h(FImage, { color: `var(${KupThemeColorValues.TITLE})`, resource: "settings", sizeX: "10px" })),
|
|
1522
1525
|
this.renderCustomizePanel(),
|
|
1523
1526
|
]
|
|
1524
|
-
: null, h("table", { key: '
|
|
1527
|
+
: null, h("table", { key: '24a0b7fdc24317c222bb03e9bab04014a3ea9e7b', class: tableClass, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_tableRef, el, "f")), onMouseLeave: (ev) => {
|
|
1525
1528
|
ev.stopPropagation();
|
|
1526
1529
|
}, onPointerDown: (e) => {
|
|
1527
1530
|
__classPrivateFieldSet(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
@@ -1529,7 +1532,7 @@ export class KupDataTable {
|
|
|
1529
1532
|
__classPrivateFieldSet(this, _KupDataTable_lastPointerDetails, __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_getEventDetails).call(this, __classPrivateFieldGet(this, _KupDataTable_kupManager, "f").getEventPath(e.target, this.rootElement), e), "f");
|
|
1530
1533
|
}, onContextMenu: (e) => {
|
|
1531
1534
|
e.preventDefault();
|
|
1532
|
-
} }, h("thead", { key: '
|
|
1535
|
+
} }, h("thead", { key: '65fab7d461bded7547edc6ecb4488ed00cab497b', hidden: !this.showHeader, ref: (el) => (__classPrivateFieldSet(this, _KupDataTable_theadRef, el, "f")) }, h("tr", { key: '09cf7b1f88c5aefab894290f13f759aab5c7791d' }, header)), h("tbody", { key: '1efd7c01ee552ca5bc09cd086efb1bc772037cec' }, rows), this.showFooter || __classPrivateFieldGet(this, _KupDataTable_instances, "m", _KupDataTable_hasTotals).call(this)
|
|
1533
1536
|
? this.renderFooter()
|
|
1534
1537
|
: null), stickyEl), paginatorBottom)));
|
|
1535
1538
|
return compCreated;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
2
|
import { k as kupManagerInstance, a as KupComponentSizing, g as getProps, s as setProps, b as KupThemeColorValues, c as KupThemeIconValues } from './p-d80bbcb0.js';
|
|
3
|
-
import { M as MDCRipple, F as FImage, 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, C as defineCustomElement$t } from './p-
|
|
3
|
+
import { M as MDCRipple, F as FImage, 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, C as defineCustomElement$t } from './p-41472dd0.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Props of the kup-accordion component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, F as Fragment, d as Host } from './p-2e5f2e07.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, o as getCellValueForDisplay } from './p-d80bbcb0.js';
|
|
3
|
-
import { c as componentWrapperId, D as sortRows, 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, C as defineCustomElement$t, F as FImage } from './p-
|
|
3
|
+
import { c as componentWrapperId, D as sortRows, 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, C as defineCustomElement$t, F as FImage } from './p-41472dd0.js';
|
|
4
4
|
|
|
5
5
|
var KupActivityTimelineProps;
|
|
6
6
|
(function (KupActivityTimelineProps) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { K as KupAutocomplete$1, C as defineCustomElement$1 } from './p-
|
|
1
|
+
import { K as KupAutocomplete$1, C as defineCustomElement$1 } from './p-41472dd0.js';
|
|
2
2
|
|
|
3
3
|
const KupAutocomplete = KupAutocomplete$1;
|
|
4
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H as H$2, c as createEvent, f as forceUpdate, h as h$1, d as Host } from './p-2e5f2e07.js';
|
|
1
|
+
import { p as proxyCustomElement, H as H$2, c as createEvent, g as getAssetPath, f as forceUpdate, h as h$1, d as Host } from './p-2e5f2e07.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, d as KupLanguageGeneric, G as getColumnByName, t as KupDebugCategory } from './p-d80bbcb0.js';
|
|
3
|
-
import { c as componentWrapperId, S as FButton, N 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, C as defineCustomElement$t, T as FChipType } from './p-
|
|
3
|
+
import { c as componentWrapperId, S as FButton, N 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, C as defineCustomElement$t, T as FChipType } from './p-41472dd0.js';
|
|
4
4
|
import { b as KupDatesLocales, K as KupDatesFormats } from './p-1581348d.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;
|
|
@@ -14028,25 +14028,25 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14028
14028
|
});
|
|
14029
14029
|
},
|
|
14030
14030
|
eventDidMount: (info) => {
|
|
14031
|
-
|
|
14032
|
-
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14036
|
-
|
|
14037
|
-
|
|
14038
|
-
|
|
14039
|
-
|
|
14040
|
-
|
|
14041
|
-
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14031
|
+
if (this.iconCol) {
|
|
14032
|
+
const row = info.event.extendedProps.row;
|
|
14033
|
+
const cell = row.cells[this.iconCol];
|
|
14034
|
+
if (cell === null || cell === void 0 ? void 0 : cell.value) {
|
|
14035
|
+
const wrapper = document.createElement('div');
|
|
14036
|
+
wrapper.classList.add('icon-wrapper');
|
|
14037
|
+
cell.value.split(';').forEach((icon) => {
|
|
14038
|
+
if (icon) {
|
|
14039
|
+
const span = document.createElement('span');
|
|
14040
|
+
span.className = 'custom-icon';
|
|
14041
|
+
const path = getAssetPath(`./assets/svg/${icon}.svg`);
|
|
14042
|
+
span.style.mask = `url('${path}') no-repeat center`;
|
|
14043
|
+
span.style.webkitMask = `url('${path}') no-repeat center`;
|
|
14044
|
+
wrapper.appendChild(span);
|
|
14045
|
+
}
|
|
14046
|
+
});
|
|
14047
|
+
info.el.appendChild(wrapper);
|
|
14048
|
+
}
|
|
14049
|
+
}
|
|
14050
14050
|
if (this.imageCol) {
|
|
14051
14051
|
const row = info.event.extendedProps.row;
|
|
14052
14052
|
const cell = row.cells[this.imageCol];
|
|
@@ -14312,11 +14312,11 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14312
14312
|
this.kupManager.debug.logRender(this, true);
|
|
14313
14313
|
}
|
|
14314
14314
|
render() {
|
|
14315
|
-
return (h$1(Host, { key: '
|
|
14315
|
+
return (h$1(Host, { key: '90dcbd70d9bf86fe953d261972c0dc4b9e6cd405' }, h$1("style", { key: '700d2d0edd7f3299f9d9e39529656b8366ae6a9c' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '7998e527562faa3e2479c80373121263bb1cd270', id: componentWrapperId }, h$1("div", { key: '9a488b6fcb41010ffc027347a0a5214dd50de7d4', 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: 'ebf98d2aae34c82651f5adbd368b19b2bc314517', class: `navigation__title ${this.hideNavigation
|
|
14316
14316
|
? 'navigation__title--centered'
|
|
14317
14317
|
: ''}`, ref: (el) => {
|
|
14318
14318
|
this.navTitle = el;
|
|
14319
|
-
} }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: '
|
|
14319
|
+
} }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: '5cc2675af17c156d72bca669b880382a0a3e4a8b', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14320
14320
|
}
|
|
14321
14321
|
disconnectedCallback() {
|
|
14322
14322
|
if (this.calendar) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
2
|
import { k as kupManagerInstance, g as getProps, s as setProps, a5 as KupCardFamily, o as getCellValueForDisplay } from './p-d80bbcb0.js';
|
|
3
|
-
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$f, 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$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-
|
|
4
|
-
import { d as defineCustomElement$e } from './p-
|
|
3
|
+
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$f, 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$s, B as defineCustomElement$t, C as defineCustomElement$u } from './p-41472dd0.js';
|
|
4
|
+
import { d as defineCustomElement$e } from './p-a9c185c6.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Props of the kup-card-list component.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
2
|
import { k as kupManagerInstance, u as FCellPadding, ar as KupCellElementsPosition, g as getProps, s as setProps, ac as KupDragEffect, as as submitPositionAdapter, d as KupLanguageGeneric, at as KupCellProps } from './p-d80bbcb0.js';
|
|
3
|
-
import { c as componentWrapperId, L as FCell, S 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, C as defineCustomElement$t } from './p-
|
|
3
|
+
import { c as componentWrapperId, L as FCell, S 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, C as defineCustomElement$t } from './p-41472dd0.js';
|
|
4
4
|
|
|
5
5
|
const kupCellCss = ".kup-body-compact-01{font-family:var(--kup-font-family);font-size:var(--kup-body-compact-01-font-size, 14px);line-height:18px;font-weight:400;letter-spacing:0.16px}.kup-body-01{font-family:var(--kup-font-family);font-size:var(--kup-body-01-font-size, 14px);line-height:20px;font-weight:400;letter-spacing:0.16px}.kup-code-01{font-family:var(--kup-font-family-monospace);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-label-01{font-family:var(--kup-font-family);font-size:12px;line-height:16px;font-weight:400;letter-spacing:0.32px}.kup-caption-02{font-family:var(--kup-font-family);font-size:12px;line-height:15px;font-weight:500;letter-spacing:1px}.kup-caption-01{font-family:var(--kup-font-family);font-size:10px;line-height:13px;font-weight:400;letter-spacing:1px}.kup-small-label-01{font-family:var(--kup-font-family);font-size:6px;line-height:9px;font-weight:400;letter-spacing:1px}.kup-heading-compact-01{font-family:var(--kup-font-family);font-size:14px;line-height:18px;font-weight:600;letter-spacing:0.16px}.kup-heading-01{font-family:var(--kup-font-family);font-size:14px;line-height:20px;font-weight:600;letter-spacing:0.16px}.kup-heading-02{font-family:var(--kup-font-family);font-size:16px;line-height:24px;font-weight:500;letter-spacing:0}.kup-heading-03{font-family:var(--kup-font-family);font-size:20px;line-height:28px;font-weight:400;letter-spacing:0}.kup-heading-04{font-family:var(--kup-font-family);font-size:28px;line-height:36px;font-weight:400;letter-spacing:0}.kup-heading-05{font-family:var(--kup-font-family);font-size:32px;line-height:40px;font-weight:300;letter-spacing:0}.kup-heading-06{font-family:var(--kup-font-family);font-size:42px;line-height:50px;font-weight:300;letter-spacing:0}.kup-heading-07{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:300;letter-spacing:0}.kup-heading-08{font-family:var(--kup-font-family);font-size:54px;line-height:64px;font-weight:600;letter-spacing:0}:host{display:block;height:fit-content;width:100%}#kup-component{height:fit-content;width:100%}";
|
|
6
6
|
const KupCellStyle0 = kupCellCss;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, f as forceUpdate, h, d as Host } from './p-2e5f2e07.js';
|
|
2
|
-
import { S as FButton, _ as FTextField, $ as FCheckbox, O 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, C as defineCustomElement$t } from './p-
|
|
2
|
+
import { S as FButton, _ as FTextField, $ as FCheckbox, O 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, C as defineCustomElement$t } from './p-41472dd0.js';
|
|
3
3
|
import { k as kupManagerInstance, g as getProps, s as setProps, au as KupLanguageDashboard, d as KupLanguageGeneric, ac as KupDragEffect, t as KupDebugCategory } from './p-d80bbcb0.js';
|
|
4
4
|
|
|
5
5
|
/**
|