cnhis-design-vue 3.1.36-beta.6 → 3.1.36-beta.7

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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, inject, computed, createVNode, mergeProps } from 'vue';
2
- import { widthAppend } from '../../../../../shared/utils/index.js';
2
+ import { arrayed, widthAppend } from '../../../../../shared/utils/index.js';
3
3
  import { isVoidField } from '@formily/core';
4
4
  import { useField, connect, mapProps } from '@formily/vue';
5
5
  import { isString } from 'lodash-es';
@@ -92,7 +92,7 @@ const script = defineComponent({
92
92
  const FORM_ITEM = connect(script, mapProps({
93
93
  title: "label"
94
94
  }, (props, field) => {
95
- const feedback = !isVoidField(field) ? field.selfErrors.length ? parseFeedback(field.selfErrors, props.fieldItem) : void 0 : void 0;
95
+ const feedback = !isVoidField(field) ? arrayed(field.selfErrors).length ? parseFeedback(arrayed(field.selfErrors), props.fieldItem) : void 0 : void 0;
96
96
  return {
97
97
  ...props,
98
98
  fieldItem: void 0,
@@ -86,6 +86,7 @@ export declare type IhoTableFormChangePayload = {
86
86
  value: unknown;
87
87
  index: number;
88
88
  type?: string;
89
+ oldValue?: unknown;
89
90
  };
90
91
  export declare type IhoTableEmits = <T extends typeof IhoTableEventNameTuple[number]>(event: T, ...args: IhoTableEmitPayload<T>) => void;
91
92
  export declare type EventListenerToEventName<T extends string> = T extends `on${infer R}` ? R extends `${infer F}${infer L}` ? `${Lowercase<F>}${L}` : never : never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cnhis-design-vue",
3
- "version": "3.1.36-beta.6",
3
+ "version": "3.1.36-beta.7",
4
4
  "license": "ISC",
5
5
  "module": "./es/components/index.js",
6
6
  "main": "./es/components/index.js",
@@ -61,5 +61,5 @@
61
61
  "iOS 7",
62
62
  "last 3 iOS versions"
63
63
  ],
64
- "gitHead": "262d11985bd131d4c55803a25c026d0ab685472b"
64
+ "gitHead": "cf41f82d40014e9fe32e9ac85a366c5237cfde32"
65
65
  }