@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
|
@@ -13983,15 +13983,6 @@ const KupCalendar = class {
|
|
|
13983
13983
|
this.currentDate = null;
|
|
13984
13984
|
this.customStyle = '';
|
|
13985
13985
|
this.data = null;
|
|
13986
|
-
this.calendarColumns = {
|
|
13987
|
-
[KupCalendarOptions.DATE]: false,
|
|
13988
|
-
[KupCalendarOptions.DESCR]: false,
|
|
13989
|
-
[KupCalendarOptions.END]: false,
|
|
13990
|
-
[KupCalendarOptions.ICON]: false,
|
|
13991
|
-
[KupCalendarOptions.IMAGE]: false,
|
|
13992
|
-
[KupCalendarOptions.START]: false,
|
|
13993
|
-
[KupCalendarOptions.STYLE]: false,
|
|
13994
|
-
};
|
|
13995
13986
|
this.hideNavigation = false;
|
|
13996
13987
|
this.editableEvents = true;
|
|
13997
13988
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
@@ -14008,21 +13999,29 @@ const KupCalendar = class {
|
|
|
14008
13999
|
}
|
|
14009
14000
|
for (let index = 0; this.data && this.data.columns && index < this.data.columns.length; index++) {
|
|
14010
14001
|
const column = this.data.columns[index];
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
14020
|
-
|
|
14021
|
-
|
|
14022
|
-
|
|
14023
|
-
|
|
14024
|
-
|
|
14025
|
-
|
|
14002
|
+
switch (column.calendarOption) {
|
|
14003
|
+
case KupCalendarOptions.DATE:
|
|
14004
|
+
this.dateCol = column.name;
|
|
14005
|
+
break;
|
|
14006
|
+
case KupCalendarOptions.DESCR:
|
|
14007
|
+
this.descrCol = column.name;
|
|
14008
|
+
break;
|
|
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
|
+
}
|
|
14026
14025
|
}
|
|
14027
14026
|
this.calendar = new Calendar(this.calendarContainer, {
|
|
14028
14027
|
dateClick: ({ date }) => {
|
|
@@ -14305,11 +14304,11 @@ const KupCalendar = class {
|
|
|
14305
14304
|
this.kupManager.debug.logRender(this, true);
|
|
14306
14305
|
}
|
|
14307
14306
|
render() {
|
|
14308
|
-
return (index$4.h(index$4.Host, { key: '
|
|
14307
|
+
return (index$4.h(index$4.Host, { key: '77367712ac84cd2a6dd290c69322188ea6188412' }, index$4.h("style", { key: 'c8a84fc5a1a29f6c638bb1a7a666edbefa31673a' }, this.kupManager.theme.setKupStyle(this.rootElement)), index$4.h("div", { key: '839ce76af5bcea2a7f0ae175ca2ac5386fbc31af', id: GenericVariables.componentWrapperId }, index$4.h("div", { key: '5a09915815d6a8cbc9bda12c70e2cb84cb6bec9f', 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: '628a9c11e8de9fc2c0974699ddd0d57fcdaf0d69', class: `navigation__title ${this.hideNavigation
|
|
14309
14308
|
? 'navigation__title--centered'
|
|
14310
14309
|
: ''}`, ref: (el) => {
|
|
14311
14310
|
this.navTitle = el;
|
|
14312
|
-
} }), !this.hideNavigation ? (index$4.h("div", { class: "navigation__right" }, index$4.h(fChip.FChip, Object.assign({}, this.setChipProps())))) : null), index$4.h("div", { key: '
|
|
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: 'b38321df314189e557ab27056c4f2959265bd1b8', class: "calendar", ref: (el) => (this.calendarContainer = el) }))));
|
|
14313
14312
|
}
|
|
14314
14313
|
disconnectedCallback() {
|
|
14315
14314
|
if (this.calendar) {
|