cnhis-design-vue 3.1.12 → 3.1.13-beta.0

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.
@@ -1115,6 +1115,14 @@ declare const _default: import("vue").DefineComponent<{
1115
1115
  textColorTextDisabledWarning: string;
1116
1116
  textColorGhostWarning: string;
1117
1117
  textColorGhostHoverWarning: string;
1118
+ /**
1119
+ * 初始化props
1120
+ * @param {*} unionItem
1121
+ * @param {*} row
1122
+ * @param {*} column
1123
+ * @param {*} $rowIndex
1124
+ * @returns
1125
+ */
1118
1126
  textColorGhostPressedWarning: string;
1119
1127
  textColorGhostFocusWarning: string;
1120
1128
  textColorGhostDisabledWarning: string;
@@ -1183,11 +1191,11 @@ declare const _default: import("vue").DefineComponent<{
1183
1191
  fontSizeTiny: string;
1184
1192
  fontSizeSmall: string;
1185
1193
  fontSizeMedium: string;
1186
- fontSizeLarge: string; /**
1194
+ fontSizeLarge: string;
1195
+ opacityDisabled: string; /**
1187
1196
  * 避免每次点击都查询
1188
1197
  * 初始化查一次 行编辑 表单search用
1189
1198
  */
1190
- opacityDisabled: string;
1191
1199
  colorOpacitySecondary: string;
1192
1200
  colorOpacitySecondaryHover: string;
1193
1201
  colorOpacitySecondaryPressed: string;
@@ -1209,10 +1217,10 @@ declare const _default: import("vue").DefineComponent<{
1209
1217
  textColorTertiary: string;
1210
1218
  textColorHover: string;
1211
1219
  textColorPressed: string;
1212
- textColorFocus: string; /**
1220
+ textColorFocus: string;
1221
+ textColorDisabled: string; /**
1213
1222
  * tsx渲染表格
1214
1223
  */
1215
- textColorDisabled: string;
1216
1224
  textColorText: string;
1217
1225
  textColorTextHover: string;
1218
1226
  textColorTextPressed: string;
@@ -1292,7 +1300,7 @@ declare const _default: import("vue").DefineComponent<{
1292
1300
  textColorFocusSuccess: string;
1293
1301
  textColorDisabledSuccess: string;
1294
1302
  textColorTextSuccess: string;
1295
- textColorTextHoverSuccess: string; /** string */
1303
+ textColorTextHoverSuccess: string;
1296
1304
  textColorTextPressedSuccess: string;
1297
1305
  textColorTextFocusSuccess: string;
1298
1306
  textColorTextDisabledSuccess: string;
@@ -1107,6 +1107,7 @@ var script = /* @__PURE__ */ defineComponent({
1107
1107
  _rowIndex,
1108
1108
  _columnIndex
1109
1109
  }) => {
1110
+ var _a;
1110
1111
  if (state.isTree != 3) {
1111
1112
  return {
1112
1113
  rowspan: 1,
@@ -1120,7 +1121,7 @@ var script = /* @__PURE__ */ defineComponent({
1120
1121
  let colspan = xTree.getTableColumn().tableColumn.length - fristKeyIndex;
1121
1122
  if (xTree) {
1122
1123
  const isOldVxeTree = row.childrenList && row.childrenList.length;
1123
- const isTransformVxeTree = !row.qianduan_parent_id;
1124
+ const isTransformVxeTree = ((_a = props.tableParams) == null ? void 0 : _a.isTransform) && !row.qianduan_parent_id;
1124
1125
  if (isOldVxeTree || isTransformVxeTree) {
1125
1126
  if (column.treeNode) {
1126
1127
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
3
  "private": false,
4
- "version": "3.1.12",
4
+ "version": "3.1.13-beta.0",
5
5
  "license": "ISC",
6
6
  "module": "es/packages/index.js",
7
7
  "main": "es/packages/index.js",