morya-ui 0.2.6 → 0.2.8
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 +38 -0
- package/dist/{Button-lNErA-7h.js → Button--RkQybU-.js} +1 -1
- package/dist/{Checkbox-B758a_iB.js → Checkbox-CL05RRUD.js} +1 -1
- package/dist/{FlyoutSubmenu-kymVjXLs.js → FlyoutSubmenu-B_bkgKag.js} +1 -1
- package/dist/{Pagination-Dm2-MBnC.js → Pagination-BKvR-RUW.js} +1 -1
- package/dist/{Popover-flzjtjqD.js → Popover-Dq_p0vib.js} +1 -1
- package/dist/{ProgressSpinner-BXHLx4Lg.js → ProgressSpinner-DuBpPkna.js} +1 -1
- package/dist/{Radio-Bb21-Vk4.js → Radio-DsaKvbhk.js} +1 -1
- package/dist/Renderable-DHU4Jcfw.js +20 -0
- package/dist/{Tooltip-CeGxjP-L.js → Tooltip-CU1xFt_N.js} +1 -1
- package/dist/activity-low-CgK9kHWr.js +4 -0
- package/dist/auto-complete/index.js +2 -2
- package/dist/breadcrumb/index.js +1 -1
- package/dist/building-DYLdXiQg.js +4 -0
- package/dist/button/index.js +1 -1
- package/dist/carousel/index.js +1 -1
- package/dist/cascade-select/index.js +2 -2
- package/dist/checkbox/index.js +1 -1
- package/dist/chip/index.js +1 -1
- package/dist/churn-high-D1ELpZzW.js +4 -0
- package/dist/command-menu/index.js +2 -2
- package/dist/component-registry.d.ts.map +1 -1
- package/dist/components/Carousel/Carousel.vue.d.ts +1 -1
- package/dist/components/ConfirmPopup/ConfirmPopup.vue.d.ts +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Empty/Empty.vue.d.ts +5 -6
- package/dist/components/Empty/Empty.vue.d.ts.map +1 -1
- package/dist/components/Empty/illustrations/catalog.d.ts +5 -0
- package/dist/components/Empty/illustrations/catalog.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/defaultEmptyIcon.d.ts +3 -0
- package/dist/components/Empty/illustrations/defaultEmptyIcon.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/index.d.ts +15 -0
- package/dist/components/Empty/illustrations/index.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/loaders.d.ts +4 -0
- package/dist/components/Empty/illustrations/loaders.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/activity-low.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/activity-low.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/building.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/building.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/churn-high.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/churn-high.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/conversion-low.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/conversion-low.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/input-irregular.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/input-irregular.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/network-error.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/network-error.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-content.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-content.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-issue.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-issue.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-message.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-message.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-result.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-result.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/no-schedule.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/no-schedule.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/payment-cycle-long.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/payment-cycle-long.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/profile-unclear.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/profile-unclear.d.ts.map +1 -0
- package/dist/components/Empty/illustrations/markup/server-error.d.ts +4 -0
- package/dist/components/Empty/illustrations/markup/server-error.d.ts.map +1 -0
- package/dist/components/Empty/index.d.ts +3 -1
- package/dist/components/Empty/index.d.ts.map +1 -1
- package/dist/components/Empty/styles.css +104 -30
- package/dist/components/Empty/types.d.ts +25 -4
- package/dist/components/Empty/types.d.ts.map +1 -1
- package/dist/components/Form/types.d.ts +1 -1
- package/dist/components/Form/types.d.ts.map +1 -1
- package/dist/components/Loading/Loading.vue.d.ts +25 -0
- package/dist/components/Loading/Loading.vue.d.ts.map +1 -0
- package/dist/components/Loading/LoadingIndicator.vue.d.ts +13 -0
- package/dist/components/Loading/LoadingIndicator.vue.d.ts.map +1 -0
- package/dist/components/Loading/directive.d.ts +12 -0
- package/dist/components/Loading/directive.d.ts.map +1 -0
- package/dist/components/Loading/index.d.ts +8 -0
- package/dist/components/Loading/index.d.ts.map +1 -0
- package/dist/components/Loading/loading.d.ts +35 -0
- package/dist/components/Loading/loading.d.ts.map +1 -0
- package/dist/components/Loading/styles.css +386 -0
- package/dist/components/Loading/types.d.ts +74 -0
- package/dist/components/Loading/types.d.ts.map +1 -0
- package/dist/components/Loading/useLoading.d.ts +11 -0
- package/dist/components/Loading/useLoading.d.ts.map +1 -0
- package/dist/components/Message/types.d.ts +1 -1
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/Page/PageContent.vue.d.ts +2 -2
- package/dist/components/Pagination/types.d.ts +4 -4
- package/dist/components/Pagination/types.d.ts.map +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.vue.d.ts +1 -1
- package/dist/components/Rating/Rating.vue.d.ts +1 -1
- package/dist/components/Result/Result.vue.d.ts +2 -2
- package/dist/components/Result/Result.vue.d.ts.map +1 -1
- package/dist/components/Result/index.d.ts +1 -1
- package/dist/components/Result/index.d.ts.map +1 -1
- package/dist/components/Result/statusIcons.d.ts +4 -0
- package/dist/components/Result/statusIcons.d.ts.map +1 -0
- package/dist/components/Result/styles.css +89 -23
- package/dist/components/Result/types.d.ts +10 -4
- package/dist/components/Result/types.d.ts.map +1 -1
- package/dist/components/Splitter/types.d.ts +4 -4
- package/dist/components/Splitter/types.d.ts.map +1 -1
- package/dist/components/Status/Status.vue.d.ts +7 -3
- 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 +116 -26
- package/dist/components/Status/types.d.ts +16 -2
- package/dist/components/Status/types.d.ts.map +1 -1
- package/dist/components/Table/Table.vue.d.ts +1 -1
- package/dist/components/Tree/TreeNodeItem.vue.d.ts.map +1 -1
- package/dist/components/Tree/types.d.ts +1 -1
- package/dist/components/Tree/types.d.ts.map +1 -1
- package/dist/{config-Dln2-u_v.js → config-BdK5ccNT.js} +1 -0
- package/dist/config-provider/index.js +1 -1
- package/dist/confirm-dialog/index.js +11 -11
- package/dist/confirm-popup/index.js +3 -3
- package/dist/content-h8POj44-.js +28 -0
- package/dist/context-menu/index.js +2 -2
- package/dist/conversion-low-CwZiQc2k.js +4 -0
- package/dist/data-view/index.js +3 -3
- package/dist/date-picker/index.js +2 -2
- package/dist/dialog/index.js +77 -61
- package/dist/drawer/index.js +2 -2
- package/dist/dropdown/index.js +3 -3
- package/dist/empty/index.js +141 -26
- package/dist/empty/style.css +104 -30
- 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/index.d.ts +12 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4380 -3714
- package/dist/input/index.js +2 -2
- package/dist/input-color/index.js +2 -2
- package/dist/input-irregular-xSLDoNTS.js +4 -0
- 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/listbox/index.js +2 -2
- package/dist/loading/index.js +467 -0
- package/dist/loading/style.css +1377 -0
- package/dist/loading/style.js +3 -0
- package/dist/locale/en-US.d.ts.map +1 -1
- package/dist/locale/types.d.ts +1 -0
- package/dist/locale/types.d.ts.map +1 -1
- package/dist/locale/zh-CN.d.ts.map +1 -1
- package/dist/{locale-DNYpTg5K.js → locale-B36KH7c3.js} +1 -1
- package/dist/mega-menu/index.js +2 -2
- package/dist/menu/index.js +52 -40
- package/dist/menubar/index.js +2 -2
- package/dist/message/index.js +8 -7
- package/dist/network-error-C6vl5a7S.js +4 -0
- package/dist/no-content-CwbqVPoN.js +4 -0
- package/dist/no-issue-DMkU-Pnw.js +4 -0
- package/dist/no-message-DnIEpMiO.js +4 -0
- package/dist/no-result-pGce34BV.js +4 -0
- package/dist/no-schedule-Cl9Frt1Q.js +4 -0
- package/dist/order-list/index.js +1 -1
- package/dist/pagination/index.js +1 -1
- package/dist/panel/index.js +1 -1
- package/dist/payment-cycle-long-Ba9FNStl.js +4 -0
- package/dist/pick-list/index.js +1 -1
- package/dist/popover/index.js +1 -1
- package/dist/profile-unclear-CGs4PCfw.js +4 -0
- package/dist/progress-spinner/index.js +1 -1
- package/dist/radio/index.js +1 -1
- package/dist/rating/index.js +2 -2
- package/dist/resolver-map.d.ts.map +1 -1
- package/dist/resolver.js +1 -0
- package/dist/result/index.js +72 -36
- package/dist/result/style.css +89 -23
- package/dist/scroll-top/index.js +2 -2
- package/dist/select/index.js +2 -2
- package/dist/select-button/index.js +1 -1
- package/dist/server-error-D8zGMe5r.js +4 -0
- package/dist/shared/config.d.ts.map +1 -1
- package/dist/shared/optionalRouter.d.ts +5 -0
- package/dist/shared/optionalRouter.d.ts.map +1 -1
- package/dist/shared/responsive.d.ts +1 -1
- package/dist/shared/responsive.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 +2 -2
- package/dist/split-button/index.js +2 -2
- package/dist/splitter/index.js +1 -1
- package/dist/status/index.js +46 -19
- package/dist/status/style.css +171 -26
- package/dist/status/style.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/index.js +7 -7
- 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 +2 -2
- package/dist/tiered-menu/index.js +2 -2
- package/dist/toast/index.js +13 -12
- package/dist/toggle-button/index.js +1 -1
- package/dist/tooltip/index.js +1 -1
- package/dist/tree/index.js +9 -4
- package/dist/tree-select/index.js +3 -3
- package/dist/tree-table/index.js +1 -1
- package/package.json +11 -4
- package/dist/Renderable-BaaCI4tS.js +0 -45
package/dist/switch/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "../useMId-BXFYayPP.js";
|
|
3
|
-
import { o as n } from "../config-
|
|
3
|
+
import { o as n } from "../config-BdK5ccNT.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createTextVNode as s, defineComponent as c, mergeProps as l, onMounted as u, openBlock as d, renderSlot as f, toDisplayString as p, unref as m, useAttrs as h, useSlots as g } from "vue";
|
|
6
6
|
//#region src/components/Switch/Switch.vue?vue&type=script&setup=true&lang.ts
|
package/dist/table/index.js
CHANGED
|
@@ -2,13 +2,13 @@ import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
|
2
2
|
import { t } from "../useControllable-elmWaz23.js";
|
|
3
3
|
import { t as n } from "../Icon-DfpIfo2L.js";
|
|
4
4
|
import { t as r } from "../Scrollbar-BYnCO8fv.js";
|
|
5
|
-
import { t as i } from "../Checkbox-
|
|
6
|
-
import { t as a } from "../Pagination-
|
|
7
|
-
import { t as o } from "../ProgressSpinner-
|
|
8
|
-
import { t as s } from "../Tooltip-
|
|
9
|
-
import { t as c } from "../Radio-
|
|
10
|
-
import { o as l } from "../config-
|
|
11
|
-
import { n as u } from "../locale-
|
|
5
|
+
import { t as i } from "../Checkbox-CL05RRUD.js";
|
|
6
|
+
import { t as a } from "../Pagination-BKvR-RUW.js";
|
|
7
|
+
import { t as o } from "../ProgressSpinner-DuBpPkna.js";
|
|
8
|
+
import { t as s } from "../Tooltip-CU1xFt_N.js";
|
|
9
|
+
import { t as c } from "../Radio-DsaKvbhk.js";
|
|
10
|
+
import { o as l } from "../config-BdK5ccNT.js";
|
|
11
|
+
import { n as u } from "../locale-B36KH7c3.js";
|
|
12
12
|
import "./style.js";
|
|
13
13
|
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, guardReactiveProps as y, mergeProps as b, normalizeClass as x, normalizeProps as S, normalizeStyle as C, openBlock as w, provide as ee, ref as T, renderList as E, renderSlot as D, toDisplayString as O, toRefs as te, unref as k, useAttrs as ne, useSlots as re, watch as A, withCtx as ie, withModifiers as j } from "vue";
|
|
14
14
|
//#region src/components/Table/hooks/useClickRow.ts
|
package/dist/tabs/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
|
2
2
|
import { t } from "../Icon-DfpIfo2L.js";
|
|
3
3
|
import { t as n } from "../useMId-BXFYayPP.js";
|
|
4
4
|
import { t as r } from "../Scrollbar-BYnCO8fv.js";
|
|
5
|
-
import { n as i } from "../locale-
|
|
5
|
+
import { n as i } from "../locale-B36KH7c3.js";
|
|
6
6
|
import "./style.js";
|
|
7
7
|
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, nextTick as p, normalizeClass as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, renderList as y, renderSlot as b, toDisplayString as x, unref as S, useAttrs as C, watch as w, withCtx as T, withModifiers as E } from "vue";
|
|
8
8
|
//#region src/components/Tabs/Tabs.vue?vue&type=script&setup=true&lang.ts
|
package/dist/tag/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e, t } from "../types-DGuu4Eg4.js";
|
|
2
2
|
import { t as n } from "../Icon-DfpIfo2L.js";
|
|
3
|
-
import { o as r } from "../config-
|
|
4
|
-
import { n as i } from "../locale-
|
|
3
|
+
import { o as r } from "../config-BdK5ccNT.js";
|
|
4
|
+
import { n as i } from "../locale-B36KH7c3.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, normalizeClass as f, normalizeStyle as p, openBlock as m, renderSlot as h, toDisplayString as g, unref as _ } from "vue";
|
|
7
7
|
//#region src/components/Tag/Tag.vue?vue&type=script&setup=true&lang.ts
|
package/dist/terminal/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "../ScrollBody-D2IHKP6U.js";
|
|
3
|
-
import { n } from "../locale-
|
|
3
|
+
import { n } from "../locale-B36KH7c3.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, mergeProps as u, nextTick as d, openBlock as f, ref as p, renderList as m, toDisplayString as h, unref as g, useAttrs as _, vModelText as v, withCtx as y, withDirectives as b, withModifiers as x } from "vue";
|
|
6
6
|
//#region src/components/Terminal/Terminal.vue?vue&type=script&setup=true&lang.ts
|
package/dist/textarea/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "../Icon-DfpIfo2L.js";
|
|
3
3
|
import { t as n } from "../useMId-BXFYayPP.js";
|
|
4
|
-
import { i as r, o as i, s as a } from "../config-
|
|
5
|
-
import { n as o } from "../locale-
|
|
4
|
+
import { i as r, o as i, s as a } from "../config-BdK5ccNT.js";
|
|
5
|
+
import { n as o } from "../locale-B36KH7c3.js";
|
|
6
6
|
import "./style.js";
|
|
7
7
|
import { 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, onMounted as g, openBlock as _, ref as v, toDisplayString as y, unref as b, useAttrs as ee, watch as x } from "vue";
|
|
8
8
|
//#region src/components/Textarea/Textarea.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -4,8 +4,8 @@ import { n, t as r } from "../overlay-oR-5MDuE.js";
|
|
|
4
4
|
import { t as i } from "../overlayPlacement-Cd20JTD_.js";
|
|
5
5
|
import { t as a } from "../Scrollbar-BYnCO8fv.js";
|
|
6
6
|
import { t as o } from "../lastPointer-CRxcUqdd.js";
|
|
7
|
-
import { t as s } from "../FlyoutSubmenu-
|
|
8
|
-
import { c } from "../config-
|
|
7
|
+
import { t as s } from "../FlyoutSubmenu-B_bkgKag.js";
|
|
8
|
+
import { c } from "../config-BdK5ccNT.js";
|
|
9
9
|
import "./style.js";
|
|
10
10
|
import { Fragment as l, Teleport as u, Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as v, mergeProps as y, nextTick as b, onBeforeUnmount as x, openBlock as S, ref as C, renderList as w, toDisplayString as T, unref as E, useAttrs as D, watch as O, withCtx as k } from "vue";
|
|
11
11
|
//#region src/components/TieredMenu/TieredMenu.vue?vue&type=script&setup=true&lang.ts
|
package/dist/toast/index.js
CHANGED
|
@@ -2,10 +2,11 @@ import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
|
2
2
|
import { t } from "../types-DGuu4Eg4.js";
|
|
3
3
|
import { t as n } from "../Icon-DfpIfo2L.js";
|
|
4
4
|
import { n as r } from "../overlay-oR-5MDuE.js";
|
|
5
|
-
import { i, r as a
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
5
|
+
import { n as i, r as a } from "../content-h8POj44-.js";
|
|
6
|
+
import { n as o } from "../overlayHost-78CGtMgR.js";
|
|
7
|
+
import { t as s } from "../Renderable-DHU4Jcfw.js";
|
|
8
|
+
import { c } from "../config-BdK5ccNT.js";
|
|
9
|
+
import { n as l, t as u } from "../locale-B36KH7c3.js";
|
|
9
10
|
import "./style.js";
|
|
10
11
|
import { Fragment as d, Teleport as f, TransitionGroup as p, computed as m, createBlock as ee, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createVNode as v, defineComponent as y, h as b, mergeProps as x, normalizeClass as S, onBeforeUnmount as te, onMounted as ne, openBlock as C, reactive as w, renderList as T, unref as E, useAttrs as D, watch as O, withCtx as k } from "vue";
|
|
11
12
|
//#region src/components/Toast/toastState.ts
|
|
@@ -25,7 +26,7 @@ function R() {
|
|
|
25
26
|
M = Math.max(0, M - 1);
|
|
26
27
|
}
|
|
27
28
|
function z(e, t) {
|
|
28
|
-
return `${
|
|
29
|
+
return `${a(e)}::${a(t ?? "")}`;
|
|
29
30
|
}
|
|
30
31
|
function B(e) {
|
|
31
32
|
let t = N.get(e);
|
|
@@ -99,8 +100,8 @@ var Y = ["onMouseenter", "onMouseleave"], X = { class: "m-toast__content" }, re
|
|
|
99
100
|
}
|
|
100
101
|
},
|
|
101
102
|
emits: ["close"],
|
|
102
|
-
setup(
|
|
103
|
-
let y =
|
|
103
|
+
setup(i, { emit: o }) {
|
|
104
|
+
let y = i, b = o, w = D(), { rootAttrs: j } = e(w, () => y.pt), M = c(), N = l(), P = m(() => r(y, M.value.appendTo)), F = m(() => y.messages === void 0), I = m(() => y.messages ?? A.messages), z = m(() => y.position ?? (F.value ? A.position : "top-right"));
|
|
104
105
|
ne(() => {
|
|
105
106
|
F.value && !y.auto && L();
|
|
106
107
|
}), te(() => {
|
|
@@ -112,7 +113,7 @@ var Y = ["onMouseenter", "onMouseleave"], X = { class: "m-toast__content" }, re
|
|
|
112
113
|
return `m-toast__message--${t(e) ?? "info"}`;
|
|
113
114
|
}
|
|
114
115
|
function U(e) {
|
|
115
|
-
return u(N.value.closeNamed, { summary:
|
|
116
|
+
return u(N.value.closeNamed, { summary: a(e.summary) || "toast" });
|
|
116
117
|
}
|
|
117
118
|
function G(e) {
|
|
118
119
|
F.value && W(e.id), b("close", e);
|
|
@@ -137,7 +138,7 @@ var Y = ["onMouseenter", "onMouseleave"], X = { class: "m-toast__content" }, re
|
|
|
137
138
|
role: "status",
|
|
138
139
|
onMouseenter: (t) => K(e),
|
|
139
140
|
onMouseleave: (t) => J(e)
|
|
140
|
-
}, [_("div", X, [_("strong", null, [v(E(
|
|
141
|
+
}, [_("div", X, [_("strong", null, [v(E(s), { value: e.summary }, null, 8, ["value"])]), e.detail != null && e.detail !== "" ? (C(), g("p", re, [v(E(s), { value: e.detail }, null, 8, ["value"])])) : h("", !0)]), e.closable === !1 ? h("", !0) : (C(), g("button", {
|
|
141
142
|
key: 0,
|
|
142
143
|
type: "button",
|
|
143
144
|
class: "m-toast__close",
|
|
@@ -157,10 +158,10 @@ var Y = ["onMouseenter", "onMouseleave"], X = { class: "m-toast__content" }, re
|
|
|
157
158
|
}
|
|
158
159
|
});
|
|
159
160
|
function ce() {
|
|
160
|
-
typeof document > "u" || M > 0 || j || I(
|
|
161
|
+
typeof document > "u" || M > 0 || j || I(o(se, "m-toast-host-root"));
|
|
161
162
|
}
|
|
162
163
|
function le(e, t) {
|
|
163
|
-
let n =
|
|
164
|
+
let n = i(e) ? e : { summary: e };
|
|
164
165
|
return n.position && (A.position = n.position), {
|
|
165
166
|
id: n.id ?? `m-toast-${Date.now()}-${++oe}`,
|
|
166
167
|
summary: n.summary,
|
|
@@ -173,7 +174,7 @@ function le(e, t) {
|
|
|
173
174
|
function Q(e, t) {
|
|
174
175
|
ce(), K(A.max);
|
|
175
176
|
let n = le(e, t);
|
|
176
|
-
if ((
|
|
177
|
+
if ((i(e) ? e.dedupe : void 0) ?? A.dedupe ?? !0) {
|
|
177
178
|
let e = J(n);
|
|
178
179
|
if (e) return n.life !== void 0 && (e.life = n.life), n.severity !== void 0 && (e.severity = n.severity), U(e, W), {
|
|
179
180
|
id: e.id,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../Icon-DfpIfo2L.js";
|
|
2
2
|
import { t } from "../icon-xUOyawgJ.js";
|
|
3
|
-
import { o as n } from "../config-
|
|
3
|
+
import { o as n } from "../config-BdK5ccNT.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { computed as r, createCommentVNode as i, createElementBlock as a, createElementVNode as o, createVNode as s, defineComponent as c, normalizeClass as l, openBlock as u, renderSlot as d, toDisplayString as f } from "vue";
|
|
6
6
|
//#region src/components/ToggleButton/ToggleButton.vue?vue&type=script&setup=true&lang.ts
|
package/dist/tooltip/index.js
CHANGED
package/dist/tree/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { a as t, t as n } from "../Icon-DfpIfo2L.js";
|
|
3
3
|
import { t as r } from "../useMenuKeyboard-BedmYE4W.js";
|
|
4
|
-
import { t as i } from "../Checkbox-
|
|
4
|
+
import { t as i } from "../Checkbox-CL05RRUD.js";
|
|
5
5
|
import { a, c as ee, n as o, o as s, s as c, t as l } from "../checkStrategy-CZzuUKDI.js";
|
|
6
|
-
import { n as te } from "../locale-
|
|
6
|
+
import { n as te } from "../locale-B36KH7c3.js";
|
|
7
7
|
import "./style.js";
|
|
8
8
|
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createTextVNode as g, defineComponent as _, inject as v, mergeProps as y, nextTick as ne, normalizeClass as b, openBlock as x, provide as S, reactive as C, ref as w, renderList as T, renderSlot as re, resolveDynamicComponent as ie, toDisplayString as E, unref as D, useAttrs as O, useSlots as ae, watch as k, withModifiers as A } from "vue";
|
|
9
9
|
//#region src/components/Tree/context.ts
|
|
@@ -85,11 +85,16 @@ var j = Symbol("m-tree"), M = Symbol("m-tree-node-slot"), N = [
|
|
|
85
85
|
key: 2,
|
|
86
86
|
class: "m-tree__checkbox",
|
|
87
87
|
tabindex: "-1",
|
|
88
|
-
"model-value": l.value
|
|
88
|
+
"model-value": l.value,
|
|
89
|
+
indeterminate: _.value,
|
|
89
90
|
disabled: y.value,
|
|
90
91
|
"onUpdate:modelValue": r[1] ||= (t) => D(a).toggleCheck(e.node),
|
|
91
92
|
onClick: r[2] ||= A(() => {}, ["stop"])
|
|
92
|
-
}, null, 8, [
|
|
93
|
+
}, null, 8, [
|
|
94
|
+
"model-value",
|
|
95
|
+
"indeterminate",
|
|
96
|
+
"disabled"
|
|
97
|
+
])) : p("", !0),
|
|
93
98
|
w.value || e.node.icon ? (x(), m("span", L, [w.value ? (x(), f(n, {
|
|
94
99
|
key: 0,
|
|
95
100
|
name: w.value,
|
|
@@ -5,11 +5,11 @@ import { t as i } from "../overlayPlacement-Cd20JTD_.js";
|
|
|
5
5
|
import { t as ee } from "../useMenuKeyboard-BedmYE4W.js";
|
|
6
6
|
import { t as te } from "../useMId-BXFYayPP.js";
|
|
7
7
|
import { t as ne } from "../Scrollbar-BYnCO8fv.js";
|
|
8
|
-
import { t as a } from "../Checkbox-
|
|
8
|
+
import { t as a } from "../Checkbox-CL05RRUD.js";
|
|
9
9
|
import { t as re } from "../useFieldFeedback-C5qIqYMK.js";
|
|
10
10
|
import { a as ie, i as ae, n as oe, o as se, r as o, s as ce } from "../checkStrategy-CZzuUKDI.js";
|
|
11
|
-
import { c as le, o as ue } from "../config-
|
|
12
|
-
import { n as de } from "../locale-
|
|
11
|
+
import { c as le, o as ue } from "../config-BdK5ccNT.js";
|
|
12
|
+
import { n as de } from "../locale-B36KH7c3.js";
|
|
13
13
|
import "./style.js";
|
|
14
14
|
import { Fragment as s, Teleport as fe, Transition as pe, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as me, createVNode as p, defineComponent as m, mergeProps as he, nextTick as ge, normalizeClass as h, normalizeStyle as g, onBeforeUnmount as _e, openBlock as _, ref as v, renderList as y, renderSlot as ve, resolveDynamicComponent as b, toDisplayString as x, unref as S, useAttrs as ye, useSlots as be, vModelText as xe, watch as Se, withCtx as Ce, withDirectives as we, withModifiers as C } from "vue";
|
|
15
15
|
//#region src/components/TreeSelect/TreeSelectNodeItem.vue?vue&type=script&setup=true&lang.ts
|
package/dist/tree-table/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as e } from "../useComponentAttrs-BTYEe61P.js";
|
|
2
2
|
import { t } from "../Icon-DfpIfo2L.js";
|
|
3
3
|
import { t as n } from "../ScrollBody-D2IHKP6U.js";
|
|
4
|
-
import { n as r } from "../locale-
|
|
4
|
+
import { n as r } from "../locale-B36KH7c3.js";
|
|
5
5
|
import "./style.js";
|
|
6
6
|
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, mergeProps as p, normalizeStyle as m, openBlock as h, ref as g, renderList as _, renderSlot as v, resolveDynamicComponent as y, toDisplayString as b, unref as x, useAttrs as S, useSlots as C, withCtx as w } from "vue";
|
|
7
7
|
//#region src/components/TreeTable/TreeTableRow.vue?vue&type=script&setup=true&lang.ts
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "morya-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.8",
|
|
5
5
|
"description": "Open-source Vue 3 component library with design tokens, themes, and interactive docs.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://morya-space.github.io/morya-ui/",
|
|
@@ -65,6 +65,7 @@
|
|
|
65
65
|
"**/label/index.js",
|
|
66
66
|
"**/layout/index.js",
|
|
67
67
|
"**/listbox/index.js",
|
|
68
|
+
"**/loading/index.js",
|
|
68
69
|
"**/mega-menu/index.js",
|
|
69
70
|
"**/menu/index.js",
|
|
70
71
|
"**/menubar/index.js",
|
|
@@ -403,6 +404,12 @@
|
|
|
403
404
|
},
|
|
404
405
|
"./listbox/style": "./dist/listbox/style.js",
|
|
405
406
|
"./listbox/style.css": "./dist/listbox/style.css",
|
|
407
|
+
"./loading": {
|
|
408
|
+
"types": "./dist/components/Loading/index.d.ts",
|
|
409
|
+
"import": "./dist/loading/index.js"
|
|
410
|
+
},
|
|
411
|
+
"./loading/style": "./dist/loading/style.js",
|
|
412
|
+
"./loading/style.css": "./dist/loading/style.css",
|
|
406
413
|
"./mega-menu": {
|
|
407
414
|
"types": "./dist/components/MegaMenu/index.d.ts",
|
|
408
415
|
"import": "./dist/mega-menu/index.js"
|
|
@@ -749,8 +756,8 @@
|
|
|
749
756
|
"mcp:start": "pnpm --filter @morya-ui/mcp start",
|
|
750
757
|
"setup:sync-template": "pnpm --filter @morya-ui/setup sync-template",
|
|
751
758
|
"setup:build": "pnpm --filter @morya-ui/setup build",
|
|
752
|
-
"check:colors": "node
|
|
753
|
-
"check:tokens": "node
|
|
754
|
-
"check:docs": "node
|
|
759
|
+
"check:colors": "node design-kit/scripts/check-raw-colors.mjs src design-kit/docs/golden-pages",
|
|
760
|
+
"check:tokens": "node design-kit/scripts/check-undefined-tokens.mjs src",
|
|
761
|
+
"check:docs": "node design-kit/scripts/check-docs-drift.mjs"
|
|
755
762
|
}
|
|
756
763
|
}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { defineComponent as e, h as t, isVNode as n } from "vue";
|
|
2
|
-
//#region src/shared/content.ts
|
|
3
|
-
function r(e) {
|
|
4
|
-
if (e == null || n(e)) return !1;
|
|
5
|
-
if (typeof e == "function") {
|
|
6
|
-
let t = e;
|
|
7
|
-
return !!(t.setup || t.render || t.__vccOpts || t.props || t.emits || t.components);
|
|
8
|
-
}
|
|
9
|
-
if (typeof e == "object") {
|
|
10
|
-
let t = e;
|
|
11
|
-
return !!(t.setup || t.render || t.template || t.__vccOpts || t.props || t.emits || t.components || t.methods);
|
|
12
|
-
}
|
|
13
|
-
return !1;
|
|
14
|
-
}
|
|
15
|
-
function i(e) {
|
|
16
|
-
return e == null ? null : typeof e == "string" || typeof e == "number" || n(e) ? e : typeof e == "function" ? r(e) ? t(e) : e() : t(e);
|
|
17
|
-
}
|
|
18
|
-
function a(e) {
|
|
19
|
-
return typeof e == "string" || typeof e == "number" ? String(e) : "";
|
|
20
|
-
}
|
|
21
|
-
function o(e) {
|
|
22
|
-
return !!e && typeof e == "object" && !n(e) && "content" in e && !r(e);
|
|
23
|
-
}
|
|
24
|
-
function s(e) {
|
|
25
|
-
return !!e && typeof e == "object" && !n(e) && "summary" in e && !r(e);
|
|
26
|
-
}
|
|
27
|
-
//#endregion
|
|
28
|
-
//#region src/shared/Renderable.ts
|
|
29
|
-
var c = e({
|
|
30
|
-
name: "MRenderable",
|
|
31
|
-
props: { value: {
|
|
32
|
-
type: [
|
|
33
|
-
String,
|
|
34
|
-
Number,
|
|
35
|
-
Object,
|
|
36
|
-
Function
|
|
37
|
-
],
|
|
38
|
-
required: !0
|
|
39
|
-
} },
|
|
40
|
-
setup(e) {
|
|
41
|
-
return () => i(e.value);
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
//#endregion
|
|
45
|
-
export { a as i, o as n, s as r, c as t };
|