morya-ui 0.3.2 → 0.3.4
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 +527 -490
- package/LICENSE +21 -21
- package/README.md +150 -150
- package/README.zh-CN.md +150 -150
- package/dist/{Button-dMqRmoYa.js → Button-gBiRj7wz.js} +11 -6
- package/dist/{FlyoutSubmenu-BrUPmJa1.js → FlyoutSubmenu-H_741alW.js} +2 -2
- package/dist/{Loading-BSsRs6v9.js → Loading-qS2Yv_gm.js} +1 -1
- package/dist/{Pagination-CqpC5EAs.js → Pagination-Bvv2qvEK.js} +1 -1
- package/dist/{Popover-BQ07q4VV.js → Popover-rnZG_ap0.js} +3 -3
- package/dist/{Select-CKGrSoaC.js → Select-CiXd074W.js} +3 -3
- package/dist/{Tooltip-D5DO0B3z.js → Tooltip-B02o9BOW.js} +3 -3
- package/dist/accordion/style.css +1148 -1148
- package/dist/auto-complete/index.js +3 -3
- package/dist/auto-complete/style.css +1690 -1690
- package/dist/avatar/style.css +1261 -1261
- package/dist/badge/style.css +1315 -1315
- package/dist/block-ui/index.js +1 -1
- package/dist/block-ui/style.css +1148 -1148
- package/dist/breadcrumb/style.css +1148 -1148
- package/dist/button/index.js +1 -1
- package/dist/button/style.css +2134 -1897
- package/dist/card/style.css +1148 -1148
- package/dist/carousel/style.css +1249 -1249
- package/dist/cascade-select/index.js +3 -3
- package/dist/cascade-select/style.css +1839 -1839
- package/dist/checkbox/style.css +1148 -1148
- package/dist/chip/style.css +1292 -1292
- package/dist/command-menu/index.js +1 -1
- package/dist/command-menu/style.css +1381 -1381
- package/dist/components/AutoComplete/styles.css +209 -209
- package/dist/components/Avatar/styles.css +113 -113
- package/dist/components/Badge/styles.css +165 -165
- package/dist/components/Button/Button.vue.d.ts +1 -0
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/Button/styles.css +962 -725
- package/dist/components/Button/types.d.ts +9 -4
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Carousel/styles.css +101 -101
- package/dist/components/CascadeSelect/styles.css +157 -157
- package/dist/components/Chip/styles.css +144 -144
- package/dist/components/CommandMenu/styles.css +102 -102
- package/dist/components/ConfigProvider/styles.css +6 -6
- package/dist/components/ConfirmDialog/styles.css +24 -24
- package/dist/components/ConfirmPopup/styles.css +35 -35
- package/dist/components/ContextMenu/ContextMenu.vue.d.ts.map +1 -1
- package/dist/components/ContextMenu/styles.css +138 -133
- package/dist/components/DatePicker/styles.css +335 -335
- package/dist/components/Dialog/styles.css +421 -421
- package/dist/components/Dock/styles.css +84 -84
- package/dist/components/Drawer/styles.css +334 -334
- package/dist/components/Dropdown/styles.css +130 -130
- package/dist/components/Empty/styles.css +146 -146
- package/dist/components/FileUpload/styles.css +359 -359
- package/dist/components/Form/styles.css +114 -114
- package/dist/components/Gallery/styles.css +100 -100
- package/dist/components/Input/styles.css +356 -356
- package/dist/components/InputColor/styles.css +129 -129
- package/dist/components/InputNumber/styles.css +261 -261
- package/dist/components/InputPassword/styles.css +178 -178
- package/dist/components/InputTags/styles.css +112 -112
- package/dist/components/Layout/styles.css +433 -433
- package/dist/components/Loading/styles.css +378 -378
- package/dist/components/MegaMenu/styles.css +97 -97
- package/dist/components/Menu/styles.css +564 -564
- package/dist/components/Menubar/styles.css +144 -144
- package/dist/components/Message/styles.css +250 -250
- package/dist/components/MeterGroup/styles.css +49 -49
- package/dist/components/Page/PageContent.vue.d.ts +1 -0
- package/dist/components/Page/PageContent.vue.d.ts.map +1 -1
- package/dist/components/Page/styles.css +412 -394
- package/dist/components/Page/types.d.ts +5 -0
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/Pagination/styles.css +105 -105
- package/dist/components/Popover/styles.css +92 -153
- package/dist/components/Result/styles.css +146 -146
- package/dist/components/Scrollbar/styles.css +131 -131
- package/dist/components/Select/styles.css +192 -192
- package/dist/components/SelectButton/styles.css +105 -105
- package/dist/components/Sidebar/styles.css +74 -74
- package/dist/components/Slider/styles.css +211 -211
- package/dist/components/SplitButton/styles.css +216 -216
- package/dist/components/Status/styles.css +191 -191
- package/dist/components/Stepper/styles.css +135 -135
- package/dist/components/Switch/styles.css +129 -129
- package/dist/components/Table/Table.vue.d.ts +1 -0
- package/dist/components/Table/Table.vue.d.ts.map +1 -1
- package/dist/components/Table/styles.css +28 -0
- package/dist/components/Table/types.d.ts +6 -0
- package/dist/components/Table/types.d.ts.map +1 -1
- package/dist/components/Tabs/styles.css +131 -131
- package/dist/components/Terminal/styles.css +74 -74
- package/dist/components/Textarea/styles.css +126 -126
- package/dist/components/TieredMenu/styles.css +125 -125
- package/dist/components/Timeline/styles.css +159 -159
- package/dist/components/TreeSelect/styles.css +161 -161
- package/dist/components/TreeTable/styles.css +97 -97
- package/dist/components/VirtualScroller/styles.css +27 -27
- package/dist/config-provider/style.css +2472 -2235
- package/dist/confirm-dialog/index.js +2 -2
- package/dist/confirm-dialog/style.css +2555 -2318
- package/dist/confirm-popup/index.js +5 -5
- package/dist/confirm-popup/style.css +2145 -1908
- package/dist/context-menu/index.js +105 -96
- package/dist/context-menu/style.css +1417 -1412
- package/dist/data-view/index.js +2 -2
- package/dist/data-view/style.css +1631 -1631
- package/dist/date-picker/index.js +3 -3
- package/dist/date-picker/style.css +1483 -1483
- package/dist/dialog/index.js +2 -2
- package/dist/dialog/style.css +2531 -2294
- package/dist/divider/style.css +1148 -1148
- package/dist/dock/style.css +1232 -1232
- package/dist/drawer/index.js +1 -1
- package/dist/drawer/style.css +1482 -1482
- package/dist/dropdown/index.js +4 -4
- package/dist/dropdown/style.css +1409 -1409
- package/dist/empty/style.css +1294 -1294
- package/dist/fieldset/style.css +1148 -1148
- package/dist/file-upload/style.css +1507 -1507
- package/dist/flex/index.js +1 -1
- package/dist/flex/style.css +1148 -1148
- package/dist/float-label/style.css +1148 -1148
- package/dist/fluid/style.css +1148 -1148
- package/dist/form/style.css +1264 -1264
- package/dist/gallery/style.css +1379 -1379
- package/dist/grid/index.js +1 -1
- package/dist/grid/style.css +1148 -1148
- package/dist/icon/style.css +1148 -1148
- package/dist/icon-field/style.css +1504 -1504
- package/dist/index.js +1246 -1225
- package/dist/inplace/style.css +1148 -1148
- package/dist/input/style.css +1504 -1504
- package/dist/input-color/style.css +1279 -1279
- package/dist/input-group/style.css +1148 -1148
- package/dist/input-number/style.css +1409 -1409
- package/dist/input-otp/style.css +1148 -1148
- package/dist/input-password/style.css +1326 -1326
- package/dist/input-tags/style.css +1260 -1260
- package/dist/knob/style.css +1148 -1148
- package/dist/label/style.css +1148 -1148
- package/dist/layout/style.css +1712 -1712
- package/dist/listbox/style.css +1306 -1306
- package/dist/loading/index.js +1 -1
- package/dist/loading/style.css +1528 -1528
- package/dist/mega-menu/index.js +3 -3
- package/dist/mega-menu/style.css +1245 -1245
- package/dist/menu/index.js +5 -5
- package/dist/menu/style.css +2001 -2062
- package/dist/menubar/index.js +3 -3
- package/dist/menubar/style.css +1423 -1423
- package/dist/message/index.js +1 -1
- package/dist/message/style.css +1398 -1398
- package/dist/meter-group/style.css +1199 -1199
- package/dist/order-list/style.css +1148 -1148
- package/dist/{overlayPlacement-Cd20JTD_.js → overlayPlacement-qwEJPVS4.js} +8 -8
- package/dist/page/index.js +8 -3
- package/dist/page/style.css +2668 -2413
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/style.css +1445 -1445
- package/dist/panel/style.css +1148 -1148
- package/dist/pick-list/style.css +1148 -1148
- package/dist/popover/index.js +1 -1
- package/dist/popover/style.css +1242 -1303
- package/dist/progress-bar/style.css +1148 -1148
- package/dist/progress-spinner/style.css +1148 -1148
- package/dist/radio/style.css +1148 -1148
- package/dist/rating/style.css +1148 -1148
- package/dist/result/style.css +1294 -1294
- package/dist/scroll-top/style.css +1279 -1279
- package/dist/scrollbar/style.css +1281 -1281
- package/dist/select/index.js +1 -1
- package/dist/select/style.css +1901 -1901
- package/dist/select-button/style.css +1255 -1255
- package/dist/shared/gap.d.ts +4 -1
- package/dist/shared/gap.d.ts.map +1 -1
- package/dist/shared/overlayPlacement.d.ts.map +1 -1
- package/dist/shared/styles/control-affix-icon.css +110 -110
- package/dist/shared/styles/control-suffix.css +118 -118
- package/dist/shared/styles/select-overlay.css +175 -175
- package/dist/sidebar/style.css +1222 -1222
- package/dist/skeleton/style.css +1148 -1148
- package/dist/slider/style.css +1361 -1361
- package/dist/space/index.js +1 -1
- package/dist/space/style.css +1148 -1148
- package/dist/speed-dial/index.js +3 -3
- package/dist/speed-dial/style.css +1148 -1148
- package/dist/split-button/index.js +3 -3
- package/dist/split-button/style.css +2326 -2089
- package/dist/splitter/style.css +1148 -1148
- package/dist/status/style.css +1339 -1339
- package/dist/stepper/style.css +1283 -1283
- package/dist/styles/base.css +790 -790
- package/dist/styles.css +1 -1
- package/dist/switch/style.css +1279 -1279
- package/dist/table/index.js +245 -240
- package/dist/table/style.css +1840 -1812
- package/dist/tabs/style.css +1410 -1410
- package/dist/tag/style.css +1148 -1148
- package/dist/terminal/style.css +1224 -1224
- package/dist/textarea/style.css +1274 -1274
- package/dist/theme/motionPresets.d.ts.map +1 -1
- package/dist/theme/styles.css +358 -358
- package/dist/tiered-menu/index.js +4 -4
- package/dist/tiered-menu/style.css +1404 -1404
- package/dist/timeline/style.css +1438 -1438
- package/dist/toast/index.js +1 -1
- package/dist/toast/style.css +1148 -1148
- package/dist/toggle-button/style.css +1148 -1148
- package/dist/toolbar/style.css +1148 -1148
- package/dist/tooltip/index.js +1 -1
- package/dist/tooltip/style.css +1148 -1148
- package/dist/tree/style.css +1148 -1148
- package/dist/tree-select/index.js +3 -3
- package/dist/tree-select/style.css +1843 -1843
- package/dist/tree-table/style.css +1245 -1245
- package/dist/{useFloatingViewportSync-DZdJ7W8n.js → useFloatingViewportSync-wLLKIGUA.js} +4 -1
- package/dist/{useMotionTransition-Bxnnb_9u.js → useMotionTransition-95Y79FoL.js} +1 -1
- package/dist/virtual-scroller/style.css +1309 -1309
- package/dist/{vnode-C7Y1SjKB.js → vnode-CmdNQlN7.js} +18 -23
- package/package.json +32 -29
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as e, t } from "./types-DGuu4Eg4.js";
|
|
2
2
|
import { t as n } from "./Icon-od9Ob-Ay.js";
|
|
3
3
|
import { o as r } from "./config-CapALqt3.js";
|
|
4
|
-
import { Comment as i, Fragment as a, Text as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, defineComponent as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, openBlock as _, ref as v, renderSlot as y, resolveDynamicComponent as b, toDisplayString as x, useSlots as
|
|
4
|
+
import { Comment as i, Fragment as a, Text as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, defineComponent as p, normalizeClass as m, normalizeStyle as h, onBeforeUnmount as g, openBlock as _, ref as v, renderSlot as y, resolveDynamicComponent as b, toDisplayString as x, useSlots as S } from "vue";
|
|
5
5
|
//#region src/components/Button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
6
|
+
var ee = [
|
|
7
7
|
"type",
|
|
8
8
|
"disabled",
|
|
9
9
|
"autofocus",
|
|
@@ -44,6 +44,10 @@ var S = [
|
|
|
44
44
|
type: Boolean,
|
|
45
45
|
default: !1
|
|
46
46
|
},
|
|
47
|
+
underline: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
default: !0
|
|
50
|
+
},
|
|
47
51
|
ghost: {
|
|
48
52
|
type: Boolean,
|
|
49
53
|
default: !1
|
|
@@ -80,16 +84,16 @@ var S = [
|
|
|
80
84
|
ariaLabel: {},
|
|
81
85
|
ripple: {
|
|
82
86
|
type: Boolean,
|
|
83
|
-
default: !
|
|
87
|
+
default: !1
|
|
84
88
|
},
|
|
85
89
|
press: {
|
|
86
90
|
type: Boolean,
|
|
87
|
-
default: !
|
|
91
|
+
default: !1
|
|
88
92
|
}
|
|
89
93
|
},
|
|
90
94
|
emits: ["click"],
|
|
91
95
|
setup(p, { expose: E, emit: D }) {
|
|
92
|
-
let O = p, k = D, A =
|
|
96
|
+
let O = p, k = D, A = S(), j = v(null), M = v(null), N = /* @__PURE__ */ new Set(), P = s(() => !!A.default?.().some((e) => Z(e))), F = s(() => P.value || !!O.label?.trim()), I = s(() => O.outlined || O.variant === "outlined"), L = s(() => O.text || O.variant === "text"), R = s(() => O.link || O.variant === "link"), z = s(() => O.ghost || O.variant === "ghost"), B = s(() => O.quaternary || O.variant === "quaternary"), V = s(() => O.fluid), H = r("Button", () => O.size), U = s(() => e(H.value)), W = s(() => O.iconOnly || !F.value && !!(O.icon || A.icon || O.loading)), G = s(() => t(O.severity) ?? "primary"), K = s(() => typeof O.icon == "string" ? O.icon : void 0), q = s(() => typeof O.icon == "string" || !O.icon ? void 0 : O.icon), J = s(() => [
|
|
93
97
|
"m-button",
|
|
94
98
|
`m-button--${G.value}`,
|
|
95
99
|
`m-button--${H.value}`,
|
|
@@ -100,6 +104,7 @@ var S = [
|
|
|
100
104
|
"m-button--text": L.value,
|
|
101
105
|
"m-button--outlined": I.value,
|
|
102
106
|
"m-button--link": R.value,
|
|
107
|
+
"m-button--link-underline": R.value && O.underline,
|
|
103
108
|
"m-button--ghost": z.value,
|
|
104
109
|
"m-button--quaternary": B.value,
|
|
105
110
|
"m-button--plain": O.plain,
|
|
@@ -215,7 +220,7 @@ var S = [
|
|
|
215
220
|
key: 3,
|
|
216
221
|
class: m(X.value)
|
|
217
222
|
}, x(p.badge), 3)) : l("", !0)
|
|
218
|
-
], 46,
|
|
223
|
+
], 46, ee));
|
|
219
224
|
}
|
|
220
225
|
});
|
|
221
226
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as e } from "./overlay-oR-5MDuE.js";
|
|
2
|
-
import { t } from "./overlayPlacement-
|
|
3
|
-
import { t as n } from "./useFloatingViewportSync-
|
|
2
|
+
import { t } from "./overlayPlacement-qwEJPVS4.js";
|
|
3
|
+
import { t as n } from "./useFloatingViewportSync-wLLKIGUA.js";
|
|
4
4
|
import { c as r } from "./config-CapALqt3.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
|
|
@@ -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, t as i } from "./useMotionTransition-
|
|
4
|
+
import { n as r, t as i } from "./useMotionTransition-95Y79FoL.js";
|
|
5
5
|
import { n as a } from "./overlay-oR-5MDuE.js";
|
|
6
6
|
import { i as o } from "./content-h8POj44-.js";
|
|
7
7
|
import { t as s } from "./overlayHost-78CGtMgR.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
+
import { t as n } from "./Select-CiXd074W.js";
|
|
4
4
|
import { n as r, t as i } from "./locale-Bzm2nbEp.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
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "./useMotionTransition-
|
|
2
|
+
import { t } from "./useMotionTransition-95Y79FoL.js";
|
|
3
3
|
import { n, t as r } from "./overlay-oR-5MDuE.js";
|
|
4
|
-
import { t as i } from "./overlayPlacement-
|
|
4
|
+
import { t as i } from "./overlayPlacement-qwEJPVS4.js";
|
|
5
5
|
import { t as a } from "./useMId-BXFYayPP.js";
|
|
6
6
|
import { c as o } from "./config-CapALqt3.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";
|
|
@@ -43,7 +43,7 @@ var ie = ["aria-expanded", "aria-controls"], ae = ["id"], w = /* @__PURE__ */ h(
|
|
|
43
43
|
role: "popup",
|
|
44
44
|
local: () => E.transition,
|
|
45
45
|
componentName: "Popover",
|
|
46
|
-
fallback: "
|
|
46
|
+
fallback: "scale-fade"
|
|
47
47
|
}), N = a(), P = x(null), F = x(null), I = x(null), L = x({}), R = l(() => n(E, A.value.appendTo)), z = l(() => r(E, A.value.appendTo)), B, V;
|
|
48
48
|
function H(e) {
|
|
49
49
|
e && E.disabled || D("update:modelValue", e);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as e } from "./useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "./Icon-od9Ob-Ay.js";
|
|
3
|
-
import { t as n } from "./useMotionTransition-
|
|
3
|
+
import { t as n } from "./useMotionTransition-95Y79FoL.js";
|
|
4
4
|
import { n as r, t as i } from "./overlay-oR-5MDuE.js";
|
|
5
|
-
import { t as a } from "./overlayPlacement-
|
|
6
|
-
import { t as o } from "./useFloatingViewportSync-
|
|
5
|
+
import { t as a } from "./overlayPlacement-qwEJPVS4.js";
|
|
6
|
+
import { t as o } from "./useFloatingViewportSync-wLLKIGUA.js";
|
|
7
7
|
import { t as s } from "./useMId-BXFYayPP.js";
|
|
8
8
|
import { t as ee } from "./Scrollbar-DTeJ8P5b.js";
|
|
9
9
|
import { t as c } from "./VirtualScroller-CHoFCmpP.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./useMotionTransition-
|
|
1
|
+
import { t as e } from "./useMotionTransition-95Y79FoL.js";
|
|
2
2
|
import { n as t, t as n } from "./overlay-oR-5MDuE.js";
|
|
3
|
-
import { n as r, t as i } from "./overlayPlacement-
|
|
4
|
-
import { t as a } from "./useFloatingViewportSync-
|
|
3
|
+
import { n as r, t as i } from "./overlayPlacement-qwEJPVS4.js";
|
|
4
|
+
import { t as a } from "./useFloatingViewportSync-wLLKIGUA.js";
|
|
5
5
|
import { t as o } from "./useMId-BXFYayPP.js";
|
|
6
6
|
import { c as s } from "./config-CapALqt3.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";
|