@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.
Files changed (229) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index105.js +1 -1
  3. package/dist/index111.js +1 -1
  4. package/dist/index115.js +1 -1
  5. package/dist/index136.js +1 -1
  6. package/dist/index138.js +146 -146
  7. package/dist/index151.js +2 -2
  8. package/dist/index162.js +1 -1
  9. package/dist/index173.js +2 -2
  10. package/dist/index180.js +228 -1151
  11. package/dist/index182.js +14 -14
  12. package/dist/index183.js +96 -266
  13. package/dist/index184.js +2 -106
  14. package/dist/index185.js +1376 -2
  15. package/dist/index187.js +20 -0
  16. package/dist/index188.js +12 -12
  17. package/dist/index189.js +10 -10
  18. package/dist/index190.js +12 -12
  19. package/dist/index191.js +21 -14
  20. package/dist/index192.js +757 -23
  21. package/dist/index193.js +1144 -759
  22. package/dist/index194.js +1234 -1144
  23. package/dist/index195.js +11248 -1205
  24. package/dist/index196.js +1135 -11213
  25. package/dist/index198.js +17 -17
  26. package/dist/index201.js +29 -29
  27. package/dist/index202.js +2 -2
  28. package/dist/index203.js +2 -2
  29. package/dist/index204.js +1 -1
  30. package/dist/index206.js +2 -2
  31. package/dist/index208.js +14 -14
  32. package/dist/index209.js +1 -1
  33. package/dist/index210.js +1 -1
  34. package/dist/index211.js +3 -3
  35. package/dist/index212.js +6 -6
  36. package/dist/index213.js +158 -30
  37. package/dist/index214.js +224 -112
  38. package/dist/index215.js +32 -31
  39. package/dist/index216.js +10 -26
  40. package/dist/index217.js +83 -31
  41. package/dist/index218.js +404 -48
  42. package/dist/index219.js +22 -43
  43. package/dist/index220.js +32 -3
  44. package/dist/index221.js +116 -9
  45. package/dist/index222.js +35 -18
  46. package/dist/index223.js +26 -10
  47. package/dist/index224.js +36 -10
  48. package/dist/index225.js +48 -36
  49. package/dist/index226.js +43 -21
  50. package/dist/index227.js +3 -87
  51. package/dist/index228.js +9 -407
  52. package/dist/index229.js +19 -22
  53. package/dist/index230.js +10 -161
  54. package/dist/index231.js +9 -227
  55. package/dist/index232.js +36 -34
  56. package/dist/index233.js +21 -10
  57. package/dist/index234.js +121 -155
  58. package/dist/index235.js +37 -19
  59. package/dist/index236.js +80 -20
  60. package/dist/index237.js +13 -15
  61. package/dist/index238.js +19 -198
  62. package/dist/index239.js +18 -68
  63. package/dist/index240.js +20 -34
  64. package/dist/index241.js +19 -39
  65. package/dist/index242.js +155 -121
  66. package/dist/index243.js +19 -37
  67. package/dist/index244.js +22 -80
  68. package/dist/index245.js +198 -19
  69. package/dist/index246.js +68 -18
  70. package/dist/index247.js +34 -20
  71. package/dist/index248.js +39 -19
  72. package/dist/index249.js +253 -22
  73. package/dist/index250.js +7 -21
  74. package/dist/index251.js +138 -20
  75. package/dist/index252.js +78 -831
  76. package/dist/index253.js +21 -701
  77. package/dist/index254.js +22 -176
  78. package/dist/index255.js +13 -15
  79. package/dist/index256.js +836 -20
  80. package/dist/index257.js +701 -19
  81. package/dist/index258.js +176 -3
  82. package/dist/index259.js +21 -186
  83. package/dist/index260.js +19 -132
  84. package/dist/index261.js +20 -1223
  85. package/dist/index262.js +3 -20
  86. package/dist/index263.js +186 -21
  87. package/dist/index264.js +132 -21
  88. package/dist/index265.js +1223 -29
  89. package/dist/index266.js +12 -12
  90. package/dist/index267.js +15 -13
  91. package/dist/index268.js +22 -2
  92. package/dist/index269.js +29 -2
  93. package/dist/index270.js +20 -3636
  94. package/dist/index271.js +20 -55
  95. package/dist/index272.js +2 -77
  96. package/dist/index273.js +2 -52
  97. package/dist/index274.js +2 -215
  98. package/dist/index275.js +79 -10
  99. package/dist/index276.js +3623 -44
  100. package/dist/index277.js +35 -41
  101. package/dist/index278.js +59 -36
  102. package/dist/index279.js +21 -44
  103. package/dist/index280.js +176 -687
  104. package/dist/index281.js +9 -41
  105. package/dist/index282.js +39 -46
  106. package/dist/index283.js +60 -10
  107. package/dist/index284.js +46 -697
  108. package/dist/index285.js +73 -818
  109. package/dist/index286.js +708 -235
  110. package/dist/index287.js +41 -7
  111. package/dist/index288.js +60 -134
  112. package/dist/index289.js +11 -83
  113. package/dist/index290.js +705 -3
  114. package/dist/index291.js +814 -21
  115. package/dist/index292.js +3 -54
  116. package/dist/index293.js +25 -77
  117. package/dist/index294.js +53 -25
  118. package/dist/index295.js +19 -15
  119. package/dist/index296.js +10 -10
  120. package/dist/index297.js +22 -16
  121. package/dist/index298.js +14 -15
  122. package/dist/index299.js +15 -21
  123. package/dist/index300.js +23 -2
  124. package/dist/index301.js +79 -1534
  125. package/dist/index302.js +22 -386
  126. package/dist/index303.js +902 -2698
  127. package/dist/index304.js +21 -85
  128. package/dist/index305.js +20 -3792
  129. package/dist/index306.js +19 -59
  130. package/dist/index307.js +67 -77
  131. package/dist/index308.js +18 -21
  132. package/dist/index309.js +18 -934
  133. package/dist/index310.js +16 -16
  134. package/dist/index311.js +13 -11
  135. package/dist/index312.js +62 -19
  136. package/dist/index313.js +260 -67
  137. package/dist/index314.js +6 -19
  138. package/dist/index315.js +139 -18
  139. package/dist/index316.js +72 -21
  140. package/dist/index317.js +85 -20
  141. package/dist/index318.js +29 -63
  142. package/dist/index319.js +16 -15
  143. package/dist/index320.js +65 -74
  144. package/dist/index321.js +3 -201
  145. package/dist/index322.js +2 -246
  146. package/dist/index323.js +75 -254
  147. package/dist/index324.js +52 -5
  148. package/dist/index325.js +5 -139
  149. package/dist/index326.js +4 -72
  150. package/dist/index327.js +171 -79
  151. package/dist/index328.js +60 -26
  152. package/dist/index329.js +75 -16
  153. package/dist/index330.js +35 -73
  154. package/dist/index331.js +1533 -3
  155. package/dist/index332.js +386 -2
  156. package/dist/index333.js +2730 -82
  157. package/dist/index334.js +84 -51
  158. package/dist/index335.js +3790 -4
  159. package/dist/index336.js +59 -4
  160. package/dist/index337.js +15 -179
  161. package/dist/index338.js +78 -57
  162. package/dist/index339.js +201 -74
  163. package/dist/index340.js +245 -8
  164. package/dist/index341.js +9 -12
  165. package/dist/index342.js +10 -55
  166. package/dist/index343.js +14 -12
  167. package/dist/index344.js +10 -14
  168. package/dist/index345.js +15 -56
  169. package/dist/index346.js +8 -51
  170. package/dist/index347.js +12 -30
  171. package/dist/index348.js +55 -2
  172. package/dist/index349.js +12 -5
  173. package/dist/index350.js +14 -2
  174. package/dist/index351.js +57 -22
  175. package/dist/index352.js +50 -39
  176. package/dist/index353.js +31 -2
  177. package/dist/index354.js +2 -11
  178. package/dist/index355.js +5 -20
  179. package/dist/index356.js +2 -10
  180. package/dist/index357.js +22 -9
  181. package/dist/index358.js +38 -14
  182. package/dist/index359.js +2 -2
  183. package/dist/index360.js +10 -8
  184. package/dist/index361.js +19 -9
  185. package/dist/index362.js +2 -14
  186. package/dist/index363.js +9 -37
  187. package/dist/index364.js +1 -1
  188. package/dist/index365.js +1 -1
  189. package/dist/index366.js +2 -2
  190. package/dist/index367.js +1 -1
  191. package/dist/index368.js +2 -2
  192. package/dist/index369.js +1 -1
  193. package/dist/index370.js +6 -6
  194. package/dist/index371.js +2 -2
  195. package/dist/index372.js +2 -2
  196. package/dist/index374.js +2 -2
  197. package/dist/index375.js +2 -2
  198. package/dist/index376.js +1 -1
  199. package/dist/index378.js +8 -8
  200. package/dist/index379.js +8 -8
  201. package/dist/index380.js +28 -98
  202. package/dist/index381.js +10 -90
  203. package/dist/index382.js +4 -17
  204. package/dist/index383.js +4 -98
  205. package/dist/index384.js +17 -31
  206. package/dist/index385.js +13 -11
  207. package/dist/index386.js +7 -4
  208. package/dist/index387.js +11 -3
  209. package/dist/index388.js +5 -13
  210. package/dist/index389.js +33 -7
  211. package/dist/index390.js +30 -11
  212. package/dist/index391.js +28 -5
  213. package/dist/index392.js +61 -33
  214. package/dist/index393.js +96 -29
  215. package/dist/index394.js +99 -26
  216. package/dist/index395.js +91 -61
  217. package/dist/index396.js +1 -1
  218. package/dist/index402.js +1 -1
  219. package/dist/index50.js +2 -2
  220. package/dist/index62.js +1 -1
  221. package/dist/index78.js +1 -1
  222. package/dist/index88.js +1 -1
  223. package/dist/index90.js +93 -59
  224. package/dist/index92.js +1 -1
  225. package/dist/index98.js +2 -2
  226. package/dist/src/components/data-list/data-list.d.ts +19 -7
  227. package/dist/src/views/lists.vue.d.ts +10 -1
  228. package/package.json +1 -1
  229. package/dist/index186.js +0 -1378
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
  };
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 "./index185.js";
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 "./index186.js";
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: () => Promise<void>;
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: import('vue').PropType<any[]>;
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: import('vue').PropType<string[]>;
195
+ type: PropType<string[]>;
184
196
  default: () => never[];
185
197
  };
186
198
  filters: {
187
- type: import('vue').PropType<any[]>;
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: import('vue').PropType<any[]>;
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: import('vue').PropType<string[]>;
280
+ type: PropType<string[]>;
269
281
  default: () => never[];
270
282
  };
271
283
  filters: {
272
- type: import('vue').PropType<any[]>;
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: () => Promise<void>;
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: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quoreadmin/ui",
3
3
  "private": false,
4
- "version": "1.10.9",
4
+ "version": "1.10.11",
5
5
  "type": "module",
6
6
  "sideEffects": [
7
7
  "**/*.css",