@fangzhongya/fang-ui 0.1.80 → 0.1.81
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/components/edit-data/src/data/bigint2.cjs +2 -2
- package/dist/components/edit-data/src/data/bigint2.js +3 -3
- package/dist/components/edit-data/src/data/boolean2.cjs +2 -2
- package/dist/components/edit-data/src/data/boolean2.js +3 -3
- package/dist/components/edit-data/src/data/date2.cjs +2 -2
- package/dist/components/edit-data/src/data/date2.js +3 -3
- package/dist/components/edit-data/src/data/not2.cjs +2 -2
- package/dist/components/edit-data/src/data/not2.js +3 -3
- package/dist/components/edit-data/src/data/number2.cjs +2 -2
- package/dist/components/edit-data/src/data/number2.js +3 -3
- package/dist/components/edit-data/src/data/string2.cjs +3 -3
- package/dist/components/edit-data/src/data/string2.js +4 -4
- package/dist/components/edit-data/src/data/symbol2.cjs +2 -2
- package/dist/components/edit-data/src/data/symbol2.js +3 -3
- package/dist/components/edit-data/src/data.cjs +7 -1
- package/dist/components/edit-data/src/data.d.ts +10 -2
- package/dist/components/edit-data/src/data.js +7 -1
- package/dist/components/edit-data/src/index2.cjs +6 -6
- package/dist/components/edit-data/src/index2.js +6 -6
- package/dist/components/edit-data-add/src/index2.cjs +10 -10
- package/dist/components/edit-data-add/src/index2.js +10 -10
- package/dist/icons/index.json +1 -1
- package/package.json +2 -2
- /package/dist/components/{collapse-item → global-config}/index.css +0 -0
- /package/dist/css/{collapse-item.css → global-config.css} +0 -0
|
@@ -35,10 +35,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
35
35
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
36
36
|
class: vue.normalizeClass(vue.unref(cs).z("bigint"))
|
|
37
37
|
}, [
|
|
38
|
-
vue.createVNode(vue.unref(index$2.InputNum), {
|
|
38
|
+
vue.createVNode(vue.unref(index$2.InputNum), vue.mergeProps(props.config, {
|
|
39
39
|
modelValue: value.value,
|
|
40
40
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
41
|
-
}, null,
|
|
41
|
+
}), null, 16, ["modelValue"])
|
|
42
42
|
], 2);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { dataDataEmits, dataDataProps, name } from "../data.js";
|
|
3
3
|
import { useCssName } from "../../../../hooks/cssname/index.js";
|
|
4
4
|
import { useLocale } from "../../../../hooks/locale/index.js";
|
|
@@ -33,10 +33,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
return openBlock(), createElementBlock("div", {
|
|
34
34
|
class: normalizeClass(unref(cs).z("bigint"))
|
|
35
35
|
}, [
|
|
36
|
-
createVNode(unref(InputNum), {
|
|
36
|
+
createVNode(unref(InputNum), mergeProps(props.config, {
|
|
37
37
|
modelValue: value.value,
|
|
38
38
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
39
|
-
}, null,
|
|
39
|
+
}), null, 16, ["modelValue"])
|
|
40
40
|
], 2);
|
|
41
41
|
};
|
|
42
42
|
}
|
|
@@ -45,11 +45,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
45
45
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
46
46
|
class: vue.normalizeClass(vue.unref(cs).z("boolean"))
|
|
47
47
|
}, [
|
|
48
|
-
vue.createVNode(vue.unref(index$2.Switchs), {
|
|
48
|
+
vue.createVNode(vue.unref(index$2.Switchs), vue.mergeProps(props.config, {
|
|
49
49
|
options,
|
|
50
50
|
modelValue: value.value,
|
|
51
51
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
52
|
-
}, null,
|
|
52
|
+
}), null, 16, ["modelValue"])
|
|
53
53
|
], 2);
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { name, dataDataEmits, dataDataProps } from "../data.js";
|
|
3
3
|
import { useCssName } from "../../../../hooks/cssname/index.js";
|
|
4
4
|
import { useLocale } from "../../../../hooks/locale/index.js";
|
|
@@ -43,11 +43,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
43
43
|
return openBlock(), createElementBlock("div", {
|
|
44
44
|
class: normalizeClass(unref(cs).z("boolean"))
|
|
45
45
|
}, [
|
|
46
|
-
createVNode(unref(Switchs), {
|
|
46
|
+
createVNode(unref(Switchs), mergeProps(props.config, {
|
|
47
47
|
options,
|
|
48
48
|
modelValue: value.value,
|
|
49
49
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
50
|
-
}, null,
|
|
50
|
+
}), null, 16, ["modelValue"])
|
|
51
51
|
], 2);
|
|
52
52
|
};
|
|
53
53
|
}
|
|
@@ -36,11 +36,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
36
36
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
37
37
|
class: vue.normalizeClass(vue.unref(cs).z("date"))
|
|
38
38
|
}, [
|
|
39
|
-
vue.createVNode(vue.unref(index$2.Dates), {
|
|
39
|
+
vue.createVNode(vue.unref(index$2.Dates), vue.mergeProps(props.config, {
|
|
40
40
|
modelValue: value.value,
|
|
41
41
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
42
42
|
type: "datetime"
|
|
43
|
-
}, null,
|
|
43
|
+
}), null, 16, ["modelValue"])
|
|
44
44
|
], 2);
|
|
45
45
|
};
|
|
46
46
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { dataDataEmits, dataDataProps, name } from "../data.js";
|
|
3
3
|
import { Dates } from "../../../dates/index.js";
|
|
4
4
|
import { useCssName } from "../../../../hooks/cssname/index.js";
|
|
@@ -34,11 +34,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
return openBlock(), createElementBlock("div", {
|
|
35
35
|
class: normalizeClass(unref(cs).z("date"))
|
|
36
36
|
}, [
|
|
37
|
-
createVNode(unref(Dates), {
|
|
37
|
+
createVNode(unref(Dates), mergeProps(props.config, {
|
|
38
38
|
modelValue: value.value,
|
|
39
39
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
40
40
|
type: "datetime"
|
|
41
|
-
}, null,
|
|
41
|
+
}), null, 16, ["modelValue"])
|
|
42
42
|
], 2);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -44,11 +44,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
44
44
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
45
45
|
class: vue.normalizeClass(vue.unref(cs).z("not"))
|
|
46
46
|
}, [
|
|
47
|
-
vue.createVNode(vue.unref(index$2.Checks), {
|
|
47
|
+
vue.createVNode(vue.unref(index$2.Checks), vue.mergeProps(props.config, {
|
|
48
48
|
options,
|
|
49
49
|
modelValue: value.value,
|
|
50
50
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
51
|
-
}, null,
|
|
51
|
+
}), null, 16, ["modelValue"])
|
|
52
52
|
], 2);
|
|
53
53
|
};
|
|
54
54
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { dataDataEmits, dataDataProps, name } from "../data.js";
|
|
3
3
|
import { useCssName } from "../../../../hooks/cssname/index.js";
|
|
4
4
|
import { useLocale } from "../../../../hooks/locale/index.js";
|
|
@@ -42,11 +42,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
42
42
|
return openBlock(), createElementBlock("div", {
|
|
43
43
|
class: normalizeClass(unref(cs).z("not"))
|
|
44
44
|
}, [
|
|
45
|
-
createVNode(unref(Checks), {
|
|
45
|
+
createVNode(unref(Checks), mergeProps(props.config, {
|
|
46
46
|
options,
|
|
47
47
|
modelValue: value.value,
|
|
48
48
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
49
|
-
}, null,
|
|
49
|
+
}), null, 16, ["modelValue"])
|
|
50
50
|
], 2);
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -35,10 +35,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
35
35
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
36
36
|
class: vue.normalizeClass(vue.unref(cs).z("number"))
|
|
37
37
|
}, [
|
|
38
|
-
vue.createVNode(vue.unref(index$2.InputNum), {
|
|
38
|
+
vue.createVNode(vue.unref(index$2.InputNum), vue.mergeProps(props.config, {
|
|
39
39
|
modelValue: value.value,
|
|
40
40
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
41
|
-
}, null,
|
|
41
|
+
}), null, 16, ["modelValue"])
|
|
42
42
|
], 2);
|
|
43
43
|
};
|
|
44
44
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { name, dataDataEmits, dataDataProps } from "../data.js";
|
|
3
3
|
import { useCssName } from "../../../../hooks/cssname/index.js";
|
|
4
4
|
import { useLocale } from "../../../../hooks/locale/index.js";
|
|
@@ -33,10 +33,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
return openBlock(), createElementBlock("div", {
|
|
34
34
|
class: normalizeClass(unref(cs).z("number"))
|
|
35
35
|
}, [
|
|
36
|
-
createVNode(unref(InputNum), {
|
|
36
|
+
createVNode(unref(InputNum), mergeProps(props.config, {
|
|
37
37
|
modelValue: value.value,
|
|
38
38
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
39
|
-
}, null,
|
|
39
|
+
}), null, 16, ["modelValue"])
|
|
40
40
|
], 2);
|
|
41
41
|
};
|
|
42
42
|
}
|
|
@@ -35,11 +35,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
35
35
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
36
36
|
class: vue.normalizeClass(vue.unref(cs).z("string"))
|
|
37
37
|
}, [
|
|
38
|
-
vue.createVNode(vue.unref(index$2.Inputs), {
|
|
39
|
-
type: "textarea",
|
|
38
|
+
vue.createVNode(vue.unref(index$2.Inputs), vue.mergeProps(props.config, {
|
|
39
|
+
type: props.config.type || "textarea",
|
|
40
40
|
modelValue: value.value,
|
|
41
41
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
42
|
-
}, null,
|
|
42
|
+
}), null, 16, ["type", "modelValue"])
|
|
43
43
|
], 2);
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { name, dataDataEmits, dataDataProps } from "../data.js";
|
|
3
3
|
import { useCssName } from "../../../../hooks/cssname/index.js";
|
|
4
4
|
import { useLocale } from "../../../../hooks/locale/index.js";
|
|
@@ -33,11 +33,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
return openBlock(), createElementBlock("div", {
|
|
34
34
|
class: normalizeClass(unref(cs).z("string"))
|
|
35
35
|
}, [
|
|
36
|
-
createVNode(unref(Inputs), {
|
|
37
|
-
type: "textarea",
|
|
36
|
+
createVNode(unref(Inputs), mergeProps(props.config, {
|
|
37
|
+
type: props.config.type || "textarea",
|
|
38
38
|
modelValue: value.value,
|
|
39
39
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
40
|
-
}, null,
|
|
40
|
+
}), null, 16, ["type", "modelValue"])
|
|
41
41
|
], 2);
|
|
42
42
|
};
|
|
43
43
|
}
|
|
@@ -48,10 +48,10 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
48
48
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
49
49
|
class: vue.normalizeClass(vue.unref(cs).z("symbol"))
|
|
50
50
|
}, [
|
|
51
|
-
vue.createVNode(vue.unref(index$2.Inputs), {
|
|
51
|
+
vue.createVNode(vue.unref(index$2.Inputs), vue.mergeProps(props.config, {
|
|
52
52
|
modelValue: value.value,
|
|
53
53
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
54
|
-
}, null,
|
|
54
|
+
}), null, 16, ["modelValue"])
|
|
55
55
|
], 2);
|
|
56
56
|
};
|
|
57
57
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, createElementBlock, openBlock, normalizeClass, unref, createVNode, mergeProps } from "vue";
|
|
2
2
|
import { dataDataEmits, dataDataProps, name } from "../data.js";
|
|
3
3
|
import { useCssName } from "../../../../hooks/cssname/index.js";
|
|
4
4
|
import { useLocale } from "../../../../hooks/locale/index.js";
|
|
@@ -46,10 +46,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
return openBlock(), createElementBlock("div", {
|
|
47
47
|
class: normalizeClass(unref(cs).z("symbol"))
|
|
48
48
|
}, [
|
|
49
|
-
createVNode(unref(Inputs), {
|
|
49
|
+
createVNode(unref(Inputs), mergeProps(props.config, {
|
|
50
50
|
modelValue: value.value,
|
|
51
51
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
52
|
-
}, null,
|
|
52
|
+
}), null, 16, ["modelValue"])
|
|
53
53
|
], 2);
|
|
54
54
|
};
|
|
55
55
|
}
|
|
@@ -10,7 +10,13 @@ const dataProps = buildProps.buildProps({
|
|
|
10
10
|
type: {
|
|
11
11
|
type: String
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
types: { type: [Array, String] },
|
|
14
|
+
config: {
|
|
15
|
+
type: Object,
|
|
16
|
+
default() {
|
|
17
|
+
return {};
|
|
18
|
+
}
|
|
19
|
+
},
|
|
14
20
|
/**
|
|
15
21
|
* @props { } modelValue 值
|
|
16
22
|
* @model
|
|
@@ -13,7 +13,7 @@ export declare const dataProps: {
|
|
|
13
13
|
type: {
|
|
14
14
|
type: StringConstructor;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
types: {
|
|
17
17
|
type: (StringConstructor | {
|
|
18
18
|
(arrayLength: number): string[];
|
|
19
19
|
(...items: string[]): string[];
|
|
@@ -31,6 +31,10 @@ export declare const dataProps: {
|
|
|
31
31
|
readonly [Symbol.species]: ArrayConstructor;
|
|
32
32
|
})[];
|
|
33
33
|
};
|
|
34
|
+
config: {
|
|
35
|
+
type: ObjectConstructor;
|
|
36
|
+
default(): {};
|
|
37
|
+
};
|
|
34
38
|
/**
|
|
35
39
|
* @props { } modelValue 值
|
|
36
40
|
* @model
|
|
@@ -103,7 +107,7 @@ export declare const dataDataProps: {
|
|
|
103
107
|
type: {
|
|
104
108
|
type: StringConstructor;
|
|
105
109
|
};
|
|
106
|
-
|
|
110
|
+
types: {
|
|
107
111
|
type: (StringConstructor | {
|
|
108
112
|
(arrayLength: number): string[];
|
|
109
113
|
(...items: string[]): string[];
|
|
@@ -121,6 +125,10 @@ export declare const dataDataProps: {
|
|
|
121
125
|
readonly [Symbol.species]: ArrayConstructor;
|
|
122
126
|
})[];
|
|
123
127
|
};
|
|
128
|
+
config: {
|
|
129
|
+
type: ObjectConstructor;
|
|
130
|
+
default(): {};
|
|
131
|
+
};
|
|
124
132
|
/**
|
|
125
133
|
* @props { } modelValue 值
|
|
126
134
|
* @model
|
|
@@ -8,7 +8,13 @@ const dataProps = buildProps({
|
|
|
8
8
|
type: {
|
|
9
9
|
type: String
|
|
10
10
|
},
|
|
11
|
-
|
|
11
|
+
types: { type: [Array, String] },
|
|
12
|
+
config: {
|
|
13
|
+
type: Object,
|
|
14
|
+
default() {
|
|
15
|
+
return {};
|
|
16
|
+
}
|
|
17
|
+
},
|
|
12
18
|
/**
|
|
13
19
|
* @props { } modelValue 值
|
|
14
20
|
* @model
|
|
@@ -127,11 +127,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
127
127
|
if (tps.value.length > 0) {
|
|
128
128
|
return tps.value;
|
|
129
129
|
} else {
|
|
130
|
-
if (props.
|
|
131
|
-
if (typeof props.
|
|
132
|
-
return [props.
|
|
130
|
+
if (props.types) {
|
|
131
|
+
if (typeof props.types === "string") {
|
|
132
|
+
return [props.types];
|
|
133
133
|
} else {
|
|
134
|
-
return props.
|
|
134
|
+
return props.types;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
return [];
|
|
@@ -151,11 +151,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
151
151
|
title: type.value
|
|
152
152
|
}, [
|
|
153
153
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(compon.value), vue.mergeProps(vue.unref(props), {
|
|
154
|
-
|
|
154
|
+
types: typeobjs.value,
|
|
155
155
|
type: type.value,
|
|
156
156
|
modelValue: value.value,
|
|
157
157
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
158
|
-
}), null, 16, ["
|
|
158
|
+
}), null, 16, ["types", "type", "modelValue"]))
|
|
159
159
|
], 10, _hoisted_1);
|
|
160
160
|
};
|
|
161
161
|
}
|
|
@@ -125,11 +125,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
if (tps.value.length > 0) {
|
|
126
126
|
return tps.value;
|
|
127
127
|
} else {
|
|
128
|
-
if (props.
|
|
129
|
-
if (typeof props.
|
|
130
|
-
return [props.
|
|
128
|
+
if (props.types) {
|
|
129
|
+
if (typeof props.types === "string") {
|
|
130
|
+
return [props.types];
|
|
131
131
|
} else {
|
|
132
|
-
return props.
|
|
132
|
+
return props.types;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
return [];
|
|
@@ -149,11 +149,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
149
|
title: type.value
|
|
150
150
|
}, [
|
|
151
151
|
(openBlock(), createBlock(resolveDynamicComponent(compon.value), mergeProps(unref(props), {
|
|
152
|
-
|
|
152
|
+
types: typeobjs.value,
|
|
153
153
|
type: type.value,
|
|
154
154
|
modelValue: value.value,
|
|
155
155
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
156
|
-
}), null, 16, ["
|
|
156
|
+
}), null, 16, ["types", "type", "modelValue"]))
|
|
157
157
|
], 10, _hoisted_1);
|
|
158
158
|
};
|
|
159
159
|
}
|
|
@@ -93,11 +93,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
93
93
|
};
|
|
94
94
|
const options = vue.computed(() => {
|
|
95
95
|
let arr = [];
|
|
96
|
-
if (props.
|
|
97
|
-
if (typeof props.
|
|
98
|
-
arr.push(props.
|
|
96
|
+
if (props.types) {
|
|
97
|
+
if (typeof props.types === "string") {
|
|
98
|
+
arr.push(props.types);
|
|
99
99
|
} else {
|
|
100
|
-
arr = props.
|
|
100
|
+
arr = props.types;
|
|
101
101
|
}
|
|
102
102
|
arr = arr.filter((v2) => Boolean(v2)).map((v2) => getType(v2));
|
|
103
103
|
}
|
|
@@ -114,11 +114,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
114
|
if (tps.value.length > 0) {
|
|
115
115
|
return tps.value;
|
|
116
116
|
} else {
|
|
117
|
-
if (props.
|
|
118
|
-
if (typeof props.
|
|
119
|
-
return [props.
|
|
117
|
+
if (props.types) {
|
|
118
|
+
if (typeof props.types === "string") {
|
|
119
|
+
return [props.types];
|
|
120
120
|
} else {
|
|
121
|
-
return props.
|
|
121
|
+
return props.types;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
return [];
|
|
@@ -200,11 +200,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
200
200
|
], 2),
|
|
201
201
|
typevalue.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
202
202
|
(vue.openBlock(), vue.createBlock(vue.unref(index$7.EditData), vue.mergeProps({ key: typevalue.value }, vue.unref(props), {
|
|
203
|
-
|
|
203
|
+
types: typeobjs.value,
|
|
204
204
|
type: typevalue.value,
|
|
205
205
|
modelValue: valueData.value,
|
|
206
206
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => valueData.value = $event)
|
|
207
|
-
}), null, 16, ["
|
|
207
|
+
}), null, 16, ["types", "type", "modelValue"]))
|
|
208
208
|
])) : vue.createCommentVNode("", true)
|
|
209
209
|
], 2)
|
|
210
210
|
], 2),
|
|
@@ -91,11 +91,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
91
|
};
|
|
92
92
|
const options = computed(() => {
|
|
93
93
|
let arr = [];
|
|
94
|
-
if (props.
|
|
95
|
-
if (typeof props.
|
|
96
|
-
arr.push(props.
|
|
94
|
+
if (props.types) {
|
|
95
|
+
if (typeof props.types === "string") {
|
|
96
|
+
arr.push(props.types);
|
|
97
97
|
} else {
|
|
98
|
-
arr = props.
|
|
98
|
+
arr = props.types;
|
|
99
99
|
}
|
|
100
100
|
arr = arr.filter((v2) => Boolean(v2)).map((v2) => getType(v2));
|
|
101
101
|
}
|
|
@@ -112,11 +112,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
112
|
if (tps.value.length > 0) {
|
|
113
113
|
return tps.value;
|
|
114
114
|
} else {
|
|
115
|
-
if (props.
|
|
116
|
-
if (typeof props.
|
|
117
|
-
return [props.
|
|
115
|
+
if (props.types) {
|
|
116
|
+
if (typeof props.types === "string") {
|
|
117
|
+
return [props.types];
|
|
118
118
|
} else {
|
|
119
|
-
return props.
|
|
119
|
+
return props.types;
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
return [];
|
|
@@ -198,11 +198,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
198
198
|
], 2),
|
|
199
199
|
typevalue.value ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
200
200
|
(openBlock(), createBlock(unref(EditData), mergeProps({ key: typevalue.value }, unref(props), {
|
|
201
|
-
|
|
201
|
+
types: typeobjs.value,
|
|
202
202
|
type: typevalue.value,
|
|
203
203
|
modelValue: valueData.value,
|
|
204
204
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => valueData.value = $event)
|
|
205
|
-
}), null, 16, ["
|
|
205
|
+
}), null, 16, ["types", "type", "modelValue"]))
|
|
206
206
|
])) : createCommentVNode("", true)
|
|
207
207
|
], 2)
|
|
208
208
|
], 2),
|
package/dist/icons/index.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fangzhongya/fang-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.81",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"vxe-table": "4.6.20",
|
|
54
54
|
"@fang-ui/components": "0.0.1-0",
|
|
55
55
|
"@fang-ui/directives": "0.0.1-0",
|
|
56
|
-
"@fang-ui/icons": "0.0.1-0",
|
|
57
56
|
"@fang-ui/hooks": "0.0.1-0",
|
|
57
|
+
"@fang-ui/icons": "0.0.1-0",
|
|
58
58
|
"@fang-ui/locale": "0.0.1-0",
|
|
59
59
|
"@fang-ui/theme": "0.0.1-0",
|
|
60
60
|
"@fang-ui/types": "0.0.1-0",
|
|
File without changes
|
|
File without changes
|