@quidgest/ui 0.14.14 → 0.14.15
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/ui.css +89 -48
- package/dist/ui.esm.js +3279 -3171
- package/dist/ui.js +16 -16
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +656 -647
- package/dist/ui.scss +99 -57
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +26 -13
- package/esm/components/QAccordion/index.d.ts +15 -3
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/types.d.ts +13 -3
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts +2 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +33 -27
- package/esm/components/QBadge/index.d.ts +6 -3
- package/esm/components/QBadge/index.d.ts.map +1 -1
- package/esm/components/QBadge/types.d.ts +13 -5
- package/esm/components/QBadge/types.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +19 -14
- package/esm/components/QBadgeIndicator/index.d.ts +3 -3
- package/esm/components/QBadgeIndicator/types.d.ts +6 -4
- package/esm/components/QBadgeIndicator/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +2 -2
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +17 -15
- package/esm/components/QButton/index.d.ts +6 -6
- package/esm/components/QButton/types.d.ts +6 -7
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +19 -24
- package/esm/components/QButtonGroup/types.d.ts +2 -5
- package/esm/components/QButtonGroup/types.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.d.ts.map +1 -1
- package/esm/components/QButtonToggle/QButtonToggle.vue.js +24 -22
- package/esm/components/QButtonToggle/index.d.ts +21 -3
- package/esm/components/QButtonToggle/index.d.ts.map +1 -1
- package/esm/components/QButtonToggle/types.d.ts +4 -7
- package/esm/components/QButtonToggle/types.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts +2 -2
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +48 -46
- package/esm/components/QCard/index.d.ts +6 -6
- package/esm/components/QCard/types.d.ts +6 -7
- package/esm/components/QCard/types.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.d.ts +2 -2
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +72 -78
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +9 -7
- package/esm/components/QCheckbox/index.d.ts +21 -21
- package/esm/components/QCheckbox/types.d.ts +10 -15
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +2 -2
- package/esm/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +12 -9
- package/esm/components/QCollapsible/index.d.ts +33 -6
- package/esm/components/QCollapsible/index.d.ts.map +1 -1
- package/esm/components/QCollapsible/types.d.ts +15 -15
- package/esm/components/QCollapsible/types.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +16 -15
- package/esm/components/QColorPicker/index.d.ts +27 -3
- package/esm/components/QColorPicker/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts +2 -9
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +209 -75
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +64 -68
- package/esm/components/QCombobox/index.d.ts +331 -89
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +14 -51
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QCombobox/types.js +3 -3
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +2 -1
- package/esm/components/QDateTimePicker/index.d.ts +51 -3
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +2 -31
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- 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 +36 -37
- package/esm/components/QDialog/index.d.ts +39 -6
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +14 -21
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +4 -3
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +60 -26
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +68 -63
- package/esm/components/QDropdownMenu/index.d.ts +27 -3
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +3 -6
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +34 -35
- package/esm/components/QField/types.d.ts +2 -9
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +2 -1
- package/esm/components/QFileUpload/index.d.ts +39 -6
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QFileUpload/types.d.ts +3 -30
- package/esm/components/QFileUpload/types.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.d.ts +2 -2
- package/esm/components/QIcon/QIcon.d.ts.map +1 -1
- package/esm/components/QIcon/QIcon.vue.js +7 -5
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +12 -16
- package/esm/components/QIcon/QIconImg.d.ts +2 -2
- package/esm/components/QIcon/QIconImg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconImg.vue.js +8 -6
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +12 -10
- package/esm/components/QIcon/index.d.ts +4 -4
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/types.d.ts +6 -8
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +21 -18
- package/esm/components/QInputGroup/types.d.ts +2 -23
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.d.ts +1 -2
- package/esm/components/QLineLoader/QLineLoader.d.ts.map +1 -1
- package/esm/components/QLineLoader/QLineLoader.vue.js +10 -14
- package/esm/components/QLineLoader/index.d.ts +1 -1
- package/esm/components/QLineLoader/index.d.ts.map +1 -1
- package/esm/components/QLineLoader/types.d.ts +2 -6
- package/esm/components/QLineLoader/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +3 -3
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +30 -26
- package/esm/components/QList/index.d.ts +35 -11
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +3 -6
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +51 -55
- package/esm/components/QOverlay/index.d.ts +63 -6
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +2 -5
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +1 -1
- package/esm/components/QPopover/QPopover.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.vue.js +23 -20
- package/esm/components/QPopover/index.d.ts +36 -6
- package/esm/components/QPopover/index.d.ts.map +1 -1
- package/esm/components/QPopover/types.d.ts +2 -1
- package/esm/components/QPopover/types.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.d.ts +2 -2
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +126 -115
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts +2 -2
- package/esm/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +19 -17
- package/esm/components/QPropertyList/QPropertyListPanel.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +19 -14
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +6 -3
- package/esm/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +33 -23
- package/esm/components/QPropertyList/index.d.ts +8 -7
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +35 -21
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +63 -29
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +49 -48
- package/esm/components/QSelect/index.d.ts +104 -24
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +10 -39
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.d.ts.map +1 -1
- package/esm/components/QSkeletonLoader/QSkeletonLoader.vue.js +20 -23
- package/esm/components/QSkeletonLoader/types.d.ts +2 -1
- package/esm/components/QSkeletonLoader/types.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/QSpinnerLoader.vue.js +13 -17
- package/esm/components/QSpinnerLoader/types.d.ts +2 -5
- package/esm/components/QSpinnerLoader/types.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.d.ts +2 -2
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +27 -30
- package/esm/components/QTextField/index.d.ts +40 -4
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/types.d.ts +2 -40
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.d.ts.map +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.vue.js +13 -16
- package/esm/components/QThemeProvider/types.d.ts +2 -1
- package/esm/components/QThemeProvider/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +2 -2
- package/esm/components/QTooltip/index.d.ts +45 -6
- package/esm/components/QTooltip/index.d.ts.map +1 -1
- package/esm/components/QTooltip/types.d.ts +2 -9
- package/esm/components/QTooltip/types.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/QChevron.vue.js +19 -11
- package/esm/components/__internal__/QChevron/index.d.ts +6 -2
- package/esm/components/__internal__/QChevron/index.d.ts.map +1 -1
- package/esm/components/__internal__/QChevron/types.d.ts +2 -5
- package/esm/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +23 -18
- package/esm/components/__internal__/QClearButton/types.d.ts +2 -5
- package/esm/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/esm/composables/group.d.ts +88 -8
- package/esm/composables/group.d.ts.map +1 -1
- package/esm/composables/group.js +19 -22
- package/esm/composables/uid.d.ts +3 -2
- package/esm/composables/uid.d.ts.map +1 -1
- package/esm/composables/uid.js +5 -4
- package/esm/types/component.d.ts +18 -0
- package/esm/types/component.d.ts.map +1 -0
- package/package.json +11 -11
|
@@ -37,7 +37,7 @@ declare function getLastFocusableItemIndex(): number;
|
|
|
37
37
|
*/
|
|
38
38
|
declare function getAdjacentItemIndex(idx: number, direction: 'next' | 'prev'): number;
|
|
39
39
|
type __VLS_PublicProps = {
|
|
40
|
-
modelValue?:
|
|
40
|
+
modelValue?: Primitive;
|
|
41
41
|
} & __VLS_Props;
|
|
42
42
|
declare function __VLS_template(): {
|
|
43
43
|
attrs: Partial<{}>;
|
|
@@ -129,9 +129,9 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
129
129
|
getFirstFocusableItemIndex: typeof getFirstFocusableItemIndex;
|
|
130
130
|
getLastFocusableItemIndex: typeof getLastFocusableItemIndex;
|
|
131
131
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
132
|
-
"update:modelValue": (value:
|
|
132
|
+
"update:modelValue": (value: Primitive) => any;
|
|
133
133
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
134
|
-
"onUpdate:modelValue"?: ((value:
|
|
134
|
+
"onUpdate:modelValue"?: ((value: Primitive) => any) | undefined;
|
|
135
135
|
}>, {
|
|
136
136
|
groups: Group[];
|
|
137
137
|
itemValue: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QList/QList.vue"],"names":[],"mappings":"AA2CA;AA8XC,OAAO,KAAK,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAChD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAKlD,KAAK,WAAW,GAAG,UAAU,CAAC;AA4I9B;;;;;;GAMG;AACH,iBAAS,SAAS,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,GAAE,OAAe,GAAG,IAAI,CAGxE;AAmBD,iBAAS,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,GAAG,SAAS,CAIrD;AAaD;;;;;;GAMG;AACH,iBAAS,0BAA0B,IAAI,MAAM,CAO5C;AAED;;;;;;GAMG;AACH,iBAAS,yBAAyB,IAAI,MAAM,CAO3C;AAmCD;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,MAAM,CAuB7E;AAsDF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkIT,OAAO,IAA6B;;;;;YAbvB,GAAG;;;;YACM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAb9B,GAAG,8CAA8C,GAAG,yBAGzD,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;EA2B5C;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAtDZ,GAAG,8CAA8C,GAAG,yBAGzD,GAAG,6DAAmC,GAAG;;;;;;;;;;;;OA8D3C,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"}
|
|
@@ -3,24 +3,26 @@ import { QListItemGroup as P, QListItem as W } from "./index.js";
|
|
|
3
3
|
const Z = /* @__PURE__ */ H({
|
|
4
4
|
__name: "QList",
|
|
5
5
|
props: /* @__PURE__ */ K({
|
|
6
|
+
id: {},
|
|
7
|
+
class: {},
|
|
6
8
|
highlighted: { type: [String, Number, Boolean, Symbol] },
|
|
7
9
|
items: {},
|
|
8
10
|
groups: { default: () => [] },
|
|
9
11
|
itemValue: { default: "key" },
|
|
10
12
|
itemLabel: { default: "label" },
|
|
11
13
|
disabled: { type: Boolean },
|
|
12
|
-
class: {},
|
|
13
14
|
selectable: { type: Boolean }
|
|
14
15
|
}, {
|
|
15
|
-
modelValue: {
|
|
16
|
-
type: [String, Number, Boolean, Symbol]
|
|
17
|
-
},
|
|
16
|
+
modelValue: { type: [String, Number, Boolean, Symbol] },
|
|
18
17
|
modelModifiers: {}
|
|
19
18
|
}),
|
|
20
19
|
emits: ["update:modelValue"],
|
|
21
20
|
setup(y, { expose: E }) {
|
|
22
|
-
const l = y, f = N(y, "modelValue"), p = k(!1), C = F(() =>
|
|
23
|
-
(e) =>
|
|
21
|
+
const l = y, f = N(y, "modelValue"), p = k(!1), C = F(() => r.value.length > 1 ? "div" : "ul"), r = F(() => l.groups.length ? l.groups.filter(
|
|
22
|
+
(e) => {
|
|
23
|
+
var t;
|
|
24
|
+
return (t = l.items) == null ? void 0 : t.some((n) => n.group === e.id);
|
|
25
|
+
}
|
|
24
26
|
) : [{ id: "", title: "" }]), g = k(null), v = k(null);
|
|
25
27
|
function R(e) {
|
|
26
28
|
f.value = e;
|
|
@@ -33,12 +35,12 @@ const Z = /* @__PURE__ */ H({
|
|
|
33
35
|
}
|
|
34
36
|
function O(e) {
|
|
35
37
|
var s;
|
|
36
|
-
if ((s = g.value) != null && s.contains(e.relatedTarget))
|
|
38
|
+
if (!l.items || (s = g.value) != null && s.contains(e.relatedTarget))
|
|
37
39
|
return;
|
|
38
40
|
let t;
|
|
39
41
|
f.value ? t = l.items.findIndex((o) => o[l.itemValue] === f.value) : t = h();
|
|
40
42
|
const n = p.value;
|
|
41
|
-
|
|
43
|
+
a(t, n);
|
|
42
44
|
}
|
|
43
45
|
function Q(e) {
|
|
44
46
|
switch (["ArrowDown", "ArrowUp", "Home", "End"].includes(e.key) && e.preventDefault(), e.key) {
|
|
@@ -60,37 +62,37 @@ const Z = /* @__PURE__ */ H({
|
|
|
60
62
|
switch (e) {
|
|
61
63
|
case "next":
|
|
62
64
|
case "prev":
|
|
63
|
-
|
|
65
|
+
a(j(e));
|
|
64
66
|
break;
|
|
65
67
|
case "first":
|
|
66
|
-
|
|
68
|
+
a(h());
|
|
67
69
|
break;
|
|
68
70
|
case "last":
|
|
69
|
-
|
|
71
|
+
a(w());
|
|
70
72
|
break;
|
|
71
73
|
}
|
|
72
74
|
}
|
|
73
|
-
function
|
|
75
|
+
function a(e, t = !1) {
|
|
74
76
|
var s;
|
|
75
|
-
(s =
|
|
77
|
+
(s = i()[e]) == null || s.focus({ preventScroll: t });
|
|
76
78
|
}
|
|
77
|
-
function
|
|
79
|
+
function i() {
|
|
78
80
|
var t;
|
|
79
81
|
const e = (t = g.value) == null ? void 0 : t.querySelectorAll("li");
|
|
80
82
|
return e ? Array.from(e) : [];
|
|
81
83
|
}
|
|
82
84
|
function T(e) {
|
|
83
|
-
return
|
|
85
|
+
return i()[e];
|
|
84
86
|
}
|
|
85
87
|
function U() {
|
|
86
|
-
return
|
|
88
|
+
return i().indexOf(document.activeElement);
|
|
87
89
|
}
|
|
88
90
|
function h() {
|
|
89
|
-
const e =
|
|
91
|
+
const e = i(), t = e.find((n) => I(n));
|
|
90
92
|
return t ? e.indexOf(t) : -1;
|
|
91
93
|
}
|
|
92
94
|
function w() {
|
|
93
|
-
const e =
|
|
95
|
+
const e = i(), t = [...e].reverse().find((n) => I(n));
|
|
94
96
|
return t ? e.indexOf(t) : -1;
|
|
95
97
|
}
|
|
96
98
|
function A(e, t, n) {
|
|
@@ -101,7 +103,7 @@ const Z = /* @__PURE__ */ H({
|
|
|
101
103
|
return S(t, e);
|
|
102
104
|
}
|
|
103
105
|
function S(e, t) {
|
|
104
|
-
const n =
|
|
106
|
+
const n = i();
|
|
105
107
|
if (A(e, t, n))
|
|
106
108
|
return e;
|
|
107
109
|
let s = e + (t === "next" ? 1 : -1);
|
|
@@ -116,15 +118,17 @@ const Z = /* @__PURE__ */ H({
|
|
|
116
118
|
return e.tabIndex === -2;
|
|
117
119
|
}
|
|
118
120
|
function G(e) {
|
|
119
|
-
|
|
121
|
+
var t;
|
|
122
|
+
return e ? (t = l.items) == null ? void 0 : t.filter((n) => n.group === e) : l.items;
|
|
120
123
|
}
|
|
121
124
|
return E({
|
|
122
|
-
focusItem:
|
|
125
|
+
focusItem: a,
|
|
123
126
|
getItem: T,
|
|
124
127
|
getAdjacentItemIndex: S,
|
|
125
128
|
getFirstFocusableItemIndex: h,
|
|
126
129
|
getLastFocusableItemIndex: w
|
|
127
130
|
}), (e, t) => (d(), x(z(C.value), {
|
|
131
|
+
id: l.id,
|
|
128
132
|
ref_key: "listRef",
|
|
129
133
|
ref: g,
|
|
130
134
|
class: J(["q-list", { "q-list--disabled": l.disabled }, l.class]),
|
|
@@ -139,10 +143,10 @@ const Z = /* @__PURE__ */ H({
|
|
|
139
143
|
(d(!0), B(
|
|
140
144
|
L,
|
|
141
145
|
null,
|
|
142
|
-
M(
|
|
146
|
+
M(r.value, (n, s) => (d(), x(_(P), {
|
|
143
147
|
id: n.id,
|
|
144
148
|
key: n.id,
|
|
145
|
-
title:
|
|
149
|
+
title: r.value.length === 1 ? void 0 : n.title
|
|
146
150
|
}, {
|
|
147
151
|
default: b(() => [
|
|
148
152
|
(d(!0), B(
|
|
@@ -167,7 +171,7 @@ const Z = /* @__PURE__ */ H({
|
|
|
167
171
|
return [
|
|
168
172
|
D(e.$slots, "item.append", {
|
|
169
173
|
item: o,
|
|
170
|
-
element: (c = (u = v.value) == null ? void 0 : u[V + s *
|
|
174
|
+
element: (c = (u = v.value) == null ? void 0 : u[V + s * r.value.length]) == null ? void 0 : c.$el
|
|
171
175
|
})
|
|
172
176
|
];
|
|
173
177
|
}),
|
|
@@ -176,7 +180,7 @@ const Z = /* @__PURE__ */ H({
|
|
|
176
180
|
return [
|
|
177
181
|
D(e.$slots, "item", {
|
|
178
182
|
item: o,
|
|
179
|
-
element: (c = (u = v.value) == null ? void 0 : u[V + s *
|
|
183
|
+
element: (c = (u = v.value) == null ? void 0 : u[V + s * r.value.length]) == null ? void 0 : c.$el
|
|
180
184
|
})
|
|
181
185
|
];
|
|
182
186
|
}),
|
|
@@ -196,7 +200,7 @@ const Z = /* @__PURE__ */ H({
|
|
|
196
200
|
]),
|
|
197
201
|
_: 3
|
|
198
202
|
/* FORWARDED */
|
|
199
|
-
}, 40, ["class", "tabindex"]));
|
|
203
|
+
}, 40, ["id", "class", "tabindex"]));
|
|
200
204
|
}
|
|
201
205
|
});
|
|
202
206
|
export {
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { QListProps, QListItemProps, QListItemGroupProps } from './types';
|
|
2
2
|
declare const QList: {
|
|
3
3
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4
|
-
modelValue?:
|
|
5
|
-
} &
|
|
6
|
-
|
|
4
|
+
modelValue?: import('../../types/primitive').Primitive;
|
|
5
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
6
|
+
highlighted?: import('../../types/primitive').Primitive;
|
|
7
|
+
items?: import('./types').Item[];
|
|
8
|
+
groups?: import('./types').Group[];
|
|
9
|
+
itemValue?: string;
|
|
10
|
+
itemLabel?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
selectable?: boolean;
|
|
13
|
+
}> & Readonly<{
|
|
14
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
7
15
|
}>, {
|
|
8
16
|
focusItem: (itemIdx: number, preventScroll?: boolean) => void;
|
|
9
17
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -11,7 +19,7 @@ declare const QList: {
|
|
|
11
19
|
getFirstFocusableItemIndex: () => number;
|
|
12
20
|
getLastFocusableItemIndex: () => number;
|
|
13
21
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
|
-
"update:modelValue": (value:
|
|
22
|
+
"update:modelValue": (value: import('../../types/primitive').Primitive) => any;
|
|
15
23
|
}, import('vue').PublicProps, {
|
|
16
24
|
groups: import('./types').Group[];
|
|
17
25
|
itemValue: string;
|
|
@@ -91,9 +99,17 @@ declare const QList: {
|
|
|
91
99
|
M: {};
|
|
92
100
|
Defaults: {};
|
|
93
101
|
}, Readonly<{
|
|
94
|
-
modelValue?:
|
|
95
|
-
} &
|
|
96
|
-
|
|
102
|
+
modelValue?: import('../../types/primitive').Primitive;
|
|
103
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
104
|
+
highlighted?: import('../../types/primitive').Primitive;
|
|
105
|
+
items?: import('./types').Item[];
|
|
106
|
+
groups?: import('./types').Group[];
|
|
107
|
+
itemValue?: string;
|
|
108
|
+
itemLabel?: string;
|
|
109
|
+
disabled?: boolean;
|
|
110
|
+
selectable?: boolean;
|
|
111
|
+
}> & Readonly<{
|
|
112
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
97
113
|
}>, {
|
|
98
114
|
focusItem: (itemIdx: number, preventScroll?: boolean) => void;
|
|
99
115
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -109,9 +125,17 @@ declare const QList: {
|
|
|
109
125
|
__isTeleport?: never;
|
|
110
126
|
__isSuspense?: never;
|
|
111
127
|
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
112
|
-
modelValue?:
|
|
113
|
-
} &
|
|
114
|
-
|
|
128
|
+
modelValue?: import('../../types/primitive').Primitive;
|
|
129
|
+
} & import('../../types/component').QBaseComponentProps & {
|
|
130
|
+
highlighted?: import('../../types/primitive').Primitive;
|
|
131
|
+
items?: import('./types').Item[];
|
|
132
|
+
groups?: import('./types').Group[];
|
|
133
|
+
itemValue?: string;
|
|
134
|
+
itemLabel?: string;
|
|
135
|
+
disabled?: boolean;
|
|
136
|
+
selectable?: boolean;
|
|
137
|
+
}> & Readonly<{
|
|
138
|
+
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive) => any) | undefined;
|
|
115
139
|
}>, {
|
|
116
140
|
focusItem: (itemIdx: number, preventScroll?: boolean) => void;
|
|
117
141
|
getItem: (idx: number) => HTMLElement | undefined;
|
|
@@ -119,7 +143,7 @@ declare const QList: {
|
|
|
119
143
|
getFirstFocusableItemIndex: () => number;
|
|
120
144
|
getLastFocusableItemIndex: () => number;
|
|
121
145
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
122
|
-
"update:modelValue": (value:
|
|
146
|
+
"update:modelValue": (value: import('../../types/primitive').Primitive) => any;
|
|
123
147
|
}, string, {
|
|
124
148
|
groups: import('./types').Group[];
|
|
125
149
|
itemValue: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QList/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AAC7C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAKlD,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCASo1yB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EATh7yB,CAAA;AACrC,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA8B,CAAA;AAC7C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,CAAA;AAG3C,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Icon } from '../QIcon';
|
|
2
2
|
import { Primitive } from '../../types/primitive';
|
|
3
|
+
import { QBaseComponentProps } from '../../types/component';
|
|
3
4
|
export type Item = Omit<QListItemProps, 'value' | 'label'> & {
|
|
4
5
|
[key: string]: any;
|
|
5
6
|
};
|
|
@@ -9,7 +10,7 @@ export type Group = QListItemGroupProps & {
|
|
|
9
10
|
*/
|
|
10
11
|
disabled?: boolean;
|
|
11
12
|
};
|
|
12
|
-
export type QListProps = {
|
|
13
|
+
export type QListProps = QBaseComponentProps & {
|
|
13
14
|
/**
|
|
14
15
|
* The value of the currently highlighted item.
|
|
15
16
|
*/
|
|
@@ -17,7 +18,7 @@ export type QListProps = {
|
|
|
17
18
|
/**
|
|
18
19
|
* The list of available items for selection.
|
|
19
20
|
*/
|
|
20
|
-
items
|
|
21
|
+
items?: Item[];
|
|
21
22
|
/**
|
|
22
23
|
* The item groups used for organizing the available items.
|
|
23
24
|
*/
|
|
@@ -34,10 +35,6 @@ export type QListProps = {
|
|
|
34
35
|
* Indicates whether the list is disabled.
|
|
35
36
|
*/
|
|
36
37
|
disabled?: boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Custom set of classes to apply to the component.
|
|
39
|
-
*/
|
|
40
|
-
class?: string | unknown[];
|
|
41
38
|
/**
|
|
42
39
|
* Indicates whether the list items are selectable.
|
|
43
40
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QList/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAC9C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA;AAE5D,MAAM,MAAM,IAAI,GAAG,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG;IAG5D,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,KAAK,GAAG,mBAAmB,GAAG;IACzC;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,mBAAmB,GAAG;IAC9C;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IAEvB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;OAEG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAED,MAAM,MAAM,cAAc,GAAG;IAC5B;;OAEG;IACH,KAAK,EAAE,SAAS,CAAA;IAEhB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA;AAGD,eAAO,MAAM,aAAa;;;;;;;CAOM,CAAA"}
|
|
@@ -27,12 +27,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
27
27
|
}>, {
|
|
28
28
|
transition: string;
|
|
29
29
|
width: "auto" | "anchor";
|
|
30
|
+
placement: import('../../composables/overlay').Placement;
|
|
30
31
|
appearance: import('../../composables/overlay').Appearance;
|
|
31
32
|
attach: string;
|
|
32
33
|
delay: number;
|
|
33
34
|
offset: number;
|
|
34
35
|
crossOffset: number;
|
|
35
|
-
placement: import('../../composables/overlay').Placement;
|
|
36
36
|
trigger: import('../../composables/overlay').Trigger;
|
|
37
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
38
38
|
overlayRef: HTMLDivElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QOverlay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QOverlay/QOverlay.vue"],"names":[],"mappings":"AA6CA;AA4ZC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAM5C,KAAK,WAAW,GAAG,aAAa,CAAC;AAmWlC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAiHT,OAAO,IAA6B;;yBAbpB,GAAG;;;;;;;EAkBhC;AAwBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;OASnB,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,13 +1,15 @@
|
|
|
1
|
-
import { defineComponent as ne, mergeModels as V, useModel as oe, computed as l, reactive as A, watch as k, ref as U, nextTick as v, onMounted as re, onBeforeUnmount as ie, createElementBlock as E, openBlock as
|
|
1
|
+
import { defineComponent as ne, mergeModels as V, useModel as oe, computed as l, reactive as A, watch as k, ref as U, nextTick as v, onMounted as re, onBeforeUnmount as ie, createElementBlock as E, openBlock as c, Fragment as ae, createBlock as _, createCommentVNode as g, Teleport as le, createVNode as se, normalizeClass as z, Transition as de, withCtx as I, unref as B, createElementVNode as P, normalizeStyle as N, mergeProps as ce, withKeys as ue, renderSlot as fe } from "vue";
|
|
2
2
|
import { QRemoveScrollBar as me } from "../QRemoveScrollBar/index.js";
|
|
3
3
|
import { QThemeProvider as ve } from "../QThemeProvider/index.js";
|
|
4
4
|
import { getSideFromPlacement as pe, computePosition as he } from "../../composables/overlay.js";
|
|
5
5
|
import { useTheme as ye } from "../../composables/theme.js";
|
|
6
6
|
import { getElement as we } from "../../utils/getElement.js";
|
|
7
|
-
const ke = ["role"],
|
|
7
|
+
const ke = ["id"], ge = ["role"], Ce = /* @__PURE__ */ ne({
|
|
8
8
|
inheritAttrs: !1,
|
|
9
9
|
__name: "QOverlay",
|
|
10
10
|
props: /* @__PURE__ */ V({
|
|
11
|
+
id: {},
|
|
12
|
+
class: {},
|
|
11
13
|
anchor: {},
|
|
12
14
|
appearance: { default: "regular" },
|
|
13
15
|
arrow: { type: Boolean },
|
|
@@ -25,23 +27,22 @@ const ke = ["role"], Te = /* @__PURE__ */ ne({
|
|
|
25
27
|
spy: { type: Boolean },
|
|
26
28
|
transition: { default: "fade" },
|
|
27
29
|
trigger: { default: "click" },
|
|
28
|
-
width: { default: "auto" }
|
|
29
|
-
class: {}
|
|
30
|
+
width: { default: "auto" }
|
|
30
31
|
}, {
|
|
31
32
|
modelValue: { type: Boolean },
|
|
32
33
|
modelModifiers: {}
|
|
33
34
|
}),
|
|
34
35
|
emits: /* @__PURE__ */ V(["enter", "leave"], ["update:modelValue"]),
|
|
35
|
-
setup(
|
|
36
|
-
const t =
|
|
36
|
+
setup(b, { emit: Q }) {
|
|
37
|
+
const t = b, T = Q, r = oe(b, "modelValue"), D = ye(), F = l(() => [
|
|
37
38
|
"q-overlay",
|
|
38
39
|
`q-overlay--${pe(n.placement)}`,
|
|
39
40
|
{
|
|
40
|
-
"q-overlay--independent":
|
|
41
|
+
"q-overlay--independent": u.value,
|
|
41
42
|
"q-overlay--inverted": t.appearance === "inverted"
|
|
42
43
|
},
|
|
43
44
|
t.class
|
|
44
|
-
]),
|
|
45
|
+
]), u = l(() => t.anchor === void 0), C = l(() => (r.value || n.animating) && !t.nonModal), K = l(() => (r.value || n.animating) && t.scrollLock), n = A({
|
|
45
46
|
animating: !1,
|
|
46
47
|
top: 0,
|
|
47
48
|
left: 0,
|
|
@@ -54,7 +55,7 @@ const ke = ["role"], Te = /* @__PURE__ */ ne({
|
|
|
54
55
|
}), W = l(() => n.top !== 0 && n.left !== 0);
|
|
55
56
|
k(r, () => n.animating = !0);
|
|
56
57
|
const j = l(() => {
|
|
57
|
-
if (
|
|
58
|
+
if (u.value) return;
|
|
58
59
|
const e = d(), w = t.width === "anchor", o = w ? e == null ? void 0 : e.getBoundingClientRect().width : void 0;
|
|
59
60
|
return {
|
|
60
61
|
top: `${n.top}px`,
|
|
@@ -164,13 +165,13 @@ const ke = ["role"], Te = /* @__PURE__ */ ne({
|
|
|
164
165
|
d() ? (a(), L = window.setTimeout(M, 100)) : s();
|
|
165
166
|
}
|
|
166
167
|
function te() {
|
|
167
|
-
|
|
168
|
+
u.value || (Z(), t.spy ? M() : a()), (u.value || t.trigger === "click") && v(() => {
|
|
168
169
|
var e;
|
|
169
170
|
return (e = h.value) == null ? void 0 : e.focus();
|
|
170
171
|
});
|
|
171
172
|
}
|
|
172
173
|
function R() {
|
|
173
|
-
|
|
174
|
+
u.value || ee(), t.spy && (clearTimeout(L), L = void 0), n.top = 0, n.left = 0;
|
|
174
175
|
}
|
|
175
176
|
function O() {
|
|
176
177
|
t.persistent || s();
|
|
@@ -185,15 +186,15 @@ const ke = ["role"], Te = /* @__PURE__ */ ne({
|
|
|
185
186
|
v(() => e ? te() : R());
|
|
186
187
|
},
|
|
187
188
|
{ immediate: !0 }
|
|
188
|
-
), (e, w) => (
|
|
189
|
+
), (e, w) => (c(), E(
|
|
189
190
|
ae,
|
|
190
191
|
null,
|
|
191
192
|
[
|
|
192
|
-
(
|
|
193
|
+
(c(), _(le, {
|
|
193
194
|
disabled: !r.value && !n.animating || t.inline,
|
|
194
195
|
to: t.attach
|
|
195
196
|
}, [
|
|
196
|
-
C.value ? (
|
|
197
|
+
C.value ? (c(), E(
|
|
197
198
|
"div",
|
|
198
199
|
{
|
|
199
200
|
key: 0,
|
|
@@ -213,48 +214,43 @@ const ke = ["role"], Te = /* @__PURE__ */ ne({
|
|
|
213
214
|
onLeave: J
|
|
214
215
|
}, {
|
|
215
216
|
default: I(() => [
|
|
216
|
-
r.value ? (
|
|
217
|
+
r.value ? (c(), _(B(ve), {
|
|
217
218
|
key: 0,
|
|
218
|
-
theme:
|
|
219
|
+
theme: B(D).current.value.name
|
|
219
220
|
}, {
|
|
220
221
|
default: I(() => [
|
|
221
|
-
P(
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
], 16, ke)
|
|
254
|
-
],
|
|
255
|
-
6
|
|
256
|
-
/* CLASS, STYLE */
|
|
257
|
-
)
|
|
222
|
+
P("div", {
|
|
223
|
+
id: t.id,
|
|
224
|
+
class: z(F.value),
|
|
225
|
+
style: N(j.value)
|
|
226
|
+
}, [
|
|
227
|
+
P("div", ce({
|
|
228
|
+
ref_key: "overlayRef",
|
|
229
|
+
ref: h,
|
|
230
|
+
class: "q-overlay__content",
|
|
231
|
+
tabindex: "-1",
|
|
232
|
+
role: C.value ? "dialog" : void 0
|
|
233
|
+
}, e.$attrs, {
|
|
234
|
+
onKeydown: ue(O, ["escape"]),
|
|
235
|
+
onBlur: O
|
|
236
|
+
}), [
|
|
237
|
+
t.arrow ? (c(), E(
|
|
238
|
+
"div",
|
|
239
|
+
{
|
|
240
|
+
key: 0,
|
|
241
|
+
ref_key: "arrowRef",
|
|
242
|
+
ref: p,
|
|
243
|
+
role: "presentation",
|
|
244
|
+
class: "q-overlay__arrow",
|
|
245
|
+
style: N(G.value)
|
|
246
|
+
},
|
|
247
|
+
null,
|
|
248
|
+
4
|
|
249
|
+
/* STYLE */
|
|
250
|
+
)) : g("v-if", !0),
|
|
251
|
+
fe(e.$slots, "default")
|
|
252
|
+
], 16, ge)
|
|
253
|
+
], 14, ke)
|
|
258
254
|
]),
|
|
259
255
|
_: 3
|
|
260
256
|
/* FORWARDED */
|
|
@@ -264,7 +260,7 @@ const ke = ["role"], Te = /* @__PURE__ */ ne({
|
|
|
264
260
|
/* FORWARDED */
|
|
265
261
|
}, 8, ["name"])
|
|
266
262
|
], 8, ["disabled", "to"])),
|
|
267
|
-
K.value ? (
|
|
263
|
+
K.value ? (c(), _(B(me), { key: 0 })) : g("v-if", !0)
|
|
268
264
|
],
|
|
269
265
|
64
|
|
270
266
|
/* STABLE_FRAGMENT */
|
|
@@ -272,5 +268,5 @@ const ke = ["role"], Te = /* @__PURE__ */ ne({
|
|
|
272
268
|
}
|
|
273
269
|
});
|
|
274
270
|
export {
|
|
275
|
-
|
|
271
|
+
Ce as default
|
|
276
272
|
};
|