@quoreadmin/ui 1.10.7 → 1.10.10

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 (201) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index138.js +139 -132
  3. package/dist/index183.js +3 -3
  4. package/dist/index193.js +10 -10
  5. package/dist/index195.js +10 -10
  6. package/dist/index198.js +17 -17
  7. package/dist/index201.js +28 -28
  8. package/dist/index202.js +2 -2
  9. package/dist/index203.js +2 -2
  10. package/dist/index204.js +1 -1
  11. package/dist/index206.js +2 -2
  12. package/dist/index208.js +14 -14
  13. package/dist/index209.js +1 -1
  14. package/dist/index210.js +1 -1
  15. package/dist/index211.js +3 -3
  16. package/dist/index212.js +6 -6
  17. package/dist/index216.js +2 -2
  18. package/dist/index217.js +1 -1
  19. package/dist/index219.js +4 -4
  20. package/dist/index221.js +1 -1
  21. package/dist/index222.js +1 -1
  22. package/dist/index223.js +1 -1
  23. package/dist/index224.js +4 -4
  24. package/dist/index226.js +1 -1
  25. package/dist/index227.js +83 -156
  26. package/dist/index228.js +407 -20
  27. package/dist/index229.js +22 -20
  28. package/dist/index230.js +126 -21
  29. package/dist/index231.js +22 -183
  30. package/dist/index232.js +79 -69
  31. package/dist/index233.js +19 -87
  32. package/dist/index234.js +20 -407
  33. package/dist/index235.js +20 -34
  34. package/dist/index236.js +19 -39
  35. package/dist/index237.js +20 -22
  36. package/dist/index238.js +155 -121
  37. package/dist/index239.js +19 -37
  38. package/dist/index240.js +22 -80
  39. package/dist/index241.js +198 -19
  40. package/dist/index242.js +68 -18
  41. package/dist/index243.js +34 -20
  42. package/dist/index244.js +39 -19
  43. package/dist/index249.js +22 -3636
  44. package/dist/index250.js +22 -55
  45. package/dist/index251.js +20 -77
  46. package/dist/index252.js +823 -39
  47. package/dist/index253.js +685 -198
  48. package/dist/index254.js +175 -9
  49. package/dist/index255.js +22 -57
  50. package/dist/index256.js +20 -61
  51. package/dist/index257.js +20 -54
  52. package/dist/index258.js +3 -75
  53. package/dist/index259.js +170 -709
  54. package/dist/index260.js +128 -37
  55. package/dist/index261.js +1214 -55
  56. package/dist/index262.js +20 -11
  57. package/dist/index263.js +22 -705
  58. package/dist/index264.js +22 -820
  59. package/dist/index265.js +22 -15
  60. package/dist/index266.js +13 -15
  61. package/dist/index267.js +12 -12
  62. package/dist/index268.js +2 -836
  63. package/dist/index269.js +2 -702
  64. package/dist/index270.js +3630 -170
  65. package/dist/index271.js +55 -22
  66. package/dist/index272.js +77 -20
  67. package/dist/index273.js +52 -20
  68. package/dist/index274.js +215 -3
  69. package/dist/index275.js +10 -187
  70. package/dist/index276.js +52 -128
  71. package/dist/index277.js +52 -1214
  72. package/dist/index278.js +54 -20
  73. package/dist/index279.js +75 -22
  74. package/dist/index280.js +725 -21
  75. package/dist/index281.js +42 -29
  76. package/dist/index282.js +64 -20
  77. package/dist/index283.js +11 -20
  78. package/dist/index284.js +705 -2
  79. package/dist/index285.js +820 -2
  80. package/dist/index286.js +249 -50
  81. package/dist/index287.js +8 -79
  82. package/dist/index288.js +138 -26
  83. package/dist/index289.js +83 -22
  84. package/dist/index290.js +2 -22
  85. package/dist/index291.js +78 -15
  86. package/dist/index292.js +51 -14
  87. package/dist/index293.js +26 -253
  88. package/dist/index294.js +21 -7
  89. package/dist/index295.js +22 -138
  90. package/dist/index296.js +16 -83
  91. package/dist/index297.js +15 -21
  92. package/dist/index298.js +23 -2
  93. package/dist/index299.js +3 -262
  94. package/dist/index300.js +25 -4
  95. package/dist/index301.js +255 -133
  96. package/dist/index302.js +4 -71
  97. package/dist/index303.js +130 -77
  98. package/dist/index304.js +70 -26
  99. package/dist/index305.js +84 -13
  100. package/dist/index306.js +26 -72
  101. package/dist/index307.js +15 -3
  102. package/dist/index308.js +75 -2
  103. package/dist/index309.js +3 -82
  104. package/dist/index310.js +2 -53
  105. package/dist/index311.js +82 -5
  106. package/dist/index312.js +52 -4
  107. package/dist/index313.js +5 -178
  108. package/dist/index314.js +4 -62
  109. package/dist/index315.js +178 -74
  110. package/dist/index316.js +54 -1525
  111. package/dist/index317.js +74 -385
  112. package/dist/index318.js +79 -2731
  113. package/dist/index319.js +21 -85
  114. package/dist/index320.js +894 -3751
  115. package/dist/index321.js +21 -59
  116. package/dist/index322.js +20 -15
  117. package/dist/index323.js +19 -83
  118. package/dist/index324.js +61 -194
  119. package/dist/index325.js +19 -246
  120. package/dist/index326.js +19 -3
  121. package/dist/index327.js +21 -26
  122. package/dist/index328.js +21 -78
  123. package/dist/index329.js +63 -22
  124. package/dist/index330.js +1507 -908
  125. package/dist/index331.js +386 -22
  126. package/dist/index332.js +2731 -20
  127. package/dist/index333.js +85 -19
  128. package/dist/index334.js +3781 -58
  129. package/dist/index335.js +60 -19
  130. package/dist/index336.js +15 -19
  131. package/dist/index337.js +83 -21
  132. package/dist/index338.js +202 -22
  133. package/dist/index339.js +246 -63
  134. package/dist/index340.js +1 -1
  135. package/dist/index341.js +8 -18
  136. package/dist/index342.js +12 -56
  137. package/dist/index343.js +53 -27
  138. package/dist/index344.js +11 -6
  139. package/dist/index345.js +12 -50
  140. package/dist/index346.js +58 -7
  141. package/dist/index347.js +50 -10
  142. package/dist/index348.js +31 -7
  143. package/dist/index349.js +2 -28
  144. package/dist/index350.js +5 -2
  145. package/dist/index351.js +2 -70
  146. package/dist/index352.js +21 -165
  147. package/dist/index353.js +40 -9
  148. package/dist/index354.js +2 -10
  149. package/dist/index355.js +10 -13
  150. package/dist/index356.js +20 -10
  151. package/dist/index357.js +9 -16
  152. package/dist/index358.js +10 -9
  153. package/dist/index359.js +16 -12
  154. package/dist/index360.js +2 -55
  155. package/dist/index361.js +9 -12
  156. package/dist/index362.js +9 -13
  157. package/dist/index363.js +13 -57
  158. package/dist/index364.js +16 -49
  159. package/dist/index365.js +54 -28
  160. package/dist/index366.js +29 -2
  161. package/dist/index367.js +7 -5
  162. package/dist/index368.js +52 -2
  163. package/dist/index369.js +6 -22
  164. package/dist/index370.js +11 -40
  165. package/dist/index371.js +7 -2
  166. package/dist/index372.js +27 -10
  167. package/dist/index373.js +2 -20
  168. package/dist/index374.js +70 -2
  169. package/dist/index375.js +166 -8
  170. package/dist/index376.js +1 -1
  171. package/dist/index377.js +1 -1
  172. package/dist/index378.js +2 -2
  173. package/dist/index379.js +1 -1
  174. package/dist/index380.js +1 -1
  175. package/dist/index381.js +3 -3
  176. package/dist/index386.js +1 -1
  177. package/dist/index388.js +1 -1
  178. package/dist/index389.js +6 -6
  179. package/dist/index390.js +3 -3
  180. package/dist/index392.js +16 -100
  181. package/dist/index393.js +100 -90
  182. package/dist/index394.js +91 -98
  183. package/dist/index395.js +97 -16
  184. package/dist/index401.js +1 -1
  185. package/dist/index402.js +2 -2
  186. package/dist/index41.js +17 -12
  187. package/dist/index45.js +1 -1
  188. package/dist/index90.js +93 -59
  189. package/dist/src/components/comment/comment.d.ts +10 -6
  190. package/dist/src/components/comment/comment.stories.d.ts +10 -6
  191. package/dist/src/components/comment-section/comment-section.d.ts +10 -6
  192. package/dist/src/components/comment-section/comment-section.stories.d.ts +10 -6
  193. package/dist/src/components/data-filter/data-filter.d.ts +10 -6
  194. package/dist/src/components/data-list/data-list.d.ts +29 -13
  195. package/dist/src/components/grid/grid.stories.d.ts +20 -12
  196. package/dist/src/components/popover/popover.d.ts +10 -6
  197. package/dist/src/components/popover/popover.stories.d.ts +70 -42
  198. package/dist/src/components/room-details-popover/room-details-popover.d.ts +10 -6
  199. package/dist/src/views/lists.vue.d.ts +30 -13
  200. package/dist/src/views/tables.vue.d.ts +10 -6
  201. package/package.json +1 -1
package/dist/index394.js CHANGED
@@ -1,100 +1,93 @@
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;
35
- }
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;
68
- }
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);
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
+ }
98
89
  export {
99
- p as default
90
+ t as base,
91
+ g as keyName,
92
+ a as shift
100
93
  };
package/dist/index395.js CHANGED
@@ -1,19 +1,100 @@
1
- import n from "./index295.js";
2
- var l = {
3
- root: function(e) {
4
- var i = e.instance, t = e.props;
5
- return ["p-inputtext p-component", {
6
- "p-filled": i.filled,
7
- "p-inputtext-sm": t.size === "small",
8
- "p-inputtext-lg": t.size === "large",
9
- "p-invalid": t.invalid,
10
- "p-variant-filled": t.variant ? t.variant === "filled" : i.$primevue.config.inputStyle === "filled"
11
- }];
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;
35
+ }
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;
12
68
  }
13
- }, r = n.extend({
14
- name: "inputtext",
15
- classes: l
16
- });
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);
17
98
  export {
18
- r as default
99
+ p as default
19
100
  };
package/dist/index401.js CHANGED
@@ -1,4 +1,4 @@
1
- import o from "./index348.js";
1
+ import o from "./index371.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/index402.js CHANGED
@@ -1,5 +1,5 @@
1
- import n from "./index299.js";
2
- import d from "./index348.js";
1
+ import n from "./index301.js";
2
+ import d from "./index371.js";
3
3
  const p = d.hasStandardBrowserEnv ? (
4
4
  // Standard browser envs support document.cookie
5
5
  {
package/dist/index41.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import f from "./index138.js";
2
- import { openBlock as o, createElementBlock as n, renderSlot as t, createBlock as a, Transition as p, withCtx as l, normalizeStyle as s, normalizeClass as i, createCommentVNode as d, Teleport as u, createVNode as m, withModifiers as k } from "vue";
2
+ import { openBlock as o, createElementBlock as n, renderSlot as t, createBlock as p, Transition as a, withCtx as s, normalizeStyle as l, normalizeClass as i, createCommentVNode as d, Teleport as u, createVNode as m, withModifiers as k, createElementVNode as y } from "vue";
3
3
  /* empty css */
4
4
  /* empty css */
5
5
  import g from "./index65.js";
6
- function y(e, r, C, L, $, E) {
6
+ function C(e, r, E, L, $, w) {
7
7
  return o(), n("div", {
8
8
  ref: "popover",
9
9
  class: "popover-container",
@@ -13,16 +13,16 @@ function y(e, r, C, L, $, E) {
13
13
  onClick: e.onClick,
14
14
  onMouseOver: e.onMouseOver
15
15
  }, void 0, !0),
16
- e.teleport ? (o(), a(u, {
16
+ e.teleport ? (o(), p(u, {
17
17
  key: 1,
18
18
  to: e.teleportTo
19
19
  }, [
20
- m(p, {
20
+ m(a, {
21
21
  name: "q-popover-fade",
22
22
  onEnter: e.onEnter,
23
23
  onAfterLeave: e.onAfterLeave
24
24
  }, {
25
- default: l(() => [
25
+ default: s(() => [
26
26
  e.modelValue ? (o(), n("div", {
27
27
  key: 0,
28
28
  class: i([
@@ -32,22 +32,27 @@ function y(e, r, C, L, $, E) {
32
32
  "popover-on-" + e.positioning,
33
33
  { "has-caret": e.hasCaret }
34
34
  ]),
35
- style: s(e.teleportedStyle),
35
+ style: l(e.teleportedStyle),
36
36
  onClick: r[0] || (r[0] = k(() => {
37
37
  }, ["stop"]))
38
38
  }, [
39
- t(e.$slots, "content", {}, void 0, !0)
39
+ y("div", {
40
+ class: "q-popover-content w-full min-h-0",
41
+ style: l(e.teleportedContentStyle)
42
+ }, [
43
+ t(e.$slots, "content", {}, void 0, !0)
44
+ ], 4)
40
45
  ], 6)) : d("", !0)
41
46
  ]),
42
47
  _: 3
43
48
  }, 8, ["onEnter", "onAfterLeave"])
44
- ], 8, ["to"])) : (o(), a(p, {
49
+ ], 8, ["to"])) : (o(), p(a, {
45
50
  key: 0,
46
51
  name: "fade",
47
52
  onEnter: e.onEnter,
48
53
  onAfterLeave: e.onAfterLeave
49
54
  }, {
50
- default: l(() => [
55
+ default: s(() => [
51
56
  e.modelValue ? (o(), n("div", {
52
57
  key: 0,
53
58
  class: i([
@@ -57,7 +62,7 @@ function y(e, r, C, L, $, E) {
57
62
  "popover-on-" + e.positioning,
58
63
  { "has-caret": e.hasCaret }
59
64
  ]),
60
- style: s(e.offsetStyle)
65
+ style: l(e.offsetStyle)
61
66
  }, [
62
67
  t(e.$slots, "content", {}, void 0, !0)
63
68
  ], 6)) : d("", !0)
@@ -66,7 +71,7 @@ function y(e, r, C, L, $, E) {
66
71
  }, 8, ["onEnter", "onAfterLeave"]))
67
72
  ], 544);
68
73
  }
69
- const S = /* @__PURE__ */ g(f, [["render", y], ["__scopeId", "data-v-41d1d2a6"]]);
74
+ const V = /* @__PURE__ */ g(f, [["render", C], ["__scopeId", "data-v-fec53f93"]]);
70
75
  export {
71
- S as default
76
+ V as default
72
77
  };
package/dist/index45.js CHANGED
@@ -430,7 +430,7 @@ function Ro(e, l, Go, Lo, zo, Yo) {
430
430
  _: 1
431
431
  }, 8, ["modelValue"])) : t("", !0),
432
432
  n("div", le, [
433
- r(q, null, {
433
+ r(q, { teleport: "" }, {
434
434
  trigger: d(() => [
435
435
  r(p, {
436
436
  icon: "close",
package/dist/index90.js CHANGED
@@ -1,16 +1,16 @@
1
- import { defineComponent as U, ref as a, computed as v, onMounted as q, onUnmounted as A, nextTick as M } from "vue";
2
- import C from "./index6.js";
3
- import O from "./index15.js";
4
- import { useDrag as j } from "./index181.js";
5
- import { useMotionProperties as G, useMotionTransitions as I } from "./index182.js";
6
- import { useWindowScroll as J, useScroll as K } from "./index173.js";
7
- import H from "./index57.js";
8
- import X from "./index58.js";
9
- const ne = U({
1
+ import { defineComponent as G, ref as l, computed as i, onMounted as I, onUnmounted as J, nextTick as F } from "vue";
2
+ import K from "./index6.js";
3
+ import X from "./index15.js";
4
+ import { useDrag as _ } from "./index181.js";
5
+ import { useMotionProperties as ee, useMotionTransitions as te } from "./index182.js";
6
+ import { useWindowScroll as le, useScroll as Q } from "./index173.js";
7
+ import V from "./index57.js";
8
+ import ae from "./index58.js";
9
+ const de = G({
10
10
  name: "QDataList",
11
11
  components: {
12
- QBadge: C,
13
- QDataFilter: O
12
+ QBadge: K,
13
+ QDataFilter: X
14
14
  },
15
15
  props: {
16
16
  /** Pass in an ID unique to the list. */
@@ -63,79 +63,113 @@ const ne = U({
63
63
  type: String,
64
64
  default: "row"
65
65
  // row, ordered, unordered
66
+ },
67
+ /** Scroll container: element ref, or CSS selector (e.g. '.page-layout__sidebar-inner') resolved via closest from list root. When null/undefined, uses window. */
68
+ scrollTarget: {
69
+ type: [Object, String],
70
+ default: null
66
71
  }
67
72
  },
68
73
  emits: ["filters-action", "page-updated", "click:list-item"],
69
- setup(l, { emit: R }) {
70
- const { deviceType: T } = X(), { y: t } = J(), { y: f } = K(window, { behavior: "smooth" }), g = a(0), n = a("down"), m = a(null), L = a(0), r = a(!1), P = a(!0), s = a(H.md ? !1 : l.hideSearch), p = a(!s.value), i = a(null), b = {
74
+ setup(n, { emit: R }) {
75
+ const { deviceType: E } = ae(), { y: P } = le(), { y: B } = Q(window, { behavior: "smooth" }), h = l(0), f = l("down"), a = l(null), { y: b } = Q(a), W = () => {
76
+ const e = n.scrollTarget;
77
+ if (e == null) {
78
+ a.value = null;
79
+ return;
80
+ }
81
+ if (typeof e == "string") {
82
+ const o = /^[.#\[a-zA-Z]/.test(e) ? e : `.${e}`, r = s.value?.closest(o) ?? null;
83
+ a.value = r;
84
+ return;
85
+ }
86
+ a.value = e;
87
+ }, w = i(() => a.value != null), t = i({
88
+ get: () => w.value ? b.value : P.value,
89
+ set: (e) => {
90
+ w.value ? b.value = e : B.value = e;
91
+ }
92
+ }), s = l(null), M = l(0), g = l(!1), k = l(!0), c = l(V.md ? !1 : n.hideSearch), y = l(!c.value), x = {
71
93
  type: "keyframe",
72
94
  ease: "linear",
73
95
  duration: 0,
74
96
  delay: 0
75
- }, u = a(null), c = a(1), F = a(null), h = a(window.innerHeight), { motionProperties: Q } = G(u), { push: V } = I(), W = v(() => T.value === "desktop"), Y = v(() => c.value * l.itemsPerPage - 1), w = v(() => t.value <= 0 ? 70 : t.value > 70 ? 0 : 70 - t.value), k = v(() => Math.ceil(l.modelValue?.length / l.itemsPerPage) || 1), x = (e) => {
76
- !e.dragging && t.value <= 24 && t.value >= 0 && (f.value = 0), !e.dragging && t.value > 24 && t.value < 70 && (f.value = 70), !(t.value > 0) && (r.value ? N(e) : z(e));
97
+ }, m = l(null), v = l(1), A = l(null), S = l(window.innerHeight), { motionProperties: N } = ee(m), { push: O } = te(), u = l(null), T = l(null), U = i(() => E.value === "desktop"), j = i(() => v.value * n.itemsPerPage - 1), D = i(() => t.value <= 0 ? 70 : t.value > 70 ? 0 : 70 - t.value), Y = i(() => Math.ceil(n.modelValue?.length / n.itemsPerPage) || 1), q = (e) => {
98
+ !e.dragging && t.value <= 24 && t.value >= 0 && (t.value = 0), !e.dragging && t.value > 24 && t.value < 70 && (t.value = 70), !(t.value > 0) && (g.value ? $(e) : Z(e));
77
99
  };
78
- s.value && j(x, {
79
- domTarget: u,
100
+ c.value && _(q, {
101
+ domTarget: m,
80
102
  filterTaps: !0,
81
103
  useTouch: !0,
82
104
  delay: 100
83
105
  });
84
- const z = (e) => {
85
- e.tap || e.axis === "x" || (r.value = !0);
86
- }, N = (e) => {
106
+ const Z = (e) => {
107
+ e.tap || e.axis === "x" || (g.value = !0);
108
+ }, $ = (e) => {
87
109
  if (e.tap || e.axis === "x")
88
110
  return;
89
- const o = e.direction[1], D = o >= 0, E = o <= 0 && t.value <= 0;
90
- !p.value && (D || E) && y(!E, "drag"), r.value = !1;
91
- }, d = async () => {
92
- const e = t.value + h.value, o = m.value.offsetTop + m.value.offsetHeight;
93
- e > o - 400 && c.value < k.value && (c.value++, R("page-updated"));
94
- }, y = async (e, o) => {
95
- if (p.value = e, await M(), P.value && n.value === "up" && t.value <= 0 || o === "drag") {
96
- const D = w.value ? w.value : 0;
97
- V("y", D, Q, b), P.value = !1;
111
+ const o = e.direction[1], r = o >= 0, z = o <= 0 && t.value <= 0;
112
+ !y.value && (r || z) && L(!z, "drag"), g.value = !1;
113
+ }, d = () => {
114
+ if (!(!s.value || v.value >= Y.value))
115
+ if (w.value && a.value) {
116
+ const e = a.value.getBoundingClientRect(), r = s.value.getBoundingClientRect().bottom - 400;
117
+ e.bottom > r && (v.value++, R("page-updated"));
118
+ } else {
119
+ const e = P.value + S.value, o = s.value.offsetTop + s.value.offsetHeight;
120
+ e > o - 400 && (v.value++, R("page-updated"));
121
+ }
122
+ }, L = async (e, o) => {
123
+ if (y.value = e, await F(), k.value && f.value === "up" && t.value <= 0 || o === "drag") {
124
+ const r = D.value ? D.value : 0;
125
+ O("y", r, N, x), k.value = !1;
98
126
  }
99
- }, S = () => {
100
- const e = Math.max(0, t.value) > g.value ? "down" : "up";
101
- e !== n.value && (n.value = e), t.value < 70 && y(!0, "scroll"), g.value = Math.max(0, t.value), d();
102
- }, B = async () => {
103
- h.value = window.innerHeight, await M();
127
+ }, p = () => {
128
+ const e = Math.max(0, t.value) > h.value ? "down" : "up";
129
+ e !== f.value && (f.value = e), t.value < 70 && L(!0, "scroll"), h.value = Math.max(0, t.value), d();
130
+ }, H = async () => {
131
+ S.value = window.innerHeight, await F();
132
+ }, C = () => {
133
+ c.value ? p() : d();
104
134
  };
105
- return q(() => {
106
- s.value ? (L.value = u.value.offsetTop - 16, window.addEventListener("scroll", S), i.value = "onScroll") : (window.addEventListener("scroll", d), i.value = "scrollWatcher"), window.addEventListener("resize", B);
107
- }), A(() => {
108
- i.value === "onScroll" ? window.removeEventListener("scroll", S) : i.value === "scrollWatcher" && window.removeEventListener("scroll", d), window.removeEventListener("resize", B);
135
+ return I(() => {
136
+ if (c.value ? (M.value = m.value.offsetTop - 16, n.scrollTarget || (window.addEventListener("scroll", p), u.value = "onScroll")) : n.scrollTarget || (window.addEventListener("scroll", d), u.value = "scrollWatcher"), W(), n.scrollTarget && a.value) {
137
+ const e = a.value;
138
+ e.addEventListener("scroll", C), T.value = e, u.value = "custom";
139
+ }
140
+ window.addEventListener("resize", H);
141
+ }), J(() => {
142
+ u.value === "onScroll" ? window.removeEventListener("scroll", p) : u.value === "scrollWatcher" ? window.removeEventListener("scroll", d) : u.value === "custom" && T.value && T.value.removeEventListener("scroll", C), window.removeEventListener("resize", H);
109
143
  }), {
110
144
  // Refs
111
- dataListRef: m,
112
- defaultSearchTop: L,
113
- isDragging: r,
114
- isSearchVisible: p,
115
- hiddenSearch: s,
116
- listRef: u,
117
- page: c,
118
- prevScrollY: g,
145
+ dataListRef: s,
146
+ defaultSearchTop: M,
147
+ isDragging: g,
148
+ isSearchVisible: y,
149
+ hiddenSearch: c,
150
+ listRef: m,
151
+ page: v,
152
+ prevScrollY: h,
119
153
  scrollY: t,
120
- scrollToY: f,
121
- searchRef: F,
122
- windowHeight: h,
154
+ scrollToY: B,
155
+ searchRef: A,
156
+ windowHeight: S,
123
157
  // Computed
124
- direction: n,
125
- isDesktop: W,
126
- lastOnPage: Y,
127
- searchHeight: w,
128
- totalPages: k,
158
+ direction: f,
159
+ isDesktop: U,
160
+ lastOnPage: j,
161
+ searchHeight: D,
162
+ totalPages: Y,
129
163
  // Methods
130
- onScroll: S,
164
+ onScroll: p,
131
165
  scrollWatcher: d,
132
- toggleSearch: y,
166
+ toggleSearch: L,
133
167
  // Composable
134
- deviceType: T,
135
- mq: H
168
+ deviceType: E,
169
+ mq: V
136
170
  };
137
171
  }
138
172
  });
139
173
  export {
140
- ne as default
174
+ de as default
141
175
  };