ados-rcm 1.1.327 → 1.1.328
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.
- package/dist/AModule/AComponents/AClock/AClock.d.ts +1 -1
- package/dist/AModule/AComponents/AEditor/AEditor.d.ts +21 -0
- package/dist/AModule/AComponents/AEditor/modules/TablePicker.d.ts +28 -0
- package/dist/AModule/AComponents/AEditor/modules/TableUI.d.ts +55 -0
- package/dist/AModule/AComponents/AIcon/AIcon.d.ts +9 -2
- package/dist/AModule/AComponents/AResource/AResource.d.ts +15 -0
- package/dist/AModule/AComponents/ATextArea/ATextArea.d.ts +2 -2
- package/dist/AModule/AComponents/ATheme/ATheme.d.ts +3 -1
- package/dist/AModule/AComponents/ATree/ATreeSearch.d.ts +1 -1
- package/dist/AModule/AComponents/ATypes/ATypes.d.ts +1 -1
- package/dist/AModule/AUtils/sF.d.ts +9 -2
- package/dist/index.cjs.js +324 -33
- package/dist/index.d.ts +3 -2
- package/dist/index.es.js +31857 -11300
- package/package.json +24 -23
@@ -1,7 +1,7 @@
|
|
1
|
-
import { IAWrapProps } from '../AWrap/AWrap';
|
2
1
|
import { default as React } from 'react';
|
3
2
|
import { IABaseProps } from '../ABase/ABase';
|
4
3
|
import { TActionRef } from '../ATypes/ATypes';
|
4
|
+
import { IAWrapProps } from '../AWrap/AWrap';
|
5
5
|
export interface IAClockActions {
|
6
6
|
/**
|
7
7
|
* start : () => void
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { default as ReactQuill } from 'react-quill-new';
|
2
|
+
import { TUseValues } from '../../AHooks/useValues';
|
3
|
+
import { IABaseProps } from '../ABase/ABase';
|
4
|
+
import { IAWrapProps } from '../AWrap/AWrap';
|
5
|
+
export type TAEditorType = 'Primary' | 'ReadOnly' | 'Raw' | 'Error';
|
6
|
+
export interface IAEditorProps extends IABaseProps, IAWrapProps {
|
7
|
+
onEnterPress?: (value: string) => void;
|
8
|
+
type?: TAEditorType;
|
9
|
+
editorRef?: React.RefObject<ReactQuill>;
|
10
|
+
useValue?: TUseValues<string>;
|
11
|
+
useError?: TUseValues<boolean>;
|
12
|
+
placeholder?: string;
|
13
|
+
tabIndex?: number;
|
14
|
+
autoFocus?: boolean;
|
15
|
+
editorProps?: ReactQuill.ReactQuillProps;
|
16
|
+
minHeight?: string | number;
|
17
|
+
contentHeight?: number;
|
18
|
+
maxHeight?: number;
|
19
|
+
}
|
20
|
+
export declare const AEditor: (props: IAEditorProps) => React.ReactNode;
|
21
|
+
export declare const FileSizeTrans: (size: any) => string;
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import { Quill } from 'react-quill-new';
|
2
|
+
export default class JaeKanTablePicker {
|
3
|
+
private readonly quill;
|
4
|
+
private picker;
|
5
|
+
private readonly MAX_ROWS;
|
6
|
+
private readonly MAX_COLS;
|
7
|
+
private readonly CELL_SIZE;
|
8
|
+
private readonly CLASSNAMES;
|
9
|
+
constructor(quill: Quill);
|
10
|
+
private handleGlobalClick;
|
11
|
+
private initializeTablePicker;
|
12
|
+
private handleTableButtonClick;
|
13
|
+
private createElement;
|
14
|
+
private showTablePicker;
|
15
|
+
private activateTableButton;
|
16
|
+
private closeOtherOptions;
|
17
|
+
private createPicker;
|
18
|
+
private createGrid;
|
19
|
+
private createCell;
|
20
|
+
private setupCellEventListeners;
|
21
|
+
private handleCellHover;
|
22
|
+
private showTooltip;
|
23
|
+
private removeTooltip;
|
24
|
+
private positionPicker;
|
25
|
+
private highlightCells;
|
26
|
+
private insertTable;
|
27
|
+
private hidePicker;
|
28
|
+
}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
import { Quill } from 'react-quill-new';
|
2
|
+
interface Range {
|
3
|
+
index: number;
|
4
|
+
length: number;
|
5
|
+
}
|
6
|
+
declare enum QuillEvents {
|
7
|
+
EDITOR_CHANGE = "editor-change",
|
8
|
+
SCROLL_BEFORE_UPDATE = "scroll-before-update",
|
9
|
+
SCROLL_BLOT_MOUNT = "scroll-blot-mount",
|
10
|
+
SCROLL_BLOT_UNMOUNT = "scroll-blot-unmount",
|
11
|
+
SCROLL_OPTIMIZE = "scroll-optimize",
|
12
|
+
SCROLL_UPDATE = "scroll-update",
|
13
|
+
SELECTION_CHANGE = "selection-change",
|
14
|
+
TEXT_CHANGE = "text-change"
|
15
|
+
}
|
16
|
+
declare enum QuillSources {
|
17
|
+
API = "api",
|
18
|
+
SILENT = "silent",
|
19
|
+
USER = "user"
|
20
|
+
}
|
21
|
+
export interface MenuItem {
|
22
|
+
title: string;
|
23
|
+
icon: string;
|
24
|
+
handler: () => void;
|
25
|
+
}
|
26
|
+
export interface TableUIOptions {
|
27
|
+
maxRowCount?: number;
|
28
|
+
}
|
29
|
+
export default class JaeKanTableUI {
|
30
|
+
TOGGLE_TEMPLATE: string;
|
31
|
+
DEFAULTS: TableUIOptions;
|
32
|
+
quill: Quill;
|
33
|
+
options: any;
|
34
|
+
toggle: HTMLElement | null;
|
35
|
+
menu: HTMLElement | null;
|
36
|
+
position: any;
|
37
|
+
table: any;
|
38
|
+
menuItems: MenuItem[];
|
39
|
+
constructor(quill: Quill, options: any);
|
40
|
+
editorChangeHandler: (type: QuillEvents, range: Range, _oldRange: Range, _source: QuillSources) => void;
|
41
|
+
contextMenuHandler: (evt: MouseEvent) => true | undefined;
|
42
|
+
toggleClickHandler: (e: any) => void;
|
43
|
+
docClickHandler: () => () => void;
|
44
|
+
isTable(range?: Range | null): boolean;
|
45
|
+
getColCount(range?: Range | null): any;
|
46
|
+
showMenu(): void;
|
47
|
+
hideMenu(): void;
|
48
|
+
createMenuItem(item: MenuItem): HTMLDivElement;
|
49
|
+
detectButton(range: Range | null): void;
|
50
|
+
showToggle(position: any): void;
|
51
|
+
hideToggle(): void;
|
52
|
+
toggleMenu(): void;
|
53
|
+
destroy(): void;
|
54
|
+
}
|
55
|
+
export {};
|
@@ -137,8 +137,15 @@ export declare const Icons: Readonly<{
|
|
137
137
|
Verified: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
138
138
|
NonVerified: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
139
139
|
Edit2: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
140
|
-
|
140
|
+
Trash: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
141
|
+
AddRowBelow: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
142
|
+
AddRowAbove: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
143
|
+
AddColRight: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
144
|
+
AddColLeft: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
145
|
+
RemoveCol: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
146
|
+
RemoveRow: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
147
|
+
Table: (props?: IASVGProps) => import("react/jsx-runtime").JSX.Element;
|
141
148
|
}>;
|
142
|
-
export declare const AIcons: ("ArrowDown" | "ArrowUp" | "Chat" | "Check.Checked" | "Check.Indeterminate" | "Check.UnChecked" | "CircleCheck" | "ClipBoard" | "Close" | "Document" | "Menu" | "Person" | "PersonOutline" | "Reset" | "Search" | "Send" | "Spinner" | "Stop" | "TriangleAlert" | "TriangleAlert2" | "Sun" | "Moon" | "CCTV" | "Convert" | "KeyboardArrowUp" | "KeyboardArrowDown" | "Alert" | "SortUp" | "SortDown" | "SortBoth" | "RowSortUp" | "RowSortDown" | "RowSortBoth" | "Favorite" | "FavoriteDisabled" | "Main" | "Frame" | "FileDownload" | "File" | "UnPlug" | "CloudSync" | "CalendarDay" | "DateRange" | "PlayArrow" | "Mail" | "MailOutline" | "Bell" | "Download" | "Folder" | "FolderPost" | "FolderOpen" | "FolderCopy" | "FolderAdd" | "FolderMove" | "FirstPage" | "LastPage" | "NavigateBefore" | "NavigateNext" | "ListAdd" | "ListRemove" | "Cancel" | "Article" | "Info" | "Type" | "PersonAdd" | "CheckNormal" | "Create" | "PersonRemove" | "Refresh" | "Undo" | "Gear" | "TriangleUp" | "TriangleDown" | "CircleHelp" | "Cow" | "CircleAlertOutline" | "CircleAlert" | "Manager" | "ManagerOutline" | "Admin" | "Equalizer" | "ABC" | "Auth" | "AuthAdd" | "Switch" | "Add" | "Edit" | "EditOff" | "Delete" | "Save" | "Remove" | "Sync" | "X" | "MoreVertical" | "MoreHorizontal" | "Verified" | "NonVerified" | "Edit2" | "
|
149
|
+
export declare const AIcons: ("ArrowDown" | "ArrowUp" | "Chat" | "Check.Checked" | "Check.Indeterminate" | "Check.UnChecked" | "CircleCheck" | "ClipBoard" | "Close" | "Document" | "Menu" | "Person" | "PersonOutline" | "Reset" | "Search" | "Send" | "Spinner" | "Stop" | "TriangleAlert" | "TriangleAlert2" | "Sun" | "Moon" | "CCTV" | "Convert" | "KeyboardArrowUp" | "KeyboardArrowDown" | "Alert" | "SortUp" | "SortDown" | "SortBoth" | "RowSortUp" | "RowSortDown" | "RowSortBoth" | "Favorite" | "FavoriteDisabled" | "Main" | "Frame" | "FileDownload" | "File" | "UnPlug" | "CloudSync" | "CalendarDay" | "DateRange" | "PlayArrow" | "Mail" | "MailOutline" | "Bell" | "Download" | "Folder" | "FolderPost" | "FolderOpen" | "FolderCopy" | "FolderAdd" | "FolderMove" | "FirstPage" | "LastPage" | "NavigateBefore" | "NavigateNext" | "ListAdd" | "ListRemove" | "Cancel" | "Article" | "Info" | "Type" | "PersonAdd" | "CheckNormal" | "Create" | "PersonRemove" | "Refresh" | "Undo" | "Gear" | "TriangleUp" | "TriangleDown" | "CircleHelp" | "Cow" | "CircleAlertOutline" | "CircleAlert" | "Manager" | "ManagerOutline" | "Admin" | "Equalizer" | "ABC" | "Auth" | "AuthAdd" | "Switch" | "Add" | "Edit" | "EditOff" | "Delete" | "Save" | "Remove" | "Sync" | "X" | "MoreVertical" | "MoreHorizontal" | "Verified" | "NonVerified" | "Edit2" | "Trash" | "AddRowBelow" | "AddRowAbove" | "AddColRight" | "AddColLeft" | "RemoveCol" | "RemoveRow" | "Table")[];
|
143
150
|
export type TIcons = keyof typeof Icons;
|
144
151
|
export {};
|
@@ -54,6 +54,21 @@ export declare const Resources: {
|
|
54
54
|
AMultiSelect: {
|
55
55
|
'Select(Placeholder)': string;
|
56
56
|
};
|
57
|
+
AEditor: {
|
58
|
+
'Insert Column Right': string;
|
59
|
+
'Insert Column Left': string;
|
60
|
+
'Insert Row Top': string;
|
61
|
+
'Insert Row Bottom': string;
|
62
|
+
'Delete Column': string;
|
63
|
+
'Delete Row': string;
|
64
|
+
'Delete Table': string;
|
65
|
+
'Image size adjust': string;
|
66
|
+
Center: string;
|
67
|
+
'Float left': string;
|
68
|
+
'Float right': string;
|
69
|
+
'Input on mouse down': string;
|
70
|
+
Restore: string;
|
71
|
+
};
|
57
72
|
};
|
58
73
|
export type TResource = typeof Resources;
|
59
74
|
export type TResourceType = keyof TResource;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { default as React } from 'react';
|
2
|
-
import { IAWrapProps } from '../AWrap/AWrap';
|
3
|
-
import { IABaseProps } from '../ABase/ABase';
|
4
2
|
import { TUseValues } from '../../AHooks/useValues';
|
3
|
+
import { IABaseProps } from '../ABase/ABase';
|
4
|
+
import { IAWrapProps } from '../AWrap/AWrap';
|
5
5
|
export declare const ATextAreaTypes: readonly ["Primary", "Secondary", "ReadOnly", "Error"];
|
6
6
|
export type TTextAreaTypes = 'Primary' | 'Secondary' | 'ReadOnly' | 'Error';
|
7
7
|
export interface IATextAreaProps extends IABaseProps, IAWrapProps {
|
@@ -90,6 +90,8 @@ export declare const AInputStyleKeys: readonly ["AInput_Primary_background-color
|
|
90
90
|
export type TAInputStyleKeys = (typeof AInputStyleKeys)[number];
|
91
91
|
export declare const ATextAreaStyleKeys: readonly ["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_ReadOnly_background-color", "ATextArea_ReadOnly_border", "ATextArea_ReadOnly_color", "ATextArea_Error_background-color", "ATextArea_Error_border", "ATextArea_Error_color", "ATextArea_Error_placeholder_color"];
|
92
92
|
export type TATextAreaStyleKeys = (typeof ATextAreaStyleKeys)[number];
|
93
|
+
export declare const AEditorStyleKeys: readonly ["AEditor_Primary_background-color", "AEditor_Primary_border", "AEditor_Primary_color", "AEditor_Primary_hover_border", "AEditor_Primary_focus_background-color", "AEditor_Primary_focus_border", "AEditor_ReadOnly_background-color", "AEditor_ReadOnly_border", "AEditor_ReadOnly_hover_border", "AEditor_ReadOnly_focus_border", "AEditor_ReadOnly_color", "AEditor_Error_background-color", "AEditor_Error_border", "AEditor_Error_color", "AEditor_Error_placeholder_color"];
|
94
|
+
export type TAEditorStyleKeys = (typeof AEditorStyleKeys)[number];
|
93
95
|
export declare const ACheckBoxStyleKeys: readonly ["ACheckBox_color"];
|
94
96
|
export type TACheckBoxStyleKeys = (typeof ACheckBoxStyleKeys)[number];
|
95
97
|
export declare const ADialogStyleKeys: readonly ["ADialog_Paper_background-color", "ADialog_background-color", "ADialog_border", "ADialog_Action_background-color"];
|
@@ -130,7 +132,7 @@ export declare const ARadioSelectKeys: readonly ["ARadioSelect_RadioButton_borde
|
|
130
132
|
export type TARadioSelectKeys = (typeof ARadioSelectKeys)[number];
|
131
133
|
export declare const AChipKeys: readonly ["AChip_background-color", "AChip_color", "AChip_border", "AChip_hover_background-color", "AChip_hover_color", "AChip_DeleteButton_border", "AChip_DeleteButton_color", "AChip_DeleteButton_hover_border", "AChip_DeleteButton_hover_color"];
|
132
134
|
export type TAChipKeys = (typeof AChipKeys)[number];
|
133
|
-
export declare const componentStyleKeys: ("Body-background-color" | "Body-color" | "Body-transition" | "Font" | "Scrollbar-handle" | "Scrollbar-handle-hover" | "Scrollbar-handle-active" | "Scrollbar-track" | "Scrollbar-border-radius" | "Scrollbar-width" | "Transition" | "ABase_Dimming_background-color" | "ATooltip_background-color" | "ATooltip_color" | "AButton_Primary_border" | "AButton_Primary_background-color" | "AButton_Primary_color" | "AButton_Secondary_border" | "AButton_Secondary_background-color" | "AButton_Secondary_color" | "AButton_Alter_border" | "AButton_Alter_background-color" | "AButton_Alter_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_Primary_placeholder_color" | "AInput_Secondary_background-color" | "AInput_Secondary_border" | "AInput_Secondary_color" | "AInput_Secondary_hover_border" | "AInput_Secondary_focus_border" | "AInput_Secondary_placeholder_color" | "AInput_ReadOnly_background-color" | "AInput_ReadOnly_border" | "AInput_ReadOnly_color" | "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_ReadOnly_background-color" | "ATextArea_ReadOnly_border" | "ATextArea_ReadOnly_color" | "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_Action_background-color" | "ASelect_Placeholder_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_border" | "ASelect_Secondary_hover_border" | "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_Placeholder_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_border" | "AMultiSelect_Secondary_hover_border" | "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" | "ATreeBodyHeader_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" | "ASwitch_Track_Truthy_border" | "ASwitch_Thumb_border" | "ATab_IndicatorTrack_Primary_border-bottom" | "ATab_Indicator_Primary_background-color" | "ATab_Option_Secondary_border" | "ATab_Option_Secondary_IsSelected_border-bottom" | "ATab_Option_Secondary_IsDisabled_border" | "ATab_IndicatorTrack_Tertiary_background-color" | "ATab_Indicator_Tertiary_background-color" | "ATab_Option_Tertiary_color" | "ATab_Option_Tertiary_IsSelected_color" | "ATab_Option_Quaternary_color" | "ATab_Option_Quaternary_IsSelected_color" | "AFileBox_border" | "AFileBox_background-color" | "AFileBox_SelectedFile_color" | "AFileBox_Dropping_color" | "AListView_border-thin" | "AListView_border-thick" | "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_Placeholder_color" | "ADatePicker_Anchor_hover_border" | "ADatePicker_Anchor_focus_border" | "ADatePicker_Anchor_Icon_Primary_color" | "ADatePicker_Anchor_Icon_Secondary_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_Placeholder_color" | "ADateRangePicker_Anchor_hover_border" | "ADateRangePicker_Anchor_focus_border" | "ADateRangePicker_Anchor_Icon_Primary_color" | "ADateRangePicker_Anchor_Icon_Secondary_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_border" | "AIconButton_Primary_background-color" | "AIconButton_Primary_hover_background-color" | "AIconButton_Primary_active_background-color" | "AIconButton_Secondary_color" | "AIconButton_Secondary_background-color" | "AIconButton_Secondary_hover_background-color" | "AIconButton_Secondary_active_background-color" | "ATableBody_TRow_border-bottom" | "ATableBody_TRow_IsSelected_background-color" | "ATableBody_TRow_IsSelectable_hover_background-color" | "ATableBody_TH_color" | "ATableBody_TD_IsMarked_background-color" | "ATableBody_TD_IsMarked_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" | "ATableFilter_Alert_color" | "ADivideFrame_DividerInner_background-color" | "AFloatMenu_background-color" | "AFloatMenu_hover_background-color" | "AFloatMenu_color" | "AFloatMenu_border" | "ALoadingBorder_background-color" | "ALoadingBorder_ProgressBar_background-color" | "ALoadingBorder_Cover_background-color" | "AWrap_Error_color" | "ARadioSelect_RadioButton_border" | "ARadioSelect_RadioButton_InnerCircle_isChecked_background-color" | "AChip_background-color" | "AChip_color" | "AChip_border" | "AChip_hover_background-color" | "AChip_hover_color" | "AChip_DeleteButton_border" | "AChip_DeleteButton_color" | "AChip_DeleteButton_hover_border" | "AChip_DeleteButton_hover_color")[];
|
135
|
+
export declare const componentStyleKeys: ("Body-background-color" | "Body-color" | "Body-transition" | "Font" | "Scrollbar-handle" | "Scrollbar-handle-hover" | "Scrollbar-handle-active" | "Scrollbar-track" | "Scrollbar-border-radius" | "Scrollbar-width" | "Transition" | "ABase_Dimming_background-color" | "ATooltip_background-color" | "ATooltip_color" | "AButton_Primary_border" | "AButton_Primary_background-color" | "AButton_Primary_color" | "AButton_Secondary_border" | "AButton_Secondary_background-color" | "AButton_Secondary_color" | "AButton_Alter_border" | "AButton_Alter_background-color" | "AButton_Alter_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_Primary_placeholder_color" | "AInput_Secondary_background-color" | "AInput_Secondary_border" | "AInput_Secondary_color" | "AInput_Secondary_hover_border" | "AInput_Secondary_focus_border" | "AInput_Secondary_placeholder_color" | "AInput_ReadOnly_background-color" | "AInput_ReadOnly_border" | "AInput_ReadOnly_color" | "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_ReadOnly_background-color" | "ATextArea_ReadOnly_border" | "ATextArea_ReadOnly_color" | "ATextArea_Error_background-color" | "ATextArea_Error_border" | "ATextArea_Error_color" | "ATextArea_Error_placeholder_color" | "AEditor_Primary_background-color" | "AEditor_Primary_border" | "AEditor_Primary_color" | "AEditor_Primary_hover_border" | "AEditor_Primary_focus_background-color" | "AEditor_Primary_focus_border" | "AEditor_ReadOnly_background-color" | "AEditor_ReadOnly_border" | "AEditor_ReadOnly_hover_border" | "AEditor_ReadOnly_focus_border" | "AEditor_ReadOnly_color" | "AEditor_Error_background-color" | "AEditor_Error_border" | "AEditor_Error_color" | "AEditor_Error_placeholder_color" | "ACheckBox_color" | "ADialog_Paper_background-color" | "ADialog_background-color" | "ADialog_border" | "ADialog_Action_background-color" | "ASelect_Placeholder_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_border" | "ASelect_Secondary_hover_border" | "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_Placeholder_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_border" | "AMultiSelect_Secondary_hover_border" | "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" | "ATreeBodyHeader_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" | "ASwitch_Track_Truthy_border" | "ASwitch_Thumb_border" | "ATab_IndicatorTrack_Primary_border-bottom" | "ATab_Indicator_Primary_background-color" | "ATab_Option_Secondary_border" | "ATab_Option_Secondary_IsSelected_border-bottom" | "ATab_Option_Secondary_IsDisabled_border" | "ATab_IndicatorTrack_Tertiary_background-color" | "ATab_Indicator_Tertiary_background-color" | "ATab_Option_Tertiary_color" | "ATab_Option_Tertiary_IsSelected_color" | "ATab_Option_Quaternary_color" | "ATab_Option_Quaternary_IsSelected_color" | "AFileBox_border" | "AFileBox_background-color" | "AFileBox_SelectedFile_color" | "AFileBox_Dropping_color" | "AListView_border-thin" | "AListView_border-thick" | "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_Placeholder_color" | "ADatePicker_Anchor_hover_border" | "ADatePicker_Anchor_focus_border" | "ADatePicker_Anchor_Icon_Primary_color" | "ADatePicker_Anchor_Icon_Secondary_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_Placeholder_color" | "ADateRangePicker_Anchor_hover_border" | "ADateRangePicker_Anchor_focus_border" | "ADateRangePicker_Anchor_Icon_Primary_color" | "ADateRangePicker_Anchor_Icon_Secondary_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_border" | "AIconButton_Primary_background-color" | "AIconButton_Primary_hover_background-color" | "AIconButton_Primary_active_background-color" | "AIconButton_Secondary_color" | "AIconButton_Secondary_background-color" | "AIconButton_Secondary_hover_background-color" | "AIconButton_Secondary_active_background-color" | "ATableBody_TRow_border-bottom" | "ATableBody_TRow_IsSelected_background-color" | "ATableBody_TRow_IsSelectable_hover_background-color" | "ATableBody_TH_color" | "ATableBody_TD_IsMarked_background-color" | "ATableBody_TD_IsMarked_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" | "ATableFilter_Alert_color" | "ADivideFrame_DividerInner_background-color" | "AFloatMenu_background-color" | "AFloatMenu_hover_background-color" | "AFloatMenu_color" | "AFloatMenu_border" | "ALoadingBorder_background-color" | "ALoadingBorder_ProgressBar_background-color" | "ALoadingBorder_Cover_background-color" | "AWrap_Error_color" | "ARadioSelect_RadioButton_border" | "ARadioSelect_RadioButton_InnerCircle_isChecked_background-color" | "AChip_background-color" | "AChip_color" | "AChip_border" | "AChip_hover_background-color" | "AChip_hover_color" | "AChip_DeleteButton_border" | "AChip_DeleteButton_color" | "AChip_DeleteButton_hover_border" | "AChip_DeleteButton_hover_color")[];
|
134
136
|
export type TComponentStyleKeys = (typeof componentStyleKeys)[number];
|
135
137
|
export type TComponentStyle = {
|
136
138
|
[key in TComponentStyleKeys]: string;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { IATreeItem, IATreeSearchResult } from './ATree';
|
2
1
|
import { Resources } from '../AResource/AResource';
|
2
|
+
import { IATreeItem, IATreeSearchResult } from './ATree';
|
3
3
|
interface IATreeSearchProps<T extends IATreeItem<T>> {
|
4
4
|
isEqual: (a: T, b: T) => boolean;
|
5
5
|
searchResult: IATreeSearchResult<T> | undefined;
|
@@ -34,7 +34,7 @@ export interface IOffset {
|
|
34
34
|
y?: number;
|
35
35
|
}
|
36
36
|
export declare function setDir12Style(anchorRef: React.RefObject<HTMLElement>, selfRef: React.RefObject<HTMLElement>, dir: EDir12, offset?: IOffset): void;
|
37
|
-
export declare function setDir12StyleElem(anchorElem: HTMLElement | null, selfRef: React.RefObject<HTMLElement>, dir: EDir12, offset?: IOffset): IPosition | undefined;
|
37
|
+
export declare function setDir12StyleElem(anchorElem: HTMLElement | null, selfRef: HTMLElement | null | React.RefObject<HTMLElement>, dir: EDir12, offset?: IOffset): IPosition | undefined;
|
38
38
|
export type TActionRef<T> = React.MutableRefObject<T | null | undefined>;
|
39
39
|
export type TIdx = number | string;
|
40
40
|
export interface IACalledEvent {
|
@@ -10,7 +10,6 @@ declare global {
|
|
10
10
|
type CSSModuleClasses = {
|
11
11
|
readonly [key: string]: string;
|
12
12
|
};
|
13
|
-
type TSDC = 'Title-large' | 'Title-normal' | 'Button-label' | 'Body' | 'Body-reading' | 'Caption' | 'Caption-reading';
|
14
13
|
declare const keys: {
|
15
14
|
Display1: string;
|
16
15
|
Display2: string;
|
@@ -25,12 +24,16 @@ declare const keys: {
|
|
25
24
|
Label2: string;
|
26
25
|
Caption1: string;
|
27
26
|
Caption2: string;
|
27
|
+
Regular: string;
|
28
|
+
Medium: string;
|
29
|
+
SemiBold: string;
|
30
|
+
Bold: string;
|
28
31
|
NoSelect: string;
|
29
32
|
IsClickable: string;
|
30
33
|
IsInteractive: string;
|
31
34
|
};
|
32
35
|
declare function updateKeys(): void;
|
33
|
-
declare function clsx(...args: (keyof typeof keys)[] |
|
36
|
+
declare function clsx(...args: (keyof typeof keys)[] | any[]): string;
|
34
37
|
declare function sclsx<T extends CSSModuleClasses>(styles: T, ...args: (keyof T)[] | (keyof typeof keys)[] | any[]): string;
|
35
38
|
/**
|
36
39
|
* sF : Style Functions
|
@@ -57,6 +60,10 @@ export declare const sF: {
|
|
57
60
|
Label2: string;
|
58
61
|
Caption1: string;
|
59
62
|
Caption2: string;
|
63
|
+
Regular: string;
|
64
|
+
Medium: string;
|
65
|
+
SemiBold: string;
|
66
|
+
Bold: string;
|
60
67
|
};
|
61
68
|
additionalClasses: IAdditionalClasses;
|
62
69
|
updateKeys: typeof updateKeys;
|