@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
|
@@ -3,6 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
5
|
require("../../../hooks/index.cjs");
|
|
6
|
+
const index$3 = require("element-plus/es/components/loading/index");
|
|
6
7
|
const index = require("../../../hooks/locale/index.cjs");
|
|
7
8
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
8
9
|
const index$2 = require("../../../hooks/inherit/index.cjs");
|
|
@@ -14,27 +15,38 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
14
15
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
15
16
|
const { getLocale } = index.useLocale();
|
|
16
17
|
const cs = index$1.useCssName("iframe");
|
|
17
|
-
const attrs = index$2.useInherit();
|
|
18
|
+
const attrs = index$2.useInherit(vue.useAttrs());
|
|
18
19
|
const props = __props;
|
|
19
20
|
const emit = __emit;
|
|
21
|
+
const loading = vue.ref(false);
|
|
22
|
+
const src = vue.computed(() => {
|
|
23
|
+
const url = props.url;
|
|
24
|
+
if (url) {
|
|
25
|
+
loading.value = true;
|
|
26
|
+
}
|
|
27
|
+
return url;
|
|
28
|
+
});
|
|
20
29
|
const onLoad = () => {
|
|
30
|
+
loading.value = false;
|
|
21
31
|
emit("load");
|
|
22
32
|
};
|
|
23
33
|
__expose({
|
|
24
34
|
...data.dataExpose
|
|
25
35
|
});
|
|
26
36
|
return (_ctx, _cache) => {
|
|
27
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
28
|
-
class: vue.
|
|
29
|
-
}, [
|
|
30
|
-
vue.createElementVNode("iframe", vue.mergeProps(vue.unref(attrs), {
|
|
37
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
38
|
+
class: vue.unref(cs).z()
|
|
39
|
+
}, vue.unref(attrs).root), [
|
|
40
|
+
vue.createElementVNode("iframe", vue.mergeProps(vue.unref(attrs).assem, {
|
|
31
41
|
width: props.width,
|
|
32
42
|
height: props.height,
|
|
33
43
|
frameborder: props.frameborder,
|
|
34
44
|
onLoad,
|
|
35
|
-
src:
|
|
45
|
+
src: src.value
|
|
36
46
|
}), null, 16, _hoisted_1)
|
|
37
|
-
],
|
|
47
|
+
], 16)), [
|
|
48
|
+
[vue.unref(index$3.vLoading), loading.value]
|
|
49
|
+
]);
|
|
38
50
|
};
|
|
39
51
|
}
|
|
40
52
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, useAttrs, ref, computed, withDirectives, openBlock, createElementBlock, mergeProps, unref, createElementVNode } from "vue";
|
|
2
2
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
3
3
|
import "../../../hooks/index.js";
|
|
4
|
+
import { vLoading } from "element-plus/es/components/loading/index";
|
|
4
5
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
5
6
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
7
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
@@ -12,27 +13,38 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
12
13
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
13
14
|
const { getLocale } = useLocale();
|
|
14
15
|
const cs = useCssName("iframe");
|
|
15
|
-
const attrs = useInherit();
|
|
16
|
+
const attrs = useInherit(useAttrs());
|
|
16
17
|
const props = __props;
|
|
17
18
|
const emit = __emit;
|
|
19
|
+
const loading = ref(false);
|
|
20
|
+
const src = computed(() => {
|
|
21
|
+
const url = props.url;
|
|
22
|
+
if (url) {
|
|
23
|
+
loading.value = true;
|
|
24
|
+
}
|
|
25
|
+
return url;
|
|
26
|
+
});
|
|
18
27
|
const onLoad = () => {
|
|
28
|
+
loading.value = false;
|
|
19
29
|
emit("load");
|
|
20
30
|
};
|
|
21
31
|
__expose({
|
|
22
32
|
...dataExpose
|
|
23
33
|
});
|
|
24
34
|
return (_ctx, _cache) => {
|
|
25
|
-
return openBlock(), createElementBlock("div", {
|
|
26
|
-
class:
|
|
27
|
-
}, [
|
|
28
|
-
createElementVNode("iframe", mergeProps(unref(attrs), {
|
|
35
|
+
return withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
36
|
+
class: unref(cs).z()
|
|
37
|
+
}, unref(attrs).root), [
|
|
38
|
+
createElementVNode("iframe", mergeProps(unref(attrs).assem, {
|
|
29
39
|
width: props.width,
|
|
30
40
|
height: props.height,
|
|
31
41
|
frameborder: props.frameborder,
|
|
32
42
|
onLoad,
|
|
33
|
-
src:
|
|
43
|
+
src: src.value
|
|
34
44
|
}), null, 16, _hoisted_1)
|
|
35
|
-
],
|
|
45
|
+
], 16)), [
|
|
46
|
+
[unref(vLoading), loading.value]
|
|
47
|
+
]);
|
|
36
48
|
};
|
|
37
49
|
}
|
|
38
50
|
});
|
|
@@ -61,60 +61,61 @@ const index$V = require("./box-teleport/index.cjs");
|
|
|
61
61
|
const index$W = require("./box-title/index.cjs");
|
|
62
62
|
const index$X = require("./box/index.cjs");
|
|
63
63
|
const index$Y = require("./dialogs/index.cjs");
|
|
64
|
-
const index$Z = require("./
|
|
65
|
-
const index$_ = require("./
|
|
66
|
-
const index$$ = require("./
|
|
67
|
-
const index$10 = require("./
|
|
68
|
-
const index$11 = require("./stick-
|
|
69
|
-
const index$12 = require("./stick-
|
|
70
|
-
const index$13 = require("./window/index.cjs");
|
|
71
|
-
const index$14 = require("./
|
|
72
|
-
const index$15 = require("./
|
|
73
|
-
const index$16 = require("./icon/index.cjs");
|
|
74
|
-
const index$17 = require("./
|
|
75
|
-
const index$18 = require("./
|
|
76
|
-
const index$19 = require("./
|
|
77
|
-
const index$1a = require("./
|
|
78
|
-
const index$1b = require("./
|
|
79
|
-
const index$1c = require("./
|
|
80
|
-
const index$1d = require("./
|
|
81
|
-
const index$1e = require("./
|
|
82
|
-
const index$1f = require("./
|
|
83
|
-
const index$1g = require("./select
|
|
84
|
-
const index$1h = require("./select-
|
|
85
|
-
const index$1i = require("./
|
|
86
|
-
const index$1j = require("./
|
|
87
|
-
const index$1k = require("./
|
|
88
|
-
const index$1l = require("./
|
|
89
|
-
const index$1m = require("./
|
|
90
|
-
const index$1n = require("./
|
|
91
|
-
const index$1o = require("./
|
|
92
|
-
const index$1p = require("./dates-
|
|
93
|
-
const index$1q = require("./dates/index.cjs");
|
|
94
|
-
const index$1r = require("./
|
|
95
|
-
const index$1s = require("./edit/index.cjs");
|
|
96
|
-
const index$1t = require("./
|
|
97
|
-
const index$1u = require("./
|
|
98
|
-
const index$1v = require("./
|
|
99
|
-
const index$1w = require("./input-
|
|
100
|
-
const index$1x = require("./input-
|
|
101
|
-
const index$1y = require("./input-
|
|
102
|
-
const index$1z = require("./
|
|
103
|
-
const index$1A = require("./
|
|
104
|
-
const index$1B = require("./
|
|
105
|
-
const index$1C = require("./
|
|
106
|
-
const index$1D = require("./
|
|
107
|
-
const index$1E = require("./
|
|
108
|
-
const index$1F = require("./
|
|
109
|
-
const index$1G = require("./
|
|
110
|
-
const index$1H = require("./
|
|
111
|
-
const index$1I = require("./
|
|
112
|
-
const index$1J = require("./
|
|
113
|
-
const index$1K = require("./
|
|
114
|
-
const index$1L = require("./
|
|
115
|
-
const index$1M = require("./
|
|
116
|
-
const index$1N = require("./
|
|
117
|
-
const index$1O = require("./
|
|
64
|
+
const index$Z = require("./no-data/index.cjs");
|
|
65
|
+
const index$_ = require("./popup/index.cjs");
|
|
66
|
+
const index$$ = require("./right-key/index.cjs");
|
|
67
|
+
const index$10 = require("./seamless-scroll/index.cjs");
|
|
68
|
+
const index$11 = require("./stick-div/index.cjs");
|
|
69
|
+
const index$12 = require("./stick-edge/index.cjs");
|
|
70
|
+
const index$13 = require("./stick-window/index.cjs");
|
|
71
|
+
const index$14 = require("./window/index.cjs");
|
|
72
|
+
const index$15 = require("./global-config/index.cjs");
|
|
73
|
+
const index$16 = require("./icon-picker/index.cjs");
|
|
74
|
+
const index$17 = require("./icon/index.cjs");
|
|
75
|
+
const index$18 = require("./iframe/index.cjs");
|
|
76
|
+
const index$19 = require("./keep-com/index.cjs");
|
|
77
|
+
const index$1a = require("./menus/index.cjs");
|
|
78
|
+
const index$1b = require("./page/index.cjs");
|
|
79
|
+
const index$1c = require("./retract/index.cjs");
|
|
80
|
+
const index$1d = require("./choice-select/index.cjs");
|
|
81
|
+
const index$1e = require("./company-select/index.cjs");
|
|
82
|
+
const index$1f = require("./department-select/index.cjs");
|
|
83
|
+
const index$1g = require("./role-select/index.cjs");
|
|
84
|
+
const index$1h = require("./select-dialog/index.cjs");
|
|
85
|
+
const index$1i = require("./select-popover/index.cjs");
|
|
86
|
+
const index$1j = require("./tree-select-box/index.cjs");
|
|
87
|
+
const index$1k = require("./user-select/index.cjs");
|
|
88
|
+
const index$1l = require("./array/index.cjs");
|
|
89
|
+
const index$1m = require("./buttons/index.cjs");
|
|
90
|
+
const index$1n = require("./cascaders/index.cjs");
|
|
91
|
+
const index$1o = require("./checks/index.cjs");
|
|
92
|
+
const index$1p = require("./dates-divide/index.cjs");
|
|
93
|
+
const index$1q = require("./dates-picker/index.cjs");
|
|
94
|
+
const index$1r = require("./dates/index.cjs");
|
|
95
|
+
const index$1s = require("./edit-float/index.cjs");
|
|
96
|
+
const index$1t = require("./edit/index.cjs");
|
|
97
|
+
const index$1u = require("./history/index.cjs");
|
|
98
|
+
const index$1v = require("./images/index.cjs");
|
|
99
|
+
const index$1w = require("./input-array/index.cjs");
|
|
100
|
+
const index$1x = require("./input-history/index.cjs");
|
|
101
|
+
const index$1y = require("./input-num/index.cjs");
|
|
102
|
+
const index$1z = require("./input-select/index.cjs");
|
|
103
|
+
const index$1A = require("./inputs/index.cjs");
|
|
104
|
+
const index$1B = require("./labels/index.cjs");
|
|
105
|
+
const index$1C = require("./select-scroll/index.cjs");
|
|
106
|
+
const index$1D = require("./selector/index.cjs");
|
|
107
|
+
const index$1E = require("./selects/index.cjs");
|
|
108
|
+
const index$1F = require("./switchs/index.cjs");
|
|
109
|
+
const index$1G = require("./text/index.cjs");
|
|
110
|
+
const index$1H = require("./list/index.cjs");
|
|
111
|
+
const index$1I = require("./lists/index.cjs");
|
|
112
|
+
const index$1J = require("./listsp/index.cjs");
|
|
113
|
+
const index$1K = require("./paging/index.cjs");
|
|
114
|
+
const index$1L = require("./tables/index.cjs");
|
|
115
|
+
const index$1M = require("./tablesp/index.cjs");
|
|
116
|
+
const index$1N = require("./tabless/index.cjs");
|
|
117
|
+
const index$1O = require("./tablesv/index.cjs");
|
|
118
|
+
const index$1P = require("./tablesvp/index.cjs");
|
|
118
119
|
const index$b = require("./loading/src/index.cjs");
|
|
119
120
|
exports.Button = index.Button;
|
|
120
121
|
exports.Card = index$1.Card;
|
|
@@ -176,58 +177,59 @@ exports.BoxTeleport = index$V.BoxTeleport;
|
|
|
176
177
|
exports.BoxTitle = index$W.BoxTitle;
|
|
177
178
|
exports.Box = index$X.Box;
|
|
178
179
|
exports.Dialogs = index$Y.Dialogs;
|
|
179
|
-
exports.
|
|
180
|
-
exports.
|
|
181
|
-
exports.
|
|
182
|
-
exports.
|
|
183
|
-
exports.
|
|
184
|
-
exports.
|
|
185
|
-
exports.
|
|
186
|
-
exports.
|
|
187
|
-
exports.
|
|
188
|
-
exports.
|
|
189
|
-
exports.
|
|
190
|
-
exports.
|
|
191
|
-
exports.
|
|
192
|
-
exports.
|
|
193
|
-
exports.
|
|
194
|
-
exports.
|
|
195
|
-
exports.
|
|
196
|
-
exports.
|
|
197
|
-
exports.
|
|
198
|
-
exports.
|
|
199
|
-
exports.
|
|
200
|
-
exports.
|
|
201
|
-
exports.
|
|
202
|
-
exports.
|
|
203
|
-
exports.
|
|
204
|
-
exports.
|
|
205
|
-
exports.
|
|
206
|
-
exports.
|
|
207
|
-
exports.
|
|
208
|
-
exports.
|
|
209
|
-
exports.
|
|
210
|
-
exports.
|
|
211
|
-
exports.
|
|
212
|
-
exports.
|
|
213
|
-
exports.
|
|
214
|
-
exports.
|
|
215
|
-
exports.
|
|
216
|
-
exports.
|
|
217
|
-
exports.
|
|
218
|
-
exports.
|
|
219
|
-
exports.
|
|
220
|
-
exports.
|
|
221
|
-
exports.
|
|
222
|
-
exports.
|
|
223
|
-
exports.
|
|
224
|
-
exports.
|
|
225
|
-
exports.
|
|
226
|
-
exports.
|
|
227
|
-
exports.
|
|
228
|
-
exports.
|
|
229
|
-
exports.
|
|
230
|
-
exports.
|
|
231
|
-
exports.
|
|
232
|
-
exports.
|
|
180
|
+
exports.NoData = index$Z.NoData;
|
|
181
|
+
exports.Popup = index$_.Popup;
|
|
182
|
+
exports.RightKey = index$$.RightKey;
|
|
183
|
+
exports.SeamlessScroll = index$10.SeamlessScroll;
|
|
184
|
+
exports.StickDiv = index$11.StickDiv;
|
|
185
|
+
exports.StickEdge = index$12.StickEdge;
|
|
186
|
+
exports.StickWindow = index$13.StickWindow;
|
|
187
|
+
exports.Window = index$14.Window;
|
|
188
|
+
exports.GlobalConfig = index$15.GlobalConfig;
|
|
189
|
+
exports.IconPicker = index$16.IconPicker;
|
|
190
|
+
exports.Icon = index$17.Icon;
|
|
191
|
+
exports.Iframe = index$18.Iframe;
|
|
192
|
+
exports.KeepCom = index$19.KeepCom;
|
|
193
|
+
exports.Menus = index$1a.Menus;
|
|
194
|
+
exports.Page = index$1b.Page;
|
|
195
|
+
exports.Retract = index$1c.Retract;
|
|
196
|
+
exports.ChoiceSelect = index$1d.ChoiceSelect;
|
|
197
|
+
exports.CompanySelect = index$1e.CompanySelect;
|
|
198
|
+
exports.DepartmentSelect = index$1f.DepartmentSelect;
|
|
199
|
+
exports.RoleSelect = index$1g.RoleSelect;
|
|
200
|
+
exports.SelectDialog = index$1h.SelectDialog;
|
|
201
|
+
exports.SelectPopover = index$1i.SelectPopover;
|
|
202
|
+
exports.TreeSelectBox = index$1j.TreeSelectBox;
|
|
203
|
+
exports.UserSelect = index$1k.UserSelect;
|
|
204
|
+
exports.Array = index$1l.Array;
|
|
205
|
+
exports.Buttons = index$1m.Buttons;
|
|
206
|
+
exports.Cascaders = index$1n.Cascaders;
|
|
207
|
+
exports.Checks = index$1o.Checks;
|
|
208
|
+
exports.DatesDivide = index$1p.DatesDivide;
|
|
209
|
+
exports.DatesPicker = index$1q.DatesPicker;
|
|
210
|
+
exports.Dates = index$1r.Dates;
|
|
211
|
+
exports.EditFloat = index$1s.EditFloat;
|
|
212
|
+
exports.Edit = index$1t.Edit;
|
|
213
|
+
exports.History = index$1u.History;
|
|
214
|
+
exports.Images = index$1v.Images;
|
|
215
|
+
exports.InputArray = index$1w.InputArray;
|
|
216
|
+
exports.InputHistory = index$1x.InputHistory;
|
|
217
|
+
exports.InputNum = index$1y.InputNum;
|
|
218
|
+
exports.InputSelect = index$1z.InputSelect;
|
|
219
|
+
exports.Inputs = index$1A.Inputs;
|
|
220
|
+
exports.Labels = index$1B.Labels;
|
|
221
|
+
exports.SelectScroll = index$1C.SelectScroll;
|
|
222
|
+
exports.Selector = index$1D.Selector;
|
|
223
|
+
exports.Selects = index$1E.Selects;
|
|
224
|
+
exports.Switchs = index$1F.Switchs;
|
|
225
|
+
exports.Text = index$1G.Text;
|
|
226
|
+
exports.List = index$1H.List;
|
|
227
|
+
exports.Lists = index$1I.Lists;
|
|
228
|
+
exports.Listsp = index$1J.Listsp;
|
|
229
|
+
exports.Paging = index$1K.Paging;
|
|
230
|
+
exports.Tables = index$1L.Tables;
|
|
231
|
+
exports.Tablesp = index$1M.Tablesp;
|
|
232
|
+
exports.Tabless = index$1N.Tabless;
|
|
233
|
+
exports.Tablesv = index$1O.Tablesv;
|
|
234
|
+
exports.Tablesvp = index$1P.Tablesvp;
|
|
233
235
|
exports.vLoading = index$b.vLoading;
|
|
@@ -58,6 +58,7 @@ export * from './box-teleport/index';
|
|
|
58
58
|
export * from './box-title/index';
|
|
59
59
|
export * from './box/index';
|
|
60
60
|
export * from './dialogs/index';
|
|
61
|
+
export * from './no-data/index';
|
|
61
62
|
export * from './popup/index';
|
|
62
63
|
export * from './right-key/index';
|
|
63
64
|
export * from './seamless-scroll/index';
|
package/dist/components/index.js
CHANGED
|
@@ -59,6 +59,7 @@ import { BoxTeleport } from "./box-teleport/index.js";
|
|
|
59
59
|
import { BoxTitle } from "./box-title/index.js";
|
|
60
60
|
import { Box } from "./box/index.js";
|
|
61
61
|
import { Dialogs } from "./dialogs/index.js";
|
|
62
|
+
import { NoData } from "./no-data/index.js";
|
|
62
63
|
import { Popup } from "./popup/index.js";
|
|
63
64
|
import { RightKey } from "./right-key/index.js";
|
|
64
65
|
import { SeamlessScroll } from "./seamless-scroll/index.js";
|
|
@@ -185,6 +186,7 @@ export {
|
|
|
185
186
|
Menus,
|
|
186
187
|
Message,
|
|
187
188
|
MessageBox,
|
|
189
|
+
NoData,
|
|
188
190
|
Option,
|
|
189
191
|
OptionGroup,
|
|
190
192
|
Page,
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
@use './box-title/index.scss' as *;
|
|
54
54
|
@use './box/index.scss' as *;
|
|
55
55
|
@use './dialogs/index.scss' as *;
|
|
56
|
+
@use './no-data/index.scss' as *;
|
|
56
57
|
@use './popup/index.scss' as *;
|
|
57
58
|
@use './right-key/index.scss' as *;
|
|
58
59
|
@use './seamless-scroll/index.scss' as *;
|
|
@@ -93,4 +94,4 @@
|
|
|
93
94
|
@use './tables/index.scss' as *;
|
|
94
95
|
@use './tablesp/index.scss' as *;
|
|
95
96
|
@use './tabless/index.scss' as *;
|
|
96
|
-
@use './
|
|
97
|
+
@use './tablesvp/index.scss' as *;
|
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
@use './box-title/style/index.scss' as *;
|
|
54
54
|
@use './box/style/index.scss' as *;
|
|
55
55
|
@use './dialogs/style/index2.scss' as *;
|
|
56
|
+
@use './no-data/style/index.scss' as *;
|
|
56
57
|
@use './popup/style/index.scss' as *;
|
|
57
58
|
@use './right-key/style/index.scss' as *;
|
|
58
59
|
@use './seamless-scroll/style/index.scss' as *;
|
|
@@ -60,7 +61,7 @@
|
|
|
60
61
|
@use './global-config/style/index.scss' as *;
|
|
61
62
|
@use './icon-picker/style/index.scss' as *;
|
|
62
63
|
@use './icon/style/index2.scss' as *;
|
|
63
|
-
@use './iframe/style/
|
|
64
|
+
@use './iframe/style/index2.scss' as *;
|
|
64
65
|
@use './keep-com/style/index.scss' as *;
|
|
65
66
|
@use './menus/style/index2.scss' as *;
|
|
66
67
|
@use './page/style/index2.scss' as *;
|
|
@@ -93,4 +94,4 @@
|
|
|
93
94
|
@use './tables/style/index2.scss' as *;
|
|
94
95
|
@use './tablesp/style/index2.scss' as *;
|
|
95
96
|
@use './tabless/style/index2.scss' as *;
|
|
96
|
-
@use './
|
|
97
|
+
@use './tablesvp/style/index2.scss' as *;
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
padding: 0;
|
|
30
30
|
box-sizing: border-box;
|
|
31
31
|
}
|
|
32
|
-
.input-history-select-li {
|
|
32
|
+
.input-history-select-ul .input-history-select-li {
|
|
33
33
|
padding: 0 32px 0 20px;
|
|
34
34
|
position: relative;
|
|
35
35
|
white-space: nowrap;
|
|
@@ -41,34 +41,24 @@
|
|
|
41
41
|
box-sizing: border-box;
|
|
42
42
|
cursor: pointer;
|
|
43
43
|
}
|
|
44
|
-
.input-history-select-li.hover, .input-history-select-li:hover {
|
|
44
|
+
.input-history-select-ul .input-history-select-li.hover, .input-history-select-ul .input-history-select-li:hover {
|
|
45
45
|
background-color: #f5f7fa;
|
|
46
46
|
}
|
|
47
|
-
.input-history-select-li.hover .input-history-select-li-clean, .input-history-select-li:hover .input-history-select-li-clean {
|
|
47
|
+
.input-history-select-ul .input-history-select-li.hover .input-history-select-li-clean, .input-history-select-ul .input-history-select-li:hover .input-history-select-li-clean {
|
|
48
48
|
display: inline-flex;
|
|
49
49
|
}
|
|
50
|
-
.input-history-select-li.selected {
|
|
50
|
+
.input-history-select-ul .input-history-select-li.selected {
|
|
51
51
|
color: var(--bv-color-primary);
|
|
52
52
|
font-weight: 700;
|
|
53
53
|
}
|
|
54
|
-
.input-history-select-li.is-disabled {
|
|
54
|
+
.input-history-select-ul .input-history-select-li.is-disabled {
|
|
55
55
|
background-color: #ffffff;
|
|
56
56
|
color: #a8abb2;
|
|
57
57
|
cursor: not-allowed;
|
|
58
58
|
}
|
|
59
|
-
.input-history-select-li-clean {
|
|
60
|
-
position: absolute;
|
|
59
|
+
.input-history-select-ul .input-history-select-li-clean {
|
|
61
60
|
align-items: center;
|
|
62
61
|
justify-content: center;
|
|
63
|
-
right: 16px;
|
|
64
|
-
height: 100%;
|
|
65
62
|
display: none;
|
|
66
|
-
|
|
67
|
-
.input-history-select-clean {
|
|
68
|
-
padding: 0 20px;
|
|
69
|
-
}
|
|
70
|
-
.input-history-select-clean-but {
|
|
71
|
-
float: right;
|
|
72
|
-
color: #ccc;
|
|
73
|
-
cursor: pointer;
|
|
63
|
+
margin-left: 5px;
|
|
74
64
|
}
|
|
@@ -7,6 +7,7 @@ $input-history: 'input-history';
|
|
|
7
7
|
&-popper {
|
|
8
8
|
padding: 6px 0 !important;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
&-select {
|
|
11
12
|
max-height: 274px;
|
|
12
13
|
height: 100%;
|
|
@@ -16,49 +17,40 @@ $input-history: 'input-history';
|
|
|
16
17
|
margin: 6px 0;
|
|
17
18
|
padding: 0;
|
|
18
19
|
box-sizing: border-box;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
box-sizing: border-box;
|
|
30
|
-
cursor: pointer;
|
|
31
|
-
&.hover,
|
|
32
|
-
&:hover {
|
|
33
|
-
background-color: #f5f7fa;
|
|
34
|
-
.#{z($input-history, 'select-li-clean')} {
|
|
35
|
-
display: inline-flex;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
&.selected {
|
|
39
|
-
color: var(--bv-color-primary);
|
|
40
|
-
font-weight: 700;
|
|
41
|
-
}
|
|
42
|
-
&.is-disabled {
|
|
43
|
-
background-color: #ffffff;
|
|
44
|
-
color: #a8abb2;
|
|
45
|
-
cursor: not-allowed;
|
|
46
|
-
}
|
|
47
|
-
&-clean {
|
|
48
|
-
position: absolute;
|
|
49
|
-
align-items: center;
|
|
50
|
-
justify-content: center;
|
|
51
|
-
right: 16px;
|
|
52
|
-
height: 100%;
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
&-clean {
|
|
57
|
-
padding: 0 20px;
|
|
58
|
-
&-but {
|
|
59
|
-
float: right;
|
|
60
|
-
color: #ccc;
|
|
20
|
+
.#{z($input-history, 'select-li')} {
|
|
21
|
+
padding: 0 32px 0 20px;
|
|
22
|
+
position: relative;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
overflow: hidden;
|
|
25
|
+
text-overflow: ellipsis;
|
|
26
|
+
color: #606266;
|
|
27
|
+
height: 34px;
|
|
28
|
+
line-height: 34px;
|
|
29
|
+
box-sizing: border-box;
|
|
61
30
|
cursor: pointer;
|
|
31
|
+
&.hover,
|
|
32
|
+
&:hover {
|
|
33
|
+
background-color: #f5f7fa;
|
|
34
|
+
.#{z($input-history, 'select-li-clean')} {
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
&.selected {
|
|
39
|
+
color: var(--bv-color-primary);
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
}
|
|
42
|
+
&.is-disabled {
|
|
43
|
+
background-color: #ffffff;
|
|
44
|
+
color: #a8abb2;
|
|
45
|
+
cursor: not-allowed;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-clean {
|
|
49
|
+
align-items: center;
|
|
50
|
+
justify-content: center;
|
|
51
|
+
display: none;
|
|
52
|
+
margin-left: 5px;
|
|
53
|
+
}
|
|
62
54
|
}
|
|
63
55
|
}
|
|
64
56
|
}
|
|
@@ -108,13 +108,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
108
108
|
ref_key: "refInput",
|
|
109
109
|
ref: refInput,
|
|
110
110
|
modelValue: value.value,
|
|
111
|
-
"onUpdate:modelValue": _cache[
|
|
111
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
112
112
|
}, vue.unref(attrs).assem, {
|
|
113
113
|
disabled: props.disabled,
|
|
114
114
|
onInput,
|
|
115
115
|
onFocus,
|
|
116
116
|
onBlur,
|
|
117
|
-
onKeyup: _cache[
|
|
117
|
+
onKeyup: _cache[1] || (_cache[1] = vue.withKeys(
|
|
118
118
|
() => {
|
|
119
119
|
if (!props.buts) onChange();
|
|
120
120
|
},
|
|
@@ -159,16 +159,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
159
159
|
_: 1
|
|
160
160
|
}, 8, ["class", "onClick"])) : vue.createCommentVNode("", true)
|
|
161
161
|
], 10, _hoisted_1);
|
|
162
|
-
}), 256))
|
|
163
|
-
props.clean ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
164
|
-
key: 0,
|
|
165
|
-
class: vue.normalizeClass([vue.unref(cs).z("select-clean")])
|
|
166
|
-
}, [
|
|
167
|
-
vue.createElementVNode("span", {
|
|
168
|
-
class: vue.normalizeClass([vue.unref(cs).z("select-clean-but")]),
|
|
169
|
-
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => onClean(), ["stop"]))
|
|
170
|
-
}, " 关闭 ", 2)
|
|
171
|
-
], 2)) : vue.createCommentVNode("", true)
|
|
162
|
+
}), 256))
|
|
172
163
|
], 2)
|
|
173
164
|
], 2)) : vue.createCommentVNode("", true)
|
|
174
165
|
]),
|
|
@@ -106,13 +106,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
ref_key: "refInput",
|
|
107
107
|
ref: refInput,
|
|
108
108
|
modelValue: value.value,
|
|
109
|
-
"onUpdate:modelValue": _cache[
|
|
109
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event)
|
|
110
110
|
}, unref(attrs).assem, {
|
|
111
111
|
disabled: props.disabled,
|
|
112
112
|
onInput,
|
|
113
113
|
onFocus,
|
|
114
114
|
onBlur,
|
|
115
|
-
onKeyup: _cache[
|
|
115
|
+
onKeyup: _cache[1] || (_cache[1] = withKeys(
|
|
116
116
|
() => {
|
|
117
117
|
if (!props.buts) onChange();
|
|
118
118
|
},
|
|
@@ -157,16 +157,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
157
157
|
_: 1
|
|
158
158
|
}, 8, ["class", "onClick"])) : createCommentVNode("", true)
|
|
159
159
|
], 10, _hoisted_1);
|
|
160
|
-
}), 256))
|
|
161
|
-
props.clean ? (openBlock(), createElementBlock("li", {
|
|
162
|
-
key: 0,
|
|
163
|
-
class: normalizeClass([unref(cs).z("select-clean")])
|
|
164
|
-
}, [
|
|
165
|
-
createElementVNode("span", {
|
|
166
|
-
class: normalizeClass([unref(cs).z("select-clean-but")]),
|
|
167
|
-
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => onClean(), ["stop"]))
|
|
168
|
-
}, " 关闭 ", 2)
|
|
169
|
-
], 2)) : createCommentVNode("", true)
|
|
160
|
+
}), 256))
|
|
170
161
|
], 2)
|
|
171
162
|
], 2)) : createCommentVNode("", true)
|
|
172
163
|
]),
|