@quoreadmin/ui 1.8.2 → 1.8.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.
Files changed (198) hide show
  1. package/dist/index142.js +2 -2
  2. package/dist/index144.js +1 -1
  3. package/dist/index174.js +14 -14
  4. package/dist/index175.js +3 -3
  5. package/dist/index178.js +4 -4
  6. package/dist/index185.js +10 -10
  7. package/dist/index187.js +10 -10
  8. package/dist/index189.js +36 -1190
  9. package/dist/{index192.js → index190.js} +17 -17
  10. package/dist/index191.js +1190 -36
  11. package/dist/index193.js +28 -28
  12. package/dist/index194.js +2 -2
  13. package/dist/index195.js +2 -2
  14. package/dist/index196.js +1 -1
  15. package/dist/index198.js +2 -2
  16. package/dist/index200.js +14 -14
  17. package/dist/index201.js +1 -1
  18. package/dist/index202.js +1 -1
  19. package/dist/index203.js +3 -3
  20. package/dist/index204.js +6 -6
  21. package/dist/index205.js +106 -67
  22. package/dist/index206.js +26 -395
  23. package/dist/index207.js +406 -21
  24. package/dist/index208.js +76 -157
  25. package/dist/index209.js +10 -10
  26. package/dist/index210.js +87 -19
  27. package/dist/index211.js +13 -15
  28. package/dist/index212.js +19 -198
  29. package/dist/index213.js +18 -68
  30. package/dist/index214.js +20 -34
  31. package/dist/index215.js +31 -38
  32. package/dist/index216.js +111 -156
  33. package/dist/index217.js +32 -224
  34. package/dist/index218.js +26 -37
  35. package/dist/index219.js +36 -10
  36. package/dist/index220.js +49 -31
  37. package/dist/index221.js +40 -113
  38. package/dist/index222.js +3 -35
  39. package/dist/index223.js +9 -26
  40. package/dist/index224.js +18 -35
  41. package/dist/index225.js +10 -51
  42. package/dist/index226.js +9 -42
  43. package/dist/index227.js +38 -3
  44. package/dist/index228.js +21 -9
  45. package/dist/index229.js +160 -18
  46. package/dist/index230.js +20 -10
  47. package/dist/index231.js +22 -10
  48. package/dist/index232.js +194 -34
  49. package/dist/index233.js +70 -21
  50. package/dist/index234.js +31 -124
  51. package/dist/index235.js +31 -29
  52. package/dist/index236.js +17 -75
  53. package/dist/index237.js +160 -19
  54. package/dist/index238.js +228 -20
  55. package/dist/index239.js +36 -19
  56. package/dist/index240.js +10 -20
  57. package/dist/index241.js +3636 -22
  58. package/dist/index242.js +55 -22
  59. package/dist/index243.js +77 -20
  60. package/dist/index244.js +39 -823
  61. package/dist/index245.js +198 -685
  62. package/dist/index246.js +9 -175
  63. package/dist/index247.js +57 -22
  64. package/dist/index248.js +61 -20
  65. package/dist/index249.js +54 -20
  66. package/dist/index250.js +75 -3
  67. package/dist/index251.js +709 -170
  68. package/dist/index252.js +37 -128
  69. package/dist/index253.js +55 -1214
  70. package/dist/index254.js +11 -20
  71. package/dist/index255.js +705 -22
  72. package/dist/index256.js +820 -22
  73. package/dist/index257.js +15 -22
  74. package/dist/index258.js +15 -13
  75. package/dist/index259.js +12 -12
  76. package/dist/index260.js +836 -2
  77. package/dist/index261.js +702 -2
  78. package/dist/index262.js +170 -3630
  79. package/dist/index263.js +22 -55
  80. package/dist/index264.js +20 -77
  81. package/dist/index265.js +20 -52
  82. package/dist/index266.js +3 -215
  83. package/dist/index267.js +187 -10
  84. package/dist/index268.js +128 -52
  85. package/dist/index269.js +1214 -52
  86. package/dist/index270.js +20 -54
  87. package/dist/index271.js +22 -75
  88. package/dist/index272.js +21 -725
  89. package/dist/index273.js +29 -42
  90. package/dist/index274.js +20 -64
  91. package/dist/index275.js +20 -11
  92. package/dist/index276.js +2 -705
  93. package/dist/index277.js +2 -820
  94. package/dist/index279.js +2 -8
  95. package/dist/index282.js +71 -46
  96. package/dist/index283.js +8 -79
  97. package/dist/index284.js +53 -25
  98. package/dist/index285.js +19 -15
  99. package/dist/index286.js +10 -10
  100. package/dist/index287.js +22 -16
  101. package/dist/index288.js +14 -15
  102. package/dist/index289.js +15 -21
  103. package/dist/index290.js +23 -2
  104. package/dist/index291.js +3 -262
  105. package/dist/index292.js +25 -4
  106. package/dist/index293.js +255 -133
  107. package/dist/index294.js +4 -71
  108. package/dist/index295.js +130 -77
  109. package/dist/index296.js +70 -26
  110. package/dist/index297.js +84 -13
  111. package/dist/index298.js +26 -72
  112. package/dist/index299.js +15 -3
  113. package/dist/index300.js +75 -2
  114. package/dist/index301.js +3 -82
  115. package/dist/index302.js +2 -53
  116. package/dist/index303.js +82 -5
  117. package/dist/index304.js +52 -4
  118. package/dist/index305.js +5 -178
  119. package/dist/index306.js +4 -62
  120. package/dist/index307.js +178 -74
  121. package/dist/index308.js +54 -1525
  122. package/dist/index309.js +74 -385
  123. package/dist/index310.js +1288 -2485
  124. package/dist/index311.js +370 -70
  125. package/dist/index312.js +2403 -3464
  126. package/dist/index313.js +77 -51
  127. package/dist/index314.js +3790 -13
  128. package/dist/index315.js +55 -79
  129. package/dist/index316.js +15 -202
  130. package/dist/index317.js +70 -232
  131. package/dist/index318.js +196 -73
  132. package/dist/index319.js +246 -22
  133. package/dist/index320.js +67 -923
  134. package/dist/index321.js +4 -4
  135. package/dist/index322.js +935 -20
  136. package/dist/index323.js +15 -13
  137. package/dist/index324.js +19 -68
  138. package/dist/index325.js +20 -19
  139. package/dist/index326.js +66 -16
  140. package/dist/index327.js +19 -22
  141. package/dist/index328.js +19 -22
  142. package/dist/index329.js +21 -62
  143. package/dist/index330.js +22 -3
  144. package/dist/index331.js +63 -27
  145. package/dist/index333.js +8 -18
  146. package/dist/index334.js +12 -56
  147. package/dist/index335.js +53 -27
  148. package/dist/index336.js +11 -6
  149. package/dist/index337.js +12 -50
  150. package/dist/index338.js +58 -7
  151. package/dist/index339.js +50 -10
  152. package/dist/index340.js +31 -7
  153. package/dist/index341.js +2 -28
  154. package/dist/index342.js +5 -2
  155. package/dist/index343.js +2 -70
  156. package/dist/index344.js +21 -165
  157. package/dist/index345.js +40 -19
  158. package/dist/index346.js +2 -20
  159. package/dist/index347.js +11 -64
  160. package/dist/index348.js +19 -36
  161. package/dist/index349.js +10 -9
  162. package/dist/index350.js +10 -13
  163. package/dist/index351.js +15 -53
  164. package/dist/index352.js +2 -12
  165. package/dist/index353.js +9 -14
  166. package/dist/index354.js +9 -57
  167. package/dist/index355.js +14 -52
  168. package/dist/index356.js +16 -28
  169. package/dist/index357.js +57 -2
  170. package/dist/index358.js +29 -5
  171. package/dist/index359.js +7 -2
  172. package/dist/index360.js +50 -21
  173. package/dist/index361.js +6 -40
  174. package/dist/index362.js +12 -2
  175. package/dist/index363.js +6 -10
  176. package/dist/index364.js +28 -20
  177. package/dist/index365.js +2 -10
  178. package/dist/index366.js +69 -9
  179. package/dist/index367.js +165 -15
  180. package/dist/index368.js +20 -2
  181. package/dist/index369.js +20 -9
  182. package/dist/index370.js +63 -9
  183. package/dist/index371.js +37 -14
  184. package/dist/index372.js +1 -1
  185. package/dist/index373.js +3 -3
  186. package/dist/index378.js +1 -1
  187. package/dist/index380.js +1 -1
  188. package/dist/index381.js +6 -6
  189. package/dist/index382.js +3 -3
  190. package/dist/index384.js +98 -95
  191. package/dist/index385.js +90 -100
  192. package/dist/index386.js +97 -16
  193. package/dist/index387.js +17 -91
  194. package/dist/index393.js +1 -1
  195. package/dist/index394.js +2 -2
  196. package/package.json +1 -1
  197. package/src/assets/illustrations/news-placeholder-image.svg +10 -0
  198. package/src/assets/illustrations/app-icon-news.svg +0 -1
package/dist/index238.js CHANGED
@@ -1,22 +1,230 @@
1
- import r from "./index283.js";
2
- import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as i } from "vue";
3
- var p = {
4
- name: "ChevronRightIcon",
5
- extends: r
6
- }, C = /* @__PURE__ */ i("path", {
7
- d: "M4.38708 13C4.28408 13.0005 4.18203 12.9804 4.08691 12.9409C3.99178 12.9014 3.9055 12.8433 3.83313 12.7701C3.68634 12.6231 3.60388 12.4238 3.60388 12.2161C3.60388 12.0084 3.68634 11.8091 3.83313 11.6622L8.50507 6.99022L3.83313 2.31827C3.69467 2.16968 3.61928 1.97313 3.62287 1.77005C3.62645 1.56698 3.70872 1.37322 3.85234 1.22959C3.99596 1.08597 4.18972 1.00371 4.3928 1.00012C4.59588 0.996539 4.79242 1.07192 4.94102 1.21039L10.1669 6.43628C10.3137 6.58325 10.3962 6.78249 10.3962 6.99022C10.3962 7.19795 10.3137 7.39718 10.1669 7.54416L4.94102 12.7701C4.86865 12.8433 4.78237 12.9014 4.68724 12.9409C4.59212 12.9804 4.49007 13.0005 4.38708 13Z",
8
- fill: "currentColor"
9
- }, null, -1), l = [C];
10
- function s(e, a, c, d, h, m) {
11
- return t(), o("svg", n({
12
- width: "14",
13
- height: "14",
14
- viewBox: "0 0 14 14",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg"
17
- }, e.pti()), l, 16);
18
- }
19
- p.render = s;
1
+ import _ from "./index240.js";
2
+ import { startOfWeekYear as X } from "./index239.js";
3
+ function k(e) {
4
+ return q(e) || $(e) || B();
5
+ }
6
+ function B() {
7
+ throw new TypeError("Invalid attempt to spread non-iterable instance");
8
+ }
9
+ function $(e) {
10
+ if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") return Array.from(e);
11
+ }
12
+ function q(e) {
13
+ if (Array.isArray(e)) {
14
+ for (var r = 0, t = new Array(e.length); r < e.length; r++)
15
+ t[r] = e[r];
16
+ return t;
17
+ }
18
+ }
19
+ function F(e, r) {
20
+ var t = Object.keys(e);
21
+ if (Object.getOwnPropertySymbols) {
22
+ var n = Object.getOwnPropertySymbols(e);
23
+ r && (n = n.filter(function(i) {
24
+ return Object.getOwnPropertyDescriptor(e, i).enumerable;
25
+ })), t.push.apply(t, n);
26
+ }
27
+ return t;
28
+ }
29
+ function z(e) {
30
+ for (var r = 1; r < arguments.length; r++) {
31
+ var t = arguments[r] != null ? arguments[r] : {};
32
+ r % 2 ? F(t, !0).forEach(function(n) {
33
+ d(e, n, t[n]);
34
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : F(t).forEach(function(n) {
35
+ Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(t, n));
36
+ });
37
+ }
38
+ return e;
39
+ }
40
+ function G(e, r) {
41
+ return V(e) || Q(e, r) || J();
42
+ }
43
+ function J() {
44
+ throw new TypeError("Invalid attempt to destructure non-iterable instance");
45
+ }
46
+ function Q(e, r) {
47
+ if (Symbol.iterator in Object(e) || Object.prototype.toString.call(e) === "[object Arguments]") {
48
+ var t = [], n = !0, i = !1, a = void 0;
49
+ try {
50
+ for (var u = e[Symbol.iterator](), f; !(n = (f = u.next()).done) && (t.push(f.value), !(r && t.length === r)); n = !0)
51
+ ;
52
+ } catch (c) {
53
+ i = !0, a = c;
54
+ } finally {
55
+ try {
56
+ !n && u.return != null && u.return();
57
+ } finally {
58
+ if (i) throw a;
59
+ }
60
+ }
61
+ return t;
62
+ }
63
+ }
64
+ function V(e) {
65
+ if (Array.isArray(e)) return e;
66
+ }
67
+ function d(e, r, t) {
68
+ return r in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
69
+ }
70
+ var K = /(\[[^\[]*\])|(MM?M?M?|Do|DD?|ddd?d?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|S{1,3}|x|X|ZZ?|.)/g, j = /\d/, s = /\d\d/, R = /\d{3}/, ee = /\d{4}/, v = /\d\d?/, re = /[+-]\d\d:?\d\d/, x = /[+-]?\d+/, te = /[+-]?\d+(\.\d{1,3})?/, A = "year", p = "month", C = "day", W = "hour", T = "minute", H = "second", S = "millisecond", N = {}, o = function(r, t, n) {
71
+ var i = Array.isArray(r) ? r : [r], a;
72
+ typeof n == "string" ? a = function(f) {
73
+ var c = parseInt(f, 10);
74
+ return d({}, n, c);
75
+ } : a = n, i.forEach(function(u) {
76
+ N[u] = [t, a];
77
+ });
78
+ }, ne = function(r) {
79
+ return r.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&");
80
+ }, m = function(r) {
81
+ return function(t) {
82
+ var n = t[r];
83
+ if (!Array.isArray(n))
84
+ throw new Error("Locale[".concat(r, "] need an array"));
85
+ return new RegExp(n.map(ne).join("|"));
86
+ };
87
+ }, h = function(r, t) {
88
+ return function(n, i) {
89
+ var a = i[r];
90
+ if (!Array.isArray(a))
91
+ throw new Error("Locale[".concat(r, "] need an array"));
92
+ var u = a.indexOf(n);
93
+ if (u < 0)
94
+ throw new Error("Invalid Word");
95
+ return d({}, t, u);
96
+ };
97
+ };
98
+ o("Y", x, A);
99
+ o("YY", s, function(e) {
100
+ var r = (/* @__PURE__ */ new Date()).getFullYear(), t = Math.floor(r / 100), n = parseInt(e, 10);
101
+ return n = (n > 68 ? t - 1 : t) * 100 + n, d({}, A, n);
102
+ });
103
+ o("YYYY", ee, A);
104
+ o("M", v, function(e) {
105
+ return d({}, p, parseInt(e, 10) - 1);
106
+ });
107
+ o("MM", s, function(e) {
108
+ return d({}, p, parseInt(e, 10) - 1);
109
+ });
110
+ o("MMM", m("monthsShort"), h("monthsShort", p));
111
+ o("MMMM", m("months"), h("months", p));
112
+ o("D", v, C);
113
+ o("DD", s, C);
114
+ o(["H", "h"], v, W);
115
+ o(["HH", "hh"], s, W);
116
+ o("m", v, T);
117
+ o("mm", s, T);
118
+ o("s", v, H);
119
+ o("ss", s, H);
120
+ o("S", j, function(e) {
121
+ return d({}, S, parseInt(e, 10) * 100);
122
+ });
123
+ o("SS", s, function(e) {
124
+ return d({}, S, parseInt(e, 10) * 10);
125
+ });
126
+ o("SSS", R, S);
127
+ function ae(e) {
128
+ return e.meridiemParse || /[ap]\.?m?\.?/i;
129
+ }
130
+ function oe(e) {
131
+ return "".concat(e).toLowerCase().charAt(0) === "p";
132
+ }
133
+ o(["A", "a"], ae, function(e, r) {
134
+ var t = typeof r.isPM == "function" ? r.isPM(e) : oe(e);
135
+ return {
136
+ isPM: t
137
+ };
138
+ });
139
+ function ie(e) {
140
+ var r = e.match(/([+-]|\d\d)/g) || ["-", "0", "0"], t = G(r, 3), n = t[0], i = t[1], a = t[2], u = parseInt(i, 10) * 60 + parseInt(a, 10);
141
+ return u === 0 ? 0 : n === "+" ? -u : +u;
142
+ }
143
+ o(["Z", "ZZ"], re, function(e) {
144
+ return {
145
+ offset: ie(e)
146
+ };
147
+ });
148
+ o("x", x, function(e) {
149
+ return {
150
+ date: new Date(parseInt(e, 10))
151
+ };
152
+ });
153
+ o("X", te, function(e) {
154
+ return {
155
+ date: new Date(parseFloat(e) * 1e3)
156
+ };
157
+ });
158
+ o("d", j, "weekday");
159
+ o("dd", m("weekdaysMin"), h("weekdaysMin", "weekday"));
160
+ o("ddd", m("weekdaysShort"), h("weekdaysShort", "weekday"));
161
+ o("dddd", m("weekdays"), h("weekdays", "weekday"));
162
+ o("w", v, "week");
163
+ o("ww", s, "week");
164
+ function fe(e, r) {
165
+ if (e !== void 0 && r !== void 0) {
166
+ if (r) {
167
+ if (e < 12)
168
+ return e + 12;
169
+ } else if (e === 12)
170
+ return 0;
171
+ }
172
+ return e;
173
+ }
174
+ function ue(e) {
175
+ for (var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : /* @__PURE__ */ new Date(), t = [0, 0, 1, 0, 0, 0, 0], n = [r.getFullYear(), r.getMonth(), r.getDate(), r.getHours(), r.getMinutes(), r.getSeconds(), r.getMilliseconds()], i = !0, a = 0; a < 7; a++)
176
+ e[a] === void 0 ? t[a] = i ? n[a] : t[a] : (t[a] = e[a], i = !1);
177
+ return t;
178
+ }
179
+ function ce(e, r, t, n, i, a, u) {
180
+ var f;
181
+ return e < 100 && e >= 0 ? (f = new Date(e + 400, r, t, n, i, a, u), isFinite(f.getFullYear()) && f.setFullYear(e)) : f = new Date(e, r, t, n, i, a, u), f;
182
+ }
183
+ function de() {
184
+ for (var e, r = arguments.length, t = new Array(r), n = 0; n < r; n++)
185
+ t[n] = arguments[n];
186
+ var i = t[0];
187
+ return i < 100 && i >= 0 ? (t[0] += 400, e = new Date(Date.UTC.apply(Date, t)), isFinite(e.getUTCFullYear()) && e.setUTCFullYear(i)) : e = new Date(Date.UTC.apply(Date, t)), e;
188
+ }
189
+ function se(e, r, t) {
190
+ var n = r.match(K);
191
+ if (!n)
192
+ throw new Error();
193
+ for (var i = n.length, a = {}, u = 0; u < i; u += 1) {
194
+ var f = n[u], c = N[f];
195
+ if (c) {
196
+ var y = typeof c[0] == "function" ? c[0](t) : c[0], D = c[1], w = (y.exec(e) || [])[0], b = D(w, t);
197
+ a = z({}, a, {}, b), e = e.replace(w, "");
198
+ } else {
199
+ var l = f.replace(/^\[|\]$/g, "");
200
+ if (e.indexOf(l) === 0)
201
+ e = e.substr(l.length);
202
+ else
203
+ throw new Error("not match");
204
+ }
205
+ }
206
+ return a;
207
+ }
208
+ function he(e, r) {
209
+ var t = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
210
+ try {
211
+ var n = t.locale, i = n === void 0 ? _ : n, a = t.backupDate, u = a === void 0 ? /* @__PURE__ */ new Date() : a, f = se(e, r, i), c = f.year, l = f.month, y = f.day, D = f.hour, w = f.minute, b = f.second, U = f.millisecond, L = f.isPM, Y = f.date, E = f.offset, I = f.weekday, P = f.week;
212
+ if (Y)
213
+ return Y;
214
+ var O = [c, l, y, D, w, b, U];
215
+ if (O[3] = fe(O[3], L), P !== void 0 && l === void 0 && y === void 0) {
216
+ var Z = X(c === void 0 ? u : new Date(c, 3), {
217
+ firstDayOfWeek: i.firstDayOfWeek,
218
+ firstWeekContainsDate: i.firstWeekContainsDate
219
+ });
220
+ return new Date(Z.getTime() + (P - 1) * 7 * 24 * 3600 * 1e3);
221
+ }
222
+ var g, M = ue(O, u);
223
+ return E !== void 0 ? (M[6] += E * 60 * 1e3, g = de.apply(void 0, k(M))) : g = ce.apply(void 0, k(M)), I !== void 0 && g.getDay() !== I ? /* @__PURE__ */ new Date(NaN) : g;
224
+ } catch {
225
+ return /* @__PURE__ */ new Date(NaN);
226
+ }
227
+ }
20
228
  export {
21
- p as default
229
+ he as parse
22
230
  };
package/dist/index239.js CHANGED
@@ -1,22 +1,39 @@
1
- import r from "./index283.js";
2
- import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as i } from "vue";
3
- var p = {
4
- name: "ChevronDownIcon",
5
- extends: r
6
- }, C = /* @__PURE__ */ i("path", {
7
- d: "M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z",
8
- fill: "currentColor"
9
- }, null, -1), l = [C];
10
- function s(e, a, c, d, h, m) {
11
- return t(), o("svg", n({
12
- width: "14",
13
- height: "14",
14
- viewBox: "0 0 14 14",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg"
17
- }, e.pti()), l, 16);
1
+ function g(e) {
2
+ return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
3
+ }
4
+ function D(e) {
5
+ return g(e) ? new Date(e.getTime()) : e == null ? /* @__PURE__ */ new Date(NaN) : new Date(e);
6
+ }
7
+ function d(e) {
8
+ return g(e) && !isNaN(e.getTime());
9
+ }
10
+ function k(e) {
11
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
12
+ if (!(r >= 0 && r <= 6))
13
+ throw new RangeError("weekStartsOn must be between 0 and 6");
14
+ var t = D(e), i = t.getDay(), n = (i + 7 - r) % 7;
15
+ return t.setDate(t.getDate() - n), t.setHours(0, 0, 0, 0), t;
16
+ }
17
+ function W(e) {
18
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n;
19
+ if (!(f >= 1 && f <= 7))
20
+ throw new RangeError("firstWeekContainsDate must be between 1 and 7");
21
+ for (var s = D(e), u = s.getFullYear(), a = /* @__PURE__ */ new Date(0), o = u + 1; o >= u - 1 && (a.setFullYear(o, 0, f), a.setHours(0, 0, 0, 0), a = k(a, i), !(s.getTime() >= a.getTime())); o--)
22
+ ;
23
+ return a;
24
+ }
25
+ function m(e) {
26
+ var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n, s = D(e), u = k(s, i), a = W(s, {
27
+ firstDayOfWeek: i,
28
+ firstWeekContainsDate: f
29
+ }), o = u.getTime() - a.getTime();
30
+ return Math.round(o / (168 * 3600 * 1e3)) + 1;
18
31
  }
19
- p.render = s;
20
32
  export {
21
- p as default
33
+ m as getWeek,
34
+ g as isDate,
35
+ d as isValidDate,
36
+ k as startOfWeek,
37
+ W as startOfWeekYear,
38
+ D as toDate
22
39
  };
package/dist/index240.js CHANGED
@@ -1,22 +1,12 @@
1
- import r from "./index283.js";
2
- import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as p } from "vue";
3
- var i = {
4
- name: "ChevronUpIcon",
5
- extends: r
6
- }, l = /* @__PURE__ */ p("path", {
7
- d: "M12.2097 10.4113C12.1057 10.4118 12.0027 10.3915 11.9067 10.3516C11.8107 10.3118 11.7237 10.2532 11.6506 10.1792L6.93602 5.46461L2.22139 10.1476C2.07272 10.244 1.89599 10.2877 1.71953 10.2717C1.54307 10.2556 1.3771 10.1808 1.24822 10.0593C1.11933 9.93766 1.035 9.77633 1.00874 9.6011C0.982477 9.42587 1.0158 9.2469 1.10338 9.09287L6.37701 3.81923C6.52533 3.6711 6.72639 3.58789 6.93602 3.58789C7.14565 3.58789 7.3467 3.6711 7.49502 3.81923L12.7687 9.09287C12.9168 9.24119 13 9.44225 13 9.65187C13 9.8615 12.9168 10.0626 12.7687 10.2109C12.616 10.3487 12.4151 10.4207 12.2097 10.4113Z",
8
- fill: "currentColor"
9
- }, null, -1), s = [l];
10
- function C(e, a, c, d, h, m) {
11
- return t(), o("svg", n({
12
- width: "14",
13
- height: "14",
14
- viewBox: "0 0 14 14",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg"
17
- }, e.pti()), s, 16);
18
- }
19
- i.render = C;
1
+ var e = {
2
+ months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
3
+ monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
4
+ weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
5
+ weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
6
+ weekdaysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
7
+ firstDayOfWeek: 0,
8
+ firstWeekContainsDate: 1
9
+ };
20
10
  export {
21
- i as default
11
+ e as default
22
12
  };