@sustaina/shared-ui 1.42.0 → 1.44.0
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 +17 -2
- package/dist/index.d.ts +17 -2
- package/dist/index.js +365 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +361 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -776,6 +776,10 @@ declare const HamburgerMenuIcon: React__default.FC<IconProps>;
|
|
|
776
776
|
|
|
777
777
|
declare const HandymanIcon: React__default.FC<IconProps>;
|
|
778
778
|
|
|
779
|
+
declare const HomeIcon: React__default.FC<IconProps>;
|
|
780
|
+
|
|
781
|
+
declare const HomePlusIcon: React__default.FC<IconProps>;
|
|
782
|
+
|
|
779
783
|
declare const InformationIcon: React__default.FC<IconProps>;
|
|
780
784
|
|
|
781
785
|
declare const MailIcon: React__default.FC<IconProps>;
|
|
@@ -786,6 +790,8 @@ declare const ManagementIcon: React__default.FC<IconProps>;
|
|
|
786
790
|
|
|
787
791
|
declare const MenuIcon: React__default.FC<IconProps>;
|
|
788
792
|
|
|
793
|
+
declare const MessageIcon: React__default.FC<IconProps>;
|
|
794
|
+
|
|
789
795
|
declare const NotFoundIcon: React__default.FC<IconProps>;
|
|
790
796
|
|
|
791
797
|
declare const PlusIcon: React__default.FC<IconProps>;
|
|
@@ -810,6 +816,10 @@ declare const UserAloneIcon: React__default.FC<IconProps>;
|
|
|
810
816
|
|
|
811
817
|
declare const UserFriendIcon: React__default.FC<IconProps>;
|
|
812
818
|
|
|
819
|
+
declare const UserGroupIcon: React__default.FC<IconProps>;
|
|
820
|
+
|
|
821
|
+
declare const UserProtectIcon: React__default.FC<IconProps>;
|
|
822
|
+
|
|
813
823
|
declare const UserIcon: React__default.FC<IconProps>;
|
|
814
824
|
|
|
815
825
|
declare const SuiWarningIcon: React__default.FC<IconProps>;
|
|
@@ -1472,8 +1482,13 @@ type InputCustomInputProps = Omit<InputProps, "type" | "value" | "defaultValue"
|
|
|
1472
1482
|
};
|
|
1473
1483
|
type InputNumberProps = NumericFormatProps<InputProps> & {
|
|
1474
1484
|
customInputProps?: InputCustomInputProps;
|
|
1485
|
+
showStepper?: boolean;
|
|
1486
|
+
step?: number;
|
|
1487
|
+
min?: number;
|
|
1488
|
+
max?: number;
|
|
1489
|
+
onStepChange?: (value: number) => void;
|
|
1475
1490
|
};
|
|
1476
|
-
declare const InputNumber: ({ customInputProps, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
|
|
1491
|
+
declare const InputNumber: ({ customInputProps, showStepper, step, min, max, onStepChange, onValueChange, value, defaultValue, disabled, onBlur, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
|
|
1477
1492
|
|
|
1478
1493
|
type PermissionAction = "CREATE" | "READ" | "EDIT" | "DELETE" | "NOTIFY" | "CREATE_DRAFT" | "REQUIRE_SITE";
|
|
1479
1494
|
type PermissionString = `${string}.${PermissionAction}`;
|
|
@@ -1753,4 +1768,4 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
|
|
|
1753
1768
|
[K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
|
|
1754
1769
|
};
|
|
1755
1770
|
|
|
1756
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, type Breakpoints, type BrowserNativeObject, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, type FieldSchema, type FieldType, FiltersIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, HeaderCell, type HeaderCellProps, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, MenuIcon, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, type Params, type PermissionString, PlusIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, type TemplateKeys, Textarea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserAloneIcon, UserFriendIcon, UserIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|
|
1771
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, type Breakpoints, type BrowserNativeObject, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, type FieldSchema, type FieldType, FiltersIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, HeaderCell, type HeaderCellProps, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, MenuIcon, MessageIcon, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, type Params, type PermissionString, PlusIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, type TemplateKeys, Textarea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserProtectIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|
package/dist/index.d.ts
CHANGED
|
@@ -776,6 +776,10 @@ declare const HamburgerMenuIcon: React__default.FC<IconProps>;
|
|
|
776
776
|
|
|
777
777
|
declare const HandymanIcon: React__default.FC<IconProps>;
|
|
778
778
|
|
|
779
|
+
declare const HomeIcon: React__default.FC<IconProps>;
|
|
780
|
+
|
|
781
|
+
declare const HomePlusIcon: React__default.FC<IconProps>;
|
|
782
|
+
|
|
779
783
|
declare const InformationIcon: React__default.FC<IconProps>;
|
|
780
784
|
|
|
781
785
|
declare const MailIcon: React__default.FC<IconProps>;
|
|
@@ -786,6 +790,8 @@ declare const ManagementIcon: React__default.FC<IconProps>;
|
|
|
786
790
|
|
|
787
791
|
declare const MenuIcon: React__default.FC<IconProps>;
|
|
788
792
|
|
|
793
|
+
declare const MessageIcon: React__default.FC<IconProps>;
|
|
794
|
+
|
|
789
795
|
declare const NotFoundIcon: React__default.FC<IconProps>;
|
|
790
796
|
|
|
791
797
|
declare const PlusIcon: React__default.FC<IconProps>;
|
|
@@ -810,6 +816,10 @@ declare const UserAloneIcon: React__default.FC<IconProps>;
|
|
|
810
816
|
|
|
811
817
|
declare const UserFriendIcon: React__default.FC<IconProps>;
|
|
812
818
|
|
|
819
|
+
declare const UserGroupIcon: React__default.FC<IconProps>;
|
|
820
|
+
|
|
821
|
+
declare const UserProtectIcon: React__default.FC<IconProps>;
|
|
822
|
+
|
|
813
823
|
declare const UserIcon: React__default.FC<IconProps>;
|
|
814
824
|
|
|
815
825
|
declare const SuiWarningIcon: React__default.FC<IconProps>;
|
|
@@ -1472,8 +1482,13 @@ type InputCustomInputProps = Omit<InputProps, "type" | "value" | "defaultValue"
|
|
|
1472
1482
|
};
|
|
1473
1483
|
type InputNumberProps = NumericFormatProps<InputProps> & {
|
|
1474
1484
|
customInputProps?: InputCustomInputProps;
|
|
1485
|
+
showStepper?: boolean;
|
|
1486
|
+
step?: number;
|
|
1487
|
+
min?: number;
|
|
1488
|
+
max?: number;
|
|
1489
|
+
onStepChange?: (value: number) => void;
|
|
1475
1490
|
};
|
|
1476
|
-
declare const InputNumber: ({ customInputProps, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
|
|
1491
|
+
declare const InputNumber: ({ customInputProps, showStepper, step, min, max, onStepChange, onValueChange, value, defaultValue, disabled, onBlur, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
|
|
1477
1492
|
|
|
1478
1493
|
type PermissionAction = "CREATE" | "READ" | "EDIT" | "DELETE" | "NOTIFY" | "CREATE_DRAFT" | "REQUIRE_SITE";
|
|
1479
1494
|
type PermissionString = `${string}.${PermissionAction}`;
|
|
@@ -1753,4 +1768,4 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
|
|
|
1753
1768
|
[K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
|
|
1754
1769
|
};
|
|
1755
1770
|
|
|
1756
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, type Breakpoints, type BrowserNativeObject, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, type FieldSchema, type FieldType, FiltersIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, HeaderCell, type HeaderCellProps, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, MenuIcon, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, type Params, type PermissionString, PlusIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, type TemplateKeys, Textarea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserAloneIcon, UserFriendIcon, UserIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|
|
1771
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, type Breakpoints, type BrowserNativeObject, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, CustomActionStatusIcon, CustomFieldIcon, DIALOG_ALERT_I18N_SUBNAMESPACE, DIALOG_ALERT_TEMPLATES, DashboardIcon, DataEntryIcon, DataTable, type DataTableChildrenKeyHandler, type DataTableColumnFilter, type DataTableColumnFilterProps, type DataTableColumnGrouping, type DataTableColumnOrdering, type DataTableColumnPinning, type DataTableColumnSeparatorProps, type DataTableColumnSorting, type DataTableColumnVisibility, type DataTableComponentProps, type DataTableFilterConfig, type DataTableFilters, type DataTableGlobalFilter, type DataTableHeaderCell, type DataTableProps, type DataTableRenderHeaderHandler, type DataTableRenderHeaderProps, type DataTableRenderRowHandler, type DataTableRenderRowProps, type DataTableRowCell, type DataTableRowClickHandler, type DataTableRowExpansion, type DataTableRowIdKeyHandler, type DataTableRowSelection, type DataTableScrollFetch, type DataTableStatusContent, type DataTableVirtual, type DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, DecreaseIcon, type DeepPartial, type DeepPartialNullish, Dialog$1 as Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type DraftGuardState, type DraftSource, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, type FieldSchema, type FieldType, FiltersIcon, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, FormulaEditor, type FormulaEditorProps, type FormulaOperator, type FormulaTokenAttributes, type FormulaTokenConfig, type FormulaTokenSuggestion, type FormulaTokenType, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HamburgerMenuIcon, HandymanIcon, HeaderCell, type HeaderCellProps, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, MenuIcon, MessageIcon, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, type Params, type PermissionString, PlusIcon, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PowerIcon, type PrefixMap, PreventPageLeave, QuestionIcon, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, RightPanelContainer, type RightPanelContainerClassNames, type RightPanelContainerHeaderProps, type RightPanelContainerProps, type RightPanelContainerSlots, RoleIcon, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SetupIcon, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarLayout, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SorterProps, Spinner, type SpinnerProps, type StatusContentKey, SuiCalendarIcon, SuiCalendarIcon2, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, TabSelect, type TabSelectItem, type TemplateKeys, Textarea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TrashIcon, Truncated, TruncatedMouseEnterDiv, type TruncatedMouseEnterDivProps, type TruncatedProps, index as UI, type UseBindRefProps, type UseControllableStateOptions, type UseControllableStateResult, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserProtectIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, inputVariants$1 as inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, resetVisibleTableState, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useBindRef, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|
package/dist/index.js
CHANGED
|
@@ -1243,6 +1243,96 @@ var HandymanIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ js
|
|
|
1243
1243
|
]
|
|
1244
1244
|
}
|
|
1245
1245
|
);
|
|
1246
|
+
var HomeIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1247
|
+
"svg",
|
|
1248
|
+
{
|
|
1249
|
+
viewBox: "0 0 24 24",
|
|
1250
|
+
fill: "none",
|
|
1251
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1252
|
+
width: size,
|
|
1253
|
+
height: size,
|
|
1254
|
+
className,
|
|
1255
|
+
"aria-hidden": true,
|
|
1256
|
+
...props,
|
|
1257
|
+
children: [
|
|
1258
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1259
|
+
"path",
|
|
1260
|
+
{
|
|
1261
|
+
d: "M15 21V13C15 12.7348 14.8946 12.4804 14.7071 12.2929C14.5196 12.1054 14.2652 12 14 12H10C9.73478 12 9.48043 12.1054 9.29289 12.2929C9.10536 12.4804 9 12.7348 9 13V21",
|
|
1262
|
+
stroke: "currentColor",
|
|
1263
|
+
strokeWidth: "1.5",
|
|
1264
|
+
strokeLinecap: "round",
|
|
1265
|
+
strokeLinejoin: "round"
|
|
1266
|
+
}
|
|
1267
|
+
),
|
|
1268
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1269
|
+
"path",
|
|
1270
|
+
{
|
|
1271
|
+
d: "M3 9.99948C2.99993 9.70855 3.06333 9.4211 3.18579 9.1572C3.30824 8.89329 3.4868 8.65928 3.709 8.47148L10.709 2.47248C11.07 2.16739 11.5274 2 12 2C12.4726 2 12.93 2.16739 13.291 2.47248L20.291 8.47148C20.5132 8.65928 20.6918 8.89329 20.8142 9.1572C20.9367 9.4211 21.0001 9.70855 21 9.99948V18.9995C21 19.5299 20.7893 20.0386 20.4142 20.4137C20.0391 20.7888 19.5304 20.9995 19 20.9995H5C4.46957 20.9995 3.96086 20.7888 3.58579 20.4137C3.21071 20.0386 3 19.5299 3 18.9995V9.99948Z",
|
|
1272
|
+
stroke: "currentColor",
|
|
1273
|
+
strokeWidth: "1.5",
|
|
1274
|
+
strokeLinecap: "round",
|
|
1275
|
+
strokeLinejoin: "round"
|
|
1276
|
+
}
|
|
1277
|
+
)
|
|
1278
|
+
]
|
|
1279
|
+
}
|
|
1280
|
+
);
|
|
1281
|
+
var HomePlusIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1282
|
+
"svg",
|
|
1283
|
+
{
|
|
1284
|
+
viewBox: "0 0 24 24",
|
|
1285
|
+
fill: "none",
|
|
1286
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1287
|
+
width: size,
|
|
1288
|
+
height: size,
|
|
1289
|
+
className,
|
|
1290
|
+
"aria-hidden": true,
|
|
1291
|
+
...props,
|
|
1292
|
+
children: [
|
|
1293
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1294
|
+
"path",
|
|
1295
|
+
{
|
|
1296
|
+
d: "M13.22 2.41533C12.8579 2.13654 12.4113 1.99014 11.9544 2.00052C11.4976 2.01089 11.0581 2.1774 10.709 2.47233L3.709 8.47133C3.4868 8.65913 3.30824 8.89314 3.18579 9.15705C3.06333 9.42096 2.99993 9.7084 3 9.99933V18.9993C3 19.5298 3.21071 20.0385 3.58579 20.4135C3.96086 20.7886 4.46957 20.9993 5 20.9993H19C19.5304 20.9993 20.0391 20.7886 20.4142 20.4135C20.7893 20.0385 21 19.5298 21 18.9993V11.6453",
|
|
1297
|
+
stroke: "currentColor",
|
|
1298
|
+
strokeWidth: "1.5",
|
|
1299
|
+
strokeLinecap: "round",
|
|
1300
|
+
strokeLinejoin: "round"
|
|
1301
|
+
}
|
|
1302
|
+
),
|
|
1303
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1304
|
+
"path",
|
|
1305
|
+
{
|
|
1306
|
+
d: "M15 21V13C15 12.7348 14.8946 12.4804 14.7071 12.2929C14.5196 12.1054 14.2652 12 14 12H10C9.73478 12 9.48043 12.1054 9.29289 12.2929C9.10536 12.4804 9 12.7348 9 13V21",
|
|
1307
|
+
stroke: "currentColor",
|
|
1308
|
+
strokeWidth: "1.5",
|
|
1309
|
+
strokeLinecap: "round",
|
|
1310
|
+
strokeLinejoin: "round"
|
|
1311
|
+
}
|
|
1312
|
+
),
|
|
1313
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1314
|
+
"path",
|
|
1315
|
+
{
|
|
1316
|
+
d: "M15 6H21",
|
|
1317
|
+
stroke: "currentColor",
|
|
1318
|
+
strokeWidth: "1.5",
|
|
1319
|
+
strokeLinecap: "round",
|
|
1320
|
+
strokeLinejoin: "round"
|
|
1321
|
+
}
|
|
1322
|
+
),
|
|
1323
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1324
|
+
"path",
|
|
1325
|
+
{
|
|
1326
|
+
d: "M18 3V9",
|
|
1327
|
+
stroke: "currentColor",
|
|
1328
|
+
strokeWidth: "1.5",
|
|
1329
|
+
strokeLinecap: "round",
|
|
1330
|
+
strokeLinejoin: "round"
|
|
1331
|
+
}
|
|
1332
|
+
)
|
|
1333
|
+
]
|
|
1334
|
+
}
|
|
1335
|
+
);
|
|
1246
1336
|
var InformationIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1247
1337
|
"svg",
|
|
1248
1338
|
{
|
|
@@ -1407,6 +1497,41 @@ var MenuIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRun
|
|
|
1407
1497
|
]
|
|
1408
1498
|
}
|
|
1409
1499
|
);
|
|
1500
|
+
var MessageIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1501
|
+
"svg",
|
|
1502
|
+
{
|
|
1503
|
+
viewBox: "0 0 24 24",
|
|
1504
|
+
fill: "none",
|
|
1505
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1506
|
+
width: size,
|
|
1507
|
+
height: size,
|
|
1508
|
+
className,
|
|
1509
|
+
"aria-hidden": true,
|
|
1510
|
+
...props,
|
|
1511
|
+
children: [
|
|
1512
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1513
|
+
"path",
|
|
1514
|
+
{
|
|
1515
|
+
d: "M14 9C14 9.53043 13.7893 10.0391 13.4142 10.4142C13.0391 10.7893 12.5304 11 12 11H6L2 15V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H12C12.5304 2 13.0391 2.21071 13.4142 2.58579C13.7893 2.96086 14 3.46957 14 4V9Z",
|
|
1516
|
+
stroke: "currentColor",
|
|
1517
|
+
strokeWidth: "1.5",
|
|
1518
|
+
strokeLinecap: "round",
|
|
1519
|
+
strokeLinejoin: "round"
|
|
1520
|
+
}
|
|
1521
|
+
),
|
|
1522
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1523
|
+
"path",
|
|
1524
|
+
{
|
|
1525
|
+
d: "M18 9H20C20.5304 9 21.0391 9.21071 21.4142 9.58579C21.7893 9.96086 22 10.4696 22 11V22L18 18H12C11.4696 18 10.9609 17.7893 10.5858 17.4142C10.2107 17.0391 10 16.5304 10 16V15",
|
|
1526
|
+
stroke: "currentColor",
|
|
1527
|
+
strokeWidth: "1.5",
|
|
1528
|
+
strokeLinecap: "round",
|
|
1529
|
+
strokeLinejoin: "round"
|
|
1530
|
+
}
|
|
1531
|
+
)
|
|
1532
|
+
]
|
|
1533
|
+
}
|
|
1534
|
+
);
|
|
1410
1535
|
var NotFoundIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1411
1536
|
"svg",
|
|
1412
1537
|
{
|
|
@@ -1987,6 +2112,113 @@ var UserFriendIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */
|
|
|
1987
2112
|
}
|
|
1988
2113
|
);
|
|
1989
2114
|
var user_friend_default = UserFriendIcon;
|
|
2115
|
+
var UserGroupIcon = ({
|
|
2116
|
+
size = "1em",
|
|
2117
|
+
stroke = "currentColor",
|
|
2118
|
+
className,
|
|
2119
|
+
...props
|
|
2120
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2121
|
+
"svg",
|
|
2122
|
+
{
|
|
2123
|
+
viewBox: "0 0 18 18",
|
|
2124
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2125
|
+
fill: "none",
|
|
2126
|
+
preserveAspectRatio: "xMidYMid meet",
|
|
2127
|
+
width: size,
|
|
2128
|
+
height: size,
|
|
2129
|
+
className,
|
|
2130
|
+
"aria-hidden": true,
|
|
2131
|
+
...props,
|
|
2132
|
+
children: [
|
|
2133
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2134
|
+
"path",
|
|
2135
|
+
{
|
|
2136
|
+
d: "M12 15.75V14.25C12 13.4544 11.6839 12.6913 11.1213 12.1287C10.5587 11.5661 9.79565 11.25 9 11.25H4.5C3.70435 11.25 2.94129 11.5661 2.37868 12.1287C1.81607 12.6913 1.5 13.4544 1.5 14.25V15.75",
|
|
2137
|
+
stroke,
|
|
2138
|
+
strokeWidth: "1.5",
|
|
2139
|
+
strokeLinecap: "round",
|
|
2140
|
+
strokeLinejoin: "round"
|
|
2141
|
+
}
|
|
2142
|
+
),
|
|
2143
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2144
|
+
"path",
|
|
2145
|
+
{
|
|
2146
|
+
d: "M12 2.34595C12.6433 2.51272 13.213 2.8884 13.6198 3.41399C14.0265 3.93959 14.2471 4.58536 14.2471 5.24995C14.2471 5.91453 14.0265 6.5603 13.6198 7.0859C13.213 7.6115 12.6433 7.98717 12 8.15395",
|
|
2147
|
+
stroke,
|
|
2148
|
+
strokeWidth: "1.5",
|
|
2149
|
+
strokeLinecap: "round",
|
|
2150
|
+
strokeLinejoin: "round"
|
|
2151
|
+
}
|
|
2152
|
+
),
|
|
2153
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2154
|
+
"path",
|
|
2155
|
+
{
|
|
2156
|
+
d: "M16.5 15.7499V14.2499C16.4995 13.5852 16.2783 12.9395 15.871 12.4141C15.4638 11.8888 14.8936 11.5136 14.25 11.3474",
|
|
2157
|
+
stroke,
|
|
2158
|
+
strokeWidth: "1.5",
|
|
2159
|
+
strokeLinecap: "round",
|
|
2160
|
+
strokeLinejoin: "round"
|
|
2161
|
+
}
|
|
2162
|
+
),
|
|
2163
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2164
|
+
"path",
|
|
2165
|
+
{
|
|
2166
|
+
d: "M6.75 8.25C8.40685 8.25 9.75 6.90685 9.75 5.25C9.75 3.59315 8.40685 2.25 6.75 2.25C5.09315 2.25 3.75 3.59315 3.75 5.25C3.75 6.90685 5.09315 8.25 6.75 8.25Z",
|
|
2167
|
+
stroke,
|
|
2168
|
+
strokeWidth: "1.5",
|
|
2169
|
+
strokeLinecap: "round",
|
|
2170
|
+
strokeLinejoin: "round"
|
|
2171
|
+
}
|
|
2172
|
+
)
|
|
2173
|
+
]
|
|
2174
|
+
}
|
|
2175
|
+
);
|
|
2176
|
+
var user_group_default = UserGroupIcon;
|
|
2177
|
+
var UserProtectIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2178
|
+
"svg",
|
|
2179
|
+
{
|
|
2180
|
+
viewBox: "0 0 24 24",
|
|
2181
|
+
fill: "none",
|
|
2182
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2183
|
+
width: size,
|
|
2184
|
+
height: size,
|
|
2185
|
+
className,
|
|
2186
|
+
"aria-hidden": true,
|
|
2187
|
+
...props,
|
|
2188
|
+
children: [
|
|
2189
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2190
|
+
"path",
|
|
2191
|
+
{
|
|
2192
|
+
d: "M20 13.0004C20 18.0004 16.5 20.5005 12.34 21.9505C12.1222 22.0243 11.8855 22.0207 11.67 21.9405C7.5 20.5005 4 18.0004 4 13.0004V6.00045C4 5.73523 4.10536 5.48088 4.29289 5.29334C4.48043 5.10581 4.73478 5.00045 5 5.00045C7 5.00045 9.5 3.80045 11.24 2.28045C11.4519 2.09945 11.7214 2 12 2C12.2786 2 12.5481 2.09945 12.76 2.28045C14.51 3.81045 17 5.00045 19 5.00045C19.2652 5.00045 19.5196 5.10581 19.7071 5.29334C19.8946 5.48088 20 5.73523 20 6.00045V13.0004Z",
|
|
2193
|
+
stroke: "currentColor",
|
|
2194
|
+
strokeWidth: "1.5",
|
|
2195
|
+
strokeLinecap: "round",
|
|
2196
|
+
strokeLinejoin: "round"
|
|
2197
|
+
}
|
|
2198
|
+
),
|
|
2199
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2200
|
+
"path",
|
|
2201
|
+
{
|
|
2202
|
+
d: "M6.37598 18.9092C6.80269 17.7614 7.5704 16.7717 8.576 16.0729C9.5816 15.374 10.777 14.9997 12.0015 15C13.2261 15.0003 14.4212 15.3753 15.4265 16.0747C16.4317 16.774 17.1989 17.7642 17.625 18.9122",
|
|
2203
|
+
stroke: "currentColor",
|
|
2204
|
+
strokeWidth: "1.5",
|
|
2205
|
+
strokeLinecap: "round",
|
|
2206
|
+
strokeLinejoin: "round"
|
|
2207
|
+
}
|
|
2208
|
+
),
|
|
2209
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2210
|
+
"path",
|
|
2211
|
+
{
|
|
2212
|
+
d: "M12 15C14.2091 15 16 13.2091 16 11C16 8.79086 14.2091 7 12 7C9.79086 7 8 8.79086 8 11C8 13.2091 9.79086 15 12 15Z",
|
|
2213
|
+
stroke: "currentColor",
|
|
2214
|
+
strokeWidth: "1.5",
|
|
2215
|
+
strokeLinecap: "round",
|
|
2216
|
+
strokeLinejoin: "round"
|
|
2217
|
+
}
|
|
2218
|
+
)
|
|
2219
|
+
]
|
|
2220
|
+
}
|
|
2221
|
+
);
|
|
1990
2222
|
var UserIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1991
2223
|
"svg",
|
|
1992
2224
|
{
|
|
@@ -11502,13 +11734,13 @@ var DefaultHeader = ({
|
|
|
11502
11734
|
children: title
|
|
11503
11735
|
}
|
|
11504
11736
|
) : null;
|
|
11505
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-start justify-between gap-
|
|
11506
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-
|
|
11737
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn("flex items-start justify-between gap-1", classNames?.header), children: [
|
|
11738
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-1 min-w-0", children: [
|
|
11507
11739
|
icon ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
11508
11740
|
"div",
|
|
11509
11741
|
{
|
|
11510
11742
|
className: cn(
|
|
11511
|
-
"w-10 h-10 rounded-full bg-sus-green-50 flex items-
|
|
11743
|
+
"w-10 h-10 rounded-full bg-sus-green-50 flex items-start justify-center",
|
|
11512
11744
|
classNames?.iconWrapper
|
|
11513
11745
|
),
|
|
11514
11746
|
children: icon
|
|
@@ -12310,8 +12542,131 @@ var Input2 = React27__namespace.forwardRef(
|
|
|
12310
12542
|
}
|
|
12311
12543
|
);
|
|
12312
12544
|
Input2.displayName = "Input";
|
|
12313
|
-
var
|
|
12314
|
-
|
|
12545
|
+
var createSourceInfo = () => ({
|
|
12546
|
+
source: "prop"
|
|
12547
|
+
});
|
|
12548
|
+
var parseToNumber = (val) => {
|
|
12549
|
+
if (typeof val === "number") return val;
|
|
12550
|
+
if (typeof val === "string" && val !== "") {
|
|
12551
|
+
const parsed = parseFloat(val);
|
|
12552
|
+
if (!isNaN(parsed)) return parsed;
|
|
12553
|
+
}
|
|
12554
|
+
return void 0;
|
|
12555
|
+
};
|
|
12556
|
+
var InputNumber = ({
|
|
12557
|
+
customInputProps,
|
|
12558
|
+
showStepper = false,
|
|
12559
|
+
step = 1,
|
|
12560
|
+
min,
|
|
12561
|
+
max,
|
|
12562
|
+
onStepChange,
|
|
12563
|
+
onValueChange,
|
|
12564
|
+
value,
|
|
12565
|
+
defaultValue,
|
|
12566
|
+
disabled,
|
|
12567
|
+
onBlur,
|
|
12568
|
+
...props
|
|
12569
|
+
}) => {
|
|
12570
|
+
const [internalValue, setInternalValue] = React27__namespace.useState(
|
|
12571
|
+
() => parseToNumber(value) ?? parseToNumber(defaultValue)
|
|
12572
|
+
);
|
|
12573
|
+
const [stepperChanged, setStepperChanged] = React27__namespace.useState(false);
|
|
12574
|
+
React27__namespace.useEffect(() => {
|
|
12575
|
+
const parsed = parseToNumber(value);
|
|
12576
|
+
if (parsed !== void 0) setInternalValue(parsed);
|
|
12577
|
+
}, [value]);
|
|
12578
|
+
const notifyChange = (newValue) => {
|
|
12579
|
+
onStepChange?.(newValue);
|
|
12580
|
+
onValueChange?.(
|
|
12581
|
+
{
|
|
12582
|
+
floatValue: newValue,
|
|
12583
|
+
formattedValue: String(newValue),
|
|
12584
|
+
value: String(newValue)
|
|
12585
|
+
},
|
|
12586
|
+
createSourceInfo()
|
|
12587
|
+
);
|
|
12588
|
+
};
|
|
12589
|
+
const handleValueChange = (values, sourceInfo) => {
|
|
12590
|
+
setInternalValue(values.floatValue);
|
|
12591
|
+
onValueChange?.(values, sourceInfo);
|
|
12592
|
+
if (values.floatValue !== void 0) {
|
|
12593
|
+
onStepChange?.(values.floatValue);
|
|
12594
|
+
}
|
|
12595
|
+
};
|
|
12596
|
+
const handleBlur = (event) => {
|
|
12597
|
+
onBlur?.(event);
|
|
12598
|
+
if (internalValue === void 0) return;
|
|
12599
|
+
const clamped = max !== void 0 && internalValue > max ? max : min !== void 0 && internalValue < min ? min : internalValue;
|
|
12600
|
+
if (clamped !== internalValue) {
|
|
12601
|
+
setInternalValue(clamped);
|
|
12602
|
+
notifyChange(clamped);
|
|
12603
|
+
}
|
|
12604
|
+
};
|
|
12605
|
+
const isAllowed = (values) => {
|
|
12606
|
+
const { floatValue } = values;
|
|
12607
|
+
if (floatValue !== void 0 && max !== void 0 && floatValue > max) return false;
|
|
12608
|
+
if (props.isAllowed && !props.isAllowed(values)) return false;
|
|
12609
|
+
return true;
|
|
12610
|
+
};
|
|
12611
|
+
const changeValue = (delta) => {
|
|
12612
|
+
const current = internalValue ?? 0;
|
|
12613
|
+
const clamped = delta > 0 && max !== void 0 ? Math.min(current + delta, max) : delta < 0 && min !== void 0 ? Math.max(current + delta, min) : current + delta;
|
|
12614
|
+
setInternalValue(clamped);
|
|
12615
|
+
setStepperChanged(true);
|
|
12616
|
+
notifyChange(clamped);
|
|
12617
|
+
};
|
|
12618
|
+
const isIncrementDisabled = disabled || max !== void 0 && (internalValue ?? 0) >= max;
|
|
12619
|
+
const isDecrementDisabled = disabled || min !== void 0 && (internalValue ?? 0) <= min;
|
|
12620
|
+
const buttonClass = cn(
|
|
12621
|
+
"flex items-center justify-center h-3 w-5 transition-colors outline-none",
|
|
12622
|
+
"text-neutral-400 hover:text-neutral-600 active:text-neutral-900",
|
|
12623
|
+
disabled && "opacity-50 cursor-not-allowed"
|
|
12624
|
+
);
|
|
12625
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
12626
|
+
reactNumberFormat.NumericFormat,
|
|
12627
|
+
{
|
|
12628
|
+
customInput: Input2,
|
|
12629
|
+
value: stepperChanged ? internalValue : value,
|
|
12630
|
+
defaultValue,
|
|
12631
|
+
onValueChange: handleValueChange,
|
|
12632
|
+
onBlur: handleBlur,
|
|
12633
|
+
isAllowed,
|
|
12634
|
+
...props,
|
|
12635
|
+
disabled,
|
|
12636
|
+
...customInputProps,
|
|
12637
|
+
addonSuffix: showStepper ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col -space-y-px", children: [
|
|
12638
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12639
|
+
"button",
|
|
12640
|
+
{
|
|
12641
|
+
type: "button",
|
|
12642
|
+
onClick: () => changeValue(step),
|
|
12643
|
+
disabled: isIncrementDisabled,
|
|
12644
|
+
className: buttonClass,
|
|
12645
|
+
tabIndex: -1,
|
|
12646
|
+
"aria-label": "Increment",
|
|
12647
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { className: "h-4 w-4", strokeWidth: 2 })
|
|
12648
|
+
}
|
|
12649
|
+
),
|
|
12650
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
12651
|
+
"button",
|
|
12652
|
+
{
|
|
12653
|
+
type: "button",
|
|
12654
|
+
onClick: () => changeValue(-step),
|
|
12655
|
+
disabled: isDecrementDisabled,
|
|
12656
|
+
className: buttonClass,
|
|
12657
|
+
tabIndex: -1,
|
|
12658
|
+
"aria-label": "Decrement",
|
|
12659
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4", strokeWidth: 2 })
|
|
12660
|
+
}
|
|
12661
|
+
)
|
|
12662
|
+
] }) : customInputProps?.addonSuffix,
|
|
12663
|
+
suffixInteractive: showStepper || customInputProps?.suffixInteractive,
|
|
12664
|
+
className: cn(
|
|
12665
|
+
showStepper && "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",
|
|
12666
|
+
props.className
|
|
12667
|
+
)
|
|
12668
|
+
}
|
|
12669
|
+
);
|
|
12315
12670
|
};
|
|
12316
12671
|
var InputNumber_default = InputNumber;
|
|
12317
12672
|
var ActionButton = ({ label, onPress, disabled, className }) => {
|
|
@@ -13172,6 +13527,8 @@ exports.GridSettingsModal = GridSettingsModal_default;
|
|
|
13172
13527
|
exports.HamburgerMenuIcon = HamburgerMenuIcon;
|
|
13173
13528
|
exports.HandymanIcon = HandymanIcon;
|
|
13174
13529
|
exports.HeaderCell = HeaderCell_default;
|
|
13530
|
+
exports.HomeIcon = HomeIcon;
|
|
13531
|
+
exports.HomePlusIcon = HomePlusIcon;
|
|
13175
13532
|
exports.Image = Image2;
|
|
13176
13533
|
exports.InformationIcon = information_default;
|
|
13177
13534
|
exports.Input = Input;
|
|
@@ -13183,6 +13540,7 @@ exports.MainListContainer = MainListContainer_default;
|
|
|
13183
13540
|
exports.ManIcon = ManIcon;
|
|
13184
13541
|
exports.ManagementIcon = ManagementIcon;
|
|
13185
13542
|
exports.MenuIcon = MenuIcon;
|
|
13543
|
+
exports.MessageIcon = MessageIcon;
|
|
13186
13544
|
exports.MonthPicker = MonthPicker2;
|
|
13187
13545
|
exports.Navbar = navbar_default;
|
|
13188
13546
|
exports.NotFoundIcon = not_found_default;
|
|
@@ -13272,7 +13630,9 @@ exports.TruncatedMouseEnterDiv = truncatedMouseEnterDiv_default;
|
|
|
13272
13630
|
exports.UI = ui_exports;
|
|
13273
13631
|
exports.UserAloneIcon = user_alone_default;
|
|
13274
13632
|
exports.UserFriendIcon = user_friend_default;
|
|
13633
|
+
exports.UserGroupIcon = user_group_default;
|
|
13275
13634
|
exports.UserIcon = user_default;
|
|
13635
|
+
exports.UserProtectIcon = UserProtectIcon;
|
|
13276
13636
|
exports.VirtualizedCommand = VirtualizedCommand_default;
|
|
13277
13637
|
exports.booleanToSelectValue = booleanToSelectValue;
|
|
13278
13638
|
exports.buildPrefixMap = buildPrefixMap;
|