morya-ui 0.4.2 → 0.4.3
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 +14 -0
- package/dist/{Button-BaYLh91a.js → Button-Bjsth0ct.js} +3 -3
- package/dist/{Card-B1CB9Trm.js → Card-Ct5vJmoV.js} +1 -1
- package/dist/{Checkbox-LxCFF19I.js → Checkbox-Bo26OGHP.js} +1 -1
- package/dist/{DatePicker-DGPNukEW.js → DatePicker-CsMGzCqY.js} +4 -4
- package/dist/{Empty-2_f_FgyK.js → Empty-rMhOPi79.js} +2 -2
- package/dist/{FlyoutSubmenu-Da6AcoM4.js → FlyoutSubmenu-C0id6-Sb.js} +1 -1
- package/dist/{Icon-od9Ob-Ay.js → Icon-CmHjx7W8.js} +1 -1
- package/dist/{Input-NspPDc2R.js → Input-CxSTVp9E.js} +3 -3
- package/dist/{Loading-BK4dQPCS.js → Loading-D_qRwfKv.js} +4 -4
- package/dist/{Pagination-tdrlaZ3u.js → Pagination-CnGOpp0m.js} +3 -3
- package/dist/{Popover-BumMfUpV.js → Popover-D1uZ1N9Z.js} +2 -2
- package/dist/{ProgressSpinner-BQ1tLioO.js → ProgressSpinner-hmR23xpi.js} +2 -2
- package/dist/{Radio-BCn2OVCF.js → Radio-CZAyelC_.js} +1 -1
- package/dist/{Segmented-ppmDmku5.js → Segmented-BpdO7arR.js} +2 -2
- package/dist/{Select-CN1tM76U.js → Select-CySmusHs.js} +4 -4
- package/dist/{Textarea-Ch1KCXEv.js → Textarea-DskjTCcz.js} +3 -3
- package/dist/{Tooltip-DKsXxU_B.js → Tooltip-DSfkflHp.js} +2 -2
- package/dist/alert/index.js +15 -15
- package/dist/alert/style.css +1 -1
- package/dist/auto-complete/index.js +4 -4
- package/dist/avatar/index.js +1 -1
- package/dist/badge/index.js +24 -24
- package/dist/badge/style.css +0 -1
- package/dist/block-ui/index.js +1 -1
- package/dist/breadcrumb/index.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/calendar/index.js +3 -3
- package/dist/card/index.js +1 -1
- package/dist/carousel/index.js +2 -2
- package/dist/cascade-select/index.js +4 -4
- package/dist/checkbox/index.js +1 -1
- package/dist/chip/index.js +35 -35
- package/dist/chip/style.css +1 -1
- package/dist/command-menu/index.js +5 -5
- package/dist/components/Alert/Alert.vue.d.ts +2 -2
- package/dist/components/Alert/Alert.vue.d.ts.map +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Alert/styles.css +1 -1
- package/dist/components/Alert/types.d.ts +3 -3
- package/dist/components/Alert/types.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.d.ts +2 -2
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/styles.css +0 -1
- package/dist/components/Badge/types.d.ts +3 -4
- package/dist/components/Badge/types.d.ts.map +1 -1
- package/dist/components/Button/types.d.ts +1 -5
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +1 -1
- package/dist/components/Chip/types.d.ts +3 -3
- package/dist/components/Chip/types.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/types.d.ts +1 -1
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +2 -3
- package/dist/components/Dialog/types.d.ts +1 -2
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Message/Message.vue.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +1 -1
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Message/message.d.ts +4 -0
- package/dist/components/Message/message.d.ts.map +1 -1
- package/dist/components/Message/styles.css +3 -7
- package/dist/components/Message/types.d.ts +4 -4
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Page/PageStat.vue.d.ts +2 -2
- package/dist/components/Page/index.d.ts +1 -1
- package/dist/components/Page/index.d.ts.map +1 -1
- package/dist/components/Page/styles.css +2 -2
- package/dist/components/Page/types.d.ts +2 -2
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css +1 -1
- package/dist/components/ProgressBar/types.d.ts +2 -7
- package/dist/components/ProgressBar/types.d.ts.map +1 -1
- package/dist/components/Status/Status.vue.d.ts +2 -2
- package/dist/components/Status/Status.vue.d.ts.map +1 -1
- package/dist/components/Status/index.d.ts +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/Status/styles.css +0 -1
- package/dist/components/Status/types.d.ts +4 -5
- package/dist/components/Status/types.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts +2 -2
- package/dist/components/Tag/index.d.ts +1 -1
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/styles.css +0 -1
- package/dist/components/Tag/types.d.ts +4 -5
- package/dist/components/Tag/types.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/styles.css +2 -4
- package/dist/components/Timeline/types.d.ts +3 -3
- package/dist/components/Timeline/types.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/styles.css +1 -3
- package/dist/components/Toast/toast.d.ts +4 -0
- package/dist/components/Toast/toast.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +5 -5
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/Toast/useNotification.d.ts +3 -2
- package/dist/components/Toast/useNotification.d.ts.map +1 -1
- package/dist/{config-CB_TiIvg.js → config-BEpyhJi3.js} +1 -1
- package/dist/config-provider/index.js +1 -1
- package/dist/confirm-dialog/index.js +54 -57
- package/dist/confirm-dialog/style.css +2 -3
- package/dist/confirm-popup/index.js +5 -5
- package/dist/context-menu/index.js +5 -5
- package/dist/data-view/index.js +3 -3
- package/dist/date-picker/index.js +1 -1
- package/dist/descriptions/index.js +1 -1
- package/dist/dialog/index.js +95 -98
- package/dist/dialog/style.css +2 -3
- package/dist/dock/index.js +2 -2
- package/dist/drawer/index.js +4 -4
- package/dist/dropdown/index.js +6 -6
- package/dist/empty/index.js +1 -1
- package/dist/fieldset/index.js +1 -1
- package/dist/file-upload/index.js +2 -2
- package/dist/flex/index.js +1 -1
- package/dist/form/index.js +2 -2
- package/dist/gallery/index.js +2 -2
- package/dist/icon/index.js +1 -1
- package/dist/{icon-COrt_N8A.js → icon-H8prbteT.js} +1 -1
- package/dist/image/index.js +2 -2
- package/dist/index.d.ts +11 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3013 -3025
- package/dist/input/index.js +1 -1
- package/dist/input-color/index.js +2 -2
- package/dist/input-number/index.js +3 -3
- package/dist/input-otp/index.js +2 -2
- package/dist/input-password/index.js +4 -4
- package/dist/input-tags/index.js +3 -3
- package/dist/layout/index.js +2 -2
- package/dist/list/index.js +4 -4
- package/dist/listbox/index.js +2 -2
- package/dist/loading/index.js +1 -1
- package/dist/{locale-CR2PIaxt.js → locale-CZddM-tH.js} +1 -1
- package/dist/mega-menu/index.js +5 -5
- package/dist/mentions/index.js +4 -4
- package/dist/menu/index.js +6 -6
- package/dist/menubar/index.js +5 -5
- package/dist/message/index.js +116 -117
- package/dist/message/style.css +3 -7
- package/dist/order-list/index.js +2 -2
- package/dist/page/index.js +8 -7
- package/dist/page/style.css +2 -2
- package/dist/pagination/index.js +1 -1
- package/dist/panel/index.js +3 -3
- package/dist/pick-list/index.js +2 -2
- package/dist/popover/index.js +1 -1
- package/dist/progress-bar/index.js +33 -34
- package/dist/progress-bar/style.css +1 -1
- package/dist/progress-spinner/index.js +1 -1
- package/dist/qr-code/index.js +4 -4
- package/dist/radio/index.js +1 -1
- package/dist/rating/index.js +3 -3
- package/dist/result/index.js +2 -2
- package/dist/scroll-top/index.js +3 -3
- package/dist/segmented/index.js +1 -1
- package/dist/select/index.js +1 -1
- package/dist/select-button/index.js +1 -1
- package/dist/shared/types.d.ts +7 -20
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/sidebar/index.js +3 -3
- package/dist/slider/index.js +2 -2
- package/dist/space/index.js +1 -1
- package/dist/speed-dial/index.js +5 -5
- package/dist/split-button/index.js +5 -5
- package/dist/splitter/index.js +1 -1
- package/dist/status/index.js +30 -31
- package/dist/status/style.css +0 -1
- package/dist/stepper/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/index.js +11 -11
- package/dist/tabs/index.js +2 -2
- package/dist/tag/index.js +52 -52
- package/dist/tag/style.css +0 -1
- package/dist/terminal/index.js +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/tiered-menu/index.js +4 -4
- package/dist/time-picker/index.js +1 -1
- package/dist/timeline/index.js +67 -72
- package/dist/timeline/style.css +2 -4
- package/dist/toast/index.js +135 -136
- package/dist/toast/style.css +1 -3
- package/dist/toggle-button/index.js +3 -3
- package/dist/tooltip/index.js +1 -1
- package/dist/tour/index.js +4 -4
- package/dist/tree/index.js +3 -3
- package/dist/tree-select/index.js +5 -5
- package/dist/{types-DGuu4Eg4.js → types-DBQfGctj.js} +1 -4
- package/dist/typography/index.js +3 -3
- package/dist/{useMotionTransition-D8JOR3ih.js → useMotionTransition-DqL_SEML.js} +1 -1
- package/package.json +1 -1
package/dist/dialog/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { n as t } from "../overlay-oR-5MDuE.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
4
|
-
import { t as r } from "../Icon-
|
|
5
|
-
import { t as i } from "../Button-
|
|
3
|
+
import { t as n } from "../useMotionTransition-DqL_SEML.js";
|
|
4
|
+
import { t as r } from "../Icon-CmHjx7W8.js";
|
|
5
|
+
import { t as i } from "../Button-Bjsth0ct.js";
|
|
6
6
|
import { t as a } from "../useModalOverlay-Beo3CEAt.js";
|
|
7
7
|
import { t as o } from "../asyncGuard-CPGT_TKu.js";
|
|
8
8
|
import { t as s } from "../lastPointer-CRxcUqdd.js";
|
|
9
9
|
import { t as c } from "../overlayHost-78CGtMgR.js";
|
|
10
|
-
import { l } from "../config-
|
|
11
|
-
import { n as u } from "../locale-
|
|
10
|
+
import { l } from "../config-BEpyhJi3.js";
|
|
11
|
+
import { n as u } from "../locale-CZddM-tH.js";
|
|
12
12
|
import "./style.js";
|
|
13
|
-
import { Teleport as d, Transition as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, h as b, mergeProps as x, nextTick as S, normalizeClass as C, normalizeStyle as ee, onBeforeUnmount as w, openBlock as T, reactive as E, ref as D, render as O, renderSlot as k, toDisplayString as te, toRef as A, unref as j, useAttrs as
|
|
13
|
+
import { Teleport as d, Transition as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, h as b, mergeProps as x, nextTick as S, normalizeClass as C, normalizeStyle as ee, onBeforeUnmount as w, openBlock as T, reactive as E, ref as D, render as O, renderSlot as k, toDisplayString as te, toRef as A, unref as j, useAttrs as M, useSlots as N, watch as P, withCtx as F, withModifiers as ne } from "vue";
|
|
14
14
|
//#region src/components/Dialog/Dialog.vue?vue&type=script&setup=true&lang.ts
|
|
15
|
-
var
|
|
15
|
+
var re = ["aria-modal", "aria-label"], ie = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "m-dialog__header"
|
|
18
|
-
},
|
|
18
|
+
}, ae = { class: "m-dialog__heading" }, oe = {
|
|
19
19
|
key: 0,
|
|
20
20
|
class: "m-dialog__type-icon",
|
|
21
21
|
"aria-hidden": "true"
|
|
22
|
-
},
|
|
22
|
+
}, se = { key: 0 }, ce = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "m-dialog__actions"
|
|
25
|
-
},
|
|
25
|
+
}, le = ["aria-label", "disabled"], ue = ["aria-label", "disabled"], de = { class: "m-dialog__body" }, I = /* @__PURE__ */ y({
|
|
26
26
|
inheritAttrs: !1,
|
|
27
27
|
__name: "Dialog",
|
|
28
28
|
props: {
|
|
@@ -98,35 +98,32 @@ var ie = ["aria-modal", "aria-label"], ae = {
|
|
|
98
98
|
"unmaximize"
|
|
99
99
|
],
|
|
100
100
|
setup(c, { expose: y, emit: b }) {
|
|
101
|
-
let S = c, w = b, E =
|
|
101
|
+
let S = c, w = b, E = M(), { rootAttrs: O } = e(E, () => S.pt), I = p(() => {
|
|
102
102
|
let e = O.value.style;
|
|
103
103
|
if (e) return typeof e == "string" ? e.match(/(?:^|;)\s*width\s*:\s*([^;]+)/i)?.[1]?.trim() : typeof e.width == "string" ? e.width : void 0;
|
|
104
|
-
}),
|
|
104
|
+
}), L = p(() => {
|
|
105
105
|
let e = { ...O.value }, t = e.style;
|
|
106
|
-
if (!t || !
|
|
106
|
+
if (!t || !I.value) return e;
|
|
107
107
|
if (typeof t == "string") {
|
|
108
108
|
let n = t.replace(/(?:^|;)\s*width\s*:\s*[^;]+/i, "").replace(/^;|;$/g, "").trim();
|
|
109
109
|
return n ? e.style = n : delete e.style, e;
|
|
110
110
|
}
|
|
111
111
|
let { width: n, ...r } = t;
|
|
112
112
|
return Object.keys(r).length ? e.style = r : delete e.style, e;
|
|
113
|
-
}),
|
|
113
|
+
}), R = N(), z = l(), B = u(), V = D(null), H = D(!1), U = D(s()), W = D(null), { transitionName: fe, transitionCss: pe } = n({
|
|
114
114
|
role: "dialog",
|
|
115
115
|
local: () => S.transition,
|
|
116
116
|
componentName: "Dialog",
|
|
117
117
|
fallback: "zoom"
|
|
118
|
-
}),
|
|
119
|
-
|
|
120
|
-
return e === "warning" || e === "warn" ? "warn" : e;
|
|
121
|
-
}), q = p(() => {
|
|
122
|
-
switch (K.value) {
|
|
118
|
+
}), G = p(() => S.header ?? S.title), K = p(() => t(S, z.value.appendTo)), q = p(() => {
|
|
119
|
+
switch (S.type) {
|
|
123
120
|
case "success": return "check-circle";
|
|
124
|
-
case "
|
|
125
|
-
case "
|
|
121
|
+
case "warning": return "warning";
|
|
122
|
+
case "danger": return "x-circle";
|
|
126
123
|
case "info": return "info";
|
|
127
124
|
default: return;
|
|
128
125
|
}
|
|
129
|
-
}), J = p(() => !
|
|
126
|
+
}), J = p(() => !R.footer && !!(S.positiveText || S.negativeText)), me = p(() => !!(R.footer || J.value)), he = p(() => {
|
|
130
127
|
let e = S.positiveColor;
|
|
131
128
|
return !e || e === "primary" ? { type: "primary" } : e === "danger" ? {
|
|
132
129
|
type: "primary",
|
|
@@ -135,68 +132,68 @@ var ie = ["aria-modal", "aria-label"], ae = {
|
|
|
135
132
|
color: e,
|
|
136
133
|
variant: "solid"
|
|
137
134
|
};
|
|
138
|
-
}), Y = p(() =>
|
|
139
|
-
"--m-dialog-origin-x": `${
|
|
140
|
-
"--m-dialog-origin-y": `${
|
|
141
|
-
})),
|
|
135
|
+
}), Y = p(() => W.value != null), ge = p(() => S.ariaLabel ?? G.value), X = p(() => ({
|
|
136
|
+
"--m-dialog-origin-x": `${U.value.x}px`,
|
|
137
|
+
"--m-dialog-origin-y": `${U.value.y}px`
|
|
138
|
+
})), _e = p(() => S.centered === !0 ? "center" : S.centered === !1 ? "top" : S.position), ve = p(() => [`m-dialog-backdrop--${_e.value}`, {
|
|
142
139
|
"m-dialog-backdrop--modal": S.modal,
|
|
143
|
-
"m-dialog-backdrop--maximized":
|
|
144
|
-
}]),
|
|
145
|
-
if (
|
|
146
|
-
let e = S.width ??
|
|
140
|
+
"m-dialog-backdrop--maximized": H.value
|
|
141
|
+
}]), ye = p(() => {
|
|
142
|
+
if (H.value) return;
|
|
143
|
+
let e = S.width ?? I.value;
|
|
147
144
|
return e ? { width: e } : void 0;
|
|
148
|
-
}),
|
|
145
|
+
}), be = p(() => S.maskClosable === void 0 ? S.dismissableMask === void 0 ? S.closeOnOutsideClick === void 0 || S.closeOnOutsideClick : S.dismissableMask : S.maskClosable);
|
|
149
146
|
function Z() {
|
|
150
|
-
|
|
147
|
+
H.value = !1, W.value = null, w("update:modelValue", !1), w("close");
|
|
151
148
|
}
|
|
152
149
|
async function Q() {
|
|
153
|
-
if (!
|
|
150
|
+
if (!W.value) {
|
|
154
151
|
if (!S.beforeClose) {
|
|
155
152
|
Z();
|
|
156
153
|
return;
|
|
157
154
|
}
|
|
158
|
-
|
|
155
|
+
W.value = "close";
|
|
159
156
|
try {
|
|
160
157
|
if (!await o(S.beforeClose)) return;
|
|
161
158
|
Z();
|
|
162
159
|
} finally {
|
|
163
|
-
|
|
160
|
+
W.value === "close" && (W.value = null);
|
|
164
161
|
}
|
|
165
162
|
}
|
|
166
163
|
}
|
|
167
|
-
async function
|
|
168
|
-
if (!
|
|
169
|
-
|
|
164
|
+
async function xe(e) {
|
|
165
|
+
if (!W.value) {
|
|
166
|
+
W.value = "positive";
|
|
170
167
|
try {
|
|
171
168
|
if (!await o(S.onPositiveClick, e)) return;
|
|
172
169
|
Z();
|
|
173
170
|
} finally {
|
|
174
|
-
|
|
171
|
+
W.value === "positive" && (W.value = null);
|
|
175
172
|
}
|
|
176
173
|
}
|
|
177
174
|
}
|
|
178
|
-
async function
|
|
179
|
-
if (!
|
|
180
|
-
|
|
175
|
+
async function Se(e) {
|
|
176
|
+
if (!W.value) {
|
|
177
|
+
W.value = "negative";
|
|
181
178
|
try {
|
|
182
179
|
if (!await o(S.onNegativeClick, e)) return;
|
|
183
180
|
Z();
|
|
184
181
|
} finally {
|
|
185
|
-
|
|
182
|
+
W.value === "negative" && (W.value = null);
|
|
186
183
|
}
|
|
187
184
|
}
|
|
188
185
|
}
|
|
189
186
|
function $() {
|
|
190
|
-
|
|
187
|
+
H.value = !H.value, H.value ? w("maximize") : w("unmaximize");
|
|
191
188
|
}
|
|
192
|
-
function
|
|
193
|
-
|
|
189
|
+
function Ce() {
|
|
190
|
+
be.value && Q();
|
|
194
191
|
}
|
|
195
|
-
return
|
|
196
|
-
e && (
|
|
192
|
+
return P(() => S.modelValue, (e) => {
|
|
193
|
+
e && (U.value = s());
|
|
197
194
|
}), a({
|
|
198
195
|
open: A(S, "modelValue"),
|
|
199
|
-
container:
|
|
196
|
+
container: V,
|
|
200
197
|
closeOnEsc: A(S, "closeOnEsc"),
|
|
201
198
|
blockScroll: () => S.blockScroll && S.modal,
|
|
202
199
|
onEscape: () => {
|
|
@@ -204,108 +201,108 @@ var ie = ["aria-modal", "aria-label"], ae = {
|
|
|
204
201
|
},
|
|
205
202
|
onOpen: () => w("show"),
|
|
206
203
|
onClose: () => {
|
|
207
|
-
|
|
204
|
+
H.value = !1, w("hide");
|
|
208
205
|
}
|
|
209
206
|
}), y({
|
|
210
207
|
close: Q,
|
|
211
208
|
maximize: () => {
|
|
212
|
-
|
|
209
|
+
H.value || $();
|
|
213
210
|
},
|
|
214
211
|
unmaximize: () => {
|
|
215
|
-
|
|
212
|
+
H.value && $();
|
|
216
213
|
}
|
|
217
214
|
}), (e, t) => (T(), m(d, {
|
|
218
|
-
to:
|
|
219
|
-
disabled:
|
|
215
|
+
to: K.value.to,
|
|
216
|
+
disabled: K.value.disabled
|
|
220
217
|
}, [v(f, {
|
|
221
|
-
name: j(
|
|
222
|
-
css: j(
|
|
218
|
+
name: j(fe),
|
|
219
|
+
css: j(pe)
|
|
223
220
|
}, {
|
|
224
|
-
default:
|
|
225
|
-
class: ["m-dialog-backdrop",
|
|
226
|
-
style:
|
|
221
|
+
default: F(() => [c.modelValue ? (T(), g("div", x({ key: 0 }, L.value, {
|
|
222
|
+
class: ["m-dialog-backdrop", ve.value],
|
|
223
|
+
style: X.value
|
|
227
224
|
}), [_("div", {
|
|
228
225
|
class: "m-dialog-zoom",
|
|
229
|
-
onClick:
|
|
226
|
+
onClick: ne(Ce, ["self"])
|
|
230
227
|
}, [_("section", {
|
|
231
228
|
ref_key: "dialogElement",
|
|
232
|
-
ref:
|
|
229
|
+
ref: V,
|
|
233
230
|
class: C(["m-dialog", {
|
|
234
|
-
"m-dialog--maximized":
|
|
235
|
-
[`m-dialog--${
|
|
231
|
+
"m-dialog--maximized": H.value,
|
|
232
|
+
[`m-dialog--${S.type}`]: S.type
|
|
236
233
|
}]),
|
|
237
|
-
style: ee(
|
|
234
|
+
style: ee(ye.value),
|
|
238
235
|
role: "dialog",
|
|
239
236
|
"aria-modal": c.modal || void 0,
|
|
240
|
-
"aria-label":
|
|
237
|
+
"aria-label": ge.value,
|
|
241
238
|
tabindex: "-1"
|
|
242
239
|
}, [
|
|
243
|
-
e.$slots.header ||
|
|
240
|
+
e.$slots.header || G.value || q.value || c.closable || c.maximizable ? (T(), g("header", ie, [_("div", ae, [q.value ? (T(), g("span", oe, [v(r, {
|
|
244
241
|
name: q.value,
|
|
245
242
|
size: "sm"
|
|
246
|
-
}, null, 8, ["name"])])) : h("", !0), k(e.$slots, "header", {}, () => [
|
|
243
|
+
}, null, 8, ["name"])])) : h("", !0), k(e.$slots, "header", {}, () => [G.value ? (T(), g("h2", se, te(G.value), 1)) : h("", !0)])]), c.maximizable || c.closable ? (T(), g("div", ce, [c.maximizable ? (T(), g("button", {
|
|
247
244
|
key: 0,
|
|
248
245
|
type: "button",
|
|
249
246
|
class: "m-dialog__action",
|
|
250
|
-
"aria-label":
|
|
247
|
+
"aria-label": H.value ? j(B).restore : j(B).maximize,
|
|
251
248
|
disabled: Y.value,
|
|
252
249
|
onClick: $
|
|
253
250
|
}, [v(r, {
|
|
254
|
-
name:
|
|
251
|
+
name: H.value ? "restore" : "maximize",
|
|
255
252
|
size: "sm"
|
|
256
|
-
}, null, 8, ["name"])], 8,
|
|
253
|
+
}, null, 8, ["name"])], 8, le)) : h("", !0), c.closable ? (T(), g("button", {
|
|
257
254
|
key: 1,
|
|
258
255
|
type: "button",
|
|
259
256
|
class: "m-dialog__action",
|
|
260
|
-
"aria-label": j(
|
|
257
|
+
"aria-label": j(B).close,
|
|
261
258
|
disabled: Y.value,
|
|
262
259
|
onClick: Q
|
|
263
260
|
}, [v(r, {
|
|
264
261
|
name: "close",
|
|
265
262
|
size: "sm"
|
|
266
|
-
})], 8,
|
|
267
|
-
_("div",
|
|
268
|
-
|
|
263
|
+
})], 8, ue)) : h("", !0)])) : h("", !0)])) : h("", !0),
|
|
264
|
+
_("div", de, [k(e.$slots, "default")]),
|
|
265
|
+
me.value ? (T(), g("footer", {
|
|
269
266
|
key: 1,
|
|
270
267
|
class: C(["m-dialog__footer", { "m-dialog__footer--preset": J.value }])
|
|
271
268
|
}, [k(e.$slots, "footer", {}, () => [c.negativeText ? (T(), m(i, {
|
|
272
269
|
key: 0,
|
|
273
270
|
label: c.negativeText,
|
|
274
271
|
disabled: Y.value,
|
|
275
|
-
loading:
|
|
276
|
-
onClick:
|
|
272
|
+
loading: W.value === "negative",
|
|
273
|
+
onClick: Se
|
|
277
274
|
}, null, 8, [
|
|
278
275
|
"label",
|
|
279
276
|
"disabled",
|
|
280
277
|
"loading"
|
|
281
|
-
])) : h("", !0), c.positiveText ? (T(), m(i, x({ key: 1 },
|
|
278
|
+
])) : h("", !0), c.positiveText ? (T(), m(i, x({ key: 1 }, he.value, {
|
|
282
279
|
label: c.positiveText,
|
|
283
|
-
disabled: Y.value &&
|
|
284
|
-
loading:
|
|
285
|
-
onClick:
|
|
280
|
+
disabled: Y.value && W.value !== "positive",
|
|
281
|
+
loading: W.value === "positive",
|
|
282
|
+
onClick: xe
|
|
286
283
|
}), null, 16, [
|
|
287
284
|
"label",
|
|
288
285
|
"disabled",
|
|
289
286
|
"loading"
|
|
290
287
|
])) : h("", !0)])], 2)) : h("", !0)
|
|
291
|
-
], 14,
|
|
288
|
+
], 14, re)])], 16)) : h("", !0)]),
|
|
292
289
|
_: 3
|
|
293
290
|
}, 8, ["name", "css"])], 8, ["to", "disabled"]));
|
|
294
291
|
}
|
|
295
|
-
}),
|
|
296
|
-
function
|
|
292
|
+
}), L = /* @__PURE__ */ new Set();
|
|
293
|
+
function R(e) {
|
|
297
294
|
return typeof e == "string" ? { content: e } : { ...e };
|
|
298
295
|
}
|
|
299
|
-
function
|
|
296
|
+
function z(e) {
|
|
300
297
|
if (typeof document > "u") return {
|
|
301
298
|
destroy: () => {},
|
|
302
299
|
update: () => {}
|
|
303
300
|
};
|
|
304
301
|
let t = document.createElement("div");
|
|
305
302
|
document.body.appendChild(t);
|
|
306
|
-
let n = E(
|
|
303
|
+
let n = E(R(e)), r = D(!0), a = D(!1), o = !1;
|
|
307
304
|
function s() {
|
|
308
|
-
o || (o = !0,
|
|
305
|
+
o || (o = !0, L.delete(h), t.remove(), S(() => O(null, t)));
|
|
309
306
|
}
|
|
310
307
|
function l() {
|
|
311
308
|
r.value = !1;
|
|
@@ -332,7 +329,7 @@ function R(e) {
|
|
|
332
329
|
name: "MModalHost",
|
|
333
330
|
setup() {
|
|
334
331
|
let e = u();
|
|
335
|
-
return () => b(
|
|
332
|
+
return () => b(I, {
|
|
336
333
|
modelValue: r.value,
|
|
337
334
|
"onUpdate:modelValue": (e) => {
|
|
338
335
|
r.value = e;
|
|
@@ -372,16 +369,16 @@ function R(e) {
|
|
|
372
369
|
r.value = !1, s();
|
|
373
370
|
},
|
|
374
371
|
update: (e) => {
|
|
375
|
-
Object.assign(n,
|
|
372
|
+
Object.assign(n, R(e));
|
|
376
373
|
}
|
|
377
374
|
}, g = v(m), _ = c();
|
|
378
|
-
return _ && (g.appContext = _), O(g, t),
|
|
375
|
+
return _ && (g.appContext = _), O(g, t), L.add(h), h;
|
|
379
376
|
}
|
|
380
|
-
function
|
|
377
|
+
function B() {
|
|
381
378
|
function e(e) {
|
|
382
|
-
return (t) =>
|
|
379
|
+
return (t) => z({
|
|
383
380
|
...e,
|
|
384
|
-
...
|
|
381
|
+
...R(t)
|
|
385
382
|
});
|
|
386
383
|
}
|
|
387
384
|
return {
|
|
@@ -398,20 +395,20 @@ function z() {
|
|
|
398
395
|
showCancel: !1
|
|
399
396
|
}),
|
|
400
397
|
error: e({
|
|
401
|
-
type: "
|
|
398
|
+
type: "danger",
|
|
402
399
|
showCancel: !1
|
|
403
400
|
}),
|
|
404
401
|
confirm: e({ showCancel: !0 }),
|
|
405
402
|
destroyAll: () => {
|
|
406
|
-
for (let e of [...
|
|
403
|
+
for (let e of [...L]) e.destroy();
|
|
407
404
|
}
|
|
408
405
|
};
|
|
409
406
|
}
|
|
410
|
-
var
|
|
411
|
-
function
|
|
407
|
+
var V = B();
|
|
408
|
+
function H() {
|
|
412
409
|
w(() => {
|
|
413
|
-
for (let e of [...
|
|
410
|
+
for (let e of [...L]) e.destroy();
|
|
414
411
|
});
|
|
415
412
|
}
|
|
416
413
|
//#endregion
|
|
417
|
-
export {
|
|
414
|
+
export { I as MDialog, V as modal, B as useModal, H as useModalCleanup };
|
package/dist/dialog/style.css
CHANGED
|
@@ -2088,12 +2088,11 @@
|
|
|
2088
2088
|
color: var(--m-color-success);
|
|
2089
2089
|
}
|
|
2090
2090
|
|
|
2091
|
-
.m-dialog--warn .m-dialog__type-icon,
|
|
2092
2091
|
.m-dialog--warning .m-dialog__type-icon {
|
|
2093
|
-
color: var(--m-color-
|
|
2092
|
+
color: var(--m-color-warning);
|
|
2094
2093
|
}
|
|
2095
2094
|
|
|
2096
|
-
.m-dialog--
|
|
2095
|
+
.m-dialog--danger .m-dialog__type-icon {
|
|
2097
2096
|
color: var(--m-color-danger);
|
|
2098
2097
|
}
|
|
2099
2098
|
|
package/dist/dock/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
3
|
-
import { t as n } from "../icon-
|
|
2
|
+
import { t } from "../Icon-CmHjx7W8.js";
|
|
3
|
+
import { t as n } from "../icon-H8prbteT.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { Fragment as r, computed as i, createBlock as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, renderList as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, useSlots as _ } from "vue";
|
|
6
6
|
//#region src/components/Dock/Dock.vue?vue&type=script&setup=true&lang.ts
|
package/dist/drawer/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { n as t } from "../overlay-oR-5MDuE.js";
|
|
3
|
-
import { t as n } from "../useMotionTransition-
|
|
4
|
-
import { t as r } from "../Icon-
|
|
3
|
+
import { t as n } from "../useMotionTransition-DqL_SEML.js";
|
|
4
|
+
import { t as r } from "../Icon-CmHjx7W8.js";
|
|
5
5
|
import { t as i } from "../useModalOverlay-Beo3CEAt.js";
|
|
6
6
|
import { t as a } from "../asyncGuard-CPGT_TKu.js";
|
|
7
|
-
import { l as o } from "../config-
|
|
8
|
-
import { n as s } from "../locale-
|
|
7
|
+
import { l as o } from "../config-BEpyhJi3.js";
|
|
8
|
+
import { n as s } from "../locale-CZddM-tH.js";
|
|
9
9
|
import "./style.js";
|
|
10
10
|
import { Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, mergeProps as _, normalizeClass as v, normalizeStyle as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, toRef as w, unref as T, useAttrs as E, withCtx as D, withModifiers as O } from "vue";
|
|
11
11
|
//#region src/components/Drawer/Drawer.vue?vue&type=script&setup=true&lang.ts
|
package/dist/dropdown/index.js
CHANGED
|
@@ -2,14 +2,14 @@ import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
|
2
2
|
import { n as t, t as n } from "../overlay-oR-5MDuE.js";
|
|
3
3
|
import { t as r } from "../overlayPlacement-qwEJPVS4.js";
|
|
4
4
|
import { t as i } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
5
|
-
import { t as a } from "../useMotionTransition-
|
|
6
|
-
import { t as o } from "../Icon-
|
|
5
|
+
import { t as a } from "../useMotionTransition-DqL_SEML.js";
|
|
6
|
+
import { t as o } from "../Icon-CmHjx7W8.js";
|
|
7
7
|
import { t as s } from "../Scrollbar-DTeJ8P5b.js";
|
|
8
|
-
import { t as c } from "../icon-
|
|
8
|
+
import { t as c } from "../icon-H8prbteT.js";
|
|
9
9
|
import { t as l } from "../key-CaQYVkjh.js";
|
|
10
|
-
import { t as u } from "../FlyoutSubmenu-
|
|
11
|
-
import { l as d } from "../config-
|
|
12
|
-
import { n as f } from "../locale-
|
|
10
|
+
import { t as u } from "../FlyoutSubmenu-C0id6-Sb.js";
|
|
11
|
+
import { l as d } from "../config-BEpyhJi3.js";
|
|
12
|
+
import { n as f } from "../locale-CZddM-tH.js";
|
|
13
13
|
import "./style.js";
|
|
14
14
|
import { Fragment as p, Teleport as m, Transition as h, computed as g, createBlock as ee, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as b, createTextVNode as x, createVNode as S, defineComponent as C, mergeProps as w, nextTick as te, normalizeClass as T, normalizeStyle as E, onBeforeUnmount as D, openBlock as O, ref as k, renderList as A, renderSlot as j, toDisplayString as M, unref as N, useAttrs as ne, watch as re, withCtx as P } from "vue";
|
|
15
15
|
//#region src/components/Dropdown/DropdownNodes.vue?vue&type=script&setup=true&lang.ts
|
package/dist/empty/index.js
CHANGED
package/dist/fieldset/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../useControllable-elmWaz23.js";
|
|
3
3
|
import { t as n } from "../useMId-BXFYayPP.js";
|
|
4
|
-
import { t as r } from "../Icon-
|
|
4
|
+
import { t as r } from "../Icon-CmHjx7W8.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { Transition as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as c, createVNode as l, defineComponent as u, mergeProps as d, openBlock as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, vShow as _, withCtx as v, withDirectives as y } from "vue";
|
|
7
7
|
//#region src/components/Fieldset/Fieldset.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
3
|
-
import { n } from "../locale-
|
|
2
|
+
import { t } from "../Icon-CmHjx7W8.js";
|
|
3
|
+
import { n } from "../locale-CZddM-tH.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createTextVNode as ee, createVNode as c, defineComponent as l, mergeProps as u, normalizeClass as d, normalizeStyle as f, onBeforeUnmount as te, openBlock as p, ref as m, renderList as h, renderSlot as g, toDisplayString as _, unref as v, useAttrs as ne, watch as re } from "vue";
|
|
6
6
|
//#region src/components/FileUpload/ajax.ts
|
package/dist/flex/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../vnode-PJWBO7_h.js";
|
|
3
3
|
import { a as n, n as r, r as i, t as a } from "../gap-D2TKUbEY.js";
|
|
4
|
-
import { a as o } from "../config-
|
|
4
|
+
import { a as o } from "../config-BEpyhJi3.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { Fragment as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, defineComponent as f, mergeProps as p, openBlock as m, renderList as h, resolveDynamicComponent as g, unref as _, useAttrs as v, useSlots as y } from "vue";
|
|
7
7
|
//#endregion
|
package/dist/form/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../useMId-BXFYayPP.js";
|
|
3
|
-
import {
|
|
3
|
+
import { r as n } from "../types-DBQfGctj.js";
|
|
4
4
|
import { n as r, r as i, t as a } from "../context-CIx8fy-I.js";
|
|
5
|
-
import { n as o } from "../locale-
|
|
5
|
+
import { n as o } from "../locale-CZddM-tH.js";
|
|
6
6
|
import "./style.js";
|
|
7
7
|
import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, defineComponent as f, inject as p, mergeProps as ee, normalizeStyle as m, onBeforeUnmount as h, openBlock as g, provide as _, reactive as v, ref as y, renderSlot as b, toDisplayString as x, toRaw as S, unref as C, useAttrs as w, watch as T, withModifiers as E } from "vue";
|
|
8
8
|
//#region src/components/Form/paths.ts
|
package/dist/gallery/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
2
|
+
import { t } from "../Icon-CmHjx7W8.js";
|
|
3
3
|
import { t as n } from "../Scrollbar-DTeJ8P5b.js";
|
|
4
4
|
import { t as r } from "../useMenuKeyboard-BedmYE4W.js";
|
|
5
|
-
import { n as i } from "../locale-
|
|
5
|
+
import { n as i } from "../locale-CZddM-tH.js";
|
|
6
6
|
import "./style.js";
|
|
7
7
|
import { Fragment as a, Transition as o, computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, mergeProps as p, nextTick as m, normalizeClass as h, openBlock as g, ref as _, renderList as v, renderSlot as y, toDisplayString as b, unref as x, useAttrs as S, watch as C, withCtx as w } from "vue";
|
|
8
8
|
//#region src/components/Gallery/Gallery.vue?vue&type=script&setup=true&lang.ts
|
package/dist/icon/index.js
CHANGED
package/dist/image/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../Icon-
|
|
3
|
-
import { n } from "../locale-
|
|
2
|
+
import { t } from "../Icon-CmHjx7W8.js";
|
|
3
|
+
import { n } from "../locale-CZddM-tH.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { Teleport as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createVNode as l, defineComponent as u, inject as d, mergeProps as f, normalizeStyle as p, onBeforeUnmount as m, onMounted as h, openBlock as g, provide as _, ref as v, renderSlot as y, unref as b, useAttrs as x, watch as S, withModifiers as C } from "vue";
|
|
6
6
|
//#region src/components/Image/types.ts
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type { AccordionEmits, AccordionProps, AccordionTab, } from './components
|
|
|
4
4
|
export { default as MAffix } from './components/Affix/Affix.vue';
|
|
5
5
|
export type { AffixEmits, AffixProps } from './components/Affix/types';
|
|
6
6
|
export { default as MAlert } from './components/Alert/Alert.vue';
|
|
7
|
-
export type { AlertEmits, AlertProps,
|
|
7
|
+
export type { AlertEmits, AlertProps, AlertSize, AlertType, } from './components/Alert/types';
|
|
8
8
|
export { MAnchor, MAnchorLink } from './components/Anchor';
|
|
9
9
|
export type { AnchorContainer, AnchorDirection, AnchorEmits, AnchorLinkEmits, AnchorLinkItem, AnchorLinkProps, AnchorProps, } from './components/Anchor/types';
|
|
10
10
|
export { default as MAutoComplete } from './components/AutoComplete/AutoComplete.vue';
|
|
@@ -13,7 +13,7 @@ export { default as MAvatar } from './components/Avatar/Avatar.vue';
|
|
|
13
13
|
export { default as MAvatarGroup } from './components/Avatar/AvatarGroup.vue';
|
|
14
14
|
export type { AvatarEmits, AvatarGroupProps, AvatarProps, AvatarShape, AvatarSize, } from './components/Avatar/types';
|
|
15
15
|
export { default as MBadge } from './components/Badge/Badge.vue';
|
|
16
|
-
export type { BadgeOffset, BadgeProps,
|
|
16
|
+
export type { BadgeOffset, BadgeProps, BadgeType, BadgeSize, } from './components/Badge/types';
|
|
17
17
|
export { default as MBlockUI } from './components/BlockUI/BlockUI.vue';
|
|
18
18
|
export type { BlockUIProps } from './components/BlockUI/types';
|
|
19
19
|
export { default as MBreadcrumb } from './components/Breadcrumb/Breadcrumb.vue';
|
|
@@ -34,7 +34,7 @@ export { default as MCheckbox } from './components/Checkbox/Checkbox.vue';
|
|
|
34
34
|
export { default as MCheckboxGroup } from './components/Checkbox/CheckboxGroup.vue';
|
|
35
35
|
export type { CheckboxEmits, CheckboxGroupEmits, CheckboxGroupProps, CheckboxProps, CheckboxSize, CheckboxValue, } from './components/Checkbox/types';
|
|
36
36
|
export { default as MChip } from './components/Chip/Chip.vue';
|
|
37
|
-
export type { ChipEmits, ChipProps,
|
|
37
|
+
export type { ChipEmits, ChipProps, ChipType, ChipSize, } from './components/Chip/types';
|
|
38
38
|
export { default as MCommandMenu } from './components/CommandMenu/CommandMenu.vue';
|
|
39
39
|
export type { CommandMenuEmits, CommandMenuItem, CommandMenuProps, } from './components/CommandMenu/types';
|
|
40
40
|
export { default as MConfigProvider } from './components/ConfigProvider/ConfigProvider.vue';
|
|
@@ -164,7 +164,7 @@ export { default as MMenubar } from './components/Menubar/Menubar.vue';
|
|
|
164
164
|
export type { MenubarEmits, MenubarItem, MenubarProps, } from './components/Menubar/types';
|
|
165
165
|
export { message, useMessage } from './components/Message/message';
|
|
166
166
|
export { default as MMessage } from './components/Message/Message.vue';
|
|
167
|
-
export type { MessageHandle, MessageHostConfig, MessageInput, MessageItem, MessageOptions, MessagePlacement, MessageProps,
|
|
167
|
+
export type { MessageHandle, MessageHostConfig, MessageInput, MessageItem, MessageOptions, MessagePlacement, MessageProps, MessageType, } from './components/Message/types';
|
|
168
168
|
export { default as MMeterGroup } from './components/MeterGroup/MeterGroup.vue';
|
|
169
169
|
export type { MeterGroupItem, MeterGroupProps, } from './components/MeterGroup/types';
|
|
170
170
|
export { default as MMentions } from './components/Mentions/Mentions.vue';
|
|
@@ -179,7 +179,7 @@ export { default as MPagePlaceholder } from './components/Page/PagePlaceholder.v
|
|
|
179
179
|
export { default as MPageSection } from './components/Page/PageSection.vue';
|
|
180
180
|
export { default as MPageStat } from './components/Page/PageStat.vue';
|
|
181
181
|
export { default as MPageToolbar } from './components/Page/PageToolbar.vue';
|
|
182
|
-
export type { PageContentBands, PageContentDensity, PageContentProps, PageContentWidth, PageFilterChipsProps, PageFiltersProps, PageFiltersVariant, PageHeaderProps, PagePlaceholderProps, PageSectionProps, PageSectionVariant, PageStatDensity, PageStatLayout, PageStatOrientation, PageStatProps, PageStatTrendDirection,
|
|
182
|
+
export type { PageContentBands, PageContentDensity, PageContentProps, PageContentWidth, PageFilterChipsProps, PageFiltersProps, PageFiltersVariant, PageHeaderProps, PagePlaceholderProps, PageSectionProps, PageSectionVariant, PageStatDensity, PageStatLayout, PageStatOrientation, PageStatProps, PageStatTrendDirection, PageStatTrendType, PageToolbarProps, } from './components/Page/types';
|
|
183
183
|
export { default as MPagination } from './components/Pagination/Pagination.vue';
|
|
184
184
|
export type { PaginationEmits, PaginationInstance, PaginationProps, } from './components/Pagination/types';
|
|
185
185
|
export { default as MPanel } from './components/Panel/Panel.vue';
|
|
@@ -229,7 +229,7 @@ export { MStatistic, MStatisticCountdown } from './components/Statistic';
|
|
|
229
229
|
export type { StatisticCountdownEmits, StatisticCountdownProps, StatisticProps, } from './components/Statistic/types';
|
|
230
230
|
export type { StatisticFormatter, StatisticValue, } from './components/Statistic/utils';
|
|
231
231
|
export { default as MStatus } from './components/Status/Status.vue';
|
|
232
|
-
export type { StatusProps,
|
|
232
|
+
export type { StatusProps, StatusType, StatusSize, StatusVariant, } from './components/Status/types';
|
|
233
233
|
export { default as MStepper } from './components/Stepper/Stepper.vue';
|
|
234
234
|
export type { StepperEmits, StepperOrientation, StepperProps, StepperStatus, StepperStep, } from './components/Stepper/types';
|
|
235
235
|
export { default as MSwitch } from './components/Switch/Switch.vue';
|
|
@@ -239,7 +239,7 @@ export type { TableBodyItemClassName, TableBodyRowClassName, TableColumn, TableC
|
|
|
239
239
|
export { default as MTabs } from './components/Tabs/Tabs.vue';
|
|
240
240
|
export type { TabItem, TabsEmits, TabsProps, TabsType, } from './components/Tabs/types';
|
|
241
241
|
export { default as MTag } from './components/Tag/Tag.vue';
|
|
242
|
-
export type { TagEmits, TagProps,
|
|
242
|
+
export type { TagEmits, TagProps, TagType, TagSize, } from './components/Tag/types';
|
|
243
243
|
export { default as MTerminal } from './components/Terminal/Terminal.vue';
|
|
244
244
|
export type { TerminalEmits, TerminalProps } from './components/Terminal/types';
|
|
245
245
|
export { default as MTextarea } from './components/Textarea/Textarea.vue';
|
|
@@ -247,14 +247,14 @@ export type { MTextareaAutosize, TextareaEmits, TextareaInstance, TextareaProps,
|
|
|
247
247
|
export { default as MTieredMenu } from './components/TieredMenu/TieredMenu.vue';
|
|
248
248
|
export type { TieredMenuEmits, TieredMenuItem, TieredMenuProps, } from './components/TieredMenu/types';
|
|
249
249
|
export { default as MTimeline } from './components/Timeline/Timeline.vue';
|
|
250
|
-
export type { TimelineAlign, TimelineEvent, TimelineLayout, TimelineProps,
|
|
250
|
+
export type { TimelineAlign, TimelineEvent, TimelineLayout, TimelineProps, TimelineType, } from './components/Timeline/types';
|
|
251
251
|
export { MLink, MParagraph, MText, MTitle, MTypography, } from './components/Typography';
|
|
252
252
|
export type { LinkProps, ParagraphProps, TextProps, TitleLevel, TitleProps, TypographyCopyable, TypographyCopyableConfig, TypographyDecorations, TypographyEditable, TypographyEditableConfig, TypographyEllipsis, TypographyEllipsisConfig, TypographyProps, TypographyType, } from './components/Typography/types';
|
|
253
253
|
export { toast, useToast } from './components/Toast/toast';
|
|
254
254
|
export { notification, useNotification, } from './components/Toast/useNotification';
|
|
255
255
|
export type { NotificationApi, NotificationOptions, NotificationPlacement, NotificationType, } from './components/Toast/useNotification';
|
|
256
256
|
export { default as MToast } from './components/Toast/Toast.vue';
|
|
257
|
-
export type { ToastEmits, ToastHandle, ToastInput, ToastMessage, ToastOptions, ToastPosition, ToastProps,
|
|
257
|
+
export type { ToastEmits, ToastHandle, ToastInput, ToastMessage, ToastOptions, ToastPosition, ToastProps, ToastType, } from './components/Toast/types';
|
|
258
258
|
export { default as MToggleButton } from './components/ToggleButton/ToggleButton.vue';
|
|
259
259
|
export type { ToggleButtonEmits, ToggleButtonProps, } from './components/ToggleButton/types';
|
|
260
260
|
export { default as MTour } from './components/Tour/Tour.vue';
|
|
@@ -281,8 +281,8 @@ export type { MRenderable } from './shared/content';
|
|
|
281
281
|
export { renderMContent } from './shared/content';
|
|
282
282
|
export type { MAppendTo, MOverlayMountProps } from './shared/overlay';
|
|
283
283
|
export { isOverlayTeleported, resolveOverlayTeleport } from './shared/overlay';
|
|
284
|
-
export type { MFieldStatus, MInputVariant,
|
|
285
|
-
export {
|
|
284
|
+
export type { MFieldStatus, MInputVariant, MSize, MSizeInput, MTagType, MToastType, MToneType, } from './shared/types';
|
|
285
|
+
export { resolveSizeClass } from './shared/types';
|
|
286
286
|
export { useModalOverlay } from './shared/useModalOverlay';
|
|
287
287
|
export type { UseModalOverlayOptions } from './shared/useModalOverlay';
|
|
288
288
|
export { applyDensity, applyMotion, applyReducedMotionPolicy, applyTheme, builtinMotionPresets, camelToKebab, clearCustomMotionPresets, compactSeed, createTheme, darkSeed, darkTokens, deriveCompatCssVars, deriveCssVars, deriveMapTokens, getPreferredMotion, getPreferredTheme, lightSeed, lightTokens, listMotionPresets, registerMotionPreset, resolveMotionPreset, resolveMotionTransition, resolveThemeCssVars, seedForAlgorithm, themeCssVarNames, themeNames, tokensToCssVars, unregisterMotionPreset, useDensity, useMotion, useMotionTransition, useTheme, } from './theme';
|