@ctlyst.id/internal-ui 3.1.21 → 3.1.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +13 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
@@ -562,6 +562,7 @@ declare function DropdownIndicator<OptionType>(props: DropdownIndicatorProps<Opt
|
|
562
562
|
declare function ClearIndicator<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>(props: ClearIndicatorProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
563
563
|
declare function MultiValue(props: MultiValueProps<any>): react_jsx_runtime.JSX.Element;
|
564
564
|
declare function MultiValueRemove(props: MultiValueRemoveProps<any>): react_jsx_runtime.JSX.Element;
|
565
|
+
declare function NoOptionsMessage(props: any): react_jsx_runtime.JSX.Element;
|
565
566
|
declare function Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({ styles, isError, ...rest }: SelectProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
566
567
|
|
567
568
|
type SelectAsyncProps<OptionType = unknown, Group extends GroupBase<OptionType> = GroupBase<OptionType>, Additional = unknown, IsMulti extends boolean = false> = AsyncPaginateProps<OptionType, Group, Additional, IsMulti> & ExtendedSelectProps;
|
@@ -851,4 +852,4 @@ declare const ProviderContext: React__default.Context<ProviderContextObject>;
|
|
851
852
|
declare const useInternalUI: () => ProviderContextObject;
|
852
853
|
declare const Provider: FC<ProviderProps>;
|
853
854
|
|
854
|
-
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 as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, DropdownIndicator, EmptyState, type Environment, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, 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, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, 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, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, getSelectAllCheckboxState, getTheme, isCellDisabled, selectStyles, theme, themeSelect, useAlertStyles, useDataTable, useFetcher, useInternalUI, useToast };
|
855
|
+
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 as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, DropdownIndicator, EmptyState, type Environment, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, 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, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, 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, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, getSelectAllCheckboxState, getTheme, isCellDisabled, selectStyles, theme, themeSelect, useAlertStyles, useDataTable, useFetcher, useInternalUI, useToast };
|
package/dist/index.d.ts
CHANGED
@@ -562,6 +562,7 @@ declare function DropdownIndicator<OptionType>(props: DropdownIndicatorProps<Opt
|
|
562
562
|
declare function ClearIndicator<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>(props: ClearIndicatorProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
563
563
|
declare function MultiValue(props: MultiValueProps<any>): react_jsx_runtime.JSX.Element;
|
564
564
|
declare function MultiValueRemove(props: MultiValueRemoveProps<any>): react_jsx_runtime.JSX.Element;
|
565
|
+
declare function NoOptionsMessage(props: any): react_jsx_runtime.JSX.Element;
|
565
566
|
declare function Select<OptionType, Group extends GroupBase<OptionType>, IsMulti extends boolean = false>({ styles, isError, ...rest }: SelectProps<OptionType, IsMulti, Group>): react_jsx_runtime.JSX.Element;
|
566
567
|
|
567
568
|
type SelectAsyncProps<OptionType = unknown, Group extends GroupBase<OptionType> = GroupBase<OptionType>, Additional = unknown, IsMulti extends boolean = false> = AsyncPaginateProps<OptionType, Group, Additional, IsMulti> & ExtendedSelectProps;
|
@@ -851,4 +852,4 @@ declare const ProviderContext: React__default.Context<ProviderContextObject>;
|
|
851
852
|
declare const useInternalUI: () => ProviderContextObject;
|
852
853
|
declare const Provider: FC<ProviderProps>;
|
853
854
|
|
854
|
-
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 as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, DropdownIndicator, EmptyState, type Environment, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, 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, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, 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, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, getSelectAllCheckboxState, getTheme, isCellDisabled, selectStyles, theme, themeSelect, useAlertStyles, useDataTable, useFetcher, useInternalUI, useToast };
|
855
|
+
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 as DataTable, type DataTableProps, type DataTableRefs, DatePickerMonth, type DatePickerMonthProps, Datepicker, type DatepickerProps, Dialog, type DisabledRowData, DropdownIndicator, EmptyState, type Environment, Field, type FieldProps, Header, type HeaderDataProps, type HeaderProps, 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, type OptionGroup, type OptionMultiGroup, type OptionsGroup, Pagination, PaginationDetail, type PaginationDetailProps, PaginationFilter, type PaginationFilterProps, type PaginationProps, 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, Tooltip, type TooltipProps, Uploader, type UploaderProps, Version, type VersionProps, VoilaLogo, XMSLogo, getSelectAllCheckboxState, getTheme, isCellDisabled, selectStyles, theme, themeSelect, useAlertStyles, useDataTable, useFetcher, useInternalUI, useToast };
|
package/dist/index.js
CHANGED
@@ -193,6 +193,7 @@ __export(src_exports, {
|
|
193
193
|
NavItem: () => NavItem,
|
194
194
|
Navbar: () => Navbar,
|
195
195
|
NavigationBar: () => navigation_bar_default,
|
196
|
+
NoOptionsMessage: () => NoOptionsMessage,
|
196
197
|
OrderedList: () => import_react51.OrderedList,
|
197
198
|
Pagination: () => pagination_default,
|
198
199
|
PaginationDetail: () => pagination_detail_default,
|
@@ -4131,6 +4132,9 @@ function MultiValue(props) {
|
|
4131
4132
|
function MultiValueRemove(props) {
|
4132
4133
|
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react_select.components.MultiValueRemove, { ...props, children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react72.Flex, { align: "center", justify: "center", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(Icon7.Close, { size: 2.5, color: "inherit" }) }) });
|
4133
4134
|
}
|
4135
|
+
function NoOptionsMessage(props) {
|
4136
|
+
return /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(import_react72.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" });
|
4137
|
+
}
|
4134
4138
|
function Select2({
|
4135
4139
|
styles,
|
4136
4140
|
isError = false,
|
@@ -4148,6 +4152,7 @@ function Select2({
|
|
4148
4152
|
ClearIndicator,
|
4149
4153
|
MultiValue,
|
4150
4154
|
MultiValueRemove,
|
4155
|
+
NoOptionsMessage,
|
4151
4156
|
...components
|
4152
4157
|
},
|
4153
4158
|
value,
|
@@ -4178,7 +4183,8 @@ function SelectAsync({
|
|
4178
4183
|
maxMenuHeight: 320,
|
4179
4184
|
components: {
|
4180
4185
|
DropdownIndicator,
|
4181
|
-
ClearIndicator
|
4186
|
+
ClearIndicator,
|
4187
|
+
NoOptionsMessage
|
4182
4188
|
},
|
4183
4189
|
...rest,
|
4184
4190
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
@@ -4201,7 +4207,8 @@ function SelectAsyncCreatable({ styles, isError = false, ...rest }) {
|
|
4201
4207
|
maxMenuHeight: 320,
|
4202
4208
|
components: {
|
4203
4209
|
DropdownIndicator,
|
4204
|
-
ClearIndicator
|
4210
|
+
ClearIndicator,
|
4211
|
+
NoOptionsMessage
|
4205
4212
|
},
|
4206
4213
|
...rest,
|
4207
4214
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
@@ -4223,7 +4230,8 @@ function SelectCreatable({ styles, isError = false, ...rest }) {
|
|
4223
4230
|
maxMenuHeight: 320,
|
4224
4231
|
components: {
|
4225
4232
|
DropdownIndicator,
|
4226
|
-
ClearIndicator
|
4233
|
+
ClearIndicator,
|
4234
|
+
NoOptionsMessage
|
4227
4235
|
},
|
4228
4236
|
...rest,
|
4229
4237
|
styles: { ...selectStyles(colorMode, isError), ...styles },
|
@@ -4358,6 +4366,7 @@ var SelectCheckbox = (props) => {
|
|
4358
4366
|
ClearIndicator,
|
4359
4367
|
MultiValue,
|
4360
4368
|
MultiValueRemove,
|
4369
|
+
NoOptionsMessage,
|
4361
4370
|
Option: (optionProps) => {
|
4362
4371
|
const { isSelected, data } = optionProps;
|
4363
4372
|
const optionLength = (options == null ? void 0 : options.length) ? options.length - 1 : 0;
|
@@ -7043,6 +7052,7 @@ var import_react101 = require("@chakra-ui/react");
|
|
7043
7052
|
NavItem,
|
7044
7053
|
Navbar,
|
7045
7054
|
NavigationBar,
|
7055
|
+
NoOptionsMessage,
|
7046
7056
|
OrderedList,
|
7047
7057
|
Pagination,
|
7048
7058
|
PaginationDetail,
|