@progress/kendo-vue-scheduler 6.4.1-develop.2 → 6.4.2-develop.3
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/Scheduler.mjs +7 -7
- package/components/BaseView.js +1 -1
- package/components/BaseView.mjs +4 -4
- package/components/CurrentTimeMarkerArrow.mjs +3 -3
- package/components/DateHeaderCell.mjs +3 -3
- package/components/SchedulerForm.mjs +4 -4
- package/components/SchedulerOccurrenceDialog.mjs +3 -3
- package/components/SchedulerRemoveDialog.mjs +1 -1
- package/components/ShowMoreItemsButton.mjs +1 -1
- package/components/TimeHeaderCell.mjs +4 -4
- package/components/header/navigation/NavigationDatePicker.mjs +1 -1
- package/constants/main.js +1 -1
- package/constants/main.mjs +13 -13
- package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
- package/editors/FilterableComboBox.js +1 -1
- package/editors/FilterableComboBox.mjs +13 -5
- package/editors/SchedulerFormEditor.js +1 -1
- package/editors/SchedulerFormEditor.mjs +9 -8
- package/editors/ZonedDateTime.mjs +1 -1
- package/hooks/useRowSync.js +1 -1
- package/hooks/useRowSync.mjs +4 -1
- package/items/SchedulerEditItem.js +1 -1
- package/items/SchedulerEditItem.mjs +6 -6
- package/items/SchedulerItem.mjs +3 -3
- package/items/SchedulerViewItem.mjs +4 -4
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
- package/recurrence/RecurrenceEditor.mjs +22 -22
- package/services/occurrenceService.mjs +1 -1
- package/slots/SchedulerEditSlot.js +1 -1
- package/slots/SchedulerEditSlot.mjs +9 -9
- package/slots/SchedulerSlot.mjs +1 -1
- package/slots/SchedulerViewSlot.mjs +4 -4
- package/views/agenda/AgendaView.mjs +1 -1
- package/views/common/SchedulerDrag.js +1 -1
- package/views/common/SchedulerDrag.mjs +4 -4
- package/views/common/SchedulerResize.js +1 -1
- package/views/common/SchedulerResize.mjs +4 -4
- package/views/day/DayViewVerticalSlotsRow.mjs +3 -3
- package/views/day/MultiDayView.js +1 -1
- package/views/day/MultiDayView.mjs +7 -7
- package/views/month/MonthView.mjs +8 -8
- package/views/time/MultiDayTimelineView.js +1 -1
- package/views/time/MultiDayTimelineView.mjs +26 -34
- package/views/time/TimelineViewBody.mjs +3 -3
- package/views/week/WeekView.mjs +1 -1
package/Scheduler.mjs
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as j, createVNode as o, h as f } from "vue";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { getToday as z, findMaster as p, setField as l, getField as r, toSchedulerGroups as M, getModelFields as g } from "./utils/main.mjs";
|
|
10
|
+
import { clone as c, validatePackage as L, shouldShowValidationUI as B, templateRendering as d, getListeners as v, getTemplate as D, WatermarkOverlay as _, isRtl as U } from "@progress/kendo-vue-common";
|
|
11
11
|
import { SchedulerHeader as G } from "./components/header/SchedulerHeader.mjs";
|
|
12
12
|
import { provideIntlService as V } from "@progress/kendo-vue-intl";
|
|
13
13
|
import { SchedulerNavigation as K } from "./components/header/navigation/SchedulerNavigation.mjs";
|
|
@@ -105,7 +105,7 @@ const I = "{0:D}", $ = "{0:d}", $e = /* @__PURE__ */ j({
|
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
mounted() {
|
|
108
|
-
this.currentRtl =
|
|
108
|
+
this.currentRtl = U(this.$el);
|
|
109
109
|
},
|
|
110
110
|
provide() {
|
|
111
111
|
return {
|
|
@@ -151,7 +151,7 @@ const I = "{0:D}", $ = "{0:d}", $e = /* @__PURE__ */ j({
|
|
|
151
151
|
views: this.views,
|
|
152
152
|
view: t,
|
|
153
153
|
fields: g(this.$props.modelFields).fields,
|
|
154
|
-
groups:
|
|
154
|
+
groups: M(this.$props.group, this.$props.resources),
|
|
155
155
|
dateRange: h,
|
|
156
156
|
orientation: this.$props.group && this.$props.group.orientation ? this.$props.group.orientation : "horizontal",
|
|
157
157
|
dateFormat: a,
|
|
@@ -179,7 +179,7 @@ const I = "{0:D}", $ = "{0:d}", $e = /* @__PURE__ */ j({
|
|
|
179
179
|
}
|
|
180
180
|
},
|
|
181
181
|
render() {
|
|
182
|
-
|
|
182
|
+
L(S), this.showLicenseWatermark = B(S);
|
|
183
183
|
const e = this.views.find((T) => T.name === this.ks.activeViewName) || this.views[0] || o(m, null, null), i = this.getViewPropValue(this.ks.view, "slotDuration", this.ks.activeViewName), s = d.call(this, e.header || this.$props.header, v.call(this)), t = d.call(this, e.footer || this.$props.footer, v.call(this)), a = d.call(this, e.slot || this.$props.slotRender, {}), n = d.call(this, e.viewSlot || this.$props.viewSlot, {}), h = d.call(this, e.item || this.$props.item, {}), u = d.call(this, e.viewItem || this.$props.viewItem, {}), k = d.call(this, e.task || this.$props.task, {}), y = d.call(this, e.dateHeaderCell || this.$props.dateHeaderCell, {}), R = d.call(this, e.timeHeaderCell || this.$props.timeHeaderCell, {}), P = d.call(this, e.resizeHint || this.$props.resizeHint, {});
|
|
184
184
|
this.ks.form = d.call(this, e.form || this.$props.form, {}), this.ks.dialogProps = e.dialogProps || this.$props.dialogProps, this.ks.formProps = e.formProps || this.$props.formProps;
|
|
185
185
|
const F = re(e.editable !== void 0 ? e.editable : this.$props.editable), x = this.getViewComponentByName(this.ks.activeViewName || e.name), N = {
|
|
@@ -237,7 +237,7 @@ const I = "{0:D}", $ = "{0:d}", $e = /* @__PURE__ */ j({
|
|
|
237
237
|
additionalListeners: {
|
|
238
238
|
showworkhoursclick: this.handleShowWorkHoursClick
|
|
239
239
|
}
|
|
240
|
-
}), A = this.showLicenseWatermark ? o(
|
|
240
|
+
}), A = this.showLicenseWatermark ? o(_, null, null) : null;
|
|
241
241
|
return o("div", {
|
|
242
242
|
id: this.$props.id,
|
|
243
243
|
style: {
|
|
@@ -391,7 +391,7 @@ const I = "{0:D}", $ = "{0:d}", $e = /* @__PURE__ */ j({
|
|
|
391
391
|
},
|
|
392
392
|
handleTodayClick(e) {
|
|
393
393
|
e.preventDefault();
|
|
394
|
-
const i =
|
|
394
|
+
const i = z();
|
|
395
395
|
this.setDate(i, e);
|
|
396
396
|
},
|
|
397
397
|
handleShowWorkHoursClick() {
|
package/components/BaseView.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),l=require("../hooks/use-items-selection.js"),i=require("../hooks/use-slots-selection.js"),o=require("@progress/kendo-vue-common"),s=require("../utils/main.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("vue"),l=require("../hooks/use-items-selection.js"),i=require("../hooks/use-slots-selection.js"),o=require("@progress/kendo-vue-common"),s=require("../utils/main.js"),r=require("../hooks/use-slots-focus.js"),a=require("../hooks/use-items-focus.js"),d=require("../hooks/useCellSync.js"),h=c.defineComponent({name:"KendoBaseView",props:{viewProps:Object,baseSlots:Array,ranges:Array,id:String,isAgendaView:{type:Boolean,default:!1}},provide(){return{bv:this.bv,setItems:this.dispatchItems,setSlots:this.dispatchSlots,dispatchSelectedSlots:this.handleSchedulerSlotsSelectAction,dispatchSelectedItems:this.handleSchedulerItemsSelectAction,dispatchFocusedItems:this.setFocusedItems,dispatchFocusedSlots:this.setFocusedSlots}},data(){return{bv:{viewProps:this.viewProps,ranges:this.ranges,items:[],slots:[],focusedItems:[],focusedSlots:[],selectedItems:[],selectedSlots:[]}}},mounted(){this.syncCells()},updated(){this.syncCells()},render(){const e=o.getDefaultSlots(this);return c.createVNode("div",{class:"k-scheduler-layout k-scheduler-layout-flex",role:this.$props.isAgendaView?"grid":"presentation"},[e])},methods:{syncCells(){d.useCellSync({element:this.$el,selector:".k-group-cell",attribute:"data-depth-index",explicitDepth:!0}),d.useCellSync({element:this.$el,selector:".k-side-cell",attribute:"data-depth-index",explicitDepth:!1})},handleSchedulerItemsSelectAction(e,t){i.dispatchSelectedSlots.call(this,{type:i.SLOTS_SELECT_ACTION.reset}),l.dispatchSelectedItems.call(this,e,t)},handleSchedulerSlotsSelectAction(e,t){l.dispatchSelectedItems.call(this,{type:l.ITEMS_SELECT_ACTION.reset},t),i.dispatchSelectedSlots.call(this,e)},setFocusedItems(e,t){a.dispatchFocusedItems.call(this,e,t)},setFocusedSlots(e,t){r.dispatchFocusedSlots.call(this,e,t)},dispatchItems(e){let t;switch(e.type){case s.COLLECTION_ACTION.add:this.bv.items.push(e.item);break;case s.COLLECTION_ACTION.remove:t=this.bv.items.indexOf(e.item),this.bv.items.splice(t,1);break}},dispatchSlots(e){let t;switch(e.type){case s.COLLECTION_ACTION.add:this.bv.slots.push(e.item);break;case s.COLLECTION_ACTION.remove:t=this.bv.slots.indexOf(e.item),this.bv.slots.splice(t,1);break}}}});exports.BaseView=h;
|
package/components/BaseView.mjs
CHANGED
|
@@ -10,9 +10,9 @@ import { dispatchSelectedItems as i, ITEMS_SELECT_ACTION as r } from "../hooks/u
|
|
|
10
10
|
import { dispatchSelectedSlots as l, SLOTS_SELECT_ACTION as a } from "../hooks/use-slots-selection.mjs";
|
|
11
11
|
import { getDefaultSlots as h } from "@progress/kendo-vue-common";
|
|
12
12
|
import { COLLECTION_ACTION as s } from "../utils/main.mjs";
|
|
13
|
+
import { dispatchFocusedSlots as p } from "../hooks/use-slots-focus.mjs";
|
|
14
|
+
import { dispatchFocusedItems as m } from "../hooks/use-items-focus.mjs";
|
|
13
15
|
import { useCellSync as o } from "../hooks/useCellSync.mjs";
|
|
14
|
-
import { dispatchFocusedItems as p } from "../hooks/use-items-focus.mjs";
|
|
15
|
-
import { dispatchFocusedSlots as m } from "../hooks/use-slots-focus.mjs";
|
|
16
16
|
const C = /* @__PURE__ */ d({
|
|
17
17
|
name: "KendoBaseView",
|
|
18
18
|
props: {
|
|
@@ -89,10 +89,10 @@ const C = /* @__PURE__ */ d({
|
|
|
89
89
|
}, t), l.call(this, e);
|
|
90
90
|
},
|
|
91
91
|
setFocusedItems(e, t) {
|
|
92
|
-
|
|
92
|
+
m.call(this, e, t);
|
|
93
93
|
},
|
|
94
94
|
setFocusedSlots(e, t) {
|
|
95
|
-
|
|
95
|
+
p.call(this, e, t);
|
|
96
96
|
},
|
|
97
97
|
dispatchItems(e) {
|
|
98
98
|
let t;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { defineComponent as d, createVNode as u } from "vue";
|
|
9
9
|
import { cloneDate as f } from "@progress/kendo-date-math";
|
|
10
|
-
import {
|
|
10
|
+
import { classNames as m, canUseDOM as w } from "@progress/kendo-vue-common";
|
|
11
11
|
import { intersects as v, isInTimeRange as $, first as g } from "../utils/main.mjs";
|
|
12
12
|
import { getRect as l } from "../views/common/utils.mjs";
|
|
13
13
|
const b = (s, e) => {
|
|
@@ -41,14 +41,14 @@ const b = (s, e) => {
|
|
|
41
41
|
};
|
|
42
42
|
},
|
|
43
43
|
mounted() {
|
|
44
|
-
this.arrowRef = this.$el, this.position(), !(!this.ks.scheduler || !this.ks.scheduler.$el || !window) && (clearInterval(this.interval), this.interval = window.setInterval(this.position, this.updateInterval),
|
|
44
|
+
this.arrowRef = this.$el, this.position(), !(!this.ks.scheduler || !this.ks.scheduler.$el || !window) && (clearInterval(this.interval), this.interval = window.setInterval(this.position, this.updateInterval), w && window.ResizeObserver && (this.observer = new window.ResizeObserver(this.position), this.observer.observe(this.ks.scheduler.$el)));
|
|
45
45
|
},
|
|
46
46
|
unmounted() {
|
|
47
47
|
this.observer && this.observer.disconnect();
|
|
48
48
|
},
|
|
49
49
|
render() {
|
|
50
50
|
return u("div", {
|
|
51
|
-
class:
|
|
51
|
+
class: m("k-current-time", {
|
|
52
52
|
"k-current-time-arrow-right": !this.$props.vertical && this.$props.dir !== "rtl",
|
|
53
53
|
"k-current-time-arrow-left": !this.$props.vertical && this.$props.dir === "rtl",
|
|
54
54
|
"k-current-time-arrow-down": this.$props.vertical
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as a,
|
|
8
|
+
import { defineComponent as a, h as o, createVNode as t, inject as d } from "vue";
|
|
9
9
|
import { provideIntlService as i } from "@progress/kendo-vue-intl";
|
|
10
10
|
import { getTemplate as l } from "@progress/kendo-vue-common";
|
|
11
11
|
const m = /* @__PURE__ */ a({
|
|
@@ -27,12 +27,12 @@ const m = /* @__PURE__ */ a({
|
|
|
27
27
|
},
|
|
28
28
|
setup() {
|
|
29
29
|
return {
|
|
30
|
-
kendoIntlService:
|
|
30
|
+
kendoIntlService: d("kendoIntlService", {})
|
|
31
31
|
};
|
|
32
32
|
},
|
|
33
33
|
render() {
|
|
34
34
|
const e = i(this).formatDate(this.$props.date, this.$props.format), r = l.call(this, {
|
|
35
|
-
h:
|
|
35
|
+
h: o,
|
|
36
36
|
template: this.$props.as,
|
|
37
37
|
defaultRendering: e,
|
|
38
38
|
additionalProps: {
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as S,
|
|
8
|
+
import { defineComponent as S, createVNode as r, h as n, inject as M } from "vue";
|
|
9
9
|
import { SchedulerActionButtons as V } from "./SchedulerActionButtons.mjs";
|
|
10
10
|
import { Form as v } from "@progress/kendo-vue-form";
|
|
11
11
|
import { Dialog as C } from "@progress/kendo-vue-dialogs";
|
|
12
12
|
import { provideLocalizationService as I } from "@progress/kendo-vue-intl";
|
|
13
13
|
import { SchedulerFormEditor as L } from "../editors/SchedulerFormEditor.mjs";
|
|
14
14
|
import { editorValidationRequired as l, messages as a, editorValidationEnd as c, editorSave as h, editorCancel as u, editorTitle as m, editorValidationStart as g } from "../messages/main.mjs";
|
|
15
|
-
import {
|
|
15
|
+
import { canUseDOM as T, getTemplate as b, guid as q } from "@progress/kendo-vue-common";
|
|
16
16
|
const $ = /* @__PURE__ */ S({
|
|
17
17
|
name: "KendoSchedulerForm",
|
|
18
18
|
emits: {
|
|
@@ -38,7 +38,7 @@ const $ = /* @__PURE__ */ S({
|
|
|
38
38
|
}
|
|
39
39
|
},
|
|
40
40
|
created() {
|
|
41
|
-
this.dialogId =
|
|
41
|
+
this.dialogId = q();
|
|
42
42
|
},
|
|
43
43
|
data() {
|
|
44
44
|
return {
|
|
@@ -105,7 +105,7 @@ const $ = /* @__PURE__ */ S({
|
|
|
105
105
|
},
|
|
106
106
|
methods: {
|
|
107
107
|
calculateMedia() {
|
|
108
|
-
|
|
108
|
+
T && window.matchMedia && (this.media = window.matchMedia("(min-width: 600px)").matches ? "desktop" : "mobile");
|
|
109
109
|
},
|
|
110
110
|
handleCancel(t) {
|
|
111
111
|
this.$emit("cancel", {
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as M,
|
|
8
|
+
import { defineComponent as M, createVNode as t, inject as v, isVNode as O } from "vue";
|
|
9
9
|
import { Dialog as k, DialogActionsBar as R } from "@progress/kendo-vue-dialogs";
|
|
10
10
|
import { provideLocalizationService as D } from "@progress/kendo-vue-intl";
|
|
11
|
-
import { messages as z,
|
|
11
|
+
import { messages as z, deleteRecurringDialogTitle as j, editorRecurringDialogTitle as I, deleteRecurringConfirmation as L, editorRecurringConfirmation as T, deleteOccurrence as b, editorOccurrence as y, deleteSeries as B, editorSeries as $ } from "../messages/main.mjs";
|
|
12
12
|
import { guid as F } from "@progress/kendo-vue-common";
|
|
13
13
|
import { Button as r } from "@progress/kendo-vue-buttons";
|
|
14
14
|
function s(e) {
|
|
@@ -45,7 +45,7 @@ const K = /* @__PURE__ */ M({
|
|
|
45
45
|
render() {
|
|
46
46
|
const {
|
|
47
47
|
isRemove: e
|
|
48
|
-
} = this.$props, l = D(this), o = (c) => l.toLanguageString(c, z[c]), a = o(
|
|
48
|
+
} = this.$props, l = D(this), o = (c) => l.toLanguageString(c, z[c]), a = o(y), d = o($), u = o(T), g = o(I), m = o(b), p = o(B), f = o(j), h = o(L), S = e ? f : g, C = e ? h : u, i = e ? m : a, n = e ? p : d;
|
|
49
49
|
return t(k, {
|
|
50
50
|
title: S,
|
|
51
51
|
appendTo: "body",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as g,
|
|
8
|
+
import { defineComponent as g, createVNode as o, inject as f, isVNode as p } from "vue";
|
|
9
9
|
import { Dialog as h, DialogActionsBar as C } from "@progress/kendo-vue-dialogs";
|
|
10
10
|
import { provideLocalizationService as v } from "@progress/kendo-vue-intl";
|
|
11
11
|
import { editorCancel as a, messages as t, editorDelete as l, deleteConfirmation as r, deleteDialogTitle as c } from "../messages/main.mjs";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as t,
|
|
8
|
+
import { defineComponent as t, createVNode as e, inject as n } from "vue";
|
|
9
9
|
import { Button as i } from "@progress/kendo-vue-buttons";
|
|
10
10
|
import { Icon as r } from "@progress/kendo-vue-common";
|
|
11
11
|
import { moreHorizontalIcon as c } from "@progress/kendo-svg-icons";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { defineComponent as n,
|
|
8
|
+
import { defineComponent as n, h as o, createVNode as a, inject as i } from "vue";
|
|
9
9
|
import { provideIntlService as d } from "@progress/kendo-vue-intl";
|
|
10
10
|
import { getTemplate as l } from "@progress/kendo-vue-common";
|
|
11
11
|
const m = /* @__PURE__ */ n({
|
|
@@ -27,12 +27,12 @@ const m = /* @__PURE__ */ n({
|
|
|
27
27
|
},
|
|
28
28
|
setup() {
|
|
29
29
|
return {
|
|
30
|
-
kendoIntlService:
|
|
30
|
+
kendoIntlService: i("kendoIntlService", {})
|
|
31
31
|
};
|
|
32
32
|
},
|
|
33
33
|
render() {
|
|
34
34
|
const e = d(this).formatDate(this.$props.date, this.$props.format), r = l.call(this, {
|
|
35
|
-
h:
|
|
35
|
+
h: o,
|
|
36
36
|
template: this.$props.as,
|
|
37
37
|
defaultRendering: e,
|
|
38
38
|
additionalProps: {
|
|
@@ -41,7 +41,7 @@ const m = /* @__PURE__ */ n({
|
|
|
41
41
|
format: this.$props.format
|
|
42
42
|
}
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return a("div", {
|
|
45
45
|
class: "k-scheduler-cell k-heading-cell"
|
|
46
46
|
}, [r]);
|
|
47
47
|
}
|
|
@@ -12,7 +12,7 @@ import { Popup as p } from "@progress/kendo-vue-popup";
|
|
|
12
12
|
import { provideIntlService as k } from "@progress/kendo-vue-intl";
|
|
13
13
|
import { Button as v } from "@progress/kendo-vue-buttons";
|
|
14
14
|
import { toUTCDateTime as w } from "../../../utils/main.mjs";
|
|
15
|
-
import {
|
|
15
|
+
import { canUseDOM as i, Keys as b, guid as d } from "@progress/kendo-vue-common";
|
|
16
16
|
import { calendarIcon as g } from "@progress/kendo-svg-icons";
|
|
17
17
|
const F = /* @__PURE__ */ c({
|
|
18
18
|
name: "KendoNavigationDatePicker",
|
package/constants/main.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@progress/kendo-date-math");var
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("@progress/kendo-date-math");var E=(e=>(e[e.create=0]="create",e[e.update=1]="update",e[e.remove=2]="remove",e))(E||{});const r=1,o=1e3,a=60*o,D=1,S=7,c=[{}],_=new Date(1900,0,1),n=new Date(2099,11,31);t.ZonedDate.fromLocalDate(_),t.ZonedDate.fromLocalDate(n);Object.defineProperty(exports,"MS_PER_DAY",{enumerable:!0,get:()=>t.MS_PER_DAY});exports.BORDER_WIDTH=D;exports.DATA_ACTION=E;exports.DAYS_IN_WEEK_COUNT=S;exports.EMPTY_RESOURCE=c;exports.GRID_OFFSET=r;exports.MAX_DATE=n;exports.MIN_DATE=_;exports.MS_PER_MINUTE=a;exports.MS_PER_SECOND=o;
|
package/constants/main.mjs
CHANGED
|
@@ -6,19 +6,19 @@
|
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
8
|
import { ZonedDate as t } from "@progress/kendo-date-math";
|
|
9
|
-
import { MS_PER_DAY as
|
|
10
|
-
var
|
|
11
|
-
const c = 1,
|
|
12
|
-
t.fromLocalDate(
|
|
9
|
+
import { MS_PER_DAY as M } from "@progress/kendo-date-math";
|
|
10
|
+
var o = /* @__PURE__ */ ((e) => (e[e.create = 0] = "create", e[e.update = 1] = "update", e[e.remove = 2] = "remove", e))(o || {});
|
|
11
|
+
const c = 1, n = 1e3, _ = 60 * n, s = 1, D = 7, R = [{}], r = new Date(1900, 0, 1), E = new Date(2099, 11, 31);
|
|
12
|
+
t.fromLocalDate(r), t.fromLocalDate(E);
|
|
13
13
|
export {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
s as BORDER_WIDTH,
|
|
15
|
+
o as DATA_ACTION,
|
|
16
|
+
D as DAYS_IN_WEEK_COUNT,
|
|
17
|
+
R as EMPTY_RESOURCE,
|
|
18
18
|
c as GRID_OFFSET,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
19
|
+
E as MAX_DATE,
|
|
20
|
+
r as MIN_DATE,
|
|
21
|
+
M as MS_PER_DAY,
|
|
22
|
+
_ as MS_PER_MINUTE,
|
|
23
|
+
n as MS_PER_SECOND
|
|
24
24
|
};
|