@fangzhongya/fang-ui 0.0.58 → 0.0.60

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/components/array/src/data.cjs +3 -3
  2. package/dist/components/array/src/data.d.ts +0 -3
  3. package/dist/components/array/src/data.js +3 -3
  4. package/dist/components/array/src/index2.cjs +27 -11
  5. package/dist/components/array/src/index2.js +23 -7
  6. package/dist/components/common/use.cjs +1 -1
  7. package/dist/components/common/use.js +1 -1
  8. package/dist/components/dialogs/src/data.cjs +2 -4
  9. package/dist/components/dialogs/src/data.d.ts +0 -2
  10. package/dist/components/dialogs/src/data.js +2 -4
  11. package/dist/components/dialogs/src/index2.cjs +24 -12
  12. package/dist/components/dialogs/src/index2.js +17 -5
  13. package/dist/components/forms/index.css +3 -0
  14. package/dist/components/forms/index.scss +3 -0
  15. package/dist/components/forms/src/index2.cjs +16 -14
  16. package/dist/components/forms/src/index2.js +3 -1
  17. package/dist/components/forms/src/setup.cjs +11 -5
  18. package/dist/components/forms/src/setup.d.ts +1 -1
  19. package/dist/components/forms/src/setup.js +11 -5
  20. package/dist/components/forms/src/util.cjs +5 -4
  21. package/dist/components/forms/src/util.d.ts +1 -1
  22. package/dist/components/forms/src/util.js +5 -4
  23. package/dist/components/forms-drag/src/index2.cjs +96 -45
  24. package/dist/components/forms-drag/src/index2.js +91 -40
  25. package/dist/components/icon-picker/index.css +1 -0
  26. package/dist/components/icon-picker/index.scss +1 -0
  27. package/dist/components/iframe/index.css +4 -0
  28. package/dist/components/iframe/index.scss +4 -0
  29. package/dist/components/iframe/src/index2.cjs +19 -7
  30. package/dist/components/iframe/src/index2.js +20 -8
  31. package/dist/components/iframe/style/index2.scss +3 -0
  32. package/dist/components/index.cjs +110 -108
  33. package/dist/components/index.d.ts +1 -0
  34. package/dist/components/index.js +2 -0
  35. package/dist/components/index.scss +2 -1
  36. package/dist/components/index2.scss +3 -2
  37. package/dist/components/input-history/index.css +7 -17
  38. package/dist/components/input-history/index.scss +34 -42
  39. package/dist/components/input-history/src/index2.cjs +3 -12
  40. package/dist/components/input-history/src/index2.js +3 -12
  41. package/dist/components/inputs/src/index2.cjs +11 -9
  42. package/dist/components/inputs/src/index2.js +3 -1
  43. package/dist/components/keep-com/src/data.d.ts +3 -0
  44. package/dist/components/lists/index.css +0 -5
  45. package/dist/components/lists/index.scss +0 -5
  46. package/dist/components/lists/src/index2.cjs +2 -5
  47. package/dist/components/lists/src/index2.js +3 -6
  48. package/dist/components/listsp/index.css +1 -5
  49. package/dist/components/listsp/src/index2.cjs +11 -9
  50. package/dist/components/listsp/src/index2.js +3 -1
  51. package/dist/components/no-data/index.cjs +9 -0
  52. package/dist/components/no-data/index.css +19 -0
  53. package/dist/components/no-data/index.d.ts +4 -0
  54. package/dist/components/no-data/index.js +9 -0
  55. package/dist/components/no-data/index.scss +8 -0
  56. package/dist/components/no-data/src/data.cjs +24 -0
  57. package/dist/components/no-data/src/data.d.ts +26 -0
  58. package/dist/components/no-data/src/data.js +24 -0
  59. package/dist/components/no-data/src/index.cjs +4 -0
  60. package/dist/components/no-data/src/index.js +4 -0
  61. package/dist/components/no-data/src/index2.cjs +34 -0
  62. package/dist/components/no-data/src/index2.js +34 -0
  63. package/dist/components/page/index.css +4 -0
  64. package/dist/components/page/set-column.css +8 -8
  65. package/dist/components/page/src/index2.cjs +41 -39
  66. package/dist/components/page/src/index2.js +15 -13
  67. package/dist/components/page/src/set-column.cjs +1 -1
  68. package/dist/components/page/src/set-column.js +1 -1
  69. package/dist/components/page/src/set-column2.cjs +3 -6
  70. package/dist/components/page/src/set-column2.js +4 -7
  71. package/dist/components/paging/index.css +1 -0
  72. package/dist/components/paging/index.scss +1 -0
  73. package/dist/components/paging/src/index2.cjs +18 -10
  74. package/dist/components/paging/src/index2.js +12 -4
  75. package/dist/components/selector/src/index2.cjs +17 -15
  76. package/dist/components/selector/src/index2.js +8 -6
  77. package/dist/components/tables/common/pagin.cjs +3 -3
  78. package/dist/components/tables/common/pagin.d.ts +1 -1
  79. package/dist/components/tables/common/pagin.js +3 -3
  80. package/dist/components/tables/src/index2.cjs +4 -7
  81. package/dist/components/tables/src/index2.js +3 -6
  82. package/dist/components/tablesp/index.css +1 -0
  83. package/dist/components/tablesp/src/index2.cjs +11 -9
  84. package/dist/components/tablesp/src/index2.js +3 -1
  85. package/dist/components/tabless/src/index2.cjs +11 -9
  86. package/dist/components/tabless/src/index2.js +3 -1
  87. package/dist/components/tablesv/src/index2.cjs +2 -5
  88. package/dist/components/tablesv/src/index2.js +3 -6
  89. package/dist/components/tablesvp/index.css +1 -0
  90. package/dist/components/tablesvp/src/index2.cjs +9 -7
  91. package/dist/components/tablesvp/src/index2.js +3 -1
  92. package/dist/css/forms.css +3 -0
  93. package/dist/css/icon-picker.css +1 -0
  94. package/dist/css/iframe.css +4 -0
  95. package/dist/css/index.css +44 -22
  96. package/dist/css/input-history.css +7 -17
  97. package/dist/css/lists.css +0 -5
  98. package/dist/css/listsp.css +1 -5
  99. package/dist/css/no-data.css +19 -0
  100. package/dist/css/page/set-column.css +8 -8
  101. package/dist/css/page.css +4 -0
  102. package/dist/css/paging.css +1 -0
  103. package/dist/css/tablesp.css +1 -0
  104. package/dist/css/tablesvp.css +1 -0
  105. package/dist/expand/{chunk-ID2WVA6N.js → chunk-3HYUAX6P.js} +2 -0
  106. package/dist/expand/{chunk-NEHCZ3EJ.cjs → chunk-IPHLXLMM.cjs} +2 -0
  107. package/dist/expand/components.cjs +5 -5
  108. package/dist/expand/components.js +1 -1
  109. package/dist/expand/config.cjs +2 -2
  110. package/dist/expand/config.js +1 -1
  111. package/dist/hooks/index.cjs +2 -0
  112. package/dist/hooks/index.js +3 -1
  113. package/dist/hooks/locale/index.cjs +51 -2
  114. package/dist/hooks/locale/index.d.ts +64 -3
  115. package/dist/hooks/locale/index.js +51 -2
  116. package/dist/icons/index.css +31 -31
  117. package/dist/icons/index.json +7 -7
  118. package/dist/index.cjs +128 -126
  119. package/dist/index.css +44 -22
  120. package/dist/index.js +2 -0
  121. package/dist/locale/en.cjs +38 -15
  122. package/dist/locale/en.d.ts +27 -4
  123. package/dist/locale/en.js +38 -15
  124. package/dist/locale/zh-cn.cjs +24 -3
  125. package/dist/locale/zh-cn.d.ts +23 -2
  126. package/dist/locale/zh-cn.js +24 -3
  127. package/dist/types/locale.d.ts +1 -1
  128. package/package.json +11 -11
  129. /package/dist/components/{forms-item → forms-items}/index.css +0 -0
  130. /package/dist/components/{option → keep-com}/index.css +0 -0
  131. /package/dist/css/{forms-item.css → forms-items.css} +0 -0
  132. /package/dist/css/{option.css → keep-com.css} +0 -0
@@ -4,16 +4,18 @@ const vue = require("vue");
4
4
  const elementPlus = require("element-plus");
5
5
  const use = require("../../common/use.cjs");
6
6
  const data = require("./data.cjs");
7
- const index = require("../../../hooks/cssname/index.cjs");
8
- const index$1 = require("../../select-scroll/index.cjs");
9
- const index$2 = require("../../array/index.cjs");
10
- const index$3 = require("../../inputs/index.cjs");
7
+ const index$1 = require("../../../hooks/cssname/index.cjs");
8
+ const index$2 = require("../../select-scroll/index.cjs");
9
+ const index$3 = require("../../array/index.cjs");
10
+ const index$4 = require("../../inputs/index.cjs");
11
+ const index = require("../../../hooks/locale/index.cjs");
11
12
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
12
13
  __name: "index",
13
14
  props: data.dataProps,
14
15
  emits: data.dataEmits,
15
16
  setup(__props, { expose: __expose, emit: __emit }) {
16
- const cs = index.useCssName("selector");
17
+ const { getLocale } = index.useLocale();
18
+ const cs = index$1.useCssName("selector");
17
19
  const props = __props;
18
20
  const emit = __emit;
19
21
  const data$1 = vue.reactive({
@@ -121,7 +123,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
121
123
  visible: data$1.timeShow
122
124
  }, {
123
125
  reference: vue.withCtx(() => [
124
- vue.createVNode(vue.unref(index$2.Array), {
126
+ vue.createVNode(vue.unref(index$3.Array), {
125
127
  rangeSeparator: props.rangeSeparator,
126
128
  startPlaceholder: props.startPlaceholder,
127
129
  endPlaceholder: props.endPlaceholder,
@@ -130,7 +132,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
130
132
  modelValue: [data$1.sname, data$1.ename],
131
133
  onFocus: _cache[0] || (_cache[0] = ($event) => data$1.timeShow = true),
132
134
  onClear: onCancel,
133
- compon: vue.unref(index$3.Inputs)
135
+ compon: vue.unref(index$4.Inputs)
134
136
  }, null, 8, ["rangeSeparator", "startPlaceholder", "endPlaceholder", "clearable", "modelValue", "compon"])
135
137
  ]),
136
138
  default: vue.withCtx(() => [
@@ -146,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
146
148
  vue.createElementVNode("div", {
147
149
  class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
148
150
  }, vue.toDisplayString(props.startPlaceholder), 3),
149
- vue.createVNode(vue.unref(index$1.SelectScroll), {
151
+ vue.createVNode(vue.unref(index$2.SelectScroll), {
150
152
  modelValue: zindex.value,
151
153
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => zindex.value = $event),
152
154
  max: yindex.value,
@@ -160,7 +162,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
160
162
  vue.createElementVNode("div", {
161
163
  class: vue.normalizeClass(vue.unref(cs).z("select-list-title"))
162
164
  }, vue.toDisplayString(props.endPlaceholder), 3),
163
- vue.createVNode(vue.unref(index$1.SelectScroll), {
165
+ vue.createVNode(vue.unref(index$2.SelectScroll), {
164
166
  min: zindex.value,
165
167
  modelValue: yindex.value,
166
168
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => yindex.value = $event),
@@ -176,18 +178,18 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
176
178
  text: "",
177
179
  onClick: vue.withModifiers(onCancel, ["stop"])
178
180
  }, {
179
- default: vue.withCtx(() => [..._cache[3] || (_cache[3] = [
180
- vue.createTextVNode(vue.toDisplayString("关闭"), -1)
181
- ])]),
181
+ default: vue.withCtx(() => [
182
+ vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("close")), 1)
183
+ ]),
182
184
  _: 1
183
185
  }),
184
186
  vue.createVNode(vue.unref(elementPlus.ElButton), {
185
187
  type: "primary",
186
188
  onClick: vue.withModifiers(onDetermine, ["stop"])
187
189
  }, {
188
- default: vue.withCtx(() => [..._cache[4] || (_cache[4] = [
189
- vue.createTextVNode(vue.toDisplayString("确认"), -1)
190
- ])]),
190
+ default: vue.withCtx(() => [
191
+ vue.createTextVNode(vue.toDisplayString(vue.unref(getLocale)("form.confirm")), 1)
192
+ ]),
191
193
  _: 1
192
194
  })
193
195
  ], 2)
@@ -6,11 +6,13 @@ import { useCssName } from "../../../hooks/cssname/index.js";
6
6
  import { SelectScroll } from "../../select-scroll/index.js";
7
7
  import { Array } from "../../array/index.js";
8
8
  import { Inputs } from "../../inputs/index.js";
9
+ import { useLocale } from "../../../hooks/locale/index.js";
9
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
11
  __name: "index",
11
12
  props: dataProps,
12
13
  emits: dataEmits,
13
14
  setup(__props, { expose: __expose, emit: __emit }) {
15
+ const { getLocale } = useLocale();
14
16
  const cs = useCssName("selector");
15
17
  const props = __props;
16
18
  const emit = __emit;
@@ -174,18 +176,18 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
174
176
  text: "",
175
177
  onClick: withModifiers(onCancel, ["stop"])
176
178
  }, {
177
- default: withCtx(() => [..._cache[3] || (_cache[3] = [
178
- createTextVNode(toDisplayString("关闭"), -1)
179
- ])]),
179
+ default: withCtx(() => [
180
+ createTextVNode(toDisplayString(unref(getLocale)("close")), 1)
181
+ ]),
180
182
  _: 1
181
183
  }),
182
184
  createVNode(unref(ElButton), {
183
185
  type: "primary",
184
186
  onClick: withModifiers(onDetermine, ["stop"])
185
187
  }, {
186
- default: withCtx(() => [..._cache[4] || (_cache[4] = [
187
- createTextVNode(toDisplayString("确认"), -1)
188
- ])]),
188
+ default: withCtx(() => [
189
+ createTextVNode(toDisplayString(unref(getLocale)("form.confirm")), 1)
190
+ ]),
189
191
  _: 1
190
192
  })
191
193
  ], 2)
@@ -50,7 +50,7 @@ const dataProps = {
50
50
  }
51
51
  };
52
52
  const dataEmit = ["list-events", "selection"];
53
- const useInit = (props2, emit, refTable, isEl) => {
53
+ const useInit = (props2, emit, refTable, getLocale, isEl) => {
54
54
  var _a, _b;
55
55
  const loading = vue.ref(false);
56
56
  const mpagconfig = {
@@ -141,14 +141,14 @@ const useInit = (props2, emit, refTable, isEl) => {
141
141
  list.splice(i + 1, 0, {
142
142
  type: "index",
143
143
  width: width.index,
144
- label: "序号",
144
+ label: getLocale("serial"),
145
145
  fixed: true
146
146
  });
147
147
  } else {
148
148
  list.unshift({
149
149
  type: "index",
150
150
  width: width.index,
151
- label: "序号",
151
+ label: getLocale("serial"),
152
152
  fixed: true
153
153
  });
154
154
  }
@@ -67,7 +67,7 @@ export declare const dataProps: {
67
67
  };
68
68
  };
69
69
  export declare const dataEmit: string[];
70
- export declare const useInit: (props: ExtractPropTypes<typeof dataProps>, emit: Function, refTable: Ref, isEl?: boolean) => {
70
+ export declare const useInit: (props: ExtractPropTypes<typeof dataProps>, emit: Function, refTable: Ref, getLocale: Function, isEl?: boolean) => {
71
71
  height: ComputedRef<any>;
72
72
  tableConfig: Ref<{
73
73
  [x: string]: any;
@@ -48,7 +48,7 @@ const dataProps = {
48
48
  }
49
49
  };
50
50
  const dataEmit = ["list-events", "selection"];
51
- const useInit = (props2, emit, refTable, isEl) => {
51
+ const useInit = (props2, emit, refTable, getLocale, isEl) => {
52
52
  var _a, _b;
53
53
  const loading = ref(false);
54
54
  const mpagconfig = {
@@ -139,14 +139,14 @@ const useInit = (props2, emit, refTable, isEl) => {
139
139
  list.splice(i + 1, 0, {
140
140
  type: "index",
141
141
  width: width.index,
142
- label: "序号",
142
+ label: getLocale("serial"),
143
143
  fixed: true
144
144
  });
145
145
  } else {
146
146
  list.unshift({
147
147
  type: "index",
148
148
  width: width.index,
149
- label: "序号",
149
+ label: getLocale("serial"),
150
150
  fixed: true
151
151
  });
152
152
  }
@@ -3,7 +3,8 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const data = require("./data.cjs");
5
5
  const index$2 = require("element-plus/es/components/table/index");
6
- const index$3 = require("element-plus/es/components/loading/index");
6
+ const index$4 = require("element-plus/es/components/loading/index");
7
+ const index$3 = require("../../no-data/index.cjs");
7
8
  require("./columns.cjs");
8
9
  const index = require("../../../hooks/cssname/index.cjs");
9
10
  const index$1 = require("../../../hooks/inherit/index.cjs");
@@ -143,11 +144,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
143
144
  }), {
144
145
  empty: vue.withCtx(() => [
145
146
  vue.renderSlot(_ctx.$slots, "no-data", {}, () => [
146
- vue.createElementVNode("div", {
147
- class: vue.normalizeClass(vue.unref(cs).z("no-data"))
148
- }, [..._cache[0] || (_cache[0] = [
149
- vue.createElementVNode("span", null, "暂无数据", -1)
150
- ])], 2)
147
+ vue.createVNode(vue.unref(index$3.NoData))
151
148
  ])
152
149
  ]),
153
150
  default: vue.withCtx(() => [
@@ -173,7 +170,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
173
170
  ]),
174
171
  _: 3
175
172
  }, 16, ["class", "height", "row-style", "data", "default-sort"])), [
176
- [vue.unref(index$3.vLoading), props.loading]
173
+ [vue.unref(index$4.vLoading), props.loading]
177
174
  ])
178
175
  ], 16);
179
176
  };
@@ -1,7 +1,8 @@
1
- import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, withModifiers, withCtx, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, normalizeClass } from "vue";
1
+ import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, withModifiers, withCtx, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { dataExpose, dataEmits, dataProps } from "./data.js";
3
3
  import { ElTable } from "element-plus/es/components/table/index";
4
4
  import { vLoading } from "element-plus/es/components/loading/index";
5
+ import { NoData } from "../../no-data/index.js";
5
6
  import "./columns.js";
6
7
  import { useCssName } from "../../../hooks/cssname/index.js";
7
8
  import { useInherit } from "../../../hooks/inherit/index.js";
@@ -141,11 +142,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
141
142
  }), {
142
143
  empty: withCtx(() => [
143
144
  renderSlot(_ctx.$slots, "no-data", {}, () => [
144
- createElementVNode("div", {
145
- class: normalizeClass(unref(cs).z("no-data"))
146
- }, [..._cache[0] || (_cache[0] = [
147
- createElementVNode("span", null, "暂无数据", -1)
148
- ])], 2)
145
+ createVNode(unref(NoData))
149
146
  ])
150
147
  ]),
151
148
  default: withCtx(() => [
@@ -41,6 +41,7 @@
41
41
  }
42
42
  .paging-slot > span {
43
43
  margin-right: 10px;
44
+ white-space: nowrap;
44
45
  }
45
46
  .paging .el-pagination__total {
46
47
  font-size: 14px;
@@ -1,17 +1,19 @@
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$1 = require("../../tables/index.cjs");
5
- const index$3 = require("../../paging/index.cjs");
6
- const index$2 = require("../../../directives/scroll/index.cjs");
4
+ const index$2 = require("../../tables/index.cjs");
5
+ const index$4 = require("../../paging/index.cjs");
6
+ const index$3 = require("../../../directives/scroll/index.cjs");
7
7
  const pagin = require("../../tables/common/pagin.cjs");
8
- const index = require("../../../hooks/cssname/index.cjs");
8
+ const index$1 = require("../../../hooks/cssname/index.cjs");
9
+ const index = require("../../../hooks/locale/index.cjs");
9
10
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
11
  __name: "index",
11
12
  props: pagin.dataProps,
12
13
  emits: pagin.dataEmit,
13
14
  setup(__props, { expose: __expose, emit: __emit }) {
14
- const cs = index.useCssName("tablesp");
15
+ const { getLocale } = index.useLocale();
16
+ const cs = index$1.useCssName("tablesp");
15
17
  const slots = vue.useSlots();
16
18
  const props = __props;
17
19
  const emit = __emit;
@@ -37,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
37
39
  onCurrentChange,
38
40
  paginat,
39
41
  data
40
- } = pagin.useInit(props, emit, refTable, true);
42
+ } = pagin.useInit(props, emit, refTable, getLocale, true);
41
43
  __expose({
42
44
  getSelection,
43
45
  initData,
@@ -51,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
51
53
  class: vue.normalizeClass(vue.unref(cs).z()),
52
54
  style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
53
55
  }, [
54
- vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$1.Tables), vue.mergeProps(vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
56
+ vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(index$2.Tables), vue.mergeProps(vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
55
57
  height: vue.unref(height),
56
58
  ref_key: "refTable",
57
59
  ref: refTable,
@@ -83,9 +85,9 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
83
85
  };
84
86
  })
85
87
  ]), 1040, ["height", "class", "scroll-selector", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])), [
86
- [vue.unref(index$2.default), vue.unref(scroll)]
88
+ [vue.unref(index$3.default), vue.unref(scroll)]
87
89
  ]),
88
- ((_c = vue.unref(paginat)) == null ? void 0 : _c.is) && !vue.unref(paginat).scroll ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
90
+ ((_c = vue.unref(paginat)) == null ? void 0 : _c.is) && !vue.unref(paginat).scroll ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
89
91
  class: vue.unref(cs).z("paginat"),
90
92
  paginat: vue.unref(paginat),
91
93
  total: vue.unref(data).total,
@@ -4,11 +4,13 @@ import { Paging } from "../../paging/index.js";
4
4
  import vScroll from "../../../directives/scroll/index.js";
5
5
  import { useInit, dataEmit, dataProps } from "../../tables/common/pagin.js";
6
6
  import { useCssName } from "../../../hooks/cssname/index.js";
7
+ import { useLocale } from "../../../hooks/locale/index.js";
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  __name: "index",
9
10
  props: dataProps,
10
11
  emits: dataEmit,
11
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
+ const { getLocale } = useLocale();
12
14
  const cs = useCssName("tablesp");
13
15
  const slots = useSlots();
14
16
  const props = __props;
@@ -35,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
37
  onCurrentChange,
36
38
  paginat,
37
39
  data
38
- } = useInit(props, emit, refTable, true);
40
+ } = useInit(props, emit, refTable, getLocale, true);
39
41
  __expose({
40
42
  getSelection,
41
43
  initData,
@@ -1,17 +1,19 @@
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("../../tables/index.cjs");
5
- const index$1 = require("../../tablesv/index.cjs");
6
- const index$3 = require("../../paging/index.cjs");
4
+ const index$3 = require("../../tables/index.cjs");
5
+ const index$2 = require("../../tablesv/index.cjs");
6
+ const index$4 = require("../../paging/index.cjs");
7
7
  const pagin = require("../../tables/common/pagin.cjs");
8
- const index = require("../../../hooks/cssname/index.cjs");
8
+ const index$1 = require("../../../hooks/cssname/index.cjs");
9
+ const index = require("../../../hooks/locale/index.cjs");
9
10
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
10
11
  __name: "index",
11
12
  props: pagin.dataProps,
12
13
  emits: pagin.dataEmit,
13
14
  setup(__props, { expose: __expose, emit: __emit }) {
14
- const cs = index.useCssName("tabless");
15
+ const { getLocale } = index.useLocale();
16
+ const cs = index$1.useCssName("tabless");
15
17
  const slots = vue.useSlots();
16
18
  const props = __props;
17
19
  const emit = __emit;
@@ -37,7 +39,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
37
39
  onCurrentChange,
38
40
  paginat,
39
41
  data
40
- } = pagin.useInit(props, emit, refTable);
42
+ } = pagin.useInit(props, emit, refTable, getLocale);
41
43
  __expose({
42
44
  getSelection,
43
45
  initData,
@@ -50,7 +52,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
50
52
  class: vue.normalizeClass(vue.unref(cs).z()),
51
53
  style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
52
54
  }, [
53
- vue.unref(tableConfig).type == 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.Tablesv), vue.mergeProps({ key: 0 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
55
+ vue.unref(tableConfig).type == 1 ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Tablesv), vue.mergeProps({ key: 0 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
54
56
  height: vue.unref(height),
55
57
  ref_key: "refTable",
56
58
  ref: refTable,
@@ -75,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
75
77
  ])
76
78
  };
77
79
  })
78
- ]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$2.Tables), vue.mergeProps({ key: 1 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
80
+ ]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$3.Tables), vue.mergeProps({ key: 1 }, vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
79
81
  height: vue.unref(height),
80
82
  ref_key: "refTable",
81
83
  ref: refTable,
@@ -105,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
105
107
  };
106
108
  })
107
109
  ]), 1040, ["height", "class", "value", "list", "size", "paginat", "loading", "options", "compons", "onSortChange", "onListEvents", "onSelect", "onRowClick", "onSelectionChange"])),
108
- ((_d = vue.unref(tableConfig).paginat) == null ? void 0 : _d.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Paging), vue.mergeProps({ key: 2 }, vue.unref(pagconfig), {
110
+ ((_d = vue.unref(tableConfig).paginat) == null ? void 0 : _d.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$4.Paging), vue.mergeProps({ key: 2 }, vue.unref(pagconfig), {
109
111
  class: vue.unref(cs).z("paginat"),
110
112
  paginat: vue.unref(paginat),
111
113
  total: vue.unref(data).total,
@@ -4,11 +4,13 @@ import { Tablesv } from "../../tablesv/index.js";
4
4
  import { Paging } from "../../paging/index.js";
5
5
  import { useInit, dataEmit, dataProps } from "../../tables/common/pagin.js";
6
6
  import { useCssName } from "../../../hooks/cssname/index.js";
7
+ import { useLocale } from "../../../hooks/locale/index.js";
7
8
  const _sfc_main = /* @__PURE__ */ defineComponent({
8
9
  __name: "index",
9
10
  props: dataProps,
10
11
  emits: dataEmit,
11
12
  setup(__props, { expose: __expose, emit: __emit }) {
13
+ const { getLocale } = useLocale();
12
14
  const cs = useCssName("tabless");
13
15
  const slots = useSlots();
14
16
  const props = __props;
@@ -35,7 +37,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
35
37
  onCurrentChange,
36
38
  paginat,
37
39
  data
38
- } = useInit(props, emit, refTable);
40
+ } = useInit(props, emit, refTable, getLocale);
39
41
  __expose({
40
42
  getSelection,
41
43
  initData,
@@ -4,6 +4,7 @@ const vue = require("vue");
4
4
  const table = require("vxe-table/es/table");
5
5
  const data = require("./data.cjs");
6
6
  require("./columns.cjs");
7
+ const index$2 = require("../../no-data/index.cjs");
7
8
  const use = require("../../common/use.cjs");
8
9
  const index$1 = require("../../../hooks/inherit/index.cjs");
9
10
  const index = require("../../../hooks/cssname/index.cjs");
@@ -210,11 +211,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
210
211
  }), {
211
212
  empty: vue.withCtx(() => [
212
213
  vue.renderSlot(_ctx.$slots, "no-data", {}, () => [
213
- vue.createElementVNode("div", {
214
- class: vue.normalizeClass(vue.unref(cs).z("no-data"))
215
- }, [..._cache[0] || (_cache[0] = [
216
- vue.createElementVNode("span", null, "暂无数据", -1)
217
- ])], 2)
214
+ vue.createVNode(vue.unref(index$2.NoData))
218
215
  ])
219
216
  ]),
220
217
  default: vue.withCtx(() => [
@@ -1,7 +1,8 @@
1
- import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, createVNode, withModifiers, withCtx, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, normalizeClass } from "vue";
1
+ import { defineComponent, useSlots, useAttrs, provide, ref, computed, watch, onMounted, createElementBlock, openBlock, mergeProps, unref, createVNode, withModifiers, withCtx, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
2
2
  import { VxeTable } from "vxe-table/es/table";
3
3
  import { dataExpose, dataEmits, dataProps } from "./data.js";
4
4
  import "./columns.js";
5
+ import { NoData } from "../../no-data/index.js";
5
6
  import { uesObjComponSelected } from "../../common/use.js";
6
7
  import { useInherit } from "../../../hooks/inherit/index.js";
7
8
  import { useCssName } from "../../../hooks/cssname/index.js";
@@ -208,11 +209,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
208
209
  }), {
209
210
  empty: withCtx(() => [
210
211
  renderSlot(_ctx.$slots, "no-data", {}, () => [
211
- createElementVNode("div", {
212
- class: normalizeClass(unref(cs).z("no-data"))
213
- }, [..._cache[0] || (_cache[0] = [
214
- createElementVNode("span", null, "暂无数据", -1)
215
- ])], 2)
212
+ createVNode(unref(NoData))
216
213
  ])
217
214
  ]),
218
215
  default: withCtx(() => [
@@ -107,6 +107,7 @@
107
107
  }
108
108
  .paging-slot > span {
109
109
  margin-right: 10px;
110
+ white-space: nowrap;
110
111
  }
111
112
  .paging .el-pagination__total {
112
113
  font-size: 14px;
@@ -1,16 +1,18 @@
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$1 = require("../../tablesv/index.cjs");
5
- const index$2 = require("../../paging/index.cjs");
4
+ const index$2 = require("../../tablesv/index.cjs");
5
+ const index$3 = require("../../paging/index.cjs");
6
6
  const pagin = require("../../tables/common/pagin.cjs");
7
- const index = require("../../../hooks/cssname/index.cjs");
7
+ const index$1 = require("../../../hooks/cssname/index.cjs");
8
+ const index = require("../../../hooks/locale/index.cjs");
8
9
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
9
10
  __name: "index",
10
11
  props: pagin.dataProps,
11
12
  emits: pagin.dataEmit,
12
13
  setup(__props, { expose: __expose, emit: __emit }) {
13
- const cs = index.useCssName("tablesvp");
14
+ const { getLocale } = index.useLocale();
15
+ const cs = index$1.useCssName("tablesvp");
14
16
  const slots = vue.useSlots();
15
17
  const props = __props;
16
18
  const emit = __emit;
@@ -34,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
34
36
  onCurrentChange,
35
37
  paginat,
36
38
  data
37
- } = pagin.useInit(props, emit, refTable);
39
+ } = pagin.useInit(props, emit, refTable, getLocale);
38
40
  __expose({
39
41
  getSelection,
40
42
  initData,
@@ -47,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
47
49
  class: vue.normalizeClass(vue.unref(cs).z()),
48
50
  style: vue.normalizeStyle(vue.unref(cs).vdo({ height: vue.unref(height) }))
49
51
  }, [
50
- vue.createVNode(vue.unref(index$1.Tablesv), vue.mergeProps(vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
52
+ vue.createVNode(vue.unref(index$2.Tablesv), vue.mergeProps(vue.unref(tableConfig).config, vue.toHandlers(vue.unref(formEvent)), {
51
53
  height: vue.unref(height) == "auto" ? "auto" : "100%",
52
54
  ref_key: "refTable",
53
55
  ref: refTable,
@@ -73,7 +75,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
73
75
  };
74
76
  })
75
77
  ]), 1040, ["height", "class", "size", "value", "list", "paginat", "loading", "options", "compons", "onSortChange", "onRadioChange", "onSelectionChange", "onListEvents"]),
76
- ((_b = vue.unref(tableConfig).paginat) == null ? void 0 : _b.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
78
+ ((_b = vue.unref(tableConfig).paginat) == null ? void 0 : _b.is) ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.Paging), vue.mergeProps({ key: 0 }, vue.unref(pagconfig), {
77
79
  class: vue.unref(cs).z("paginat"),
78
80
  paginat: vue.unref(paginat),
79
81
  total: vue.unref(data).total,
@@ -3,11 +3,13 @@ import { Tablesv } from "../../tablesv/index.js";
3
3
  import { Paging } from "../../paging/index.js";
4
4
  import { useInit, dataEmit, dataProps } from "../../tables/common/pagin.js";
5
5
  import { useCssName } from "../../../hooks/cssname/index.js";
6
+ import { useLocale } from "../../../hooks/locale/index.js";
6
7
  const _sfc_main = /* @__PURE__ */ defineComponent({
7
8
  __name: "index",
8
9
  props: dataProps,
9
10
  emits: dataEmit,
10
11
  setup(__props, { expose: __expose, emit: __emit }) {
12
+ const { getLocale } = useLocale();
11
13
  const cs = useCssName("tablesvp");
12
14
  const slots = useSlots();
13
15
  const props = __props;
@@ -32,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
32
34
  onCurrentChange,
33
35
  paginat,
34
36
  data
35
- } = useInit(props, emit, refTable);
37
+ } = useInit(props, emit, refTable, getLocale);
36
38
  __expose({
37
39
  getSelection,
38
40
  initData,
@@ -99,6 +99,9 @@
99
99
  .forms-elf.center .el-form-item__label {
100
100
  justify-content: center;
101
101
  }
102
+ .forms .forms-li.forms-buts {
103
+ margin-right: 0;
104
+ }
102
105
  .forms-buts-div .el-button {
103
106
  height: inherit;
104
107
  }
@@ -60,6 +60,7 @@
60
60
  cursor: pointer;
61
61
  }
62
62
  .icon-picker .icon-picker-dialog-list-item:hover {
63
+ background-color: #e5e5e5;
63
64
  color: var(--on-icon-picker);
64
65
  }
65
66
  .icon-picker .icon-picker-dialog-list-icon {
@@ -15,4 +15,8 @@
15
15
  .iframe {
16
16
  width: 100%;
17
17
  height: 100%;
18
+ }
19
+ .iframe > iframe {
20
+ width: 100%;
21
+ height: 100%;
18
22
  }