@quoreadmin/ui 1.10.25 → 1.10.27
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/index10.js +209 -180
- package/dist/index149.js +11 -5
- package/dist/index15.js +26 -26
- package/dist/index16.js +32 -22
- package/dist/index182.js +14 -14
- package/dist/index183.js +3 -3
- package/dist/index186.js +4 -4
- package/dist/index193.js +2 -2
- package/dist/index195.js +9 -9
- package/dist/index198.js +17 -17
- package/dist/index201.js +25 -25
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index213.js +29 -84
- package/dist/index214.js +109 -400
- package/dist/index215.js +36 -22
- package/dist/index216.js +26 -33
- package/dist/index217.js +31 -111
- package/dist/index218.js +50 -35
- package/dist/index219.js +43 -26
- package/dist/index220.js +3 -35
- package/dist/index221.js +9 -51
- package/dist/index222.js +18 -42
- package/dist/index223.js +10 -4
- package/dist/index224.js +10 -9
- package/dist/index225.js +38 -18
- package/dist/index226.js +21 -10
- package/dist/index227.js +88 -10
- package/dist/index228.js +403 -35
- package/dist/index229.js +22 -21
- package/dist/index230.js +4 -4
- package/dist/index231.js +1 -1
- package/dist/index232.js +1 -1
- package/dist/index233.js +1 -1
- package/dist/index234.js +7 -7
- package/dist/index235.js +2 -2
- package/dist/index236.js +1 -1
- package/dist/index237.js +2 -2
- package/dist/index238.js +126 -21
- package/dist/index239.js +37 -21
- package/dist/index240.js +80 -20
- package/dist/index241.js +20 -836
- package/dist/index242.js +19 -701
- package/dist/index243.js +19 -175
- package/dist/index244.js +11 -11
- package/dist/index245.js +160 -19
- package/dist/index246.js +228 -22
- package/dist/index247.js +36 -19
- package/dist/index248.js +10 -20
- package/dist/index249.js +22 -3
- package/dist/index250.js +21 -186
- package/dist/index251.js +19 -132
- package/dist/index252.js +744 -1131
- package/dist/index253.js +679 -104
- package/dist/index254.js +176 -20
- package/dist/index255.js +11 -11
- package/dist/index256.js +13 -15
- package/dist/index257.js +19 -37
- package/dist/index258.js +3 -29
- package/dist/index259.js +186 -19
- package/dist/index260.js +131 -18
- package/dist/index261.js +1223 -2
- package/dist/index262.js +20 -2
- package/dist/index263.js +22 -3709
- package/dist/index264.js +22 -60
- package/dist/index265.js +29 -83
- package/dist/index266.js +20 -52
- package/dist/index267.js +20 -215
- package/dist/index268.js +2 -10
- package/dist/index269.js +2 -57
- package/dist/index270.js +241 -49
- package/dist/index271.js +7 -53
- package/dist/index272.js +133 -76
- package/dist/index273.js +74 -719
- package/dist/index274.js +51 -44
- package/dist/index275.js +77 -62
- package/dist/index276.js +26 -11
- package/dist/index277.js +22 -705
- package/dist/index278.js +22 -820
- package/dist/index279.js +16 -253
- package/dist/index280.js +16 -7
- package/dist/index281.js +22 -137
- package/dist/index282.js +3 -83
- package/dist/index283.js +26 -53
- package/dist/index284.js +3692 -62
- package/dist/index285.js +60 -26
- package/dist/index286.js +83 -22
- package/dist/index287.js +52 -22
- package/dist/index288.js +214 -15
- package/dist/index289.js +9 -16
- package/dist/index290.js +55 -21
- package/dist/index291.js +60 -79
- package/dist/index292.js +54 -20
- package/dist/index293.js +81 -20
- package/dist/index294.js +722 -155
- package/dist/index295.js +44 -225
- package/dist/index296.js +64 -37
- package/dist/index297.js +11 -10
- package/dist/index298.js +705 -3
- package/dist/index299.js +814 -21
- package/dist/index300.js +2 -265
- package/dist/index301.js +78 -5
- package/dist/index302.js +21 -149
- package/dist/index303.js +929 -63
- package/dist/index304.js +21 -90
- package/dist/index305.js +19 -28
- package/dist/index306.js +19 -15
- package/dist/index307.js +67 -73
- package/dist/index308.js +19 -4
- package/dist/index309.js +19 -2
- package/dist/index310.js +21 -83
- package/dist/index311.js +21 -57
- package/dist/index312.js +63 -6
- package/dist/index313.js +264 -4
- package/dist/index314.js +5 -185
- package/dist/index315.js +143 -56
- package/dist/index316.js +69 -75
- package/dist/index317.js +82 -1525
- package/dist/index318.js +26 -383
- package/dist/index319.js +13 -2728
- package/dist/index320.js +72 -83
- package/dist/index321.js +3 -3797
- package/dist/index322.js +2 -60
- package/dist/index323.js +84 -15
- package/dist/index324.js +56 -82
- package/dist/index325.js +4 -200
- package/dist/index326.js +4 -245
- package/dist/index327.js +181 -74
- package/dist/index328.js +62 -21
- package/dist/index329.js +74 -934
- package/dist/index330.js +36 -21
- package/dist/index331.js +8 -19
- package/dist/index332.js +12 -19
- package/dist/index333.js +54 -68
- package/dist/index334.js +12 -19
- package/dist/index335.js +14 -19
- package/dist/index336.js +57 -21
- package/dist/index337.js +51 -21
- package/dist/index338.js +31 -63
- package/dist/index339.js +2 -2
- package/dist/index340.js +5 -37
- package/dist/index341.js +2 -9
- package/dist/index342.js +23 -13
- package/dist/index343.js +38 -52
- package/dist/index344.js +2 -12
- package/dist/index345.js +11 -14
- package/dist/index346.js +16 -54
- package/dist/index347.js +10 -52
- package/dist/index348.js +10 -31
- package/dist/index349.js +17 -2
- package/dist/index350.js +2 -5
- package/dist/index351.js +9 -2
- package/dist/index352.js +10 -23
- package/dist/index353.js +12 -39
- package/dist/index354.js +1534 -2
- package/dist/index355.js +384 -9
- package/dist/index356.js +2727 -16
- package/dist/index357.js +86 -10
- package/dist/index358.js +3797 -9
- package/dist/index359.js +58 -15
- package/dist/index360.js +15 -2
- package/dist/index361.js +84 -9
- package/dist/index362.js +201 -9
- package/dist/index363.js +245 -13
- package/dist/index364.js +19 -18
- package/dist/index365.js +19 -56
- package/dist/index366.js +61 -22
- package/dist/index367.js +37 -7
- package/dist/index368.js +16 -52
- package/dist/index369.js +57 -7
- package/dist/index370.js +23 -10
- package/dist/index371.js +7 -7
- package/dist/index372.js +54 -27
- package/dist/index373.js +7 -2
- package/dist/index374.js +11 -81
- package/dist/index375.js +6 -179
- package/dist/index376.js +28 -20
- package/dist/index377.js +2 -20
- package/dist/index378.js +79 -61
- package/dist/index379.js +179 -36
- package/dist/index38.js +2 -2
- package/dist/index380.js +17 -31
- package/dist/index381.js +30 -10
- package/dist/index382.js +10 -3
- package/dist/index383.js +3 -3
- package/dist/index384.js +4 -13
- package/dist/index385.js +13 -7
- package/dist/index386.js +7 -14
- package/dist/index387.js +13 -4
- package/dist/index388.js +5 -36
- package/dist/index389.js +36 -37
- package/dist/index390.js +35 -28
- package/dist/index391.js +28 -62
- package/dist/index392.js +62 -96
- package/dist/index393.js +100 -16
- package/dist/index394.js +90 -100
- package/dist/index395.js +98 -91
- package/dist/index396.js +1 -1
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/index79.js +218 -129
- package/dist/src/components/calendar/calendar.d.ts +18 -1
- package/package.json +1 -1
- package/src/assets/illustrations/pending-to-do.png +0 -0
package/dist/index10.js
CHANGED
|
@@ -1,244 +1,273 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
1
|
+
import m from "./index79.js";
|
|
2
|
+
import { resolveComponent as w, openBlock as n, createElementBlock as s, normalizeClass as t, renderSlot as d, createVNode as p, createElementVNode as v, toDisplayString as r, createBlock as b, createCommentVNode as l, Fragment as y, renderList as u, createTextVNode as c } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
6
|
-
key: 0,
|
|
7
|
-
class: "calendar-header"
|
|
8
|
-
}, f = {
|
|
4
|
+
import C from "./index65.js";
|
|
5
|
+
const $ = ["disabled"], D = {
|
|
9
6
|
key: 1,
|
|
10
7
|
class: "nav-spacer"
|
|
11
|
-
},
|
|
8
|
+
}, M = ["disabled"], f = {
|
|
12
9
|
key: 0,
|
|
13
10
|
class: "header-text"
|
|
14
|
-
},
|
|
11
|
+
}, N = {
|
|
15
12
|
key: 1,
|
|
16
13
|
class: "header-text"
|
|
17
|
-
},
|
|
14
|
+
}, V = {
|
|
18
15
|
key: 2,
|
|
19
16
|
class: "header-text"
|
|
20
|
-
},
|
|
17
|
+
}, R = ["disabled"], S = {
|
|
21
18
|
key: 3,
|
|
22
19
|
class: "nav-spacer"
|
|
23
|
-
},
|
|
24
|
-
key:
|
|
20
|
+
}, P = {
|
|
21
|
+
key: 0,
|
|
25
22
|
class: "calendar-body"
|
|
26
|
-
},
|
|
23
|
+
}, T = {
|
|
27
24
|
key: 0,
|
|
28
25
|
class: "month-label"
|
|
29
|
-
},
|
|
26
|
+
}, I = {
|
|
30
27
|
key: 1,
|
|
31
28
|
class: "calendar-weekdays"
|
|
32
|
-
},
|
|
29
|
+
}, H = { class: "calendar-grid" }, L = ["onClick", "onMouseenter"], Y = { class: "day-number" }, z = {
|
|
33
30
|
key: 0,
|
|
34
31
|
class: "today-indicator"
|
|
35
|
-
},
|
|
36
|
-
key:
|
|
32
|
+
}, E = {
|
|
33
|
+
key: 1,
|
|
37
34
|
class: "calendar-body calendar-body-continuous"
|
|
38
|
-
},
|
|
35
|
+
}, W = { class: "calendar-month calendar-month-continuous" }, q = {
|
|
39
36
|
key: 0,
|
|
40
37
|
class: "calendar-weekdays"
|
|
41
|
-
},
|
|
38
|
+
}, B = { class: "calendar-grid calendar-grid-continuous" }, F = ["onClick", "onMouseenter"], Q = { class: "day-number" }, A = {
|
|
42
39
|
key: 0,
|
|
43
40
|
class: "today-indicator"
|
|
44
41
|
}, G = {
|
|
45
|
-
key:
|
|
42
|
+
key: 2,
|
|
46
43
|
class: "calendar-months-view"
|
|
47
44
|
}, J = ["onClick"], K = {
|
|
48
|
-
key:
|
|
45
|
+
key: 3,
|
|
49
46
|
class: "calendar-years-view"
|
|
50
47
|
}, U = ["onClick"], X = {
|
|
51
|
-
key:
|
|
48
|
+
key: 4,
|
|
52
49
|
class: "calendar-footer"
|
|
53
50
|
};
|
|
54
|
-
function Z(e,
|
|
55
|
-
const
|
|
56
|
-
return
|
|
57
|
-
|
|
58
|
-
|
|
51
|
+
function Z(e, i, O, j, _, x) {
|
|
52
|
+
const g = w("q-icon");
|
|
53
|
+
return n(), s("div", {
|
|
54
|
+
class: t(["q-calendar", { "paginated relative": e.paginated }])
|
|
55
|
+
}, [
|
|
56
|
+
e.showHeader ? (n(), s("div", {
|
|
57
|
+
key: 0,
|
|
58
|
+
class: t(["calendar-header", { "paginated-header": e.paginated }])
|
|
59
|
+
}, [
|
|
60
|
+
e.showNavigation ? (n(), s("button", {
|
|
59
61
|
key: 0,
|
|
60
62
|
type: "button",
|
|
61
|
-
class:
|
|
62
|
-
|
|
63
|
+
class: t([
|
|
64
|
+
"nav-button",
|
|
65
|
+
"nav-prev",
|
|
66
|
+
{
|
|
67
|
+
"border !border-solid border-gray-10 hover:!bg-gray-0 mr-2": e.paginated,
|
|
68
|
+
"nav-prev-disabled !bg-gray-0": e.navPrevDisabled
|
|
69
|
+
}
|
|
70
|
+
]),
|
|
71
|
+
disabled: e.navPrevDisabled,
|
|
72
|
+
onClick: i[0] || (i[0] = (a) => e.paginated && !e.showPaginatedCalendar && !e.navPrevDisabled ? e.prevDay() : e.currentView === "years" ? e.prevYearRange() : e.prevMonth()),
|
|
63
73
|
"aria-label": "Previous"
|
|
64
74
|
}, [
|
|
65
|
-
|
|
66
|
-
p(
|
|
75
|
+
d(e.$slots, "prev-icon", {}, () => [
|
|
76
|
+
p(g, {
|
|
77
|
+
color: e.navPrevDisabled ? "gray-40" : "inkwell-20",
|
|
67
78
|
icon: "chevron-left",
|
|
68
|
-
type: "line",
|
|
69
79
|
size: "sm",
|
|
70
|
-
|
|
71
|
-
})
|
|
80
|
+
type: "line"
|
|
81
|
+
}, null, 8, ["color"])
|
|
72
82
|
], !0)
|
|
73
|
-
])) : (
|
|
74
|
-
|
|
83
|
+
], 10, $)) : (n(), s("span", D)),
|
|
84
|
+
v("button", {
|
|
75
85
|
type: "button",
|
|
76
|
-
class:
|
|
86
|
+
class: t([
|
|
77
87
|
"header-title",
|
|
78
|
-
{
|
|
88
|
+
{
|
|
89
|
+
"header-clickable": e.headerClickable && e.currentView !== "years",
|
|
90
|
+
"border !border-solid border-gray-10 hover:!bg-gray-0 grow !text-sm !h-8": e.paginated
|
|
91
|
+
}
|
|
79
92
|
]),
|
|
80
93
|
disabled: !e.headerClickable || e.currentView === "years",
|
|
81
|
-
onClick:
|
|
94
|
+
onClick: i[1] || (i[1] = (...a) => e.onHeaderClick && e.onHeaderClick(...a))
|
|
82
95
|
}, [
|
|
83
|
-
|
|
96
|
+
d(e.$slots, "header", {
|
|
84
97
|
title: e.headerTitle,
|
|
85
98
|
view: e.currentView
|
|
86
99
|
}, () => [
|
|
87
|
-
e.currentView === "days" ? (
|
|
100
|
+
e.currentView === "days" ? (n(), s("span", f, r(e.headerTitle), 1)) : e.currentView === "months" ? (n(), s("span", N, r(e.viewDate.getFullYear()), 1)) : (n(), s("span", V, r(e.yearRangeStart) + " - " + r(e.yearRangeStart + 11), 1))
|
|
88
101
|
], !0),
|
|
89
|
-
e.headerClickable && e.isMultiMonth ? (
|
|
102
|
+
e.headerClickable && e.isMultiMonth ? (n(), b(g, {
|
|
90
103
|
key: 0,
|
|
91
104
|
icon: "chevron-down",
|
|
92
105
|
type: "line",
|
|
93
106
|
size: "sm",
|
|
94
107
|
color: "inkwell-20",
|
|
95
108
|
class: "header-dropdown-icon"
|
|
96
|
-
})) :
|
|
97
|
-
], 10,
|
|
98
|
-
e.showNavigation ? (
|
|
109
|
+
})) : l("", !0)
|
|
110
|
+
], 10, M),
|
|
111
|
+
e.showNavigation ? (n(), s("button", {
|
|
99
112
|
key: 2,
|
|
100
113
|
type: "button",
|
|
101
|
-
class:
|
|
102
|
-
|
|
114
|
+
class: t([
|
|
115
|
+
"nav-button",
|
|
116
|
+
"nav-next",
|
|
117
|
+
{
|
|
118
|
+
"border !border-solid border-gray-10 hover:!bg-gray-0 ml-2": e.paginated,
|
|
119
|
+
"nav-next-disabled !bg-gray-0": e.navNextDisabled
|
|
120
|
+
}
|
|
121
|
+
]),
|
|
122
|
+
disabled: e.navNextDisabled,
|
|
123
|
+
onClick: i[2] || (i[2] = (a) => e.paginated && !e.showPaginatedCalendar && !e.navNextDisabled ? e.nextDay() : e.currentView === "years" ? e.nextYearRange() : e.nextMonth()),
|
|
103
124
|
"aria-label": "Next"
|
|
104
125
|
}, [
|
|
105
|
-
|
|
106
|
-
p(
|
|
126
|
+
d(e.$slots, "next-icon", {}, () => [
|
|
127
|
+
p(g, {
|
|
128
|
+
color: e.navNextDisabled ? "gray-40" : "inkwell-20",
|
|
107
129
|
icon: "chevron-right",
|
|
108
|
-
type: "line",
|
|
109
130
|
size: "sm",
|
|
110
|
-
|
|
111
|
-
})
|
|
131
|
+
type: "line"
|
|
132
|
+
}, null, 8, ["color"])
|
|
112
133
|
], !0)
|
|
113
|
-
])) : (
|
|
114
|
-
])) :
|
|
115
|
-
e.
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
e.
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
t(e.$slots, "weekday", { day: a }, () => [
|
|
134
|
-
k(r(a), 1)
|
|
135
|
-
], !0)
|
|
136
|
-
]))), 128))
|
|
137
|
-
])) : i("", !0),
|
|
138
|
-
c("div", L, [
|
|
139
|
-
(s(!0), o(d, null, u(n.dates, (a, y) => (s(), o("div", {
|
|
140
|
-
key: y,
|
|
141
|
-
class: h([
|
|
142
|
-
"calendar-day",
|
|
143
|
-
{
|
|
144
|
-
"day-other-month": !a.isCurrentMonth && e.greyOutNonCurrentMonth,
|
|
145
|
-
"day-today": a.isToday,
|
|
146
|
-
"day-selected": a.isSelected,
|
|
147
|
-
"day-in-range": a.isInRange,
|
|
148
|
-
"day-range-start": a.isRangeStart,
|
|
149
|
-
"day-range-end": a.isRangeEnd,
|
|
150
|
-
"day-disabled": a.isDisabled,
|
|
151
|
-
"day-has-indicator": a.hasIndicator
|
|
152
|
-
}
|
|
153
|
-
]),
|
|
154
|
-
onClick: (m) => e.onDateClick(a),
|
|
155
|
-
onMouseenter: (m) => e.onDateHover(a),
|
|
156
|
-
onMouseleave: l[3] || (l[3] = (...m) => e.onDateLeave && e.onDateLeave(...m))
|
|
157
|
-
}, [
|
|
158
|
-
t(e.$slots, "day", { date: a }, () => [
|
|
159
|
-
c("span", z, r(a.day), 1),
|
|
160
|
-
a.isToday ? (s(), o("span", E)) : i("", !0)
|
|
161
|
-
], !0)
|
|
162
|
-
], 42, Y))), 128))
|
|
163
|
-
])
|
|
164
|
-
], 2))), 128))
|
|
165
|
-
])) : e.currentView === "days" && e.continuous ? (s(), o("div", W, [
|
|
166
|
-
c("div", q, [
|
|
167
|
-
e.showWeekDays ? (s(), o("div", B, [
|
|
168
|
-
(s(!0), o(d, null, u(e.daysOfWeek, (n) => (s(), o("div", {
|
|
169
|
-
key: n,
|
|
170
|
-
class: "weekday"
|
|
171
|
-
}, [
|
|
172
|
-
t(e.$slots, "weekday", { day: n }, () => [
|
|
173
|
-
k(r(n), 1)
|
|
174
|
-
], !0)
|
|
175
|
-
]))), 128))
|
|
176
|
-
])) : i("", !0),
|
|
177
|
-
c("div", F, [
|
|
178
|
-
(s(!0), o(d, null, u(e.continuousCalendarData.dates, (n, a) => (s(), o("div", {
|
|
179
|
-
key: a,
|
|
180
|
-
class: h([
|
|
181
|
-
"calendar-day",
|
|
182
|
-
{
|
|
183
|
-
"day-other-month": !n.isCurrentMonth && e.greyOutNonCurrentMonth,
|
|
184
|
-
"day-today": n.isToday,
|
|
185
|
-
"day-selected": n.isSelected,
|
|
186
|
-
"day-in-range": n.isInRange,
|
|
187
|
-
"day-range-start": n.isRangeStart,
|
|
188
|
-
"day-range-end": n.isRangeEnd,
|
|
189
|
-
"day-disabled": n.isDisabled,
|
|
190
|
-
"day-has-indicator": n.hasIndicator
|
|
191
|
-
}
|
|
192
|
-
]),
|
|
193
|
-
onClick: (y) => e.onDateClick(n),
|
|
194
|
-
onMouseenter: (y) => e.onDateHover(n),
|
|
195
|
-
onMouseleave: l[4] || (l[4] = (...y) => e.onDateLeave && e.onDateLeave(...y))
|
|
196
|
-
}, [
|
|
197
|
-
t(e.$slots, "day", { date: n }, () => [
|
|
198
|
-
c("span", Q, r(n.day), 1),
|
|
199
|
-
n.isToday ? (s(), o("span", A)) : i("", !0)
|
|
134
|
+
], 10, R)) : (n(), s("span", S))
|
|
135
|
+
], 2)) : l("", !0),
|
|
136
|
+
!e.paginated || e.paginated && e.showPaginatedCalendar ? (n(), s("div", {
|
|
137
|
+
key: 1,
|
|
138
|
+
class: t({ "paginated-content w-full": e.paginated })
|
|
139
|
+
}, [
|
|
140
|
+
e.currentView === "days" && !e.continuous ? (n(), s("div", P, [
|
|
141
|
+
(n(!0), s(y, null, u(e.displayedMonths, (a) => (n(), s("div", {
|
|
142
|
+
key: `${a.year}-${a.month}`,
|
|
143
|
+
class: t([
|
|
144
|
+
"calendar-month",
|
|
145
|
+
{ "calendar-month-multi": e.isMultiMonth }
|
|
146
|
+
])
|
|
147
|
+
}, [
|
|
148
|
+
e.isMultiMonth ? (n(), s("div", T, [
|
|
149
|
+
d(e.$slots, "month-label", {
|
|
150
|
+
month: a.month,
|
|
151
|
+
year: a.year
|
|
152
|
+
}, () => [
|
|
153
|
+
c(r(e.monthNamesShort[a.month]) + " " + r(a.year), 1)
|
|
200
154
|
], !0)
|
|
201
|
-
]
|
|
155
|
+
])) : l("", !0),
|
|
156
|
+
e.showWeekDays ? (n(), s("div", I, [
|
|
157
|
+
(n(!0), s(y, null, u(e.daysOfWeek, (o) => (n(), s("div", {
|
|
158
|
+
key: o,
|
|
159
|
+
class: "weekday"
|
|
160
|
+
}, [
|
|
161
|
+
d(e.$slots, "weekday", { day: o }, () => [
|
|
162
|
+
c(r(o), 1)
|
|
163
|
+
], !0)
|
|
164
|
+
]))), 128))
|
|
165
|
+
])) : l("", !0),
|
|
166
|
+
v("div", H, [
|
|
167
|
+
(n(!0), s(y, null, u(a.dates, (o, h) => (n(), s("div", {
|
|
168
|
+
key: h,
|
|
169
|
+
class: t([
|
|
170
|
+
"calendar-day",
|
|
171
|
+
{
|
|
172
|
+
"day-other-month": !o.isCurrentMonth && e.greyOutNonCurrentMonth,
|
|
173
|
+
"day-today": o.isToday,
|
|
174
|
+
"day-selected": o.isSelected,
|
|
175
|
+
"day-in-range": o.isInRange,
|
|
176
|
+
"day-range-start": o.isRangeStart,
|
|
177
|
+
"day-range-end": o.isRangeEnd,
|
|
178
|
+
"day-disabled": o.isDisabled,
|
|
179
|
+
"day-has-indicator": o.hasIndicator
|
|
180
|
+
}
|
|
181
|
+
]),
|
|
182
|
+
onClick: (k) => e.onDateClick(o),
|
|
183
|
+
onMouseenter: (k) => e.onDateHover(o),
|
|
184
|
+
onMouseleave: i[3] || (i[3] = (...k) => e.onDateLeave && e.onDateLeave(...k))
|
|
185
|
+
}, [
|
|
186
|
+
d(e.$slots, "day", { date: o }, () => [
|
|
187
|
+
v("span", Y, r(o.day), 1),
|
|
188
|
+
o.isToday ? (n(), s("span", z)) : l("", !0)
|
|
189
|
+
], !0)
|
|
190
|
+
], 42, L))), 128))
|
|
191
|
+
])
|
|
192
|
+
], 2))), 128))
|
|
193
|
+
])) : e.currentView === "days" && e.continuous ? (n(), s("div", E, [
|
|
194
|
+
v("div", W, [
|
|
195
|
+
e.showWeekDays ? (n(), s("div", q, [
|
|
196
|
+
(n(!0), s(y, null, u(e.daysOfWeek, (a) => (n(), s("div", {
|
|
197
|
+
key: a,
|
|
198
|
+
class: "weekday"
|
|
199
|
+
}, [
|
|
200
|
+
d(e.$slots, "weekday", { day: a }, () => [
|
|
201
|
+
c(r(a), 1)
|
|
202
|
+
], !0)
|
|
203
|
+
]))), 128))
|
|
204
|
+
])) : l("", !0),
|
|
205
|
+
v("div", B, [
|
|
206
|
+
(n(!0), s(y, null, u(e.continuousCalendarData.dates, (a, o) => (n(), s("div", {
|
|
207
|
+
key: o,
|
|
208
|
+
class: t([
|
|
209
|
+
"calendar-day",
|
|
210
|
+
{
|
|
211
|
+
"day-other-month": !a.isCurrentMonth && e.greyOutNonCurrentMonth,
|
|
212
|
+
"day-today": a.isToday,
|
|
213
|
+
"day-selected": a.isSelected,
|
|
214
|
+
"day-in-range": a.isInRange,
|
|
215
|
+
"day-range-start": a.isRangeStart,
|
|
216
|
+
"day-range-end": a.isRangeEnd,
|
|
217
|
+
"day-disabled": a.isDisabled,
|
|
218
|
+
"day-has-indicator": a.hasIndicator
|
|
219
|
+
}
|
|
220
|
+
]),
|
|
221
|
+
onClick: (h) => e.onDateClick(a),
|
|
222
|
+
onMouseenter: (h) => e.onDateHover(a),
|
|
223
|
+
onMouseleave: i[4] || (i[4] = (...h) => e.onDateLeave && e.onDateLeave(...h))
|
|
224
|
+
}, [
|
|
225
|
+
d(e.$slots, "day", { date: a }, () => [
|
|
226
|
+
v("span", Q, r(a.day), 1),
|
|
227
|
+
a.isToday ? (n(), s("span", A)) : l("", !0)
|
|
228
|
+
], !0)
|
|
229
|
+
], 42, F))), 128))
|
|
230
|
+
])
|
|
202
231
|
])
|
|
203
|
-
])
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
],
|
|
220
|
-
],
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
],
|
|
234
|
-
]
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
])) :
|
|
239
|
-
]);
|
|
232
|
+
])) : e.currentView === "months" ? (n(), s("div", G, [
|
|
233
|
+
(n(!0), s(y, null, u(e.monthNames, (a, o) => (n(), s("button", {
|
|
234
|
+
key: o,
|
|
235
|
+
type: "button",
|
|
236
|
+
class: t([
|
|
237
|
+
"month-cell",
|
|
238
|
+
{ "month-selected": e.viewDate.getMonth() === o }
|
|
239
|
+
]),
|
|
240
|
+
onClick: (h) => e.selectMonth(o)
|
|
241
|
+
}, [
|
|
242
|
+
d(e.$slots, "month-cell", {
|
|
243
|
+
month: a,
|
|
244
|
+
index: o
|
|
245
|
+
}, () => [
|
|
246
|
+
c(r(e.monthNamesShort[o]), 1)
|
|
247
|
+
], !0)
|
|
248
|
+
], 10, J))), 128))
|
|
249
|
+
])) : e.currentView === "years" ? (n(), s("div", K, [
|
|
250
|
+
(n(!0), s(y, null, u(e.yearsInRange, (a) => (n(), s("button", {
|
|
251
|
+
key: a,
|
|
252
|
+
type: "button",
|
|
253
|
+
class: t([
|
|
254
|
+
"year-cell",
|
|
255
|
+
{ "year-selected": e.viewDate.getFullYear() === a }
|
|
256
|
+
]),
|
|
257
|
+
onClick: (o) => e.selectYear(a)
|
|
258
|
+
}, [
|
|
259
|
+
d(e.$slots, "year-cell", { year: a }, () => [
|
|
260
|
+
c(r(a), 1)
|
|
261
|
+
], !0)
|
|
262
|
+
], 10, U))), 128))
|
|
263
|
+
])) : l("", !0),
|
|
264
|
+
e.$slots.footer ? (n(), s("div", X, [
|
|
265
|
+
d(e.$slots, "footer", {}, void 0, !0)
|
|
266
|
+
])) : l("", !0)
|
|
267
|
+
], 2)) : l("", !0)
|
|
268
|
+
], 2);
|
|
240
269
|
}
|
|
241
|
-
const
|
|
270
|
+
const oe = /* @__PURE__ */ C(m, [["render", Z], ["__scopeId", "data-v-a0727fd6"]]);
|
|
242
271
|
export {
|
|
243
|
-
|
|
272
|
+
oe as default
|
|
244
273
|
};
|
package/dist/index149.js
CHANGED
|
@@ -263,11 +263,17 @@ const z = I({
|
|
|
263
263
|
t.value.push(n);
|
|
264
264
|
}) : t.value = e.filteredOptions, s("update:model-value", t.value);
|
|
265
265
|
};
|
|
266
|
-
return h(
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
266
|
+
return h(
|
|
267
|
+
() => l.modelValue,
|
|
268
|
+
(e) => {
|
|
269
|
+
t.value = e;
|
|
270
|
+
}
|
|
271
|
+
), h(
|
|
272
|
+
() => l.options,
|
|
273
|
+
(e) => {
|
|
274
|
+
i.value && (f.value = e);
|
|
275
|
+
}
|
|
276
|
+
), {
|
|
271
277
|
currentSelect: o,
|
|
272
278
|
currentContainer: d,
|
|
273
279
|
search: p,
|
package/dist/index15.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as d, openBlock as t, createElementBlock as f, createElementVNode as s, renderSlot as l, createVNode as a, createCommentVNode as i, toDisplayString as u, normalizeProps as
|
|
1
|
+
import w from "./index88.js";
|
|
2
|
+
import { resolveComponent as d, openBlock as t, createElementBlock as f, createElementVNode as s, renderSlot as l, createVNode as a, createCommentVNode as i, toDisplayString as u, normalizeProps as c, guardReactiveProps as m, createBlock as p, withCtx as o, createTextVNode as S, normalizeClass as k, Transition as y } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
4
|
import q from "./index65.js";
|
|
5
5
|
const B = ["id"], F = { class: "search grow" }, z = {
|
|
@@ -13,7 +13,7 @@ const B = ["id"], F = { class: "search grow" }, z = {
|
|
|
13
13
|
class: "actions shrink-0 flex items-center h-6"
|
|
14
14
|
};
|
|
15
15
|
function D(e, r, I, Q, _, X) {
|
|
16
|
-
const h = d("q-icon"),
|
|
16
|
+
const h = d("q-icon"), $ = d("q-input"), v = d("q-badge"), C = d("q-tooltip"), b = d("q-popover"), g = d("q-bottom-sheet");
|
|
17
17
|
return t(), f("div", {
|
|
18
18
|
id: e.id,
|
|
19
19
|
class: "data-filter flex items-center p-4 bg-white"
|
|
@@ -23,17 +23,17 @@ function D(e, r, I, Q, _, X) {
|
|
|
23
23
|
s("label", z, [
|
|
24
24
|
a(h, {
|
|
25
25
|
class: "mr-2 shrink-0",
|
|
26
|
-
color: "
|
|
26
|
+
color: "inkwell-0",
|
|
27
27
|
icon: "search",
|
|
28
28
|
size: "md",
|
|
29
29
|
type: ""
|
|
30
30
|
}),
|
|
31
|
-
a(
|
|
31
|
+
a($, {
|
|
32
32
|
id: "search",
|
|
33
33
|
"model-value": e.search,
|
|
34
34
|
"hide-clear": e.mq.md,
|
|
35
35
|
placeholder: e.searchPlaceholder || e.$t("HC_SEARCH"),
|
|
36
|
-
class: "text-base grow",
|
|
36
|
+
class: "text-base grow !placeholder-inkwell-0",
|
|
37
37
|
"control-class": "!border-0 !px-0",
|
|
38
38
|
size: "xxs",
|
|
39
39
|
"onUpdate:modelValue": e.debouncedSearch
|
|
@@ -46,8 +46,8 @@ function D(e, r, I, Q, _, X) {
|
|
|
46
46
|
], !0) : i("", !0),
|
|
47
47
|
l(e.$slots, "beforeFilters", {}, void 0, !0),
|
|
48
48
|
e.filters?.length ? (t(), f("div", V, [
|
|
49
|
-
l(e.$slots, "filters",
|
|
50
|
-
e.$slots.filterContent && e.mq.md ? (t(),
|
|
49
|
+
l(e.$slots, "filters", c(m({ filtersCount: e.filtersCount })), () => [
|
|
50
|
+
e.$slots.filterContent && e.mq.md ? (t(), p(b, {
|
|
51
51
|
key: 0,
|
|
52
52
|
modelValue: e.showFilterPopover,
|
|
53
53
|
"onUpdate:modelValue": r[0] || (r[0] = (n) => e.showFilterPopover = n),
|
|
@@ -63,19 +63,19 @@ function D(e, r, I, Q, _, X) {
|
|
|
63
63
|
trigger: "click"
|
|
64
64
|
}, {
|
|
65
65
|
trigger: o(({ onClick: n }) => [
|
|
66
|
-
a(
|
|
66
|
+
a(C, { class: "z-[45] ml-2" }, {
|
|
67
67
|
trigger: o(() => [
|
|
68
68
|
s("div", T, [
|
|
69
69
|
a(h, {
|
|
70
70
|
class: "filters-icon ml-0 cursor-pointer",
|
|
71
|
-
color: e.showFilterPopover ? "blue-20" : "
|
|
71
|
+
color: e.showFilterPopover ? "blue-20" : "inkwell-0",
|
|
72
72
|
icon: "filter",
|
|
73
73
|
size: "md",
|
|
74
74
|
onClick: (j) => e.onFilterClick(n)
|
|
75
75
|
}, null, 8, ["color", "onClick"]),
|
|
76
|
-
e.filtersCount ? (t(),
|
|
76
|
+
e.filtersCount ? (t(), p(v, {
|
|
77
77
|
key: 0,
|
|
78
|
-
class:
|
|
78
|
+
class: k([
|
|
79
79
|
"filters-count absolute !h-4 !w-4",
|
|
80
80
|
"-top-[0.3125rem] -right-[0.375rem]"
|
|
81
81
|
]),
|
|
@@ -89,13 +89,13 @@ function D(e, r, I, Q, _, X) {
|
|
|
89
89
|
])
|
|
90
90
|
]),
|
|
91
91
|
content: o(() => [
|
|
92
|
-
|
|
92
|
+
S(u(e.$t("HC_FILTERS")), 1)
|
|
93
93
|
]),
|
|
94
94
|
_: 2
|
|
95
95
|
}, 1024)
|
|
96
96
|
]),
|
|
97
97
|
content: o(() => [
|
|
98
|
-
l(e.$slots, "filterContent",
|
|
98
|
+
l(e.$slots, "filterContent", c(m({ closePopover: e.closePopover })), void 0, !0)
|
|
99
99
|
]),
|
|
100
100
|
_: 3
|
|
101
101
|
}, 8, ["modelValue", "reposition", "size", "teleport", "teleport-match-non-teleported-position", "teleport-to"])) : e.$slots.filterSheetContent && !e.mq.md ? (t(), f("div", E, [
|
|
@@ -107,9 +107,9 @@ function D(e, r, I, Q, _, X) {
|
|
|
107
107
|
size: "md",
|
|
108
108
|
onClick: r[1] || (r[1] = (n) => e.showFilterBottomSheet = !0)
|
|
109
109
|
}, null, 8, ["color"]),
|
|
110
|
-
e.filtersCount ? (t(),
|
|
110
|
+
e.filtersCount ? (t(), p(v, {
|
|
111
111
|
key: 0,
|
|
112
|
-
class:
|
|
112
|
+
class: k([
|
|
113
113
|
"filters-count absolute !h-4 !w-4",
|
|
114
114
|
"-top-[0.3125rem] -right-[0.375rem]"
|
|
115
115
|
]),
|
|
@@ -121,35 +121,35 @@ function D(e, r, I, Q, _, X) {
|
|
|
121
121
|
_: 1
|
|
122
122
|
})) : i("", !0)
|
|
123
123
|
]),
|
|
124
|
-
a(
|
|
124
|
+
a(y, {
|
|
125
125
|
name: "slide-up-fade",
|
|
126
126
|
appear: ""
|
|
127
127
|
}, {
|
|
128
128
|
default: o(() => [
|
|
129
|
-
e.showFilterBottomSheet ? (t(),
|
|
129
|
+
e.showFilterBottomSheet ? (t(), p(g, {
|
|
130
130
|
key: 0,
|
|
131
131
|
modelValue: e.showFilterBottomSheet,
|
|
132
132
|
"onUpdate:modelValue": r[2] || (r[2] = (n) => e.showFilterBottomSheet = n),
|
|
133
133
|
"background-color": "gray-00"
|
|
134
134
|
}, {
|
|
135
135
|
backAction: o(() => [
|
|
136
|
-
l(e.$slots, "filterSheetBackAction",
|
|
136
|
+
l(e.$slots, "filterSheetBackAction", c(m({ closeBottomSheet: e.closeBottomSheet })), void 0, !0)
|
|
137
137
|
]),
|
|
138
138
|
header: o(() => [
|
|
139
139
|
l(e.$slots, "filterSheetHeader", {}, void 0, !0)
|
|
140
140
|
]),
|
|
141
141
|
headerAction: o(() => [
|
|
142
|
-
l(e.$slots, "filterSheetHeaderAction",
|
|
142
|
+
l(e.$slots, "filterSheetHeaderAction", c(m({ closeBottomSheet: e.closeBottomSheet })), void 0, !0)
|
|
143
143
|
]),
|
|
144
144
|
default: o(() => [
|
|
145
|
-
l(e.$slots, "filterSheetContent",
|
|
145
|
+
l(e.$slots, "filterSheetContent", c(m({ closeBottomSheet: e.closeBottomSheet })), void 0, !0)
|
|
146
146
|
]),
|
|
147
147
|
_: 3
|
|
148
148
|
}, 8, ["modelValue"])) : i("", !0)
|
|
149
149
|
]),
|
|
150
150
|
_: 3
|
|
151
151
|
})
|
|
152
|
-
])) : (t(),
|
|
152
|
+
])) : (t(), p(C, {
|
|
153
153
|
key: 2,
|
|
154
154
|
class: "z-[45] ml-2"
|
|
155
155
|
}, {
|
|
@@ -162,9 +162,9 @@ function D(e, r, I, Q, _, X) {
|
|
|
162
162
|
size: "md",
|
|
163
163
|
onClick: r[3] || (r[3] = (n) => e.$emit("click:filters"))
|
|
164
164
|
}, null, 8, ["color"]),
|
|
165
|
-
e.filtersCount ? (t(),
|
|
165
|
+
e.filtersCount ? (t(), p(v, {
|
|
166
166
|
key: 0,
|
|
167
|
-
class:
|
|
167
|
+
class: k([
|
|
168
168
|
"filters-count absolute !h-4 !w-4",
|
|
169
169
|
"-top-[0.3125rem] -right-[0.375rem]"
|
|
170
170
|
]),
|
|
@@ -178,7 +178,7 @@ function D(e, r, I, Q, _, X) {
|
|
|
178
178
|
])
|
|
179
179
|
]),
|
|
180
180
|
content: o(() => [
|
|
181
|
-
|
|
181
|
+
S(u(e.$t("HC_FILTERS")), 1)
|
|
182
182
|
]),
|
|
183
183
|
_: 1
|
|
184
184
|
}))
|
|
@@ -189,7 +189,7 @@ function D(e, r, I, Q, _, X) {
|
|
|
189
189
|
])) : i("", !0)
|
|
190
190
|
], 8, B);
|
|
191
191
|
}
|
|
192
|
-
const O = /* @__PURE__ */ q(
|
|
192
|
+
const O = /* @__PURE__ */ q(w, [["render", D], ["__scopeId", "data-v-a61e0f32"]]);
|
|
193
193
|
export {
|
|
194
194
|
O as default
|
|
195
195
|
};
|