@quoreadmin/ui 1.10.9 → 1.10.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.
- package/dist/index.css +1 -1
- package/dist/index105.js +1 -1
- package/dist/index111.js +1 -1
- package/dist/index115.js +1 -1
- package/dist/index136.js +1 -1
- package/dist/index138.js +146 -146
- package/dist/index151.js +2 -2
- package/dist/index162.js +1 -1
- package/dist/index173.js +2 -2
- package/dist/index180.js +228 -1151
- package/dist/index182.js +14 -14
- package/dist/index183.js +96 -266
- package/dist/index184.js +2 -106
- package/dist/index185.js +1376 -2
- package/dist/index187.js +20 -0
- package/dist/index188.js +12 -12
- package/dist/index189.js +10 -10
- package/dist/index190.js +12 -12
- package/dist/index191.js +21 -14
- package/dist/index192.js +757 -23
- package/dist/index193.js +1144 -759
- package/dist/index194.js +1234 -1144
- package/dist/index195.js +11248 -1205
- package/dist/index196.js +1135 -11213
- package/dist/index198.js +17 -17
- package/dist/index201.js +29 -29
- 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/index213.js +158 -30
- package/dist/index214.js +224 -112
- package/dist/index215.js +32 -31
- package/dist/index216.js +10 -26
- package/dist/index217.js +83 -31
- package/dist/index218.js +404 -48
- package/dist/index219.js +22 -43
- package/dist/index220.js +32 -3
- package/dist/index221.js +116 -9
- package/dist/index222.js +35 -18
- package/dist/index223.js +26 -10
- package/dist/index224.js +36 -10
- package/dist/index225.js +48 -36
- package/dist/index226.js +43 -21
- package/dist/index227.js +3 -87
- package/dist/index228.js +9 -407
- package/dist/index229.js +19 -22
- package/dist/index230.js +10 -161
- package/dist/index231.js +9 -227
- package/dist/index232.js +36 -34
- package/dist/index233.js +21 -10
- package/dist/index234.js +121 -155
- package/dist/index235.js +37 -19
- package/dist/index236.js +80 -20
- package/dist/index237.js +13 -15
- package/dist/index238.js +19 -198
- package/dist/index239.js +18 -68
- package/dist/index240.js +20 -34
- package/dist/index241.js +19 -39
- package/dist/index242.js +155 -121
- package/dist/index243.js +19 -37
- package/dist/index244.js +22 -80
- package/dist/index245.js +198 -19
- package/dist/index246.js +68 -18
- package/dist/index247.js +34 -20
- package/dist/index248.js +39 -19
- package/dist/index249.js +253 -22
- package/dist/index250.js +7 -21
- package/dist/index251.js +138 -20
- package/dist/index252.js +78 -831
- package/dist/index253.js +21 -701
- package/dist/index254.js +22 -176
- package/dist/index255.js +13 -15
- package/dist/index256.js +836 -20
- package/dist/index257.js +701 -19
- package/dist/index258.js +176 -3
- package/dist/index259.js +21 -186
- package/dist/index260.js +19 -132
- package/dist/index261.js +20 -1223
- package/dist/index262.js +3 -20
- package/dist/index263.js +186 -21
- package/dist/index264.js +132 -21
- package/dist/index265.js +1223 -29
- package/dist/index266.js +12 -12
- package/dist/index267.js +15 -13
- package/dist/index268.js +22 -2
- package/dist/index269.js +29 -2
- package/dist/index270.js +20 -3636
- package/dist/index271.js +20 -55
- package/dist/index272.js +2 -77
- package/dist/index273.js +2 -52
- package/dist/index274.js +2 -215
- package/dist/index275.js +79 -10
- package/dist/index276.js +3623 -44
- package/dist/index277.js +35 -41
- package/dist/index278.js +59 -36
- package/dist/index279.js +21 -44
- package/dist/index280.js +176 -687
- package/dist/index281.js +9 -41
- package/dist/index282.js +39 -46
- package/dist/index283.js +60 -10
- package/dist/index284.js +46 -697
- package/dist/index285.js +73 -818
- package/dist/index286.js +708 -235
- package/dist/index287.js +41 -7
- package/dist/index288.js +60 -134
- package/dist/index289.js +11 -83
- package/dist/index290.js +705 -3
- package/dist/index291.js +814 -21
- package/dist/index292.js +3 -54
- package/dist/index293.js +25 -77
- package/dist/index294.js +53 -25
- package/dist/index295.js +19 -15
- package/dist/index296.js +10 -10
- package/dist/index297.js +22 -16
- package/dist/index298.js +14 -15
- package/dist/index299.js +15 -21
- package/dist/index300.js +23 -2
- package/dist/index301.js +79 -1534
- package/dist/index302.js +22 -386
- package/dist/index303.js +902 -2698
- package/dist/index304.js +21 -85
- package/dist/index305.js +20 -3792
- package/dist/index306.js +19 -59
- package/dist/index307.js +67 -77
- package/dist/index308.js +18 -21
- package/dist/index309.js +18 -934
- package/dist/index310.js +16 -16
- package/dist/index311.js +13 -11
- package/dist/index312.js +62 -19
- package/dist/index313.js +260 -67
- package/dist/index314.js +6 -19
- package/dist/index315.js +139 -18
- package/dist/index316.js +72 -21
- package/dist/index317.js +85 -20
- package/dist/index318.js +29 -63
- package/dist/index319.js +16 -15
- package/dist/index320.js +65 -74
- package/dist/index321.js +3 -201
- package/dist/index322.js +2 -246
- package/dist/index323.js +75 -254
- package/dist/index324.js +52 -5
- package/dist/index325.js +5 -139
- package/dist/index326.js +4 -72
- package/dist/index327.js +171 -79
- package/dist/index328.js +60 -26
- package/dist/index329.js +75 -16
- package/dist/index330.js +35 -73
- package/dist/index331.js +1533 -3
- package/dist/index332.js +386 -2
- package/dist/index333.js +2730 -82
- package/dist/index334.js +84 -51
- package/dist/index335.js +3790 -4
- package/dist/index336.js +59 -4
- package/dist/index337.js +15 -179
- package/dist/index338.js +78 -57
- package/dist/index339.js +201 -74
- package/dist/index340.js +245 -8
- package/dist/index341.js +9 -12
- package/dist/index342.js +10 -55
- package/dist/index343.js +14 -12
- package/dist/index344.js +10 -14
- package/dist/index345.js +15 -56
- package/dist/index346.js +8 -51
- package/dist/index347.js +12 -30
- package/dist/index348.js +55 -2
- package/dist/index349.js +12 -5
- package/dist/index350.js +14 -2
- package/dist/index351.js +57 -22
- package/dist/index352.js +50 -39
- package/dist/index353.js +31 -2
- package/dist/index354.js +2 -11
- package/dist/index355.js +5 -20
- package/dist/index356.js +2 -10
- package/dist/index357.js +22 -9
- package/dist/index358.js +38 -14
- package/dist/index359.js +2 -2
- package/dist/index360.js +10 -8
- package/dist/index361.js +19 -9
- package/dist/index362.js +2 -14
- package/dist/index363.js +9 -37
- package/dist/index364.js +1 -1
- package/dist/index365.js +1 -1
- package/dist/index366.js +2 -2
- package/dist/index367.js +1 -1
- package/dist/index368.js +2 -2
- package/dist/index369.js +1 -1
- package/dist/index370.js +6 -6
- package/dist/index371.js +2 -2
- package/dist/index372.js +2 -2
- package/dist/index374.js +2 -2
- package/dist/index375.js +2 -2
- package/dist/index376.js +1 -1
- package/dist/index378.js +8 -8
- package/dist/index379.js +8 -8
- package/dist/index380.js +28 -98
- package/dist/index381.js +10 -90
- package/dist/index382.js +4 -17
- package/dist/index383.js +4 -98
- package/dist/index384.js +17 -31
- package/dist/index385.js +13 -11
- package/dist/index386.js +7 -4
- package/dist/index387.js +11 -3
- package/dist/index388.js +5 -13
- package/dist/index389.js +33 -7
- package/dist/index390.js +30 -11
- package/dist/index391.js +28 -5
- package/dist/index392.js +61 -33
- package/dist/index393.js +96 -29
- package/dist/index394.js +99 -26
- package/dist/index395.js +91 -61
- package/dist/index396.js +1 -1
- package/dist/index402.js +1 -1
- package/dist/index50.js +2 -2
- package/dist/index62.js +1 -1
- package/dist/index78.js +1 -1
- package/dist/index88.js +1 -1
- package/dist/index90.js +93 -59
- package/dist/index92.js +1 -1
- package/dist/index98.js +2 -2
- package/dist/src/components/data-list/data-list.d.ts +19 -7
- package/dist/src/views/lists.vue.d.ts +10 -1
- package/package.json +1 -1
- package/dist/index186.js +0 -1378
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
|
};
|
package/dist/index92.js
CHANGED
|
@@ -3,7 +3,7 @@ import { useScroll as G, useWindowScroll as me, useElementBounding as he } from
|
|
|
3
3
|
import ye from "./index18.js";
|
|
4
4
|
import ge from "./index19.js";
|
|
5
5
|
import be from "./index52.js";
|
|
6
|
-
import we from "./
|
|
6
|
+
import we from "./index184.js";
|
|
7
7
|
import Se from "./index57.js";
|
|
8
8
|
import xe from "./index58.js";
|
|
9
9
|
const Pe = de({
|
package/dist/index98.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as g, ref as l, computed as n, watch as f, nextTick as w, onUnmounted as v } from "vue";
|
|
2
|
-
import D from "./
|
|
2
|
+
import D from "./index185.js";
|
|
3
3
|
/* empty css */
|
|
4
|
+
import "./index187.js";
|
|
4
5
|
import "./index188.js";
|
|
5
6
|
import "./index189.js";
|
|
6
7
|
import "./index190.js";
|
|
7
8
|
import "./index191.js";
|
|
8
|
-
import "./index192.js";
|
|
9
9
|
const A = g({
|
|
10
10
|
name: "QDatePicker",
|
|
11
11
|
components: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
1
2
|
declare const QDataList: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
3
|
/** Pass in an ID unique to the list. */
|
|
3
4
|
id: {
|
|
@@ -47,6 +48,11 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
47
48
|
type: StringConstructor;
|
|
48
49
|
default: string;
|
|
49
50
|
};
|
|
51
|
+
/** Scroll container: element ref, or CSS selector (e.g. '.page-layout__sidebar-inner') resolved via closest from list root. When null/undefined, uses window. */
|
|
52
|
+
scrollTarget: {
|
|
53
|
+
type: PropType<HTMLElement | string | null | undefined>;
|
|
54
|
+
default: null;
|
|
55
|
+
};
|
|
50
56
|
}>, {
|
|
51
57
|
dataListRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
52
58
|
defaultSearchTop: import('vue').Ref<number, number>;
|
|
@@ -66,7 +72,7 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
66
72
|
searchHeight: import('vue').ComputedRef<number>;
|
|
67
73
|
totalPages: import('vue').ComputedRef<number>;
|
|
68
74
|
onScroll: () => void;
|
|
69
|
-
scrollWatcher: () =>
|
|
75
|
+
scrollWatcher: () => void;
|
|
70
76
|
toggleSearch: (value: any, type: any) => Promise<void>;
|
|
71
77
|
deviceType: import('vue').Ref<string, string>;
|
|
72
78
|
mq: {
|
|
@@ -129,6 +135,11 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
129
135
|
type: StringConstructor;
|
|
130
136
|
default: string;
|
|
131
137
|
};
|
|
138
|
+
/** Scroll container: element ref, or CSS selector (e.g. '.page-layout__sidebar-inner') resolved via closest from list root. When null/undefined, uses window. */
|
|
139
|
+
scrollTarget: {
|
|
140
|
+
type: PropType<HTMLElement | string | null | undefined>;
|
|
141
|
+
default: null;
|
|
142
|
+
};
|
|
132
143
|
}>> & Readonly<{
|
|
133
144
|
"onFilters-action"?: ((...args: any[]) => any) | undefined;
|
|
134
145
|
"onPage-updated"?: ((...args: any[]) => any) | undefined;
|
|
@@ -144,6 +155,7 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
144
155
|
isFixed: boolean;
|
|
145
156
|
itemsPerPage: number;
|
|
146
157
|
noResultMessage: string;
|
|
158
|
+
scrollTarget: string | HTMLElement | null | undefined;
|
|
147
159
|
}, {}, {
|
|
148
160
|
QBadge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
149
161
|
color: {
|
|
@@ -172,7 +184,7 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
172
184
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
173
185
|
QDataFilter: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
174
186
|
data: {
|
|
175
|
-
type:
|
|
187
|
+
type: PropType<any[]>;
|
|
176
188
|
default: () => never[];
|
|
177
189
|
};
|
|
178
190
|
id: {
|
|
@@ -180,11 +192,11 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
180
192
|
default: string;
|
|
181
193
|
};
|
|
182
194
|
excludedFields: {
|
|
183
|
-
type:
|
|
195
|
+
type: PropType<string[]>;
|
|
184
196
|
default: () => never[];
|
|
185
197
|
};
|
|
186
198
|
filters: {
|
|
187
|
-
type:
|
|
199
|
+
type: PropType<any[]>;
|
|
188
200
|
default: () => never[];
|
|
189
201
|
};
|
|
190
202
|
hasSearch: {
|
|
@@ -257,7 +269,7 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
257
269
|
};
|
|
258
270
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("update:data" | "update:search" | "click:filters" | "popover:close" | "bottom-sheet:close")[], "update:data" | "update:search" | "click:filters" | "popover:close" | "bottom-sheet:close", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
259
271
|
data: {
|
|
260
|
-
type:
|
|
272
|
+
type: PropType<any[]>;
|
|
261
273
|
default: () => never[];
|
|
262
274
|
};
|
|
263
275
|
id: {
|
|
@@ -265,11 +277,11 @@ declare const QDataList: import('vue').DefineComponent<import('vue').ExtractProp
|
|
|
265
277
|
default: string;
|
|
266
278
|
};
|
|
267
279
|
excludedFields: {
|
|
268
|
-
type:
|
|
280
|
+
type: PropType<string[]>;
|
|
269
281
|
default: () => never[];
|
|
270
282
|
};
|
|
271
283
|
filters: {
|
|
272
|
-
type:
|
|
284
|
+
type: PropType<any[]>;
|
|
273
285
|
default: () => never[];
|
|
274
286
|
};
|
|
275
287
|
hasSearch: {
|
|
@@ -1258,6 +1258,10 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
1258
1258
|
type: StringConstructor;
|
|
1259
1259
|
default: string;
|
|
1260
1260
|
};
|
|
1261
|
+
scrollTarget: {
|
|
1262
|
+
type: import('vue').PropType<HTMLElement | string | null | undefined>;
|
|
1263
|
+
default: null;
|
|
1264
|
+
};
|
|
1261
1265
|
}>, {
|
|
1262
1266
|
dataListRef: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
1263
1267
|
defaultSearchTop: import('vue').Ref<number, number>;
|
|
@@ -1277,7 +1281,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
1277
1281
|
searchHeight: import('vue').ComputedRef<number>;
|
|
1278
1282
|
totalPages: import('vue').ComputedRef<number>;
|
|
1279
1283
|
onScroll: () => void;
|
|
1280
|
-
scrollWatcher: () =>
|
|
1284
|
+
scrollWatcher: () => void;
|
|
1281
1285
|
toggleSearch: (value: any, type: any) => Promise<void>;
|
|
1282
1286
|
deviceType: import('vue').Ref<string, string>;
|
|
1283
1287
|
mq: {
|
|
@@ -1332,6 +1336,10 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
1332
1336
|
type: StringConstructor;
|
|
1333
1337
|
default: string;
|
|
1334
1338
|
};
|
|
1339
|
+
scrollTarget: {
|
|
1340
|
+
type: import('vue').PropType<HTMLElement | string | null | undefined>;
|
|
1341
|
+
default: null;
|
|
1342
|
+
};
|
|
1335
1343
|
}>> & Readonly<{
|
|
1336
1344
|
"onFilters-action"?: ((...args: any[]) => any) | undefined;
|
|
1337
1345
|
"onPage-updated"?: ((...args: any[]) => any) | undefined;
|
|
@@ -1347,6 +1355,7 @@ declare const _default: import('vue').DefineComponent<{}, {
|
|
|
1347
1355
|
isFixed: boolean;
|
|
1348
1356
|
itemsPerPage: number;
|
|
1349
1357
|
noResultMessage: string;
|
|
1358
|
+
scrollTarget: string | HTMLElement | null | undefined;
|
|
1350
1359
|
}, {}, {
|
|
1351
1360
|
QBadge: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
1352
1361
|
color: {
|