@sustaina/shared-ui 1.43.0 → 1.45.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 CHANGED
@@ -136,7 +136,7 @@ type RowState = {
136
136
  allowRegex?: RegExp;
137
137
  };
138
138
  interface Params {
139
- AND: Record<string, unknown>[];
139
+ AND: object[];
140
140
  }
141
141
  interface AdvanceSearchProps {
142
142
  fields: FieldSchema[];
@@ -147,6 +147,13 @@ interface AdvanceSearchProps {
147
147
  onClear?: () => void;
148
148
  shortDateFormat?: string;
149
149
  filterFieldMap?: Record<string, string>;
150
+ customParamsBuilderHook?: (args: {
151
+ defaultBuildFunc: ParamsBuilder["build"];
152
+ row: RowState;
153
+ }) => object;
154
+ }
155
+ interface ParamsBuilder {
156
+ build(row: RowState): object;
150
157
  }
151
158
 
152
159
  declare const AdvanceSearch: React__default.FC<AdvanceSearchProps>;
@@ -776,6 +783,10 @@ declare const HamburgerMenuIcon: React__default.FC<IconProps>;
776
783
 
777
784
  declare const HandymanIcon: React__default.FC<IconProps>;
778
785
 
786
+ declare const HomeIcon: React__default.FC<IconProps>;
787
+
788
+ declare const HomePlusIcon: React__default.FC<IconProps>;
789
+
779
790
  declare const InformationIcon: React__default.FC<IconProps>;
780
791
 
781
792
  declare const MailIcon: React__default.FC<IconProps>;
@@ -786,6 +797,8 @@ declare const ManagementIcon: React__default.FC<IconProps>;
786
797
 
787
798
  declare const MenuIcon: React__default.FC<IconProps>;
788
799
 
800
+ declare const MessageIcon: React__default.FC<IconProps>;
801
+
789
802
  declare const NotFoundIcon: React__default.FC<IconProps>;
790
803
 
791
804
  declare const PlusIcon: React__default.FC<IconProps>;
@@ -812,10 +825,14 @@ declare const UserFriendIcon: React__default.FC<IconProps>;
812
825
 
813
826
  declare const UserGroupIcon: React__default.FC<IconProps>;
814
827
 
828
+ declare const UserProtectIcon: React__default.FC<IconProps>;
829
+
815
830
  declare const UserIcon: React__default.FC<IconProps>;
816
831
 
817
832
  declare const SuiWarningIcon: React__default.FC<IconProps>;
818
833
 
834
+ declare const FactoryIcon: React.FC<IconProps>;
835
+
819
836
  type ImageLoaderProps = {
820
837
  src: string;
821
838
  width: number;
@@ -1474,8 +1491,13 @@ type InputCustomInputProps = Omit<InputProps, "type" | "value" | "defaultValue"
1474
1491
  };
1475
1492
  type InputNumberProps = NumericFormatProps<InputProps> & {
1476
1493
  customInputProps?: InputCustomInputProps;
1494
+ showStepper?: boolean;
1495
+ step?: number;
1496
+ min?: number;
1497
+ max?: number;
1498
+ onStepChange?: (value: number) => void;
1477
1499
  };
1478
- declare const InputNumber: ({ customInputProps, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
1500
+ declare const InputNumber: ({ customInputProps, showStepper, step, min, max, onStepChange, onValueChange, value, defaultValue, disabled, onBlur, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
1479
1501
 
1480
1502
  type PermissionAction = "CREATE" | "READ" | "EDIT" | "DELETE" | "NOTIFY" | "CREATE_DRAFT" | "REQUIRE_SITE";
1481
1503
  type PermissionString = `${string}.${PermissionAction}`;
@@ -1755,4 +1777,4 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
1755
1777
  [K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
1756
1778
  };
1757
1779
 
1758
- 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, UserGroupIcon, 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 };
1780
+ 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, FactoryIcon, 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
@@ -136,7 +136,7 @@ type RowState = {
136
136
  allowRegex?: RegExp;
137
137
  };
138
138
  interface Params {
139
- AND: Record<string, unknown>[];
139
+ AND: object[];
140
140
  }
141
141
  interface AdvanceSearchProps {
142
142
  fields: FieldSchema[];
@@ -147,6 +147,13 @@ interface AdvanceSearchProps {
147
147
  onClear?: () => void;
148
148
  shortDateFormat?: string;
149
149
  filterFieldMap?: Record<string, string>;
150
+ customParamsBuilderHook?: (args: {
151
+ defaultBuildFunc: ParamsBuilder["build"];
152
+ row: RowState;
153
+ }) => object;
154
+ }
155
+ interface ParamsBuilder {
156
+ build(row: RowState): object;
150
157
  }
151
158
 
152
159
  declare const AdvanceSearch: React__default.FC<AdvanceSearchProps>;
@@ -776,6 +783,10 @@ declare const HamburgerMenuIcon: React__default.FC<IconProps>;
776
783
 
777
784
  declare const HandymanIcon: React__default.FC<IconProps>;
778
785
 
786
+ declare const HomeIcon: React__default.FC<IconProps>;
787
+
788
+ declare const HomePlusIcon: React__default.FC<IconProps>;
789
+
779
790
  declare const InformationIcon: React__default.FC<IconProps>;
780
791
 
781
792
  declare const MailIcon: React__default.FC<IconProps>;
@@ -786,6 +797,8 @@ declare const ManagementIcon: React__default.FC<IconProps>;
786
797
 
787
798
  declare const MenuIcon: React__default.FC<IconProps>;
788
799
 
800
+ declare const MessageIcon: React__default.FC<IconProps>;
801
+
789
802
  declare const NotFoundIcon: React__default.FC<IconProps>;
790
803
 
791
804
  declare const PlusIcon: React__default.FC<IconProps>;
@@ -812,10 +825,14 @@ declare const UserFriendIcon: React__default.FC<IconProps>;
812
825
 
813
826
  declare const UserGroupIcon: React__default.FC<IconProps>;
814
827
 
828
+ declare const UserProtectIcon: React__default.FC<IconProps>;
829
+
815
830
  declare const UserIcon: React__default.FC<IconProps>;
816
831
 
817
832
  declare const SuiWarningIcon: React__default.FC<IconProps>;
818
833
 
834
+ declare const FactoryIcon: React.FC<IconProps>;
835
+
819
836
  type ImageLoaderProps = {
820
837
  src: string;
821
838
  width: number;
@@ -1474,8 +1491,13 @@ type InputCustomInputProps = Omit<InputProps, "type" | "value" | "defaultValue"
1474
1491
  };
1475
1492
  type InputNumberProps = NumericFormatProps<InputProps> & {
1476
1493
  customInputProps?: InputCustomInputProps;
1494
+ showStepper?: boolean;
1495
+ step?: number;
1496
+ min?: number;
1497
+ max?: number;
1498
+ onStepChange?: (value: number) => void;
1477
1499
  };
1478
- declare const InputNumber: ({ customInputProps, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
1500
+ declare const InputNumber: ({ customInputProps, showStepper, step, min, max, onStepChange, onValueChange, value, defaultValue, disabled, onBlur, ...props }: InputNumberProps) => react_jsx_runtime.JSX.Element;
1479
1501
 
1480
1502
  type PermissionAction = "CREATE" | "READ" | "EDIT" | "DELETE" | "NOTIFY" | "CREATE_DRAFT" | "REQUIRE_SITE";
1481
1503
  type PermissionString = `${string}.${PermissionAction}`;
@@ -1755,4 +1777,4 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
1755
1777
  [K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
1756
1778
  };
1757
1779
 
1758
- 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, UserGroupIcon, 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 };
1780
+ 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, FactoryIcon, 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
  {
@@ -2049,6 +2174,51 @@ var UserGroupIcon = ({
2049
2174
  }
2050
2175
  );
2051
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
+ );
2052
2222
  var UserIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(
2053
2223
  "svg",
2054
2224
  {
@@ -2115,6 +2285,55 @@ var SuiWarningIcon = ({ size = "1em", className, ...props }) => /* @__PURE__ */
2115
2285
  }
2116
2286
  );
2117
2287
  var warning_default = SuiWarningIcon;
2288
+ var FactoryIcon = ({ size = "1em", className, ...props }) => {
2289
+ return /* @__PURE__ */ jsxRuntime.jsxs(
2290
+ "svg",
2291
+ {
2292
+ viewBox: "0 0 11 9",
2293
+ fill: "none",
2294
+ xmlns: "http://www.w3.org/2000/svg",
2295
+ width: size,
2296
+ height: size,
2297
+ className,
2298
+ "aria-hidden": true,
2299
+ ...props,
2300
+ children: [
2301
+ /* @__PURE__ */ jsxRuntime.jsxs("g", { clipPath: "url(#clip0_4362_106915)", children: [
2302
+ /* @__PURE__ */ jsxRuntime.jsx(
2303
+ "path",
2304
+ {
2305
+ d: "M4.09997 2.18649L7.16802 0.884405C7.28199 0.818433 7.53766 1.01288 7.53766 1.1344V2.16218L7.6424 2.14482C8.59115 1.8219 9.59843 1.19343 10.541 0.90871C10.7567 0.842738 10.8983 0.90871 10.9877 1.14482L11 8.51982C10.9815 8.72121 10.8675 8.84968 10.6889 8.87052L0.25259 8.86357C0.110893 8.81496 0.0277233 8.71079 0 8.54413V2.70385C0.00308037 2.58579 0.0462056 2.4851 0.129376 2.41565L3.69028 0.887877C3.87202 0.821905 4.09997 1.01982 4.09997 1.22815V2.18302V2.18649ZM1.45393 4.51635C1.28143 4.5476 1.20134 4.70732 1.18286 4.88788C1.15514 5.17607 1.15822 5.73163 1.17978 6.02329C1.19518 6.24899 1.27527 6.41913 1.4909 6.4469C1.74041 6.47815 2.35956 6.47815 2.60907 6.4469C2.75693 6.42954 2.88015 6.31496 2.89863 6.14482C2.92635 5.87399 2.92635 5.08232 2.89863 4.81149C2.88015 4.64135 2.75385 4.52677 2.60907 4.5094C2.38421 4.48163 1.66648 4.47468 1.45393 4.51635ZM6.26239 4.61357C6.22235 4.56843 6.1207 4.51635 6.06525 4.5094C5.82498 4.47468 5.1935 4.48163 4.94707 4.5094C4.77457 4.53024 4.65136 4.66565 4.63596 4.8601C4.61131 5.13788 4.60823 5.84968 4.63596 6.12052C4.65136 6.25593 4.74377 6.38788 4.85774 6.42954C4.97172 6.47121 5.91123 6.47121 6.06525 6.4469C6.21003 6.42607 6.33632 6.28718 6.3548 6.12052C6.38561 5.84968 6.37945 5.13788 6.3548 4.8601C6.34864 4.78024 6.31168 4.6726 6.25931 4.61357H6.26239Z",
2306
+ fill: "currentColor"
2307
+ }
2308
+ ),
2309
+ /* @__PURE__ */ jsxRuntime.jsx(
2310
+ "path",
2311
+ {
2312
+ d: "M1.45516 4.5178C1.6677 4.47613 2.38543 4.48307 2.6103 4.51085C2.75507 4.52821 2.88137 4.6428 2.89985 4.81293C2.92757 5.08377 2.92757 5.87543 2.89985 6.14627C2.88137 6.31641 2.75507 6.43099 2.6103 6.44835C2.36079 6.4796 1.74163 6.4796 1.49212 6.44835C1.2765 6.42057 1.19641 6.25043 1.181 6.02474C1.15944 5.73307 1.15636 5.17405 1.18408 4.88932C1.20257 4.70877 1.28266 4.54905 1.45516 4.5178Z",
2313
+ fill: "white"
2314
+ }
2315
+ ),
2316
+ /* @__PURE__ */ jsxRuntime.jsx(
2317
+ "path",
2318
+ {
2319
+ d: "M8.35268 4.51606C8.54982 4.47786 9.32299 4.48134 9.5263 4.51259C9.7296 4.54384 9.80353 4.72092 9.81893 4.93273C9.8405 5.22786 9.8405 5.75564 9.81893 6.04731C9.80045 6.26259 9.71112 6.42231 9.50782 6.44661C9.25831 6.47786 8.63915 6.47786 8.38964 6.44661C8.24486 6.42925 8.11857 6.31467 8.10009 6.14453C8.07236 5.898 8.06928 5.02648 8.10009 4.79036C8.11857 4.65842 8.23562 4.53689 8.3496 4.51606H8.35268Z",
2320
+ fill: "white"
2321
+ }
2322
+ ),
2323
+ /* @__PURE__ */ jsxRuntime.jsx(
2324
+ "path",
2325
+ {
2326
+ d: "M6.26921 4.6146C6.3185 4.67016 6.35546 4.78127 6.3647 4.86113C6.38935 5.13891 6.39243 5.85071 6.3647 6.12155C6.34622 6.28821 6.21993 6.4271 6.07515 6.44794C5.91805 6.46877 4.98162 6.47224 4.86764 6.43057C4.75367 6.38891 4.66126 6.25696 4.64586 6.12155C4.61505 5.85071 4.62121 5.13891 4.64586 4.86113C4.66434 4.66669 4.78447 4.5278 4.95697 4.51044C5.2034 4.48266 5.83488 4.47919 6.07515 4.51044C6.13059 4.51738 6.23225 4.57294 6.27229 4.6146H6.26921Z",
2327
+ fill: "white"
2328
+ }
2329
+ )
2330
+ ] }),
2331
+ /* @__PURE__ */ jsxRuntime.jsx("defs", { children: /* @__PURE__ */ jsxRuntime.jsx("clipPath", { id: "clip0_4362_106915", children: /* @__PURE__ */ jsxRuntime.jsx("rect", { width: "11", height: "8", fill: "white", transform: "translate(0 0.871094)" }) }) })
2332
+ ]
2333
+ }
2334
+ );
2335
+ };
2336
+ var factory_default = FactoryIcon;
2118
2337
  var AuditFooter = ({
2119
2338
  createdAt,
2120
2339
  createdBy,
@@ -5269,7 +5488,8 @@ var AdvanceSearch = ({
5269
5488
  onSearch,
5270
5489
  onClear,
5271
5490
  shortDateFormat,
5272
- filterFieldMap = FILTER_FIELD_MAP
5491
+ filterFieldMap = FILTER_FIELD_MAP,
5492
+ customParamsBuilderHook
5273
5493
  }) => {
5274
5494
  const fieldsData = React27.useMemo(() => {
5275
5495
  if (fields.length === 0) throw new Error("fields cannot be an empty array");
@@ -5378,10 +5598,25 @@ var AdvanceSearch = ({
5378
5598
  });
5379
5599
  if (hasError) return;
5380
5600
  const cleanedRows = processedRows.filter(Boolean);
5381
- const param = {
5382
- AND: cleanedRows.map((r) => getBuilder(r.fieldType).build(r)).filter(Boolean)
5383
- };
5384
- if (onSearch) onSearch(transformFilterKeys(param, filterFieldMap));
5601
+ let params;
5602
+ if (customParamsBuilderHook) {
5603
+ params = {
5604
+ AND: cleanedRows.map(
5605
+ (r) => customParamsBuilderHook({
5606
+ defaultBuildFunc: (r2) => getBuilder(r2.fieldType).build(r2),
5607
+ row: r
5608
+ })
5609
+ )
5610
+ };
5611
+ } else {
5612
+ params = transformFilterKeys(
5613
+ {
5614
+ AND: cleanedRows.map((r) => getBuilder(r.fieldType).build(r)).filter(Boolean)
5615
+ },
5616
+ filterFieldMap
5617
+ );
5618
+ }
5619
+ if (onSearch) onSearch(params);
5385
5620
  }, [
5386
5621
  rows,
5387
5622
  operatorsForField,
@@ -5390,7 +5625,8 @@ var AdvanceSearch = ({
5390
5625
  setError,
5391
5626
  setOperatorErrors,
5392
5627
  filterFieldMap,
5393
- onSearch
5628
+ onSearch,
5629
+ customParamsBuilderHook
5394
5630
  ]);
5395
5631
  return /* @__PURE__ */ jsxRuntime.jsx(
5396
5632
  ExpandCollapse_default,
@@ -12372,8 +12608,131 @@ var Input2 = React27__namespace.forwardRef(
12372
12608
  }
12373
12609
  );
12374
12610
  Input2.displayName = "Input";
12375
- var InputNumber = ({ customInputProps, ...props }) => {
12376
- return /* @__PURE__ */ jsxRuntime.jsx(reactNumberFormat.NumericFormat, { customInput: Input2, ...props, ...customInputProps });
12611
+ var createSourceInfo = () => ({
12612
+ source: "prop"
12613
+ });
12614
+ var parseToNumber = (val) => {
12615
+ if (typeof val === "number") return val;
12616
+ if (typeof val === "string" && val !== "") {
12617
+ const parsed = parseFloat(val);
12618
+ if (!isNaN(parsed)) return parsed;
12619
+ }
12620
+ return void 0;
12621
+ };
12622
+ var InputNumber = ({
12623
+ customInputProps,
12624
+ showStepper = false,
12625
+ step = 1,
12626
+ min,
12627
+ max,
12628
+ onStepChange,
12629
+ onValueChange,
12630
+ value,
12631
+ defaultValue,
12632
+ disabled,
12633
+ onBlur,
12634
+ ...props
12635
+ }) => {
12636
+ const [internalValue, setInternalValue] = React27__namespace.useState(
12637
+ () => parseToNumber(value) ?? parseToNumber(defaultValue)
12638
+ );
12639
+ const [stepperChanged, setStepperChanged] = React27__namespace.useState(false);
12640
+ React27__namespace.useEffect(() => {
12641
+ const parsed = parseToNumber(value);
12642
+ if (parsed !== void 0) setInternalValue(parsed);
12643
+ }, [value]);
12644
+ const notifyChange = (newValue) => {
12645
+ onStepChange?.(newValue);
12646
+ onValueChange?.(
12647
+ {
12648
+ floatValue: newValue,
12649
+ formattedValue: String(newValue),
12650
+ value: String(newValue)
12651
+ },
12652
+ createSourceInfo()
12653
+ );
12654
+ };
12655
+ const handleValueChange = (values, sourceInfo) => {
12656
+ setInternalValue(values.floatValue);
12657
+ onValueChange?.(values, sourceInfo);
12658
+ if (values.floatValue !== void 0) {
12659
+ onStepChange?.(values.floatValue);
12660
+ }
12661
+ };
12662
+ const handleBlur = (event) => {
12663
+ onBlur?.(event);
12664
+ if (internalValue === void 0) return;
12665
+ const clamped = max !== void 0 && internalValue > max ? max : min !== void 0 && internalValue < min ? min : internalValue;
12666
+ if (clamped !== internalValue) {
12667
+ setInternalValue(clamped);
12668
+ notifyChange(clamped);
12669
+ }
12670
+ };
12671
+ const isAllowed = (values) => {
12672
+ const { floatValue } = values;
12673
+ if (floatValue !== void 0 && max !== void 0 && floatValue > max) return false;
12674
+ if (props.isAllowed && !props.isAllowed(values)) return false;
12675
+ return true;
12676
+ };
12677
+ const changeValue = (delta) => {
12678
+ const current = internalValue ?? 0;
12679
+ const clamped = delta > 0 && max !== void 0 ? Math.min(current + delta, max) : delta < 0 && min !== void 0 ? Math.max(current + delta, min) : current + delta;
12680
+ setInternalValue(clamped);
12681
+ setStepperChanged(true);
12682
+ notifyChange(clamped);
12683
+ };
12684
+ const isIncrementDisabled = disabled || max !== void 0 && (internalValue ?? 0) >= max;
12685
+ const isDecrementDisabled = disabled || min !== void 0 && (internalValue ?? 0) <= min;
12686
+ const buttonClass = cn(
12687
+ "flex items-center justify-center h-3 w-5 transition-colors outline-none",
12688
+ "text-neutral-400 hover:text-neutral-600 active:text-neutral-900",
12689
+ disabled && "opacity-50 cursor-not-allowed"
12690
+ );
12691
+ return /* @__PURE__ */ jsxRuntime.jsx(
12692
+ reactNumberFormat.NumericFormat,
12693
+ {
12694
+ customInput: Input2,
12695
+ value: stepperChanged ? internalValue : value,
12696
+ defaultValue,
12697
+ onValueChange: handleValueChange,
12698
+ onBlur: handleBlur,
12699
+ isAllowed,
12700
+ ...props,
12701
+ disabled,
12702
+ ...customInputProps,
12703
+ addonSuffix: showStepper ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col -space-y-px", children: [
12704
+ /* @__PURE__ */ jsxRuntime.jsx(
12705
+ "button",
12706
+ {
12707
+ type: "button",
12708
+ onClick: () => changeValue(step),
12709
+ disabled: isIncrementDisabled,
12710
+ className: buttonClass,
12711
+ tabIndex: -1,
12712
+ "aria-label": "Increment",
12713
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronUp, { className: "h-4 w-4", strokeWidth: 2 })
12714
+ }
12715
+ ),
12716
+ /* @__PURE__ */ jsxRuntime.jsx(
12717
+ "button",
12718
+ {
12719
+ type: "button",
12720
+ onClick: () => changeValue(-step),
12721
+ disabled: isDecrementDisabled,
12722
+ className: buttonClass,
12723
+ tabIndex: -1,
12724
+ "aria-label": "Decrement",
12725
+ children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "h-4 w-4", strokeWidth: 2 })
12726
+ }
12727
+ )
12728
+ ] }) : customInputProps?.addonSuffix,
12729
+ suffixInteractive: showStepper || customInputProps?.suffixInteractive,
12730
+ className: cn(
12731
+ showStepper && "[appearance:textfield] [&::-webkit-outer-spin-button]:appearance-none [&::-webkit-inner-spin-button]:appearance-none",
12732
+ props.className
12733
+ )
12734
+ }
12735
+ );
12377
12736
  };
12378
12737
  var InputNumber_default = InputNumber;
12379
12738
  var ActionButton = ({ label, onPress, disabled, className }) => {
@@ -13221,6 +13580,7 @@ exports.ErrorCreateCanvas = ErrorCreateCanvas;
13221
13580
  exports.ErrorGeneratingBlob = ErrorGeneratingBlob;
13222
13581
  exports.ErrorInvalidSVG = ErrorInvalidSVG;
13223
13582
  exports.ErrorSVGExceedSize = ErrorSVGExceedSize;
13583
+ exports.FactoryIcon = factory_default;
13224
13584
  exports.FiltersIcon = filters_default;
13225
13585
  exports.Form = Form;
13226
13586
  exports.FormControl = FormControl;
@@ -13234,6 +13594,8 @@ exports.GridSettingsModal = GridSettingsModal_default;
13234
13594
  exports.HamburgerMenuIcon = HamburgerMenuIcon;
13235
13595
  exports.HandymanIcon = HandymanIcon;
13236
13596
  exports.HeaderCell = HeaderCell_default;
13597
+ exports.HomeIcon = HomeIcon;
13598
+ exports.HomePlusIcon = HomePlusIcon;
13237
13599
  exports.Image = Image2;
13238
13600
  exports.InformationIcon = information_default;
13239
13601
  exports.Input = Input;
@@ -13245,6 +13607,7 @@ exports.MainListContainer = MainListContainer_default;
13245
13607
  exports.ManIcon = ManIcon;
13246
13608
  exports.ManagementIcon = ManagementIcon;
13247
13609
  exports.MenuIcon = MenuIcon;
13610
+ exports.MessageIcon = MessageIcon;
13248
13611
  exports.MonthPicker = MonthPicker2;
13249
13612
  exports.Navbar = navbar_default;
13250
13613
  exports.NotFoundIcon = not_found_default;
@@ -13336,6 +13699,7 @@ exports.UserAloneIcon = user_alone_default;
13336
13699
  exports.UserFriendIcon = user_friend_default;
13337
13700
  exports.UserGroupIcon = user_group_default;
13338
13701
  exports.UserIcon = user_default;
13702
+ exports.UserProtectIcon = UserProtectIcon;
13339
13703
  exports.VirtualizedCommand = VirtualizedCommand_default;
13340
13704
  exports.booleanToSelectValue = booleanToSelectValue;
13341
13705
  exports.buildPrefixMap = buildPrefixMap;