@quidgest/ui 0.20.0 → 0.21.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 +28 -1
- package/README.md +10 -0
- package/dist/json/api.json +312 -14
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +245 -248
- package/dist/ui.esm.js +805 -683
- package/dist/ui.js +1083 -961
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1083 -961
- package/dist/ui.scss +535 -299
- package/esm/components/QAccordion/QAccordionItem.vue.js +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +20 -24
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +32 -29
- package/esm/components/QCheckbox/QCheckbox.vue.js +1 -1
- package/esm/components/QDialog/QDialog.d.ts +4 -2
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +84 -74
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/QDialogProvider.vue.js +21 -12
- package/esm/components/QDialog/index.d.ts +72 -3
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/types.d.ts +10 -1
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDismissibleLayer/QDismissibleLayer.d.ts.map +1 -1
- package/esm/components/QDismissibleLayer/QDismissibleLayer.vue.js +9 -8
- package/esm/components/QDivider/QDivider.d.ts.map +1 -1
- package/esm/components/QDivider/QDivider.vue.js +3 -3
- package/esm/components/QFileUpload/QFileUpload.vue.js +1 -1
- package/esm/components/QGauge/QGauge.d.ts +56 -0
- package/esm/components/QGauge/QGauge.d.ts.map +1 -0
- package/esm/components/QGauge/QGauge.vue.js +305 -0
- package/esm/components/QGauge/QGauge2.vue.js +5 -0
- package/esm/components/QGauge/constants.d.ts +6 -0
- package/esm/components/QGauge/constants.d.ts.map +1 -0
- package/esm/components/QGauge/constants.js +8 -0
- package/esm/components/QGauge/index.d.ts +124 -0
- package/esm/components/QGauge/index.d.ts.map +1 -0
- package/esm/components/QGauge/index.js +6 -0
- package/esm/components/QGauge/types.d.ts +146 -0
- package/esm/components/QGauge/types.d.ts.map +1 -0
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +5 -2
- package/esm/components/QList/QListItemGroup.vue.js +1 -1
- package/esm/components/QObfuscation/QObfuscation.vue.js +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.vue.js +1 -1
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +1 -1
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +2 -2
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +19 -10
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +51 -49
- package/esm/components/QSidebar/context.d.ts +7 -0
- package/esm/components/QSidebar/context.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +1 -1
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +52 -50
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +37 -12
- package/esm/components/QTabs/context.d.ts +7 -0
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +1 -1
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +1 -1
- package/esm/components/QThemeProvider/QThemeProvider.vue.js +1 -1
- package/esm/components/QToast/QToast.d.ts +4 -2
- package/esm/components/QToast/QToast.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +80 -67
- package/esm/components/QToast/QToaster.d.ts.map +1 -1
- package/esm/components/QToast/QToaster.vue.js +21 -16
- package/esm/components/QToast/index.d.ts +39 -3
- package/esm/components/QToast/index.d.ts.map +1 -1
- package/esm/components/QToast/types.d.ts +6 -2
- package/esm/components/QToast/types.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +1 -1
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +64 -62
- package/esm/composables/index.d.ts +2 -2
- package/esm/composables/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.d.ts +49 -12
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +56 -30
- package/esm/composables/useColor/types.d.ts +4 -1
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/composables/useDialog/_internal.d.ts +2 -0
- package/esm/composables/useDialog/_internal.d.ts.map +1 -0
- package/esm/composables/useDialog/_internal.js +65 -0
- package/esm/composables/useDialog/index.d.ts +11 -3
- package/esm/composables/useDialog/index.d.ts.map +1 -1
- package/esm/composables/useDialog/index.js +38 -22
- package/esm/composables/useDialog/types.d.ts +25 -11
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useDismissibleLayerStack/index.d.ts +17 -2
- package/esm/composables/useDismissibleLayerStack/index.d.ts.map +1 -1
- package/esm/composables/useDismissibleLayerStack/index.js +28 -11
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.js +12 -1
- package/esm/composables/useId/index.d.ts +18 -0
- package/esm/composables/useId/index.d.ts.map +1 -0
- package/esm/composables/useId/index.js +10 -0
- package/esm/composables/useToast/_internal.d.ts +2 -0
- package/esm/composables/useToast/_internal.d.ts.map +1 -0
- package/esm/composables/useToast/_internal.js +142 -0
- package/esm/composables/useToast/index.d.ts +8 -25
- package/esm/composables/useToast/index.d.ts.map +1 -1
- package/esm/composables/useToast/index.js +29 -26
- package/esm/composables/useToast/types.d.ts +31 -17
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/framework.d.ts.map +1 -1
- package/esm/framework.js +16 -12
- package/esm/index.d.ts +1 -0
- package/esm/templates/theme.js +39 -39
- package/esm/utils/color/contrast.d.ts +11 -4
- package/esm/utils/color/contrast.d.ts.map +1 -1
- package/esm/utils/color/contrast.js +16 -3
- package/esm/utils/color/index.d.ts +1 -0
- package/esm/utils/color/index.d.ts.map +1 -1
- package/esm/utils/color/merge.d.ts +9 -0
- package/esm/utils/color/merge.d.ts.map +1 -1
- package/esm/utils/color/merge.js +21 -22
- package/esm/utils/color/parse.d.ts +21 -5
- package/esm/utils/color/parse.d.ts.map +1 -1
- package/esm/utils/color/parse.js +88 -20
- package/esm/utils/color/theme-colors.d.ts +35 -0
- package/esm/utils/color/theme-colors.d.ts.map +1 -0
- package/esm/utils/color/theme-colors.js +25 -0
- package/esm/utils/index.js +50 -42
- package/package.json +3 -5
- package/esm/composables/uid.d.ts +0 -9
- package/esm/composables/uid.d.ts.map +0 -1
- package/esm/composables/uid.js +0 -8
- package/esm/composables/useToast/types.js +0 -4
- package/esm/vendors/uuid/dist/native.js +0 -3
- package/esm/vendors/uuid/dist/rng.js +0 -11
- package/esm/vendors/uuid/dist/stringify.js +0 -8
- package/esm/vendors/uuid/dist/v4.js +0 -20
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useGroupItem as e } from "../../composables/useGroup/index.js";
|
|
2
2
|
import { QCollapsible as t } from "../QCollapsible/index.js";
|
|
3
|
-
import { useId as n } from "../../composables/
|
|
3
|
+
import { useId as n } from "../../composables/useId/index.js";
|
|
4
4
|
import { createBlock as r, defineComponent as i, mergeProps as a, openBlock as o, renderSlot as s, toRef as c, unref as l, withCtx as u } from "vue";
|
|
5
5
|
//#region src/components/QAccordion/QAccordionItem.vue?vue&type=script&setup=true&lang.ts
|
|
6
6
|
var d = /*@__PURE__*/ i({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/QBadge.vue"],"names":[],"mappings":"AAyCA;
|
|
1
|
+
{"version":3,"file":"QBadge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/QBadge.vue"],"names":[],"mappings":"AAyCA;AA+IC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAW1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAgGrC,iBAAS,cAAc;WAuIT,OAAO,IAA6B;;yBAXrB,GAAG;yBACF,GAAG;;;;EAehC;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;6EAQnB,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"}
|
|
@@ -31,26 +31,22 @@ var T = ["id"], E = {
|
|
|
31
31
|
e,
|
|
32
32
|
f.class
|
|
33
33
|
];
|
|
34
|
-
}), M = o(() =>
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
"--q-badge-main-color": P.value?.mainColor,
|
|
49
|
-
"--q-badge-on-main-color": P.value?.onMainColor,
|
|
50
|
-
"--q-badge-hover-color": P.value?.hoverColor,
|
|
51
|
-
"--q-badge-on-hover-color": P.value?.onHoverColor
|
|
34
|
+
}), M = o(() => [
|
|
35
|
+
"q-badge",
|
|
36
|
+
`q-badge--${f.variant}`,
|
|
37
|
+
{
|
|
38
|
+
"q-badge--removable": f.removable,
|
|
39
|
+
"q-badge--disabled": f.disabled
|
|
40
|
+
},
|
|
41
|
+
j.value
|
|
42
|
+
]), { style: N } = e(x(f, "color")), P = o(() => {
|
|
43
|
+
if (N.value) return {
|
|
44
|
+
"--q-badge-main-color": N.value.mainColor,
|
|
45
|
+
"--q-badge-on-main-color": N.value.onMainColor,
|
|
46
|
+
"--q-badge-hover-color": N.value.hoverColor,
|
|
47
|
+
"--q-badge-on-hover-color": N.value.onHoverColor
|
|
52
48
|
};
|
|
53
|
-
}),
|
|
49
|
+
}), F = o(() => k.onClick), I = o(() => ({
|
|
54
50
|
class: "q-badge__remove",
|
|
55
51
|
variant: f.variant,
|
|
56
52
|
color: f.color,
|
|
@@ -58,7 +54,7 @@ var T = ["id"], E = {
|
|
|
58
54
|
title: f.texts.removeText,
|
|
59
55
|
disabled: f.disabled
|
|
60
56
|
}));
|
|
61
|
-
function
|
|
57
|
+
function L() {
|
|
62
58
|
O("click:remove");
|
|
63
59
|
}
|
|
64
60
|
return (e, r) => A.value ? (v(), s(b(f.removable ? S(a) : "span"), {
|
|
@@ -70,7 +66,7 @@ var T = ["id"], E = {
|
|
|
70
66
|
variant: f.variant,
|
|
71
67
|
color: f.color,
|
|
72
68
|
disabled: f.disabled,
|
|
73
|
-
onClick:
|
|
69
|
+
onClick: F.value
|
|
74
70
|
}, {
|
|
75
71
|
default: w(() => [y(e.$slots, "default")]),
|
|
76
72
|
_: 3
|
|
@@ -79,7 +75,7 @@ var T = ["id"], E = {
|
|
|
79
75
|
"color",
|
|
80
76
|
"disabled",
|
|
81
77
|
"onClick"
|
|
82
|
-
]), f.removable ? (v(), s(S(t), m({ key: 0 },
|
|
78
|
+
]), f.removable ? (v(), s(S(t), m({ key: 0 }, I.value, { onClick: L }), {
|
|
83
79
|
default: w(() => [d(S(n), g(p(f.icons.remove)), null, 16)]),
|
|
84
80
|
_: 1
|
|
85
81
|
}, 16)) : c("v-if", !0)]),
|
|
@@ -88,8 +84,8 @@ var T = ["id"], E = {
|
|
|
88
84
|
key: 0,
|
|
89
85
|
id: f.id,
|
|
90
86
|
class: h(M.value),
|
|
91
|
-
style: _(
|
|
92
|
-
}, [f.variant === "tonal" ? (v(), l("div", E)) : c("v-if", !0), u("span", null, [u("div", D, [y(e.$slots, "default")]), f.removable ? (v(), s(S(t), m({ key: 0 },
|
|
87
|
+
style: _(P.value)
|
|
88
|
+
}, [f.variant === "tonal" ? (v(), l("div", E)) : c("v-if", !0), u("span", null, [u("div", D, [y(e.$slots, "default")]), f.removable ? (v(), s(S(t), m({ key: 0 }, I.value, { onClick: L }), {
|
|
93
89
|
default: w(() => [d(S(n), g(p(f.icons.remove)), null, 16)]),
|
|
94
90
|
_: 1
|
|
95
91
|
}, 16)) : c("v-if", !0)])], 14, T));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAwBA;AAgHC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AAgFtC,iBAAS,cAAc;WAqDT,OAAO,IAA6B;;yBAXrB,GAAG;wBACJ,GAAG;;;;EAe9B;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;2FASnB,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"}
|
|
@@ -5,7 +5,10 @@ import { computed as n, createCommentVNode as r, createElementBlock as i, create
|
|
|
5
5
|
var _ = ["id", "disabled"], v = {
|
|
6
6
|
key: 0,
|
|
7
7
|
class: "q-button__spinner"
|
|
8
|
-
}, y = { class: "q-button__content" }, b =
|
|
8
|
+
}, y = { class: "q-button__content" }, b = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "q-button__append"
|
|
11
|
+
}, x = /*@__PURE__*/ c({
|
|
9
12
|
__name: "QButton",
|
|
10
13
|
props: {
|
|
11
14
|
id: {},
|
|
@@ -23,52 +26,52 @@ var _ = ["id", "disabled"], v = {
|
|
|
23
26
|
loading: { type: Boolean }
|
|
24
27
|
},
|
|
25
28
|
emits: ["click"],
|
|
26
|
-
setup(c, { emit:
|
|
27
|
-
let
|
|
28
|
-
function
|
|
29
|
-
|
|
29
|
+
setup(c, { emit: x }) {
|
|
30
|
+
let S = c, C = x, w = n(() => S.disabled || S.loading);
|
|
31
|
+
function T(e) {
|
|
32
|
+
w.value || C("click", e);
|
|
30
33
|
}
|
|
31
|
-
let {
|
|
32
|
-
let e =
|
|
34
|
+
let { style: E } = t(m(S, "color")), D = n(() => {
|
|
35
|
+
let e = S.color === "background" ? "q-button--background" : void 0, t = S.size === "regular" ? void 0 : `q-button--${S.size}`, n = S.iconPos === "start" ? void 0 : `q-button--icon-${S.iconPos}`;
|
|
33
36
|
return [
|
|
34
37
|
"q-button",
|
|
35
|
-
`q-button--${
|
|
38
|
+
`q-button--${S.variant}`,
|
|
36
39
|
e,
|
|
37
40
|
t,
|
|
38
41
|
n,
|
|
39
42
|
{
|
|
40
|
-
"q-button--labeled":
|
|
41
|
-
"q-button--borderless":
|
|
42
|
-
"q-button--elevated":
|
|
43
|
-
"q-button--block":
|
|
44
|
-
"q-button--loading":
|
|
45
|
-
"q-button--pill":
|
|
43
|
+
"q-button--labeled": S.label,
|
|
44
|
+
"q-button--borderless": S.borderless,
|
|
45
|
+
"q-button--elevated": S.elevated,
|
|
46
|
+
"q-button--block": S.block,
|
|
47
|
+
"q-button--loading": S.loading,
|
|
48
|
+
"q-button--pill": S.pill
|
|
46
49
|
},
|
|
47
|
-
|
|
50
|
+
S.class
|
|
48
51
|
];
|
|
49
52
|
}), O = n(() => {
|
|
50
|
-
if (!
|
|
51
|
-
"--q-button-main-color": E.value
|
|
52
|
-
"--q-button-main-color-rgb": E.value
|
|
53
|
-
"--q-button-on-main-color": E.value
|
|
54
|
-
"--q-button-hover-color": E.value
|
|
55
|
-
"--q-button-hover-color-rgb": E.value
|
|
56
|
-
"--q-button-on-hover-color": E.value
|
|
53
|
+
if (!(S.color === "background" || !E.value)) return {
|
|
54
|
+
"--q-button-main-color": E.value.mainColor,
|
|
55
|
+
"--q-button-main-color-rgb": E.value.mainColorRgb,
|
|
56
|
+
"--q-button-on-main-color": E.value.onMainColor,
|
|
57
|
+
"--q-button-hover-color": E.value.hoverColor,
|
|
58
|
+
"--q-button-hover-color-rgb": E.value.hoverColorRgb,
|
|
59
|
+
"--q-button-on-hover-color": E.value.onHoverColor
|
|
57
60
|
};
|
|
58
61
|
});
|
|
59
62
|
return (t, n) => (d(), i("button", {
|
|
60
|
-
id:
|
|
63
|
+
id: S.id,
|
|
61
64
|
type: "button",
|
|
62
65
|
class: l(D.value),
|
|
63
|
-
disabled:
|
|
66
|
+
disabled: w.value,
|
|
64
67
|
style: u(O.value),
|
|
65
|
-
onClick: g(
|
|
66
|
-
}, [
|
|
68
|
+
onClick: g(T, ["stop", "prevent"])
|
|
69
|
+
}, [S.loading ? (d(), i("div", v, [s(h(e))])) : r("v-if", !0), a("span", y, [
|
|
67
70
|
f(t.$slots, "default"),
|
|
68
|
-
o(" " + p(
|
|
69
|
-
f(t.$slots, "append")
|
|
71
|
+
o(" " + p(S.label) + " ", 1),
|
|
72
|
+
t.$slots.append ? (d(), i("span", b, [f(t.$slots, "append")])) : r("v-if", !0)
|
|
70
73
|
])], 14, _));
|
|
71
74
|
}
|
|
72
75
|
});
|
|
73
76
|
//#endregion
|
|
74
|
-
export {
|
|
77
|
+
export { x as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QIcon as e } from "../QIcon/index.js";
|
|
2
|
-
import { useId as t } from "../../composables/
|
|
2
|
+
import { useId as t } from "../../composables/useId/index.js";
|
|
3
3
|
import { DEFAULT_ICONS as n } from "./constants.js";
|
|
4
4
|
import { QCheckboxLabel as r } from "./index.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, defineComponent as u, mergeModels as d, mergeProps as f, normalizeClass as p, openBlock as m, renderSlot as h, toRef as g, unref as _, useModel as v, useTemplateRef as y, watch as b, withCtx as x, withKeys as S, withModifiers as C } from "vue";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { DEFAULT_ICONS } from './constants';
|
|
2
2
|
import { DialogButton, QDialogProps } from '.';
|
|
3
|
+
type __VLS_Props = QDialogProps & {};
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
attrs: Partial<{}>;
|
|
5
6
|
slots: {
|
|
@@ -15,10 +16,10 @@ declare function __VLS_template(): {
|
|
|
15
16
|
rootEl: any;
|
|
16
17
|
};
|
|
17
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
19
20
|
"update:modelValue": (val: boolean) => any;
|
|
20
21
|
action: (val: string) => any;
|
|
21
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
22
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
22
23
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
23
24
|
onAction?: ((val: string) => any) | undefined;
|
|
24
25
|
}>, {
|
|
@@ -31,6 +32,7 @@ declare const __VLS_component: import('vue').DefineComponent<QDialogProps, {}, {
|
|
|
31
32
|
backdropBlur: boolean;
|
|
32
33
|
attach: string;
|
|
33
34
|
focusWrap: boolean;
|
|
35
|
+
entryKey: string;
|
|
34
36
|
buttons: DialogButton[];
|
|
35
37
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
36
38
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAwGA;
|
|
1
|
+
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAwGA;AAmNC,OAAO,EAAiC,aAAa,EAAE,MAAM,aAAa,CAAA;AAa1E,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AAKnD,KAAK,WAAW,GAAG,YAAY,GAAG,EAG/B,CAAC;AAiGL,iBAAS,cAAc;WAgQT,OAAO,IAA6B;;wBAhBrB,GAAG;kCACO,GAAG;iCACJ,GAAG;sBACd,GAAG;6BACI,GAAG;+BACD,GAAG;iCACD,GAAG;;;;EAexC;AAuBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;cA/XN,MAAM;;6EAwYnB,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,32 +1,34 @@
|
|
|
1
1
|
import { QButton as e } from "../QButton/index.js";
|
|
2
2
|
import { QIcon as t } from "../QIcon/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { useId as n } from "../../composables/useId/index.js";
|
|
4
|
+
import { QTextField as r } from "../QTextField/index.js";
|
|
5
|
+
import { QOverlay as i } from "../QOverlay/index.js";
|
|
6
|
+
import { DEFAULT_BUTTONS as a, DEFAULT_ICON as o, DEFAULT_ICONS as s } from "./constants.js";
|
|
7
|
+
import { DialogSymbol as c } from "../../composables/useDialog/_internal.js";
|
|
8
|
+
import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, guardReactiveProps as v, inject as y, mergeProps as b, normalizeClass as x, normalizeProps as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, toRef as O, unref as k, watch as A, withCtx as j } from "vue";
|
|
7
9
|
//#region src/components/QDialog/QDialog.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
10
|
+
var M = {
|
|
9
11
|
key: 0,
|
|
10
12
|
class: "q-dialog__header"
|
|
11
|
-
},
|
|
13
|
+
}, N = {
|
|
12
14
|
key: 0,
|
|
13
15
|
class: "q-dialog__header-title"
|
|
14
|
-
},
|
|
16
|
+
}, P = {
|
|
15
17
|
key: 1,
|
|
16
18
|
class: "q-dialog__body"
|
|
17
|
-
},
|
|
19
|
+
}, F = {
|
|
18
20
|
key: 0,
|
|
19
21
|
class: "q-dialog__body-icon"
|
|
20
|
-
},
|
|
22
|
+
}, I = { class: "q-dialog__body-text" }, L = ["innerHTML"], R = { key: 1 }, z = {
|
|
21
23
|
key: 0,
|
|
22
24
|
class: "q-dialog__input"
|
|
23
|
-
},
|
|
25
|
+
}, B = {
|
|
24
26
|
key: 2,
|
|
25
27
|
class: "q-dialog__footer"
|
|
26
|
-
},
|
|
28
|
+
}, V = {
|
|
27
29
|
key: 0,
|
|
28
30
|
class: "q-dialog__footer-buttons"
|
|
29
|
-
},
|
|
31
|
+
}, H = /*@__PURE__*/ _({
|
|
30
32
|
__name: "QDialog",
|
|
31
33
|
props: {
|
|
32
34
|
id: {},
|
|
@@ -34,8 +36,8 @@ var D = {
|
|
|
34
36
|
modelValue: { type: Boolean },
|
|
35
37
|
title: {},
|
|
36
38
|
text: {},
|
|
37
|
-
icon: { default: () =>
|
|
38
|
-
buttons: { default: () =>
|
|
39
|
+
icon: { default: () => o },
|
|
40
|
+
buttons: { default: () => a },
|
|
39
41
|
backdropBlur: {
|
|
40
42
|
type: Boolean,
|
|
41
43
|
default: !0
|
|
@@ -64,96 +66,104 @@ var D = {
|
|
|
64
66
|
default: !0
|
|
65
67
|
},
|
|
66
68
|
input: {},
|
|
67
|
-
icons: { default: () =>
|
|
69
|
+
icons: { default: () => s },
|
|
70
|
+
entryKey: { default: void 0 }
|
|
68
71
|
},
|
|
69
72
|
emits: ["update:modelValue", "action"],
|
|
70
|
-
setup(
|
|
71
|
-
let
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
setup(a, { emit: o }) {
|
|
74
|
+
let s = a, _ = o, H = n(O(s, "id"));
|
|
75
|
+
if (s.entryKey) {
|
|
76
|
+
let e = y(c, null);
|
|
77
|
+
e?.registerDialogEntry(s.entryKey, H.value), A(H, (t, n) => {
|
|
78
|
+
t === n || !s.entryKey || e?.updateDialogEntryId(s.entryKey, t);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
let U = w(""), W = w(""), G = u(() => ["q-dialog", s.class]), K = u(() => `q-overlay--${s.size}`);
|
|
82
|
+
function q() {
|
|
83
|
+
X(!0);
|
|
74
84
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
85
|
+
function J() {
|
|
86
|
+
X(!1);
|
|
77
87
|
}
|
|
78
|
-
function
|
|
79
|
-
if (
|
|
80
|
-
if (
|
|
81
|
-
e.action?.(
|
|
88
|
+
function Y(e) {
|
|
89
|
+
if (_("action", e.id), e.action) {
|
|
90
|
+
if (s.input?.validator && (W.value = s.input.validator(k(U)), k(W))) return;
|
|
91
|
+
e.action?.(k(U));
|
|
82
92
|
}
|
|
83
|
-
|
|
93
|
+
J();
|
|
84
94
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
95
|
+
function X(e) {
|
|
96
|
+
_("update:modelValue", e);
|
|
87
97
|
}
|
|
88
|
-
return (
|
|
89
|
-
id:
|
|
90
|
-
"model-value":
|
|
98
|
+
return (n, a) => (C(), d(k(i), {
|
|
99
|
+
id: k(H),
|
|
100
|
+
"model-value": s.modelValue,
|
|
91
101
|
"backdrop-class": "q-dialog__underlay",
|
|
92
102
|
"scroll-lock": "",
|
|
93
103
|
persistent: "",
|
|
94
|
-
inline:
|
|
95
|
-
attach:
|
|
96
|
-
"backdrop-blur":
|
|
97
|
-
"center-vertically":
|
|
98
|
-
"focus-wrap":
|
|
99
|
-
"initial-focus":
|
|
100
|
-
"focus-within-on-activate":
|
|
101
|
-
"closing-focus":
|
|
102
|
-
"return-focus-on-deactivate":
|
|
103
|
-
class:
|
|
104
|
-
onEnter:
|
|
105
|
-
"onUpdate:modelValue":
|
|
104
|
+
inline: s.inline,
|
|
105
|
+
attach: s.attach,
|
|
106
|
+
"backdrop-blur": s.backdropBlur,
|
|
107
|
+
"center-vertically": s.centerVertically,
|
|
108
|
+
"focus-wrap": s.focusWrap,
|
|
109
|
+
"initial-focus": s.initialFocus,
|
|
110
|
+
"focus-within-on-activate": s.focusWithinOnActivate,
|
|
111
|
+
"closing-focus": s.closingFocus,
|
|
112
|
+
"return-focus-on-deactivate": s.returnFocusOnDeactivate,
|
|
113
|
+
class: x(K.value),
|
|
114
|
+
onEnter: q,
|
|
115
|
+
"onUpdate:modelValue": X
|
|
106
116
|
}, {
|
|
107
|
-
default:
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
])])) :
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
default: j(() => [m("div", { class: x(G.value) }, [
|
|
118
|
+
s.title || n.$slots.header || n.$slots["header.prepend"] || n.$slots["header.append"] ? (C(), p("div", M, [E(n.$slots, "header", {}, () => [
|
|
119
|
+
E(n.$slots, "header.prepend"),
|
|
120
|
+
s.title ? (C(), p("span", N, D(s.title), 1)) : f("v-if", !0),
|
|
121
|
+
E(n.$slots, "header.append")
|
|
122
|
+
])])) : f("v-if", !0),
|
|
123
|
+
s.icon || s.text || n.$slots.body ? (C(), p("div", P, [E(n.$slots, "body", {}, () => [
|
|
124
|
+
E(n.$slots, "body.icon", {}, () => [s.icon ? (C(), p("span", F, [g(k(t), S(v(s.icon)), null, 16)])) : f("v-if", !0)]),
|
|
125
|
+
m("div", I, [s.html ? (C(), p("div", {
|
|
116
126
|
key: 0,
|
|
117
|
-
innerHTML:
|
|
118
|
-
}, null, 8,
|
|
119
|
-
|
|
120
|
-
modelValue:
|
|
121
|
-
"onUpdate:modelValue": a[0] ||= (e) =>
|
|
122
|
-
invalid: !!
|
|
123
|
-
placeholder:
|
|
127
|
+
innerHTML: s.text
|
|
128
|
+
}, null, 8, L)) : (C(), p("div", R, D(s.text), 1))]),
|
|
129
|
+
s.input ? (C(), p("div", z, [g(k(r), {
|
|
130
|
+
modelValue: U.value,
|
|
131
|
+
"onUpdate:modelValue": a[0] ||= (e) => U.value = e,
|
|
132
|
+
invalid: !!W.value,
|
|
133
|
+
placeholder: s.input?.placeholder,
|
|
124
134
|
size: "block"
|
|
125
135
|
}, {
|
|
126
|
-
extras:
|
|
136
|
+
extras: j(() => [W.value ? (C(), d(k(t), {
|
|
127
137
|
key: 0,
|
|
128
138
|
icon: "exclamation-sign"
|
|
129
|
-
})) :
|
|
139
|
+
})) : f("v-if", !0), h(" " + D(W.value), 1)]),
|
|
130
140
|
_: 1
|
|
131
141
|
}, 8, [
|
|
132
142
|
"modelValue",
|
|
133
143
|
"invalid",
|
|
134
144
|
"placeholder"
|
|
135
|
-
])])) :
|
|
136
|
-
|
|
137
|
-
])])) :
|
|
138
|
-
|
|
145
|
+
])])) : f("v-if", !0),
|
|
146
|
+
E(n.$slots, "body.append")
|
|
147
|
+
])])) : f("v-if", !0),
|
|
148
|
+
s.buttons || n.$slots["footer.append"] ? (C(), p("div", B, [s.buttons ? (C(), p("span", V, [(C(!0), p(l, null, T(s.buttons, (n) => (C(), d(k(e), b({ ref_for: !0 }, n.props, {
|
|
139
149
|
key: n.id,
|
|
140
|
-
onClick: () =>
|
|
150
|
+
onClick: () => Y(n)
|
|
141
151
|
}), {
|
|
142
|
-
default:
|
|
152
|
+
default: j(() => [n.icon ? (C(), d(k(t), b({
|
|
143
153
|
key: 0,
|
|
144
154
|
ref_for: !0
|
|
145
|
-
}, n.icon), null, 16)) :
|
|
155
|
+
}, n.icon), null, 16)) : f("v-if", !0)]),
|
|
146
156
|
_: 2
|
|
147
|
-
}, 1040, ["onClick"]))), 128))])) :
|
|
148
|
-
|
|
157
|
+
}, 1040, ["onClick"]))), 128))])) : f("v-if", !0), E(n.$slots, "footer.append")])) : f("v-if", !0),
|
|
158
|
+
s.dismissible ? (C(), d(k(e), {
|
|
149
159
|
key: 3,
|
|
150
160
|
class: "q-dialog__close",
|
|
151
161
|
variant: "text",
|
|
152
|
-
onClick:
|
|
162
|
+
onClick: J
|
|
153
163
|
}, {
|
|
154
|
-
default:
|
|
164
|
+
default: j(() => [g(k(t), S(v(s.icons.close)), null, 16)]),
|
|
155
165
|
_: 1
|
|
156
|
-
})) :
|
|
166
|
+
})) : f("v-if", !0)
|
|
157
167
|
], 2)]),
|
|
158
168
|
_: 3
|
|
159
169
|
}, 8, [
|
|
@@ -173,4 +183,4 @@ var D = {
|
|
|
173
183
|
}
|
|
174
184
|
});
|
|
175
185
|
//#endregion
|
|
176
|
-
export {
|
|
186
|
+
export { H as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"AAWA;AA4EC,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,GAAG,CAAA;;;;;;AAmH9C,wBAOG"}
|
|
@@ -1,22 +1,31 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { QDialog as
|
|
3
|
-
import { Fragment as
|
|
1
|
+
import { injectDialogInstance as e, removeDialogEntry as t } from "../../composables/useDialog/_internal.js";
|
|
2
|
+
import { QDialog as n } from "./index.js";
|
|
3
|
+
import { Fragment as r, createBlock as i, createElementBlock as a, defineComponent as o, mergeProps as s, onUnmounted as c, openBlock as l, renderList as u, unref as d } from "vue";
|
|
4
4
|
//#region src/components/QDialog/QDialogProvider.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var
|
|
5
|
+
var f = /*@__PURE__*/ o({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "QDialogProvider",
|
|
8
8
|
props: { inline: { type: Boolean } },
|
|
9
9
|
emits: ["leave"],
|
|
10
|
-
setup(
|
|
11
|
-
let
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
setup(o, { emit: f }) {
|
|
11
|
+
let p = o, m = f, h = e(), { dialogs: g } = h;
|
|
12
|
+
h.registerProvider(), c(() => h.unregisterProvider());
|
|
13
|
+
function _(e) {
|
|
14
|
+
let n = g.value.findIndex((t) => t.id === e);
|
|
15
|
+
n !== -1 && (t(h, n), m("leave", e));
|
|
14
16
|
}
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
function v(e, t) {
|
|
18
|
+
t || !e.id || _(e.id);
|
|
19
|
+
}
|
|
20
|
+
return (e, t) => (l(!0), a(r, null, u(d(g), (e) => (l(), i(d(n), s({
|
|
21
|
+
key: e.entryKey,
|
|
22
|
+
"entry-key": e.entryKey
|
|
23
|
+
}, { ref_for: !0 }, e.props, {
|
|
24
|
+
inline: p.inline,
|
|
17
25
|
onAction: e.handlers?.onAction,
|
|
18
|
-
"onUpdate:modelValue": (t) =>
|
|
26
|
+
"onUpdate:modelValue": (t) => v(e, t)
|
|
19
27
|
}), null, 16, [
|
|
28
|
+
"entry-key",
|
|
20
29
|
"inline",
|
|
21
30
|
"onAction",
|
|
22
31
|
"onUpdate:modelValue"
|
|
@@ -24,4 +33,4 @@ var u = /*@__PURE__*/ a({
|
|
|
24
33
|
}
|
|
25
34
|
});
|
|
26
35
|
//#endregion
|
|
27
|
-
export {
|
|
36
|
+
export { f as default };
|
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
declare const QDialog: {
|
|
2
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../../types/component').QBaseComponentProps & {
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
title?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
icon?: import('..').Icon;
|
|
7
|
+
buttons?: import('./types').DialogButton[];
|
|
8
|
+
backdropBlur?: boolean;
|
|
9
|
+
size?: import('./types').QDialogSize;
|
|
10
|
+
centerVertically?: boolean;
|
|
11
|
+
attach?: string;
|
|
12
|
+
inline?: boolean;
|
|
13
|
+
focusWrap?: boolean;
|
|
14
|
+
initialFocus?: HTMLElement | string | null;
|
|
15
|
+
focusWithinOnActivate?: boolean;
|
|
16
|
+
closingFocus?: HTMLElement | string;
|
|
17
|
+
returnFocusOnDeactivate?: boolean;
|
|
18
|
+
dismissible?: boolean;
|
|
19
|
+
html?: boolean;
|
|
20
|
+
input?: import('./types').QDialogInputOption;
|
|
21
|
+
icons?: typeof import('./constants').DEFAULT_ICONS;
|
|
22
|
+
} & {
|
|
23
|
+
entryKey?: string;
|
|
24
|
+
}> & Readonly<{
|
|
3
25
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
4
26
|
onAction?: ((val: string) => any) | undefined;
|
|
5
27
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -15,6 +37,7 @@ declare const QDialog: {
|
|
|
15
37
|
backdropBlur: boolean;
|
|
16
38
|
attach: string;
|
|
17
39
|
focusWrap: boolean;
|
|
40
|
+
entryKey: string;
|
|
18
41
|
buttons: import('./types').DialogButton[];
|
|
19
42
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
20
43
|
P: {};
|
|
@@ -23,7 +46,29 @@ declare const QDialog: {
|
|
|
23
46
|
C: {};
|
|
24
47
|
M: {};
|
|
25
48
|
Defaults: {};
|
|
26
|
-
}, Readonly<import('
|
|
49
|
+
}, Readonly<import('../../types/component').QBaseComponentProps & {
|
|
50
|
+
modelValue?: boolean;
|
|
51
|
+
title?: string;
|
|
52
|
+
text?: string;
|
|
53
|
+
icon?: import('..').Icon;
|
|
54
|
+
buttons?: import('./types').DialogButton[];
|
|
55
|
+
backdropBlur?: boolean;
|
|
56
|
+
size?: import('./types').QDialogSize;
|
|
57
|
+
centerVertically?: boolean;
|
|
58
|
+
attach?: string;
|
|
59
|
+
inline?: boolean;
|
|
60
|
+
focusWrap?: boolean;
|
|
61
|
+
initialFocus?: HTMLElement | string | null;
|
|
62
|
+
focusWithinOnActivate?: boolean;
|
|
63
|
+
closingFocus?: HTMLElement | string;
|
|
64
|
+
returnFocusOnDeactivate?: boolean;
|
|
65
|
+
dismissible?: boolean;
|
|
66
|
+
html?: boolean;
|
|
67
|
+
input?: import('./types').QDialogInputOption;
|
|
68
|
+
icons?: typeof import('./constants').DEFAULT_ICONS;
|
|
69
|
+
} & {
|
|
70
|
+
entryKey?: string;
|
|
71
|
+
}> & Readonly<{
|
|
27
72
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
28
73
|
onAction?: ((val: string) => any) | undefined;
|
|
29
74
|
}>, {}, {}, {}, {}, {
|
|
@@ -36,12 +81,35 @@ declare const QDialog: {
|
|
|
36
81
|
backdropBlur: boolean;
|
|
37
82
|
attach: string;
|
|
38
83
|
focusWrap: boolean;
|
|
84
|
+
entryKey: string;
|
|
39
85
|
buttons: import('./types').DialogButton[];
|
|
40
86
|
}>;
|
|
41
87
|
__isFragment?: never;
|
|
42
88
|
__isTeleport?: never;
|
|
43
89
|
__isSuspense?: never;
|
|
44
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('
|
|
90
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('../../types/component').QBaseComponentProps & {
|
|
91
|
+
modelValue?: boolean;
|
|
92
|
+
title?: string;
|
|
93
|
+
text?: string;
|
|
94
|
+
icon?: import('..').Icon;
|
|
95
|
+
buttons?: import('./types').DialogButton[];
|
|
96
|
+
backdropBlur?: boolean;
|
|
97
|
+
size?: import('./types').QDialogSize;
|
|
98
|
+
centerVertically?: boolean;
|
|
99
|
+
attach?: string;
|
|
100
|
+
inline?: boolean;
|
|
101
|
+
focusWrap?: boolean;
|
|
102
|
+
initialFocus?: HTMLElement | string | null;
|
|
103
|
+
focusWithinOnActivate?: boolean;
|
|
104
|
+
closingFocus?: HTMLElement | string;
|
|
105
|
+
returnFocusOnDeactivate?: boolean;
|
|
106
|
+
dismissible?: boolean;
|
|
107
|
+
html?: boolean;
|
|
108
|
+
input?: import('./types').QDialogInputOption;
|
|
109
|
+
icons?: typeof import('./constants').DEFAULT_ICONS;
|
|
110
|
+
} & {
|
|
111
|
+
entryKey?: string;
|
|
112
|
+
}> & Readonly<{
|
|
45
113
|
"onUpdate:modelValue"?: ((val: boolean) => any) | undefined;
|
|
46
114
|
onAction?: ((val: string) => any) | undefined;
|
|
47
115
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
@@ -57,6 +125,7 @@ declare const QDialog: {
|
|
|
57
125
|
backdropBlur: boolean;
|
|
58
126
|
attach: string;
|
|
59
127
|
focusWrap: boolean;
|
|
128
|
+
entryKey: string;
|
|
60
129
|
buttons: import('./types').DialogButton[];
|
|
61
130
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
62
131
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe;;;;kFAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,cAAc,SAAS,CAAA"}
|