ados-rcm 1.0.85 → 1.0.87

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.
@@ -59,12 +59,6 @@ export interface IADatePickerProps {
59
59
  * Description : maximum date of ADatePicker. default is a year later from now
60
60
  */
61
61
  maxDate?: Date;
62
- /**
63
- * resources? : Partial<typeof Resources.ADatePicker>
64
- *
65
- * Description : language resources of ADatePicker
66
- */
67
- resources?: Partial<typeof Resources.ADatePicker>;
68
62
  /**
69
63
  * LeftAddon? : React.ReactNode
70
64
  *
@@ -77,6 +71,12 @@ export interface IADatePickerProps {
77
71
  * Description : RightAddon of ADatePicker
78
72
  */
79
73
  RightAddon?: React.ReactNode;
74
+ /**
75
+ * resources? : Partial<typeof Resources.ADatePicker>
76
+ *
77
+ * Description : language resources of ADatePicker
78
+ */
79
+ resources?: Partial<typeof Resources.ADatePicker>;
80
80
  }
81
81
  /**
82
82
  * AComponent : ADatePicker
@@ -1,4 +1,5 @@
1
1
  import { TUseValues } from '../../AHooks/useValues';
2
+ import { Resources } from '../AResource/AResource';
2
3
  import { IADatePickerProps } from './ADatePicker';
3
4
  export interface IDateRange {
4
5
  /**
@@ -21,6 +22,12 @@ export interface IADateRangePickerProps extends Omit<IADatePickerProps, 'useDate
21
22
  * Description : useDateRange of ADateRangePicker
22
23
  */
23
24
  useDateRange?: TUseValues<IDateRange>;
25
+ /**
26
+ * resources : Partial<typeof Resources.ADateRangePicker>;
27
+ *
28
+ * Description : resources of ADateRangePicker
29
+ */
30
+ resources?: Partial<typeof Resources.ADateRangePicker>;
24
31
  }
25
32
  /**
26
33
  * AComponent : ADateRangePicker
@@ -1,12 +1,19 @@
1
1
  import React from 'react';
2
+ import { TUseValues } from '../../AHooks/useValues';
2
3
  import { Resources } from '../AResource/AResource';
3
- import { IAEvent, TActionRef } from '../ATypes/ATypes';
4
+ import { IAEvent } from '../ATypes/ATypes';
4
5
  /**
5
6
  * onOk와 ok의 네이밍 차이 : 해당 function이 Action임을 정의하는 기준을 고찰.
6
7
  * onAction은 callback으로 action이 수행될 때 호출된다. 따라서 기본적으로 onAction을 호출하는 곳은 action 한 곳 뿐이다.
7
8
  * 이와 다르게 action은 여러 곳에서 해당 action을 수행하고 싶을 때 호출할 수 있다. 만약 한 곳에서만 action을 호출하는 상황이라면 onAction을 사용하도록 한다.
8
9
  */
9
- export interface IADialogActions {
10
+ export interface IADialogAction {
11
+ /**
12
+ * open : () => void
13
+ *
14
+ * Description : open dialog
15
+ */
16
+ open: () => void;
10
17
  /**
11
18
  * close : () => void
12
19
  *
@@ -30,13 +37,17 @@ export interface IADialogChildren {
30
37
  children?: React.ReactNode;
31
38
  }
32
39
  export type TADialogTypes = 'okCancel' | 'cancelOk' | 'ok' | 'cancel' | 'none';
40
+ export type TADialogContext<P> = (props: P) => {
41
+ children: JSX.Element;
42
+ isOkDisabled: boolean;
43
+ };
33
44
  export interface IADialogProps {
34
45
  /**
35
- * dlgState : IADialogState
46
+ * dlgCore : IADialogCore
36
47
  *
37
- * Description : setOpen of the dialog. it is used when the dialog is closed.
48
+ * Description : core of the dialog
38
49
  */
39
- dlgState: IADialogState;
50
+ dlgCore: IADialogCore;
40
51
  /**
41
52
  * type? : TADialogTypes = 'okCancel'
42
53
  *
@@ -49,12 +60,6 @@ export interface IADialogProps {
49
60
  * Description : title of the dialog
50
61
  */
51
62
  title?: React.ReactNode;
52
- /**
53
- * actionRef? : TActionRef<IADialogActions>
54
- *
55
- * Description : actionRef of the dialog
56
- */
57
- actionRef?: TActionRef<IADialogActions>;
58
63
  /**
59
64
  * children? : React.ReactNode
60
65
  *
@@ -164,71 +169,85 @@ export interface IADialogProps {
164
169
  * Description : ADialog is a dialog component.
165
170
  *
166
171
  *
167
- * Basic Usage :
172
+ * Basic Usage : You should use 'createADialog' and 'ADialog' to make dialog component,
173
+ * and manage it with 'useADialogCore(s)'.
168
174
  *
169
- * const dlgState = useDialogState();
170
- * const onOk = () => { console.log('ok') }
171
- * const onCancel = (e : IAEvent) => {
172
- * e.event.preventDefault(); // this prevents the dialog from closing.
173
- * console.log('cancel')
174
- * }
175
+ * const DTest = createADialog((props: { dlgCore: IADialogCore }) => {
176
+ * const { dlgCore } = props;
177
+ * const onOk = () => console.log('ok')
178
+ * const onCancel = () => console.log('cancel')
175
179
  *
176
- * if (case 1)
177
- * <>
178
- * <ADialogFrame dlgState={dlgState}>
179
- * <ADialog dlgState={dlgState}
180
+ * return (
181
+ * <ADialog dlgCore={dlgCore}
180
182
  * title='Dialog Title'
181
183
  * onOk={onOk}
182
184
  * onCancel={onCancel}>
183
185
  * <div>Content</div>
186
+ * <AButton onClick={dlgCore.action.close}>close</AButton>
184
187
  * </ADialog>
185
- * </ADialogFrame>
186
- * <AButton onClick={dlgState.open}>Open Dialog</AButton>
187
- * </>
188
+ * );
189
+ * });
188
190
  *
189
- * if (case 2)
190
- * <ADialogFrame dlgState={dlgState}>
191
- * <DTest dlgState={dlgState}
192
- * onOk={onOk}
193
- * onCancel={onCancel}>
194
- * </DTest>
195
- * </ADialogFrame>
191
+ * if (case 1)
192
+ * const CallerComponent = () => {
193
+ * const dlgCore = useADialogCore();
194
+ * return (
195
+ * <div>
196
+ * <AButton onClick={dlgCore.action.open}>Open Dialog</AButton>
197
+ * <DTest dlgCore={dlgCore}/>
198
+ * </div>
199
+ * )
196
200
  *
197
- * const DTest = (props: IADialogProps) => {
198
- * let { dlgState, onOk, onCancel } = props;
199
- * const [num, setNum] = useState(0);
200
- * return (
201
- * <ADialog dlgState={dlgState}
202
- * title='Dialog Title'
203
- * onOk={onOk}
204
- * onCancel={onCancel}>
205
- * {num}
206
- * <AButton onClick={() => setNum(num + 1)}>Add</AButton>
207
- * <AButton onClick={() => setNum(num - 1)}>Sub</AButton>
208
- * </ADialog>
209
- * )
210
- * }
201
+ * if (case 2)
202
+ * const CallerComponent = () => {
203
+ * const dlgCores = useADialogCores('dlg1');
204
+ * return (
205
+ * <div>
206
+ * some contents
207
+ * <AButton onClick={dlgCores.dlg1.action.open}>Open Dialog</AButton>
208
+ * <DTest dlgState={dlgCores.dlg1}/>
209
+ * </div>
210
+ * );
211
+ * }
211
212
  *
212
213
  */
213
214
  export declare const ADialog: (props: IADialogProps) => React.ReactPortal;
214
215
  export interface IADialogState {
215
- isOpen: boolean;
216
- setIsOpen: (isOpen: boolean) => void;
217
- open: () => void;
218
- onClose: () => void;
216
+ /**
217
+ * useIsOpen : [boolean, (isOpen: boolean) => void]
218
+ *
219
+ * Description : [ASystem] use should not modify this property.
220
+ */
221
+ useIsOpen: TUseValues<boolean>;
222
+ /**
223
+ * setAction : (action: Partial<IADialogAction>) => void
224
+ *
225
+ * Description : set action of the dialog
226
+ */
227
+ setAction: (action: Partial<IADialogAction>) => void;
219
228
  }
220
- export declare const useADialogState: () => IADialogState;
221
- export interface IADialogFrameProps {
229
+ export type TADialogCores<T extends string> = {
230
+ [key in T]: IADialogCore;
231
+ };
232
+ export interface IADialogCore {
222
233
  /**
223
- * dlgState : IADialogState
234
+ * state : IADialogState
224
235
  *
225
- * Description : isOpen of the dialog. you can 'open' using this.
226
- * you can 'close' using actionRef. not this.
236
+ * Description : [ASystem] use should not modify this property.
227
237
  */
228
- dlgState: IADialogState;
238
+ state: IADialogState;
229
239
  /**
230
- * children : React.ReactElement
240
+ * action : IADialogAction
241
+ *
242
+ * Description : action of the dialog
231
243
  */
232
- children: React.ReactElement;
244
+ action: IADialogAction;
233
245
  }
234
- export declare const ADialogFrame: (props: IADialogFrameProps) => import("react/jsx-runtime").JSX.Element;
246
+ export type TADialogActions<T extends string> = {
247
+ [key in T]: IADialogAction;
248
+ };
249
+ export declare const useADialogCores: <T extends string>(...dlgNames: T[]) => TADialogCores<T>;
250
+ export declare const useADialogCore: () => IADialogCore;
251
+ export declare const createADialog: <P extends {
252
+ dlgCore: IADialogCore;
253
+ }>(Builder: (props: P) => JSX.Element) => (props: P) => import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import { IABaseProps } from '../ABase/ABase';
2
+ import React from 'react';
2
3
  /**
3
4
  * AComponent : AFrame : ARowFrame
4
5
  *
@@ -50,4 +51,39 @@ interface IAOverflowFrameProps extends IABaseProps {
50
51
  * </AOverflowFrame>
51
52
  */
52
53
  export declare const AOverflowFrame: (props: IAOverflowFrameProps) => import("react/jsx-runtime").JSX.Element;
54
+ interface IADivideFrameProps extends IABaseProps {
55
+ /**
56
+ * idx? : string | number
57
+ *
58
+ * Description : the idx of the frame. lengths will be saved localy with the idx.
59
+ * frames can be confused if you use same idxes in different frames.
60
+ * if you don't use idx, the lengths willd not be saved.
61
+ */
62
+ idx?: string | number;
63
+ /**
64
+ * direction? : 'Row' | 'Col'
65
+ *
66
+ * Description : decides whether to display as row or column
67
+ */
68
+ direction?: 'Row' | 'Col';
69
+ /**
70
+ * lengths : number[]
71
+ *
72
+ * Description : decides the length of each child frame. The length is the width when direction is 'Row' and the height when direction is 'Col'.
73
+ */
74
+ lengths: number[];
75
+ /**
76
+ * minLength? : number = 20
77
+ *
78
+ * Description : decides the minimum length of each child frame. The length is the width when direction is 'Row' and the height when direction is 'Col'.
79
+ */
80
+ minLength?: number;
81
+ /**
82
+ * children : React.ReactNode | React.ReactNode[]
83
+ *
84
+ * Description : the children of the frame
85
+ */
86
+ children: React.ReactNode | React.ReactNode[];
87
+ }
88
+ export declare const ADivideFrame: (props: IADivideFrameProps) => import("react/jsx-runtime").JSX.Element;
53
89
  export {};
@@ -14,6 +14,10 @@ export declare const Resources: {
14
14
  weekDays: (n: number) => string;
15
15
  months: (n: number) => string;
16
16
  };
17
+ ADateRangePicker: {
18
+ weekDays: (n: number) => string;
19
+ months: (n: number) => string;
20
+ };
17
21
  AFileBox: {
18
22
  'drop file to select': string;
19
23
  'or Drag & Drop': string;
@@ -37,4 +41,4 @@ export declare const Resources: {
37
41
  };
38
42
  export type TResource = typeof Resources;
39
43
  export type TResourceType = keyof TResource;
40
- export declare const SetResources: <K extends "ADialog" | "ATree" | "ADatePicker" | "AFileBox" | "ATable" | "ASelect" | "AMultiSelect">(resourceType: K, resources: TResource[K]) => void;
44
+ export declare const SetResources: <K extends "ADialog" | "ATree" | "ADatePicker" | "ADateRangePicker" | "AFileBox" | "ATable" | "ASelect" | "AMultiSelect">(resourceType: K, resources: TResource[K]) => void;
@@ -307,6 +307,25 @@ declare const Default: {
307
307
  '--ADatePicker_Cell_IsSelected_background-color': string;
308
308
  '--ADatePicker_Cell_IsSelected_color': string;
309
309
  '--ADatePicker_Cell_IsHovered_background-color': string;
310
+ '--ADateRangePicker_Anchor_border': string;
311
+ '--ADateRangePicker_Anchor_color': string;
312
+ '--ADateRangePicker_Anchor_hover_border': string;
313
+ '--ADateRangePicker_Anchor_focus_border': string;
314
+ '--ADateRangePicker_Anchor_Icon_color': string;
315
+ '--ADateRangePicker_background-color': string;
316
+ '--ADateRangePicker_border': string;
317
+ '--ADateRangePicker_StringInputContainer_background-color': string;
318
+ '--ADateRangePicker_String_border': string;
319
+ '--ADateRangePicker_Prev_background-color': string;
320
+ '--ADateRangePicker_Prev_border-right': string;
321
+ '--ADateRangePicker_Next_background-color': string;
322
+ '--ADateRangePicker_Next_border-left': string;
323
+ '--ADateRangePicker_Cell_color': string;
324
+ '--ADateRangePicker_Cell_IsNotCurrentMonth_color': string;
325
+ '--ADateRangePicker_Cell_IsDisabled_color': string;
326
+ '--ADateRangePicker_Cell_IsSelected_background-color': string;
327
+ '--ADateRangePicker_Cell_IsSelected_color': string;
328
+ '--ADateRangePicker_Cell_IsHovered_background-color': string;
310
329
  '--AIconButton_Primary_color': string;
311
330
  '--AIconButton_Primary_background-color': string;
312
331
  '--AIconButton_Primary_border': string;
@@ -329,9 +348,10 @@ declare const Default: {
329
348
  '--ATableFilter_SubFilters_background-color': string;
330
349
  '--ATableFilter_SubFilters_border': string;
331
350
  '--ATableFilter_Icon_color': string;
351
+ '--ADivideFrame_DividerInner_background-color': string;
332
352
  };
333
353
  export type TAThemeKey = keyof typeof Default;
334
- export declare const AThemeKeys: ("--ATheme" | "--Font" | "--Body-transition" | "--black_and_white-black" | "--black_and_white-white" | "--black_and_white-white-02" | "--black_and_white-white-03" | "--gray-deep-gray" | "--gray-deep-gray2" | "--gray-gray-01" | "--gray-gray-02" | "--gray-gray-03" | "--gray-gray-04" | "--gray-gray-05" | "--gray-gray-06" | "--gray-gray-07" | "--gray-gray-08" | "--gray-gray-09" | "--gray-gray-10" | "--gray-l_add_d-gray" | "--orange-orange-01" | "--orange-orange-02" | "--orange-orange-03" | "--orange-orange-04" | "--orange-orange-05" | "--orange-orange-06" | "--orange-orange-07" | "--orange-orange-08" | "--orange-orange-09" | "--orange-orange-10" | "--red-red-01" | "--red-red-02" | "--red-red-03" | "--red-red-04" | "--red-red-05" | "--red-red-06" | "--red-red-07" | "--red-red-08" | "--red-red-09" | "--red-red-10" | "--d-blue-blue-01" | "--d-blue-blue-02" | "--d-blue-blue-03" | "--d-blue-blue-04" | "--d-blue-blue-05" | "--d-blue-blue-06" | "--d-blue-blue-07" | "--d-blue-blue-08" | "--d-blue-blue-09" | "--d-blue-blue-10" | "--l-blue-blue-01" | "--l-blue-blue-02" | "--l-blue-blue-03" | "--l-blue-blue-04" | "--l-blue-blue-05" | "--l-blue-blue-06" | "--l-blue-blue-07" | "--l-blue-blue-08" | "--l-blue-blue-09" | "--l-blue-blue-10" | "--yellow-yellow-01" | "--Scrollbar-border-radius" | "--Scrollbar-width" | "--Body-background-color" | "--Body-color" | "--action-fill-hover-primary" | "--action-fill-press-primary" | "--action-fill-hover-secondary" | "--action-fill-press-secondary" | "--action-fill-hover-tertiary" | "--action-fill-press-tertiary" | "--action-fill-rest-primary" | "--action-fill-rest-secondary" | "--action-fill-rest-tertiary" | "--action-storke-primary" | "--action-stroke-secondary" | "--action-text-primary" | "--action-text-secondary" | "--action-text-tertiary" | "--action-text-quaternary" | "--button-fill-hover-primary" | "--button-fill-hover-secondary" | "--button-fill-inactive-secondary" | "--button-fill-press-primary" | "--button-fill-press-secondary" | "--button-fill-rest-primary" | "--button-fill-rest-secondary" | "--button-stroke-secondary" | "--button-text-primary" | "--button-text-secondary" | "--checkbox-stroke" | "--content-primary" | "--content-secondary" | "--content-tertiary" | "--content-quaternary" | "--error-text" | "--error-background" | "--error-highlight" | "--dialog-background" | "--dialog-content" | "--dialog-depth" | "--dialog-stroke" | "--fill-background" | "--fill-header" | "--highlight-primary" | "--highlight-secondary" | "--invisible" | "--menuitem-content" | "--menuitem-fill-select" | "--menuitem-text" | "--opacity-primary" | "--opacity-secondary" | "--Scrollbar-handle" | "--Scrollbar-handle-hover" | "--Scrollbar-handle-active" | "--Scrollbar-track" | "--search-content" | "--search-fill-active" | "--search-fill-rest" | "--search-stroke-active" | "--search-text-hint" | "--search-text-placeholder" | "--stepper-connect" | "--stepper-fill-active" | "--stepper-fill-inactive" | "--stepper-stroke-active" | "--stepper-stroke-inactive" | "--stroke-primary" | "--stroke-secondary" | "--switch-fill-handle" | "--switch-fill-track-off" | "--switch-fill-track-on" | "--switch-stroke-handle-off" | "--switch-stroke-handle-on" | "--table-depth" | "--table-elevation" | "--table-header-content" | "--table-stroke-primary" | "--table-stroke-secondary" | "--table-text-primary" | "--table-text-secondary" | "--tapbutton-stroke-active" | "--tapbutton-stroke-rest" | "--tapbutton-text" | "--textinput-content" | "--textinput-fill-active" | "--textinput-fill-rest" | "--textinput-stroke-active" | "--textinput-stroke-error" | "--textinput-text-hint" | "--textinput-text-placeholder" | "--ui-depth" | "--ui-elevation" | "--CDialog-background" | "--CDialog-background2" | "--CDialog-background3" | "--CTableBody-linear" | "--CTableWidthChanger-background" | "--CTableWidthChanger-background2" | "--ABase_Dimming_background-color" | "--ATooltip_background-color" | "--ATooltip_color" | "--AButton_Primary_border" | "--AButton_Primary_background-color" | "--AButton_Primary_color" | "--AButton_Primary_hover_background-color" | "--AButton_Primary_active_background-color" | "--AButton_Secondary_border" | "--AButton_Secondary_background-color" | "--AButton_Secondary_color" | "--AButton_Secondary_hover_background-color" | "--AButton_Secondary_active_background-color" | "--AInput_Primary_background-color" | "--AInput_Primary_border" | "--AInput_Primary_color" | "--AInput_Primary_hover_border" | "--AInput_Primary_focus_background-color" | "--AInput_Primary_focus_border" | "--AInput_Secondary_background-color" | "--AInput_Secondary_border" | "--AInput_Secondary_color" | "--AInput_Secondary_hover_border" | "--AInput_Secondary_focus_border" | "--AInput_Error_HelperText_color" | "--AInput_Error_background-color" | "--AInput_Error_border" | "--AInput_Error_color" | "--AInput_Error_placeholder_color" | "--ATextArea_Primary_background-color" | "--ATextArea_Primary_border" | "--ATextArea_Primary_color" | "--ATextArea_Primary_hover_border" | "--ATextArea_Primary_focus_background-color" | "--ATextArea_Primary_focus_border" | "--ATextArea_Secondary_background-color" | "--ATextArea_Secondary_border" | "--ATextArea_Secondary_color" | "--ATextArea_Secondary_hover_border" | "--ATextArea_Secondary_focus_border" | "--ATextArea_Error_background-color" | "--ATextArea_Error_border" | "--ATextArea_Error_color" | "--ATextArea_Error_placeholder_color" | "--ACheckBox_color" | "--ADialog_Paper_background-color" | "--ADialog_background-color" | "--ADialog_border" | "--ADialog_Body_Title_font" | "--ADialog_Action_background-color" | "--ASelect_Primary_border" | "--ASelect_Primary_hover_border" | "--ASelect_Primary_Arrow_color" | "--ASelect_Primary_Options_background-color" | "--ASelect_Primary_Options_border" | "--ASelect_Primary_Option_hover_background-color" | "--ASelect_Primary_Option_active_background-color" | "--ASelect_Primary_Option_Selected_background-color" | "--ASelect_Secondary_background-color" | "--ASelect_Secondary_Arrow_color" | "--ASelect_Secondary_Options_background-color" | "--ASelect_Secondary_Options_border" | "--ASelect_Secondary_Option_hover_background-color" | "--ASelect_Secondary_Option_active_background-color" | "--ASelect_Secondary_Option_Selected_background-color" | "--AMultiSelect_Primary_border" | "--AMultiSelect_Primary_hover_border" | "--AMultiSelect_Primary_Arrow_color" | "--AMultiSelect_Primary_Options_background-color" | "--AMultiSelect_Primary_Options_border" | "--AMultiSelect_Primary_Option_hover_background-color" | "--AMultiSelect_Primary_Option_active_background-color" | "--AMultiSelect_Primary_Option_Selected_background-color" | "--AMultiSelect_Secondary_background-color" | "--AMultiSelect_Secondary_Arrow_color" | "--AMultiSelect_Secondary_Options_background-color" | "--AMultiSelect_Secondary_Options_border" | "--AMultiSelect_Secondary_Option_hover_background-color" | "--AMultiSelect_Secondary_Option_active_background-color" | "--AMultiSelect_Secondary_Option_Selected_background-color" | "--ATree_background-color" | "--ATree_Indent_border" | "--ATreeHeader_border-top" | "--ATreeHeader_border-bottom" | "--ATreeItem_hover_background-color" | "--ATreeItem_active_background-color" | "--ATreeItem_select_background-color" | "--ATreeItem_search_background-color" | "--ATreeItem_search_border-top" | "--ATreeItem_search_border-bottom" | "--ATreeItem_select_color" | "--ASwitch_Track_Falsy_border-color" | "--ASwitch_Track_Truthy_border-color" | "--ATab_font" | "--ATab_Option_IsSelected_font" | "--ATab_IndicatorTrack_Primary_border-bottom" | "--ATab_Indicator_Primary_background-color" | "--ATab_Option_Secondary_border" | "--ATab_Option_Secondary_IsSelected_border-bottom" | "--AFileBox_border" | "--AFileBox_background-color" | "--AFileBox_SelectedFile_color" | "--AFileBox_Dropping_color" | "--AFileBox_Dropping_font" | "--AListView_border-top" | "--AListView_Row_border-bottom" | "--AListView_Label_border-left" | "--AListView_Label_font" | "--AListView_Rendered_border-left" | "--AStepper_OutCircle_background-color" | "--AStepper_OutCircle_IsOver_background-color" | "--AStepper_InCircle_background-color" | "--AStepper_InCircle_IsOver_background-color" | "--AStepper_Line_background-color" | "--AStepper_Line_IsOver_background-color" | "--ADatePicker_Anchor_border" | "--ADatePicker_Anchor_color" | "--ADatePicker_Anchor_hover_border" | "--ADatePicker_Anchor_focus_border" | "--ADatePicker_Anchor_Icon_color" | "--ADatePicker_background-color" | "--ADatePicker_border" | "--ADatePicker_StringInputContainer_background-color" | "--ADatePicker_String_border" | "--ADatePicker_Prev_background-color" | "--ADatePicker_Prev_border-right" | "--ADatePicker_Next_background-color" | "--ADatePicker_Next_border-left" | "--ADatePicker_Cell_color" | "--ADatePicker_Cell_IsNotCurrentMonth_color" | "--ADatePicker_Cell_IsDisabled_color" | "--ADatePicker_Cell_IsSelected_background-color" | "--ADatePicker_Cell_IsSelected_color" | "--ADatePicker_Cell_IsHovered_background-color" | "--AIconButton_Primary_color" | "--AIconButton_Primary_background-color" | "--AIconButton_Primary_border" | "--AIconButton_Primary_hover_border" | "--ATableBody_BodyHeader_border-top" | "--ATableBody_TRow_border-bottom" | "--ATableBody_TRow_IsSelected_background-color" | "--ATableBody_TRow_IsSelectable_hover_background-color" | "--ATableBody_TH_color" | "--ATableBody_TH_font-size" | "--ATableBody_TD_font-size" | "--ATableBody_TD_IsMarked_background-color" | "--ATableBody_Resizer_hover_ResizerCenter_background-color" | "--ATableBody_Resizer_active_ResizerCenter_background-color" | "--ATableBody_Resizer_active_ResizerOut_background-color" | "--ATableBody_Resizer_active_ResizerIn_background-color" | "--ATableFooter_Button_IsSelected_background-color" | "--ATableFooter_Button_IsSelected_color" | "--ATableFooter_Button_IsDisabled_color" | "--ATableFilter_SubFilters_background-color" | "--ATableFilter_SubFilters_border" | "--ATableFilter_Icon_color")[];
354
+ export declare const AThemeKeys: ("--ATheme" | "--Font" | "--Body-transition" | "--black_and_white-black" | "--black_and_white-white" | "--black_and_white-white-02" | "--black_and_white-white-03" | "--gray-deep-gray" | "--gray-deep-gray2" | "--gray-gray-01" | "--gray-gray-02" | "--gray-gray-03" | "--gray-gray-04" | "--gray-gray-05" | "--gray-gray-06" | "--gray-gray-07" | "--gray-gray-08" | "--gray-gray-09" | "--gray-gray-10" | "--gray-l_add_d-gray" | "--orange-orange-01" | "--orange-orange-02" | "--orange-orange-03" | "--orange-orange-04" | "--orange-orange-05" | "--orange-orange-06" | "--orange-orange-07" | "--orange-orange-08" | "--orange-orange-09" | "--orange-orange-10" | "--red-red-01" | "--red-red-02" | "--red-red-03" | "--red-red-04" | "--red-red-05" | "--red-red-06" | "--red-red-07" | "--red-red-08" | "--red-red-09" | "--red-red-10" | "--d-blue-blue-01" | "--d-blue-blue-02" | "--d-blue-blue-03" | "--d-blue-blue-04" | "--d-blue-blue-05" | "--d-blue-blue-06" | "--d-blue-blue-07" | "--d-blue-blue-08" | "--d-blue-blue-09" | "--d-blue-blue-10" | "--l-blue-blue-01" | "--l-blue-blue-02" | "--l-blue-blue-03" | "--l-blue-blue-04" | "--l-blue-blue-05" | "--l-blue-blue-06" | "--l-blue-blue-07" | "--l-blue-blue-08" | "--l-blue-blue-09" | "--l-blue-blue-10" | "--yellow-yellow-01" | "--Scrollbar-border-radius" | "--Scrollbar-width" | "--Body-background-color" | "--Body-color" | "--action-fill-hover-primary" | "--action-fill-press-primary" | "--action-fill-hover-secondary" | "--action-fill-press-secondary" | "--action-fill-hover-tertiary" | "--action-fill-press-tertiary" | "--action-fill-rest-primary" | "--action-fill-rest-secondary" | "--action-fill-rest-tertiary" | "--action-storke-primary" | "--action-stroke-secondary" | "--action-text-primary" | "--action-text-secondary" | "--action-text-tertiary" | "--action-text-quaternary" | "--button-fill-hover-primary" | "--button-fill-hover-secondary" | "--button-fill-inactive-secondary" | "--button-fill-press-primary" | "--button-fill-press-secondary" | "--button-fill-rest-primary" | "--button-fill-rest-secondary" | "--button-stroke-secondary" | "--button-text-primary" | "--button-text-secondary" | "--checkbox-stroke" | "--content-primary" | "--content-secondary" | "--content-tertiary" | "--content-quaternary" | "--error-text" | "--error-background" | "--error-highlight" | "--dialog-background" | "--dialog-content" | "--dialog-depth" | "--dialog-stroke" | "--fill-background" | "--fill-header" | "--highlight-primary" | "--highlight-secondary" | "--invisible" | "--menuitem-content" | "--menuitem-fill-select" | "--menuitem-text" | "--opacity-primary" | "--opacity-secondary" | "--Scrollbar-handle" | "--Scrollbar-handle-hover" | "--Scrollbar-handle-active" | "--Scrollbar-track" | "--search-content" | "--search-fill-active" | "--search-fill-rest" | "--search-stroke-active" | "--search-text-hint" | "--search-text-placeholder" | "--stepper-connect" | "--stepper-fill-active" | "--stepper-fill-inactive" | "--stepper-stroke-active" | "--stepper-stroke-inactive" | "--stroke-primary" | "--stroke-secondary" | "--switch-fill-handle" | "--switch-fill-track-off" | "--switch-fill-track-on" | "--switch-stroke-handle-off" | "--switch-stroke-handle-on" | "--table-depth" | "--table-elevation" | "--table-header-content" | "--table-stroke-primary" | "--table-stroke-secondary" | "--table-text-primary" | "--table-text-secondary" | "--tapbutton-stroke-active" | "--tapbutton-stroke-rest" | "--tapbutton-text" | "--textinput-content" | "--textinput-fill-active" | "--textinput-fill-rest" | "--textinput-stroke-active" | "--textinput-stroke-error" | "--textinput-text-hint" | "--textinput-text-placeholder" | "--ui-depth" | "--ui-elevation" | "--CDialog-background" | "--CDialog-background2" | "--CDialog-background3" | "--CTableBody-linear" | "--CTableWidthChanger-background" | "--CTableWidthChanger-background2" | "--ABase_Dimming_background-color" | "--ATooltip_background-color" | "--ATooltip_color" | "--AButton_Primary_border" | "--AButton_Primary_background-color" | "--AButton_Primary_color" | "--AButton_Primary_hover_background-color" | "--AButton_Primary_active_background-color" | "--AButton_Secondary_border" | "--AButton_Secondary_background-color" | "--AButton_Secondary_color" | "--AButton_Secondary_hover_background-color" | "--AButton_Secondary_active_background-color" | "--AInput_Primary_background-color" | "--AInput_Primary_border" | "--AInput_Primary_color" | "--AInput_Primary_hover_border" | "--AInput_Primary_focus_background-color" | "--AInput_Primary_focus_border" | "--AInput_Secondary_background-color" | "--AInput_Secondary_border" | "--AInput_Secondary_color" | "--AInput_Secondary_hover_border" | "--AInput_Secondary_focus_border" | "--AInput_Error_HelperText_color" | "--AInput_Error_background-color" | "--AInput_Error_border" | "--AInput_Error_color" | "--AInput_Error_placeholder_color" | "--ATextArea_Primary_background-color" | "--ATextArea_Primary_border" | "--ATextArea_Primary_color" | "--ATextArea_Primary_hover_border" | "--ATextArea_Primary_focus_background-color" | "--ATextArea_Primary_focus_border" | "--ATextArea_Secondary_background-color" | "--ATextArea_Secondary_border" | "--ATextArea_Secondary_color" | "--ATextArea_Secondary_hover_border" | "--ATextArea_Secondary_focus_border" | "--ATextArea_Error_background-color" | "--ATextArea_Error_border" | "--ATextArea_Error_color" | "--ATextArea_Error_placeholder_color" | "--ACheckBox_color" | "--ADialog_Paper_background-color" | "--ADialog_background-color" | "--ADialog_border" | "--ADialog_Body_Title_font" | "--ADialog_Action_background-color" | "--ASelect_Primary_border" | "--ASelect_Primary_hover_border" | "--ASelect_Primary_Arrow_color" | "--ASelect_Primary_Options_background-color" | "--ASelect_Primary_Options_border" | "--ASelect_Primary_Option_hover_background-color" | "--ASelect_Primary_Option_active_background-color" | "--ASelect_Primary_Option_Selected_background-color" | "--ASelect_Secondary_background-color" | "--ASelect_Secondary_Arrow_color" | "--ASelect_Secondary_Options_background-color" | "--ASelect_Secondary_Options_border" | "--ASelect_Secondary_Option_hover_background-color" | "--ASelect_Secondary_Option_active_background-color" | "--ASelect_Secondary_Option_Selected_background-color" | "--AMultiSelect_Primary_border" | "--AMultiSelect_Primary_hover_border" | "--AMultiSelect_Primary_Arrow_color" | "--AMultiSelect_Primary_Options_background-color" | "--AMultiSelect_Primary_Options_border" | "--AMultiSelect_Primary_Option_hover_background-color" | "--AMultiSelect_Primary_Option_active_background-color" | "--AMultiSelect_Primary_Option_Selected_background-color" | "--AMultiSelect_Secondary_background-color" | "--AMultiSelect_Secondary_Arrow_color" | "--AMultiSelect_Secondary_Options_background-color" | "--AMultiSelect_Secondary_Options_border" | "--AMultiSelect_Secondary_Option_hover_background-color" | "--AMultiSelect_Secondary_Option_active_background-color" | "--AMultiSelect_Secondary_Option_Selected_background-color" | "--ATree_background-color" | "--ATree_Indent_border" | "--ATreeHeader_border-top" | "--ATreeHeader_border-bottom" | "--ATreeItem_hover_background-color" | "--ATreeItem_active_background-color" | "--ATreeItem_select_background-color" | "--ATreeItem_search_background-color" | "--ATreeItem_search_border-top" | "--ATreeItem_search_border-bottom" | "--ATreeItem_select_color" | "--ASwitch_Track_Falsy_border-color" | "--ASwitch_Track_Truthy_border-color" | "--ATab_font" | "--ATab_Option_IsSelected_font" | "--ATab_IndicatorTrack_Primary_border-bottom" | "--ATab_Indicator_Primary_background-color" | "--ATab_Option_Secondary_border" | "--ATab_Option_Secondary_IsSelected_border-bottom" | "--AFileBox_border" | "--AFileBox_background-color" | "--AFileBox_SelectedFile_color" | "--AFileBox_Dropping_color" | "--AFileBox_Dropping_font" | "--AListView_border-top" | "--AListView_Row_border-bottom" | "--AListView_Label_border-left" | "--AListView_Label_font" | "--AListView_Rendered_border-left" | "--AStepper_OutCircle_background-color" | "--AStepper_OutCircle_IsOver_background-color" | "--AStepper_InCircle_background-color" | "--AStepper_InCircle_IsOver_background-color" | "--AStepper_Line_background-color" | "--AStepper_Line_IsOver_background-color" | "--ADatePicker_Anchor_border" | "--ADatePicker_Anchor_color" | "--ADatePicker_Anchor_hover_border" | "--ADatePicker_Anchor_focus_border" | "--ADatePicker_Anchor_Icon_color" | "--ADatePicker_background-color" | "--ADatePicker_border" | "--ADatePicker_StringInputContainer_background-color" | "--ADatePicker_String_border" | "--ADatePicker_Prev_background-color" | "--ADatePicker_Prev_border-right" | "--ADatePicker_Next_background-color" | "--ADatePicker_Next_border-left" | "--ADatePicker_Cell_color" | "--ADatePicker_Cell_IsNotCurrentMonth_color" | "--ADatePicker_Cell_IsDisabled_color" | "--ADatePicker_Cell_IsSelected_background-color" | "--ADatePicker_Cell_IsSelected_color" | "--ADatePicker_Cell_IsHovered_background-color" | "--ADateRangePicker_Anchor_border" | "--ADateRangePicker_Anchor_color" | "--ADateRangePicker_Anchor_hover_border" | "--ADateRangePicker_Anchor_focus_border" | "--ADateRangePicker_Anchor_Icon_color" | "--ADateRangePicker_background-color" | "--ADateRangePicker_border" | "--ADateRangePicker_StringInputContainer_background-color" | "--ADateRangePicker_String_border" | "--ADateRangePicker_Prev_background-color" | "--ADateRangePicker_Prev_border-right" | "--ADateRangePicker_Next_background-color" | "--ADateRangePicker_Next_border-left" | "--ADateRangePicker_Cell_color" | "--ADateRangePicker_Cell_IsNotCurrentMonth_color" | "--ADateRangePicker_Cell_IsDisabled_color" | "--ADateRangePicker_Cell_IsSelected_background-color" | "--ADateRangePicker_Cell_IsSelected_color" | "--ADateRangePicker_Cell_IsHovered_background-color" | "--AIconButton_Primary_color" | "--AIconButton_Primary_background-color" | "--AIconButton_Primary_border" | "--AIconButton_Primary_hover_border" | "--ATableBody_BodyHeader_border-top" | "--ATableBody_TRow_border-bottom" | "--ATableBody_TRow_IsSelected_background-color" | "--ATableBody_TRow_IsSelectable_hover_background-color" | "--ATableBody_TH_color" | "--ATableBody_TH_font-size" | "--ATableBody_TD_font-size" | "--ATableBody_TD_IsMarked_background-color" | "--ATableBody_Resizer_hover_ResizerCenter_background-color" | "--ATableBody_Resizer_active_ResizerCenter_background-color" | "--ATableBody_Resizer_active_ResizerOut_background-color" | "--ATableBody_Resizer_active_ResizerIn_background-color" | "--ATableFooter_Button_IsSelected_background-color" | "--ATableFooter_Button_IsSelected_color" | "--ATableFooter_Button_IsDisabled_color" | "--ATableFilter_SubFilters_background-color" | "--ATableFilter_SubFilters_border" | "--ATableFilter_Icon_color" | "--ADivideFrame_DividerInner_background-color")[];
335
355
  export declare const AThemes: {
336
356
  Add: (theme: IATheme) => void;
337
357
  Remove: (theme: string) => void;