@quoreadmin/ui 1.7.9 → 1.7.11

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 (168) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index140.js +2 -2
  3. package/dist/index142.js +13 -13
  4. package/dist/index172.js +14 -14
  5. package/dist/index173.js +3 -3
  6. package/dist/index176.js +4 -4
  7. package/dist/index183.js +10 -10
  8. package/dist/index185.js +10 -10
  9. package/dist/index187.js +1190 -36
  10. package/dist/index189.js +36 -1190
  11. package/dist/{index188.js → index190.js} +17 -17
  12. package/dist/index191.js +28 -28
  13. package/dist/index192.js +2 -2
  14. package/dist/index193.js +2 -2
  15. package/dist/index194.js +1 -1
  16. package/dist/index202.js +1 -1
  17. package/dist/index203.js +29 -84
  18. package/dist/index204.js +109 -400
  19. package/dist/index205.js +36 -22
  20. package/dist/index206.js +26 -33
  21. package/dist/index207.js +31 -111
  22. package/dist/index208.js +9 -36
  23. package/dist/index209.js +19 -26
  24. package/dist/index210.js +10 -36
  25. package/dist/index211.js +10 -9
  26. package/dist/index212.js +50 -18
  27. package/dist/index213.js +43 -10
  28. package/dist/index214.js +4 -10
  29. package/dist/index215.js +36 -48
  30. package/dist/index216.js +21 -43
  31. package/dist/index217.js +160 -3
  32. package/dist/index218.js +223 -34
  33. package/dist/index219.js +37 -21
  34. package/dist/index220.js +10 -161
  35. package/dist/index221.js +13 -11
  36. package/dist/index222.js +14 -12
  37. package/dist/index223.js +13 -15
  38. package/dist/index224.js +790 -153
  39. package/dist/index225.js +677 -45
  40. package/dist/index226.js +406 -33
  41. package/dist/index227.js +175 -39
  42. package/dist/index228.js +19 -160
  43. package/dist/index229.js +20 -228
  44. package/dist/index230.js +21 -36
  45. package/dist/index231.js +20 -10
  46. package/dist/index232.js +19 -126
  47. package/dist/index233.js +19 -37
  48. package/dist/index234.js +3 -80
  49. package/dist/index235.js +87 -19
  50. package/dist/index236.js +186 -19
  51. package/dist/index237.js +131 -18
  52. package/dist/index238.js +160 -19
  53. package/dist/index239.js +1223 -22
  54. package/dist/index240.js +126 -21
  55. package/dist/index241.js +12 -12
  56. package/dist/index242.js +22 -836
  57. package/dist/index243.js +19 -701
  58. package/dist/index244.js +22 -176
  59. package/dist/index245.js +37 -21
  60. package/dist/index246.js +22 -13
  61. package/dist/index247.js +10 -10
  62. package/dist/index248.js +20 -3
  63. package/dist/index249.js +2 -187
  64. package/dist/index250.js +2 -133
  65. package/dist/index251.js +72 -1215
  66. package/dist/index252.js +10 -10
  67. package/dist/index253.js +13 -15
  68. package/dist/index254.js +10 -10
  69. package/dist/index255.js +198 -28
  70. package/dist/index256.js +69 -19
  71. package/dist/index257.js +34 -20
  72. package/dist/index258.js +40 -2
  73. package/dist/index259.js +22 -2
  74. package/dist/index260.js +6 -6
  75. package/dist/index275.js +2 -2
  76. package/dist/index276.js +3 -253
  77. package/dist/index277.js +27 -8
  78. package/dist/index280.js +253 -3
  79. package/dist/index281.js +2 -27
  80. package/dist/index282.js +71 -46
  81. package/dist/index283.js +8 -79
  82. package/dist/index284.js +78 -25
  83. package/dist/index285.js +12 -12
  84. package/dist/index286.js +935 -22
  85. package/dist/index287.js +22 -16
  86. package/dist/index288.js +20 -17
  87. package/dist/index289.js +20 -23
  88. package/dist/index290.js +69 -2
  89. package/dist/index291.js +19 -235
  90. package/dist/index292.js +19 -6
  91. package/dist/index293.js +51 -131
  92. package/dist/index294.js +21 -67
  93. package/dist/index295.js +20 -85
  94. package/dist/index296.js +63 -29
  95. package/dist/index297.js +235 -9
  96. package/dist/index298.js +5 -74
  97. package/dist/index299.js +133 -3
  98. package/dist/index300.js +68 -2
  99. package/dist/index301.js +83 -79
  100. package/dist/index302.js +27 -52
  101. package/dist/index303.js +8 -5
  102. package/dist/index304.js +74 -4
  103. package/dist/index305.js +3 -178
  104. package/dist/index306.js +2 -63
  105. package/dist/index307.js +82 -74
  106. package/dist/index308.js +49 -1513
  107. package/dist/index309.js +4 -384
  108. package/dist/index310.js +4 -2730
  109. package/dist/index311.js +170 -77
  110. package/dist/index312.js +55 -3762
  111. package/dist/index313.js +75 -60
  112. package/dist/index314.js +25 -78
  113. package/dist/index315.js +12 -12
  114. package/dist/index316.js +22 -935
  115. package/dist/index317.js +16 -22
  116. package/dist/index318.js +17 -20
  117. package/dist/index319.js +23 -20
  118. package/dist/index320.js +1518 -69
  119. package/dist/index321.js +386 -19
  120. package/dist/index322.js +2731 -19
  121. package/dist/index323.js +85 -21
  122. package/dist/index324.js +3770 -22
  123. package/dist/index325.js +60 -63
  124. package/dist/index327.js +1 -1
  125. package/dist/index328.js +3 -3
  126. package/dist/index329.js +2 -2
  127. package/dist/index332.js +1 -1
  128. package/dist/index337.js +1 -1
  129. package/dist/index342.js +2 -2
  130. package/dist/index347.js +1 -1
  131. package/dist/index348.js +2 -2
  132. package/dist/index354.js +19 -20
  133. package/dist/index355.js +19 -55
  134. package/dist/index356.js +63 -28
  135. package/dist/index357.js +37 -7
  136. package/dist/index358.js +18 -49
  137. package/dist/index359.js +56 -6
  138. package/dist/index360.js +27 -10
  139. package/dist/index361.js +7 -7
  140. package/dist/index362.js +51 -27
  141. package/dist/index363.js +6 -2
  142. package/dist/index364.js +11 -69
  143. package/dist/index365.js +6 -166
  144. package/dist/index366.js +28 -20
  145. package/dist/index367.js +2 -20
  146. package/dist/index368.js +67 -61
  147. package/dist/index369.js +166 -36
  148. package/dist/index370.js +17 -31
  149. package/dist/index371.js +30 -10
  150. package/dist/index372.js +10 -3
  151. package/dist/index373.js +3 -3
  152. package/dist/index374.js +4 -13
  153. package/dist/index375.js +13 -7
  154. package/dist/index376.js +7 -12
  155. package/dist/index377.js +11 -4
  156. package/dist/index378.js +5 -33
  157. package/dist/index379.js +33 -31
  158. package/dist/index380.js +29 -26
  159. package/dist/index381.js +26 -59
  160. package/dist/index382.js +59 -99
  161. package/dist/index383.js +98 -91
  162. package/dist/index384.js +100 -16
  163. package/dist/index385.js +91 -98
  164. package/dist/index386.js +1 -1
  165. package/dist/index391.js +1 -1
  166. package/dist/index392.js +2 -2
  167. package/dist/index44.js +22 -22
  168. package/package.json +1 -1
package/dist/index311.js CHANGED
@@ -1,88 +1,181 @@
1
- import { ReplaceAroundStep as h, liftTarget as w, canJoin as C, findWrapping as L, canSplit as R } from "./index308.js";
2
- import { Fragment as s, Slice as I, NodeRange as x } from "./index310.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
- };
1
+ import i from "./index297.js";
2
+ import S from "./index366.js";
3
+ const h = /* @__PURE__ */ Symbol("internals");
4
+ function y(r) {
5
+ return r && String(r).trim().toLowerCase();
11
6
  }
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;
19
- }
20
- let i = L(n, e, l, t);
21
- return i ? (r && v(r, t, i, o, e), !0) : !1;
7
+ function m(r) {
8
+ return r === !1 || r == null ? r : i.isArray(r) ? r.map(m) : String(r);
22
9
  }
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;
34
- return r;
10
+ function A(r) {
11
+ const t = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
12
+ let s;
13
+ for (; s = e.exec(r); )
14
+ t[s[1]] = s[2];
15
+ return t;
35
16
  }
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
- };
17
+ const k = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
18
+ function g(r, t, e, s, n) {
19
+ if (i.isFunction(s))
20
+ return s.call(this, t, e);
21
+ if (n && (t = e), !!i.isString(t)) {
22
+ if (i.isString(s))
23
+ return t.indexOf(s) !== -1;
24
+ if (i.isRegExp(s))
25
+ return s.test(t);
26
+ }
41
27
  }
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;
28
+ function E(r) {
29
+ return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, e, s) => e.toUpperCase() + s);
51
30
  }
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))))
31
+ function j(r, t) {
32
+ const e = i.toCamelCase(" " + t);
33
+ ["get", "set", "has"].forEach((s) => {
34
+ Object.defineProperty(r, s + e, {
35
+ value: function(n, o, f) {
36
+ return this[s].call(this, t, n, o, f);
37
+ },
38
+ configurable: !0
39
+ });
40
+ });
41
+ }
42
+ class b {
43
+ constructor(t) {
44
+ t && this.set(t);
45
+ }
46
+ set(t, e, s) {
47
+ const n = this;
48
+ function o(c, l, a) {
49
+ const u = y(l);
50
+ if (!u)
51
+ throw new Error("header name must be a non-empty string");
52
+ const p = i.findKey(n, u);
53
+ (!p || n[p] === void 0 || a === !0 || a === void 0 && n[p] !== !1) && (n[p || l] = m(c));
54
+ }
55
+ const f = (c, l) => i.forEach(c, (a, u) => o(a, u, l));
56
+ if (i.isPlainObject(t) || t instanceof this.constructor)
57
+ f(t, e);
58
+ else if (i.isString(t) && (t = t.trim()) && !k(t))
59
+ f(S(t), e);
60
+ else if (i.isObject(t) && i.isIterable(t)) {
61
+ let c = {}, l, a;
62
+ for (const u of t) {
63
+ if (!i.isArray(u))
64
+ throw TypeError("Object iterator must return a key-value pair");
65
+ c[a = u[0]] = (l = c[a]) ? i.isArray(l) ? [...l, u[1]] : [l, u[1]] : u[1];
66
+ }
67
+ f(c, e);
68
+ } else
69
+ t != null && o(e, t, s);
70
+ return this;
71
+ }
72
+ get(t, e) {
73
+ if (t = y(t), t) {
74
+ const s = i.findKey(this, t);
75
+ if (s) {
76
+ const n = this[s];
77
+ if (!e)
78
+ return n;
79
+ if (e === !0)
80
+ return A(n);
81
+ if (i.isFunction(e))
82
+ return e.call(this, n, s);
83
+ if (i.isRegExp(e))
84
+ return e.exec(n);
85
+ throw new TypeError("parser must be boolean|regexp|function");
86
+ }
87
+ }
88
+ }
89
+ has(t, e) {
90
+ if (t = y(t), t) {
91
+ const s = i.findKey(this, t);
92
+ return !!(s && this[s] !== void 0 && (!e || g(this, this[s], s, e)));
93
+ }
61
94
  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;
95
+ }
96
+ delete(t, e) {
97
+ const s = this;
98
+ let n = !1;
99
+ function o(f) {
100
+ if (f = y(f), f) {
101
+ const c = i.findKey(s, f);
102
+ c && (!e || g(s, s[c], c, e)) && (delete s[c], n = !0);
103
+ }
104
+ }
105
+ return i.isArray(t) ? t.forEach(o) : o(t), n;
106
+ }
107
+ clear(t) {
108
+ const e = Object.keys(this);
109
+ let s = e.length, n = !1;
110
+ for (; s--; ) {
111
+ const o = e[s];
112
+ (!t || g(this, this[o], o, t, !0)) && (delete this[o], n = !0);
113
+ }
114
+ return n;
115
+ }
116
+ normalize(t) {
117
+ const e = this, s = {};
118
+ return i.forEach(this, (n, o) => {
119
+ const f = i.findKey(s, o);
120
+ if (f) {
121
+ e[f] = m(n), delete e[o];
122
+ return;
123
+ }
124
+ const c = t ? E(o) : String(o).trim();
125
+ c !== o && delete e[o], e[c] = m(n), s[c] = !0;
126
+ }), this;
127
+ }
128
+ concat(...t) {
129
+ return this.constructor.concat(this, ...t);
130
+ }
131
+ toJSON(t) {
132
+ const e = /* @__PURE__ */ Object.create(null);
133
+ return i.forEach(this, (s, n) => {
134
+ s != null && s !== !1 && (e[n] = t && i.isArray(s) ? s.join(", ") : s);
135
+ }), e;
136
+ }
137
+ [Symbol.iterator]() {
138
+ return Object.entries(this.toJSON())[Symbol.iterator]();
139
+ }
140
+ toString() {
141
+ return Object.entries(this.toJSON()).map(([t, e]) => t + ": " + e).join(`
142
+ `);
143
+ }
144
+ getSetCookie() {
145
+ return this.get("set-cookie") || [];
146
+ }
147
+ get [Symbol.toStringTag]() {
148
+ return "AxiosHeaders";
149
+ }
150
+ static from(t) {
151
+ return t instanceof this ? t : new this(t);
152
+ }
153
+ static concat(t, ...e) {
154
+ const s = new this(t);
155
+ return e.forEach((n) => s.set(n)), s;
156
+ }
157
+ static accessor(t) {
158
+ const s = (this[h] = this[h] = {
159
+ accessors: {}
160
+ }).accessors, n = this.prototype;
161
+ function o(f) {
162
+ const c = y(f);
163
+ s[c] || (j(n, f), s[c] = !0);
164
+ }
165
+ return i.isArray(t) ? t.forEach(o) : o(t), this;
166
+ }
64
167
  }
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());
168
+ b.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
169
+ i.reduceDescriptors(b.prototype, ({ value: r }, t) => {
170
+ let e = t[0].toUpperCase() + t.slice(1);
171
+ return {
172
+ get: () => r,
173
+ set(s) {
174
+ this[e] = s;
79
175
  }
80
- return !0;
81
176
  };
82
- }
177
+ });
178
+ i.freezeMethods(b);
83
179
  export {
84
- V as liftListItem,
85
- B as sinkListItem,
86
- O as wrapInList,
87
- S as wrapRangeInList
180
+ b as default
88
181
  };