@fangzhongya/fang-ui 0.0.59 → 0.0.61
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/index2.cjs +10 -12
- package/dist/components/array/src/index2.js +10 -12
- package/dist/components/box/index.css +2 -1
- package/dist/components/box-adjust/index.css +2 -1
- package/dist/components/box-adjust/src/data.cjs +2 -3
- package/dist/components/box-adjust/src/data.d.ts +1 -2
- package/dist/components/box-adjust/src/data.js +2 -3
- package/dist/components/box-adjust/src/index2.cjs +27 -22
- package/dist/components/box-adjust/src/index2.js +15 -10
- package/dist/components/box-local/index.css +2 -1
- package/dist/components/box-title/index.css +2 -1
- package/dist/components/box-title/index.scss +2 -1
- package/dist/components/box-title/src/data.cjs +2 -1
- package/dist/components/box-title/src/data.d.ts +1 -0
- package/dist/components/box-title/src/data.js +2 -1
- package/dist/components/box-title/src/index2.cjs +13 -12
- package/dist/components/box-title/src/index2.js +14 -13
- package/dist/components/common/use.cjs +16 -0
- package/dist/components/common/use.d.ts +3 -0
- package/dist/components/common/use.js +16 -0
- package/dist/components/dialogs/src/index2.cjs +8 -9
- package/dist/components/dialogs/src/index2.js +8 -9
- package/dist/components/edit/src/data.cjs +1 -0
- package/dist/components/edit/src/data.d.ts +1 -0
- package/dist/components/edit/src/data.js +1 -0
- package/dist/components/edit/src/index2.cjs +10 -3
- package/dist/components/edit/src/index2.js +10 -3
- package/dist/components/edit-float/index.css +1 -2
- package/dist/components/edit-float/index.scss +1 -2
- package/dist/components/edit-float/src/data.cjs +1 -0
- package/dist/components/edit-float/src/data.d.ts +1 -0
- package/dist/components/edit-float/src/data.js +1 -0
- package/dist/components/edit-float/src/index2.cjs +21 -19
- package/dist/components/edit-float/src/index2.js +16 -14
- 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 +1 -0
- package/dist/components/index2.scss +1 -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 +0 -5
- 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/set-column.css +8 -8
- 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/popup/index.css +2 -1
- package/dist/components/popup/src/data.cjs +2 -3
- package/dist/components/popup/src/data.d.ts +1 -2
- package/dist/components/popup/src/data.js +2 -3
- package/dist/components/popup/src/index2.cjs +15 -9
- package/dist/components/popup/src/index2.js +16 -10
- package/dist/components/tables/src/index2.cjs +4 -7
- package/dist/components/tables/src/index2.js +3 -6
- package/dist/components/tablesv/src/index2.cjs +2 -5
- package/dist/components/tablesv/src/index2.js +3 -6
- package/dist/components/window/index.css +2 -1
- package/dist/components/window/src/data.cjs +2 -3
- package/dist/components/window/src/data.d.ts +1 -2
- package/dist/components/window/src/data.js +2 -3
- package/dist/components/window/src/index2.cjs +15 -9
- package/dist/components/window/src/index2.js +15 -9
- package/dist/css/box-adjust.css +2 -1
- package/dist/css/box-local.css +2 -1
- package/dist/css/box-title.css +2 -1
- package/dist/css/box.css +2 -1
- package/dist/css/edit-float.css +1 -2
- package/dist/css/index.css +9 -8
- package/dist/css/lists.css +0 -5
- package/dist/css/listsp.css +0 -5
- package/dist/css/no-data.css +19 -0
- package/dist/css/page/set-column.css +8 -8
- package/dist/css/popup.css +2 -1
- package/dist/css/window.css +2 -1
- package/dist/directives/drag/index.cjs +3 -2
- package/dist/directives/drag/index.js +3 -2
- 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 +0 -1
- package/dist/hooks/index.js +1 -2
- package/dist/hooks/locale/index.cjs +5 -45
- package/dist/hooks/locale/index.d.ts +0 -9
- package/dist/hooks/locale/index.js +5 -45
- package/dist/icons/index.css +30 -30
- package/dist/icons/index.json +13 -13
- package/dist/index.cjs +128 -126
- package/dist/index.css +9 -8
- package/dist/index.js +2 -0
- package/dist/locale/en.cjs +31 -31
- package/dist/locale/en.d.ts +2 -2
- package/dist/locale/en.js +31 -31
- package/dist/locale/zh-cn.cjs +2 -2
- package/dist/locale/zh-cn.d.ts +2 -2
- package/dist/locale/zh-cn.js +2 -2
- package/package.json +10 -10
- /package/dist/components/{keep-com → transfer}/index.css +0 -0
- /package/dist/css/{keep-com.css → transfer.css} +0 -0
|
@@ -20,6 +20,12 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
20
20
|
const refEdit = vue.ref();
|
|
21
21
|
const width = vue.ref("");
|
|
22
22
|
const display = vue.ref("");
|
|
23
|
+
const getWidth = () => {
|
|
24
|
+
const dom = refEdit.value;
|
|
25
|
+
if (dom) {
|
|
26
|
+
width.value = (dom.clientWidth || dom.offsetWidth) + 40 + "px";
|
|
27
|
+
}
|
|
28
|
+
};
|
|
23
29
|
const value = vue.computed({
|
|
24
30
|
get() {
|
|
25
31
|
let v = props.modelValue;
|
|
@@ -60,13 +66,14 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
60
66
|
let dom = refEdit.value;
|
|
61
67
|
dom.onmouseenter = (event) => {
|
|
62
68
|
isIcon.value = true;
|
|
69
|
+
getWidth();
|
|
63
70
|
};
|
|
64
71
|
dom.onmouseleave = (event) => {
|
|
65
72
|
setIsIcon();
|
|
66
73
|
isInput.value = false;
|
|
67
74
|
};
|
|
68
75
|
display.value = dom.style.display || "inline";
|
|
69
|
-
|
|
76
|
+
getWidth();
|
|
70
77
|
});
|
|
71
78
|
__expose({
|
|
72
79
|
...data.dataExpose
|
|
@@ -84,11 +91,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
84
91
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
85
92
|
ref_key: "refEditInput",
|
|
86
93
|
ref: refEditInput,
|
|
87
|
-
type: "text",
|
|
94
|
+
type: props.textarea ? "textarea" : "text",
|
|
88
95
|
clearable: _ctx.clearable,
|
|
89
96
|
onBlur,
|
|
90
97
|
class: vue.normalizeClass(vue.unref(cs).z("input"))
|
|
91
|
-
}, null, 8, ["style", "modelValue", "clearable", "class"])) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
98
|
+
}, null, 8, ["style", "modelValue", "type", "clearable", "class"])) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
92
99
|
key: 1,
|
|
93
100
|
onDblclick: vue.withModifiers(onDblclick, ["stop"]),
|
|
94
101
|
class: vue.normalizeClass(vue.unref(cs).z("value"))
|
|
@@ -18,6 +18,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
18
18
|
const refEdit = ref();
|
|
19
19
|
const width = ref("");
|
|
20
20
|
const display = ref("");
|
|
21
|
+
const getWidth = () => {
|
|
22
|
+
const dom = refEdit.value;
|
|
23
|
+
if (dom) {
|
|
24
|
+
width.value = (dom.clientWidth || dom.offsetWidth) + 40 + "px";
|
|
25
|
+
}
|
|
26
|
+
};
|
|
21
27
|
const value = computed({
|
|
22
28
|
get() {
|
|
23
29
|
let v = props.modelValue;
|
|
@@ -58,13 +64,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
64
|
let dom = refEdit.value;
|
|
59
65
|
dom.onmouseenter = (event) => {
|
|
60
66
|
isIcon.value = true;
|
|
67
|
+
getWidth();
|
|
61
68
|
};
|
|
62
69
|
dom.onmouseleave = (event) => {
|
|
63
70
|
setIsIcon();
|
|
64
71
|
isInput.value = false;
|
|
65
72
|
};
|
|
66
73
|
display.value = dom.style.display || "inline";
|
|
67
|
-
|
|
74
|
+
getWidth();
|
|
68
75
|
});
|
|
69
76
|
__expose({
|
|
70
77
|
...dataExpose
|
|
@@ -82,11 +89,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
82
89
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
83
90
|
ref_key: "refEditInput",
|
|
84
91
|
ref: refEditInput,
|
|
85
|
-
type: "text",
|
|
92
|
+
type: props.textarea ? "textarea" : "text",
|
|
86
93
|
clearable: _ctx.clearable,
|
|
87
94
|
onBlur,
|
|
88
95
|
class: normalizeClass(unref(cs).z("input"))
|
|
89
|
-
}, null, 8, ["style", "modelValue", "clearable", "class"])) : (openBlock(), createElementBlock("span", {
|
|
96
|
+
}, null, 8, ["style", "modelValue", "type", "clearable", "class"])) : (openBlock(), createElementBlock("span", {
|
|
90
97
|
key: 1,
|
|
91
98
|
onDblclick: withModifiers(onDblclick, ["stop"]),
|
|
92
99
|
class: normalizeClass(unref(cs).z("value"))
|
|
@@ -1,18 +1,20 @@
|
|
|
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$
|
|
4
|
+
const index$3 = require("../../icon/index.cjs");
|
|
5
5
|
const edit = require("../../../icons/vue/edit.cjs");
|
|
6
6
|
const elementPlus = require("element-plus");
|
|
7
7
|
const data = require("./data.cjs");
|
|
8
|
-
const index$
|
|
9
|
-
const index = require("../../../hooks/cssname/index.cjs");
|
|
8
|
+
const index$2 = require("../../inputs/index.cjs");
|
|
9
|
+
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
10
|
+
const index = require("../../../hooks/locale/index.cjs");
|
|
10
11
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
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 { getLocale } = index.useLocale();
|
|
17
|
+
const cs = index$1.useCssName("edit-float");
|
|
16
18
|
const props = __props;
|
|
17
19
|
const emit = __emit;
|
|
18
20
|
const isInput = vue.ref(false);
|
|
@@ -96,7 +98,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
96
98
|
onDblclick: vue.withModifiers(onDblclick, ["stop"]),
|
|
97
99
|
class: vue.normalizeClass(vue.unref(cs).z("value"))
|
|
98
100
|
}, vue.toDisplayString(props.modelValue), 35),
|
|
99
|
-
isIcon.value && !isInput.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
101
|
+
isIcon.value && !isInput.value ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Icon), {
|
|
100
102
|
key: 0,
|
|
101
103
|
onClick,
|
|
102
104
|
class: vue.normalizeClass(vue.unref(cs).z("icon"))
|
|
@@ -114,38 +116,38 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
116
|
}, [
|
|
115
117
|
vue.createElementVNode("div", {
|
|
116
118
|
class: vue.normalizeClass(vue.unref(cs).z("title"))
|
|
117
|
-
}, "
|
|
118
|
-
vue.createVNode(vue.unref(index$
|
|
119
|
+
}, vue.toDisplayString(vue.unref(getLocale)("modify")), 3),
|
|
120
|
+
vue.createVNode(vue.unref(index$2.Inputs), {
|
|
119
121
|
modelValue: value.value,
|
|
120
122
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
121
123
|
ref_key: "refEditInput",
|
|
122
124
|
ref: refEditInput,
|
|
123
|
-
type: "text",
|
|
125
|
+
type: props.textarea ? "textarea" : "text",
|
|
124
126
|
onBlur,
|
|
125
127
|
clearable: _ctx.clearable,
|
|
126
128
|
class: vue.normalizeClass(vue.unref(cs).z("input"))
|
|
127
|
-
}, null, 8, ["modelValue", "clearable", "class"]),
|
|
129
|
+
}, null, 8, ["modelValue", "type", "clearable", "class"]),
|
|
128
130
|
vue.createElementVNode("div", {
|
|
129
131
|
class: vue.normalizeClass(vue.unref(cs).z("but"))
|
|
130
132
|
}, [
|
|
131
133
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
132
134
|
size: "small",
|
|
133
|
-
|
|
134
|
-
onClick:
|
|
135
|
+
text: "",
|
|
136
|
+
onClick: onClickqx
|
|
135
137
|
}, {
|
|
136
|
-
default: vue.withCtx(() => [
|
|
137
|
-
vue.createTextVNode("
|
|
138
|
-
])
|
|
138
|
+
default: vue.withCtx(() => [
|
|
139
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("close")), 1)
|
|
140
|
+
]),
|
|
139
141
|
_: 1
|
|
140
142
|
}),
|
|
141
143
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
142
144
|
size: "small",
|
|
143
|
-
|
|
144
|
-
onClick:
|
|
145
|
+
type: "primary",
|
|
146
|
+
onClick: onConfirm
|
|
145
147
|
}, {
|
|
146
|
-
default: vue.withCtx(() => [
|
|
147
|
-
vue.createTextVNode("
|
|
148
|
-
])
|
|
148
|
+
default: vue.withCtx(() => [
|
|
149
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("form.confirm")), 1)
|
|
150
|
+
]),
|
|
149
151
|
_: 1
|
|
150
152
|
})
|
|
151
153
|
], 2)
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, onMounted, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createElementVNode, createTextVNode, createBlock, createCommentVNode, withModifiers
|
|
1
|
+
import { defineComponent, ref, watch, onMounted, createElementBlock, openBlock, normalizeClass, unref, createVNode, withCtx, createElementVNode, toDisplayString, createTextVNode, createBlock, createCommentVNode, withModifiers } from "vue";
|
|
2
2
|
import { Icon } from "../../icon/index.js";
|
|
3
3
|
import Edit from "../../../icons/vue/edit.js";
|
|
4
4
|
import { ElPopover, ElButton } from "element-plus";
|
|
5
5
|
import { dataExpose, dataEmits, dataProps } from "./data.js";
|
|
6
6
|
import { Inputs } from "../../inputs/index.js";
|
|
7
7
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
8
|
+
import { useLocale } from "../../../hooks/locale/index.js";
|
|
8
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
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 cs = useCssName("edit-float");
|
|
14
16
|
const props = __props;
|
|
15
17
|
const emit = __emit;
|
|
@@ -112,38 +114,38 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
114
|
}, [
|
|
113
115
|
createElementVNode("div", {
|
|
114
116
|
class: normalizeClass(unref(cs).z("title"))
|
|
115
|
-
}, "
|
|
117
|
+
}, toDisplayString(unref(getLocale)("modify")), 3),
|
|
116
118
|
createVNode(unref(Inputs), {
|
|
117
119
|
modelValue: value.value,
|
|
118
120
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => value.value = $event),
|
|
119
121
|
ref_key: "refEditInput",
|
|
120
122
|
ref: refEditInput,
|
|
121
|
-
type: "text",
|
|
123
|
+
type: props.textarea ? "textarea" : "text",
|
|
122
124
|
onBlur,
|
|
123
125
|
clearable: _ctx.clearable,
|
|
124
126
|
class: normalizeClass(unref(cs).z("input"))
|
|
125
|
-
}, null, 8, ["modelValue", "clearable", "class"]),
|
|
127
|
+
}, null, 8, ["modelValue", "type", "clearable", "class"]),
|
|
126
128
|
createElementVNode("div", {
|
|
127
129
|
class: normalizeClass(unref(cs).z("but"))
|
|
128
130
|
}, [
|
|
129
131
|
createVNode(unref(ElButton), {
|
|
130
132
|
size: "small",
|
|
131
|
-
|
|
132
|
-
onClick:
|
|
133
|
+
text: "",
|
|
134
|
+
onClick: onClickqx
|
|
133
135
|
}, {
|
|
134
|
-
default: withCtx(() => [
|
|
135
|
-
createTextVNode("
|
|
136
|
-
])
|
|
136
|
+
default: withCtx(() => [
|
|
137
|
+
createTextVNode(toDisplayString(unref(getLocale)("close")), 1)
|
|
138
|
+
]),
|
|
137
139
|
_: 1
|
|
138
140
|
}),
|
|
139
141
|
createVNode(unref(ElButton), {
|
|
140
142
|
size: "small",
|
|
141
|
-
|
|
142
|
-
onClick:
|
|
143
|
+
type: "primary",
|
|
144
|
+
onClick: onConfirm
|
|
143
145
|
}, {
|
|
144
|
-
default: withCtx(() => [
|
|
145
|
-
createTextVNode("
|
|
146
|
-
])
|
|
146
|
+
default: withCtx(() => [
|
|
147
|
+
createTextVNode(toDisplayString(unref(getLocale)("form.confirm")), 1)
|
|
148
|
+
]),
|
|
147
149
|
_: 1
|
|
148
150
|
})
|
|
149
151
|
], 2)
|
|
@@ -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 *;
|
|
@@ -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 *;
|
|
@@ -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]
|