@quoreadmin/ui 1.6.2 → 1.6.4
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/index.css +1 -1
- package/dist/index100.js +43 -44
- package/dist/index170.js +14 -14
- package/dist/index171.js +3 -3
- package/dist/index174.js +4 -4
- package/dist/index181.js +10 -10
- package/dist/index183.js +10 -10
- package/dist/index187.js +17 -17
- package/dist/index190.js +28 -28
- package/dist/index191.js +2 -2
- package/dist/index192.js +2 -2
- package/dist/index193.js +1 -1
- package/dist/index201.js +1 -1
- package/dist/index202.js +29 -84
- package/dist/index203.js +109 -400
- package/dist/index204.js +36 -22
- package/dist/index205.js +26 -161
- package/dist/index206.js +35 -19
- package/dist/index207.js +9 -20
- package/dist/index208.js +18 -21
- package/dist/index209.js +10 -199
- package/dist/index210.js +10 -70
- package/dist/index211.js +51 -34
- package/dist/index212.js +40 -37
- package/dist/index213.js +3 -32
- package/dist/index214.js +36 -113
- package/dist/index215.js +21 -36
- package/dist/index216.js +88 -26
- package/dist/index217.js +407 -36
- package/dist/index218.js +22 -9
- package/dist/index219.js +160 -18
- package/dist/index220.js +228 -10
- package/dist/index221.js +37 -10
- package/dist/index222.js +10 -51
- package/dist/index223.js +157 -39
- package/dist/index224.js +19 -3
- package/dist/index225.js +19 -38
- package/dist/index226.js +22 -21
- package/dist/index227.js +198 -21
- package/dist/index228.js +69 -21
- package/dist/index229.js +34 -20
- package/dist/index23.js +14 -14
- package/dist/index230.js +27 -823
- package/dist/index231.js +104 -679
- package/dist/index232.js +36 -174
- package/dist/index233.js +80 -20
- package/dist/index234.js +2 -2
- package/dist/index235.js +11 -13
- package/dist/index236.js +9 -9
- package/dist/index237.js +8 -8
- package/dist/index238.js +22 -3
- package/dist/index239.js +21 -186
- package/dist/index240.js +19 -132
- package/dist/index241.js +744 -1131
- package/dist/index242.js +679 -104
- package/dist/index243.js +176 -20
- package/dist/index244.js +11 -11
- package/dist/index245.js +13 -15
- package/dist/index246.js +19 -37
- package/dist/index247.js +3 -29
- package/dist/index248.js +186 -19
- package/dist/index249.js +131 -18
- package/dist/index250.js +1223 -2
- package/dist/index251.js +20 -2
- package/dist/index252.js +21 -160
- package/dist/index253.js +22 -228
- package/dist/index254.js +28 -36
- package/dist/index255.js +20 -10
- package/dist/index256.js +20 -80
- package/dist/index257.js +2 -20
- package/dist/index258.js +2 -20
- package/dist/index259.js +6 -6
- package/dist/index274.js +2 -2
- package/dist/index280.js +1 -1
- package/dist/index287.js +2 -79
- package/dist/index288.js +234 -21
- package/dist/index289.js +5 -934
- package/dist/index290.js +133 -21
- package/dist/index291.js +67 -19
- package/dist/index292.js +85 -18
- package/dist/index293.js +28 -68
- package/dist/index294.js +8 -18
- package/dist/index295.js +75 -19
- package/dist/index296.js +3 -21
- package/dist/index297.js +2 -22
- package/dist/index298.js +82 -62
- package/dist/index299.js +54 -2
- package/dist/index300.js +4 -233
- package/dist/index301.js +4 -5
- package/dist/index302.js +166 -121
- package/dist/index303.js +58 -63
- package/dist/index304.js +73 -85
- package/dist/index305.js +3 -29
- package/dist/index306.js +26 -8
- package/dist/index307.js +1507 -64
- package/dist/index308.js +385 -3
- package/dist/index309.js +2731 -2
- package/dist/index310.js +80 -77
- package/dist/index311.js +3769 -53
- package/dist/index312.js +58 -4
- package/dist/index313.js +78 -4
- package/dist/index314.js +21 -178
- package/dist/index315.js +928 -56
- package/dist/index316.js +22 -75
- package/dist/index317.js +20 -3
- package/dist/index318.js +19 -26
- package/dist/index319.js +69 -1518
- package/dist/index320.js +19 -386
- package/dist/index321.js +19 -2731
- package/dist/index322.js +21 -85
- package/dist/index323.js +22 -3770
- package/dist/index324.js +63 -60
- package/dist/index326.js +1 -1
- package/dist/index327.js +3 -3
- package/dist/index328.js +1 -1
- package/dist/index330.js +20 -19
- package/dist/index331.js +55 -19
- package/dist/index332.js +28 -63
- package/dist/index333.js +7 -37
- package/dist/index334.js +49 -18
- package/dist/index335.js +6 -56
- package/dist/index336.js +10 -27
- package/dist/index337.js +7 -7
- package/dist/index338.js +27 -51
- package/dist/index339.js +2 -6
- package/dist/index340.js +69 -11
- package/dist/index341.js +166 -6
- package/dist/index342.js +9 -28
- package/dist/index343.js +13 -2
- package/dist/index344.js +53 -68
- package/dist/index345.js +12 -167
- package/dist/index346.js +13 -8
- package/dist/index347.js +57 -12
- package/dist/index348.js +48 -51
- package/dist/index349.js +28 -9
- package/dist/index350.js +2 -14
- package/dist/index351.js +5 -58
- package/dist/index352.js +2 -52
- package/dist/index353.js +22 -30
- package/dist/index354.js +41 -2
- package/dist/index355.js +2 -5
- package/dist/index356.js +11 -2
- package/dist/index357.js +19 -22
- package/dist/index358.js +14 -38
- package/dist/index359.js +10 -2
- package/dist/index360.js +9 -10
- package/dist/index361.js +2 -20
- package/dist/index362.js +8 -16
- package/dist/index363.js +10 -10
- package/dist/index364.js +13 -9
- package/dist/index365.js +20 -2
- package/dist/index366.js +20 -9
- package/dist/index367.js +63 -9
- package/dist/index368.js +37 -14
- package/dist/index369.js +31 -17
- package/dist/index370.js +10 -30
- package/dist/index371.js +3 -10
- package/dist/index372.js +3 -3
- package/dist/index373.js +13 -4
- package/dist/index374.js +7 -13
- package/dist/index375.js +12 -7
- package/dist/index376.js +4 -11
- package/dist/index377.js +33 -5
- package/dist/index378.js +31 -33
- package/dist/index379.js +26 -29
- package/dist/index380.js +59 -26
- package/dist/index381.js +91 -61
- package/dist/index383.js +17 -91
- package/dist/index385.js +1 -1
- package/dist/index390.js +1 -1
- package/dist/index391.js +2 -2
- package/dist/index76.js +124 -120
- package/dist/src/components/event/event.d.ts +9 -0
- package/package.json +1 -1
package/dist/index76.js
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { defineComponent as ae, ref as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
1
|
+
import { defineComponent as ae, ref as $, computed as h, watch as b } from "vue";
|
|
2
|
+
import { useI18n as ne } from "vue-i18n";
|
|
3
|
+
const le = ["HC_MON", "HC_TUE", "HC_WED", "HC_THU", "HC_FRI", "HC_SAT", "HC_SUN"], R = [
|
|
4
|
+
"HC_JANUARY",
|
|
5
|
+
"HC_FEBRUARY",
|
|
6
|
+
"HC_MARCH",
|
|
7
|
+
"HC_APRIL",
|
|
8
|
+
"HC_MAY",
|
|
9
|
+
"HC_JUNE",
|
|
10
|
+
"HC_JULY",
|
|
11
|
+
"HC_AUGUST",
|
|
12
|
+
"HC_SEPTEMBER",
|
|
13
|
+
"HC_OCTOBER",
|
|
14
|
+
"HC_NOVEMBER",
|
|
15
|
+
"HC_DECEMBER"
|
|
16
|
+
], E = [
|
|
17
|
+
"HC_JAN",
|
|
18
|
+
"HC_FEB",
|
|
19
|
+
"HC_MAR",
|
|
20
|
+
"HC_APR",
|
|
21
|
+
"HC_MAY",
|
|
22
|
+
"HC_JUN",
|
|
23
|
+
"HC_JUL",
|
|
24
|
+
"HC_AUG",
|
|
25
|
+
"HC_SEP",
|
|
26
|
+
"HC_OCT",
|
|
27
|
+
"HC_NOV",
|
|
28
|
+
"HC_DEC"
|
|
29
|
+
], se = ae({
|
|
29
30
|
name: "QCalendar",
|
|
30
31
|
props: {
|
|
31
32
|
/** Currently selected date(s) - single Date or array for range */
|
|
@@ -131,7 +132,10 @@ const x = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], A = [
|
|
|
131
132
|
},
|
|
132
133
|
emits: ["update:modelValue", "date-click", "month-change", "view-change"],
|
|
133
134
|
setup(a, { emit: o }) {
|
|
134
|
-
const c =
|
|
135
|
+
const { t: c } = ne(), D = $("days"), r = $(/* @__PURE__ */ new Date()), C = $(null), w = $(Math.floor((/* @__PURE__ */ new Date()).getFullYear() / 12) * 12), g = h(() => !!(a.startDate && a.endDate)), V = h(() => {
|
|
136
|
+
const e = le.map((t) => c(t));
|
|
137
|
+
return a.firstDayOfWeek === 0 ? [c("HC_SUN"), ...e.slice(0, 6)] : e;
|
|
138
|
+
}), W = h(() => R.map((e) => c(e))), I = h(() => E.map((e) => c(e))), H = h(() => {
|
|
135
139
|
const e = /* @__PURE__ */ new Set();
|
|
136
140
|
if (a.primaryMonths && a.primaryMonths.length > 0)
|
|
137
141
|
a.primaryMonths.forEach((t) => {
|
|
@@ -144,15 +148,15 @@ const x = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], A = [
|
|
|
144
148
|
} else
|
|
145
149
|
e.add(`${r.value.getFullYear()}-${r.value.getMonth()}`);
|
|
146
150
|
return e;
|
|
147
|
-
}), P =
|
|
151
|
+
}), P = h(() => {
|
|
148
152
|
const e = [];
|
|
149
153
|
if (g.value && a.startDate && a.endDate && !a.continuous) {
|
|
150
154
|
const t = new Date(a.startDate.getFullYear(), a.startDate.getMonth(), 1), l = new Date(a.endDate.getFullYear(), a.endDate.getMonth(), 1);
|
|
151
155
|
for (; t <= l; )
|
|
152
|
-
e.push(
|
|
153
|
-
} else a.continuous || e.push(
|
|
156
|
+
e.push(F(new Date(t))), t.setMonth(t.getMonth() + 1);
|
|
157
|
+
} else a.continuous || e.push(F(new Date(r.value)));
|
|
154
158
|
return e;
|
|
155
|
-
}),
|
|
159
|
+
}), x = h(() => {
|
|
156
160
|
if (!a.continuous || !g.value || !a.startDate || !a.endDate)
|
|
157
161
|
return { dates: [] };
|
|
158
162
|
const e = [], t = new Date(a.startDate);
|
|
@@ -161,98 +165,98 @@ const x = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], A = [
|
|
|
161
165
|
const u = new Date(t);
|
|
162
166
|
u.setDate(u.getDate() - l);
|
|
163
167
|
const i = new Date(a.endDate);
|
|
164
|
-
let
|
|
165
|
-
|
|
166
|
-
const
|
|
167
|
-
|
|
168
|
-
const
|
|
169
|
-
for (;
|
|
170
|
-
const s =
|
|
171
|
-
`${
|
|
168
|
+
let v = i.getDay() - a.firstDayOfWeek;
|
|
169
|
+
v < 0 && (v += 7);
|
|
170
|
+
const y = 6 - v, Y = new Date(i);
|
|
171
|
+
Y.setDate(Y.getDate() + y);
|
|
172
|
+
const d = new Date(u);
|
|
173
|
+
for (; d <= Y; ) {
|
|
174
|
+
const s = H.value.has(
|
|
175
|
+
`${d.getFullYear()}-${d.getMonth()}`
|
|
172
176
|
);
|
|
173
|
-
e.push(
|
|
177
|
+
e.push(_(new Date(d), s)), d.setDate(d.getDate() + 1);
|
|
174
178
|
}
|
|
175
179
|
return { dates: e };
|
|
176
|
-
}),
|
|
180
|
+
}), J = h(() => {
|
|
177
181
|
if (g.value && a.startDate && a.endDate) {
|
|
178
182
|
const e = a.startDate.getMonth(), t = a.startDate.getFullYear(), l = a.endDate.getMonth(), u = a.endDate.getFullYear();
|
|
179
|
-
return t === u ? e === l ? `${
|
|
183
|
+
return t === u ? e === l ? `${c(R[e])} ${t}` : `${c(E[e])}/${c(E[l])} ${t}` : `${c(E[e])} ${t} - ${c(E[l])} ${u}`;
|
|
180
184
|
}
|
|
181
|
-
return `${
|
|
182
|
-
}),
|
|
185
|
+
return `${c(R[r.value.getMonth()])} ${r.value.getFullYear()}`;
|
|
186
|
+
}), L = h(() => {
|
|
183
187
|
const e = [];
|
|
184
188
|
for (let t = 0; t < 12; t++)
|
|
185
189
|
e.push(w.value + t);
|
|
186
190
|
return e;
|
|
187
|
-
}), n =
|
|
191
|
+
}), n = h(() => a.modelValue ? Array.isArray(a.modelValue) ? a.modelValue.filter((e) => e instanceof Date) : [a.modelValue] : []), f = (e, t) => e.getDate() === t.getDate() && e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear(), A = (e) => f(e, /* @__PURE__ */ new Date()), O = (e) => n.value.some((t) => f(t, e)), N = (e) => {
|
|
188
192
|
if (!a.range || n.value.length < 2) {
|
|
189
|
-
if (a.range && n.value.length === 1 &&
|
|
190
|
-
const u = n.value[0], i =
|
|
191
|
-
return e >
|
|
193
|
+
if (a.range && n.value.length === 1 && C.value) {
|
|
194
|
+
const u = n.value[0], i = C.value, [v, y] = u < i ? [u, i] : [i, u];
|
|
195
|
+
return e > v && e < y;
|
|
192
196
|
}
|
|
193
197
|
return !1;
|
|
194
198
|
}
|
|
195
199
|
const [t, l] = n.value[0] < n.value[1] ? [n.value[0], n.value[1]] : [n.value[1], n.value[0]];
|
|
196
200
|
return e > t && e < l;
|
|
197
|
-
},
|
|
201
|
+
}, T = (e) => {
|
|
198
202
|
if (!a.range || n.value.length === 0) return !1;
|
|
199
|
-
if (n.value.length === 1) return
|
|
203
|
+
if (n.value.length === 1) return f(e, n.value[0]);
|
|
200
204
|
const [t] = n.value[0] < n.value[1] ? [n.value[0], n.value[1]] : [n.value[1], n.value[0]];
|
|
201
|
-
return
|
|
202
|
-
},
|
|
205
|
+
return f(e, t);
|
|
206
|
+
}, k = (e) => {
|
|
203
207
|
if (!a.range || n.value.length < 2) return !1;
|
|
204
208
|
const [, t] = n.value[0] < n.value[1] ? [n.value[0], n.value[1]] : [n.value[1], n.value[0]];
|
|
205
|
-
return
|
|
206
|
-
},
|
|
207
|
-
const t = e.getMonth(), l = e.getFullYear(), u = [], i = new Date(l, t, 1),
|
|
208
|
-
let
|
|
209
|
-
|
|
210
|
-
const
|
|
211
|
-
for (let s =
|
|
212
|
-
const
|
|
213
|
-
u.push(
|
|
209
|
+
return f(e, t);
|
|
210
|
+
}, B = (e) => !!(a.disabledDate(e) || a.minDate && e < a.minDate || a.maxDate && e > a.maxDate), U = (e) => a.indicatorDates.some((t) => f(t, e)), F = (e) => {
|
|
211
|
+
const t = e.getMonth(), l = e.getFullYear(), u = [], i = new Date(l, t, 1), v = new Date(l, t + 1, 0);
|
|
212
|
+
let y = i.getDay() - a.firstDayOfWeek;
|
|
213
|
+
y < 0 && (y += 7);
|
|
214
|
+
const Y = new Date(l, t, 0).getDate();
|
|
215
|
+
for (let s = y - 1; s >= 0; s--) {
|
|
216
|
+
const M = Y - s, m = new Date(l, t - 1, M), te = H.value.has(`${m.getFullYear()}-${m.getMonth()}`);
|
|
217
|
+
u.push(_(m, te));
|
|
214
218
|
}
|
|
215
|
-
for (let s = 1; s <=
|
|
216
|
-
const
|
|
217
|
-
u.push(
|
|
219
|
+
for (let s = 1; s <= v.getDate(); s++) {
|
|
220
|
+
const M = new Date(l, t, s), m = H.value.has(`${l}-${t}`);
|
|
221
|
+
u.push(_(M, m));
|
|
218
222
|
}
|
|
219
|
-
const
|
|
220
|
-
for (let s = 1; s <=
|
|
221
|
-
const
|
|
222
|
-
u.push(
|
|
223
|
+
const d = 42 - u.length;
|
|
224
|
+
for (let s = 1; s <= d; s++) {
|
|
225
|
+
const M = new Date(l, t + 1, s), m = H.value.has(`${M.getFullYear()}-${M.getMonth()}`);
|
|
226
|
+
u.push(_(M, m));
|
|
223
227
|
}
|
|
224
228
|
return { month: t, year: l, dates: u };
|
|
225
|
-
},
|
|
229
|
+
}, _ = (e, t) => ({
|
|
226
230
|
date: e,
|
|
227
231
|
day: e.getDate(),
|
|
228
232
|
month: e.getMonth(),
|
|
229
233
|
year: e.getFullYear(),
|
|
230
234
|
isCurrentMonth: t,
|
|
231
|
-
isToday:
|
|
232
|
-
isSelected:
|
|
233
|
-
isInRange:
|
|
234
|
-
isRangeStart:
|
|
235
|
-
isRangeEnd:
|
|
236
|
-
isDisabled:
|
|
237
|
-
hasIndicator:
|
|
238
|
-
}),
|
|
235
|
+
isToday: A(e),
|
|
236
|
+
isSelected: O(e),
|
|
237
|
+
isInRange: N(e),
|
|
238
|
+
isRangeStart: T(e),
|
|
239
|
+
isRangeEnd: k(e),
|
|
240
|
+
isDisabled: B(e),
|
|
241
|
+
hasIndicator: U(e)
|
|
242
|
+
}), G = () => {
|
|
239
243
|
const e = new Date(r.value);
|
|
240
244
|
e.setMonth(e.getMonth() - 1), r.value = e, o("month-change", e);
|
|
241
|
-
},
|
|
245
|
+
}, Q = () => {
|
|
242
246
|
const e = new Date(r.value);
|
|
243
247
|
e.setMonth(e.getMonth() + 1), r.value = e, o("month-change", e);
|
|
244
|
-
},
|
|
248
|
+
}, j = () => {
|
|
245
249
|
w.value -= 12;
|
|
246
|
-
},
|
|
250
|
+
}, K = () => {
|
|
247
251
|
w.value += 12;
|
|
248
|
-
},
|
|
249
|
-
a.headerClickable && (
|
|
250
|
-
},
|
|
252
|
+
}, q = () => {
|
|
253
|
+
a.headerClickable && (D.value === "days" ? D.value = "months" : D.value === "months" && (D.value = "years"), o("view-change", D.value));
|
|
254
|
+
}, z = (e) => {
|
|
251
255
|
const t = new Date(r.value);
|
|
252
|
-
t.setMonth(e), r.value = t,
|
|
256
|
+
t.setMonth(e), r.value = t, D.value = "days", o("view-change", D.value), o("month-change", t);
|
|
253
257
|
}, X = (e) => {
|
|
254
258
|
const t = new Date(r.value);
|
|
255
|
-
t.setFullYear(e), r.value = t, w.value = Math.floor(e / 12) * 12,
|
|
259
|
+
t.setFullYear(e), r.value = t, w.value = Math.floor(e / 12) * 12, D.value = "months", o("view-change", D.value);
|
|
256
260
|
}, Z = (e) => {
|
|
257
261
|
if (e.isDisabled) return;
|
|
258
262
|
const t = e.date;
|
|
@@ -266,61 +270,61 @@ const x = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], A = [
|
|
|
266
270
|
else
|
|
267
271
|
o("update:modelValue", t);
|
|
268
272
|
}, p = (e) => {
|
|
269
|
-
a.range && n.value.length === 1 && (
|
|
273
|
+
a.range && n.value.length === 1 && (C.value = e.date);
|
|
270
274
|
}, ee = () => {
|
|
271
|
-
|
|
272
|
-
},
|
|
275
|
+
C.value = null;
|
|
276
|
+
}, S = (e) => {
|
|
273
277
|
r.value = new Date(e.getFullYear(), e.getMonth(), 1);
|
|
274
278
|
};
|
|
275
|
-
return
|
|
279
|
+
return b(() => a.modelValue, (e) => {
|
|
276
280
|
if (e && !g.value) {
|
|
277
281
|
const t = Array.isArray(e) ? e[0] : e;
|
|
278
|
-
t &&
|
|
282
|
+
t && S(t);
|
|
279
283
|
}
|
|
280
|
-
}, { immediate: !0 }),
|
|
281
|
-
e && g.value &&
|
|
284
|
+
}, { immediate: !0 }), b(() => a.startDate, (e) => {
|
|
285
|
+
e && g.value && S(e);
|
|
282
286
|
}, { immediate: !0 }), {
|
|
283
287
|
// Refs
|
|
284
|
-
currentView:
|
|
288
|
+
currentView: D,
|
|
285
289
|
viewDate: r,
|
|
286
|
-
hoverDate:
|
|
290
|
+
hoverDate: C,
|
|
287
291
|
yearRangeStart: w,
|
|
288
292
|
// Computed
|
|
289
293
|
isMultiMonth: g,
|
|
290
|
-
daysOfWeek:
|
|
291
|
-
monthNames:
|
|
294
|
+
daysOfWeek: V,
|
|
295
|
+
monthNames: W,
|
|
292
296
|
monthNamesShort: I,
|
|
293
297
|
displayedMonths: P,
|
|
294
|
-
headerTitle:
|
|
295
|
-
yearsInRange:
|
|
298
|
+
headerTitle: J,
|
|
299
|
+
yearsInRange: L,
|
|
296
300
|
selectedDates: n,
|
|
297
|
-
primaryMonthsSet:
|
|
298
|
-
continuousCalendarData:
|
|
301
|
+
primaryMonthsSet: H,
|
|
302
|
+
continuousCalendarData: x,
|
|
299
303
|
// Methods
|
|
300
|
-
isSameDay:
|
|
301
|
-
isToday:
|
|
302
|
-
isSelected:
|
|
303
|
-
isInRange:
|
|
304
|
-
isRangeStart:
|
|
305
|
-
isRangeEnd:
|
|
306
|
-
isDisabled:
|
|
307
|
-
hasIndicator:
|
|
308
|
-
generateMonthData:
|
|
309
|
-
createDateObject:
|
|
310
|
-
prevMonth:
|
|
311
|
-
nextMonth:
|
|
312
|
-
prevYearRange:
|
|
313
|
-
nextYearRange:
|
|
314
|
-
onHeaderClick:
|
|
315
|
-
selectMonth:
|
|
304
|
+
isSameDay: f,
|
|
305
|
+
isToday: A,
|
|
306
|
+
isSelected: O,
|
|
307
|
+
isInRange: N,
|
|
308
|
+
isRangeStart: T,
|
|
309
|
+
isRangeEnd: k,
|
|
310
|
+
isDisabled: B,
|
|
311
|
+
hasIndicator: U,
|
|
312
|
+
generateMonthData: F,
|
|
313
|
+
createDateObject: _,
|
|
314
|
+
prevMonth: G,
|
|
315
|
+
nextMonth: Q,
|
|
316
|
+
prevYearRange: j,
|
|
317
|
+
nextYearRange: K,
|
|
318
|
+
onHeaderClick: q,
|
|
319
|
+
selectMonth: z,
|
|
316
320
|
selectYear: X,
|
|
317
321
|
onDateClick: Z,
|
|
318
322
|
onDateHover: p,
|
|
319
323
|
onDateLeave: ee,
|
|
320
|
-
goToDate:
|
|
324
|
+
goToDate: S
|
|
321
325
|
};
|
|
322
326
|
}
|
|
323
327
|
});
|
|
324
328
|
export {
|
|
325
|
-
|
|
329
|
+
se as default
|
|
326
330
|
};
|
|
@@ -70,6 +70,10 @@ declare const QEvent: import('vue').DefineComponent<import('vue').ExtractPropTyp
|
|
|
70
70
|
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
71
71
|
default: string;
|
|
72
72
|
};
|
|
73
|
+
showPropertyName: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
73
77
|
}>, {
|
|
74
78
|
eventTypeKey: import('vue').ComputedRef<string>;
|
|
75
79
|
eventTypeConfig: import('vue').ComputedRef<EventTypeConfig>;
|
|
@@ -130,6 +134,10 @@ declare const QEvent: import('vue').DefineComponent<import('vue').ExtractPropTyp
|
|
|
130
134
|
type: PropType<"top" | "bottom" | "left" | "right">;
|
|
131
135
|
default: string;
|
|
132
136
|
};
|
|
137
|
+
showPropertyName: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
133
141
|
}>> & Readonly<{
|
|
134
142
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
135
143
|
}>, {
|
|
@@ -141,6 +149,7 @@ declare const QEvent: import('vue').DefineComponent<import('vue').ExtractPropTyp
|
|
|
141
149
|
hideTime: boolean;
|
|
142
150
|
dateFormatter: (startDate: Date, endDate: Date, event: EventData) => string;
|
|
143
151
|
tooltipPosition: "bottom" | "left" | "right" | "top";
|
|
152
|
+
showPropertyName: boolean;
|
|
144
153
|
}, {}, {
|
|
145
154
|
QIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
146
155
|
icon: {
|