@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.
Files changed (116) hide show
  1. package/dist/components/array/src/index2.cjs +10 -12
  2. package/dist/components/array/src/index2.js +10 -12
  3. package/dist/components/box/index.css +2 -1
  4. package/dist/components/box-adjust/index.css +2 -1
  5. package/dist/components/box-adjust/src/data.cjs +2 -3
  6. package/dist/components/box-adjust/src/data.d.ts +1 -2
  7. package/dist/components/box-adjust/src/data.js +2 -3
  8. package/dist/components/box-adjust/src/index2.cjs +27 -22
  9. package/dist/components/box-adjust/src/index2.js +15 -10
  10. package/dist/components/box-local/index.css +2 -1
  11. package/dist/components/box-title/index.css +2 -1
  12. package/dist/components/box-title/index.scss +2 -1
  13. package/dist/components/box-title/src/data.cjs +2 -1
  14. package/dist/components/box-title/src/data.d.ts +1 -0
  15. package/dist/components/box-title/src/data.js +2 -1
  16. package/dist/components/box-title/src/index2.cjs +13 -12
  17. package/dist/components/box-title/src/index2.js +14 -13
  18. package/dist/components/common/use.cjs +16 -0
  19. package/dist/components/common/use.d.ts +3 -0
  20. package/dist/components/common/use.js +16 -0
  21. package/dist/components/dialogs/src/index2.cjs +8 -9
  22. package/dist/components/dialogs/src/index2.js +8 -9
  23. package/dist/components/edit/src/data.cjs +1 -0
  24. package/dist/components/edit/src/data.d.ts +1 -0
  25. package/dist/components/edit/src/data.js +1 -0
  26. package/dist/components/edit/src/index2.cjs +10 -3
  27. package/dist/components/edit/src/index2.js +10 -3
  28. package/dist/components/edit-float/index.css +1 -2
  29. package/dist/components/edit-float/index.scss +1 -2
  30. package/dist/components/edit-float/src/data.cjs +1 -0
  31. package/dist/components/edit-float/src/data.d.ts +1 -0
  32. package/dist/components/edit-float/src/data.js +1 -0
  33. package/dist/components/edit-float/src/index2.cjs +21 -19
  34. package/dist/components/edit-float/src/index2.js +16 -14
  35. package/dist/components/index.cjs +110 -108
  36. package/dist/components/index.d.ts +1 -0
  37. package/dist/components/index.js +2 -0
  38. package/dist/components/index.scss +1 -0
  39. package/dist/components/index2.scss +1 -0
  40. package/dist/components/lists/index.css +0 -5
  41. package/dist/components/lists/index.scss +0 -5
  42. package/dist/components/lists/src/index2.cjs +2 -5
  43. package/dist/components/lists/src/index2.js +3 -6
  44. package/dist/components/listsp/index.css +0 -5
  45. package/dist/components/no-data/index.cjs +9 -0
  46. package/dist/components/no-data/index.css +19 -0
  47. package/dist/components/no-data/index.d.ts +4 -0
  48. package/dist/components/no-data/index.js +9 -0
  49. package/dist/components/no-data/index.scss +8 -0
  50. package/dist/components/no-data/src/data.cjs +24 -0
  51. package/dist/components/no-data/src/data.d.ts +26 -0
  52. package/dist/components/no-data/src/data.js +24 -0
  53. package/dist/components/no-data/src/index.cjs +4 -0
  54. package/dist/components/no-data/src/index.js +4 -0
  55. package/dist/components/no-data/src/index2.cjs +34 -0
  56. package/dist/components/no-data/src/index2.js +34 -0
  57. package/dist/components/page/set-column.css +8 -8
  58. package/dist/components/page/src/set-column.cjs +1 -1
  59. package/dist/components/page/src/set-column.js +1 -1
  60. package/dist/components/page/src/set-column2.cjs +3 -6
  61. package/dist/components/page/src/set-column2.js +4 -7
  62. package/dist/components/popup/index.css +2 -1
  63. package/dist/components/popup/src/data.cjs +2 -3
  64. package/dist/components/popup/src/data.d.ts +1 -2
  65. package/dist/components/popup/src/data.js +2 -3
  66. package/dist/components/popup/src/index2.cjs +15 -9
  67. package/dist/components/popup/src/index2.js +16 -10
  68. package/dist/components/tables/src/index2.cjs +4 -7
  69. package/dist/components/tables/src/index2.js +3 -6
  70. package/dist/components/tablesv/src/index2.cjs +2 -5
  71. package/dist/components/tablesv/src/index2.js +3 -6
  72. package/dist/components/window/index.css +2 -1
  73. package/dist/components/window/src/data.cjs +2 -3
  74. package/dist/components/window/src/data.d.ts +1 -2
  75. package/dist/components/window/src/data.js +2 -3
  76. package/dist/components/window/src/index2.cjs +15 -9
  77. package/dist/components/window/src/index2.js +15 -9
  78. package/dist/css/box-adjust.css +2 -1
  79. package/dist/css/box-local.css +2 -1
  80. package/dist/css/box-title.css +2 -1
  81. package/dist/css/box.css +2 -1
  82. package/dist/css/edit-float.css +1 -2
  83. package/dist/css/index.css +9 -8
  84. package/dist/css/lists.css +0 -5
  85. package/dist/css/listsp.css +0 -5
  86. package/dist/css/no-data.css +19 -0
  87. package/dist/css/page/set-column.css +8 -8
  88. package/dist/css/popup.css +2 -1
  89. package/dist/css/window.css +2 -1
  90. package/dist/directives/drag/index.cjs +3 -2
  91. package/dist/directives/drag/index.js +3 -2
  92. package/dist/expand/{chunk-ID2WVA6N.js → chunk-3HYUAX6P.js} +2 -0
  93. package/dist/expand/{chunk-NEHCZ3EJ.cjs → chunk-IPHLXLMM.cjs} +2 -0
  94. package/dist/expand/components.cjs +5 -5
  95. package/dist/expand/components.js +1 -1
  96. package/dist/expand/config.cjs +2 -2
  97. package/dist/expand/config.js +1 -1
  98. package/dist/hooks/index.cjs +0 -1
  99. package/dist/hooks/index.js +1 -2
  100. package/dist/hooks/locale/index.cjs +5 -45
  101. package/dist/hooks/locale/index.d.ts +0 -9
  102. package/dist/hooks/locale/index.js +5 -45
  103. package/dist/icons/index.css +30 -30
  104. package/dist/icons/index.json +13 -13
  105. package/dist/index.cjs +128 -126
  106. package/dist/index.css +9 -8
  107. package/dist/index.js +2 -0
  108. package/dist/locale/en.cjs +31 -31
  109. package/dist/locale/en.d.ts +2 -2
  110. package/dist/locale/en.js +31 -31
  111. package/dist/locale/zh-cn.cjs +2 -2
  112. package/dist/locale/zh-cn.d.ts +2 -2
  113. package/dist/locale/zh-cn.js +2 -2
  114. package/package.json +10 -10
  115. /package/dist/components/{keep-com → transfer}/index.css +0 -0
  116. /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
- width.value = (dom.clientWidth || dom.offsetWidth) + 40 + "px";
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
- width.value = (dom.clientWidth || dom.offsetWidth) + 40 + "px";
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"))
@@ -28,6 +28,5 @@
28
28
  padding: 10px 0;
29
29
  }
30
30
  .edit-float-but {
31
- display: flex;
32
- flex-direction: row-reverse;
31
+ text-align: right;
33
32
  }
@@ -18,7 +18,6 @@ $edit-float: 'edit-float';
18
18
  padding: 10px 0;
19
19
  }
20
20
  &-but {
21
- display: flex;
22
- flex-direction: row-reverse;
21
+ text-align: right;
23
22
  }
24
23
  }
@@ -15,6 +15,7 @@ const dataProps = {
15
15
  float: {
16
16
  type: Boolean
17
17
  },
18
+ textarea: Boolean,
18
19
  /**
19
20
  * @props { Boolean } noEmpty= ( )
20
21
  * 不能为空
@@ -14,6 +14,7 @@ export declare const dataProps: {
14
14
  float: {
15
15
  type: BooleanConstructor;
16
16
  };
17
+ textarea: BooleanConstructor;
17
18
  /**
18
19
  * @props { Boolean } noEmpty= ( )
19
20
  * 不能为空
@@ -13,6 +13,7 @@ const dataProps = {
13
13
  float: {
14
14
  type: Boolean
15
15
  },
16
+ textarea: Boolean,
16
17
  /**
17
18
  * @props { Boolean } noEmpty= ( )
18
19
  * 不能为空
@@ -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$2 = require("../../icon/index.cjs");
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$1 = require("../../inputs/index.cjs");
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 cs = index.useCssName("edit-float");
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$2.Icon), {
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
- }, "修改", 2),
118
- vue.createVNode(vue.unref(index$1.Inputs), {
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
- type: "primary",
134
- onClick: onConfirm
135
+ text: "",
136
+ onClick: onClickqx
135
137
  }, {
136
- default: vue.withCtx(() => [..._cache[1] || (_cache[1] = [
137
- vue.createTextVNode("确认", -1)
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
- text: "",
144
- onClick: onClickqx
145
+ type: "primary",
146
+ onClick: onConfirm
145
147
  }, {
146
- default: vue.withCtx(() => [..._cache[2] || (_cache[2] = [
147
- vue.createTextVNode("关闭", -1)
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, toDisplayString } from "vue";
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
- }, "修改", 2),
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
- type: "primary",
132
- onClick: onConfirm
133
+ text: "",
134
+ onClick: onClickqx
133
135
  }, {
134
- default: withCtx(() => [..._cache[1] || (_cache[1] = [
135
- createTextVNode("确认", -1)
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
- text: "",
142
- onClick: onClickqx
143
+ type: "primary",
144
+ onClick: onConfirm
143
145
  }, {
144
- default: withCtx(() => [..._cache[2] || (_cache[2] = [
145
- createTextVNode("关闭", -1)
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("./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 *;
@@ -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 *;
@@ -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]