@ctlyst.id/internal-ui 2.1.19 → 2.2.0

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_react83.Avatar,
63
- AvatarBadge: () => import_react83.AvatarBadge,
64
- AvatarBadgeProps: () => import_react83.AvatarBadgeProps,
65
- AvatarGroup: () => import_react83.AvatarGroup,
66
- AvatarGroupProps: () => import_react83.AvatarGroupProps,
67
- AvatarProps: () => import_react83.AvatarProps,
62
+ Avatar: () => import_react84.Avatar,
63
+ AvatarBadge: () => import_react84.AvatarBadge,
64
+ AvatarBadgeProps: () => import_react84.AvatarBadgeProps,
65
+ AvatarGroup: () => import_react84.AvatarGroup,
66
+ AvatarGroupProps: () => import_react84.AvatarGroupProps,
67
+ AvatarProps: () => import_react84.AvatarProps,
68
68
  Badge: () => badge_default,
69
69
  Box: () => import_react47.Box,
70
70
  BoxProps: () => import_react47.BoxProps,
@@ -72,11 +72,12 @@ __export(src_exports, {
72
72
  Button: () => button_default,
73
73
  ButtonGroup: () => import_react9.ButtonGroup,
74
74
  ButtonGroupProps: () => import_react9.ButtonGroupProps,
75
+ CHECKBOX_STATE: () => CHECKBOX_STATE,
75
76
  Card: () => card_default,
76
77
  Center: () => import_react47.Center,
77
- ChakraProvider: () => import_react91.ChakraProvider,
78
- ChakraProviderProps: () => import_react91.ChakraProviderProps,
79
- ChakraTable: () => import_react77.Table,
78
+ ChakraProvider: () => import_react93.ChakraProvider,
79
+ ChakraProviderProps: () => import_react93.ChakraProviderProps,
80
+ ChakraTable: () => import_react78.Table,
80
81
  Checkbox: () => checkbox_default,
81
82
  CheckboxGroup: () => checkbox_group_default,
82
83
  CheckboxGroupContext: () => import_react16.CheckboxGroupContext,
@@ -87,13 +88,13 @@ __export(src_exports, {
87
88
  Chips: () => chips_default,
88
89
  CloseButton: () => import_react9.CloseButton,
89
90
  CloseButtonProps: () => import_react9.CloseButtonProps,
90
- Code: () => import_react80.Code,
91
- CodeProps: () => import_react80.CodeProps,
92
- Collapse: () => import_react83.Collapse,
93
- CollapseProps: () => import_react83.CollapseProps,
94
- ColorMode: () => import_react91.ColorMode,
95
- ColorModeScript: () => import_react91.ColorModeScript,
96
- ColorModeScriptProps: () => import_react91.ColorModeScriptProps,
91
+ Code: () => import_react81.Code,
92
+ CodeProps: () => import_react81.CodeProps,
93
+ Collapse: () => import_react84.Collapse,
94
+ CollapseProps: () => import_react84.CollapseProps,
95
+ ColorMode: () => import_react93.ColorMode,
96
+ ColorModeScript: () => import_react93.ColorModeScript,
97
+ ColorModeScriptProps: () => import_react93.ColorModeScriptProps,
97
98
  Container: () => import_react47.Container,
98
99
  ContainerProps: () => import_react47.ContainerProps,
99
100
  Counter: () => counter_default,
@@ -112,8 +113,8 @@ __export(src_exports, {
112
113
  DrawerHeader: () => import_react58.ModalHeader,
113
114
  DrawerOverlay: () => import_react58.ModalOverlay,
114
115
  DrawerProps: () => import_react58.DrawerProps,
115
- Fade: () => import_react83.Fade,
116
- FadeProps: () => import_react83.FadeProps,
116
+ Fade: () => import_react84.Fade,
117
+ FadeProps: () => import_react84.FadeProps,
117
118
  Field: () => field_default,
118
119
  Flex: () => import_react47.Flex,
119
120
  FlexProps: () => import_react47.FlexProps,
@@ -129,18 +130,18 @@ __export(src_exports, {
129
130
  GridProps: () => import_react47.GridProps,
130
131
  HStack: () => import_react47.HStack,
131
132
  Header: () => header_default,
132
- Heading: () => import_react80.Heading,
133
- HeadingProps: () => import_react80.HeadingProps,
134
- Hide: () => import_react83.Hide,
135
- HideProps: () => import_react83.HideProps,
133
+ Heading: () => import_react81.Heading,
134
+ HeadingProps: () => import_react81.HeadingProps,
135
+ Hide: () => import_react84.Hide,
136
+ HideProps: () => import_react84.HideProps,
136
137
  Icon: () => import_react46.Icon,
137
138
  IconButton: () => import_react9.IconButton,
138
139
  IconButtonProps: () => import_react9.IconButtonProps,
139
140
  IconProps: () => import_react46.IconProps,
140
141
  Image: () => import_react46.Image,
141
142
  ImageProps: () => import_react46.ImageProps,
142
- Img: () => import_react83.Img,
143
- ImgProps: () => import_react83.ImgProps,
143
+ Img: () => import_react84.Img,
144
+ ImgProps: () => import_react84.ImgProps,
144
145
  InputAddonLeft: () => InputAddonLeft,
145
146
  InputAddonRight: () => InputAddonRight,
146
147
  InputElementLeft: () => import_react20.InputLeftElement,
@@ -157,8 +158,8 @@ __export(src_exports, {
157
158
  InputRightAddonProps: () => import_react26.InputRightAddonProps,
158
159
  InputRightElement: () => import_react26.InputRightElement,
159
160
  InputRightElementProps: () => import_react26.InputRightElementProps,
160
- Link: () => import_react80.Link,
161
- LinkProps: () => import_react80.LinkProps,
161
+ Link: () => import_react81.Link,
162
+ LinkProps: () => import_react81.LinkProps,
162
163
  List: () => import_react48.List,
163
164
  ListIcon: () => import_react48.ListIcon,
164
165
  ListItem: () => import_react48.ListItem,
@@ -213,101 +214,103 @@ __export(src_exports, {
213
214
  Rating: () => rating_default,
214
215
  RequiredIndicator: () => import_react26.RequiredIndicator,
215
216
  RequiredIndicatorProps: () => import_react26.RequiredIndicatorProps,
216
- ScaleFade: () => import_react83.ScaleFade,
217
- ScaleFadeProps: () => import_react83.ScaleFadeProps,
217
+ ScaleFade: () => import_react84.ScaleFade,
218
+ ScaleFadeProps: () => import_react84.ScaleFadeProps,
218
219
  Select: () => select_default,
219
220
  SelectAsync: () => select_async_default,
220
221
  SelectAsyncCreatable: () => SelectAsyncCreatable,
222
+ SelectCheckBox: () => select_with_checkbox_default,
221
223
  SelectCreatable: () => SelectCreatable,
222
- Show: () => import_react83.Show,
223
- ShowProps: () => import_react83.ShowProps,
224
+ Show: () => import_react84.Show,
225
+ ShowProps: () => import_react84.ShowProps,
224
226
  SimpleGrid: () => import_react47.SimpleGrid,
225
227
  Skeleton: () => import_react5.Skeleton,
226
- Slide: () => import_react83.Slide,
227
- SlideFade: () => import_react83.SlideFade,
228
- SlideFadeProps: () => import_react83.SlideFadeProps,
229
- SlideProps: () => import_react83.SlideProps,
228
+ Slide: () => import_react84.Slide,
229
+ SlideFade: () => import_react84.SlideFade,
230
+ SlideFadeProps: () => import_react84.SlideFadeProps,
231
+ SlideProps: () => import_react84.SlideProps,
230
232
  Spacer: () => import_react47.Spacer,
231
233
  Stack: () => import_react47.Stack,
232
234
  StackProps: () => import_react47.StackProps,
233
- Step: () => import_react83.Step,
234
- StepDescription: () => import_react83.StepDescription,
235
- StepIcon: () => import_react83.StepIcon,
236
- StepIndicator: () => import_react83.StepIndicator,
237
- StepNumber: () => import_react83.StepNumber,
238
- StepSeparator: () => import_react83.StepSeparator,
239
- StepStatus: () => import_react83.StepStatus,
240
- StepTitle: () => import_react83.StepTitle,
241
- Stepper: () => import_react83.Stepper,
235
+ Step: () => import_react84.Step,
236
+ StepDescription: () => import_react84.StepDescription,
237
+ StepIcon: () => import_react84.StepIcon,
238
+ StepIndicator: () => import_react84.StepIndicator,
239
+ StepNumber: () => import_react84.StepNumber,
240
+ StepSeparator: () => import_react84.StepSeparator,
241
+ StepStatus: () => import_react84.StepStatus,
242
+ StepTitle: () => import_react84.StepTitle,
243
+ Stepper: () => import_react84.Stepper,
242
244
  Switch: () => switch_default,
243
245
  Tab: () => tab_default,
244
- TabIndicator: () => import_react79.TabIndicator,
245
- TabIndicatorProps: () => import_react79.TabIndicatorProps,
246
- TabList: () => import_react79.TabList,
247
- TabListProps: () => import_react79.TabListProps,
248
- TabPanel: () => import_react79.TabPanel,
249
- TabPanelProps: () => import_react79.TabPanelProps,
250
- TabPanels: () => import_react79.TabPanels,
251
- TabPanelsProps: () => import_react79.TabPanelsProps,
252
- TabProps: () => import_react79.TabProps,
253
- TableBodyProps: () => import_react77.TableBodyProps,
254
- TableCellProps: () => import_react77.TableCellProps,
255
- TableColumnHeaderProps: () => import_react77.TableColumnHeaderProps,
256
- TableHeadProps: () => import_react77.TableHeadProps,
257
- TableProps: () => import_react77.TableProps,
258
- TableRowProps: () => import_react77.TableRowProps,
259
- Tabs: () => import_react79.Tabs,
260
- TabsDescendantsProvider: () => import_react79.TabsDescendantsProvider,
261
- TabsProps: () => import_react79.TabsProps,
262
- TabsProvider: () => import_react79.TabsProvider,
263
- Tbody: () => import_react77.Tbody,
264
- Td: () => import_react77.Td,
265
- Text: () => import_react80.Text,
266
- TextProps: () => import_react80.TextProps,
246
+ TabIndicator: () => import_react80.TabIndicator,
247
+ TabIndicatorProps: () => import_react80.TabIndicatorProps,
248
+ TabList: () => import_react80.TabList,
249
+ TabListProps: () => import_react80.TabListProps,
250
+ TabPanel: () => import_react80.TabPanel,
251
+ TabPanelProps: () => import_react80.TabPanelProps,
252
+ TabPanels: () => import_react80.TabPanels,
253
+ TabPanelsProps: () => import_react80.TabPanelsProps,
254
+ TabProps: () => import_react80.TabProps,
255
+ TableBodyProps: () => import_react78.TableBodyProps,
256
+ TableCellProps: () => import_react78.TableCellProps,
257
+ TableColumnHeaderProps: () => import_react78.TableColumnHeaderProps,
258
+ TableHeadProps: () => import_react78.TableHeadProps,
259
+ TableProps: () => import_react78.TableProps,
260
+ TableRowProps: () => import_react78.TableRowProps,
261
+ Tabs: () => import_react80.Tabs,
262
+ TabsDescendantsProvider: () => import_react80.TabsDescendantsProvider,
263
+ TabsProps: () => import_react80.TabsProps,
264
+ TabsProvider: () => import_react80.TabsProvider,
265
+ Tbody: () => import_react78.Tbody,
266
+ Td: () => import_react78.Td,
267
+ Text: () => import_react81.Text,
268
+ TextProps: () => import_react81.TextProps,
267
269
  TextareaField: () => textarea_default,
268
- Th: () => import_react77.Th,
269
- Thead: () => import_react77.Thead,
270
+ Th: () => import_react78.Th,
271
+ Thead: () => import_react78.Thead,
270
272
  ThemeTypings: () => import_styled_system13.ThemeTypings,
271
- Tooltip: () => import_react81.Tooltip,
272
- TooltipProps: () => import_react81.TooltipProps,
273
- Tr: () => import_react77.Tr,
273
+ Tooltip: () => import_react82.Tooltip,
274
+ TooltipProps: () => import_react82.TooltipProps,
275
+ Tr: () => import_react78.Tr,
274
276
  UnorderedList: () => import_react48.UnorderedList,
275
277
  Uploader: () => uploader_default,
276
278
  UseAccordionItemProps: () => import_react3.UseAccordionItemProps,
277
279
  UseAccordionItemReturn: () => import_react3.UseAccordionItemReturn,
278
280
  UseAccordionProps: () => import_react3.UseAccordionProps,
279
281
  UseAccordionReturn: () => import_react3.UseAccordionReturn,
280
- UseBreakpointOptions: () => import_react83.UseBreakpointOptions,
282
+ UseBreakpointOptions: () => import_react84.UseBreakpointOptions,
281
283
  UseCheckboxGroupProps: () => import_react16.UseCheckboxGroupProps,
282
284
  UseCheckboxGroupReturn: () => import_react16.UseCheckboxGroupReturn,
283
285
  UseCheckboxProps: () => import_react16.UseCheckboxProps,
284
286
  UseCheckboxReturn: () => import_react16.UseCheckboxReturn,
285
- UseDisclosureProps: () => import_react93.UseDisclosureProps,
286
- UseImageProps: () => import_react83.UseImageProps,
287
- UseImageReturn: () => import_react83.UseImageReturn,
288
- UseMediaQueryOptions: () => import_react83.UseMediaQueryOptions,
287
+ UseDisclosureProps: () => import_react95.UseDisclosureProps,
288
+ UseImageProps: () => import_react84.UseImageProps,
289
+ UseImageReturn: () => import_react84.UseImageReturn,
290
+ UseMediaQueryOptions: () => import_react84.UseMediaQueryOptions,
289
291
  UseModalProps: () => import_react58.UseModalProps,
290
292
  UseModalReturn: () => import_react58.UseModalReturn,
291
- UseQueryProps: () => import_react83.UseQueryProps,
293
+ UseQueryProps: () => import_react84.UseQueryProps,
292
294
  UseRadioGroupReturn: () => import_react70.UseRadioGroupReturn,
293
295
  UseRadioProps: () => import_react70.UseRadioProps,
294
296
  UseRadioReturn: () => import_react70.UseRadioReturn,
295
- UseTabListProps: () => import_react79.UseTabListProps,
296
- UseTabListReturn: () => import_react79.UseTabListReturn,
297
- UseTabOptions: () => import_react79.UseTabOptions,
298
- UseTabPanelsProps: () => import_react79.UseTabPanelsProps,
299
- UseTabProps: () => import_react79.UseTabProps,
300
- UseTabsProps: () => import_react79.UseTabsProps,
301
- UseTabsReturn: () => import_react79.UseTabsReturn,
297
+ UseTabListProps: () => import_react80.UseTabListProps,
298
+ UseTabListReturn: () => import_react80.UseTabListReturn,
299
+ UseTabOptions: () => import_react80.UseTabOptions,
300
+ UseTabPanelsProps: () => import_react80.UseTabPanelsProps,
301
+ UseTabProps: () => import_react80.UseTabProps,
302
+ UseTabsProps: () => import_react80.UseTabsProps,
303
+ UseTabsReturn: () => import_react80.UseTabsReturn,
302
304
  VStack: () => import_react47.VStack,
303
- VisuallyHidden: () => import_react83.VisuallyHidden,
304
- VisuallyHiddenInput: () => import_react83.VisuallyHiddenInput,
305
+ VisuallyHidden: () => import_react84.VisuallyHidden,
306
+ VisuallyHiddenInput: () => import_react84.VisuallyHiddenInput,
305
307
  Wrap: () => import_react47.Wrap,
306
308
  WrapItem: () => import_react47.WrapItem,
307
309
  WrapItemProps: () => import_react47.WrapItemProps,
308
310
  WrapProps: () => import_react47.WrapProps,
309
- extendTheme: () => import_react94.extendTheme,
310
- forwardRef: () => import_react94.forwardRef,
311
+ extendTheme: () => import_react96.extendTheme,
312
+ forwardRef: () => import_react96.forwardRef,
313
+ getSelectAllCheckboxState: () => getSelectAllCheckboxState,
311
314
  getTheme: () => getTheme,
312
315
  theme: () => theme5,
313
316
  useAccordion: () => import_react3.useAccordion,
@@ -316,47 +319,47 @@ __export(src_exports, {
316
319
  useAccordionItemState: () => import_react3.useAccordionItemState,
317
320
  useAccordionStyles: () => import_react3.useAccordionStyles,
318
321
  useAlertStyles: () => useAlertStyles,
319
- useBoolean: () => import_react93.useBoolean,
320
- useBreakpoint: () => import_react83.useBreakpoint,
322
+ useBoolean: () => import_react95.useBoolean,
323
+ useBreakpoint: () => import_react84.useBreakpoint,
321
324
  useCheckbox: () => import_react16.useCheckbox,
322
325
  useCheckboxGroup: () => import_react16.useCheckboxGroup,
323
- useClipboard: () => import_react93.useClipboard,
324
- useColorMode: () => import_react93.useColorMode,
325
- useColorModePreference: () => import_react83.useColorModePreference,
326
- useColorModeValue: () => import_react93.useColorModeValue,
327
- useConst: () => import_react93.useConst,
328
- useControllableProp: () => import_react93.useControllableProp,
329
- useControllableState: () => import_react93.useControllableState,
326
+ useClipboard: () => import_react95.useClipboard,
327
+ useColorMode: () => import_react95.useColorMode,
328
+ useColorModePreference: () => import_react84.useColorModePreference,
329
+ useColorModeValue: () => import_react95.useColorModeValue,
330
+ useConst: () => import_react95.useConst,
331
+ useControllableProp: () => import_react95.useControllableProp,
332
+ useControllableState: () => import_react95.useControllableState,
330
333
  useDataTable: () => useDataTable,
331
- useDimensions: () => import_react93.useDimensions,
332
- useDisclosure: () => import_react93.useDisclosure,
334
+ useDimensions: () => import_react95.useDimensions,
335
+ useDisclosure: () => import_react95.useDisclosure,
333
336
  useDrawerContext: () => import_react58.useDrawerContext,
334
337
  useFetcher: () => useFetcher,
335
- useImage: () => import_react83.useImage,
338
+ useImage: () => import_react84.useImage,
336
339
  useInternalUI: () => useInternalUI,
337
- useMergeRefs: () => import_react93.useMergeRefs,
340
+ useMergeRefs: () => import_react95.useMergeRefs,
338
341
  useModal: () => import_react58.useModal,
339
342
  useModalContext: () => import_react58.useModalContext,
340
343
  useModalStyles: () => import_react58.useModalStyles,
341
- useOutsideClick: () => import_react93.useOutsideClick,
342
- useQuery: () => import_react83.useQuery,
344
+ useOutsideClick: () => import_react95.useOutsideClick,
345
+ useQuery: () => import_react84.useQuery,
343
346
  useRadio: () => import_react70.useRadio,
344
347
  useRadioGroup: () => import_react70.useRadioGroup,
345
348
  useRadioGroupContext: () => import_react70.useRadioGroupContext,
346
- useSteps: () => import_react83.useSteps,
347
- useTab: () => import_react79.useTab,
348
- useTabIndicator: () => import_react79.useTabIndicator,
349
- useTabList: () => import_react79.useTabList,
350
- useTabPanel: () => import_react79.useTabPanel,
351
- useTabPanels: () => import_react79.useTabPanels,
352
- useTabs: () => import_react79.useTabs,
353
- useTabsContext: () => import_react79.useTabsContext,
354
- useTabsDescendant: () => import_react79.useTabsDescendant,
355
- useTabsDescendants: () => import_react79.useTabsDescendants,
356
- useTabsDescendantsContext: () => import_react79.useTabsDescendantsContext,
357
- useTabsStyles: () => import_react79.useTabsStyles,
358
- useTheme: () => import_react93.useTheme,
359
- useToken: () => import_react93.useToken
349
+ useSteps: () => import_react84.useSteps,
350
+ useTab: () => import_react80.useTab,
351
+ useTabIndicator: () => import_react80.useTabIndicator,
352
+ useTabList: () => import_react80.useTabList,
353
+ useTabPanel: () => import_react80.useTabPanel,
354
+ useTabPanels: () => import_react80.useTabPanels,
355
+ useTabs: () => import_react80.useTabs,
356
+ useTabsContext: () => import_react80.useTabsContext,
357
+ useTabsDescendant: () => import_react80.useTabsDescendant,
358
+ useTabsDescendants: () => import_react80.useTabsDescendants,
359
+ useTabsDescendantsContext: () => import_react80.useTabsDescendantsContext,
360
+ useTabsStyles: () => import_react80.useTabsStyles,
361
+ useTheme: () => import_react95.useTheme,
362
+ useToken: () => import_react95.useToken
360
363
  });
361
364
  module.exports = __toCommonJS(src_exports);
362
365
 
@@ -1202,13 +1205,12 @@ var getCommonPinningStyles = (column) => {
1202
1205
  "&:after": {
1203
1206
  content: "''",
1204
1207
  position: "absolute",
1205
- width: "20%",
1206
- height: "100%",
1208
+ width: "30px",
1207
1209
  right: "0px",
1210
+ bottom: "-1px",
1208
1211
  top: 0,
1209
- zIndex: -1,
1210
- boxShadow: "-10px 0px 20px 10px #00000010",
1211
- clipPath: "inset(0px -38px 0px 0px)"
1212
+ transform: "translateX(100%)",
1213
+ boxShadow: "inset 14px 0px 20px -10px #00000010"
1212
1214
  }
1213
1215
  } : {},
1214
1216
  ...isFirstRightPinnedColumn ? {
@@ -1216,13 +1218,12 @@ var getCommonPinningStyles = (column) => {
1216
1218
  "&:after": {
1217
1219
  content: "''",
1218
1220
  position: "absolute",
1219
- width: "20%",
1220
- height: "100%",
1221
+ width: "30px",
1221
1222
  left: "0%",
1222
1223
  top: 0,
1223
- zIndex: -1,
1224
- boxShadow: "10px 0px 20px 10px #00000010",
1225
- clipPath: "inset(0px 0px 0px -38px )"
1224
+ bottom: "-1px",
1225
+ transform: "translateX(-100%)",
1226
+ boxShadow: "inset -14px 0px 20px -10px #00000010"
1226
1227
  }
1227
1228
  } : {}
1228
1229
  };
@@ -3645,13 +3646,13 @@ var selectStyle = {
3645
3646
  };
3646
3647
  function selectStyles(colorMode, _isError) {
3647
3648
  return {
3648
- control: (base, { isDisabled, isFocused }) => {
3649
+ control: (base, { isFocused }) => {
3649
3650
  const style = {
3650
3651
  ...base,
3651
3652
  flexWrap: "nowrap",
3652
3653
  borderColor: isFocused ? "var(--chakra-colors-primary-500)" : "var(--chakra-colors-neutral-400)",
3653
3654
  boxShadow: "none",
3654
- color: isDisabled ? "var(--chakra-colors-black-low)" : "var(--chakra-colors-black-high)",
3655
+ color: "var(--chakra-colors-black-low)",
3655
3656
  "&:hover": {
3656
3657
  borderColor: _isError ? "" : isFocused ? "var(--chakra-colors-primary-500)" : "var(--chakra-colors-neutral-500)"
3657
3658
  }
@@ -3669,23 +3670,47 @@ function selectStyles(colorMode, _isError) {
3669
3670
  ...selectStyle,
3670
3671
  color: "var(--chakra-colors-neutral-900)"
3671
3672
  }),
3672
- menu: (base) => colorMode === "dark" ? {
3673
- ...base,
3674
- ...selectStyle,
3675
- background: "dark.800",
3676
- zIndex: 5
3677
- } : {
3678
- ...base,
3679
- ...selectStyle,
3680
- zIndex: 5
3673
+ menu: (base) => {
3674
+ return {
3675
+ ...base,
3676
+ ...selectStyle,
3677
+ zIndex: 5
3678
+ };
3679
+ },
3680
+ singleValue: (base) => {
3681
+ return { ...base, ...selectStyle };
3682
+ },
3683
+ input: (base) => {
3684
+ return { ...base, ...selectStyle };
3685
+ },
3686
+ dropdownIndicator: (base) => {
3687
+ return { ...base, ...selectStyle };
3688
+ },
3689
+ indicatorSeparator: (base) => {
3690
+ return { ...base, ...selectStyle };
3681
3691
  },
3682
- singleValue: (base) => colorMode === "dark" ? { ...base, ...selectStyle, color: "white" } : { ...base, ...selectStyle },
3683
- input: (base) => colorMode === "dark" ? { ...base, ...selectStyle, color: "white" } : { ...base, ...selectStyle },
3684
- dropdownIndicator: (base) => colorMode === "dark" ? { ...base, ...selectStyle, color: "secondary.500" } : { ...base, ...selectStyle },
3685
- indicatorSeparator: (base) => colorMode === "dark" ? { ...base, ...selectStyle, backgroundColor: "secondary.500" } : { ...base, ...selectStyle },
3686
3692
  placeholder: (base) => {
3687
- return { ...base, ...selectStyle, color: "black.low" };
3688
- }
3693
+ return { ...base, ...selectStyle, color: "var(--chakra-colors-black-low)" };
3694
+ },
3695
+ multiValue: (base) => {
3696
+ return {
3697
+ ...base,
3698
+ borderRadius: 4,
3699
+ backgroundColor: "var(--chakra-colors-neutral-200)"
3700
+ };
3701
+ },
3702
+ multiValueLabel: (base) => ({
3703
+ ...base,
3704
+ borderRadius: 4,
3705
+ fontWeight: "bold"
3706
+ }),
3707
+ multiValueRemove: (base) => ({
3708
+ ...base,
3709
+ color: "var(--chakra-colors-neutral-900)",
3710
+ ":hover": {
3711
+ backgroundColor: "var(--chakra-colors-neutral-300)"
3712
+ }
3713
+ })
3689
3714
  };
3690
3715
  }
3691
3716
  var themeSelect = (theme6) => {
@@ -3777,17 +3802,154 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
3777
3802
  );
3778
3803
  }
3779
3804
 
3780
- // src/components/switch/components/switch.tsx
3805
+ // src/components/select/components/select-with-checkbox.tsx
3781
3806
  var import_react75 = require("@chakra-ui/react");
3807
+ var import_system11 = require("@chakra-ui/system");
3808
+ var import_react_select2 = __toESM(require("react-select"));
3809
+ var import_jsx_runtime56 = require("react/jsx-runtime");
3810
+ var CHECKBOX_STATE = {
3811
+ UNCHECKED: 0,
3812
+ INDETERMINATE: 1,
3813
+ CHECKED: 2
3814
+ };
3815
+ var getSelectAllCheckboxState = (totalSelected, totalOption) => {
3816
+ if (totalSelected < 0 || totalOption < 0) {
3817
+ throw new Error("value less than 0");
3818
+ }
3819
+ if (totalSelected > totalOption) {
3820
+ throw new Error("totalSelected couldn't be more than totalOption");
3821
+ }
3822
+ if (totalSelected === 0) {
3823
+ return CHECKBOX_STATE.UNCHECKED;
3824
+ }
3825
+ if (totalSelected < totalOption) {
3826
+ return CHECKBOX_STATE.INDETERMINATE;
3827
+ }
3828
+ if (totalSelected === totalOption) {
3829
+ return CHECKBOX_STATE.CHECKED;
3830
+ }
3831
+ return CHECKBOX_STATE.UNCHECKED;
3832
+ };
3833
+ var InputOption = ({
3834
+ getStyles,
3835
+ isDisabled,
3836
+ isFocused,
3837
+ isSelected,
3838
+ children,
3839
+ innerProps,
3840
+ data,
3841
+ checkedState,
3842
+ isMulti,
3843
+ ...rest
3844
+ }) => {
3845
+ const style = {
3846
+ alignItems: "center",
3847
+ color: "inherit",
3848
+ display: "flex "
3849
+ };
3850
+ const props = {
3851
+ ...innerProps,
3852
+ "aria-disabled": isDisabled,
3853
+ onClick: isDisabled ? void 0 : innerProps.onClick,
3854
+ style
3855
+ };
3856
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_jsx_runtime56.Fragment, { children: [
3857
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3858
+ import_react_select2.components.Option,
3859
+ {
3860
+ isMulti: true,
3861
+ data,
3862
+ isDisabled,
3863
+ isFocused,
3864
+ isSelected,
3865
+ getStyles,
3866
+ innerProps: props,
3867
+ ...rest,
3868
+ children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
3869
+ import_react75.Flex,
3870
+ {
3871
+ alignItems: "center",
3872
+ width: "100%",
3873
+ mb: "3px",
3874
+ gap: 2,
3875
+ "data-test-id": "CT_component_select-checkbox_options",
3876
+ cursor: isDisabled ? "not-allowed" : "default",
3877
+ children: [
3878
+ (data == null ? void 0 : data.selectAllCheckbox) ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3879
+ import_react75.Checkbox,
3880
+ {
3881
+ isChecked: checkedState === CHECKBOX_STATE.CHECKED,
3882
+ isIndeterminate: checkedState === CHECKBOX_STATE.INDETERMINATE,
3883
+ isDisabled,
3884
+ "data-test-id": "CT_component_select-checkbox_select-all-option"
3885
+ }
3886
+ ) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react75.Checkbox, { isChecked: isSelected, "data-test-id": "CT_component_select-checkbox_option-checkbox" }),
3887
+ /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_react75.Text, { textStyle: "text.sm", "data-test-id": `select-checkbox-option-label-${data.value}`, children })
3888
+ ]
3889
+ }
3890
+ )
3891
+ }
3892
+ ),
3893
+ (data == null ? void 0 : data.selectAllCheckbox) ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("hr", {}) : null
3894
+ ] });
3895
+ };
3896
+ var SelectWithCheckboxBase = ({
3897
+ isError = false,
3898
+ components,
3899
+ options,
3900
+ ...rest
3901
+ }) => {
3902
+ const { colorMode } = (0, import_system11.useColorMode)();
3903
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3904
+ import_react_select2.default,
3905
+ {
3906
+ classNamePrefix: "react-select",
3907
+ options,
3908
+ styles: { ...selectStyles(colorMode, !!isError) },
3909
+ theme: themeSelect,
3910
+ closeMenuOnSelect: false,
3911
+ hideSelectedOptions: false,
3912
+ components: {
3913
+ ...components
3914
+ },
3915
+ ...rest
3916
+ }
3917
+ );
3918
+ };
3919
+ var SelectCheckbox = (props) => {
3920
+ const { isMulti, options, value, ...rest } = props;
3921
+ const selectValue = value || [];
3922
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3923
+ SelectWithCheckboxBase,
3924
+ {
3925
+ isMulti,
3926
+ options,
3927
+ components: {
3928
+ Option: (optionProps) => {
3929
+ const { isSelected, data } = optionProps;
3930
+ const optionLength = (options == null ? void 0 : options.length) ? options.length - 1 : 0;
3931
+ const selectedValue = isSelected ? CHECKBOX_STATE.CHECKED : CHECKBOX_STATE.UNCHECKED;
3932
+ const checkedState = data.selectAllCheckbox ? getSelectAllCheckboxState(selectValue == null ? void 0 : selectValue.length, optionLength) : selectedValue;
3933
+ return /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(InputOption, { ...optionProps, checkedState });
3934
+ }
3935
+ },
3936
+ ...rest
3937
+ }
3938
+ );
3939
+ };
3940
+ var select_with_checkbox_default = SelectCheckbox;
3941
+
3942
+ // src/components/switch/components/switch.tsx
3943
+ var import_react76 = require("@chakra-ui/react");
3782
3944
  var import_shared_utils9 = require("@chakra-ui/shared-utils");
3783
3945
  var import_internal_icon7 = require("@ctlyst.id/internal-icon");
3784
- var import_react76 = require("react");
3785
- var import_jsx_runtime56 = require("react/jsx-runtime");
3786
- var Switch = (0, import_react75.forwardRef)(function Switch2(props, ref) {
3787
- const styles = (0, import_react75.useMultiStyleConfig)("Switch", props);
3788
- const { spacing: spacing2 = "0.5rem", children, ...ownProps } = (0, import_react75.omitThemingProps)(props);
3789
- const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = (0, import_react75.useCheckbox)(ownProps);
3790
- const containerStyles = (0, import_react76.useMemo)(
3946
+ var import_react77 = require("react");
3947
+ var import_jsx_runtime57 = require("react/jsx-runtime");
3948
+ var Switch = (0, import_react76.forwardRef)(function Switch2(props, ref) {
3949
+ const styles = (0, import_react76.useMultiStyleConfig)("Switch", props);
3950
+ const { spacing: spacing2 = "0.5rem", children, ...ownProps } = (0, import_react76.omitThemingProps)(props);
3951
+ const { state, getInputProps, getCheckboxProps, getRootProps, getLabelProps } = (0, import_react76.useCheckbox)(ownProps);
3952
+ const containerStyles = (0, import_react77.useMemo)(
3791
3953
  () => ({
3792
3954
  display: "inline-block",
3793
3955
  position: "relative",
@@ -3797,7 +3959,7 @@ var Switch = (0, import_react75.forwardRef)(function Switch2(props, ref) {
3797
3959
  }),
3798
3960
  [styles.container]
3799
3961
  );
3800
- const trackStyles = (0, import_react76.useMemo)(
3962
+ const trackStyles = (0, import_react77.useMemo)(
3801
3963
  () => ({
3802
3964
  display: "inline-flex",
3803
3965
  flexShrink: 0,
@@ -3809,7 +3971,7 @@ var Switch = (0, import_react75.forwardRef)(function Switch2(props, ref) {
3809
3971
  }),
3810
3972
  [styles.track]
3811
3973
  );
3812
- const labelStyles = (0, import_react76.useMemo)(
3974
+ const labelStyles = (0, import_react77.useMemo)(
3813
3975
  () => ({
3814
3976
  userSelect: "none",
3815
3977
  marginStart: spacing2,
@@ -3825,8 +3987,8 @@ var Switch = (0, import_react75.forwardRef)(function Switch2(props, ref) {
3825
3987
  };
3826
3988
  return iconSize[value];
3827
3989
  };
3828
- return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
3829
- import_react75.chakra.label,
3990
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
3991
+ import_react76.chakra.label,
3830
3992
  {
3831
3993
  ...getRootProps(),
3832
3994
  display: "flex",
@@ -3834,14 +3996,14 @@ var Switch = (0, import_react75.forwardRef)(function Switch2(props, ref) {
3834
3996
  className: (0, import_shared_utils9.cx)("chakra-switch", props.className),
3835
3997
  __css: containerStyles,
3836
3998
  children: [
3837
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("input", { "data-test-id": "", className: "chakra-switch__input", ...getInputProps({}, ref) }),
3838
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_react75.chakra.span, { ...getCheckboxProps(), className: "chakra-switch__track", pos: "relative", __css: trackStyles, children: [
3839
- /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(import_react75.Flex, { gap: 2, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
3840
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_internal_icon7.Check, { color: "white", size: getIconSize(props.size) }),
3841
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(import_internal_icon7.Close, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
3999
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("input", { "data-test-id": "", className: "chakra-switch__input", ...getInputProps({}, ref) }),
4000
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react76.chakra.span, { ...getCheckboxProps(), className: "chakra-switch__track", pos: "relative", __css: trackStyles, children: [
4001
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react76.Flex, { gap: 2, pos: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)", children: [
4002
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_internal_icon7.Check, { color: "white", size: getIconSize(props.size) }),
4003
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(import_internal_icon7.Close, { color: state.isDisabled ? "neutral.600" : "neutral.900", size: getIconSize(props.size) })
3842
4004
  ] }),
3843
- /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3844
- import_react75.chakra.span,
4005
+ /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4006
+ import_react76.chakra.span,
3845
4007
  {
3846
4008
  __css: styles.thumb,
3847
4009
  className: "chakra-switch__thumb",
@@ -3850,8 +4012,8 @@ var Switch = (0, import_react75.forwardRef)(function Switch2(props, ref) {
3850
4012
  }
3851
4013
  )
3852
4014
  ] }),
3853
- children && /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
3854
- import_react75.chakra.span,
4015
+ children && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
4016
+ import_react76.chakra.span,
3855
4017
  {
3856
4018
  className: "chakra-switch__label",
3857
4019
  color: state.isDisabled ? "black.low" : "black.high",
@@ -3870,18 +4032,18 @@ Switch.defaultProps = {
3870
4032
  var switch_default = Switch;
3871
4033
 
3872
4034
  // src/components/table/index.tsx
3873
- var import_react77 = require("@chakra-ui/react");
4035
+ var import_react78 = require("@chakra-ui/react");
3874
4036
 
3875
4037
  // src/components/tabs/components/tab.tsx
3876
- var import_react78 = require("@chakra-ui/react");
3877
- var import_jsx_runtime57 = require("react/jsx-runtime");
3878
- var Tab = (0, import_react78.forwardRef)((props, ref) => {
4038
+ var import_react79 = require("@chakra-ui/react");
4039
+ var import_jsx_runtime58 = require("react/jsx-runtime");
4040
+ var Tab = (0, import_react79.forwardRef)((props, ref) => {
3879
4041
  var _a, _b;
3880
- const tabProps = (0, import_react78.useTab)({ ...props, ref });
4042
+ const tabProps = (0, import_react79.useTab)({ ...props, ref });
3881
4043
  const isSelected = !!tabProps["aria-selected"];
3882
- const styles = (0, import_react78.useMultiStyleConfig)("Tabs", tabProps);
3883
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
3884
- import_react78.Button,
4044
+ const styles = (0, import_react79.useMultiStyleConfig)("Tabs", tabProps);
4045
+ return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
4046
+ import_react79.Button,
3885
4047
  {
3886
4048
  "data-test-id": props["data-test-id"],
3887
4049
  p: 4,
@@ -3906,7 +4068,7 @@ var Tab = (0, import_react78.forwardRef)((props, ref) => {
3906
4068
  },
3907
4069
  __css: styles.tab,
3908
4070
  ...tabProps,
3909
- children: /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_react78.Flex, { alignItems: "center", children: [
4071
+ children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react79.Flex, { alignItems: "center", children: [
3910
4072
  (_a = props.leftAddon) == null ? void 0 : _a.call(props, { isSelected }),
3911
4073
  tabProps.children,
3912
4074
  (_b = props.rightAddon) == null ? void 0 : _b.call(props, { isSelected })
@@ -3917,16 +4079,16 @@ var Tab = (0, import_react78.forwardRef)((props, ref) => {
3917
4079
  var tab_default = Tab;
3918
4080
 
3919
4081
  // src/components/tabs/index.ts
3920
- var import_react79 = require("@chakra-ui/react");
4082
+ var import_react80 = require("@chakra-ui/react");
3921
4083
 
3922
4084
  // src/components/text/index.ts
3923
- var import_react80 = require("@chakra-ui/react");
4085
+ var import_react81 = require("@chakra-ui/react");
3924
4086
 
3925
4087
  // src/components/tooltip/index.ts
3926
- var import_react81 = require("@chakra-ui/react");
4088
+ var import_react82 = require("@chakra-ui/react");
3927
4089
 
3928
4090
  // src/components/uploader/components/uploader.tsx
3929
- var import_react82 = require("@chakra-ui/react");
4091
+ var import_react83 = require("@chakra-ui/react");
3930
4092
  var React15 = __toESM(require("react"));
3931
4093
  var import_react_dropzone = require("react-dropzone");
3932
4094
 
@@ -3940,7 +4102,7 @@ var messages = {
3940
4102
  };
3941
4103
 
3942
4104
  // src/components/uploader/components/uploader.tsx
3943
- var import_jsx_runtime58 = require("react/jsx-runtime");
4105
+ var import_jsx_runtime59 = require("react/jsx-runtime");
3944
4106
  var Uploader = ({
3945
4107
  onHandleUploadFile,
3946
4108
  onHandleRejections,
@@ -3988,9 +4150,9 @@ var Uploader = ({
3988
4150
  React15.useEffect(() => {
3989
4151
  setIsSelected(selected != null ? selected : false);
3990
4152
  }, [selected]);
3991
- return /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react82.Stack, { direction: "column", children: [
3992
- /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
3993
- import_react82.Flex,
4153
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react83.Stack, { direction: "column", children: [
4154
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
4155
+ import_react83.Flex,
3994
4156
  {
3995
4157
  minH: 200,
3996
4158
  border: "1px dashed",
@@ -4001,11 +4163,11 @@ var Uploader = ({
4001
4163
  ...props,
4002
4164
  ...getRootProps(),
4003
4165
  children: [
4004
- /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("input", { ...getInputProps() }),
4005
- isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react82.Text, { children: messages.dragActive }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(import_react82.Flex, { flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : "primary.500", children: [
4006
- !multiple && isSelected && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react82.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, color: "black.high", mb: 2, children: selectedFirstFile == null ? void 0 : selectedFirstFile.name }),
4007
- !isSelected && /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react82.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, mb: 2, children: messages.uploadFile }),
4008
- isSelected ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react82.Text, { children: messages.dragReplace }) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(import_react82.Text, { children: messages.dragInActive })
4166
+ /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("input", { ...getInputProps() }),
4167
+ isDragActive ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react83.Text, { children: messages.dragActive }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(import_react83.Flex, { flexDirection: "column", alignItems: "center", color: isError ? "danger.500" : "primary.500", children: [
4168
+ !multiple && isSelected && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react83.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, color: "black.high", mb: 2, children: selectedFirstFile == null ? void 0 : selectedFirstFile.name }),
4169
+ !isSelected && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react83.Heading, { fontWeight: 400, fontSize: "18px", lineHeight: 28, mb: 2, children: messages.uploadFile }),
4170
+ isSelected ? /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react83.Text, { children: messages.dragReplace }) : /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react83.Text, { children: messages.dragInActive })
4009
4171
  ] })
4010
4172
  ]
4011
4173
  }
@@ -4022,10 +4184,10 @@ Uploader.defaultProps = {
4022
4184
  var uploader_default = Uploader;
4023
4185
 
4024
4186
  // src/components/index.ts
4025
- var import_react83 = require("@chakra-ui/react");
4187
+ var import_react84 = require("@chakra-ui/react");
4026
4188
 
4027
4189
  // src/config/theme/themeConfiguration.ts
4028
- var import_react89 = require("@chakra-ui/react");
4190
+ var import_react91 = require("@chakra-ui/react");
4029
4191
 
4030
4192
  // src/config/theme/components/index.ts
4031
4193
  var components_exports = {};
@@ -4041,6 +4203,7 @@ __export(components_exports, {
4041
4203
  Input: () => input_default,
4042
4204
  LoaderStyle: () => loader_default2,
4043
4205
  Modal: () => modal_default,
4206
+ Popover: () => popover_default,
4044
4207
  Radio: () => radio_default,
4045
4208
  Switch: () => switch_default2,
4046
4209
  Table: () => table_default,
@@ -4567,8 +4730,8 @@ var card_default2 = CardStyle;
4567
4730
 
4568
4731
  // src/config/theme/components/checkbox.ts
4569
4732
  var import_anatomy3 = require("@chakra-ui/anatomy");
4570
- var import_react84 = require("@chakra-ui/react");
4571
- var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0, import_react84.createMultiStyleConfigHelpers)(import_anatomy3.checkboxAnatomy.keys);
4733
+ var import_react85 = require("@chakra-ui/react");
4734
+ var { definePartsStyle: definePartsStyle3, defineMultiStyleConfig: defineMultiStyleConfig3 } = (0, import_react85.createMultiStyleConfigHelpers)(import_anatomy3.checkboxAnatomy.keys);
4572
4735
  var baseStyle3 = definePartsStyle3({
4573
4736
  control: {
4574
4737
  borderRadius: "sm",
@@ -4658,14 +4821,14 @@ var variants2 = {
4658
4821
  errors,
4659
4822
  unstyled
4660
4823
  };
4661
- var Checkbox3 = defineMultiStyleConfig3({
4824
+ var Checkbox4 = defineMultiStyleConfig3({
4662
4825
  baseStyle: baseStyle3,
4663
4826
  variants: variants2,
4664
4827
  defaultProps: {
4665
4828
  variant: "unstyled"
4666
4829
  }
4667
4830
  });
4668
- var checkbox_default2 = Checkbox3;
4831
+ var checkbox_default2 = Checkbox4;
4669
4832
 
4670
4833
  // src/config/theme/components/chips.ts
4671
4834
  var import_styled_system5 = require("@chakra-ui/styled-system");
@@ -4852,8 +5015,8 @@ var input_default = Input3;
4852
5015
 
4853
5016
  // src/config/theme/components/loader.ts
4854
5017
  var import_styled_system8 = require("@chakra-ui/styled-system");
4855
- var import_react85 = require("@emotion/react");
4856
- var rotate = (0, import_react85.keyframes)({
5018
+ var import_react86 = require("@emotion/react");
5019
+ var rotate = (0, import_react86.keyframes)({
4857
5020
  "0%": {
4858
5021
  transform: "rotate(0deg)"
4859
5022
  },
@@ -4981,11 +5144,23 @@ var Modal3 = (0, import_styled_system9.defineStyleConfig)({
4981
5144
  });
4982
5145
  var modal_default = Modal3;
4983
5146
 
4984
- // src/config/theme/components/radio.ts
5147
+ // src/config/theme/components/popover.ts
4985
5148
  var import_anatomy5 = require("@chakra-ui/anatomy");
4986
- var import_react86 = require("@chakra-ui/react");
4987
- var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = (0, import_react86.createMultiStyleConfigHelpers)(import_anatomy5.radioAnatomy.keys);
5149
+ var import_react87 = require("@chakra-ui/react");
5150
+ var { definePartsStyle: definePartsStyle5, defineMultiStyleConfig: defineMultiStyleConfig5 } = (0, import_react87.createMultiStyleConfigHelpers)(import_anatomy5.popoverAnatomy.keys);
4988
5151
  var baseStyle6 = definePartsStyle5({
5152
+ content: {
5153
+ bg: "white"
5154
+ }
5155
+ });
5156
+ var popoverTheme = defineMultiStyleConfig5({ baseStyle: baseStyle6 });
5157
+ var popover_default = popoverTheme;
5158
+
5159
+ // src/config/theme/components/radio.ts
5160
+ var import_anatomy6 = require("@chakra-ui/anatomy");
5161
+ var import_react88 = require("@chakra-ui/react");
5162
+ var { definePartsStyle: definePartsStyle6, defineMultiStyleConfig: defineMultiStyleConfig6 } = (0, import_react88.createMultiStyleConfigHelpers)(import_anatomy6.radioAnatomy.keys);
5163
+ var baseStyle7 = definePartsStyle6({
4989
5164
  control: {
4990
5165
  border: "1px solid",
4991
5166
  width: "16px",
@@ -5001,7 +5176,7 @@ var baseStyle6 = definePartsStyle5({
5001
5176
  }
5002
5177
  }
5003
5178
  });
5004
- var errors2 = definePartsStyle5({
5179
+ var errors2 = definePartsStyle6({
5005
5180
  control: {
5006
5181
  borderColor: "danger.500",
5007
5182
  _checked: {
@@ -5036,7 +5211,7 @@ var errors2 = definePartsStyle5({
5036
5211
  fontSize: "12px"
5037
5212
  }
5038
5213
  });
5039
- var unstyled3 = definePartsStyle5({
5214
+ var unstyled3 = definePartsStyle6({
5040
5215
  control: {
5041
5216
  borderColor: "neutral.600",
5042
5217
  _checked: {
@@ -5075,8 +5250,8 @@ var variants4 = {
5075
5250
  errors: errors2,
5076
5251
  unstyled: unstyled3
5077
5252
  };
5078
- var Radio2 = defineMultiStyleConfig5({
5079
- baseStyle: baseStyle6,
5253
+ var Radio2 = defineMultiStyleConfig6({
5254
+ baseStyle: baseStyle7,
5080
5255
  variants: variants4,
5081
5256
  defaultProps: {
5082
5257
  variant: "unstyled"
@@ -5085,10 +5260,10 @@ var Radio2 = defineMultiStyleConfig5({
5085
5260
  var radio_default = Radio2;
5086
5261
 
5087
5262
  // src/config/theme/components/switch.ts
5088
- var import_anatomy6 = require("@chakra-ui/anatomy");
5263
+ var import_anatomy7 = require("@chakra-ui/anatomy");
5089
5264
  var import_styled_system10 = require("@chakra-ui/styled-system");
5090
5265
  var import_theme_tools2 = require("@chakra-ui/theme-tools");
5091
- var { defineMultiStyleConfig: defineMultiStyleConfig6, definePartsStyle: definePartsStyle6 } = (0, import_styled_system10.createMultiStyleConfigHelpers)(import_anatomy6.switchAnatomy.keys);
5266
+ var { defineMultiStyleConfig: defineMultiStyleConfig7, definePartsStyle: definePartsStyle7 } = (0, import_styled_system10.createMultiStyleConfigHelpers)(import_anatomy7.switchAnatomy.keys);
5092
5267
  var $width = (0, import_theme_tools2.cssVar)("switch-track-width");
5093
5268
  var $height = (0, import_theme_tools2.cssVar)("switch-track-height");
5094
5269
  var $diff = (0, import_theme_tools2.cssVar)("switch-track-diff");
@@ -5105,7 +5280,7 @@ var baseStyleThumb = (0, import_styled_system10.defineStyle)({
5105
5280
  transform: `translateX(${$translateX.reference})`
5106
5281
  }
5107
5282
  });
5108
- var baseStyle7 = definePartsStyle6(() => ({
5283
+ var baseStyle8 = definePartsStyle7(() => ({
5109
5284
  container: {
5110
5285
  [$diff.variable]: diffValue,
5111
5286
  [$translateX.variable]: $diff.reference,
@@ -5130,7 +5305,7 @@ var baseStyle7 = definePartsStyle6(() => ({
5130
5305
  thumb: baseStyleThumb
5131
5306
  }));
5132
5307
  var sizes3 = {
5133
- sm: definePartsStyle6({
5308
+ sm: definePartsStyle7({
5134
5309
  container: {
5135
5310
  [$width.variable]: "1.875rem",
5136
5311
  [$height.variable]: "0.75rem"
@@ -5140,7 +5315,7 @@ var sizes3 = {
5140
5315
  [$height.variable]: "0.75rem"
5141
5316
  }
5142
5317
  }),
5143
- md: definePartsStyle6({
5318
+ md: definePartsStyle7({
5144
5319
  container: {
5145
5320
  [$width.variable]: "2.375rem",
5146
5321
  [$height.variable]: "1rem"
@@ -5150,7 +5325,7 @@ var sizes3 = {
5150
5325
  [$height.variable]: "1rem"
5151
5326
  }
5152
5327
  }),
5153
- lg: definePartsStyle6({
5328
+ lg: definePartsStyle7({
5154
5329
  container: {
5155
5330
  [$width.variable]: "3.25rem",
5156
5331
  [$height.variable]: "1.375rem"
@@ -5161,8 +5336,8 @@ var sizes3 = {
5161
5336
  }
5162
5337
  })
5163
5338
  };
5164
- var Switch3 = defineMultiStyleConfig6({
5165
- baseStyle: baseStyle7,
5339
+ var Switch3 = defineMultiStyleConfig7({
5340
+ baseStyle: baseStyle8,
5166
5341
  sizes: sizes3,
5167
5342
  defaultProps: {
5168
5343
  size: "md"
@@ -5171,14 +5346,15 @@ var Switch3 = defineMultiStyleConfig6({
5171
5346
  var switch_default2 = Switch3;
5172
5347
 
5173
5348
  // src/config/theme/components/table.ts
5174
- var import_anatomy7 = require("@chakra-ui/anatomy");
5349
+ var import_anatomy8 = require("@chakra-ui/anatomy");
5175
5350
  var import_styled_system11 = require("@chakra-ui/styled-system");
5176
5351
  var import_theme_tools3 = require("@chakra-ui/theme-tools");
5177
- var { defineMultiStyleConfig: defineMultiStyleConfig7, definePartsStyle: definePartsStyle7 } = (0, import_styled_system11.createMultiStyleConfigHelpers)(import_anatomy7.tableAnatomy.keys);
5178
- var baseStyle8 = definePartsStyle7({
5352
+ var { defineMultiStyleConfig: defineMultiStyleConfig8, definePartsStyle: definePartsStyle8 } = (0, import_styled_system11.createMultiStyleConfigHelpers)(import_anatomy8.tableAnatomy.keys);
5353
+ var baseStyle9 = definePartsStyle8({
5179
5354
  table: {
5180
5355
  fontVariantNumeric: "lining-nums tabular-nums",
5181
- borderCollapse: "collapse",
5356
+ borderCollapse: "separate",
5357
+ borderSpacing: 0,
5182
5358
  width: "full",
5183
5359
  tableLayout: "fixed"
5184
5360
  },
@@ -5204,15 +5380,25 @@ var baseStyle8 = definePartsStyle7({
5204
5380
  tr: {
5205
5381
  cursor: "pointer",
5206
5382
  _hover: {
5207
- backgroundColor: "neutral.200"
5383
+ td: {
5384
+ backgroundColor: "neutral.200",
5385
+ "&>div": {
5386
+ backgroundColor: "neutral.200"
5387
+ }
5388
+ }
5208
5389
  },
5209
5390
  '&[data-active="true"]': {
5210
- backgroundColor: "neutral.100"
5391
+ td: {
5392
+ backgroundColor: "neutral.100",
5393
+ "&>div": {
5394
+ backgroundColor: "neutral.200"
5395
+ }
5396
+ }
5211
5397
  }
5212
5398
  }
5213
5399
  },
5214
5400
  td: {
5215
- backgroundColor: "neutral.50",
5401
+ // backgroundColor: 'neutral.50',
5216
5402
  textAlign: "start",
5217
5403
  height: "56px",
5218
5404
  "&:first-of-type": {
@@ -5237,7 +5423,7 @@ var numericStyles = (0, import_styled_system11.defineStyle)({
5237
5423
  textAlign: "end"
5238
5424
  }
5239
5425
  });
5240
- var variantSimple = definePartsStyle7((props) => {
5426
+ var variantSimple = definePartsStyle8((props) => {
5241
5427
  const { colorScheme: c } = props;
5242
5428
  return {
5243
5429
  th: {
@@ -5263,7 +5449,7 @@ var variantSimple = definePartsStyle7((props) => {
5263
5449
  }
5264
5450
  };
5265
5451
  });
5266
- var variantStripe = definePartsStyle7((props) => {
5452
+ var variantStripe = definePartsStyle8((props) => {
5267
5453
  const { colorScheme: c } = props;
5268
5454
  return {
5269
5455
  th: {
@@ -5308,7 +5494,7 @@ var variants5 = {
5308
5494
  unstyled: (0, import_styled_system11.defineStyle)({})
5309
5495
  };
5310
5496
  var sizes4 = {
5311
- sm: definePartsStyle7({
5497
+ sm: definePartsStyle8({
5312
5498
  th: {
5313
5499
  px: "2",
5314
5500
  py: "4",
@@ -5327,7 +5513,7 @@ var sizes4 = {
5327
5513
  fontSize: "xs"
5328
5514
  }
5329
5515
  }),
5330
- md: definePartsStyle7({
5516
+ md: definePartsStyle8({
5331
5517
  th: {
5332
5518
  px: "2",
5333
5519
  py: "4",
@@ -5345,7 +5531,7 @@ var sizes4 = {
5345
5531
  fontSize: "sm"
5346
5532
  }
5347
5533
  }),
5348
- lg: definePartsStyle7({
5534
+ lg: definePartsStyle8({
5349
5535
  th: {
5350
5536
  px: "2",
5351
5537
  py: "4",
@@ -5364,8 +5550,8 @@ var sizes4 = {
5364
5550
  }
5365
5551
  })
5366
5552
  };
5367
- var tableTheme = defineMultiStyleConfig7({
5368
- baseStyle: baseStyle8,
5553
+ var tableTheme = defineMultiStyleConfig8({
5554
+ baseStyle: baseStyle9,
5369
5555
  variants: variants5,
5370
5556
  sizes: sizes4,
5371
5557
  defaultProps: {
@@ -5377,10 +5563,10 @@ var tableTheme = defineMultiStyleConfig7({
5377
5563
  var table_default = tableTheme;
5378
5564
 
5379
5565
  // src/config/theme/components/tabs.ts
5380
- var import_anatomy8 = require("@chakra-ui/anatomy");
5566
+ var import_anatomy9 = require("@chakra-ui/anatomy");
5381
5567
  var import_styled_system12 = require("@chakra-ui/styled-system");
5382
- var { defineMultiStyleConfig: defineMultiStyleConfig8, definePartsStyle: definePartsStyle8 } = (0, import_styled_system12.createMultiStyleConfigHelpers)(import_anatomy8.tabsAnatomy.keys);
5383
- var variantLine = definePartsStyle8((props) => {
5568
+ var { defineMultiStyleConfig: defineMultiStyleConfig9, definePartsStyle: definePartsStyle9 } = (0, import_styled_system12.createMultiStyleConfigHelpers)(import_anatomy9.tabsAnatomy.keys);
5569
+ var variantLine = definePartsStyle9((props) => {
5384
5570
  const { orientation } = props;
5385
5571
  const isVertical = orientation === "vertical";
5386
5572
  const borderProp = isVertical ? "borderStart" : "borderBottom";
@@ -5397,12 +5583,12 @@ var variantLine = definePartsStyle8((props) => {
5397
5583
  }
5398
5584
  };
5399
5585
  });
5400
- var variantUnstyled = definePartsStyle8({});
5586
+ var variantUnstyled = definePartsStyle9({});
5401
5587
  var variants6 = {
5402
5588
  line: variantLine,
5403
5589
  unstyled: variantUnstyled
5404
5590
  };
5405
- var tabsTheme = defineMultiStyleConfig8({
5591
+ var tabsTheme = defineMultiStyleConfig9({
5406
5592
  variants: variants6,
5407
5593
  defaultProps: {
5408
5594
  size: "md",
@@ -5412,7 +5598,7 @@ var tabsTheme = defineMultiStyleConfig8({
5412
5598
  var tabs_default = tabsTheme;
5413
5599
 
5414
5600
  // src/config/theme/components/textarea.ts
5415
- var import_react87 = require("@chakra-ui/react");
5601
+ var import_react89 = require("@chakra-ui/react");
5416
5602
  var getProps = (props) => {
5417
5603
  const { isError, isSuccess, isDisabled } = props;
5418
5604
  let borderColor = "neutral.400";
@@ -5432,7 +5618,7 @@ var getProps = (props) => {
5432
5618
  borderColor
5433
5619
  };
5434
5620
  };
5435
- var outline2 = (0, import_react87.defineStyle)((props) => {
5621
+ var outline2 = (0, import_react89.defineStyle)((props) => {
5436
5622
  const { focusBorderColor, borderColor } = getProps(props);
5437
5623
  return {
5438
5624
  background: "white.high",
@@ -5476,7 +5662,7 @@ var outline2 = (0, import_react87.defineStyle)((props) => {
5476
5662
  }
5477
5663
  };
5478
5664
  });
5479
- var Textarea = (0, import_react87.defineStyleConfig)({
5665
+ var Textarea = (0, import_react89.defineStyleConfig)({
5480
5666
  variants: { outline: outline2 },
5481
5667
  defaultProps: {
5482
5668
  variant: "outline"
@@ -5485,14 +5671,14 @@ var Textarea = (0, import_react87.defineStyleConfig)({
5485
5671
  var textarea_default2 = Textarea;
5486
5672
 
5487
5673
  // src/config/theme/components/tooltip.ts
5488
- var import_react88 = require("@chakra-ui/react");
5489
- var $arrowBg = (0, import_react88.cssVar)("popper-arrow-bg");
5490
- var baseStyle9 = {
5674
+ var import_react90 = require("@chakra-ui/react");
5675
+ var $arrowBg = (0, import_react90.cssVar)("popper-arrow-bg");
5676
+ var baseStyle10 = {
5491
5677
  bg: "neutral.700",
5492
5678
  fontSize: "text.sm",
5493
5679
  [$arrowBg.variable]: "var(--chakra-colors-neutral-700)"
5494
5680
  };
5495
- var Tooltip2 = (0, import_react88.defineStyleConfig)({ baseStyle: baseStyle9 });
5681
+ var Tooltip2 = (0, import_react90.defineStyleConfig)({ baseStyle: baseStyle10 });
5496
5682
  var tooltip_default = Tooltip2;
5497
5683
 
5498
5684
  // src/config/theme/themeConfiguration.ts
@@ -5502,7 +5688,7 @@ var config = {
5502
5688
  useSystemColorMode: false
5503
5689
  };
5504
5690
  var getTheme = (foundations) => {
5505
- return (0, import_react89.extendTheme)({
5691
+ return (0, import_react91.extendTheme)({
5506
5692
  ...foundations,
5507
5693
  components: {
5508
5694
  ...components_exports
@@ -5518,7 +5704,7 @@ var getTheme = (foundations) => {
5518
5704
  config
5519
5705
  });
5520
5706
  };
5521
- var theme5 = (0, import_react89.extendTheme)({
5707
+ var theme5 = (0, import_react91.extendTheme)({
5522
5708
  components: {
5523
5709
  ...components_exports
5524
5710
  },
@@ -5538,23 +5724,23 @@ var theme5 = (0, import_react89.extendTheme)({
5538
5724
 
5539
5725
  // src/hooks/useFetcher.ts
5540
5726
  var import_axios2 = __toESM(require("axios"));
5541
- var import_react92 = require("react");
5727
+ var import_react94 = require("react");
5542
5728
 
5543
5729
  // src/provider/components/provider.tsx
5544
5730
  var import_axios = __toESM(require("axios"));
5545
- var import_react90 = require("react");
5731
+ var import_react92 = require("react");
5546
5732
  var import_react_toastify = require("react-toastify");
5547
- var import_jsx_runtime59 = require("react/jsx-runtime");
5548
- var ProviderContext = (0, import_react90.createContext)({
5733
+ var import_jsx_runtime60 = require("react/jsx-runtime");
5734
+ var ProviderContext = (0, import_react92.createContext)({
5549
5735
  instance: void 0
5550
5736
  });
5551
5737
  var useInternalUI = () => {
5552
- const { instance } = (0, import_react90.useContext)(ProviderContext);
5738
+ const { instance } = (0, import_react92.useContext)(ProviderContext);
5553
5739
  return { instance };
5554
5740
  };
5555
5741
  var Provider = ({ children, config: config2, requestInterceptors, responseInterceptors }) => {
5556
- const instanceRef = (0, import_react90.useRef)(import_axios.default.create(config2));
5557
- (0, import_react90.useEffect)(() => {
5742
+ const instanceRef = (0, import_react92.useRef)(import_axios.default.create(config2));
5743
+ (0, import_react92.useEffect)(() => {
5558
5744
  requestInterceptors == null ? void 0 : requestInterceptors.forEach((interceptor) => {
5559
5745
  instanceRef.current.interceptors.request.use(interceptor);
5560
5746
  });
@@ -5562,9 +5748,9 @@ var Provider = ({ children, config: config2, requestInterceptors, responseInterc
5562
5748
  instanceRef.current.interceptors.response.use(interceptor);
5563
5749
  });
5564
5750
  }, [requestInterceptors, responseInterceptors]);
5565
- const provider = (0, import_react90.useMemo)(() => ({ instance: instanceRef.current }), []);
5566
- return /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(ProviderContext.Provider, { value: provider, children: [
5567
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_react_toastify.ToastContainer, {}),
5751
+ const provider = (0, import_react92.useMemo)(() => ({ instance: instanceRef.current }), []);
5752
+ return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(ProviderContext.Provider, { value: provider, children: [
5753
+ /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(import_react_toastify.ToastContainer, {}),
5568
5754
  children
5569
5755
  ] });
5570
5756
  };
@@ -5572,12 +5758,12 @@ Provider.displayName = "Provider";
5572
5758
  var provider_default = Provider;
5573
5759
 
5574
5760
  // src/provider/index.ts
5575
- var import_react91 = require("@chakra-ui/react");
5761
+ var import_react93 = require("@chakra-ui/react");
5576
5762
 
5577
5763
  // src/hooks/useFetcher.ts
5578
5764
  function useFetcher() {
5579
5765
  const { instance } = useInternalUI();
5580
- const axiosInstance = (0, import_react92.useMemo)(() => instance || import_axios2.default, [instance]);
5766
+ const axiosInstance = (0, import_react94.useMemo)(() => instance || import_axios2.default, [instance]);
5581
5767
  const fetcher = async ({ url, data, method, headers, ...config2 }) => {
5582
5768
  const response = await axiosInstance.request({
5583
5769
  data,
@@ -5597,10 +5783,10 @@ function useFetcher() {
5597
5783
  }
5598
5784
 
5599
5785
  // src/hooks/index.ts
5600
- var import_react93 = require("@chakra-ui/react");
5786
+ var import_react95 = require("@chakra-ui/react");
5601
5787
 
5602
5788
  // src/index.ts
5603
- var import_react94 = require("@chakra-ui/react");
5789
+ var import_react96 = require("@chakra-ui/react");
5604
5790
  // Annotate the CommonJS export names for ESM import in node:
5605
5791
  0 && (module.exports = {
5606
5792
  Accordion,
@@ -5644,6 +5830,7 @@ var import_react94 = require("@chakra-ui/react");
5644
5830
  Button,
5645
5831
  ButtonGroup,
5646
5832
  ButtonGroupProps,
5833
+ CHECKBOX_STATE,
5647
5834
  Card,
5648
5835
  Center,
5649
5836
  ChakraProvider,
@@ -5790,6 +5977,7 @@ var import_react94 = require("@chakra-ui/react");
5790
5977
  Select,
5791
5978
  SelectAsync,
5792
5979
  SelectAsyncCreatable,
5980
+ SelectCheckBox,
5793
5981
  SelectCreatable,
5794
5982
  Show,
5795
5983
  ShowProps,
@@ -5880,6 +6068,7 @@ var import_react94 = require("@chakra-ui/react");
5880
6068
  WrapProps,
5881
6069
  extendTheme,
5882
6070
  forwardRef,
6071
+ getSelectAllCheckboxState,
5883
6072
  getTheme,
5884
6073
  theme,
5885
6074
  useAccordion,