@fangzhongya/fang-ui 0.1.32 → 0.1.33
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/common/list.cjs +2 -15
- package/dist/components/common/list.js +2 -15
- package/dist/components/index.scss +0 -1
- package/dist/components/labels/src/data.cjs +7 -2
- package/dist/components/labels/src/data.d.ts +6 -1
- package/dist/components/labels/src/data.js +7 -2
- package/dist/components/labels/src/index2.cjs +5 -5
- package/dist/components/labels/src/index2.js +5 -5
- package/dist/components/selects/src/data.cjs +4 -0
- package/dist/components/selects/src/data.d.ts +4 -0
- package/dist/components/selects/src/data.js +4 -0
- package/dist/components/selects/src/index2.cjs +79 -7
- package/dist/components/selects/src/index2.js +80 -8
- package/dist/components/uploads/src/index2.cjs +3 -0
- package/dist/components/uploads/src/index2.js +3 -0
- package/dist/css/index.css +0 -22
- package/dist/icons/index.json +1 -1
- package/dist/index.css +0 -22
- package/package.json +3 -3
|
@@ -53,17 +53,6 @@ const props = {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
const emits = ["update:modelValue", "change", "load"];
|
|
56
|
-
function isValue(v) {
|
|
57
|
-
if (v) {
|
|
58
|
-
return true;
|
|
59
|
-
} else {
|
|
60
|
-
const t = typeof v;
|
|
61
|
-
if (["boolean", "number"].includes(t)) {
|
|
62
|
-
return true;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return false;
|
|
66
|
-
}
|
|
67
56
|
function comHandle(props2, emit, config) {
|
|
68
57
|
const selectMultiple = vue.ref(false);
|
|
69
58
|
let getMultipleValue = (v) => {
|
|
@@ -92,7 +81,7 @@ function comHandle(props2, emit, config) {
|
|
|
92
81
|
});
|
|
93
82
|
function getValueObjs(v) {
|
|
94
83
|
var _a, _b;
|
|
95
|
-
if (
|
|
84
|
+
if (v !== void 0 && v !== null) {
|
|
96
85
|
if (selectMultiple.value && v instanceof Array) {
|
|
97
86
|
return (_a = props2.options) == null ? void 0 : _a.filter((o) => {
|
|
98
87
|
return v.includes(use.useVueValue(o, props2.prop));
|
|
@@ -102,15 +91,13 @@ function comHandle(props2, emit, config) {
|
|
|
102
91
|
return use.useVueValue(o, props2.prop) === v;
|
|
103
92
|
});
|
|
104
93
|
}
|
|
105
|
-
} else {
|
|
106
|
-
return v;
|
|
107
94
|
}
|
|
108
95
|
}
|
|
109
96
|
function setValue(type) {
|
|
110
97
|
let v = props2.modelValue;
|
|
111
98
|
if (type == 2) {
|
|
112
99
|
if (!(v instanceof Array)) {
|
|
113
|
-
if (
|
|
100
|
+
if (v !== void 0 && v !== null && v !== "") {
|
|
114
101
|
v = [v];
|
|
115
102
|
}
|
|
116
103
|
}
|
|
@@ -51,17 +51,6 @@ const props = {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
const emits = ["update:modelValue", "change", "load"];
|
|
54
|
-
function isValue(v) {
|
|
55
|
-
if (v) {
|
|
56
|
-
return true;
|
|
57
|
-
} else {
|
|
58
|
-
const t = typeof v;
|
|
59
|
-
if (["boolean", "number"].includes(t)) {
|
|
60
|
-
return true;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return false;
|
|
64
|
-
}
|
|
65
54
|
function comHandle(props2, emit, config) {
|
|
66
55
|
const selectMultiple = ref(false);
|
|
67
56
|
let getMultipleValue = (v) => {
|
|
@@ -90,7 +79,7 @@ function comHandle(props2, emit, config) {
|
|
|
90
79
|
});
|
|
91
80
|
function getValueObjs(v) {
|
|
92
81
|
var _a, _b;
|
|
93
|
-
if (
|
|
82
|
+
if (v !== void 0 && v !== null) {
|
|
94
83
|
if (selectMultiple.value && v instanceof Array) {
|
|
95
84
|
return (_a = props2.options) == null ? void 0 : _a.filter((o) => {
|
|
96
85
|
return v.includes(useVueValue(o, props2.prop));
|
|
@@ -100,15 +89,13 @@ function comHandle(props2, emit, config) {
|
|
|
100
89
|
return useVueValue(o, props2.prop) === v;
|
|
101
90
|
});
|
|
102
91
|
}
|
|
103
|
-
} else {
|
|
104
|
-
return v;
|
|
105
92
|
}
|
|
106
93
|
}
|
|
107
94
|
function setValue(type) {
|
|
108
95
|
let v = props2.modelValue;
|
|
109
96
|
if (type == 2) {
|
|
110
97
|
if (!(v instanceof Array)) {
|
|
111
|
-
if (
|
|
98
|
+
if (v !== void 0 && v !== null && v !== "") {
|
|
112
99
|
v = [v];
|
|
113
100
|
}
|
|
114
101
|
}
|
|
@@ -119,7 +119,6 @@
|
|
|
119
119
|
@use './tables/index.scss' as *;
|
|
120
120
|
@use './tablesp/index.scss' as *;
|
|
121
121
|
@use './tablespd/index.scss' as *;
|
|
122
|
-
@use './tabless/index.scss' as *;
|
|
123
122
|
@use './tablesv/index.scss' as *;
|
|
124
123
|
@use './tablesvp/index.scss' as *;
|
|
125
124
|
@use './tablesvpd/index.scss' as *;
|
|
@@ -5,10 +5,15 @@ const data = require("../../checks/src/data.cjs");
|
|
|
5
5
|
const name = "labels";
|
|
6
6
|
const dataProps = {
|
|
7
7
|
...data.dataProps,
|
|
8
|
-
|
|
9
|
-
type: Boolean
|
|
8
|
+
isWhole: {
|
|
9
|
+
type: Boolean,
|
|
10
|
+
default: true
|
|
10
11
|
},
|
|
11
12
|
whole: {
|
|
13
|
+
type: null,
|
|
14
|
+
default: ""
|
|
15
|
+
},
|
|
16
|
+
wholeName: {
|
|
12
17
|
type: String,
|
|
13
18
|
default: "全部"
|
|
14
19
|
},
|
|
@@ -5,10 +5,15 @@ import { comHandle } from '../../common/list';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const name = "labels";
|
|
7
7
|
export declare const dataProps: {
|
|
8
|
-
|
|
8
|
+
isWhole: {
|
|
9
9
|
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
10
11
|
};
|
|
11
12
|
whole: {
|
|
13
|
+
type: null;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
wholeName: {
|
|
12
17
|
type: StringConstructor;
|
|
13
18
|
default: string;
|
|
14
19
|
};
|
|
@@ -3,10 +3,15 @@ import { dataProps as dataProps$1, dataEmits as dataEmits$1 } from "../../checks
|
|
|
3
3
|
const name = "labels";
|
|
4
4
|
const dataProps = {
|
|
5
5
|
...dataProps$1,
|
|
6
|
-
|
|
7
|
-
type: Boolean
|
|
6
|
+
isWhole: {
|
|
7
|
+
type: Boolean,
|
|
8
|
+
default: true
|
|
8
9
|
},
|
|
9
10
|
whole: {
|
|
11
|
+
type: null,
|
|
12
|
+
default: ""
|
|
13
|
+
},
|
|
14
|
+
wholeName: {
|
|
10
15
|
type: String,
|
|
11
16
|
default: "全部"
|
|
12
17
|
},
|
|
@@ -38,19 +38,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
38
38
|
obj[d] = value2;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
|
-
const wholeValue =
|
|
41
|
+
const wholeValue = props.whole;
|
|
42
42
|
const options = vue.computed(() => {
|
|
43
43
|
const opts = [...props.options];
|
|
44
|
-
if (
|
|
44
|
+
if (props.isWhole) {
|
|
45
45
|
const obj = {
|
|
46
46
|
class: wholeClass
|
|
47
47
|
};
|
|
48
48
|
if (multiple.value) {
|
|
49
49
|
setPropsValue(obj, props.prop, wholeValue, "value");
|
|
50
50
|
} else {
|
|
51
|
-
setPropsValue(obj, props.prop,
|
|
51
|
+
setPropsValue(obj, props.prop, props.whole, "value");
|
|
52
52
|
}
|
|
53
|
-
setPropsValue(obj, props.label, props.
|
|
53
|
+
setPropsValue(obj, props.label, props.wholeName, "label");
|
|
54
54
|
opts.unshift(obj);
|
|
55
55
|
}
|
|
56
56
|
return opts;
|
|
@@ -78,7 +78,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
78
78
|
}
|
|
79
79
|
});
|
|
80
80
|
function onClickWholes(item, is) {
|
|
81
|
-
if (item.class === wholeClass) {
|
|
81
|
+
if ((item == null ? void 0 : item.class) === wholeClass) {
|
|
82
82
|
if (valueMultiple.value.includes(wholeValue)) {
|
|
83
83
|
valueMultiple.value = [];
|
|
84
84
|
} else {
|
|
@@ -36,19 +36,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
obj[d] = value2;
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
const wholeValue =
|
|
39
|
+
const wholeValue = props.whole;
|
|
40
40
|
const options = computed(() => {
|
|
41
41
|
const opts = [...props.options];
|
|
42
|
-
if (
|
|
42
|
+
if (props.isWhole) {
|
|
43
43
|
const obj = {
|
|
44
44
|
class: wholeClass
|
|
45
45
|
};
|
|
46
46
|
if (multiple.value) {
|
|
47
47
|
setPropsValue(obj, props.prop, wholeValue, "value");
|
|
48
48
|
} else {
|
|
49
|
-
setPropsValue(obj, props.prop,
|
|
49
|
+
setPropsValue(obj, props.prop, props.whole, "value");
|
|
50
50
|
}
|
|
51
|
-
setPropsValue(obj, props.label, props.
|
|
51
|
+
setPropsValue(obj, props.label, props.wholeName, "label");
|
|
52
52
|
opts.unshift(obj);
|
|
53
53
|
}
|
|
54
54
|
return opts;
|
|
@@ -76,7 +76,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
function onClickWholes(item, is) {
|
|
79
|
-
if (item.class === wholeClass) {
|
|
79
|
+
if ((item == null ? void 0 : item.class) === wholeClass) {
|
|
80
80
|
if (valueMultiple.value.includes(wholeValue)) {
|
|
81
81
|
valueMultiple.value = [];
|
|
82
82
|
} else {
|
|
@@ -34,11 +34,83 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
34
34
|
});
|
|
35
35
|
const emit = __emit;
|
|
36
36
|
const listFuObj = data.dataHandle(props, emit);
|
|
37
|
-
|
|
37
|
+
let value = listFuObj.value;
|
|
38
38
|
const multiple = listFuObj.multiple;
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
let setValue = (item) => {
|
|
40
|
+
return use.useVueValue(item, props.prop);
|
|
41
41
|
};
|
|
42
|
+
let onClickMultiple = (v, is) => {
|
|
43
|
+
emit("click-multiple", listFuObj.getValueObjs(v)[0], is);
|
|
44
|
+
};
|
|
45
|
+
if (props.isEmpty) {
|
|
46
|
+
const emptyValue = "__Symbol('empty')__" + (/* @__PURE__ */ new Date()).valueOf();
|
|
47
|
+
onClickMultiple = (v, is) => {
|
|
48
|
+
if (v === emptyValue) {
|
|
49
|
+
v = "";
|
|
50
|
+
}
|
|
51
|
+
emit("click-multiple", listFuObj.getValueObjs(v)[0], is);
|
|
52
|
+
};
|
|
53
|
+
const isOptionsEmpty = vue.computed(() => {
|
|
54
|
+
const arr = props.options.filter((o) => {
|
|
55
|
+
return use.useVueValue(o, props.prop) === "";
|
|
56
|
+
});
|
|
57
|
+
return arr.length > 0;
|
|
58
|
+
});
|
|
59
|
+
const setEmptyFun = () => {
|
|
60
|
+
if (isOptionsEmpty.value) {
|
|
61
|
+
setValue = (item) => {
|
|
62
|
+
const v = use.useVueValue(item, props.prop);
|
|
63
|
+
if (v === "") {
|
|
64
|
+
return emptyValue;
|
|
65
|
+
}
|
|
66
|
+
return v;
|
|
67
|
+
};
|
|
68
|
+
value = vue.computed({
|
|
69
|
+
set(v) {
|
|
70
|
+
if (multiple.value) {
|
|
71
|
+
listFuObj.value.value = (v ?? []).map((o) => {
|
|
72
|
+
if (o === emptyValue) {
|
|
73
|
+
return "";
|
|
74
|
+
}
|
|
75
|
+
return o;
|
|
76
|
+
});
|
|
77
|
+
} else {
|
|
78
|
+
if (v === emptyValue) {
|
|
79
|
+
listFuObj.value.value = "";
|
|
80
|
+
} else {
|
|
81
|
+
listFuObj.value.value = v;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
get() {
|
|
86
|
+
const v = listFuObj.value.value;
|
|
87
|
+
if (multiple.value) {
|
|
88
|
+
return (v ?? []).map((o) => {
|
|
89
|
+
if (o === "") {
|
|
90
|
+
return emptyValue;
|
|
91
|
+
}
|
|
92
|
+
return o;
|
|
93
|
+
});
|
|
94
|
+
} else {
|
|
95
|
+
if (v === "") {
|
|
96
|
+
return emptyValue;
|
|
97
|
+
}
|
|
98
|
+
return v;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
vue.watch(
|
|
105
|
+
() => isOptionsEmpty.value,
|
|
106
|
+
() => {
|
|
107
|
+
setEmptyFun();
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
immediate: true
|
|
111
|
+
}
|
|
112
|
+
);
|
|
113
|
+
}
|
|
42
114
|
const onChange = (v) => {
|
|
43
115
|
if (multiple.value) {
|
|
44
116
|
const obj = compareArray.compareArray(value.value || [], v || []);
|
|
@@ -46,8 +118,8 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
46
118
|
onClickMultiple(obj.value[0], is);
|
|
47
119
|
}
|
|
48
120
|
};
|
|
49
|
-
const onRemoveTag = (
|
|
50
|
-
onClickMultiple(
|
|
121
|
+
const onRemoveTag = (v) => {
|
|
122
|
+
onClickMultiple(v, true);
|
|
51
123
|
};
|
|
52
124
|
__expose(
|
|
53
125
|
index$4.useExpose(
|
|
@@ -69,7 +141,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
69
141
|
ref_key: "elRef",
|
|
70
142
|
ref: elRef,
|
|
71
143
|
modelValue: vue.unref(value),
|
|
72
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(value) ? value.value = $event :
|
|
144
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(value) ? value.value = $event : value = $event)
|
|
73
145
|
}, vue.unref(attrs).assem, {
|
|
74
146
|
multiple: vue.unref(multiple),
|
|
75
147
|
placeholder: placeholder.value,
|
|
@@ -80,7 +152,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
80
152
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(props).options, (item) => {
|
|
81
153
|
return vue.openBlock(), vue.createBlock(vue.unref(index$6.Option), {
|
|
82
154
|
label: vue.unref(use.useVueValue)(item, vue.unref(props).label),
|
|
83
|
-
value: vue.unref(
|
|
155
|
+
value: vue.unref(setValue)(item),
|
|
84
156
|
disabled: item == null ? void 0 : item.disabled
|
|
85
157
|
}, null, 8, ["label", "value", "disabled"]);
|
|
86
158
|
}), 256))
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, useAttrs, computed, createElementBlock, openBlock, mergeProps, unref, createVNode, isRef, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
1
|
+
import { defineComponent, ref, useAttrs, computed, watch, createElementBlock, openBlock, mergeProps, unref, createVNode, isRef, withCtx, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import { Select } from "../../select/index.js";
|
|
3
3
|
import { Option } from "../../option/index.js";
|
|
4
4
|
import { compareArray } from "@fangzhongya/utils/basic/array/compareArray";
|
|
@@ -32,11 +32,83 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
});
|
|
33
33
|
const emit = __emit;
|
|
34
34
|
const listFuObj = dataHandle(props, emit);
|
|
35
|
-
|
|
35
|
+
let value = listFuObj.value;
|
|
36
36
|
const multiple = listFuObj.multiple;
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
let setValue = (item) => {
|
|
38
|
+
return useVueValue(item, props.prop);
|
|
39
39
|
};
|
|
40
|
+
let onClickMultiple = (v, is) => {
|
|
41
|
+
emit("click-multiple", listFuObj.getValueObjs(v)[0], is);
|
|
42
|
+
};
|
|
43
|
+
if (props.isEmpty) {
|
|
44
|
+
const emptyValue = "__Symbol('empty')__" + (/* @__PURE__ */ new Date()).valueOf();
|
|
45
|
+
onClickMultiple = (v, is) => {
|
|
46
|
+
if (v === emptyValue) {
|
|
47
|
+
v = "";
|
|
48
|
+
}
|
|
49
|
+
emit("click-multiple", listFuObj.getValueObjs(v)[0], is);
|
|
50
|
+
};
|
|
51
|
+
const isOptionsEmpty = computed(() => {
|
|
52
|
+
const arr = props.options.filter((o) => {
|
|
53
|
+
return useVueValue(o, props.prop) === "";
|
|
54
|
+
});
|
|
55
|
+
return arr.length > 0;
|
|
56
|
+
});
|
|
57
|
+
const setEmptyFun = () => {
|
|
58
|
+
if (isOptionsEmpty.value) {
|
|
59
|
+
setValue = (item) => {
|
|
60
|
+
const v = useVueValue(item, props.prop);
|
|
61
|
+
if (v === "") {
|
|
62
|
+
return emptyValue;
|
|
63
|
+
}
|
|
64
|
+
return v;
|
|
65
|
+
};
|
|
66
|
+
value = computed({
|
|
67
|
+
set(v) {
|
|
68
|
+
if (multiple.value) {
|
|
69
|
+
listFuObj.value.value = (v ?? []).map((o) => {
|
|
70
|
+
if (o === emptyValue) {
|
|
71
|
+
return "";
|
|
72
|
+
}
|
|
73
|
+
return o;
|
|
74
|
+
});
|
|
75
|
+
} else {
|
|
76
|
+
if (v === emptyValue) {
|
|
77
|
+
listFuObj.value.value = "";
|
|
78
|
+
} else {
|
|
79
|
+
listFuObj.value.value = v;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
get() {
|
|
84
|
+
const v = listFuObj.value.value;
|
|
85
|
+
if (multiple.value) {
|
|
86
|
+
return (v ?? []).map((o) => {
|
|
87
|
+
if (o === "") {
|
|
88
|
+
return emptyValue;
|
|
89
|
+
}
|
|
90
|
+
return o;
|
|
91
|
+
});
|
|
92
|
+
} else {
|
|
93
|
+
if (v === "") {
|
|
94
|
+
return emptyValue;
|
|
95
|
+
}
|
|
96
|
+
return v;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
};
|
|
102
|
+
watch(
|
|
103
|
+
() => isOptionsEmpty.value,
|
|
104
|
+
() => {
|
|
105
|
+
setEmptyFun();
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
immediate: true
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
}
|
|
40
112
|
const onChange = (v) => {
|
|
41
113
|
if (multiple.value) {
|
|
42
114
|
const obj = compareArray(value.value || [], v || []);
|
|
@@ -44,8 +116,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
116
|
onClickMultiple(obj.value[0], is);
|
|
45
117
|
}
|
|
46
118
|
};
|
|
47
|
-
const onRemoveTag = (
|
|
48
|
-
onClickMultiple(
|
|
119
|
+
const onRemoveTag = (v) => {
|
|
120
|
+
onClickMultiple(v, true);
|
|
49
121
|
};
|
|
50
122
|
__expose(
|
|
51
123
|
useExpose(
|
|
@@ -67,7 +139,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
67
139
|
ref_key: "elRef",
|
|
68
140
|
ref: elRef,
|
|
69
141
|
modelValue: unref(value),
|
|
70
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(value) ? value.value = $event :
|
|
142
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(value) ? value.value = $event : value = $event)
|
|
71
143
|
}, unref(attrs).assem, {
|
|
72
144
|
multiple: unref(multiple),
|
|
73
145
|
placeholder: placeholder.value,
|
|
@@ -78,7 +150,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
150
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(props).options, (item) => {
|
|
79
151
|
return openBlock(), createBlock(unref(Option), {
|
|
80
152
|
label: unref(useVueValue)(item, unref(props).label),
|
|
81
|
-
value: unref(
|
|
153
|
+
value: unref(setValue)(item),
|
|
82
154
|
disabled: item == null ? void 0 : item.disabled
|
|
83
155
|
}, null, 8, ["label", "value", "disabled"]);
|
|
84
156
|
}), 256))
|
package/dist/css/index.css
CHANGED
|
@@ -1751,28 +1751,6 @@
|
|
|
1751
1751
|
justify-content: flex-end;
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
-
.tabless {
|
|
1755
|
-
width: 100%;
|
|
1756
|
-
flex: 1;
|
|
1757
|
-
display: flex;
|
|
1758
|
-
flex-direction: column;
|
|
1759
|
-
}
|
|
1760
|
-
.tabless-main {
|
|
1761
|
-
display: flex;
|
|
1762
|
-
flex-direction: column;
|
|
1763
|
-
flex: 1;
|
|
1764
|
-
width: 100%;
|
|
1765
|
-
}
|
|
1766
|
-
.tabless-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
|
|
1767
|
-
display: none;
|
|
1768
|
-
}
|
|
1769
|
-
.tabless-paginat {
|
|
1770
|
-
overflow: hidden;
|
|
1771
|
-
}
|
|
1772
|
-
.tabless-paginat .el-pagination {
|
|
1773
|
-
justify-content: flex-end;
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
1754
|
.tablesv {
|
|
1777
1755
|
width: 100%;
|
|
1778
1756
|
min-height: 100px;
|
package/dist/icons/index.json
CHANGED
package/dist/index.css
CHANGED
|
@@ -1751,28 +1751,6 @@
|
|
|
1751
1751
|
justify-content: flex-end;
|
|
1752
1752
|
}
|
|
1753
1753
|
|
|
1754
|
-
.tabless {
|
|
1755
|
-
width: 100%;
|
|
1756
|
-
flex: 1;
|
|
1757
|
-
display: flex;
|
|
1758
|
-
flex-direction: column;
|
|
1759
|
-
}
|
|
1760
|
-
.tabless-main {
|
|
1761
|
-
display: flex;
|
|
1762
|
-
flex-direction: column;
|
|
1763
|
-
flex: 1;
|
|
1764
|
-
width: 100%;
|
|
1765
|
-
}
|
|
1766
|
-
.tabless-main.is-radio .el-table__header .el-table-column--selection .el-checkbox {
|
|
1767
|
-
display: none;
|
|
1768
|
-
}
|
|
1769
|
-
.tabless-paginat {
|
|
1770
|
-
overflow: hidden;
|
|
1771
|
-
}
|
|
1772
|
-
.tabless-paginat .el-pagination {
|
|
1773
|
-
justify-content: flex-end;
|
|
1774
|
-
}
|
|
1775
|
-
|
|
1776
1754
|
.tablesv {
|
|
1777
1755
|
width: 100%;
|
|
1778
1756
|
min-height: 100px;
|
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.33",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description ": "fang-ui",
|
|
7
7
|
"keywords": [
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@fang-ui/icons": "0.0.1-0",
|
|
57
57
|
"@fang-ui/locale": "0.0.1-0",
|
|
58
58
|
"@fang-ui/theme": "0.0.1-0",
|
|
59
|
-
"@fang-ui/
|
|
60
|
-
"@fang-ui/
|
|
59
|
+
"@fang-ui/types": "0.0.1-0",
|
|
60
|
+
"@fang-ui/utils": "0.0.1-0"
|
|
61
61
|
},
|
|
62
62
|
"main": "./dist/index.cjs",
|
|
63
63
|
"module": "./dist/index.js",
|