@progress/kendo-vue-scheduler 10.0.1-develop.1 → 10.0.1-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.d.ts +20 -21
- package/Scheduler.js +1 -1
- package/Scheduler.mjs +109 -114
- package/dist/cdn/js/kendo-vue-scheduler.js +1 -1
- package/editors/SchedulerFormEditor.d.ts +16 -20
- package/items/SchedulerEditItem.js +1 -1
- package/items/SchedulerEditItem.mjs +2 -2
- package/items/SchedulerItem.d.ts +3 -0
- package/items/SchedulerItem.js +1 -1
- package/items/SchedulerItem.mjs +29 -15
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/views/common/SchedulerDrag.d.ts +6 -0
- package/views/common/SchedulerResize.d.ts +6 -0
- package/components/header/SchedulerAdaptiveHeader.d.ts +0 -44
- package/components/header/SchedulerAdaptiveHeader.js +0 -8
- package/components/header/SchedulerAdaptiveHeader.mjs +0 -110
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
*-------------------------------------------------------------------------------------------
|
|
4
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
-
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
-
*-------------------------------------------------------------------------------------------
|
|
7
|
-
*/
|
|
8
|
-
import { defineComponent as k, createVNode as e, isVNode as v } from "vue";
|
|
9
|
-
import { Toolbar as a, ButtonGroup as f, Button as o, ToolbarSpacer as i } from "@progress/kendo-vue-buttons";
|
|
10
|
-
import { provideLocalizationService as m, provideIntlService as I } from "@progress/kendo-vue-intl";
|
|
11
|
-
import { previousTitle as s, messages as u, nextTitle as d } from "../../messages/main.mjs";
|
|
12
|
-
import { filePdfIcon as x, calendarIcon as g, plusIcon as b, chevronRightIcon as p, chevronLeftIcon as h } from "@progress/kendo-svg-icons";
|
|
13
|
-
import { ViewSelectorList as C } from "./view-selector/ViewSelectorList.mjs";
|
|
14
|
-
function S(n) {
|
|
15
|
-
return typeof n == "function" || Object.prototype.toString.call(n) === "[object Object]" && !v(n);
|
|
16
|
-
}
|
|
17
|
-
const $ = /* @__PURE__ */ k({
|
|
18
|
-
name: "KendoSchedulerAdaptiveHeader",
|
|
19
|
-
props: {
|
|
20
|
-
isRtl: Boolean,
|
|
21
|
-
onPrevclick: Function,
|
|
22
|
-
onNextclick: Function,
|
|
23
|
-
onTodayclick: Function,
|
|
24
|
-
onCreateclick: Function,
|
|
25
|
-
onCalendarclick: Function,
|
|
26
|
-
onPdfclick: Function
|
|
27
|
-
},
|
|
28
|
-
inject: {
|
|
29
|
-
ks: {
|
|
30
|
-
default: null
|
|
31
|
-
},
|
|
32
|
-
kendoLocalizationService: {
|
|
33
|
-
default: null
|
|
34
|
-
},
|
|
35
|
-
kendoIntlService: {
|
|
36
|
-
default: null
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
render() {
|
|
40
|
-
const n = m(this), l = I(this), t = n.toLanguageString(s, u[s]), r = n.toLanguageString(d, u[d]), c = l.formatDate(this.ks.currentDate, this.ks.shortDateFormat);
|
|
41
|
-
return e("div", null, [e(a, {
|
|
42
|
-
overflow: "none",
|
|
43
|
-
class: "k-scheduler-toolbar"
|
|
44
|
-
}, {
|
|
45
|
-
default: () => [e(f, {
|
|
46
|
-
class: "k-scheduler-tools"
|
|
47
|
-
}, {
|
|
48
|
-
default: () => [e(o, {
|
|
49
|
-
class: "k-pdf",
|
|
50
|
-
icon: "file-pdf",
|
|
51
|
-
svgIcon: x,
|
|
52
|
-
tabIndex: -1,
|
|
53
|
-
onClick: this.$props.onPdfclick
|
|
54
|
-
}, null), e(o, {
|
|
55
|
-
class: "k-nav-calendar",
|
|
56
|
-
icon: "calendar",
|
|
57
|
-
svgIcon: g,
|
|
58
|
-
tabIndex: -1,
|
|
59
|
-
onClick: this.$props.onCalendarclick
|
|
60
|
-
}, null), e(o, {
|
|
61
|
-
class: "k-create-event",
|
|
62
|
-
icon: "plus",
|
|
63
|
-
svgIcon: b,
|
|
64
|
-
tabIndex: -1,
|
|
65
|
-
onClick: this.$props.onCreateclick
|
|
66
|
-
}, null)]
|
|
67
|
-
}), e(i, null, null), e(C, null, null)]
|
|
68
|
-
}), e(a, {
|
|
69
|
-
overflow: "none",
|
|
70
|
-
class: "k-scheduler-toolbar"
|
|
71
|
-
}, {
|
|
72
|
-
default: () => [e(o, {
|
|
73
|
-
class: "k-nav-prev",
|
|
74
|
-
icon: this.isRtl ? "chevron-right" : "chevron-left",
|
|
75
|
-
svgIcon: this.isRtl ? p : h,
|
|
76
|
-
title: t,
|
|
77
|
-
"aria-label": t,
|
|
78
|
-
tabIndex: -1,
|
|
79
|
-
onClick: this.handlePrevClick
|
|
80
|
-
}, null), e(i, null, null), e(o, {
|
|
81
|
-
class: "k-nav-current",
|
|
82
|
-
fillMode: "flat",
|
|
83
|
-
tabIndex: -1
|
|
84
|
-
}, S(c) ? c : {
|
|
85
|
-
default: () => [c]
|
|
86
|
-
}), e(i, null, null), e(o, {
|
|
87
|
-
class: "k-nav-next",
|
|
88
|
-
icon: this.isRtl ? "chevron-left" : "chevron-right",
|
|
89
|
-
svgIcon: this.isRtl ? h : p,
|
|
90
|
-
title: r,
|
|
91
|
-
"aria-label": r,
|
|
92
|
-
tabIndex: -1,
|
|
93
|
-
onClick: this.handleNextClick
|
|
94
|
-
}, null)]
|
|
95
|
-
})]);
|
|
96
|
-
},
|
|
97
|
-
methods: {
|
|
98
|
-
handlePrevClick(n) {
|
|
99
|
-
var l, t;
|
|
100
|
-
(t = (l = this.$props).onPrevclick) == null || t.call(l, n);
|
|
101
|
-
},
|
|
102
|
-
handleNextClick(n) {
|
|
103
|
-
var l, t;
|
|
104
|
-
(t = (l = this.$props).onNextclick) == null || t.call(l, n);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
export {
|
|
109
|
-
$ as SchedulerAdaptiveHeader
|
|
110
|
-
};
|