backend.ai-ui 0.1.0 → 25.16.0

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 (196) hide show
  1. package/dist/__generated__/BAIActivateArtifactsModalArtifactsFragment.graphql.d.ts +12 -0
  2. package/dist/__generated__/BAIActivateArtifactsModalArtifactsFragmentRestoreArtifactsMutation.graphql.d.ts +22 -0
  3. package/dist/__generated__/BAIArtifactDescriptionsFragment.graphql.d.ts +17 -0
  4. package/dist/__generated__/BAIArtifactRevisionDeleteButtonFragment.graphql.d.ts +12 -0
  5. package/dist/__generated__/BAIArtifactRevisionDownloadButtonFragment.graphql.d.ts +12 -0
  6. package/dist/__generated__/BAIArtifactRevisionTableArtifactRevisionFragment.graphql.d.ts +17 -0
  7. package/dist/__generated__/BAIArtifactRevisionTableLatestRevisionFragment.graphql.d.ts +11 -0
  8. package/dist/__generated__/BAIArtifactStatusTagFragment.graphql.d.ts +12 -0
  9. package/dist/__generated__/BAIArtifactTableArtifactFragment.graphql.d.ts +30 -0
  10. package/dist/__generated__/BAIArtifactTypeTagFragment.graphql.d.ts +12 -0
  11. package/dist/__generated__/BAIBucketSelectQuery.graphql.d.ts +29 -0
  12. package/dist/__generated__/BAIDeactivateArtifactsModalArtifactsFragment.graphql.d.ts +12 -0
  13. package/dist/__generated__/BAIDeactivateArtifactsModalDeleteArtifactsMutation.graphql.d.ts +22 -0
  14. package/dist/__generated__/BAIDeleteArtifactRevisionsModalArtifactFragment.graphql.d.ts +12 -0
  15. package/dist/__generated__/BAIDeleteArtifactRevisionsModalArtifactRevisionFragment.graphql.d.ts +15 -0
  16. package/dist/__generated__/BAIDeleteArtifactRevisionsModalCleanupVersionMutation.graphql.d.ts +25 -0
  17. package/dist/__generated__/BAIImportArtifactModalArtifactFragment.graphql.d.ts +13 -0
  18. package/dist/__generated__/BAIImportArtifactModalArtifactRevisionFragment.graphql.d.ts +15 -0
  19. package/dist/__generated__/BAIImportArtifactModalImportArtifactsMutation.graphql.d.ts +33 -0
  20. package/dist/__generated__/BAIImportFromHuggingFaceModalScanArtifactModelsMutation.graphql.d.ts +32 -0
  21. package/dist/__generated__/BAIObjectStorageSelectQuery.graphql.d.ts +22 -0
  22. package/dist/__generated__/BAIPullingArtifactRevisionAlertCancelMutation.graphql.d.ts +22 -0
  23. package/dist/__generated__/BAIPullingArtifactRevisionAlertFragment.graphql.d.ts +14 -0
  24. package/dist/__generated__/BAISessionAgentIdsFragment.graphql.d.ts +11 -0
  25. package/dist/__generated__/BAISessionClusterModeFragment.graphql.d.ts +12 -0
  26. package/dist/__generated__/BAISessionTypeTagStoriesQuery.graphql.d.ts +13 -0
  27. package/dist/__generated__/UNSAFELazyUserEmailViewQuery.graphql.d.ts +15 -0
  28. package/dist/__generated__/useViewerQuery.graphql.d.ts +16 -0
  29. package/dist/backend.ai-ui.js +22260 -7060
  30. package/dist/backend.ai-ui.js.map +1 -1
  31. package/dist/common-CMrtHk6c.js.map +1 -1
  32. package/dist/components/BAIAlertIconWithTooltip.d.ts +9 -0
  33. package/dist/components/BAIBackButton.d.ts +7 -0
  34. package/dist/components/BAIBoardItemTitle.d.ts +9 -0
  35. package/dist/components/BAICard.d.ts +52 -1
  36. package/dist/components/BAIConfirmModalWithInput.d.ts +11 -0
  37. package/dist/components/{Flex.d.ts → BAIFlex.d.ts} +4 -4
  38. package/dist/components/BAIGraphQLPropertyFilter.d.ts +76 -0
  39. package/dist/components/BAIImportFromHuggingFaceModal.d.ts +6 -0
  40. package/dist/components/BAILink.d.ts +13 -0
  41. package/dist/components/BAIModal.d.ts +8 -0
  42. package/dist/components/BAINotificationItem.d.ts +17 -0
  43. package/dist/components/BAIPropertyFilter.d.ts +99 -0
  44. package/dist/components/BAIRowWrapWithDividers.d.ts +20 -0
  45. package/dist/components/BAISelect.d.ts +18 -0
  46. package/dist/components/BAIStatistic.d.ts +13 -0
  47. package/dist/components/BAITag.d.ts +6 -0
  48. package/dist/components/BAIText.d.ts +7 -0
  49. package/dist/components/BAIUnmountAfterClose.d.ts +26 -0
  50. package/dist/components/ResourceStatistics.d.ts +57 -0
  51. package/dist/components/Table/BAIPaginationInfoText.d.ts +7 -0
  52. package/dist/components/Table/BAITable.d.ts +133 -0
  53. package/dist/components/Table/BAITableSettingModal.d.ts +62 -0
  54. package/dist/components/Table/index.d.ts +3 -0
  55. package/dist/components/TotalFooter.d.ts +5 -0
  56. package/dist/components/baiClient/FileExplorer/BAIFileExplorer.d.ts +20 -0
  57. package/dist/components/baiClient/FileExplorer/CreateDirectoryModal.d.ts +7 -0
  58. package/dist/components/baiClient/FileExplorer/DeleteSelectedItemsModal.d.ts +8 -0
  59. package/dist/components/baiClient/FileExplorer/DragAndDrop.d.ts +8 -0
  60. package/dist/components/baiClient/FileExplorer/EditableFileName.d.ts +14 -0
  61. package/dist/components/baiClient/FileExplorer/ExplorerActionControls.d.ts +11 -0
  62. package/dist/components/baiClient/FileExplorer/FileItemControls.d.ts +9 -0
  63. package/dist/components/baiClient/FileExplorer/hooks.d.ts +19 -0
  64. package/dist/components/baiClient/FileExplorer/index.d.ts +2 -0
  65. package/dist/components/baiClient/index.d.ts +1 -0
  66. package/dist/components/fragments/BAIActivateArtifactsModal.d.ts +8 -0
  67. package/dist/components/fragments/BAIArtifactDescriptions.d.ts +6 -0
  68. package/dist/components/fragments/BAIArtifactRevisionDeleteButton.d.ts +8 -0
  69. package/dist/components/fragments/BAIArtifactRevisionDownloadButton.d.ts +8 -0
  70. package/dist/components/fragments/BAIArtifactRevisionTable.d.ts +12 -0
  71. package/dist/components/fragments/BAIArtifactStatusTag.d.ts +6 -0
  72. package/dist/components/fragments/BAIArtifactTable.d.ts +14 -0
  73. package/dist/components/fragments/BAIArtifactTypeTag.d.ts +6 -0
  74. package/dist/components/fragments/BAIBucketSelect.d.ts +7 -0
  75. package/dist/components/fragments/BAIDeactivateArtifactsModal.d.ts +8 -0
  76. package/dist/components/fragments/BAIDeleteArtifactRevisionsModal.d.ts +13 -0
  77. package/dist/components/fragments/BAIImportArtifactModal.d.ts +21 -0
  78. package/dist/components/fragments/BAIObjectStorageSelect.d.ts +6 -0
  79. package/dist/components/fragments/BAIPullingArtifactRevisionAlert.d.ts +7 -0
  80. package/dist/components/fragments/BAISessionAgentIds.d.ts +9 -0
  81. package/dist/components/fragments/BAISessionClusterMode.d.ts +7 -0
  82. package/dist/components/fragments/BAISessionTypeTag.d.ts +1 -1
  83. package/dist/components/fragments/index.d.ts +32 -0
  84. package/dist/components/index.d.ts +38 -0
  85. package/dist/components/provider/BAIClientProvider/BAIClientProvider.d.ts +9 -0
  86. package/dist/components/provider/BAIClientProvider/context.d.ts +4 -0
  87. package/dist/components/provider/BAIClientProvider/hooks/useAnonymousBAIClient.d.ts +3 -0
  88. package/dist/components/provider/BAIClientProvider/hooks/useConnectedBAIClient.d.ts +3 -0
  89. package/dist/components/provider/BAIClientProvider/index.d.ts +6 -0
  90. package/dist/components/provider/BAIClientProvider/types.d.ts +72 -0
  91. package/dist/components/provider/BAIConfigProvider/BAIConfigProvider.d.ts +10 -0
  92. package/dist/components/provider/BAIConfigProvider/index.d.ts +2 -0
  93. package/dist/components/provider/index.d.ts +2 -0
  94. package/dist/components/unsafe/UNSAFELazyUserEmailView.d.ts +11 -0
  95. package/dist/components/unsafe/index.d.ts +1 -0
  96. package/dist/helper/index.d.ts +154 -0
  97. package/dist/hooks/index.d.ts +20 -0
  98. package/dist/hooks/useErrorMessageResolver.d.ts +26 -0
  99. package/dist/hooks/useEventNotStable.d.ts +1 -0
  100. package/dist/hooks/usePaginatedQuery.d.ts +20 -0
  101. package/dist/hooks/useViewer.d.ts +10 -0
  102. package/dist/icons/BAIAppIcon.d.ts +5 -0
  103. package/dist/icons/BAIBatchSessionIcon.d.ts +5 -0
  104. package/dist/icons/BAICalculateResourceIcon.d.ts +5 -0
  105. package/dist/icons/BAICephIcon.d.ts +5 -0
  106. package/dist/icons/BAIContainerCommitIcon.d.ts +5 -0
  107. package/dist/icons/BAIDashboardIcon.d.ts +5 -0
  108. package/dist/icons/BAIEndpointIcon.d.ts +5 -0
  109. package/dist/icons/BAIEndpointsIcon.d.ts +5 -0
  110. package/dist/icons/BAIExampleStartIcon.d.ts +5 -0
  111. package/dist/icons/BAIExamplesIcon.d.ts +5 -0
  112. package/dist/icons/BAIHuggingFaceIcon.d.ts +5 -0
  113. package/dist/icons/BAIInteractiveSessionIcon.d.ts +5 -0
  114. package/dist/icons/BAIListIcon.d.ts +5 -0
  115. package/dist/icons/BAIModelServiceIcon.d.ts +5 -0
  116. package/dist/icons/BAIModelStoreIcon.d.ts +5 -0
  117. package/dist/icons/BAIModelsIcon.d.ts +5 -0
  118. package/dist/icons/BAIMyEnvironmentsIcon.d.ts +5 -0
  119. package/dist/icons/BAINewFolderIcon.d.ts +5 -0
  120. package/dist/icons/BAINvidiaIcon.d.ts +6 -0
  121. package/dist/icons/BAIPipelineIcon.d.ts +5 -0
  122. package/dist/icons/BAIPipelinesIcon.d.ts +5 -0
  123. package/dist/icons/BAIPureStorageIcon.d.ts +5 -0
  124. package/dist/icons/BAIPurgeIcon.d.ts +5 -0
  125. package/dist/icons/BAIRecalculateResourcesIcon.d.ts +5 -0
  126. package/dist/icons/BAIRescanImagesIcon.d.ts +5 -0
  127. package/dist/icons/BAIRestoreIcon.d.ts +5 -0
  128. package/dist/icons/BAISessionLogIcon.d.ts +5 -0
  129. package/dist/icons/BAISessionStartIcon.d.ts +5 -0
  130. package/dist/icons/BAISessionsIcon.d.ts +5 -0
  131. package/dist/icons/BAISftpIcon.d.ts +5 -0
  132. package/dist/icons/BAIShareAltIcon.d.ts +5 -0
  133. package/dist/icons/BAIStartCircleIcon.d.ts +5 -0
  134. package/dist/icons/BAISystemMonitorIcon.d.ts +5 -0
  135. package/dist/icons/BAITerminalAppIcon.d.ts +5 -0
  136. package/dist/icons/BAITerminateIcon.d.ts +5 -0
  137. package/dist/icons/BAITrailsIcon.d.ts +5 -0
  138. package/dist/icons/BAITrashBinIcon.d.ts +5 -0
  139. package/dist/icons/BAIURLStartIcon.d.ts +5 -0
  140. package/dist/icons/BAIUpdateEnvironmentImagesIcon.d.ts +5 -0
  141. package/dist/icons/BAIUploadIcon.d.ts +5 -0
  142. package/dist/icons/BAIUserOutlinedIcon.d.ts +5 -0
  143. package/dist/icons/BAIUserUnionIcon.d.ts +5 -0
  144. package/dist/icons/index.d.ts +42 -0
  145. package/dist/index.d.ts +5 -4
  146. package/dist/locale/de_DE.js +6 -4
  147. package/dist/locale/de_DE.js.map +1 -1
  148. package/dist/locale/el_GR.js +6 -4
  149. package/dist/locale/el_GR.js.map +1 -1
  150. package/dist/locale/en_US.js +6 -4
  151. package/dist/locale/en_US.js.map +1 -1
  152. package/dist/locale/es_ES.js +9 -7
  153. package/dist/locale/es_ES.js.map +1 -1
  154. package/dist/locale/fi_FI.js +12 -3
  155. package/dist/locale/fi_FI.js.map +1 -1
  156. package/dist/locale/fr_FR.js +7 -3
  157. package/dist/locale/fr_FR.js.map +1 -1
  158. package/dist/locale/id_ID.js +6 -4
  159. package/dist/locale/id_ID.js.map +1 -1
  160. package/dist/locale/it_IT.js +22 -9
  161. package/dist/locale/it_IT.js.map +1 -1
  162. package/dist/locale/ja_JP.js +6 -4
  163. package/dist/locale/ja_JP.js.map +1 -1
  164. package/dist/locale/ko_KR.js +6 -4
  165. package/dist/locale/ko_KR.js.map +1 -1
  166. package/dist/locale/mn_MN.js +13 -6
  167. package/dist/locale/mn_MN.js.map +1 -1
  168. package/dist/locale/ms_MY.js +6 -4
  169. package/dist/locale/ms_MY.js.map +1 -1
  170. package/dist/locale/pl_PL.js +6 -4
  171. package/dist/locale/pl_PL.js.map +1 -1
  172. package/dist/locale/pt_BR.js +6 -4
  173. package/dist/locale/pt_BR.js.map +1 -1
  174. package/dist/locale/pt_PT.js +6 -4
  175. package/dist/locale/pt_PT.js.map +1 -1
  176. package/dist/locale/ru_RU.js +6 -4
  177. package/dist/locale/ru_RU.js.map +1 -1
  178. package/dist/locale/th_TH.js +6 -4
  179. package/dist/locale/th_TH.js.map +1 -1
  180. package/dist/locale/tr_TR.js +8 -5
  181. package/dist/locale/tr_TR.js.map +1 -1
  182. package/dist/locale/vi_VN.js +23 -10
  183. package/dist/locale/vi_VN.js.map +1 -1
  184. package/dist/locale/zh_CN.js +6 -4
  185. package/dist/locale/zh_CN.js.map +1 -1
  186. package/dist/locale/zh_TW.js +6 -4
  187. package/dist/locale/zh_TW.js.map +1 -1
  188. package/dist/tests/RelayResolver.d.ts +7 -0
  189. package/dist/tests/index.d.ts +1 -0
  190. package/package.json +131 -31
  191. package/dist/common-BqeHlhne.js +0 -62
  192. package/dist/common-BqeHlhne.js.map +0 -1
  193. package/dist/components/BAIConfigProvider.d.ts +0 -7
  194. package/dist/components/BAIResourceWithSteppedProgress.d.ts +0 -11
  195. package/dist/components/Flex.stories.d.ts +0 -7
  196. /package/dist/{components/tests → tests}/BAITestButton.d.ts +0 -0
@@ -0,0 +1,154 @@
1
+ import { SorterResult } from 'antd/es/table/interface';
2
+ import { default as Big } from 'big.js';
3
+ export declare function transformSorterToOrderString<T = any>(sorter: SorterResult<T> | Array<SorterResult<T>>): string | undefined;
4
+ export declare function parseValueWithUnit(str: string): [number, string | undefined];
5
+ export declare const GBToBytes: (value?: number) => number;
6
+ export declare const bytesToGB: (bytes: number, decimalPoint?: number, nullStr?: string) => string | number;
7
+ export type InputSizeUnit = '' | 'k' | 'm' | 'g' | 't' | 'p' | 'e';
8
+ export type SizeUnit = InputSizeUnit;
9
+ export declare const getDisplayUnitToInputSizeUnit: (displayUnit: string | undefined) => InputSizeUnit;
10
+ /**
11
+ * Converts a value with a unit to a different unit or automatically selects the most appropriate unit.
12
+ *
13
+ * @param inputValue - The input string value with or without a unit (e.g., '1024m', '2g', '500').
14
+ * @param targetUnit - The target unit to convert to ('', 'k', 'm', 'g', 't', 'p', 'e') or 'auto' for automatic unit selection.
15
+ * @param options - Additional conversion options.
16
+ * @param options.fixed - Number of decimal places to keep in the result. Defaults to 2.
17
+ * @param options.round - Whether to round the result (true) or floor it (false). Defaults to false.
18
+ * @param options.base - The base for conversion: 1024 (binary) or 1000 (decimal). Defaults to 1024.
19
+ *
20
+ * @returns An object containing the conversion result:
21
+ * - `number`: The converted value as a number
22
+ * - `numberFixed`: The converted value as a string with fixed decimal places
23
+ * - `unit`: The target unit used for conversion
24
+ * - `value`: A formatted string combining the number and unit
25
+ *
26
+ * @throws Error if the input format is invalid or the unit is not recognized
27
+ *
28
+ * @example
29
+ * // Convert 1.5g to mega
30
+ * convertUnitValue('1.5g', 'm')
31
+ * // => { number: 1536, numberFixed: "1536", unit: "m", value: "1536m" }
32
+ *
33
+ * @example
34
+ * // Auto unit selection with custom precision
35
+ * convertUnitValue('1048576', 'auto', { fixed: 1 })
36
+ * // => { number: 1, numberFixed: "1", unit: "m", value: "1m" }
37
+ *
38
+ */
39
+ export declare function convertUnitValue(inputValue: string | undefined, targetUnit: InputSizeUnit | 'auto', options?: {
40
+ fixed?: number;
41
+ round?: boolean;
42
+ base?: 1024 | 1000;
43
+ }): {
44
+ number: number;
45
+ numberFixed: string;
46
+ unit: InputSizeUnit;
47
+ value: string;
48
+ } | undefined;
49
+ export declare const generateDisplayValues: <T extends number | Big>(convertedValue: {
50
+ number: T;
51
+ numberFixed: string;
52
+ unit: InputSizeUnit;
53
+ value: string;
54
+ } | undefined, { baseDisplayUnit, displayUnitSuffix, }: {
55
+ baseDisplayUnit: string;
56
+ displayUnitSuffix: string;
57
+ }) => {
58
+ displayValue: string;
59
+ displayUnit: string;
60
+ number: T;
61
+ numberFixed: string;
62
+ unit: InputSizeUnit;
63
+ value: string;
64
+ } | undefined;
65
+ /**
66
+ * Converts a binary size value from one unit to another.
67
+ *
68
+ * @param inputValue - The value to convert, can be a string, number, or undefined
69
+ * @param targetUnit - The unit to convert to, or 'auto' for automatic unit selection
70
+ * @param fixed - The number of decimal places to fix the result to (default: 2)
71
+ * @param round - Whether to round the result (default: false)
72
+ * @returns An object containing the converted value information or undefined if conversion fails:
73
+ * - number: The converted number value
74
+ * - numberFixed: The formatted number with fixed decimal places
75
+ * - unit: The resulting unit (lowercase)
76
+ * - displayValue: Formatted string with value and unit (e.g., "10.24 KiB")
77
+ * - displayUnit: The formatted unit string (e.g., "KiB")
78
+ */
79
+ export declare function convertToBinaryUnit(inputValue: string | number | undefined, targetUnit: InputSizeUnit | 'auto', fixed?: number, round?: boolean): {
80
+ displayValue: string;
81
+ displayUnit: string;
82
+ number: number;
83
+ numberFixed: string;
84
+ unit: InputSizeUnit;
85
+ value: string;
86
+ } | undefined;
87
+ /**
88
+ * Converts a size value to a different unit in the decimal-based system.
89
+ *
90
+ * @param inputValue - The input size value to convert, can be a string, number or undefined
91
+ * @param targetUnit - The desired unit to convert to, or 'auto' to determine the best unit automatically
92
+ * @param fixed - The number of decimal places to round to, defaults to 2
93
+ * @param round - Whether to round the value (true) or truncate (false), defaults to false
94
+ * @returns An object containing the converted value information, including:
95
+ * - numberFixed: The converted number with fixed decimal places
96
+ * - displayValue: The formatted string with value and unit (e.g., "5.25 KB")
97
+ * - displayUnit: The display unit (e.g., "KB")
98
+ * - additional properties from convertUnitValue
99
+ * Returns undefined if the conversion failed
100
+ */
101
+ export declare function convertToDecimalUnit(inputValue: string | number | undefined, targetUnit: InputSizeUnit | 'auto', fixed?: number, round?: boolean): {
102
+ displayValue: string;
103
+ displayUnit: string;
104
+ number: number;
105
+ numberFixed: string;
106
+ unit: InputSizeUnit;
107
+ value: string;
108
+ } | undefined;
109
+ export declare function toFixedFloorWithoutTrailingZeros(num: number | string, fixed: number): string;
110
+ export declare function toFixedWithTypeValidation(num: number | string, fixed: number): string;
111
+ export declare function compareNumberWithUnits(size1: string | number, size2: string | number): number;
112
+ export declare function addNumberWithUnits(size1: string, size2: string, targetUnit?: InputSizeUnit): string | undefined;
113
+ export declare function subNumberWithUnits(size1: string, size2: string, targetUnit?: InputSizeUnit): string | undefined;
114
+ export declare function divideNumberWithUnits(size1: string, size2: string, targetUnit?: InputSizeUnit): string | undefined;
115
+ export declare const localeCompare: (a?: string | null, b?: string | null) => number;
116
+ export declare const toGlobalId: (type: string, id: string) => string;
117
+ export declare const toLocalId: (globalId: string) => string;
118
+ /**
119
+ * Filters out empty values from an array. An item is considered "empty" if it is:
120
+ * - `undefined`
121
+ * - `null`
122
+ * - an empty string (`''`)
123
+ * - `false`
124
+ * - `true`
125
+ * - any numbers
126
+ * - an empty array (`[]`)
127
+ * - an empty object (`{}`)
128
+ *
129
+ * Uses lodash's `isEmpty` function for the check.
130
+ * Array-like values such as arguments objects, arrays, buffers, strings, or jQuery-like collections are considered empty if they have a length of 0. Similarly, maps and sets are considered empty if they have a
131
+ *
132
+ * @typeParam T - The type of the array elements to retain.
133
+ * @param arr - The array to filter, which may contain empty values.
134
+ * @returns A new array containing only the non-empty values of type `T`.
135
+ */
136
+ export declare const filterOutEmpty: <T>(arr: Array<T | undefined | null | "" | false | any[] | object>) => Array<T>;
137
+ /**
138
+ * Filters out `null` and `undefined` values from an array of objects.
139
+ *
140
+ * @template T - The type of objects in the array.
141
+ * @param arr - The array to filter, which may contain `null` or `undefined` values, or be itself `null` or `undefined`.
142
+ * @returns A new array containing only the non-null and non-undefined objects from the input array.
143
+ */
144
+ export declare function filterOutNullAndUndefined<T extends {
145
+ [key: string]: any;
146
+ }>(arr: ReadonlyArray<T | null | undefined> | null | undefined): T[];
147
+ /**
148
+ * Returns a shallow copy of the input object with all properties whose values are `null` or `undefined` omitted.
149
+ *
150
+ * @typeParam T - The type of the input object.
151
+ * @param input - The object to omit `null` and `undefined` values from.
152
+ * @returns A new object with the same properties as `input`, except those with `null` or `undefined` values.
153
+ */
154
+ export declare const omitNullAndUndefinedFields: <T extends Record<string, any>>(input: T) => Partial<T>;
@@ -0,0 +1,20 @@
1
+ type UseMemoizedJsonParseOptions<T> = {
2
+ fallbackValue: T;
3
+ };
4
+ /**
5
+ * A custom React hook that memoizes the result of parsing a JSON string.
6
+ *
7
+ * @template T The expected type of the parsed JSON object.
8
+ * @param jsonString - The JSON string to parse. If `undefined` or `null`, the `fallbackValue` is returned.
9
+ * @param options - Optional configuration object.
10
+ * @param options.fallbackValue - The value to return if parsing fails or if `jsonString` is not a string.
11
+ * @returns The parsed JSON object of type `T`, or the `fallbackValue` if parsing fails.
12
+ *
13
+ * @example
14
+ * const data = useMemoizedJSONParse<MyType>(jsonString, { fallbackValue: defaultValue });
15
+ */
16
+ export declare function useMemoizedJSONParse<T = any>(jsonString: string | undefined | null, options?: UseMemoizedJsonParseOptions<T>): T;
17
+ export { default as useErrorMessageResolver } from './useErrorMessageResolver';
18
+ export { default as useViewer } from './useViewer';
19
+ export type { ErrorResponse } from './useErrorMessageResolver';
20
+ export type { ESMClientErrorResponse } from './useErrorMessageResolver';
@@ -0,0 +1,26 @@
1
+ export type ErrorResponse = {
2
+ type: string;
3
+ title: string;
4
+ msg?: string;
5
+ error_code?: string;
6
+ traceback?: string;
7
+ };
8
+ export type ESMClientErrorResponse = {
9
+ isError: true;
10
+ timestamp: string;
11
+ type: string;
12
+ requestUrl: string;
13
+ requestMethod: string;
14
+ requestParameters: any;
15
+ statusCode: number;
16
+ statusText: string;
17
+ title: string;
18
+ message: string;
19
+ description: string;
20
+ error_code?: string;
21
+ traceback?: string;
22
+ };
23
+ declare const useErrorMessageResolver: () => {
24
+ getErrorMessage: (error: Partial<ErrorResponse & Error> | undefined | null, defaultMessage?: string) => string;
25
+ };
26
+ export default useErrorMessageResolver;
@@ -0,0 +1 @@
1
+ export declare function useEventNotStable<Args extends unknown[], Return>(handler: (...args: Args) => Return): (...args: Args) => Return | undefined;
@@ -0,0 +1,20 @@
1
+ import { GraphQLTaggedNode, useLazyLoadQuery } from 'react-relay';
2
+ import { OperationType } from 'relay-runtime';
3
+ type extraOptions<Result, ItemType> = {
4
+ getItem: (result: Result) => any;
5
+ getTotal: (result: Result) => number | undefined;
6
+ getId: (item: ItemType) => string | undefined | null;
7
+ };
8
+ export declare function useLazyPaginatedQuery<T extends OperationType & {
9
+ variables: {
10
+ limit: number;
11
+ offset: number;
12
+ };
13
+ }, ItemType>(query: GraphQLTaggedNode, initialPaginationVariables: Pick<T['variables'], 'limit'>, otherVariables: Omit<Partial<T['variables']>, 'limit' | 'offset'>, options: Parameters<typeof useLazyLoadQuery<T>>[2], { getItem, getId, getTotal }: extraOptions<T['response'], ItemType>): {
14
+ paginationData: ItemType[] | undefined;
15
+ result: T["response"];
16
+ loadNext: () => void | undefined;
17
+ hasNext: boolean;
18
+ isLoadingNext: boolean;
19
+ };
20
+ export {};
@@ -0,0 +1,10 @@
1
+ declare const useViewer: () => {
2
+ viewer: {
3
+ readonly encoded_user_role: string | null | undefined;
4
+ readonly user: {
5
+ readonly email: string | null | undefined;
6
+ } | null | undefined;
7
+ } | null | undefined;
8
+ decodedUserRole: string | null;
9
+ };
10
+ export default useViewer;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIAppIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIAppIcon: React.FC<BAIAppIconProps>;
5
+ export default BAIAppIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIBatchSessionIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIBatchSessionIcon: React.FC<BAIBatchSessionIconProps>;
5
+ export default BAIBatchSessionIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAICalculateResourceIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAICalculateResourceIcon: React.FC<BAICalculateResourceIconProps>;
5
+ export default BAICalculateResourceIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAICephIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAICephIcon: React.FC<BAICephIconProps>;
5
+ export default BAICephIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIContainerCommitIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIContainerCommitIcon: React.FC<BAIContainerCommitIconProps>;
5
+ export default BAIContainerCommitIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIDashboardIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIDashboardIcon: React.FC<BAIDashboardIconProps>;
5
+ export default BAIDashboardIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIEndpointIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIEndpointIcon: React.FC<BAIEndpointIconProps>;
5
+ export default BAIEndpointIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIEndpointsIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIEndpointsIcon: React.FC<BAIEndpointsIconProps>;
5
+ export default BAIEndpointsIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIExampleStartIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIExampleStartIcon: React.FC<BAIExampleStartIconProps>;
5
+ export default BAIExampleStartIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIExamplesIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIExamplesIcon: React.FC<BAIExamplesIconProps>;
5
+ export default BAIExamplesIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIHuggingFaceIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIHuggingFaceIcon: React.FC<BAIHuggingFaceIconProps>;
5
+ export default BAIHuggingFaceIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIInteractiveSessionIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIInteractiveSessionIcon: React.FC<BAIInteractiveSessionIconProps>;
5
+ export default BAIInteractiveSessionIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIListIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIListIcon: React.FC<BAIListIconProps>;
5
+ export default BAIListIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIModelServiceIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIModelServiceIcon: React.FC<BAIModelServiceIconProps>;
5
+ export default BAIModelServiceIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIModelStoreIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIModelStoreIcon: React.FC<BAIModelStoreIconProps>;
5
+ export default BAIModelStoreIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIModelsIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIModelsIcon: React.FC<BAIModelsIconProps>;
5
+ export default BAIModelsIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIMyEnvironmentsIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIMyEnvironmentsIcon: React.FC<BAIMyEnvironmentsIconProps>;
5
+ export default BAIMyEnvironmentsIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAINewFolderIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAINewFolderIcon: React.FC<BAINewFolderIconProps>;
5
+ export default BAINewFolderIcon;
@@ -0,0 +1,6 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAINvidiaIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ size?: number;
4
+ }
5
+ declare const BAINvidiaIcon: React.FC<BAINvidiaIconProps>;
6
+ export default BAINvidiaIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIPipelineIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIPipelineIcon: React.FC<BAIPipelineIconProps>;
5
+ export default BAIPipelineIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIPipelinesIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIPipelinesIcon: React.FC<BAIPipelinesIconProps>;
5
+ export default BAIPipelinesIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIPureStorageIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIPureStorageIcon: React.FC<BAIPureStorageIconProps>;
5
+ export default BAIPureStorageIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIPurgeIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIPurgeIcon: React.FC<BAIPurgeIconProps>;
5
+ export default BAIPurgeIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIRecalculateResourcesIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIRecalculateResourcesIcon: React.FC<BAIRecalculateResourcesIconProps>;
5
+ export default BAIRecalculateResourcesIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIRescanImagesIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIRescanImagesIcon: React.FC<BAIRescanImagesIconProps>;
5
+ export default BAIRescanImagesIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIRestoreIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIRestoreIcon: React.FC<BAIRestoreIconProps>;
5
+ export default BAIRestoreIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAISessionLogIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAISessionLogIcon: React.FC<BAISessionLogIconProps>;
5
+ export default BAISessionLogIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAISessionStartIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAISessionStartIcon: React.FC<BAISessionStartIconProps>;
5
+ export default BAISessionStartIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAISessionsIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAISessionsIcon: React.FC<BAISessionsIconProps>;
5
+ export default BAISessionsIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAISftpIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAISftpIcon: React.FC<BAISftpIconProps>;
5
+ export default BAISftpIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIShareAltIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIShareAltIcon: React.FC<BAIShareAltIconProps>;
5
+ export default BAIShareAltIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIStartCircleIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIStartCircleIcon: React.FC<BAIStartCircleIconProps>;
5
+ export default BAIStartCircleIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAISystemMonitorIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAISystemMonitorIcon: React.FC<BAISystemMonitorIconProps>;
5
+ export default BAISystemMonitorIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAITerminalAppIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAITerminalAppIcon: React.FC<BAITerminalAppIconProps>;
5
+ export default BAITerminalAppIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAITerminateIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAITerminateIcon: React.FC<BAITerminateIconProps>;
5
+ export default BAITerminateIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAITrailsIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAITrailsIcon: React.FC<BAITrailsIconProps>;
5
+ export default BAITrailsIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAITrashBinIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAITrashBinIcon: React.FC<BAITrashBinIconProps>;
5
+ export default BAITrashBinIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIURLStartIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIURLStartIcon: React.FC<BAIURLStartIconProps>;
5
+ export default BAIURLStartIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIUpdateEnvironmentImagesIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIUpdateEnvironmentImagesIcon: React.FC<BAIUpdateEnvironmentImagesIconProps>;
5
+ export default BAIUpdateEnvironmentImagesIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIUploadIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIUploadIcon: React.FC<BAIUploadIconProps>;
5
+ export default BAIUploadIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIUserOutlinedIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIUserOutlinedIcon: React.FC<BAIUserOutlinedIconProps>;
5
+ export default BAIUserOutlinedIcon;
@@ -0,0 +1,5 @@
1
+ import { CustomIconComponentProps } from '@ant-design/icons/lib/components/Icon';
2
+ interface BAIUserUnionIconProps extends Omit<CustomIconComponentProps, 'width' | 'height' | 'fill'> {
3
+ }
4
+ declare const BAIUserUnionIcon: React.FC<BAIUserUnionIconProps>;
5
+ export default BAIUserUnionIcon;
@@ -0,0 +1,42 @@
1
+ export { default as BAIAppIcon } from './BAIAppIcon';
2
+ export { default as BAIBatchSessionIcon } from './BAIBatchSessionIcon';
3
+ export { default as BAICalculateResourceIcon } from './BAICalculateResourceIcon';
4
+ export { default as BAICephIcon } from './BAICephIcon';
5
+ export { default as BAIContainerCommitIcon } from './BAIContainerCommitIcon';
6
+ export { default as BAIDashboardIcon } from './BAIDashboardIcon';
7
+ export { default as BAIEndpointIcon } from './BAIEndpointIcon';
8
+ export { default as BAIEndpointsIcon } from './BAIEndpointsIcon';
9
+ export { default as BAIExamplesIcon } from './BAIExamplesIcon';
10
+ export { default as BAIExampleStartIcon } from './BAIExampleStartIcon';
11
+ export { default as BAIInteractiveSessionIcon } from './BAIInteractiveSessionIcon';
12
+ export { default as BAIListIcon } from './BAIListIcon';
13
+ export { default as BAIModelServiceIcon } from './BAIModelServiceIcon';
14
+ export { default as BAIModelsIcon } from './BAIModelsIcon';
15
+ export { default as BAIModelStoreIcon } from './BAIModelStoreIcon';
16
+ export { default as BAIMyEnvironmentsIcon } from './BAIMyEnvironmentsIcon';
17
+ export { default as BAINewFolderIcon } from './BAINewFolderIcon';
18
+ export { default as BAINvidiaIcon } from './BAINvidiaIcon';
19
+ export { default as BAIPipelineIcon } from './BAIPipelineIcon';
20
+ export { default as BAIPipelinesIcon } from './BAIPipelinesIcon';
21
+ export { default as BAIPureStorageIcon } from './BAIPureStorageIcon';
22
+ export { default as BAIPurgeIcon } from './BAIPurgeIcon';
23
+ export { default as BAIRecalculateResourcesIcon } from './BAIRecalculateResourcesIcon';
24
+ export { default as BAIRescanImagesIcon } from './BAIRescanImagesIcon';
25
+ export { default as BAIRestoreIcon } from './BAIRestoreIcon';
26
+ export { default as BAISessionLogIcon } from './BAISessionLogIcon';
27
+ export { default as BAISessionsIcon } from './BAISessionsIcon';
28
+ export { default as BAISessionStartIcon } from './BAISessionStartIcon';
29
+ export { default as BAIShareAltIcon } from './BAIShareAltIcon';
30
+ export { default as BAIStartCircleIcon } from './BAIStartCircleIcon';
31
+ export { default as BAISystemMonitorIcon } from './BAISystemMonitorIcon';
32
+ export { default as BAITerminalAppIcon } from './BAITerminalAppIcon';
33
+ export { default as BAITerminateIcon } from './BAITerminateIcon';
34
+ export { default as BAITrailsIcon } from './BAITrailsIcon';
35
+ export { default as BAITrashBinIcon } from './BAITrashBinIcon';
36
+ export { default as BAIUpdateEnvironmentImagesIcon } from './BAIUpdateEnvironmentImagesIcon';
37
+ export { default as BAIUploadIcon } from './BAIUploadIcon';
38
+ export { default as BAIURLStartIcon } from './BAIURLStartIcon';
39
+ export { default as BAIUserOutlinedIcon } from './BAIUserOutlinedIcon';
40
+ export { default as BAIUserUnionIcon } from './BAIUserUnionIcon';
41
+ export { default as BAIHuggingFaceIcon } from './BAIHuggingFaceIcon';
42
+ export { default as BAISftpIcon } from './BAISftpIcon';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- export { default as Flex } from './components/Flex';
2
- export { default as BAISessionTypeTag } from './components/fragments/BAISessionTypeTag';
3
- export { default as BAIConfigProvider } from './components/BAIConfigProvider';
4
- export { default as BAITestButton } from './components/tests/BAITestButton';
1
+ export * from './components';
2
+ export * from './helper';
3
+ export * from './hooks';
4
+ export * from './icons';
5
+ export * from './tests';
@@ -1,4 +1,5 @@
1
- import { _ as n, c as l } from "../common-BqeHlhne.js";
1
+ import { a as n } from "../objectSpread2-D0Q_N5dg.js";
2
+ import { c as l } from "../common-CMrtHk6c.js";
2
3
  var r = {
3
4
  // Options
4
5
  items_per_page: "/ Seite",
@@ -57,7 +58,8 @@ const a = {
57
58
  TimePicker: a,
58
59
  Calendar: t,
59
60
  global: {
60
- placeholder: "Bitte auswählen"
61
+ placeholder: "Bitte auswählen",
62
+ close: "Schließen"
61
63
  },
62
64
  Table: {
63
65
  filterTitle: "Filter-Menü",
@@ -176,11 +178,11 @@ const a = {
176
178
  expired: "QR-Code abgelaufen",
177
179
  refresh: "Aktualisieren"
178
180
  }
179
- }, c = {
181
+ }, h = {
180
182
  lang: "de",
181
183
  antdLocale: s
182
184
  };
183
185
  export {
184
- c as default
186
+ h as default
185
187
  };
186
188
  //# sourceMappingURL=de_DE.js.map