@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
|
@@ -13977,15 +13977,6 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
13977
13977
|
this.currentDate = null;
|
|
13978
13978
|
this.customStyle = '';
|
|
13979
13979
|
this.data = null;
|
|
13980
|
-
this.calendarColumns = {
|
|
13981
|
-
[KupCalendarOptions.DATE]: false,
|
|
13982
|
-
[KupCalendarOptions.DESCR]: false,
|
|
13983
|
-
[KupCalendarOptions.END]: false,
|
|
13984
|
-
[KupCalendarOptions.ICON]: false,
|
|
13985
|
-
[KupCalendarOptions.IMAGE]: false,
|
|
13986
|
-
[KupCalendarOptions.START]: false,
|
|
13987
|
-
[KupCalendarOptions.STYLE]: false,
|
|
13988
|
-
};
|
|
13989
13980
|
this.hideNavigation = false;
|
|
13990
13981
|
this.editableEvents = true;
|
|
13991
13982
|
this.viewType = KupCalendarViewTypes.MONTH;
|
|
@@ -14002,21 +13993,29 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14002
13993
|
}
|
|
14003
13994
|
for (let index = 0; this.data && this.data.columns && index < this.data.columns.length; index++) {
|
|
14004
13995
|
const column = this.data.columns[index];
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14009
|
-
|
|
14010
|
-
|
|
14011
|
-
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14016
|
-
|
|
14017
|
-
|
|
14018
|
-
|
|
14019
|
-
|
|
13996
|
+
switch (column.calendarOption) {
|
|
13997
|
+
case KupCalendarOptions.DATE:
|
|
13998
|
+
this.dateCol = column.name;
|
|
13999
|
+
break;
|
|
14000
|
+
case KupCalendarOptions.DESCR:
|
|
14001
|
+
this.descrCol = column.name;
|
|
14002
|
+
break;
|
|
14003
|
+
case KupCalendarOptions.END:
|
|
14004
|
+
this.endCol = column.name;
|
|
14005
|
+
break;
|
|
14006
|
+
case KupCalendarOptions.ICON:
|
|
14007
|
+
this.iconCol = column.name;
|
|
14008
|
+
break;
|
|
14009
|
+
case KupCalendarOptions.IMAGE:
|
|
14010
|
+
this.imageCol = column.name;
|
|
14011
|
+
break;
|
|
14012
|
+
case KupCalendarOptions.START:
|
|
14013
|
+
this.startCol = column.name;
|
|
14014
|
+
break;
|
|
14015
|
+
case KupCalendarOptions.STYLE:
|
|
14016
|
+
this.styleCol = column.name;
|
|
14017
|
+
break;
|
|
14018
|
+
}
|
|
14020
14019
|
}
|
|
14021
14020
|
this.calendar = new Calendar(this.calendarContainer, {
|
|
14022
14021
|
dateClick: ({ date }) => {
|
|
@@ -14299,11 +14298,11 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14299
14298
|
this.kupManager.debug.logRender(this, true);
|
|
14300
14299
|
}
|
|
14301
14300
|
render() {
|
|
14302
|
-
return (h$1(Host, { key: '
|
|
14301
|
+
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
|
|
14303
14302
|
? 'navigation__title--centered'
|
|
14304
14303
|
: ''}`, ref: (el) => {
|
|
14305
14304
|
this.navTitle = el;
|
|
14306
|
-
} }), !this.hideNavigation ? (h$1("div", { class: "navigation__right" }, h$1(FChip, Object.assign({}, this.setChipProps())))) : null), h$1("div", { key: '
|
|
14305
|
+
} }), !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) }))));
|
|
14307
14306
|
}
|
|
14308
14307
|
disconnectedCallback() {
|
|
14309
14308
|
if (this.calendar) {
|
|
@@ -14324,7 +14323,6 @@ const KupCalendar$1 = /*@__PURE__*/ proxyCustomElement(class KupCalendar extends
|
|
|
14324
14323
|
"currentDate": [1, "current-date"],
|
|
14325
14324
|
"customStyle": [1, "custom-style"],
|
|
14326
14325
|
"data": [16],
|
|
14327
|
-
"calendarColumns": [16],
|
|
14328
14326
|
"hideNavigation": [4, "hide-navigation"],
|
|
14329
14327
|
"editableEvents": [4, "editable-events"],
|
|
14330
14328
|
"viewType": [1025, "view-type"],
|