@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.
Files changed (61) hide show
  1. package/dist/components/array/src/index2.cjs +3 -3
  2. package/dist/components/array/src/index2.js +3 -3
  3. package/dist/components/dialogs/src/index2.cjs +2 -2
  4. package/dist/components/dialogs/src/index2.js +2 -2
  5. package/dist/components/index.cjs +110 -108
  6. package/dist/components/index.d.ts +1 -0
  7. package/dist/components/index.js +2 -0
  8. package/dist/components/index.scss +2 -1
  9. package/dist/components/index2.scss +2 -1
  10. package/dist/components/lists/index.css +0 -5
  11. package/dist/components/lists/index.scss +0 -5
  12. package/dist/components/lists/src/index2.cjs +2 -5
  13. package/dist/components/lists/src/index2.js +3 -6
  14. package/dist/components/listsp/index.css +0 -5
  15. package/dist/components/no-data/index.cjs +9 -0
  16. package/dist/components/no-data/index.css +19 -0
  17. package/dist/components/no-data/index.d.ts +4 -0
  18. package/dist/components/no-data/index.js +9 -0
  19. package/dist/components/no-data/index.scss +8 -0
  20. package/dist/components/no-data/src/data.cjs +24 -0
  21. package/dist/components/no-data/src/data.d.ts +26 -0
  22. package/dist/components/no-data/src/data.js +24 -0
  23. package/dist/components/no-data/src/index.cjs +4 -0
  24. package/dist/components/no-data/src/index.js +4 -0
  25. package/dist/components/no-data/src/index2.cjs +34 -0
  26. package/dist/components/no-data/src/index2.js +34 -0
  27. package/dist/components/page/set-column.css +8 -8
  28. package/dist/components/page/src/set-column.cjs +1 -1
  29. package/dist/components/page/src/set-column.js +1 -1
  30. package/dist/components/page/src/set-column2.cjs +3 -6
  31. package/dist/components/page/src/set-column2.js +4 -7
  32. package/dist/components/tables/src/index2.cjs +4 -7
  33. package/dist/components/tables/src/index2.js +3 -6
  34. package/dist/components/tablesv/src/index2.cjs +2 -5
  35. package/dist/components/tablesv/src/index2.js +3 -6
  36. package/dist/css/index.css +28 -5
  37. package/dist/css/lists.css +0 -5
  38. package/dist/css/listsp.css +0 -5
  39. package/dist/css/no-data.css +19 -0
  40. package/dist/css/page/set-column.css +8 -8
  41. package/dist/expand/{chunk-ID2WVA6N.js → chunk-3HYUAX6P.js} +2 -0
  42. package/dist/expand/{chunk-NEHCZ3EJ.cjs → chunk-IPHLXLMM.cjs} +2 -0
  43. package/dist/expand/components.cjs +5 -5
  44. package/dist/expand/components.js +1 -1
  45. package/dist/expand/config.cjs +2 -2
  46. package/dist/expand/config.js +1 -1
  47. package/dist/hooks/locale/index.cjs +2 -2
  48. package/dist/hooks/locale/index.d.ts +1 -1
  49. package/dist/hooks/locale/index.js +2 -2
  50. package/dist/icons/index.css +29 -29
  51. package/dist/icons/index.json +9 -9
  52. package/dist/index.cjs +128 -126
  53. package/dist/index.css +28 -5
  54. package/dist/index.js +2 -0
  55. package/dist/locale/en.cjs +30 -31
  56. package/dist/locale/en.d.ts +1 -2
  57. package/dist/locale/en.js +30 -31
  58. package/dist/locale/zh-cn.cjs +1 -2
  59. package/dist/locale/zh-cn.d.ts +1 -2
  60. package/dist/locale/zh-cn.js +1 -2
  61. 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
- name: "rangeSeparator",
19
+ prop: "rangeSeparator",
20
20
  locale: "to"
21
21
  },
22
22
  {
23
- name: "startPlaceholder",
23
+ prop: "startPlaceholder",
24
24
  locale: "began"
25
25
  },
26
26
  {
27
- name: "endPlaceholder",
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
- name: "rangeSeparator",
17
+ prop: "rangeSeparator",
18
18
  locale: "to"
19
19
  },
20
20
  {
21
- name: "startPlaceholder",
21
+ prop: "startPlaceholder",
22
22
  locale: "began"
23
23
  },
24
24
  {
25
- name: "endPlaceholder",
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
- name: "closeName",
19
+ prop: "closeName",
20
20
  locale: "close"
21
21
  },
22
22
  {
23
- name: "submitName",
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
- name: "closeName",
17
+ prop: "closeName",
18
18
  locale: "close"
19
19
  },
20
20
  {
21
- name: "submitName",
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("./popup/index.cjs");
65
- const index$_ = require("./right-key/index.cjs");
66
- const index$$ = require("./seamless-scroll/index.cjs");
67
- const index$10 = require("./stick-div/index.cjs");
68
- const index$11 = require("./stick-edge/index.cjs");
69
- const index$12 = require("./stick-window/index.cjs");
70
- const index$13 = require("./window/index.cjs");
71
- const index$14 = require("./global-config/index.cjs");
72
- const index$15 = require("./icon-picker/index.cjs");
73
- const index$16 = require("./icon/index.cjs");
74
- const index$17 = require("./iframe/index.cjs");
75
- const index$18 = require("./keep-com/index.cjs");
76
- const index$19 = require("./menus/index.cjs");
77
- const index$1a = require("./page/index.cjs");
78
- const index$1b = require("./retract/index.cjs");
79
- const index$1c = require("./choice-select/index.cjs");
80
- const index$1d = require("./company-select/index.cjs");
81
- const index$1e = require("./department-select/index.cjs");
82
- const index$1f = require("./role-select/index.cjs");
83
- const index$1g = require("./select-dialog/index.cjs");
84
- const index$1h = require("./select-popover/index.cjs");
85
- const index$1i = require("./tree-select-box/index.cjs");
86
- const index$1j = require("./user-select/index.cjs");
87
- const index$1k = require("./array/index.cjs");
88
- const index$1l = require("./buttons/index.cjs");
89
- const index$1m = require("./cascaders/index.cjs");
90
- const index$1n = require("./checks/index.cjs");
91
- const index$1o = require("./dates-divide/index.cjs");
92
- const index$1p = require("./dates-picker/index.cjs");
93
- const index$1q = require("./dates/index.cjs");
94
- const index$1r = require("./edit-float/index.cjs");
95
- const index$1s = require("./edit/index.cjs");
96
- const index$1t = require("./history/index.cjs");
97
- const index$1u = require("./images/index.cjs");
98
- const index$1v = require("./input-array/index.cjs");
99
- const index$1w = require("./input-history/index.cjs");
100
- const index$1x = require("./input-num/index.cjs");
101
- const index$1y = require("./input-select/index.cjs");
102
- const index$1z = require("./inputs/index.cjs");
103
- const index$1A = require("./labels/index.cjs");
104
- const index$1B = require("./select-scroll/index.cjs");
105
- const index$1C = require("./selector/index.cjs");
106
- const index$1D = require("./selects/index.cjs");
107
- const index$1E = require("./switchs/index.cjs");
108
- const index$1F = require("./text/index.cjs");
109
- const index$1G = require("./list/index.cjs");
110
- const index$1H = require("./lists/index.cjs");
111
- const index$1I = require("./listsp/index.cjs");
112
- const index$1J = require("./paging/index.cjs");
113
- const index$1K = require("./tables/index.cjs");
114
- const index$1L = require("./tablesp/index.cjs");
115
- const index$1M = require("./tabless/index.cjs");
116
- const index$1N = require("./tablesv/index.cjs");
117
- const index$1O = require("./tablesvp/index.cjs");
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.Popup = index$Z.Popup;
180
- exports.RightKey = index$_.RightKey;
181
- exports.SeamlessScroll = index$$.SeamlessScroll;
182
- exports.StickDiv = index$10.StickDiv;
183
- exports.StickEdge = index$11.StickEdge;
184
- exports.StickWindow = index$12.StickWindow;
185
- exports.Window = index$13.Window;
186
- exports.GlobalConfig = index$14.GlobalConfig;
187
- exports.IconPicker = index$15.IconPicker;
188
- exports.Icon = index$16.Icon;
189
- exports.Iframe = index$17.Iframe;
190
- exports.KeepCom = index$18.KeepCom;
191
- exports.Menus = index$19.Menus;
192
- exports.Page = index$1a.Page;
193
- exports.Retract = index$1b.Retract;
194
- exports.ChoiceSelect = index$1c.ChoiceSelect;
195
- exports.CompanySelect = index$1d.CompanySelect;
196
- exports.DepartmentSelect = index$1e.DepartmentSelect;
197
- exports.RoleSelect = index$1f.RoleSelect;
198
- exports.SelectDialog = index$1g.SelectDialog;
199
- exports.SelectPopover = index$1h.SelectPopover;
200
- exports.TreeSelectBox = index$1i.TreeSelectBox;
201
- exports.UserSelect = index$1j.UserSelect;
202
- exports.Array = index$1k.Array;
203
- exports.Buttons = index$1l.Buttons;
204
- exports.Cascaders = index$1m.Cascaders;
205
- exports.Checks = index$1n.Checks;
206
- exports.DatesDivide = index$1o.DatesDivide;
207
- exports.DatesPicker = index$1p.DatesPicker;
208
- exports.Dates = index$1q.Dates;
209
- exports.EditFloat = index$1r.EditFloat;
210
- exports.Edit = index$1s.Edit;
211
- exports.History = index$1t.History;
212
- exports.Images = index$1u.Images;
213
- exports.InputArray = index$1v.InputArray;
214
- exports.InputHistory = index$1w.InputHistory;
215
- exports.InputNum = index$1x.InputNum;
216
- exports.InputSelect = index$1y.InputSelect;
217
- exports.Inputs = index$1z.Inputs;
218
- exports.Labels = index$1A.Labels;
219
- exports.SelectScroll = index$1B.SelectScroll;
220
- exports.Selector = index$1C.Selector;
221
- exports.Selects = index$1D.Selects;
222
- exports.Switchs = index$1E.Switchs;
223
- exports.Text = index$1F.Text;
224
- exports.List = index$1G.List;
225
- exports.Lists = index$1H.Lists;
226
- exports.Listsp = index$1I.Listsp;
227
- exports.Paging = index$1J.Paging;
228
- exports.Tables = index$1K.Tables;
229
- exports.Tablesp = index$1L.Tablesp;
230
- exports.Tabless = index$1M.Tabless;
231
- exports.Tablesv = index$1N.Tablesv;
232
- exports.Tablesvp = index$1O.Tablesvp;
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';
@@ -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 './tablesv/index.scss' as *;
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 './tablesv/style/index2.scss' as *;
97
+ @use './tablesvp/style/index2.scss' as *;
@@ -48,9 +48,4 @@
48
48
  }
49
49
  .lists-list-item .el-card {
50
50
  background-color: transparent;
51
- }
52
- .lists-list .lists-no-data {
53
- text-align: center;
54
- margin-top: 20px;
55
- color: #999;
56
51
  }
@@ -38,10 +38,5 @@ $lists: 'lists';
38
38
  background-color: transparent;
39
39
  }
40
40
  }
41
- .#{z($lists, 'no-data')} {
42
- text-align: center;
43
- margin-top: 20px;
44
- color: #999;
45
- }
46
41
  }
47
42
  }
@@ -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.createElementVNode("div", {
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, createElementVNode } from "vue";
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
- createElementVNode("div", {
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;
@@ -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,4 @@
1
+ import { SFCWithInstall } from '../../utils/vues';
2
+ import { DefineComponent } from 'vue';
3
+ declare const NoData: SFCWithInstall<DefineComponent<{}, {}, any>>;
4
+ export { NoData, NoData as default };
@@ -0,0 +1,9 @@
1
+ /* empty css */
2
+ import { withInstall } from "../../utils/vues/withInstall.js";
3
+ import "./src/index.js";
4
+ import _sfc_main from "./src/index2.js";
5
+ const NoData = withInstall(_sfc_main, "NoData");
6
+ export {
7
+ NoData,
8
+ NoData as default
9
+ };
@@ -0,0 +1,8 @@
1
+ @use '../scss/common.scss' as *;
2
+
3
+ $no-data: 'no-data';
4
+ @include b($no-data) {
5
+ text-align: center;
6
+ margin-top: 20px;
7
+ color: #999;
8
+ }
@@ -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,4 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const index_vue_vue_type_script_setup_true_lang = require("./index2.cjs");
4
+ exports.default = index_vue_vue_type_script_setup_true_lang.default;
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./index2.js";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -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;