@sme.up/ketchup 11.0.0-SNAPSHOT-20241023143330 → 11.0.0-SNAPSHOT-20241024071006
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{f-cell-fe25710c.js → f-cell-dc1c25c5.js} +20 -1
- package/dist/cjs/f-cell-dc1c25c5.js.map +1 -0
- package/dist/cjs/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +1 -1
- package/dist/cjs/kup-box.cjs.entry.js +1 -1
- package/dist/cjs/kup-calendar.cjs.entry.js +21 -27
- package/dist/cjs/kup-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/kup-cell.cjs.entry.js +1 -1
- package/dist/cjs/kup-image-list.cjs.entry.js +1 -1
- package/dist/cjs/kup-input-panel.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/calendar.js +219 -36
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js.map +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +46 -27
- package/dist/collection/components/kup-calendar/kup-calendar.js.map +1 -1
- package/dist/collection/f-components/f-cell/f-cell.js +19 -0
- package/dist/collection/f-components/f-cell/f-cell.js.map +1 -1
- package/dist/components/kup-autocomplete2.js +19 -0
- package/dist/components/kup-autocomplete2.js.map +1 -1
- package/dist/components/kup-calendar.js +22 -27
- package/dist/components/kup-calendar.js.map +1 -1
- package/dist/esm/{f-cell-809f676d.js → f-cell-51df0212.js} +20 -1
- package/dist/esm/f-cell-51df0212.js.map +1 -0
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-autocomplete_27.entry.js +1 -1
- package/dist/esm/kup-box.entry.js +1 -1
- package/dist/esm/kup-calendar.entry.js +21 -27
- package/dist/esm/kup-calendar.entry.js.map +1 -1
- package/dist/esm/kup-cell.entry.js +1 -1
- package/dist/esm/kup-image-list.entry.js +1 -1
- package/dist/esm/kup-input-panel.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/ketchup/ketchup.esm.js +1 -1
- package/dist/ketchup/ketchup.esm.js.map +1 -1
- package/dist/ketchup/{p-05a7120a.entry.js → p-1ffcc364.entry.js} +2 -2
- package/dist/ketchup/p-1ffcc364.entry.js.map +1 -0
- package/dist/ketchup/{p-b2266861.entry.js → p-96276a2b.entry.js} +2 -2
- package/dist/ketchup/{p-794c420d.entry.js → p-992fd3e1.entry.js} +2 -2
- package/dist/ketchup/p-aa1b84ce.js +2 -0
- package/dist/ketchup/p-aa1b84ce.js.map +1 -0
- package/dist/ketchup/{p-88464ed1.entry.js → p-bd5d3adb.entry.js} +2 -2
- package/dist/ketchup/{p-cb2697f0.entry.js → p-c9168d92.entry.js} +2 -2
- package/dist/ketchup/{p-e34f289a.entry.js → p-edde6aec.entry.js} +2 -2
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +4 -4
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +7 -1
- package/dist/types/components.d.ts +12 -2
- package/package.json +1 -1
- package/dist/cjs/f-cell-fe25710c.js.map +0 -1
- package/dist/esm/f-cell-809f676d.js.map +0 -1
- package/dist/ketchup/p-05a7120a.entry.js.map +0 -1
- package/dist/ketchup/p-b89da9c4.js +0 -2
- package/dist/ketchup/p-b89da9c4.js.map +0 -1
- /package/dist/ketchup/{p-b2266861.entry.js.map → p-96276a2b.entry.js.map} +0 -0
- /package/dist/ketchup/{p-794c420d.entry.js.map → p-992fd3e1.entry.js.map} +0 -0
- /package/dist/ketchup/{p-88464ed1.entry.js.map → p-bd5d3adb.entry.js.map} +0 -0
- /package/dist/ketchup/{p-cb2697f0.entry.js.map → p-c9168d92.entry.js.map} +0 -0
- /package/dist/ketchup/{p-e34f289a.entry.js.map → p-edde6aec.entry.js.map} +0 -0
|
@@ -8,7 +8,7 @@ const kupDataTableHelper = require('./kup-data-table-helper-ecda1d0f.js');
|
|
|
8
8
|
const fImage = require('./f-image-8dbf27a2.js');
|
|
9
9
|
const fChip = require('./f-chip-cb102c29.js');
|
|
10
10
|
const GenericVariables = require('./GenericVariables-1d52ba57.js');
|
|
11
|
-
const fCell = require('./f-cell-
|
|
11
|
+
const fCell = require('./f-cell-dc1c25c5.js');
|
|
12
12
|
const fPaginatorUtils = require('./f-paginator-utils-da6cd873.js');
|
|
13
13
|
const fTextFieldMdc = require('./f-text-field-mdc-2a3c8c01.js');
|
|
14
14
|
require('./kup-dates-3fc9697c.js');
|
|
@@ -13983,6 +13983,15 @@ const KupCalendar = class {
|
|
|
13983
13983
|
this.currentDate = null;
|
|
13984
13984
|
this.customStyle = '';
|
|
13985
13985
|
this.data = null;
|
|
13986
|
+
this.calendarColumns = {
|
|
13987
|
+
[KupCalendarOptions.DATE]: '',
|
|
13988
|
+
[KupCalendarOptions.DESCR]: '',
|
|
13989
|
+
[KupCalendarOptions.END]: '',
|
|
13990
|
+
[KupCalendarOptions.ICON]: '',
|
|
13991
|
+
[KupCalendarOptions.IMAGE]: '',
|
|
13992
|
+
[KupCalendarOptions.START]: '',
|
|
13993
|
+
[KupCalendarOptions.STYLE]: '',
|
|
13994
|
+
};
|
|
13986
13995
|
this.hideNavigation = false;
|
|
13987
13996
|
this.editableEvents = true;
|
|
13988
13997
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
@@ -13991,37 +14000,22 @@ const KupCalendar = class {
|
|
|
13991
14000
|
/* W a t c h e r s */
|
|
13992
14001
|
/*-------------------------------------------------*/
|
|
13993
14002
|
setCalendarData() {
|
|
14003
|
+
var _a;
|
|
13994
14004
|
if (!this.calendarContainer) {
|
|
13995
14005
|
return;
|
|
13996
14006
|
}
|
|
13997
14007
|
if (this.calendar) {
|
|
13998
14008
|
this.calendar.destroy();
|
|
13999
14009
|
}
|
|
14000
|
-
|
|
14001
|
-
|
|
14002
|
-
|
|
14003
|
-
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
case KupCalendarOptions.END:
|
|
14010
|
-
this.endCol = column.name;
|
|
14011
|
-
break;
|
|
14012
|
-
case KupCalendarOptions.ICON:
|
|
14013
|
-
this.iconCol = column.name;
|
|
14014
|
-
break;
|
|
14015
|
-
case KupCalendarOptions.IMAGE:
|
|
14016
|
-
this.imageCol = column.name;
|
|
14017
|
-
break;
|
|
14018
|
-
case KupCalendarOptions.START:
|
|
14019
|
-
this.startCol = column.name;
|
|
14020
|
-
break;
|
|
14021
|
-
case KupCalendarOptions.STYLE:
|
|
14022
|
-
this.styleCol = column.name;
|
|
14023
|
-
break;
|
|
14024
|
-
}
|
|
14010
|
+
if ((_a = this.data) === null || _a === void 0 ? void 0 : _a.columns) {
|
|
14011
|
+
this.data.columns.forEach((column) => {
|
|
14012
|
+
for (const key in this.calendarColumns) {
|
|
14013
|
+
if (this.calendarColumns[key] === column.name) {
|
|
14014
|
+
this[`${key}Col`] = column.name;
|
|
14015
|
+
break;
|
|
14016
|
+
}
|
|
14017
|
+
}
|
|
14018
|
+
});
|
|
14025
14019
|
}
|
|
14026
14020
|
this.calendar = new Calendar(this.calendarContainer, {
|
|
14027
14021
|
dateClick: ({ date }) => {
|
|
@@ -14304,11 +14298,11 @@ const KupCalendar = class {
|
|
|
14304
14298
|
this.kupManager.debug.logRender(this, true);
|
|
14305
14299
|
}
|
|
14306
14300
|
render() {
|
|
14307
|
-
return (index$4.h(index$4.Host, { key: '
|
|
14301
|
+
return (index$4.h(index$4.Host, { key: 'bdd424eed81973543ce0456b76729821e630de31' }, index$4.h("style", { key: '390d5a2a2d06f5119d1e03c7fd00271983ebcce4' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '7b24bb47c6b934f5fe47289790ee717ce261d9b9', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: '2f72c647d22945a38bce0073729ffbd3f28dec9e', 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: '35a9b8aa076db1e723de96fcd9a5eb8b6b7dcf40', class: `navigation__title ${this.hideNavigation
|
|
14308
14302
|
? 'navigation__title--centered'
|
|
14309
14303
|
: ''}`, ref: (el) => {
|
|
14310
14304
|
this.navTitle = el;
|
|
14311
|
-
} }), !this.hideNavigation ? (index$4.h("div", { class: "navigation__right" }, index$4.h(fChip.FChip, Object.assign({}, this.setChipProps())))) : null), index$4.h("div", { key: '
|
|
14305
|
+
} }), !this.hideNavigation ? (index$4.h("div", { class: "navigation__right" }, index$4.h(fChip.FChip, Object.assign({}, this.setChipProps())))) : null), index$4.h("div", { key: '4ade88713da0e92a1c21b62922db53c23f0e6e0a', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14312
14306
|
}
|
|
14313
14307
|
disconnectedCallback() {
|
|
14314
14308
|
if (this.calendar) {
|