ados-rcm 1.1.439 → 1.1.441

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 (72) hide show
  1. package/dist/index.cjs.js +113 -113
  2. package/dist/index.d.ts +2 -57
  3. package/dist/index.es.js +10945 -10979
  4. package/dist/{AModule → src/AModule}/AComponents/AFrame/AFrame.d.ts +6 -0
  5. package/dist/src/AModule/AHooks/useDB.d.ts +36 -0
  6. package/dist/src/AModule/AHooks/useLayoutDB.d.ts +6 -0
  7. package/dist/src/AModule/AUtils/dbF.d.ts +21 -0
  8. package/dist/src/index.d.ts +58 -0
  9. package/package.json +1 -1
  10. package/dist/AModule/AHooks/useIndexedDB.d.ts +0 -39
  11. package/dist/AModule/AUtils/indexedDB.d.ts +0 -109
  12. /package/dist/{AModule → src/AModule}/AComponents/ABase/ABase.d.ts +0 -0
  13. /package/dist/{AModule → src/AModule}/AComponents/AButton/AButton.d.ts +0 -0
  14. /package/dist/{AModule → src/AModule}/AComponents/AButton/AIconButton.d.ts +0 -0
  15. /package/dist/{AModule → src/AModule}/AComponents/AButton/AThemeButton.d.ts +0 -0
  16. /package/dist/{AModule → src/AModule}/AComponents/ACheckBox/ACheckBox.d.ts +0 -0
  17. /package/dist/{AModule → src/AModule}/AComponents/AChip/AChip.d.ts +0 -0
  18. /package/dist/{AModule → src/AModule}/AComponents/AClock/AClock.d.ts +0 -0
  19. /package/dist/{AModule → src/AModule}/AComponents/ADatePicker/ADatePicker.d.ts +0 -0
  20. /package/dist/{AModule → src/AModule}/AComponents/ADatePicker/ADateRangePicker.d.ts +0 -0
  21. /package/dist/{AModule → src/AModule}/AComponents/ADialog/ADialog.d.ts +0 -0
  22. /package/dist/{AModule → src/AModule}/AComponents/AEditor/AEditor.d.ts +0 -0
  23. /package/dist/{AModule → src/AModule}/AComponents/AEditor/modules/TablePicker.d.ts +0 -0
  24. /package/dist/{AModule → src/AModule}/AComponents/AEditor/modules/TableUI.d.ts +0 -0
  25. /package/dist/{AModule → src/AModule}/AComponents/AFileBox/AFileBox.d.ts +0 -0
  26. /package/dist/{AModule → src/AModule}/AComponents/AFileUploder/AFileUploader.d.ts +0 -0
  27. /package/dist/{AModule → src/AModule}/AComponents/AFloatMenu/AFloatMenu.d.ts +0 -0
  28. /package/dist/{AModule → src/AModule}/AComponents/AGrow/AGrow.d.ts +0 -0
  29. /package/dist/{AModule → src/AModule}/AComponents/AIcon/AIcon.d.ts +0 -0
  30. /package/dist/{AModule → src/AModule}/AComponents/AInput/AInput.d.ts +0 -0
  31. /package/dist/{AModule → src/AModule}/AComponents/AInput/ANumInput.d.ts +0 -0
  32. /package/dist/{AModule → src/AModule}/AComponents/AListView/AListView.d.ts +0 -0
  33. /package/dist/{AModule → src/AModule}/AComponents/ALoadingBorder/ALoadingBorder.d.ts +0 -0
  34. /package/dist/{AModule → src/AModule}/AComponents/AProgressBar/AProgressBar.d.ts +0 -0
  35. /package/dist/{AModule → src/AModule}/AComponents/ARadioSelect/ARadioSelect.d.ts +0 -0
  36. /package/dist/{AModule → src/AModule}/AComponents/AResource/AResource.d.ts +0 -0
  37. /package/dist/{AModule → src/AModule}/AComponents/ASelect/AMultiSelect.d.ts +0 -0
  38. /package/dist/{AModule → src/AModule}/AComponents/ASelect/ASelect.d.ts +0 -0
  39. /package/dist/{AModule → src/AModule}/AComponents/ASpace/ASpace.d.ts +0 -0
  40. /package/dist/{AModule → src/AModule}/AComponents/AStepper/AStepper.d.ts +0 -0
  41. /package/dist/{AModule → src/AModule}/AComponents/ASwitch/ASwitch.d.ts +0 -0
  42. /package/dist/{AModule → src/AModule}/AComponents/ATab/ATab.d.ts +0 -0
  43. /package/dist/{AModule → src/AModule}/AComponents/ATable/ATable.d.ts +0 -0
  44. /package/dist/{AModule → src/AModule}/AComponents/ATable/ATableBody.d.ts +0 -0
  45. /package/dist/{AModule → src/AModule}/AComponents/ATable/ATableFilter.d.ts +0 -0
  46. /package/dist/{AModule → src/AModule}/AComponents/ATable/ATableFooter.d.ts +0 -0
  47. /package/dist/{AModule → src/AModule}/AComponents/ATable/ATableHeader.d.ts +0 -0
  48. /package/dist/{AModule → src/AModule}/AComponents/AText/AText.d.ts +0 -0
  49. /package/dist/{AModule → src/AModule}/AComponents/ATextArea/ATextArea.d.ts +0 -0
  50. /package/dist/{AModule → src/AModule}/AComponents/ATheme/ATheme.d.ts +0 -0
  51. /package/dist/{AModule → src/AModule}/AComponents/ATheme/DesignTokens.d.ts +0 -0
  52. /package/dist/{AModule → src/AModule}/AComponents/ATheme/RefinedDesignTokens.d.ts +0 -0
  53. /package/dist/{AModule → src/AModule}/AComponents/ATooltip/ATooltip.d.ts +0 -0
  54. /package/dist/{AModule → src/AModule}/AComponents/ATree/ATree.d.ts +0 -0
  55. /package/dist/{AModule → src/AModule}/AComponents/ATree/ATreeItem.d.ts +0 -0
  56. /package/dist/{AModule → src/AModule}/AComponents/ATree/ATreeSearch.d.ts +0 -0
  57. /package/dist/{AModule → src/AModule}/AComponents/ATypes/ATypes.d.ts +0 -0
  58. /package/dist/{AModule → src/AModule}/AComponents/AWrap/AWrap.d.ts +0 -0
  59. /package/dist/{AModule → src/AModule}/AHooks/useEvent.d.ts +0 -0
  60. /package/dist/{AModule → src/AModule}/AHooks/useInit.d.ts +0 -0
  61. /package/dist/{AModule → src/AModule}/AHooks/useValues.d.ts +0 -0
  62. /package/dist/{AModule → src/AModule}/ANetwork/APIContext.d.ts +0 -0
  63. /package/dist/{AModule → src/AModule}/AUtils/bound.d.ts +0 -0
  64. /package/dist/{AModule → src/AModule}/AUtils/cbF.d.ts +0 -0
  65. /package/dist/{AModule → src/AModule}/AUtils/dateF.d.ts +0 -0
  66. /package/dist/{AModule → src/AModule}/AUtils/fileF.d.ts +0 -0
  67. /package/dist/{AModule → src/AModule}/AUtils/numF.d.ts +0 -0
  68. /package/dist/{AModule → src/AModule}/AUtils/objF.d.ts +0 -0
  69. /package/dist/{AModule → src/AModule}/AUtils/sF.d.ts +0 -0
  70. /package/dist/{AModule → src/AModule}/AUtils/strF.d.ts +0 -0
  71. /package/dist/{AModule → src/AModule}/AUtils/tableF.d.ts +0 -0
  72. /package/dist/{AModule → src/AModule}/AUtils/treeF.d.ts +0 -0
@@ -131,6 +131,12 @@ export interface IADivideFrameProps extends DetailedHTMLProps<React.HTMLAttribut
131
131
  * Description : the className of the divider inner
132
132
  */
133
133
  dividerInnerClassName?: string;
134
+ /**
135
+ * noDraggable? : boolean
136
+ *
137
+ * Description : decides whether to enable drag or not
138
+ */
139
+ noDraggable?: boolean;
134
140
  }
135
141
  export declare const ADivideFrame: React.MemoExoticComponent<(props: IADivideFrameProps) => import("react/jsx-runtime").JSX.Element>;
136
142
  export {};
@@ -0,0 +1,36 @@
1
+ /**
2
+ * 범용 DB 관리를 위한 React Hook
3
+ * @param dbName 사용할 DB 이름
4
+ * @param storeName 사용할 스토어 이름
5
+ * @param options 추가 옵션 (버전, 메타키 등)
6
+ */
7
+ export declare function useDB(dbName: string, storeName: string, options?: {
8
+ version?: number;
9
+ versionMetaKey?: string;
10
+ dataFieldName?: string;
11
+ }): {
12
+ save: <T>(id: string, data: T) => Promise<boolean>;
13
+ get: <T>(id: string) => Promise<T | null>;
14
+ delete: (id: string) => Promise<boolean>;
15
+ getAll: <T>() => Promise<Record<string, T>>;
16
+ clearAll: () => Promise<boolean>;
17
+ batchSave: <T>(items: Array<{
18
+ id: string;
19
+ data: T;
20
+ }>) => Promise<boolean>;
21
+ batchDelete: (ids: string[]) => Promise<boolean>;
22
+ getByVersion: <T>(queryVersion: number) => Promise<Record<string, T>>;
23
+ getCached: <T>(id: string) => T | null;
24
+ setCacheSize: (size: number) => void;
25
+ clearCache: () => void;
26
+ cancelOperation: (operationId: string) => void;
27
+ cancelAllOperations: () => void;
28
+ getVersionInfo: () => Promise<{
29
+ currentVersion: any;
30
+ targetVersion: number;
31
+ }>;
32
+ currentVersion: number;
33
+ targetVersion: number;
34
+ isLoading: boolean;
35
+ error: Error | null;
36
+ };
@@ -0,0 +1,6 @@
1
+ export declare function useLayoutDB(): {
2
+ save: (id: string, lengths: number[]) => Promise<boolean>;
3
+ get: (id: string) => Promise<number[] | null>;
4
+ getCached: (id: string) => number[] | null;
5
+ deleteItem: (id: string) => Promise<boolean>;
6
+ };
@@ -0,0 +1,21 @@
1
+ /**
2
+ * IndexedDB 관리 모듈
3
+ */
4
+ export interface IRecord {
5
+ id: string;
6
+ [key: string]: any;
7
+ }
8
+ export declare const dbF: {
9
+ save: (dbName: string, storeName: string, record: IRecord) => Promise<void>;
10
+ get: (dbName: string, storeName: string, id: string) => Promise<any>;
11
+ delete: (dbName: string, storeName: string, id: string) => Promise<void>;
12
+ getAll: (dbName: string, storeName: string) => Promise<Record<string, any>>;
13
+ clear: (dbName: string, storeName: string) => Promise<void>;
14
+ batchSave: (dbName: string, storeName: string, records: IRecord[]) => Promise<void>;
15
+ batchDelete: (dbName: string, storeName: string, ids: string[]) => Promise<void>;
16
+ getByIndex: (dbName: string, storeName: string, indexName: string, value: IDBValidKey | IDBKeyRange) => Promise<any[]>;
17
+ getCached: (dbName: string, storeName: string, id: string) => any;
18
+ clearCached: (dbName: string, storeName: string) => void;
19
+ setCacheSize: (dbName: string, storeName: string, size: number) => void;
20
+ ensureVersion: (dbName: string, storeName: string, requiredVersion: number, metaKey: string) => Promise<number>;
21
+ };
@@ -0,0 +1,58 @@
1
+ export * from './AModule/AComponents/ABase/ABase';
2
+ export * from './AModule/AComponents/AButton/AButton';
3
+ export * from './AModule/AComponents/AButton/AIconButton';
4
+ export * from './AModule/AComponents/AButton/AThemeButton';
5
+ export * from './AModule/AComponents/ACheckBox/ACheckBox';
6
+ export * from './AModule/AComponents/AChip/AChip';
7
+ export * from './AModule/AComponents/AClock/AClock';
8
+ export * from './AModule/AComponents/ADatePicker/ADatePicker';
9
+ export * from './AModule/AComponents/ADatePicker/ADateRangePicker';
10
+ export * from './AModule/AComponents/ADialog/ADialog';
11
+ export * from './AModule/AComponents/AFileBox/AFileBox';
12
+ export * from './AModule/AComponents/AFileUploder/AFileUploader';
13
+ export * from './AModule/AComponents/AFloatMenu/AFloatMenu';
14
+ export * from './AModule/AComponents/AFrame/AFrame';
15
+ export * from './AModule/AComponents/AGrow/AGrow';
16
+ export * from './AModule/AComponents/AIcon/AIcon';
17
+ export * from './AModule/AComponents/AInput/AInput';
18
+ export * from './AModule/AComponents/AInput/ANumInput';
19
+ export * from './AModule/AComponents/AListView/AListView';
20
+ export * from './AModule/AComponents/ALoadingBorder/ALoadingBorder';
21
+ export * from './AModule/AComponents/AProgressBar/AProgressBar';
22
+ export * from './AModule/AComponents/ARadioSelect/ARadioSelect';
23
+ export * from './AModule/AComponents/AResource/AResource';
24
+ export * from './AModule/AComponents/ASelect/AMultiSelect';
25
+ export * from './AModule/AComponents/ASelect/ASelect';
26
+ export * from './AModule/AComponents/ASpace/ASpace';
27
+ export * from './AModule/AComponents/AStepper/AStepper';
28
+ export * from './AModule/AComponents/ASwitch/ASwitch';
29
+ export * from './AModule/AComponents/ATab/ATab';
30
+ export * from './AModule/AComponents/ATable/ATable';
31
+ export * from './AModule/AComponents/AText/AText';
32
+ export * from './AModule/AComponents/ATextArea/ATextArea';
33
+ export * from './AModule/AComponents/AEditor/AEditor';
34
+ export * from './AModule/AComponents/AProgressBar/AProgressBar';
35
+ export * from './AModule/AComponents/ATheme/ATheme';
36
+ export * from './AModule/AComponents/ATheme/RefinedDesignTokens';
37
+ export * from './AModule/AComponents/ATooltip/ATooltip';
38
+ export * from './AModule/AComponents/ATree/ATree';
39
+ export * from './AModule/AComponents/ATypes/ATypes';
40
+ export * from './AModule/AComponents/AWrap/AWrap';
41
+ export * from './AModule/AHooks/useEvent';
42
+ export * from './AModule/AHooks/useInit';
43
+ export * from './AModule/AHooks/useDB';
44
+ export * from './AModule/AHooks/useLayoutDB';
45
+ export * from './AModule/AHooks/useValues';
46
+ export * from './AModule/ANetwork/APIContext';
47
+ export * from './AModule/AUtils/bound';
48
+ export * from './AModule/AUtils/cbF';
49
+ export * from './AModule/AUtils/dateF';
50
+ export * from './AModule/AUtils/dbF';
51
+ export * from './AModule/AUtils/fileF';
52
+ export * from './AModule/AUtils/numF';
53
+ export * from './AModule/AUtils/objF';
54
+ export * from './AModule/AUtils/sF';
55
+ export * from './AModule/AUtils/sF.module.scss';
56
+ export * from './AModule/AUtils/strF';
57
+ export * from './AModule/AUtils/tableF';
58
+ export * from './AModule/AUtils/treeF';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ados-rcm",
3
- "version": "1.1.439",
3
+ "version": "1.1.441",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -1,39 +0,0 @@
1
- /**
2
- * React Hook - IndexedDB 사용을 위한 Hook
3
- * 로딩 상태, 오류 처리 등의 상태를 포함합니다.
4
- */
5
- export declare function useIndexedDB(dbName: string, storeName: string): {
6
- save: (id: string, data: any) => Promise<boolean>;
7
- get: (id: string) => Promise<any | null>;
8
- delete: (id: string) => Promise<boolean>;
9
- getAll: () => Promise<Record<string, any>>;
10
- clear: () => Promise<boolean>;
11
- getFromCache: (id: string) => any;
12
- clearCache: () => void;
13
- isLoading: boolean;
14
- error: Error | null;
15
- cancelOperation: () => void;
16
- };
17
- /**
18
- * 레이아웃 관리를 위한 향상된 React Hook
19
- * 로딩 상태와 오류 상태 처리가 포함된 React 전용 Hook
20
- */
21
- export declare function useALayoutDB(): {
22
- saveLayout: (id: string, lengths: number[]) => Promise<boolean>;
23
- getLayout: (id: string) => Promise<number[] | null>;
24
- getCachedLayout: (id: string) => number[] | null;
25
- deleteLayout: (id: string) => Promise<boolean>;
26
- getAllLayouts: () => Promise<Record<string, number[]>>;
27
- clearAllLayouts: () => Promise<boolean>;
28
- isLoading: boolean;
29
- error: Error | null;
30
- cancelOperation: () => void;
31
- };
32
- export declare function useLayout(): {
33
- saveLayout: (id: string, lengths: number[]) => Promise<boolean>;
34
- getLayout: (id: string) => Promise<number[] | null>;
35
- getCachedLayout: (id: string) => number[] | null;
36
- deleteLayout: (id: string) => Promise<boolean>;
37
- getAllLayouts: () => Promise<Record<string, number[]>>;
38
- clearAllLayouts: () => Promise<boolean>;
39
- };
@@ -1,109 +0,0 @@
1
- /**
2
- * IndexedDB - IndexedDB를 간단하게 사용할 수 있는 공통 모듈
3
- * 레이아웃 저장 기능을 포함한 통합 데이터 관리 모듈입니다.
4
- *
5
- * 객체 방식으로 사용하기 위한 모듈입니다.
6
- */
7
- export interface IRecord {
8
- id: string;
9
- [key: string]: any;
10
- }
11
- /**
12
- * IndexedDB 관리 클래스
13
- */
14
- export declare class IndexedDB {
15
- private static instance;
16
- private databases;
17
- private cache;
18
- static LAYOUT_DB_NAME: string;
19
- static LAYOUT_STORE_NAME: string;
20
- private constructor();
21
- /**
22
- * 싱글톤 인스턴스 가져오기
23
- */
24
- static getInstance(): IndexedDB;
25
- /**
26
- * 캐시에서 데이터 가져오기
27
- */
28
- getFromCache(dbName: string, storeName: string, id: string): any | null;
29
- /**
30
- * 캐시 초기화
31
- */
32
- clearCache(dbName: string, storeName: string): void;
33
- /**
34
- * DB 연결 관리
35
- */
36
- private getDB;
37
- /**
38
- * 데이터 저장
39
- */
40
- save(dbName: string, storeName: string, record: IRecord): Promise<void>;
41
- /**
42
- * 데이터 조회
43
- */
44
- get(dbName: string, storeName: string, id: string): Promise<any | null>;
45
- /**
46
- * 데이터 삭제
47
- */
48
- delete(dbName: string, storeName: string, id: string): Promise<void>;
49
- /**
50
- * 모든 데이터 조회
51
- */
52
- getAll(dbName: string, storeName: string): Promise<Record<string, any>>;
53
- /**
54
- * 모든 데이터 삭제
55
- */
56
- clear(dbName: string, storeName: string): Promise<void>;
57
- /**
58
- * 레이아웃 저장
59
- */
60
- saveLayout(id: string, lengths: number[]): Promise<void>;
61
- /**
62
- * 레이아웃 불러오기
63
- */
64
- getLayout(id: string): Promise<number[] | null>;
65
- /**
66
- * 캐시에서 레이아웃 불러오기 (동기식)
67
- */
68
- getCachedLayout(id: string): number[] | null;
69
- /**
70
- * 레이아웃 삭제
71
- */
72
- deleteLayout(id: string): Promise<void>;
73
- /**
74
- * 모든 레이아웃 불러오기
75
- */
76
- getAllLayouts(): Promise<Record<string, number[]>>;
77
- /**
78
- * 모든 레이아웃 초기화
79
- */
80
- clearAllLayouts(): Promise<void>;
81
- }
82
- /**
83
- * DB - IndexedDB를 직접 접근할 수 있는 편의 객체
84
- * 객체 방식으로 사용할 수 있도록 제공됩니다.
85
- */
86
- export declare const DB: {
87
- save: (dbName: string, storeName: string, record: IRecord) => Promise<void>;
88
- get: (dbName: string, storeName: string, id: string) => Promise<any | null>;
89
- delete: (dbName: string, storeName: string, id: string) => Promise<void>;
90
- getAll: (dbName: string, storeName: string) => Promise<Record<string, any>>;
91
- clear: (dbName: string, storeName: string) => Promise<void>;
92
- getFromCache: (dbName: string, storeName: string, id: string) => any | null;
93
- clearCache: (dbName: string, storeName: string) => void;
94
- LAYOUT_DB_NAME: string;
95
- LAYOUT_STORE_NAME: string;
96
- getInstance: () => IndexedDB;
97
- };
98
- /**
99
- * Layout - 레이아웃 관리를 위한 편의 객체
100
- * 객체 방식으로 직접 접근할 수 있습니다.
101
- */
102
- export declare const LayoutDB: {
103
- saveLayout: (id: string, lengths: number[]) => Promise<void>;
104
- getLayout: (id: string) => Promise<number[] | null>;
105
- getCachedLayout: (id: string) => number[] | null;
106
- deleteLayout: (id: string) => Promise<void>;
107
- getAllLayouts: () => Promise<Record<string, number[]>>;
108
- clearAllLayouts: () => Promise<void>;
109
- };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes