@quidgest/ui 0.14.11 → 0.14.12
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/manifest/components.json +1 -0
- package/dist/ui.css +74 -39
- package/dist/ui.esm.js +1731 -1578
- package/dist/ui.js +24 -24
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +170 -163
- package/dist/ui.scss +61 -40
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +2 -2
- package/esm/components/QAccordion/index.d.ts +33 -2
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +7 -7
- package/esm/components/QBadge/index.d.ts +39 -2
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +0 -2
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +18 -18
- package/esm/components/QButton/index.d.ts +36 -2
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.d.ts +1 -3
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +7 -7
- package/esm/components/QButtonGroup/index.d.ts +17 -2
- package/esm/components/QButtonGroup/index.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +1 -1
- package/esm/components/QButtonToggle/index.d.ts +31 -2
- package/esm/components/QButtonToggle/index.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts +4 -9
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +34 -34
- package/esm/components/QCard/index.d.ts +34 -2
- package/esm/components/QCard/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts +0 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +19 -19
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts +1 -3
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +7 -7
- package/esm/components/QCheckbox/index.d.ts +79 -2
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/types.d.ts +8 -4
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +2 -3
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +54 -60
- package/esm/components/QCollapsible/index.d.ts +47 -2
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +5 -4
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.js +4 -5
- package/esm/components/QColorPicker/QColorPicker.d.ts +34 -0
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -0
- package/esm/components/QColorPicker/QColorPicker.vue.js +97 -0
- package/esm/components/QColorPicker/QColorPicker.vue2.js +4 -0
- package/esm/components/QColorPicker/index.d.ts +48 -0
- package/esm/components/QColorPicker/index.d.ts.map +1 -0
- package/esm/components/QColorPicker/index.js +6 -0
- package/esm/components/QColorPicker/types.d.ts +44 -0
- package/esm/components/QColorPicker/types.d.ts.map +1 -0
- package/esm/components/QColorPicker/types.js +6 -0
- package/esm/components/QCombobox/QCombobox.d.ts +682 -82
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +156 -174
- package/esm/components/QCombobox/index.d.ts +1395 -2
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +14 -6
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QCombobox/types.js +9 -11
- package/esm/components/QDialog/QDialog.d.ts +3 -7
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +33 -33
- package/esm/components/QDialog/index.d.ts +56 -2
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +5 -3
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +2 -2
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +232 -11
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +5 -5
- package/esm/components/QDropdownMenu/index.d.ts +12 -2
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +5 -4
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts +5 -7
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +25 -25
- package/esm/components/QField/index.d.ts +37 -2
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts +0 -2
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +8 -8
- package/esm/components/QIcon/QIconFont.d.ts +0 -3
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +10 -10
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.vue.js +4 -4
- package/esm/components/QIcon/QIconSvg.d.ts +0 -2
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +10 -10
- package/esm/components/QIcon/index.d.ts +16 -8
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +0 -5
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +24 -24
- package/esm/components/QInputGroup/index.d.ts +26 -2
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.d.ts +1 -3
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.vue.js +3 -3
- package/esm/components/QLineLoader/index.d.ts +1 -2
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +70 -9
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +21 -21
- package/esm/components/QList/QListItem.d.ts +0 -2
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +20 -20
- package/esm/components/QList/QListItemGroup.d.ts +1 -3
- package/esm/components/QList/QListItemGroup.d.ts.map +1 -1
- package/esm/components/QList/QListItemGroup.vue.js +6 -6
- package/esm/components/QList/index.d.ts +189 -6
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +8 -3
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +4 -4
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +125 -115
- package/esm/components/QOverlay/index.d.ts +78 -2
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +0 -1
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +6 -6
- package/esm/components/QPopover/index.d.ts +49 -2
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.d.ts +8 -5
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +42 -41
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts +0 -1
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +9 -9
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts +0 -1
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +9 -9
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +15 -18
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +59 -54
- package/esm/components/QPropertyList/index.d.ts +117 -8
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +8 -4
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts +0 -2
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +11 -11
- package/esm/components/QRemoveScrollBar/index.d.ts +23 -2
- package/esm/components/QRemoveScrollBar/index.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +309 -29
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +112 -129
- package/esm/components/QSelect/index.d.ts +314 -2
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +13 -5
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSelect/types.js +9 -11
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts +1 -5
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +13 -13
- package/esm/components/QSkeletonLoader/index.d.ts +1 -2
- package/esm/components/QSkeletonLoader/index.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts +0 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +8 -8
- package/esm/components/QSpinnerLoader/index.d.ts +3 -2
- package/esm/components/QSpinnerLoader/index.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +79 -22
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +18 -18
- package/esm/components/QTextField/index.d.ts +122 -2
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.vue.js +9 -8
- package/esm/components/QThemeProvider/index.d.ts +17 -2
- package/esm/components/QThemeProvider/index.d.ts.map +1 -1
- package/esm/components/QThemeProvider/types.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +0 -4
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +17 -17
- package/esm/components/QTooltip/index.d.ts +62 -2
- package/esm/components/QTooltip/index.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.d.ts +14 -0
- package/esm/components/__internal__/QChevron/QChevron.d.ts.map +1 -0
- package/esm/components/__internal__/QChevron/QChevron.vue.js +23 -0
- package/esm/components/__internal__/QChevron/QChevron.vue2.js +4 -0
- package/esm/components/__internal__/QChevron/index.d.ts +13 -0
- package/esm/components/__internal__/QChevron/index.d.ts.map +1 -0
- package/esm/components/__internal__/QChevron/index.js +6 -0
- package/esm/components/__internal__/QChevron/types.d.ts +16 -0
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -0
- package/esm/components/__internal__/QChevron/types.js +8 -0
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts +11 -0
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -0
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +39 -0
- package/esm/components/__internal__/QClearButton/QClearButton.vue2.js +4 -0
- package/esm/components/__internal__/QClearButton/index.d.ts +12 -0
- package/esm/components/__internal__/QClearButton/index.d.ts.map +1 -0
- package/esm/components/__internal__/QClearButton/index.js +6 -0
- package/esm/components/__internal__/QClearButton/types.d.ts +23 -0
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -0
- package/esm/components/__internal__/QClearButton/types.js +11 -0
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +48 -46
- package/esm/composables/group.js +5 -5
- package/esm/composables/theme.d.ts +54 -6
- package/esm/composables/theme.d.ts.map +1 -1
- package/esm/composables/theme.js +10 -12
- package/esm/framework.d.ts +17 -20
- package/esm/framework.d.ts.map +1 -1
- package/esm/framework.js +22 -25
- package/esm/index.d.ts +1 -0
- package/esm/templates/theme.js +16 -16
- package/esm/utils/color.d.ts +2 -1
- package/esm/utils/color.d.ts.map +1 -1
- package/esm/utils/color.js +19 -19
- package/esm/utils/setupPropsProxy.d.ts +22 -9
- package/esm/utils/setupPropsProxy.d.ts.map +1 -1
- package/esm/utils/setupPropsProxy.js +22 -22
- package/esm/utils/theme.d.ts +13 -1
- package/esm/utils/theme.d.ts.map +1 -1
- package/esm/utils/theme.js +40 -24
- package/package.json +18 -22
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QCombobox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/QCombobox.vue"],"names":[],"mappings":"AAyHA;AAykBC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAYtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AA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;;;;;;;;;;;oCAFI,GADG,8CACQ,GAAG,yBAA0B,GAAE,6DAAmC,GAEjF;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0cE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { QList as
|
|
5
|
-
import { QOverlay as
|
|
1
|
+
import { defineComponent as ie, mergeModels as H, useModel as S, ref as k, onMounted as ue, computed as m, watch as I, nextTick as w, createElementBlock as T, openBlock as y, Fragment as se, createVNode as M, unref as p, mergeProps as de, withModifiers as K, createSlots as re, withCtx as r, renderSlot as f, createBlock as A, createCommentVNode as j, createElementVNode as fe, toDisplayString as ce } from "vue";
|
|
2
|
+
import { DEFAULT_TEXTS as me, DEFAULT_ICONS as pe } from "./types.js";
|
|
3
|
+
import { QButton as ve } from "../QButton/index.js";
|
|
4
|
+
import { QList as be } from "../QList/index.js";
|
|
5
|
+
import { QOverlay as ye } from "../QOverlay/index.js";
|
|
6
6
|
import { QSpinnerLoader as he } from "../QSpinnerLoader/index.js";
|
|
7
|
-
import { QTextField as
|
|
8
|
-
import {
|
|
9
|
-
|
|
7
|
+
import { QTextField as ge } from "../QTextField/index.js";
|
|
8
|
+
import { QChevron as ke } from "../__internal__/QChevron/index.js";
|
|
9
|
+
import { QClearButton as Ie } from "../__internal__/QClearButton/index.js";
|
|
10
|
+
const we = ["data-key"], xe = {
|
|
10
11
|
key: 0,
|
|
11
12
|
class: "q-select__loader"
|
|
12
|
-
},
|
|
13
|
+
}, Ve = {
|
|
13
14
|
key: 2,
|
|
14
15
|
class: "q-select__loader"
|
|
15
|
-
},
|
|
16
|
+
}, Se = /* @__PURE__ */ ie({
|
|
16
17
|
inheritAttrs: !1,
|
|
17
18
|
__name: "QCombobox",
|
|
18
19
|
props: /* @__PURE__ */ H({
|
|
19
|
-
id: {
|
|
20
|
-
placeholder: {
|
|
20
|
+
id: {},
|
|
21
|
+
placeholder: {},
|
|
21
22
|
selectionMode: { default: "automatic" },
|
|
22
23
|
filterMode: { default: "builtin" },
|
|
23
|
-
label: {
|
|
24
|
+
label: {},
|
|
24
25
|
clearable: { type: Boolean },
|
|
25
26
|
readonly: { type: Boolean },
|
|
26
27
|
disabled: { type: Boolean },
|
|
@@ -30,11 +31,11 @@ const we = ["data-key"], Ve = {
|
|
|
30
31
|
groups: { default: () => [] },
|
|
31
32
|
itemValue: { default: "key" },
|
|
32
33
|
itemLabel: { default: "label" },
|
|
33
|
-
emptyValue: { type: [String, Number, Boolean, Symbol]
|
|
34
|
-
size: {
|
|
35
|
-
class: {
|
|
36
|
-
icons: { default: () =>
|
|
37
|
-
texts: { default: () =>
|
|
34
|
+
emptyValue: { type: [String, Number, Boolean, Symbol] },
|
|
35
|
+
size: {},
|
|
36
|
+
class: {},
|
|
37
|
+
icons: { default: () => pe },
|
|
38
|
+
texts: { default: () => me }
|
|
38
39
|
}, {
|
|
39
40
|
modelValue: {
|
|
40
41
|
type: [String, Number, Boolean, Symbol]
|
|
@@ -46,156 +47,156 @@ const we = ["data-key"], Ve = {
|
|
|
46
47
|
searchModifiers: {}
|
|
47
48
|
}),
|
|
48
49
|
emits: /* @__PURE__ */ H(["before-show", "before-hide", "show", "hide"], ["update:modelValue", "update:open", "update:search"]),
|
|
49
|
-
setup(
|
|
50
|
-
const l =
|
|
51
|
-
|
|
52
|
-
const
|
|
50
|
+
setup(x, { expose: W, emit: X }) {
|
|
51
|
+
const l = x, V = X, d = S(x, "modelValue"), i = S(x, "open"), u = S(x, "search"), a = k(void 0), c = k(null), s = k(null), L = k(null), F = k(null);
|
|
52
|
+
ue(g);
|
|
53
|
+
const q = m(() => l.clearable && !l.readonly && !l.disabled), v = m(() => {
|
|
53
54
|
var e;
|
|
54
|
-
return l.filterMode === "manual" || !
|
|
55
|
-
(
|
|
55
|
+
return l.filterMode === "manual" || !J.value ? l.items : (e = l.items) == null ? void 0 : e.filter(
|
|
56
|
+
(t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
|
|
56
57
|
);
|
|
57
|
-
}),
|
|
58
|
+
}), h = m(() => {
|
|
58
59
|
var e;
|
|
59
|
-
return (e = l.items) == null ? void 0 : e.find((
|
|
60
|
-
}),
|
|
61
|
-
const e =
|
|
60
|
+
return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === d.value);
|
|
61
|
+
}), _ = m(() => h.value === void 0), C = m(() => {
|
|
62
|
+
const e = a.value;
|
|
62
63
|
if (e !== void 0 && v.value[e])
|
|
63
64
|
return v.value[e];
|
|
64
|
-
}),
|
|
65
|
-
var
|
|
66
|
-
if (
|
|
65
|
+
}), G = m(() => {
|
|
66
|
+
var t;
|
|
67
|
+
if (a.value === void 0)
|
|
67
68
|
return;
|
|
68
|
-
const e = (
|
|
69
|
+
const e = (t = s.value) == null ? void 0 : t.getItem(a.value);
|
|
69
70
|
return e == null ? void 0 : e.id;
|
|
70
|
-
}),
|
|
71
|
+
}), J = m(() => {
|
|
71
72
|
var e;
|
|
72
|
-
return u.value.length > 0 && u.value !== ((e =
|
|
73
|
+
return u.value.length > 0 && u.value !== ((e = h.value) == null ? void 0 : e[l.itemLabel]);
|
|
73
74
|
});
|
|
74
|
-
function
|
|
75
|
-
|
|
75
|
+
function Q(e) {
|
|
76
|
+
d.value = e, $();
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
-
var
|
|
79
|
-
const e = ((
|
|
78
|
+
function g() {
|
|
79
|
+
var t;
|
|
80
|
+
const e = ((t = h.value) == null ? void 0 : t[l.itemLabel]) || "";
|
|
80
81
|
u.value !== e && (u.value = e);
|
|
81
82
|
}
|
|
82
|
-
function
|
|
83
|
-
i.value || l.readonly || l.disabled || (
|
|
83
|
+
function D() {
|
|
84
|
+
i.value || l.readonly || l.disabled || (V("before-show"), i.value = !0, E());
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
-
i.value && (
|
|
86
|
+
function $() {
|
|
87
|
+
i.value && (V("before-hide"), i.value = !1, a.value = void 0);
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
-
i.value ?
|
|
89
|
+
function Y() {
|
|
90
|
+
i.value ? $() : U();
|
|
90
91
|
}
|
|
91
|
-
function
|
|
92
|
-
|
|
92
|
+
function Z() {
|
|
93
|
+
q.value && (d.value = l.emptyValue, a.value = void 0, E());
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
-
if (
|
|
96
|
-
const e = v.value.indexOf(
|
|
97
|
-
e !== -1 &&
|
|
95
|
+
function U() {
|
|
96
|
+
if (D(), h.value !== void 0) {
|
|
97
|
+
const e = v.value.indexOf(h.value);
|
|
98
|
+
e !== -1 && w(() => O(e));
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
function
|
|
101
|
-
var
|
|
101
|
+
function ee(e) {
|
|
102
|
+
var t, o;
|
|
102
103
|
if (!(!e.key || l.readonly || l.disabled))
|
|
103
104
|
if (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && (e.preventDefault(), e.stopPropagation()), e.key === "Escape")
|
|
104
|
-
|
|
105
|
+
g(), i.value && $();
|
|
105
106
|
else if (["ArrowDown", "ArrowUp"].includes(e.key))
|
|
106
|
-
i.value ?
|
|
107
|
-
if (
|
|
108
|
-
|
|
107
|
+
i.value ? w(() => {
|
|
108
|
+
if (a.value === void 0)
|
|
109
|
+
B();
|
|
109
110
|
else {
|
|
110
111
|
const n = e.key === "ArrowDown" ? "next" : "prev";
|
|
111
|
-
|
|
112
|
+
te(a.value, n);
|
|
112
113
|
}
|
|
113
|
-
}) : (
|
|
114
|
-
e.key === "ArrowDown" ?
|
|
114
|
+
}) : (D(), w(() => {
|
|
115
|
+
e.key === "ArrowDown" ? B() : le();
|
|
115
116
|
}));
|
|
116
117
|
else if (e.key === "Enter") {
|
|
117
|
-
if (
|
|
118
|
-
|
|
119
|
-
} else e.key === "Home" ?
|
|
118
|
+
if (C.value === void 0) return;
|
|
119
|
+
Q(C.value[l.itemValue]);
|
|
120
|
+
} else e.key === "Home" ? a.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? a.value = (o = s.value) == null ? void 0 : o.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && D();
|
|
120
121
|
}
|
|
121
|
-
function
|
|
122
|
-
var e,
|
|
123
|
-
if (
|
|
124
|
-
|
|
122
|
+
function B() {
|
|
123
|
+
var e, t;
|
|
124
|
+
if (_.value)
|
|
125
|
+
a.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex();
|
|
125
126
|
else {
|
|
126
|
-
const
|
|
127
|
-
(n) => n[l.itemValue] ===
|
|
127
|
+
const o = v.value.findIndex(
|
|
128
|
+
(n) => n[l.itemValue] === d.value
|
|
128
129
|
);
|
|
129
|
-
|
|
130
|
+
o === -1 ? a.value = (e = s.value) == null ? void 0 : e.getFirstFocusableItemIndex() : a.value = o;
|
|
130
131
|
}
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
+
function le() {
|
|
133
134
|
var e;
|
|
134
|
-
|
|
135
|
+
a.value = (e = s.value) == null ? void 0 : e.getLastFocusableItemIndex();
|
|
135
136
|
}
|
|
136
|
-
function
|
|
137
|
-
var
|
|
138
|
-
|
|
137
|
+
function te(e, t) {
|
|
138
|
+
var o;
|
|
139
|
+
a.value = (o = s.value) == null ? void 0 : o.getAdjacentItemIndex(e, t);
|
|
139
140
|
}
|
|
140
141
|
function N(e) {
|
|
141
|
-
var b,
|
|
142
|
-
const
|
|
143
|
-
if (
|
|
142
|
+
var b, z, P, R;
|
|
143
|
+
const t = ((b = L == null ? void 0 : L.value) == null ? void 0 : b.$el) === e.relatedTarget, o = (P = (z = c == null ? void 0 : c.value) == null ? void 0 : z.$el) == null ? void 0 : P.contains(e.relatedTarget), n = (R = F == null ? void 0 : F.value) == null ? void 0 : R.contains(e.relatedTarget);
|
|
144
|
+
if (t || n || o) {
|
|
144
145
|
e.preventDefault(), e.stopPropagation();
|
|
145
146
|
return;
|
|
146
147
|
}
|
|
147
|
-
|
|
148
|
+
$(), q.value && !u.value && (d.value = l.emptyValue), g();
|
|
148
149
|
}
|
|
149
|
-
function
|
|
150
|
-
var e,
|
|
151
|
-
(
|
|
150
|
+
function E() {
|
|
151
|
+
var e, t;
|
|
152
|
+
(t = (e = c.value) == null ? void 0 : e.inputRef) == null || t.focus();
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
154
|
+
function oe() {
|
|
155
|
+
E();
|
|
155
156
|
}
|
|
156
|
-
function
|
|
157
|
-
|
|
157
|
+
function ae() {
|
|
158
|
+
V("show");
|
|
158
159
|
}
|
|
159
|
-
function
|
|
160
|
-
|
|
160
|
+
function ne() {
|
|
161
|
+
V("hide");
|
|
161
162
|
}
|
|
162
163
|
function O(e) {
|
|
163
|
-
var
|
|
164
|
-
const
|
|
165
|
-
|
|
164
|
+
var o;
|
|
165
|
+
const t = (o = s.value) == null ? void 0 : o.getItem(e);
|
|
166
|
+
s.value && (s.value.$el.scrollTop = t == null ? void 0 : t.offsetTop);
|
|
166
167
|
}
|
|
167
|
-
return
|
|
168
|
+
return I(d, g), I(
|
|
168
169
|
() => l.items,
|
|
169
|
-
(e,
|
|
170
|
-
if (!
|
|
171
|
-
const
|
|
172
|
-
u.value === (
|
|
170
|
+
(e, t) => {
|
|
171
|
+
if (!_.value) {
|
|
172
|
+
const o = t.find((n) => n[l.itemValue] === d.value);
|
|
173
|
+
u.value === (o == null ? void 0 : o[l.itemLabel]) && g();
|
|
173
174
|
}
|
|
174
175
|
},
|
|
175
176
|
{ deep: !0 }
|
|
176
|
-
),
|
|
177
|
+
), I(a, (e) => {
|
|
177
178
|
e !== void 0 && O(e);
|
|
178
|
-
}),
|
|
179
|
-
e && i.value && l.selectionMode === "automatic" &&
|
|
180
|
-
}),
|
|
179
|
+
}), I(u, (e) => {
|
|
180
|
+
e && i.value && l.selectionMode === "automatic" && w(B);
|
|
181
|
+
}), I(
|
|
181
182
|
() => l.loading,
|
|
182
183
|
(e) => {
|
|
183
|
-
!e && i.value &&
|
|
184
|
+
!e && i.value && w(B);
|
|
184
185
|
}
|
|
185
|
-
),
|
|
186
|
-
triggerEl:
|
|
187
|
-
}), (e,
|
|
188
|
-
var
|
|
189
|
-
return y(),
|
|
190
|
-
|
|
186
|
+
), W({
|
|
187
|
+
triggerEl: c
|
|
188
|
+
}), (e, t) => {
|
|
189
|
+
var o;
|
|
190
|
+
return y(), T(
|
|
191
|
+
se,
|
|
191
192
|
null,
|
|
192
193
|
[
|
|
193
|
-
|
|
194
|
+
M(p(ge), de({
|
|
194
195
|
id: l.id,
|
|
195
196
|
ref_key: "triggerEl",
|
|
196
|
-
ref:
|
|
197
|
+
ref: c,
|
|
197
198
|
modelValue: u.value,
|
|
198
|
-
"onUpdate:modelValue":
|
|
199
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => u.value = n),
|
|
199
200
|
label: l.label,
|
|
200
201
|
required: l.required,
|
|
201
202
|
role: "combobox",
|
|
@@ -204,8 +205,7 @@ const we = ["data-key"], Ve = {
|
|
|
204
205
|
"q-combobox",
|
|
205
206
|
{
|
|
206
207
|
"q-combobox--readonly": l.readonly,
|
|
207
|
-
"q-combobox--disabled": l.disabled
|
|
208
|
-
"q-combobox--expanded": i.value
|
|
208
|
+
"q-combobox--disabled": l.disabled
|
|
209
209
|
},
|
|
210
210
|
l.class
|
|
211
211
|
],
|
|
@@ -216,62 +216,44 @@ const we = ["data-key"], Ve = {
|
|
|
216
216
|
"aria-expanded": i.value,
|
|
217
217
|
"aria-haspopup": "listbox",
|
|
218
218
|
"aria-autocomplete": "list",
|
|
219
|
-
"aria-activedescendant":
|
|
219
|
+
"aria-activedescendant": G.value,
|
|
220
220
|
size: l.size
|
|
221
221
|
}, e.$attrs, {
|
|
222
|
-
onClick:
|
|
222
|
+
onClick: U,
|
|
223
223
|
onFocusout: N,
|
|
224
|
-
onKeydown: K(
|
|
225
|
-
}),
|
|
224
|
+
onKeydown: K(ee, ["stop"])
|
|
225
|
+
}), re({
|
|
226
226
|
"label.prepend": r(() => [
|
|
227
|
-
|
|
227
|
+
f(e.$slots, "label.prepend")
|
|
228
228
|
]),
|
|
229
229
|
"label.append": r(() => [
|
|
230
|
-
|
|
230
|
+
f(e.$slots, "label.append")
|
|
231
231
|
]),
|
|
232
232
|
append: r(() => [
|
|
233
|
-
|
|
234
|
-
|
|
233
|
+
f(e.$slots, "append"),
|
|
234
|
+
q.value && u.value ? (y(), A(p(Ie), {
|
|
235
235
|
key: 0,
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
onClick: te
|
|
242
|
-
}, {
|
|
243
|
-
default: r(() => [
|
|
244
|
-
w(
|
|
245
|
-
f(J),
|
|
246
|
-
j(W(l.icons.clear)),
|
|
247
|
-
null,
|
|
248
|
-
16
|
|
249
|
-
/* FULL_PROPS */
|
|
250
|
-
)
|
|
251
|
-
]),
|
|
252
|
-
_: 1
|
|
253
|
-
/* STABLE */
|
|
254
|
-
}, 8, ["aria-label"])) : X("v-if", !0),
|
|
255
|
-
l.readonly ? X("v-if", !0) : (y(), A(f(G), {
|
|
236
|
+
icons: l.icons,
|
|
237
|
+
texts: l.texts,
|
|
238
|
+
onClick: Z
|
|
239
|
+
}, null, 8, ["icons", "texts"])) : j("v-if", !0),
|
|
240
|
+
l.readonly ? j("v-if", !0) : (y(), A(p(ve), {
|
|
256
241
|
key: 1,
|
|
257
242
|
ref_key: "toggleRef",
|
|
258
|
-
ref:
|
|
243
|
+
ref: L,
|
|
259
244
|
class: "q-combobox__chevron",
|
|
260
245
|
"aria-label": l.texts.showOptions,
|
|
261
246
|
"b-style": "plain",
|
|
262
247
|
borderless: "",
|
|
263
248
|
tabindex: "-1",
|
|
264
249
|
disabled: l.disabled,
|
|
265
|
-
onMousedown: K(
|
|
250
|
+
onMousedown: K(Y, ["stop", "prevent"])
|
|
266
251
|
}, {
|
|
267
252
|
default: r(() => [
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
16
|
|
273
|
-
/* FULL_PROPS */
|
|
274
|
-
)
|
|
253
|
+
M(p(ke), {
|
|
254
|
+
"model-value": i.value,
|
|
255
|
+
icons: l.icons
|
|
256
|
+
}, null, 8, ["model-value", "icons"])
|
|
275
257
|
]),
|
|
276
258
|
_: 1
|
|
277
259
|
/* STABLE */
|
|
@@ -283,76 +265,76 @@ const we = ["data-key"], Ve = {
|
|
|
283
265
|
e.$slots.prepend ? {
|
|
284
266
|
name: "prepend",
|
|
285
267
|
fn: r(() => [
|
|
286
|
-
|
|
268
|
+
f(e.$slots, "prepend")
|
|
287
269
|
]),
|
|
288
270
|
key: "0"
|
|
289
271
|
} : void 0,
|
|
290
272
|
e.$slots.extras ? {
|
|
291
273
|
name: "extras",
|
|
292
274
|
fn: r(() => [
|
|
293
|
-
|
|
275
|
+
f(e.$slots, "extras")
|
|
294
276
|
]),
|
|
295
277
|
key: "1"
|
|
296
278
|
} : void 0
|
|
297
279
|
]), 1040, ["id", "modelValue", "label", "required", "placeholder", "class", "readonly", "disabled", "data-loading", "aria-expanded", "aria-activedescendant", "size"]),
|
|
298
|
-
|
|
280
|
+
M(p(ye), {
|
|
299
281
|
modelValue: i.value,
|
|
300
|
-
"onUpdate:modelValue":
|
|
282
|
+
"onUpdate:modelValue": t[2] || (t[2] = (n) => i.value = n),
|
|
301
283
|
spy: "",
|
|
302
284
|
"non-modal": "",
|
|
303
285
|
trigger: "manual",
|
|
304
286
|
placement: "bottom-start",
|
|
305
287
|
width: "anchor",
|
|
306
288
|
offset: 4,
|
|
307
|
-
anchor: (
|
|
308
|
-
onEnter:
|
|
309
|
-
onLeave:
|
|
289
|
+
anchor: (o = c.value) == null ? void 0 : o.$el,
|
|
290
|
+
onEnter: ae,
|
|
291
|
+
onLeave: ne
|
|
310
292
|
}, {
|
|
311
293
|
default: r(() => {
|
|
312
294
|
var n;
|
|
313
295
|
return [
|
|
314
|
-
|
|
296
|
+
fe("div", {
|
|
315
297
|
ref_key: "contentRef",
|
|
316
|
-
ref:
|
|
298
|
+
ref: F,
|
|
317
299
|
class: "q-select__body",
|
|
318
300
|
"data-testid": "combobox-dropdown",
|
|
319
301
|
"data-key": l.id,
|
|
320
302
|
onFocusout: N
|
|
321
303
|
}, [
|
|
322
|
-
|
|
323
|
-
l.loading ? (y(),
|
|
324
|
-
|
|
325
|
-
])) : v.value.length ? (y(), A(
|
|
304
|
+
f(e.$slots, "body.prepend"),
|
|
305
|
+
l.loading ? (y(), T("div", xe, [
|
|
306
|
+
M(p(he), { size: 24 })
|
|
307
|
+
])) : v.value.length ? (y(), A(p(be), {
|
|
326
308
|
key: 1,
|
|
327
309
|
ref_key: "listRef",
|
|
328
|
-
ref:
|
|
329
|
-
modelValue:
|
|
310
|
+
ref: s,
|
|
311
|
+
modelValue: d.value,
|
|
330
312
|
"onUpdate:modelValue": [
|
|
331
|
-
|
|
332
|
-
|
|
313
|
+
t[1] || (t[1] = (b) => d.value = b),
|
|
314
|
+
Q
|
|
333
315
|
],
|
|
334
316
|
class: "q-select__items",
|
|
335
317
|
selectable: "",
|
|
336
|
-
highlighted: (n =
|
|
318
|
+
highlighted: (n = C.value) == null ? void 0 : n[l.itemValue],
|
|
337
319
|
items: v.value,
|
|
338
320
|
groups: e.groups,
|
|
339
321
|
"item-label": l.itemLabel,
|
|
340
322
|
"item-value": l.itemValue,
|
|
341
|
-
onMouseup:
|
|
323
|
+
onMouseup: oe
|
|
342
324
|
}, {
|
|
343
325
|
item: r(({ item: b }) => [
|
|
344
|
-
|
|
326
|
+
f(e.$slots, "item", { item: b })
|
|
345
327
|
]),
|
|
346
328
|
_: 3
|
|
347
329
|
/* FORWARDED */
|
|
348
|
-
}, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (y(),
|
|
330
|
+
}, 8, ["modelValue", "highlighted", "items", "groups", "item-label", "item-value"])) : (y(), T(
|
|
349
331
|
"div",
|
|
350
|
-
|
|
351
|
-
|
|
332
|
+
Ve,
|
|
333
|
+
ce(l.texts.noData),
|
|
352
334
|
1
|
|
353
335
|
/* TEXT */
|
|
354
336
|
)),
|
|
355
|
-
|
|
337
|
+
f(e.$slots, "body.append")
|
|
356
338
|
], 40, we)
|
|
357
339
|
];
|
|
358
340
|
}),
|
|
@@ -367,5 +349,5 @@ const we = ["data-key"], Ve = {
|
|
|
367
349
|
}
|
|
368
350
|
});
|
|
369
351
|
export {
|
|
370
|
-
|
|
352
|
+
Se as default
|
|
371
353
|
};
|