bt-core-app 2.2.6 → 2.2.7
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/bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs +10 -11
- package/dist/components/BT-Background-Task.vue.mjs +44 -46
- package/dist/components/BT-Blade-Item.vue.mjs +64 -63
- package/dist/components/BT-Blade-Items.vue.mjs +2 -2
- package/dist/components/BT-Blade-Items.vue2.mjs +239 -238
- package/dist/components/BT-Blade-Steps.vue.mjs +2 -2
- package/dist/components/BT-Blade-Steps.vue2.mjs +457 -456
- package/dist/components/BT-Blade.vue.mjs +187 -189
- package/dist/components/BT-Camera-Overlay.vue.mjs +139 -141
- package/dist/components/BT-Cron.vue.mjs +127 -126
- package/dist/components/BT-Dialog-Select.vue.mjs +91 -90
- package/dist/components/BT-Drag-Counter.vue.mjs +2 -2
- package/dist/components/BT-Drag-Counter.vue2.mjs +87 -89
- package/dist/components/BT-Entity.vue.mjs +79 -81
- package/dist/components/BT-Error.vue.mjs +23 -25
- package/dist/components/BT-Form-Builder.vue.mjs +221 -220
- package/dist/components/BT-Form-Field.vue.mjs +67 -66
- package/dist/components/BT-Form.vue.mjs +192 -191
- package/dist/components/BT-Header-Option.vue.mjs +21 -20
- package/dist/components/BT-Numpad.vue.mjs +143 -145
- package/dist/components/BT-Select-List-Box.vue.mjs +270 -272
- package/dist/components/BT-Signature-Overlay.vue.mjs +107 -109
- package/dist/components/BT-Signature.vue.mjs +91 -93
- package/dist/components/BT-Slider.vue.mjs +91 -93
- package/dist/components/BT-Square-Check.vue.mjs +66 -68
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { defineComponent as Y, ref as V, inject as C, computed as m,
|
|
2
|
-
import { useList as
|
|
3
|
-
import { useFilters as
|
|
4
|
-
import { nestedValue as
|
|
5
|
-
import { VVirtualScroll as
|
|
6
|
-
import { VCol as
|
|
1
|
+
import { defineComponent as Y, ref as V, inject as C, computed as m, openBlock as a, createBlock as s, unref as t, normalizeClass as J, withCtx as i, createElementVNode as $, renderSlot as u, createVNode as r, createTextVNode as c, mergeProps as z, createCommentVNode as p, toDisplayString as f, createElementBlock as P, Fragment as O, renderList as W } from "vue";
|
|
2
|
+
import { useList as Z } from "../composables/list.mjs";
|
|
3
|
+
import { useFilters as x } from "../composables/filters.mjs";
|
|
4
|
+
import { nestedValue as R, isLengthyArray as _ } from "../composables/helpers.mjs";
|
|
5
|
+
import { VVirtualScroll as ee } from "../bt-core/core/node_modules/vuetify/lib/components/VVirtualScroll/VVirtualScroll.mjs";
|
|
6
|
+
import { VCol as te } from "../bt-core/core/node_modules/vuetify/lib/components/VGrid/VCol.mjs";
|
|
7
7
|
import { VListItem as S } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItem.mjs";
|
|
8
|
-
import { VIcon as
|
|
9
|
-
import { VMenu as
|
|
8
|
+
import { VIcon as E } from "../bt-core/core/node_modules/vuetify/lib/components/VIcon/VIcon.mjs";
|
|
9
|
+
import { VMenu as H } from "../bt-core/core/node_modules/vuetify/lib/components/VMenu/VMenu.mjs";
|
|
10
10
|
import { VBtn as A } from "../bt-core/core/node_modules/vuetify/lib/components/VBtn/VBtn.mjs";
|
|
11
11
|
import { VList as I } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VList.mjs";
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
12
|
+
import { VSlideYTransition as le, VSlideXTransition as ne } from "../bt-core/core/node_modules/vuetify/lib/components/transitions/index.mjs";
|
|
13
|
+
import { VTextField as oe } from "../bt-core/core/node_modules/vuetify/lib/components/VTextField/VTextField.mjs";
|
|
14
|
+
import { VListItemTitle as T } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemTitle.mjs";
|
|
15
|
+
import { VListItemSubtitle as w } from "../bt-core/core/node_modules/vuetify/lib/components/VList/VListItemSubtitle.mjs";
|
|
16
|
+
import { VDivider as ie } from "../bt-core/core/node_modules/vuetify/lib/components/VDivider/VDivider.mjs";
|
|
16
17
|
import { VOverlay as ae } from "../bt-core/core/node_modules/vuetify/lib/components/VOverlay/VOverlay.mjs";
|
|
17
|
-
import { VProgressCircular as
|
|
18
|
-
const
|
|
18
|
+
import { VProgressCircular as se } from "../bt-core/core/node_modules/vuetify/lib/components/VProgressCircular/VProgressCircular.mjs";
|
|
19
|
+
const re = { class: "d-flex align-center" }, ue = { class: "d-flex align-center" }, Te = /* @__PURE__ */ Y({
|
|
19
20
|
inheritAttrs: !1,
|
|
20
21
|
__name: "BT-Select-List-Box",
|
|
21
22
|
props: {
|
|
@@ -131,21 +132,21 @@ const ue = { class: "d-flex align-center" }, de = { class: "d-flex align-center"
|
|
|
131
132
|
variant: {}
|
|
132
133
|
},
|
|
133
134
|
emits: ["update:modelValue", "change", "deleted", "fetched", "input", "select", "confirm", "mouse-over-item"],
|
|
134
|
-
setup(
|
|
135
|
-
const b =
|
|
135
|
+
setup(G, { emit: U }) {
|
|
136
|
+
const b = U, n = G, y = V((n.alwaysOpen || n.isSelecting) ?? !1), g = C("size", () => V("small"), !0), j = C("isEditing", () => V(!1), !0), K = m(() => n.isEditing ?? j.value), d = Z(n, b, {
|
|
136
137
|
// useBladeSrc: false,
|
|
137
138
|
// useRouteSrc: false
|
|
138
|
-
}), D =
|
|
139
|
+
}), D = x(), L = m(() => (e) => {
|
|
139
140
|
let l = n.subtextFunction != null ? n.subtextFunction(e) : e;
|
|
140
|
-
return l = n.itemSubtext != null ?
|
|
141
|
+
return l = n.itemSubtext != null ? R(l, n.itemSubtext) : l, n.subtextFilter != null ? D.findFilter(n.subtextFilter)(l) : l;
|
|
141
142
|
}), k = m(() => (e) => {
|
|
142
143
|
let l = n.textFunction != null ? n.textFunction(e) : e;
|
|
143
|
-
return l = n.itemText != null ?
|
|
144
|
+
return l = n.itemText != null ? R(l, n.itemText) : l, n.textFilter != null ? D.findFilter(n.textFilter)(l) : l;
|
|
144
145
|
}), h = m(() => (e) => (n.itemValue ? e[n.itemValue] : e) == n.modelValue);
|
|
145
146
|
function M() {
|
|
146
|
-
|
|
147
|
+
K.value && (y.value = !0);
|
|
147
148
|
}
|
|
148
|
-
function
|
|
149
|
+
function v(e) {
|
|
149
150
|
if (y.value = !1, e != null || n.canSelectNone) {
|
|
150
151
|
let l = e;
|
|
151
152
|
e != null && n.itemValue != null && (l = e[n.itemValue]), b("update:modelValue", l), b("change", l);
|
|
@@ -154,274 +155,271 @@ const ue = { class: "d-flex align-center" }, de = { class: "d-flex align-center"
|
|
|
154
155
|
const N = m(() => {
|
|
155
156
|
const e = n.itemValue ?? "id";
|
|
156
157
|
return n.modelValue != null && d.asyncItems.value != null ? d.asyncItems.value.find((l) => l[e] == n.modelValue) : null;
|
|
157
|
-
}), F = C("isMobile", () => V(!1), !0),
|
|
158
|
-
return (e, l) => {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
c("$chevron-up")
|
|
180
|
-
])),
|
|
181
|
-
_: 1
|
|
182
|
-
}),
|
|
183
|
-
u(e.$slots, "actionsRight"),
|
|
184
|
-
e.showSettings ? (s(), a(t(G), {
|
|
185
|
-
key: 0,
|
|
186
|
-
"offset-y": "",
|
|
187
|
-
"close-on-content-click": !1
|
|
188
|
-
}, {
|
|
189
|
-
activator: i(({ props: o }) => [
|
|
190
|
-
r(t(A), P({
|
|
191
|
-
icon: "$cog",
|
|
192
|
-
size: t(v),
|
|
193
|
-
title: "Settings"
|
|
194
|
-
}, o), null, 16, ["size"])
|
|
195
|
-
]),
|
|
196
|
-
default: i(() => [
|
|
197
|
-
r(t(I), null, {
|
|
198
|
-
default: i(() => [
|
|
199
|
-
u(e.$slots, "settings")
|
|
200
|
-
]),
|
|
201
|
-
_: 3
|
|
202
|
-
})
|
|
203
|
-
]),
|
|
204
|
-
_: 3
|
|
205
|
-
})) : p("", !0)
|
|
206
|
-
])
|
|
207
|
-
]),
|
|
208
|
-
_: 3
|
|
209
|
-
}, 8, ["density", "subtitle"])) : p("", !0),
|
|
210
|
-
r(X, {
|
|
211
|
-
"hide-on-leave": "",
|
|
212
|
-
group: ""
|
|
213
|
-
}, {
|
|
214
|
-
default: i(() => [
|
|
215
|
-
(e.alwaysOpen || y.value) && t(le)(e.searchProps) ? (s(), a(t(ie), {
|
|
216
|
-
"onClick:prependInner": l[2] || (l[2] = (o) => t(d).searchString.value = void 0),
|
|
217
|
-
"hide-details": "",
|
|
218
|
-
key: "1",
|
|
219
|
-
placeholder: "Search",
|
|
220
|
-
"prepend-inner-icon": t(d).searchString.value != null ? "$close" : void 0,
|
|
221
|
-
modelValue: t(d).searchString.value,
|
|
222
|
-
"onUpdate:modelValue": l[3] || (l[3] = (o) => t(d).searchString.value = o)
|
|
223
|
-
}, {
|
|
224
|
-
"append-inner": i(() => [
|
|
225
|
-
e.canRefresh ? (s(), a(t(A), {
|
|
226
|
-
key: 0,
|
|
227
|
-
onClick: l[1] || (l[1] = (o) => t(d).refresh({ deepRefresh: !0 })),
|
|
228
|
-
icon: "$refresh",
|
|
229
|
-
size: t(v),
|
|
230
|
-
variant: "text"
|
|
231
|
-
}, null, 8, ["size"])) : p("", !0)
|
|
232
|
-
]),
|
|
158
|
+
}), F = C("isMobile", () => V(!1), !0), q = m(() => n.isMobile ?? F.value ? !1 : n.lg), Q = m(() => n.isMobile ?? F.value ? !1 : n.md), X = m(() => n.isMobile ?? F.value ? !1 : n.sm);
|
|
159
|
+
return (e, l) => (a(), s(t(te), {
|
|
160
|
+
class: J(e.colClass),
|
|
161
|
+
lg: q.value,
|
|
162
|
+
md: Q.value,
|
|
163
|
+
sm: X.value,
|
|
164
|
+
cols: e.cols
|
|
165
|
+
}, {
|
|
166
|
+
default: i(() => [
|
|
167
|
+
!e.alwaysOpen && y.value ? (a(), s(t(S), {
|
|
168
|
+
key: 0,
|
|
169
|
+
onClick: l[0] || (l[0] = (o) => y.value = !1),
|
|
170
|
+
density: e.density,
|
|
171
|
+
subtitle: e.label
|
|
172
|
+
}, {
|
|
173
|
+
append: i(() => [
|
|
174
|
+
$("div", re, [
|
|
175
|
+
u(e.$slots, "actions"),
|
|
176
|
+
r(t(E), null, {
|
|
177
|
+
default: i(() => l[6] || (l[6] = [
|
|
178
|
+
c("$chevron-up")
|
|
179
|
+
])),
|
|
233
180
|
_: 1
|
|
234
|
-
}
|
|
235
|
-
(e
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
maxHeight: e.maxHeight
|
|
181
|
+
}),
|
|
182
|
+
u(e.$slots, "actionsRight"),
|
|
183
|
+
e.showSettings ? (a(), s(t(H), {
|
|
184
|
+
key: 0,
|
|
185
|
+
"offset-y": "",
|
|
186
|
+
"close-on-content-click": !1
|
|
241
187
|
}, {
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
},
|
|
248
|
-
r(t(S), {
|
|
249
|
-
onClick: (B) => g(o),
|
|
250
|
-
active: h.value(o),
|
|
251
|
-
color: "primary",
|
|
252
|
-
density: e.density
|
|
253
|
-
}, {
|
|
254
|
-
default: i(() => [
|
|
255
|
-
u(e.$slots, "default", { item: o }, () => [
|
|
256
|
-
e.itemText != null || e.textFilter != null || e.textFunction != null ? (s(), a(t(w), { key: 0 }, {
|
|
257
|
-
default: i(() => [
|
|
258
|
-
c(f(k.value(o)), 1)
|
|
259
|
-
]),
|
|
260
|
-
_: 2
|
|
261
|
-
}, 1024)) : p("", !0),
|
|
262
|
-
e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (s(), a(t(T), { key: 1 }, {
|
|
263
|
-
default: i(() => [
|
|
264
|
-
c(f(L.value(o)), 1)
|
|
265
|
-
]),
|
|
266
|
-
_: 2
|
|
267
|
-
}, 1024)) : p("", !0)
|
|
268
|
-
])
|
|
269
|
-
]),
|
|
270
|
-
_: 2
|
|
271
|
-
}, 1032, ["onClick", "active", "density"])
|
|
272
|
-
])
|
|
188
|
+
activator: i(({ props: o }) => [
|
|
189
|
+
r(t(A), z({
|
|
190
|
+
icon: "$cog",
|
|
191
|
+
size: t(g),
|
|
192
|
+
title: "Settings"
|
|
193
|
+
}, o), null, 16, ["size"])
|
|
273
194
|
]),
|
|
274
|
-
_: 3
|
|
275
|
-
}, 8, ["height", "items", "maxHeight"])) : e.alwaysOpen || y.value ? (s(), a(t(I), {
|
|
276
|
-
"bg-color": e.transparent ? "transparent" : void 0,
|
|
277
|
-
height: e.height,
|
|
278
|
-
maxHeight: e.maxHeight,
|
|
279
|
-
key: "3",
|
|
280
|
-
width: "100%"
|
|
281
|
-
}, {
|
|
282
195
|
default: i(() => [
|
|
283
|
-
|
|
284
|
-
e.canSelectNone ? (s(), a(t(S), {
|
|
285
|
-
key: "-1",
|
|
286
|
-
density: e.density,
|
|
287
|
-
onClick: l[4] || (l[4] = (o) => g(null)),
|
|
288
|
-
subtitle: "(Select None)"
|
|
289
|
-
}, null, 8, ["density"])) : p("", !0),
|
|
290
|
-
r(W, {
|
|
291
|
-
group: "",
|
|
292
|
-
"hide-on-leave": ""
|
|
293
|
-
}, {
|
|
196
|
+
r(t(I), null, {
|
|
294
197
|
default: i(() => [
|
|
295
|
-
(
|
|
296
|
-
key: `${o.id ?? B}-list-item`
|
|
297
|
-
}, [
|
|
298
|
-
u(e.$slots, "item", {
|
|
299
|
-
item: o,
|
|
300
|
-
index: B,
|
|
301
|
-
size: t(v),
|
|
302
|
-
isActive: h.value(o),
|
|
303
|
-
selectItem: g
|
|
304
|
-
}, () => [
|
|
305
|
-
r(t(S), {
|
|
306
|
-
active: h.value(o),
|
|
307
|
-
density: e.density,
|
|
308
|
-
"prepend-icon": e.prependIcon,
|
|
309
|
-
value: o,
|
|
310
|
-
onClick: (pe) => g(o)
|
|
311
|
-
}, {
|
|
312
|
-
default: i(() => [
|
|
313
|
-
u(e.$slots, "default", {
|
|
314
|
-
item: o,
|
|
315
|
-
index: B,
|
|
316
|
-
size: t(v)
|
|
317
|
-
}, () => [
|
|
318
|
-
e.itemText != null || e.textFilter != null || e.textFunction != null ? (s(), a(t(w), { key: 0 }, {
|
|
319
|
-
default: i(() => [
|
|
320
|
-
c(f(k.value(o)), 1)
|
|
321
|
-
]),
|
|
322
|
-
_: 2
|
|
323
|
-
}, 1024)) : p("", !0),
|
|
324
|
-
e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (s(), a(t(T), { key: 1 }, {
|
|
325
|
-
default: i(() => [
|
|
326
|
-
c(f(L.value(o)), 1)
|
|
327
|
-
]),
|
|
328
|
-
_: 2
|
|
329
|
-
}, 1024)) : p("", !0)
|
|
330
|
-
])
|
|
331
|
-
]),
|
|
332
|
-
_: 2
|
|
333
|
-
}, 1032, ["active", "density", "prepend-icon", "value", "onClick"])
|
|
334
|
-
]),
|
|
335
|
-
e.hideDividers !== !0 ? (s(), a(t(se), { key: 0 })) : p("", !0)
|
|
336
|
-
], 64))), 128))
|
|
198
|
+
u(e.$slots, "settings")
|
|
337
199
|
]),
|
|
338
200
|
_: 3
|
|
339
|
-
})
|
|
340
|
-
u(e.$slots, "bottomItem")
|
|
201
|
+
})
|
|
341
202
|
]),
|
|
342
203
|
_: 3
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
204
|
+
})) : p("", !0)
|
|
205
|
+
])
|
|
206
|
+
]),
|
|
207
|
+
_: 3
|
|
208
|
+
}, 8, ["density", "subtitle"])) : p("", !0),
|
|
209
|
+
r(t(le), {
|
|
210
|
+
"hide-on-leave": "",
|
|
211
|
+
group: ""
|
|
212
|
+
}, {
|
|
213
|
+
default: i(() => [
|
|
214
|
+
(e.alwaysOpen || y.value) && t(_)(e.searchProps) ? (a(), s(t(oe), {
|
|
215
|
+
"onClick:prependInner": l[2] || (l[2] = (o) => t(d).searchString.value = void 0),
|
|
216
|
+
"hide-details": "",
|
|
217
|
+
key: "1",
|
|
218
|
+
placeholder: "Search",
|
|
219
|
+
"prepend-inner-icon": t(d).searchString.value != null ? "$close" : void 0,
|
|
220
|
+
modelValue: t(d).searchString.value,
|
|
221
|
+
"onUpdate:modelValue": l[3] || (l[3] = (o) => t(d).searchString.value = o)
|
|
222
|
+
}, {
|
|
223
|
+
"append-inner": i(() => [
|
|
224
|
+
e.canRefresh ? (a(), s(t(A), {
|
|
225
|
+
key: 0,
|
|
226
|
+
onClick: l[1] || (l[1] = (o) => t(d).refresh({ deepRefresh: !0 })),
|
|
227
|
+
icon: "$refresh",
|
|
228
|
+
size: t(g),
|
|
229
|
+
variant: "text"
|
|
230
|
+
}, null, 8, ["size"])) : p("", !0)
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}, 8, ["prepend-inner-icon", "modelValue"])) : p("", !0),
|
|
234
|
+
(e.alwaysOpen || y.value) && e.useVirtualScroller ? (a(), s(t(ee), {
|
|
235
|
+
height: e.height,
|
|
236
|
+
"item-height": "50",
|
|
237
|
+
items: t(d).filteredItems.value,
|
|
238
|
+
key: "2",
|
|
239
|
+
maxHeight: e.maxHeight
|
|
240
|
+
}, {
|
|
241
|
+
default: i(({ item: o }) => [
|
|
242
|
+
u(e.$slots, "item", {
|
|
243
|
+
item: o,
|
|
244
|
+
selectItem: v(o),
|
|
245
|
+
active: h.value(o)
|
|
246
|
+
}, () => [
|
|
247
|
+
r(t(S), {
|
|
248
|
+
onClick: (B) => v(o),
|
|
249
|
+
active: h.value(o),
|
|
250
|
+
color: "primary",
|
|
251
|
+
density: e.density
|
|
252
|
+
}, {
|
|
253
|
+
default: i(() => [
|
|
254
|
+
u(e.$slots, "default", { item: o }, () => [
|
|
255
|
+
e.itemText != null || e.textFilter != null || e.textFunction != null ? (a(), s(t(T), { key: 0 }, {
|
|
256
|
+
default: i(() => [
|
|
257
|
+
c(f(k.value(o)), 1)
|
|
258
|
+
]),
|
|
259
|
+
_: 2
|
|
260
|
+
}, 1024)) : p("", !0),
|
|
261
|
+
e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (a(), s(t(w), { key: 1 }, {
|
|
262
|
+
default: i(() => [
|
|
263
|
+
c(f(L.value(o)), 1)
|
|
264
|
+
]),
|
|
265
|
+
_: 2
|
|
266
|
+
}, 1024)) : p("", !0)
|
|
267
|
+
])
|
|
268
|
+
]),
|
|
269
|
+
_: 2
|
|
270
|
+
}, 1032, ["onClick", "active", "density"])
|
|
271
|
+
])
|
|
272
|
+
]),
|
|
273
|
+
_: 3
|
|
274
|
+
}, 8, ["height", "items", "maxHeight"])) : e.alwaysOpen || y.value ? (a(), s(t(I), {
|
|
275
|
+
"bg-color": e.transparent ? "transparent" : void 0,
|
|
276
|
+
height: e.height,
|
|
277
|
+
maxHeight: e.maxHeight,
|
|
278
|
+
key: "3",
|
|
279
|
+
width: "100%"
|
|
280
|
+
}, {
|
|
281
|
+
default: i(() => [
|
|
282
|
+
u(e.$slots, "topItem"),
|
|
283
|
+
e.canSelectNone ? (a(), s(t(S), {
|
|
284
|
+
key: "-1",
|
|
350
285
|
density: e.density,
|
|
351
|
-
|
|
286
|
+
onClick: l[4] || (l[4] = (o) => v(null)),
|
|
287
|
+
subtitle: "(Select None)"
|
|
288
|
+
}, null, 8, ["density"])) : p("", !0),
|
|
289
|
+
r(t(ne), {
|
|
290
|
+
group: "",
|
|
291
|
+
"hide-on-leave": ""
|
|
352
292
|
}, {
|
|
353
293
|
default: i(() => [
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
294
|
+
(a(!0), P(O, null, W(t(d).filteredItems.value, (o, B) => (a(), P(O, {
|
|
295
|
+
key: `${o.id ?? B}-list-item`
|
|
296
|
+
}, [
|
|
297
|
+
u(e.$slots, "item", {
|
|
298
|
+
item: o,
|
|
299
|
+
index: B,
|
|
300
|
+
size: t(g),
|
|
301
|
+
isActive: h.value(o),
|
|
302
|
+
selectItem: v
|
|
303
|
+
}, () => [
|
|
304
|
+
r(t(S), {
|
|
305
|
+
active: h.value(o),
|
|
306
|
+
density: e.density,
|
|
307
|
+
"prepend-icon": e.prependIcon,
|
|
308
|
+
value: o,
|
|
309
|
+
onClick: (de) => v(o)
|
|
310
|
+
}, {
|
|
311
|
+
default: i(() => [
|
|
312
|
+
u(e.$slots, "default", {
|
|
313
|
+
item: o,
|
|
314
|
+
index: B,
|
|
315
|
+
size: t(g)
|
|
316
|
+
}, () => [
|
|
317
|
+
e.itemText != null || e.textFilter != null || e.textFunction != null ? (a(), s(t(T), { key: 0 }, {
|
|
318
|
+
default: i(() => [
|
|
319
|
+
c(f(k.value(o)), 1)
|
|
320
|
+
]),
|
|
321
|
+
_: 2
|
|
322
|
+
}, 1024)) : p("", !0),
|
|
323
|
+
e.itemSubtext != null || e.subtextFilter != null || e.subtextFunction != null ? (a(), s(t(w), { key: 1 }, {
|
|
324
|
+
default: i(() => [
|
|
325
|
+
c(f(L.value(o)), 1)
|
|
326
|
+
]),
|
|
327
|
+
_: 2
|
|
328
|
+
}, 1024)) : p("", !0)
|
|
329
|
+
])
|
|
330
|
+
]),
|
|
331
|
+
_: 2
|
|
332
|
+
}, 1032, ["active", "density", "prepend-icon", "value", "onClick"])
|
|
357
333
|
]),
|
|
334
|
+
e.hideDividers !== !0 ? (a(), s(t(ie), { key: 0 })) : p("", !0)
|
|
335
|
+
], 64))), 128))
|
|
336
|
+
]),
|
|
337
|
+
_: 3
|
|
338
|
+
}),
|
|
339
|
+
u(e.$slots, "bottomItem")
|
|
340
|
+
]),
|
|
341
|
+
_: 3
|
|
342
|
+
}, 8, ["bg-color", "height", "maxHeight"])) : u(e.$slots, "selected", {
|
|
343
|
+
key: 3,
|
|
344
|
+
item: N.value,
|
|
345
|
+
open: M
|
|
346
|
+
}, () => [
|
|
347
|
+
r(t(S), {
|
|
348
|
+
onClick: M,
|
|
349
|
+
density: e.density,
|
|
350
|
+
key: "4"
|
|
351
|
+
}, {
|
|
352
|
+
default: i(() => [
|
|
353
|
+
e.label != null ? (a(), s(t(w), { key: 0 }, {
|
|
354
|
+
default: i(() => [
|
|
355
|
+
c(f(e.label), 1)
|
|
356
|
+
]),
|
|
357
|
+
_: 1
|
|
358
|
+
})) : p("", !0),
|
|
359
|
+
r(t(T), null, {
|
|
360
|
+
default: i(() => [
|
|
361
|
+
c(f(k.value(N.value) ?? e.placeholder), 1)
|
|
362
|
+
]),
|
|
363
|
+
_: 1
|
|
364
|
+
})
|
|
365
|
+
]),
|
|
366
|
+
append: i(() => [
|
|
367
|
+
$("div", ue, [
|
|
368
|
+
u(e.$slots, "actions"),
|
|
369
|
+
r(t(E), null, {
|
|
370
|
+
default: i(() => l[7] || (l[7] = [
|
|
371
|
+
c("$chevron-down")
|
|
372
|
+
])),
|
|
358
373
|
_: 1
|
|
359
|
-
})
|
|
360
|
-
|
|
374
|
+
}),
|
|
375
|
+
u(e.$slots, "actionsRight"),
|
|
376
|
+
e.showSettings ? (a(), s(t(H), {
|
|
377
|
+
key: 0,
|
|
378
|
+
"offset-y": "",
|
|
379
|
+
"close-on-content-click": !1
|
|
380
|
+
}, {
|
|
381
|
+
activator: i(({ props: o }) => [
|
|
382
|
+
r(t(A), z({ icon: "" }, o, {
|
|
383
|
+
size: t(g),
|
|
384
|
+
title: "Settings"
|
|
385
|
+
}), null, 16, ["size"])
|
|
386
|
+
]),
|
|
361
387
|
default: i(() => [
|
|
362
|
-
|
|
388
|
+
r(t(I), null, {
|
|
389
|
+
default: i(() => [
|
|
390
|
+
u(e.$slots, "settings")
|
|
391
|
+
]),
|
|
392
|
+
_: 3
|
|
393
|
+
})
|
|
363
394
|
]),
|
|
364
|
-
_:
|
|
365
|
-
})
|
|
366
|
-
])
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
default: i(() => [
|
|
391
|
-
u(e.$slots, "settings")
|
|
392
|
-
]),
|
|
393
|
-
_: 3
|
|
394
|
-
})
|
|
395
|
-
]),
|
|
396
|
-
_: 3
|
|
397
|
-
})) : p("", !0)
|
|
398
|
-
])
|
|
399
|
-
]),
|
|
400
|
-
_: 3
|
|
401
|
-
}, 8, ["density"])
|
|
402
|
-
])
|
|
403
|
-
]),
|
|
404
|
-
_: 3
|
|
405
|
-
}),
|
|
406
|
-
r(t(ae), {
|
|
407
|
-
modelValue: t(d).isLoading.value,
|
|
408
|
-
"onUpdate:modelValue": l[5] || (l[5] = (o) => t(d).isLoading.value = o),
|
|
409
|
-
class: "align-center justify-center text-center",
|
|
410
|
-
contained: "",
|
|
411
|
-
persistent: ""
|
|
412
|
-
}, {
|
|
413
|
-
default: i(() => [
|
|
414
|
-
r(t(re), { indeterminate: "" }),
|
|
415
|
-
$("p", null, f(t(d).loadingMsg.value), 1)
|
|
416
|
-
]),
|
|
417
|
-
_: 1
|
|
418
|
-
}, 8, ["modelValue"])
|
|
419
|
-
]),
|
|
420
|
-
_: 3
|
|
421
|
-
}, 8, ["class", "lg", "md", "sm", "cols"]);
|
|
422
|
-
};
|
|
395
|
+
_: 3
|
|
396
|
+
})) : p("", !0)
|
|
397
|
+
])
|
|
398
|
+
]),
|
|
399
|
+
_: 3
|
|
400
|
+
}, 8, ["density"])
|
|
401
|
+
])
|
|
402
|
+
]),
|
|
403
|
+
_: 3
|
|
404
|
+
}),
|
|
405
|
+
r(t(ae), {
|
|
406
|
+
modelValue: t(d).isLoading.value,
|
|
407
|
+
"onUpdate:modelValue": l[5] || (l[5] = (o) => t(d).isLoading.value = o),
|
|
408
|
+
class: "align-center justify-center text-center",
|
|
409
|
+
contained: "",
|
|
410
|
+
persistent: ""
|
|
411
|
+
}, {
|
|
412
|
+
default: i(() => [
|
|
413
|
+
r(t(se), { indeterminate: "" }),
|
|
414
|
+
$("p", null, f(t(d).loadingMsg.value), 1)
|
|
415
|
+
]),
|
|
416
|
+
_: 1
|
|
417
|
+
}, 8, ["modelValue"])
|
|
418
|
+
]),
|
|
419
|
+
_: 3
|
|
420
|
+
}, 8, ["class", "lg", "md", "sm", "cols"]));
|
|
423
421
|
}
|
|
424
422
|
});
|
|
425
423
|
export {
|
|
426
|
-
|
|
424
|
+
Te as default
|
|
427
425
|
};
|