@quoreadmin/ui 1.4.4 → 1.4.6

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 (131) hide show
  1. package/dist/index164.js +14 -14
  2. package/dist/index165.js +3 -3
  3. package/dist/index168.js +4 -4
  4. package/dist/index175.js +10 -10
  5. package/dist/index176.js +273 -2
  6. package/dist/index177.js +3 -3
  7. package/dist/index181.js +17 -17
  8. package/dist/index184.js +5 -5
  9. package/dist/index185.js +1 -1
  10. package/dist/index186.js +1 -1
  11. package/dist/index187.js +1 -1
  12. package/dist/index195.js +4 -4
  13. package/dist/index196.js +158 -30
  14. package/dist/index197.js +224 -112
  15. package/dist/index198.js +32 -31
  16. package/dist/index199.js +10 -26
  17. package/dist/index200.js +30 -33
  18. package/dist/index201.js +116 -9
  19. package/dist/index202.js +35 -18
  20. package/dist/index203.js +26 -10
  21. package/dist/index204.js +36 -10
  22. package/dist/index205.js +9 -51
  23. package/dist/index206.js +18 -42
  24. package/dist/index207.js +10 -4
  25. package/dist/index208.js +10 -39
  26. package/dist/index209.js +51 -21
  27. package/dist/index210.js +39 -157
  28. package/dist/index211.js +3 -19
  29. package/dist/index212.js +38 -19
  30. package/dist/index213.js +21 -22
  31. package/dist/index214.js +80 -191
  32. package/dist/index215.js +394 -57
  33. package/dist/index216.js +19 -85
  34. package/dist/index217.js +137 -383
  35. package/dist/index218.js +20 -34
  36. package/dist/index219.js +19 -39
  37. package/dist/index220.js +21 -160
  38. package/dist/index221.js +189 -218
  39. package/dist/index222.js +69 -36
  40. package/dist/index223.js +34 -10
  41. package/dist/index224.js +39 -21
  42. package/dist/index235.js +8 -8
  43. package/dist/index236.js +2 -2
  44. package/dist/index242.js +2 -2
  45. package/dist/index243.js +2 -2
  46. package/dist/index244.js +6 -6
  47. package/dist/index253.js +6 -6
  48. package/dist/index254.js +1 -1
  49. package/dist/index255.js +1 -1
  50. package/dist/index268.js +2 -2
  51. package/dist/index270.js +1 -1
  52. package/dist/index284.js +1504 -221
  53. package/dist/index285.js +384 -4
  54. package/dist/index286.js +2715 -118
  55. package/dist/index287.js +83 -65
  56. package/dist/index288.js +3768 -85
  57. package/dist/index289.js +57 -26
  58. package/dist/index290.js +77 -7
  59. package/dist/index291.js +21 -74
  60. package/dist/index292.js +934 -3
  61. package/dist/index293.js +22 -2
  62. package/dist/index294.js +19 -82
  63. package/dist/index295.js +19 -53
  64. package/dist/index296.js +68 -5
  65. package/dist/index297.js +19 -5
  66. package/dist/index298.js +18 -178
  67. package/dist/index299.js +21 -62
  68. package/dist/index300.js +22 -75
  69. package/dist/index301.js +52 -68
  70. package/dist/index302.js +15 -22
  71. package/dist/index303.js +72 -923
  72. package/dist/index304.js +202 -22
  73. package/dist/index305.js +246 -20
  74. package/dist/index306.js +234 -19
  75. package/dist/index307.js +5 -68
  76. package/dist/index308.js +133 -18
  77. package/dist/index309.js +68 -19
  78. package/dist/index310.js +85 -20
  79. package/dist/index311.js +28 -21
  80. package/dist/index312.js +8 -62
  81. package/dist/index313.js +64 -1507
  82. package/dist/index314.js +3 -385
  83. package/dist/index315.js +2 -2731
  84. package/dist/index316.js +77 -80
  85. package/dist/index317.js +53 -3769
  86. package/dist/index318.js +4 -58
  87. package/dist/index319.js +5 -15
  88. package/dist/index320.js +166 -71
  89. package/dist/index321.js +57 -196
  90. package/dist/index322.js +75 -246
  91. package/dist/index326.js +1 -1
  92. package/dist/index331.js +1 -1
  93. package/dist/index336.js +2 -2
  94. package/dist/index341.js +1 -1
  95. package/dist/index342.js +2 -2
  96. package/dist/index347.js +19 -20
  97. package/dist/index348.js +19 -55
  98. package/dist/index349.js +63 -28
  99. package/dist/index350.js +37 -7
  100. package/dist/index351.js +18 -49
  101. package/dist/index352.js +56 -6
  102. package/dist/index353.js +27 -10
  103. package/dist/index354.js +7 -7
  104. package/dist/index355.js +51 -27
  105. package/dist/index356.js +6 -2
  106. package/dist/index357.js +11 -69
  107. package/dist/index358.js +6 -166
  108. package/dist/index359.js +28 -20
  109. package/dist/index360.js +2 -20
  110. package/dist/index361.js +67 -61
  111. package/dist/index362.js +166 -36
  112. package/dist/index363.js +17 -31
  113. package/dist/index364.js +100 -10
  114. package/dist/index365.js +90 -3
  115. package/dist/index366.js +98 -4
  116. package/dist/index367.js +30 -12
  117. package/dist/index368.js +11 -7
  118. package/dist/index369.js +3 -11
  119. package/dist/index370.js +3 -4
  120. package/dist/index371.js +13 -33
  121. package/dist/index372.js +7 -31
  122. package/dist/index373.js +12 -28
  123. package/dist/index374.js +5 -61
  124. package/dist/index375.js +33 -17
  125. package/dist/index376.js +29 -99
  126. package/dist/index377.js +28 -91
  127. package/dist/index378.js +59 -96
  128. package/dist/index379.js +1 -1
  129. package/dist/index384.js +1 -1
  130. package/dist/index385.js +2 -2
  131. package/package.json +3 -3
package/dist/index377.js CHANGED
@@ -1,93 +1,30 @@
1
- var t = {
2
- 8: "Backspace",
3
- 9: "Tab",
4
- 10: "Enter",
5
- 12: "NumLock",
6
- 13: "Enter",
7
- 16: "Shift",
8
- 17: "Control",
9
- 18: "Alt",
10
- 20: "CapsLock",
11
- 27: "Escape",
12
- 32: " ",
13
- 33: "PageUp",
14
- 34: "PageDown",
15
- 35: "End",
16
- 36: "Home",
17
- 37: "ArrowLeft",
18
- 38: "ArrowUp",
19
- 39: "ArrowRight",
20
- 40: "ArrowDown",
21
- 44: "PrintScreen",
22
- 45: "Insert",
23
- 46: "Delete",
24
- 59: ";",
25
- 61: "=",
26
- 91: "Meta",
27
- 92: "Meta",
28
- 106: "*",
29
- 107: "+",
30
- 108: ",",
31
- 109: "-",
32
- 110: ".",
33
- 111: "/",
34
- 144: "NumLock",
35
- 145: "ScrollLock",
36
- 160: "Shift",
37
- 161: "Shift",
38
- 162: "Control",
39
- 163: "Control",
40
- 164: "Alt",
41
- 165: "Alt",
42
- 173: "-",
43
- 186: ";",
44
- 187: "=",
45
- 188: ",",
46
- 189: "-",
47
- 190: ".",
48
- 191: "/",
49
- 192: "`",
50
- 219: "[",
51
- 220: "\\",
52
- 221: "]",
53
- 222: "'"
54
- }, a = {
55
- 48: ")",
56
- 49: "!",
57
- 50: "@",
58
- 51: "#",
59
- 52: "$",
60
- 53: "%",
61
- 54: "^",
62
- 55: "&",
63
- 56: "*",
64
- 57: "(",
65
- 59: ":",
66
- 61: "+",
67
- 173: "_",
68
- 186: ":",
69
- 187: "+",
70
- 188: "<",
71
- 189: "_",
72
- 190: ">",
73
- 191: "?",
74
- 192: "~",
75
- 219: "{",
76
- 220: "|",
77
- 221: "}",
78
- 222: '"'
79
- }, n = typeof navigator < "u" && /Mac/.test(navigator.platform), y = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
80
- for (var r = 0; r < 10; r++) t[48 + r] = t[96 + r] = String(r);
81
- for (var r = 1; r <= 24; r++) t[r + 111] = "F" + r;
82
- for (var r = 65; r <= 90; r++)
83
- t[r] = String.fromCharCode(r + 32), a[r] = String.fromCharCode(r);
84
- for (var i in t) a.hasOwnProperty(i) || (a[i] = t[i]);
85
- function g(o) {
86
- var f = n && o.metaKey && o.shiftKey && !o.ctrlKey && !o.altKey || y && o.shiftKey && o.key && o.key.length == 1 || o.key == "Unidentified", e = !f && o.key || (o.shiftKey ? a : t)[o.keyCode] || o.key || "Unidentified";
87
- return e == "Esc" && (e = "Escape"), e == "Del" && (e = "Delete"), e == "Left" && (e = "ArrowLeft"), e == "Up" && (e = "ArrowUp"), e == "Right" && (e = "ArrowRight"), e == "Down" && (e = "ArrowDown"), e;
88
- }
1
+ import a from "./index312.js";
2
+ import s from "./index317.js";
3
+ import m from "./index306.js";
4
+ const h = (e, t) => {
5
+ const { length: l } = e = e ? e.filter(Boolean) : [];
6
+ if (t || l) {
7
+ let u = new AbortController(), f;
8
+ const n = function(r) {
9
+ if (!f) {
10
+ f = !0, i();
11
+ const o = r instanceof Error ? r : this.reason;
12
+ u.abort(o instanceof s ? o : new a(o instanceof Error ? o.message : o));
13
+ }
14
+ };
15
+ let c = t && setTimeout(() => {
16
+ c = null, n(new s(`timeout ${t} of ms exceeded`, s.ETIMEDOUT));
17
+ }, t);
18
+ const i = () => {
19
+ e && (c && clearTimeout(c), c = null, e.forEach((r) => {
20
+ r.unsubscribe ? r.unsubscribe(n) : r.removeEventListener("abort", n);
21
+ }), e = null);
22
+ };
23
+ e.forEach((r) => r.addEventListener("abort", n));
24
+ const { signal: b } = u;
25
+ return b.unsubscribe = () => m.asap(i), b;
26
+ }
27
+ };
89
28
  export {
90
- t as base,
91
- g as keyName,
92
- a as shift
29
+ h as default
93
30
  };
package/dist/index378.js CHANGED
@@ -1,100 +1,63 @@
1
- var l = 200, p = function() {
2
- };
3
- p.prototype.append = function(t) {
4
- return t.length ? (t = p.from(t), !this.length && t || t.length < l && this.leafAppend(t) || this.length < l && t.leafPrepend(this) || this.appendInner(t)) : this;
5
- };
6
- p.prototype.prepend = function(t) {
7
- return t.length ? p.from(t).append(this) : this;
8
- };
9
- p.prototype.appendInner = function(t) {
10
- return new u(this, t);
11
- };
12
- p.prototype.slice = function(t, r) {
13
- return t === void 0 && (t = 0), r === void 0 && (r = this.length), t >= r ? p.empty : this.sliceInner(Math.max(0, t), Math.min(this.length, r));
14
- };
15
- p.prototype.get = function(t) {
16
- if (!(t < 0 || t >= this.length))
17
- return this.getInner(t);
18
- };
19
- p.prototype.forEach = function(t, r, e) {
20
- r === void 0 && (r = 0), e === void 0 && (e = this.length), r <= e ? this.forEachInner(t, r, e, 0) : this.forEachInvertedInner(t, r, e, 0);
21
- };
22
- p.prototype.map = function(t, r, e) {
23
- r === void 0 && (r = 0), e === void 0 && (e = this.length);
24
- var n = [];
25
- return this.forEach(function(i, s) {
26
- return n.push(t(i, s));
27
- }, r, e), n;
28
- };
29
- p.from = function(t) {
30
- return t instanceof p ? t : t && t.length ? new o(t) : p.empty;
31
- };
32
- var o = /* @__PURE__ */ (function(h) {
33
- function t(e) {
34
- h.call(this), this.values = e;
1
+ const f = function* (e, t) {
2
+ let n = e.byteLength;
3
+ if (n < t) {
4
+ yield e;
5
+ return;
35
6
  }
36
- h && (t.__proto__ = h), t.prototype = Object.create(h && h.prototype), t.prototype.constructor = t;
37
- var r = { length: { configurable: !0 }, depth: { configurable: !0 } };
38
- return t.prototype.flatten = function() {
39
- return this.values;
40
- }, t.prototype.sliceInner = function(n, i) {
41
- return n == 0 && i == this.length ? this : new t(this.values.slice(n, i));
42
- }, t.prototype.getInner = function(n) {
43
- return this.values[n];
44
- }, t.prototype.forEachInner = function(n, i, s, f) {
45
- for (var a = i; a < s; a++)
46
- if (n(this.values[a], f + a) === !1)
47
- return !1;
48
- }, t.prototype.forEachInvertedInner = function(n, i, s, f) {
49
- for (var a = i - 1; a >= s; a--)
50
- if (n(this.values[a], f + a) === !1)
51
- return !1;
52
- }, t.prototype.leafAppend = function(n) {
53
- if (this.length + n.length <= l)
54
- return new t(this.values.concat(n.flatten()));
55
- }, t.prototype.leafPrepend = function(n) {
56
- if (this.length + n.length <= l)
57
- return new t(n.flatten().concat(this.values));
58
- }, r.length.get = function() {
59
- return this.values.length;
60
- }, r.depth.get = function() {
61
- return 0;
62
- }, Object.defineProperties(t.prototype, r), t;
63
- })(p);
64
- p.empty = new o([]);
65
- var u = /* @__PURE__ */ (function(h) {
66
- function t(r, e) {
67
- h.call(this), this.left = r, this.right = e, this.length = r.length + e.length, this.depth = Math.max(r.depth, e.depth) + 1;
7
+ let a = 0, r;
8
+ for (; a < n; )
9
+ r = a + t, yield e.slice(a, r), a = r;
10
+ }, w = async function* (e, t) {
11
+ for await (const n of b(e))
12
+ yield* f(n, t);
13
+ }, b = async function* (e) {
14
+ if (e[Symbol.asyncIterator]) {
15
+ yield* e;
16
+ return;
68
17
  }
69
- return h && (t.__proto__ = h), t.prototype = Object.create(h && h.prototype), t.prototype.constructor = t, t.prototype.flatten = function() {
70
- return this.left.flatten().concat(this.right.flatten());
71
- }, t.prototype.getInner = function(e) {
72
- return e < this.left.length ? this.left.get(e) : this.right.get(e - this.left.length);
73
- }, t.prototype.forEachInner = function(e, n, i, s) {
74
- var f = this.left.length;
75
- if (n < f && this.left.forEachInner(e, n, Math.min(i, f), s) === !1 || i > f && this.right.forEachInner(e, Math.max(n - f, 0), Math.min(this.length, i) - f, s + f) === !1)
76
- return !1;
77
- }, t.prototype.forEachInvertedInner = function(e, n, i, s) {
78
- var f = this.left.length;
79
- if (n > f && this.right.forEachInvertedInner(e, n - f, Math.max(i, f) - f, s + f) === !1 || i < f && this.left.forEachInvertedInner(e, Math.min(n, f), i, s) === !1)
80
- return !1;
81
- }, t.prototype.sliceInner = function(e, n) {
82
- if (e == 0 && n == this.length)
83
- return this;
84
- var i = this.left.length;
85
- return n <= i ? this.left.slice(e, n) : e >= i ? this.right.slice(e - i, n - i) : this.left.slice(e, i).append(this.right.slice(0, n - i));
86
- }, t.prototype.leafAppend = function(e) {
87
- var n = this.right.leafAppend(e);
88
- if (n)
89
- return new t(this.left, n);
90
- }, t.prototype.leafPrepend = function(e) {
91
- var n = this.left.leafPrepend(e);
92
- if (n)
93
- return new t(n, this.right);
94
- }, t.prototype.appendInner = function(e) {
95
- return this.left.depth >= Math.max(this.right.depth, e.depth) + 1 ? new t(this.left, new t(this.right, e)) : new t(this, e);
96
- }, t;
97
- })(p);
18
+ const t = e.getReader();
19
+ try {
20
+ for (; ; ) {
21
+ const { done: n, value: a } = await t.read();
22
+ if (n)
23
+ break;
24
+ yield a;
25
+ }
26
+ } finally {
27
+ await t.cancel();
28
+ }
29
+ }, h = (e, t, n, a) => {
30
+ const r = w(e, t);
31
+ let d = 0, o, c = (l) => {
32
+ o || (o = !0, a && a(l));
33
+ };
34
+ return new ReadableStream({
35
+ async pull(l) {
36
+ try {
37
+ const { done: i, value: y } = await r.next();
38
+ if (i) {
39
+ c(), l.close();
40
+ return;
41
+ }
42
+ let s = y.byteLength;
43
+ if (n) {
44
+ let u = d += s;
45
+ n(u);
46
+ }
47
+ l.enqueue(new Uint8Array(y));
48
+ } catch (i) {
49
+ throw c(i), i;
50
+ }
51
+ },
52
+ cancel(l) {
53
+ return c(l), r.return();
54
+ }
55
+ }, {
56
+ highWaterMark: 2
57
+ });
58
+ };
98
59
  export {
99
- p as default
60
+ w as readBytes,
61
+ f as streamChunk,
62
+ h as trackStream
100
63
  };
package/dist/index379.js CHANGED
@@ -1,4 +1,4 @@
1
- import a from "./index363.js";
1
+ import a from "./index367.js";
2
2
  const e = typeof URLSearchParams < "u" ? URLSearchParams : a;
3
3
  export {
4
4
  e as default
package/dist/index384.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index354.js";
1
+ import o from "./index358.js";
2
2
  const n = o.hasStandardBrowserEnv ? /* @__PURE__ */ ((r, e) => (t) => (t = new URL(t, o.origin), r.protocol === t.protocol && r.host === t.host && (e || r.port === t.port)))(
3
3
  new URL(o.origin),
4
4
  o.navigator && /(msie|trident)/i.test(o.navigator.userAgent)
package/dist/index385.js CHANGED
@@ -1,5 +1,5 @@
1
- import n from "./index284.js";
2
- import d from "./index354.js";
1
+ import n from "./index306.js";
2
+ import d from "./index358.js";
3
3
  const p = d.hasStandardBrowserEnv ? (
4
4
  // Standard browser envs support document.cookie
5
5
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quoreadmin/ui",
3
3
  "private": false,
4
- "version": "1.4.4",
4
+ "version": "1.4.6",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css",
@@ -66,7 +66,7 @@
66
66
  "pdfjs-dist": "^4.10.38"
67
67
  },
68
68
  "devDependencies": {
69
- "@intlify/unplugin-vue-i18n": "^2.0.0",
69
+ "@intlify/unplugin-vue-i18n": "^11.0.3",
70
70
  "vue": "^3.5.26",
71
71
  "vue-router": "^4.6.4",
72
72
  "@storybook/addon-designs": "^11.1.1",
@@ -82,7 +82,7 @@
82
82
  "@tiptap/pm": "^3.15.3",
83
83
  "@tiptap/starter-kit": "^3.15.3",
84
84
  "@tiptap/vue-3": "^3.15.3",
85
- "@types/node": "^22.19.6",
85
+ "@types/node": "^25.0.8",
86
86
  "@typescript-eslint/eslint-plugin": "^8.52.0",
87
87
  "@typescript-eslint/parser": "^8.52.0",
88
88
  "@vitejs/plugin-vue": "^6.0.3",