@sme.up/ketchup 11.0.0-SNAPSHOT-20241017151034 → 11.0.0-SNAPSHOT-20241018133752
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/ketchup.cjs.js +1 -1
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js +8 -6
- package/dist/cjs/kup-autocomplete_27.cjs.entry.js.map +1 -1
- package/dist/cjs/kup-calendar.cjs.entry.js +25 -26
- package/dist/cjs/kup-calendar.cjs.entry.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/collection/assets/calendar.js +29 -30
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js +4 -3
- package/dist/collection/components/kup-autocomplete/kup-autocomplete.js.map +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar-declarations.js.map +1 -1
- package/dist/collection/components/kup-calendar/kup-calendar.js +25 -51
- package/dist/collection/components/kup-calendar/kup-calendar.js.map +1 -1
- package/dist/collection/components/kup-combobox/kup-combobox.js +4 -3
- package/dist/collection/components/kup-combobox/kup-combobox.js.map +1 -1
- package/dist/components/kup-autocomplete2.js +8 -6
- package/dist/components/kup-autocomplete2.js.map +1 -1
- package/dist/components/kup-calendar.js +25 -27
- package/dist/components/kup-calendar.js.map +1 -1
- package/dist/esm/ketchup.js +1 -1
- package/dist/esm/kup-autocomplete_27.entry.js +8 -6
- package/dist/esm/kup-autocomplete_27.entry.js.map +1 -1
- package/dist/esm/kup-calendar.entry.js +25 -26
- package/dist/esm/kup-calendar.entry.js.map +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-aadfd358.entry.js → p-c8ec502a.entry.js} +2 -2
- package/dist/ketchup/p-c8ec502a.entry.js.map +1 -0
- package/dist/ketchup/p-e75fac6f.entry.js +9 -0
- package/dist/ketchup/p-e75fac6f.entry.js.map +1 -0
- package/dist/types/components/kup-calendar/kup-calendar-declarations.d.ts +5 -5
- package/dist/types/components/kup-calendar/kup-calendar.d.ts +1 -6
- package/dist/types/components.d.ts +2 -12
- package/package.json +1 -1
- package/dist/ketchup/p-40b3c165.entry.js +0 -9
- package/dist/ketchup/p-40b3c165.entry.js.map +0 -1
- package/dist/ketchup/p-aadfd358.entry.js.map +0 -1
|
@@ -13979,15 +13979,6 @@ const KupCalendar = class {
|
|
|
13979
13979
|
this.currentDate = null;
|
|
13980
13980
|
this.customStyle = '';
|
|
13981
13981
|
this.data = null;
|
|
13982
|
-
this.calendarColumns = {
|
|
13983
|
-
[KupCalendarOptions.DATE]: false,
|
|
13984
|
-
[KupCalendarOptions.DESCR]: false,
|
|
13985
|
-
[KupCalendarOptions.END]: false,
|
|
13986
|
-
[KupCalendarOptions.ICON]: false,
|
|
13987
|
-
[KupCalendarOptions.IMAGE]: false,
|
|
13988
|
-
[KupCalendarOptions.START]: false,
|
|
13989
|
-
[KupCalendarOptions.STYLE]: false,
|
|
13990
|
-
};
|
|
13991
13982
|
this.hideNavigation = false;
|
|
13992
13983
|
this.editableEvents = true;
|
|
13993
13984
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
@@ -14004,21 +13995,29 @@ const KupCalendar = class {
|
|
|
14004
13995
|
}
|
|
14005
13996
|
for (let index = 0; this.data && this.data.columns && index < this.data.columns.length; index++) {
|
|
14006
13997
|
const column = this.data.columns[index];
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
13998
|
+
switch (column.calendarOption) {
|
|
13999
|
+
case KupCalendarOptions.DATE:
|
|
14000
|
+
this.dateCol = column.name;
|
|
14001
|
+
break;
|
|
14002
|
+
case KupCalendarOptions.DESCR:
|
|
14003
|
+
this.descrCol = column.name;
|
|
14004
|
+
break;
|
|
14005
|
+
case KupCalendarOptions.END:
|
|
14006
|
+
this.endCol = column.name;
|
|
14007
|
+
break;
|
|
14008
|
+
case KupCalendarOptions.ICON:
|
|
14009
|
+
this.iconCol = column.name;
|
|
14010
|
+
break;
|
|
14011
|
+
case KupCalendarOptions.IMAGE:
|
|
14012
|
+
this.imageCol = column.name;
|
|
14013
|
+
break;
|
|
14014
|
+
case KupCalendarOptions.START:
|
|
14015
|
+
this.startCol = column.name;
|
|
14016
|
+
break;
|
|
14017
|
+
case KupCalendarOptions.STYLE:
|
|
14018
|
+
this.styleCol = column.name;
|
|
14019
|
+
break;
|
|
14020
|
+
}
|
|
14022
14021
|
}
|
|
14023
14022
|
this.calendar = new Calendar(this.calendarContainer, {
|
|
14024
14023
|
dateClick: ({ date }) => {
|
|
@@ -14301,11 +14300,11 @@ const KupCalendar = class {
|
|
|
14301
14300
|
this.kupManager.debug.logRender(this, true);
|
|
14302
14301
|
}
|
|
14303
14302
|
render() {
|
|
14304
|
-
return (h$1(Host, { key: '
|
|
14303
|
+
return (h$1(Host, { key: '77367712ac84cd2a6dd290c69322188ea6188412' }, h$1("style", { key: 'c8a84fc5a1a29f6c638bb1a7a666edbefa31673a' }, this.kupManager.theme.setKupStyle(this.rootElement)), h$1("div", { key: '839ce76af5bcea2a7f0ae175ca2ac5386fbc31af', id: componentWrapperId }, h$1("div", { key: '5a09915815d6a8cbc9bda12c70e2cb84cb6bec9f', 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: '628a9c11e8de9fc2c0974699ddd0d57fcdaf0d69', class: `navigation__title ${this.hideNavigation
|
|
14305
14304
|
? 'navigation__title--centered'
|
|
14306
14305
|
: ''}`, ref: (el) => {
|
|
14307
14306
|
this.navTitle = el;
|
|
14308
|
-
} }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: '
|
|
14307
|
+
} }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: 'b38321df314189e557ab27056c4f2959265bd1b8', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14309
14308
|
}
|
|
14310
14309
|
disconnectedCallback() {
|
|
14311
14310
|
if (this.calendar) {
|