@quidgest/ui 0.16.3 → 0.16.5
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 +7 -0
- package/dist/ui.css +810 -32
- package/dist/ui.esm.js +5731 -5219
- package/dist/ui.js +18 -18
- package/dist/ui.min.css +2 -1
- package/dist/ui.min.js +1042 -1006
- package/dist/ui.scss +463 -40
- package/esm/_virtual/_plugin-vue_export-helper.js +9 -0
- package/esm/components/QCombobox/QCombobox.d.ts +14 -0
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +9 -8
- package/esm/components/QCombobox/index.d.ts +7 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +9 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +125 -97
- package/esm/components/QDialog/QDialogProvider.d.ts +3 -0
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -0
- package/esm/components/QDialog/QDialogProvider.vue.js +26 -0
- package/esm/components/QDialog/QDialogProvider.vue2.js +4 -0
- package/esm/components/QDialog/index.d.ts +26 -2
- package/esm/components/QDialog/index.d.ts.map +1 -1
- package/esm/components/QDialog/index.js +6 -4
- package/esm/components/QDialog/types.d.ts +9 -0
- 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 +26 -24
- package/esm/components/QDivider/QDivider.d.ts +21 -0
- package/esm/components/QDivider/QDivider.d.ts.map +1 -0
- package/esm/components/QDivider/QDivider.vue.js +57 -0
- package/esm/components/QDivider/QDivider.vue2.js +4 -0
- package/esm/components/QDivider/index.d.ts +25 -0
- package/esm/components/QDivider/index.d.ts.map +1 -0
- package/esm/components/QDivider/index.js +6 -0
- package/esm/components/QDivider/types.d.ts +11 -0
- package/esm/components/QDivider/types.d.ts.map +1 -0
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +14 -0
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QGrid/QCol.d.ts +19 -0
- package/esm/components/QGrid/QCol.d.ts.map +1 -0
- package/esm/components/QGrid/QCol.vue.js +46 -0
- package/esm/components/QGrid/QCol.vue2.js +4 -0
- package/esm/components/QGrid/QContainer.d.ts +19 -0
- package/esm/components/QGrid/QContainer.d.ts.map +1 -0
- package/esm/components/QGrid/QContainer.vue.js +24 -0
- package/esm/components/QGrid/QContainer.vue2.js +4 -0
- package/esm/components/QGrid/QRow.d.ts +23 -0
- package/esm/components/QGrid/QRow.d.ts.map +1 -0
- package/esm/components/QGrid/QRow.vue.js +36 -0
- package/esm/components/QGrid/QRow.vue2.js +4 -0
- package/esm/components/QGrid/QSpacer.d.ts +3 -0
- package/esm/components/QGrid/QSpacer.d.ts.map +1 -0
- package/esm/components/QGrid/QSpacer.vue.js +10 -0
- package/esm/components/QGrid/index.d.ts +66 -0
- package/esm/components/QGrid/index.d.ts.map +1 -0
- package/esm/components/QGrid/index.js +12 -0
- package/esm/components/QGrid/types.d.ts +47 -0
- package/esm/components/QGrid/types.d.ts.map +1 -0
- package/esm/components/QList/QList.d.ts +1 -0
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +130 -120
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +57 -43
- package/esm/components/QList/index.d.ts +7 -0
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +8 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +29 -27
- package/esm/components/QOverlay/index.d.ts +3 -0
- package/esm/components/QOverlay/index.d.ts.map +1 -1
- package/esm/components/QOverlay/types.d.ts +4 -0
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +8 -7
- package/esm/components/QSelect/QSelect.d.ts +14 -0
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +1 -0
- package/esm/components/QSelect/index.d.ts +7 -0
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts +39 -0
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebar.vue.js +155 -0
- package/esm/components/QSidebar/QSidebar.vue2.js +4 -0
- package/esm/components/QSidebar/QSidebarAnchor.d.ts +219 -0
- package/esm/components/QSidebar/QSidebarAnchor.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +110 -0
- package/esm/components/QSidebar/QSidebarAnchor.vue2.js +4 -0
- package/esm/components/QSidebar/QSidebarPanel.d.ts +41 -0
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -0
- package/esm/components/QSidebar/QSidebarPanel.vue.js +90 -0
- package/esm/components/QSidebar/QSidebarPanel.vue2.js +4 -0
- package/esm/components/QSidebar/index.d.ts +72 -0
- package/esm/components/QSidebar/index.d.ts.map +1 -0
- package/esm/components/QSidebar/index.js +6 -0
- package/esm/components/QSidebar/types.d.ts +63 -0
- package/esm/components/QSidebar/types.d.ts.map +1 -0
- package/esm/components/QToggleGroup/types.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +47 -46
- package/esm/components/index.d.ts +3 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +78 -68
- package/esm/composables/index.d.ts +2 -1
- package/esm/composables/index.d.ts.map +1 -1
- package/esm/composables/theme.js +3 -3
- package/esm/composables/useDialog/index.d.ts +69 -0
- package/esm/composables/useDialog/index.d.ts.map +1 -0
- package/esm/composables/useDialog/index.js +21 -0
- package/esm/composables/useDialog/types.d.ts +25 -0
- package/esm/composables/useDialog/types.d.ts.map +1 -0
- package/esm/composables/useDismissibleLayerStack/index.d.ts +14 -0
- package/esm/composables/useDismissibleLayerStack/index.d.ts.map +1 -0
- package/esm/composables/useDismissibleLayerStack/index.js +32 -0
- package/esm/framework.d.ts.map +1 -1
- package/esm/framework.js +35 -31
- package/esm/index.d.ts +7 -0
- package/esm/index.js +4 -2
- package/esm/symbols/dismissibleLayer.d.ts +4 -0
- package/esm/symbols/dismissibleLayer.d.ts.map +1 -0
- package/esm/symbols/dismissibleLayer.js +4 -0
- package/package.json +1 -1
|
@@ -52,7 +52,7 @@ const xe = ["data-key"], we = {
|
|
|
52
52
|
setup(x, { expose: K, emit: W }) {
|
|
53
53
|
const l = x, w = W, d = T(x, "modelValue"), i = T(x, "open"), u = T(x, "search"), o = g(void 0), c = g(null), s = g(null), V = g(null), L = g(null);
|
|
54
54
|
ie(y);
|
|
55
|
-
const
|
|
55
|
+
const q = m(() => l.clearable && !l.readonly && !l.disabled), p = m(() => {
|
|
56
56
|
var e;
|
|
57
57
|
return l.filterMode === "manual" || !G.value ? l.items ?? [] : ((e = l.items) == null ? void 0 : e.filter(
|
|
58
58
|
(t) => t[l.itemLabel].toLowerCase().startsWith(u.value.toLowerCase())
|
|
@@ -60,7 +60,7 @@ const xe = ["data-key"], we = {
|
|
|
60
60
|
}), h = m(() => {
|
|
61
61
|
var e;
|
|
62
62
|
return (e = l.items) == null ? void 0 : e.find((t) => t[l.itemValue] === d.value);
|
|
63
|
-
}), Q = m(() => h.value === void 0),
|
|
63
|
+
}), Q = m(() => h.value === void 0), D = m(() => {
|
|
64
64
|
const e = o.value;
|
|
65
65
|
if (e !== void 0 && p.value[e])
|
|
66
66
|
return p.value[e];
|
|
@@ -92,7 +92,7 @@ const xe = ["data-key"], we = {
|
|
|
92
92
|
i.value ? F() : U();
|
|
93
93
|
}
|
|
94
94
|
function Y() {
|
|
95
|
-
|
|
95
|
+
q.value && (d.value = l.emptyValue, o.value = void 0, E());
|
|
96
96
|
}
|
|
97
97
|
function U() {
|
|
98
98
|
if (C(), h.value !== void 0) {
|
|
@@ -117,8 +117,8 @@ const xe = ["data-key"], we = {
|
|
|
117
117
|
e.key === "ArrowDown" ? $() : ee();
|
|
118
118
|
}));
|
|
119
119
|
else if (e.key === "Enter") {
|
|
120
|
-
if (
|
|
121
|
-
S(
|
|
120
|
+
if (D.value === void 0) return;
|
|
121
|
+
S(D.value[l.itemValue]);
|
|
122
122
|
} else e.key === "Home" ? o.value = (t = s.value) == null ? void 0 : t.getFirstFocusableItemIndex() : e.key === "End" ? o.value = (a = s.value) == null ? void 0 : a.getLastFocusableItemIndex() : (/^[a-z]$/i.test(e.key) || e.key === "Backspace") && C();
|
|
123
123
|
}
|
|
124
124
|
function $() {
|
|
@@ -147,7 +147,7 @@ const xe = ["data-key"], we = {
|
|
|
147
147
|
e.preventDefault(), e.stopPropagation();
|
|
148
148
|
return;
|
|
149
149
|
}
|
|
150
|
-
F(),
|
|
150
|
+
F(), q.value && !u.value && (d.value = l.emptyValue), y();
|
|
151
151
|
}
|
|
152
152
|
function E() {
|
|
153
153
|
var e, t;
|
|
@@ -233,7 +233,7 @@ const xe = ["data-key"], we = {
|
|
|
233
233
|
]),
|
|
234
234
|
append: r(() => [
|
|
235
235
|
f(e.$slots, "append"),
|
|
236
|
-
|
|
236
|
+
q.value && u.value ? (b(), _(v(Ie), {
|
|
237
237
|
key: 0,
|
|
238
238
|
icons: l.icons,
|
|
239
239
|
texts: l.texts,
|
|
@@ -315,7 +315,8 @@ const xe = ["data-key"], we = {
|
|
|
315
315
|
"model-value": d.value,
|
|
316
316
|
class: "q-select__items",
|
|
317
317
|
selectable: "",
|
|
318
|
-
|
|
318
|
+
required: "",
|
|
319
|
+
highlighted: (n = D.value) == null ? void 0 : n[l.itemValue],
|
|
319
320
|
items: p.value,
|
|
320
321
|
groups: e.groups,
|
|
321
322
|
"item-label": l.itemLabel,
|
|
@@ -712,6 +712,8 @@ declare const QCombobox: {
|
|
|
712
712
|
readonly itemLabel?: string | undefined;
|
|
713
713
|
readonly disabled?: boolean | undefined;
|
|
714
714
|
readonly selectable?: boolean | undefined;
|
|
715
|
+
readonly multiple?: boolean | undefined;
|
|
716
|
+
readonly required?: boolean | undefined;
|
|
715
717
|
readonly onClick?: ((key: any) => any) | undefined;
|
|
716
718
|
readonly "onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
717
719
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
@@ -816,6 +818,8 @@ declare const QCombobox: {
|
|
|
816
818
|
itemLabel?: string;
|
|
817
819
|
disabled?: boolean;
|
|
818
820
|
selectable?: boolean;
|
|
821
|
+
multiple?: boolean;
|
|
822
|
+
required?: boolean;
|
|
819
823
|
}> & Readonly<{
|
|
820
824
|
onClick?: ((key: any) => any) | undefined;
|
|
821
825
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -866,6 +870,8 @@ declare const QCombobox: {
|
|
|
866
870
|
itemLabel?: string;
|
|
867
871
|
disabled?: boolean;
|
|
868
872
|
selectable?: boolean;
|
|
873
|
+
multiple?: boolean;
|
|
874
|
+
required?: boolean;
|
|
869
875
|
}> & Readonly<{
|
|
870
876
|
onClick?: ((key: any) => any) | undefined;
|
|
871
877
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
@@ -876,6 +882,7 @@ declare const QCombobox: {
|
|
|
876
882
|
getLastFocusableItemIndex: () => number;
|
|
877
883
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
878
884
|
$slots: {
|
|
885
|
+
default?(_: {}): any;
|
|
879
886
|
item?(_: {
|
|
880
887
|
item: import('../QList/types').Item;
|
|
881
888
|
element: HTMLLIElement | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QCombobox/index.ts"],"names":[],"mappings":"AAMA,QAAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4CAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJn1zB,CAAA;AAG7C,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -6,9 +6,11 @@ type __VLS_PublicProps = {
|
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
8
|
slots: {
|
|
9
|
-
|
|
9
|
+
header?(_: {}): any;
|
|
10
|
+
body?(_: {}): any;
|
|
10
11
|
'body.icon'?(_: {}): any;
|
|
11
12
|
'body.append'?(_: {}): any;
|
|
13
|
+
footer?(_: {}): any;
|
|
12
14
|
};
|
|
13
15
|
refs: {};
|
|
14
16
|
rootEl: any;
|
|
@@ -16,9 +18,15 @@ declare function __VLS_template(): {
|
|
|
16
18
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
19
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
20
|
"update:modelValue": (value: boolean) => any;
|
|
21
|
+
} & {
|
|
22
|
+
enter: () => any;
|
|
23
|
+
leave: () => any;
|
|
19
24
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
25
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
onEnter?: (() => any) | undefined;
|
|
27
|
+
onLeave?: (() => any) | undefined;
|
|
21
28
|
}>, {
|
|
29
|
+
size: import('./types').QDialogSize;
|
|
22
30
|
html: boolean;
|
|
23
31
|
icon: import('..').Icon;
|
|
24
32
|
icons: typeof DEFAULT_ICONS;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDialog.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialog.vue"],"names":[],"mappings":"AAyEA;AAsIC,OAAO,EAAiC,aAAa,EAAE,MAAM,SAAS,CAAA;AAQtE,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAKzD,KAAK,WAAW,GAAG,YAAY,CAAC;AAwDjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAkMT,OAAO,IAA6B;;wBAdrB,GAAG;sBACL,GAAG;6BACI,GAAG;+BACD,GAAG;wBACV,GAAG;;;;EAe/B;AAoBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;6EASnB,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,139 +1,167 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { DEFAULT_ICONS as
|
|
3
|
-
import { QButton as
|
|
4
|
-
import { QIcon as
|
|
5
|
-
import { QOverlay as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as z, mergeModels as v, useModel as M, computed as k, createBlock as d, openBlock as l, unref as a, normalizeClass as h, withCtx as f, createElementVNode as c, createElementBlock as s, createCommentVNode as i, renderSlot as r, toDisplayString as g, createVNode as b, normalizeProps as B, guardReactiveProps as q, Fragment as U, renderList as A, mergeProps as C } from "vue";
|
|
2
|
+
import { DEFAULT_ICONS as F, DEFAULT_BUTTONS as O, DEFAULT_ICON as Q } from "./types.js";
|
|
3
|
+
import { QButton as V } from "../QButton/index.js";
|
|
4
|
+
import { QIcon as m } from "../QIcon/index.js";
|
|
5
|
+
import { QOverlay as S } from "../QOverlay/index.js";
|
|
6
|
+
const I = {
|
|
7
|
+
key: 0,
|
|
8
|
+
class: "q-dialog__header"
|
|
9
|
+
}, P = { class: "q-dialog__header-title" }, H = {
|
|
10
|
+
key: 1,
|
|
11
|
+
class: "q-dialog__body"
|
|
12
|
+
}, w = {
|
|
7
13
|
key: 0,
|
|
8
14
|
class: "q-dialog__body-icon"
|
|
9
|
-
},
|
|
15
|
+
}, x = { class: "q-dialog__body-text" }, R = ["innerHTML"], j = { key: 1 }, G = {
|
|
16
|
+
key: 2,
|
|
17
|
+
class: "q-dialog__footer"
|
|
18
|
+
}, J = { class: "q-dialog__footer-buttons" }, ee = /* @__PURE__ */ z({
|
|
10
19
|
__name: "QDialog",
|
|
11
|
-
props: /* @__PURE__ */
|
|
20
|
+
props: /* @__PURE__ */ v({
|
|
12
21
|
id: {},
|
|
13
22
|
class: {},
|
|
14
23
|
title: {},
|
|
15
24
|
text: {},
|
|
16
|
-
icon: { default: () =>
|
|
17
|
-
buttons: { default: () =>
|
|
25
|
+
icon: { default: () => Q },
|
|
26
|
+
buttons: { default: () => O },
|
|
18
27
|
attach: { default: "body" },
|
|
19
28
|
inline: { type: Boolean },
|
|
20
29
|
backdropBlur: { type: Boolean, default: !0 },
|
|
21
30
|
dismissible: { type: Boolean },
|
|
22
31
|
html: { type: Boolean, default: !0 },
|
|
23
|
-
icons: { default: () =>
|
|
32
|
+
icons: { default: () => F },
|
|
33
|
+
size: { default: "small" },
|
|
34
|
+
centerVertically: { type: Boolean }
|
|
24
35
|
}, {
|
|
25
36
|
modelValue: { type: Boolean },
|
|
26
37
|
modelModifiers: {}
|
|
27
38
|
}),
|
|
28
|
-
emits: ["update:modelValue"],
|
|
29
|
-
setup(
|
|
30
|
-
const e =
|
|
31
|
-
function
|
|
32
|
-
|
|
39
|
+
emits: /* @__PURE__ */ v(["enter", "leave"], ["update:modelValue"]),
|
|
40
|
+
setup(_, { emit: $ }) {
|
|
41
|
+
const e = _, p = $, u = M(_, "modelValue"), L = k(() => ["q-dialog", e.class]), T = k(() => `q-overlay--${e.size}`);
|
|
42
|
+
function y() {
|
|
43
|
+
u.value = !1;
|
|
44
|
+
}
|
|
45
|
+
function D(o) {
|
|
46
|
+
var n;
|
|
47
|
+
(n = o.action) == null || n.call(o), y();
|
|
48
|
+
}
|
|
49
|
+
function E() {
|
|
50
|
+
p("enter");
|
|
33
51
|
}
|
|
34
|
-
function
|
|
35
|
-
|
|
36
|
-
(s = l.action) == null || s.call(l), f();
|
|
52
|
+
function N() {
|
|
53
|
+
p("leave");
|
|
37
54
|
}
|
|
38
|
-
return (
|
|
55
|
+
return (o, n) => (l(), d(a(S), {
|
|
39
56
|
id: e.id,
|
|
40
|
-
modelValue:
|
|
41
|
-
"onUpdate:modelValue":
|
|
57
|
+
modelValue: u.value,
|
|
58
|
+
"onUpdate:modelValue": n[0] || (n[0] = (t) => u.value = t),
|
|
42
59
|
"backdrop-class": "q-dialog__underlay",
|
|
43
60
|
"scroll-lock": "",
|
|
44
61
|
persistent: "",
|
|
45
62
|
inline: e.inline,
|
|
46
63
|
attach: e.attach,
|
|
47
|
-
"backdrop-blur": e.backdropBlur
|
|
64
|
+
"backdrop-blur": e.backdropBlur,
|
|
65
|
+
"center-vertically": e.centerVertically,
|
|
66
|
+
class: h(T.value),
|
|
67
|
+
onEnter: E,
|
|
68
|
+
onLeave: N
|
|
48
69
|
}, {
|
|
49
|
-
default:
|
|
50
|
-
|
|
70
|
+
default: f(() => [
|
|
71
|
+
c(
|
|
51
72
|
"div",
|
|
52
73
|
{
|
|
53
|
-
class:
|
|
74
|
+
class: h(L.value)
|
|
54
75
|
},
|
|
55
76
|
[
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
16
|
|
75
|
-
/* FULL_PROPS */
|
|
76
|
-
)
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
/* STABLE */
|
|
80
|
-
})) : _("v-if", !0)
|
|
81
|
-
]),
|
|
82
|
-
u(l.$slots, "body.content", {}, () => [
|
|
83
|
-
i("div", F, [
|
|
84
|
-
u(l.$slots, "body.icon", {}, () => [
|
|
85
|
-
e.icon ? (o(), d("span", O, [
|
|
86
|
-
k(
|
|
87
|
-
a(p),
|
|
88
|
-
h(g(e.icon)),
|
|
77
|
+
e.title || o.$slots.header ? (l(), s("div", I, [
|
|
78
|
+
r(o.$slots, "header", {}, () => [
|
|
79
|
+
c(
|
|
80
|
+
"span",
|
|
81
|
+
P,
|
|
82
|
+
g(e.title),
|
|
83
|
+
1
|
|
84
|
+
/* TEXT */
|
|
85
|
+
)
|
|
86
|
+
])
|
|
87
|
+
])) : i("v-if", !0),
|
|
88
|
+
e.icon || e.text || o.$slots.body ? (l(), s("div", H, [
|
|
89
|
+
r(o.$slots, "body", {}, () => [
|
|
90
|
+
r(o.$slots, "body.icon", {}, () => [
|
|
91
|
+
e.icon ? (l(), s("span", w, [
|
|
92
|
+
b(
|
|
93
|
+
a(m),
|
|
94
|
+
B(q(e.icon)),
|
|
89
95
|
null,
|
|
90
96
|
16
|
|
91
97
|
/* FULL_PROPS */
|
|
92
98
|
)
|
|
93
|
-
])) :
|
|
99
|
+
])) : i("v-if", !0)
|
|
94
100
|
]),
|
|
95
|
-
|
|
96
|
-
e.html ? (
|
|
101
|
+
c("div", x, [
|
|
102
|
+
e.html ? (l(), s("div", {
|
|
97
103
|
key: 0,
|
|
98
104
|
innerHTML: e.text
|
|
99
|
-
}, null, 8,
|
|
100
|
-
"
|
|
101
|
-
|
|
102
|
-
|
|
105
|
+
}, null, 8, R)) : (l(), s(
|
|
106
|
+
"div",
|
|
107
|
+
j,
|
|
108
|
+
g(e.text),
|
|
103
109
|
1
|
|
104
110
|
/* TEXT */
|
|
105
111
|
))
|
|
106
112
|
]),
|
|
107
|
-
|
|
113
|
+
r(o.$slots, "body.append")
|
|
108
114
|
])
|
|
109
|
-
]),
|
|
110
|
-
|
|
111
|
-
(o(
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
115
|
+
])) : i("v-if", !0),
|
|
116
|
+
e.buttons || o.$slots.footer ? (l(), s("div", G, [
|
|
117
|
+
r(o.$slots, "footer", {}, () => [
|
|
118
|
+
c("span", J, [
|
|
119
|
+
(l(!0), s(
|
|
120
|
+
U,
|
|
121
|
+
null,
|
|
122
|
+
A(e.buttons, (t) => (l(), d(a(V), C({ ref_for: !0 }, t.props, {
|
|
123
|
+
key: t.id,
|
|
124
|
+
onClick: () => D(t)
|
|
125
|
+
}), {
|
|
126
|
+
default: f(() => [
|
|
127
|
+
t.icon ? (l(), d(
|
|
128
|
+
a(m),
|
|
129
|
+
C({
|
|
130
|
+
key: 0,
|
|
131
|
+
ref_for: !0
|
|
132
|
+
}, t.icon),
|
|
133
|
+
null,
|
|
134
|
+
16
|
|
135
|
+
/* FULL_PROPS */
|
|
136
|
+
)) : i("v-if", !0)
|
|
137
|
+
]),
|
|
138
|
+
_: 2
|
|
139
|
+
/* DYNAMIC */
|
|
140
|
+
}, 1040, ["onClick"]))),
|
|
141
|
+
128
|
|
142
|
+
/* KEYED_FRAGMENT */
|
|
143
|
+
))
|
|
144
|
+
])
|
|
145
|
+
])
|
|
146
|
+
])) : i("v-if", !0),
|
|
147
|
+
e.dismissible ? (l(), d(a(V), {
|
|
148
|
+
key: 3,
|
|
149
|
+
class: "q-dialog__close",
|
|
150
|
+
variant: "text",
|
|
151
|
+
onClick: y
|
|
152
|
+
}, {
|
|
153
|
+
default: f(() => [
|
|
154
|
+
b(
|
|
155
|
+
a(m),
|
|
156
|
+
B(q(e.icons.close)),
|
|
157
|
+
null,
|
|
158
|
+
16
|
|
159
|
+
/* FULL_PROPS */
|
|
160
|
+
)
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
/* STABLE */
|
|
164
|
+
})) : i("v-if", !0)
|
|
137
165
|
],
|
|
138
166
|
2
|
|
139
167
|
/* CLASS */
|
|
@@ -141,9 +169,9 @@ const U = { class: "q-dialog__header" }, A = { class: "q-dialog__header-title" }
|
|
|
141
169
|
]),
|
|
142
170
|
_: 3
|
|
143
171
|
/* FORWARDED */
|
|
144
|
-
}, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur"]));
|
|
172
|
+
}, 8, ["id", "modelValue", "inline", "attach", "backdrop-blur", "center-vertically", "class"]));
|
|
145
173
|
}
|
|
146
174
|
});
|
|
147
175
|
export {
|
|
148
|
-
|
|
176
|
+
ee as default
|
|
149
177
|
};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=QDialogProvider.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QDialogProvider.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/QDialogProvider.vue"],"names":[],"mappings":"AASA;;AA+FA,wBAKG"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as a, createElementBlock as l, openBlock as o, Fragment as i, renderList as m, unref as r, createBlock as s, mergeProps as p } from "vue";
|
|
2
|
+
import { QDialog as u } from "./index.js";
|
|
3
|
+
import { useDialog as c } from "../../composables/useDialog/index.js";
|
|
4
|
+
const D = /* @__PURE__ */ a({
|
|
5
|
+
inheritAttrs: !1,
|
|
6
|
+
__name: "QDialogProvider",
|
|
7
|
+
setup(f) {
|
|
8
|
+
const { dialogs: t, removeDialog: n } = c();
|
|
9
|
+
return (_, d) => (o(!0), l(
|
|
10
|
+
i,
|
|
11
|
+
null,
|
|
12
|
+
m(r(t), (e) => (o(), s(r(u), p({
|
|
13
|
+
key: e.id,
|
|
14
|
+
ref_for: !0
|
|
15
|
+
}, e.props, {
|
|
16
|
+
"model-value": "",
|
|
17
|
+
onLeave: () => r(n)(e.id)
|
|
18
|
+
}), null, 16, ["onLeave"]))),
|
|
19
|
+
128
|
|
20
|
+
/* KEYED_FRAGMENT */
|
|
21
|
+
));
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
export {
|
|
25
|
+
D as default
|
|
26
|
+
};
|
|
@@ -13,11 +13,19 @@ declare const QDialog: {
|
|
|
13
13
|
dismissible?: boolean;
|
|
14
14
|
html?: boolean;
|
|
15
15
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
16
|
+
size?: import('./types').QDialogSize;
|
|
17
|
+
centerVertically?: boolean;
|
|
16
18
|
}> & Readonly<{
|
|
17
19
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
20
|
+
onEnter?: (() => any) | undefined;
|
|
21
|
+
onLeave?: (() => any) | undefined;
|
|
18
22
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
23
|
"update:modelValue": (value: boolean) => any;
|
|
24
|
+
} & {
|
|
25
|
+
enter: () => any;
|
|
26
|
+
leave: () => any;
|
|
20
27
|
}, import('vue').PublicProps, {
|
|
28
|
+
size: import('./types').QDialogSize;
|
|
21
29
|
html: boolean;
|
|
22
30
|
icon: import('..').Icon;
|
|
23
31
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
@@ -44,9 +52,14 @@ declare const QDialog: {
|
|
|
44
52
|
dismissible?: boolean;
|
|
45
53
|
html?: boolean;
|
|
46
54
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
55
|
+
size?: import('./types').QDialogSize;
|
|
56
|
+
centerVertically?: boolean;
|
|
47
57
|
}> & Readonly<{
|
|
48
58
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
59
|
+
onEnter?: (() => any) | undefined;
|
|
60
|
+
onLeave?: (() => any) | undefined;
|
|
49
61
|
}>, {}, {}, {}, {}, {
|
|
62
|
+
size: import('./types').QDialogSize;
|
|
50
63
|
html: boolean;
|
|
51
64
|
icon: import('..').Icon;
|
|
52
65
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
@@ -70,11 +83,19 @@ declare const QDialog: {
|
|
|
70
83
|
dismissible?: boolean;
|
|
71
84
|
html?: boolean;
|
|
72
85
|
icons?: typeof import('./types').DEFAULT_ICONS;
|
|
86
|
+
size?: import('./types').QDialogSize;
|
|
87
|
+
centerVertically?: boolean;
|
|
73
88
|
}> & Readonly<{
|
|
74
89
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
90
|
+
onEnter?: (() => any) | undefined;
|
|
91
|
+
onLeave?: (() => any) | undefined;
|
|
75
92
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
76
93
|
"update:modelValue": (value: boolean) => any;
|
|
94
|
+
} & {
|
|
95
|
+
enter: () => any;
|
|
96
|
+
leave: () => any;
|
|
77
97
|
}, string, {
|
|
98
|
+
size: import('./types').QDialogSize;
|
|
78
99
|
html: boolean;
|
|
79
100
|
icon: import('..').Icon;
|
|
80
101
|
icons: typeof import('./types').DEFAULT_ICONS;
|
|
@@ -83,11 +104,14 @@ declare const QDialog: {
|
|
|
83
104
|
buttons: DialogButton[];
|
|
84
105
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
85
106
|
$slots: {
|
|
86
|
-
|
|
107
|
+
header?(_: {}): any;
|
|
108
|
+
body?(_: {}): any;
|
|
87
109
|
'body.icon'?(_: {}): any;
|
|
88
110
|
'body.append'?(_: {}): any;
|
|
111
|
+
footer?(_: {}): any;
|
|
89
112
|
};
|
|
90
113
|
});
|
|
91
|
-
|
|
114
|
+
declare const QDialogProvider: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
115
|
+
export { QDialog, QDialogProvider };
|
|
92
116
|
export type { DialogButton };
|
|
93
117
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/index.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAK3C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AACzC,QAAA,MAAM,eAAe,+QAAoC,CAAA;AAGzD,OAAO,EAAE,OAAO,EAAE,eAAe,EAAE,CAAA;AAGnC,YAAY,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import r from "./QDialog.vue.js";
|
|
2
|
+
import i from "./QDialogProvider.vue.js";
|
|
3
|
+
import { setupPropsProxy as o } from "../../utils/setupPropsProxy.js";
|
|
4
|
+
const s = o(r), f = o(i);
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
s as QDialog,
|
|
7
|
+
f as QDialogProvider
|
|
6
8
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { QButtonProps } from '../QButton';
|
|
2
2
|
import { Icon } from '../QIcon';
|
|
3
3
|
import { QBaseComponentProps } from '../../types/component';
|
|
4
|
+
export type QDialogSize = 'small' | 'medium' | 'large' | 'xlarge';
|
|
4
5
|
export type QDialogProps = QBaseComponentProps & {
|
|
5
6
|
/**
|
|
6
7
|
* The title of the dialog window.
|
|
@@ -44,6 +45,14 @@ export type QDialogProps = QBaseComponentProps & {
|
|
|
44
45
|
* Custom icon configurations.
|
|
45
46
|
*/
|
|
46
47
|
icons?: typeof DEFAULT_ICONS;
|
|
48
|
+
/**
|
|
49
|
+
* The size category of the dialog.
|
|
50
|
+
*/
|
|
51
|
+
size?: QDialogSize;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to vertically align the dialog to the center (true) or top (false)
|
|
54
|
+
*/
|
|
55
|
+
centerVertically?: boolean;
|
|
47
56
|
};
|
|
48
57
|
export type DialogButton = {
|
|
49
58
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAC9C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,UAAU,CAAA;AACpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,CAAA;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,YAAY,EAAE,CAAA;IAExB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDialog/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK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1B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDismissibleLayer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDismissibleLayer/QDismissibleLayer.vue"],"names":[],"mappings":"AAKA;
|
|
1
|
+
{"version":3,"file":"QDismissibleLayer.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDismissibleLayer/QDismissibleLayer.vue"],"names":[],"mappings":"AAKA;AAyIC,OAAO,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AAyH1E,iBAAS,cAAc;WA0BT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;kBAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|