mhz-ui 1.0.1 → 1.0.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/dist/UiBreadcrumbs/UiBreadcrumbs.css +1 -0
- package/dist/UiBreadcrumbs/UiBreadcrumbs.d.ts +26 -0
- package/dist/UiBreadcrumbs/UiBreadcrumbs.js +62 -0
- package/dist/UiButton/UiButton.d.ts +9 -9
- package/dist/UiCheckbox/UiCheckbox.d.ts +6 -6
- package/dist/UiEditor/UiEditor.js +1341 -1295
- package/dist/UiInput/UiInput.js +1 -1
- package/dist/UiModal/UiModal.css +1 -0
- package/dist/UiModal/UiModal.d.ts +28 -0
- package/dist/UiModal/UiModal.js +78 -0
- package/dist/UiPagination/UiPagination.js +35 -32
- package/dist/UiSelect/UiSelect.js +73 -76
- package/dist/UiTable/UiTable.css +1 -1
- package/dist/UiTable/UiTable.d.ts +31 -4
- package/dist/UiTable/UiTable.js +72 -39
- package/dist/UiUpload/UiUpload.d.ts +9 -9
- package/dist/UiUpload/UiUpload.js +69 -57
- package/dist/colors.scss +20 -18
- package/dist/index.d.ts +2 -0
- package/dist/index.ts +2 -0
- package/dist/transitions.scss +9 -0
- package/package.json +28 -27
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._breadcrumbs_lt94p_1,._links_lt94p_6{display:flex;gap:4px}._link_lt94p_6{color:var(--color-gray-dark);text-decoration:none}._link_lt94p_6[data-link=true]{color:var(--color-primary);cursor:pointer}._link_lt94p_6[data-link=true]:hover{color:var(--color-primary-dark)}._link_lt94p_6[data-white=true]{color:var(--color-white)}._link_lt94p_6[data-white=true]:hover{color:var(--color-gray-light)}._slash_lt94p_29{color:var(--color-gray-dark)}._slash_lt94p_29[data-white=true]{color:var(--color-white)}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
interface ILink {
|
|
2
|
+
url: string;
|
|
3
|
+
title?: string;
|
|
4
|
+
}
|
|
5
|
+
declare const _default: import("vue").DefineComponent<{
|
|
6
|
+
links: {
|
|
7
|
+
type: import("vue").PropType<ILink[]>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
color: {
|
|
11
|
+
type: import("vue").PropType<"default" | "white">;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
links: {
|
|
16
|
+
type: import("vue").PropType<ILink[]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
color: {
|
|
20
|
+
type: import("vue").PropType<"default" | "white">;
|
|
21
|
+
default: string;
|
|
22
|
+
};
|
|
23
|
+
}>>, {
|
|
24
|
+
color: "default" | "white";
|
|
25
|
+
}, {}>;
|
|
26
|
+
export default _default;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import "./UiBreadcrumbs.css";
|
|
2
|
+
import { defineComponent as m, computed as p, openBlock as s, createElementBlock as i, normalizeClass as n, Fragment as d, renderList as u, createBlock as _, resolveDynamicComponent as h, withCtx as k, createElementVNode as r, toDisplayString as y, createCommentVNode as b } from "vue";
|
|
3
|
+
import { RouterLink as f } from "vue-router";
|
|
4
|
+
import { _ as g } from "../_plugin-vue_export-helper-dad06003.js";
|
|
5
|
+
const w = { itemprop: "name" }, $ = ["data-white"], B = ["content"], C = /* @__PURE__ */ m({
|
|
6
|
+
__name: "UiBreadcrumbs",
|
|
7
|
+
props: {
|
|
8
|
+
links: {},
|
|
9
|
+
color: { default: "default" }
|
|
10
|
+
},
|
|
11
|
+
setup(a) {
|
|
12
|
+
const t = a, c = p(() => f);
|
|
13
|
+
return (o, S) => (s(), i("div", {
|
|
14
|
+
class: n(o.$style.breadcrumbs),
|
|
15
|
+
itemscope: "",
|
|
16
|
+
itemtype: "https://schema.org/BreadcrumbList"
|
|
17
|
+
}, [
|
|
18
|
+
(s(!0), i(d, null, u(t.links, (e, l) => (s(), i("div", {
|
|
19
|
+
key: `${e.title}${e.url}`,
|
|
20
|
+
class: n(o.$style.links),
|
|
21
|
+
itemprop: "itemListElement",
|
|
22
|
+
itemscope: "",
|
|
23
|
+
itemtype: "https://schema.org/ListItem"
|
|
24
|
+
}, [
|
|
25
|
+
(s(), _(h(l === t.links.length - 1 ? "div" : c.value), {
|
|
26
|
+
to: e.url,
|
|
27
|
+
class: n(o.$style.link),
|
|
28
|
+
"data-link": l !== t.links.length - 1,
|
|
29
|
+
"data-white": t.color === "white",
|
|
30
|
+
itemid: e.url,
|
|
31
|
+
itemtype: "https://schema.org/Thing",
|
|
32
|
+
itemscope: "",
|
|
33
|
+
itemprop: "item"
|
|
34
|
+
}, {
|
|
35
|
+
default: k(() => [
|
|
36
|
+
r("span", w, y(e.title), 1)
|
|
37
|
+
]),
|
|
38
|
+
_: 2
|
|
39
|
+
}, 1032, ["to", "class", "data-link", "data-white", "itemid"])),
|
|
40
|
+
l !== t.links.length - 1 ? (s(), i("span", {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: n(o.$style.slash),
|
|
43
|
+
"data-white": t.color === "white"
|
|
44
|
+
}, "/", 10, $)) : b("", !0),
|
|
45
|
+
r("meta", {
|
|
46
|
+
itemprop: "position",
|
|
47
|
+
content: (l + 1).toString()
|
|
48
|
+
}, null, 8, B)
|
|
49
|
+
], 2))), 128))
|
|
50
|
+
], 2));
|
|
51
|
+
}
|
|
52
|
+
}), v = "_breadcrumbs_lt94p_1", L = "_links_lt94p_6", E = "_link_lt94p_6", D = "_slash_lt94p_29", M = {
|
|
53
|
+
breadcrumbs: v,
|
|
54
|
+
links: L,
|
|
55
|
+
link: E,
|
|
56
|
+
slash: D
|
|
57
|
+
}, N = {
|
|
58
|
+
$style: M
|
|
59
|
+
}, F = /* @__PURE__ */ g(C, [["__cssModules", N]]);
|
|
60
|
+
export {
|
|
61
|
+
F as default
|
|
62
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { FunctionalComponent } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
|
-
|
|
4
|
-
type: import("vue").PropType<"
|
|
3
|
+
type: {
|
|
4
|
+
type: import("vue").PropType<"button" | "submit">;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
type: import("vue").PropType<"
|
|
7
|
+
layout: {
|
|
8
|
+
type: import("vue").PropType<"primary" | "secondary" | "plain">;
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
isDisabled: {
|
|
@@ -16,12 +16,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
16
16
|
default: undefined;
|
|
17
17
|
};
|
|
18
18
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
|
|
20
|
-
type: import("vue").PropType<"
|
|
19
|
+
type: {
|
|
20
|
+
type: import("vue").PropType<"button" | "submit">;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
|
-
|
|
24
|
-
type: import("vue").PropType<"
|
|
23
|
+
layout: {
|
|
24
|
+
type: import("vue").PropType<"primary" | "secondary" | "plain">;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
isDisabled: {
|
|
@@ -32,8 +32,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
default: undefined;
|
|
33
33
|
};
|
|
34
34
|
}>>, {
|
|
35
|
+
type: "button" | "submit";
|
|
35
36
|
layout: "primary" | "secondary" | "plain";
|
|
36
|
-
type: "submit" | "button";
|
|
37
37
|
icon: FunctionalComponent<{}, {}, any>;
|
|
38
38
|
}, {}>, {
|
|
39
39
|
default?(_: {}): any;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
type InitialValue = boolean | string | number;
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
|
-
isDisabled: {
|
|
4
|
-
type: import("vue").PropType<boolean>;
|
|
5
|
-
};
|
|
6
3
|
label: {
|
|
7
4
|
type: import("vue").PropType<string>;
|
|
8
5
|
default: string;
|
|
9
6
|
};
|
|
7
|
+
isDisabled: {
|
|
8
|
+
type: import("vue").PropType<boolean>;
|
|
9
|
+
};
|
|
10
10
|
initialValue: {
|
|
11
11
|
type: import("vue").PropType<InitialValue>;
|
|
12
12
|
default: boolean;
|
|
@@ -30,13 +30,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
30
|
type: import("vue").PropType<boolean>;
|
|
31
31
|
};
|
|
32
32
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
|
-
isDisabled: {
|
|
34
|
-
type: import("vue").PropType<boolean>;
|
|
35
|
-
};
|
|
36
33
|
label: {
|
|
37
34
|
type: import("vue").PropType<string>;
|
|
38
35
|
default: string;
|
|
39
36
|
};
|
|
37
|
+
isDisabled: {
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
39
|
+
};
|
|
40
40
|
initialValue: {
|
|
41
41
|
type: import("vue").PropType<InitialValue>;
|
|
42
42
|
default: boolean;
|