@fangzhongya/fang-ui 0.0.59 → 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/index2.cjs +3 -3
- package/dist/components/array/src/index2.js +3 -3
- package/dist/components/dialogs/src/index2.cjs +2 -2
- package/dist/components/dialogs/src/index2.js +2 -2
- 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 +2 -1
- 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/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/css/index.css +28 -5
- 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/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/locale/index.cjs +2 -2
- package/dist/hooks/locale/index.d.ts +1 -1
- package/dist/hooks/locale/index.js +2 -2
- package/dist/icons/index.css +29 -29
- package/dist/icons/index.json +9 -9
- package/dist/index.cjs +128 -126
- package/dist/index.css +28 -5
- package/dist/index.js +2 -0
- package/dist/locale/en.cjs +30 -31
- package/dist/locale/en.d.ts +1 -2
- package/dist/locale/en.js +30 -31
- package/dist/locale/zh-cn.cjs +1 -2
- package/dist/locale/zh-cn.d.ts +1 -2
- package/dist/locale/zh-cn.js +1 -2
- package/package.json +6 -6
|
@@ -16,15 +16,15 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
16
16
|
const prs = __props;
|
|
17
17
|
const props = getPropsDefault(prs, [
|
|
18
18
|
{
|
|
19
|
-
|
|
19
|
+
prop: "rangeSeparator",
|
|
20
20
|
locale: "to"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
|
|
23
|
+
prop: "startPlaceholder",
|
|
24
24
|
locale: "began"
|
|
25
25
|
},
|
|
26
26
|
{
|
|
27
|
-
|
|
27
|
+
prop: "endPlaceholder",
|
|
28
28
|
locale: "end"
|
|
29
29
|
}
|
|
30
30
|
]);
|
|
@@ -14,15 +14,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
const prs = __props;
|
|
15
15
|
const props = getPropsDefault(prs, [
|
|
16
16
|
{
|
|
17
|
-
|
|
17
|
+
prop: "rangeSeparator",
|
|
18
18
|
locale: "to"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
prop: "startPlaceholder",
|
|
22
22
|
locale: "began"
|
|
23
23
|
},
|
|
24
24
|
{
|
|
25
|
-
|
|
25
|
+
prop: "endPlaceholder",
|
|
26
26
|
locale: "end"
|
|
27
27
|
}
|
|
28
28
|
]);
|
|
@@ -16,11 +16,11 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
16
16
|
const prs = __props;
|
|
17
17
|
const props = getPropsDefault(prs, [
|
|
18
18
|
{
|
|
19
|
-
|
|
19
|
+
prop: "closeName",
|
|
20
20
|
locale: "close"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
|
|
23
|
+
prop: "submitName",
|
|
24
24
|
locale: "form.confirm"
|
|
25
25
|
}
|
|
26
26
|
]);
|
|
@@ -14,11 +14,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
14
14
|
const prs = __props;
|
|
15
15
|
const props = getPropsDefault(prs, [
|
|
16
16
|
{
|
|
17
|
-
|
|
17
|
+
prop: "closeName",
|
|
18
18
|
locale: "close"
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
prop: "submitName",
|
|
22
22
|
locale: "form.confirm"
|
|
23
23
|
}
|
|
24
24
|
]);
|
|
@@ -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 *;
|
|
@@ -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 *;
|
|
@@ -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]
|
|
@@ -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;
|