funda-ui 4.7.161 → 4.7.171

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,10 +1,5 @@
1
1
  import React from 'react';
2
2
  export declare type SelectOptionChangeFnType = (arg1: any, arg2: any, arg3: any) => void;
3
- export interface MultiSelectDataConfig {
4
- values: string[] | number[];
5
- labels: string[] | number[];
6
- queryStrings: string[] | number[];
7
- }
8
3
  export interface MultiSelectControlValConfig {
9
4
  values: string[];
10
5
  labels: string[];
@@ -24,16 +19,15 @@ export interface MultiSelectConfig {
24
19
  selectAll: boolean;
25
20
  selectAllLabel?: string;
26
21
  deselectAllLabel?: string;
27
- data: MultiSelectDataConfig | null;
28
22
  }
29
23
  export interface multiSelectSelectedItemOnlyStatusConfig {
30
24
  itemsLabel?: string;
31
25
  allItemsLabel?: string;
32
26
  noneLabel?: string;
33
27
  }
34
- export interface CleanTriggerConfig {
28
+ export interface ClearTriggerConfig {
35
29
  valid: boolean;
36
- cleanValueLabel?: string;
30
+ clearValueLabel?: string;
37
31
  }
38
32
  export declare type SelectProps = {
39
33
  contentRef?: React.ForwardedRef<any>;
@@ -43,13 +37,14 @@ export declare type SelectProps = {
43
37
  controlExClassName?: string;
44
38
  optionsExClassName?: string;
45
39
  exceededSidePosOffset?: number;
40
+ clearIcon?: boolean;
46
41
  multiSelect?: MultiSelectConfig;
47
42
  multiSelectEntireAreaTrigger?: boolean;
48
43
  multiSelectSelectedItemOnlyStatus?: multiSelectSelectedItemOnlyStatusConfig;
49
44
  renderSelectedValue?: (selectedData: MultiSelectControlValConfig, removeFunc: (e: React.MouseEvent) => void) => React.ReactNode;
50
- cleanTrigger?: CleanTriggerConfig;
51
- defaultValue?: string | OptionConfig;
52
- value?: string | OptionConfig;
45
+ clearTrigger?: ClearTriggerConfig;
46
+ defaultValue?: string | OptionConfig | OptionConfig[];
47
+ value?: string | OptionConfig | OptionConfig[];
53
48
  label?: React.ReactNode | string;
54
49
  name?: string;
55
50
  disabled?: any;
@@ -66,7 +61,6 @@ export declare type SelectProps = {
66
61
  controlArrow?: React.ReactNode;
67
62
  firstRequestAutoExec?: boolean;
68
63
  fetchTrigger?: boolean;
69
- fetchTriggerForDefaultData?: MultiSelectDataConfig | null;
70
64
  /** Set the depth value of the control to control the display of the pop-up layer appear above.
71
65
  * Please set it when multiple controls are used at the same time. */
72
66
  depth?: number;