@quoreadmin/ui 1.10.25 → 1.10.26

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.
Files changed (172) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index10.js +209 -180
  3. package/dist/index149.js +11 -5
  4. package/dist/index15.js +26 -26
  5. package/dist/index16.js +32 -22
  6. package/dist/index186.js +4 -4
  7. package/dist/index193.js +8 -8
  8. package/dist/index195.js +8 -8
  9. package/dist/index198.js +17 -17
  10. package/dist/index201.js +26 -26
  11. package/dist/index202.js +1 -1
  12. package/dist/index203.js +1 -1
  13. package/dist/index206.js +2 -2
  14. package/dist/index208.js +14 -14
  15. package/dist/index209.js +1 -1
  16. package/dist/index210.js +1 -1
  17. package/dist/index211.js +3 -3
  18. package/dist/index212.js +6 -6
  19. package/dist/index213.js +2 -2
  20. package/dist/index214.js +2 -2
  21. package/dist/index215.js +1 -1
  22. package/dist/index219.js +2 -2
  23. package/dist/index230.js +121 -155
  24. package/dist/index231.js +37 -19
  25. package/dist/index232.js +80 -20
  26. package/dist/index233.js +13 -15
  27. package/dist/index234.js +19 -198
  28. package/dist/index235.js +18 -68
  29. package/dist/index236.js +20 -34
  30. package/dist/index237.js +19 -39
  31. package/dist/index238.js +160 -21
  32. package/dist/index239.js +228 -22
  33. package/dist/index240.js +36 -19
  34. package/dist/index241.js +9 -835
  35. package/dist/index242.js +104 -645
  36. package/dist/index243.js +20 -176
  37. package/dist/index244.js +15 -13
  38. package/dist/index245.js +198 -19
  39. package/dist/index246.js +69 -21
  40. package/dist/index247.js +34 -20
  41. package/dist/index248.js +39 -19
  42. package/dist/index249.js +3709 -3
  43. package/dist/index250.js +54 -181
  44. package/dist/index251.js +77 -127
  45. package/dist/index252.js +45 -1216
  46. package/dist/index253.js +207 -119
  47. package/dist/index254.js +10 -20
  48. package/dist/index255.js +57 -22
  49. package/dist/index256.js +61 -22
  50. package/dist/index257.js +49 -33
  51. package/dist/index258.js +81 -29
  52. package/dist/index259.js +727 -19
  53. package/dist/index260.js +47 -20
  54. package/dist/index261.js +64 -2
  55. package/dist/index262.js +11 -2
  56. package/dist/index263.js +637 -3641
  57. package/dist/index264.js +819 -59
  58. package/dist/index265.js +22 -83
  59. package/dist/index266.js +22 -52
  60. package/dist/index267.js +20 -215
  61. package/dist/index268.js +836 -10
  62. package/dist/index269.js +695 -50
  63. package/dist/index270.js +174 -59
  64. package/dist/index271.js +22 -54
  65. package/dist/index272.js +20 -81
  66. package/dist/index273.js +19 -727
  67. package/dist/index274.js +3 -47
  68. package/dist/index275.js +181 -58
  69. package/dist/index276.js +133 -11
  70. package/dist/index277.js +1189 -671
  71. package/dist/index278.js +20 -820
  72. package/dist/index279.js +22 -253
  73. package/dist/index280.js +21 -7
  74. package/dist/index281.js +29 -138
  75. package/dist/index282.js +20 -83
  76. package/dist/index283.js +19 -53
  77. package/dist/index284.js +2 -79
  78. package/dist/index285.js +2 -26
  79. package/dist/index286.js +253 -22
  80. package/dist/index287.js +8 -22
  81. package/dist/index288.js +137 -15
  82. package/dist/index289.js +83 -17
  83. package/dist/index290.js +2 -23
  84. package/dist/index291.js +78 -79
  85. package/dist/index292.js +3 -20
  86. package/dist/index293.js +26 -19
  87. package/dist/index294.js +49 -156
  88. package/dist/index295.js +26 -228
  89. package/dist/index296.js +21 -36
  90. package/dist/index297.js +22 -10
  91. package/dist/index298.js +16 -3
  92. package/dist/index299.js +17 -27
  93. package/dist/index300.js +22 -264
  94. package/dist/index301.js +1533 -5
  95. package/dist/index302.js +372 -136
  96. package/dist/index303.js +2729 -67
  97. package/dist/index304.js +84 -89
  98. package/dist/index305.js +3795 -26
  99. package/dist/index306.js +58 -14
  100. package/dist/index307.js +15 -75
  101. package/dist/index308.js +83 -3
  102. package/dist/index309.js +202 -2
  103. package/dist/index310.js +237 -75
  104. package/dist/index311.js +77 -56
  105. package/dist/index312.js +21 -5
  106. package/dist/index313.js +934 -4
  107. package/dist/index314.js +21 -185
  108. package/dist/index315.js +19 -62
  109. package/dist/index316.js +20 -75
  110. package/dist/index317.js +69 -1534
  111. package/dist/index318.js +19 -386
  112. package/dist/index319.js +19 -2731
  113. package/dist/index320.js +21 -85
  114. package/dist/index321.js +22 -3798
  115. package/dist/index322.js +63 -60
  116. package/dist/index323.js +37 -15
  117. package/dist/index324.js +257 -76
  118. package/dist/index325.js +4 -200
  119. package/dist/index326.js +139 -235
  120. package/dist/index327.js +67 -77
  121. package/dist/index328.js +90 -21
  122. package/dist/index329.js +26 -932
  123. package/dist/index330.js +14 -20
  124. package/dist/index331.js +74 -19
  125. package/dist/index332.js +3 -19
  126. package/dist/index333.js +2 -69
  127. package/dist/index334.js +83 -18
  128. package/dist/index335.js +58 -19
  129. package/dist/index336.js +5 -21
  130. package/dist/index337.js +4 -21
  131. package/dist/index338.js +185 -62
  132. package/dist/index339.js +63 -2
  133. package/dist/index340.js +74 -36
  134. package/dist/index364.js +19 -18
  135. package/dist/index365.js +19 -56
  136. package/dist/index366.js +61 -22
  137. package/dist/index367.js +37 -7
  138. package/dist/index368.js +16 -52
  139. package/dist/index369.js +57 -7
  140. package/dist/index370.js +23 -10
  141. package/dist/index371.js +7 -7
  142. package/dist/index372.js +54 -27
  143. package/dist/index373.js +7 -2
  144. package/dist/index374.js +11 -81
  145. package/dist/index375.js +6 -179
  146. package/dist/index376.js +28 -20
  147. package/dist/index377.js +2 -20
  148. package/dist/index378.js +79 -61
  149. package/dist/index379.js +179 -36
  150. package/dist/index380.js +97 -30
  151. package/dist/index381.js +100 -10
  152. package/dist/index382.js +90 -3
  153. package/dist/index383.js +17 -4
  154. package/dist/index384.js +30 -12
  155. package/dist/index385.js +11 -7
  156. package/dist/index386.js +3 -13
  157. package/dist/index387.js +3 -4
  158. package/dist/index388.js +13 -36
  159. package/dist/index389.js +7 -37
  160. package/dist/index390.js +14 -30
  161. package/dist/index391.js +5 -64
  162. package/dist/index392.js +36 -98
  163. package/dist/index393.js +36 -16
  164. package/dist/index394.js +28 -99
  165. package/dist/index395.js +64 -91
  166. package/dist/index396.js +1 -1
  167. package/dist/index401.js +1 -1
  168. package/dist/index402.js +2 -2
  169. package/dist/index79.js +218 -129
  170. package/dist/src/components/calendar/calendar.d.ts +18 -1
  171. package/package.json +1 -1
  172. package/src/assets/illustrations/pending-to-do.png +0 -0
package/dist/index10.js CHANGED
@@ -1,244 +1,273 @@
1
- import w from "./index79.js";
2
- import { resolveComponent as g, openBlock as s, createElementBlock as o, renderSlot as t, createVNode as p, createElementVNode as c, normalizeClass as h, toDisplayString as r, createBlock as C, createCommentVNode as i, Fragment as d, renderList as u, createTextVNode as k } from "vue";
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 $ from "./index65.js";
5
- const M = { class: "q-calendar" }, V = {
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
- }, N = ["disabled"], D = {
8
+ }, M = ["disabled"], f = {
12
9
  key: 0,
13
10
  class: "header-text"
14
- }, R = {
11
+ }, N = {
15
12
  key: 1,
16
13
  class: "header-text"
17
- }, S = {
14
+ }, V = {
18
15
  key: 2,
19
16
  class: "header-text"
20
- }, b = {
17
+ }, R = ["disabled"], S = {
21
18
  key: 3,
22
19
  class: "nav-spacer"
23
- }, T = {
24
- key: 1,
20
+ }, P = {
21
+ key: 0,
25
22
  class: "calendar-body"
26
- }, I = {
23
+ }, T = {
27
24
  key: 0,
28
25
  class: "month-label"
29
- }, H = {
26
+ }, I = {
30
27
  key: 1,
31
28
  class: "calendar-weekdays"
32
- }, L = { class: "calendar-grid" }, Y = ["onClick", "onMouseenter"], z = { class: "day-number" }, E = {
29
+ }, H = { class: "calendar-grid" }, L = ["onClick", "onMouseenter"], Y = { class: "day-number" }, z = {
33
30
  key: 0,
34
31
  class: "today-indicator"
35
- }, W = {
36
- key: 2,
32
+ }, E = {
33
+ key: 1,
37
34
  class: "calendar-body calendar-body-continuous"
38
- }, q = { class: "calendar-month calendar-month-continuous" }, B = {
35
+ }, W = { class: "calendar-month calendar-month-continuous" }, q = {
39
36
  key: 0,
40
37
  class: "calendar-weekdays"
41
- }, F = { class: "calendar-grid calendar-grid-continuous" }, P = ["onClick", "onMouseenter"], Q = { class: "day-number" }, A = {
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: 3,
42
+ key: 2,
46
43
  class: "calendar-months-view"
47
44
  }, J = ["onClick"], K = {
48
- key: 4,
45
+ key: 3,
49
46
  class: "calendar-years-view"
50
47
  }, U = ["onClick"], X = {
51
- key: 5,
48
+ key: 4,
52
49
  class: "calendar-footer"
53
50
  };
54
- function Z(e, l, _, O, j, x) {
55
- const v = g("q-icon");
56
- return s(), o("div", M, [
57
- e.showHeader ? (s(), o("div", V, [
58
- e.showNavigation ? (s(), o("button", {
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: "nav-button nav-prev",
62
- onClick: l[0] || (l[0] = (n) => e.currentView === "years" ? e.prevYearRange() : e.prevMonth()),
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
- t(e.$slots, "prev-icon", {}, () => [
66
- p(v, {
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
- color: "inkwell-20"
71
- })
80
+ type: "line"
81
+ }, null, 8, ["color"])
72
82
  ], !0)
73
- ])) : (s(), o("span", f)),
74
- c("button", {
83
+ ], 10, $)) : (n(), s("span", D)),
84
+ v("button", {
75
85
  type: "button",
76
- class: h([
86
+ class: t([
77
87
  "header-title",
78
- { "header-clickable": e.headerClickable && e.currentView !== "years" }
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: l[1] || (l[1] = (...n) => e.onHeaderClick && e.onHeaderClick(...n))
94
+ onClick: i[1] || (i[1] = (...a) => e.onHeaderClick && e.onHeaderClick(...a))
82
95
  }, [
83
- t(e.$slots, "header", {
96
+ d(e.$slots, "header", {
84
97
  title: e.headerTitle,
85
98
  view: e.currentView
86
99
  }, () => [
87
- e.currentView === "days" ? (s(), o("span", D, r(e.headerTitle), 1)) : e.currentView === "months" ? (s(), o("span", R, r(e.viewDate.getFullYear()), 1)) : (s(), o("span", S, r(e.yearRangeStart) + " - " + r(e.yearRangeStart + 11), 1))
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 ? (s(), C(v, {
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
- })) : i("", !0)
97
- ], 10, N),
98
- e.showNavigation ? (s(), o("button", {
109
+ })) : l("", !0)
110
+ ], 10, M),
111
+ e.showNavigation ? (n(), s("button", {
99
112
  key: 2,
100
113
  type: "button",
101
- class: "nav-button nav-next",
102
- onClick: l[2] || (l[2] = (n) => e.currentView === "years" ? e.nextYearRange() : e.nextMonth()),
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
- t(e.$slots, "next-icon", {}, () => [
106
- p(v, {
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
- color: "inkwell-20"
111
- })
131
+ type: "line"
132
+ }, null, 8, ["color"])
112
133
  ], !0)
113
- ])) : (s(), o("span", b))
114
- ])) : i("", !0),
115
- e.currentView === "days" && !e.continuous ? (s(), o("div", T, [
116
- (s(!0), o(d, null, u(e.displayedMonths, (n) => (s(), o("div", {
117
- key: `${n.year}-${n.month}`,
118
- class: h(["calendar-month", { "calendar-month-multi": e.isMultiMonth }])
119
- }, [
120
- e.isMultiMonth ? (s(), o("div", I, [
121
- t(e.$slots, "month-label", {
122
- month: n.month,
123
- year: n.year
124
- }, () => [
125
- k(r(e.monthNamesShort[n.month]) + " " + r(n.year), 1)
126
- ], !0)
127
- ])) : i("", !0),
128
- e.showWeekDays ? (s(), o("div", H, [
129
- (s(!0), o(d, null, u(e.daysOfWeek, (a) => (s(), o("div", {
130
- key: a,
131
- class: "weekday"
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
- ], 42, P))), 128))
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
- ])) : e.currentView === "months" ? (s(), o("div", G, [
205
- (s(!0), o(d, null, u(e.monthNames, (n, a) => (s(), o("button", {
206
- key: a,
207
- type: "button",
208
- class: h([
209
- "month-cell",
210
- { "month-selected": e.viewDate.getMonth() === a }
211
- ]),
212
- onClick: (y) => e.selectMonth(a)
213
- }, [
214
- t(e.$slots, "month-cell", {
215
- month: n,
216
- index: a
217
- }, () => [
218
- k(r(e.monthNamesShort[a]), 1)
219
- ], !0)
220
- ], 10, J))), 128))
221
- ])) : e.currentView === "years" ? (s(), o("div", K, [
222
- (s(!0), o(d, null, u(e.yearsInRange, (n) => (s(), o("button", {
223
- key: n,
224
- type: "button",
225
- class: h([
226
- "year-cell",
227
- { "year-selected": e.viewDate.getFullYear() === n }
228
- ]),
229
- onClick: (a) => e.selectYear(n)
230
- }, [
231
- t(e.$slots, "year-cell", { year: n }, () => [
232
- k(r(n), 1)
233
- ], !0)
234
- ], 10, U))), 128))
235
- ])) : i("", !0),
236
- e.$slots.footer ? (s(), o("div", X, [
237
- t(e.$slots, "footer", {}, void 0, !0)
238
- ])) : i("", !0)
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 ae = /* @__PURE__ */ $(w, [["render", Z], ["__scopeId", "data-v-5508e564"]]);
270
+ const oe = /* @__PURE__ */ C(m, [["render", Z], ["__scopeId", "data-v-a0727fd6"]]);
242
271
  export {
243
- ae as default
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(() => l.modelValue, (e) => {
267
- t.value = e;
268
- }), h(() => l.options, (e) => {
269
- i.value && (f.value = e);
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 y 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 p, guardReactiveProps as m, createBlock as c, withCtx as o, createTextVNode as k, normalizeClass as C, Transition as w } from "vue";
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"), S = d("q-input"), v = d("q-badge"), g = d("q-tooltip"), $ = d("q-popover"), b = d("q-bottom-sheet");
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: "gray-40",
26
+ color: "inkwell-0",
27
27
  icon: "search",
28
28
  size: "md",
29
29
  type: ""
30
30
  }),
31
- a(S, {
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", p(m({ filtersCount: e.filtersCount })), () => [
50
- e.$slots.filterContent && e.mq.md ? (t(), c($, {
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(g, { class: "z-[45] ml-2" }, {
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" : "gray-40",
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(), c(v, {
76
+ e.filtersCount ? (t(), p(v, {
77
77
  key: 0,
78
- class: C([
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
- k(u(e.$t("HC_FILTERS")), 1)
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", p(m({ closePopover: e.closePopover })), void 0, !0)
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(), c(v, {
110
+ e.filtersCount ? (t(), p(v, {
111
111
  key: 0,
112
- class: C([
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(w, {
124
+ a(y, {
125
125
  name: "slide-up-fade",
126
126
  appear: ""
127
127
  }, {
128
128
  default: o(() => [
129
- e.showFilterBottomSheet ? (t(), c(b, {
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", p(m({ closeBottomSheet: e.closeBottomSheet })), void 0, !0)
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", p(m({ closeBottomSheet: e.closeBottomSheet })), void 0, !0)
142
+ l(e.$slots, "filterSheetHeaderAction", c(m({ closeBottomSheet: e.closeBottomSheet })), void 0, !0)
143
143
  ]),
144
144
  default: o(() => [
145
- l(e.$slots, "filterSheetContent", p(m({ closeBottomSheet: e.closeBottomSheet })), void 0, !0)
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(), c(g, {
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(), c(v, {
165
+ e.filtersCount ? (t(), p(v, {
166
166
  key: 0,
167
- class: C([
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
- k(u(e.$t("HC_FILTERS")), 1)
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(y, [["render", D], ["__scopeId", "data-v-1dd7e45c"]]);
192
+ const O = /* @__PURE__ */ q(w, [["render", D], ["__scopeId", "data-v-a61e0f32"]]);
193
193
  export {
194
194
  O as default
195
195
  };