@ctlyst.id/internal-ui 3.1.4 → 3.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +371 -301
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +172 -106
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -59,12 +59,12 @@ __export(src_exports, {
|
|
59
59
|
AlertIcon: () => AlertIcon,
|
60
60
|
AlertTitle: () => AlertTitle,
|
61
61
|
Anchor: () => Anchor,
|
62
|
-
Avatar: () =>
|
63
|
-
AvatarBadge: () =>
|
64
|
-
AvatarBadgeProps: () =>
|
65
|
-
AvatarGroup: () =>
|
66
|
-
AvatarGroupProps: () =>
|
67
|
-
AvatarProps: () =>
|
62
|
+
Avatar: () => import_react89.Avatar,
|
63
|
+
AvatarBadge: () => import_react89.AvatarBadge,
|
64
|
+
AvatarBadgeProps: () => import_react89.AvatarBadgeProps,
|
65
|
+
AvatarGroup: () => import_react89.AvatarGroup,
|
66
|
+
AvatarGroupProps: () => import_react89.AvatarGroupProps,
|
67
|
+
AvatarProps: () => import_react89.AvatarProps,
|
68
68
|
Badge: () => badge_default,
|
69
69
|
Box: () => import_react51.Box,
|
70
70
|
BoxProps: () => import_react51.BoxProps,
|
@@ -75,9 +75,9 @@ __export(src_exports, {
|
|
75
75
|
CHECKBOX_STATE: () => CHECKBOX_STATE,
|
76
76
|
Card: () => card_default,
|
77
77
|
Center: () => import_react51.Center,
|
78
|
-
ChakraProvider: () =>
|
79
|
-
ChakraProviderProps: () =>
|
80
|
-
ChakraTable: () =>
|
78
|
+
ChakraProvider: () => import_react99.ChakraProvider,
|
79
|
+
ChakraProviderProps: () => import_react99.ChakraProviderProps,
|
80
|
+
ChakraTable: () => import_react80.Table,
|
81
81
|
Checkbox: () => checkbox_default,
|
82
82
|
CheckboxGroup: () => checkbox_group_default,
|
83
83
|
CheckboxGroupContext: () => import_react16.CheckboxGroupContext,
|
@@ -86,15 +86,16 @@ __export(src_exports, {
|
|
86
86
|
CheckboxIconProps: () => import_react16.CheckboxIconProps,
|
87
87
|
CheckboxState: () => import_react16.CheckboxState,
|
88
88
|
Chips: () => chips_default,
|
89
|
+
ClearIndicator: () => ClearIndicator,
|
89
90
|
CloseButton: () => import_react10.CloseButton,
|
90
91
|
CloseButtonProps: () => import_react10.CloseButtonProps,
|
91
|
-
Code: () =>
|
92
|
-
CodeProps: () =>
|
93
|
-
Collapse: () =>
|
94
|
-
CollapseProps: () =>
|
95
|
-
ColorMode: () =>
|
96
|
-
ColorModeScript: () =>
|
97
|
-
ColorModeScriptProps: () =>
|
92
|
+
Code: () => import_react83.Code,
|
93
|
+
CodeProps: () => import_react83.CodeProps,
|
94
|
+
Collapse: () => import_react89.Collapse,
|
95
|
+
CollapseProps: () => import_react89.CollapseProps,
|
96
|
+
ColorMode: () => import_react99.ColorMode,
|
97
|
+
ColorModeScript: () => import_react99.ColorModeScript,
|
98
|
+
ColorModeScriptProps: () => import_react99.ColorModeScriptProps,
|
98
99
|
Container: () => import_react51.Container,
|
99
100
|
ContainerProps: () => import_react51.ContainerProps,
|
100
101
|
Counter: () => counter_default,
|
@@ -113,9 +114,10 @@ __export(src_exports, {
|
|
113
114
|
DrawerHeader: () => import_react54.ModalHeader,
|
114
115
|
DrawerOverlay: () => import_react54.ModalOverlay,
|
115
116
|
DrawerProps: () => import_react54.DrawerProps,
|
117
|
+
DropdownIndicator: () => DropdownIndicator,
|
116
118
|
EmptyState: () => empty_state_default,
|
117
|
-
Fade: () =>
|
118
|
-
FadeProps: () =>
|
119
|
+
Fade: () => import_react89.Fade,
|
120
|
+
FadeProps: () => import_react89.FadeProps,
|
119
121
|
Field: () => field_default,
|
120
122
|
Flex: () => import_react51.Flex,
|
121
123
|
FlexProps: () => import_react51.FlexProps,
|
@@ -131,18 +133,18 @@ __export(src_exports, {
|
|
131
133
|
GridProps: () => import_react51.GridProps,
|
132
134
|
HStack: () => import_react51.HStack,
|
133
135
|
Header: () => Header,
|
134
|
-
Heading: () =>
|
135
|
-
HeadingProps: () =>
|
136
|
-
Hide: () =>
|
137
|
-
HideProps: () =>
|
136
|
+
Heading: () => import_react83.Heading,
|
137
|
+
HeadingProps: () => import_react83.HeadingProps,
|
138
|
+
Hide: () => import_react89.Hide,
|
139
|
+
HideProps: () => import_react89.HideProps,
|
138
140
|
Icon: () => import_react50.Icon,
|
139
141
|
IconButton: () => import_react10.IconButton,
|
140
142
|
IconButtonProps: () => import_react10.IconButtonProps,
|
141
143
|
IconProps: () => import_react50.IconProps,
|
142
144
|
Image: () => import_react50.Image,
|
143
145
|
ImageProps: () => import_react50.ImageProps,
|
144
|
-
Img: () =>
|
145
|
-
ImgProps: () =>
|
146
|
+
Img: () => import_react89.Img,
|
147
|
+
ImgProps: () => import_react89.ImgProps,
|
146
148
|
InputAddonLeft: () => InputAddonLeft,
|
147
149
|
InputAddonRight: () => InputAddonRight,
|
148
150
|
InputElementLeft: () => import_react19.InputLeftElement,
|
@@ -159,8 +161,8 @@ __export(src_exports, {
|
|
159
161
|
InputRightAddonProps: () => import_react25.InputRightAddonProps,
|
160
162
|
InputRightElement: () => import_react25.InputRightElement,
|
161
163
|
InputRightElementProps: () => import_react25.InputRightElementProps,
|
162
|
-
Link: () =>
|
163
|
-
LinkProps: () =>
|
164
|
+
Link: () => import_react83.Link,
|
165
|
+
LinkProps: () => import_react83.LinkProps,
|
164
166
|
List: () => import_react52.List,
|
165
167
|
ListIcon: () => import_react52.ListIcon,
|
166
168
|
ListItem: () => import_react52.ListItem,
|
@@ -186,6 +188,8 @@ __export(src_exports, {
|
|
186
188
|
ModalOverlayProps: () => import_react54.ModalOverlayProps,
|
187
189
|
ModalProps: () => import_react54.ModalProps,
|
188
190
|
MultiDatePickerMonth: () => multi_datepicker_month_default,
|
191
|
+
MultiValue: () => MultiValue,
|
192
|
+
MultiValueRemove: () => MultiValueRemove,
|
189
193
|
NavItem: () => NavItem,
|
190
194
|
Navbar: () => Navbar,
|
191
195
|
NavigationBar: () => navigation_bar_default,
|
@@ -232,111 +236,111 @@ __export(src_exports, {
|
|
232
236
|
Rating: () => rating_default,
|
233
237
|
RequiredIndicator: () => import_react25.RequiredIndicator,
|
234
238
|
RequiredIndicatorProps: () => import_react25.RequiredIndicatorProps,
|
235
|
-
ScaleFade: () =>
|
236
|
-
ScaleFadeProps: () =>
|
239
|
+
ScaleFade: () => import_react89.ScaleFade,
|
240
|
+
ScaleFadeProps: () => import_react89.ScaleFadeProps,
|
237
241
|
Select: () => select_default,
|
238
242
|
SelectAsync: () => select_async_default,
|
239
243
|
SelectAsyncCreatable: () => SelectAsyncCreatable,
|
240
244
|
SelectCheckBox: () => select_with_checkbox_default,
|
241
245
|
SelectCreatable: () => SelectCreatable,
|
242
|
-
Show: () =>
|
243
|
-
ShowProps: () =>
|
246
|
+
Show: () => import_react89.Show,
|
247
|
+
ShowProps: () => import_react89.ShowProps,
|
244
248
|
Sidebar: () => Sidebar,
|
245
249
|
SidebarHeader: () => SidebarHeader,
|
246
250
|
SidebarMenu: () => SidebarMenu,
|
247
251
|
SimpleGrid: () => import_react51.SimpleGrid,
|
248
252
|
Skeleton: () => import_react5.Skeleton,
|
249
|
-
Slide: () =>
|
250
|
-
SlideFade: () =>
|
251
|
-
SlideFadeProps: () =>
|
252
|
-
SlideProps: () =>
|
253
|
+
Slide: () => import_react89.Slide,
|
254
|
+
SlideFade: () => import_react89.SlideFade,
|
255
|
+
SlideFadeProps: () => import_react89.SlideFadeProps,
|
256
|
+
SlideProps: () => import_react89.SlideProps,
|
253
257
|
Spacer: () => import_react51.Spacer,
|
254
258
|
Stack: () => import_react51.Stack,
|
255
259
|
StackProps: () => import_react51.StackProps,
|
256
|
-
Step: () =>
|
257
|
-
StepDescription: () =>
|
258
|
-
StepIcon: () =>
|
259
|
-
StepIndicator: () =>
|
260
|
-
StepNumber: () =>
|
261
|
-
StepSeparator: () =>
|
262
|
-
StepStatus: () =>
|
263
|
-
StepTitle: () =>
|
264
|
-
Stepper: () =>
|
260
|
+
Step: () => import_react89.Step,
|
261
|
+
StepDescription: () => import_react89.StepDescription,
|
262
|
+
StepIcon: () => import_react89.StepIcon,
|
263
|
+
StepIndicator: () => import_react89.StepIndicator,
|
264
|
+
StepNumber: () => import_react89.StepNumber,
|
265
|
+
StepSeparator: () => import_react89.StepSeparator,
|
266
|
+
StepStatus: () => import_react89.StepStatus,
|
267
|
+
StepTitle: () => import_react89.StepTitle,
|
268
|
+
Stepper: () => import_react89.Stepper,
|
265
269
|
Switch: () => switch_default,
|
266
270
|
Tab: () => tab_default,
|
267
|
-
TabIndicator: () =>
|
268
|
-
TabIndicatorProps: () =>
|
269
|
-
TabList: () =>
|
270
|
-
TabListProps: () =>
|
271
|
-
TabPanel: () =>
|
272
|
-
TabPanelProps: () =>
|
273
|
-
TabPanels: () =>
|
274
|
-
TabPanelsProps: () =>
|
275
|
-
TabProps: () =>
|
276
|
-
TableBodyProps: () =>
|
277
|
-
TableCellProps: () =>
|
278
|
-
TableColumnHeaderProps: () =>
|
279
|
-
TableHeadProps: () =>
|
280
|
-
TableProps: () =>
|
281
|
-
TableRowProps: () =>
|
282
|
-
Tabs: () =>
|
283
|
-
TabsDescendantsProvider: () =>
|
284
|
-
TabsProps: () =>
|
285
|
-
TabsProvider: () =>
|
286
|
-
Tbody: () =>
|
287
|
-
Td: () =>
|
288
|
-
Text: () =>
|
289
|
-
TextProps: () =>
|
271
|
+
TabIndicator: () => import_react82.TabIndicator,
|
272
|
+
TabIndicatorProps: () => import_react82.TabIndicatorProps,
|
273
|
+
TabList: () => import_react82.TabList,
|
274
|
+
TabListProps: () => import_react82.TabListProps,
|
275
|
+
TabPanel: () => import_react82.TabPanel,
|
276
|
+
TabPanelProps: () => import_react82.TabPanelProps,
|
277
|
+
TabPanels: () => import_react82.TabPanels,
|
278
|
+
TabPanelsProps: () => import_react82.TabPanelsProps,
|
279
|
+
TabProps: () => import_react82.TabProps,
|
280
|
+
TableBodyProps: () => import_react80.TableBodyProps,
|
281
|
+
TableCellProps: () => import_react80.TableCellProps,
|
282
|
+
TableColumnHeaderProps: () => import_react80.TableColumnHeaderProps,
|
283
|
+
TableHeadProps: () => import_react80.TableHeadProps,
|
284
|
+
TableProps: () => import_react80.TableProps,
|
285
|
+
TableRowProps: () => import_react80.TableRowProps,
|
286
|
+
Tabs: () => import_react82.Tabs,
|
287
|
+
TabsDescendantsProvider: () => import_react82.TabsDescendantsProvider,
|
288
|
+
TabsProps: () => import_react82.TabsProps,
|
289
|
+
TabsProvider: () => import_react82.TabsProvider,
|
290
|
+
Tbody: () => import_react80.Tbody,
|
291
|
+
Td: () => import_react80.Td,
|
292
|
+
Text: () => import_react83.Text,
|
293
|
+
TextProps: () => import_react83.TextProps,
|
290
294
|
TextareaField: () => textarea_default,
|
291
|
-
Th: () =>
|
292
|
-
Thead: () =>
|
295
|
+
Th: () => import_react80.Th,
|
296
|
+
Thead: () => import_react80.Thead,
|
293
297
|
ThemeTypings: () => import_styled_system12.ThemeTypings,
|
294
298
|
ToastContainer: () => import_react_toastify2.ToastContainer,
|
295
299
|
Tooltip: () => Tooltip,
|
296
|
-
Tr: () =>
|
300
|
+
Tr: () => import_react80.Tr,
|
297
301
|
UnorderedList: () => import_react52.UnorderedList,
|
298
302
|
Uploader: () => uploader_default,
|
299
303
|
UseAccordionItemProps: () => import_react3.UseAccordionItemProps,
|
300
304
|
UseAccordionItemReturn: () => import_react3.UseAccordionItemReturn,
|
301
305
|
UseAccordionProps: () => import_react3.UseAccordionProps,
|
302
306
|
UseAccordionReturn: () => import_react3.UseAccordionReturn,
|
303
|
-
UseBreakpointOptions: () =>
|
307
|
+
UseBreakpointOptions: () => import_react89.UseBreakpointOptions,
|
304
308
|
UseCheckboxGroupProps: () => import_react16.UseCheckboxGroupProps,
|
305
309
|
UseCheckboxGroupReturn: () => import_react16.UseCheckboxGroupReturn,
|
306
310
|
UseCheckboxProps: () => import_react16.UseCheckboxProps,
|
307
311
|
UseCheckboxReturn: () => import_react16.UseCheckboxReturn,
|
308
|
-
UseDisclosureProps: () =>
|
309
|
-
UseImageProps: () =>
|
310
|
-
UseImageReturn: () =>
|
311
|
-
UseMediaQueryOptions: () =>
|
312
|
+
UseDisclosureProps: () => import_react101.UseDisclosureProps,
|
313
|
+
UseImageProps: () => import_react89.UseImageProps,
|
314
|
+
UseImageReturn: () => import_react89.UseImageReturn,
|
315
|
+
UseMediaQueryOptions: () => import_react89.UseMediaQueryOptions,
|
312
316
|
UseModalProps: () => import_react54.UseModalProps,
|
313
317
|
UseModalReturn: () => import_react54.UseModalReturn,
|
314
318
|
UsePinInputFieldProps: () => import_react63.UsePinInputFieldProps,
|
315
319
|
UsePinInputProps: () => import_react63.UsePinInputProps,
|
316
320
|
UsePinInputReturn: () => import_react63.UsePinInputReturn,
|
317
|
-
UseQueryProps: () =>
|
321
|
+
UseQueryProps: () => import_react89.UseQueryProps,
|
318
322
|
UseRadioGroupReturn: () => import_react68.UseRadioGroupReturn,
|
319
323
|
UseRadioProps: () => import_react68.UseRadioProps,
|
320
324
|
UseRadioReturn: () => import_react68.UseRadioReturn,
|
321
|
-
UseTabListProps: () =>
|
322
|
-
UseTabListReturn: () =>
|
323
|
-
UseTabOptions: () =>
|
324
|
-
UseTabPanelsProps: () =>
|
325
|
-
UseTabProps: () =>
|
326
|
-
UseTabsProps: () =>
|
327
|
-
UseTabsReturn: () =>
|
325
|
+
UseTabListProps: () => import_react82.UseTabListProps,
|
326
|
+
UseTabListReturn: () => import_react82.UseTabListReturn,
|
327
|
+
UseTabOptions: () => import_react82.UseTabOptions,
|
328
|
+
UseTabPanelsProps: () => import_react82.UseTabPanelsProps,
|
329
|
+
UseTabProps: () => import_react82.UseTabProps,
|
330
|
+
UseTabsProps: () => import_react82.UseTabsProps,
|
331
|
+
UseTabsReturn: () => import_react82.UseTabsReturn,
|
328
332
|
VStack: () => import_react51.VStack,
|
329
333
|
Version: () => Version,
|
330
|
-
VisuallyHidden: () =>
|
331
|
-
VisuallyHiddenInput: () =>
|
334
|
+
VisuallyHidden: () => import_react89.VisuallyHidden,
|
335
|
+
VisuallyHiddenInput: () => import_react89.VisuallyHiddenInput,
|
332
336
|
VoilaLogo: () => VoilaLogo,
|
333
337
|
Wrap: () => import_react51.Wrap,
|
334
338
|
WrapItem: () => import_react51.WrapItem,
|
335
339
|
WrapItemProps: () => import_react51.WrapItemProps,
|
336
340
|
WrapProps: () => import_react51.WrapProps,
|
337
341
|
XMSLogo: () => XMSLogo,
|
338
|
-
extendTheme: () =>
|
339
|
-
forwardRef: () =>
|
342
|
+
extendTheme: () => import_react102.extendTheme,
|
343
|
+
forwardRef: () => import_react102.forwardRef,
|
340
344
|
getSelectAllCheckboxState: () => getSelectAllCheckboxState,
|
341
345
|
getTheme: () => getTheme,
|
342
346
|
theme: () => theme4,
|
@@ -346,52 +350,52 @@ __export(src_exports, {
|
|
346
350
|
useAccordionItemState: () => import_react3.useAccordionItemState,
|
347
351
|
useAccordionStyles: () => import_react3.useAccordionStyles,
|
348
352
|
useAlertStyles: () => useAlertStyles,
|
349
|
-
useBoolean: () =>
|
350
|
-
useBreakpoint: () =>
|
353
|
+
useBoolean: () => import_react101.useBoolean,
|
354
|
+
useBreakpoint: () => import_react89.useBreakpoint,
|
351
355
|
useCheckbox: () => import_react16.useCheckbox,
|
352
356
|
useCheckboxGroup: () => import_react16.useCheckboxGroup,
|
353
|
-
useClipboard: () =>
|
354
|
-
useColorMode: () =>
|
355
|
-
useColorModePreference: () =>
|
356
|
-
useColorModeValue: () =>
|
357
|
-
useConst: () =>
|
358
|
-
useControllableProp: () =>
|
359
|
-
useControllableState: () =>
|
357
|
+
useClipboard: () => import_react101.useClipboard,
|
358
|
+
useColorMode: () => import_react101.useColorMode,
|
359
|
+
useColorModePreference: () => import_react89.useColorModePreference,
|
360
|
+
useColorModeValue: () => import_react101.useColorModeValue,
|
361
|
+
useConst: () => import_react101.useConst,
|
362
|
+
useControllableProp: () => import_react101.useControllableProp,
|
363
|
+
useControllableState: () => import_react101.useControllableState,
|
360
364
|
useDataTable: () => useDataTable,
|
361
|
-
useDimensions: () =>
|
362
|
-
useDisclosure: () =>
|
365
|
+
useDimensions: () => import_react101.useDimensions,
|
366
|
+
useDisclosure: () => import_react101.useDisclosure,
|
363
367
|
useDrawerContext: () => import_react54.useDrawerContext,
|
364
368
|
useFetcher: () => useFetcher,
|
365
|
-
useImage: () =>
|
369
|
+
useImage: () => import_react89.useImage,
|
366
370
|
useInternalUI: () => useInternalUI,
|
367
|
-
useMergeRefs: () =>
|
371
|
+
useMergeRefs: () => import_react101.useMergeRefs,
|
368
372
|
useModal: () => import_react54.useModal,
|
369
373
|
useModalContext: () => import_react54.useModalContext,
|
370
374
|
useModalStyles: () => import_react54.useModalStyles,
|
371
|
-
useOutsideClick: () =>
|
375
|
+
useOutsideClick: () => import_react101.useOutsideClick,
|
372
376
|
usePinInput: () => import_react63.usePinInput,
|
373
377
|
usePinInputContext: () => import_react63.usePinInputContext,
|
374
378
|
usePinInputField: () => import_react63.usePinInputField,
|
375
379
|
useProgressStyles: () => import_react65.useProgressStyles,
|
376
|
-
useQuery: () =>
|
380
|
+
useQuery: () => import_react89.useQuery,
|
377
381
|
useRadio: () => import_react68.useRadio,
|
378
382
|
useRadioGroup: () => import_react68.useRadioGroup,
|
379
383
|
useRadioGroupContext: () => import_react68.useRadioGroupContext,
|
380
|
-
useSteps: () =>
|
381
|
-
useTab: () =>
|
382
|
-
useTabIndicator: () =>
|
383
|
-
useTabList: () =>
|
384
|
-
useTabPanel: () =>
|
385
|
-
useTabPanels: () =>
|
386
|
-
useTabs: () =>
|
387
|
-
useTabsContext: () =>
|
388
|
-
useTabsDescendant: () =>
|
389
|
-
useTabsDescendants: () =>
|
390
|
-
useTabsDescendantsContext: () =>
|
391
|
-
useTabsStyles: () =>
|
392
|
-
useTheme: () =>
|
384
|
+
useSteps: () => import_react89.useSteps,
|
385
|
+
useTab: () => import_react82.useTab,
|
386
|
+
useTabIndicator: () => import_react82.useTabIndicator,
|
387
|
+
useTabList: () => import_react82.useTabList,
|
388
|
+
useTabPanel: () => import_react82.useTabPanel,
|
389
|
+
useTabPanels: () => import_react82.useTabPanels,
|
390
|
+
useTabs: () => import_react82.useTabs,
|
391
|
+
useTabsContext: () => import_react82.useTabsContext,
|
392
|
+
useTabsDescendant: () => import_react82.useTabsDescendant,
|
393
|
+
useTabsDescendants: () => import_react82.useTabsDescendants,
|
394
|
+
useTabsDescendantsContext: () => import_react82.useTabsDescendantsContext,
|
395
|
+
useTabsStyles: () => import_react82.useTabsStyles,
|
396
|
+
useTheme: () => import_react101.useTheme,
|
393
397
|
useToast: () => useToast,
|
394
|
-
useToken: () =>
|
398
|
+
useToken: () => import_react101.useToken
|
395
399
|
});
|
396
400
|
module.exports = __toCommonJS(src_exports);
|
397
401
|
|
@@ -1400,7 +1404,7 @@ var DataTable = React5.forwardRef(
|
|
1400
1404
|
React5.useImperativeHandle(ref, () => ({
|
1401
1405
|
toggleAllRowsSelected
|
1402
1406
|
}));
|
1403
|
-
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Box, { overflowX: "auto", position: "relative", maxW: "100%",
|
1407
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Box, { overflowX: "auto", position: "relative", maxW: "100%", w: "full", ...container, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react28.Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
|
1404
1408
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Thead, { ...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}), children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tr, { mx: "2", ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
1405
1409
|
import_react28.Th,
|
1406
1410
|
{
|
@@ -1420,49 +1424,56 @@ var DataTable = React5.forwardRef(
|
|
1420
1424
|
},
|
1421
1425
|
header.id
|
1422
1426
|
)) }, headerGroup.id)) }),
|
1423
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tbody, { children: [...Array(5)].map((num) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tr, { mx: "2", children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Td, { width: 210, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Skeleton, { startColor: "
|
1427
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tbody, { children: [...Array(5)].map((num) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tr, { mx: "2", children: [...Array(generateColumn().length)].map((i) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Td, { width: 210, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Skeleton, { startColor: "neutral.100", endColor: "neutral.200", h: "20px", w: "70%" }, i) }, i)) }, num)) })
|
1424
1428
|
] }) : /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react28.Table, { ...styles == null ? void 0 : styles.table, children: [
|
1425
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
1426
|
-
|
1427
|
-
|
1428
|
-
|
1429
|
-
{
|
1430
|
-
|
1431
|
-
|
1432
|
-
|
1433
|
-
|
1434
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
1435
|
-
import_react28.Flex,
|
1429
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
1430
|
+
import_react28.Thead,
|
1431
|
+
{
|
1432
|
+
maxH: "50px",
|
1433
|
+
...(styles == null ? void 0 : styles.tableHead, headerSticky ? { position: "sticky", top: 0, bg: "white", zIndex: 1 } : {}),
|
1434
|
+
children: table.getHeaderGroups().map((headerGroup) => /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tr, { bg: (0, import_react28.useColorModeValue)("initial", "ebony-clay.700"), ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => {
|
1435
|
+
var _a;
|
1436
|
+
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
1437
|
+
import_react28.Th,
|
1436
1438
|
{
|
1437
|
-
|
1438
|
-
|
1439
|
-
|
1440
|
-
|
1441
|
-
|
1442
|
-
|
1443
|
-
|
1444
|
-
|
1445
|
-
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1457
|
-
|
1458
|
-
|
1459
|
-
|
1460
|
-
|
1461
|
-
|
1462
|
-
|
1463
|
-
|
1464
|
-
|
1465
|
-
|
1439
|
+
colSpan: header.colSpan,
|
1440
|
+
sx: getCommonPinningStyles(header.column),
|
1441
|
+
width: `${header.getSize() + (index === 0 || index === headerGroup.headers.length - 1 ? 16 : 0)}px`,
|
1442
|
+
...styles == null ? void 0 : styles.tableColumnHeader,
|
1443
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
1444
|
+
import_react28.Flex,
|
1445
|
+
{
|
1446
|
+
backgroundColor: "white",
|
1447
|
+
height: "100%",
|
1448
|
+
"data-test-id": `CT_Container_TableHeader_${header.id}`,
|
1449
|
+
textTransform: "capitalize",
|
1450
|
+
userSelect: "none",
|
1451
|
+
align: "center",
|
1452
|
+
gap: 2,
|
1453
|
+
children: [
|
1454
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Text, { children: (0, import_react_table.flexRender)(header.column.columnDef.header, header.getContext()) }),
|
1455
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
1456
|
+
import_react28.Box,
|
1457
|
+
{
|
1458
|
+
as: "span",
|
1459
|
+
cursor: header.column.getCanSort() ? "pointer" : "default",
|
1460
|
+
"data-test-id": `CT_Container_SortingIcon_${header.id}`,
|
1461
|
+
onClick: header.column.getToggleSortingHandler(),
|
1462
|
+
children: (_a = header.column.getCanSort() && {
|
1463
|
+
asc: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
|
1464
|
+
desc: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
|
1465
|
+
}[header.column.getIsSorted()]) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Box, { display: "flex", justifyContent: "center", alignItems: "center", boxSize: 4, children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.UpDownIcon, { color: "neutral.500" }) })
|
1466
|
+
}
|
1467
|
+
)
|
1468
|
+
]
|
1469
|
+
}
|
1470
|
+
)
|
1471
|
+
},
|
1472
|
+
header.id
|
1473
|
+
);
|
1474
|
+
}) }, headerGroup.id))
|
1475
|
+
}
|
1476
|
+
),
|
1466
1477
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row) => {
|
1467
1478
|
const trRef = (0, import_react30.useRef)();
|
1468
1479
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
@@ -2847,27 +2858,39 @@ NavItem.defaultProps = {
|
|
2847
2858
|
var import_react44 = require("@chakra-ui/react");
|
2848
2859
|
var import_jsx_runtime35 = require("react/jsx-runtime");
|
2849
2860
|
var Tooltip = (props) => {
|
2850
|
-
const {
|
2851
|
-
|
2861
|
+
const {
|
2862
|
+
children,
|
2863
|
+
bg = "neutral.700",
|
2864
|
+
textStyle = "text.sm",
|
2865
|
+
color = "white",
|
2866
|
+
width,
|
2867
|
+
borderRadius = 4,
|
2868
|
+
fontWeight = "400"
|
2869
|
+
} = props;
|
2870
|
+
const content = ({ onClose }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
2852
2871
|
import_react44.PopoverContent,
|
2853
2872
|
{
|
2873
|
+
"data-test-id": "",
|
2854
2874
|
border: "none",
|
2855
2875
|
bg,
|
2856
2876
|
textStyle,
|
2857
2877
|
width,
|
2858
|
-
ml: 1,
|
2859
2878
|
placeItems: "center",
|
2860
|
-
borderRadius
|
2879
|
+
borderRadius,
|
2880
|
+
onClick: (e) => {
|
2881
|
+
e.stopPropagation();
|
2882
|
+
onClose();
|
2883
|
+
},
|
2861
2884
|
children: [
|
2862
2885
|
props.hasArrow && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverArrow, { color, bg, shadow: "none" }),
|
2863
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverBody, { color, ...props, children: props.label })
|
2886
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverBody, { color, ...props, fontWeight, children: props.label })
|
2864
2887
|
]
|
2865
2888
|
}
|
2866
2889
|
);
|
2867
|
-
return props.isInteractive === true ? /* @__PURE__ */ (0, import_jsx_runtime35.
|
2890
|
+
return props.isInteractive === true ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.Popover, { trigger: "hover", placement: props.placement, ...props.popoverProps, children: ({ onClose }) => /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_jsx_runtime35.Fragment, { children: [
|
2868
2891
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverTrigger, { children }),
|
2869
|
-
props.portal ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.Portal, { children: content }) : content
|
2870
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.Tooltip, { ...props, children });
|
2892
|
+
props.portal ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.Portal, { children: content({ onClose }) }) : content({ onClose })
|
2893
|
+
] }) }) : /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.Tooltip, { ...props, children });
|
2871
2894
|
};
|
2872
2895
|
|
2873
2896
|
// src/components/header/components/profile.tsx
|
@@ -2933,18 +2956,19 @@ var Profile = ({
|
|
2933
2956
|
] }),
|
2934
2957
|
textAlign: "left",
|
2935
2958
|
placement: "bottom-end",
|
2959
|
+
cursor: "text",
|
2960
|
+
portal: true,
|
2936
2961
|
popoverProps: {
|
2937
2962
|
offset: [10, 8]
|
2938
2963
|
},
|
2939
|
-
width:
|
2964
|
+
width: 300,
|
2940
2965
|
...officeContainer,
|
2941
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react45.Box, {
|
2966
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react45.Box, { ml: 1, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
2942
2967
|
badge_default,
|
2943
2968
|
{
|
2944
|
-
|
2945
|
-
pill: true,
|
2969
|
+
rounded: "full",
|
2946
2970
|
variant: "neutral-light",
|
2947
|
-
boxSize: "
|
2971
|
+
boxSize: "5",
|
2948
2972
|
justifyContent: "center",
|
2949
2973
|
p: "0.5",
|
2950
2974
|
...badgeStyle,
|
@@ -3693,7 +3717,9 @@ var Rating = ({ value }) => {
|
|
3693
3717
|
var rating_default = Rating;
|
3694
3718
|
|
3695
3719
|
// src/components/select/components/select.tsx
|
3720
|
+
var import_react73 = require("@chakra-ui/react");
|
3696
3721
|
var import_system7 = require("@chakra-ui/system");
|
3722
|
+
var Icon7 = __toESM(require("@ctlyst.id/internal-icon"));
|
3697
3723
|
var import_react_select = __toESM(require("react-select"));
|
3698
3724
|
|
3699
3725
|
// src/config/theme/foundations/shadows.ts
|
@@ -4001,10 +4027,10 @@ function selectStyles(colorMode, _isError) {
|
|
4001
4027
|
return { ...base, ...selectStyle };
|
4002
4028
|
},
|
4003
4029
|
dropdownIndicator: (base) => {
|
4004
|
-
return { ...base, ...selectStyle };
|
4030
|
+
return { ...base, ...selectStyle, color: "var(--chakra-colors-neutral-400)" };
|
4005
4031
|
},
|
4006
4032
|
indicatorSeparator: (base) => {
|
4007
|
-
return { ...base,
|
4033
|
+
return { ...base, background: "var(--chakra-colors-neutral-400)", borderRadius: 10 };
|
4008
4034
|
},
|
4009
4035
|
placeholder: (base) => {
|
4010
4036
|
return { ...base, ...selectStyle, color: "var(--chakra-colors-black-low)" };
|
@@ -4019,13 +4045,15 @@ function selectStyles(colorMode, _isError) {
|
|
4019
4045
|
multiValueLabel: (base) => ({
|
4020
4046
|
...base,
|
4021
4047
|
borderRadius: 4,
|
4022
|
-
fontWeight: "bold"
|
4048
|
+
fontWeight: "bold",
|
4049
|
+
padding: 0,
|
4050
|
+
paddingLeft: 0
|
4023
4051
|
}),
|
4024
4052
|
multiValueRemove: (base) => ({
|
4025
4053
|
...base,
|
4026
4054
|
color: "var(--chakra-colors-neutral-900)",
|
4027
4055
|
":hover": {
|
4028
|
-
backgroundColor: "
|
4056
|
+
backgroundColor: "transparent"
|
4029
4057
|
}
|
4030
4058
|
})
|
4031
4059
|
};
|
@@ -4045,19 +4073,40 @@ var themeSelect = (theme5) => {
|
|
4045
4073
|
|
4046
4074
|
// src/components/select/components/select.tsx
|
4047
4075
|
var import_jsx_runtime53 = require("react/jsx-runtime");
|
4076
|
+
function DropdownIndicator(props) {
|
4077
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_select.components.DropdownIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon7.ChevronDown, { size: 4, color: "neutral.400" }) });
|
4078
|
+
}
|
4079
|
+
function ClearIndicator(props) {
|
4080
|
+
const { hasValue } = props;
|
4081
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_select.components.ClearIndicator, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon7.Close, { size: 4, color: hasValue ? "black.medium" : "neutral.400" }) });
|
4082
|
+
}
|
4083
|
+
function MultiValue(props) {
|
4084
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_select.components.MultiValue, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react73.Badge, { pr: 0, variant: "neutral-light", children: props == null ? void 0 : props.data.label }) });
|
4085
|
+
}
|
4086
|
+
function MultiValueRemove(props) {
|
4087
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_select.components.MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react73.Flex, { align: "center", justify: "center", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon7.Close, { size: 2.5, color: "inherit" }) }) });
|
4088
|
+
}
|
4048
4089
|
function Select2({
|
4049
4090
|
styles,
|
4050
4091
|
isError = false,
|
4051
4092
|
...rest
|
4052
4093
|
}) {
|
4053
4094
|
const { colorMode } = (0, import_system7.useColorMode)();
|
4095
|
+
const { components } = rest;
|
4054
4096
|
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
4055
4097
|
import_react_select.default,
|
4056
4098
|
{
|
4057
4099
|
classNamePrefix: "react-select",
|
4058
|
-
|
4100
|
+
components: {
|
4101
|
+
DropdownIndicator,
|
4102
|
+
ClearIndicator,
|
4103
|
+
MultiValue,
|
4104
|
+
MultiValueRemove,
|
4105
|
+
...components
|
4106
|
+
},
|
4059
4107
|
styles: { ...selectStyles(colorMode, isError) },
|
4060
|
-
theme: themeSelect
|
4108
|
+
theme: themeSelect,
|
4109
|
+
...rest
|
4061
4110
|
}
|
4062
4111
|
);
|
4063
4112
|
}
|
@@ -4077,6 +4126,10 @@ function SelectAsync({
|
|
4077
4126
|
import_react_select_async_paginate.AsyncPaginate,
|
4078
4127
|
{
|
4079
4128
|
classNamePrefix: "react-select",
|
4129
|
+
components: {
|
4130
|
+
DropdownIndicator,
|
4131
|
+
ClearIndicator
|
4132
|
+
},
|
4080
4133
|
...rest,
|
4081
4134
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
4082
4135
|
theme: themeSelect
|
@@ -4095,6 +4148,10 @@ function SelectAsyncCreatable({ styles, isError = false, ...rest }) {
|
|
4095
4148
|
import_async_creatable.default,
|
4096
4149
|
{
|
4097
4150
|
classNamePrefix: "react-select",
|
4151
|
+
components: {
|
4152
|
+
DropdownIndicator,
|
4153
|
+
ClearIndicator
|
4154
|
+
},
|
4098
4155
|
...rest,
|
4099
4156
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
4100
4157
|
theme: themeSelect
|
@@ -4112,6 +4169,10 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
|
|
4112
4169
|
import_creatable.default,
|
4113
4170
|
{
|
4114
4171
|
classNamePrefix: "react-select",
|
4172
|
+
components: {
|
4173
|
+
DropdownIndicator,
|
4174
|
+
ClearIndicator
|
4175
|
+
},
|
4115
4176
|
...rest,
|
4116
4177
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
4117
4178
|
theme: themeSelect
|
@@ -4120,7 +4181,7 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
|
|
4120
4181
|
}
|
4121
4182
|
|
4122
4183
|
// src/components/select/components/select-with-checkbox.tsx
|
4123
|
-
var
|
4184
|
+
var import_react74 = require("@chakra-ui/react");
|
4124
4185
|
var import_system11 = require("@chakra-ui/system");
|
4125
4186
|
var import_react_select2 = __toESM(require("react-select"));
|
4126
4187
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
@@ -4183,7 +4244,7 @@ var InputOption = ({
|
|
4183
4244
|
innerProps: props,
|
4184
4245
|
...rest,
|
4185
4246
|
children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
4186
|
-
|
4247
|
+
import_react74.Flex,
|
4187
4248
|
{
|
4188
4249
|
alignItems: "center",
|
4189
4250
|
width: "100%",
|
@@ -4193,15 +4254,15 @@ var InputOption = ({
|
|
4193
4254
|
cursor: isDisabled ? "not-allowed" : "default",
|
4194
4255
|
children: [
|
4195
4256
|
(data == null ? void 0 : data.selectAllCheckbox) ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
4196
|
-
|
4257
|
+
import_react74.Checkbox,
|
4197
4258
|
{
|
4198
4259
|
isChecked: checkedState === CHECKBOX_STATE.CHECKED,
|
4199
4260
|
isIndeterminate: checkedState === CHECKBOX_STATE.INDETERMINATE,
|
4200
4261
|
isDisabled,
|
4201
4262
|
"data-test-id": "CT_component_select-checkbox_select-all-option"
|
4202
4263
|
}
|
4203
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
4204
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
4264
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react74.Checkbox, { isChecked: isSelected, "data-test-id": "CT_component_select-checkbox_option-checkbox" }),
|
4265
|
+
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react74.Text, { textStyle: "text.sm", "data-test-id": `select-checkbox-option-label-${data.value}`, children })
|
4205
4266
|
]
|
4206
4267
|
}
|
4207
4268
|
)
|
@@ -4234,7 +4295,7 @@ var SelectWithCheckboxBase = ({
|
|
4234
4295
|
);
|
4235
4296
|
};
|
4236
4297
|
var SelectCheckbox = (props) => {
|
4237
|
-
const { isMulti, options, value, ...rest } = props;
|
4298
|
+
const { isMulti, options, value, components, ...rest } = props;
|
4238
4299
|
const selectValue = value || [];
|
4239
4300
|
return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
4240
4301
|
SelectWithCheckboxBase,
|
@@ -4242,6 +4303,11 @@ var SelectCheckbox = (props) => {
|
|
4242
4303
|
isMulti,
|
4243
4304
|
options,
|
4244
4305
|
components: {
|
4306
|
+
DropdownIndicator,
|
4307
|
+
ClearIndicator,
|
4308
|
+
MultiValue,
|
4309
|
+
MultiValueRemove,
|
4310
|
+
...components,
|
4245
4311
|
Option: (optionProps) => {
|
4246
4312
|
const { isSelected, data } = optionProps;
|
4247
4313
|
const optionLength = (options == null ? void 0 : options.length) ? options.length - 1 : 0;
|
@@ -4257,13 +4323,13 @@ var SelectCheckbox = (props) => {
|
|
4257
4323
|
var select_with_checkbox_default = SelectCheckbox;
|
4258
4324
|
|
4259
4325
|
// src/components/sidebar/components/sidebar.tsx
|
4260
|
-
var
|
4326
|
+
var import_react75 = require("@chakra-ui/react");
|
4261
4327
|
var import_framer_motion = require("framer-motion");
|
4262
4328
|
var import_jsx_runtime58 = require("react/jsx-runtime");
|
4263
4329
|
var Sidebar = ({ isCollapse, children, ...props }) => {
|
4264
4330
|
const { width = "220px" } = props;
|
4265
4331
|
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
4266
|
-
|
4332
|
+
import_react75.Flex,
|
4267
4333
|
{
|
4268
4334
|
position: "relative",
|
4269
4335
|
as: import_framer_motion.motion.div,
|
@@ -4283,13 +4349,13 @@ var Sidebar = ({ isCollapse, children, ...props }) => {
|
|
4283
4349
|
Sidebar.displayName = "Sidebar";
|
4284
4350
|
|
4285
4351
|
// src/components/sidebar/components/sidebar-header.tsx
|
4286
|
-
var
|
4352
|
+
var import_react76 = require("@chakra-ui/react");
|
4287
4353
|
var import_internal_icon8 = require("@ctlyst.id/internal-icon");
|
4288
4354
|
var import_framer_motion2 = require("framer-motion");
|
4289
4355
|
var import_jsx_runtime59 = require("react/jsx-runtime");
|
4290
4356
|
var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
|
4291
4357
|
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
4292
|
-
|
4358
|
+
import_react76.Box,
|
4293
4359
|
{
|
4294
4360
|
px: "2",
|
4295
4361
|
color: "neutral.900",
|
@@ -4299,7 +4365,7 @@ var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
|
|
4299
4365
|
color: "primary.500"
|
4300
4366
|
},
|
4301
4367
|
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
4302
|
-
|
4368
|
+
import_react76.Flex,
|
4303
4369
|
{
|
4304
4370
|
"data-test-id": "nLkz69YipW818FioeAxVI",
|
4305
4371
|
direction: "row",
|
@@ -4309,7 +4375,7 @@ var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
|
|
4309
4375
|
cursor: "pointer",
|
4310
4376
|
children: [
|
4311
4377
|
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
4312
|
-
|
4378
|
+
import_react76.Box,
|
4313
4379
|
{
|
4314
4380
|
as: import_framer_motion2.motion.div,
|
4315
4381
|
boxSize: "4",
|
@@ -4320,8 +4386,8 @@ var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
|
|
4320
4386
|
children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_internal_icon8.ArrowRight, { size: 4, color: "inherit" })
|
4321
4387
|
}
|
4322
4388
|
),
|
4323
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_framer_motion2.AnimatePresence, { children: !isCollapse && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
4324
|
-
|
4389
|
+
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_framer_motion2.AnimatePresence, { children: !isCollapse && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react76.Box, { h: "3.5", position: "relative", ml: "2", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
4390
|
+
import_react76.Text,
|
4325
4391
|
{
|
4326
4392
|
as: import_framer_motion2.motion.div,
|
4327
4393
|
w: "max-content",
|
@@ -4347,25 +4413,25 @@ SidebarHeader.defaultProps = {
|
|
4347
4413
|
};
|
4348
4414
|
|
4349
4415
|
// src/components/sidebar/components/sidebar-menu.tsx
|
4350
|
-
var
|
4351
|
-
var
|
4416
|
+
var import_react77 = require("@chakra-ui/react");
|
4417
|
+
var Icon8 = __toESM(require("@ctlyst.id/internal-icon"));
|
4352
4418
|
var import_framer_motion3 = require("framer-motion");
|
4353
4419
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
4354
4420
|
var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, setActive, active }) => {
|
4355
|
-
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4421
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { as: import_framer_motion3.motion.div, animate: { padding: isCollapse ? "8px 16px" : "8px" }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Accordion, { index: menu.findIndex((item) => item.children.some((child) => child.navLink === active)), children: menu.map((item) => {
|
4356
4422
|
const isActive = active == null ? void 0 : active.includes(item.navLink);
|
4357
|
-
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4423
|
+
return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.AccordionItem, { mt: "4", children: ({ isExpanded }) => {
|
4358
4424
|
const isOpenOptions = isCollapse || !isCollapse && !isExpanded;
|
4359
4425
|
const noChild = !item.children.length;
|
4360
4426
|
const offsetStyle = isCollapse ? noChild ? [-5, 16] : [-1, 16] : [-1, 8];
|
4361
4427
|
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
|
4362
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4428
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Popover, { trigger: "hover", placement: "right-start", offset: offsetStyle, children: ({ isOpen, onClose }) => {
|
4363
4429
|
const activeOption = isOpen ? "primary.50" : "white";
|
4364
4430
|
const backgroundColor = isOpen && !isActive ? "primary.50" : "primary.100";
|
4365
4431
|
const activeParent = isActive ? backgroundColor : activeOption;
|
4366
4432
|
return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
|
4367
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4368
|
-
|
4433
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.PopoverTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4434
|
+
import_react77.AccordionButton,
|
4369
4435
|
{
|
4370
4436
|
"data-test-id": `CTA_button-accordion-${item.title}`,
|
4371
4437
|
p: "0",
|
@@ -4382,9 +4448,9 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
|
|
4382
4448
|
position: "relative",
|
4383
4449
|
...itemStyles,
|
4384
4450
|
children: [
|
4385
|
-
mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4451
|
+
mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { display: "flex", boxSize: "3", transition: "50ms linear", children: mappingIcon2.get(item.icon || "") }),
|
4386
4452
|
!isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
4387
|
-
|
4453
|
+
import_react77.Box,
|
4388
4454
|
{
|
4389
4455
|
display: "flex",
|
4390
4456
|
w: "full",
|
@@ -4397,15 +4463,15 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
|
|
4397
4463
|
animate: { opacity: 1, x: 0 },
|
4398
4464
|
exit: { opacity: 0, x: 16 },
|
4399
4465
|
children: [
|
4400
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4466
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { h: "3.5", position: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Text, { textStyle: "text.xs", w: "max-content", position: "absolute", children: item.title }) }),
|
4401
4467
|
!!item.children.length && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4402
|
-
|
4468
|
+
import_react77.Box,
|
4403
4469
|
{
|
4404
4470
|
display: "flex",
|
4405
4471
|
boxSize: "3",
|
4406
4472
|
as: import_framer_motion3.motion.div,
|
4407
4473
|
animate: { transform: isExpanded ? "rotate(-180deg)" : "rotate(0)" },
|
4408
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4474
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon8.ChevronDown, { size: 3 })
|
4409
4475
|
}
|
4410
4476
|
)
|
4411
4477
|
]
|
@@ -4418,12 +4484,12 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
|
|
4418
4484
|
},
|
4419
4485
|
item.id
|
4420
4486
|
) }, item.id),
|
4421
|
-
isOpenOptions && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4422
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4487
|
+
isOpenOptions && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Portal, { children: item.children.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_react77.PopoverContent, { w: "176px", borderColor: "neutral.200", bg: "white", rounded: "sm", children: [
|
4488
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.PopoverHeader, { borderColor: "neutral.300", textStyle: "text.xs", p: "2", children: mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_react77.Box, { display: "flex", alignItems: "center", children: [
|
4423
4489
|
mappingIcon2.get(item.icon || ""),
|
4424
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4490
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { as: "span", ml: "2", children: item.title })
|
4425
4491
|
] }) }),
|
4426
|
-
!!item.children.length && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4492
|
+
!!item.children.length && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.PopoverBody, { pb: "1", px: "0", pt: "0", children: item.children.map((submenu) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4427
4493
|
NavItem,
|
4428
4494
|
{
|
4429
4495
|
"data-test-id": `CTA_Sidebar-popover-item-${submenu.id}`,
|
@@ -4439,7 +4505,7 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
|
|
4439
4505
|
},
|
4440
4506
|
submenu.id
|
4441
4507
|
)) })
|
4442
|
-
] }) : isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4508
|
+
] }) : isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.PopoverContent, { w: "174px", borderColor: "neutral.200", bg: "white", rounded: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.PopoverBody, { py: "1", px: "0", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
|
4443
4509
|
NavItem,
|
4444
4510
|
{
|
4445
4511
|
"data-test-id": `CTA_Sidebar-popover-item-${item.id}`,
|
@@ -4452,15 +4518,15 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
|
|
4452
4518
|
rounded: "none",
|
4453
4519
|
...itemStyles,
|
4454
4520
|
children: [
|
4455
|
-
mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4456
|
-
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4521
|
+
mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { display: "flex", boxSize: "3", transition: "50ms linear", children: mappingIcon2.get(item.icon || "") }),
|
4522
|
+
/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { h: "3.5", position: "relative", ml: "2", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Text, { textStyle: "text.xs", w: "max-content", position: "absolute", children: item.title }) })
|
4457
4523
|
]
|
4458
4524
|
},
|
4459
4525
|
item.id
|
4460
4526
|
) }) }) })
|
4461
4527
|
] });
|
4462
4528
|
} }, item.id),
|
4463
|
-
!isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4529
|
+
!isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.AccordionPanel, { mt: "1", p: "0", children: item.children.map((submenu) => /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
|
4464
4530
|
NavItem,
|
4465
4531
|
{
|
4466
4532
|
mt: "1",
|
@@ -4484,16 +4550,16 @@ SidebarMenu.defaultProps = {
|
|
4484
4550
|
};
|
4485
4551
|
|
4486
4552
|
// src/components/switch/components/switch.tsx
|
4487
|
-
var
|
4553
|
+
var import_react78 = require("@chakra-ui/react");
|
4488
4554
|
var import_shared_utils10 = require("@chakra-ui/shared-utils");
|
4489
4555
|
var import_internal_icon9 = require("@ctlyst.id/internal-icon");
|
4490
|
-
var
|
4556
|
+
var import_react79 = require("react");
|
4491
4557
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
4492
|
-
var Switch = (0,
|
4493
|
-
const styles = (0,
|
4494
|
-
const { spacing: spacing2 = "0.5rem", children, ...ownProps } = (0,
|
4495
|
-
const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = (0,
|
4496
|
-
const containerStyles = (0,
|
4558
|
+
var Switch = (0, import_react78.forwardRef)(function Switch2(props, ref) {
|
4559
|
+
const styles = (0, import_react78.useMultiStyleConfig)("Switch", props);
|
4560
|
+
const { spacing: spacing2 = "0.5rem", children, ...ownProps } = (0, import_react78.omitThemingProps)(props);
|
4561
|
+
const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = (0, import_react78.useCheckbox)(ownProps);
|
4562
|
+
const containerStyles = (0, import_react79.useMemo)(
|
4497
4563
|
() => ({
|
4498
4564
|
display: "inline-block",
|
4499
4565
|
position: "relative",
|
@@ -4503,7 +4569,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
|
|
4503
4569
|
}),
|
4504
4570
|
[styles.container]
|
4505
4571
|
);
|
4506
|
-
const trackStyles = (0,
|
4572
|
+
const trackStyles = (0, import_react79.useMemo)(
|
4507
4573
|
() => ({
|
4508
4574
|
display: "inline-flex",
|
4509
4575
|
flexShrink: 0,
|
@@ -4515,7 +4581,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
|
|
4515
4581
|
}),
|
4516
4582
|
[styles.track]
|
4517
4583
|
);
|
4518
|
-
const labelStyles = (0,
|
4584
|
+
const labelStyles = (0, import_react79.useMemo)(
|
4519
4585
|
() => ({
|
4520
4586
|
userSelect: "none",
|
4521
4587
|
marginStart: spacing2,
|
@@ -4532,7 +4598,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
|
|
4532
4598
|
return iconSize[value];
|
4533
4599
|
};
|
4534
4600
|
return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
4535
|
-
|
4601
|
+
import_react78.chakra.label,
|
4536
4602
|
{
|
4537
4603
|
...getRootProps(),
|
4538
4604
|
display: "flex",
|
@@ -4541,13 +4607,13 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
|
|
4541
4607
|
__css: containerStyles,
|
4542
4608
|
children: [
|
4543
4609
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)("input", { "data-test-id": "", className: "chakra-switch__input", ...getInputProps({}, ref) }),
|
4544
|
-
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
4545
|
-
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
|
4610
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_react78.chakra.span, { ...getCheckboxProps(), className: "chakra-switch__track", pos: "relative", __css: trackStyles, children: [
|
4611
|
+
/* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_react78.Flex, { gap: 1, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
|
4546
4612
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_internal_icon9.Check, { color: "white", size: getIconSize(props.size) }),
|
4547
4613
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_internal_icon9.Close, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
|
4548
4614
|
] }),
|
4549
4615
|
/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
4550
|
-
|
4616
|
+
import_react78.chakra.span,
|
4551
4617
|
{
|
4552
4618
|
__css: styles.thumb,
|
4553
4619
|
className: "chakra-switch__thumb",
|
@@ -4557,7 +4623,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
|
|
4557
4623
|
)
|
4558
4624
|
] }),
|
4559
4625
|
children && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
|
4560
|
-
|
4626
|
+
import_react78.chakra.span,
|
4561
4627
|
{
|
4562
4628
|
className: "chakra-switch__label",
|
4563
4629
|
color: state.isDisabled ? "black.low" : "black.high",
|
@@ -4577,18 +4643,18 @@ Switch.defaultProps = {
|
|
4577
4643
|
var switch_default = Switch;
|
4578
4644
|
|
4579
4645
|
// src/components/table/index.tsx
|
4580
|
-
var
|
4646
|
+
var import_react80 = require("@chakra-ui/react");
|
4581
4647
|
|
4582
4648
|
// src/components/tabs/components/tab.tsx
|
4583
|
-
var
|
4649
|
+
var import_react81 = require("@chakra-ui/react");
|
4584
4650
|
var import_jsx_runtime62 = require("react/jsx-runtime");
|
4585
|
-
var Tab = (0,
|
4651
|
+
var Tab = (0, import_react81.forwardRef)((props, ref) => {
|
4586
4652
|
var _a, _b;
|
4587
|
-
const tabProps = (0,
|
4653
|
+
const tabProps = (0, import_react81.useTab)({ ...props, ref });
|
4588
4654
|
const isSelected = !!tabProps["aria-selected"];
|
4589
|
-
const styles = (0,
|
4655
|
+
const styles = (0, import_react81.useMultiStyleConfig)("Tabs", tabProps);
|
4590
4656
|
return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
|
4591
|
-
|
4657
|
+
import_react81.Button,
|
4592
4658
|
{
|
4593
4659
|
"data-test-id": props["data-test-id"],
|
4594
4660
|
p: 4,
|
@@ -4613,7 +4679,7 @@ var Tab = (0, import_react80.forwardRef)((props, ref) => {
|
|
4613
4679
|
},
|
4614
4680
|
__css: styles.tab,
|
4615
4681
|
...tabProps,
|
4616
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(
|
4682
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_react81.Flex, { alignItems: "center", children: [
|
4617
4683
|
(_a = props.leftAddon) == null ? void 0 : _a.call(props, { isSelected }),
|
4618
4684
|
tabProps.children,
|
4619
4685
|
(_b = props.rightAddon) == null ? void 0 : _b.call(props, { isSelected })
|
@@ -4624,21 +4690,21 @@ var Tab = (0, import_react80.forwardRef)((props, ref) => {
|
|
4624
4690
|
var tab_default = Tab;
|
4625
4691
|
|
4626
4692
|
// src/components/tabs/index.ts
|
4627
|
-
var
|
4693
|
+
var import_react82 = require("@chakra-ui/react");
|
4628
4694
|
|
4629
4695
|
// src/components/text/index.ts
|
4630
|
-
var
|
4696
|
+
var import_react83 = require("@chakra-ui/react");
|
4631
4697
|
|
4632
4698
|
// src/components/toast/components/toast.tsx
|
4633
|
-
var
|
4699
|
+
var import_react85 = require("@chakra-ui/react");
|
4634
4700
|
var import_react_toastify = require("react-toastify");
|
4635
4701
|
|
4636
4702
|
// src/components/toast/components/styles.tsx
|
4637
|
-
var
|
4703
|
+
var import_react84 = require("@emotion/react");
|
4638
4704
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
4639
4705
|
var Styles2 = () => {
|
4640
4706
|
return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
|
4641
|
-
|
4707
|
+
import_react84.Global,
|
4642
4708
|
{
|
4643
4709
|
styles: `
|
4644
4710
|
.Toastify__toast-container {
|
@@ -4691,7 +4757,7 @@ var renderIcon = (icon, type) => {
|
|
4691
4757
|
return icon;
|
4692
4758
|
};
|
4693
4759
|
var useToast = () => {
|
4694
|
-
const [primary500, neutral500, info500, danger500, warning500, success500] = (0,
|
4760
|
+
const [primary500, neutral500, info500, danger500, warning500, success500] = (0, import_react85.useToken)("colors", [
|
4695
4761
|
"primary.500",
|
4696
4762
|
"neutral.500",
|
4697
4763
|
"info.500",
|
@@ -4702,13 +4768,13 @@ var useToast = () => {
|
|
4702
4768
|
const content = (icon, message, link) => {
|
4703
4769
|
return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
|
4704
4770
|
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(styles_default2, {}),
|
4705
|
-
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
4706
|
-
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(
|
4707
|
-
icon && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
4708
|
-
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
4771
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_react85.Flex, { justifyContent: "space-between", alignItems: "center", gap: 4, children: [
|
4772
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_react85.Flex, { alignItems: "center", children: [
|
4773
|
+
icon && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react85.chakra.span, { mr: 2, w: 4, h: 4, children: renderIcon(icon, "default") }),
|
4774
|
+
/* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react85.chakra.span, { noOfLines: 2, children: message })
|
4709
4775
|
] }),
|
4710
4776
|
link && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
|
4711
|
-
|
4777
|
+
import_react85.Link,
|
4712
4778
|
{
|
4713
4779
|
href: link.url,
|
4714
4780
|
textDecoration: "underline",
|
@@ -4786,9 +4852,9 @@ var useToast = () => {
|
|
4786
4852
|
var import_react_toastify2 = require("react-toastify");
|
4787
4853
|
|
4788
4854
|
// src/components/uploader/components/uploader.tsx
|
4789
|
-
var
|
4855
|
+
var import_react86 = require("@chakra-ui/react");
|
4790
4856
|
var import_internal_icon10 = require("@ctlyst.id/internal-icon");
|
4791
|
-
var
|
4857
|
+
var import_react87 = require("react");
|
4792
4858
|
var import_react_dropzone = require("react-dropzone");
|
4793
4859
|
|
4794
4860
|
// src/components/uploader/constants.ts
|
@@ -4819,7 +4885,7 @@ var formatValidationMessage = (extension) => `Foto harus dalam format ${concatLi
|
|
4819
4885
|
|
4820
4886
|
// src/components/uploader/components/uploader.tsx
|
4821
4887
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
4822
|
-
var
|
4888
|
+
var import_react88 = require("react");
|
4823
4889
|
var Uploader = ({
|
4824
4890
|
onHandleUploadFile,
|
4825
4891
|
onHandleRejections,
|
@@ -4848,10 +4914,10 @@ var Uploader = ({
|
|
4848
4914
|
size: size2 = "lg",
|
4849
4915
|
...props
|
4850
4916
|
}) => {
|
4851
|
-
const inputRef = (0,
|
4852
|
-
const [filePreview, setFilePreview] = (0,
|
4917
|
+
const inputRef = (0, import_react87.useRef)(null);
|
4918
|
+
const [filePreview, setFilePreview] = (0, import_react87.useState)();
|
4853
4919
|
const toast2 = useToast();
|
4854
|
-
const handleRejection = (0,
|
4920
|
+
const handleRejection = (0, import_react87.useCallback)(
|
4855
4921
|
(message, file, image) => {
|
4856
4922
|
if (onHandleRejections) {
|
4857
4923
|
onHandleRejections(file, image);
|
@@ -4863,7 +4929,7 @@ var Uploader = ({
|
|
4863
4929
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
4864
4930
|
[onHandleRejections]
|
4865
4931
|
);
|
4866
|
-
const onDrop = (0,
|
4932
|
+
const onDrop = (0, import_react87.useCallback)(
|
4867
4933
|
(files) => {
|
4868
4934
|
var _a;
|
4869
4935
|
const file = files[0];
|
@@ -4907,18 +4973,18 @@ var Uploader = ({
|
|
4907
4973
|
});
|
4908
4974
|
const renderHelperText = () => {
|
4909
4975
|
if (Array.isArray(helperText)) {
|
4910
|
-
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
4976
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.UnorderedList, { pl: 2, fontSize: 12, color: "gray.600", "data-test-id": "CT_component_base-image-uploader_helperText", children: helperText.map((text2) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.ListItem, { children: text2 }, text2)) });
|
4911
4977
|
}
|
4912
4978
|
return helperText;
|
4913
4979
|
};
|
4914
|
-
const renderErrorText = (text2) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
4980
|
+
const renderErrorText = (text2) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.Box, { mb: 2, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.Text, { textStyle: "text.xs", color: "danger.500", children: text2 }) });
|
4915
4981
|
const handleRemove = (e) => {
|
4916
4982
|
e.stopPropagation();
|
4917
4983
|
setFilePreview(void 0);
|
4918
4984
|
onHandleUploadFile == null ? void 0 : onHandleUploadFile(null, null);
|
4919
4985
|
acceptedFiles.pop();
|
4920
4986
|
};
|
4921
|
-
(0,
|
4987
|
+
(0, import_react87.useEffect)(() => {
|
4922
4988
|
if (value) {
|
4923
4989
|
if (typeof value === "string") {
|
4924
4990
|
setFilePreview(value);
|
@@ -4934,16 +5000,16 @@ var Uploader = ({
|
|
4934
5000
|
const color = isDisabled ? "neutral.500" : "primary.500";
|
4935
5001
|
const containerHeight = !isSmall ? "160px" : "120px";
|
4936
5002
|
const cursorType = filePreview ? "initial" : "pointer";
|
4937
|
-
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
5003
|
+
return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react86.FormControl, { isRequired, children: [
|
4938
5004
|
label && typeof label === "string" ? (
|
4939
5005
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
4940
|
-
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
4941
|
-
isRequired && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
5006
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react86.FormLabel, { requiredIndicator: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, {}), fontSize: "text.sm", children: [
|
5007
|
+
isRequired && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.RequiredIndicator, { mr: 1, ml: 0 }),
|
4942
5008
|
label
|
4943
5009
|
] })
|
4944
5010
|
) : label,
|
4945
5011
|
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
4946
|
-
|
5012
|
+
import_react86.Flex,
|
4947
5013
|
{
|
4948
5014
|
minH: containerHeight,
|
4949
5015
|
maxW: !isSmall ? "full" : "120px",
|
@@ -4960,8 +5026,8 @@ var Uploader = ({
|
|
4960
5026
|
...props,
|
4961
5027
|
...getRootProps(),
|
4962
5028
|
children: [
|
4963
|
-
filePreview && isShowCloseButton && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
4964
|
-
|
5029
|
+
filePreview && isShowCloseButton && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.Box, { position: "absolute", top: 1, right: 1, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
5030
|
+
import_react86.Button,
|
4965
5031
|
{
|
4966
5032
|
"data-test-id": `CT_component_base-image-uploader_remove-image${testId ? `_${testId}` : ""}`,
|
4967
5033
|
"aria-label": "remove-image",
|
@@ -4978,15 +5044,15 @@ var Uploader = ({
|
|
4978
5044
|
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_internal_icon10.Close, { size: 3, color: "white" })
|
4979
5045
|
}
|
4980
5046
|
) }),
|
4981
|
-
filePreview && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
4982
|
-
|
5047
|
+
filePreview && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.Box, { w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
5048
|
+
import_react86.Flex,
|
4983
5049
|
{
|
4984
5050
|
position: "relative",
|
4985
5051
|
"data-test-id": `CT_component_base-image-uploader_image-preview${testId ? `_${testId}` : ""}`,
|
4986
5052
|
justify: "center",
|
4987
5053
|
align: "center",
|
4988
5054
|
children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
4989
|
-
|
5055
|
+
import_react86.Image,
|
4990
5056
|
{
|
4991
5057
|
h: size2 === "lg" ? "120" : "100",
|
4992
5058
|
src: filePreview,
|
@@ -5004,11 +5070,11 @@ var Uploader = ({
|
|
5004
5070
|
...getInputProps()
|
5005
5071
|
}
|
5006
5072
|
),
|
5007
|
-
isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
5073
|
+
isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.Text, { children: dragActiveText != null ? dragActiveText : messages.dragActive }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react86.Flex, { gap: 2, flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : color, children: [
|
5008
5074
|
size2 === "sm" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_internal_icon10.Plus, { size: 6, color }),
|
5009
|
-
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
5075
|
+
/* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react86.Box, { children: [
|
5010
5076
|
!filePreview && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
5011
|
-
|
5077
|
+
import_react86.Heading,
|
5012
5078
|
{
|
5013
5079
|
fontWeight: "400",
|
5014
5080
|
fontSize: size2 === "sm" ? "text.md" : "text.xl",
|
@@ -5017,15 +5083,15 @@ var Uploader = ({
|
|
5017
5083
|
children: uploadFileText && size2 === "lg" ? messages.uploadFile : "Upload"
|
5018
5084
|
}
|
5019
5085
|
),
|
5020
|
-
size2 === "lg" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
5086
|
+
size2 === "lg" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.Text, { fontSize: 12, children: filePreview ? dragReplaceText != null ? dragReplaceText : messages.dragReplace : dragInActiveText != null ? dragInActiveText : messages.dragInActive })
|
5021
5087
|
] })
|
5022
5088
|
] })
|
5023
5089
|
] })
|
5024
5090
|
]
|
5025
5091
|
}
|
5026
5092
|
),
|
5027
|
-
filePreview && !isSmall && /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
|
5028
|
-
/* @__PURE__ */ (0,
|
5093
|
+
filePreview && !isSmall && /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react86.Flex, { align: "center", justify: "center", my: 2, children: [
|
5094
|
+
/* @__PURE__ */ (0, import_react88.createElement)(
|
5029
5095
|
"input",
|
5030
5096
|
{
|
5031
5097
|
...getInputProps(),
|
@@ -5036,7 +5102,7 @@ var Uploader = ({
|
|
5036
5102
|
}
|
5037
5103
|
),
|
5038
5104
|
isShowReupload && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
|
5039
|
-
|
5105
|
+
import_react86.Button,
|
5040
5106
|
{
|
5041
5107
|
"data-test-id": `CT_component_base-image-uploader_change-img-btn${testId ? `_${testId}` : ""}`,
|
5042
5108
|
type: "button",
|
@@ -5057,10 +5123,10 @@ var Uploader = ({
|
|
5057
5123
|
var uploader_default = Uploader;
|
5058
5124
|
|
5059
5125
|
// src/components/index.ts
|
5060
|
-
var
|
5126
|
+
var import_react89 = require("@chakra-ui/react");
|
5061
5127
|
|
5062
5128
|
// src/config/theme/themeConfiguration.ts
|
5063
|
-
var
|
5129
|
+
var import_react97 = require("@chakra-ui/react");
|
5064
5130
|
|
5065
5131
|
// src/config/theme/components/index.ts
|
5066
5132
|
var components_exports = {};
|
@@ -5264,7 +5330,7 @@ var alertTheme = defineMultiStyleConfig2({
|
|
5264
5330
|
var alert_default = alertTheme;
|
5265
5331
|
|
5266
5332
|
// src/config/theme/components/badge.ts
|
5267
|
-
var
|
5333
|
+
var Badge3 = {
|
5268
5334
|
baseStyle: {
|
5269
5335
|
h: "fit-content",
|
5270
5336
|
display: "inline-block",
|
@@ -5338,7 +5404,7 @@ var Badge2 = {
|
|
5338
5404
|
variant: "primary-solid"
|
5339
5405
|
}
|
5340
5406
|
};
|
5341
|
-
var badge_default2 =
|
5407
|
+
var badge_default2 = Badge3;
|
5342
5408
|
|
5343
5409
|
// src/config/theme/components/button.ts
|
5344
5410
|
var import_styled_system3 = require("@chakra-ui/styled-system");
|
@@ -5617,8 +5683,8 @@ var card_default2 = CardStyle;
|
|
5617
5683
|
|
5618
5684
|
// src/config/theme/components/checkbox.ts
|
5619
5685
|
var import_anatomy3 = require("@chakra-ui/anatomy");
|
5620
|
-
var
|
5621
|
-
var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0,
|
5686
|
+
var import_react90 = require("@chakra-ui/react");
|
5687
|
+
var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0, import_react90.createMultiStyleConfigHelpers)(import_anatomy3.checkboxAnatomy.keys);
|
5622
5688
|
var baseStyle3 = definePartsStyle3({
|
5623
5689
|
control: {
|
5624
5690
|
borderRadius: "sm",
|
@@ -5719,8 +5785,8 @@ var checkbox_default2 = Checkbox4;
|
|
5719
5785
|
|
5720
5786
|
// src/config/theme/components/chips.ts
|
5721
5787
|
var import_anatomy4 = require("@chakra-ui/anatomy");
|
5722
|
-
var
|
5723
|
-
var { definePartsStyle: definePartsStyle4, defineMultiStyleConfig: defineMultiStyleConfig4 } = (0,
|
5788
|
+
var import_react91 = require("@chakra-ui/react");
|
5789
|
+
var { definePartsStyle: definePartsStyle4, defineMultiStyleConfig: defineMultiStyleConfig4 } = (0, import_react91.createMultiStyleConfigHelpers)(import_anatomy4.tagAnatomy.keys);
|
5724
5790
|
var baseStyle4 = definePartsStyle4({
|
5725
5791
|
container: {
|
5726
5792
|
px: 3,
|
@@ -5929,8 +5995,8 @@ var input_default = Input3;
|
|
5929
5995
|
|
5930
5996
|
// src/config/theme/components/loader.ts
|
5931
5997
|
var import_styled_system7 = require("@chakra-ui/styled-system");
|
5932
|
-
var
|
5933
|
-
var rotate = (0,
|
5998
|
+
var import_react92 = require("@emotion/react");
|
5999
|
+
var rotate = (0, import_react92.keyframes)({
|
5934
6000
|
"0%": {
|
5935
6001
|
transform: "rotate(0deg)"
|
5936
6002
|
},
|
@@ -6112,8 +6178,8 @@ var modal_default = modalTheme;
|
|
6112
6178
|
|
6113
6179
|
// src/config/theme/components/popover.ts
|
6114
6180
|
var import_anatomy7 = require("@chakra-ui/anatomy");
|
6115
|
-
var
|
6116
|
-
var { definePartsStyle: definePartsStyle7, defineMultiStyleConfig: defineMultiStyleConfig7 } = (0,
|
6181
|
+
var import_react93 = require("@chakra-ui/react");
|
6182
|
+
var { definePartsStyle: definePartsStyle7, defineMultiStyleConfig: defineMultiStyleConfig7 } = (0, import_react93.createMultiStyleConfigHelpers)(import_anatomy7.popoverAnatomy.keys);
|
6117
6183
|
var baseStyle8 = definePartsStyle7({
|
6118
6184
|
content: {
|
6119
6185
|
bg: "white"
|
@@ -6124,8 +6190,8 @@ var popover_default = popoverTheme;
|
|
6124
6190
|
|
6125
6191
|
// src/config/theme/components/radio.ts
|
6126
6192
|
var import_anatomy8 = require("@chakra-ui/anatomy");
|
6127
|
-
var
|
6128
|
-
var { definePartsStyle: definePartsStyle8, defineMultiStyleConfig: defineMultiStyleConfig8 } = (0,
|
6193
|
+
var import_react94 = require("@chakra-ui/react");
|
6194
|
+
var { definePartsStyle: definePartsStyle8, defineMultiStyleConfig: defineMultiStyleConfig8 } = (0, import_react94.createMultiStyleConfigHelpers)(import_anatomy8.radioAnatomy.keys);
|
6129
6195
|
var baseStyle9 = definePartsStyle8({
|
6130
6196
|
control: {
|
6131
6197
|
border: "1px solid",
|
@@ -6560,7 +6626,7 @@ var tabsTheme = defineMultiStyleConfig11({
|
|
6560
6626
|
var tabs_default = tabsTheme;
|
6561
6627
|
|
6562
6628
|
// src/config/theme/components/textarea.ts
|
6563
|
-
var
|
6629
|
+
var import_react95 = require("@chakra-ui/react");
|
6564
6630
|
var getProps = (props) => {
|
6565
6631
|
const { isError, isSuccess, isDisabled } = props;
|
6566
6632
|
let borderColor = "neutral.400";
|
@@ -6580,7 +6646,7 @@ var getProps = (props) => {
|
|
6580
6646
|
borderColor
|
6581
6647
|
};
|
6582
6648
|
};
|
6583
|
-
var outline3 = (0,
|
6649
|
+
var outline3 = (0, import_react95.defineStyle)((props) => {
|
6584
6650
|
const { focusBorderColor, borderColor } = getProps(props);
|
6585
6651
|
return {
|
6586
6652
|
background: "white.high",
|
@@ -6624,7 +6690,7 @@ var outline3 = (0, import_react94.defineStyle)((props) => {
|
|
6624
6690
|
}
|
6625
6691
|
};
|
6626
6692
|
});
|
6627
|
-
var Textarea = (0,
|
6693
|
+
var Textarea = (0, import_react95.defineStyleConfig)({
|
6628
6694
|
variants: { outline: outline3 },
|
6629
6695
|
defaultProps: {
|
6630
6696
|
variant: "outline"
|
@@ -6633,15 +6699,15 @@ var Textarea = (0, import_react94.defineStyleConfig)({
|
|
6633
6699
|
var textarea_default2 = Textarea;
|
6634
6700
|
|
6635
6701
|
// src/config/theme/components/tooltip.ts
|
6636
|
-
var
|
6637
|
-
var $arrowBg = (0,
|
6702
|
+
var import_react96 = require("@chakra-ui/react");
|
6703
|
+
var $arrowBg = (0, import_react96.cssVar)("popper-arrow-bg");
|
6638
6704
|
var baseStyle12 = {
|
6639
6705
|
bg: "neutral.700",
|
6640
6706
|
textStyle: "text.sm",
|
6641
6707
|
fontSize: "text.sm",
|
6642
6708
|
[$arrowBg.variable]: "var(--chakra-colors-neutral-700)"
|
6643
6709
|
};
|
6644
|
-
var Tooltip2 = (0,
|
6710
|
+
var Tooltip2 = (0, import_react96.defineStyleConfig)({ baseStyle: baseStyle12 });
|
6645
6711
|
var tooltip_default = Tooltip2;
|
6646
6712
|
|
6647
6713
|
// src/config/theme/themeConfiguration.ts
|
@@ -6651,7 +6717,7 @@ var config = {
|
|
6651
6717
|
useSystemColorMode: false
|
6652
6718
|
};
|
6653
6719
|
var getTheme = (foundations) => {
|
6654
|
-
return (0,
|
6720
|
+
return (0, import_react97.extendTheme)({
|
6655
6721
|
...foundations,
|
6656
6722
|
components: {
|
6657
6723
|
...components_exports
|
@@ -6668,7 +6734,7 @@ var getTheme = (foundations) => {
|
|
6668
6734
|
config
|
6669
6735
|
});
|
6670
6736
|
};
|
6671
|
-
var theme4 = (0,
|
6737
|
+
var theme4 = (0, import_react97.extendTheme)({
|
6672
6738
|
components: {
|
6673
6739
|
...components_exports
|
6674
6740
|
},
|
@@ -6688,23 +6754,23 @@ var theme4 = (0, import_react96.extendTheme)({
|
|
6688
6754
|
|
6689
6755
|
// src/hooks/useFetcher.ts
|
6690
6756
|
var import_axios2 = __toESM(require("axios"));
|
6691
|
-
var
|
6757
|
+
var import_react100 = require("react");
|
6692
6758
|
|
6693
6759
|
// src/provider/components/provider.tsx
|
6694
6760
|
var import_axios = __toESM(require("axios"));
|
6695
|
-
var
|
6761
|
+
var import_react98 = require("react");
|
6696
6762
|
var import_react_toastify3 = require("react-toastify");
|
6697
6763
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
6698
|
-
var ProviderContext = (0,
|
6764
|
+
var ProviderContext = (0, import_react98.createContext)({
|
6699
6765
|
instance: void 0
|
6700
6766
|
});
|
6701
6767
|
var useInternalUI = () => {
|
6702
|
-
const { instance } = (0,
|
6768
|
+
const { instance } = (0, import_react98.useContext)(ProviderContext);
|
6703
6769
|
return { instance };
|
6704
6770
|
};
|
6705
6771
|
var Provider = ({ children, config: config2, requestInterceptors, responseInterceptors }) => {
|
6706
|
-
const instanceRef = (0,
|
6707
|
-
(0,
|
6772
|
+
const instanceRef = (0, import_react98.useRef)(import_axios.default.create(config2));
|
6773
|
+
(0, import_react98.useEffect)(() => {
|
6708
6774
|
requestInterceptors == null ? void 0 : requestInterceptors.forEach((interceptor) => {
|
6709
6775
|
instanceRef.current.interceptors.request.use(interceptor);
|
6710
6776
|
});
|
@@ -6712,7 +6778,7 @@ var Provider = ({ children, config: config2, requestInterceptors, responseInterc
|
|
6712
6778
|
instanceRef.current.interceptors.response.use(interceptor);
|
6713
6779
|
});
|
6714
6780
|
}, [requestInterceptors, responseInterceptors]);
|
6715
|
-
const provider = (0,
|
6781
|
+
const provider = (0, import_react98.useMemo)(() => ({ instance: instanceRef.current }), []);
|
6716
6782
|
return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(ProviderContext.Provider, { value: provider, children: [
|
6717
6783
|
/* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_toastify3.ToastContainer, {}),
|
6718
6784
|
children
|
@@ -6722,12 +6788,12 @@ Provider.displayName = "Provider";
|
|
6722
6788
|
var provider_default = Provider;
|
6723
6789
|
|
6724
6790
|
// src/provider/index.ts
|
6725
|
-
var
|
6791
|
+
var import_react99 = require("@chakra-ui/react");
|
6726
6792
|
|
6727
6793
|
// src/hooks/useFetcher.ts
|
6728
6794
|
function useFetcher() {
|
6729
6795
|
const { instance } = useInternalUI();
|
6730
|
-
const axiosInstance = (0,
|
6796
|
+
const axiosInstance = (0, import_react100.useMemo)(() => instance || import_axios2.default, [instance]);
|
6731
6797
|
const fetcher = async ({ url, data, method, headers, ...config2 }) => {
|
6732
6798
|
const response = await axiosInstance.request({
|
6733
6799
|
data,
|
@@ -6747,10 +6813,10 @@ function useFetcher() {
|
|
6747
6813
|
}
|
6748
6814
|
|
6749
6815
|
// src/hooks/index.ts
|
6750
|
-
var
|
6816
|
+
var import_react101 = require("@chakra-ui/react");
|
6751
6817
|
|
6752
6818
|
// src/index.ts
|
6753
|
-
var
|
6819
|
+
var import_react102 = require("@chakra-ui/react");
|
6754
6820
|
// Annotate the CommonJS export names for ESM import in node:
|
6755
6821
|
0 && (module.exports = {
|
6756
6822
|
Accordion,
|
@@ -6808,6 +6874,7 @@ var import_react101 = require("@chakra-ui/react");
|
|
6808
6874
|
CheckboxIconProps,
|
6809
6875
|
CheckboxState,
|
6810
6876
|
Chips,
|
6877
|
+
ClearIndicator,
|
6811
6878
|
CloseButton,
|
6812
6879
|
CloseButtonProps,
|
6813
6880
|
Code,
|
@@ -6835,6 +6902,7 @@ var import_react101 = require("@chakra-ui/react");
|
|
6835
6902
|
DrawerHeader,
|
6836
6903
|
DrawerOverlay,
|
6837
6904
|
DrawerProps,
|
6905
|
+
DropdownIndicator,
|
6838
6906
|
EmptyState,
|
6839
6907
|
Fade,
|
6840
6908
|
FadeProps,
|
@@ -6908,6 +6976,8 @@ var import_react101 = require("@chakra-ui/react");
|
|
6908
6976
|
ModalOverlayProps,
|
6909
6977
|
ModalProps,
|
6910
6978
|
MultiDatePickerMonth,
|
6979
|
+
MultiValue,
|
6980
|
+
MultiValueRemove,
|
6911
6981
|
NavItem,
|
6912
6982
|
Navbar,
|
6913
6983
|
NavigationBar,
|