@ctlyst.id/internal-ui 5.7.5 → 5.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +44 -36
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ import { ColumnDef, RowSelectionState, OnChangeFn, SortingState, ColumnPinningSt
|
|
|
11
11
|
import { DatePickerProps } from 'react-datepicker';
|
|
12
12
|
import { IconType } from 'react-icons/lib';
|
|
13
13
|
import * as react_select from 'react-select';
|
|
14
|
-
import { GroupBase, Props as Props$1, DropdownIndicatorProps, ClearIndicatorProps, MultiValueProps, MultiValueRemoveProps, StylesConfig, Theme as Theme$1 } from 'react-select';
|
|
14
|
+
import { GroupBase, Props as Props$1, DropdownIndicatorProps, ClearIndicatorProps, MultiValueProps, MultiValueRemoveProps, NoticeProps, StylesConfig, Theme as Theme$1 } from 'react-select';
|
|
15
15
|
import { VirtualizerOptions as VirtualizerOptions$1 } from '@tanstack/react-virtual';
|
|
16
16
|
import { AsyncPaginateProps } from 'react-select-async-paginate';
|
|
17
17
|
import { AsyncCreatableProps } from 'react-select/async-creatable';
|
|
@@ -597,6 +597,7 @@ declare function DropdownIndicator<OptionType>(props: DropdownIndicatorProps<Opt
|
|
|
597
597
|
declare function ClearIndicator<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>(props: ClearIndicatorProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
|
598
598
|
declare function MultiValue(props: MultiValueProps<any>): react_jsx_runtime.JSX.Element;
|
|
599
599
|
declare function MultiValueRemove(props: MultiValueRemoveProps<any>): react_jsx_runtime.JSX.Element;
|
|
600
|
+
declare function LoadingMessage(props: NoticeProps<any>): react_jsx_runtime.JSX.Element;
|
|
600
601
|
declare function NoOptionsMessage(props: any): react_jsx_runtime.JSX.Element;
|
|
601
602
|
declare function Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({ styles, isError, ...rest }: SelectProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
|
602
603
|
|
|
@@ -1038,4 +1039,4 @@ declare const ProviderContext: React__default.Context<ProviderContextObject>;
|
|
|
1038
1039
|
declare const useInternalUI: () => ProviderContextObject;
|
|
1039
1040
|
declare const Provider: FC<ProviderProps>;
|
|
1040
1041
|
|
|
1041
|
-
export { AccordionEye, AccordionIndicator, Alert, AlertAction, type AlertActionProps, AlertClose, type AlertCloseProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, Anchor, type AnchorProps, Badge, type BadgeProps, BreadCrumb, type BreadCrumbParentProps, type BreadCrumbProps, Button, type ButtonProps, CHECKBOX_STATE, CardCustom as Card, type CardProps, CheckboxComponent as Checkbox, type CheckboxComponentProps, CheckboxGroupComponent as CheckboxGroup, type CheckboxGroupComponentProps, Chips, type ChipsProps, ClearIndicator, Counter, type CustomLoaderProps, DEFAULT_EXCEL_MIME_TYPE, DEFAULT_IMAGE_MIME_TYPE, _default as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, type DragOrClickOption, DropdownIndicator, EXCEL_EXT, EmptyState, type Environment, ErrorCode, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, IMG_EXT, InputAddonLeft, InputAddonRight, InputField, type InputFieldProps, Loader, type LoaderProps, Logo, type LogoProps, Navigation as MainMenu, ModalBackButton, MultiDatePickerMonth, type MultiDatePickerMonthProps, MultiValue, MultiValueRemove, NavItem, type NavItemProps, Navbar, type NavbarProps, NavigationBar, type NavigationBarProps, type NavigationProps, NoOptionsMessage, ONE_MEGA_BYTE, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, PopoverContent, Profile, type ProfileProps, type Props, Provider, ProviderContext, Radio, RadioGroup, type RadioGroupComponentProps, type RadioProps, Rating, type RatingProps, Select, SelectAsync, SelectAsyncCreatable, type SelectAsyncCreatableProps, type SelectAsyncProps, SelectCheckbox as SelectCheckBox, SelectCreatable, type SelectCreatableProps, type SelectProps, type SelectWithCheckboxBaseProps, Sidebar, SidebarHeader, type SidebarHeaderProps, SidebarMenu, type SidebarMenuProps, type SidebarProps, Switch, type SwitchProps, Tab, type TableStyleProps, type TextAreaProps, TextareaField, type Theme, Time, TimeInput, type TimeInputProps, type TimeOptions, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, concatList, createExtendTheme, defaultOnHandleRejections, dimensionValidator, formatValidationMessage, getSelectAllCheckboxState, getTheme, isCellDisabled, isRatioEqual, messages, selectStyles, theme, themeSelect, timeFromString, useAlertStyles, useDataTable, useDragOrClick, useFetcher, useInternalUI, useSelectTable, useToast };
|
|
1042
|
+
export { AccordionEye, AccordionIndicator, Alert, AlertAction, type AlertActionProps, AlertClose, type AlertCloseProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, Anchor, type AnchorProps, Badge, type BadgeProps, BreadCrumb, type BreadCrumbParentProps, type BreadCrumbProps, Button, type ButtonProps, CHECKBOX_STATE, CardCustom as Card, type CardProps, CheckboxComponent as Checkbox, type CheckboxComponentProps, CheckboxGroupComponent as CheckboxGroup, type CheckboxGroupComponentProps, Chips, type ChipsProps, ClearIndicator, Counter, type CustomLoaderProps, DEFAULT_EXCEL_MIME_TYPE, DEFAULT_IMAGE_MIME_TYPE, _default as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, type DragOrClickOption, DropdownIndicator, EXCEL_EXT, EmptyState, type Environment, ErrorCode, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, IMG_EXT, InputAddonLeft, InputAddonRight, InputField, type InputFieldProps, Loader, type LoaderProps, LoadingMessage, Logo, type LogoProps, Navigation as MainMenu, ModalBackButton, MultiDatePickerMonth, type MultiDatePickerMonthProps, MultiValue, MultiValueRemove, NavItem, type NavItemProps, Navbar, type NavbarProps, NavigationBar, type NavigationBarProps, type NavigationProps, NoOptionsMessage, ONE_MEGA_BYTE, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, PopoverContent, Profile, type ProfileProps, type Props, Provider, ProviderContext, Radio, RadioGroup, type RadioGroupComponentProps, type RadioProps, Rating, type RatingProps, Select, SelectAsync, SelectAsyncCreatable, type SelectAsyncCreatableProps, type SelectAsyncProps, SelectCheckbox as SelectCheckBox, SelectCreatable, type SelectCreatableProps, type SelectProps, type SelectWithCheckboxBaseProps, Sidebar, SidebarHeader, type SidebarHeaderProps, SidebarMenu, type SidebarMenuProps, type SidebarProps, Switch, type SwitchProps, Tab, type TableStyleProps, type TextAreaProps, TextareaField, type Theme, Time, TimeInput, type TimeInputProps, type TimeOptions, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, concatList, createExtendTheme, defaultOnHandleRejections, dimensionValidator, formatValidationMessage, getSelectAllCheckboxState, getTheme, isCellDisabled, isRatioEqual, messages, selectStyles, theme, themeSelect, timeFromString, useAlertStyles, useDataTable, useDragOrClick, useFetcher, useInternalUI, useSelectTable, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { ColumnDef, RowSelectionState, OnChangeFn, SortingState, ColumnPinningSt
|
|
|
11
11
|
import { DatePickerProps } from 'react-datepicker';
|
|
12
12
|
import { IconType } from 'react-icons/lib';
|
|
13
13
|
import * as react_select from 'react-select';
|
|
14
|
-
import { GroupBase, Props as Props$1, DropdownIndicatorProps, ClearIndicatorProps, MultiValueProps, MultiValueRemoveProps, StylesConfig, Theme as Theme$1 } from 'react-select';
|
|
14
|
+
import { GroupBase, Props as Props$1, DropdownIndicatorProps, ClearIndicatorProps, MultiValueProps, MultiValueRemoveProps, NoticeProps, StylesConfig, Theme as Theme$1 } from 'react-select';
|
|
15
15
|
import { VirtualizerOptions as VirtualizerOptions$1 } from '@tanstack/react-virtual';
|
|
16
16
|
import { AsyncPaginateProps } from 'react-select-async-paginate';
|
|
17
17
|
import { AsyncCreatableProps } from 'react-select/async-creatable';
|
|
@@ -597,6 +597,7 @@ declare function DropdownIndicator<OptionType>(props: DropdownIndicatorProps<Opt
|
|
|
597
597
|
declare function ClearIndicator<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>(props: ClearIndicatorProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
|
598
598
|
declare function MultiValue(props: MultiValueProps<any>): react_jsx_runtime.JSX.Element;
|
|
599
599
|
declare function MultiValueRemove(props: MultiValueRemoveProps<any>): react_jsx_runtime.JSX.Element;
|
|
600
|
+
declare function LoadingMessage(props: NoticeProps<any>): react_jsx_runtime.JSX.Element;
|
|
600
601
|
declare function NoOptionsMessage(props: any): react_jsx_runtime.JSX.Element;
|
|
601
602
|
declare function Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({ styles, isError, ...rest }: SelectProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
|
602
603
|
|
|
@@ -1038,4 +1039,4 @@ declare const ProviderContext: React__default.Context<ProviderContextObject>;
|
|
|
1038
1039
|
declare const useInternalUI: () => ProviderContextObject;
|
|
1039
1040
|
declare const Provider: FC<ProviderProps>;
|
|
1040
1041
|
|
|
1041
|
-
export { AccordionEye, AccordionIndicator, Alert, AlertAction, type AlertActionProps, AlertClose, type AlertCloseProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, Anchor, type AnchorProps, Badge, type BadgeProps, BreadCrumb, type BreadCrumbParentProps, type BreadCrumbProps, Button, type ButtonProps, CHECKBOX_STATE, CardCustom as Card, type CardProps, CheckboxComponent as Checkbox, type CheckboxComponentProps, CheckboxGroupComponent as CheckboxGroup, type CheckboxGroupComponentProps, Chips, type ChipsProps, ClearIndicator, Counter, type CustomLoaderProps, DEFAULT_EXCEL_MIME_TYPE, DEFAULT_IMAGE_MIME_TYPE, _default as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, type DragOrClickOption, DropdownIndicator, EXCEL_EXT, EmptyState, type Environment, ErrorCode, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, IMG_EXT, InputAddonLeft, InputAddonRight, InputField, type InputFieldProps, Loader, type LoaderProps, Logo, type LogoProps, Navigation as MainMenu, ModalBackButton, MultiDatePickerMonth, type MultiDatePickerMonthProps, MultiValue, MultiValueRemove, NavItem, type NavItemProps, Navbar, type NavbarProps, NavigationBar, type NavigationBarProps, type NavigationProps, NoOptionsMessage, ONE_MEGA_BYTE, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, PopoverContent, Profile, type ProfileProps, type Props, Provider, ProviderContext, Radio, RadioGroup, type RadioGroupComponentProps, type RadioProps, Rating, type RatingProps, Select, SelectAsync, SelectAsyncCreatable, type SelectAsyncCreatableProps, type SelectAsyncProps, SelectCheckbox as SelectCheckBox, SelectCreatable, type SelectCreatableProps, type SelectProps, type SelectWithCheckboxBaseProps, Sidebar, SidebarHeader, type SidebarHeaderProps, SidebarMenu, type SidebarMenuProps, type SidebarProps, Switch, type SwitchProps, Tab, type TableStyleProps, type TextAreaProps, TextareaField, type Theme, Time, TimeInput, type TimeInputProps, type TimeOptions, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, concatList, createExtendTheme, defaultOnHandleRejections, dimensionValidator, formatValidationMessage, getSelectAllCheckboxState, getTheme, isCellDisabled, isRatioEqual, messages, selectStyles, theme, themeSelect, timeFromString, useAlertStyles, useDataTable, useDragOrClick, useFetcher, useInternalUI, useSelectTable, useToast };
|
|
1042
|
+
export { AccordionEye, AccordionIndicator, Alert, AlertAction, type AlertActionProps, AlertClose, type AlertCloseProps, AlertDescription, type AlertDescriptionProps, AlertIcon, type AlertIconProps, type AlertProps, type AlertStatus, AlertTitle, type AlertTitleProps, Anchor, type AnchorProps, Badge, type BadgeProps, BreadCrumb, type BreadCrumbParentProps, type BreadCrumbProps, Button, type ButtonProps, CHECKBOX_STATE, CardCustom as Card, type CardProps, CheckboxComponent as Checkbox, type CheckboxComponentProps, CheckboxGroupComponent as CheckboxGroup, type CheckboxGroupComponentProps, Chips, type ChipsProps, ClearIndicator, Counter, type CustomLoaderProps, DEFAULT_EXCEL_MIME_TYPE, DEFAULT_IMAGE_MIME_TYPE, _default as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, type DragOrClickOption, DropdownIndicator, EXCEL_EXT, EmptyState, type Environment, ErrorCode, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, IMG_EXT, InputAddonLeft, InputAddonRight, InputField, type InputFieldProps, Loader, type LoaderProps, LoadingMessage, Logo, type LogoProps, Navigation as MainMenu, ModalBackButton, MultiDatePickerMonth, type MultiDatePickerMonthProps, MultiValue, MultiValueRemove, NavItem, type NavItemProps, Navbar, type NavbarProps, NavigationBar, type NavigationBarProps, type NavigationProps, NoOptionsMessage, ONE_MEGA_BYTE, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, PopoverContent, Profile, type ProfileProps, type Props, Provider, ProviderContext, Radio, RadioGroup, type RadioGroupComponentProps, type RadioProps, Rating, type RatingProps, Select, SelectAsync, SelectAsyncCreatable, type SelectAsyncCreatableProps, type SelectAsyncProps, SelectCheckbox as SelectCheckBox, SelectCreatable, type SelectCreatableProps, type SelectProps, type SelectWithCheckboxBaseProps, Sidebar, SidebarHeader, type SidebarHeaderProps, SidebarMenu, type SidebarMenuProps, type SidebarProps, Switch, type SwitchProps, Tab, type TableStyleProps, type TextAreaProps, TextareaField, type Theme, Time, TimeInput, type TimeInputProps, type TimeOptions, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, concatList, createExtendTheme, defaultOnHandleRejections, dimensionValidator, formatValidationMessage, getSelectAllCheckboxState, getTheme, isCellDisabled, isRatioEqual, messages, selectStyles, theme, themeSelect, timeFromString, useAlertStyles, useDataTable, useDragOrClick, useFetcher, useInternalUI, useSelectTable, useToast };
|
package/dist/index.js
CHANGED
|
@@ -171,6 +171,7 @@ __export(src_exports, {
|
|
|
171
171
|
ListItemProps: () => import_react57.ListItemProps,
|
|
172
172
|
ListProps: () => import_react57.ListProps,
|
|
173
173
|
Loader: () => loader_default,
|
|
174
|
+
LoadingMessage: () => LoadingMessage,
|
|
174
175
|
Logo: () => Logo,
|
|
175
176
|
MainMenu: () => navigation_default,
|
|
176
177
|
Modal: () => import_react59.Modal,
|
|
@@ -5081,6 +5082,12 @@ function MultiValue(props) {
|
|
|
5081
5082
|
function MultiValueRemove(props) {
|
|
5082
5083
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react_select.components.MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react81.Flex, { align: "center", justify: "center", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon7.Close, { size: 2.5, color: "inherit" }) }) });
|
|
5083
5084
|
}
|
|
5085
|
+
function LoadingMessage(props) {
|
|
5086
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_react81.Flex, { justify: "center", align: "center", flexDir: "column", gap: 4, py: 10, children: [
|
|
5087
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(loader_default, { size: "lg", color: "primary" }),
|
|
5088
|
+
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react81.Center, { textStyle: "text.sm", fontWeight: "semibold", color: "black.high", children: "Memuat data ..." })
|
|
5089
|
+
] });
|
|
5090
|
+
}
|
|
5084
5091
|
function NoOptionsMessage(props) {
|
|
5085
5092
|
return /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(import_react81.Center, { textStyle: "text.xs", py: "1.5", color: "black.medium", children: (props == null ? void 0 : props.options.length) === 0 ? "Opsi tidak tersedia" : "Hasil tidak ditemukan" });
|
|
5086
5093
|
}
|
|
@@ -5103,6 +5110,7 @@ function Select2({
|
|
|
5103
5110
|
MultiValue,
|
|
5104
5111
|
MultiValueRemove,
|
|
5105
5112
|
NoOptionsMessage,
|
|
5113
|
+
LoadingMessage,
|
|
5106
5114
|
...virtualized ? {
|
|
5107
5115
|
MenuList: renderMenuListVirtualized
|
|
5108
5116
|
} : {},
|
|
@@ -8413,6 +8421,7 @@ var import_react112 = require("@chakra-ui/react");
|
|
|
8413
8421
|
ListItemProps,
|
|
8414
8422
|
ListProps,
|
|
8415
8423
|
Loader,
|
|
8424
|
+
LoadingMessage,
|
|
8416
8425
|
Logo,
|
|
8417
8426
|
MainMenu,
|
|
8418
8427
|
Modal,
|