morya-ui 0.4.1 → 0.4.2
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 +46 -1
- package/dist/Button-BaYLh91a.js +326 -0
- package/dist/{Checkbox-BKt8hdhV.js → Checkbox-LxCFF19I.js} +1 -1
- package/dist/{DatePicker-CSoMFEvh.js → DatePicker-DGPNukEW.js} +3 -3
- package/dist/{Empty-iNcc0G-q.js → Empty-2_f_FgyK.js} +1 -1
- package/dist/{FlyoutSubmenu-C1RfFRzH.js → FlyoutSubmenu-Da6AcoM4.js} +1 -1
- package/dist/{Input-DQHYqvNk.js → Input-NspPDc2R.js} +2 -2
- package/dist/{Loading-BPpR-jGa.js → Loading-BK4dQPCS.js} +10 -10
- package/dist/{Pagination-DLphD6LC.js → Pagination-tdrlaZ3u.js} +2 -2
- package/dist/{Popover-B_2c9NWs.js → Popover-BumMfUpV.js} +2 -2
- package/dist/{ProgressSpinner-B_OJG_0l.js → ProgressSpinner-BQ1tLioO.js} +1 -1
- package/dist/{Radio-Bxd806ys.js → Radio-BCn2OVCF.js} +1 -1
- package/dist/{Segmented-BRMSmXCl.js → Segmented-ppmDmku5.js} +1 -1
- package/dist/{Select-DxMlpgc5.js → Select-CN1tM76U.js} +4 -4
- package/dist/{Textarea-BBvpgIQL.js → Textarea-Ch1KCXEv.js} +2 -2
- package/dist/{Tooltip-BJp-ZMqQ.js → Tooltip-DKsXxU_B.js} +2 -2
- package/dist/alert/index.js +2 -2
- package/dist/auto-complete/index.js +3 -3
- package/dist/block-ui/index.js +1 -1
- package/dist/breadcrumb/index.js +1 -1
- package/dist/button/index.js +9 -9
- package/dist/button/style.css +464 -775
- package/dist/button/style.js +1 -0
- package/dist/calendar/index.js +3 -3
- package/dist/carousel/index.js +2 -4
- package/dist/carousel/style.css +457 -775
- package/dist/cascade-select/index.js +4 -4
- package/dist/checkbox/index.js +1 -1
- package/dist/chip/index.js +1 -1
- package/dist/command-menu/index.js +3 -3
- package/dist/components/Button/Button.vue.d.ts +15 -22
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/ButtonGroup.vue.d.ts +1 -1
- package/dist/components/Button/ButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/Button/buttonHelpers.d.ts +25 -0
- package/dist/components/Button/buttonHelpers.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -1
- package/dist/components/Button/index.d.ts.map +1 -1
- package/dist/components/Button/styles.css +463 -781
- package/dist/components/Button/types.d.ts +67 -61
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts +2 -2
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/types.d.ts +2 -2
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/useConfirm.d.ts +1 -1
- package/dist/components/ConfirmDialog/useConfirm.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts.map +1 -1
- package/dist/components/ConfirmPopup/types.d.ts +3 -3
- package/dist/components/ConfirmPopup/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/types.d.ts +3 -3
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Dialog/useModal.d.ts +2 -2
- package/dist/components/Dialog/useModal.d.ts.map +1 -1
- package/dist/components/Divider/Divider.vue.d.ts +1 -1
- package/dist/components/Mentions/Mentions.vue.d.ts +1 -1
- package/dist/components/Message/styles.css +4 -2
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/QRCode/QRCode.vue.d.ts.map +1 -1
- package/dist/components/Select/Select.vue.d.ts +1 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts +0 -1
- package/dist/components/SplitButton/SplitButton.vue.d.ts.map +1 -1
- package/dist/components/SplitButton/types.d.ts +3 -3
- package/dist/components/SplitButton/types.d.ts.map +1 -1
- package/dist/components/Table/Table.vue.d.ts +4 -4
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/render/TableThead.vue.d.ts +2 -0
- package/dist/components/Table/render/TableThead.vue.d.ts.map +1 -1
- package/dist/components/Table/state/internal.d.ts +1 -0
- package/dist/components/Table/state/internal.d.ts.map +1 -1
- package/dist/components/Table/styles.css +9 -0
- package/dist/components/Tag/Tag.vue.d.ts +1 -1
- package/dist/components/Tour/Tour.vue.d.ts.map +1 -1
- package/dist/{config-COgrsSV2.js → config-CB_TiIvg.js} +11 -4
- package/dist/config-provider/index.js +1 -1
- package/dist/config-provider/style.css +457 -775
- package/dist/confirm-dialog/index.js +45 -39
- package/dist/confirm-dialog/style.css +457 -775
- package/dist/confirm-popup/index.js +17 -14
- package/dist/confirm-popup/style.css +457 -775
- package/dist/context-menu/index.js +3 -3
- 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 +68 -55
- package/dist/dialog/style.css +457 -775
- package/dist/drawer/index.js +3 -3
- package/dist/dropdown/index.js +4 -4
- package/dist/empty/index.js +1 -1
- package/dist/file-upload/index.js +1 -1
- package/dist/flex/index.js +1 -1
- package/dist/form/index.js +1 -1
- package/dist/gallery/index.js +1 -1
- package/dist/image/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4018 -3908
- package/dist/input/index.js +1 -1
- package/dist/input-color/index.js +2 -2
- package/dist/input-number/index.js +2 -2
- package/dist/input-otp/index.js +2 -2
- package/dist/input-password/index.js +2 -2
- package/dist/input-tags/index.js +2 -2
- package/dist/layout/index.js +1 -1
- 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 +21 -0
- package/dist/mega-menu/index.js +3 -3
- package/dist/mentions/index.js +3 -3
- package/dist/menu/index.js +4 -4
- package/dist/menubar/index.js +3 -3
- package/dist/message/index.js +3 -3
- package/dist/message/style.css +4 -2
- package/dist/order-list/index.js +1 -1
- package/dist/page/index.js +4 -7
- package/dist/page/style.css +457 -775
- package/dist/pagination/index.js +1 -1
- package/dist/panel/index.js +1 -1
- package/dist/pick-list/index.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/progress-spinner/index.js +1 -1
- package/dist/qr-code/index.js +3 -3
- package/dist/qr-code/style.css +457 -775
- package/dist/radio/index.js +1 -1
- package/dist/rating/index.js +2 -2
- package/dist/result/index.js +1 -1
- package/dist/scroll-top/index.js +2 -2
- 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/componentDefaults.d.ts +6 -0
- package/dist/shared/componentDefaults.d.ts.map +1 -1
- package/dist/sidebar/index.js +1 -1
- package/dist/slider/index.js +2 -2
- package/dist/space/index.js +1 -1
- package/dist/speed-dial/index.js +3 -3
- package/dist/split-button/index.js +7 -10
- package/dist/split-button/style.css +463 -781
- package/dist/splitter/index.js +1 -1
- package/dist/status/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/index.js +1628 -1622
- package/dist/table/style.css +9 -0
- package/dist/tabs/index.js +1 -1
- package/dist/tag/index.js +2 -2
- package/dist/terminal/index.js +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/tiered-menu/index.js +3 -3
- package/dist/time-picker/index.js +1 -1
- package/dist/toast/index.js +3 -3
- package/dist/toast/style.css +457 -775
- package/dist/toggle-button/index.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/dist/tour/index.js +7 -8
- package/dist/tour/style.css +457 -775
- package/dist/tree/index.js +2 -2
- package/dist/tree-select/index.js +4 -4
- package/dist/typography/index.js +2 -2
- package/dist/{useMotionTransition-S2rlviyZ.js → useMotionTransition-D8JOR3ih.js} +1 -1
- package/package.json +1 -1
- package/dist/Button-TaJ0LKtP.js +0 -234
- package/dist/locale-Dnk0UIie.js +0 -21
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,55 @@
|
|
|
1
1
|
# morya-ui
|
|
2
2
|
|
|
3
|
+
## 0.4.2
|
|
4
|
+
|
|
5
|
+
### 新功能
|
|
6
|
+
|
|
7
|
+
- add MTable component and support column align props and scroll height settings
|
|
8
|
+
|
|
9
|
+
### 修复
|
|
10
|
+
|
|
11
|
+
- align loading, defaults, and outlined active styles
|
|
12
|
+
- MMessage component icon align center
|
|
13
|
+
|
|
14
|
+
### 文档
|
|
15
|
+
|
|
16
|
+
- clarify ButtonGroup as visual-only grouping
|
|
17
|
+
- tighten public docs and reorder demos
|
|
18
|
+
- sync demos and MCP after dual-axis API
|
|
19
|
+
|
|
20
|
+
### 变更
|
|
21
|
+
|
|
22
|
+
- remove built-in badge API
|
|
23
|
+
- tokenize styles against theme tokens
|
|
24
|
+
- update button props and remove severity prop
|
|
25
|
+
|
|
26
|
+
## Unreleased
|
|
27
|
+
|
|
28
|
+
### 破坏性变更
|
|
29
|
+
|
|
30
|
+
- **Button**:改为 `type` / `color` × `variant` 双轴 API
|
|
31
|
+
- 新增 `type` 语法糖(`default` / `primary` / `dashed` / `link` / `text`)与 `color` × `variant`
|
|
32
|
+
- 删除 `severity`;危险色改用 `danger` / `color="danger"`
|
|
33
|
+
- `fluid` → `block`;`nativeType` → `htmlType`;`iconPos` → `iconPlacement`
|
|
34
|
+
- 删除内置 `badge` / `badgeColor`;角标请用 `MBadge` 包裹按钮
|
|
35
|
+
- 支持 `href` / `ghost` / `loading` 对象形态与 `pt`
|
|
36
|
+
|
|
37
|
+
### 修复
|
|
38
|
+
|
|
39
|
+
- **Button**:loading 时不再误加原生 `disabled`(避免灰掉主色)
|
|
40
|
+
- **Button**:`shape` / `ripple` / `press` 正确继承 `componentDefaults`,本地可覆盖
|
|
41
|
+
- **Button**:`:active` 同步边框与文字色;默认 outlined / dashed 按下保持表面色背景
|
|
42
|
+
|
|
43
|
+
### 文档
|
|
44
|
+
|
|
45
|
+
- 补齐 Button 文档 demo:ColorVariant / Icon / Size / Ghost / Danger / Block / RipplePress
|
|
46
|
+
- 同步 MCP catalog、setup / design-kit 约定,以及 `morya-ui-pages` skill 中的 Button API
|
|
47
|
+
|
|
3
48
|
## 0.4.1
|
|
4
49
|
|
|
5
50
|
### 破坏性变更
|
|
6
51
|
|
|
7
|
-
- rewrite
|
|
52
|
+
- rewrite public component API
|
|
8
53
|
|
|
9
54
|
### 新功能
|
|
10
55
|
|
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
|
+
import { r as t } from "./types-DGuu4Eg4.js";
|
|
3
|
+
import { t as n } from "./Icon-od9Ob-Ay.js";
|
|
4
|
+
import { c as r, l as i, o as a, u as o } from "./config-CB_TiIvg.js";
|
|
5
|
+
import { Comment as s, Fragment as c, Text as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createTextVNode as ee, defineComponent as m, mergeProps as h, nextTick as te, onBeforeUnmount as ne, onMounted as re, openBlock as g, ref as _, renderSlot as v, resolveDynamicComponent as y, toDisplayString as ie, unref as b, useAttrs as ae, useSlots as oe, watch as x, withCtx as se } from "vue";
|
|
6
|
+
//#region src/components/Button/buttonHelpers.ts
|
|
7
|
+
var S = /^[\u4E00-\u9FA5]{2}$/, C = S.test.bind(S);
|
|
8
|
+
function w(e) {
|
|
9
|
+
return e === "text" || e === "link";
|
|
10
|
+
}
|
|
11
|
+
var T = {
|
|
12
|
+
default: ["default", "outlined"],
|
|
13
|
+
primary: ["primary", "solid"],
|
|
14
|
+
dashed: ["default", "dashed"],
|
|
15
|
+
link: ["link", "link"],
|
|
16
|
+
text: ["default", "text"]
|
|
17
|
+
};
|
|
18
|
+
function E(e) {
|
|
19
|
+
let { color: t, variant: n, type: r, danger: i = !1, contextColor: a, contextVariant: o } = e;
|
|
20
|
+
if (t && n) return [t, n];
|
|
21
|
+
let s = r || "default";
|
|
22
|
+
if (r || i) {
|
|
23
|
+
let e = T[s] ?? T.default;
|
|
24
|
+
return i ? ["danger", e[1]] : e;
|
|
25
|
+
}
|
|
26
|
+
return n === "solid" ? ["primary", n] : a && o ? [a, o] : o === "solid" ? ["primary", o] : t ? [t, n ?? "outlined"] : n ? ["default", n] : ["default", "outlined"];
|
|
27
|
+
}
|
|
28
|
+
function D(e) {
|
|
29
|
+
let [t, n] = E(e), r = !!e.ghost && !w(n);
|
|
30
|
+
return r && n === "solid" ? {
|
|
31
|
+
color: t,
|
|
32
|
+
variant: "outlined",
|
|
33
|
+
ghost: !0
|
|
34
|
+
} : {
|
|
35
|
+
color: t,
|
|
36
|
+
variant: n,
|
|
37
|
+
ghost: r
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function O(e) {
|
|
41
|
+
if (e && typeof e == "object") {
|
|
42
|
+
let t = typeof e.delay == "number" && e.delay > 0 ? e.delay : 0;
|
|
43
|
+
return {
|
|
44
|
+
loading: t <= 0,
|
|
45
|
+
delay: t,
|
|
46
|
+
icon: e.icon
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
loading: !!e,
|
|
51
|
+
delay: 0
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function k(e, t) {
|
|
55
|
+
let n = e.trim();
|
|
56
|
+
return !t || !C(n) ? e : `${n[0]} ${n[1]}`;
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/components/Button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
60
|
+
var ce = {
|
|
61
|
+
key: 2,
|
|
62
|
+
class: "m-button__spinner"
|
|
63
|
+
}, le = 560, ue = /* @__PURE__ */ m({
|
|
64
|
+
inheritAttrs: !1,
|
|
65
|
+
__name: "Button",
|
|
66
|
+
props: {
|
|
67
|
+
type: { default: void 0 },
|
|
68
|
+
color: { default: void 0 },
|
|
69
|
+
variant: { default: void 0 },
|
|
70
|
+
danger: {
|
|
71
|
+
type: Boolean,
|
|
72
|
+
default: !1
|
|
73
|
+
},
|
|
74
|
+
ghost: {
|
|
75
|
+
type: Boolean,
|
|
76
|
+
default: !1
|
|
77
|
+
},
|
|
78
|
+
shape: { default: void 0 },
|
|
79
|
+
size: {},
|
|
80
|
+
block: {
|
|
81
|
+
type: Boolean,
|
|
82
|
+
default: !1
|
|
83
|
+
},
|
|
84
|
+
loading: {
|
|
85
|
+
type: [Boolean, Object],
|
|
86
|
+
default: !1
|
|
87
|
+
},
|
|
88
|
+
disabled: {
|
|
89
|
+
type: Boolean,
|
|
90
|
+
default: void 0
|
|
91
|
+
},
|
|
92
|
+
htmlType: { default: "button" },
|
|
93
|
+
href: {},
|
|
94
|
+
target: {},
|
|
95
|
+
label: {},
|
|
96
|
+
icon: {},
|
|
97
|
+
iconPlacement: { default: "start" },
|
|
98
|
+
iconOnly: {
|
|
99
|
+
type: Boolean,
|
|
100
|
+
default: !1
|
|
101
|
+
},
|
|
102
|
+
autoInsertSpace: {
|
|
103
|
+
type: Boolean,
|
|
104
|
+
default: void 0
|
|
105
|
+
},
|
|
106
|
+
autofocus: {
|
|
107
|
+
type: Boolean,
|
|
108
|
+
default: !1
|
|
109
|
+
},
|
|
110
|
+
ariaLabel: {},
|
|
111
|
+
ripple: {
|
|
112
|
+
type: Boolean,
|
|
113
|
+
default: void 0
|
|
114
|
+
},
|
|
115
|
+
press: {
|
|
116
|
+
type: Boolean,
|
|
117
|
+
default: void 0
|
|
118
|
+
},
|
|
119
|
+
pt: {}
|
|
120
|
+
},
|
|
121
|
+
emits: ["click"],
|
|
122
|
+
setup(m, { expose: S, emit: T }) {
|
|
123
|
+
let E = m, ue = T, A = oe(), de = ae(), { rootAttrs: fe } = e(de, () => E.pt), j = _(null), M = _(null), N = /* @__PURE__ */ new Set(), P = _(!1), F = _(!1), I, L = i(), R = r(() => E.disabled), z = a("Button", () => E.size), B = u(() => t(z.value)), pe = u(() => o(L.value.componentDefaults, "Button", "color")), me = u(() => o(L.value.componentDefaults, "Button", "variant")), he = u(() => o(L.value.componentDefaults, "Button", "shape") ?? "default"), ge = u(() => o(L.value.componentDefaults, "Button", "autoInsertSpace")), _e = u(() => o(L.value.componentDefaults, "Button", "ripple")), ve = u(() => o(L.value.componentDefaults, "Button", "press")), ye = u(() => E.shape ?? he.value ?? "default"), V = u(() => E.autoInsertSpace ?? ge.value ?? !0), H = u(() => E.ripple ?? _e.value ?? !1), be = u(() => E.press ?? ve.value ?? !1), U = u(() => D({
|
|
124
|
+
color: E.color,
|
|
125
|
+
variant: E.variant,
|
|
126
|
+
type: E.type,
|
|
127
|
+
danger: E.danger,
|
|
128
|
+
ghost: E.ghost,
|
|
129
|
+
contextColor: pe.value,
|
|
130
|
+
contextVariant: me.value
|
|
131
|
+
})), W = u(() => O(E.loading));
|
|
132
|
+
x(W, (e) => {
|
|
133
|
+
if (I !== void 0 && (clearTimeout(I), I = void 0), e.delay > 0 && (E.loading === !0 || E.loading && typeof E.loading == "object")) {
|
|
134
|
+
F.value = !1, I = setTimeout(() => {
|
|
135
|
+
F.value = !0, I = void 0;
|
|
136
|
+
}, e.delay);
|
|
137
|
+
return;
|
|
138
|
+
}
|
|
139
|
+
F.value = e.loading;
|
|
140
|
+
}, { immediate: !0 });
|
|
141
|
+
let G = u(() => !!A.default?.().some((e) => Q(e))), K = u(() => G.value || !!E.label?.trim()), q = u(() => E.iconOnly || !K.value && !!(E.icon || A.icon || F.value)), J = u(() => typeof E.icon == "string" ? E.icon : void 0), Y = u(() => typeof E.icon == "string" || !E.icon ? void 0 : E.icon), X = u(() => {
|
|
142
|
+
let e = W.value.icon;
|
|
143
|
+
return typeof e == "string" ? e : void 0;
|
|
144
|
+
}), xe = u(() => {
|
|
145
|
+
let e = W.value.icon;
|
|
146
|
+
return typeof e == "string" || !e ? void 0 : e;
|
|
147
|
+
}), Se = u(() => E.label ? k(E.label, V.value && !F.value) : ""), Z = u(() => E.href !== void 0), Ce = u(() => [
|
|
148
|
+
"m-button",
|
|
149
|
+
`m-button--color-${U.value.color === "danger" ? "danger" : U.value.color}`,
|
|
150
|
+
`m-button--variant-${U.value.variant}`,
|
|
151
|
+
`m-button--${z.value}`,
|
|
152
|
+
`m-button--shape-${ye.value}`,
|
|
153
|
+
{
|
|
154
|
+
"m-button--ghost": U.value.ghost,
|
|
155
|
+
"m-button--block": E.block,
|
|
156
|
+
"m-button--loading": F.value,
|
|
157
|
+
"m-button--icon-only": q.value,
|
|
158
|
+
"m-button--icon-end": E.iconPlacement === "end",
|
|
159
|
+
"m-button--two-chinese-chars": P.value && V.value && !F.value,
|
|
160
|
+
"m-button--ripple": H.value,
|
|
161
|
+
"m-button--press": be.value,
|
|
162
|
+
"m-button--disabled": R.value && Z.value
|
|
163
|
+
}
|
|
164
|
+
]), we = u(() => E.icon || A.icon || q.value || w(U.value.variant) ? !1 : E.label && !G.value ? !0 : (A.default?.() ?? []).filter((e) => Q(e)).length === 1);
|
|
165
|
+
function Q(e) {
|
|
166
|
+
if (e == null || typeof e == "boolean") return !1;
|
|
167
|
+
if (typeof e == "string" || typeof e == "number") return String(e).trim().length > 0;
|
|
168
|
+
if (Array.isArray(e)) return e.some((e) => Q(e));
|
|
169
|
+
if (typeof e == "object" && "type" in e) {
|
|
170
|
+
let t = e;
|
|
171
|
+
return t.type === s ? !1 : t.type === l ? String(t.children ?? "").trim().length > 0 : t.type !== c || Q(t.children);
|
|
172
|
+
}
|
|
173
|
+
return !1;
|
|
174
|
+
}
|
|
175
|
+
function Te() {
|
|
176
|
+
if (!j.value || !V.value || !we.value) {
|
|
177
|
+
P.value = !1;
|
|
178
|
+
return;
|
|
179
|
+
}
|
|
180
|
+
let e = (j.value.textContent || "").replace(/\s/g, "");
|
|
181
|
+
P.value = C(e);
|
|
182
|
+
}
|
|
183
|
+
x(() => [
|
|
184
|
+
E.label,
|
|
185
|
+
G.value,
|
|
186
|
+
V.value,
|
|
187
|
+
we.value,
|
|
188
|
+
F.value
|
|
189
|
+
], async () => {
|
|
190
|
+
await te(), Te();
|
|
191
|
+
}), re(() => {
|
|
192
|
+
Te(), E.autofocus && j.value?.focus();
|
|
193
|
+
});
|
|
194
|
+
function Ee() {
|
|
195
|
+
return !H.value || typeof document > "u" || w(U.value.variant) ? !0 : document.documentElement.dataset.mMotion === "none";
|
|
196
|
+
}
|
|
197
|
+
function De() {
|
|
198
|
+
let e = j.value;
|
|
199
|
+
if (e && typeof getComputedStyle == "function") {
|
|
200
|
+
let t = getComputedStyle(e).getPropertyValue("--m-button-ripple-duration").trim(), n = Number.parseFloat(t);
|
|
201
|
+
if (Number.isFinite(n)) return n;
|
|
202
|
+
}
|
|
203
|
+
return le;
|
|
204
|
+
}
|
|
205
|
+
function $(e, t, n = !1) {
|
|
206
|
+
if (Ee()) return;
|
|
207
|
+
let r = j.value, i = M.value;
|
|
208
|
+
if (!r || !i) return;
|
|
209
|
+
let a = r.getBoundingClientRect(), o = Math.ceil(Math.hypot(a.width, a.height) * 2), s = n ? a.width / 2 : e - a.left, c = n ? a.height / 2 : t - a.top, l = document.createElement("span");
|
|
210
|
+
l.className = "m-button__ripple-wave", l.style.width = `${o}px`, l.style.height = `${o}px`, l.style.left = `${s - o / 2}px`, l.style.top = `${c - o / 2}px`, i.appendChild(l);
|
|
211
|
+
let u = De(), d = () => {
|
|
212
|
+
l.remove();
|
|
213
|
+
};
|
|
214
|
+
if (typeof l.animate == "function") {
|
|
215
|
+
let e = l.animate([
|
|
216
|
+
{
|
|
217
|
+
transform: "scale(0)",
|
|
218
|
+
opacity: .42
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
transform: "scale(0.55)",
|
|
222
|
+
opacity: .22,
|
|
223
|
+
offset: .55
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
transform: "scale(1)",
|
|
227
|
+
opacity: 0
|
|
228
|
+
}
|
|
229
|
+
], {
|
|
230
|
+
duration: u,
|
|
231
|
+
easing: "cubic-bezier(0.2, 0, 0, 1)",
|
|
232
|
+
fill: "forwards"
|
|
233
|
+
});
|
|
234
|
+
N.add(e), e.finished.then(() => {
|
|
235
|
+
N.delete(e), d();
|
|
236
|
+
}).catch(d);
|
|
237
|
+
return;
|
|
238
|
+
}
|
|
239
|
+
l.classList.add("m-button__ripple-wave--fallback"), window.setTimeout(d, u);
|
|
240
|
+
}
|
|
241
|
+
function Oe(e) {
|
|
242
|
+
R.value || F.value || e.button === 0 && $(e.clientX, e.clientY);
|
|
243
|
+
}
|
|
244
|
+
function ke(e) {
|
|
245
|
+
if (R.value || F.value) {
|
|
246
|
+
e.preventDefault();
|
|
247
|
+
return;
|
|
248
|
+
}
|
|
249
|
+
e.detail === 0 && $(0, 0, !0), ue("click", e);
|
|
250
|
+
}
|
|
251
|
+
function Ae() {
|
|
252
|
+
j.value?.focus();
|
|
253
|
+
}
|
|
254
|
+
return ne(() => {
|
|
255
|
+
I !== void 0 && clearTimeout(I);
|
|
256
|
+
for (let e of N) e.cancel();
|
|
257
|
+
N.clear();
|
|
258
|
+
}), S({
|
|
259
|
+
focus: Ae,
|
|
260
|
+
ref: j
|
|
261
|
+
}), (e, t) => (g(), d(y(Z.value ? "a" : "button"), h({
|
|
262
|
+
ref_key: "buttonElement",
|
|
263
|
+
ref: j
|
|
264
|
+
}, b(fe), {
|
|
265
|
+
class: Ce.value,
|
|
266
|
+
type: Z.value ? void 0 : m.htmlType,
|
|
267
|
+
href: Z.value ? b(R) ? void 0 : m.href : void 0,
|
|
268
|
+
target: Z.value ? m.target : void 0,
|
|
269
|
+
disabled: Z.value ? void 0 : b(R),
|
|
270
|
+
tabindex: Z.value && b(R) ? -1 : void 0,
|
|
271
|
+
"aria-disabled": Z.value && b(R) ? !0 : void 0,
|
|
272
|
+
"aria-busy": F.value || void 0,
|
|
273
|
+
"aria-label": m.ariaLabel || (q.value ? m.label : void 0),
|
|
274
|
+
autofocus: !Z.value && m.autofocus ? !0 : void 0,
|
|
275
|
+
onPointerdown: Oe,
|
|
276
|
+
onClick: ke
|
|
277
|
+
}), {
|
|
278
|
+
default: se(() => [
|
|
279
|
+
H.value ? (g(), p("span", {
|
|
280
|
+
key: 0,
|
|
281
|
+
ref_key: "rippleLayer",
|
|
282
|
+
ref: M,
|
|
283
|
+
class: "m-button__ripple",
|
|
284
|
+
"aria-hidden": "true"
|
|
285
|
+
}, null, 512)) : f("", !0),
|
|
286
|
+
F.value || m.icon || e.$slots.icon || e.$slots.loadingicon ? (g(), p("span", h({
|
|
287
|
+
key: 1,
|
|
288
|
+
class: ["m-button__icon", { "m-button__icon--loading": F.value }],
|
|
289
|
+
"aria-hidden": "true"
|
|
290
|
+
}, m.pt?.icon), [F.value ? v(e.$slots, "loadingicon", {}, () => [X.value ? (g(), d(n, {
|
|
291
|
+
key: 0,
|
|
292
|
+
name: X.value,
|
|
293
|
+
size: B.value
|
|
294
|
+
}, null, 8, ["name", "size"])) : xe.value ? (g(), d(y(xe.value), {
|
|
295
|
+
key: 1,
|
|
296
|
+
class: "m-button__icon-graphic"
|
|
297
|
+
})) : (g(), p("span", ce))], void 0, 0) : v(e.$slots, "icon", {}, () => [J.value ? (g(), d(n, {
|
|
298
|
+
key: 0,
|
|
299
|
+
name: J.value,
|
|
300
|
+
size: B.value
|
|
301
|
+
}, null, 8, ["name", "size"])) : Y.value ? (g(), d(y(Y.value), {
|
|
302
|
+
key: 1,
|
|
303
|
+
class: "m-button__icon-graphic"
|
|
304
|
+
})) : f("", !0)], void 0, 1)], 16)) : f("", !0),
|
|
305
|
+
K.value && !m.iconOnly ? (g(), p("span", h({
|
|
306
|
+
key: 2,
|
|
307
|
+
class: "m-button__label"
|
|
308
|
+
}, m.pt?.content), [v(e.$slots, "default", {}, () => [ee(ie(Se.value), 1)])], 16)) : f("", !0)
|
|
309
|
+
]),
|
|
310
|
+
_: 3
|
|
311
|
+
}, 16, [
|
|
312
|
+
"class",
|
|
313
|
+
"type",
|
|
314
|
+
"href",
|
|
315
|
+
"target",
|
|
316
|
+
"disabled",
|
|
317
|
+
"tabindex",
|
|
318
|
+
"aria-disabled",
|
|
319
|
+
"aria-busy",
|
|
320
|
+
"aria-label",
|
|
321
|
+
"autofocus"
|
|
322
|
+
]));
|
|
323
|
+
}
|
|
324
|
+
});
|
|
325
|
+
//#endregion
|
|
326
|
+
export { C as a, E as c, O as i, T as n, w as o, k as r, D as s, ue as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
|
-
import { o as n } from "./config-
|
|
3
|
+
import { o as n } from "./config-CB_TiIvg.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, inject as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h } from "vue";
|
|
5
5
|
//#region src/components/Checkbox/types.ts
|
|
6
6
|
var g = Symbol("muCheckboxGroup"), _ = ["for"], v = [
|
|
@@ -3,11 +3,11 @@ 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
5
|
import { t as a } from "./useMId-BXFYayPP.js";
|
|
6
|
-
import { t as o } from "./useMotionTransition-
|
|
6
|
+
import { t as o } from "./useMotionTransition-D8JOR3ih.js";
|
|
7
7
|
import { t as s } from "./Icon-od9Ob-Ay.js";
|
|
8
8
|
import { a as c, c as l, i as u, l as d, n as ee, o as f, r as p, s as m, t as h } from "./dateUtils-D8qKPhos.js";
|
|
9
|
-
import {
|
|
10
|
-
import { n as re, t as ie } from "./locale-
|
|
9
|
+
import { l as te, o as ne } from "./config-CB_TiIvg.js";
|
|
10
|
+
import { n as re, t as ie } from "./locale-CR2PIaxt.js";
|
|
11
11
|
import { Fragment as g, Teleport as ae, Transition as oe, computed as _, createBlock as se, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createVNode as x, defineComponent as S, mergeProps as ce, nextTick as C, normalizeClass as w, normalizeStyle as le, onBeforeUnmount as ue, openBlock as T, ref as E, renderList as D, renderSlot as de, toDisplayString as O, unref as k, useAttrs as fe, watch as pe, withCtx as me, withKeys as he, withModifiers as A } from "vue";
|
|
12
12
|
//#region src/components/DatePicker/DatePicker.vue?vue&type=script&setup=true&lang.ts
|
|
13
13
|
var ge = ["for"], _e = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
3
|
import { t as n } from "./Icon-od9Ob-Ay.js";
|
|
4
|
-
import { n as r } from "./locale-
|
|
4
|
+
import { n as r } from "./locale-CR2PIaxt.js";
|
|
5
5
|
import { computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, useSlots as _, watch as v } from "vue";
|
|
6
6
|
//#region src/components/Empty/illustrations/loaders.ts
|
|
7
7
|
var y = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as e } from "./overlay-oR-5MDuE.js";
|
|
2
2
|
import { t } from "./overlayPlacement-qwEJPVS4.js";
|
|
3
3
|
import { t as n } from "./useFloatingViewportSync-wLLKIGUA.js";
|
|
4
|
-
import {
|
|
4
|
+
import { l as r } from "./config-CB_TiIvg.js";
|
|
5
5
|
import { Teleport as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, defineComponent as l, nextTick as u, normalizeClass as d, normalizeStyle as f, openBlock as p, ref as m, renderSlot as h, watch as g } from "vue";
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region src/shared/FlyoutSubmenu.vue
|
|
@@ -2,8 +2,8 @@ import { i as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
3
|
import { t as n } from "./Icon-od9Ob-Ay.js";
|
|
4
4
|
import { n as r } from "./context-CIx8fy-I.js";
|
|
5
|
-
import { i, o as ee, s as a } from "./config-
|
|
6
|
-
import { n as o } from "./locale-
|
|
5
|
+
import { i, o as ee, s as a } from "./config-CB_TiIvg.js";
|
|
6
|
+
import { n as o } from "./locale-CR2PIaxt.js";
|
|
7
7
|
import { computed as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, inject as p, mergeProps as m, normalizeClass as h, openBlock as g, ref as _, renderSlot as v, toDisplayString as y, unref as b, useAttrs as x, useSlots as S } from "vue";
|
|
8
8
|
//#region src/components/Input/Input.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var te = ["for"], ne = {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { n as t } from "./overlay-oR-5MDuE.js";
|
|
3
|
-
import { n, t as r } from "./useMotionTransition-
|
|
3
|
+
import { n, t as r } from "./useMotionTransition-D8JOR3ih.js";
|
|
4
4
|
import { i } from "./types-DGuu4Eg4.js";
|
|
5
5
|
import { t as a } from "./usePauseOffscreen-BIikV_gj.js";
|
|
6
6
|
import { i as o } from "./content-h8POj44-.js";
|
|
7
7
|
import { t as s } from "./overlayHost-78CGtMgR.js";
|
|
8
|
-
import {
|
|
9
|
-
import { n as f } from "./locale-
|
|
8
|
+
import { i as c, l, t as u, u as d } from "./config-CB_TiIvg.js";
|
|
9
|
+
import { n as f } from "./locale-CR2PIaxt.js";
|
|
10
10
|
import { Fragment as p, Teleport as m, Transition as h, computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createStaticVNode as x, createVNode as S, defineComponent as C, h as w, mergeProps as T, normalizeClass as ee, normalizeStyle as E, onBeforeUnmount as te, openBlock as D, reactive as O, ref as k, render as A, renderList as j, renderSlot as M, toDisplayString as N, toValue as P, unref as F, useAttrs as ne, useSlots as re, watch as I, withCtx as L } from "vue";
|
|
11
11
|
//#region src/components/Loading/types.ts
|
|
12
12
|
var R = [
|
|
@@ -59,7 +59,7 @@ var H = ["aria-label"], U = {
|
|
|
59
59
|
size: {}
|
|
60
60
|
},
|
|
61
61
|
setup(e) {
|
|
62
|
-
let t = e, n = f(), r = k(null), { pauseAttrs: o } = a(r, !0), s =
|
|
62
|
+
let t = e, n = f(), r = k(null), { pauseAttrs: o } = a(r, !0), s = c("Loading"), l = g(() => V(t.effect ?? s.value.effect)), u = g(() => t.size ?? s.value.size), d = g(() => {
|
|
63
63
|
let e = i(u.value);
|
|
64
64
|
return {
|
|
65
65
|
"m-loading-indicator--small": e === "small",
|
|
@@ -74,16 +74,16 @@ var H = ["aria-label"], U = {
|
|
|
74
74
|
role: "status",
|
|
75
75
|
"aria-live": "polite",
|
|
76
76
|
"aria-label": m.value
|
|
77
|
-
}), [b("div", U, [
|
|
77
|
+
}), [b("div", U, [l.value === "aurora" ? (D(), y("div", W, [...n[0] ||= [b("div", { class: "m-loading-aurora__ring" }, null, -1), b("div", { class: "m-loading-aurora__glow" }, null, -1)]])) : l.value === "bounce" ? (D(), y("div", ie, [...n[1] ||= [
|
|
78
78
|
b("span", { class: "m-loading-bounce__ball" }, null, -1),
|
|
79
79
|
b("span", { class: "m-loading-bounce__ball" }, null, -1),
|
|
80
80
|
b("span", { class: "m-loading-bounce__ball" }, null, -1)
|
|
81
|
-
]])) :
|
|
81
|
+
]])) : l.value === "wave" ? (D(), y("div", ae, [...n[2] ||= [x("<span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span><span class=\"m-loading-wave__bar\"></span>", 5)]])) : l.value === "pulse" ? (D(), y("div", oe, [...n[3] ||= [
|
|
82
82
|
b("span", { class: "m-loading-pulse__ring" }, null, -1),
|
|
83
83
|
b("span", { class: "m-loading-pulse__ring" }, null, -1),
|
|
84
84
|
b("span", { class: "m-loading-pulse__ring" }, null, -1),
|
|
85
85
|
b("span", { class: "m-loading-pulse__ring" }, null, -1)
|
|
86
|
-
]])) :
|
|
86
|
+
]])) : l.value === "stardust" ? (D(), y("div", se, [(D(), y(p, null, j(8, (e) => b("span", {
|
|
87
87
|
key: e,
|
|
88
88
|
class: "m-loading-stardust__dot",
|
|
89
89
|
style: E({ "--i": String(e - 1) })
|
|
@@ -104,14 +104,14 @@ var H = ["aria-label"], U = {
|
|
|
104
104
|
function ue(e) {
|
|
105
105
|
let t = e ?? s();
|
|
106
106
|
if (!t) return;
|
|
107
|
-
let n = t.provides?.[
|
|
107
|
+
let n = t.provides?.[u];
|
|
108
108
|
return n == null ? t.config.globalProperties.$m : P(n);
|
|
109
109
|
}
|
|
110
110
|
function de(e) {
|
|
111
111
|
let t = ue(e);
|
|
112
112
|
return n({
|
|
113
113
|
rolePreset: t?.motion?.transitions?.overlay,
|
|
114
|
-
componentDefault:
|
|
114
|
+
componentDefault: d(t?.componentDefaults, "Loading", "transition"),
|
|
115
115
|
fallback: "loading"
|
|
116
116
|
});
|
|
117
117
|
}
|
|
@@ -312,7 +312,7 @@ var he = { service: me }, ge = ["aria-busy"], _e = ["inert"], ve = /* @__PURE__
|
|
|
312
312
|
}
|
|
313
313
|
},
|
|
314
314
|
setup(n) {
|
|
315
|
-
let i = n, a = ne(), o = re(), { rootAttrs: s } = e(a, () => i.pt), u =
|
|
315
|
+
let i = n, a = ne(), o = re(), { rootAttrs: s } = e(a, () => i.pt), u = c("Loading"), d = l(), { transitionName: f, transitionCss: x } = r({
|
|
316
316
|
role: "overlay",
|
|
317
317
|
local: () => i.transition,
|
|
318
318
|
componentName: "Loading",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "./Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "./Select-
|
|
4
|
-
import { n as r, t as i } from "./locale-
|
|
3
|
+
import { t as n } from "./Select-CN1tM76U.js";
|
|
4
|
+
import { n as r, t as i } from "./locale-CR2PIaxt.js";
|
|
5
5
|
import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, renderList as h, toDisplayString as g, unref as _, useAttrs as v } from "vue";
|
|
6
6
|
//#region src/components/Pagination/Pagination.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var y = ["aria-label"], b = ["disabled", "aria-label"], x = {
|
|
@@ -2,8 +2,8 @@ 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 "./useMId-BXFYayPP.js";
|
|
5
|
-
import { t as a } from "./useMotionTransition-
|
|
6
|
-
import {
|
|
5
|
+
import { t as a } from "./useMotionTransition-D8JOR3ih.js";
|
|
6
|
+
import { l as o } from "./config-CB_TiIvg.js";
|
|
7
7
|
import { Teleport as s, Transition as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineComponent as h, mergeProps as g, nextTick as _, normalizeClass as v, normalizeStyle as y, onBeforeUnmount as ee, openBlock as b, ref as x, renderSlot as S, unref as C, useAttrs as te, watch as ne, withCtx as re } from "vue";
|
|
8
8
|
//#region src/components/Popover/Popover.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var ie = ["aria-expanded", "aria-controls"], ae = ["id"], w = /* @__PURE__ */ h({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { i as t } from "./types-DGuu4Eg4.js";
|
|
3
3
|
import { t as n } from "./usePauseOffscreen-BIikV_gj.js";
|
|
4
|
-
import { n as r } from "./locale-
|
|
4
|
+
import { n as r } from "./locale-CR2PIaxt.js";
|
|
5
5
|
import { computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, mergeProps as l, normalizeClass as u, normalizeStyle as d, onBeforeUnmount as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useAttrs as v, useSlots as y, watch as b } from "vue";
|
|
6
6
|
//#region src/components/ProgressSpinner/ProgressSpinner.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var x = ["aria-busy"], S = ["inert"], C = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
|
-
import { o as n } from "./config-
|
|
3
|
+
import { o as n } from "./config-CB_TiIvg.js";
|
|
4
4
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, inject as l, mergeProps as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h } from "vue";
|
|
5
5
|
//#region src/components/Radio/types.ts
|
|
6
6
|
var g = Symbol("muRadioGroup"), _ = ["for"], v = [
|
|
@@ -2,7 +2,7 @@ import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
3
|
import { t as n } from "./Icon-od9Ob-Ay.js";
|
|
4
4
|
import { t as r } from "./useMenuKeyboard-BedmYE4W.js";
|
|
5
|
-
import { o as i } from "./config-
|
|
5
|
+
import { o as i } from "./config-CB_TiIvg.js";
|
|
6
6
|
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, openBlock as m, ref as h, renderList as g, toDisplayString as _, unref as v, useAttrs as y, watch as b } from "vue";
|
|
7
7
|
//#region src/components/Segmented/Segmented.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var x = ["aria-label"], S = [
|
|
@@ -3,14 +3,14 @@ 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
5
|
import { t as a } from "./useMId-BXFYayPP.js";
|
|
6
|
-
import { t as o } from "./useMotionTransition-
|
|
6
|
+
import { t as o } from "./useMotionTransition-D8JOR3ih.js";
|
|
7
7
|
import { t as s } from "./Icon-od9Ob-Ay.js";
|
|
8
8
|
import { t as c } from "./Scrollbar-DTeJ8P5b.js";
|
|
9
9
|
import { t as l } from "./VirtualScroller-CHoFCmpP.js";
|
|
10
10
|
import { t as u } from "./Renderable-DHU4Jcfw.js";
|
|
11
11
|
import { n as ee } from "./context-CIx8fy-I.js";
|
|
12
|
-
import {
|
|
13
|
-
import { n as ae, t as oe } from "./locale-
|
|
12
|
+
import { i as te, l as ne, o as re, s as ie } from "./config-CB_TiIvg.js";
|
|
13
|
+
import { n as ae, t as oe } from "./locale-CR2PIaxt.js";
|
|
14
14
|
import { Fragment as d, Teleport as se, Transition as ce, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as le, createVNode as _, defineComponent as ue, inject as de, mergeProps as fe, nextTick as pe, normalizeClass as v, normalizeStyle as me, onBeforeUnmount as he, openBlock as y, ref as b, renderList as ge, renderSlot as x, toDisplayString as S, unref as C, useAttrs as _e, useSlots as ve, vModelText as ye, watch as be, withCtx as w, withDirectives as xe, withModifiers as Se } from "vue";
|
|
15
15
|
//#region src/components/Select/selectOptions.ts
|
|
16
16
|
function T(e) {
|
|
@@ -316,7 +316,7 @@ var Me = ["for"], Ne = [
|
|
|
316
316
|
return Array.isArray(i) && i.length === 1 ? i[0] : i;
|
|
317
317
|
};
|
|
318
318
|
}
|
|
319
|
-
}), it = ve(), at = _e(), { rootAttrs: ot, controlAttrs: st } = e(at, () => E.pt, { controlKey: "control" }), O =
|
|
319
|
+
}), it = ve(), at = _e(), { rootAttrs: ot, controlAttrs: st } = e(at, () => E.pt, { controlKey: "control" }), O = te("Select"), ct = de(ee, null), lt = ne(), { transitionName: ut, transitionCss: dt } = o({
|
|
320
320
|
role: "popup",
|
|
321
321
|
local: () => E.transition,
|
|
322
322
|
componentName: "Select",
|
|
@@ -2,8 +2,8 @@ import { i as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
|
2
2
|
import { t } from "./useMId-BXFYayPP.js";
|
|
3
3
|
import { t as n } from "./Icon-od9Ob-Ay.js";
|
|
4
4
|
import { n as r } from "./context-CIx8fy-I.js";
|
|
5
|
-
import { i, o as a, s as o } from "./config-
|
|
6
|
-
import { n as s } from "./locale-
|
|
5
|
+
import { i, o as a, s as o } from "./config-CB_TiIvg.js";
|
|
6
|
+
import { n as s } from "./locale-CR2PIaxt.js";
|
|
7
7
|
import { computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createVNode as ee, defineComponent as f, inject as te, mergeProps as p, nextTick as m, normalizeClass as h, onMounted as g, openBlock as _, ref as ne, toDisplayString as v, unref as y, useAttrs as b, watch as x } from "vue";
|
|
8
8
|
//#region src/components/Textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var S = ["for"], C = [
|
|
@@ -2,8 +2,8 @@ import { n as e, t } from "./overlay-oR-5MDuE.js";
|
|
|
2
2
|
import { n, t as r } from "./overlayPlacement-qwEJPVS4.js";
|
|
3
3
|
import { t as i } from "./useFloatingViewportSync-wLLKIGUA.js";
|
|
4
4
|
import { t as a } from "./useMId-BXFYayPP.js";
|
|
5
|
-
import { t as o } from "./useMotionTransition-
|
|
6
|
-
import {
|
|
5
|
+
import { t as o } from "./useMotionTransition-D8JOR3ih.js";
|
|
6
|
+
import { l as s } from "./config-CB_TiIvg.js";
|
|
7
7
|
import { Teleport as c, Transition as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createVNode as m, defineComponent as h, nextTick as g, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as y, openBlock as b, ref as x, renderSlot as S, toDisplayString as C, unref as w, withCtx as T } from "vue";
|
|
8
8
|
//#region src/components/Tooltip/Tooltip.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var E = ["aria-describedby"], D = ["id"], O = /* @__PURE__ */ h({
|
package/dist/alert/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { r as t } from "../types-DGuu4Eg4.js";
|
|
3
3
|
import { t as n } from "../Icon-od9Ob-Ay.js";
|
|
4
|
-
import { o as r } from "../config-
|
|
5
|
-
import { n as i } from "../locale-
|
|
4
|
+
import { o as r } from "../config-CB_TiIvg.js";
|
|
5
|
+
import { n as i } from "../locale-CR2PIaxt.js";
|
|
6
6
|
import "./style.js";
|
|
7
7
|
import { computed as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useAttrs as v, useSlots as y } from "vue";
|
|
8
8
|
//#region src/components/Alert/Alert.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -5,12 +5,12 @@ import { t as ee } from "../overlayPlacement-qwEJPVS4.js";
|
|
|
5
5
|
import { t as te } from "../useFieldFeedback-C5qIqYMK.js";
|
|
6
6
|
import { t as ne } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
7
7
|
import { t as re } from "../useMId-BXFYayPP.js";
|
|
8
|
-
import { t as ie } from "../useMotionTransition-
|
|
8
|
+
import { t as ie } from "../useMotionTransition-D8JOR3ih.js";
|
|
9
9
|
import { t as i } from "../Icon-od9Ob-Ay.js";
|
|
10
10
|
import { t as a } from "../Scrollbar-DTeJ8P5b.js";
|
|
11
11
|
import { t as o } from "../VirtualScroller-CHoFCmpP.js";
|
|
12
|
-
import {
|
|
13
|
-
import { n as se } from "../locale-
|
|
12
|
+
import { l as ae, o as oe } from "../config-CB_TiIvg.js";
|
|
13
|
+
import { n as se } from "../locale-CR2PIaxt.js";
|
|
14
14
|
import "./style.js";
|
|
15
15
|
import { Fragment as ce, Teleport as le, Transition as ue, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, mergeProps as h, nextTick as g, normalizeClass as _, normalizeStyle as de, onBeforeUnmount as fe, openBlock as v, ref as y, renderList as pe, renderSlot as b, toDisplayString as x, unref as S, useAttrs as me, watch as C, withCtx as w, withModifiers as T } from "vue";
|
|
16
16
|
//#region src/components/AutoComplete/AutoComplete.vue?vue&type=script&setup=true&lang.ts
|