ninemoon-ui 0.0.26 → 0.0.27
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/badge.css +2 -2
- package/dist/checkgroup.css +3 -3
- package/dist/components/alert/alertcomponent.vue.d.ts +4 -4
- package/dist/components/badge/badge.vue.d.ts +38 -31
- package/dist/components/carousel/carousel.vue.d.ts +22 -9
- package/dist/components/carousel/carouselitem.vue.d.ts +4 -2
- package/dist/components/check/checkbox.vue.d.ts +27 -18
- package/dist/components/check/checkgroup.vue.d.ts +33 -21
- package/dist/components/date/datepicker.vue.d.ts +26 -18
- package/dist/components/date/datepickerRange.vue.d.ts +24 -12
- package/dist/components/dialog/dialog.vue.d.ts +56 -67
- package/dist/components/form/form.vue.d.ts +36 -29
- package/dist/components/form/formlabel.vue.d.ts +40 -35
- package/dist/components/image/image.vue.d.ts +39 -29
- package/dist/components/input/input.vue.d.ts +51 -47
- package/dist/components/loadding/loadcomponent.vue.d.ts +4 -4
- package/dist/components/loadding/loadding.d.ts +2 -1
- package/dist/components/menu/menu.vue.d.ts +25 -12
- package/dist/components/message/message.d.ts +2 -1
- package/dist/components/message/messagecomponent.vue.d.ts +4 -3
- package/dist/components/numberInput/numberinput.vue.d.ts +50 -58
- package/dist/components/pagination/pagination.vue.d.ts +35 -27
- package/dist/components/popover/popover.vue.d.ts +55 -64
- package/dist/components/radio/radiobox.vue.d.ts +27 -18
- package/dist/components/radio/radiogroup.vue.d.ts +33 -21
- package/dist/components/scrollBar/movebar.vue.d.ts +33 -36
- package/dist/components/scrollBar/scrollBar.vue.d.ts +43 -38
- package/dist/components/select/select.vue.d.ts +41 -37
- package/dist/components/select/selectoption.vue.d.ts +27 -18
- package/dist/components/switch/switch.vue.d.ts +43 -43
- package/dist/components/table/table.vue.d.ts +49 -53
- package/dist/components/table/tableItem.vue.d.ts +43 -56
- package/dist/components/tabs/tabs.vue.d.ts +32 -19
- package/dist/components/tabs/tabsPane.vue.d.ts +25 -12
- package/dist/components/tree/tree.vue.d.ts +38 -43
- package/dist/components/upload/upload.vue.d.ts +53 -53
- package/dist/components/utils/tool.d.ts +1 -1
- package/dist/index.css +38 -58
- package/dist/index.d.ts +929 -2045
- package/dist/index.umd.js +649 -723
- package/dist/js/carousel/carousel.js +20 -24
- package/dist/js/check/checkgroup.js +2 -1
- package/dist/js/date/datepicker.js +90 -97
- package/dist/js/date/datepickerRange.js +108 -116
- package/dist/js/dialog/dialog.js +24 -26
- package/dist/js/image/image.js +64 -73
- package/dist/js/index/index.js +78 -91
- package/dist/js/input/input.js +5 -6
- package/dist/js/menu/menu.js +2 -1
- package/dist/js/numberInput/numberinput.js +23 -26
- package/dist/js/pagination/pagination.js +71 -82
- package/dist/js/popover/popover.js +3 -3
- package/dist/js/radio/radiogroup.js +2 -1
- package/dist/js/select/select.js +3 -2
- package/dist/js/switch/switch.js +2 -1
- package/dist/js/table/table.js +2 -1
- package/dist/js/tabs/tabs.js +2 -1
- package/dist/js/tree/tree.js +1 -1
- package/dist/js/tree/treeleaf.js +5 -7
- package/dist/js/upload/upload.js +21 -22
- package/dist/radiogroup.css +3 -3
- package/dist/select.css +3 -3
- package/dist/tabs.css +10 -10
- package/package.json +1 -1
|
@@ -6,9 +6,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
6
6
|
showinput: { type: Boolean, default: false }
|
|
7
7
|
},
|
|
8
8
|
emits: ["update:modelValue", "change"],
|
|
9
|
-
setup(__props, { emit }) {
|
|
9
|
+
setup(__props, { emit: __emit }) {
|
|
10
10
|
const props = __props;
|
|
11
11
|
const ParentGetChangeHandle = inject("changHandle", () => null);
|
|
12
|
+
const emit = __emit;
|
|
12
13
|
const slots = useSlots();
|
|
13
14
|
const BoxHandle = (MySlot) => {
|
|
14
15
|
var _a, _b;
|
package/dist/js/select/select.js
CHANGED
|
@@ -9,15 +9,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
disabled: { type: Boolean, default: false }
|
|
10
10
|
},
|
|
11
11
|
emits: ["update:modelValue", "change"],
|
|
12
|
-
setup(__props, { emit }) {
|
|
13
|
-
const props = __props;
|
|
12
|
+
setup(__props, { emit: __emit }) {
|
|
14
13
|
const LibScrollBar = defineAsyncComponent(() => import("../scrollBar/scrollBar.js"));
|
|
15
14
|
const Pop = defineAsyncComponent(() => import("../popover/popover.js"));
|
|
15
|
+
const props = __props;
|
|
16
16
|
const ParentGetChangeHandle = inject(
|
|
17
17
|
"changHandle",
|
|
18
18
|
(_params) => null
|
|
19
19
|
// false
|
|
20
20
|
);
|
|
21
|
+
const emit = __emit;
|
|
21
22
|
const slots = useSlots();
|
|
22
23
|
const showOption = ref(false);
|
|
23
24
|
const showHandle = () => {
|
package/dist/js/switch/switch.js
CHANGED
|
@@ -18,8 +18,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
modelValue: { type: Boolean, default: false }
|
|
19
19
|
},
|
|
20
20
|
emits: ["update:modelValue", "switchChange"],
|
|
21
|
-
setup(__props, { emit }) {
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
22
|
const props = __props;
|
|
23
|
+
const emit = __emit;
|
|
23
24
|
const togglehandle = () => {
|
|
24
25
|
emit("update:modelValue", !props.modelValue);
|
|
25
26
|
emit("switchChange", !props.modelValue);
|
package/dist/js/table/table.js
CHANGED
|
@@ -11,11 +11,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
11
11
|
tableclass: {}
|
|
12
12
|
},
|
|
13
13
|
emits: ["rowClick", "selectionChange"],
|
|
14
|
-
setup(__props, { expose: __expose, emit }) {
|
|
14
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
15
|
const props = __props;
|
|
16
16
|
const hasData = computed(() => {
|
|
17
17
|
return props.data.length > 0;
|
|
18
18
|
});
|
|
19
|
+
const emit = __emit;
|
|
19
20
|
const slots = useSlots();
|
|
20
21
|
const renderColGroup = () => {
|
|
21
22
|
return h(
|
package/dist/js/tabs/tabs.js
CHANGED
|
@@ -12,9 +12,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
12
|
type: { default: "line" }
|
|
13
13
|
},
|
|
14
14
|
emits: ["update:active"],
|
|
15
|
-
setup(__props, { emit }) {
|
|
15
|
+
setup(__props, { emit: __emit }) {
|
|
16
16
|
const props = __props;
|
|
17
17
|
const showBaseline = computed(() => props.type === "line");
|
|
18
|
+
const emit = __emit;
|
|
18
19
|
const noactive = computed(() => props.active == null);
|
|
19
20
|
const activename = ref("");
|
|
20
21
|
const currentActive = computed({
|
package/dist/js/tree/tree.js
CHANGED
|
@@ -9,8 +9,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
nodeKey: {}
|
|
10
10
|
},
|
|
11
11
|
setup(__props, { expose: __expose }) {
|
|
12
|
-
const props = __props;
|
|
13
12
|
const Leaf = defineAsyncComponent(() => import("./treeleaf.js"));
|
|
13
|
+
const props = __props;
|
|
14
14
|
provide("parentlazy", props.lazy);
|
|
15
15
|
const flattenArr = computed(() => {
|
|
16
16
|
let data = flatten(props.data);
|
package/dist/js/tree/treeleaf.js
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, inject, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, normalizeStyle, normalizeClass, withDirectives, vModelCheckbox, toDisplayString, Fragment, renderList, createBlock, vShow } from "vue";
|
|
2
2
|
const _hoisted_1 = { class: "tdd-flow-root" };
|
|
3
|
-
const _hoisted_2 =
|
|
4
|
-
const _hoisted_3 = [
|
|
5
|
-
_hoisted_2
|
|
6
|
-
];
|
|
7
|
-
const _hoisted_4 = { class: "tdd-flex tdd-items-center" };
|
|
3
|
+
const _hoisted_2 = { class: "tdd-flex tdd-items-center" };
|
|
8
4
|
const __default__ = {
|
|
9
5
|
name: "Leaf"
|
|
10
6
|
};
|
|
@@ -79,9 +75,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
75
|
class: normalizeClass([[expendflag.value ? "tdd-rotate-0" : "-tdd-rotate-90", ableExpend.value ? "tdd-visible" : " tdd-invisible"], "tdd-fill-gray-400 tdd-w-3 tdd-h-3 tdd-transition tdd-inline-block"]),
|
|
80
76
|
xmlns: "http://www.w3.org/2000/svg",
|
|
81
77
|
viewBox: "0 0 10 10"
|
|
82
|
-
},
|
|
78
|
+
}, _cache[1] || (_cache[1] = [
|
|
79
|
+
createElementVNode("polygon", { points: "1,2.5 5,7.5 9,2.5" }, null, -1)
|
|
80
|
+
]), 2))
|
|
83
81
|
]),
|
|
84
|
-
createElementVNode("label",
|
|
82
|
+
createElementVNode("label", _hoisted_2, [
|
|
85
83
|
withDirectives(createElementVNode("input", {
|
|
86
84
|
type: "checkbox",
|
|
87
85
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.item.checked = $event),
|
package/dist/js/upload/upload.js
CHANGED
|
@@ -5,26 +5,6 @@ const _hoisted_2 = {
|
|
|
5
5
|
class: "tdd-mt-1 tdd-list-none tdd-space-y-1"
|
|
6
6
|
};
|
|
7
7
|
const _hoisted_3 = ["onClick"];
|
|
8
|
-
const _hoisted_4 = /* @__PURE__ */ createElementVNode("svg", {
|
|
9
|
-
class: "h-5 w-5 fill-gray-600",
|
|
10
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
11
|
-
width: "24",
|
|
12
|
-
height: "24",
|
|
13
|
-
viewBox: "0 0 24 24",
|
|
14
|
-
fill: "none"
|
|
15
|
-
}, [
|
|
16
|
-
/* @__PURE__ */ createElementVNode("g", null, [
|
|
17
|
-
/* @__PURE__ */ createElementVNode("path", {
|
|
18
|
-
"fill-rule": "evenodd",
|
|
19
|
-
"clip-rule": "evenodd",
|
|
20
|
-
d: "M16.7782 7.22943C16.4824 6.93364 16.0046 6.93364 15.7088 7.22943L12 10.9306L8.29124 7.22184C7.99545 6.92605 7.51763 6.92605 7.22184 7.22184C6.92605 7.51763 6.92605 7.99545 7.22184 8.29124L10.9306 12L7.22184 15.7088C6.92605 16.0046 6.92605 16.4824 7.22184 16.7782C7.51763 17.0739 7.99545 17.0739 8.29124 16.7782L12 13.0694L15.7088 16.7782C16.0046 17.0739 16.4824 17.0739 16.7782 16.7782C17.0739 16.4824 17.0739 16.0046 16.7782 15.7088L13.0694 12L16.7782 8.29124C17.0664 8.00303 17.0664 7.51763 16.7782 7.22943Z",
|
|
21
|
-
fill: "inherit"
|
|
22
|
-
})
|
|
23
|
-
])
|
|
24
|
-
], -1);
|
|
25
|
-
const _hoisted_5 = [
|
|
26
|
-
_hoisted_4
|
|
27
|
-
];
|
|
28
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
29
9
|
__name: "upload",
|
|
30
10
|
props: {
|
|
@@ -36,8 +16,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
16
|
multiple: { type: Boolean, default: false }
|
|
37
17
|
},
|
|
38
18
|
emits: ["getNewFile", "delOldFile"],
|
|
39
|
-
setup(__props, { expose: __expose, emit }) {
|
|
19
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
40
20
|
const props = __props;
|
|
21
|
+
const emit = __emit;
|
|
41
22
|
const FILEINPUT = ref();
|
|
42
23
|
const fileList = ref(props.fileList || []);
|
|
43
24
|
const fileGet = () => {
|
|
@@ -95,7 +76,25 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
76
|
createElementVNode("button", {
|
|
96
77
|
type: "button",
|
|
97
78
|
onClick: ($event) => DeleteFileHandle(d)
|
|
98
|
-
},
|
|
79
|
+
}, _cache[1] || (_cache[1] = [
|
|
80
|
+
createElementVNode("svg", {
|
|
81
|
+
class: "h-5 w-5 fill-gray-600",
|
|
82
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
83
|
+
width: "24",
|
|
84
|
+
height: "24",
|
|
85
|
+
viewBox: "0 0 24 24",
|
|
86
|
+
fill: "none"
|
|
87
|
+
}, [
|
|
88
|
+
createElementVNode("g", null, [
|
|
89
|
+
createElementVNode("path", {
|
|
90
|
+
"fill-rule": "evenodd",
|
|
91
|
+
"clip-rule": "evenodd",
|
|
92
|
+
d: "M16.7782 7.22943C16.4824 6.93364 16.0046 6.93364 15.7088 7.22943L12 10.9306L8.29124 7.22184C7.99545 6.92605 7.51763 6.92605 7.22184 7.22184C6.92605 7.51763 6.92605 7.99545 7.22184 8.29124L10.9306 12L7.22184 15.7088C6.92605 16.0046 6.92605 16.4824 7.22184 16.7782C7.51763 17.0739 7.99545 17.0739 8.29124 16.7782L12 13.0694L15.7088 16.7782C16.0046 17.0739 16.4824 17.0739 16.7782 16.7782C17.0739 16.4824 17.0739 16.0046 16.7782 15.7088L13.0694 12L16.7782 8.29124C17.0664 8.00303 17.0664 7.51763 16.7782 7.22943Z",
|
|
93
|
+
fill: "inherit"
|
|
94
|
+
})
|
|
95
|
+
])
|
|
96
|
+
], -1)
|
|
97
|
+
]), 8, _hoisted_3)
|
|
99
98
|
]);
|
|
100
99
|
}), 128))
|
|
101
100
|
])) : createCommentVNode("", true)
|
package/dist/radiogroup.css
CHANGED
|
@@ -29,14 +29,14 @@
|
|
|
29
29
|
border-radius: 9999px;
|
|
30
30
|
border-width: 1px;
|
|
31
31
|
--tw-border-opacity: 1;
|
|
32
|
-
border-color: rgb(209 213 219 / var(--tw-border-opacity));
|
|
32
|
+
border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
|
|
33
33
|
--tw-text-opacity: 1;
|
|
34
|
-
color: rgb(220 38 38 / var(--tw-text-opacity))
|
|
34
|
+
color: rgb(220 38 38 / var(--tw-text-opacity, 1))
|
|
35
35
|
}
|
|
36
36
|
.radioGroup .hiddeninput:checked {
|
|
37
37
|
border-color: transparent;
|
|
38
38
|
--tw-bg-opacity: 1;
|
|
39
|
-
background-color: rgb(37 99 235 / var(--tw-bg-opacity))
|
|
39
|
+
background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1))
|
|
40
40
|
}
|
|
41
41
|
.radioGroup .hiddeninput:focus {
|
|
42
42
|
outline: 2px solid transparent;
|
package/dist/select.css
CHANGED
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
}
|
|
11
11
|
.selectOption .label:hover {
|
|
12
12
|
--tw-bg-opacity: 1;
|
|
13
|
-
background-color: rgb(243 244 246 / var(--tw-bg-opacity))
|
|
13
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1))
|
|
14
14
|
}
|
|
15
15
|
.selectOption .labelselect {
|
|
16
16
|
--tw-bg-opacity: 1;
|
|
17
|
-
background-color: rgb(219 234 254 / var(--tw-bg-opacity));
|
|
17
|
+
background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
|
|
18
18
|
--tw-text-opacity: 1;
|
|
19
|
-
color: rgb(22 119 255 / var(--tw-text-opacity))
|
|
19
|
+
color: rgb(22 119 255 / var(--tw-text-opacity, 1))
|
|
20
20
|
}
|
package/dist/tabs.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
width: 100%;
|
|
5
5
|
flex-wrap: wrap;
|
|
6
6
|
--tw-text-opacity: 1;
|
|
7
|
-
color: rgb(102 102 102 / var(--tw-text-opacity))
|
|
7
|
+
color: rgb(102 102 102 / var(--tw-text-opacity, 1))
|
|
8
8
|
}
|
|
9
9
|
.ETab .ETab_Line_Btn {
|
|
10
10
|
-webkit-appearance: none;
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
font-size: 0.875rem;
|
|
20
20
|
line-height: 1.25rem;
|
|
21
21
|
--tw-text-opacity: 1;
|
|
22
|
-
color: rgb(1 64 153 / var(--tw-text-opacity))
|
|
22
|
+
color: rgb(1 64 153 / var(--tw-text-opacity, 1))
|
|
23
23
|
}
|
|
24
24
|
.ETab .ETab_Line_Btn .ETab_Line_Act {
|
|
25
25
|
--tw-text-opacity: 1;
|
|
26
|
-
color: rgb(1 64 153 / var(--tw-text-opacity))
|
|
26
|
+
color: rgb(1 64 153 / var(--tw-text-opacity, 1))
|
|
27
27
|
}
|
|
28
28
|
.ETab_Card {
|
|
29
29
|
--tw-bg-opacity: 1;
|
|
30
|
-
background-color: rgb(243 244 246 / var(--tw-bg-opacity))
|
|
30
|
+
background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1))
|
|
31
31
|
}
|
|
32
32
|
.ETab_Card .ETab_Card_Btn {
|
|
33
33
|
height: 2.75rem;
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
line-height: 1.25rem;
|
|
38
38
|
font-weight: 500;
|
|
39
39
|
--tw-text-opacity: 1;
|
|
40
|
-
color: rgb(1 64 153 / var(--tw-text-opacity));
|
|
40
|
+
color: rgb(1 64 153 / var(--tw-text-opacity, 1));
|
|
41
41
|
outline: 2px solid transparent;
|
|
42
42
|
outline-offset: 2px
|
|
43
43
|
}
|
|
44
44
|
.ETab_Card .ETab_Card_Btn:focus {
|
|
45
45
|
--tw-text-opacity: 1;
|
|
46
|
-
color: rgb(1 64 153 / var(--tw-text-opacity))
|
|
46
|
+
color: rgb(1 64 153 / var(--tw-text-opacity, 1))
|
|
47
47
|
}
|
|
48
48
|
.ETab_Card .ETab_Card_Btn .ETabline {
|
|
49
49
|
white-space: nowrap;
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
align-items: center;
|
|
58
58
|
justify-content: center;
|
|
59
59
|
--tw-bg-opacity: 1;
|
|
60
|
-
background-color: rgb(245 245 245 / var(--tw-bg-opacity))
|
|
60
|
+
background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1))
|
|
61
61
|
}
|
|
62
62
|
.ETab_Card .ETab_Card_Btn .ETablineActPr {
|
|
63
63
|
border-bottom-right-radius: 0.5rem
|
|
@@ -67,11 +67,11 @@
|
|
|
67
67
|
}
|
|
68
68
|
.ETab_Card .ETab_Card_Btn_Act {
|
|
69
69
|
--tw-bg-opacity: 1;
|
|
70
|
-
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
|
70
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
|
|
71
71
|
--tw-text-opacity: 1;
|
|
72
|
-
color: rgb(1 64 153 / var(--tw-text-opacity))
|
|
72
|
+
color: rgb(1 64 153 / var(--tw-text-opacity, 1))
|
|
73
73
|
}
|
|
74
74
|
.ETab_Card .ETab_Line_Btn_Btw {
|
|
75
75
|
--tw-bg-opacity: 1;
|
|
76
|
-
background-color: rgb(255 255 255 / var(--tw-bg-opacity))
|
|
76
|
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1))
|
|
77
77
|
}
|