cnhis-design-vue 3.1.36-beta.1 → 3.1.36-beta.3
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/es/components/big-table/index.d.ts +13 -0
- package/es/components/big-table/src/BigTable.vue.d.ts +13 -0
- package/es/components/big-table/src/BigTable.vue2.js +20 -1
- package/es/components/big-table/src/bigTableProps.d.ts +4 -0
- package/es/components/big-table/src/bigTableProps.js +2 -1
- package/es/components/big-table/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +0 -17
- package/es/components/iho-table/index.js +1 -0
- package/es/components/iho-table/src/IhoTable.vue.d.ts +1 -18
- package/es/components/iho-table/src/IhoTable.vue.js +13 -18
- package/es/components/iho-table/src/constants/index.d.ts +3 -2
- package/es/components/iho-table/src/constants/index.js +2 -1
- package/es/components/iho-table/src/plugins/defaultConfigPlugin/index.js +1 -2
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +3 -0
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.js +34 -18
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +5 -12
- package/es/components/iho-table/src/plugins/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +43 -6
- package/es/components/iho-table/src/utils/index.d.ts +3 -1
- package/es/components/iho-table/src/utils/index.js +27 -11
- package/es/components/index.css +1 -1
- package/package.json +2 -2
- package/es/components/iho-table/src/components/IhoTableColumn.d.ts +0 -21
- package/es/components/iho-table/src/components/IhoTableColumn.js +0 -79
- package/es/components/iho-table/src/components/index.d.ts +0 -1
- package/es/components/iho-table/src/components/index.js +0 -1
|
@@ -202,6 +202,10 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
202
202
|
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
203
203
|
default: () => never[];
|
|
204
204
|
};
|
|
205
|
+
totalList: {
|
|
206
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
207
|
+
default: () => never[];
|
|
208
|
+
};
|
|
205
209
|
}, {
|
|
206
210
|
_hideAllWrap: null;
|
|
207
211
|
_beforeSearchConvert: never[];
|
|
@@ -561,6 +565,10 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
561
565
|
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
562
566
|
default: () => never[];
|
|
563
567
|
};
|
|
568
|
+
totalList: {
|
|
569
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
570
|
+
default: () => never[];
|
|
571
|
+
};
|
|
564
572
|
}>> & {
|
|
565
573
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
566
574
|
}>>;
|
|
@@ -1099,6 +1107,10 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1099
1107
|
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1100
1108
|
default: () => never[];
|
|
1101
1109
|
};
|
|
1110
|
+
totalList: {
|
|
1111
|
+
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1112
|
+
default: () => never[];
|
|
1113
|
+
};
|
|
1102
1114
|
}>> & {
|
|
1103
1115
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
1104
1116
|
}, {
|
|
@@ -1159,5 +1171,6 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1159
1171
|
batchEditDoneNumber: Record<string, any>;
|
|
1160
1172
|
batchError: boolean;
|
|
1161
1173
|
batchFormData: Record<string, any>;
|
|
1174
|
+
totalList: import("../../../es/shared/types").AnyObject[];
|
|
1162
1175
|
}>>;
|
|
1163
1176
|
export default BigTable;
|
|
@@ -201,6 +201,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
201
201
|
type: import("vue").PropType<import("../../../shared/types").AnyObject[]>;
|
|
202
202
|
default: () => never[];
|
|
203
203
|
};
|
|
204
|
+
totalList: {
|
|
205
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject[]>;
|
|
206
|
+
default: () => never[];
|
|
207
|
+
};
|
|
204
208
|
}, {
|
|
205
209
|
_hideAllWrap: null;
|
|
206
210
|
_beforeSearchConvert: never[];
|
|
@@ -560,6 +564,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
560
564
|
type: import("vue").PropType<import("../../../shared/types").AnyObject[]>;
|
|
561
565
|
default: () => never[];
|
|
562
566
|
};
|
|
567
|
+
totalList: {
|
|
568
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject[]>;
|
|
569
|
+
default: () => never[];
|
|
570
|
+
};
|
|
563
571
|
}>> & {
|
|
564
572
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
565
573
|
}>>;
|
|
@@ -1098,6 +1106,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1098
1106
|
type: import("vue").PropType<import("../../../shared/types").AnyObject[]>;
|
|
1099
1107
|
default: () => never[];
|
|
1100
1108
|
};
|
|
1109
|
+
totalList: {
|
|
1110
|
+
type: import("vue").PropType<import("../../../shared/types").AnyObject[]>;
|
|
1111
|
+
default: () => never[];
|
|
1112
|
+
};
|
|
1101
1113
|
}>> & {
|
|
1102
1114
|
[x: `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
1103
1115
|
}, {
|
|
@@ -1158,5 +1170,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1158
1170
|
batchEditDoneNumber: Record<string, any>;
|
|
1159
1171
|
batchError: boolean;
|
|
1160
1172
|
batchFormData: Record<string, any>;
|
|
1173
|
+
totalList: import("../../../shared/types").AnyObject[];
|
|
1161
1174
|
}>;
|
|
1162
1175
|
export default _default;
|
|
@@ -35,6 +35,15 @@ const _hoisted_4 = ["innerHTML"];
|
|
|
35
35
|
const _hoisted_5 = {
|
|
36
36
|
class: "refresh-row"
|
|
37
37
|
};
|
|
38
|
+
const _hoisted_6 = {
|
|
39
|
+
class: "big-table-total"
|
|
40
|
+
};
|
|
41
|
+
const _hoisted_7 = {
|
|
42
|
+
class: "left"
|
|
43
|
+
};
|
|
44
|
+
const _hoisted_8 = {
|
|
45
|
+
class: "right"
|
|
46
|
+
};
|
|
38
47
|
function _isSlot(s) {
|
|
39
48
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
|
|
40
49
|
}
|
|
@@ -2473,7 +2482,17 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
2473
2482
|
}, [createVNode(unref(NIcon), {
|
|
2474
2483
|
size: "14",
|
|
2475
2484
|
component: unref(SyncOutline)
|
|
2476
|
-
}, null, 8, ["component"]), createElementVNode("p", _hoisted_5, toDisplayString(_ctx.refreshRow) + "\u6761\u66F4\u65B0", 1)], 512), [[vShow, props.refreshRow > 0 && !props.isNestTable]])], 6)
|
|
2485
|
+
}, null, 8, ["component"]), createElementVNode("p", _hoisted_5, toDisplayString(_ctx.refreshRow) + "\u6761\u66F4\u65B0", 1)], 512), [[vShow, props.refreshRow > 0 && !props.isNestTable]])], 6), createElementVNode("div", _hoisted_6, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.totalList, (item, index) => {
|
|
2486
|
+
return openBlock(), createElementBlock("div", {
|
|
2487
|
+
class: "big-table-total-item",
|
|
2488
|
+
key: index
|
|
2489
|
+
}, [createElementVNode("span", _hoisted_7, toDisplayString(item.title) + ":", 1), createElementVNode("div", _hoisted_8, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.data, (price, i) => {
|
|
2490
|
+
return openBlock(), createElementBlock("div", {
|
|
2491
|
+
class: "right-item",
|
|
2492
|
+
key: i
|
|
2493
|
+
}, [createTextVNode(toDisplayString(price.name) + ": ", 1), createElementVNode("span", null, toDisplayString(price.value), 1)]);
|
|
2494
|
+
}), 128))])]);
|
|
2495
|
+
}), 128))])], 64);
|
|
2477
2496
|
};
|
|
2478
2497
|
}
|
|
2479
2498
|
});
|
|
@@ -113,7 +113,8 @@ const bigTableProps = {
|
|
|
113
113
|
batchFormData: { type: Object, default: () => ({}) },
|
|
114
114
|
resetInlineBatchEdit: Function,
|
|
115
115
|
resetBatchEditRowStatus: Function,
|
|
116
|
-
anchor: { type: Array, default: () => [] }
|
|
116
|
+
anchor: { type: Array, default: () => [] },
|
|
117
|
+
totalList: { type: Array, default: () => [] }
|
|
117
118
|
};
|
|
118
119
|
|
|
119
120
|
export { bigTableProps as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.big-table-filter-wrap{background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-flow:column wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;background:#f7f7f7;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:5px 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding:0 3px 0 13px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{color:#35393c;height:100%;line-height:unset}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .is-edit{margin-top:-3px;vertical-align:middle}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .header-title-span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:0}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--table-image-height);width:var(--table-image-width)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);border-radius:50%;box-shadow:0 2px 4px 0 var(--table-icon-shadow);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,0,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,0,255,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,128,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;border-radius:50%;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,255,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;border-radius:50%;box-shadow:0 2px 4px 0 rgba(54,190,140,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;border-radius:50%;box-shadow:0 2px 4px 0 rgba(66,208,246,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;border-radius:50%;box-shadow:0 2px 4px 0 rgba(113,131,145,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;border-radius:50%;box-shadow:0 2px 4px 0 rgba(244,186,50,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;border-radius:50%;box-shadow:0 2px 4px 0 rgba(146,124,225,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;border-radius:50%;box-shadow:0 2px 4px 0 rgba(78,176,239,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default.size--mini{font-size:14px}.custom-big-table .vxe-table--render-default .vxe-body--expanded-column,.custom-big-table .vxe-table--render-default .vxe-table--border-line{border-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-table--footer-wrapper{border-top-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-body--column,.custom-big-table .vxe-table--render-default.border--default .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--default .vxe-header--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-body--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-body--column,.custom-big-table .vxe-table--render-default.border--full .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--full .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599),linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-table--fixed-left-wrapper .vxe-body--column{border-right-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-table--header-border-line{border-bottom-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon{color:#d5d5d5;font-weight:400}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentcolor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}.big-table__annotationWrapper .is-active{position:relative;top:3px}.big-table__boldCell{font-weight:700}
|
|
1
|
+
.big-table-filter-wrap{background-color:#fff;border-radius:4px;box-shadow:0 2px 8px rgba(0,0,0,.2);display:flex;flex-flow:column wrap;margin-top:-6px;min-width:280px;overflow:hidden;position:fixed;transform:translateX(-2%);transition:width 2s;z-index:99998}.big-table-filter-wrap .sort-list{margin-top:6px}.big-table-filter-wrap .sort-item{align-items:center;background:#f7f7f7;display:flex;height:32px;padding:0 13px}.big-table-filter-wrap .sort-item.active,.big-table-filter-wrap .sort-item:hover{background:#f2f2f2}.big-table-filter-wrap .sort-icon{background-size:contain;display:inline-block;height:16px;width:16px}.big-table-filter-wrap .sort-text{color:rgba(0,0,0,.8);font-size:14px;line-height:32px;margin-left:11px}.big-table-filter-wrap .sort-icon-desc{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABT0lEQVRYR+3WvSuGYRTH8c9TykpJSimLMvgHpLyUCQsmg/wBMss/ILvdJgspNnkbZFYGk7JQSAaLwUuX7uFxu3E/nvvqSd3XeHW6zvec65zfORUNPpUG+1cClBnIysABhiMV5y4mqt/OAliPCHCImd8AIgWf/WzMIhzFK/Z/iigWQAtuE4A2PH0HEQugG5eJ005clwBlBmrJwDwGcorBNjYybOsqwit05QQ4R1/RAB3oqQHgoWiAnL5/NKvrC/4tQBNacYesDAR5fkxHV6QU72EQczhNSfE4VpOOmY01jsOyMYYXLGElcbSIZT4W4C1MxQIIUy9sU1ltGXyeYQSfuua7L2jOWYnPKbt2HKE3dR/0Iqx593lq4AT9OQE2MZ2yDTpyXKUlF0lthP3gy8nKwBqGcgLsYCHDNuwAAe4Nk7ipZRbk9F2MWZFt+CeiEuAdAU5CIQxYYdUAAAAASUVORK5CYII=")}.big-table-filter-wrap .filter-header{cursor:auto;padding:5px 13px}.big-table-filter-wrap .filter-header-icon{border-right-color:#333;border-top-color:#333}.big-table-filter-wrap .filter-header-text{margin-left:11px}.big-table-filter-wrap .check-search-wrap{background:#f7f7f7;display:flex;justify-content:center;padding:8px 0;width:100%}.big-table-filter-wrap .check-seach-input{line-height:32px}.big-table-filter-wrap .checkbox-box{padding-right:3px;width:100%}.big-table-filter-wrap .checkbox-wrap{background:#fff;display:flex;flex-direction:column;overflow-y:auto;padding:0 3px 0 13px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar{height:4px;width:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-thumb{background-color:#d5d5d5;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-track{background-color:#fff;border-radius:4px}.big-table-filter-wrap .checkbox-wrap::-webkit-scrollbar-corner{background-color:#000;border-radius:4px;width:4px}.big-table-filter-wrap .checkbox-wrap--search{padding-right:10px}.big-table-filter-wrap .checkbox-btn-wrap{display:flex;padding:9px 10px 9px 14px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn{padding:0;width:56px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn+.checkbox-btn{margin-left:8px}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn{border:0;border-radius:0;margin:0 13px;position:relative;width:auto}.big-table-filter-wrap .checkbox-btn-wrap .checkbox-btn-status .checkbox-btn:hover:after{background-color:#5585f5;bottom:5px;content:"";display:block;height:1px;position:absolute;width:100%}.big-table-filter-wrap .arrows-icon{bottom:-1px;cursor:nw-resize;font-size:15px;height:20px;position:absolute;right:-1px;width:25px}.big-table__separate{padding:4px}.big-table__separatePlaceholder{display:inline-block;max-width:0;visibility:hidden;width:0;word-break:keep-all}.custom-big-table{position:relative}.custom-big-table .n-input{width:fit-content}.custom-big-table .img-wrap{align-items:center;display:flex;height:100%;line-height:1;padding:2px 0}.custom-big-table .img-wrap img{cursor:pointer;max-height:100%;object-fit:contain}.custom-big-table .img-wrap.img-circle img{border-radius:50%;object-fit:contain;width:28px}.custom-big-table .bigTable-qr-span{display:inline-block;height:100%;position:relative}.custom-big-table .bigTable-qr-span .bigTable-qr-img{max-height:96%}.custom-big-table .bigTable-qr-span>span{align-items:center;background:rgba(0,0,0,.7);color:#fff;cursor:pointer;display:none;height:100%;justify-content:center;left:0;position:absolute;top:0;width:100%}.custom-big-table .bigTable-qr-span:hover>span{display:inline-flex}.custom-big-table .base-form{align-items:center;display:flex;overflow:hidden!important;width:100%}.custom-big-table .base-form-content{width:100%}.custom-big-table textarea{height:32px;margin-bottom:0;resize:none}.custom-big-table .formItem-select-multiple{align-items:center;display:flex;line-height:40px;width:100%}.custom-big-table.mt{height:calc(100% - 78px)!important;margin-top:26px}.custom-big-table.expand-padding .vxe-table .vxe-body--expanded-cell{padding-left:66px!important;padding-right:66px!important}.custom-big-table th.vxe-header--column{cursor:pointer}.custom-big-table .row-btn{margin-right:10px}.custom-big-table .vxe-table{transform:translateZ(0)}.custom-big-table .vxe-table .vxe-table--empty-content,.custom-big-table .vxe-table .vxe-table--empty-content>div{height:100%;width:100%}.custom-big-table .vxe-table .vxe-table--empty-content>div .no-data-tip{display:inline-flex}.custom-big-table .vxe-table .col--checkbox .vxe-cell,.custom-big-table .vxe-table .col--seq .vxe-cell{padding:0}.custom-big-table .vxe-table .col--checkbox .vxe-cell .vxe-checkbox--label,.custom-big-table .vxe-table .col--seq .vxe-cell .vxe-checkbox--label{padding-left:0}.custom-big-table .vxe-table .vxe-cell .vxe-tree-cell{height:100%}.custom-big-table .vxe-table .scan-multi-delete{color:#f06f64}.custom-big-table .vxe-table .vxe-table--header{background-color:#f2f2f2}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title{color:#35393c;height:100%;line-height:unset}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .is-edit{margin-top:-3px;vertical-align:middle}.custom-big-table .vxe-table .vxe-table--header .vxe-header--column .vxe-cell--title .header-title-span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-big-table .vxe-table .vxe-table--header .col--checkbox .vxe-cell--title,.custom-big-table .vxe-table .vxe-table--header .col--seq .vxe-cell--title{display:inline-block}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar{background-color:transparent;height:10px;width:10px}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:#f2f2f2;border:3px dashed transparent;border-radius:0}.custom-big-table .vxe-table .vxe-table--body-wrapper::-webkit-scrollbar-thumb:hover,.custom-big-table .vxe-table .vxe-table--footer-wrapper.body--wrapper::-webkit-scrollbar-thumb:hover{background:#b2b2b2}.custom-big-table .vxe-table .vxe-footer--row .vxe-footer--column>.vxe-cell .vxe-cell--item{height:30px;line-height:30px}.custom-big-table .vxe-table .vxe-cell--checkbox .vxe-checkbox--label{display:none}.custom-big-table .filter-box{align-items:center;display:flex;width:100%}.custom-big-table .filter-box .text-over-tooltip-components{max-width:calc(100% - 40px)}.custom-big-table .filter-box .vxe-filter--btn{border-right-color:#c0c4cc;border-top-color:#c0c4cc}.custom-big-table .filter-box .vxe-filter--btn.active{border-right-color:#35393c;border-top-color:#35393c}.custom-big-table .filter-box .vxe-filter--btn.checked{border-right-color:#5585f5;border-top-color:#5585f5}.custom-big-table .disabled-checked-tips{background:#fff;border:2px solid #ff1818;border-radius:50%;bottom:0;box-sizing:border-box;height:16px;margin-top:-8px;overflow:hidden;position:absolute;right:0;top:50%;width:16px}.custom-big-table .disabled-checked-tips:after{background-color:#ff1818;content:"";height:2px;left:0;position:absolute;top:0;transform:rotate(45deg);transform-origin:0 2px;width:16px}.custom-big-table .form-select-table .n-base-select-menu__empty{display:none}.custom-big-table .percent-wrap{align-items:center;display:flex;flex-direction:column;justify-content:center;text-align:center}.custom-big-table .percent-wrap .percent-value{line-height:1;margin-bottom:-4px;margin-top:4px}.custom-big-table .refresh{align-items:center;background-color:#fff;border-bottom-left-radius:14px;border-top-left-radius:14px;box-shadow:0 2px 4px 0 hsla(0,0%,42%,.13);color:#5585f5;cursor:pointer;display:flex;font-size:12px;height:27px;padding-left:14px;padding-right:14px;position:absolute;right:0;top:6px;z-index:1}.custom-big-table .refresh-row{margin-bottom:0;margin-left:3px}.custom-big-table .check-wrap{background:#ffffe9;display:flex;justify-content:center;line-height:26px;margin-top:-26px;position:absolute;width:100%}.custom-big-table .check-wrap .check-wrap-btn,.custom-big-table .check-wrap .check-wrap-title{color:#000;cursor:pointer;font-size:12px;margin-bottom:0}.custom-big-table .check-wrap .check-wrap-btn{color:#5585f5}.custom-big-table .domPropsInnerHTML-span{height:100%}.custom-big-table .domPropsInnerHTML-span img{display:inline-block;height:var(--table-image-height);width:var(--table-image-width)}.custom-big-table .domPropsInnerHTML-span .icon-dot-custom{background:var(--table-icon-color);border-radius:50%;box-shadow:0 2px 4px 0 var(--table-icon-shadow);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-red{background:red;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,0,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-blue{background:blue;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,0,255,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-green{background:green;border-radius:50%;box-shadow:0 2px 4px 0 rgba(0,128,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-gray{background:gray;border-radius:50%;box-shadow:0 2px 4px 0 hsla(0,0%,50%,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-yellow{background:#ff0;border-radius:50%;box-shadow:0 2px 4px 0 rgba(255,255,0,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-resolved{background:#36be8c;border-radius:50%;box-shadow:0 2px 4px 0 rgba(54,190,140,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-huifu{background:#42d0f6;border-radius:50%;box-shadow:0 2px 4px 0 rgba(66,208,246,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-close{background:#718391;border-radius:50%;box-shadow:0 2px 4px 0 rgba(113,131,145,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-audit{background:#f4ba32;border-radius:50%;box-shadow:0 2px 4px 0 rgba(244,186,50,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-design{background:#927ce1;border-radius:50%;box-shadow:0 2px 4px 0 rgba(146,124,225,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop{background:#4eb0ef;border-radius:50%;box-shadow:0 2px 4px 0 rgba(78,176,239,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .domPropsInnerHTML-span .icon-dot-develop-complete{background:#6381f9;border-radius:50%;box-shadow:0 2px 4px 0 rgba(99,129,249,.5);display:inline-block;height:8px;margin-right:6px;width:8px}.custom-big-table .vxe-table--render-default .vxe-table--fixed-left-wrapper.scrolling--middle{box-shadow:7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default .vxe-table--fixed-right-wrapper.scrolling--middle{box-shadow:-7px 0 8px -3px rgba(0,0,0,.15)}.custom-big-table .vxe-table--render-default.size--mini{font-size:14px}.custom-big-table .vxe-table--render-default .vxe-body--expanded-column,.custom-big-table .vxe-table--render-default .vxe-table--border-line{border-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-table--footer-wrapper{border-top-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-body--column,.custom-big-table .vxe-table--render-default.border--default .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--default .vxe-header--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-body--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--inner .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-body--column,.custom-big-table .vxe-table--render-default.border--full .vxe-footer--column,.custom-big-table .vxe-table--render-default.border--full .vxe-header--column{background-image:linear-gradient(#d5d5d599,#d5d5d599),linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--full .vxe-table--fixed-left-wrapper .vxe-body--column{border-right-color:#d5d5d599}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-header--row:last-child .vxe-header--gutter{background-image:linear-gradient(#d5d5d599,#d5d5d599)}.custom-big-table .vxe-table--render-default.border--default .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--full .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--inner .vxe-table--header-wrapper .vxe-table--header-border-line,.custom-big-table .vxe-table--render-default.border--outer .vxe-table--header-wrapper .vxe-table--header-border-line{border-bottom-color:#d5d5d599}.custom-big-table .vxe-table--render-default .vxe-cell--checkbox .vxe-checkbox--icon{color:#d5d5d5;font-weight:400}.annotation-edit{align-items:center;color:#0067ee;cursor:pointer;display:inline-flex;font-size:16px;user-select:none}.annotation-edit.is-active{color:#ff9828}.annotation-edit__icon{align-items:center;display:inline-flex}.no-data-tip{align-items:center;color:#333;display:flex;flex-direction:column;font-size:22px;height:100%;justify-content:center;width:100%}.no-data-tip>img{max-width:70%;width:260px}.no-data-tip>p{color:rgba(0,0,0,.8);font-size:16px;margin-bottom:0;margin-top:12px}.no-data-tip>span{color:rgba(0,0,0,.4);font-size:14px;margin-top:6px}.text-over-tooltip-components{display:inline-block;max-width:98%}.text-over-tooltip-components .ellipsis{color:#35393c;font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-over-tooltip-components .ellipsis i{font-style:normal;white-space:nowrap;word-break:keep-all}.text-over-tooltip-components .fs20{color:green;font-size:20px;font-weight:600;line-height:22px}.text-over-tooltip-components .fs12{color:orange;font-size:12px;font-weight:400;line-height:14px}.svg-icon{fill:currentcolor;height:1em;overflow:hidden;vertical-align:-.15em;width:1em}.vxe-header--column [annotation-hover-show=true]{visibility:hidden}.vxe-header--column:hover [annotation-hover-show=true]{visibility:visible}.big-table__annotationWrapper{align-items:center;display:inline-flex;width:20px}.big-table__annotationWrapper .is-active{position:relative;top:3px}.big-table__boldCell{font-weight:700}.big-table-total{border:1px solid #e8eaec;display:flex;margin-top:-1px;width:100%}.big-table-total-item{background-color:#e8f8f1;border-right:1px solid #e8eaec;box-sizing:border-box;display:flex;flex:1;padding:5px}.big-table-total-item:first-child{background-color:#fff4e5}.big-table-total-item:last-child{background-color:#e9f1ff}.big-table-total-item .left{font-weight:600;margin-right:20px}.big-table-total-item .right{column-gap:25px;display:flex;flex:1;flex-flow:row wrap}.big-table-total-item .right-item span{color:red;font-weight:600}
|
|
@@ -4526,23 +4526,6 @@ declare const IhoTable: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4526
4526
|
}>;
|
|
4527
4527
|
header: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4528
4528
|
footer: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4529
|
-
IhoTableColumn: import("vue").DefineComponent<{
|
|
4530
|
-
field: {
|
|
4531
|
-
type: import("vue").PropType<import("../../../es/components/iho-table/src/types").IhoTableFieldItem>;
|
|
4532
|
-
required: true;
|
|
4533
|
-
};
|
|
4534
|
-
annotation: {
|
|
4535
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
|
|
4536
|
-
};
|
|
4537
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4538
|
-
field: {
|
|
4539
|
-
type: import("vue").PropType<import("../../../es/components/iho-table/src/types").IhoTableFieldItem>;
|
|
4540
|
-
required: true;
|
|
4541
|
-
};
|
|
4542
|
-
annotation: {
|
|
4543
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
|
|
4544
|
-
};
|
|
4545
|
-
}>>, {}>;
|
|
4546
4529
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd")[], "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4547
4530
|
tableConfig: {
|
|
4548
4531
|
type: import("vue").PropType<import("../../../es/components/iho-table/src/types").IhoTableConfig>;
|
|
@@ -5,6 +5,7 @@ import PluginPresets from './src/plugins/index.js';
|
|
|
5
5
|
import 'lodash-es';
|
|
6
6
|
import 'vue';
|
|
7
7
|
import './src/constants/index.js';
|
|
8
|
+
import '@vueuse/shared';
|
|
8
9
|
import '../../shared/utils/tapable/SyncHook.js';
|
|
9
10
|
import '../../shared/utils/tapable/SyncBailHook.js';
|
|
10
11
|
import '../../shared/utils/tapable/SyncWaterfallHook.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AnyObject } from '../../../../es/shared/types';
|
|
2
2
|
import { PropType } from 'vue';
|
|
3
3
|
import { VxeTableInstance } from 'vxe-table';
|
|
4
|
-
import { IhoTableConfig,
|
|
4
|
+
import { IhoTableConfig, IhoTableHandler, LowCodeTableFieldItem } from '../../../../es/components/iho-table/src/types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
tableConfig: {
|
|
7
7
|
type: PropType<IhoTableConfig>;
|
|
@@ -4525,23 +4525,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4525
4525
|
}>;
|
|
4526
4526
|
header: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4527
4527
|
footer: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
4528
|
-
IhoTableColumn: import("vue").DefineComponent<{
|
|
4529
|
-
field: {
|
|
4530
|
-
type: PropType<IhoTableFieldItem>;
|
|
4531
|
-
required: true;
|
|
4532
|
-
};
|
|
4533
|
-
annotation: {
|
|
4534
|
-
type: PropType<AnyObject>;
|
|
4535
|
-
};
|
|
4536
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4537
|
-
field: {
|
|
4538
|
-
type: PropType<IhoTableFieldItem>;
|
|
4539
|
-
required: true;
|
|
4540
|
-
};
|
|
4541
|
-
annotation: {
|
|
4542
|
-
type: PropType<AnyObject>;
|
|
4543
|
-
};
|
|
4544
|
-
}>>, {}>;
|
|
4545
4528
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd")[], "toggleRowExpand" | "toggleTreeExpand" | "copy" | "scroll" | "formChange" | "settingClick" | "formClick" | "keyboard" | "cut" | "paste" | "keydown" | "keydownStart" | "keydownEnd" | "currentChange" | "radioChange" | "checkboxChange" | "checkboxAll" | "checkboxRangeStart" | "checkboxRangeChange" | "checkboxRangeEnd" | "cellClick" | "cellDblclick" | "cellMenu" | "cellMouseenter" | "cellMouseleave" | "headerCellClick" | "headerCellDblclick" | "headerCellMenu" | "footerCellClick" | "footerCellDblclick" | "footerCellMenu" | "sortChange" | "filterChange" | "filterVisible" | "resizableChange" | "menuClick" | "editClosed" | "editActived" | "editDisabled" | "validError" | "custom" | "openFnr" | "fnrChange" | "fnrFind" | "fnrFindAll" | "fnrReplace" | "fnrReplaceAll" | "cellAreaCopy" | "cellAreaCut" | "cellAreaPaste" | "cellAreaMerge" | "clearCellAreaMerge" | "headerCellAreaSelection" | "cellAreaSelectionStart" | "cellAreaSelectionDrag" | "cellAreaSelectionEnd" | "cellAreaExtensionStart" | "cellAreaExtensionDrag" | "cellAreaExtensionEnd" | "cellAreaArrowsStart" | "cellAreaArrowsEnd" | "activeCellChangeStart" | "activeCellChangeEnd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4546
4529
|
tableConfig: {
|
|
4547
4530
|
type: PropType<IhoTableConfig>;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { defineComponent, provide,
|
|
1
|
+
import { defineComponent, provide, computed, ref, watch, resolveComponent, openBlock, createElementBlock, unref, createBlock, resolveDynamicComponent, createVNode, mergeProps, createSlots, renderList, withCtx, renderSlot } from 'vue';
|
|
2
2
|
import { uuidGenerator } from '../../../shared/utils/index.js';
|
|
3
3
|
import { useDebounceFn } from '@vueuse/core';
|
|
4
4
|
import { promiseTimeout } from '@vueuse/shared';
|
|
5
|
-
import { VxeEventListenerNameList, InjectionIhoTableEmits, InjectionIhoTableUUID, InjectionIhoTableInstance, InjectionIhoTableConfig, InjectionIhoTableFieldList, InjectionIhoTableHandler } from './constants/index.js';
|
|
5
|
+
import { VxeEventListenerNameList, InjectionIhoTableEmits, InjectionIhoTableAnnotation, InjectionIhoTableUUID, InjectionIhoTableInstance, InjectionIhoTableConfig, InjectionIhoTableFieldList, InjectionIhoTableHandler } from './constants/index.js';
|
|
6
6
|
import { createTableHooks, applyTableConfigHooks, applyTableFieldHooks, createTableEventHandlers, createDomInsertComponent, createDataTransfer } from './hooks/tapHooks/index.js';
|
|
7
7
|
import 'lodash-es';
|
|
8
8
|
import { provideIhoTableEventListener } from './hooks/tapHooks/useEventHooks.js';
|
|
9
9
|
import { getEventName } from './utils/index.js';
|
|
10
|
-
import ColumnComponent from './components/IhoTableColumn.js';
|
|
11
10
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
12
11
|
|
|
13
12
|
const _hoisted_1 = ["id"];
|
|
@@ -30,6 +29,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
29
|
var _a, _b;
|
|
31
30
|
const props = __props;
|
|
32
31
|
provide(InjectionIhoTableEmits, emits);
|
|
32
|
+
provide(
|
|
33
|
+
InjectionIhoTableAnnotation,
|
|
34
|
+
computed(() => props.annotation)
|
|
35
|
+
);
|
|
33
36
|
const uuid = uuidGenerator();
|
|
34
37
|
provide(InjectionIhoTableUUID, uuid);
|
|
35
38
|
const $table = ref();
|
|
@@ -116,27 +119,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
119
|
});
|
|
117
120
|
hooks.setupHooks.setup.call(configRef, fieldListRef);
|
|
118
121
|
return (_ctx, _cache) => {
|
|
119
|
-
const
|
|
122
|
+
const _component_vxe_grid = resolveComponent("vxe-grid");
|
|
120
123
|
return openBlock(), createElementBlock("section", {
|
|
121
124
|
class: "iho-table",
|
|
122
125
|
id: unref(uuid)
|
|
123
126
|
}, [
|
|
124
127
|
(openBlock(), createBlock(resolveDynamicComponent(unref(header)))),
|
|
125
|
-
createVNode(
|
|
128
|
+
createVNode(_component_vxe_grid, mergeProps({
|
|
126
129
|
ref_key: "$table",
|
|
127
130
|
ref: $table
|
|
128
|
-
}, unref(bindProperties), {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
key: field.field,
|
|
133
|
-
field,
|
|
134
|
-
annotation: __props.annotation
|
|
135
|
-
}, null, 8, ["field", "annotation"]);
|
|
136
|
-
}), 128))
|
|
137
|
-
]),
|
|
138
|
-
_: 2
|
|
139
|
-
}, [
|
|
131
|
+
}, unref(bindProperties), {
|
|
132
|
+
columns: fieldListRef.value,
|
|
133
|
+
data: tableDataRef.value
|
|
134
|
+
}), createSlots({ _: 2 }, [
|
|
140
135
|
renderList(_ctx.$slots, (v, k) => {
|
|
141
136
|
return {
|
|
142
137
|
name: k,
|
|
@@ -145,7 +140,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
145
140
|
])
|
|
146
141
|
};
|
|
147
142
|
})
|
|
148
|
-
]), 1040, ["data"]),
|
|
143
|
+
]), 1040, ["columns", "data"]),
|
|
149
144
|
(openBlock(), createBlock(resolveDynamicComponent(unref(footer))))
|
|
150
145
|
], 8, _hoisted_1);
|
|
151
146
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { UndefinedAble, UnionToTuple } from '../../../../../es/shared/types';
|
|
2
|
-
import { InjectionKey, Ref } from 'vue';
|
|
1
|
+
import { AnyObject, Nullable, UndefinedAble, UnionToTuple } from '../../../../../es/shared/types';
|
|
2
|
+
import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
3
3
|
import { VxeTableInstance } from 'vxe-table';
|
|
4
4
|
import { VxeTableEventProps } from 'vxe-table/types/table';
|
|
5
5
|
import { IhoTableConfig, IhoTableEmits, IhoTableFieldItem, IhoTableHandler } from '../../../../../es/components/iho-table';
|
|
@@ -72,6 +72,7 @@ export declare const IhoTableEventNameTuple: readonly ["formChange", "settingCli
|
|
|
72
72
|
export declare const InjectionIhoTableConfig: InjectionKey<Ref<IhoTableConfig>>;
|
|
73
73
|
export declare const InjectionIhoTableFieldList: InjectionKey<Ref<IhoTableFieldItem[]>>;
|
|
74
74
|
export declare const InjectionIhoTableEmits: InjectionKey<IhoTableEmits>;
|
|
75
|
+
export declare const InjectionIhoTableAnnotation: InjectionKey<ComputedRef<Nullable<AnyObject>>>;
|
|
75
76
|
export declare const InjectionIhoTableUUID: InjectionKey<string>;
|
|
76
77
|
export declare const InjectionIhoTableInstance: InjectionKey<Ref<UndefinedAble<VxeTableInstance>>>;
|
|
77
78
|
export declare const InjectionIhoTableHandler: InjectionKey<IhoTableHandler>;
|
|
@@ -145,6 +145,7 @@ const IhoTableEventNameTuple = [...IhoTableCustomEventNameTuple, ...VxeTableEven
|
|
|
145
145
|
const InjectionIhoTableConfig = Symbol("injectionIhoTableConfig");
|
|
146
146
|
const InjectionIhoTableFieldList = Symbol("injectionIhoTableFieldList");
|
|
147
147
|
const InjectionIhoTableEmits = Symbol("InjectionIhoTableEmits");
|
|
148
|
+
const InjectionIhoTableAnnotation = Symbol("InjectionIhoTableAnnotation");
|
|
148
149
|
const InjectionIhoTableUUID = Symbol("InjectionIhoTableUUID");
|
|
149
150
|
const InjectionIhoTableInstance = Symbol("InjectionIhoTableInstance");
|
|
150
151
|
const InjectionIhoTableHandler = Symbol("InjectionIhoTableHandler");
|
|
@@ -152,4 +153,4 @@ const InjectionIhoTableEventListener = Symbol(
|
|
|
152
153
|
"InjectionIhoTableEventListener"
|
|
153
154
|
);
|
|
154
155
|
|
|
155
|
-
export { EDITABLE_WIDGET_TYPE, HIGHEST_PRIORITY, IHO_TABLE_FIXED_STATUS, IHO_TABLE_NUMBER_STATUS, IHO_TABLE_STRING_STATUS, IHO_TABLE_TREE_TYPE, IhoTableCustomEventNameTuple, IhoTableEventNameTuple, IhoTableRowGroupSequence, InjectionIhoTableConfig, InjectionIhoTableEmits, InjectionIhoTableEventListener, InjectionIhoTableFieldList, InjectionIhoTableHandler, InjectionIhoTableInstance, InjectionIhoTableUUID, VxeEventListenerNameList, VxeTableEventNameList, WIDGET_TYPE };
|
|
156
|
+
export { EDITABLE_WIDGET_TYPE, HIGHEST_PRIORITY, IHO_TABLE_FIXED_STATUS, IHO_TABLE_NUMBER_STATUS, IHO_TABLE_STRING_STATUS, IHO_TABLE_TREE_TYPE, IhoTableCustomEventNameTuple, IhoTableEventNameTuple, IhoTableRowGroupSequence, InjectionIhoTableAnnotation, InjectionIhoTableConfig, InjectionIhoTableEmits, InjectionIhoTableEventListener, InjectionIhoTableFieldList, InjectionIhoTableHandler, InjectionIhoTableInstance, InjectionIhoTableUUID, VxeEventListenerNameList, VxeTableEventNameList, WIDGET_TYPE };
|
|
@@ -46,6 +46,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
46
|
}>>;
|
|
47
47
|
emits: (event: "update:checked" | "update:sortStatus", ...args: any[]) => void;
|
|
48
48
|
uuid: string;
|
|
49
|
+
configRef: import("vue").Ref<import("../../types").IhoTableConfig>;
|
|
49
50
|
checkedRef: import("vue").Ref<string[]> | import("vue").WritableComputedRef<string[]>;
|
|
50
51
|
sortStatusRef: import("vue").Ref<VxeTablePropTypes.SortOrder | undefined> | import("vue").WritableComputedRef<VxeTablePropTypes.SortOrder | undefined>;
|
|
51
52
|
checkedCacheRef: import("vue").Ref<string[]>;
|
|
@@ -78,6 +79,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
79
|
}[];
|
|
79
80
|
setSort: (value: VxeTablePropTypes.SortOrder) => void;
|
|
80
81
|
iconActive: import("vue").ComputedRef<number | VxeTablePropTypes.SortOrder | undefined>;
|
|
82
|
+
editable: import("vue").ComputedRef<boolean | undefined>;
|
|
83
|
+
wrapperStyle: import("vue").ComputedRef<CSSProperties>;
|
|
81
84
|
FunnelSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
82
85
|
NButton: any;
|
|
83
86
|
NButtonGroup: any;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, onDeactivated, watch, computed, openBlock, createElementBlock, createElementVNode, renderSlot, createVNode,
|
|
1
|
+
import { defineComponent, inject, ref, onDeactivated, watch, computed, openBlock, createElementBlock, normalizeStyle, unref, createElementVNode, renderSlot, createVNode, withCtx, createTextVNode, toDisplayString, normalizeClass, createCommentVNode, Fragment, renderList, createBlock, isRef } from 'vue';
|
|
2
2
|
import { widthAppend } from '../../../../../shared/utils/index.js';
|
|
3
3
|
import { FunnelSharp } from '@vicons/ionicons5';
|
|
4
4
|
import { useVModel, useVirtualList } from '@vueuse/core';
|
|
5
5
|
import { NEllipsis, NPopover, NIcon, NInput, NCheckbox, NCheckboxGroup, NButtonGroup, NButton } from 'naive-ui';
|
|
6
|
-
import { InjectionIhoTableUUID } from '../../constants/index.js';
|
|
6
|
+
import { InjectionIhoTableUUID, InjectionIhoTableConfig } from '../../constants/index.js';
|
|
7
|
+
import { IhoTableRenderHelper } from '../../utils/index.js';
|
|
7
8
|
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
|
|
8
9
|
|
|
9
|
-
const _hoisted_1 = {
|
|
10
|
-
const _hoisted_2 = {
|
|
11
|
-
const _hoisted_3 =
|
|
12
|
-
const _hoisted_4 = {
|
|
13
|
-
const _hoisted_5 =
|
|
14
|
-
const _hoisted_6 = { class: "iho-table__filterListItem" };
|
|
15
|
-
const _hoisted_7 = { class: "iho-table__filterFooter" };
|
|
10
|
+
const _hoisted_1 = { class: "iho-table__filterWrapper" };
|
|
11
|
+
const _hoisted_2 = { key: 0 };
|
|
12
|
+
const _hoisted_3 = ["onClick"];
|
|
13
|
+
const _hoisted_4 = { class: "iho-table__filterListItem" };
|
|
14
|
+
const _hoisted_5 = { class: "iho-table__filterFooter" };
|
|
16
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
16
|
__name: "filter",
|
|
18
17
|
props: {
|
|
@@ -29,6 +28,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
28
|
setup(__props, { emit: emits }) {
|
|
30
29
|
const props = __props;
|
|
31
30
|
const uuid = inject(InjectionIhoTableUUID);
|
|
31
|
+
const configRef = inject(InjectionIhoTableConfig);
|
|
32
32
|
const checkedRef = useVModel(props, "checked", emits);
|
|
33
33
|
const sortStatusRef = useVModel(props, "sortStatus", emits);
|
|
34
34
|
const checkedCacheRef = ref([]);
|
|
@@ -58,7 +58,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
58
58
|
overscan: 3
|
|
59
59
|
}
|
|
60
60
|
);
|
|
61
|
-
const indeterminate = computed(
|
|
61
|
+
const indeterminate = computed(
|
|
62
|
+
() => !!checkedCacheRef.value.length && checkedCacheRef.value.length !== props.options.length
|
|
63
|
+
);
|
|
62
64
|
const checkAll = computed({
|
|
63
65
|
get() {
|
|
64
66
|
return checkedCacheRef.value.length === props.options.length;
|
|
@@ -92,9 +94,23 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
92
94
|
const iconActive = computed(() => {
|
|
93
95
|
return checkedRef.value.length || sortStatusRef.value;
|
|
94
96
|
});
|
|
97
|
+
const editable = computed(() => {
|
|
98
|
+
var _a;
|
|
99
|
+
return IhoTableRenderHelper.isEditableColumn(configRef.value, (_a = props.payload) == null ? void 0 : _a.column);
|
|
100
|
+
});
|
|
101
|
+
const wrapperStyle = computed(() => {
|
|
102
|
+
return {
|
|
103
|
+
display: "inline-flex",
|
|
104
|
+
"align-items": "center",
|
|
105
|
+
justifyContent: "start",
|
|
106
|
+
width: `calc(100% - ${editable.value ? 19 : 0}px)`
|
|
107
|
+
};
|
|
108
|
+
});
|
|
95
109
|
return (_ctx, _cache) => {
|
|
96
|
-
return openBlock(), createElementBlock("section",
|
|
97
|
-
|
|
110
|
+
return openBlock(), createElementBlock("section", {
|
|
111
|
+
style: normalizeStyle(unref(wrapperStyle))
|
|
112
|
+
}, [
|
|
113
|
+
createElementVNode("section", null, [
|
|
98
114
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
99
115
|
createVNode(unref(NEllipsis), null, {
|
|
100
116
|
default: withCtx(() => [
|
|
@@ -116,15 +132,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
132
|
}, null, 8, ["class", "component"])
|
|
117
133
|
]),
|
|
118
134
|
default: withCtx(() => [
|
|
119
|
-
createElementVNode("section",
|
|
135
|
+
createElementVNode("section", _hoisted_1, [
|
|
120
136
|
createCommentVNode(' \u5224\u65AD\u662F\u5426\u663E\u793A\u5347\u5E8F\u964D\u5E8F\u6A21\u5757\u7684\u7EC4\u4EF6 v-if="sortable"'),
|
|
121
|
-
__props.sortable ? (openBlock(), createElementBlock("div",
|
|
137
|
+
__props.sortable ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
122
138
|
(openBlock(), createElementBlock(Fragment, null, renderList(sortStatusList, (item) => {
|
|
123
139
|
return createElementVNode("div", {
|
|
124
140
|
key: item.status,
|
|
125
141
|
class: normalizeClass(["iho-table__filterButton", { "iho-table__filterButton--active": unref(sortStatusRef) === item.status }]),
|
|
126
142
|
onClick: ($event) => setSort(item.status)
|
|
127
|
-
}, toDisplayString(item.text), 11,
|
|
143
|
+
}, toDisplayString(item.text), 11, _hoisted_3);
|
|
128
144
|
}), 64))
|
|
129
145
|
])) : createCommentVNode("v-if", true),
|
|
130
146
|
__props.options.length > 5 ? (openBlock(), createBlock(unref(NInput), {
|
|
@@ -132,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
132
148
|
value: searchFilterText.value,
|
|
133
149
|
"onUpdate:value": _cache[0] || (_cache[0] = ($event) => searchFilterText.value = $event)
|
|
134
150
|
}, null, 8, ["value"])) : createCommentVNode("v-if", true),
|
|
135
|
-
createElementVNode("div",
|
|
151
|
+
createElementVNode("div", _hoisted_4, [
|
|
136
152
|
createVNode(unref(NCheckbox), {
|
|
137
153
|
label: "\u5168\u9009",
|
|
138
154
|
checked: unref(checkAll),
|
|
@@ -170,7 +186,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
170
186
|
]),
|
|
171
187
|
_: 1
|
|
172
188
|
}, 8, ["value"]),
|
|
173
|
-
createElementVNode("footer",
|
|
189
|
+
createElementVNode("footer", _hoisted_5, [
|
|
174
190
|
createElementVNode("section", null, toDisplayString(`\u5DF2\u9009\u62E9${checkedCacheRef.value.length}\u9879`), 1),
|
|
175
191
|
createVNode(unref(NButtonGroup), { size: "tiny" }, {
|
|
176
192
|
default: withCtx(() => [
|
|
@@ -205,7 +221,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
205
221
|
]),
|
|
206
222
|
_: 1
|
|
207
223
|
}, 8, ["to", "show"])
|
|
208
|
-
]);
|
|
224
|
+
], 4);
|
|
209
225
|
};
|
|
210
226
|
}
|
|
211
227
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { computed, createVNode, onBeforeUnmount, reactive } from 'vue';
|
|
2
2
|
import { jsonParse } from '../../../../../shared/utils/index.js';
|
|
3
|
-
import { isObject, isArray } from 'lodash-es';
|
|
3
|
+
import { isObject, isFunction, isArray } from 'lodash-es';
|
|
4
4
|
import '../../../index.js';
|
|
5
|
-
import { IHO_TABLE_NUMBER_STATUS
|
|
6
|
-
import { useUUIDMap, IhoTableUtils } from '../../utils/index.js';
|
|
5
|
+
import { IHO_TABLE_NUMBER_STATUS } from '../../constants/index.js';
|
|
6
|
+
import { useUUIDMap, IhoTableRenderHelper, IhoTableUtils } from '../../utils/index.js';
|
|
7
7
|
import FilterComponent from './filter.vue.js';
|
|
8
8
|
import { defineTablePlugin } from '../../hooks/useTablePlugin.js';
|
|
9
9
|
|
|
@@ -123,7 +123,7 @@ function filterPlugin() {
|
|
|
123
123
|
if (!isObject(lowCodeField))
|
|
124
124
|
return;
|
|
125
125
|
const fieldSetting = jsonParse(lowCodeField.fieldSetting || "");
|
|
126
|
-
if (!
|
|
126
|
+
if (!IhoTableRenderHelper.hasFilter(fieldSetting))
|
|
127
127
|
return;
|
|
128
128
|
const sortable = fieldItem.sortable;
|
|
129
129
|
fieldItem.sortable = false;
|
|
@@ -174,7 +174,7 @@ function filterPlugin() {
|
|
|
174
174
|
"sortStatus": sortStatusRef.value,
|
|
175
175
|
"onUpdate:sortStatus": ($event) => sortStatusRef.value = $event
|
|
176
176
|
}, {
|
|
177
|
-
header: oldHeader
|
|
177
|
+
header: () => isFunction(oldHeader) ? oldHeader(payload) : oldHeader
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
};
|
|
@@ -233,13 +233,6 @@ function filterPlugin() {
|
|
|
233
233
|
const notParticipatingSearch = field.notParticipatingSearch || "";
|
|
234
234
|
return notParticipatingSearch !== IHO_TABLE_NUMBER_STATUS.POSITIVE && filterTypes.includes(IhoTableUtils.getCellType(field)) && isArray(field.options) && field.options.length;
|
|
235
235
|
}
|
|
236
|
-
function isFieldSetting(value) {
|
|
237
|
-
return isObject(value);
|
|
238
|
-
}
|
|
239
|
-
function showFilter(fieldSetting) {
|
|
240
|
-
var _a;
|
|
241
|
-
return fieldSetting.notParticipatingSearch !== IHO_TABLE_STRING_STATUS.POSITIVE && ((_a = fieldSetting.mapping) == null ? void 0 : _a.type) === "manual";
|
|
242
|
-
}
|
|
243
236
|
}
|
|
244
237
|
});
|
|
245
238
|
}
|
|
@@ -24,7 +24,7 @@ const modules = Object.assign({
|
|
|
24
24
|
"./defaultConfigPlugin/index.ts": index$1,
|
|
25
25
|
"./filterPlugin/index.tsx": index$2,
|
|
26
26
|
"./keyboardEventPlugin/index.ts": index$3,
|
|
27
|
-
"./lowCodeFieldAdaptorPlugin/index.
|
|
27
|
+
"./lowCodeFieldAdaptorPlugin/index.tsx": index$4,
|
|
28
28
|
"./rendererPlugins/editableWidgets/dateRendererPlugin/index.tsx": index$5,
|
|
29
29
|
"./rendererPlugins/editableWidgets/inputRendererPlugin.tsx": inputRendererPlugin,
|
|
30
30
|
"./rendererPlugins/editableWidgets/numberRendererPlugin.tsx": numberRendererPlugin,
|