@fangzhongya/fang-ui 0.1.53 → 0.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/forms/src/setup.cjs +1 -1
- package/dist/components/forms/src/setup.js +1 -1
- package/dist/components/forms/src/util.cjs +1 -1
- package/dist/components/forms/src/util.js +1 -1
- package/dist/components/forms-div/src/index2.cjs +1 -1
- package/dist/components/forms-div/src/index2.js +1 -1
- package/dist/components/forms-item/src/index2.cjs +1 -1
- package/dist/components/forms-item/src/index2.js +1 -1
- package/dist/components/forms-item/src/label.cjs +1 -1
- package/dist/components/forms-item/src/label.js +1 -1
- package/dist/components/forms-items/src/index2.cjs +1 -1
- package/dist/components/forms-items/src/index2.js +1 -1
- package/dist/components/list/index.css +12 -3
- package/dist/components/list/index.scss +2 -3
- package/dist/components/list/src/index2.cjs +9 -9
- package/dist/components/list/src/index2.js +9 -9
- package/dist/components/list/src/util.cjs +1 -1
- package/dist/components/list/src/util.js +1 -1
- package/dist/components/lists/index.css +12 -3
- package/dist/components/listsp/index.css +12 -3
- package/dist/components/listsp/src/index2.cjs +1 -1
- package/dist/components/listsp/src/index2.js +1 -1
- package/dist/components/listspd/index.css +12 -3
- package/dist/components/listspd/src/index2.cjs +1 -1
- package/dist/components/listspd/src/index2.js +1 -1
- package/dist/components/page/index.css +12 -11
- package/dist/components/tables/index.css +4 -0
- package/dist/components/tables/index.scss +1 -1
- package/dist/components/tables/src/column.cjs +2 -2
- package/dist/components/tables/src/column.js +2 -2
- package/dist/components/tables/src/columns2.cjs +10 -10
- package/dist/components/tables/src/columns2.js +10 -10
- package/dist/components/tables/src/index2.cjs +1 -1
- package/dist/components/tables/src/index2.js +1 -1
- package/dist/components/{tables → tableset}/common/com-color2.cjs +23 -25
- package/dist/components/{tables → tableset}/common/com-color2.js +24 -26
- package/dist/components/{tables → tableset}/common/com-fig2.cjs +27 -21
- package/dist/components/{tables → tableset}/common/com-fig2.js +28 -22
- package/dist/components/{tables → tableset}/common/com-limit2.cjs +22 -23
- package/dist/components/{tables → tableset}/common/com-limit2.js +23 -24
- package/dist/components/{tables → tableset}/common/com-lis2.cjs +22 -15
- package/dist/components/{tables → tableset}/common/com-lis2.js +23 -16
- package/dist/components/{tables → tableset}/common/com.scss +4 -0
- package/dist/components/tableset/common/empty.cjs +4 -0
- package/dist/components/tableset/common/empty.js +4 -0
- package/dist/components/tableset/common/empty2.cjs +48 -0
- package/dist/components/tableset/common/empty2.js +48 -0
- package/dist/components/{tables → tableset}/common/pagin.d.ts +1 -1
- package/dist/components/tablesp/index.css +4 -0
- package/dist/components/tablesp/src/index2.cjs +1 -1
- package/dist/components/tablesp/src/index2.js +1 -1
- package/dist/components/tablespd/index.css +4 -0
- package/dist/components/tablespd/src/index2.cjs +1 -1
- package/dist/components/tablespd/src/index2.js +1 -1
- package/dist/components/tabless/src/index2.cjs +1 -1
- package/dist/components/tabless/src/index2.js +1 -1
- package/dist/components/tablesv/src/column.cjs +2 -2
- package/dist/components/tablesv/src/column.js +2 -2
- package/dist/components/tablesv/src/columns2.cjs +8 -8
- package/dist/components/tablesv/src/columns2.js +8 -8
- package/dist/components/tablesv/src/columns3.cjs +1 -1
- package/dist/components/tablesv/src/columns3.js +1 -1
- package/dist/components/tablesv/src/index2.cjs +1 -1
- package/dist/components/tablesv/src/index2.js +1 -1
- package/dist/components/tablesvp/src/index2.cjs +1 -1
- package/dist/components/tablesvp/src/index2.js +1 -1
- package/dist/components/tablesvpd/src/index2.cjs +1 -1
- package/dist/components/tablesvpd/src/index2.js +1 -1
- package/dist/css/index.css +12 -11
- package/dist/css/list.css +12 -3
- package/dist/css/lists.css +12 -3
- package/dist/css/listsp.css +12 -3
- package/dist/css/listspd.css +12 -3
- package/dist/css/page.css +12 -11
- package/dist/css/tables.css +4 -0
- package/dist/css/tablesp.css +4 -0
- package/dist/css/tablespd.css +4 -0
- package/dist/icons/index.json +1 -1
- package/dist/index.css +12 -11
- package/package.json +5 -5
- /package/dist/components/{box → box-fun}/index.css +0 -0
- /package/dist/components/{forms → formset}/common/config.cjs +0 -0
- /package/dist/components/{forms → formset}/common/config.d.ts +0 -0
- /package/dist/components/{forms → formset}/common/config.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-but.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-but.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-but2.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-but2.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-color.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-color.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-fig.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-fig.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-limit.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-limit.js +0 -0
- /package/dist/components/{tables → tableset}/common/com-lis.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/com-lis.js +0 -0
- /package/dist/components/{tables → tableset}/common/config.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/config.d.ts +0 -0
- /package/dist/components/{tables → tableset}/common/config.js +0 -0
- /package/dist/components/{tables → tableset}/common/pagin.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/pagin.js +0 -0
- /package/dist/components/{tables → tableset}/common/tooltip.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/tooltip.d.ts +0 -0
- /package/dist/components/{tables → tableset}/common/tooltip.js +0 -0
- /package/dist/components/{tables → tableset}/common/util.cjs +0 -0
- /package/dist/components/{tables → tableset}/common/util.d.ts +0 -0
- /package/dist/components/{tables → tableset}/common/util.js +0 -0
- /package/dist/css/{box.css → box-fun.css} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const data = require("./data.cjs");
|
|
4
|
-
const config = require("
|
|
4
|
+
const config = require("../../formset/common/config.cjs");
|
|
5
5
|
const util = require("./util.cjs");
|
|
6
6
|
const setObjStyle = require("@fangzhongya/utils/css/setObjStyle");
|
|
7
7
|
const use = require("../../common/use.cjs");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { dataHandle } from "./data.js";
|
|
2
|
-
import { provides } from "
|
|
2
|
+
import { provides } from "../../formset/common/config.js";
|
|
3
3
|
import { setPlaceholder, getRule } from "./util.js";
|
|
4
4
|
import { setObjStyle } from "@fangzhongya/utils/css/setObjStyle";
|
|
5
5
|
import { setFormDefaultValue, getListObjValue, getFormRule } from "../../common/use.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
3
|
const check = require("@fangzhongya/utils/judge/judge");
|
|
4
|
-
const config = require("
|
|
4
|
+
const config = require("../../formset/common/config.cjs");
|
|
5
5
|
const lineToLargeHump = require("@fangzhongya/utils/name/lineToLargeHump");
|
|
6
6
|
const use = require("../../common/use.cjs");
|
|
7
7
|
function _interopNamespaceDefault(e) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as check from "@fangzhongya/utils/judge/judge";
|
|
2
|
-
import { changes } from "
|
|
2
|
+
import { changes } from "../../formset/common/config.js";
|
|
3
3
|
import { lineToLargeHump } from "@fangzhongya/utils/name/lineToLargeHump";
|
|
4
4
|
import { getLabelText, useHide } from "../../common/use.js";
|
|
5
5
|
function isValue(value) {
|
|
@@ -8,7 +8,7 @@ const use = require("../../common/use.cjs");
|
|
|
8
8
|
const isEqual = require("@fangzhongya/utils/basic/object/isEqual");
|
|
9
9
|
const index$1 = require("../../../hooks/props-default/index.cjs");
|
|
10
10
|
const index$2 = require("../../../hooks/compons/index.cjs");
|
|
11
|
-
const config = require("../../
|
|
11
|
+
const config = require("../../formset/common/config.cjs");
|
|
12
12
|
const Components = {};
|
|
13
13
|
const _sfc_main = vue.defineComponent({
|
|
14
14
|
components: Components,
|
|
@@ -6,7 +6,7 @@ import { useVNodeComponDom } from "../../common/use.js";
|
|
|
6
6
|
import { isEqual } from "@fangzhongya/utils/basic/object/isEqual";
|
|
7
7
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
8
8
|
import { useComponsGet } from "../../../hooks/compons/index.js";
|
|
9
|
-
import { provides } from "../../
|
|
9
|
+
import { provides } from "../../formset/common/config.js";
|
|
10
10
|
const Components = {};
|
|
11
11
|
const _sfc_main = defineComponent({
|
|
12
12
|
components: Components,
|
|
@@ -6,7 +6,7 @@ const index$4 = require("../../forms-div/index.cjs");
|
|
|
6
6
|
const index$3 = require("../../form-item/index.cjs");
|
|
7
7
|
const index$2 = require("../../../hooks/cssname/index.cjs");
|
|
8
8
|
const index = require("../../../hooks/inherit/index.cjs");
|
|
9
|
-
const config = require("../../
|
|
9
|
+
const config = require("../../formset/common/config.cjs");
|
|
10
10
|
const index$1 = require("../../../hooks/props-default/index.cjs");
|
|
11
11
|
const label = require("./label.cjs");
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -4,7 +4,7 @@ import { FormsDiv } from "../../forms-div/index.js";
|
|
|
4
4
|
import { FormItem } from "../../form-item/index.js";
|
|
5
5
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
6
6
|
import { useInherit } from "../../../hooks/inherit/index.js";
|
|
7
|
-
import { provides } from "../../
|
|
7
|
+
import { provides } from "../../formset/common/config.js";
|
|
8
8
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
9
9
|
import Lable from "./label.js";
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const use = require("../../common/use.cjs");
|
|
5
|
-
const config = require("../../
|
|
5
|
+
const config = require("../../formset/common/config.cjs");
|
|
6
6
|
const index = require("../../../hooks/compons/index.cjs");
|
|
7
7
|
function render(props, emit, slots, form) {
|
|
8
8
|
let label = props.label ?? "";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject } from "vue";
|
|
2
2
|
import { useGetDomLabel, useLabelAdditional } from "../../common/use.js";
|
|
3
|
-
import { provides } from "../../
|
|
3
|
+
import { provides } from "../../formset/common/config.js";
|
|
4
4
|
import { useComponsGet } from "../../../hooks/compons/index.js";
|
|
5
5
|
function render(props, emit, slots, form) {
|
|
6
6
|
let label = props.label ?? "";
|
|
@@ -8,7 +8,7 @@ const index = require("../../../hooks/cssname/index.cjs");
|
|
|
8
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
|
-
const config = require("../../
|
|
11
|
+
const config = require("../../formset/common/config.cjs");
|
|
12
12
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
13
13
|
__name: "index",
|
|
14
14
|
props: index$1.getProps(data.dataProps),
|
|
@@ -6,7 +6,7 @@ import { useCssName } from "../../../hooks/cssname/index.js";
|
|
|
6
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
|
-
import { provides } from "../../
|
|
9
|
+
import { provides } from "../../formset/common/config.js";
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
__name: "index",
|
|
12
12
|
props: getProps(dataProps),
|
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
line-height: var(--lable-array-height);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
.com-limit.is-tooltip {
|
|
27
|
+
max-height: var(--com-limit-max-height);
|
|
28
|
+
display: -webkit-box;
|
|
29
|
+
-webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.el-tooltip {
|
|
35
|
+
white-space: pre-wrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
26
38
|
.list-div .list-table {
|
|
27
39
|
width: 100%;
|
|
28
40
|
height: 100%;
|
|
@@ -154,7 +166,4 @@
|
|
|
154
166
|
.list-div .list-table .list-com {
|
|
155
167
|
display: flex;
|
|
156
168
|
align-items: center;
|
|
157
|
-
}
|
|
158
|
-
.list-div .el-tooltip {
|
|
159
|
-
white-space: pre-wrap;
|
|
160
169
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
@use '../scss/common.scss' as *;
|
|
2
2
|
|
|
3
|
+
@use '../tableset/common/com.scss' as *;
|
|
4
|
+
|
|
3
5
|
$list: 'list';
|
|
4
6
|
@include b($list) {
|
|
5
7
|
&-div {
|
|
@@ -172,8 +174,5 @@ $list: 'list';
|
|
|
172
174
|
align-items: center;
|
|
173
175
|
}
|
|
174
176
|
}
|
|
175
|
-
.#{el('tooltip')} {
|
|
176
|
-
white-space: pre-wrap;
|
|
177
|
-
}
|
|
178
177
|
}
|
|
179
178
|
}
|
|
@@ -7,17 +7,17 @@ const getAttrValue = require("../../../utils/vues/getAttrValue.cjs");
|
|
|
7
7
|
const use = require("../../common/use.cjs");
|
|
8
8
|
const index$1 = require("../../../hooks/compons/index.cjs");
|
|
9
9
|
const index$2 = require("../../../hooks/cssname/index.cjs");
|
|
10
|
-
const tooltip = require("../../
|
|
10
|
+
const tooltip = require("../../tableset/common/tooltip.cjs");
|
|
11
11
|
const index = require("../../../hooks/props-default/index.cjs");
|
|
12
12
|
const data = require("./data.cjs");
|
|
13
|
-
require("../../
|
|
14
|
-
require("../../
|
|
15
|
-
require("../../
|
|
16
|
-
require("../../
|
|
17
|
-
const comFig_vue_vue_type_script_setup_true_lang = require("../../
|
|
18
|
-
const comLis_vue_vue_type_script_setup_true_lang = require("../../
|
|
19
|
-
const comColor_vue_vue_type_script_setup_true_lang = require("../../
|
|
20
|
-
const comBut_vue_vue_type_script_setup_true_lang = require("../../
|
|
13
|
+
require("../../tableset/common/com-fig.cjs");
|
|
14
|
+
require("../../tableset/common/com-but.cjs");
|
|
15
|
+
require("../../tableset/common/com-color.cjs");
|
|
16
|
+
require("../../tableset/common/com-lis.cjs");
|
|
17
|
+
const comFig_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-fig2.cjs");
|
|
18
|
+
const comLis_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-lis2.cjs");
|
|
19
|
+
const comColor_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-color2.cjs");
|
|
20
|
+
const comBut_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-but2.cjs");
|
|
21
21
|
const Components = {
|
|
22
22
|
But: comBut_vue_vue_type_script_setup_true_lang.default,
|
|
23
23
|
Color: comColor_vue_vue_type_script_setup_true_lang.default,
|
|
@@ -5,17 +5,17 @@ import { getAttrValue } from "../../../utils/vues/getAttrValue.js";
|
|
|
5
5
|
import { useObjComponSelected, useHide } from "../../common/use.js";
|
|
6
6
|
import { useCompons } from "../../../hooks/compons/index.js";
|
|
7
7
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
8
|
-
import { hideTooltip, showTooltip } from "../../
|
|
8
|
+
import { hideTooltip, showTooltip } from "../../tableset/common/tooltip.js";
|
|
9
9
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
10
10
|
import { name, dataProps, dataExpose, dataEmits } from "./data.js";
|
|
11
|
-
import "../../
|
|
12
|
-
import "../../
|
|
13
|
-
import "../../
|
|
14
|
-
import "../../
|
|
15
|
-
import _sfc_main$1 from "../../
|
|
16
|
-
import _sfc_main$2 from "../../
|
|
17
|
-
import _sfc_main$3 from "../../
|
|
18
|
-
import _sfc_main$4 from "../../
|
|
11
|
+
import "../../tableset/common/com-fig.js";
|
|
12
|
+
import "../../tableset/common/com-but.js";
|
|
13
|
+
import "../../tableset/common/com-color.js";
|
|
14
|
+
import "../../tableset/common/com-lis.js";
|
|
15
|
+
import _sfc_main$1 from "../../tableset/common/com-fig2.js";
|
|
16
|
+
import _sfc_main$2 from "../../tableset/common/com-lis2.js";
|
|
17
|
+
import _sfc_main$3 from "../../tableset/common/com-color2.js";
|
|
18
|
+
import _sfc_main$4 from "../../tableset/common/com-but2.js";
|
|
19
19
|
const Components = {
|
|
20
20
|
But: _sfc_main$4,
|
|
21
21
|
Color: _sfc_main$3,
|
|
@@ -4,7 +4,7 @@ require("vue");
|
|
|
4
4
|
const use = require("../../common/use.cjs");
|
|
5
5
|
const index = require("../../../hooks/compons/index.cjs");
|
|
6
6
|
const data = require("./data.cjs");
|
|
7
|
-
const util = require("../../
|
|
7
|
+
const util = require("../../tableset/common/util.cjs");
|
|
8
8
|
const setClass = (item, data2, index2) => {
|
|
9
9
|
const v = data2[item.state ?? item.prop];
|
|
10
10
|
if (item.setcss) {
|
|
@@ -2,7 +2,7 @@ import "vue";
|
|
|
2
2
|
import { useSetSlot, useSetCompon, useGetDomValue, useGetDomLabel, useLabelAdditional } from "../../common/use.js";
|
|
3
3
|
import { useComponsGet } from "../../../hooks/compons/index.js";
|
|
4
4
|
import { name } from "./data.js";
|
|
5
|
-
import { setEmptyDisplay } from "../../
|
|
5
|
+
import { setEmptyDisplay } from "../../tableset/common/util.js";
|
|
6
6
|
const setClass = (item, data, index) => {
|
|
7
7
|
const v = data[item.state ?? item.prop];
|
|
8
8
|
if (item.setcss) {
|
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
line-height: var(--lable-array-height);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
.com-limit.is-tooltip {
|
|
27
|
+
max-height: var(--com-limit-max-height);
|
|
28
|
+
display: -webkit-box;
|
|
29
|
+
-webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.el-tooltip {
|
|
35
|
+
white-space: pre-wrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
26
38
|
.list-div .list-table {
|
|
27
39
|
width: 100%;
|
|
28
40
|
height: 100%;
|
|
@@ -155,9 +167,6 @@
|
|
|
155
167
|
display: flex;
|
|
156
168
|
align-items: center;
|
|
157
169
|
}
|
|
158
|
-
.list-div .el-tooltip {
|
|
159
|
-
white-space: pre-wrap;
|
|
160
|
-
}
|
|
161
170
|
|
|
162
171
|
.lists {
|
|
163
172
|
width: 100%;
|
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
line-height: var(--lable-array-height);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
.com-limit.is-tooltip {
|
|
27
|
+
max-height: var(--com-limit-max-height);
|
|
28
|
+
display: -webkit-box;
|
|
29
|
+
-webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.el-tooltip {
|
|
35
|
+
white-space: pre-wrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
26
38
|
.list-div .list-table {
|
|
27
39
|
width: 100%;
|
|
28
40
|
height: 100%;
|
|
@@ -155,9 +167,6 @@
|
|
|
155
167
|
display: flex;
|
|
156
168
|
align-items: center;
|
|
157
169
|
}
|
|
158
|
-
.list-div .el-tooltip {
|
|
159
|
-
white-space: pre-wrap;
|
|
160
|
-
}
|
|
161
170
|
|
|
162
171
|
.lists {
|
|
163
172
|
width: 100%;
|
|
@@ -5,7 +5,7 @@ const index$3 = require("../../lists/index.cjs");
|
|
|
5
5
|
const index$5 = require("../../paging/index.cjs");
|
|
6
6
|
const index$4 = require("../../../directives/scroll/index.cjs");
|
|
7
7
|
const data = require("./data.cjs");
|
|
8
|
-
const pagin = require("../../
|
|
8
|
+
const pagin = require("../../tableset/common/pagin.cjs");
|
|
9
9
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
10
10
|
const index = require("../../../hooks/locale/index.cjs");
|
|
11
11
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
@@ -3,7 +3,7 @@ import { Lists } from "../../lists/index.js";
|
|
|
3
3
|
import { Paging } from "../../paging/index.js";
|
|
4
4
|
import vScroll from "../../../directives/scroll/index.js";
|
|
5
5
|
import { name } from "./data.js";
|
|
6
|
-
import { dataProps, useInit, dataEmit } from "../../
|
|
6
|
+
import { dataProps, useInit, dataEmit } from "../../tableset/common/pagin.js";
|
|
7
7
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
8
8
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
9
9
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
@@ -23,6 +23,18 @@
|
|
|
23
23
|
line-height: var(--lable-array-height);
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
+
.com-limit.is-tooltip {
|
|
27
|
+
max-height: var(--com-limit-max-height);
|
|
28
|
+
display: -webkit-box;
|
|
29
|
+
-webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
|
|
30
|
+
-webkit-box-orient: vertical;
|
|
31
|
+
text-overflow: ellipsis;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.el-tooltip {
|
|
35
|
+
white-space: pre-wrap;
|
|
36
|
+
}
|
|
37
|
+
|
|
26
38
|
.list-div .list-table {
|
|
27
39
|
width: 100%;
|
|
28
40
|
height: 100%;
|
|
@@ -155,9 +167,6 @@
|
|
|
155
167
|
display: flex;
|
|
156
168
|
align-items: center;
|
|
157
169
|
}
|
|
158
|
-
.list-div .el-tooltip {
|
|
159
|
-
white-space: pre-wrap;
|
|
160
|
-
}
|
|
161
170
|
|
|
162
171
|
.lists {
|
|
163
172
|
width: 100%;
|
|
@@ -7,7 +7,7 @@ const index$6 = require("../../paging/index.cjs");
|
|
|
7
7
|
const index$4 = require("../../../directives/scroll/index.cjs");
|
|
8
8
|
const index$5 = require("../../../directives/sortable/index.cjs");
|
|
9
9
|
const data = require("./data.cjs");
|
|
10
|
-
const pagin = require("../../
|
|
10
|
+
const pagin = require("../../tableset/common/pagin.cjs");
|
|
11
11
|
const index$1 = require("../../../hooks/cssname/index.cjs");
|
|
12
12
|
const index = require("../../../hooks/locale/index.cjs");
|
|
13
13
|
const index$2 = require("../../../hooks/props-default/index.cjs");
|
|
@@ -5,7 +5,7 @@ import { Paging } from "../../paging/index.js";
|
|
|
5
5
|
import vScroll from "../../../directives/scroll/index.js";
|
|
6
6
|
import vSortable from "../../../directives/sortable/index.js";
|
|
7
7
|
import { name } from "./data.js";
|
|
8
|
-
import { dataProps, useInit, dataEmit } from "../../
|
|
8
|
+
import { dataProps, useInit, dataEmit } from "../../tableset/common/pagin.js";
|
|
9
9
|
import { useCssName } from "../../../hooks/cssname/index.js";
|
|
10
10
|
import { useLocale } from "../../../hooks/locale/index.js";
|
|
11
11
|
import { usePropsDefault, getProps } from "../../../hooks/props-default/index.js";
|
|
@@ -571,6 +571,18 @@
|
|
|
571
571
|
height: inherit;
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
+
.com-limit.is-tooltip {
|
|
575
|
+
max-height: var(--com-limit-max-height);
|
|
576
|
+
display: -webkit-box;
|
|
577
|
+
-webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
|
|
578
|
+
-webkit-box-orient: vertical;
|
|
579
|
+
text-overflow: ellipsis;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.el-tooltip {
|
|
583
|
+
white-space: pre-wrap;
|
|
584
|
+
}
|
|
585
|
+
|
|
574
586
|
.list-div .list-table {
|
|
575
587
|
width: 100%;
|
|
576
588
|
height: 100%;
|
|
@@ -703,17 +715,6 @@
|
|
|
703
715
|
display: flex;
|
|
704
716
|
align-items: center;
|
|
705
717
|
}
|
|
706
|
-
.list-div .el-tooltip {
|
|
707
|
-
white-space: pre-wrap;
|
|
708
|
-
}
|
|
709
|
-
|
|
710
|
-
.com-limit.is-tooltip {
|
|
711
|
-
max-height: var(--com-limit-max-height);
|
|
712
|
-
display: -webkit-box;
|
|
713
|
-
-webkit-line-clamp: var(--com-limit-line-clamp, 1); /* 显示的行数 */
|
|
714
|
-
-webkit-box-orient: vertical;
|
|
715
|
-
text-overflow: ellipsis;
|
|
716
|
-
}
|
|
717
718
|
|
|
718
719
|
.tables {
|
|
719
720
|
width: 100%;
|
|
@@ -4,8 +4,8 @@ const vue = require("vue");
|
|
|
4
4
|
const use = require("../../common/use.cjs");
|
|
5
5
|
const getAttrValue = require("../../../utils/vues/getAttrValue.cjs");
|
|
6
6
|
const index = require("../../../hooks/compons/index.cjs");
|
|
7
|
-
const config = require("
|
|
8
|
-
const util = require("
|
|
7
|
+
const config = require("../../tableset/common/config.cjs");
|
|
8
|
+
const util = require("../../tableset/common/util.cjs");
|
|
9
9
|
const lineToSmallHump = require("@fangzhongya/utils/name/lineToSmallHump");
|
|
10
10
|
const index$1 = require("../../table-column/index.cjs");
|
|
11
11
|
const noProps = /* @__PURE__ */ new Set(["children", "class", "minWidth", "label"]);
|
|
@@ -2,8 +2,8 @@ import { h } from "vue";
|
|
|
2
2
|
import { useSetSlot, useSetCompon, useGetDomValue, useGetDomLabel } from "../../common/use.js";
|
|
3
3
|
import { getAttrValue } from "../../../utils/vues/getAttrValue.js";
|
|
4
4
|
import { useComponsGet } from "../../../hooks/compons/index.js";
|
|
5
|
-
import { provides } from "
|
|
6
|
-
import { setEmptyDisplay, setMinWidth } from "
|
|
5
|
+
import { provides } from "../../tableset/common/config.js";
|
|
6
|
+
import { setEmptyDisplay, setMinWidth } from "../../tableset/common/util.js";
|
|
7
7
|
import { lineToSmallHump } from "@fangzhongya/utils/name/lineToSmallHump";
|
|
8
8
|
import { TableColumn } from "../../table-column/index.js";
|
|
9
9
|
const noProps = /* @__PURE__ */ new Set(["children", "class", "minWidth", "label"]);
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const columns = require("./columns3.cjs");
|
|
5
|
-
require("
|
|
6
|
-
require("
|
|
7
|
-
require("
|
|
8
|
-
require("
|
|
9
|
-
require("
|
|
10
|
-
const comLimit_vue_vue_type_script_setup_true_lang = require("
|
|
11
|
-
const comFig_vue_vue_type_script_setup_true_lang = require("
|
|
12
|
-
const comLis_vue_vue_type_script_setup_true_lang = require("
|
|
13
|
-
const comColor_vue_vue_type_script_setup_true_lang = require("
|
|
14
|
-
const comBut_vue_vue_type_script_setup_true_lang = require("
|
|
5
|
+
require("../../tableset/common/com-but.cjs");
|
|
6
|
+
require("../../tableset/common/com-color.cjs");
|
|
7
|
+
require("../../tableset/common/com-lis.cjs");
|
|
8
|
+
require("../../tableset/common/com-fig.cjs");
|
|
9
|
+
require("../../tableset/common/com-limit.cjs");
|
|
10
|
+
const comLimit_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-limit2.cjs");
|
|
11
|
+
const comFig_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-fig2.cjs");
|
|
12
|
+
const comLis_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-lis2.cjs");
|
|
13
|
+
const comColor_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-color2.cjs");
|
|
14
|
+
const comBut_vue_vue_type_script_setup_true_lang = require("../../tableset/common/com-but2.cjs");
|
|
15
15
|
const _sfc_main = vue.defineComponent({
|
|
16
16
|
emits: ["list-events"],
|
|
17
17
|
components: { But: comBut_vue_vue_type_script_setup_true_lang.default, Color: comColor_vue_vue_type_script_setup_true_lang.default, Lis: comLis_vue_vue_type_script_setup_true_lang.default, Fig: comFig_vue_vue_type_script_setup_true_lang.default, Limit: comLimit_vue_vue_type_script_setup_true_lang.default },
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent } from "vue";
|
|
2
2
|
import { render } from "./columns3.js";
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import "
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import _sfc_main$1 from "
|
|
9
|
-
import _sfc_main$2 from "
|
|
10
|
-
import _sfc_main$3 from "
|
|
11
|
-
import _sfc_main$4 from "
|
|
12
|
-
import _sfc_main$5 from "
|
|
3
|
+
import "../../tableset/common/com-but.js";
|
|
4
|
+
import "../../tableset/common/com-color.js";
|
|
5
|
+
import "../../tableset/common/com-lis.js";
|
|
6
|
+
import "../../tableset/common/com-fig.js";
|
|
7
|
+
import "../../tableset/common/com-limit.js";
|
|
8
|
+
import _sfc_main$1 from "../../tableset/common/com-limit2.js";
|
|
9
|
+
import _sfc_main$2 from "../../tableset/common/com-fig2.js";
|
|
10
|
+
import _sfc_main$3 from "../../tableset/common/com-lis2.js";
|
|
11
|
+
import _sfc_main$4 from "../../tableset/common/com-color2.js";
|
|
12
|
+
import _sfc_main$5 from "../../tableset/common/com-but2.js";
|
|
13
13
|
const _sfc_main = defineComponent({
|
|
14
14
|
emits: ["list-events"],
|
|
15
15
|
components: { But: _sfc_main$5, Color: _sfc_main$4, Lis: _sfc_main$3, Fig: _sfc_main$2, Limit: _sfc_main$1 },
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
4
|
const data = require("./data.cjs");
|
|
5
|
-
const config = require("
|
|
5
|
+
const config = require("../../tableset/common/config.cjs");
|
|
6
6
|
const index$4 = require("../../table/index.cjs");
|
|
7
7
|
require("../../loading/index.cjs");
|
|
8
8
|
const index$5 = require("../../no-data/index.cjs");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, useSlots, useAttrs, ref, computed, watch, onMounted, onUnmounted, createElementBlock, openBlock, mergeProps, unref, withDirectives, createBlock, withModifiers, withCtx, createVNode, createSlots, renderList, renderSlot, normalizeProps, guardReactiveProps } from "vue";
|
|
2
2
|
import { name, dataProps, dataExpose, dataEmits } from "./data.js";
|
|
3
|
-
import { provides } from "
|
|
3
|
+
import { provides } from "../../tableset/common/config.js";
|
|
4
4
|
import { Table } from "../../table/index.js";
|
|
5
5
|
import "../../loading/index.js";
|
|
6
6
|
import { NoData } from "../../no-data/index.js";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const vue = require("vue");
|
|
4
|
-
|
|
4
|
+
require("./empty.cjs");
|
|
5
5
|
const index$1 = require("../../../hooks/event-aliass/index.cjs");
|
|
6
6
|
const index = require("../../../hooks/cssname/index.cjs");
|
|
7
|
+
const empty_vue_vue_type_script_setup_true_lang = require("./empty2.cjs");
|
|
7
8
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
8
9
|
__name: "com-color",
|
|
9
10
|
props: {
|
|
@@ -49,14 +50,6 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
49
50
|
const cs = index.useCssName("com-color");
|
|
50
51
|
const props = __props;
|
|
51
52
|
const emit = __emit;
|
|
52
|
-
const emptyDisplay = vue.computed(() => {
|
|
53
|
-
var _a, _b;
|
|
54
|
-
return util.setEmptyDisplay(
|
|
55
|
-
props.modelValue,
|
|
56
|
-
(_a = props.comscope.config) == null ? void 0 : _a.emptyDisplay,
|
|
57
|
-
(_b = props.comscope.config) == null ? void 0 : _b.isEmptyStr
|
|
58
|
-
);
|
|
59
|
-
});
|
|
60
53
|
const className = vue.computed(() => {
|
|
61
54
|
if (props.class) {
|
|
62
55
|
if (typeof props.class == "function") {
|
|
@@ -114,22 +107,27 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
107
|
}
|
|
115
108
|
}
|
|
116
109
|
return (_ctx, _cache) => {
|
|
117
|
-
return
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
110
|
+
return vue.openBlock(), vue.createBlock(empty_vue_vue_type_script_setup_true_lang.default, {
|
|
111
|
+
comscope: props.comscope,
|
|
112
|
+
"model-value": props.modelValue
|
|
113
|
+
}, {
|
|
114
|
+
default: vue.withCtx(() => [
|
|
115
|
+
vue.createElementVNode("span", {
|
|
116
|
+
class: vue.normalizeClass([vue.unref(cs).z(), className.value]),
|
|
117
|
+
style: vue.normalizeStyle(props.style),
|
|
118
|
+
onClick: _cache[0] || (_cache[0] = ($event) => onClick($event))
|
|
119
|
+
}, [
|
|
120
|
+
vue.createElementVNode("span", {
|
|
121
|
+
style: vue.normalizeStyle({
|
|
122
|
+
color: color.value,
|
|
123
|
+
backgroundColor: backgroundColor.value
|
|
124
|
+
}),
|
|
125
|
+
class: vue.normalizeClass([vue.unref(cs).z("value")])
|
|
126
|
+
}, vue.toDisplayString(props.modelValue), 7)
|
|
127
|
+
], 6)
|
|
128
|
+
]),
|
|
129
|
+
_: 1
|
|
130
|
+
}, 8, ["comscope", "model-value"]);
|
|
133
131
|
};
|
|
134
132
|
}
|
|
135
133
|
});
|