cnhis-design-vue 3.1.14-beta.15 → 3.1.14-beta.16
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.
|
@@ -1109,7 +1109,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1109
1109
|
textColorFocusWarning: string;
|
|
1110
1110
|
textColorDisabledWarning: string;
|
|
1111
1111
|
textColorTextWarning: string;
|
|
1112
|
-
textColorTextHoverWarning: string;
|
|
1112
|
+
textColorTextHoverWarning: string; /**
|
|
1113
|
+
* 删除选中scan数据
|
|
1114
|
+
*/
|
|
1113
1115
|
textColorTextPressedWarning: string;
|
|
1114
1116
|
textColorTextFocusWarning: string;
|
|
1115
1117
|
textColorTextDisabledWarning: string;
|
|
@@ -1151,7 +1153,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1151
1153
|
borderDisabledError: string;
|
|
1152
1154
|
rippleColorError: string;
|
|
1153
1155
|
waveOpacity: string;
|
|
1154
|
-
fontWeight: string;
|
|
1156
|
+
fontWeight: string;
|
|
1157
|
+
fontWeightStrong: string;
|
|
1158
|
+
/**
|
|
1155
1159
|
* 初始化props
|
|
1156
1160
|
* @param {*} unionItem
|
|
1157
1161
|
* @param {*} row
|
|
@@ -1159,7 +1163,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1159
1163
|
* @param {*} $rowIndex
|
|
1160
1164
|
* @returns
|
|
1161
1165
|
*/
|
|
1162
|
-
fontWeightStrong: string;
|
|
1163
1166
|
paddingTiny: string;
|
|
1164
1167
|
paddingSmall: string;
|
|
1165
1168
|
paddingMedium: string;
|
|
@@ -1211,7 +1214,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1211
1214
|
colorDisabled: string;
|
|
1212
1215
|
textColor: string;
|
|
1213
1216
|
textColorTertiary: string;
|
|
1214
|
-
textColorHover: string;
|
|
1217
|
+
textColorHover: string; /**
|
|
1218
|
+
* 单个form提交成功数据
|
|
1219
|
+
* @param {*} obj formData
|
|
1220
|
+
*/
|
|
1215
1221
|
textColorPressed: string;
|
|
1216
1222
|
textColorFocus: string;
|
|
1217
1223
|
textColorDisabled: string;
|
|
@@ -1251,10 +1257,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1251
1257
|
textColorGhostPressedPrimary: string;
|
|
1252
1258
|
textColorGhostFocusPrimary: string;
|
|
1253
1259
|
textColorGhostDisabledPrimary: string;
|
|
1254
|
-
borderPrimary: string;
|
|
1260
|
+
borderPrimary: string;
|
|
1261
|
+
borderHoverPrimary: string;
|
|
1262
|
+
/**
|
|
1255
1263
|
* tsx渲染表格
|
|
1256
1264
|
*/
|
|
1257
|
-
borderHoverPrimary: string;
|
|
1258
1265
|
borderPressedPrimary: string;
|
|
1259
1266
|
borderFocusPrimary: string;
|
|
1260
1267
|
borderDisabledPrimary: string;
|
|
@@ -424,7 +424,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
424
424
|
};
|
|
425
425
|
}
|
|
426
426
|
const currentColumns = fieldList.map((item, index) => {
|
|
427
|
-
var _a2, _b2, _c, _d, _e;
|
|
427
|
+
var _a2, _b2, _c, _d, _e, _f, _g;
|
|
428
428
|
let filterField = false;
|
|
429
429
|
let filterItems = [];
|
|
430
430
|
try {
|
|
@@ -452,8 +452,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
452
452
|
fixed,
|
|
453
453
|
sortable,
|
|
454
454
|
headerClassName: "mycolumn",
|
|
455
|
-
resizable: true,
|
|
456
|
-
showOverflow: "title",
|
|
455
|
+
resizable: (_e = item.resizable) != null ? _e : true,
|
|
456
|
+
showOverflow: (_f = item.showOverflow) != null ? _f : "title",
|
|
457
457
|
treeNode,
|
|
458
458
|
type,
|
|
459
459
|
slots: {
|
|
@@ -508,7 +508,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
508
508
|
if (!isScanMultiTable2) {
|
|
509
509
|
col.slots.footer = "tooltip_footer";
|
|
510
510
|
}
|
|
511
|
-
if (props.showNestTable && state.isTree == 0 && ((
|
|
511
|
+
if (props.showNestTable && state.isTree == 0 && ((_g = props.curNestColumnConfig) == null ? void 0 : _g.isTree) == 0) {
|
|
512
512
|
col.slots.content = "nest_table_content";
|
|
513
513
|
}
|
|
514
514
|
return col;
|
|
@@ -599,6 +599,7 @@ const setTableConfig = (config, state) => {
|
|
|
599
599
|
state.openOnly = config.openOnly;
|
|
600
600
|
state.isExpand = config.spreadAllBtn;
|
|
601
601
|
state.levelLazyLoadSetting = Object.assign({}, config.levelLazyLoadSetting);
|
|
602
|
+
state.checkWidth = Object.assign({}, state.checkWidth, config.checkWidth);
|
|
602
603
|
};
|
|
603
604
|
const setTreeGroupTitle = (formatList, key, GROUP_TITLE_KEY) => {
|
|
604
605
|
formatList.forEach((row) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, inject, computed, watch,
|
|
1
|
+
import { defineComponent, ref, inject, computed, watch, createVNode } from 'vue';
|
|
2
2
|
import { isField } from '@formily/core';
|
|
3
3
|
import { isEqual, cloneDeep } from 'lodash-es';
|
|
4
4
|
import { InjectAsyncQueue, InjectionFormItemDepsCollector, InjectionChangeContextCollector } from '../../constants/index.js';
|
|
@@ -87,8 +87,7 @@ const script = defineComponent({
|
|
|
87
87
|
remoteOptions.value = null;
|
|
88
88
|
config && formItemDepsCollector.setDeps(fieldKey.value, config.dependKey || [], async () => {
|
|
89
89
|
remoteOptions.value = null;
|
|
90
|
-
|
|
91
|
-
props.value != null && await fetchData();
|
|
90
|
+
emit("update:value", null);
|
|
92
91
|
});
|
|
93
92
|
config && fetchData();
|
|
94
93
|
}, {
|