@quoreadmin/ui 1.5.0 → 1.6.0

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 (360) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.js +48 -46
  3. package/dist/index10.js +26 -26
  4. package/dist/index100.js +119 -6
  5. package/dist/index102.js +128 -25
  6. package/dist/index103.js +10 -0
  7. package/dist/index105.js +39 -0
  8. package/dist/{index104.js → index107.js} +2 -2
  9. package/dist/{index106.js → index109.js} +1 -1
  10. package/dist/index11.js +2 -2
  11. package/dist/{index108.js → index111.js} +4 -4
  12. package/dist/{index110.js → index113.js} +7 -7
  13. package/dist/{index112.js → index115.js} +1 -1
  14. package/dist/{index114.js → index117.js} +5 -5
  15. package/dist/index12.js +2 -2
  16. package/dist/{index118.js → index121.js} +1 -1
  17. package/dist/{index126.js → index129.js} +1 -1
  18. package/dist/index13.js +2 -2
  19. package/dist/{index128.js → index131.js} +1 -1
  20. package/dist/{index132.js → index135.js} +1 -1
  21. package/dist/{index136.js → index139.js} +111 -110
  22. package/dist/index14.js +2 -2
  23. package/dist/{index138.js → index141.js} +1 -1
  24. package/dist/{index140.js → index143.js} +11 -11
  25. package/dist/index15.js +2 -2
  26. package/dist/{index148.js → index151.js} +1 -1
  27. package/dist/{index150.js → index153.js} +1 -1
  28. package/dist/{index152.js → index155.js} +2 -2
  29. package/dist/index157.js +205 -111
  30. package/dist/index16.js +2 -2
  31. package/dist/index160.js +110 -87
  32. package/dist/index161.js +478 -844
  33. package/dist/index162.js +5520 -36
  34. package/dist/index163.js +90 -279
  35. package/dist/index164.js +833 -122
  36. package/dist/index165.js +36 -1197
  37. package/dist/index166.js +268 -760
  38. package/dist/index167.js +146 -1304
  39. package/dist/index168.js +1151 -228
  40. package/dist/index169.js +754 -88
  41. package/dist/index17.js +2 -2
  42. package/dist/index170.js +1308 -2
  43. package/dist/index171.js +259 -1359
  44. package/dist/index172.js +108 -0
  45. package/dist/index173.js +2 -18
  46. package/dist/index174.js +1372 -14
  47. package/dist/index176.js +8 -8
  48. package/dist/index177.js +10 -17
  49. package/dist/index178.js +18 -759
  50. package/dist/index179.js +18 -1100
  51. package/dist/index18.js +2 -2
  52. package/dist/index180.js +22 -1231
  53. package/dist/index181.js +740 -11258
  54. package/dist/index182.js +1100 -36
  55. package/dist/index183.js +1200 -81
  56. package/dist/index184.js +11276 -43
  57. package/dist/index185.js +36 -1190
  58. package/dist/{index94.js → index186.js} +4 -4
  59. package/dist/index187.js +44 -5938
  60. package/dist/index188.js +5830 -99
  61. package/dist/index189.js +188 -16
  62. package/dist/index19.js +2 -2
  63. package/dist/index190.js +25 -8
  64. package/dist/index191.js +16 -76
  65. package/dist/index192.js +1172 -235
  66. package/dist/index194.js +77 -26
  67. package/dist/index195.js +245 -55
  68. package/dist/index196.js +13655 -209
  69. package/dist/index197.js +26 -307
  70. package/dist/index198.js +43 -268
  71. package/dist/index199.js +237 -32
  72. package/dist/index2.js +2 -2
  73. package/dist/index20.js +2 -2
  74. package/dist/index200.js +301 -109
  75. package/dist/index201.js +287 -35
  76. package/dist/index202.js +88 -26
  77. package/dist/index203.js +407 -36
  78. package/dist/index204.js +22 -9
  79. package/dist/index205.js +31 -17
  80. package/dist/index206.js +116 -10
  81. package/dist/index207.js +35 -9
  82. package/dist/index208.js +26 -51
  83. package/dist/index209.js +34 -41
  84. package/dist/index21.js +2 -2
  85. package/dist/index210.js +9 -4
  86. package/dist/index211.js +18 -38
  87. package/dist/index212.js +10 -21
  88. package/dist/index213.js +10 -88
  89. package/dist/index214.js +48 -404
  90. package/dist/index215.js +43 -22
  91. package/dist/index216.js +3 -3631
  92. package/dist/index217.js +38 -54
  93. package/dist/index218.js +21 -77
  94. package/dist/index219.js +122 -47
  95. package/dist/index22.js +2 -2
  96. package/dist/index220.js +33 -210
  97. package/dist/index221.js +79 -9
  98. package/dist/index222.js +20 -57
  99. package/dist/index223.js +20 -61
  100. package/dist/index224.js +20 -54
  101. package/dist/index225.js +20 -75
  102. package/dist/index226.js +19 -722
  103. package/dist/index227.js +160 -38
  104. package/dist/index228.js +225 -61
  105. package/dist/index229.js +37 -11
  106. package/dist/index23.js +61 -170
  107. package/dist/index230.js +9 -704
  108. package/dist/index231.js +153 -812
  109. package/dist/index232.js +11 -13
  110. package/dist/index233.js +12 -12
  111. package/dist/index234.js +198 -19
  112. package/dist/index235.js +48 -814
  113. package/dist/index236.js +34 -702
  114. package/dist/index237.js +39 -175
  115. package/dist/index238.js +3632 -20
  116. package/dist/index239.js +55 -20
  117. package/dist/index24.js +173 -10
  118. package/dist/index240.js +77 -22
  119. package/dist/index241.js +52 -20
  120. package/dist/index242.js +215 -20
  121. package/dist/index243.js +10 -20
  122. package/dist/index244.js +57 -3
  123. package/dist/index245.js +55 -181
  124. package/dist/index246.js +49 -128
  125. package/dist/index247.js +68 -154
  126. package/dist/index248.js +694 -1194
  127. package/dist/index249.js +34 -122
  128. package/dist/index25.js +9 -38
  129. package/dist/index250.js +64 -20
  130. package/dist/index251.js +11 -22
  131. package/dist/index252.js +705 -20
  132. package/dist/index253.js +820 -22
  133. package/dist/index254.js +21 -37
  134. package/dist/index255.js +15 -22
  135. package/dist/index256.js +6 -6
  136. package/dist/index257.js +836 -20
  137. package/dist/index258.js +702 -2
  138. package/dist/index259.js +176 -2
  139. package/dist/index26.js +36 -116
  140. package/dist/index260.js +21 -160
  141. package/dist/index261.js +20 -228
  142. package/dist/index262.js +19 -36
  143. package/dist/index263.js +3 -10
  144. package/dist/index264.js +186 -21
  145. package/dist/index265.js +102 -168
  146. package/dist/index266.js +1199 -46
  147. package/dist/index267.js +20 -34
  148. package/dist/index268.js +21 -39
  149. package/dist/index269.js +22 -80
  150. package/dist/index27.js +116 -22
  151. package/dist/index270.js +22 -13
  152. package/dist/index271.js +11 -11
  153. package/dist/index272.js +20 -253
  154. package/dist/index273.js +2 -8
  155. package/dist/index274.js +2 -138
  156. package/dist/index275.js +232 -62
  157. package/dist/index276.js +8 -3
  158. package/dist/index277.js +135 -24
  159. package/dist/index278.js +73 -225
  160. package/dist/index279.js +2 -6
  161. package/dist/index28.js +24 -158
  162. package/dist/index280.js +73 -128
  163. package/dist/index281.js +229 -62
  164. package/dist/index282.js +5 -86
  165. package/dist/index283.js +131 -26
  166. package/dist/index284.js +67 -8
  167. package/dist/index285.js +83 -71
  168. package/dist/index286.js +28 -3
  169. package/dist/index287.js +9 -2
  170. package/dist/index288.js +70 -78
  171. package/dist/index289.js +3 -53
  172. package/dist/index29.js +141 -264
  173. package/dist/index290.js +2 -6
  174. package/dist/index291.js +82 -4
  175. package/dist/index292.js +51 -176
  176. package/dist/index293.js +5 -62
  177. package/dist/index294.js +5 -75
  178. package/dist/index295.js +149 -1488
  179. package/dist/index296.js +55 -378
  180. package/dist/index297.js +75 -2731
  181. package/dist/index298.js +3 -86
  182. package/dist/index299.js +21 -3764
  183. package/dist/index3.js +2 -2
  184. package/dist/index30.js +279 -62
  185. package/dist/index300.js +50 -56
  186. package/dist/index301.js +26 -15
  187. package/dist/index302.js +21 -83
  188. package/dist/index303.js +22 -202
  189. package/dist/index304.js +16 -246
  190. package/dist/index305.js +16 -78
  191. package/dist/index306.js +21 -77
  192. package/dist/index307.js +1518 -22
  193. package/dist/index308.js +362 -911
  194. package/dist/index309.js +2731 -22
  195. package/dist/index31.js +64 -178
  196. package/dist/index310.js +85 -19
  197. package/dist/index311.js +3770 -20
  198. package/dist/index312.js +59 -68
  199. package/dist/index313.js +15 -19
  200. package/dist/index314.js +84 -19
  201. package/dist/index315.js +201 -53
  202. package/dist/index316.js +246 -22
  203. package/dist/index317.js +78 -21
  204. package/dist/index318.js +22 -63
  205. package/dist/index319.js +935 -2
  206. package/dist/index32.js +177 -38
  207. package/dist/index320.js +13 -17
  208. package/dist/index321.js +11 -13
  209. package/dist/index322.js +13 -15
  210. package/dist/index323.js +67 -14
  211. package/dist/index324.js +16 -14
  212. package/dist/index325.js +17 -21
  213. package/dist/index326.js +21 -8
  214. package/dist/index327.js +21 -12
  215. package/dist/index328.js +63 -55
  216. package/dist/index329.js +34 -9
  217. package/dist/index33.js +38 -49
  218. package/dist/index330.js +20 -13
  219. package/dist/index331.js +53 -55
  220. package/dist/index332.js +27 -50
  221. package/dist/index333.js +6 -30
  222. package/dist/index334.js +52 -2
  223. package/dist/index335.js +5 -4
  224. package/dist/index336.js +12 -2
  225. package/dist/index337.js +6 -22
  226. package/dist/index338.js +27 -40
  227. package/dist/index339.js +2 -2
  228. package/dist/index34.js +47 -30
  229. package/dist/index340.js +69 -10
  230. package/dist/index341.js +165 -18
  231. package/dist/index342.js +9 -16
  232. package/dist/index343.js +9 -9
  233. package/dist/index344.js +13 -9
  234. package/dist/index345.js +10 -2
  235. package/dist/index346.js +16 -8
  236. package/dist/index347.js +8 -9
  237. package/dist/index348.js +13 -14
  238. package/dist/index349.js +52 -18
  239. package/dist/index35.js +31 -28
  240. package/dist/index350.js +11 -55
  241. package/dist/index351.js +13 -28
  242. package/dist/index352.js +57 -6
  243. package/dist/index353.js +50 -50
  244. package/dist/index354.js +31 -6
  245. package/dist/index355.js +2 -12
  246. package/dist/index356.js +4 -6
  247. package/dist/index357.js +2 -28
  248. package/dist/index358.js +23 -2
  249. package/dist/index359.js +40 -69
  250. package/dist/index36.js +29 -13
  251. package/dist/index360.js +2 -167
  252. package/dist/index361.js +10 -36
  253. package/dist/index362.js +19 -19
  254. package/dist/index363.js +2 -20
  255. package/dist/index364.js +9 -64
  256. package/dist/index365.js +20 -37
  257. package/dist/index366.js +20 -13
  258. package/dist/index367.js +64 -7
  259. package/dist/index368.js +37 -31
  260. package/dist/index369.js +30 -10
  261. package/dist/index37.js +15 -43
  262. package/dist/index370.js +10 -3
  263. package/dist/index371.js +3 -3
  264. package/dist/index372.js +3 -11
  265. package/dist/index373.js +13 -5
  266. package/dist/index374.js +7 -33
  267. package/dist/index375.js +11 -30
  268. package/dist/index376.js +5 -28
  269. package/dist/index377.js +33 -61
  270. package/dist/index378.js +29 -96
  271. package/dist/index379.js +26 -99
  272. package/dist/index38.js +42 -37
  273. package/dist/index380.js +61 -91
  274. package/dist/index381.js +97 -16
  275. package/dist/index382.js +100 -2
  276. package/dist/index383.js +91 -2
  277. package/dist/index384.js +17 -2
  278. package/dist/index385.js +3 -17
  279. package/dist/index386.js +2 -13
  280. package/dist/index387.js +2 -6
  281. package/dist/index388.js +17 -32
  282. package/dist/index389.js +15 -0
  283. package/dist/index39.js +36 -26
  284. package/dist/index390.js +8 -0
  285. package/dist/index391.js +34 -0
  286. package/dist/index4.js +2 -2
  287. package/dist/index40.js +25 -32
  288. package/dist/index41.js +32 -37
  289. package/dist/index42.js +37 -1068
  290. package/dist/index43.js +1045 -309
  291. package/dist/index44.js +326 -146
  292. package/dist/index45.js +155 -18
  293. package/dist/index46.js +16 -36
  294. package/dist/index47.js +38 -68
  295. package/dist/index48.js +67 -60
  296. package/dist/index49.js +56 -175
  297. package/dist/index5.js +2 -2
  298. package/dist/index50.js +173 -77
  299. package/dist/index51.js +79 -200
  300. package/dist/index52.js +206 -68
  301. package/dist/index53.js +69 -20
  302. package/dist/index54.js +20 -11
  303. package/dist/index55.js +10 -6
  304. package/dist/index56.js +5 -209
  305. package/dist/index57.js +210 -12
  306. package/dist/index58.js +12 -184
  307. package/dist/index59.js +176 -68
  308. package/dist/index6.js +2 -2
  309. package/dist/index60.js +79 -0
  310. package/dist/index62.js +7 -63
  311. package/dist/index63.js +65 -0
  312. package/dist/index7.js +2 -2
  313. package/dist/{index70.js → index71.js} +2 -2
  314. package/dist/index75.js +40 -301
  315. package/dist/index76.js +326 -0
  316. package/dist/{index77.js → index78.js} +1 -1
  317. package/dist/index8.js +3 -3
  318. package/dist/{index79.js → index80.js} +7 -7
  319. package/dist/{index81.js → index82.js} +1 -1
  320. package/dist/index84.js +22 -126
  321. package/dist/index85.js +140 -0
  322. package/dist/{index86.js → index87.js} +5 -5
  323. package/dist/{index88.js → index89.js} +5 -5
  324. package/dist/index9.js +2 -2
  325. package/dist/index95.js +117 -0
  326. package/dist/index97.js +20 -25
  327. package/dist/index98.js +34 -0
  328. package/dist/src/components/calendar/calendar.d.ts +65 -37
  329. package/dist/src/components/calendar/calendar.stories.d.ts +13 -6
  330. package/dist/src/components/event/event.d.ts +356 -0
  331. package/dist/src/components/event/event.stories.d.ts +33 -0
  332. package/dist/src/components/event/event.vue.d.ts +2 -0
  333. package/dist/src/components/room-details-popover/room-details-popover.d.ts +1 -1
  334. package/dist/src/index.d.ts +3 -1
  335. package/package.json +1 -1
  336. package/dist/index154.js +0 -210
  337. package/dist/index158.js +0 -497
  338. package/dist/index159.js +0 -5524
  339. package/dist/index175.js +0 -20
  340. package/dist/index193.js +0 -13686
  341. package/dist/index61.js +0 -9
  342. package/dist/index74.js +0 -62
  343. package/dist/index83.js +0 -36
  344. package/dist/index96.js +0 -29
  345. package/dist/index99.js +0 -142
  346. /package/dist/{index116.js → index119.js} +0 -0
  347. /package/dist/{index120.js → index123.js} +0 -0
  348. /package/dist/{index122.js → index125.js} +0 -0
  349. /package/dist/{index124.js → index127.js} +0 -0
  350. /package/dist/{index130.js → index133.js} +0 -0
  351. /package/dist/{index134.js → index137.js} +0 -0
  352. /package/dist/{index142.js → index145.js} +0 -0
  353. /package/dist/{index144.js → index147.js} +0 -0
  354. /package/dist/{index146.js → index149.js} +0 -0
  355. /package/dist/{index64.js → index65.js} +0 -0
  356. /package/dist/{index66.js → index67.js} +0 -0
  357. /package/dist/{index68.js → index69.js} +0 -0
  358. /package/dist/{index72.js → index73.js} +0 -0
  359. /package/dist/{index90.js → index91.js} +0 -0
  360. /package/dist/{index92.js → index93.js} +0 -0
package/dist/index278.js CHANGED
@@ -1,237 +1,85 @@
1
- import R from "./index279.js";
2
- const { toString: T } = Object.prototype, { getPrototypeOf: A } = Object, { iterator: g, toStringTag: S } = Symbol, F = /* @__PURE__ */ ((e) => (t) => {
3
- const n = T.call(t);
4
- return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
5
- })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => F(t) === e), O = (e) => (t) => typeof t === e, { isArray: p } = Array, a = O("undefined");
6
- function d(e) {
7
- return e !== null && !a(e) && e.constructor !== null && !a(e.constructor) && c(e.constructor.isBuffer) && e.constructor.isBuffer(e);
1
+ import { DomHandler as u } from "./index168.js";
2
+ import { ref as d, readonly as q, getCurrentInstance as B, onMounted as H, nextTick as N, watch as z } from "vue";
3
+ function a(t) {
4
+ "@babel/helpers - typeof";
5
+ return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
6
+ return typeof e;
7
+ } : function(e) {
8
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
9
+ }, a(t);
8
10
  }
9
- const B = f("ArrayBuffer");
10
- function M(e) {
11
- let t;
12
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && B(e.buffer), t;
13
- }
14
- const k = O("string"), c = O("function"), E = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
15
- if (F(e) !== "object")
16
- return !1;
17
- const t = A(e);
18
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(S in e) && !(g in e);
19
- }, U = (e) => {
20
- if (!y(e) || d(e))
21
- return !1;
22
- try {
23
- return Object.keys(e).length === 0 && Object.getPrototypeOf(e) === Object.prototype;
24
- } catch {
25
- return !1;
11
+ function S(t, e) {
12
+ var n = Object.keys(t);
13
+ if (Object.getOwnPropertySymbols) {
14
+ var r = Object.getOwnPropertySymbols(t);
15
+ e && (r = r.filter(function(o) {
16
+ return Object.getOwnPropertyDescriptor(t, o).enumerable;
17
+ })), n.push.apply(n, r);
26
18
  }
27
- }, I = f("Date"), V = f("File"), _ = f("Blob"), q = f("FileList"), H = (e) => y(e) && c(e.pipe), z = (e) => {
28
- let t;
29
- return e && (typeof FormData == "function" && e instanceof FormData || c(e.append) && ((t = F(e)) === "formdata" || // detect form-data instance
30
- t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
31
- }, J = f("URLSearchParams"), [K, $, W, G] = ["ReadableStream", "Request", "Response", "Headers"].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
32
- function m(e, t, { allOwnKeys: n = !1 } = {}) {
33
- if (e === null || typeof e > "u")
34
- return;
35
- let r, s;
36
- if (typeof e != "object" && (e = [e]), p(e))
37
- for (r = 0, s = e.length; r < s; r++)
38
- t.call(null, e[r], r, e);
39
- else {
40
- if (d(e))
41
- return;
42
- const o = n ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
43
- let l;
44
- for (r = 0; r < i; r++)
45
- l = o[r], t.call(null, e[l], l, e);
19
+ return n;
20
+ }
21
+ function j(t) {
22
+ for (var e = 1; e < arguments.length; e++) {
23
+ var n = arguments[e] != null ? arguments[e] : {};
24
+ e % 2 ? S(Object(n), !0).forEach(function(r) {
25
+ F(t, r, n[r]);
26
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : S(Object(n)).forEach(function(r) {
27
+ Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
28
+ });
46
29
  }
30
+ return t;
47
31
  }
48
- function P(e, t) {
49
- if (d(e))
50
- return null;
51
- t = t.toLowerCase();
52
- const n = Object.keys(e);
53
- let r = n.length, s;
54
- for (; r-- > 0; )
55
- if (s = n[r], t === s.toLowerCase())
56
- return s;
57
- return null;
32
+ function F(t, e, n) {
33
+ return e = G(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
58
34
  }
59
- const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
60
- function h() {
61
- const { caseless: e, skipUndefined: t } = L(this) && this || {}, n = {}, r = (s, o) => {
62
- const i = e && P(n, o) || o;
63
- w(n[i]) && w(s) ? n[i] = h(n[i], s) : w(s) ? n[i] = h({}, s) : p(s) ? n[i] = s.slice() : (!t || !a(s)) && (n[i] = s);
64
- };
65
- for (let s = 0, o = arguments.length; s < o; s++)
66
- arguments[s] && m(arguments[s], r);
67
- return n;
35
+ function G(t) {
36
+ var e = J(t, "string");
37
+ return a(e) == "symbol" ? e : String(e);
68
38
  }
69
- const X = (e, t, n, { allOwnKeys: r } = {}) => (m(t, (s, o) => {
70
- n && c(s) ? e[o] = R(s, n) : e[o] = s;
71
- }, { allOwnKeys: r }), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, n, r) => {
72
- e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
73
- value: t.prototype
74
- }), n && Object.assign(e.prototype, n);
75
- }, j = (e, t, n, r) => {
76
- let s, o, i;
77
- const l = {};
78
- if (t = t || {}, e == null) return t;
79
- do {
80
- for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
81
- i = s[o], (!r || r(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
82
- e = n !== !1 && A(e);
83
- } while (e && (!n || n(e, t)) && e !== Object.prototype);
84
- return t;
85
- }, v = (e, t, n) => {
86
- e = String(e), (n === void 0 || n > e.length) && (n = e.length), n -= t.length;
87
- const r = e.indexOf(t, n);
88
- return r !== -1 && r === n;
89
- }, ee = (e) => {
90
- if (!e) return null;
91
- if (p(e)) return e;
92
- let t = e.length;
93
- if (!E(t)) return null;
94
- const n = new Array(t);
95
- for (; t-- > 0; )
96
- n[t] = e[t];
97
- return n;
98
- }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && A(Uint8Array)), ne = (e, t) => {
99
- const r = (e && e[g]).call(e);
100
- let s;
101
- for (; (s = r.next()) && !s.done; ) {
102
- const o = s.value;
103
- t.call(e, o[0], o[1]);
39
+ function J(t, e) {
40
+ if (a(t) != "object" || !t) return t;
41
+ var n = t[Symbol.toPrimitive];
42
+ if (n !== void 0) {
43
+ var r = n.call(t, e);
44
+ if (a(r) != "object") return r;
45
+ throw new TypeError("@@toPrimitive must return a primitive value.");
104
46
  }
105
- }, re = (e, t) => {
106
- let n;
107
- const r = [];
108
- for (; (n = e.exec(t)) !== null; )
109
- r.push(n);
110
- return r;
111
- }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(
112
- /[-_\s]([a-z\d])(\w*)/g,
113
- function(n, r, s) {
114
- return r.toUpperCase() + s;
115
- }
116
- ), x = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
117
- const n = Object.getOwnPropertyDescriptors(e), r = {};
118
- m(n, (s, o) => {
119
- let i;
120
- (i = t(s, o, e)) !== !1 && (r[o] = i || s);
121
- }), Object.defineProperties(e, r);
122
- }, ce = (e) => {
123
- C(e, (t, n) => {
124
- if (c(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
125
- return !1;
126
- const r = e[n];
127
- if (c(r)) {
128
- if (t.enumerable = !1, "writable" in t) {
129
- t.writable = !1;
130
- return;
131
- }
132
- t.set || (t.set = () => {
133
- throw Error("Can not rewrite read-only method '" + n + "'");
134
- });
135
- }
136
- });
137
- }, fe = (e, t) => {
138
- const n = {}, r = (s) => {
139
- s.forEach((o) => {
140
- n[o] = !0;
141
- });
142
- };
143
- return p(e) ? r(e) : r(String(e).split(t)), n;
144
- }, le = () => {
145
- }, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
146
- function ae(e) {
147
- return !!(e && c(e.append) && e[S] === "FormData" && e[g]);
47
+ return (e === "string" ? String : Number)(t);
148
48
  }
149
- const pe = (e) => {
150
- const t = new Array(10), n = (r, s) => {
151
- if (y(r)) {
152
- if (t.indexOf(r) >= 0)
153
- return;
154
- if (d(r))
155
- return r;
156
- if (!("toJSON" in r)) {
157
- t[s] = r;
158
- const o = p(r) ? [] : {};
159
- return m(r, (i, l) => {
160
- const b = n(i, s + 1);
161
- !a(b) && (o[l] = b);
162
- }), t[s] = void 0, o;
163
- }
49
+ function Q(t) {
50
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
51
+ B() ? H(t) : e ? t() : N(t);
52
+ }
53
+ var U = 0;
54
+ function X(t) {
55
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = d(!1), r = d(t), o = d(null), $ = u.isClient() ? window.document : void 0, c = e.document, i = c === void 0 ? $ : c, m = e.immediate, C = m === void 0 ? !0 : m, f = e.manual, D = f === void 0 ? !1 : f, p = e.name, l = p === void 0 ? "style_".concat(++U) : p, v = e.id, y = v === void 0 ? void 0 : v, b = e.media, E = b === void 0 ? void 0 : b, g = e.nonce, x = g === void 0 ? void 0 : g, _ = e.props, A = _ === void 0 ? {} : _, O = function() {
56
+ }, P = function(K) {
57
+ var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
58
+ if (i) {
59
+ var s = j(j({}, A), L), M = s.name || l, w = s.id || y, R = s.nonce || x;
60
+ o.value = i.querySelector('style[data-primevue-style-id="'.concat(M, '"]')) || i.getElementById(w) || i.createElement("style"), o.value.isConnected || (r.value = K || t, u.setAttributes(o.value, {
61
+ type: "text/css",
62
+ id: w,
63
+ media: E,
64
+ nonce: R
65
+ }), i.head.appendChild(o.value), u.setAttribute(o.value, "data-primevue-style-id", l), u.setAttributes(o.value, s)), !n.value && (O = z(r, function(T) {
66
+ o.value.textContent = T;
67
+ }, {
68
+ immediate: !0
69
+ }), n.value = !0);
164
70
  }
165
- return r;
71
+ }, I = function() {
72
+ !i || !n.value || (O(), u.isExist(o.value) && i.head.removeChild(o.value), n.value = !1);
166
73
  };
167
- return n(e, 0);
168
- }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((n, r) => (u.addEventListener("message", ({ source: s, data: o }) => {
169
- s === u && o === n && r.length && r.shift()();
170
- }, !1), (s) => {
171
- r.push(s), u.postMessage(n, "*");
172
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(
173
- typeof setImmediate == "function",
174
- c(u.postMessage)
175
- ), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), Fe = {
176
- isArray: p,
177
- isArrayBuffer: B,
178
- isBuffer: d,
179
- isFormData: z,
180
- isArrayBufferView: M,
181
- isString: k,
182
- isNumber: E,
183
- isBoolean: N,
184
- isObject: y,
185
- isPlainObject: w,
186
- isEmptyObject: U,
187
- isReadableStream: K,
188
- isRequest: $,
189
- isResponse: W,
190
- isHeaders: G,
191
- isUndefined: a,
192
- isDate: I,
193
- isFile: V,
194
- isBlob: _,
195
- isRegExp: ie,
196
- isFunction: c,
197
- isStream: H,
198
- isURLSearchParams: J,
199
- isTypedArray: te,
200
- isFileList: q,
201
- forEach: m,
202
- merge: h,
203
- extend: X,
204
- trim: Q,
205
- stripBOM: Y,
206
- inherits: Z,
207
- toFlatObject: j,
208
- kindOf: F,
209
- kindOfTest: f,
210
- endsWith: v,
211
- toArray: ee,
212
- forEachEntry: ne,
213
- matchAll: re,
214
- isHTMLForm: se,
215
- hasOwnProperty: x,
216
- hasOwnProp: x,
217
- // an alias to avoid ESLint no-prototype-builtins detection
218
- reduceDescriptors: C,
219
- freezeMethods: ce,
220
- toObjectSet: fe,
221
- toCamelCase: oe,
222
- noop: le,
223
- toFiniteNumber: ue,
224
- findKey: P,
225
- global: u,
226
- isContextDefined: L,
227
- isSpecCompliantForm: ae,
228
- toJSONObject: pe,
229
- isAsyncFn: de,
230
- isThenable: ye,
231
- setImmediate: D,
232
- asap: me,
233
- isIterable: we
234
- };
74
+ return C && !D && Q(P), {
75
+ id: y,
76
+ name: l,
77
+ css: r,
78
+ unload: I,
79
+ load: P,
80
+ isLoaded: q(n)
81
+ };
82
+ }
235
83
  export {
236
- Fe as default
84
+ X as useStyle
237
85
  };
package/dist/index279.js CHANGED
@@ -1,8 +1,4 @@
1
- function u(n, r) {
2
- return function() {
3
- return n.apply(r, arguments);
4
- };
5
- }
1
+ var a = {};
6
2
  export {
7
- u as default
3
+ a as default
8
4
  };
package/dist/index28.js CHANGED
@@ -1,163 +1,29 @@
1
- import w from "./index108.js";
2
- import { resolveComponent as u, createElementBlock as l, openBlock as t, Fragment as r, createVNode as a, renderList as d, createElementVNode as m, normalizeClass as i, toDisplayString as p, createBlock as h, mergeProps as y, toHandlerKey as f, withCtx as c, createTextVNode as k, Transition as v, createCommentVNode as C } from "vue";
1
+ import n from "./index109.js";
2
+ import { createElementBlock as o, createCommentVNode as r, openBlock as i, normalizeClass as s, createElementVNode as t, normalizeProps as a, guardReactiveProps as c } from "vue";
3
3
  /* empty css */
4
- import S from "./index61.js";
5
- const q = {
6
- key: 0,
7
- class: "q-icon-action-group flex items-center justify-between actions content-between py-6 px-4"
8
- }, O = { class: "text-sm text-black leading-5" }, T = { class: "flex items-center justify-center" }, z = {
9
- key: 1,
10
- class: "status-text text-white"
11
- };
12
- function I(e, j, D, A, B, $) {
13
- const n = u("q-icon"), g = u("q-button"), b = u("q-tooltip");
14
- return t(), l(r, null, [
15
- e.isColorKey ? (t(), l("div", q, [
16
- (t(!0), l(r, null, d(e.options, (s) => (t(), l("div", {
17
- key: s.state,
18
- class: "flex flex-col items-center gap-1.5"
19
- }, [
20
- m("div", {
21
- class: i([
22
- "flex items-center justify-center w-[3.5rem] h-[3.5rem] rounded",
23
- s.activeClass
24
- ])
25
- }, [
26
- a(n, {
27
- icon: s.icon,
28
- type: s.iconType || "line",
29
- size: "lg",
30
- color: "white",
31
- class: i(s.mobileIconClass || "!p-[0.4rem]")
32
- }, null, 8, ["icon", "type", "class"])
33
- ], 2),
34
- m("span", O, p(s.name), 1)
35
- ]))), 128))
36
- ])) : e.isActionItemBar ? (t(), l("div", {
37
- key: 1,
38
- class: i([
39
- "q-icon-action-group flex items-center justify-between actions py-9 px-4",
40
- e.isDisabled ? "pointer-events-none" : ""
41
- ])
42
- }, [
43
- (t(!0), l(r, null, d(e.options, (s) => (t(), h(g, y({
44
- key: s.state,
45
- size: "sm",
46
- class: [
47
- "!w-14 !h-14 !min-w-fit !p-0",
48
- s.state === e.selectedState || s.state === "pass" && e.selectedState === "defaultToPass" ? s.activeClass : s.mobileIdleClass || s.idleClass
49
- ],
50
- loading: e.loading === "default" && s.state === e.currentState || e.loading === s.state
51
- }, {
52
- [f(!e.isDisabled && "click")]: (o) => e.onSetState(o, s.state)
53
- }), {
54
- default: c(() => [
55
- a(n, {
56
- icon: s.icon,
57
- type: s.iconType || "line",
58
- size: "lg",
59
- color: "white",
60
- class: i(s.mobileIconClass || "!p-[0.4rem]")
61
- }, null, 8, ["icon", "type", "class"])
62
- ]),
63
- _: 2
64
- }, 1040, ["class", "loading"]))), 128))
65
- ], 2)) : e.shouldUseSwipe ? (t(), l("div", {
66
- key: 3,
67
- class: i([
68
- "q-icon-action-group flex justify-center actions z-20 inset-y-0 cursor-pointer border-white border-l-px",
69
- e.singleOption ? "shrink-0" : "absolute right-0 w-0",
70
- e.isDisabled ? "pointer-events-none" : ""
71
- ])
72
- }, [
73
- (t(!0), l(r, null, d(e.options, (s) => (t(), l("div", y({
74
- key: s.state,
75
- class: [
76
- "flex items-center justify-center shrink overflow-hidden max-w-[4.5rem]",
77
- e.singleOption ? "w-full" : "w-1/4",
78
- s.state !== e.selectedState && e.singleOption ? s.mobileIdleClass || s.idleClass : s.activeClass
79
- ]
80
- }, {
81
- [f(!e.isDisabled && "click")]: (o) => e.onSetState(o, s.state)
82
- }), [
83
- a(n, {
84
- icon: s.mobileIcon || s.icon,
85
- class: "mx-4",
86
- type: s.iconType || "line",
87
- size: "lg",
88
- color: "white"
89
- }, null, 8, ["icon", "type"])
90
- ], 16))), 128))
91
- ], 2)) : (t(), l("div", {
92
- key: 2,
93
- class: i([
94
- "q-icon-action-group desktop-states flex text-right gap-4 justify-end pr-4 py-4 shrink-0",
95
- e.isDisabled ? "pointer-events-none" : ""
96
- ])
4
+ import l from "./index62.js";
5
+ const m = ["width", "height"];
6
+ function p(e, d, h, u, f, $) {
7
+ return e.icon ? (i(), o("span", {
8
+ key: 0,
9
+ class: s([
10
+ "icon",
11
+ { [`icon-${e.icon}`]: e.icon },
12
+ { [`text-${e.color}`]: e.color },
13
+ { [`icon-${e.size}`]: e.size },
14
+ { "custom-size": e.customizedSize }
15
+ ])
16
+ }, [
17
+ (i(), o("svg", {
18
+ class: s(["svg-icon", e.customClass, { "svg-inline": e.inline }]),
19
+ width: e.width,
20
+ height: e.height
97
21
  }, [
98
- (t(!0), l(r, null, d(e.showCompletedState ? e.options.filter((s) => s.state === e.selectedState) : e.options, (s) => (t(), l("div", {
99
- key: s.state
100
- }, [
101
- a(b, {
102
- disabled: !e.mq.md,
103
- class: "h-6"
104
- }, {
105
- trigger: c(() => [
106
- a(g, y({
107
- size: "sm",
108
- class: [
109
- s.state === e.selectedState || s.state === "pass" && e.selectedState === "defaultToPass" ? s.activeClass : s.idleClass,
110
- s.classes
111
- ],
112
- loading: e.loading === "default" && s.state === e.currentState || e.loading === s.state,
113
- "is-fab": ""
114
- }, {
115
- [f(!e.isDisabled && "click")]: (o) => e.onSetState(o, s.state)
116
- }), {
117
- default: c(() => [
118
- a(n, {
119
- icon: s.icon,
120
- class: i(s.iconClass || "!p-[0.3rem]"),
121
- type: s.iconType || "line",
122
- size: "sm",
123
- color: "white"
124
- }, null, 8, ["icon", "class", "type"])
125
- ]),
126
- _: 2
127
- }, 1040, ["class", "loading"])
128
- ]),
129
- content: c(() => [
130
- k(p(s.name), 1)
131
- ]),
132
- _: 2
133
- }, 1032, ["disabled"])
134
- ]))), 128))
135
- ], 2)),
136
- a(v, { name: "fade" }, {
137
- default: c(() => [
138
- !e.isColorKey && !e.isActionItemBar && e.selectedOption && e.loading === e.selectedOption?.state && e.shouldUseSwipe ? (t(), l("div", {
139
- key: 0,
140
- class: i([
141
- "absolute flex items-center justify-center inset-0 text-white z-30",
142
- e.selectedOption?.activeClass
143
- ])
144
- }, [
145
- m("div", T, [
146
- e.showStatusText ? (t(), l("div", z, p(e.selectedOption?.state === "default" ? e.$t("HC_CLEARED") : e.selectedOption?.statusText), 1)) : (t(), h(n, {
147
- key: 0,
148
- icon: e.selectedOption?.mobileIcon || e.selectedOption?.icon,
149
- type: e.selectedOption?.iconType || "line",
150
- size: "lg",
151
- color: "white"
152
- }, null, 8, ["icon", "type"]))
153
- ])
154
- ], 2)) : C("", !0)
155
- ]),
156
- _: 1
157
- })
158
- ], 64);
22
+ t("use", a(c({ href: e.iconPath })), null, 16)
23
+ ], 10, m))
24
+ ], 2)) : r("", !0);
159
25
  }
160
- const P = /* @__PURE__ */ S(w, [["render", I], ["__scopeId", "data-v-fdf14d8a"]]);
26
+ const w = /* @__PURE__ */ l(n, [["render", p], ["__scopeId", "data-v-67133468"]]);
161
27
  export {
162
- P as default
28
+ w as default
163
29
  };