morya-ui 0.4.2 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/dist/{Button-BaYLh91a.js → Button-Bjsth0ct.js} +3 -3
- package/dist/{Card-B1CB9Trm.js → Card-Ct5vJmoV.js} +1 -1
- package/dist/{Checkbox-LxCFF19I.js → Checkbox-Bo26OGHP.js} +1 -1
- package/dist/{DatePicker-DGPNukEW.js → DatePicker-CsMGzCqY.js} +4 -4
- package/dist/{Empty-2_f_FgyK.js → Empty-rMhOPi79.js} +2 -2
- package/dist/{FlyoutSubmenu-Da6AcoM4.js → FlyoutSubmenu-C0id6-Sb.js} +1 -1
- package/dist/{Icon-od9Ob-Ay.js → Icon-CmHjx7W8.js} +1 -1
- package/dist/{Input-NspPDc2R.js → Input-CxSTVp9E.js} +3 -3
- package/dist/{Loading-BK4dQPCS.js → Loading-D_qRwfKv.js} +4 -4
- package/dist/{Pagination-tdrlaZ3u.js → Pagination-CnGOpp0m.js} +3 -3
- package/dist/{Popover-BumMfUpV.js → Popover-D1uZ1N9Z.js} +2 -2
- package/dist/{ProgressSpinner-BQ1tLioO.js → ProgressSpinner-hmR23xpi.js} +2 -2
- package/dist/{Radio-BCn2OVCF.js → Radio-CZAyelC_.js} +1 -1
- package/dist/{Segmented-ppmDmku5.js → Segmented-BpdO7arR.js} +2 -2
- package/dist/{Select-CN1tM76U.js → Select-CySmusHs.js} +4 -4
- package/dist/{Textarea-Ch1KCXEv.js → Textarea-DskjTCcz.js} +3 -3
- package/dist/{Tooltip-DKsXxU_B.js → Tooltip-DSfkflHp.js} +2 -2
- package/dist/alert/index.js +15 -15
- package/dist/alert/style.css +1 -1
- package/dist/auto-complete/index.js +4 -4
- package/dist/avatar/index.js +1 -1
- package/dist/badge/index.js +24 -24
- package/dist/badge/style.css +0 -1
- package/dist/block-ui/index.js +1 -1
- package/dist/breadcrumb/index.js +1 -1
- package/dist/button/index.js +1 -1
- package/dist/calendar/index.js +3 -3
- package/dist/card/index.js +1 -1
- package/dist/carousel/index.js +2 -2
- package/dist/cascade-select/index.js +4 -4
- package/dist/checkbox/index.js +1 -1
- package/dist/chip/index.js +35 -35
- package/dist/chip/style.css +1 -1
- package/dist/command-menu/index.js +5 -5
- package/dist/components/Alert/Alert.vue.d.ts +2 -2
- package/dist/components/Alert/Alert.vue.d.ts.map +1 -1
- package/dist/components/Alert/index.d.ts +1 -1
- package/dist/components/Alert/index.d.ts.map +1 -1
- package/dist/components/Alert/styles.css +1 -1
- package/dist/components/Alert/types.d.ts +3 -3
- package/dist/components/Alert/types.d.ts.map +1 -1
- package/dist/components/Badge/Badge.vue.d.ts +2 -2
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/Badge/index.d.ts.map +1 -1
- package/dist/components/Badge/styles.css +0 -1
- package/dist/components/Badge/types.d.ts +3 -4
- package/dist/components/Badge/types.d.ts.map +1 -1
- package/dist/components/Button/types.d.ts +1 -5
- package/dist/components/Button/types.d.ts.map +1 -1
- package/dist/components/Chip/index.d.ts +1 -1
- package/dist/components/Chip/index.d.ts.map +1 -1
- package/dist/components/Chip/styles.css +1 -1
- package/dist/components/Chip/types.d.ts +3 -3
- package/dist/components/Chip/types.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/ConfirmDialog.vue.d.ts.map +1 -1
- package/dist/components/ConfirmDialog/types.d.ts +1 -1
- package/dist/components/ConfirmDialog/types.d.ts.map +1 -1
- package/dist/components/Dialog/Dialog.vue.d.ts.map +1 -1
- package/dist/components/Dialog/styles.css +2 -3
- package/dist/components/Dialog/types.d.ts +1 -2
- package/dist/components/Dialog/types.d.ts.map +1 -1
- package/dist/components/Message/Message.vue.d.ts.map +1 -1
- package/dist/components/Message/index.d.ts +1 -1
- package/dist/components/Message/index.d.ts.map +1 -1
- package/dist/components/Message/message.d.ts +4 -0
- package/dist/components/Message/message.d.ts.map +1 -1
- package/dist/components/Message/styles.css +3 -7
- package/dist/components/Message/types.d.ts +4 -4
- package/dist/components/Message/types.d.ts.map +1 -1
- package/dist/components/Page/PageFilters.vue.d.ts.map +1 -1
- package/dist/components/Page/PageStat.vue.d.ts +2 -2
- package/dist/components/Page/index.d.ts +1 -1
- package/dist/components/Page/index.d.ts.map +1 -1
- package/dist/components/Page/styles.css +2 -2
- package/dist/components/Page/types.d.ts +2 -2
- package/dist/components/Page/types.d.ts.map +1 -1
- package/dist/components/ProgressBar/ProgressBar.vue.d.ts.map +1 -1
- package/dist/components/ProgressBar/styles.css +1 -1
- package/dist/components/ProgressBar/types.d.ts +2 -7
- package/dist/components/ProgressBar/types.d.ts.map +1 -1
- package/dist/components/Status/Status.vue.d.ts +2 -2
- package/dist/components/Status/Status.vue.d.ts.map +1 -1
- package/dist/components/Status/index.d.ts +1 -1
- package/dist/components/Status/index.d.ts.map +1 -1
- package/dist/components/Status/styles.css +0 -1
- package/dist/components/Status/types.d.ts +4 -5
- package/dist/components/Status/types.d.ts.map +1 -1
- package/dist/components/Tag/Tag.vue.d.ts +2 -2
- package/dist/components/Tag/index.d.ts +1 -1
- package/dist/components/Tag/index.d.ts.map +1 -1
- package/dist/components/Tag/styles.css +0 -1
- package/dist/components/Tag/types.d.ts +4 -5
- package/dist/components/Tag/types.d.ts.map +1 -1
- package/dist/components/Timeline/Timeline.vue.d.ts.map +1 -1
- package/dist/components/Timeline/index.d.ts +1 -1
- package/dist/components/Timeline/index.d.ts.map +1 -1
- package/dist/components/Timeline/styles.css +2 -4
- package/dist/components/Timeline/types.d.ts +3 -3
- package/dist/components/Timeline/types.d.ts.map +1 -1
- package/dist/components/Toast/Toast.vue.d.ts.map +1 -1
- package/dist/components/Toast/index.d.ts +1 -1
- package/dist/components/Toast/index.d.ts.map +1 -1
- package/dist/components/Toast/styles.css +1 -3
- package/dist/components/Toast/toast.d.ts +4 -0
- package/dist/components/Toast/toast.d.ts.map +1 -1
- package/dist/components/Toast/types.d.ts +5 -5
- package/dist/components/Toast/types.d.ts.map +1 -1
- package/dist/components/Toast/useNotification.d.ts +3 -2
- package/dist/components/Toast/useNotification.d.ts.map +1 -1
- package/dist/{config-CB_TiIvg.js → config-BEpyhJi3.js} +1 -1
- package/dist/config-provider/index.js +1 -1
- package/dist/confirm-dialog/index.js +54 -57
- package/dist/confirm-dialog/style.css +2 -3
- package/dist/confirm-popup/index.js +5 -5
- package/dist/context-menu/index.js +5 -5
- package/dist/data-view/index.js +3 -3
- package/dist/date-picker/index.js +1 -1
- package/dist/descriptions/index.js +1 -1
- package/dist/dialog/index.js +95 -98
- package/dist/dialog/style.css +2 -3
- package/dist/dock/index.js +2 -2
- package/dist/drawer/index.js +4 -4
- package/dist/dropdown/index.js +6 -6
- package/dist/empty/index.js +1 -1
- package/dist/fieldset/index.js +1 -1
- package/dist/file-upload/index.js +2 -2
- package/dist/flex/index.js +1 -1
- package/dist/form/index.js +2 -2
- package/dist/gallery/index.js +2 -2
- package/dist/icon/index.js +1 -1
- package/dist/{icon-COrt_N8A.js → icon-H8prbteT.js} +1 -1
- package/dist/image/index.js +2 -2
- package/dist/index.d.ts +11 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3013 -3025
- package/dist/input/index.js +1 -1
- package/dist/input-color/index.js +2 -2
- package/dist/input-number/index.js +3 -3
- package/dist/input-otp/index.js +2 -2
- package/dist/input-password/index.js +4 -4
- package/dist/input-tags/index.js +3 -3
- package/dist/layout/index.js +2 -2
- package/dist/list/index.js +4 -4
- package/dist/listbox/index.js +2 -2
- package/dist/loading/index.js +1 -1
- package/dist/{locale-CR2PIaxt.js → locale-CZddM-tH.js} +1 -1
- package/dist/mega-menu/index.js +5 -5
- package/dist/mentions/index.js +4 -4
- package/dist/menu/index.js +6 -6
- package/dist/menubar/index.js +5 -5
- package/dist/message/index.js +116 -117
- package/dist/message/style.css +3 -7
- package/dist/order-list/index.js +2 -2
- package/dist/page/index.js +8 -7
- package/dist/page/style.css +2 -2
- package/dist/pagination/index.js +1 -1
- package/dist/panel/index.js +3 -3
- package/dist/pick-list/index.js +2 -2
- package/dist/popover/index.js +1 -1
- package/dist/progress-bar/index.js +33 -34
- package/dist/progress-bar/style.css +1 -1
- package/dist/progress-spinner/index.js +1 -1
- package/dist/qr-code/index.js +4 -4
- package/dist/radio/index.js +1 -1
- package/dist/rating/index.js +3 -3
- package/dist/result/index.js +2 -2
- package/dist/scroll-top/index.js +3 -3
- package/dist/segmented/index.js +1 -1
- package/dist/select/index.js +1 -1
- package/dist/select-button/index.js +1 -1
- package/dist/shared/types.d.ts +7 -20
- package/dist/shared/types.d.ts.map +1 -1
- package/dist/sidebar/index.js +3 -3
- package/dist/slider/index.js +2 -2
- package/dist/space/index.js +1 -1
- package/dist/speed-dial/index.js +5 -5
- package/dist/split-button/index.js +5 -5
- package/dist/splitter/index.js +1 -1
- package/dist/status/index.js +30 -31
- package/dist/status/style.css +0 -1
- package/dist/stepper/index.js +1 -1
- package/dist/styles.css +1 -1
- package/dist/switch/index.js +1 -1
- package/dist/table/index.js +11 -11
- package/dist/tabs/index.js +2 -2
- package/dist/tag/index.js +52 -52
- package/dist/tag/style.css +0 -1
- package/dist/terminal/index.js +1 -1
- package/dist/textarea/index.js +1 -1
- package/dist/tiered-menu/index.js +4 -4
- package/dist/time-picker/index.js +1 -1
- package/dist/timeline/index.js +67 -72
- package/dist/timeline/style.css +2 -4
- package/dist/toast/index.js +135 -136
- package/dist/toast/style.css +1 -3
- package/dist/toggle-button/index.js +3 -3
- package/dist/tooltip/index.js +1 -1
- package/dist/tour/index.js +4 -4
- package/dist/tree/index.js +3 -3
- package/dist/tree-select/index.js +5 -5
- package/dist/{types-DGuu4Eg4.js → types-DBQfGctj.js} +1 -4
- package/dist/typography/index.js +3 -3
- package/dist/{useMotionTransition-D8JOR3ih.js → useMotionTransition-DqL_SEML.js} +1 -1
- package/package.json +1 -1
package/dist/switch/index.js
CHANGED
|
@@ -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-BEpyhJi3.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
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../useControllable-elmWaz23.js";
|
|
3
|
-
import { t as n } from "../Icon-
|
|
3
|
+
import { t as n } from "../Icon-CmHjx7W8.js";
|
|
4
4
|
import { t as r } from "../Scrollbar-DTeJ8P5b.js";
|
|
5
|
-
import { t as i } from "../Button-
|
|
6
|
-
import { t as a } from "../Checkbox-
|
|
7
|
-
import { t as o } from "../Loading-
|
|
8
|
-
import { t as s } from "../Pagination-
|
|
9
|
-
import { t as c } from "../Input-
|
|
10
|
-
import { t as l } from "../Popover-
|
|
11
|
-
import { t as u } from "../Tooltip-
|
|
12
|
-
import { t as d } from "../Radio-
|
|
13
|
-
import { o as f } from "../config-
|
|
14
|
-
import { n as p } from "../locale-
|
|
5
|
+
import { t as i } from "../Button-Bjsth0ct.js";
|
|
6
|
+
import { t as a } from "../Checkbox-Bo26OGHP.js";
|
|
7
|
+
import { t as o } from "../Loading-D_qRwfKv.js";
|
|
8
|
+
import { t as s } from "../Pagination-CnGOpp0m.js";
|
|
9
|
+
import { t as c } from "../Input-CxSTVp9E.js";
|
|
10
|
+
import { t as l } from "../Popover-D1uZ1N9Z.js";
|
|
11
|
+
import { t as u } from "../Tooltip-DSfkflHp.js";
|
|
12
|
+
import { t as d } from "../Radio-CZAyelC_.js";
|
|
13
|
+
import { o as f } from "../config-BEpyhJi3.js";
|
|
14
|
+
import { n as p } from "../locale-CZddM-tH.js";
|
|
15
15
|
import "./style.js";
|
|
16
16
|
import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as b, createTextVNode as x, createVNode as S, defineComponent as C, guardReactiveProps as w, mergeProps as T, nextTick as E, normalizeClass as D, normalizeProps as O, normalizeStyle as k, onBeforeUnmount as ee, onMounted as te, openBlock as A, provide as ne, ref as j, renderList as M, renderSlot as N, toDisplayString as P, toRefs as re, unref as F, useAttrs as ie, useSlots as ae, watch as I, withCtx as L, withKeys as oe, withModifiers as R } from "vue";
|
|
17
17
|
//#region src/components/Table/columns/keys.ts
|
package/dist/tabs/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../useMId-BXFYayPP.js";
|
|
3
|
-
import { t as n } from "../Icon-
|
|
3
|
+
import { t as n } from "../Icon-CmHjx7W8.js";
|
|
4
4
|
import { t as r } from "../Scrollbar-DTeJ8P5b.js";
|
|
5
|
-
import { n as i } from "../locale-
|
|
5
|
+
import { n as i } from "../locale-CZddM-tH.js";
|
|
6
6
|
import "./style.js";
|
|
7
7
|
import { Fragment as a, 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,22 +1,22 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { o as
|
|
5
|
-
import { n as
|
|
2
|
+
import { n as t } from "../types-DBQfGctj.js";
|
|
3
|
+
import { t as n } from "../Icon-CmHjx7W8.js";
|
|
4
|
+
import { o as r } from "../config-BEpyhJi3.js";
|
|
5
|
+
import { n as i } from "../locale-CZddM-tH.js";
|
|
6
6
|
import "./style.js";
|
|
7
|
-
import { computed as
|
|
7
|
+
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createTextVNode as l, createVNode as u, defineComponent as d, mergeProps as f, openBlock as p, renderSlot as m, toDisplayString as h, unref as g, useAttrs as _ } from "vue";
|
|
8
8
|
//#region src/components/Tag/Tag.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var
|
|
9
|
+
var v = [
|
|
10
10
|
"role",
|
|
11
11
|
"tabindex",
|
|
12
12
|
"aria-pressed",
|
|
13
13
|
"aria-disabled"
|
|
14
|
-
],
|
|
14
|
+
], y = ["disabled", "aria-label"], b = /* @__PURE__ */ d({
|
|
15
15
|
inheritAttrs: !1,
|
|
16
16
|
__name: "Tag",
|
|
17
17
|
props: {
|
|
18
18
|
value: {},
|
|
19
|
-
|
|
19
|
+
type: { default: "primary" },
|
|
20
20
|
rounded: {
|
|
21
21
|
type: Boolean,
|
|
22
22
|
default: !1
|
|
@@ -51,65 +51,65 @@ var y = [
|
|
|
51
51
|
"update:checked",
|
|
52
52
|
"change"
|
|
53
53
|
],
|
|
54
|
-
setup(
|
|
55
|
-
let
|
|
54
|
+
setup(d, { emit: b }) {
|
|
55
|
+
let x = d, S = b, C = _(), { rootAttrs: w } = e(C, () => x.pt), T = i(), E = r("Tag", () => x.size), D = a(() => t(E.value)), O = a(() => x.type ?? "primary"), k = a(() => x.closable && !x.checkable), A = a(() => [
|
|
56
56
|
"m-tag",
|
|
57
|
-
`m-tag--${
|
|
58
|
-
`m-tag--${
|
|
57
|
+
`m-tag--${O.value}`,
|
|
58
|
+
`m-tag--${E.value}`,
|
|
59
59
|
{
|
|
60
|
-
"m-tag--rounded":
|
|
61
|
-
"m-tag--bordered":
|
|
62
|
-
"m-tag--closable":
|
|
63
|
-
"m-tag--disabled":
|
|
64
|
-
"m-tag--custom": !!
|
|
65
|
-
"m-tag--checkable":
|
|
66
|
-
"m-tag--checked":
|
|
60
|
+
"m-tag--rounded": x.rounded,
|
|
61
|
+
"m-tag--bordered": x.bordered && !x.checkable,
|
|
62
|
+
"m-tag--closable": k.value,
|
|
63
|
+
"m-tag--disabled": x.disabled,
|
|
64
|
+
"m-tag--custom": !!x.color && !x.checkable,
|
|
65
|
+
"m-tag--checkable": x.checkable,
|
|
66
|
+
"m-tag--checked": x.checkable && x.checked
|
|
67
67
|
}
|
|
68
|
-
]),
|
|
68
|
+
]), j = a(() => x.color && !x.checkable ? { "--m-tag-color": x.color } : void 0);
|
|
69
|
+
function M(e) {
|
|
70
|
+
x.disabled || (e.stopPropagation(), S("close", e));
|
|
71
|
+
}
|
|
69
72
|
function N(e) {
|
|
70
|
-
|
|
73
|
+
if (!x.checkable || x.disabled || e.target?.closest?.(".m-tag__close")) return;
|
|
74
|
+
let t = !x.checked;
|
|
75
|
+
S("update:checked", t), S("change", t);
|
|
71
76
|
}
|
|
72
77
|
function P(e) {
|
|
73
|
-
if (!
|
|
74
|
-
let t = !S.checked;
|
|
75
|
-
C("update:checked", t), C("change", t);
|
|
76
|
-
}
|
|
77
|
-
function F(e) {
|
|
78
|
-
if (!S.checkable || S.disabled || e.key !== "Enter" && e.key !== " ") return;
|
|
78
|
+
if (!x.checkable || x.disabled || e.key !== "Enter" && e.key !== " ") return;
|
|
79
79
|
e.preventDefault();
|
|
80
|
-
let t = !
|
|
81
|
-
|
|
80
|
+
let t = !x.checked;
|
|
81
|
+
S("update:checked", t), S("change", t);
|
|
82
82
|
}
|
|
83
|
-
return (e, t) => (
|
|
84
|
-
class:
|
|
85
|
-
style:
|
|
86
|
-
role:
|
|
87
|
-
tabindex:
|
|
88
|
-
"aria-pressed":
|
|
89
|
-
"aria-disabled":
|
|
90
|
-
onClick:
|
|
91
|
-
onKeydown:
|
|
83
|
+
return (e, t) => (p(), c("span", f(g(w), {
|
|
84
|
+
class: A.value,
|
|
85
|
+
style: j.value,
|
|
86
|
+
role: d.checkable ? "button" : void 0,
|
|
87
|
+
tabindex: d.checkable && !d.disabled ? 0 : void 0,
|
|
88
|
+
"aria-pressed": d.checkable ? d.checked : void 0,
|
|
89
|
+
"aria-disabled": d.checkable && d.disabled ? !0 : void 0,
|
|
90
|
+
onClick: N,
|
|
91
|
+
onKeydown: P
|
|
92
92
|
}), [
|
|
93
|
-
|
|
93
|
+
d.icon ? (p(), o(n, {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "m-tag__icon",
|
|
96
|
-
name:
|
|
97
|
-
size:
|
|
98
|
-
}, null, 8, ["name", "size"])) :
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
name: d.icon,
|
|
97
|
+
size: D.value
|
|
98
|
+
}, null, 8, ["name", "size"])) : s("", !0),
|
|
99
|
+
m(e.$slots, "default", {}, () => [l(h(d.value), 1)]),
|
|
100
|
+
k.value ? (p(), c("button", {
|
|
101
101
|
key: 1,
|
|
102
102
|
type: "button",
|
|
103
103
|
class: "m-tag__close",
|
|
104
|
-
disabled:
|
|
105
|
-
"aria-label":
|
|
106
|
-
onClick:
|
|
107
|
-
}, [
|
|
104
|
+
disabled: d.disabled,
|
|
105
|
+
"aria-label": g(T).close,
|
|
106
|
+
onClick: M
|
|
107
|
+
}, [u(n, {
|
|
108
108
|
name: "close",
|
|
109
|
-
size:
|
|
110
|
-
}, null, 8, ["size"])], 8,
|
|
111
|
-
], 16,
|
|
109
|
+
size: D.value
|
|
110
|
+
}, null, 8, ["size"])], 8, y)) : s("", !0)
|
|
111
|
+
], 16, v));
|
|
112
112
|
}
|
|
113
113
|
});
|
|
114
114
|
//#endregion
|
|
115
|
-
export {
|
|
115
|
+
export { b as MTag };
|
package/dist/tag/style.css
CHANGED
package/dist/terminal/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
2
|
import { t } from "../ScrollBody-5hUnHj_M.js";
|
|
3
|
-
import { n } from "../locale-
|
|
3
|
+
import { n } from "../locale-CZddM-tH.js";
|
|
4
4
|
import "./style.js";
|
|
5
5
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, 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
|
@@ -2,12 +2,12 @@ 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 ee } from "../overlayPlacement-qwEJPVS4.js";
|
|
4
4
|
import { t as r } from "../useFloatingViewportSync-wLLKIGUA.js";
|
|
5
|
-
import { t as i } from "../useMotionTransition-
|
|
6
|
-
import { t as a } from "../Icon-
|
|
5
|
+
import { t as i } from "../useMotionTransition-DqL_SEML.js";
|
|
6
|
+
import { t as a } from "../Icon-CmHjx7W8.js";
|
|
7
7
|
import { t as o } from "../Scrollbar-DTeJ8P5b.js";
|
|
8
8
|
import { t as s } from "../lastPointer-CRxcUqdd.js";
|
|
9
|
-
import { t as c } from "../FlyoutSubmenu-
|
|
10
|
-
import { l as te } from "../config-
|
|
9
|
+
import { t as c } from "../FlyoutSubmenu-C0id6-Sb.js";
|
|
10
|
+
import { l as te } from "../config-BEpyhJi3.js";
|
|
11
11
|
import "./style.js";
|
|
12
12
|
import { Fragment as l, Teleport as ne, Transition as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as g, defineComponent as _, mergeProps as v, nextTick as y, onBeforeUnmount as b, openBlock as x, ref as S, renderList as C, toDisplayString as w, unref as T, useAttrs as re, watch as E, withCtx as D } from "vue";
|
|
13
13
|
//#region src/components/TieredMenu/TieredMenu.vue?vue&type=script&setup=true&lang.ts
|
package/dist/timeline/index.js
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import { a as e } from "../useComponentAttrs-e-5QAjdw.js";
|
|
2
|
-
import { t } from "../
|
|
3
|
-
import {
|
|
4
|
-
import { t as i } from "../Scrollbar-DTeJ8P5b.js";
|
|
2
|
+
import { a as t, t as n } from "../Icon-CmHjx7W8.js";
|
|
3
|
+
import { t as r } from "../Scrollbar-DTeJ8P5b.js";
|
|
5
4
|
import "./style.js";
|
|
6
|
-
import { Fragment as
|
|
5
|
+
import { Fragment as i, computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, mergeProps as f, normalizeClass as p, normalizeStyle as m, openBlock as h, renderList as g, renderSlot as _, toDisplayString as v, unref as y, useAttrs as b, withCtx as x } from "vue";
|
|
7
6
|
//#region src/components/Timeline/Timeline.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
7
|
+
var S = { class: "m-timeline__opposite" }, C = { class: "m-timeline__separator" }, w = {
|
|
9
8
|
key: 1,
|
|
10
9
|
"aria-hidden": "true"
|
|
11
|
-
},
|
|
10
|
+
}, T = { class: "m-timeline__content" }, E = {
|
|
12
11
|
key: 0,
|
|
13
12
|
class: "m-timeline__status"
|
|
14
|
-
},
|
|
13
|
+
}, D = { class: "m-timeline__opposite" }, O = { class: "m-timeline__separator" }, k = {
|
|
15
14
|
key: 1,
|
|
16
15
|
"aria-hidden": "true"
|
|
17
|
-
},
|
|
16
|
+
}, A = { class: "m-timeline__content" }, j = {
|
|
18
17
|
key: 0,
|
|
19
18
|
class: "m-timeline__status"
|
|
20
|
-
},
|
|
19
|
+
}, M = /* @__PURE__ */ d({
|
|
21
20
|
inheritAttrs: !1,
|
|
22
21
|
__name: "Timeline",
|
|
23
22
|
props: {
|
|
@@ -27,108 +26,104 @@ var C = { class: "m-timeline__opposite" }, w = { class: "m-timeline__separator"
|
|
|
27
26
|
layout: { default: "vertical" },
|
|
28
27
|
pending: { type: [Boolean, String] }
|
|
29
28
|
},
|
|
30
|
-
setup(
|
|
31
|
-
let
|
|
32
|
-
content:
|
|
33
|
-
status:
|
|
34
|
-
}]),
|
|
29
|
+
setup(d) {
|
|
30
|
+
let M = d, N = b(), { rootAttrs: P } = e(N, () => M.pt), F = a(() => M.pending === !0 ? "" : typeof M.pending == "string" ? M.pending : null), I = a(() => F.value == null ? M.value : [...M.value, {
|
|
31
|
+
content: F.value,
|
|
32
|
+
status: F.value || void 0
|
|
33
|
+
}]), L = a(() => [
|
|
35
34
|
"m-timeline",
|
|
36
|
-
`m-timeline--${
|
|
37
|
-
`m-timeline--${
|
|
38
|
-
{ "m-timeline--pending":
|
|
35
|
+
`m-timeline--${M.layout}`,
|
|
36
|
+
`m-timeline--${M.align}`,
|
|
37
|
+
{ "m-timeline--pending": F.value != null }
|
|
39
38
|
]);
|
|
40
|
-
function
|
|
41
|
-
return
|
|
42
|
-
}
|
|
43
|
-
function B(e) {
|
|
44
|
-
if (e) return e === "help" ? "help" : t(e) ?? void 0;
|
|
39
|
+
function R(e) {
|
|
40
|
+
return M.align === "right" ? "right" : M.align === "alternate" ? e % 2 == 0 ? "left" : "right" : "left";
|
|
45
41
|
}
|
|
46
|
-
function
|
|
42
|
+
function z(e) {
|
|
47
43
|
if (e.color) return {
|
|
48
44
|
background: e.color,
|
|
49
45
|
borderColor: e.color,
|
|
50
46
|
color: "var(--m-color-contrast-fg)"
|
|
51
47
|
};
|
|
52
48
|
}
|
|
53
|
-
function
|
|
54
|
-
|
|
55
|
-
return t ? `m-timeline__marker--${t}` : void 0;
|
|
49
|
+
function B(e) {
|
|
50
|
+
return e.type ? `m-timeline__marker--${e.type}` : void 0;
|
|
56
51
|
}
|
|
57
|
-
function
|
|
58
|
-
if (e.icon &&
|
|
52
|
+
function V(e) {
|
|
53
|
+
if (e.icon && t(String(e.icon))) return e.icon;
|
|
59
54
|
}
|
|
60
|
-
function
|
|
61
|
-
return
|
|
55
|
+
function H(e) {
|
|
56
|
+
return F.value != null && e === I.value.length - 1;
|
|
62
57
|
}
|
|
63
|
-
return (e, t) =>
|
|
58
|
+
return (e, t) => d.layout === "horizontal" ? (h(), o(r, {
|
|
64
59
|
key: 0,
|
|
65
60
|
class: "m-timeline__scroll m-timeline__scroll--horizontal",
|
|
66
61
|
"fit-content": "",
|
|
67
62
|
"wrap-class": "m-timeline__scroll-wrap",
|
|
68
63
|
"view-class": "m-timeline__scroll-view"
|
|
69
64
|
}, {
|
|
70
|
-
default:
|
|
65
|
+
default: x(() => [l("ul", f(y(P), { class: L.value }), [(h(!0), c(i, null, g(I.value, (r, i) => (h(), c("li", {
|
|
71
66
|
key: i,
|
|
72
|
-
class:
|
|
73
|
-
}, [
|
|
74
|
-
item:
|
|
67
|
+
class: p(["m-timeline__event", [`m-timeline__event--${R(i)}`, { "m-timeline__event--pending": H(i) }]])
|
|
68
|
+
}, [_(e.$slots, "item", {
|
|
69
|
+
item: r,
|
|
75
70
|
index: i
|
|
76
71
|
}, () => [
|
|
77
|
-
|
|
78
|
-
item:
|
|
72
|
+
l("div", S, [_(e.$slots, "opposite", {
|
|
73
|
+
item: r,
|
|
79
74
|
index: i
|
|
80
|
-
}, () => [
|
|
81
|
-
|
|
82
|
-
item:
|
|
75
|
+
}, () => [u(v(r.date), 1)])]),
|
|
76
|
+
l("div", C, [_(e.$slots, "marker", {
|
|
77
|
+
item: r,
|
|
83
78
|
index: i
|
|
84
|
-
}, () => [
|
|
85
|
-
class:
|
|
86
|
-
style:
|
|
87
|
-
}, [
|
|
79
|
+
}, () => [l("span", {
|
|
80
|
+
class: p(["m-timeline__marker", B(r)]),
|
|
81
|
+
style: m(z(r))
|
|
82
|
+
}, [V(r) ? (h(), o(n, {
|
|
88
83
|
key: 0,
|
|
89
|
-
name:
|
|
84
|
+
name: V(r),
|
|
90
85
|
size: "sm"
|
|
91
|
-
}, null, 8, ["name"])) :
|
|
92
|
-
item:
|
|
86
|
+
}, null, 8, ["name"])) : r.icon ? (h(), c("span", w, v(r.icon), 1)) : s("", !0)], 6)]), _(e.$slots, "connector", {
|
|
87
|
+
item: r,
|
|
93
88
|
index: i
|
|
94
|
-
}, () => [t[0] ||=
|
|
95
|
-
|
|
96
|
-
item:
|
|
89
|
+
}, () => [t[0] ||= l("span", { class: "m-timeline__connector" }, null, -1)])]),
|
|
90
|
+
l("div", T, [_(e.$slots, "content", {
|
|
91
|
+
item: r,
|
|
97
92
|
index: i
|
|
98
|
-
}, () => [
|
|
93
|
+
}, () => [r.status ? (h(), c("div", E, v(r.status), 1)) : s("", !0), l("div", null, v(r.content), 1)])])
|
|
99
94
|
])], 2))), 128))], 16)]),
|
|
100
95
|
_: 3
|
|
101
|
-
})) : (
|
|
96
|
+
})) : (h(), c("ul", f({ key: 1 }, y(P), { class: L.value }), [(h(!0), c(i, null, g(I.value, (r, i) => (h(), c("li", {
|
|
102
97
|
key: i,
|
|
103
|
-
class:
|
|
104
|
-
}, [
|
|
105
|
-
item:
|
|
98
|
+
class: p(["m-timeline__event", [`m-timeline__event--${R(i)}`, { "m-timeline__event--pending": H(i) }]])
|
|
99
|
+
}, [_(e.$slots, "item", {
|
|
100
|
+
item: r,
|
|
106
101
|
index: i
|
|
107
102
|
}, () => [
|
|
108
|
-
|
|
109
|
-
item:
|
|
103
|
+
l("div", D, [_(e.$slots, "opposite", {
|
|
104
|
+
item: r,
|
|
110
105
|
index: i
|
|
111
|
-
}, () => [
|
|
112
|
-
|
|
113
|
-
item:
|
|
106
|
+
}, () => [u(v(r.date), 1)])]),
|
|
107
|
+
l("div", O, [_(e.$slots, "marker", {
|
|
108
|
+
item: r,
|
|
114
109
|
index: i
|
|
115
|
-
}, () => [
|
|
116
|
-
class:
|
|
117
|
-
style:
|
|
118
|
-
}, [
|
|
110
|
+
}, () => [l("span", {
|
|
111
|
+
class: p(["m-timeline__marker", B(r)]),
|
|
112
|
+
style: m(z(r))
|
|
113
|
+
}, [V(r) ? (h(), o(n, {
|
|
119
114
|
key: 0,
|
|
120
|
-
name:
|
|
115
|
+
name: V(r),
|
|
121
116
|
size: "sm"
|
|
122
|
-
}, null, 8, ["name"])) :
|
|
123
|
-
item:
|
|
117
|
+
}, null, 8, ["name"])) : r.icon ? (h(), c("span", k, v(r.icon), 1)) : s("", !0)], 6)]), _(e.$slots, "connector", {
|
|
118
|
+
item: r,
|
|
124
119
|
index: i
|
|
125
|
-
}, () => [t[1] ||=
|
|
126
|
-
|
|
127
|
-
item:
|
|
120
|
+
}, () => [t[1] ||= l("span", { class: "m-timeline__connector" }, null, -1)])]),
|
|
121
|
+
l("div", A, [_(e.$slots, "content", {
|
|
122
|
+
item: r,
|
|
128
123
|
index: i
|
|
129
|
-
}, () => [
|
|
124
|
+
}, () => [r.status ? (h(), c("div", j, v(r.status), 1)) : s("", !0), l("div", null, v(r.content), 1)])])
|
|
130
125
|
])], 2))), 128))], 16));
|
|
131
126
|
}
|
|
132
127
|
});
|
|
133
128
|
//#endregion
|
|
134
|
-
export {
|
|
129
|
+
export { M as MTimeline };
|
package/dist/timeline/style.css
CHANGED
|
@@ -1452,13 +1452,11 @@
|
|
|
1452
1452
|
color: var(--m-color-info);
|
|
1453
1453
|
}
|
|
1454
1454
|
|
|
1455
|
-
.m-timeline__marker--warn,
|
|
1456
1455
|
.m-timeline__marker--warning {
|
|
1457
|
-
border-color: var(--m-color-
|
|
1458
|
-
color: var(--m-color-
|
|
1456
|
+
border-color: var(--m-color-warning);
|
|
1457
|
+
color: var(--m-color-warning);
|
|
1459
1458
|
}
|
|
1460
1459
|
|
|
1461
|
-
.m-timeline__marker--error,
|
|
1462
1460
|
.m-timeline__marker--danger {
|
|
1463
1461
|
border-color: var(--m-color-danger);
|
|
1464
1462
|
color: var(--m-color-danger);
|