@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.
- package/dist/index.css +1 -1
- package/dist/index138.js +139 -132
- package/dist/index183.js +3 -3
- package/dist/index193.js +10 -10
- package/dist/index195.js +10 -10
- package/dist/index198.js +17 -17
- package/dist/index201.js +28 -28
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index216.js +2 -2
- package/dist/index217.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index221.js +1 -1
- package/dist/index222.js +1 -1
- package/dist/index223.js +1 -1
- package/dist/index224.js +4 -4
- package/dist/index226.js +1 -1
- package/dist/index227.js +83 -156
- package/dist/index228.js +407 -20
- package/dist/index229.js +22 -20
- package/dist/index230.js +126 -21
- package/dist/index231.js +22 -183
- package/dist/index232.js +79 -69
- package/dist/index233.js +19 -87
- package/dist/index234.js +20 -407
- package/dist/index235.js +20 -34
- package/dist/index236.js +19 -39
- package/dist/index237.js +20 -22
- package/dist/index238.js +155 -121
- package/dist/index239.js +19 -37
- package/dist/index240.js +22 -80
- package/dist/index241.js +198 -19
- package/dist/index242.js +68 -18
- package/dist/index243.js +34 -20
- package/dist/index244.js +39 -19
- package/dist/index249.js +22 -3636
- package/dist/index250.js +22 -55
- package/dist/index251.js +20 -77
- package/dist/index252.js +823 -39
- package/dist/index253.js +685 -198
- package/dist/index254.js +175 -9
- package/dist/index255.js +22 -57
- package/dist/index256.js +20 -61
- package/dist/index257.js +20 -54
- package/dist/index258.js +3 -75
- package/dist/index259.js +170 -709
- package/dist/index260.js +128 -37
- package/dist/index261.js +1214 -55
- package/dist/index262.js +20 -11
- package/dist/index263.js +22 -705
- package/dist/index264.js +22 -820
- package/dist/index265.js +22 -15
- package/dist/index266.js +13 -15
- package/dist/index267.js +12 -12
- package/dist/index268.js +2 -836
- package/dist/index269.js +2 -702
- package/dist/index270.js +3630 -170
- package/dist/index271.js +55 -22
- package/dist/index272.js +77 -20
- package/dist/index273.js +52 -20
- package/dist/index274.js +215 -3
- package/dist/index275.js +10 -187
- package/dist/index276.js +52 -128
- package/dist/index277.js +52 -1214
- package/dist/index278.js +54 -20
- package/dist/index279.js +75 -22
- package/dist/index280.js +725 -21
- package/dist/index281.js +42 -29
- package/dist/index282.js +64 -20
- package/dist/index283.js +11 -20
- package/dist/index284.js +705 -2
- package/dist/index285.js +820 -2
- package/dist/index286.js +249 -50
- package/dist/index287.js +8 -79
- package/dist/index288.js +138 -26
- package/dist/index289.js +83 -22
- package/dist/index290.js +2 -22
- package/dist/index291.js +78 -15
- package/dist/index292.js +51 -14
- package/dist/index293.js +26 -253
- package/dist/index294.js +21 -7
- package/dist/index295.js +22 -138
- package/dist/index296.js +16 -83
- package/dist/index297.js +15 -21
- package/dist/index298.js +23 -2
- package/dist/index299.js +3 -262
- package/dist/index300.js +25 -4
- package/dist/index301.js +255 -133
- package/dist/index302.js +4 -71
- package/dist/index303.js +130 -77
- package/dist/index304.js +70 -26
- package/dist/index305.js +84 -13
- package/dist/index306.js +26 -72
- package/dist/index307.js +15 -3
- package/dist/index308.js +75 -2
- package/dist/index309.js +3 -82
- package/dist/index310.js +2 -53
- package/dist/index311.js +82 -5
- package/dist/index312.js +52 -4
- package/dist/index313.js +5 -178
- package/dist/index314.js +4 -62
- package/dist/index315.js +178 -74
- package/dist/index316.js +54 -1525
- package/dist/index317.js +74 -385
- package/dist/index318.js +79 -2731
- package/dist/index319.js +21 -85
- package/dist/index320.js +894 -3751
- package/dist/index321.js +21 -59
- package/dist/index322.js +20 -15
- package/dist/index323.js +19 -83
- package/dist/index324.js +61 -194
- package/dist/index325.js +19 -246
- package/dist/index326.js +19 -3
- package/dist/index327.js +21 -26
- package/dist/index328.js +21 -78
- package/dist/index329.js +63 -22
- package/dist/index330.js +1507 -908
- package/dist/index331.js +386 -22
- package/dist/index332.js +2731 -20
- package/dist/index333.js +85 -19
- package/dist/index334.js +3781 -58
- package/dist/index335.js +60 -19
- package/dist/index336.js +15 -19
- package/dist/index337.js +83 -21
- package/dist/index338.js +202 -22
- package/dist/index339.js +246 -63
- package/dist/index340.js +1 -1
- package/dist/index341.js +8 -18
- package/dist/index342.js +12 -56
- package/dist/index343.js +53 -27
- package/dist/index344.js +11 -6
- package/dist/index345.js +12 -50
- package/dist/index346.js +58 -7
- package/dist/index347.js +50 -10
- package/dist/index348.js +31 -7
- package/dist/index349.js +2 -28
- package/dist/index350.js +5 -2
- package/dist/index351.js +2 -70
- package/dist/index352.js +21 -165
- package/dist/index353.js +40 -9
- package/dist/index354.js +2 -10
- package/dist/index355.js +10 -13
- package/dist/index356.js +20 -10
- package/dist/index357.js +9 -16
- package/dist/index358.js +10 -9
- package/dist/index359.js +16 -12
- package/dist/index360.js +2 -55
- package/dist/index361.js +9 -12
- package/dist/index362.js +9 -13
- package/dist/index363.js +13 -57
- package/dist/index364.js +16 -49
- package/dist/index365.js +54 -28
- package/dist/index366.js +29 -2
- package/dist/index367.js +7 -5
- package/dist/index368.js +52 -2
- package/dist/index369.js +6 -22
- package/dist/index370.js +11 -40
- package/dist/index371.js +7 -2
- package/dist/index372.js +27 -10
- package/dist/index373.js +2 -20
- package/dist/index374.js +70 -2
- package/dist/index375.js +166 -8
- package/dist/index376.js +1 -1
- package/dist/index377.js +1 -1
- package/dist/index378.js +2 -2
- package/dist/index379.js +1 -1
- package/dist/index380.js +1 -1
- package/dist/index381.js +3 -3
- package/dist/index386.js +1 -1
- package/dist/index388.js +1 -1
- package/dist/index389.js +6 -6
- package/dist/index390.js +3 -3
- package/dist/index392.js +16 -100
- package/dist/index393.js +100 -90
- package/dist/index394.js +91 -98
- package/dist/index395.js +97 -16
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/index41.js +17 -12
- package/dist/index45.js +1 -1
- package/dist/index90.js +93 -59
- package/dist/src/components/comment/comment.d.ts +10 -6
- package/dist/src/components/comment/comment.stories.d.ts +10 -6
- package/dist/src/components/comment-section/comment-section.d.ts +10 -6
- package/dist/src/components/comment-section/comment-section.stories.d.ts +10 -6
- package/dist/src/components/data-filter/data-filter.d.ts +10 -6
- package/dist/src/components/data-list/data-list.d.ts +29 -13
- package/dist/src/components/grid/grid.stories.d.ts +20 -12
- package/dist/src/components/popover/popover.d.ts +10 -6
- package/dist/src/components/popover/popover.stories.d.ts +70 -42
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +10 -6
- package/dist/src/views/lists.vue.d.ts +30 -13
- package/dist/src/views/tables.vue.d.ts +10 -6
- package/package.json +1 -1
package/dist/index394.js
CHANGED
|
@@ -1,100 +1,93 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
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
|
-
|
|
90
|
+
t as base,
|
|
91
|
+
g as keyName,
|
|
92
|
+
a as shift
|
|
100
93
|
};
|
package/dist/index395.js
CHANGED
|
@@ -1,19 +1,100 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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
|
-
|
|
99
|
+
p as default
|
|
19
100
|
};
|
package/dist/index401.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import o from "./
|
|
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
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
|
|
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
|
|
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(),
|
|
16
|
+
e.teleport ? (o(), p(u, {
|
|
17
17
|
key: 1,
|
|
18
18
|
to: e.teleportTo
|
|
19
19
|
}, [
|
|
20
|
-
m(
|
|
20
|
+
m(a, {
|
|
21
21
|
name: "q-popover-fade",
|
|
22
22
|
onEnter: e.onEnter,
|
|
23
23
|
onAfterLeave: e.onAfterLeave
|
|
24
24
|
}, {
|
|
25
|
-
default:
|
|
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:
|
|
35
|
+
style: l(e.teleportedStyle),
|
|
36
36
|
onClick: r[0] || (r[0] = k(() => {
|
|
37
37
|
}, ["stop"]))
|
|
38
38
|
}, [
|
|
39
|
-
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|
74
|
+
const V = /* @__PURE__ */ g(f, [["render", C], ["__scopeId", "data-v-fec53f93"]]);
|
|
70
75
|
export {
|
|
71
|
-
|
|
76
|
+
V as default
|
|
72
77
|
};
|
package/dist/index45.js
CHANGED
package/dist/index90.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import { useDrag as
|
|
5
|
-
import { useMotionProperties as
|
|
6
|
-
import { useWindowScroll as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
const
|
|
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:
|
|
13
|
-
QDataFilter:
|
|
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(
|
|
70
|
-
const { deviceType:
|
|
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
|
-
},
|
|
76
|
-
!e.dragging && t.value <= 24 && t.value >= 0 && (
|
|
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
|
-
|
|
79
|
-
domTarget:
|
|
100
|
+
c.value && _(q, {
|
|
101
|
+
domTarget: m,
|
|
80
102
|
filterTaps: !0,
|
|
81
103
|
useTouch: !0,
|
|
82
104
|
delay: 100
|
|
83
105
|
});
|
|
84
|
-
const
|
|
85
|
-
e.tap || e.axis === "x" || (
|
|
86
|
-
},
|
|
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],
|
|
90
|
-
!
|
|
91
|
-
}, d =
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
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
|
-
},
|
|
100
|
-
const e = Math.max(0, t.value) >
|
|
101
|
-
e !==
|
|
102
|
-
},
|
|
103
|
-
|
|
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
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
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:
|
|
112
|
-
defaultSearchTop:
|
|
113
|
-
isDragging:
|
|
114
|
-
isSearchVisible:
|
|
115
|
-
hiddenSearch:
|
|
116
|
-
listRef:
|
|
117
|
-
page:
|
|
118
|
-
prevScrollY:
|
|
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:
|
|
121
|
-
searchRef:
|
|
122
|
-
windowHeight:
|
|
154
|
+
scrollToY: B,
|
|
155
|
+
searchRef: A,
|
|
156
|
+
windowHeight: S,
|
|
123
157
|
// Computed
|
|
124
|
-
direction:
|
|
125
|
-
isDesktop:
|
|
126
|
-
lastOnPage:
|
|
127
|
-
searchHeight:
|
|
128
|
-
totalPages:
|
|
158
|
+
direction: f,
|
|
159
|
+
isDesktop: U,
|
|
160
|
+
lastOnPage: j,
|
|
161
|
+
searchHeight: D,
|
|
162
|
+
totalPages: Y,
|
|
129
163
|
// Methods
|
|
130
|
-
onScroll:
|
|
164
|
+
onScroll: p,
|
|
131
165
|
scrollWatcher: d,
|
|
132
|
-
toggleSearch:
|
|
166
|
+
toggleSearch: L,
|
|
133
167
|
// Composable
|
|
134
|
-
deviceType:
|
|
135
|
-
mq:
|
|
168
|
+
deviceType: E,
|
|
169
|
+
mq: V
|
|
136
170
|
};
|
|
137
171
|
}
|
|
138
172
|
});
|
|
139
173
|
export {
|
|
140
|
-
|
|
174
|
+
de as default
|
|
141
175
|
};
|