ados-rcm 1.0.10 → 1.0.13

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.
Files changed (29) hide show
  1. package/dist/AModule/AComponents/ABase/ABase.d.ts +33 -26
  2. package/dist/AModule/AComponents/AButton/AButton.d.ts +21 -7
  3. package/dist/AModule/AComponents/AButton/AIconButton.d.ts +15 -9
  4. package/dist/AModule/AComponents/ACheckBox/ACheckBox.d.ts +19 -12
  5. package/dist/AModule/AComponents/AClock/AClock.d.ts +32 -38
  6. package/dist/AModule/AComponents/ADatePicker/ADatePicker.d.ts +39 -54
  7. package/dist/AModule/AComponents/ADatePicker/ADateRangePicker.d.ts +20 -22
  8. package/dist/AModule/AComponents/ADialog/ADialog.d.ts +54 -66
  9. package/dist/AModule/AComponents/AFileBox/AFileBox.d.ts +30 -16
  10. package/dist/AModule/AComponents/AFloatMenu/AFloatMenu.d.ts +45 -61
  11. package/dist/AModule/AComponents/AFrames/AFrames.d.ts +33 -24
  12. package/dist/AModule/AComponents/AGrow/AGrow.d.ts +11 -7
  13. package/dist/AModule/AComponents/AIcon/AIcon.d.ts +14 -8
  14. package/dist/AModule/AComponents/AInput/AInput.d.ts +37 -48
  15. package/dist/AModule/AComponents/AListView/AListView.d.ts +38 -27
  16. package/dist/AModule/AComponents/ASelect/ASelect.d.ts +56 -56
  17. package/dist/AModule/AComponents/ASpace/ASpace.d.ts +9 -11
  18. package/dist/AModule/AComponents/AStepper/AStepper.d.ts +34 -35
  19. package/dist/AModule/AComponents/ASwitch/ASwitch.d.ts +13 -10
  20. package/dist/AModule/AComponents/ATab/ATab.d.ts +34 -35
  21. package/dist/AModule/AComponents/ATable/ATable.d.ts +249 -200
  22. package/dist/AModule/AComponents/AText/AText.d.ts +24 -9
  23. package/dist/AModule/AComponents/ATextArea/ATextArea.d.ts +33 -38
  24. package/dist/AModule/AComponents/ATooltip/ATooltip.d.ts +22 -11
  25. package/dist/AModule/AComponents/ATree/ATree.d.ts +71 -38
  26. package/dist/AModule/AComponents/AWrap/AWrap.d.ts +19 -10
  27. package/dist/index.cjs.js +15 -15
  28. package/dist/index.es.js +2095 -2069
  29. package/package.json +1 -1
@@ -3,74 +3,73 @@ import { TUseValues } from '../../AHooks/useValues';
3
3
  export interface IATabOptionRendererProps<T> {
4
4
  /**
5
5
  * option : T
6
- * <br/>Description : option of ATab
6
+ *
7
+ * Description : option of ATab
7
8
  */
8
9
  option: T;
9
10
  }
10
11
  export interface IATabProps<T> {
11
12
  /**
12
13
  * options : T[]
13
- * <br/>Description : options of ATab
14
- * <br/>Basic Usage :
15
- * <br/>(1)const options = ['Option1', 'Option2', 'Option3'];
16
- * <ATab options={options}/>
14
+ *
15
+ * Description : options of ATab
17
16
  */
18
17
  options: T[];
19
18
  /**
20
19
  * type? : 'Primary' | 'Secondary' = 'Primary'
21
- * <br/>Description : type of ATab
22
- * <br/>Basic Usage :
23
- * <br/>(1)<ATab type="Secondary"/>
20
+ *
21
+ * Description : type of ATab
24
22
  */
25
23
  type?: 'Primary' | 'Secondary';
26
24
  /**
27
25
  * useSelect? : TUseValues<T>
28
- * <br/>Description : useSelect of ATab
29
- * <br/>Basic Usage :
30
- * <br/>(1)const [selected, setSelected] = useState<typeof options[0]>(options[0]);
31
- * <ATab options={options} useSelect={[selected, setSelected]}/>
26
+ *
27
+ * Description : useSelect of ATab
32
28
  */
33
29
  useSelect?: TUseValues<T>;
34
30
  /**
35
31
  * tabProps? : React.HTMLProps<HTMLDivElement>
36
- * <br/>Description : tabProps of ATab
37
- * <br/>Basic Usage :
38
- * <br/>(1)<ATab tabProps={{className: 'test'}}/>
32
+ *
33
+ * Description : tabProps of ATab
39
34
  */
40
35
  tabProps?: React.HTMLProps<HTMLDivElement>;
41
36
  /**
42
37
  * optionWidth? : string | number
43
- * <br/>Description : optionWidth of ATab. if not set, tabs will have 1/n width.
44
- * <br/>Basic Usage :
45
- * <br/>(1)<ATab optionWidth="100px"/>
38
+ *
39
+ * Description : optionWidth of ATab. if not set, tabs will have 1/n width.
46
40
  */
47
41
  optionWidth?: string | number;
48
42
  /**
49
43
  * OptionRenderer? : (props: IATabOptionRendererProps<T>) => React.ReactNode = DefaultItemRenderer
50
- * <br/>Description : OptionRenderer of ATab
51
- * <br/>Basic Usage :
52
- * <br/>(1)const options = ['Option1', 'Option2', 'Option3'];
53
- * const OptionRenderer = ({option}) => 'This is option' + option;
54
- * <ATab options={options} OptionRenderer={OptionRenderer}/>
44
+ *
45
+ * Description : OptionRenderer of ATab
55
46
  */
56
47
  OptionRenderer?: (props: IATabOptionRendererProps<T>) => React.ReactNode;
57
48
  }
58
49
  /**
59
50
  * AComponent : ATab
60
- * <br/>Description : ATab is a tab component that can select a tab.
61
- * <br/>Basic Usage :
62
- * <br/>(1)const options = ['Option1', 'Option2', 'Option3'];
63
- * return <ATab options={options}/>
64
51
  *
65
- * <br/>(2)const options = ['Option1', 'Option2', 'Option3'];
66
- * const OptionRenderer = ({option}) => 'This is option' + option;
67
- * return <ATab options={options} OptionRenderer={OptionRenderer}/>
52
+ * Description : ATab is a tab component that can select a tab.
68
53
  *
69
- * <br/>(3)const options = ['Option1', 'Option2', 'Option3'];
70
- * const [selected, setSelected] = useState<typeof options[0]>(options[0]);
71
- * return <ATab options={options} useSelect={[selected, setSelected]}/>
54
+ * Basic Usage :
72
55
  *
73
- * <br/>(4)const options = ['Option1', 'Option2', 'Option3'];
74
- * return <ATab options={options} type="Secondary"/>
56
+ * const options = ['Option1', 'Option2', 'Option3'];
57
+ * const [selected, setSelected] = useState<typeof options[0]>(options[0]);
58
+ * const OptionRenderer = ({option}) => 'This is option' + option;
59
+ *
60
+ * if (case 1)
61
+ * <ATab options={options}/>
62
+ *
63
+ * if (case 2)
64
+ * <ATab options={options}
65
+ * OptionRenderer={OptionRenderer}/>
66
+ *
67
+ * if (case 3)
68
+ * <ATab options={options}
69
+ * useSelect={[selected, setSelected]}/>
70
+ *
71
+ * if (case 4)
72
+ * <ATab options={options}
73
+ * type="Secondary"/>
75
74
  */
76
75
  export declare const ATab: <T>({ options, useSelect, type, tabProps, optionWidth, OptionRenderer, }: IATabProps<T>) => import("react/jsx-runtime").JSX.Element | null;