conditional-selection 1.0.3 → 1.0.4

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.
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
3
3
  import { RefAttributes } from 'react';
4
4
 
5
5
  export declare const ConditionalSelection: ForwardRefExoticComponent<TConditionalSelectionProps & RefAttributes< {
6
- getConditionalSelectionData: (validate?: boolean) => Promise<any>;
6
+ getConditionalSelectionData: (validate?: boolean) => Promise<any>;
7
7
  }>>;
8
8
 
9
9
  export declare enum EConditionalSelectionFramework {
@@ -40,8 +40,6 @@ export declare type TConditionalSelectionProps = {
40
40
  conditionalRules?: TConditionalSelection | null;
41
41
  /** deep 层级限制,需大于0,默认1 */
42
42
  maxDeep?: number;
43
- /** 最外层子项数量限制,需大于1,默认不限 */
44
- zeroLevelMaxLength?: number;
45
43
  /** 是否禁用新增、删除、关系变更 */
46
44
  disabled?: boolean | TConditionalSelectionDisabledProps;
47
45
  /** 数据变更回调 */
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "vite-plugin-dts": "^4.5.4"
13
13
  },
14
14
  "name": "conditional-selection",
15
- "version": "1.0.3",
15
+ "version": "1.0.4",
16
16
  "description": "",
17
17
  "main": "dist/ui.cjs.js",
18
18
  "module": "dist/ui.es.js",