@quoreadmin/ui 1.10.1 → 1.10.2

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 (190) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +90 -82
  3. package/dist/index182.js +14 -14
  4. package/dist/index183.js +3 -3
  5. package/dist/index186.js +4 -4
  6. package/dist/index193.js +10 -10
  7. package/dist/index194.js +2 -2
  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/index213.js +84 -29
  21. package/dist/index214.js +400 -109
  22. package/dist/index215.js +22 -36
  23. package/dist/index216.js +127 -26
  24. package/dist/index217.js +37 -35
  25. package/dist/index218.js +80 -51
  26. package/dist/index219.js +19 -42
  27. package/dist/index220.js +19 -3
  28. package/dist/index221.js +20 -9
  29. package/dist/index222.js +19 -18
  30. package/dist/index223.js +20 -10
  31. package/dist/index224.js +3635 -9
  32. package/dist/index225.js +54 -38
  33. package/dist/index226.js +77 -21
  34. package/dist/index227.js +51 -160
  35. package/dist/index228.js +212 -225
  36. package/dist/index229.js +10 -37
  37. package/dist/index230.js +57 -10
  38. package/dist/index231.js +54 -154
  39. package/dist/index232.js +54 -20
  40. package/dist/index233.js +75 -20
  41. package/dist/index234.js +725 -21
  42. package/dist/index235.js +33 -190
  43. package/dist/index236.js +60 -66
  44. package/dist/index237.js +10 -87
  45. package/dist/index238.js +671 -373
  46. package/dist/index239.js +819 -33
  47. package/dist/index240.js +31 -38
  48. package/dist/index241.js +116 -22
  49. package/dist/index242.js +35 -21
  50. package/dist/index243.js +26 -22
  51. package/dist/index244.js +35 -19
  52. package/dist/index245.js +49 -834
  53. package/dist/index246.js +37 -696
  54. package/dist/index247.js +4 -176
  55. package/dist/index248.js +9 -20
  56. package/dist/index249.js +18 -19
  57. package/dist/index250.js +10 -22
  58. package/dist/index251.js +10 -20
  59. package/dist/index252.js +38 -19
  60. package/dist/index253.js +21 -3
  61. package/dist/index254.js +156 -182
  62. package/dist/index255.js +223 -128
  63. package/dist/index256.js +36 -1222
  64. package/dist/index257.js +10 -127
  65. package/dist/index258.js +13 -11
  66. package/dist/index259.js +11 -11
  67. package/dist/index260.js +11 -13
  68. package/dist/index261.js +819 -21
  69. package/dist/index262.js +701 -28
  70. package/dist/index263.js +176 -20
  71. package/dist/index264.js +14 -12
  72. package/dist/index265.js +20 -2
  73. package/dist/index266.js +20 -2
  74. package/dist/index267.js +3 -3636
  75. package/dist/index268.js +181 -49
  76. package/dist/index269.js +128 -72
  77. package/dist/index270.js +154 -45
  78. package/dist/index271.js +1209 -201
  79. package/dist/index272.js +20 -10
  80. package/dist/index273.js +22 -57
  81. package/dist/index274.js +20 -61
  82. package/dist/index275.js +22 -54
  83. package/dist/index276.js +29 -75
  84. package/dist/index277.js +19 -725
  85. package/dist/index278.js +20 -42
  86. package/dist/index279.js +2 -64
  87. package/dist/index280.js +2 -11
  88. package/dist/index281.js +22 -705
  89. package/dist/index282.js +189 -810
  90. package/dist/index283.js +69 -79
  91. package/dist/index284.js +34 -20
  92. package/dist/index285.js +39 -19
  93. package/dist/index286.js +249 -50
  94. package/dist/index287.js +8 -79
  95. package/dist/index288.js +138 -26
  96. package/dist/index289.js +83 -22
  97. package/dist/index290.js +2 -22
  98. package/dist/index291.js +78 -15
  99. package/dist/index292.js +1534 -17
  100. package/dist/index293.js +366 -233
  101. package/dist/index294.js +2731 -8
  102. package/dist/index295.js +77 -129
  103. package/dist/index296.js +3780 -71
  104. package/dist/index297.js +59 -22
  105. package/dist/index298.js +15 -3
  106. package/dist/index299.js +81 -24
  107. package/dist/index300.js +190 -250
  108. package/dist/index301.js +244 -4
  109. package/dist/index302.js +3 -140
  110. package/dist/index303.js +24 -70
  111. package/dist/index304.js +50 -83
  112. package/dist/index305.js +25 -28
  113. package/dist/index306.js +21 -15
  114. package/dist/index307.js +21 -74
  115. package/dist/index308.js +16 -4
  116. package/dist/index309.js +17 -2
  117. package/dist/index310.js +22 -82
  118. package/dist/index311.js +77 -51
  119. package/dist/index312.js +21 -5
  120. package/dist/index313.js +934 -4
  121. package/dist/index314.js +21 -178
  122. package/dist/index315.js +19 -62
  123. package/dist/index316.js +20 -75
  124. package/dist/index317.js +69 -1534
  125. package/dist/index318.js +19 -386
  126. package/dist/index319.js +19 -2731
  127. package/dist/index320.js +21 -85
  128. package/dist/index321.js +22 -3792
  129. package/dist/index322.js +63 -60
  130. package/dist/index323.js +256 -73
  131. package/dist/index324.js +5 -21
  132. package/dist/index325.js +130 -925
  133. package/dist/index326.js +72 -21
  134. package/dist/index327.js +85 -18
  135. package/dist/index328.js +28 -19
  136. package/dist/index329.js +15 -68
  137. package/dist/index330.js +75 -19
  138. package/dist/index331.js +4 -19
  139. package/dist/index332.js +2 -22
  140. package/dist/index333.js +82 -21
  141. package/dist/index334.js +53 -63
  142. package/dist/index335.js +6 -2
  143. package/dist/index336.js +5 -15
  144. package/dist/index337.js +166 -71
  145. package/dist/index338.js +57 -196
  146. package/dist/index339.js +75 -246
  147. package/dist/index340.js +1 -1
  148. package/dist/index343.js +1 -1
  149. package/dist/index348.js +1 -1
  150. package/dist/index353.js +2 -2
  151. package/dist/index357.js +2 -2
  152. package/dist/index358.js +1 -1
  153. package/dist/index364.js +19 -18
  154. package/dist/index365.js +19 -56
  155. package/dist/index366.js +63 -28
  156. package/dist/index367.js +37 -7
  157. package/dist/index368.js +16 -49
  158. package/dist/index369.js +57 -7
  159. package/dist/index370.js +27 -10
  160. package/dist/index371.js +7 -7
  161. package/dist/index372.js +51 -27
  162. package/dist/index373.js +7 -2
  163. package/dist/index374.js +11 -69
  164. package/dist/index375.js +6 -166
  165. package/dist/index376.js +28 -20
  166. package/dist/index377.js +2 -20
  167. package/dist/index378.js +67 -61
  168. package/dist/index379.js +166 -36
  169. package/dist/index38.js +1 -1
  170. package/dist/index380.js +98 -28
  171. package/dist/index381.js +90 -10
  172. package/dist/index382.js +98 -4
  173. package/dist/index383.js +17 -4
  174. package/dist/index384.js +30 -12
  175. package/dist/index385.js +11 -7
  176. package/dist/index386.js +3 -11
  177. package/dist/index387.js +3 -4
  178. package/dist/index388.js +13 -33
  179. package/dist/index389.js +7 -31
  180. package/dist/index390.js +12 -28
  181. package/dist/index391.js +5 -61
  182. package/dist/index392.js +33 -17
  183. package/dist/index393.js +29 -99
  184. package/dist/index394.js +28 -91
  185. package/dist/index395.js +59 -96
  186. package/dist/index396.js +1 -1
  187. package/dist/index401.js +1 -1
  188. package/dist/index402.js +2 -2
  189. package/dist/src/components/page-layout/page-layout.vue.d.ts +3 -0
  190. package/package.json +1 -1
package/dist/index295.js CHANGED
@@ -1,140 +1,88 @@
1
- import { useStyle as b } from "./index296.js";
2
- function u(e) {
3
- "@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);
1
+ import { ReplaceAroundStep as h, liftTarget as w, canJoin as C, findWrapping as L, canSplit as R } from "./index292.js";
2
+ import { Fragment as s, Slice as I, NodeRange as x } from "./index294.js";
3
+ function O(r, t = null) {
4
+ return function(e, l) {
5
+ let { $from: o, $to: n } = e.selection, f = o.blockRange(n);
6
+ if (!f)
7
+ return !1;
8
+ let i = l ? e.tr : null;
9
+ return S(i, f, r, t) ? (l && l(i.scrollIntoView()), !0) : !1;
10
+ };
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);
12
+ function S(r, t, e, l = null) {
13
+ let o = !1, n = t, f = t.$from.doc;
14
+ if (t.depth >= 2 && t.$from.node(t.depth - 1).type.compatibleContent(e) && t.startIndex == 0) {
15
+ if (t.$from.index(t.depth - 1) == 0)
16
+ return !1;
17
+ let d = f.resolve(t.start - 2);
18
+ n = new x(d, d, t.depth), t.endIndex < t.parent.childCount && (t = new x(t.$from, f.resolve(t.$to.end(t.depth)), t.depth)), o = !0;
23
19
  }
20
+ let i = L(n, e, l, t);
21
+ return i ? (r && v(r, t, i, o, e), !0) : !1;
24
22
  }
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);
53
- if (Object.getOwnPropertySymbols) {
54
- var n = Object.getOwnPropertySymbols(e);
55
- t && (n = n.filter(function(i) {
56
- return Object.getOwnPropertyDescriptor(e, i).enumerable;
57
- })), r.push.apply(r, n);
58
- }
23
+ function v(r, t, e, l, o) {
24
+ let n = s.empty;
25
+ for (let u = e.length - 1; u >= 0; u--)
26
+ n = s.from(e[u].type.create(e[u].attrs, n));
27
+ r.step(new h(t.start - (l ? 2 : 0), t.end, t.start, t.end, new I(n, 0, 0), e.length, !0));
28
+ let f = 0;
29
+ for (let u = 0; u < e.length; u++)
30
+ e[u].type == o && (f = u + 1);
31
+ let i = e.length - f, d = t.start + e.length - (l ? 2 : 0), c = t.parent;
32
+ for (let u = t.startIndex, m = t.endIndex, p = !0; u < m; u++, p = !1)
33
+ !p && R(r.doc, d, i) && (r.split(d, i), d += 2 * i), d += c.child(u).nodeSize;
59
34
  return r;
60
35
  }
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));
68
- });
69
- }
70
- return e;
36
+ function V(r) {
37
+ return function(t, e) {
38
+ let { $from: l, $to: o } = t.selection, n = l.blockRange(o, (f) => f.childCount > 0 && f.firstChild.type == r);
39
+ return n ? e ? l.node(n.depth - 1).type == r ? b(t, e, r, n) : k(t, e, n) : !0 : !1;
40
+ };
71
41
  }
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;
42
+ function b(r, t, e, l) {
43
+ let o = r.tr, n = l.end, f = l.$to.end(l.depth);
44
+ n < f && (o.step(new h(n - 1, f, n, f, new I(s.from(e.create(null, l.parent.copy())), 1, 0), 1, !0)), l = new x(o.doc.resolve(l.$from.pos), o.doc.resolve(f), l.depth));
45
+ const i = w(l);
46
+ if (i == null)
47
+ return !1;
48
+ o.lift(l, i);
49
+ let d = o.doc.resolve(o.mapping.map(n, -1) - 1);
50
+ return C(o.doc, d.pos) && d.nodeBefore.type == d.nodeAfter.type && o.join(d.pos), t(o.scrollIntoView()), !0;
74
51
  }
75
- function w(e) {
76
- var t = j(e, "string");
77
- return u(t) == "symbol" ? t : String(t);
52
+ function k(r, t, e) {
53
+ let l = r.tr, o = e.parent;
54
+ for (let a = e.end, $ = e.endIndex - 1, y = e.startIndex; $ > y; $--)
55
+ a -= o.child($).nodeSize, l.delete(a - 1, a + 1);
56
+ let n = l.doc.resolve(e.start), f = n.nodeAfter;
57
+ if (l.mapping.map(e.end) != e.start + n.nodeAfter.nodeSize)
58
+ return !1;
59
+ let i = e.startIndex == 0, d = e.endIndex == o.childCount, c = n.node(-1), u = n.index(-1);
60
+ if (!c.canReplace(u + (i ? 0 : 1), u + 1, f.content.append(d ? s.empty : s.from(o))))
61
+ return !1;
62
+ let m = n.pos, p = m + f.nodeSize;
63
+ return l.step(new h(m - (i ? 1 : 0), p + (d ? 1 : 0), m + 1, p - 1, new I((i ? s.empty : s.from(o.copy(s.empty))).append(d ? s.empty : s.from(o.copy(s.empty))), i ? 0 : 1, d ? 0 : 1), i ? 0 : 1)), t(l.scrollIntoView()), !0;
78
64
  }
79
- function j(e, t) {
80
- if (u(e) != "object" || !e) return e;
81
- var r = e[Symbol.toPrimitive];
82
- if (r !== void 0) {
83
- var n = r.call(e, t);
84
- if (u(n) != "object") return n;
85
- throw new TypeError("@@toPrimitive must return a primitive value.");
86
- }
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);
104
- }
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>");
65
+ function B(r) {
66
+ return function(t, e) {
67
+ let { $from: l, $to: o } = t.selection, n = l.blockRange(o, (c) => c.childCount > 0 && c.firstChild.type == r);
68
+ if (!n)
69
+ return !1;
70
+ let f = n.startIndex;
71
+ if (f == 0)
72
+ return !1;
73
+ let i = n.parent, d = i.child(f - 1);
74
+ if (d.type != r)
75
+ return !1;
76
+ if (e) {
77
+ let c = d.lastChild && d.lastChild.type == i.type, u = s.from(c ? r.create() : null), m = new I(s.from(r.create(null, s.from(i.type.create(null, u)))), c ? 3 : 1, 0), p = n.start, a = n.end;
78
+ e(t.tr.step(new h(p - (c ? 3 : 1), a, p, a, m, 1, !0)).scrollIntoView());
129
79
  }
130
- return "";
131
- },
132
- extend: function(t) {
133
- return l(l({}, this), {}, {
134
- css: void 0
135
- }, t);
136
- }
137
- };
80
+ return !0;
81
+ };
82
+ }
138
83
  export {
139
- T as default
84
+ V as liftListItem,
85
+ B as sinkListItem,
86
+ O as wrapInList,
87
+ S as wrapRangeInList
140
88
  };