@ctlyst.id/internal-ui 3.1.5 → 3.1.6

Sign up to get free protection for your applications and to get access to all the features.
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: () => import_react88.Avatar,
63
- AvatarBadge: () => import_react88.AvatarBadge,
64
- AvatarBadgeProps: () => import_react88.AvatarBadgeProps,
65
- AvatarGroup: () => import_react88.AvatarGroup,
66
- AvatarGroupProps: () => import_react88.AvatarGroupProps,
67
- AvatarProps: () => import_react88.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: () => import_react98.ChakraProvider,
79
- ChakraProviderProps: () => import_react98.ChakraProviderProps,
80
- ChakraTable: () => import_react79.Table,
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: () => import_react82.Code,
92
- CodeProps: () => import_react82.CodeProps,
93
- Collapse: () => import_react88.Collapse,
94
- CollapseProps: () => import_react88.CollapseProps,
95
- ColorMode: () => import_react98.ColorMode,
96
- ColorModeScript: () => import_react98.ColorModeScript,
97
- ColorModeScriptProps: () => import_react98.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: () => import_react88.Fade,
118
- FadeProps: () => import_react88.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: () => import_react82.Heading,
135
- HeadingProps: () => import_react82.HeadingProps,
136
- Hide: () => import_react88.Hide,
137
- HideProps: () => import_react88.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: () => import_react88.Img,
145
- ImgProps: () => import_react88.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: () => import_react82.Link,
163
- LinkProps: () => import_react82.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: () => import_react88.ScaleFade,
236
- ScaleFadeProps: () => import_react88.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: () => import_react88.Show,
243
- ShowProps: () => import_react88.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: () => import_react88.Slide,
250
- SlideFade: () => import_react88.SlideFade,
251
- SlideFadeProps: () => import_react88.SlideFadeProps,
252
- SlideProps: () => import_react88.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: () => import_react88.Step,
257
- StepDescription: () => import_react88.StepDescription,
258
- StepIcon: () => import_react88.StepIcon,
259
- StepIndicator: () => import_react88.StepIndicator,
260
- StepNumber: () => import_react88.StepNumber,
261
- StepSeparator: () => import_react88.StepSeparator,
262
- StepStatus: () => import_react88.StepStatus,
263
- StepTitle: () => import_react88.StepTitle,
264
- Stepper: () => import_react88.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: () => import_react81.TabIndicator,
268
- TabIndicatorProps: () => import_react81.TabIndicatorProps,
269
- TabList: () => import_react81.TabList,
270
- TabListProps: () => import_react81.TabListProps,
271
- TabPanel: () => import_react81.TabPanel,
272
- TabPanelProps: () => import_react81.TabPanelProps,
273
- TabPanels: () => import_react81.TabPanels,
274
- TabPanelsProps: () => import_react81.TabPanelsProps,
275
- TabProps: () => import_react81.TabProps,
276
- TableBodyProps: () => import_react79.TableBodyProps,
277
- TableCellProps: () => import_react79.TableCellProps,
278
- TableColumnHeaderProps: () => import_react79.TableColumnHeaderProps,
279
- TableHeadProps: () => import_react79.TableHeadProps,
280
- TableProps: () => import_react79.TableProps,
281
- TableRowProps: () => import_react79.TableRowProps,
282
- Tabs: () => import_react81.Tabs,
283
- TabsDescendantsProvider: () => import_react81.TabsDescendantsProvider,
284
- TabsProps: () => import_react81.TabsProps,
285
- TabsProvider: () => import_react81.TabsProvider,
286
- Tbody: () => import_react79.Tbody,
287
- Td: () => import_react79.Td,
288
- Text: () => import_react82.Text,
289
- TextProps: () => import_react82.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: () => import_react79.Th,
292
- Thead: () => import_react79.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: () => import_react79.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: () => import_react88.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: () => import_react100.UseDisclosureProps,
309
- UseImageProps: () => import_react88.UseImageProps,
310
- UseImageReturn: () => import_react88.UseImageReturn,
311
- UseMediaQueryOptions: () => import_react88.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: () => import_react88.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: () => import_react81.UseTabListProps,
322
- UseTabListReturn: () => import_react81.UseTabListReturn,
323
- UseTabOptions: () => import_react81.UseTabOptions,
324
- UseTabPanelsProps: () => import_react81.UseTabPanelsProps,
325
- UseTabProps: () => import_react81.UseTabProps,
326
- UseTabsProps: () => import_react81.UseTabsProps,
327
- UseTabsReturn: () => import_react81.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: () => import_react88.VisuallyHidden,
331
- VisuallyHiddenInput: () => import_react88.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: () => import_react101.extendTheme,
339
- forwardRef: () => import_react101.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: () => import_react100.useBoolean,
350
- useBreakpoint: () => import_react88.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: () => import_react100.useClipboard,
354
- useColorMode: () => import_react100.useColorMode,
355
- useColorModePreference: () => import_react88.useColorModePreference,
356
- useColorModeValue: () => import_react100.useColorModeValue,
357
- useConst: () => import_react100.useConst,
358
- useControllableProp: () => import_react100.useControllableProp,
359
- useControllableState: () => import_react100.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: () => import_react100.useDimensions,
362
- useDisclosure: () => import_react100.useDisclosure,
365
+ useDimensions: () => import_react101.useDimensions,
366
+ useDisclosure: () => import_react101.useDisclosure,
363
367
  useDrawerContext: () => import_react54.useDrawerContext,
364
368
  useFetcher: () => useFetcher,
365
- useImage: () => import_react88.useImage,
369
+ useImage: () => import_react89.useImage,
366
370
  useInternalUI: () => useInternalUI,
367
- useMergeRefs: () => import_react100.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: () => import_react100.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: () => import_react88.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: () => import_react88.useSteps,
381
- useTab: () => import_react81.useTab,
382
- useTabIndicator: () => import_react81.useTabIndicator,
383
- useTabList: () => import_react81.useTabList,
384
- useTabPanel: () => import_react81.useTabPanel,
385
- useTabPanels: () => import_react81.useTabPanels,
386
- useTabs: () => import_react81.useTabs,
387
- useTabsContext: () => import_react81.useTabsContext,
388
- useTabsDescendant: () => import_react81.useTabsDescendant,
389
- useTabsDescendants: () => import_react81.useTabsDescendants,
390
- useTabsDescendantsContext: () => import_react81.useTabsDescendantsContext,
391
- useTabsStyles: () => import_react81.useTabsStyles,
392
- useTheme: () => import_react100.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: () => import_react100.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%", minH: 400, w: "full", ...container, children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(import_react28.Table, { ...styles == null ? void 0 : styles.table, "data-loading": "true", children: [
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: "gray.50", endColor: "gray.100", h: "30px", w: "100%" }, i) }, i)) }, num)) })
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)(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, { bg: (0, import_react28.useColorModeValue)("initial", "ebony-clay.700"), ...styles == null ? void 0 : styles.tableRow, children: headerGroup.headers.map((header, index) => {
1426
- var _a;
1427
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1428
- import_react28.Th,
1429
- {
1430
- colSpan: header.colSpan,
1431
- sx: getCommonPinningStyles(header.column),
1432
- width: `${header.getSize() + (index === 0 || index === headerGroup.headers.length - 1 ? 16 : 0)}px`,
1433
- ...styles == null ? void 0 : styles.tableColumnHeader,
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
- backgroundColor: "white",
1438
- height: "100%",
1439
- "data-test-id": `CT_Container_TableHeader_${header.id}`,
1440
- textTransform: "capitalize",
1441
- userSelect: "none",
1442
- align: "center",
1443
- gap: 2,
1444
- children: [
1445
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react28.Text, { children: (0, import_react_table.flexRender)(header.column.columnDef.header, header.getContext()) }),
1446
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
1447
- import_react28.Box,
1448
- {
1449
- as: "span",
1450
- cursor: header.column.getCanSort() ? "pointer" : "default",
1451
- "data-test-id": `CT_Container_SortingIcon_${header.id}`,
1452
- onClick: header.column.getToggleSortingHandler(),
1453
- children: (_a = header.column.getCanSort() && {
1454
- asc: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.ChevronUpIcon, { h: 4, w: 4, color: "neutral.500" }),
1455
- desc: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.ChevronDownIcon, { h: 4, w: 4, color: "neutral.500" })
1456
- }[header.column.getIsSorted()]) != null ? _a : /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_icons2.UpDownIcon, { h: 4, w: 4, color: "neutral.500" })
1457
- }
1458
- )
1459
- ]
1460
- }
1461
- )
1462
- },
1463
- header.id
1464
- );
1465
- }) }, headerGroup.id)) }),
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,30 +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 { children, bg = "neutral.700", textStyle = "text.sm", color = "white", width, rounded = 4 } = props;
2851
- const content = /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
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
  {
2854
2873
  "data-test-id": "",
2855
2874
  border: "none",
2856
2875
  bg,
2857
- rounded,
2858
- ml: 1,
2859
2876
  textStyle,
2860
2877
  width,
2861
2878
  placeItems: "center",
2862
- borderRadius: props.borderRadius,
2863
- onClick: (e) => e.stopPropagation(),
2879
+ borderRadius,
2880
+ onClick: (e) => {
2881
+ e.stopPropagation();
2882
+ onClose();
2883
+ },
2864
2884
  children: [
2865
2885
  props.hasArrow && /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverArrow, { color, bg, shadow: "none" }),
2866
- /* @__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 })
2867
2887
  ]
2868
2888
  }
2869
2889
  );
2870
- return props.isInteractive === true ? /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(import_react44.Popover, { trigger: "hover", placement: props.placement, ...props.popoverProps, children: [
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: [
2871
2891
  /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.PopoverTrigger, { children }),
2872
- props.portal ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_react44.Portal, { children: content }) : content
2873
- ] }) : /* @__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 });
2874
2894
  };
2875
2895
 
2876
2896
  // src/components/header/components/profile.tsx
@@ -2936,18 +2956,19 @@ var Profile = ({
2936
2956
  ] }),
2937
2957
  textAlign: "left",
2938
2958
  placement: "bottom-end",
2959
+ cursor: "text",
2960
+ portal: true,
2939
2961
  popoverProps: {
2940
2962
  offset: [10, 8]
2941
2963
  },
2942
2964
  width: 300,
2943
2965
  ...officeContainer,
2944
- children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react45.Box, { display: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2966
+ children: /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_react45.Box, { ml: 1, children: /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
2945
2967
  badge_default,
2946
2968
  {
2947
- ml: "1",
2948
- pill: true,
2969
+ rounded: "full",
2949
2970
  variant: "neutral-light",
2950
- boxSize: "4.5",
2971
+ boxSize: "5",
2951
2972
  justifyContent: "center",
2952
2973
  p: "0.5",
2953
2974
  ...badgeStyle,
@@ -3696,7 +3717,9 @@ var Rating = ({ value }) => {
3696
3717
  var rating_default = Rating;
3697
3718
 
3698
3719
  // src/components/select/components/select.tsx
3720
+ var import_react73 = require("@chakra-ui/react");
3699
3721
  var import_system7 = require("@chakra-ui/system");
3722
+ var Icon7 = __toESM(require("@ctlyst.id/internal-icon"));
3700
3723
  var import_react_select = __toESM(require("react-select"));
3701
3724
 
3702
3725
  // src/config/theme/foundations/shadows.ts
@@ -4004,10 +4027,10 @@ function selectStyles(colorMode, _isError) {
4004
4027
  return { ...base, ...selectStyle };
4005
4028
  },
4006
4029
  dropdownIndicator: (base) => {
4007
- return { ...base, ...selectStyle };
4030
+ return { ...base, ...selectStyle, color: "var(--chakra-colors-neutral-400)" };
4008
4031
  },
4009
4032
  indicatorSeparator: (base) => {
4010
- return { ...base, ...selectStyle };
4033
+ return { ...base, background: "var(--chakra-colors-neutral-400)", borderRadius: 10 };
4011
4034
  },
4012
4035
  placeholder: (base) => {
4013
4036
  return { ...base, ...selectStyle, color: "var(--chakra-colors-black-low)" };
@@ -4022,13 +4045,15 @@ function selectStyles(colorMode, _isError) {
4022
4045
  multiValueLabel: (base) => ({
4023
4046
  ...base,
4024
4047
  borderRadius: 4,
4025
- fontWeight: "bold"
4048
+ fontWeight: "bold",
4049
+ padding: 0,
4050
+ paddingLeft: 0
4026
4051
  }),
4027
4052
  multiValueRemove: (base) => ({
4028
4053
  ...base,
4029
4054
  color: "var(--chakra-colors-neutral-900)",
4030
4055
  ":hover": {
4031
- backgroundColor: "var(--chakra-colors-neutral-300)"
4056
+ backgroundColor: "transparent"
4032
4057
  }
4033
4058
  })
4034
4059
  };
@@ -4048,19 +4073,40 @@ var themeSelect = (theme5) => {
4048
4073
 
4049
4074
  // src/components/select/components/select.tsx
4050
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
+ }
4051
4089
  function Select2({
4052
4090
  styles,
4053
4091
  isError = false,
4054
4092
  ...rest
4055
4093
  }) {
4056
4094
  const { colorMode } = (0, import_system7.useColorMode)();
4095
+ const { components } = rest;
4057
4096
  return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
4058
4097
  import_react_select.default,
4059
4098
  {
4060
4099
  classNamePrefix: "react-select",
4061
- ...rest,
4100
+ components: {
4101
+ DropdownIndicator,
4102
+ ClearIndicator,
4103
+ MultiValue,
4104
+ MultiValueRemove,
4105
+ ...components
4106
+ },
4062
4107
  styles: { ...selectStyles(colorMode, isError) },
4063
- theme: themeSelect
4108
+ theme: themeSelect,
4109
+ ...rest
4064
4110
  }
4065
4111
  );
4066
4112
  }
@@ -4080,6 +4126,10 @@ function SelectAsync({
4080
4126
  import_react_select_async_paginate.AsyncPaginate,
4081
4127
  {
4082
4128
  classNamePrefix: "react-select",
4129
+ components: {
4130
+ DropdownIndicator,
4131
+ ClearIndicator
4132
+ },
4083
4133
  ...rest,
4084
4134
  styles: { ...selectStyles(colorMode, isError), ...styles },
4085
4135
  theme: themeSelect
@@ -4098,6 +4148,10 @@ function SelectAsyncCreatable({ styles, isError = false, ...rest }) {
4098
4148
  import_async_creatable.default,
4099
4149
  {
4100
4150
  classNamePrefix: "react-select",
4151
+ components: {
4152
+ DropdownIndicator,
4153
+ ClearIndicator
4154
+ },
4101
4155
  ...rest,
4102
4156
  styles: { ...selectStyles(colorMode, isError), ...styles },
4103
4157
  theme: themeSelect
@@ -4115,6 +4169,10 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
4115
4169
  import_creatable.default,
4116
4170
  {
4117
4171
  classNamePrefix: "react-select",
4172
+ components: {
4173
+ DropdownIndicator,
4174
+ ClearIndicator
4175
+ },
4118
4176
  ...rest,
4119
4177
  styles: { ...selectStyles(colorMode, isError), ...styles },
4120
4178
  theme: themeSelect
@@ -4123,7 +4181,7 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
4123
4181
  }
4124
4182
 
4125
4183
  // src/components/select/components/select-with-checkbox.tsx
4126
- var import_react73 = require("@chakra-ui/react");
4184
+ var import_react74 = require("@chakra-ui/react");
4127
4185
  var import_system11 = require("@chakra-ui/system");
4128
4186
  var import_react_select2 = __toESM(require("react-select"));
4129
4187
  var import_jsx_runtime57 = require("react/jsx-runtime");
@@ -4186,7 +4244,7 @@ var InputOption = ({
4186
4244
  innerProps: props,
4187
4245
  ...rest,
4188
4246
  children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
4189
- import_react73.Flex,
4247
+ import_react74.Flex,
4190
4248
  {
4191
4249
  alignItems: "center",
4192
4250
  width: "100%",
@@ -4196,15 +4254,15 @@ var InputOption = ({
4196
4254
  cursor: isDisabled ? "not-allowed" : "default",
4197
4255
  children: [
4198
4256
  (data == null ? void 0 : data.selectAllCheckbox) ? /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4199
- import_react73.Checkbox,
4257
+ import_react74.Checkbox,
4200
4258
  {
4201
4259
  isChecked: checkedState === CHECKBOX_STATE.CHECKED,
4202
4260
  isIndeterminate: checkedState === CHECKBOX_STATE.INDETERMINATE,
4203
4261
  isDisabled,
4204
4262
  "data-test-id": "CT_component_select-checkbox_select-all-option"
4205
4263
  }
4206
- ) : /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react73.Checkbox, { isChecked: isSelected, "data-test-id": "CT_component_select-checkbox_option-checkbox" }),
4207
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_react73.Text, { textStyle: "text.sm", "data-test-id": `select-checkbox-option-label-${data.value}`, children })
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 })
4208
4266
  ]
4209
4267
  }
4210
4268
  )
@@ -4237,7 +4295,7 @@ var SelectWithCheckboxBase = ({
4237
4295
  );
4238
4296
  };
4239
4297
  var SelectCheckbox = (props) => {
4240
- const { isMulti, options, value, ...rest } = props;
4298
+ const { isMulti, options, value, components, ...rest } = props;
4241
4299
  const selectValue = value || [];
4242
4300
  return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4243
4301
  SelectWithCheckboxBase,
@@ -4245,6 +4303,11 @@ var SelectCheckbox = (props) => {
4245
4303
  isMulti,
4246
4304
  options,
4247
4305
  components: {
4306
+ DropdownIndicator,
4307
+ ClearIndicator,
4308
+ MultiValue,
4309
+ MultiValueRemove,
4310
+ ...components,
4248
4311
  Option: (optionProps) => {
4249
4312
  const { isSelected, data } = optionProps;
4250
4313
  const optionLength = (options == null ? void 0 : options.length) ? options.length - 1 : 0;
@@ -4260,13 +4323,13 @@ var SelectCheckbox = (props) => {
4260
4323
  var select_with_checkbox_default = SelectCheckbox;
4261
4324
 
4262
4325
  // src/components/sidebar/components/sidebar.tsx
4263
- var import_react74 = require("@chakra-ui/react");
4326
+ var import_react75 = require("@chakra-ui/react");
4264
4327
  var import_framer_motion = require("framer-motion");
4265
4328
  var import_jsx_runtime58 = require("react/jsx-runtime");
4266
4329
  var Sidebar = ({ isCollapse, children, ...props }) => {
4267
4330
  const { width = "220px" } = props;
4268
4331
  return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4269
- import_react74.Flex,
4332
+ import_react75.Flex,
4270
4333
  {
4271
4334
  position: "relative",
4272
4335
  as: import_framer_motion.motion.div,
@@ -4286,13 +4349,13 @@ var Sidebar = ({ isCollapse, children, ...props }) => {
4286
4349
  Sidebar.displayName = "Sidebar";
4287
4350
 
4288
4351
  // src/components/sidebar/components/sidebar-header.tsx
4289
- var import_react75 = require("@chakra-ui/react");
4352
+ var import_react76 = require("@chakra-ui/react");
4290
4353
  var import_internal_icon8 = require("@ctlyst.id/internal-icon");
4291
4354
  var import_framer_motion2 = require("framer-motion");
4292
4355
  var import_jsx_runtime59 = require("react/jsx-runtime");
4293
4356
  var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
4294
4357
  return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4295
- import_react75.Box,
4358
+ import_react76.Box,
4296
4359
  {
4297
4360
  px: "2",
4298
4361
  color: "neutral.900",
@@ -4302,7 +4365,7 @@ var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
4302
4365
  color: "primary.500"
4303
4366
  },
4304
4367
  children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4305
- import_react75.Flex,
4368
+ import_react76.Flex,
4306
4369
  {
4307
4370
  "data-test-id": "nLkz69YipW818FioeAxVI",
4308
4371
  direction: "row",
@@ -4312,7 +4375,7 @@ var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
4312
4375
  cursor: "pointer",
4313
4376
  children: [
4314
4377
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4315
- import_react75.Box,
4378
+ import_react76.Box,
4316
4379
  {
4317
4380
  as: import_framer_motion2.motion.div,
4318
4381
  boxSize: "4",
@@ -4323,8 +4386,8 @@ var SidebarHeader = ({ isCollapse, setCollapse, title }) => {
4323
4386
  children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_internal_icon8.ArrowRight, { size: 4, color: "inherit" })
4324
4387
  }
4325
4388
  ),
4326
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_framer_motion2.AnimatePresence, { children: !isCollapse && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react75.Box, { h: "3.5", position: "relative", ml: "2", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
4327
- import_react75.Text,
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,
4328
4391
  {
4329
4392
  as: import_framer_motion2.motion.div,
4330
4393
  w: "max-content",
@@ -4350,25 +4413,25 @@ SidebarHeader.defaultProps = {
4350
4413
  };
4351
4414
 
4352
4415
  // src/components/sidebar/components/sidebar-menu.tsx
4353
- var import_react76 = require("@chakra-ui/react");
4354
- var Icon7 = __toESM(require("@ctlyst.id/internal-icon"));
4416
+ var import_react77 = require("@chakra-ui/react");
4417
+ var Icon8 = __toESM(require("@ctlyst.id/internal-icon"));
4355
4418
  var import_framer_motion3 = require("framer-motion");
4356
4419
  var import_jsx_runtime60 = require("react/jsx-runtime");
4357
4420
  var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, setActive, active }) => {
4358
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Box, { as: import_framer_motion3.motion.div, animate: { padding: isCollapse ? "8px 16px" : "8px" }, children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Accordion, { index: menu.findIndex((item) => item.children.some((child) => child.navLink === active)), children: menu.map((item) => {
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) => {
4359
4422
  const isActive = active == null ? void 0 : active.includes(item.navLink);
4360
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.AccordionItem, { mt: "4", children: ({ isExpanded }) => {
4423
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.AccordionItem, { mt: "4", children: ({ isExpanded }) => {
4361
4424
  const isOpenOptions = isCollapse || !isCollapse && !isExpanded;
4362
4425
  const noChild = !item.children.length;
4363
4426
  const offsetStyle = isCollapse ? noChild ? [-5, 16] : [-1, 16] : [-1, 8];
4364
4427
  return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
4365
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Popover, { trigger: "hover", placement: "right-start", offset: offsetStyle, children: ({ isOpen, onClose }) => {
4428
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Popover, { trigger: "hover", placement: "right-start", offset: offsetStyle, children: ({ isOpen, onClose }) => {
4366
4429
  const activeOption = isOpen ? "primary.50" : "white";
4367
4430
  const backgroundColor = isOpen && !isActive ? "primary.50" : "primary.100";
4368
4431
  const activeParent = isActive ? backgroundColor : activeOption;
4369
4432
  return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_jsx_runtime60.Fragment, { children: [
4370
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.PopoverTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4371
- import_react76.AccordionButton,
4433
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.PopoverTrigger, { children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4434
+ import_react77.AccordionButton,
4372
4435
  {
4373
4436
  "data-test-id": `CTA_button-accordion-${item.title}`,
4374
4437
  p: "0",
@@ -4385,9 +4448,9 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
4385
4448
  position: "relative",
4386
4449
  ...itemStyles,
4387
4450
  children: [
4388
- mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Box, { display: "flex", boxSize: "3", transition: "50ms linear", children: mappingIcon2.get(item.icon || "") }),
4451
+ mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { display: "flex", boxSize: "3", transition: "50ms linear", children: mappingIcon2.get(item.icon || "") }),
4389
4452
  !isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
4390
- import_react76.Box,
4453
+ import_react77.Box,
4391
4454
  {
4392
4455
  display: "flex",
4393
4456
  w: "full",
@@ -4400,15 +4463,15 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
4400
4463
  animate: { opacity: 1, x: 0 },
4401
4464
  exit: { opacity: 0, x: 16 },
4402
4465
  children: [
4403
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Box, { h: "3.5", position: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Text, { textStyle: "text.xs", w: "max-content", position: "absolute", children: item.title }) }),
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 }) }),
4404
4467
  !!item.children.length && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
4405
- import_react76.Box,
4468
+ import_react77.Box,
4406
4469
  {
4407
4470
  display: "flex",
4408
4471
  boxSize: "3",
4409
4472
  as: import_framer_motion3.motion.div,
4410
4473
  animate: { transform: isExpanded ? "rotate(-180deg)" : "rotate(0)" },
4411
- children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon7.ChevronDown, { size: 3 })
4474
+ children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(Icon8.ChevronDown, { size: 3 })
4412
4475
  }
4413
4476
  )
4414
4477
  ]
@@ -4421,12 +4484,12 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
4421
4484
  },
4422
4485
  item.id
4423
4486
  ) }, item.id),
4424
- isOpenOptions && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Portal, { children: item.children.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_react76.PopoverContent, { w: "176px", borderColor: "neutral.200", bg: "white", rounded: "sm", children: [
4425
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.PopoverHeader, { borderColor: "neutral.300", textStyle: "text.xs", p: "2", children: mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(import_react76.Box, { display: "flex", alignItems: "center", children: [
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: [
4426
4489
  mappingIcon2.get(item.icon || ""),
4427
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Box, { as: "span", ml: "2", children: item.title })
4490
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react77.Box, { as: "span", ml: "2", children: item.title })
4428
4491
  ] }) }),
4429
- !!item.children.length && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.PopoverBody, { pb: "1", px: "0", pt: "0", children: item.children.map((submenu) => /* @__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)(
4430
4493
  NavItem,
4431
4494
  {
4432
4495
  "data-test-id": `CTA_Sidebar-popover-item-${submenu.id}`,
@@ -4442,7 +4505,7 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
4442
4505
  },
4443
4506
  submenu.id
4444
4507
  )) })
4445
- ] }) : isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.PopoverContent, { w: "174px", borderColor: "neutral.200", bg: "white", rounded: "sm", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.PopoverBody, { py: "1", px: "0", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
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)(
4446
4509
  NavItem,
4447
4510
  {
4448
4511
  "data-test-id": `CTA_Sidebar-popover-item-${item.id}`,
@@ -4455,15 +4518,15 @@ var SidebarMenu = ({ menu, isCollapse, mappingIcon: mappingIcon2, itemStyles, se
4455
4518
  rounded: "none",
4456
4519
  ...itemStyles,
4457
4520
  children: [
4458
- mappingIcon2 && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Box, { display: "flex", boxSize: "3", transition: "50ms linear", children: mappingIcon2.get(item.icon || "") }),
4459
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Box, { h: "3.5", position: "relative", ml: "2", children: /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.Text, { textStyle: "text.xs", w: "max-content", position: "absolute", children: item.title }) })
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 }) })
4460
4523
  ]
4461
4524
  },
4462
4525
  item.id
4463
4526
  ) }) }) })
4464
4527
  ] });
4465
4528
  } }, item.id),
4466
- !isCollapse && /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react76.AccordionPanel, { mt: "1", p: "0", children: item.children.map((submenu) => /* @__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)(
4467
4530
  NavItem,
4468
4531
  {
4469
4532
  mt: "1",
@@ -4487,16 +4550,16 @@ SidebarMenu.defaultProps = {
4487
4550
  };
4488
4551
 
4489
4552
  // src/components/switch/components/switch.tsx
4490
- var import_react77 = require("@chakra-ui/react");
4553
+ var import_react78 = require("@chakra-ui/react");
4491
4554
  var import_shared_utils10 = require("@chakra-ui/shared-utils");
4492
4555
  var import_internal_icon9 = require("@ctlyst.id/internal-icon");
4493
- var import_react78 = require("react");
4556
+ var import_react79 = require("react");
4494
4557
  var import_jsx_runtime61 = require("react/jsx-runtime");
4495
- var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
4496
- const styles = (0, import_react77.useMultiStyleConfig)("Switch", props);
4497
- const { spacing: spacing2 = "0.5rem", children, ...ownProps } = (0, import_react77.omitThemingProps)(props);
4498
- const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = (0, import_react77.useCheckbox)(ownProps);
4499
- const containerStyles = (0, import_react78.useMemo)(
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)(
4500
4563
  () => ({
4501
4564
  display: "inline-block",
4502
4565
  position: "relative",
@@ -4506,7 +4569,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
4506
4569
  }),
4507
4570
  [styles.container]
4508
4571
  );
4509
- const trackStyles = (0, import_react78.useMemo)(
4572
+ const trackStyles = (0, import_react79.useMemo)(
4510
4573
  () => ({
4511
4574
  display: "inline-flex",
4512
4575
  flexShrink: 0,
@@ -4518,7 +4581,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
4518
4581
  }),
4519
4582
  [styles.track]
4520
4583
  );
4521
- const labelStyles = (0, import_react78.useMemo)(
4584
+ const labelStyles = (0, import_react79.useMemo)(
4522
4585
  () => ({
4523
4586
  userSelect: "none",
4524
4587
  marginStart: spacing2,
@@ -4535,7 +4598,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
4535
4598
  return iconSize[value];
4536
4599
  };
4537
4600
  return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
4538
- import_react77.chakra.label,
4601
+ import_react78.chakra.label,
4539
4602
  {
4540
4603
  ...getRootProps(),
4541
4604
  display: "flex",
@@ -4544,13 +4607,13 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
4544
4607
  __css: containerStyles,
4545
4608
  children: [
4546
4609
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)("input", { "data-test-id": "", className: "chakra-switch__input", ...getInputProps({}, ref) }),
4547
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_react77.chakra.span, { ...getCheckboxProps(), className: "chakra-switch__track", pos: "relative", __css: trackStyles, children: [
4548
- /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(import_react77.Flex, { gap: 1, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
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: [
4549
4612
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_internal_icon9.Check, { color: "white", size: getIconSize(props.size) }),
4550
4613
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(import_internal_icon9.Close, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
4551
4614
  ] }),
4552
4615
  /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4553
- import_react77.chakra.span,
4616
+ import_react78.chakra.span,
4554
4617
  {
4555
4618
  __css: styles.thumb,
4556
4619
  className: "chakra-switch__thumb",
@@ -4560,7 +4623,7 @@ var Switch = (0, import_react77.forwardRef)(function Switch2(props, ref) {
4560
4623
  )
4561
4624
  ] }),
4562
4625
  children && /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
4563
- import_react77.chakra.span,
4626
+ import_react78.chakra.span,
4564
4627
  {
4565
4628
  className: "chakra-switch__label",
4566
4629
  color: state.isDisabled ? "black.low" : "black.high",
@@ -4580,18 +4643,18 @@ Switch.defaultProps = {
4580
4643
  var switch_default = Switch;
4581
4644
 
4582
4645
  // src/components/table/index.tsx
4583
- var import_react79 = require("@chakra-ui/react");
4646
+ var import_react80 = require("@chakra-ui/react");
4584
4647
 
4585
4648
  // src/components/tabs/components/tab.tsx
4586
- var import_react80 = require("@chakra-ui/react");
4649
+ var import_react81 = require("@chakra-ui/react");
4587
4650
  var import_jsx_runtime62 = require("react/jsx-runtime");
4588
- var Tab = (0, import_react80.forwardRef)((props, ref) => {
4651
+ var Tab = (0, import_react81.forwardRef)((props, ref) => {
4589
4652
  var _a, _b;
4590
- const tabProps = (0, import_react80.useTab)({ ...props, ref });
4653
+ const tabProps = (0, import_react81.useTab)({ ...props, ref });
4591
4654
  const isSelected = !!tabProps["aria-selected"];
4592
- const styles = (0, import_react80.useMultiStyleConfig)("Tabs", tabProps);
4655
+ const styles = (0, import_react81.useMultiStyleConfig)("Tabs", tabProps);
4593
4656
  return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
4594
- import_react80.Button,
4657
+ import_react81.Button,
4595
4658
  {
4596
4659
  "data-test-id": props["data-test-id"],
4597
4660
  p: 4,
@@ -4616,7 +4679,7 @@ var Tab = (0, import_react80.forwardRef)((props, ref) => {
4616
4679
  },
4617
4680
  __css: styles.tab,
4618
4681
  ...tabProps,
4619
- children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_react80.Flex, { alignItems: "center", children: [
4682
+ children: /* @__PURE__ */ (0, import_jsx_runtime62.jsxs)(import_react81.Flex, { alignItems: "center", children: [
4620
4683
  (_a = props.leftAddon) == null ? void 0 : _a.call(props, { isSelected }),
4621
4684
  tabProps.children,
4622
4685
  (_b = props.rightAddon) == null ? void 0 : _b.call(props, { isSelected })
@@ -4627,21 +4690,21 @@ var Tab = (0, import_react80.forwardRef)((props, ref) => {
4627
4690
  var tab_default = Tab;
4628
4691
 
4629
4692
  // src/components/tabs/index.ts
4630
- var import_react81 = require("@chakra-ui/react");
4693
+ var import_react82 = require("@chakra-ui/react");
4631
4694
 
4632
4695
  // src/components/text/index.ts
4633
- var import_react82 = require("@chakra-ui/react");
4696
+ var import_react83 = require("@chakra-ui/react");
4634
4697
 
4635
4698
  // src/components/toast/components/toast.tsx
4636
- var import_react84 = require("@chakra-ui/react");
4699
+ var import_react85 = require("@chakra-ui/react");
4637
4700
  var import_react_toastify = require("react-toastify");
4638
4701
 
4639
4702
  // src/components/toast/components/styles.tsx
4640
- var import_react83 = require("@emotion/react");
4703
+ var import_react84 = require("@emotion/react");
4641
4704
  var import_jsx_runtime63 = require("react/jsx-runtime");
4642
4705
  var Styles2 = () => {
4643
4706
  return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
4644
- import_react83.Global,
4707
+ import_react84.Global,
4645
4708
  {
4646
4709
  styles: `
4647
4710
  .Toastify__toast-container {
@@ -4694,7 +4757,7 @@ var renderIcon = (icon, type) => {
4694
4757
  return icon;
4695
4758
  };
4696
4759
  var useToast = () => {
4697
- const [primary500, neutral500, info500, danger500, warning500, success500] = (0, import_react84.useToken)("colors", [
4760
+ const [primary500, neutral500, info500, danger500, warning500, success500] = (0, import_react85.useToken)("colors", [
4698
4761
  "primary.500",
4699
4762
  "neutral.500",
4700
4763
  "info.500",
@@ -4705,13 +4768,13 @@ var useToast = () => {
4705
4768
  const content = (icon, message, link) => {
4706
4769
  return /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_jsx_runtime64.Fragment, { children: [
4707
4770
  /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(styles_default2, {}),
4708
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_react84.Flex, { justifyContent: "space-between", alignItems: "center", gap: 4, children: [
4709
- /* @__PURE__ */ (0, import_jsx_runtime64.jsxs)(import_react84.Flex, { alignItems: "center", children: [
4710
- icon && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react84.chakra.span, { mr: 2, w: 4, h: 4, children: renderIcon(icon, "default") }),
4711
- /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(import_react84.chakra.span, { noOfLines: 2, children: message })
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 })
4712
4775
  ] }),
4713
4776
  link && /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
4714
- import_react84.Link,
4777
+ import_react85.Link,
4715
4778
  {
4716
4779
  href: link.url,
4717
4780
  textDecoration: "underline",
@@ -4789,9 +4852,9 @@ var useToast = () => {
4789
4852
  var import_react_toastify2 = require("react-toastify");
4790
4853
 
4791
4854
  // src/components/uploader/components/uploader.tsx
4792
- var import_react85 = require("@chakra-ui/react");
4855
+ var import_react86 = require("@chakra-ui/react");
4793
4856
  var import_internal_icon10 = require("@ctlyst.id/internal-icon");
4794
- var import_react86 = require("react");
4857
+ var import_react87 = require("react");
4795
4858
  var import_react_dropzone = require("react-dropzone");
4796
4859
 
4797
4860
  // src/components/uploader/constants.ts
@@ -4822,7 +4885,7 @@ var formatValidationMessage = (extension) => `Foto harus dalam format ${concatLi
4822
4885
 
4823
4886
  // src/components/uploader/components/uploader.tsx
4824
4887
  var import_jsx_runtime65 = require("react/jsx-runtime");
4825
- var import_react87 = require("react");
4888
+ var import_react88 = require("react");
4826
4889
  var Uploader = ({
4827
4890
  onHandleUploadFile,
4828
4891
  onHandleRejections,
@@ -4851,10 +4914,10 @@ var Uploader = ({
4851
4914
  size: size2 = "lg",
4852
4915
  ...props
4853
4916
  }) => {
4854
- const inputRef = (0, import_react86.useRef)(null);
4855
- const [filePreview, setFilePreview] = (0, import_react86.useState)();
4917
+ const inputRef = (0, import_react87.useRef)(null);
4918
+ const [filePreview, setFilePreview] = (0, import_react87.useState)();
4856
4919
  const toast2 = useToast();
4857
- const handleRejection = (0, import_react86.useCallback)(
4920
+ const handleRejection = (0, import_react87.useCallback)(
4858
4921
  (message, file, image) => {
4859
4922
  if (onHandleRejections) {
4860
4923
  onHandleRejections(file, image);
@@ -4866,7 +4929,7 @@ var Uploader = ({
4866
4929
  // eslint-disable-next-line react-hooks/exhaustive-deps
4867
4930
  [onHandleRejections]
4868
4931
  );
4869
- const onDrop = (0, import_react86.useCallback)(
4932
+ const onDrop = (0, import_react87.useCallback)(
4870
4933
  (files) => {
4871
4934
  var _a;
4872
4935
  const file = files[0];
@@ -4910,18 +4973,18 @@ var Uploader = ({
4910
4973
  });
4911
4974
  const renderHelperText = () => {
4912
4975
  if (Array.isArray(helperText)) {
4913
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.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_react85.ListItem, { children: text2 }, text2)) });
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)) });
4914
4977
  }
4915
4978
  return helperText;
4916
4979
  };
4917
- const renderErrorText = (text2) => /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.Box, { mb: 2, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.Text, { textStyle: "text.xs", color: "danger.500", children: text2 }) });
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 }) });
4918
4981
  const handleRemove = (e) => {
4919
4982
  e.stopPropagation();
4920
4983
  setFilePreview(void 0);
4921
4984
  onHandleUploadFile == null ? void 0 : onHandleUploadFile(null, null);
4922
4985
  acceptedFiles.pop();
4923
4986
  };
4924
- (0, import_react86.useEffect)(() => {
4987
+ (0, import_react87.useEffect)(() => {
4925
4988
  if (value) {
4926
4989
  if (typeof value === "string") {
4927
4990
  setFilePreview(value);
@@ -4937,16 +5000,16 @@ var Uploader = ({
4937
5000
  const color = isDisabled ? "neutral.500" : "primary.500";
4938
5001
  const containerHeight = !isSmall ? "160px" : "120px";
4939
5002
  const cursorType = filePreview ? "initial" : "pointer";
4940
- return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react85.FormControl, { isRequired, children: [
5003
+ return /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react86.FormControl, { isRequired, children: [
4941
5004
  label && typeof label === "string" ? (
4942
5005
  // eslint-disable-next-line react/jsx-no-useless-fragment
4943
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react85.FormLabel, { requiredIndicator: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_jsx_runtime65.Fragment, {}), fontSize: "text.sm", children: [
4944
- isRequired && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.RequiredIndicator, { mr: 1, ml: 0 }),
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 }),
4945
5008
  label
4946
5009
  ] })
4947
5010
  ) : label,
4948
5011
  /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(
4949
- import_react85.Flex,
5012
+ import_react86.Flex,
4950
5013
  {
4951
5014
  minH: containerHeight,
4952
5015
  maxW: !isSmall ? "full" : "120px",
@@ -4963,8 +5026,8 @@ var Uploader = ({
4963
5026
  ...props,
4964
5027
  ...getRootProps(),
4965
5028
  children: [
4966
- filePreview && isShowCloseButton && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.Box, { position: "absolute", top: 1, right: 1, children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4967
- import_react85.Button,
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,
4968
5031
  {
4969
5032
  "data-test-id": `CT_component_base-image-uploader_remove-image${testId ? `_${testId}` : ""}`,
4970
5033
  "aria-label": "remove-image",
@@ -4981,15 +5044,15 @@ var Uploader = ({
4981
5044
  children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_internal_icon10.Close, { size: 3, color: "white" })
4982
5045
  }
4983
5046
  ) }),
4984
- filePreview && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.Box, { w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4985
- import_react85.Flex,
5047
+ filePreview && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react86.Box, { w: "full", children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5048
+ import_react86.Flex,
4986
5049
  {
4987
5050
  position: "relative",
4988
5051
  "data-test-id": `CT_component_base-image-uploader_image-preview${testId ? `_${testId}` : ""}`,
4989
5052
  justify: "center",
4990
5053
  align: "center",
4991
5054
  children: /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
4992
- import_react85.Image,
5055
+ import_react86.Image,
4993
5056
  {
4994
5057
  h: size2 === "lg" ? "120" : "100",
4995
5058
  src: filePreview,
@@ -5007,11 +5070,11 @@ var Uploader = ({
5007
5070
  ...getInputProps()
5008
5071
  }
5009
5072
  ),
5010
- isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.Text, { children: dragActiveText != null ? dragActiveText : messages.dragActive }) : /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react85.Flex, { gap: 2, flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : color, children: [
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: [
5011
5074
  size2 === "sm" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_internal_icon10.Plus, { size: 6, color }),
5012
- /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react85.Box, { children: [
5075
+ /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react86.Box, { children: [
5013
5076
  !filePreview && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5014
- import_react85.Heading,
5077
+ import_react86.Heading,
5015
5078
  {
5016
5079
  fontWeight: "400",
5017
5080
  fontSize: size2 === "sm" ? "text.md" : "text.xl",
@@ -5020,15 +5083,15 @@ var Uploader = ({
5020
5083
  children: uploadFileText && size2 === "lg" ? messages.uploadFile : "Upload"
5021
5084
  }
5022
5085
  ),
5023
- size2 === "lg" && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(import_react85.Text, { fontSize: 12, children: filePreview ? dragReplaceText != null ? dragReplaceText : messages.dragReplace : dragInActiveText != null ? dragInActiveText : messages.dragInActive })
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 })
5024
5087
  ] })
5025
5088
  ] })
5026
5089
  ] })
5027
5090
  ]
5028
5091
  }
5029
5092
  ),
5030
- filePreview && !isSmall && /* @__PURE__ */ (0, import_jsx_runtime65.jsxs)(import_react85.Flex, { align: "center", justify: "center", my: 2, children: [
5031
- /* @__PURE__ */ (0, import_react87.createElement)(
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)(
5032
5095
  "input",
5033
5096
  {
5034
5097
  ...getInputProps(),
@@ -5039,7 +5102,7 @@ var Uploader = ({
5039
5102
  }
5040
5103
  ),
5041
5104
  isShowReupload && /* @__PURE__ */ (0, import_jsx_runtime65.jsx)(
5042
- import_react85.Button,
5105
+ import_react86.Button,
5043
5106
  {
5044
5107
  "data-test-id": `CT_component_base-image-uploader_change-img-btn${testId ? `_${testId}` : ""}`,
5045
5108
  type: "button",
@@ -5060,10 +5123,10 @@ var Uploader = ({
5060
5123
  var uploader_default = Uploader;
5061
5124
 
5062
5125
  // src/components/index.ts
5063
- var import_react88 = require("@chakra-ui/react");
5126
+ var import_react89 = require("@chakra-ui/react");
5064
5127
 
5065
5128
  // src/config/theme/themeConfiguration.ts
5066
- var import_react96 = require("@chakra-ui/react");
5129
+ var import_react97 = require("@chakra-ui/react");
5067
5130
 
5068
5131
  // src/config/theme/components/index.ts
5069
5132
  var components_exports = {};
@@ -5267,7 +5330,7 @@ var alertTheme = defineMultiStyleConfig2({
5267
5330
  var alert_default = alertTheme;
5268
5331
 
5269
5332
  // src/config/theme/components/badge.ts
5270
- var Badge2 = {
5333
+ var Badge3 = {
5271
5334
  baseStyle: {
5272
5335
  h: "fit-content",
5273
5336
  display: "inline-block",
@@ -5341,7 +5404,7 @@ var Badge2 = {
5341
5404
  variant: "primary-solid"
5342
5405
  }
5343
5406
  };
5344
- var badge_default2 = Badge2;
5407
+ var badge_default2 = Badge3;
5345
5408
 
5346
5409
  // src/config/theme/components/button.ts
5347
5410
  var import_styled_system3 = require("@chakra-ui/styled-system");
@@ -5620,8 +5683,8 @@ var card_default2 = CardStyle;
5620
5683
 
5621
5684
  // src/config/theme/components/checkbox.ts
5622
5685
  var import_anatomy3 = require("@chakra-ui/anatomy");
5623
- var import_react89 = require("@chakra-ui/react");
5624
- var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0, import_react89.createMultiStyleConfigHelpers)(import_anatomy3.checkboxAnatomy.keys);
5686
+ var import_react90 = require("@chakra-ui/react");
5687
+ var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0, import_react90.createMultiStyleConfigHelpers)(import_anatomy3.checkboxAnatomy.keys);
5625
5688
  var baseStyle3 = definePartsStyle3({
5626
5689
  control: {
5627
5690
  borderRadius: "sm",
@@ -5722,8 +5785,8 @@ var checkbox_default2 = Checkbox4;
5722
5785
 
5723
5786
  // src/config/theme/components/chips.ts
5724
5787
  var import_anatomy4 = require("@chakra-ui/anatomy");
5725
- var import_react90 = require("@chakra-ui/react");
5726
- var { definePartsStyle: definePartsStyle4, defineMultiStyleConfig: defineMultiStyleConfig4 } = (0, import_react90.createMultiStyleConfigHelpers)(import_anatomy4.tagAnatomy.keys);
5788
+ var import_react91 = require("@chakra-ui/react");
5789
+ var { definePartsStyle: definePartsStyle4, defineMultiStyleConfig: defineMultiStyleConfig4 } = (0, import_react91.createMultiStyleConfigHelpers)(import_anatomy4.tagAnatomy.keys);
5727
5790
  var baseStyle4 = definePartsStyle4({
5728
5791
  container: {
5729
5792
  px: 3,
@@ -5932,8 +5995,8 @@ var input_default = Input3;
5932
5995
 
5933
5996
  // src/config/theme/components/loader.ts
5934
5997
  var import_styled_system7 = require("@chakra-ui/styled-system");
5935
- var import_react91 = require("@emotion/react");
5936
- var rotate = (0, import_react91.keyframes)({
5998
+ var import_react92 = require("@emotion/react");
5999
+ var rotate = (0, import_react92.keyframes)({
5937
6000
  "0%": {
5938
6001
  transform: "rotate(0deg)"
5939
6002
  },
@@ -6115,8 +6178,8 @@ var modal_default = modalTheme;
6115
6178
 
6116
6179
  // src/config/theme/components/popover.ts
6117
6180
  var import_anatomy7 = require("@chakra-ui/anatomy");
6118
- var import_react92 = require("@chakra-ui/react");
6119
- var { definePartsStyle: definePartsStyle7, defineMultiStyleConfig: defineMultiStyleConfig7 } = (0, import_react92.createMultiStyleConfigHelpers)(import_anatomy7.popoverAnatomy.keys);
6181
+ var import_react93 = require("@chakra-ui/react");
6182
+ var { definePartsStyle: definePartsStyle7, defineMultiStyleConfig: defineMultiStyleConfig7 } = (0, import_react93.createMultiStyleConfigHelpers)(import_anatomy7.popoverAnatomy.keys);
6120
6183
  var baseStyle8 = definePartsStyle7({
6121
6184
  content: {
6122
6185
  bg: "white"
@@ -6127,8 +6190,8 @@ var popover_default = popoverTheme;
6127
6190
 
6128
6191
  // src/config/theme/components/radio.ts
6129
6192
  var import_anatomy8 = require("@chakra-ui/anatomy");
6130
- var import_react93 = require("@chakra-ui/react");
6131
- var { definePartsStyle: definePartsStyle8, defineMultiStyleConfig: defineMultiStyleConfig8 } = (0, import_react93.createMultiStyleConfigHelpers)(import_anatomy8.radioAnatomy.keys);
6193
+ var import_react94 = require("@chakra-ui/react");
6194
+ var { definePartsStyle: definePartsStyle8, defineMultiStyleConfig: defineMultiStyleConfig8 } = (0, import_react94.createMultiStyleConfigHelpers)(import_anatomy8.radioAnatomy.keys);
6132
6195
  var baseStyle9 = definePartsStyle8({
6133
6196
  control: {
6134
6197
  border: "1px solid",
@@ -6563,7 +6626,7 @@ var tabsTheme = defineMultiStyleConfig11({
6563
6626
  var tabs_default = tabsTheme;
6564
6627
 
6565
6628
  // src/config/theme/components/textarea.ts
6566
- var import_react94 = require("@chakra-ui/react");
6629
+ var import_react95 = require("@chakra-ui/react");
6567
6630
  var getProps = (props) => {
6568
6631
  const { isError, isSuccess, isDisabled } = props;
6569
6632
  let borderColor = "neutral.400";
@@ -6583,7 +6646,7 @@ var getProps = (props) => {
6583
6646
  borderColor
6584
6647
  };
6585
6648
  };
6586
- var outline3 = (0, import_react94.defineStyle)((props) => {
6649
+ var outline3 = (0, import_react95.defineStyle)((props) => {
6587
6650
  const { focusBorderColor, borderColor } = getProps(props);
6588
6651
  return {
6589
6652
  background: "white.high",
@@ -6627,7 +6690,7 @@ var outline3 = (0, import_react94.defineStyle)((props) => {
6627
6690
  }
6628
6691
  };
6629
6692
  });
6630
- var Textarea = (0, import_react94.defineStyleConfig)({
6693
+ var Textarea = (0, import_react95.defineStyleConfig)({
6631
6694
  variants: { outline: outline3 },
6632
6695
  defaultProps: {
6633
6696
  variant: "outline"
@@ -6636,15 +6699,15 @@ var Textarea = (0, import_react94.defineStyleConfig)({
6636
6699
  var textarea_default2 = Textarea;
6637
6700
 
6638
6701
  // src/config/theme/components/tooltip.ts
6639
- var import_react95 = require("@chakra-ui/react");
6640
- var $arrowBg = (0, import_react95.cssVar)("popper-arrow-bg");
6702
+ var import_react96 = require("@chakra-ui/react");
6703
+ var $arrowBg = (0, import_react96.cssVar)("popper-arrow-bg");
6641
6704
  var baseStyle12 = {
6642
6705
  bg: "neutral.700",
6643
6706
  textStyle: "text.sm",
6644
6707
  fontSize: "text.sm",
6645
6708
  [$arrowBg.variable]: "var(--chakra-colors-neutral-700)"
6646
6709
  };
6647
- var Tooltip2 = (0, import_react95.defineStyleConfig)({ baseStyle: baseStyle12 });
6710
+ var Tooltip2 = (0, import_react96.defineStyleConfig)({ baseStyle: baseStyle12 });
6648
6711
  var tooltip_default = Tooltip2;
6649
6712
 
6650
6713
  // src/config/theme/themeConfiguration.ts
@@ -6654,7 +6717,7 @@ var config = {
6654
6717
  useSystemColorMode: false
6655
6718
  };
6656
6719
  var getTheme = (foundations) => {
6657
- return (0, import_react96.extendTheme)({
6720
+ return (0, import_react97.extendTheme)({
6658
6721
  ...foundations,
6659
6722
  components: {
6660
6723
  ...components_exports
@@ -6671,7 +6734,7 @@ var getTheme = (foundations) => {
6671
6734
  config
6672
6735
  });
6673
6736
  };
6674
- var theme4 = (0, import_react96.extendTheme)({
6737
+ var theme4 = (0, import_react97.extendTheme)({
6675
6738
  components: {
6676
6739
  ...components_exports
6677
6740
  },
@@ -6691,23 +6754,23 @@ var theme4 = (0, import_react96.extendTheme)({
6691
6754
 
6692
6755
  // src/hooks/useFetcher.ts
6693
6756
  var import_axios2 = __toESM(require("axios"));
6694
- var import_react99 = require("react");
6757
+ var import_react100 = require("react");
6695
6758
 
6696
6759
  // src/provider/components/provider.tsx
6697
6760
  var import_axios = __toESM(require("axios"));
6698
- var import_react97 = require("react");
6761
+ var import_react98 = require("react");
6699
6762
  var import_react_toastify3 = require("react-toastify");
6700
6763
  var import_jsx_runtime66 = require("react/jsx-runtime");
6701
- var ProviderContext = (0, import_react97.createContext)({
6764
+ var ProviderContext = (0, import_react98.createContext)({
6702
6765
  instance: void 0
6703
6766
  });
6704
6767
  var useInternalUI = () => {
6705
- const { instance } = (0, import_react97.useContext)(ProviderContext);
6768
+ const { instance } = (0, import_react98.useContext)(ProviderContext);
6706
6769
  return { instance };
6707
6770
  };
6708
6771
  var Provider = ({ children, config: config2, requestInterceptors, responseInterceptors }) => {
6709
- const instanceRef = (0, import_react97.useRef)(import_axios.default.create(config2));
6710
- (0, import_react97.useEffect)(() => {
6772
+ const instanceRef = (0, import_react98.useRef)(import_axios.default.create(config2));
6773
+ (0, import_react98.useEffect)(() => {
6711
6774
  requestInterceptors == null ? void 0 : requestInterceptors.forEach((interceptor) => {
6712
6775
  instanceRef.current.interceptors.request.use(interceptor);
6713
6776
  });
@@ -6715,7 +6778,7 @@ var Provider = ({ children, config: config2, requestInterceptors, responseInterc
6715
6778
  instanceRef.current.interceptors.response.use(interceptor);
6716
6779
  });
6717
6780
  }, [requestInterceptors, responseInterceptors]);
6718
- const provider = (0, import_react97.useMemo)(() => ({ instance: instanceRef.current }), []);
6781
+ const provider = (0, import_react98.useMemo)(() => ({ instance: instanceRef.current }), []);
6719
6782
  return /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(ProviderContext.Provider, { value: provider, children: [
6720
6783
  /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(import_react_toastify3.ToastContainer, {}),
6721
6784
  children
@@ -6725,12 +6788,12 @@ Provider.displayName = "Provider";
6725
6788
  var provider_default = Provider;
6726
6789
 
6727
6790
  // src/provider/index.ts
6728
- var import_react98 = require("@chakra-ui/react");
6791
+ var import_react99 = require("@chakra-ui/react");
6729
6792
 
6730
6793
  // src/hooks/useFetcher.ts
6731
6794
  function useFetcher() {
6732
6795
  const { instance } = useInternalUI();
6733
- const axiosInstance = (0, import_react99.useMemo)(() => instance || import_axios2.default, [instance]);
6796
+ const axiosInstance = (0, import_react100.useMemo)(() => instance || import_axios2.default, [instance]);
6734
6797
  const fetcher = async ({ url, data, method, headers, ...config2 }) => {
6735
6798
  const response = await axiosInstance.request({
6736
6799
  data,
@@ -6750,10 +6813,10 @@ function useFetcher() {
6750
6813
  }
6751
6814
 
6752
6815
  // src/hooks/index.ts
6753
- var import_react100 = require("@chakra-ui/react");
6816
+ var import_react101 = require("@chakra-ui/react");
6754
6817
 
6755
6818
  // src/index.ts
6756
- var import_react101 = require("@chakra-ui/react");
6819
+ var import_react102 = require("@chakra-ui/react");
6757
6820
  // Annotate the CommonJS export names for ESM import in node:
6758
6821
  0 && (module.exports = {
6759
6822
  Accordion,
@@ -6811,6 +6874,7 @@ var import_react101 = require("@chakra-ui/react");
6811
6874
  CheckboxIconProps,
6812
6875
  CheckboxState,
6813
6876
  Chips,
6877
+ ClearIndicator,
6814
6878
  CloseButton,
6815
6879
  CloseButtonProps,
6816
6880
  Code,
@@ -6838,6 +6902,7 @@ var import_react101 = require("@chakra-ui/react");
6838
6902
  DrawerHeader,
6839
6903
  DrawerOverlay,
6840
6904
  DrawerProps,
6905
+ DropdownIndicator,
6841
6906
  EmptyState,
6842
6907
  Fade,
6843
6908
  FadeProps,
@@ -6911,6 +6976,8 @@ var import_react101 = require("@chakra-ui/react");
6911
6976
  ModalOverlayProps,
6912
6977
  ModalProps,
6913
6978
  MultiDatePickerMonth,
6979
+ MultiValue,
6980
+ MultiValueRemove,
6914
6981
  NavItem,
6915
6982
  Navbar,
6916
6983
  NavigationBar,