@quidgest/ui 0.28.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -8
- package/README.md +19 -0
- package/dist/json/api.json +1517 -86
- package/dist/manifest/components.json +0 -1
- package/dist/ui.css +59 -68
- package/dist/ui.esm.js +1031 -1043
- package/dist/ui.js +1000 -1013
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1000 -1013
- package/dist/ui.scss +83 -27
- package/esm/components/QAccordion/QAccordion.d.ts +3 -3
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +33 -30
- package/esm/components/QAccordion/QAccordionItem.d.ts +4 -1
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +37 -6
- package/esm/components/QAccordion/index.d.ts +20 -11
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.vue.js +19 -12
- package/esm/components/QAvatar/types.d.ts +2 -1
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +36 -37
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +18 -18
- package/esm/components/QCarousel/QCarousel.d.ts +1 -1
- package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.vue.js +99 -95
- package/esm/components/QCarousel/constants.d.ts +1 -0
- package/esm/components/QCarousel/constants.d.ts.map +1 -1
- package/esm/components/QCarousel/constants.js +2 -1
- package/esm/components/QCarousel/index.d.ts +3 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts +0 -2
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +33 -36
- package/esm/components/QCheckbox/index.d.ts +0 -1
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +1 -2
- package/esm/components/QCombobox/QCombobox.d.ts +9 -0
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +142 -134
- package/esm/components/QCombobox/index.d.ts +10 -0
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +8 -0
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +199 -219
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +4 -4
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/index.d.ts +6 -6
- package/esm/components/QDialog/types.d.ts +3 -3
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +8 -0
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +136 -124
- package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +82 -79
- package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
- package/esm/components/QIcon/QSvgSymbol.vue.js +31 -31
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +67 -41
- package/esm/components/QInputGroup/types.d.ts +15 -1
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QList/QList.d.ts +6 -0
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +4 -1
- package/esm/components/QList/QListItem.d.ts +6 -2
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +54 -41
- package/esm/components/QList/index.d.ts +6 -1
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +16 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.d.ts +6 -1
- package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +90 -95
- package/esm/components/QOverflow/index.d.ts +3 -3
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +125 -117
- package/esm/components/QOverlay/types.d.ts +9 -2
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +1 -0
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +5 -0
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +1 -0
- package/esm/components/QPasswordField/index.d.ts +6 -0
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/types.d.ts +10 -0
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +184 -18
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/index.d.ts +92 -9
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +62 -60
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +2 -2
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +2 -2
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +46 -46
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +7 -7
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts +0 -6
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/gap.js +12 -18
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +11 -0
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/stylesheet.js +5 -5
- package/esm/components/QSelect/QSelect.d.ts +157 -0
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +240 -212
- package/esm/components/QSelect/index.d.ts +84 -0
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +8 -0
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +1 -2
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarPanel.vue.js +5 -5
- package/esm/components/QSidebar/context.d.ts +3 -3
- package/esm/components/QSidebar/context.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.d.ts +4 -4
- package/esm/components/QSteps/QSteps.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.vue.js +9 -15
- package/esm/components/QSteps/index.d.ts +2 -2
- package/esm/components/QSteps/types.d.ts +2 -1
- package/esm/components/QSteps/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +2 -2
- package/esm/components/QTabs/QTabs.d.ts +4 -4
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +86 -85
- package/esm/components/QTabs/context.d.ts +3 -3
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +2 -2
- package/esm/components/QTextArea/QTextArea.d.ts +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +25 -24
- package/esm/components/QTextArea/index.d.ts +3 -3
- package/esm/components/QToast/QToast.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +7 -4
- package/esm/components/QToast/QToaster.d.ts.map +1 -1
- package/esm/components/QToast/types.d.ts +3 -3
- package/esm/components/QToggleGroup/QToggleGroup.d.ts +3 -3
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +34 -31
- package/esm/components/QToggleGroup/index.d.ts +8 -8
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +1 -1
- package/esm/composables/defaults.d.ts +10 -0
- package/esm/composables/defaults.d.ts.map +1 -1
- package/esm/composables/defaults.js +8 -5
- package/esm/composables/useDialog/_internal.js +8 -11
- package/esm/composables/useDialog/index.js +1 -2
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.d.ts +1 -11
- package/esm/composables/useDropZone/index.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.js +23 -26
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.js +15 -15
- package/esm/composables/useOverlayScope/index.d.ts +29 -0
- package/esm/composables/useOverlayScope/index.d.ts.map +1 -0
- package/esm/composables/useOverlayScope/index.js +23 -0
- package/esm/composables/useTextareaAutosize/index.d.ts +3 -1
- package/esm/composables/useTextareaAutosize/index.d.ts.map +1 -1
- package/esm/composables/useTextareaAutosize/index.js +6 -6
- package/esm/composables/useToast/_internal.js +10 -15
- package/esm/composables/useToast/index.js +1 -2
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/framework.js +14 -12
- package/esm/index.d.ts +1 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/symbols/overlayScope.d.ts +4 -0
- package/esm/symbols/overlayScope.d.ts.map +1 -0
- package/esm/symbols/overlayScope.js +4 -0
- package/esm/types/component.d.ts +8 -0
- package/esm/types/component.d.ts.map +1 -1
- package/esm/types/index.d.ts +1 -1
- package/esm/types/index.d.ts.map +1 -1
- package/esm/utils/color/parse.d.ts.map +1 -1
- package/esm/utils/color/parse.js +3 -10
- package/esm/utils/date.d.ts +35 -13
- package/esm/utils/date.d.ts.map +1 -1
- package/esm/utils/date.js +313 -253
- package/esm/utils/mask.d.ts +1 -0
- package/esm/utils/mask.d.ts.map +1 -1
- package/esm/utils/mask.js +42 -100
- package/esm/utils/overlay.d.ts +13 -1
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/overlay.js +55 -41
- package/esm/utils/safeTriangle.d.ts.map +1 -1
- package/esm/utils/safeTriangle.js +2 -2
- package/esm/utils/setupPropsProxy.d.ts +3 -1
- package/esm/utils/setupPropsProxy.d.ts.map +1 -1
- package/esm/utils/setupPropsProxy.js +2 -2
- package/package.json +9 -6
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { useGroup as
|
|
3
|
-
import { useId as
|
|
4
|
-
import { QOverflow as
|
|
5
|
-
import { useEnabledSelection as
|
|
6
|
-
import { DEFAULT_ICONS as
|
|
7
|
-
import { TabsSymbol as
|
|
8
|
-
import { computed as
|
|
1
|
+
import { booleanDefault as e, provideDefaults as t } from "../../composables/defaults.js";
|
|
2
|
+
import { useGroup as n } from "../../composables/useGroup/index.js";
|
|
3
|
+
import { useId as r } from "../../composables/useId/index.js";
|
|
4
|
+
import { QOverflow as i } from "../QOverflow/index.js";
|
|
5
|
+
import { useEnabledSelection as a } from "../../composables/useEnabledSelection/index.js";
|
|
6
|
+
import { DEFAULT_ICONS as o, DEFAULT_TEXTS as s } from "./constants.js";
|
|
7
|
+
import { TabsSymbol as c } from "./context.js";
|
|
8
|
+
import { computed as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeModels as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as y, openBlock as b, provide as x, ref as S, renderSlot as C, shallowRef as w, toRef as T, unref as E, useModel as D, useTemplateRef as O, watch as k, withCtx as A } from "vue";
|
|
9
9
|
//#region src/components/QTabs/QTabs.vue?vue&type=script&setup=true&lang.ts
|
|
10
|
-
var
|
|
10
|
+
var j = ["id"], M = {
|
|
11
11
|
ref: "tabListHost",
|
|
12
12
|
class: "q-tabs__list"
|
|
13
|
-
},
|
|
13
|
+
}, ee = { class: "q-tabs__panels" }, N = /*@__PURE__*/ m({
|
|
14
14
|
__name: "QTabs",
|
|
15
|
-
props: /*@__PURE__*/
|
|
15
|
+
props: /*@__PURE__*/ h({
|
|
16
16
|
id: {},
|
|
17
17
|
class: {},
|
|
18
18
|
direction: { default: "horizontal" },
|
|
19
19
|
align: { default: "start" },
|
|
20
20
|
variant: { default: "line" },
|
|
21
21
|
disabled: { type: Boolean },
|
|
22
|
-
icons: { default: () =>
|
|
23
|
-
texts: { default: () =>
|
|
22
|
+
icons: { default: () => o },
|
|
23
|
+
texts: { default: () => s }
|
|
24
24
|
}, {
|
|
25
25
|
modelValue: {},
|
|
26
26
|
modelModifiers: {}
|
|
27
27
|
}),
|
|
28
28
|
emits: ["update:modelValue"],
|
|
29
|
-
setup(
|
|
30
|
-
let
|
|
29
|
+
setup(o) {
|
|
30
|
+
let s = o, m = D(o, "modelValue"), h = r(T(s, "id")), N = O("tabListHost"), P = O("overflowRef"), F = l(() => P.value?.contentEl ?? null), I = w([]), L = S({
|
|
31
31
|
width: "0",
|
|
32
32
|
height: "0",
|
|
33
33
|
transform: "translate(0, 0)",
|
|
34
34
|
opacity: "0"
|
|
35
|
-
}), R =
|
|
36
|
-
active:
|
|
35
|
+
}), R = S(!1), z = null, { active: B } = n({
|
|
36
|
+
active: m,
|
|
37
37
|
required: !0
|
|
38
38
|
});
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}),
|
|
42
|
-
disabled:
|
|
43
|
-
texts:
|
|
39
|
+
k(B, (e) => {
|
|
40
|
+
m.value = e;
|
|
41
|
+
}), t({ QTab: {
|
|
42
|
+
disabled: e(() => s.disabled),
|
|
43
|
+
texts: T(s, "texts")
|
|
44
44
|
} });
|
|
45
|
-
let V =
|
|
45
|
+
let V = l(() => [
|
|
46
46
|
"q-tabs",
|
|
47
|
-
`q-tabs--${
|
|
48
|
-
`q-tabs--${
|
|
49
|
-
`q-tabs--align-${
|
|
47
|
+
`q-tabs--${s.direction}`,
|
|
48
|
+
`q-tabs--${s.variant}`,
|
|
49
|
+
`q-tabs--align-${s.align}`,
|
|
50
50
|
R.value ? "q-tabs--indicator-ready" : void 0,
|
|
51
|
-
|
|
51
|
+
s.class
|
|
52
52
|
]);
|
|
53
53
|
function H() {
|
|
54
54
|
let e = F.value;
|
|
55
|
-
e && (e.setAttribute("role", "tablist"), e.setAttribute("aria-orientation",
|
|
55
|
+
e && (e.setAttribute("role", "tablist"), e.setAttribute("aria-orientation", s.direction));
|
|
56
56
|
}
|
|
57
57
|
function U(e) {
|
|
58
58
|
let t = e.tabRef.value;
|
|
59
|
-
return t ?
|
|
59
|
+
return t ? t.$el : null;
|
|
60
60
|
}
|
|
61
61
|
function W() {
|
|
62
62
|
R.value = !1, L.value = {
|
|
@@ -67,11 +67,11 @@ var A = ["id"], j = {
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
function G() {
|
|
70
|
-
if (
|
|
70
|
+
if (s.variant !== "line" || !m.value) {
|
|
71
71
|
W();
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
|
-
let e = I.value.find((e) => e.value ===
|
|
74
|
+
let e = I.value.find((e) => e.value === m.value);
|
|
75
75
|
if (!e) {
|
|
76
76
|
W();
|
|
77
77
|
return;
|
|
@@ -81,7 +81,7 @@ var A = ["id"], j = {
|
|
|
81
81
|
W();
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
|
-
let n =
|
|
84
|
+
let n = s.direction === "horizontal", r = R.value;
|
|
85
85
|
n ? L.value = {
|
|
86
86
|
width: `${t.offsetWidth}px`,
|
|
87
87
|
height: "var(--q-tabs-indicator-thickness)",
|
|
@@ -92,19 +92,19 @@ var A = ["id"], j = {
|
|
|
92
92
|
height: `${t.offsetHeight}px`,
|
|
93
93
|
transform: `translate(0, ${t.offsetTop}px)`,
|
|
94
94
|
opacity: "1"
|
|
95
|
-
}, r ||
|
|
95
|
+
}, r || g(() => {
|
|
96
96
|
L.value.opacity === "1" && (R.value = !0);
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
function K() {
|
|
100
|
-
if (!
|
|
101
|
-
let e = I.value.find((e) => e.value ===
|
|
100
|
+
if (!m.value) return;
|
|
101
|
+
let e = I.value.find((e) => e.value === m.value);
|
|
102
102
|
if (!e) return;
|
|
103
103
|
let t = U(e);
|
|
104
104
|
t && P.value?.scrollElementIntoView(t);
|
|
105
105
|
}
|
|
106
106
|
function q() {
|
|
107
|
-
if (
|
|
107
|
+
if (s.variant !== "line") {
|
|
108
108
|
z?.disconnect();
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
@@ -118,97 +118,98 @@ var A = ["id"], j = {
|
|
|
118
118
|
t && z.observe(t);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
let { enabledItems: J, ensureSelection: Y } =
|
|
121
|
+
let { enabledItems: J, ensureSelection: Y } = a(() => I.value, m), { ensureSelection: X } = a(() => I.value.map((e) => ({ value: e.value })), m);
|
|
122
122
|
function Z() {
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
s.disabled ? X() : Y();
|
|
124
|
+
}
|
|
125
|
+
let Q;
|
|
126
|
+
function $() {
|
|
127
|
+
Q ||= g(() => {
|
|
128
|
+
Q = void 0, Z();
|
|
125
129
|
});
|
|
126
130
|
}
|
|
127
|
-
function
|
|
128
|
-
if (I.value = [...I.value, e], !
|
|
129
|
-
|
|
131
|
+
function te(e) {
|
|
132
|
+
if (I.value = [...I.value, e], !m.value) {
|
|
133
|
+
Z();
|
|
130
134
|
return;
|
|
131
135
|
}
|
|
132
|
-
|
|
136
|
+
$();
|
|
133
137
|
}
|
|
134
|
-
function
|
|
138
|
+
function ne(e) {
|
|
135
139
|
I.value = I.value.filter((t) => t.value !== e);
|
|
136
140
|
}
|
|
137
|
-
function
|
|
138
|
-
if (e === t) return;
|
|
141
|
+
function re(e, t) {
|
|
139
142
|
let n = I.value.findIndex((t) => t.value === e);
|
|
140
143
|
if (n !== -1) {
|
|
141
144
|
if (I.value = I.value.map((e, r) => r === n ? {
|
|
142
145
|
...e,
|
|
143
146
|
value: t
|
|
144
|
-
} : e),
|
|
145
|
-
|
|
147
|
+
} : e), m.value === e || m.value === t) {
|
|
148
|
+
m.value = t;
|
|
146
149
|
return;
|
|
147
150
|
}
|
|
148
|
-
|
|
151
|
+
Z();
|
|
149
152
|
}
|
|
150
153
|
}
|
|
151
|
-
function
|
|
152
|
-
let n = J.value;
|
|
153
|
-
|
|
154
|
-
let r = n.findIndex((t) => t.value === e), i = n[r === -1 ? 0 : (r + t + n.length) % n.length];
|
|
155
|
-
i.select(), i.focus();
|
|
154
|
+
function ie(e, t) {
|
|
155
|
+
let n = J.value, r = n[(n.findIndex((t) => t.value === e) + t + n.length) % n.length];
|
|
156
|
+
r.select(), r.focus();
|
|
156
157
|
}
|
|
157
|
-
function
|
|
158
|
+
function ae() {
|
|
158
159
|
let e = J.value[0];
|
|
159
|
-
e
|
|
160
|
+
e.select(), e.focus();
|
|
160
161
|
}
|
|
161
|
-
function
|
|
162
|
+
function oe() {
|
|
162
163
|
let e = J.value, t = e[e.length - 1];
|
|
163
|
-
t
|
|
164
|
+
t.select(), t.focus();
|
|
164
165
|
}
|
|
165
|
-
return
|
|
166
|
-
|
|
166
|
+
return k(() => [m.value, I.value.map((e) => [e.value, E(e.disabled)])], () => $()), k(() => [
|
|
167
|
+
m.value,
|
|
167
168
|
I.value.length,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
], () =>
|
|
169
|
+
s.direction,
|
|
170
|
+
s.variant,
|
|
171
|
+
s.align
|
|
172
|
+
], () => g(() => {
|
|
172
173
|
G(), K();
|
|
173
|
-
}), { immediate: !0 }),
|
|
174
|
+
}), { immediate: !0 }), k(() => [I.value.length, s.variant], () => g(q), { immediate: !0 }), k(() => [F.value, s.direction], () => H(), {
|
|
174
175
|
immediate: !0,
|
|
175
176
|
flush: "post"
|
|
176
|
-
}),
|
|
177
|
+
}), y(() => {
|
|
177
178
|
z?.disconnect(), z = null;
|
|
178
|
-
}),
|
|
179
|
+
}), x(c, {
|
|
179
180
|
tabListEl: F,
|
|
180
|
-
direction:
|
|
181
|
-
register:
|
|
182
|
-
unregister:
|
|
183
|
-
updateValue:
|
|
184
|
-
focusAdjacent:
|
|
185
|
-
focusFirst:
|
|
186
|
-
focusLast:
|
|
187
|
-
}), (e, t) => (
|
|
188
|
-
id:
|
|
189
|
-
class:
|
|
190
|
-
}, [
|
|
181
|
+
direction: l(() => s.direction),
|
|
182
|
+
register: te,
|
|
183
|
+
unregister: ne,
|
|
184
|
+
updateValue: re,
|
|
185
|
+
focusAdjacent: ie,
|
|
186
|
+
focusFirst: ae,
|
|
187
|
+
focusLast: oe
|
|
188
|
+
}), (e, t) => (b(), d("div", {
|
|
189
|
+
id: E(h),
|
|
190
|
+
class: _(V.value)
|
|
191
|
+
}, [f("div", M, [p(E(i), {
|
|
191
192
|
ref_key: "overflowRef",
|
|
192
193
|
ref: P,
|
|
193
194
|
class: "q-tabs__overflow",
|
|
194
|
-
direction:
|
|
195
|
+
direction: s.direction,
|
|
195
196
|
"scroll-mode": "item",
|
|
196
197
|
"content-class": "q-tabs__tablist",
|
|
197
|
-
icons:
|
|
198
|
-
texts:
|
|
198
|
+
icons: s.icons,
|
|
199
|
+
texts: s.texts
|
|
199
200
|
}, {
|
|
200
|
-
default:
|
|
201
|
+
default: A(() => [s.variant === "line" ? (b(), d("div", {
|
|
201
202
|
key: 0,
|
|
202
203
|
class: "q-tabs__indicator",
|
|
203
204
|
"aria-hidden": "true",
|
|
204
|
-
style:
|
|
205
|
-
}, null, 4)) :
|
|
205
|
+
style: v(L.value)
|
|
206
|
+
}, null, 4)) : u("v-if", !0)]),
|
|
206
207
|
_: 1
|
|
207
208
|
}, 8, [
|
|
208
209
|
"direction",
|
|
209
210
|
"icons",
|
|
210
211
|
"texts"
|
|
211
|
-
])], 512),
|
|
212
|
+
])], 512), f("div", ee, [C(e.$slots, "default")])], 10, j));
|
|
212
213
|
}
|
|
213
214
|
});
|
|
214
215
|
//#endregion
|
|
@@ -18,11 +18,11 @@ export type QTabRegistration = {
|
|
|
18
18
|
*/
|
|
19
19
|
disabled: ComputedRef<boolean>;
|
|
20
20
|
/**
|
|
21
|
-
* Template ref
|
|
21
|
+
* Template ref of the tab trigger component, whose `$el` positions the indicator.
|
|
22
22
|
*/
|
|
23
23
|
tabRef: Ref<{
|
|
24
|
-
$el
|
|
25
|
-
} |
|
|
24
|
+
$el: HTMLElement;
|
|
25
|
+
} | null>;
|
|
26
26
|
/**
|
|
27
27
|
* Moves DOM focus to this tab's trigger button.
|
|
28
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/QTabs/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAEvC;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAE9B;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;QAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/QTabs/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAEvC;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAE9B;;OAEG;IACH,MAAM,EAAE,GAAG,CAAC;QAAE,GAAG,EAAE,WAAW,CAAA;KAAE,GAAG,IAAI,CAAC,CAAA;IAExC;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAA;IAEjB;;OAEG;IACH,MAAM,EAAE,MAAM,IAAI,CAAA;CAClB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IAC1B;;;;;OAKG;IACH,SAAS,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;IAElC;;;;OAIG;IACH,SAAS,EAAE,WAAW,CAAC,cAAc,CAAC,CAAA;IAEtC;;;;OAIG;IACH,QAAQ,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAA;IAEzC;;;;OAIG;IACH,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAEnC;;;;;OAKG;IACH,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAEzD;;;;;OAKG;IACH,aAAa,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAE5D;;OAEG;IACH,UAAU,EAAE,MAAM,IAAI,CAAA;IAEtB;;OAEG;IACH,SAAS,EAAE,MAAM,IAAI,CAAA;CACrB,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,YAAY,CAAC,YAAY,CAAoB,CAAA"}
|
|
@@ -53,7 +53,7 @@ declare const QTabs: {
|
|
|
53
53
|
$el: HTMLDivElement;
|
|
54
54
|
$options: import('vue').ComponentOptionsBase<Readonly<import('..').QOverflowProps> & Readonly<{}>, {
|
|
55
55
|
contentEl: import('vue').Ref<HTMLElement | null, HTMLElement | null>;
|
|
56
|
-
scrollElementIntoView: (element: HTMLElement) => void
|
|
56
|
+
scrollElementIntoView: (element: HTMLElement) => Promise<void>;
|
|
57
57
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
58
58
|
icons: typeof import('../QOverflow/constants').DEFAULT_ICONS;
|
|
59
59
|
texts: import('..').QOverflowTexts;
|
|
@@ -94,7 +94,7 @@ declare const QTabs: {
|
|
|
94
94
|
remapWheel: boolean;
|
|
95
95
|
}> & Omit<Readonly<import('..').QOverflowProps> & Readonly<{}>, "contentEl" | "scrollElementIntoView" | ("icons" | "texts" | "direction" | "arrowPlacement" | "arrowVisibility" | "scrollMode" | "scrollStep" | "remapWheel")> & {
|
|
96
96
|
contentEl: HTMLElement | null;
|
|
97
|
-
scrollElementIntoView: (element: HTMLElement) => void
|
|
97
|
+
scrollElementIntoView: (element: HTMLElement) => Promise<void>;
|
|
98
98
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
99
99
|
$slots: {
|
|
100
100
|
prev?(_: {
|
|
@@ -23,8 +23,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
23
23
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
24
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
resize: "none" | "both" | "horizontal" | "vertical";
|
|
27
26
|
wrap: "soft" | "hard" | "off";
|
|
27
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
28
28
|
rows: number;
|
|
29
29
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
30
30
|
textareaRef: HTMLTextAreaElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QTextArea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTextArea/QTextArea.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QTextArea.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QTextArea/QTextArea.vue"],"names":[],"mappings":"AAwDA;AAsIC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,GAAG,CAAA;AAMvC,KAAK,WAAW,GAAG,cAAc,CAAC;AA6DnC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA4HT,OAAO,IAA6B;;iCAhBb,GAAG;gCACJ,GAAG;yBACV,GAAG;wBACJ,GAAG;wBACF,GAAG;;;;;;EAiB/B;AAkBD,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"}
|
|
@@ -2,9 +2,9 @@ import { useId as e } from "../../composables/useId/index.js";
|
|
|
2
2
|
import { mergeDescribedBy as t } from "../__internal__/QHelpPopover/resolveHelp.js";
|
|
3
3
|
import { QField as n } from "../QField/index.js";
|
|
4
4
|
import { useTextareaAutosize as r } from "../../composables/useTextareaAutosize/index.js";
|
|
5
|
-
import { computed as i, createBlock as a, createElementVNode as o, createSlots as s, defineComponent as c, mergeModels as l, mergeProps as u, normalizeClass as d, onBeforeUnmount as f, openBlock as p, ref as m, renderSlot as h,
|
|
5
|
+
import { computed as i, createBlock as a, createElementVNode as o, createSlots as s, defineComponent as c, mergeModels as l, mergeProps as u, normalizeClass as d, onBeforeUnmount as f, openBlock as p, ref as m, renderSlot as h, toRef as g, unref as _, useAttrs as v, useModel as y, vModelText as b, watch as x, withCtx as S, withDirectives as C } from "vue";
|
|
6
6
|
//#region src/components/QTextArea/QTextArea.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var
|
|
7
|
+
var w = [
|
|
8
8
|
"id",
|
|
9
9
|
"required",
|
|
10
10
|
"placeholder",
|
|
@@ -16,7 +16,7 @@ var T = [
|
|
|
16
16
|
"resize",
|
|
17
17
|
"wrap",
|
|
18
18
|
"aria-describedby"
|
|
19
|
-
],
|
|
19
|
+
], T = /*@__PURE__*/ c({
|
|
20
20
|
inheritAttrs: !1,
|
|
21
21
|
__name: "QTextArea",
|
|
22
22
|
props: /*@__PURE__*/ l({
|
|
@@ -47,22 +47,23 @@ var T = [
|
|
|
47
47
|
}),
|
|
48
48
|
emits: ["update:modelValue"],
|
|
49
49
|
setup(c) {
|
|
50
|
-
let l = c,
|
|
51
|
-
get: () =>
|
|
50
|
+
let l = c, T = y(c, "modelValue"), E = i({
|
|
51
|
+
get: () => T.value,
|
|
52
52
|
set: (e) => {
|
|
53
53
|
let t = l.maxLength;
|
|
54
|
-
|
|
54
|
+
T.value = t ? e?.slice(0, t) : e;
|
|
55
55
|
}
|
|
56
56
|
});
|
|
57
|
-
|
|
58
|
-
let
|
|
59
|
-
element: i(() => l.autosize ?
|
|
57
|
+
x(T, (e) => E.value = e, { immediate: !0 });
|
|
58
|
+
let D = e(g(l, "id")), O = v(), k = i(() => typeof O["aria-describedby"] == "string" ? O["aria-describedby"] : void 0), A = i(() => l.readonly || l.disabled ? void 0 : l.placeholder), j = i(() => `${D.value}_input`), M = m(), { stop: N } = r({
|
|
59
|
+
element: i(() => l.autosize ? M.value : void 0),
|
|
60
|
+
value: E,
|
|
60
61
|
styleProp: "minHeight"
|
|
61
62
|
});
|
|
62
|
-
return f(
|
|
63
|
-
id:
|
|
63
|
+
return f(N), (e, r) => (p(), a(_(n), {
|
|
64
|
+
id: _(D),
|
|
64
65
|
class: d(["q-text-area", l.class]),
|
|
65
|
-
for:
|
|
66
|
+
for: j.value,
|
|
66
67
|
label: l.label,
|
|
67
68
|
"label-position": l.labelPosition,
|
|
68
69
|
size: l.size,
|
|
@@ -74,16 +75,16 @@ var T = [
|
|
|
74
75
|
icons: l.icons,
|
|
75
76
|
texts: l.texts
|
|
76
77
|
}, s({
|
|
77
|
-
"label.prepend":
|
|
78
|
-
"label.append":
|
|
79
|
-
default:
|
|
80
|
-
id:
|
|
78
|
+
"label.prepend": S(() => [h(e.$slots, "label.prepend")]),
|
|
79
|
+
"label.append": S(() => [h(e.$slots, "label.append")]),
|
|
80
|
+
default: S(({ describedBy: n }) => [C(o("textarea", u({
|
|
81
|
+
id: j.value,
|
|
81
82
|
ref_key: "textareaRef",
|
|
82
|
-
ref:
|
|
83
|
-
"onUpdate:modelValue": r[0] ||= (e) =>
|
|
83
|
+
ref: M,
|
|
84
|
+
"onUpdate:modelValue": r[0] ||= (e) => E.value = e,
|
|
84
85
|
class: "q-text-area__input",
|
|
85
86
|
required: l.required,
|
|
86
|
-
placeholder:
|
|
87
|
+
placeholder: A.value,
|
|
87
88
|
readonly: l.readonly,
|
|
88
89
|
disabled: l.disabled,
|
|
89
90
|
maxlength: l.maxLength,
|
|
@@ -91,22 +92,22 @@ var T = [
|
|
|
91
92
|
cols: l.cols,
|
|
92
93
|
resize: l.resize,
|
|
93
94
|
wrap: l.wrap
|
|
94
|
-
}, e.$attrs, { "aria-describedby":
|
|
95
|
+
}, e.$attrs, { "aria-describedby": _(t)(n, k.value) }), null, 16, w), [[b, E.value]])]),
|
|
95
96
|
_: 2
|
|
96
97
|
}, [
|
|
97
98
|
e.$slots.prepend ? {
|
|
98
99
|
name: "prepend",
|
|
99
|
-
fn:
|
|
100
|
+
fn: S(() => [h(e.$slots, "prepend")]),
|
|
100
101
|
key: "0"
|
|
101
102
|
} : void 0,
|
|
102
103
|
e.$slots.append ? {
|
|
103
104
|
name: "append",
|
|
104
|
-
fn:
|
|
105
|
+
fn: S(() => [h(e.$slots, "append")]),
|
|
105
106
|
key: "1"
|
|
106
107
|
} : void 0,
|
|
107
108
|
e.$slots.extras ? {
|
|
108
109
|
name: "extras",
|
|
109
|
-
fn:
|
|
110
|
+
fn: S(() => [h(e.$slots, "extras")]),
|
|
110
111
|
key: "2"
|
|
111
112
|
} : void 0
|
|
112
113
|
]), 1032, [
|
|
@@ -127,4 +128,4 @@ var T = [
|
|
|
127
128
|
}
|
|
128
129
|
});
|
|
129
130
|
//#endregion
|
|
130
|
-
export {
|
|
131
|
+
export { T as default };
|
|
@@ -25,8 +25,8 @@ declare const QTextArea: {
|
|
|
25
25
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
26
|
"update:modelValue": (value: string) => any;
|
|
27
27
|
}, import('vue').PublicProps, {
|
|
28
|
-
resize: "none" | "both" | "horizontal" | "vertical";
|
|
29
28
|
wrap: "soft" | "hard" | "off";
|
|
29
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
30
30
|
rows: number;
|
|
31
31
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
32
32
|
textareaRef: HTMLTextAreaElement;
|
|
@@ -61,8 +61,8 @@ declare const QTextArea: {
|
|
|
61
61
|
}> & Readonly<{
|
|
62
62
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
63
63
|
}>, {}, {}, {}, {}, {
|
|
64
|
-
resize: "none" | "both" | "horizontal" | "vertical";
|
|
65
64
|
wrap: "soft" | "hard" | "off";
|
|
65
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
66
66
|
rows: number;
|
|
67
67
|
}>;
|
|
68
68
|
__isFragment?: never;
|
|
@@ -94,8 +94,8 @@ declare const QTextArea: {
|
|
|
94
94
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
95
95
|
"update:modelValue": (value: string) => any;
|
|
96
96
|
}, string, {
|
|
97
|
-
resize: "none" | "both" | "horizontal" | "vertical";
|
|
98
97
|
wrap: "soft" | "hard" | "off";
|
|
98
|
+
resize: "none" | "both" | "horizontal" | "vertical";
|
|
99
99
|
rows: number;
|
|
100
100
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
101
101
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QToast.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToast/QToast.vue"],"names":[],"mappings":"AAqHA;
|
|
1
|
+
{"version":3,"file":"QToast.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToast/QToast.vue"],"names":[],"mappings":"AAqHA;AAqWC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAc1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AAQpC,KAAK,WAAW,GAAG,WAAW,GAAG,EAG9B,CAAC;AA8NL,iBAAS,cAAc;WAuTT,OAAO,IAA6B;;sBAhBvB,GAAG;sBAIH,GAAG;iCAHQ,GAAG;gCACJ,GAAG;yBACV,GAAG;yBAGH,GAAG;yBADH,GAAG;;;;EAgBhC;AAyBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;cArjBN,MAAM;;6EA8jBnB,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"}
|
|
@@ -46,9 +46,12 @@ var se = {
|
|
|
46
46
|
emits: ["dismiss"],
|
|
47
47
|
setup(d, { emit: f }) {
|
|
48
48
|
let b = d, L = f, R = e(M(b, "id")), z = b.entryKey ? S(re, null) : null;
|
|
49
|
-
|
|
50
|
-
e
|
|
51
|
-
|
|
49
|
+
if (b.entryKey) {
|
|
50
|
+
let e = b.entryKey;
|
|
51
|
+
z?.registerToastEntry(e, R.value), oe(R, (t) => {
|
|
52
|
+
z?.updateToastEntryId(e, t);
|
|
53
|
+
});
|
|
54
|
+
}
|
|
52
55
|
let B = S(p, null), { style: V } = i(M(b, "color")), H = m(() => s(b.color) ? b.color : void 0), U = m(() => H.value ? b.icons[H.value] : void 0), W = m(() => b.live ?? ne(b.color)), ue = m(() => {
|
|
53
56
|
if (!(B || W.value === "off")) return W.value === "assertive" ? "alert" : "status";
|
|
54
57
|
}), G = m(() => [
|
|
@@ -82,7 +85,7 @@ var se = {
|
|
|
82
85
|
"--q-toast-text-color": V.value.textColor,
|
|
83
86
|
"--q-toast-tonal-text-color": pe.value,
|
|
84
87
|
"--q-toast-tonal-color": K.value
|
|
85
|
-
} : {
|
|
88
|
+
} : {}), q = m(() => b.variant === "bold" ? "bold" : "ghost"), J = m(() => b.variant === "tonal" && V.value?.hoverColor ? V.value.hoverColor : b.color), Y, X, Z;
|
|
86
89
|
function Q() {
|
|
87
90
|
Y !== void 0 && (window.clearTimeout(Y), Y = void 0), X = void 0, Z = void 0, L("dismiss");
|
|
88
91
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QToaster.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToast/QToaster.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QToaster.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToast/QToaster.vue"],"names":[],"mappings":"AA4CA;AAgLC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,GAAG,CAAA;;;;AAgNvC,wBAQG"}
|
|
@@ -25,7 +25,7 @@ export type QToasterProps = QBaseComponentProps & {
|
|
|
25
25
|
maxToasts?: number;
|
|
26
26
|
/**
|
|
27
27
|
* If true, toasts will be stacked in reverse order (newest on top).
|
|
28
|
-
* Defaults to
|
|
28
|
+
* Defaults to false: the oldest toast is on top.
|
|
29
29
|
*
|
|
30
30
|
* @category Behavior
|
|
31
31
|
*/
|
|
@@ -65,7 +65,7 @@ export type QToastProps = QBaseComponentProps & {
|
|
|
65
65
|
*/
|
|
66
66
|
color?: string;
|
|
67
67
|
/**
|
|
68
|
-
* The shadow depth of the toast. Defaults to '
|
|
68
|
+
* The shadow depth of the toast. Defaults to 'medium'.
|
|
69
69
|
*
|
|
70
70
|
* @category Presentation
|
|
71
71
|
*/
|
|
@@ -79,7 +79,7 @@ export type QToastProps = QBaseComponentProps & {
|
|
|
79
79
|
/**
|
|
80
80
|
* The time (ms) until the toast is dismissed.
|
|
81
81
|
* If set to 0 or negative, the toast will have no timeout timer.
|
|
82
|
-
* Defaults to
|
|
82
|
+
* Defaults to 5000.
|
|
83
83
|
*
|
|
84
84
|
* @category Behavior
|
|
85
85
|
*/
|
|
@@ -2,7 +2,7 @@ import { Primitive } from '../../types/primitive';
|
|
|
2
2
|
import { QToggleGroupProps } from '.';
|
|
3
3
|
type __VLS_Props = QToggleGroupProps;
|
|
4
4
|
type __VLS_PublicProps = {
|
|
5
|
-
modelValue?: Primitive | Primitive[];
|
|
5
|
+
modelValue?: Primitive | Primitive[] | undefined;
|
|
6
6
|
} & __VLS_Props;
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
8
|
attrs: Partial<{}>;
|
|
@@ -14,9 +14,9 @@ declare function __VLS_template(): {
|
|
|
14
14
|
};
|
|
15
15
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
16
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
17
|
-
"update:modelValue": (value: Primitive | Primitive[]) => any;
|
|
17
|
+
"update:modelValue": (value: Primitive | Primitive[] | undefined) => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
"onUpdate:modelValue"?: ((value: Primitive | Primitive[]) => any) | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((value: Primitive | Primitive[] | undefined) => any) | undefined;
|
|
20
20
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
22
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QToggleGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/QToggleGroup.vue"],"names":[],"mappings":"AASA;
|
|
1
|
+
{"version":3,"file":"QToggleGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QToggleGroup/QToggleGroup.vue"],"names":[],"mappings":"AASA;AA8DC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAK1C,KAAK,WAAW,GAAG,iBAAiB,CAAC;AA8BtC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,GAAG,SAAS,CAAC;CAChD,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAsCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|