@quoreadmin/ui 1.10.20 → 1.10.22

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 (211) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +168 -147
  3. package/dist/index149.js +78 -68
  4. package/dist/index157.js +30 -29
  5. package/dist/index183.js +3 -3
  6. package/dist/index186.js +4 -4
  7. package/dist/index193.js +10 -10
  8. package/dist/index195.js +10 -10
  9. package/dist/index198.js +17 -17
  10. package/dist/index201.js +28 -28
  11. package/dist/index202.js +2 -2
  12. package/dist/index203.js +2 -2
  13. package/dist/index204.js +1 -1
  14. package/dist/index206.js +2 -2
  15. package/dist/index208.js +14 -14
  16. package/dist/index209.js +1 -1
  17. package/dist/index210.js +1 -1
  18. package/dist/index211.js +3 -3
  19. package/dist/index212.js +6 -6
  20. package/dist/index216.js +2 -2
  21. package/dist/index217.js +1 -1
  22. package/dist/index219.js +4 -4
  23. package/dist/index221.js +1 -1
  24. package/dist/index222.js +1 -1
  25. package/dist/index223.js +1 -1
  26. package/dist/index224.js +4 -4
  27. package/dist/index226.js +1 -1
  28. package/dist/index227.js +106 -67
  29. package/dist/index228.js +26 -395
  30. package/dist/index229.js +406 -21
  31. package/dist/index230.js +76 -123
  32. package/dist/index231.js +19 -37
  33. package/dist/index232.js +85 -77
  34. package/dist/index233.js +12 -12
  35. package/dist/index234.js +3 -3
  36. package/dist/index235.js +3 -3
  37. package/dist/index236.js +11 -11
  38. package/dist/index237.js +22 -20
  39. package/dist/index238.js +159 -159
  40. package/dist/index239.js +20 -228
  41. package/dist/index240.js +21 -36
  42. package/dist/index241.js +198 -9
  43. package/dist/index242.js +49 -140
  44. package/dist/index243.js +34 -20
  45. package/dist/index244.js +39 -21
  46. package/dist/index245.js +21 -198
  47. package/dist/index246.js +21 -69
  48. package/dist/index247.js +20 -34
  49. package/dist/index248.js +823 -27
  50. package/dist/index249.js +701 -21
  51. package/dist/index250.js +176 -22
  52. package/dist/index251.js +15 -13
  53. package/dist/index252.js +20 -836
  54. package/dist/index253.js +19 -701
  55. package/dist/index254.js +3 -176
  56. package/dist/index255.js +186 -21
  57. package/dist/index256.js +132 -19
  58. package/dist/index257.js +1223 -20
  59. package/dist/index258.js +20 -3
  60. package/dist/index259.js +21 -186
  61. package/dist/index260.js +21 -132
  62. package/dist/index261.js +29 -1223
  63. package/dist/index262.js +12 -12
  64. package/dist/index263.js +13 -15
  65. package/dist/index264.js +2 -22
  66. package/dist/index265.js +2 -29
  67. package/dist/index266.js +3636 -20
  68. package/dist/index267.js +55 -20
  69. package/dist/index268.js +77 -2
  70. package/dist/index269.js +52 -2
  71. package/dist/index270.js +182 -3603
  72. package/dist/index271.js +8 -53
  73. package/dist/index272.js +40 -60
  74. package/dist/index273.js +44 -35
  75. package/dist/index274.js +32 -193
  76. package/dist/index275.js +74 -9
  77. package/dist/index276.js +707 -38
  78. package/dist/index277.js +25 -44
  79. package/dist/index278.js +46 -36
  80. package/dist/index279.js +10 -74
  81. package/dist/index280.js +679 -700
  82. package/dist/index281.js +817 -39
  83. package/dist/index282.js +160 -63
  84. package/dist/index283.js +227 -10
  85. package/dist/index284.js +36 -704
  86. package/dist/index285.js +9 -819
  87. package/dist/index286.js +253 -3
  88. package/dist/index287.js +2 -27
  89. package/dist/index288.js +104 -219
  90. package/dist/index289.js +83 -8
  91. package/dist/index290.js +59 -118
  92. package/dist/index291.js +8 -83
  93. package/dist/index292.js +3 -262
  94. package/dist/index293.js +25 -4
  95. package/dist/index294.js +51 -137
  96. package/dist/index295.js +25 -72
  97. package/dist/index296.js +20 -85
  98. package/dist/index297.js +21 -28
  99. package/dist/index298.js +16 -16
  100. package/dist/index299.js +17 -75
  101. package/dist/index300.js +23 -4
  102. package/dist/index301.js +79 -2
  103. package/dist/index302.js +21 -82
  104. package/dist/index303.js +929 -47
  105. package/dist/index304.js +21 -5
  106. package/dist/index305.js +19 -4
  107. package/dist/index306.js +19 -178
  108. package/dist/index307.js +67 -61
  109. package/dist/index308.js +18 -74
  110. package/dist/index309.js +19 -2
  111. package/dist/index310.js +21 -78
  112. package/dist/index311.js +21 -53
  113. package/dist/index312.js +63 -26
  114. package/dist/index313.js +1534 -22
  115. package/dist/index314.js +386 -22
  116. package/dist/index315.js +2731 -16
  117. package/dist/index316.js +86 -17
  118. package/dist/index317.js +3792 -23
  119. package/dist/index318.js +55 -1529
  120. package/dist/index319.js +14 -385
  121. package/dist/index320.js +67 -2714
  122. package/dist/index321.js +189 -73
  123. package/dist/index322.js +222 -3768
  124. package/dist/index323.js +254 -52
  125. package/dist/index324.js +6 -15
  126. package/dist/index325.js +130 -74
  127. package/dist/index326.js +66 -195
  128. package/dist/index327.js +81 -240
  129. package/dist/index328.js +25 -75
  130. package/dist/index329.js +14 -20
  131. package/dist/index330.js +66 -926
  132. package/dist/index331.js +3 -21
  133. package/dist/index332.js +2 -20
  134. package/dist/index333.js +82 -19
  135. package/dist/index334.js +52 -68
  136. package/dist/index335.js +6 -19
  137. package/dist/index336.js +5 -19
  138. package/dist/index337.js +178 -21
  139. package/dist/index338.js +62 -21
  140. package/dist/index339.js +74 -62
  141. package/dist/index340.js +36 -9
  142. package/dist/index341.js +9 -10
  143. package/dist/index342.js +13 -14
  144. package/dist/index343.js +55 -10
  145. package/dist/index344.js +11 -16
  146. package/dist/index345.js +13 -8
  147. package/dist/index346.js +57 -12
  148. package/dist/index347.js +48 -51
  149. package/dist/index348.js +28 -9
  150. package/dist/index349.js +2 -14
  151. package/dist/index350.js +5 -58
  152. package/dist/index351.js +2 -52
  153. package/dist/index352.js +22 -30
  154. package/dist/index353.js +41 -2
  155. package/dist/index354.js +2 -5
  156. package/dist/index355.js +11 -2
  157. package/dist/index356.js +19 -22
  158. package/dist/index357.js +9 -40
  159. package/dist/index358.js +10 -2
  160. package/dist/index359.js +16 -10
  161. package/dist/index360.js +2 -20
  162. package/dist/index361.js +9 -2
  163. package/dist/index362.js +10 -9
  164. package/dist/index363.js +14 -19
  165. package/dist/index364.js +19 -56
  166. package/dist/index365.js +19 -28
  167. package/dist/index366.js +63 -6
  168. package/dist/index367.js +36 -51
  169. package/dist/index368.js +19 -7
  170. package/dist/index369.js +56 -11
  171. package/dist/index370.js +29 -7
  172. package/dist/index371.js +6 -27
  173. package/dist/index372.js +52 -2
  174. package/dist/index373.js +6 -69
  175. package/dist/index374.js +11 -166
  176. package/dist/index375.js +7 -37
  177. package/dist/index376.js +28 -20
  178. package/dist/index377.js +2 -20
  179. package/dist/index378.js +67 -61
  180. package/dist/index379.js +166 -36
  181. package/dist/index38.js +2 -2
  182. package/dist/index380.js +17 -31
  183. package/dist/index381.js +100 -10
  184. package/dist/index382.js +90 -3
  185. package/dist/index383.js +98 -4
  186. package/dist/index384.js +30 -12
  187. package/dist/index385.js +11 -7
  188. package/dist/index386.js +3 -11
  189. package/dist/index387.js +3 -4
  190. package/dist/index388.js +13 -33
  191. package/dist/index389.js +7 -31
  192. package/dist/index390.js +12 -28
  193. package/dist/index391.js +5 -61
  194. package/dist/index392.js +33 -101
  195. package/dist/index393.js +31 -91
  196. package/dist/index394.js +27 -97
  197. package/dist/index395.js +60 -16
  198. package/dist/index396.js +1 -1
  199. package/dist/index401.js +1 -1
  200. package/dist/index402.js +2 -2
  201. package/dist/index46.js +6 -3
  202. package/dist/index50.js +1 -1
  203. package/dist/src/components/grid/grid.stories.d.ts +2 -0
  204. package/dist/src/components/list/list.stories.d.ts +1 -0
  205. package/dist/src/components/modal/modal.stories.d.ts +1 -0
  206. package/dist/src/components/page-layout/page-layout.vue.d.ts +4 -0
  207. package/dist/src/components/room-details-popover/room-details-popover.d.ts +3 -0
  208. package/dist/src/components/select/select.d.ts +1 -0
  209. package/dist/src/components/select/select.stories.d.ts +3 -0
  210. package/dist/src/components/time-picker/time-picker.vue.d.ts +3 -0
  211. package/package.json +1 -1
package/dist/index289.js CHANGED
@@ -1,10 +1,85 @@
1
- import e from "./index290.js";
2
- var a = {
3
- root: "p-ink"
4
- }, l = e.extend({
5
- name: "ripple",
6
- classes: a
7
- });
1
+ import { DomHandler as u } from "./index180.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);
10
+ }
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);
18
+ }
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
+ });
29
+ }
30
+ return t;
31
+ }
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;
34
+ }
35
+ function G(t) {
36
+ var e = J(t, "string");
37
+ return a(e) == "symbol" ? e : String(e);
38
+ }
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.");
46
+ }
47
+ return (e === "string" ? String : Number)(t);
48
+ }
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);
70
+ }
71
+ }, I = function() {
72
+ !i || !n.value || (O(), u.isExist(o.value) && i.head.removeChild(o.value), n.value = !1);
73
+ };
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
+ }
8
83
  export {
9
- l as default
84
+ X as useStyle
10
85
  };
package/dist/index290.js CHANGED
@@ -1,140 +1,81 @@
1
- import { useStyle as b } from "./index291.js";
2
- function u(e) {
1
+ import s from "./index229.js";
2
+ import c from "./index340.js";
3
+ import { ObjectUtils as l } from "./index180.js";
4
+ function i(t) {
3
5
  "@babel/helpers - typeof";
4
- return u = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5
- return typeof t;
6
- } : function(t) {
7
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8
- }, u(e);
6
+ return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
7
+ return typeof e;
8
+ } : function(e) {
9
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
10
+ }, i(t);
9
11
  }
10
- function m(e, t) {
11
- return S(e) || v(e, t) || h(e, t) || g();
12
- }
13
- function g() {
14
- throw new TypeError(`Invalid attempt to destructure non-iterable instance.
15
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
16
- }
17
- function h(e, t) {
18
- if (e) {
19
- if (typeof e == "string") return y(e, t);
20
- var r = Object.prototype.toString.call(e).slice(8, -1);
21
- if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
22
- if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return y(e, t);
23
- }
24
- }
25
- function y(e, t) {
26
- (t == null || t > e.length) && (t = e.length);
27
- for (var r = 0, n = new Array(t); r < t; r++) n[r] = e[r];
28
- return n;
29
- }
30
- function v(e, t) {
31
- var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
32
- if (r != null) {
33
- var n, i, c, o, a = [], s = !0, f = !1;
34
- try {
35
- if (c = (r = r.call(e)).next, t !== 0) for (; !(s = (n = c.call(r)).done) && (a.push(n.value), a.length !== t); s = !0) ;
36
- } catch (d) {
37
- f = !0, i = d;
38
- } finally {
39
- try {
40
- if (!s && r.return != null && (o = r.return(), Object(o) !== o)) return;
41
- } finally {
42
- if (f) throw i;
43
- }
44
- }
45
- return a;
46
- }
47
- }
48
- function S(e) {
49
- if (Array.isArray(e)) return e;
50
- }
51
- function p(e, t) {
52
- var r = Object.keys(e);
12
+ function o(t, e) {
13
+ var r = Object.keys(t);
53
14
  if (Object.getOwnPropertySymbols) {
54
- var n = Object.getOwnPropertySymbols(e);
55
- t && (n = n.filter(function(i) {
56
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
15
+ var n = Object.getOwnPropertySymbols(t);
16
+ e && (n = n.filter(function(u) {
17
+ return Object.getOwnPropertyDescriptor(t, u).enumerable;
57
18
  })), r.push.apply(r, n);
58
19
  }
59
20
  return r;
60
21
  }
61
- function l(e) {
62
- for (var t = 1; t < arguments.length; t++) {
63
- var r = arguments[t] != null ? arguments[t] : {};
64
- t % 2 ? p(Object(r), !0).forEach(function(n) {
65
- O(e, n, r[n]);
66
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : p(Object(r)).forEach(function(n) {
67
- Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
22
+ function p(t) {
23
+ for (var e = 1; e < arguments.length; e++) {
24
+ var r = arguments[e] != null ? arguments[e] : {};
25
+ e % 2 ? o(Object(r), !0).forEach(function(n) {
26
+ f(t, n, r[n]);
27
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach(function(n) {
28
+ Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
68
29
  });
69
30
  }
70
- return e;
31
+ return t;
71
32
  }
72
- function O(e, t, r) {
73
- return t = w(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
33
+ function f(t, e, r) {
34
+ return e = a(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
74
35
  }
75
- function w(e) {
76
- var t = j(e, "string");
77
- return u(t) == "symbol" ? t : String(t);
36
+ function a(t) {
37
+ var e = y(t, "string");
38
+ return i(e) == "symbol" ? e : String(e);
78
39
  }
79
- function j(e, t) {
80
- if (u(e) != "object" || !e) return e;
81
- var r = e[Symbol.toPrimitive];
40
+ function y(t, e) {
41
+ if (i(t) != "object" || !t) return t;
42
+ var r = t[Symbol.toPrimitive];
82
43
  if (r !== void 0) {
83
- var n = r.call(e, t);
84
- if (u(n) != "object") return n;
44
+ var n = r.call(t, e);
45
+ if (i(n) != "object") return n;
85
46
  throw new TypeError("@@toPrimitive must return a primitive value.");
86
47
  }
87
- return (t === "string" ? String : Number)(e);
88
- }
89
- var P = `
90
- .p-hidden-accessible {
91
- border: 0;
92
- clip: rect(0 0 0 0);
93
- height: 1px;
94
- margin: -1px;
95
- overflow: hidden;
96
- padding: 0;
97
- position: absolute;
98
- width: 1px;
99
- }
100
-
101
- .p-hidden-accessible input,
102
- .p-hidden-accessible select {
103
- transform: scale(0);
48
+ return (e === "string" ? String : Number)(t);
104
49
  }
105
-
106
- .p-overflow-hidden {
107
- overflow: hidden;
108
- padding-right: var(--scrollbar-width);
109
- }
110
- `, _ = {}, A = {}, T = {
111
- name: "base",
112
- css: P,
113
- classes: _,
114
- inlineStyles: A,
115
- loadStyle: function() {
116
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
117
- return this.css ? b(this.css, l({
118
- name: this.name
119
- }, t)) : {};
120
- },
121
- getStyleSheet: function() {
122
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
123
- if (this.css) {
124
- var n = Object.entries(r).reduce(function(i, c) {
125
- var o = m(c, 2), a = o[0], s = o[1];
126
- return i.push("".concat(a, '="').concat(s, '"')) && i;
127
- }, []).join(" ");
128
- return '<style type="text/css" data-primevue-style-id="'.concat(this.name, '" ').concat(n, ">").concat(this.css).concat(t, "</style>");
50
+ var O = {
51
+ name: "BaseIcon",
52
+ extends: s,
53
+ props: {
54
+ label: {
55
+ type: String,
56
+ default: void 0
57
+ },
58
+ spin: {
59
+ type: Boolean,
60
+ default: !1
129
61
  }
130
- return "";
131
62
  },
132
- extend: function(t) {
133
- return l(l({}, this), {}, {
134
- css: void 0
135
- }, t);
63
+ style: c,
64
+ methods: {
65
+ pti: function() {
66
+ var e = l.isEmpty(this.label);
67
+ return p(p({}, !this.isUnstyled && {
68
+ class: ["p-icon", {
69
+ "p-icon-spin": this.spin
70
+ }]
71
+ }), {}, {
72
+ role: e ? void 0 : "img",
73
+ "aria-label": e ? void 0 : this.label,
74
+ "aria-hidden": e
75
+ });
76
+ }
136
77
  }
137
78
  };
138
79
  export {
139
- T as default
80
+ O as default
140
81
  };
package/dist/index291.js CHANGED
@@ -1,85 +1,10 @@
1
- import { DomHandler as u } from "./index180.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);
10
- }
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);
18
- }
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
- });
29
- }
30
- return t;
31
- }
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;
34
- }
35
- function G(t) {
36
- var e = J(t, "string");
37
- return a(e) == "symbol" ? e : String(e);
38
- }
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.");
46
- }
47
- return (e === "string" ? String : Number)(t);
48
- }
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);
70
- }
71
- }, I = function() {
72
- !i || !n.value || (O(), u.isExist(o.value) && i.head.removeChild(o.value), n.value = !1);
73
- };
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
- }
1
+ import e from "./index288.js";
2
+ var a = {
3
+ root: "p-ink"
4
+ }, l = e.extend({
5
+ name: "ripple",
6
+ classes: a
7
+ });
83
8
  export {
84
- X as useStyle
9
+ l as default
85
10
  };
package/dist/index292.js CHANGED
@@ -1,264 +1,5 @@
1
- import R from "./index293.js";
2
- const { toString: T } = Object.prototype, { getPrototypeOf: h } = Object, { iterator: g, toStringTag: x } = Symbol, b = /* @__PURE__ */ ((e) => (t) => {
3
- const r = T.call(t);
4
- return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
5
- })(/* @__PURE__ */ Object.create(null)), f = (e) => (e = e.toLowerCase(), (t) => b(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);
8
- }
9
- const S = f("ArrayBuffer");
10
- function M(e) {
11
- let t;
12
- return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && S(e.buffer), t;
13
- }
14
- const _ = O("string"), c = O("function"), B = O("number"), y = (e) => e !== null && typeof e == "object", N = (e) => e === !0 || e === !1, w = (e) => {
15
- if (b(e) !== "object")
16
- return !1;
17
- const t = h(e);
18
- return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(x 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;
26
- }
27
- }, I = f("Date"), k = f("File"), V = 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 = b(e)) === "formdata" || // detect form-data instance
30
- t === "object" && c(e.toString) && e.toString() === "[object FormData]"));
31
- }, J = f("URLSearchParams"), [K, $, W, G] = [
32
- "ReadableStream",
33
- "Request",
34
- "Response",
35
- "Headers"
36
- ].map(f), Q = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
37
- function m(e, t, { allOwnKeys: r = !1 } = {}) {
38
- if (e === null || typeof e > "u")
39
- return;
40
- let n, s;
41
- if (typeof e != "object" && (e = [e]), p(e))
42
- for (n = 0, s = e.length; n < s; n++)
43
- t.call(null, e[n], n, e);
44
- else {
45
- if (d(e))
46
- return;
47
- const o = r ? Object.getOwnPropertyNames(e) : Object.keys(e), i = o.length;
48
- let l;
49
- for (n = 0; n < i; n++)
50
- l = o[n], t.call(null, e[l], l, e);
51
- }
52
- }
53
- function E(e, t) {
54
- if (d(e))
55
- return null;
56
- t = t.toLowerCase();
57
- const r = Object.keys(e);
58
- let n = r.length, s;
59
- for (; n-- > 0; )
60
- if (s = r[n], t === s.toLowerCase())
61
- return s;
62
- return null;
63
- }
64
- const u = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global, L = (e) => !a(e) && e !== u;
65
- function F() {
66
- const { caseless: e, skipUndefined: t } = L(this) && this || {}, r = {}, n = (s, o) => {
67
- if (o === "__proto__" || o === "constructor" || o === "prototype")
68
- return;
69
- const i = e && E(r, o) || o;
70
- w(r[i]) && w(s) ? r[i] = F(r[i], s) : w(s) ? r[i] = F({}, s) : p(s) ? r[i] = s.slice() : (!t || !a(s)) && (r[i] = s);
71
- };
72
- for (let s = 0, o = arguments.length; s < o; s++)
73
- arguments[s] && m(arguments[s], n);
74
- return r;
75
- }
76
- const X = (e, t, r, { allOwnKeys: n } = {}) => (m(
77
- t,
78
- (s, o) => {
79
- r && c(s) ? Object.defineProperty(e, o, {
80
- value: R(s, r),
81
- writable: !0,
82
- enumerable: !0,
83
- configurable: !0
84
- }) : Object.defineProperty(e, o, {
85
- value: s,
86
- writable: !0,
87
- enumerable: !0,
88
- configurable: !0
89
- });
90
- },
91
- { allOwnKeys: n }
92
- ), e), Y = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Z = (e, t, r, n) => {
93
- e.prototype = Object.create(
94
- t.prototype,
95
- n
96
- ), Object.defineProperty(e.prototype, "constructor", {
97
- value: e,
98
- writable: !0,
99
- enumerable: !1,
100
- configurable: !0
101
- }), Object.defineProperty(e, "super", {
102
- value: t.prototype
103
- }), r && Object.assign(e.prototype, r);
104
- }, j = (e, t, r, n) => {
105
- let s, o, i;
106
- const l = {};
107
- if (t = t || {}, e == null) return t;
108
- do {
109
- for (s = Object.getOwnPropertyNames(e), o = s.length; o-- > 0; )
110
- i = s[o], (!n || n(i, e, t)) && !l[i] && (t[i] = e[i], l[i] = !0);
111
- e = r !== !1 && h(e);
112
- } while (e && (!r || r(e, t)) && e !== Object.prototype);
113
- return t;
114
- }, v = (e, t, r) => {
115
- e = String(e), (r === void 0 || r > e.length) && (r = e.length), r -= t.length;
116
- const n = e.indexOf(t, r);
117
- return n !== -1 && n === r;
118
- }, ee = (e) => {
119
- if (!e) return null;
120
- if (p(e)) return e;
121
- let t = e.length;
122
- if (!B(t)) return null;
123
- const r = new Array(t);
124
- for (; t-- > 0; )
125
- r[t] = e[t];
126
- return r;
127
- }, te = /* @__PURE__ */ ((e) => (t) => e && t instanceof e)(typeof Uint8Array < "u" && h(Uint8Array)), re = (e, t) => {
128
- const n = (e && e[g]).call(e);
129
- let s;
130
- for (; (s = n.next()) && !s.done; ) {
131
- const o = s.value;
132
- t.call(e, o[0], o[1]);
133
- }
134
- }, ne = (e, t) => {
135
- let r;
136
- const n = [];
137
- for (; (r = e.exec(t)) !== null; )
138
- n.push(r);
139
- return n;
140
- }, se = f("HTMLFormElement"), oe = (e) => e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(r, n, s) {
141
- return n.toUpperCase() + s;
142
- }), P = (({ hasOwnProperty: e }) => (t, r) => e.call(t, r))(Object.prototype), ie = f("RegExp"), C = (e, t) => {
143
- const r = Object.getOwnPropertyDescriptors(e), n = {};
144
- m(r, (s, o) => {
145
- let i;
146
- (i = t(s, o, e)) !== !1 && (n[o] = i || s);
147
- }), Object.defineProperties(e, n);
148
- }, ce = (e) => {
149
- C(e, (t, r) => {
150
- if (c(e) && ["arguments", "caller", "callee"].indexOf(r) !== -1)
151
- return !1;
152
- const n = e[r];
153
- if (c(n)) {
154
- if (t.enumerable = !1, "writable" in t) {
155
- t.writable = !1;
156
- return;
157
- }
158
- t.set || (t.set = () => {
159
- throw Error("Can not rewrite read-only method '" + r + "'");
160
- });
161
- }
162
- });
163
- }, fe = (e, t) => {
164
- const r = {}, n = (s) => {
165
- s.forEach((o) => {
166
- r[o] = !0;
167
- });
168
- };
169
- return p(e) ? n(e) : n(String(e).split(t)), r;
170
- }, le = () => {
171
- }, ue = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
172
- function ae(e) {
173
- return !!(e && c(e.append) && e[x] === "FormData" && e[g]);
174
- }
175
- const pe = (e) => {
176
- const t = new Array(10), r = (n, s) => {
177
- if (y(n)) {
178
- if (t.indexOf(n) >= 0)
179
- return;
180
- if (d(n))
181
- return n;
182
- if (!("toJSON" in n)) {
183
- t[s] = n;
184
- const o = p(n) ? [] : {};
185
- return m(n, (i, l) => {
186
- const A = r(i, s + 1);
187
- !a(A) && (o[l] = A);
188
- }), t[s] = void 0, o;
189
- }
190
- }
191
- return n;
192
- };
193
- return r(e, 0);
194
- }, de = f("AsyncFunction"), ye = (e) => e && (y(e) || c(e)) && c(e.then) && c(e.catch), D = ((e, t) => e ? setImmediate : t ? ((r, n) => (u.addEventListener(
195
- "message",
196
- ({ source: s, data: o }) => {
197
- s === u && o === r && n.length && n.shift()();
198
- },
199
- !1
200
- ), (s) => {
201
- n.push(s), u.postMessage(r, "*");
202
- }))(`axios@${Math.random()}`, []) : (r) => setTimeout(r))(typeof setImmediate == "function", c(u.postMessage)), me = typeof queueMicrotask < "u" ? queueMicrotask.bind(u) : typeof process < "u" && process.nextTick || D, we = (e) => e != null && c(e[g]), be = {
203
- isArray: p,
204
- isArrayBuffer: S,
205
- isBuffer: d,
206
- isFormData: z,
207
- isArrayBufferView: M,
208
- isString: _,
209
- isNumber: B,
210
- isBoolean: N,
211
- isObject: y,
212
- isPlainObject: w,
213
- isEmptyObject: U,
214
- isReadableStream: K,
215
- isRequest: $,
216
- isResponse: W,
217
- isHeaders: G,
218
- isUndefined: a,
219
- isDate: I,
220
- isFile: k,
221
- isBlob: V,
222
- isRegExp: ie,
223
- isFunction: c,
224
- isStream: H,
225
- isURLSearchParams: J,
226
- isTypedArray: te,
227
- isFileList: q,
228
- forEach: m,
229
- merge: F,
230
- extend: X,
231
- trim: Q,
232
- stripBOM: Y,
233
- inherits: Z,
234
- toFlatObject: j,
235
- kindOf: b,
236
- kindOfTest: f,
237
- endsWith: v,
238
- toArray: ee,
239
- forEachEntry: re,
240
- matchAll: ne,
241
- isHTMLForm: se,
242
- hasOwnProperty: P,
243
- hasOwnProp: P,
244
- // an alias to avoid ESLint no-prototype-builtins detection
245
- reduceDescriptors: C,
246
- freezeMethods: ce,
247
- toObjectSet: fe,
248
- toCamelCase: oe,
249
- noop: le,
250
- toFiniteNumber: ue,
251
- findKey: E,
252
- global: u,
253
- isContextDefined: L,
254
- isSpecCompliantForm: ae,
255
- toJSONObject: pe,
256
- isAsyncFn: de,
257
- isThenable: ye,
258
- setImmediate: D,
259
- asap: me,
260
- isIterable: we
261
- };
1
+ const n = 16.666666666666668, t = typeof performance < "u" ? () => performance.now() : () => Date.now(), o = typeof window < "u" ? (e) => window.requestAnimationFrame(e) : (e) => setTimeout(() => e(t()), n);
262
2
  export {
263
- be as default
3
+ n as defaultTimestep,
4
+ o as onNextFrame
264
5
  };
package/dist/index293.js CHANGED
@@ -1,8 +1,29 @@
1
- function u(n, r) {
2
- return function() {
3
- return n.apply(r, arguments);
1
+ function p(h) {
2
+ let n = [], s = [], i = 0, f = !1, o = !1;
3
+ const l = /* @__PURE__ */ new WeakSet(), u = {
4
+ schedule: (e, t = !1, r = !1) => {
5
+ const d = r && f, c = d ? n : s;
6
+ return t && l.add(e), c.indexOf(e) === -1 && (c.push(e), d && f && (i = n.length)), e;
7
+ },
8
+ cancel: (e) => {
9
+ const t = s.indexOf(e);
10
+ t !== -1 && s.splice(t, 1), l.delete(e);
11
+ },
12
+ process: (e) => {
13
+ if (f) {
14
+ o = !0;
15
+ return;
16
+ }
17
+ if (f = !0, [n, s] = [s, n], s.length = 0, i = n.length, i)
18
+ for (let t = 0; t < i; t++) {
19
+ const r = n[t];
20
+ r(e), l.has(r) && (u.schedule(r), h());
21
+ }
22
+ f = !1, o && (o = !1, u.process(e));
23
+ }
4
24
  };
25
+ return u;
5
26
  }
6
27
  export {
7
- u as default
28
+ p as createRenderStep
8
29
  };