@fangzhongya/fang-ui 0.0.58 → 0.0.60
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/array/src/data.cjs +3 -3
- package/dist/components/array/src/data.d.ts +0 -3
- package/dist/components/array/src/data.js +3 -3
- package/dist/components/array/src/index2.cjs +27 -11
- package/dist/components/array/src/index2.js +23 -7
- package/dist/components/common/use.cjs +1 -1
- package/dist/components/common/use.js +1 -1
- package/dist/components/dialogs/src/data.cjs +2 -4
- package/dist/components/dialogs/src/data.d.ts +0 -2
- package/dist/components/dialogs/src/data.js +2 -4
- package/dist/components/dialogs/src/index2.cjs +24 -12
- package/dist/components/dialogs/src/index2.js +17 -5
- package/dist/components/forms/index.css +3 -0
- package/dist/components/forms/index.scss +3 -0
- package/dist/components/forms/src/index2.cjs +16 -14
- package/dist/components/forms/src/index2.js +3 -1
- package/dist/components/forms/src/setup.cjs +11 -5
- package/dist/components/forms/src/setup.d.ts +1 -1
- package/dist/components/forms/src/setup.js +11 -5
- package/dist/components/forms/src/util.cjs +5 -4
- package/dist/components/forms/src/util.d.ts +1 -1
- package/dist/components/forms/src/util.js +5 -4
- package/dist/components/forms-drag/src/index2.cjs +96 -45
- package/dist/components/forms-drag/src/index2.js +91 -40
- package/dist/components/icon-picker/index.css +1 -0
- package/dist/components/icon-picker/index.scss +1 -0
- package/dist/components/iframe/index.css +4 -0
- package/dist/components/iframe/index.scss +4 -0
- package/dist/components/iframe/src/index2.cjs +19 -7
- package/dist/components/iframe/src/index2.js +20 -8
- package/dist/components/iframe/style/index2.scss +3 -0
- package/dist/components/index.cjs +110 -108
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.scss +2 -1
- package/dist/components/index2.scss +3 -2
- package/dist/components/input-history/index.css +7 -17
- package/dist/components/input-history/index.scss +34 -42
- package/dist/components/input-history/src/index2.cjs +3 -12
- package/dist/components/input-history/src/index2.js +3 -12
- package/dist/components/inputs/src/index2.cjs +11 -9
- package/dist/components/inputs/src/index2.js +3 -1
- package/dist/components/keep-com/src/data.d.ts +3 -0
- package/dist/components/lists/index.css +0 -5
- package/dist/components/lists/index.scss +0 -5
- package/dist/components/lists/src/index2.cjs +2 -5
- package/dist/components/lists/src/index2.js +3 -6
- package/dist/components/listsp/index.css +1 -5
- package/dist/components/listsp/src/index2.cjs +11 -9
- package/dist/components/listsp/src/index2.js +3 -1
- package/dist/components/no-data/index.cjs +9 -0
- package/dist/components/no-data/index.css +19 -0
- package/dist/components/no-data/index.d.ts +4 -0
- package/dist/components/no-data/index.js +9 -0
- package/dist/components/no-data/index.scss +8 -0
- package/dist/components/no-data/src/data.cjs +24 -0
- package/dist/components/no-data/src/data.d.ts +26 -0
- package/dist/components/no-data/src/data.js +24 -0
- package/dist/components/no-data/src/index.cjs +4 -0
- package/dist/components/no-data/src/index.js +4 -0
- package/dist/components/no-data/src/index2.cjs +34 -0
- package/dist/components/no-data/src/index2.js +34 -0
- package/dist/components/page/index.css +4 -0
- package/dist/components/page/set-column.css +8 -8
- package/dist/components/page/src/index2.cjs +41 -39
- package/dist/components/page/src/index2.js +15 -13
- package/dist/components/page/src/set-column.cjs +1 -1
- package/dist/components/page/src/set-column.js +1 -1
- package/dist/components/page/src/set-column2.cjs +3 -6
- package/dist/components/page/src/set-column2.js +4 -7
- package/dist/components/paging/index.css +1 -0
- package/dist/components/paging/index.scss +1 -0
- package/dist/components/paging/src/index2.cjs +18 -10
- package/dist/components/paging/src/index2.js +12 -4
- package/dist/components/selector/src/index2.cjs +17 -15
- package/dist/components/selector/src/index2.js +8 -6
- package/dist/components/tables/common/pagin.cjs +3 -3
- package/dist/components/tables/common/pagin.d.ts +1 -1
- package/dist/components/tables/common/pagin.js +3 -3
- package/dist/components/tables/src/index2.cjs +4 -7
- package/dist/components/tables/src/index2.js +3 -6
- package/dist/components/tablesp/index.css +1 -0
- package/dist/components/tablesp/src/index2.cjs +11 -9
- package/dist/components/tablesp/src/index2.js +3 -1
- package/dist/components/tabless/src/index2.cjs +11 -9
- package/dist/components/tabless/src/index2.js +3 -1
- package/dist/components/tablesv/src/index2.cjs +2 -5
- package/dist/components/tablesv/src/index2.js +3 -6
- package/dist/components/tablesvp/index.css +1 -0
- package/dist/components/tablesvp/src/index2.cjs +9 -7
- package/dist/components/tablesvp/src/index2.js +3 -1
- package/dist/css/forms.css +3 -0
- package/dist/css/icon-picker.css +1 -0
- package/dist/css/iframe.css +4 -0
- package/dist/css/index.css +44 -22
- package/dist/css/input-history.css +7 -17
- package/dist/css/lists.css +0 -5
- package/dist/css/listsp.css +1 -5
- package/dist/css/no-data.css +19 -0
- package/dist/css/page/set-column.css +8 -8
- package/dist/css/page.css +4 -0
- package/dist/css/paging.css +1 -0
- package/dist/css/tablesp.css +1 -0
- package/dist/css/tablesvp.css +1 -0
- package/dist/expand/{chunk-ID2WVA6N.js → chunk-3HYUAX6P.js} +2 -0
- package/dist/expand/{chunk-NEHCZ3EJ.cjs → chunk-IPHLXLMM.cjs} +2 -0
- package/dist/expand/components.cjs +5 -5
- package/dist/expand/components.js +1 -1
- package/dist/expand/config.cjs +2 -2
- package/dist/expand/config.js +1 -1
- package/dist/hooks/index.cjs +2 -0
- package/dist/hooks/index.js +3 -1
- package/dist/hooks/locale/index.cjs +51 -2
- package/dist/hooks/locale/index.d.ts +64 -3
- package/dist/hooks/locale/index.js +51 -2
- package/dist/icons/index.css +31 -31
- package/dist/icons/index.json +7 -7
- package/dist/index.cjs +128 -126
- package/dist/index.css +44 -22
- package/dist/index.js +2 -0
- package/dist/locale/en.cjs +38 -15
- package/dist/locale/en.d.ts +27 -4
- package/dist/locale/en.js +38 -15
- package/dist/locale/zh-cn.cjs +24 -3
- package/dist/locale/zh-cn.d.ts +23 -2
- package/dist/locale/zh-cn.js +24 -3
- package/dist/types/locale.d.ts +1 -1
- package/package.json +11 -11
- /package/dist/components/{forms-item → forms-items}/index.css +0 -0
- /package/dist/components/{option → keep-com}/index.css +0 -0
- /package/dist/css/{forms-item.css → forms-items.css} +0 -0
- /package/dist/css/{option.css → keep-com.css} +0 -0
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const index$
|
|
5
|
-
const index$
|
|
4
|
+
const index$4 = require("../../../directives/expose/index.cjs");
|
|
5
|
+
const index$3 = require("element-plus/es/components/input/index");
|
|
6
6
|
const data = require("./data.cjs");
|
|
7
|
-
const index$
|
|
8
|
-
const index = require("../../../hooks/inherit/index.cjs");
|
|
7
|
+
const index$2 = require("../../../hooks/cssname/index.cjs");
|
|
8
|
+
const index$1 = require("../../../hooks/inherit/index.cjs");
|
|
9
|
+
const index = require("../../../hooks/locale/index.cjs");
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
11
|
...{ inheritAttrs: false },
|
|
11
12
|
__name: "index",
|
|
12
13
|
props: data.dataProps,
|
|
13
14
|
emits: data.dataEmits,
|
|
14
15
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
|
-
const
|
|
16
|
-
const
|
|
16
|
+
const { getLocale } = index.useLocale();
|
|
17
|
+
const attrs = index$1.useInherit(vue.useAttrs());
|
|
18
|
+
const cs = index$2.useCssName("inputs");
|
|
17
19
|
const props = __props;
|
|
18
20
|
const slots = vue.useSlots();
|
|
19
21
|
const emit = __emit;
|
|
@@ -21,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
21
23
|
const once = setOnce();
|
|
22
24
|
const placeholder = vue.computed(() => {
|
|
23
25
|
if (typeof props.placeholder == "undefined") {
|
|
24
|
-
return "
|
|
26
|
+
return getLocale("form.import");
|
|
25
27
|
} else {
|
|
26
28
|
if (props.oncePlaceholder) {
|
|
27
29
|
return once(props.placeholder);
|
|
@@ -57,7 +59,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
57
59
|
ref: refEl,
|
|
58
60
|
class: vue.unref(cs).z()
|
|
59
61
|
}, vue.unref(attrs).root), [
|
|
60
|
-
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
62
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$3.ElInput), vue.mergeProps({
|
|
61
63
|
class: vue.unref(cs).z("input"),
|
|
62
64
|
modelValue: value.value,
|
|
63
65
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
@@ -71,7 +73,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
71
73
|
};
|
|
72
74
|
})
|
|
73
75
|
]), 1040, ["class", "modelValue", "placeholder"])), [
|
|
74
|
-
[vue.unref(index$
|
|
76
|
+
[vue.unref(index$4.default), {}]
|
|
75
77
|
])
|
|
76
78
|
], 16);
|
|
77
79
|
};
|
|
@@ -4,12 +4,14 @@ import { ElInput } from "element-plus/es/components/input/index";
|
|
|
4
4
|
import { dataEmits, dataProps } from "./data.js";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
6
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
7
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
...{ inheritAttrs: false },
|
|
9
10
|
__name: "index",
|
|
10
11
|
props: dataProps,
|
|
11
12
|
emits: dataEmits,
|
|
12
13
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14
|
+
const { getLocale } = useLocale();
|
|
13
15
|
const attrs = useInherit(useAttrs());
|
|
14
16
|
const cs = useCssName("inputs");
|
|
15
17
|
const props = __props;
|
|
@@ -19,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19
21
|
const once = setOnce();
|
|
20
22
|
const placeholder = computed(() => {
|
|
21
23
|
if (typeof props.placeholder == "undefined") {
|
|
22
|
-
return "
|
|
24
|
+
return getLocale("form.import");
|
|
23
25
|
} else {
|
|
24
26
|
if (props.oncePlaceholder) {
|
|
25
27
|
return once(props.placeholder);
|
|
@@ -6,6 +6,7 @@ require("element-plus/es/components/loading/style/css");
|
|
|
6
6
|
const vue = require("vue");
|
|
7
7
|
const data = require("./data.cjs");
|
|
8
8
|
const index$3 = require("element-plus/es/components/card/index");
|
|
9
|
+
const index$5 = require("../../no-data/index.cjs");
|
|
9
10
|
const index$2 = require("../../../hooks/cssname/index.cjs");
|
|
10
11
|
const index$1 = require("../../../hooks/locale/index.cjs");
|
|
11
12
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
@@ -255,11 +256,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
255
256
|
])
|
|
256
257
|
], 14, _hoisted_1);
|
|
257
258
|
}), 256)) : vue.renderSlot(_ctx.$slots, vue.unref(data.dataSlot).noData, { key: 1 }, () => [
|
|
258
|
-
vue.
|
|
259
|
-
class: vue.normalizeClass(vue.unref(cs).z("no-data"))
|
|
260
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
261
|
-
vue.createElementVNode("span", null, "暂无数据", -1)
|
|
262
|
-
])], 2)
|
|
259
|
+
vue.createVNode(vue.unref(index$5.NoData))
|
|
263
260
|
])
|
|
264
261
|
], 6)), [
|
|
265
262
|
[_directive_loading, props.loading]
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { ElLoadingDirective } from "element-plus/es";
|
|
2
2
|
import "element-plus/es/components/base/style/css";
|
|
3
3
|
import "element-plus/es/components/loading/style/css";
|
|
4
|
-
import { defineComponent, useSlots, useAttrs, ref, watch, createElementBlock, openBlock, mergeProps, unref, withDirectives, normalizeStyle, normalizeClass, renderSlot, Fragment, renderList, createVNode, createSlots, withCtx
|
|
4
|
+
import { defineComponent, useSlots, useAttrs, ref, watch, createElementBlock, openBlock, mergeProps, unref, withDirectives, normalizeStyle, normalizeClass, renderSlot, Fragment, renderList, createVNode, createSlots, withCtx } from "vue";
|
|
5
5
|
import { dataExpose, dataSlot, dataEmits, dataProps } from "./data.js";
|
|
6
6
|
import { ElCard } from "element-plus/es/components/card/index";
|
|
7
|
+
import { NoData } from "../../no-data/index.js";
|
|
7
8
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
8
9
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
9
10
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
@@ -253,11 +254,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
253
254
|
])
|
|
254
255
|
], 14, _hoisted_1);
|
|
255
256
|
}), 256)) : renderSlot(_ctx.$slots, unref(dataSlot).noData, { key: 1 }, () => [
|
|
256
|
-
|
|
257
|
-
class: normalizeClass(unref(cs).z("no-data"))
|
|
258
|
-
}, [..._cache[0] || (_cache[0] = [
|
|
259
|
-
createElementVNode("span", null, "暂无数据", -1)
|
|
260
|
-
])], 2)
|
|
257
|
+
createVNode(unref(NoData))
|
|
261
258
|
])
|
|
262
259
|
], 6)), [
|
|
263
260
|
[_directive_loading, props.loading]
|
|
@@ -49,11 +49,6 @@
|
|
|
49
49
|
.lists-list-item .el-card {
|
|
50
50
|
background-color: transparent;
|
|
51
51
|
}
|
|
52
|
-
.lists-list .lists-no-data {
|
|
53
|
-
text-align: center;
|
|
54
|
-
margin-top: 20px;
|
|
55
|
-
color: #999;
|
|
56
|
-
}
|
|
57
52
|
|
|
58
53
|
.paging {
|
|
59
54
|
padding: 10px;
|
|
@@ -67,6 +62,7 @@
|
|
|
67
62
|
}
|
|
68
63
|
.paging-slot > span {
|
|
69
64
|
margin-right: 10px;
|
|
65
|
+
white-space: nowrap;
|
|
70
66
|
}
|
|
71
67
|
.paging .el-pagination__total {
|
|
72
68
|
font-size: 14px;
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
const index$
|
|
5
|
-
const index$
|
|
6
|
-
const index$
|
|
4
|
+
const index$2 = require("../../lists/index.cjs");
|
|
5
|
+
const index$4 = require("../../paging/index.cjs");
|
|
6
|
+
const index$3 = require("../../../directives/scroll/index.cjs");
|
|
7
7
|
const pagin = require("../../tables/common/pagin.cjs");
|
|
8
|
-
const index = require("../../../hooks/cssname/index.cjs");
|
|
8
|
+
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
9
|
+
const index = require("../../../hooks/locale/index.cjs");
|
|
9
10
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
10
11
|
__name: "index",
|
|
11
12
|
props: pagin.dataProps,
|
|
12
13
|
emits: pagin.dataEmit,
|
|
13
14
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
14
|
-
const
|
|
15
|
+
const { getLocale } = index.useLocale();
|
|
16
|
+
const cs = index$1.useCssName("listsp");
|
|
15
17
|
const slots = vue.useSlots();
|
|
16
18
|
const props = __props;
|
|
17
19
|
const emit = __emit;
|
|
@@ -37,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
37
39
|
onCurrentChange,
|
|
38
40
|
paginat,
|
|
39
41
|
data
|
|
40
|
-
} = pagin.useInit(props, emit, refTable, true);
|
|
42
|
+
} = pagin.useInit(props, emit, refTable, getLocale, true);
|
|
41
43
|
__expose({
|
|
42
44
|
getSelection,
|
|
43
45
|
initData,
|
|
@@ -51,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
51
53
|
class: vue.normalizeClass(vue.unref(cs).z()),
|
|
52
54
|
style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
|
|
53
55
|
}, [
|
|
54
|
-
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
56
|
+
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$2.Lists), vue.mergeProps(vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
|
|
55
57
|
height: vue.unref(height),
|
|
56
58
|
ref_key: "refTable",
|
|
57
59
|
ref: refTable,
|
|
@@ -82,9 +84,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
82
84
|
};
|
|
83
85
|
})
|
|
84
86
|
]), 1040, ["height", "class", "scroll-selector", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])), [
|
|
85
|
-
[vue.unref(index$
|
|
87
|
+
[vue.unref(index$3.default), vue.unref(scroll)]
|
|
86
88
|
]),
|
|
87
|
-
((_b = vue.unref(paginat)) == null ? void 0 : _b.is) && !vue.unref(paginat).scroll ? (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
89
|
+
((_b = vue.unref(paginat)) == null ? void 0 : _b.is) && !vue.unref(paginat).scroll ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
|
|
88
90
|
class: vue.unref(cs).z("paginat"),
|
|
89
91
|
paginat: vue.unref(paginat),
|
|
90
92
|
total: vue.unref(data).total,
|
|
@@ -4,11 +4,13 @@ import { Paging } from "../../paging/index.js";
|
|
|
4
4
|
import vScroll from "../../../directives/scroll/index.js";
|
|
5
5
|
import { useInit, dataEmit, dataProps } from "../../tables/common/pagin.js";
|
|
6
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
7
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
9
|
__name: "index",
|
|
9
10
|
props: dataProps,
|
|
10
11
|
emits: dataEmit,
|
|
11
12
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13
|
+
const { getLocale } = useLocale();
|
|
12
14
|
const cs = useCssName("listsp");
|
|
13
15
|
const slots = useSlots();
|
|
14
16
|
const props = __props;
|
|
@@ -35,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
37
|
onCurrentChange,
|
|
36
38
|
paginat,
|
|
37
39
|
data
|
|
38
|
-
} = useInit(props, emit, refTable, true);
|
|
40
|
+
} = useInit(props, emit, refTable, getLocale, true);
|
|
39
41
|
__expose({
|
|
40
42
|
getSelection,
|
|
41
43
|
initData,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
;/* empty css */
|
|
4
|
+
const withInstall = require("../../utils/vues/withInstall.cjs");
|
|
5
|
+
require("./src/index.cjs");
|
|
6
|
+
const index_vue_vue_type_script_setup_true_lang = require("./src/index2.cjs");
|
|
7
|
+
const NoData = withInstall.withInstall(index_vue_vue_type_script_setup_true_lang.default, "NoData");
|
|
8
|
+
exports.NoData = NoData;
|
|
9
|
+
exports.default = NoData;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--on: rgb(91, 189, 246);
|
|
3
|
+
--color-primary: #409eff;
|
|
4
|
+
--bag-primary: #409eff;
|
|
5
|
+
--bag-primary-text: #fff;
|
|
6
|
+
--border: #eee;
|
|
7
|
+
--layout-panel-gap: 10px;
|
|
8
|
+
--layout-panel-padding: 20px;
|
|
9
|
+
--layout-form-item-padding-right: var(
|
|
10
|
+
--layout-panel-gap
|
|
11
|
+
);
|
|
12
|
+
--g-main-bg: var(--bg-color-page);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.no-data {
|
|
16
|
+
text-align: center;
|
|
17
|
+
margin-top: 20px;
|
|
18
|
+
color: #999;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const buildProps = require("../../../utils/vues/buildProps.cjs");
|
|
4
|
+
const dataProps = buildProps.buildProps({
|
|
5
|
+
/**
|
|
6
|
+
* @props { String } text='暂无数据' ( )
|
|
7
|
+
* 提示文本
|
|
8
|
+
*/
|
|
9
|
+
text: {
|
|
10
|
+
type: String
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
const dataEmits = {
|
|
14
|
+
change: (evt) => {
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
const dataSlot = {
|
|
18
|
+
default: "default"
|
|
19
|
+
};
|
|
20
|
+
const dataExpose = {};
|
|
21
|
+
exports.dataEmits = dataEmits;
|
|
22
|
+
exports.dataExpose = dataExpose;
|
|
23
|
+
exports.dataProps = dataProps;
|
|
24
|
+
exports.dataSlot = dataSlot;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ExtractPublicPropTypes } from 'vue';
|
|
2
|
+
export declare const dataProps: {
|
|
3
|
+
/**
|
|
4
|
+
* @props { String } text='暂无数据' ( )
|
|
5
|
+
* 提示文本
|
|
6
|
+
*/
|
|
7
|
+
text: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type DataProps = ExtractPublicPropTypes<typeof dataProps>;
|
|
12
|
+
/**
|
|
13
|
+
*/
|
|
14
|
+
export declare const dataEmits: {
|
|
15
|
+
change: (evt: string | string[]) => void;
|
|
16
|
+
};
|
|
17
|
+
export type DataEmits = typeof dataEmits;
|
|
18
|
+
/**
|
|
19
|
+
* @slot default 默认插槽
|
|
20
|
+
*/
|
|
21
|
+
export declare const dataSlot: {
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
*/
|
|
26
|
+
export declare const dataExpose: {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { buildProps } from "../../../utils/vues/buildProps.js";
|
|
2
|
+
const dataProps = buildProps({
|
|
3
|
+
/**
|
|
4
|
+
* @props { String } text='暂无数据' ( )
|
|
5
|
+
* 提示文本
|
|
6
|
+
*/
|
|
7
|
+
text: {
|
|
8
|
+
type: String
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
const dataEmits = {
|
|
12
|
+
change: (evt) => {
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
const dataSlot = {
|
|
16
|
+
default: "default"
|
|
17
|
+
};
|
|
18
|
+
const dataExpose = {};
|
|
19
|
+
export {
|
|
20
|
+
dataEmits,
|
|
21
|
+
dataExpose,
|
|
22
|
+
dataProps,
|
|
23
|
+
dataSlot
|
|
24
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const vue = require("vue");
|
|
4
|
+
const data = require("./data.cjs");
|
|
5
|
+
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
6
|
+
const index = require("../../../hooks/locale/index.cjs");
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: data.dataProps,
|
|
10
|
+
emits: data.dataEmits,
|
|
11
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12
|
+
const { getPropsDefault } = index.useLocale();
|
|
13
|
+
const cs = index$1.useCssName("no-data");
|
|
14
|
+
const prs = __props;
|
|
15
|
+
const props = getPropsDefault(prs, [
|
|
16
|
+
{
|
|
17
|
+
prop: "text",
|
|
18
|
+
locale: "nodata"
|
|
19
|
+
}
|
|
20
|
+
]);
|
|
21
|
+
const emit = __emit;
|
|
22
|
+
__expose({
|
|
23
|
+
...data.dataExpose
|
|
24
|
+
});
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
27
|
+
class: vue.normalizeClass(vue.unref(cs).z())
|
|
28
|
+
}, [
|
|
29
|
+
vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(props).text), 1)
|
|
30
|
+
], 2);
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, normalizeClass, unref, createElementVNode, toDisplayString } from "vue";
|
|
2
|
+
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
|
+
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
4
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "index",
|
|
7
|
+
props: dataProps,
|
|
8
|
+
emits: dataEmits,
|
|
9
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
10
|
+
const { getPropsDefault } = useLocale();
|
|
11
|
+
const cs = useCssName("no-data");
|
|
12
|
+
const prs = __props;
|
|
13
|
+
const props = getPropsDefault(prs, [
|
|
14
|
+
{
|
|
15
|
+
prop: "text",
|
|
16
|
+
locale: "nodata"
|
|
17
|
+
}
|
|
18
|
+
]);
|
|
19
|
+
const emit = __emit;
|
|
20
|
+
__expose({
|
|
21
|
+
...dataExpose
|
|
22
|
+
});
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
return openBlock(), createElementBlock("div", {
|
|
25
|
+
class: normalizeClass(unref(cs).z())
|
|
26
|
+
}, [
|
|
27
|
+
createElementVNode("div", null, toDisplayString(unref(props).text), 1)
|
|
28
|
+
], 2);
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
_sfc_main as default
|
|
34
|
+
};
|
|
@@ -99,6 +99,9 @@
|
|
|
99
99
|
.forms-elf.center .el-form-item__label {
|
|
100
100
|
justify-content: center;
|
|
101
101
|
}
|
|
102
|
+
.forms .forms-li.forms-buts {
|
|
103
|
+
margin-right: 0;
|
|
104
|
+
}
|
|
102
105
|
.forms-buts-div .el-button {
|
|
103
106
|
height: inherit;
|
|
104
107
|
}
|
|
@@ -215,6 +218,7 @@
|
|
|
215
218
|
}
|
|
216
219
|
.paging-slot > span {
|
|
217
220
|
margin-right: 10px;
|
|
221
|
+
white-space: nowrap;
|
|
218
222
|
}
|
|
219
223
|
.paging .el-pagination__total {
|
|
220
224
|
font-size: 14px;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.set-column-dialog-main[data-v-
|
|
1
|
+
.set-column-dialog-main[data-v-f43f186a] {
|
|
2
2
|
font-size: 16px;
|
|
3
3
|
display: flex;
|
|
4
4
|
}
|
|
5
|
-
.set-column-dialog-main .set-column-check[data-v-
|
|
5
|
+
.set-column-dialog-main .set-column-check[data-v-f43f186a] {
|
|
6
6
|
flex: 1;
|
|
7
7
|
}
|
|
8
|
-
.set-column-dialog-main .set-column-check .set-column-check-list[data-v-
|
|
8
|
+
.set-column-dialog-main .set-column-check .set-column-check-list[data-v-f43f186a] {
|
|
9
9
|
padding: 10px;
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: row;
|
|
12
12
|
flex-wrap: wrap;
|
|
13
13
|
overflow-y: auto;
|
|
14
14
|
}
|
|
15
|
-
.set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li[data-v-
|
|
15
|
+
.set-column-dialog-main .set-column-check .set-column-check-list .set-column-check-list-li[data-v-f43f186a] {
|
|
16
16
|
width: 130px;
|
|
17
17
|
}
|
|
18
|
-
.set-column-dialog-main .set-column-already[data-v-
|
|
18
|
+
.set-column-dialog-main .set-column-already[data-v-f43f186a] {
|
|
19
19
|
border-left: 1px solid #999;
|
|
20
20
|
padding-left: 20px;
|
|
21
21
|
width: 260px;
|
|
22
22
|
}
|
|
23
|
-
.set-column-dialog-main .set-column-already .set-column-already-list[data-v-
|
|
23
|
+
.set-column-dialog-main .set-column-already .set-column-already-list[data-v-f43f186a] {
|
|
24
24
|
padding: 10px 10px 10px 0;
|
|
25
25
|
}
|
|
26
|
-
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li[data-v-
|
|
26
|
+
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li[data-v-f43f186a] {
|
|
27
27
|
height: 40px;
|
|
28
28
|
line-height: 40px;
|
|
29
29
|
border-bottom: 1px solid #ccc;
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
align-items: center;
|
|
32
32
|
justify-content: space-between;
|
|
33
33
|
}
|
|
34
|
-
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v[data-v-
|
|
34
|
+
.set-column-dialog-main .set-column-already .set-column-already-list .set-column-already-li .set-column-already-li-v[data-v-f43f186a] {
|
|
35
35
|
display: flex;
|
|
36
36
|
flex: 1;
|
|
37
37
|
align-items: center;
|