@fangzhongya/fang-ui 0.1.45 → 0.1.46

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 (48) hide show
  1. package/dist/components/common/css.cjs +0 -1
  2. package/dist/components/common/css.js +0 -1
  3. package/dist/components/forms/src/setup.cjs +1 -2
  4. package/dist/components/forms/src/setup.js +1 -2
  5. package/dist/components/forms-items/src/index2.cjs +1 -2
  6. package/dist/components/forms-items/src/index2.js +1 -2
  7. package/dist/components/list/index.css +15 -14
  8. package/dist/components/list/index.scss +21 -19
  9. package/dist/components/list/src/index2.cjs +55 -41
  10. package/dist/components/list/src/index2.js +55 -41
  11. package/dist/components/lists/index.css +15 -14
  12. package/dist/components/lists/src/index2.cjs +1 -2
  13. package/dist/components/lists/src/index2.js +1 -2
  14. package/dist/components/listsp/index.css +15 -14
  15. package/dist/components/listspd/index.css +15 -14
  16. package/dist/components/page/index.css +20 -14
  17. package/dist/components/tables/common/pagin.cjs +1 -1
  18. package/dist/components/tables/common/pagin.js +1 -1
  19. package/dist/components/tables/common/tooltip.cjs +1 -1
  20. package/dist/components/tables/common/tooltip.js +1 -1
  21. package/dist/components/tables/index.css +5 -0
  22. package/dist/components/tables/index.scss +3 -0
  23. package/dist/components/tables/src/data.cjs +1 -3
  24. package/dist/components/tables/src/data.d.ts +1 -1
  25. package/dist/components/tables/src/data.js +1 -3
  26. package/dist/components/tablesp/index.css +5 -0
  27. package/dist/components/tablespd/index.css +5 -0
  28. package/dist/components/tablesv/src/data.cjs +1 -3
  29. package/dist/components/tablesv/src/data.d.ts +1 -1
  30. package/dist/components/tablesv/src/data.js +1 -3
  31. package/dist/css/index.css +20 -14
  32. package/dist/css/list.css +15 -14
  33. package/dist/css/lists.css +15 -14
  34. package/dist/css/listsp.css +15 -14
  35. package/dist/css/listspd.css +15 -14
  36. package/dist/css/page.css +20 -14
  37. package/dist/css/tables.css +5 -0
  38. package/dist/css/tablesp.css +5 -0
  39. package/dist/css/tablespd.css +5 -0
  40. package/dist/icons/index.json +1 -1
  41. package/dist/index.css +20 -14
  42. package/dist/utils/css.cjs +0 -10
  43. package/dist/utils/css.d.ts +0 -2
  44. package/dist/utils/css.js +1 -5
  45. package/dist/utils/vues/buildProps.d.ts +5 -0
  46. package/package.json +4 -4
  47. /package/dist/components/{keep-com → global-config}/index.css +0 -0
  48. /package/dist/css/{keep-com.css → global-config.css} +0 -0
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- require("../../utils/css.cjs");
4
3
  const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
5
4
  function setStyles(v, data, props) {
6
5
  const style = v.style || {};
@@ -1,4 +1,3 @@
1
- import "../../utils/css.js";
2
1
  import { setObjStyle } from "@fangzhongya/utils/css/setObjStyle";
3
2
  function setStyles(v, data, props) {
4
3
  const style = v.style || {};
@@ -3,12 +3,11 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
3
  const data = require("./data.cjs");
4
4
  const config = require("../common/config.cjs");
5
5
  const util = require("./util.cjs");
6
- require("../../../utils/css.cjs");
6
+ const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
7
7
  const use = require("../../common/use.cjs");
8
8
  const vue = require("vue");
9
9
  const index$1 = require("../../../hooks/compons/index.cjs");
10
10
  const index = require("../../forms-items/index.cjs");
11
- const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
12
11
  const Components = {
13
12
  Items: index.FormsItems
14
13
  };
@@ -1,12 +1,11 @@
1
1
  import { dataHandle } from "./data.js";
2
2
  import { provides } from "../common/config.js";
3
3
  import { setPlaceholder, getRule } from "./util.js";
4
- import "../../../utils/css.js";
4
+ import { setObjStyle } from "@fangzhongya/utils/css/setObjStyle";
5
5
  import { setFormDefaultValue, getListObjValue, getFormRule } from "../../common/use.js";
6
6
  import { computed, provide, isProxy, ref, watch } from "vue";
7
7
  import { useCompons } from "../../../hooks/compons/index.js";
8
8
  import { FormsItems } from "../../forms-items/index.js";
9
- import { setObjStyle } from "@fangzhongya/utils/css/setObjStyle";
10
9
  const Components = {
11
10
  Items: FormsItems
12
11
  };
@@ -5,11 +5,10 @@ const data = require("./data.cjs");
5
5
  const index$3 = require("../../forms-item/index.cjs");
6
6
  const index$2 = require("../../forms-div/index.cjs");
7
7
  const index = require("../../../hooks/cssname/index.cjs");
8
- require("../../../utils/css.cjs");
8
+ const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
9
9
  const use = require("../../common/use.cjs");
10
10
  const index$1 = require("../../../hooks/props-default/index.cjs");
11
11
  const config = require("../../forms/common/config.cjs");
12
- const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
13
12
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
13
  __name: "index",
15
14
  props: index$1.getProps(data.dataProps),
@@ -3,11 +3,10 @@ import { name, dataProps, dataExpose, dataEmits } from "./data.js";
3
3
  import { FormsItem } from "../../forms-item/index.js";
4
4
  import { FormsDiv } from "../../forms-div/index.js";
5
5
  import { useCssName } from "../../../hooks/cssname/index.js";
6
- import "../../../utils/css.js";
6
+ import { setObjStyle } from "@fangzhongya/utils/css/setObjStyle";
7
7
  import { useHide } from "../../common/use.js";
8
8
  import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
9
9
  import { provides } from "../../forms/common/config.js";
10
- import { setObjStyle } from "@fangzhongya/utils/css/setObjStyle";
11
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
12
11
  __name: "index",
13
12
  props: getProps(dataProps),
@@ -27,10 +27,10 @@
27
27
  width: 100%;
28
28
  height: 100%;
29
29
  }
30
- .list-div .list-table td {
30
+ .list-div .list-table-td {
31
31
  text-align: left;
32
32
  }
33
- .list-div .list-table th {
33
+ .list-div .list-table-th {
34
34
  font-weight: initial;
35
35
  }
36
36
  .list-div .list-table .is-whole .list-table-auto {
@@ -102,11 +102,13 @@
102
102
  .list-div .list-table .list-table-value {
103
103
  word-break: break-all;
104
104
  white-space: pre-wrap;
105
+ overflow: hidden;
106
+ }
107
+ .list-div .list-table .list-table-value.is-tooltip {
105
108
  max-height: var(--list-row-max-height);
106
109
  display: -webkit-box;
107
- -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
110
+ -webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
108
111
  -webkit-box-orient: vertical;
109
- overflow: hidden;
110
112
  text-overflow: ellipsis;
111
113
  }
112
114
  .list-div .list-table.right .list-table-th {
@@ -126,34 +128,33 @@
126
128
  border-top: 1px solid var(--list-border-color);
127
129
  border-bottom: 1px solid var(--list-border-color);
128
130
  }
129
- .list-div .list-table.is-border > tr > td {
131
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td {
130
132
  border-bottom: 1px solid var(--list-border-color);
131
133
  border-left: 1px solid var(--list-border-color);
132
134
  }
133
- .list-div .list-table.is-border > tr > td:last-child {
135
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
134
136
  border-right: 1px solid var(--list-border-color);
135
137
  }
136
- .list-div .list-table.is-border > tr > th {
138
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th {
137
139
  border-left: 1px solid var(--list-border-color);
138
140
  border-bottom: 1px solid var(--list-border-color);
139
141
  }
140
- .list-div .list-table.is-border > tr > th:last-child {
142
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
141
143
  border-right: 1px solid var(--list-border-color);
142
144
  }
143
- .list-div .list-table.is-border > tr:last-child > td {
145
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
144
146
  border-bottom: 0;
145
147
  }
146
- .list-div .list-table.is-border > tr:last-child > th {
148
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
147
149
  border-bottom: 0;
148
150
  }
149
- .list-div .list-table.is-border.top > tr > th {
151
+ .list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
150
152
  border-bottom: 0;
151
153
  }
152
154
  .list-div .list-table .list-com {
153
155
  display: flex;
154
156
  align-items: center;
155
157
  }
156
- .list-div .list-table .list-com-img {
157
- width: 50px;
158
- height: 50px;
158
+ .list-div .el-tooltip {
159
+ white-space: pre-wrap;
159
160
  }
@@ -6,10 +6,10 @@ $list: 'list';
6
6
  .#{z($list, 'table')} {
7
7
  width: 100%;
8
8
  height: 100%;
9
- td {
9
+ &-td {
10
10
  text-align: left;
11
11
  }
12
- th {
12
+ &-th {
13
13
  font-weight: initial;
14
14
  }
15
15
  .is-whole {
@@ -94,14 +94,17 @@ $list: 'list';
94
94
  .#{z($list, 'table-value')} {
95
95
  word-break: break-all;
96
96
  white-space: pre-wrap;
97
- max-height: var(vdm('row-max-height', $list));
98
- display: -webkit-box;
99
- -webkit-line-clamp: var(
100
- vdm('line-clamp', $list)
101
- ); /* 显示的行数 */
102
- -webkit-box-orient: vertical;
103
97
  overflow: hidden;
104
- text-overflow: ellipsis;
98
+ &.#{is('tooltip')} {
99
+ max-height: var(vdm('row-max-height', $list));
100
+ display: -webkit-box;
101
+ -webkit-line-clamp: var(
102
+ vdm('line-clamp', $list),
103
+ 1
104
+ ); /* 显示的行数 */
105
+ -webkit-box-orient: vertical;
106
+ text-overflow: ellipsis;
107
+ }
105
108
  }
106
109
  &.right {
107
110
  .#{z($list, 'table-th')} {
@@ -133,32 +136,32 @@ $list: 'list';
133
136
  border-right: 1px solid var(vdm('border-color', $list));
134
137
  border-top: 1px solid var(vdm('border-color', $list));
135
138
  border-bottom: 1px solid var(vdm('border-color', $list));
136
- & > tr > td {
139
+ & > .#{z($list, 'table-tr')} > .#{z($list, 'table-td')} {
137
140
  border-bottom: 1px solid var(vdm('border-color', $list));
138
141
  border-left: 1px solid var(vdm('border-color', $list));
139
142
  &:last-child {
140
143
  border-right: 1px solid var(vdm('border-color', $list));
141
144
  }
142
145
  }
143
- & > tr > th {
146
+ & > .#{z($list, 'table-tr')} > .#{z($list, 'table-th')} {
144
147
  border-left: 1px solid var(vdm('border-color', $list));
145
148
  border-bottom: 1px solid var(vdm('border-color', $list));
146
149
  &:last-child {
147
150
  border-right: 1px solid var(vdm('border-color', $list));
148
151
  }
149
152
  }
150
- & > tr {
153
+ & > .#{z($list, 'table-tr')} {
151
154
  &:last-child {
152
- > td {
155
+ > .#{z($list, 'table-td')} {
153
156
  border-bottom: 0;
154
157
  }
155
- > th {
158
+ > .#{z($list, 'table-th')} {
156
159
  border-bottom: 0;
157
160
  }
158
161
  }
159
162
  }
160
163
  &.top {
161
- & > tr > th {
164
+ & > .#{z($list, 'table-tr')} > .#{z($list, 'table-th')} {
162
165
  border-bottom: 0;
163
166
  }
164
167
  }
@@ -167,11 +170,10 @@ $list: 'list';
167
170
  .#{z('list-com')} {
168
171
  display: flex;
169
172
  align-items: center;
170
- &-img {
171
- width: 50px;
172
- height: 50px;
173
- }
174
173
  }
175
174
  }
175
+ .#{el('tooltip')} {
176
+ white-space: pre-wrap;
177
+ }
176
178
  }
177
179
  }
@@ -3,6 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const vue = require("vue");
4
4
  const util = require("./util.cjs");
5
5
  const css = require("../../common/css.cjs");
6
+ const getAttrValue = require("../../../utils/vues/getAttrValue.cjs");
6
7
  const use = require("../../common/use.cjs");
7
8
  const index$1 = require("../../../hooks/compons/index.cjs");
8
9
  const index$2 = require("../../../hooks/cssname/index.cjs");
@@ -79,7 +80,15 @@ const _sfc_main = vue.defineComponent({
79
80
  };
80
81
  const createRowAndReset = (arr, trs, resetLine = false) => {
81
82
  if (trs.length > 0) {
82
- arr.push(vue.h("tr", {}, trs));
83
+ arr.push(
84
+ vue.h(
85
+ "tr",
86
+ {
87
+ class: cs.z("table-tr")
88
+ },
89
+ trs
90
+ )
91
+ );
83
92
  }
84
93
  return { newTrs: [], newLine: resetLine ? 0 : -1 };
85
94
  };
@@ -157,7 +166,10 @@ const _sfc_main = vue.defineComponent({
157
166
  };
158
167
  const createDoubleRows = (arr, trls, trvs) => {
159
168
  if (trls.length > 0) {
160
- arr.push(vue.h("tr", {}, trls), vue.h("tr", {}, trvs));
169
+ arr.push(
170
+ vue.h("tr", { class: cs.z("table-tr") }, trls),
171
+ vue.h("tr", { class: cs.z("table-tr") }, trvs)
172
+ );
161
173
  }
162
174
  };
163
175
  const getlabel = (obj, index2) => {
@@ -205,16 +217,13 @@ const _sfc_main = vue.defineComponent({
205
217
  const handleCellMouseLeave = ($event) => {
206
218
  tooltip.hideTooltip($event);
207
219
  };
208
- const handleCellMouseEnter = ($event, obj) => {
209
- const showOverflow = obj.showOverflow ?? props.showOverflow;
210
- if (showOverflow) {
211
- tooltip.showTooltip(
212
- $event,
213
- refDom.value,
214
- showOverflow,
215
- props.lineClamp
216
- );
217
- }
220
+ const handleCellMouseEnter = ($event, showOverflow) => {
221
+ tooltip.showTooltip(
222
+ $event,
223
+ refDom.value,
224
+ showOverflow,
225
+ props.lineClamp
226
+ );
218
227
  };
219
228
  const getChildrenValue = (obj, index2) => {
220
229
  if (obj.children) {
@@ -230,36 +239,41 @@ const _sfc_main = vue.defineComponent({
230
239
  )
231
240
  ];
232
241
  } else {
242
+ const showOverflow = getAttrValue.getAttrValue(obj, "showOverflow") ?? props.showOverflow;
243
+ const attrs = {
244
+ class: [
245
+ cs.z("table-value"),
246
+ cs.is("tooltip", showOverflow)
247
+ ].join(" "),
248
+ style: {
249
+ textAlign: obj.align || props.align
250
+ },
251
+ title: obj.title,
252
+ onClick(event) {
253
+ if (obj.click) {
254
+ obj.click(event, props, obj);
255
+ }
256
+ }
257
+ };
258
+ if (showOverflow) {
259
+ attrs.onMouseenter = ($event) => {
260
+ return handleCellMouseEnter($event, showOverflow);
261
+ };
262
+ attrs.onMouseleave = handleCellMouseLeave;
263
+ }
233
264
  return [
234
- vue.h(
235
- "span",
236
- {
237
- class: cs.z("table-value"),
238
- style: {
239
- textAlign: obj.align || props.align
240
- },
241
- title: obj.title,
242
- onMouseenter: ($event) => handleCellMouseEnter($event, obj),
243
- onMouseleave: handleCellMouseLeave,
244
- onClick(event) {
245
- if (obj.click) {
246
- obj.click(event, props, obj);
247
- }
248
- }
249
- },
250
- [
251
- util.setSslot(
252
- obj,
253
- props.value,
254
- props,
255
- compons,
256
- emit,
257
- slots,
258
- isComponSelected,
259
- index2
260
- )
261
- ]
262
- )
265
+ vue.h("span", attrs, [
266
+ util.setSslot(
267
+ obj,
268
+ props.value,
269
+ props,
270
+ compons,
271
+ emit,
272
+ slots,
273
+ isComponSelected,
274
+ index2
275
+ )
276
+ ])
263
277
  ];
264
278
  }
265
279
  };
@@ -1,6 +1,7 @@
1
1
  import { defineComponent, ref, shallowRef, computed, h, onMounted } from "vue";
2
2
  import { setLabel, setSslot } from "./util.js";
3
3
  import { setStyles } from "../../common/css.js";
4
+ import { getAttrValue } from "../../../utils/vues/getAttrValue.js";
4
5
  import { useObjComponSelected, useHide } from "../../common/use.js";
5
6
  import { useCompons } from "../../../hooks/compons/index.js";
6
7
  import { useCssName } from "../../../hooks/cssname/index.js";
@@ -77,7 +78,15 @@ const _sfc_main = defineComponent({
77
78
  };
78
79
  const createRowAndReset = (arr, trs, resetLine = false) => {
79
80
  if (trs.length > 0) {
80
- arr.push(h("tr", {}, trs));
81
+ arr.push(
82
+ h(
83
+ "tr",
84
+ {
85
+ class: cs.z("table-tr")
86
+ },
87
+ trs
88
+ )
89
+ );
81
90
  }
82
91
  return { newTrs: [], newLine: resetLine ? 0 : -1 };
83
92
  };
@@ -155,7 +164,10 @@ const _sfc_main = defineComponent({
155
164
  };
156
165
  const createDoubleRows = (arr, trls, trvs) => {
157
166
  if (trls.length > 0) {
158
- arr.push(h("tr", {}, trls), h("tr", {}, trvs));
167
+ arr.push(
168
+ h("tr", { class: cs.z("table-tr") }, trls),
169
+ h("tr", { class: cs.z("table-tr") }, trvs)
170
+ );
159
171
  }
160
172
  };
161
173
  const getlabel = (obj, index) => {
@@ -203,16 +215,13 @@ const _sfc_main = defineComponent({
203
215
  const handleCellMouseLeave = ($event) => {
204
216
  hideTooltip($event);
205
217
  };
206
- const handleCellMouseEnter = ($event, obj) => {
207
- const showOverflow = obj.showOverflow ?? props.showOverflow;
208
- if (showOverflow) {
209
- showTooltip(
210
- $event,
211
- refDom.value,
212
- showOverflow,
213
- props.lineClamp
214
- );
215
- }
218
+ const handleCellMouseEnter = ($event, showOverflow) => {
219
+ showTooltip(
220
+ $event,
221
+ refDom.value,
222
+ showOverflow,
223
+ props.lineClamp
224
+ );
216
225
  };
217
226
  const getChildrenValue = (obj, index) => {
218
227
  if (obj.children) {
@@ -228,36 +237,41 @@ const _sfc_main = defineComponent({
228
237
  )
229
238
  ];
230
239
  } else {
240
+ const showOverflow = getAttrValue(obj, "showOverflow") ?? props.showOverflow;
241
+ const attrs = {
242
+ class: [
243
+ cs.z("table-value"),
244
+ cs.is("tooltip", showOverflow)
245
+ ].join(" "),
246
+ style: {
247
+ textAlign: obj.align || props.align
248
+ },
249
+ title: obj.title,
250
+ onClick(event) {
251
+ if (obj.click) {
252
+ obj.click(event, props, obj);
253
+ }
254
+ }
255
+ };
256
+ if (showOverflow) {
257
+ attrs.onMouseenter = ($event) => {
258
+ return handleCellMouseEnter($event, showOverflow);
259
+ };
260
+ attrs.onMouseleave = handleCellMouseLeave;
261
+ }
231
262
  return [
232
- h(
233
- "span",
234
- {
235
- class: cs.z("table-value"),
236
- style: {
237
- textAlign: obj.align || props.align
238
- },
239
- title: obj.title,
240
- onMouseenter: ($event) => handleCellMouseEnter($event, obj),
241
- onMouseleave: handleCellMouseLeave,
242
- onClick(event) {
243
- if (obj.click) {
244
- obj.click(event, props, obj);
245
- }
246
- }
247
- },
248
- [
249
- setSslot(
250
- obj,
251
- props.value,
252
- props,
253
- compons,
254
- emit,
255
- slots,
256
- isComponSelected,
257
- index
258
- )
259
- ]
260
- )
263
+ h("span", attrs, [
264
+ setSslot(
265
+ obj,
266
+ props.value,
267
+ props,
268
+ compons,
269
+ emit,
270
+ slots,
271
+ isComponSelected,
272
+ index
273
+ )
274
+ ])
261
275
  ];
262
276
  }
263
277
  };
@@ -27,10 +27,10 @@
27
27
  width: 100%;
28
28
  height: 100%;
29
29
  }
30
- .list-div .list-table td {
30
+ .list-div .list-table-td {
31
31
  text-align: left;
32
32
  }
33
- .list-div .list-table th {
33
+ .list-div .list-table-th {
34
34
  font-weight: initial;
35
35
  }
36
36
  .list-div .list-table .is-whole .list-table-auto {
@@ -102,11 +102,13 @@
102
102
  .list-div .list-table .list-table-value {
103
103
  word-break: break-all;
104
104
  white-space: pre-wrap;
105
+ overflow: hidden;
106
+ }
107
+ .list-div .list-table .list-table-value.is-tooltip {
105
108
  max-height: var(--list-row-max-height);
106
109
  display: -webkit-box;
107
- -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
110
+ -webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
108
111
  -webkit-box-orient: vertical;
109
- overflow: hidden;
110
112
  text-overflow: ellipsis;
111
113
  }
112
114
  .list-div .list-table.right .list-table-th {
@@ -126,36 +128,35 @@
126
128
  border-top: 1px solid var(--list-border-color);
127
129
  border-bottom: 1px solid var(--list-border-color);
128
130
  }
129
- .list-div .list-table.is-border > tr > td {
131
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td {
130
132
  border-bottom: 1px solid var(--list-border-color);
131
133
  border-left: 1px solid var(--list-border-color);
132
134
  }
133
- .list-div .list-table.is-border > tr > td:last-child {
135
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
134
136
  border-right: 1px solid var(--list-border-color);
135
137
  }
136
- .list-div .list-table.is-border > tr > th {
138
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th {
137
139
  border-left: 1px solid var(--list-border-color);
138
140
  border-bottom: 1px solid var(--list-border-color);
139
141
  }
140
- .list-div .list-table.is-border > tr > th:last-child {
142
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
141
143
  border-right: 1px solid var(--list-border-color);
142
144
  }
143
- .list-div .list-table.is-border > tr:last-child > td {
145
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
144
146
  border-bottom: 0;
145
147
  }
146
- .list-div .list-table.is-border > tr:last-child > th {
148
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
147
149
  border-bottom: 0;
148
150
  }
149
- .list-div .list-table.is-border.top > tr > th {
151
+ .list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
150
152
  border-bottom: 0;
151
153
  }
152
154
  .list-div .list-table .list-com {
153
155
  display: flex;
154
156
  align-items: center;
155
157
  }
156
- .list-div .list-table .list-com-img {
157
- width: 50px;
158
- height: 50px;
158
+ .list-div .el-tooltip {
159
+ white-space: pre-wrap;
159
160
  }
160
161
 
161
162
  .lists {
@@ -9,9 +9,8 @@ const index$2 = require("../../../hooks/cssname/index.cjs");
9
9
  const index$1 = require("../../../hooks/locale/index.cjs");
10
10
  const index = require("../../../hooks/inherit/index.cjs");
11
11
  const index$5 = require("../../list/index.cjs");
12
- require("../../../utils/css.cjs");
13
- const index$3 = require("../../../hooks/props-default/index.cjs");
14
12
  const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
13
+ const index$3 = require("../../../hooks/props-default/index.cjs");
15
14
  const index$7 = require("element-plus/es/components/loading/index");
16
15
  const _hoisted_1 = ["onClick"];
17
16
  const _sfc_main = /* @__PURE__ */ vue.defineComponent({
@@ -7,9 +7,8 @@ import { useCssName } from "../../../hooks/cssname/index.js";
7
7
  import { useLocale } from "../../../hooks/locale/index.js";
8
8
  import { useInherit } from "../../../hooks/inherit/index.js";
9
9
  import { List } from "../../list/index.js";
10
- import "../../../utils/css.js";
11
- import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
12
10
  import { setObjStyle } from "@fangzhongya/utils/css/setObjStyle";
11
+ import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
13
12
  import { vLoading } from "element-plus/es/components/loading/index";
14
13
  const _hoisted_1 = ["onClick"];
15
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
@@ -27,10 +27,10 @@
27
27
  width: 100%;
28
28
  height: 100%;
29
29
  }
30
- .list-div .list-table td {
30
+ .list-div .list-table-td {
31
31
  text-align: left;
32
32
  }
33
- .list-div .list-table th {
33
+ .list-div .list-table-th {
34
34
  font-weight: initial;
35
35
  }
36
36
  .list-div .list-table .is-whole .list-table-auto {
@@ -102,11 +102,13 @@
102
102
  .list-div .list-table .list-table-value {
103
103
  word-break: break-all;
104
104
  white-space: pre-wrap;
105
+ overflow: hidden;
106
+ }
107
+ .list-div .list-table .list-table-value.is-tooltip {
105
108
  max-height: var(--list-row-max-height);
106
109
  display: -webkit-box;
107
- -webkit-line-clamp: var(--list-line-clamp); /* 显示的行数 */
110
+ -webkit-line-clamp: var(--list-line-clamp, 1); /* 显示的行数 */
108
111
  -webkit-box-orient: vertical;
109
- overflow: hidden;
110
112
  text-overflow: ellipsis;
111
113
  }
112
114
  .list-div .list-table.right .list-table-th {
@@ -126,36 +128,35 @@
126
128
  border-top: 1px solid var(--list-border-color);
127
129
  border-bottom: 1px solid var(--list-border-color);
128
130
  }
129
- .list-div .list-table.is-border > tr > td {
131
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td {
130
132
  border-bottom: 1px solid var(--list-border-color);
131
133
  border-left: 1px solid var(--list-border-color);
132
134
  }
133
- .list-div .list-table.is-border > tr > td:last-child {
135
+ .list-div .list-table.is-border > .list-table-tr > .list-table-td:last-child {
134
136
  border-right: 1px solid var(--list-border-color);
135
137
  }
136
- .list-div .list-table.is-border > tr > th {
138
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th {
137
139
  border-left: 1px solid var(--list-border-color);
138
140
  border-bottom: 1px solid var(--list-border-color);
139
141
  }
140
- .list-div .list-table.is-border > tr > th:last-child {
142
+ .list-div .list-table.is-border > .list-table-tr > .list-table-th:last-child {
141
143
  border-right: 1px solid var(--list-border-color);
142
144
  }
143
- .list-div .list-table.is-border > tr:last-child > td {
145
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-td {
144
146
  border-bottom: 0;
145
147
  }
146
- .list-div .list-table.is-border > tr:last-child > th {
148
+ .list-div .list-table.is-border > .list-table-tr:last-child > .list-table-th {
147
149
  border-bottom: 0;
148
150
  }
149
- .list-div .list-table.is-border.top > tr > th {
151
+ .list-div .list-table.is-border.top > .list-table-tr > .list-table-th {
150
152
  border-bottom: 0;
151
153
  }
152
154
  .list-div .list-table .list-com {
153
155
  display: flex;
154
156
  align-items: center;
155
157
  }
156
- .list-div .list-table .list-com-img {
157
- width: 50px;
158
- height: 50px;
158
+ .list-div .el-tooltip {
159
+ white-space: pre-wrap;
159
160
  }
160
161
 
161
162
  .lists {