@quidgest/ui 0.28.0 → 0.29.0
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/CHANGELOG.md +51 -8
- package/README.md +19 -0
- package/dist/json/api.json +1517 -86
- package/dist/manifest/components.json +0 -1
- package/dist/ui.css +59 -68
- package/dist/ui.esm.js +1031 -1043
- package/dist/ui.js +1000 -1013
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1000 -1013
- package/dist/ui.scss +83 -27
- package/esm/components/QAccordion/QAccordion.d.ts +3 -3
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +33 -30
- package/esm/components/QAccordion/QAccordionItem.d.ts +4 -1
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +37 -6
- package/esm/components/QAccordion/index.d.ts +20 -11
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.vue.js +19 -12
- package/esm/components/QAvatar/types.d.ts +2 -1
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +36 -37
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +18 -18
- package/esm/components/QCarousel/QCarousel.d.ts +1 -1
- package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.vue.js +99 -95
- package/esm/components/QCarousel/constants.d.ts +1 -0
- package/esm/components/QCarousel/constants.d.ts.map +1 -1
- package/esm/components/QCarousel/constants.js +2 -1
- package/esm/components/QCarousel/index.d.ts +3 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts +0 -2
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +33 -36
- package/esm/components/QCheckbox/index.d.ts +0 -1
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +1 -2
- package/esm/components/QCombobox/QCombobox.d.ts +9 -0
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +142 -134
- package/esm/components/QCombobox/index.d.ts +10 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +8 -0
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +199 -219
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +4 -4
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/index.d.ts +6 -6
- package/esm/components/QDialog/types.d.ts +3 -3
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +8 -0
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +136 -124
- package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +82 -79
- package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
- package/esm/components/QIcon/QSvgSymbol.vue.js +31 -31
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +67 -41
- package/esm/components/QInputGroup/types.d.ts +15 -1
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +6 -0
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +4 -1
- package/esm/components/QList/QListItem.d.ts +6 -2
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +54 -41
- package/esm/components/QList/index.d.ts +6 -1
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +16 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.d.ts +6 -1
- package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +90 -95
- package/esm/components/QOverflow/index.d.ts +3 -3
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +125 -117
- package/esm/components/QOverlay/types.d.ts +9 -2
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +1 -0
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +5 -0
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +1 -0
- package/esm/components/QPasswordField/index.d.ts +6 -0
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/types.d.ts +10 -0
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +184 -18
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/index.d.ts +92 -9
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +62 -60
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +2 -2
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +46 -46
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +7 -7
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts +0 -6
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/gap.js +12 -18
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +11 -0
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/stylesheet.js +5 -5
- package/esm/components/QSelect/QSelect.d.ts +157 -0
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +240 -212
- package/esm/components/QSelect/index.d.ts +84 -0
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +8 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +1 -2
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarPanel.vue.js +5 -5
- package/esm/components/QSidebar/context.d.ts +3 -3
- package/esm/components/QSidebar/context.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.d.ts +4 -4
- package/esm/components/QSteps/QSteps.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.vue.js +9 -15
- package/esm/components/QSteps/index.d.ts +2 -2
- package/esm/components/QSteps/types.d.ts +2 -1
- package/esm/components/QSteps/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +2 -2
- package/esm/components/QTabs/QTabs.d.ts +4 -4
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +86 -85
- package/esm/components/QTabs/context.d.ts +3 -3
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +2 -2
- package/esm/components/QTextArea/QTextArea.d.ts +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +25 -24
- package/esm/components/QTextArea/index.d.ts +3 -3
- package/esm/components/QToast/QToast.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +7 -4
- package/esm/components/QToast/QToaster.d.ts.map +1 -1
- package/esm/components/QToast/types.d.ts +3 -3
- package/esm/components/QToggleGroup/QToggleGroup.d.ts +3 -3
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +34 -31
- package/esm/components/QToggleGroup/index.d.ts +8 -8
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +1 -1
- package/esm/composables/defaults.d.ts +10 -0
- package/esm/composables/defaults.d.ts.map +1 -1
- package/esm/composables/defaults.js +8 -5
- package/esm/composables/useDialog/_internal.js +8 -11
- package/esm/composables/useDialog/index.js +1 -2
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.d.ts +1 -11
- package/esm/composables/useDropZone/index.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.js +23 -26
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.js +15 -15
- package/esm/composables/useOverlayScope/index.d.ts +29 -0
- package/esm/composables/useOverlayScope/index.d.ts.map +1 -0
- package/esm/composables/useOverlayScope/index.js +23 -0
- package/esm/composables/useTextareaAutosize/index.d.ts +3 -1
- package/esm/composables/useTextareaAutosize/index.d.ts.map +1 -1
- package/esm/composables/useTextareaAutosize/index.js +6 -6
- package/esm/composables/useToast/_internal.js +10 -15
- package/esm/composables/useToast/index.js +1 -2
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/framework.js +14 -12
- package/esm/index.d.ts +1 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/symbols/overlayScope.d.ts +4 -0
- package/esm/symbols/overlayScope.d.ts.map +1 -0
- package/esm/symbols/overlayScope.js +4 -0
- package/esm/types/component.d.ts +8 -0
- package/esm/types/component.d.ts.map +1 -1
- package/esm/types/index.d.ts +1 -1
- package/esm/types/index.d.ts.map +1 -1
- package/esm/utils/color/parse.d.ts.map +1 -1
- package/esm/utils/color/parse.js +3 -10
- package/esm/utils/date.d.ts +35 -13
- package/esm/utils/date.d.ts.map +1 -1
- package/esm/utils/date.js +313 -253
- package/esm/utils/mask.d.ts +1 -0
- package/esm/utils/mask.d.ts.map +1 -1
- package/esm/utils/mask.js +42 -100
- package/esm/utils/overlay.d.ts +13 -1
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/overlay.js +55 -41
- package/esm/utils/safeTriangle.d.ts.map +1 -1
- package/esm/utils/safeTriangle.js +2 -2
- package/esm/utils/setupPropsProxy.d.ts +3 -1
- package/esm/utils/setupPropsProxy.d.ts.map +1 -1
- package/esm/utils/setupPropsProxy.js +2 -2
- package/package.json +9 -6
|
@@ -1,46 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as se, createSlots as ce, createTextVNode as p, createVNode as m, defineComponent as le, mergeModels as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeProps as y, onBeforeUnmount as ue, onMounted as de, openBlock as b, ref as fe, renderList as pe, renderSlot as x, toDisplayString as S, toRef as C, unref as w, useAttrs as me, useModel as he, useTemplateRef as T, vModelText as ge, watch as E, withCtx as D, withDirectives as _e, withModifiers as ve } from "vue";
|
|
1
|
+
import { useId as e } from "../../composables/useId/index.js";
|
|
2
|
+
import { QIcon as t } from "../QIcon/index.js";
|
|
3
|
+
import { QOverlay as n } from "../QOverlay/index.js";
|
|
4
|
+
import { QPopover as ee } from "../QPopover/index.js";
|
|
5
|
+
import { QSpinnerLoader as r } from "../QSpinnerLoader/index.js";
|
|
6
|
+
import { mergeDescribedBy as i } from "../__internal__/QHelpPopover/resolveHelp.js";
|
|
7
|
+
import { QButton as a } from "../QButton/index.js";
|
|
8
|
+
import { QChevron as o } from "../__internal__/QChevron/index.js";
|
|
9
|
+
import { QBadge as s } from "../QBadge/index.js";
|
|
10
|
+
import { QList as te } from "../QList/index.js";
|
|
11
|
+
import { QField as ne } from "../QField/index.js";
|
|
12
|
+
import { QClearButton as re } from "../__internal__/QClearButton/index.js";
|
|
13
|
+
import { DEFAULT_ICONS as c, DEFAULT_TEXTS as l } from "./constants.js";
|
|
14
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as ie, createTextVNode as g, createVNode as _, defineComponent as ae, mergeModels as v, mergeProps as y, nextTick as b, normalizeClass as x, normalizeProps as oe, onBeforeUnmount as se, onMounted as ce, openBlock as S, ref as le, renderList as ue, renderSlot as C, toDisplayString as w, toRef as de, unref as T, useAttrs as fe, useModel as pe, useTemplateRef as E, vModelText as me, watch as D, withCtx as O, withDirectives as he, withModifiers as ge } from "vue";
|
|
16
15
|
//#region src/components/QSelect/QSelect.vue?vue&type=script&setup=true&lang.ts
|
|
17
|
-
var
|
|
16
|
+
var _e = {
|
|
18
17
|
key: 0,
|
|
19
18
|
ref: "valueContainer",
|
|
20
19
|
class: "q-select__value-container"
|
|
21
|
-
},
|
|
20
|
+
}, ve = {
|
|
22
21
|
key: 1,
|
|
23
22
|
class: "q-select__multi-value"
|
|
24
|
-
},
|
|
23
|
+
}, ye = {
|
|
24
|
+
key: 1,
|
|
25
|
+
ref: "separatorMeasure",
|
|
26
|
+
class: "q-select__separator-measure q-select__multi-value--hidden"
|
|
27
|
+
}, be = {
|
|
25
28
|
key: 1,
|
|
26
29
|
class: "q-select__value"
|
|
27
|
-
},
|
|
30
|
+
}, xe = {
|
|
28
31
|
key: 1,
|
|
29
32
|
class: "q-select__placeholder"
|
|
30
|
-
},
|
|
33
|
+
}, Se = [
|
|
31
34
|
"id",
|
|
32
35
|
"aria-describedby",
|
|
33
36
|
"tabindex",
|
|
34
37
|
"aria-expanded",
|
|
35
38
|
"aria-controls",
|
|
36
39
|
"aria-keyshortcuts"
|
|
37
|
-
],
|
|
40
|
+
], Ce = ["data-key"], we = {
|
|
38
41
|
key: 0,
|
|
39
42
|
class: "q-select__loader"
|
|
40
|
-
},
|
|
43
|
+
}, k = ", ", A = /*@__PURE__*/ ae({
|
|
41
44
|
inheritAttrs: !1,
|
|
42
45
|
__name: "QSelect",
|
|
43
|
-
props: /*@__PURE__*/
|
|
46
|
+
props: /*@__PURE__*/ v({
|
|
44
47
|
id: {},
|
|
45
48
|
class: {},
|
|
46
49
|
label: {},
|
|
@@ -49,8 +52,8 @@ var ye = {
|
|
|
49
52
|
labelPosition: {},
|
|
50
53
|
help: {},
|
|
51
54
|
helpDisplay: {},
|
|
52
|
-
icons: { default: () =>
|
|
53
|
-
texts: { default: () =>
|
|
55
|
+
icons: { default: () => c },
|
|
56
|
+
texts: { default: () => l },
|
|
54
57
|
size: {},
|
|
55
58
|
readonly: { type: Boolean },
|
|
56
59
|
disabled: { type: Boolean },
|
|
@@ -65,6 +68,7 @@ var ye = {
|
|
|
65
68
|
default: !0
|
|
66
69
|
},
|
|
67
70
|
multiple: { type: Boolean },
|
|
71
|
+
overflow: { default: "wrap" },
|
|
68
72
|
badges: { type: Boolean },
|
|
69
73
|
loading: { type: Boolean },
|
|
70
74
|
emptyValue: {},
|
|
@@ -79,75 +83,81 @@ var ye = {
|
|
|
79
83
|
},
|
|
80
84
|
openModifiers: {}
|
|
81
85
|
}),
|
|
82
|
-
emits: /*@__PURE__*/
|
|
86
|
+
emits: /*@__PURE__*/ v([
|
|
83
87
|
"before-show",
|
|
84
88
|
"before-hide",
|
|
85
89
|
"show",
|
|
86
90
|
"hide"
|
|
87
91
|
], ["update:modelValue", "update:open"]),
|
|
88
|
-
setup(
|
|
89
|
-
let
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
multiple: C(h, "multiple")
|
|
93
|
-
}), F = he(s, "open"), I = fe(0), L = !0, R = T("trigger"), Ee = l(() => typeof j["aria-describedby"] == "string" ? j["aria-describedby"] : void 0), De = T("input"), Oe = T("list"), ke = T("content"), Ae = T("valueContainer"), je = T("allBadges"), Me = T("allPlainTexts"), Ne = T("hiddenItemsCountBadge"), z = null, B = null;
|
|
94
|
-
function Pe() {
|
|
95
|
-
B && clearTimeout(B), B = setTimeout(() => {
|
|
92
|
+
setup(c, { expose: l, emit: ae }) {
|
|
93
|
+
let v = c, A = ae, j = pe(c, "modelValue"), M = e(de(v, "id")), Te = fe(), N = d(() => `${M.value}_input`), Ee = d(() => `${M.value}_listbox`), P = pe(c, "open"), De = d(() => v.overflow === "fit-content" ? "auto" : "anchor"), F = le(0), I = !0, L = E("trigger"), Oe = d(() => typeof Te["aria-describedby"] == "string" ? Te["aria-describedby"] : void 0), ke = E("input"), Ae = E("list"), je = E("content"), Me = E("valueContainer"), Ne = E("allBadges"), Pe = E("allPlainTexts"), Fe = E("hiddenItemsCountBadge"), R = E("counterMeasure"), Ie = E("separatorMeasure"), z = null, B = /* @__PURE__ */ new Set(), V = null;
|
|
94
|
+
function Le() {
|
|
95
|
+
V && clearTimeout(V), V = setTimeout(() => {
|
|
96
96
|
$();
|
|
97
97
|
}, 120);
|
|
98
98
|
}
|
|
99
|
-
|
|
99
|
+
function Re(e) {
|
|
100
|
+
if (!z) return;
|
|
101
|
+
let t = new Set(e);
|
|
102
|
+
for (let e of B) t.has(e) || (z.unobserve(e), B.delete(e));
|
|
103
|
+
for (let e of t) B.has(e) || (z.observe(e), B.add(e));
|
|
104
|
+
}
|
|
105
|
+
ce(() => {
|
|
100
106
|
$();
|
|
101
|
-
let e =
|
|
107
|
+
let e = L.value?.fieldRef;
|
|
102
108
|
e && (z = new ResizeObserver(() => {
|
|
103
|
-
|
|
109
|
+
Le();
|
|
104
110
|
}), z.observe(e));
|
|
105
|
-
}),
|
|
106
|
-
z?.disconnect(), B && clearTimeout(
|
|
111
|
+
}), se(() => {
|
|
112
|
+
z?.disconnect(), B.clear(), V && clearTimeout(V);
|
|
107
113
|
});
|
|
108
|
-
let
|
|
109
|
-
if (
|
|
110
|
-
let e =
|
|
114
|
+
let H = d(() => U.value.length === 0), U = d(() => {
|
|
115
|
+
if (v.multiple) return (j.value ?? []).map((e) => Be(e)).filter((e) => !!e);
|
|
116
|
+
let e = j.value === void 0 ? void 0 : Be(j.value);
|
|
111
117
|
return e ? [e] : [];
|
|
112
|
-
}),
|
|
118
|
+
}), ze = d(() => {
|
|
113
119
|
let e = /* @__PURE__ */ new Map();
|
|
114
|
-
return
|
|
120
|
+
return v.items?.forEach((t, n) => {
|
|
115
121
|
e.set(t.key, n);
|
|
116
122
|
}), e;
|
|
117
|
-
}),
|
|
118
|
-
function
|
|
119
|
-
return
|
|
123
|
+
}), W = d(() => U.value?.map(K).filter(Boolean).join(", ")), G = d(() => v.clearable && !v.readonly && !v.disabled && !v.loading && !H.value);
|
|
124
|
+
function Be(e) {
|
|
125
|
+
return v.items?.find((t) => t[v.itemValue] === e);
|
|
120
126
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
127
|
+
function Ve(e) {
|
|
128
|
+
let t = U.value[e]?.[v.itemValue];
|
|
129
|
+
q(j.value.filter((e) => e !== t));
|
|
123
130
|
}
|
|
124
|
-
function
|
|
125
|
-
return e?.[
|
|
131
|
+
function K(e) {
|
|
132
|
+
return e?.[v.itemLabel] ?? "";
|
|
126
133
|
}
|
|
127
|
-
function
|
|
128
|
-
return e + 1 <
|
|
134
|
+
function He(e) {
|
|
135
|
+
return e + 1 < U.value.length - F.value ? k : "";
|
|
129
136
|
}
|
|
130
|
-
function
|
|
131
|
-
Array.isArray(e) ?
|
|
137
|
+
function q(e) {
|
|
138
|
+
Array.isArray(e) ? j.value = e.sort((e, t) => ze.value.get(e) - ze.value.get(t)) : (j.value = e, Y());
|
|
132
139
|
}
|
|
133
|
-
function
|
|
134
|
-
|
|
140
|
+
function J() {
|
|
141
|
+
q(v.emptyValue), Z();
|
|
135
142
|
}
|
|
136
|
-
function
|
|
143
|
+
function Ue(e) {
|
|
137
144
|
let t = e.relatedTarget;
|
|
138
|
-
!
|
|
145
|
+
!je.value?.contains(t) && !L.value?.fieldRef?.contains(t) && Y(!1);
|
|
139
146
|
}
|
|
140
|
-
function
|
|
141
|
-
|
|
147
|
+
function We() {
|
|
148
|
+
P.value || v.readonly || v.disabled || (I = !0, A("before-show"), P.value = !0);
|
|
142
149
|
}
|
|
143
150
|
function Y(e = !0) {
|
|
144
|
-
|
|
151
|
+
P.value &&= (I = e, A("before-hide"), !1);
|
|
152
|
+
}
|
|
153
|
+
function Ge(e) {
|
|
154
|
+
P.value && (e.target?.closest("input, button, a, [tabindex]") || e.preventDefault());
|
|
145
155
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
156
|
+
function Ke() {
|
|
157
|
+
v.readonly || v.disabled || (P.value ? Y() : We());
|
|
148
158
|
}
|
|
149
159
|
function X(e) {
|
|
150
|
-
!e.key ||
|
|
160
|
+
!e.key || v.readonly || v.disabled || ([
|
|
151
161
|
"Enter",
|
|
152
162
|
" ",
|
|
153
163
|
"ArrowDown",
|
|
@@ -159,100 +169,100 @@ var ye = {
|
|
|
159
169
|
"Enter",
|
|
160
170
|
" ",
|
|
161
171
|
"ArrowDown"
|
|
162
|
-
].includes(e.key) &&
|
|
172
|
+
].includes(e.key) && We(), ["Escape", "Tab"].includes(e.key) && (P.value ? Y(e.key !== "Tab") : G.value && e.key === "Escape" && J()), G.value && e.key === "Delete" && J());
|
|
163
173
|
}
|
|
164
|
-
function
|
|
174
|
+
function qe(e) {
|
|
165
175
|
e.key.length === 1 && e.preventDefault(), X(e);
|
|
166
176
|
}
|
|
167
|
-
async function
|
|
168
|
-
await
|
|
177
|
+
async function Je() {
|
|
178
|
+
await b(), v.loading ? je.value?.focus() : Q(), A("show");
|
|
169
179
|
}
|
|
170
|
-
function
|
|
171
|
-
|
|
180
|
+
function Ye() {
|
|
181
|
+
I && Z(), I = !0, A("hide");
|
|
172
182
|
}
|
|
173
183
|
function Z() {
|
|
174
|
-
|
|
184
|
+
ke.value?.focus();
|
|
175
185
|
}
|
|
176
186
|
function Q() {
|
|
177
|
-
|
|
187
|
+
Ae.value?.$el.focus();
|
|
178
188
|
}
|
|
179
189
|
async function $() {
|
|
180
|
-
if (await
|
|
181
|
-
|
|
190
|
+
if (await b(), await b(), !v.multiple || !Me.value || H.value) {
|
|
191
|
+
F.value = 0;
|
|
182
192
|
return;
|
|
183
193
|
}
|
|
184
|
-
let e =
|
|
185
|
-
if (
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
else break;
|
|
194
|
+
let e = Me.value, t = e.getBoundingClientRect().width, n = parseFloat(getComputedStyle(e).columnGap) || 0, ee = R.value?.$el.getBoundingClientRect().width ?? 0, r = v.badges ? (Ne.value ?? []).map((e) => e.$el) : Pe.value ?? [], i = r.map((e) => e.getBoundingClientRect().width), a = Ie.value?.getBoundingClientRect().width ?? 0;
|
|
195
|
+
if (Re(R.value ? [...r, R.value.$el] : r), i.reduce((e, t) => e + t, 0) + n * (i.length - 1) - a <= t) {
|
|
196
|
+
F.value = 0;
|
|
197
|
+
return;
|
|
189
198
|
}
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
if (
|
|
193
|
-
|
|
199
|
+
let o = ee, s = 0;
|
|
200
|
+
for (let e of i) {
|
|
201
|
+
if (o + n + e - a > t) break;
|
|
202
|
+
o += n + e, s++;
|
|
194
203
|
}
|
|
195
|
-
|
|
204
|
+
F.value = i.length - s;
|
|
196
205
|
}
|
|
197
|
-
return
|
|
198
|
-
!e &&
|
|
199
|
-
}),
|
|
200
|
-
|
|
201
|
-
() =>
|
|
202
|
-
() =>
|
|
206
|
+
return D(() => v.loading, (e) => {
|
|
207
|
+
!e && P.value && b(Q);
|
|
208
|
+
}), D(() => v.badges, $), D(U, $, { deep: !0 }), D(() => v.clearable, $), D([
|
|
209
|
+
P,
|
|
210
|
+
() => v.readonly,
|
|
211
|
+
() => v.disabled
|
|
203
212
|
], ([e, t, n]) => {
|
|
204
213
|
e && (t || n) && Y(!1);
|
|
205
214
|
}, {
|
|
206
215
|
flush: "sync",
|
|
207
216
|
immediate: !0
|
|
208
|
-
}),
|
|
209
|
-
id:
|
|
217
|
+
}), l({ focusList: Q }), (e, l) => (S(), m(u, null, [_(T(ne), {
|
|
218
|
+
id: T(M),
|
|
210
219
|
ref: "trigger",
|
|
211
|
-
label:
|
|
212
|
-
for:
|
|
213
|
-
"label-position":
|
|
214
|
-
required:
|
|
215
|
-
class:
|
|
220
|
+
label: v.label,
|
|
221
|
+
for: N.value,
|
|
222
|
+
"label-position": v.labelPosition,
|
|
223
|
+
required: v.required,
|
|
224
|
+
class: x([
|
|
216
225
|
"q-select",
|
|
217
226
|
{
|
|
218
|
-
"q-select--readonly":
|
|
219
|
-
"q-select--disabled":
|
|
227
|
+
"q-select--readonly": v.readonly,
|
|
228
|
+
"q-select--disabled": v.disabled
|
|
220
229
|
},
|
|
221
|
-
|
|
230
|
+
v.class
|
|
222
231
|
]),
|
|
223
|
-
readonly:
|
|
224
|
-
disabled:
|
|
225
|
-
"data-loading":
|
|
226
|
-
size:
|
|
227
|
-
invalid:
|
|
228
|
-
help:
|
|
229
|
-
"help-display":
|
|
230
|
-
icons:
|
|
231
|
-
texts:
|
|
232
|
-
|
|
232
|
+
readonly: v.readonly,
|
|
233
|
+
disabled: v.disabled,
|
|
234
|
+
"data-loading": v.loading,
|
|
235
|
+
size: v.size,
|
|
236
|
+
invalid: v.invalid,
|
|
237
|
+
help: v.help,
|
|
238
|
+
"help-display": v.helpDisplay,
|
|
239
|
+
icons: v.icons,
|
|
240
|
+
texts: v.texts,
|
|
241
|
+
onMousedown: Ge,
|
|
242
|
+
onClick: Ke,
|
|
233
243
|
onKeydown: X
|
|
234
|
-
},
|
|
235
|
-
default:
|
|
236
|
-
empty:
|
|
237
|
-
items:
|
|
238
|
-
value:
|
|
239
|
-
}, () => [
|
|
240
|
-
(
|
|
244
|
+
}, ie({
|
|
245
|
+
default: O(({ describedBy: n }) => [C(e.$slots, "value", {
|
|
246
|
+
empty: H.value,
|
|
247
|
+
items: U.value,
|
|
248
|
+
value: j.value
|
|
249
|
+
}, () => [H.value ? (S(), m("span", xe, [!v.readonly && !v.disabled ? (S(), m(u, { key: 0 }, [g(w(v.texts.placeholder), 1)], 64)) : p("v-if", !0)])) : (S(), m(u, { key: 0 }, [v.badges || v.multiple ? (S(), m("span", _e, [v.multiple ? (S(), m(u, { key: 0 }, [
|
|
250
|
+
(S(!0), m(u, null, ue(U.value, (e, n) => (S(), m(u, { key: `visible-${n}` }, [n < U.value.length - F.value ? (S(), m(u, { key: 0 }, [v.badges ? (S(), f(T(s), {
|
|
241
251
|
key: 0,
|
|
242
252
|
pill: "",
|
|
243
253
|
size: "small",
|
|
244
254
|
focusable: !1,
|
|
245
|
-
color:
|
|
246
|
-
disabled:
|
|
247
|
-
removable: !
|
|
248
|
-
icons:
|
|
249
|
-
texts:
|
|
250
|
-
"onClick:remove": () =>
|
|
255
|
+
color: v.readonly || v.disabled ? "neutral" : void 0,
|
|
256
|
+
disabled: v.readonly || v.disabled,
|
|
257
|
+
removable: !v.readonly && !v.disabled && (!v.required || U.value.length > 1),
|
|
258
|
+
icons: v.icons,
|
|
259
|
+
texts: v.texts,
|
|
260
|
+
"onClick:remove": () => Ve(n)
|
|
251
261
|
}, {
|
|
252
|
-
default:
|
|
262
|
+
default: O(() => [e?.icon ? (S(), f(T(t), y({
|
|
253
263
|
key: 0,
|
|
254
264
|
ref_for: !0
|
|
255
|
-
}, e.icon), null, 16)) :
|
|
265
|
+
}, e.icon), null, 16)) : p("v-if", !0), g(" " + w(K(e)), 1)]),
|
|
256
266
|
_: 2
|
|
257
267
|
}, 1032, [
|
|
258
268
|
"color",
|
|
@@ -261,131 +271,145 @@ var ye = {
|
|
|
261
271
|
"icons",
|
|
262
272
|
"texts",
|
|
263
273
|
"onClick:remove"
|
|
264
|
-
])) :
|
|
265
|
-
|
|
274
|
+
])) : v.multiple ? (S(), m("span", ve, w(K(e) + He(n)), 1)) : p("v-if", !0)], 64)) : p("v-if", !0)], 64))), 128)),
|
|
275
|
+
F.value > 0 ? (S(), m(u, { key: 0 }, [_(T(s), {
|
|
266
276
|
ref: "hiddenItemsCountBadge",
|
|
267
277
|
pill: "",
|
|
268
278
|
size: "small",
|
|
269
279
|
focusable: !1,
|
|
270
|
-
icons:
|
|
271
|
-
texts:
|
|
272
|
-
class:
|
|
280
|
+
icons: v.icons,
|
|
281
|
+
texts: v.texts,
|
|
282
|
+
class: x(["q-select__badge-count", { "q-select__badge-count--clickable": v.readonly || v.disabled }])
|
|
273
283
|
}, {
|
|
274
|
-
default:
|
|
284
|
+
default: O(() => [g(" +" + w(F.value), 1)]),
|
|
275
285
|
_: 1
|
|
276
286
|
}, 8, [
|
|
277
287
|
"icons",
|
|
278
288
|
"texts",
|
|
279
289
|
"class"
|
|
280
|
-
]),
|
|
290
|
+
]), v.readonly || v.disabled ? (S(), f(T(ee), {
|
|
281
291
|
key: 0,
|
|
282
|
-
anchor:
|
|
283
|
-
text:
|
|
292
|
+
anchor: Fe.value?.$el,
|
|
293
|
+
text: W.value,
|
|
284
294
|
placement: "bottom-start"
|
|
285
295
|
}, {
|
|
286
|
-
default:
|
|
296
|
+
default: O(() => [g(w(W.value), 1)]),
|
|
287
297
|
_: 1
|
|
288
|
-
}, 8, ["anchor", "text"])) :
|
|
289
|
-
(
|
|
298
|
+
}, 8, ["anchor", "text"])) : p("v-if", !0)], 64)) : p("v-if", !0),
|
|
299
|
+
(S(!0), m(u, null, ue(U.value, (e, n) => (S(), m(u, { key: `measure-${n}` }, [v.badges ? (S(), f(T(s), {
|
|
290
300
|
key: 0,
|
|
291
301
|
ref_for: !0,
|
|
292
302
|
ref: "allBadges",
|
|
293
303
|
pill: "",
|
|
294
304
|
size: "small",
|
|
295
305
|
focusable: !1,
|
|
296
|
-
color:
|
|
306
|
+
color: v.readonly || v.disabled ? "neutral" : void 0,
|
|
297
307
|
disabled: "",
|
|
298
308
|
class: "q-select__badge-hidden",
|
|
299
|
-
icons:
|
|
300
|
-
texts:
|
|
301
|
-
removable: !
|
|
309
|
+
icons: v.icons,
|
|
310
|
+
texts: v.texts,
|
|
311
|
+
removable: !v.readonly && !v.disabled && (!v.required || U.value.length > 1)
|
|
302
312
|
}, {
|
|
303
|
-
default:
|
|
313
|
+
default: O(() => [e?.icon ? (S(), f(T(t), y({
|
|
304
314
|
key: 0,
|
|
305
315
|
ref_for: !0
|
|
306
|
-
}, e.icon), null, 16)) :
|
|
316
|
+
}, e.icon), null, 16)) : p("v-if", !0), g(" " + w(K(e)), 1)]),
|
|
307
317
|
_: 2
|
|
308
318
|
}, 1032, [
|
|
309
319
|
"color",
|
|
310
320
|
"icons",
|
|
311
321
|
"texts",
|
|
312
322
|
"removable"
|
|
313
|
-
])) :
|
|
314
|
-
key: 1,
|
|
323
|
+
])) : v.multiple ? (S(), m(u, { key: 1 }, [p(" Always with the separator, so its width does not change with the count "), h("span", {
|
|
315
324
|
ref_for: !0,
|
|
316
325
|
ref: "allPlainTexts",
|
|
317
326
|
class: "q-select__multi-value--hidden"
|
|
318
|
-
},
|
|
319
|
-
|
|
327
|
+
}, w(K(e) + k), 513)], 2112)) : p("v-if", !0)], 64))), 128)),
|
|
328
|
+
p(" The separator alone, which the last item shown goes without "),
|
|
329
|
+
v.badges ? p("v-if", !0) : (S(), m("span", ye, w(k), 512)),
|
|
330
|
+
p(" The widest counter it can show, so the count keeps room for it "),
|
|
331
|
+
_(T(s), {
|
|
332
|
+
ref: "counterMeasure",
|
|
333
|
+
pill: "",
|
|
334
|
+
size: "small",
|
|
335
|
+
focusable: !1,
|
|
336
|
+
icons: v.icons,
|
|
337
|
+
texts: v.texts,
|
|
338
|
+
class: "q-select__badge-count-measure q-select__badge-hidden"
|
|
339
|
+
}, {
|
|
340
|
+
default: O(() => [g(" +" + w(U.value.length), 1)]),
|
|
341
|
+
_: 1
|
|
342
|
+
}, 8, ["icons", "texts"])
|
|
343
|
+
], 64)) : (S(), f(T(s), {
|
|
320
344
|
key: 1,
|
|
321
345
|
pill: "",
|
|
322
346
|
size: "small",
|
|
323
347
|
focusable: !1,
|
|
324
|
-
disabled:
|
|
325
|
-
removable: !
|
|
326
|
-
icons:
|
|
327
|
-
texts:
|
|
328
|
-
"onClick:remove":
|
|
348
|
+
disabled: v.readonly || v.disabled,
|
|
349
|
+
removable: !v.readonly && !v.disabled && !v.required,
|
|
350
|
+
icons: v.icons,
|
|
351
|
+
texts: v.texts,
|
|
352
|
+
"onClick:remove": J
|
|
329
353
|
}, {
|
|
330
|
-
default:
|
|
354
|
+
default: O(() => [U.value[0]?.icon ? (S(), f(T(t), oe(y({ key: 0 }, U.value[0].icon)), null, 16)) : p("v-if", !0), g(" " + w(K(U.value[0])), 1)]),
|
|
331
355
|
_: 1
|
|
332
356
|
}, 8, [
|
|
333
357
|
"disabled",
|
|
334
358
|
"removable",
|
|
335
359
|
"icons",
|
|
336
360
|
"texts"
|
|
337
|
-
]))], 512)) : (
|
|
338
|
-
id:
|
|
361
|
+
]))], 512)) : (S(), m("span", be, w(W.value), 1))], 64))]), he(h("input", y({
|
|
362
|
+
id: N.value,
|
|
339
363
|
ref: "input",
|
|
340
|
-
"onUpdate:modelValue":
|
|
364
|
+
"onUpdate:modelValue": l[0] ||= (e) => W.value = e
|
|
341
365
|
}, e.$attrs, {
|
|
342
|
-
"aria-describedby":
|
|
366
|
+
"aria-describedby": T(i)(n, Oe.value),
|
|
343
367
|
class: "q-select__input",
|
|
344
368
|
inputmode: "none",
|
|
345
369
|
type: "text",
|
|
346
370
|
autocomplete: "off",
|
|
347
|
-
tabindex:
|
|
371
|
+
tabindex: v.disabled ? -1 : 0,
|
|
348
372
|
role: "combobox",
|
|
349
|
-
"aria-expanded":
|
|
350
|
-
"aria-controls":
|
|
373
|
+
"aria-expanded": P.value,
|
|
374
|
+
"aria-controls": P.value ? Ee.value : void 0,
|
|
351
375
|
"aria-haspopup": "listbox",
|
|
352
|
-
"aria-keyshortcuts":
|
|
353
|
-
onKeydown:
|
|
354
|
-
}), null, 16,
|
|
355
|
-
append:
|
|
356
|
-
|
|
357
|
-
|
|
376
|
+
"aria-keyshortcuts": G.value ? "Delete" : void 0,
|
|
377
|
+
onKeydown: qe
|
|
378
|
+
}), null, 16, Se), [[me, W.value]])]),
|
|
379
|
+
append: O(() => [
|
|
380
|
+
C(e.$slots, "append"),
|
|
381
|
+
G.value ? (S(), f(T(re), {
|
|
358
382
|
key: 0,
|
|
359
|
-
icons:
|
|
360
|
-
texts:
|
|
361
|
-
onClick:
|
|
362
|
-
}, null, 8, ["icons", "texts"])) :
|
|
363
|
-
|
|
383
|
+
icons: v.icons,
|
|
384
|
+
texts: v.texts,
|
|
385
|
+
onClick: J
|
|
386
|
+
}, null, 8, ["icons", "texts"])) : p("v-if", !0),
|
|
387
|
+
v.readonly ? p("v-if", !0) : (S(), f(T(a), {
|
|
364
388
|
key: 1,
|
|
365
389
|
class: "q-select__chevron",
|
|
366
|
-
"aria-label":
|
|
390
|
+
"aria-label": v.texts.showOptions,
|
|
367
391
|
variant: "ghost",
|
|
368
392
|
color: "neutral",
|
|
369
393
|
borderless: "",
|
|
370
394
|
tabindex: -1,
|
|
371
|
-
disabled:
|
|
372
|
-
onClick:
|
|
395
|
+
disabled: v.disabled,
|
|
396
|
+
onClick: Ke
|
|
373
397
|
}, {
|
|
374
|
-
default:
|
|
375
|
-
"model-value":
|
|
376
|
-
icons:
|
|
398
|
+
default: O(() => [_(T(o), {
|
|
399
|
+
"model-value": P.value,
|
|
400
|
+
icons: v.icons
|
|
377
401
|
}, null, 8, ["model-value", "icons"])]),
|
|
378
402
|
_: 1
|
|
379
403
|
}, 8, ["aria-label", "disabled"]))
|
|
380
404
|
]),
|
|
381
405
|
_: 2
|
|
382
|
-
}, [
|
|
406
|
+
}, [U.value.length === 1 && U.value[0].icon && !v.badges || e.$slots.prepend ? {
|
|
383
407
|
name: "prepend",
|
|
384
|
-
fn:
|
|
408
|
+
fn: O(() => [C(e.$slots, "prepend"), U.value.length === 1 && U.value[0].icon && !v.badges ? (S(), f(T(t), oe(y({ key: 0 }, U.value[0].icon)), null, 16)) : p("v-if", !0)]),
|
|
385
409
|
key: "0"
|
|
386
410
|
} : void 0, e.$slots.extras ? {
|
|
387
411
|
name: "extras",
|
|
388
|
-
fn:
|
|
412
|
+
fn: O(() => [C(e.$slots, "extras")]),
|
|
389
413
|
key: "1"
|
|
390
414
|
} : void 0]), 1032, [
|
|
391
415
|
"id",
|
|
@@ -403,53 +427,55 @@ var ye = {
|
|
|
403
427
|
"help-display",
|
|
404
428
|
"icons",
|
|
405
429
|
"texts"
|
|
406
|
-
]),
|
|
407
|
-
modelValue:
|
|
408
|
-
"onUpdate:modelValue":
|
|
430
|
+
]), _(T(n), {
|
|
431
|
+
modelValue: P.value,
|
|
432
|
+
"onUpdate:modelValue": l[1] ||= (e) => P.value = e,
|
|
409
433
|
spy: "",
|
|
410
434
|
"non-modal": "",
|
|
411
435
|
trigger: "manual",
|
|
412
436
|
placement: "bottom-start",
|
|
413
|
-
width:
|
|
437
|
+
width: De.value,
|
|
414
438
|
"scroll-lock": "",
|
|
415
|
-
inline:
|
|
416
|
-
anchor:
|
|
439
|
+
inline: v.inline,
|
|
440
|
+
anchor: v.overlayAnchor ?? L.value?.fieldRef,
|
|
417
441
|
offset: 2,
|
|
418
|
-
onEnter:
|
|
419
|
-
onLeave:
|
|
442
|
+
onEnter: Je,
|
|
443
|
+
onLeave: Ye
|
|
420
444
|
}, {
|
|
421
|
-
default:
|
|
445
|
+
default: O(() => [h("div", {
|
|
422
446
|
ref: "content",
|
|
423
447
|
"data-testid": "combobox-dropdown",
|
|
424
|
-
"data-key":
|
|
448
|
+
"data-key": T(M),
|
|
425
449
|
class: "q-select__body",
|
|
426
450
|
tabindex: "-1",
|
|
427
|
-
onFocusout:
|
|
428
|
-
onKeydown:
|
|
451
|
+
onFocusout: Ue,
|
|
452
|
+
onKeydown: ge(X, ["stop"])
|
|
429
453
|
}, [
|
|
430
|
-
|
|
431
|
-
|
|
454
|
+
C(e.$slots, "body.prepend"),
|
|
455
|
+
v.loading ? (S(), m("div", we, [_(T(r), { size: 24 })])) : (S(), f(T(te), {
|
|
432
456
|
key: 1,
|
|
433
|
-
id:
|
|
457
|
+
id: Ee.value,
|
|
434
458
|
ref: "list",
|
|
435
|
-
class: "q-select__items",
|
|
436
|
-
label:
|
|
459
|
+
class: x(["q-select__items", `q-select__items--${v.overflow}`]),
|
|
460
|
+
label: v.label,
|
|
437
461
|
selectable: "",
|
|
438
|
-
icons:
|
|
439
|
-
required:
|
|
440
|
-
multiple:
|
|
441
|
-
"model-value":
|
|
442
|
-
items:
|
|
443
|
-
groups:
|
|
444
|
-
"item-label":
|
|
445
|
-
"item-value":
|
|
446
|
-
"
|
|
447
|
-
"
|
|
462
|
+
icons: v.icons,
|
|
463
|
+
required: v.required,
|
|
464
|
+
multiple: v.multiple,
|
|
465
|
+
"model-value": j.value,
|
|
466
|
+
items: v.items,
|
|
467
|
+
groups: c.groups,
|
|
468
|
+
"item-label": v.itemLabel,
|
|
469
|
+
"item-value": v.itemValue,
|
|
470
|
+
"item-title": v.overflow === "truncate",
|
|
471
|
+
"select-on-tab": v.selectOnTab,
|
|
472
|
+
"onUpdate:modelValue": q
|
|
448
473
|
}, {
|
|
449
|
-
item:
|
|
474
|
+
item: O(({ item: t }) => [C(e.$slots, "item", { item: t })]),
|
|
450
475
|
_: 3
|
|
451
476
|
}, 8, [
|
|
452
477
|
"id",
|
|
478
|
+
"class",
|
|
453
479
|
"label",
|
|
454
480
|
"icons",
|
|
455
481
|
"required",
|
|
@@ -459,17 +485,19 @@ var ye = {
|
|
|
459
485
|
"groups",
|
|
460
486
|
"item-label",
|
|
461
487
|
"item-value",
|
|
488
|
+
"item-title",
|
|
462
489
|
"select-on-tab"
|
|
463
490
|
])),
|
|
464
|
-
|
|
465
|
-
], 40,
|
|
491
|
+
C(e.$slots, "body.append")
|
|
492
|
+
], 40, Ce)]),
|
|
466
493
|
_: 3
|
|
467
494
|
}, 8, [
|
|
468
495
|
"modelValue",
|
|
496
|
+
"width",
|
|
469
497
|
"inline",
|
|
470
498
|
"anchor"
|
|
471
499
|
])], 64));
|
|
472
500
|
}
|
|
473
501
|
});
|
|
474
502
|
//#endregion
|
|
475
|
-
export {
|
|
503
|
+
export { A as default };
|