@sustaina/shared-ui 1.49.2 → 1.50.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 +58 -6
- package/dist/index.d.ts +58 -6
- package/dist/index.js +1137 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1137 -45
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -132,6 +132,7 @@ interface FieldSchemaBase<T extends FieldType> {
|
|
|
132
132
|
label?: string;
|
|
133
133
|
multiTableSearch?: boolean;
|
|
134
134
|
lookupFieldName?: string;
|
|
135
|
+
enableNullOperators?: boolean;
|
|
135
136
|
}
|
|
136
137
|
type DropdownFieldSchema = FieldSchemaBase<"dropdown"> & ({
|
|
137
138
|
options: Option[];
|
|
@@ -171,7 +172,7 @@ interface JSONFieldSchema extends FieldSchemaBase<"json"> {
|
|
|
171
172
|
loadingMessage?: string;
|
|
172
173
|
}
|
|
173
174
|
type FieldSchema = DropdownFieldSchema | TextFieldSchema | NumberFieldSchema | DateFieldSchema | DateTimeFieldSchema | DateMonthFieldSchema | CheckboxFieldSchema | LookupFieldSchema | UUIDFieldSchema | JSONFieldSchema;
|
|
174
|
-
type OperatorValue = "contains" | "equals" | "beginsWith" | "endsWith" | "notEquals" | "notBeginsWith" | "notEndsWith" | "notContains" | "gt" | "gte" | "lt" | "lte" | "on" | "after" | "before" | "between" | "is" | "isNot" | "containsAny" | "containsOnly" | "containsAll";
|
|
175
|
+
type OperatorValue = "contains" | "equals" | "beginsWith" | "endsWith" | "notEquals" | "notBeginsWith" | "notEndsWith" | "notContains" | "gt" | "gte" | "lt" | "lte" | "on" | "after" | "before" | "between" | "is" | "isNot" | "containsAny" | "containsOnly" | "containsAll" | "isNull" | "isNotNull";
|
|
175
176
|
type RowState = {
|
|
176
177
|
id: string;
|
|
177
178
|
fieldName: string;
|
|
@@ -1241,6 +1242,11 @@ declare function RadioLabel({ children, htmlFor, className, disabled, ...props }
|
|
|
1241
1242
|
disabled?: boolean;
|
|
1242
1243
|
}): react_jsx_runtime.JSX.Element;
|
|
1243
1244
|
|
|
1245
|
+
type MentionItem$1 = {
|
|
1246
|
+
key: string;
|
|
1247
|
+
label: string;
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1244
1250
|
type ImagePayload = {
|
|
1245
1251
|
src: string;
|
|
1246
1252
|
altText?: string;
|
|
@@ -1256,6 +1262,7 @@ declare const RichText: React$1.ForwardRefExoticComponent<{
|
|
|
1256
1262
|
defaultValue?: RichTextSerializedState;
|
|
1257
1263
|
onChange?: (serializedState: RichTextSerializedState, editorState: EditorState) => void;
|
|
1258
1264
|
onHtmlChange?: (html: string, editorState: EditorState) => void;
|
|
1265
|
+
onTextChange?: (text: string, editorState: EditorState) => void;
|
|
1259
1266
|
placeholder?: string;
|
|
1260
1267
|
readOnly?: boolean;
|
|
1261
1268
|
disabled?: boolean;
|
|
@@ -1268,6 +1275,9 @@ declare const RichText: React$1.ForwardRefExoticComponent<{
|
|
|
1268
1275
|
onImageDialogUploadError?: (error: unknown) => void;
|
|
1269
1276
|
acceptImageMimeTypes?: string;
|
|
1270
1277
|
allowImageUrlInsert?: boolean;
|
|
1278
|
+
mentions?: MentionItem$1[];
|
|
1279
|
+
mentionTrigger?: string;
|
|
1280
|
+
plainTextMentions?: boolean;
|
|
1271
1281
|
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1272
1282
|
|
|
1273
1283
|
type RightPanelContainerSlots = {
|
|
@@ -1361,10 +1371,10 @@ declare const Spinner: ({ className, variant, size, ...props }: SpinnerProps) =>
|
|
|
1361
1371
|
|
|
1362
1372
|
declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1363
1373
|
|
|
1364
|
-
type
|
|
1374
|
+
type TextAreaProps = React$1.ComponentProps<"textarea"> & {
|
|
1365
1375
|
autoResize?: boolean;
|
|
1366
1376
|
};
|
|
1367
|
-
declare function
|
|
1377
|
+
declare function TextArea({ className, autoResize, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
1368
1378
|
|
|
1369
1379
|
declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
1370
1380
|
declare function Tooltip$1({ children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -1475,14 +1485,14 @@ declare const index_TableFooter: typeof TableFooter;
|
|
|
1475
1485
|
declare const index_TableHead: typeof TableHead;
|
|
1476
1486
|
declare const index_TableHeader: typeof TableHeader;
|
|
1477
1487
|
declare const index_TableRow: typeof TableRow;
|
|
1478
|
-
declare const
|
|
1488
|
+
declare const index_TextArea: typeof TextArea;
|
|
1479
1489
|
declare const index_buttonVariants: typeof buttonVariants;
|
|
1480
1490
|
declare const index_spinnerVariants: typeof spinnerVariants;
|
|
1481
1491
|
declare const index_useCarousel: typeof useCarousel;
|
|
1482
1492
|
declare const index_useFormField: typeof useFormField;
|
|
1483
1493
|
declare const index_useSidebar: typeof useSidebar;
|
|
1484
1494
|
declare namespace index {
|
|
1485
|
-
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Carousel as Carousel, type index_CarouselApi as CarouselApi, index_CarouselContent as CarouselContent, index_CarouselDots as CarouselDots, index_CarouselItem as CarouselItem, index_CarouselNext as CarouselNext, index_CarouselPrevious as CarouselPrevious, index_CarouselThumbnails as CarouselThumbnails, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, Dialog$1 as Dialog, index_DialogContent as DialogContent, type index_DialogContentProps as DialogContentProps, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_Input as Input, index_InputPrimitive as InputPrimitive, type InputPrimitiveProps$1 as InputPrimitiveProps, type InputProps$1 as InputProps, index_Label as Label, index_ListContainer as ListContainer, type index_ListContainerProps as ListContainerProps, index_ListHeader as ListHeader, type index_ListHeaderProps as ListHeaderProps, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow,
|
|
1495
|
+
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Carousel as Carousel, type index_CarouselApi as CarouselApi, index_CarouselContent as CarouselContent, index_CarouselDots as CarouselDots, index_CarouselItem as CarouselItem, index_CarouselNext as CarouselNext, index_CarouselPrevious as CarouselPrevious, index_CarouselThumbnails as CarouselThumbnails, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, Dialog$1 as Dialog, index_DialogContent as DialogContent, type index_DialogContentProps as DialogContentProps, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_Input as Input, index_InputPrimitive as InputPrimitive, type InputPrimitiveProps$1 as InputPrimitiveProps, type InputProps$1 as InputProps, index_Label as Label, index_ListContainer as ListContainer, type index_ListContainerProps as ListContainerProps, index_ListHeader as ListHeader, type index_ListHeaderProps as ListHeaderProps, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_TextArea as TextArea, Tooltip$1 as Tooltip, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index_buttonVariants as buttonVariants, inputVariants$1 as inputVariants, index_spinnerVariants as spinnerVariants, index_useCarousel as useCarousel, index_useFormField as useFormField, index_useSidebar as useSidebar };
|
|
1486
1496
|
}
|
|
1487
1497
|
|
|
1488
1498
|
type SidebarContextProps = {
|
|
@@ -1783,6 +1793,48 @@ interface TabSelectProps<T extends string = string> {
|
|
|
1783
1793
|
}
|
|
1784
1794
|
declare const TabSelect: <T extends string = string>({ items, onSelectTab, labelWrapperClassName, labelClassName, activeBorderClassName, separatorClassName, ...rest }: ComponentProps<"div"> & TabSelectProps<T>) => react_jsx_runtime.JSX.Element | null;
|
|
1785
1795
|
|
|
1796
|
+
type MentionItem = {
|
|
1797
|
+
key: string;
|
|
1798
|
+
label: string;
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
type InputMentionSerializedState = string;
|
|
1802
|
+
type InputMentionProps = {
|
|
1803
|
+
value?: InputMentionSerializedState;
|
|
1804
|
+
defaultValue?: InputMentionSerializedState;
|
|
1805
|
+
onChange?: (serializedState: InputMentionSerializedState, editorState: EditorState) => void;
|
|
1806
|
+
onHtmlChange?: (html: string, editorState: EditorState) => void;
|
|
1807
|
+
/** Callback for plain text output - useful for email subjects. Mentions are rendered as {{VARIABLE}} format */
|
|
1808
|
+
onTextChange?: (text: string, editorState: EditorState) => void;
|
|
1809
|
+
placeholder?: string;
|
|
1810
|
+
readOnly?: boolean;
|
|
1811
|
+
disabled?: boolean;
|
|
1812
|
+
editorClassName?: string;
|
|
1813
|
+
autoFocus?: boolean;
|
|
1814
|
+
/** Array of mention items that will be suggested */
|
|
1815
|
+
mentions?: MentionItem[];
|
|
1816
|
+
/** Optional trigger character for mentions (e.g., "$", "@"). If not provided, suggestions appear when typing matching text */
|
|
1817
|
+
mentionTrigger?: string;
|
|
1818
|
+
/** If true, mentions will be rendered as plain text (e.g., {{FIRSTNAME}}) suitable for mail templates. If false, mentions will be styled HTML tags */
|
|
1819
|
+
plainTextMentions?: boolean;
|
|
1820
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
1821
|
+
|
|
1822
|
+
declare const InputMention: React$1.ForwardRefExoticComponent<{
|
|
1823
|
+
value?: InputMentionSerializedState;
|
|
1824
|
+
defaultValue?: InputMentionSerializedState;
|
|
1825
|
+
onChange?: (serializedState: InputMentionSerializedState, editorState: EditorState) => void;
|
|
1826
|
+
onHtmlChange?: (html: string, editorState: EditorState) => void;
|
|
1827
|
+
onTextChange?: (text: string, editorState: EditorState) => void;
|
|
1828
|
+
placeholder?: string;
|
|
1829
|
+
readOnly?: boolean;
|
|
1830
|
+
disabled?: boolean;
|
|
1831
|
+
editorClassName?: string;
|
|
1832
|
+
autoFocus?: boolean;
|
|
1833
|
+
mentions?: MentionItem[];
|
|
1834
|
+
mentionTrigger?: string;
|
|
1835
|
+
plainTextMentions?: boolean;
|
|
1836
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1837
|
+
|
|
1786
1838
|
declare function isDefined<T>(value: T | null | undefined): value is NonNullable<T>;
|
|
1787
1839
|
declare function isEmptyObject(value: any): boolean;
|
|
1788
1840
|
type DebounceOptions = {
|
|
@@ -1954,4 +2006,4 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
|
|
|
1954
2006
|
[K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
|
|
1955
2007
|
};
|
|
1956
2008
|
|
|
1957
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, 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 DateRange, 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, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, 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, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, type ListHeaderProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, MenuIcon, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, 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, SearchIcon, 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, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys,
|
|
2009
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, 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 DateRange, 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, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, 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, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputMention, type MentionItem as InputMentionItem, type InputMentionProps, type InputMentionSerializedState, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, type ListHeaderProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, type MentionItem$1 as MentionItem, MenuIcon, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, 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, SearchIcon, 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, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys, TextArea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TransferUserRightsIcon, 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, UserActiveIcon, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserInactiveIcon, UserNameIcon, UserProtectIcon, UsersIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, WorkFlowIcon, 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, useCarousel, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|
package/dist/index.d.ts
CHANGED
|
@@ -132,6 +132,7 @@ interface FieldSchemaBase<T extends FieldType> {
|
|
|
132
132
|
label?: string;
|
|
133
133
|
multiTableSearch?: boolean;
|
|
134
134
|
lookupFieldName?: string;
|
|
135
|
+
enableNullOperators?: boolean;
|
|
135
136
|
}
|
|
136
137
|
type DropdownFieldSchema = FieldSchemaBase<"dropdown"> & ({
|
|
137
138
|
options: Option[];
|
|
@@ -171,7 +172,7 @@ interface JSONFieldSchema extends FieldSchemaBase<"json"> {
|
|
|
171
172
|
loadingMessage?: string;
|
|
172
173
|
}
|
|
173
174
|
type FieldSchema = DropdownFieldSchema | TextFieldSchema | NumberFieldSchema | DateFieldSchema | DateTimeFieldSchema | DateMonthFieldSchema | CheckboxFieldSchema | LookupFieldSchema | UUIDFieldSchema | JSONFieldSchema;
|
|
174
|
-
type OperatorValue = "contains" | "equals" | "beginsWith" | "endsWith" | "notEquals" | "notBeginsWith" | "notEndsWith" | "notContains" | "gt" | "gte" | "lt" | "lte" | "on" | "after" | "before" | "between" | "is" | "isNot" | "containsAny" | "containsOnly" | "containsAll";
|
|
175
|
+
type OperatorValue = "contains" | "equals" | "beginsWith" | "endsWith" | "notEquals" | "notBeginsWith" | "notEndsWith" | "notContains" | "gt" | "gte" | "lt" | "lte" | "on" | "after" | "before" | "between" | "is" | "isNot" | "containsAny" | "containsOnly" | "containsAll" | "isNull" | "isNotNull";
|
|
175
176
|
type RowState = {
|
|
176
177
|
id: string;
|
|
177
178
|
fieldName: string;
|
|
@@ -1241,6 +1242,11 @@ declare function RadioLabel({ children, htmlFor, className, disabled, ...props }
|
|
|
1241
1242
|
disabled?: boolean;
|
|
1242
1243
|
}): react_jsx_runtime.JSX.Element;
|
|
1243
1244
|
|
|
1245
|
+
type MentionItem$1 = {
|
|
1246
|
+
key: string;
|
|
1247
|
+
label: string;
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1244
1250
|
type ImagePayload = {
|
|
1245
1251
|
src: string;
|
|
1246
1252
|
altText?: string;
|
|
@@ -1256,6 +1262,7 @@ declare const RichText: React$1.ForwardRefExoticComponent<{
|
|
|
1256
1262
|
defaultValue?: RichTextSerializedState;
|
|
1257
1263
|
onChange?: (serializedState: RichTextSerializedState, editorState: EditorState) => void;
|
|
1258
1264
|
onHtmlChange?: (html: string, editorState: EditorState) => void;
|
|
1265
|
+
onTextChange?: (text: string, editorState: EditorState) => void;
|
|
1259
1266
|
placeholder?: string;
|
|
1260
1267
|
readOnly?: boolean;
|
|
1261
1268
|
disabled?: boolean;
|
|
@@ -1268,6 +1275,9 @@ declare const RichText: React$1.ForwardRefExoticComponent<{
|
|
|
1268
1275
|
onImageDialogUploadError?: (error: unknown) => void;
|
|
1269
1276
|
acceptImageMimeTypes?: string;
|
|
1270
1277
|
allowImageUrlInsert?: boolean;
|
|
1278
|
+
mentions?: MentionItem$1[];
|
|
1279
|
+
mentionTrigger?: string;
|
|
1280
|
+
plainTextMentions?: boolean;
|
|
1271
1281
|
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1272
1282
|
|
|
1273
1283
|
type RightPanelContainerSlots = {
|
|
@@ -1361,10 +1371,10 @@ declare const Spinner: ({ className, variant, size, ...props }: SpinnerProps) =>
|
|
|
1361
1371
|
|
|
1362
1372
|
declare function Switch({ className, ...props }: React$1.ComponentProps<typeof SwitchPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
1363
1373
|
|
|
1364
|
-
type
|
|
1374
|
+
type TextAreaProps = React$1.ComponentProps<"textarea"> & {
|
|
1365
1375
|
autoResize?: boolean;
|
|
1366
1376
|
};
|
|
1367
|
-
declare function
|
|
1377
|
+
declare function TextArea({ className, autoResize, ...props }: TextAreaProps): react_jsx_runtime.JSX.Element;
|
|
1368
1378
|
|
|
1369
1379
|
declare function TooltipProvider$1({ delayDuration, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Provider>): react_jsx_runtime.JSX.Element;
|
|
1370
1380
|
declare function Tooltip$1({ children, ...props }: React$1.ComponentProps<typeof TooltipPrimitive.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -1475,14 +1485,14 @@ declare const index_TableFooter: typeof TableFooter;
|
|
|
1475
1485
|
declare const index_TableHead: typeof TableHead;
|
|
1476
1486
|
declare const index_TableHeader: typeof TableHeader;
|
|
1477
1487
|
declare const index_TableRow: typeof TableRow;
|
|
1478
|
-
declare const
|
|
1488
|
+
declare const index_TextArea: typeof TextArea;
|
|
1479
1489
|
declare const index_buttonVariants: typeof buttonVariants;
|
|
1480
1490
|
declare const index_spinnerVariants: typeof spinnerVariants;
|
|
1481
1491
|
declare const index_useCarousel: typeof useCarousel;
|
|
1482
1492
|
declare const index_useFormField: typeof useFormField;
|
|
1483
1493
|
declare const index_useSidebar: typeof useSidebar;
|
|
1484
1494
|
declare namespace index {
|
|
1485
|
-
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Carousel as Carousel, type index_CarouselApi as CarouselApi, index_CarouselContent as CarouselContent, index_CarouselDots as CarouselDots, index_CarouselItem as CarouselItem, index_CarouselNext as CarouselNext, index_CarouselPrevious as CarouselPrevious, index_CarouselThumbnails as CarouselThumbnails, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, Dialog$1 as Dialog, index_DialogContent as DialogContent, type index_DialogContentProps as DialogContentProps, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_Input as Input, index_InputPrimitive as InputPrimitive, type InputPrimitiveProps$1 as InputPrimitiveProps, type InputProps$1 as InputProps, index_Label as Label, index_ListContainer as ListContainer, type index_ListContainerProps as ListContainerProps, index_ListHeader as ListHeader, type index_ListHeaderProps as ListHeaderProps, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow,
|
|
1495
|
+
export { index_Accordion as Accordion, index_AccordionContent as AccordionContent, index_AccordionItem as AccordionItem, index_AccordionTrigger as AccordionTrigger, index_Button as Button, index_Carousel as Carousel, type index_CarouselApi as CarouselApi, index_CarouselContent as CarouselContent, index_CarouselDots as CarouselDots, index_CarouselItem as CarouselItem, index_CarouselNext as CarouselNext, index_CarouselPrevious as CarouselPrevious, index_CarouselThumbnails as CarouselThumbnails, index_Checkbox as Checkbox, index_ClearButton as ClearButton, index_Collapsible as Collapsible, index_CollapsibleContent as CollapsibleContent, index_CollapsibleTrigger as CollapsibleTrigger, DatePicker$1 as DatePicker, Dialog$1 as Dialog, index_DialogContent as DialogContent, type index_DialogContentProps as DialogContentProps, index_DialogDescription as DialogDescription, index_DialogFooter as DialogFooter, index_DialogTitle as DialogTitle, index_DialogTrigger as DialogTrigger, index_Form as Form, index_FormControl as FormControl, index_FormDescription as FormDescription, index_FormField as FormField, index_FormItem as FormItem, index_FormLabel as FormLabel, index_FormMessage as FormMessage, index_Input as Input, index_InputPrimitive as InputPrimitive, type InputPrimitiveProps$1 as InputPrimitiveProps, type InputProps$1 as InputProps, index_Label as Label, index_ListContainer as ListContainer, type index_ListContainerProps as ListContainerProps, index_ListHeader as ListHeader, type index_ListHeaderProps as ListHeaderProps, MonthPicker$1 as MonthPicker, type MonthPickerProps$1 as MonthPickerProps, index_Popover as Popover, index_PopoverAnchor as PopoverAnchor, index_PopoverArrow as PopoverArrow, index_PopoverContent as PopoverContent, index_PopoverTrigger as PopoverTrigger, index_RadioGroupItem as RadioGroupItem, index_RadioGroupRoot as RadioGroupRoot, index_RadioLabel as RadioLabel, index_Select as Select, index_SelectContent as SelectContent, index_SelectGroup as SelectGroup, index_SelectItem as SelectItem, index_SelectLabel as SelectLabel, index_SelectScrollDownButton as SelectScrollDownButton, index_SelectScrollUpButton as SelectScrollUpButton, index_SelectSeparator as SelectSeparator, index_SelectTrigger as SelectTrigger, index_SelectValue as SelectValue, index_Separator as Separator, index_Sheet as Sheet, index_SheetClose as SheetClose, index_SheetContent as SheetContent, index_SheetDescription as SheetDescription, index_SheetFooter as SheetFooter, index_SheetHeader as SheetHeader, index_SheetTitle as SheetTitle, index_SheetTrigger as SheetTrigger, index_Sidebar as Sidebar, index_SidebarContent as SidebarContent, index_SidebarFooter as SidebarFooter, index_SidebarGroup as SidebarGroup, index_SidebarGroupAction as SidebarGroupAction, index_SidebarGroupContent as SidebarGroupContent, index_SidebarGroupLabel as SidebarGroupLabel, index_SidebarHeader as SidebarHeader, index_SidebarInput as SidebarInput, index_SidebarInset as SidebarInset, index_SidebarLayout as SidebarLayout, index_SidebarMenu as SidebarMenu, index_SidebarMenuAction as SidebarMenuAction, index_SidebarMenuBadge as SidebarMenuBadge, index_SidebarMenuButton as SidebarMenuButton, index_SidebarMenuItem as SidebarMenuItem, index_SidebarMenuSkeleton as SidebarMenuSkeleton, index_SidebarMenuSub as SidebarMenuSub, index_SidebarMenuSubButton as SidebarMenuSubButton, index_SidebarMenuSubItem as SidebarMenuSubItem, index_SidebarProvider as SidebarProvider, index_SidebarRail as SidebarRail, index_SidebarSeparator as SidebarSeparator, index_SidebarTrigger as SidebarTrigger, index_Skeleton as Skeleton, index_Spinner as Spinner, type index_SpinnerProps as SpinnerProps, index_Switch as Switch, index_Table as Table, index_TableBody as TableBody, index_TableCaption as TableCaption, index_TableCell as TableCell, index_TableContainer as TableContainer, index_TableFooter as TableFooter, index_TableHead as TableHead, index_TableHeader as TableHeader, index_TableRow as TableRow, index_TextArea as TextArea, Tooltip$1 as Tooltip, TooltipContent$1 as TooltipContent, TooltipProvider$1 as TooltipProvider, TooltipTrigger$1 as TooltipTrigger, index_buttonVariants as buttonVariants, inputVariants$1 as inputVariants, index_spinnerVariants as spinnerVariants, index_useCarousel as useCarousel, index_useFormField as useFormField, index_useSidebar as useSidebar };
|
|
1486
1496
|
}
|
|
1487
1497
|
|
|
1488
1498
|
type SidebarContextProps = {
|
|
@@ -1783,6 +1793,48 @@ interface TabSelectProps<T extends string = string> {
|
|
|
1783
1793
|
}
|
|
1784
1794
|
declare const TabSelect: <T extends string = string>({ items, onSelectTab, labelWrapperClassName, labelClassName, activeBorderClassName, separatorClassName, ...rest }: ComponentProps<"div"> & TabSelectProps<T>) => react_jsx_runtime.JSX.Element | null;
|
|
1785
1795
|
|
|
1796
|
+
type MentionItem = {
|
|
1797
|
+
key: string;
|
|
1798
|
+
label: string;
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
type InputMentionSerializedState = string;
|
|
1802
|
+
type InputMentionProps = {
|
|
1803
|
+
value?: InputMentionSerializedState;
|
|
1804
|
+
defaultValue?: InputMentionSerializedState;
|
|
1805
|
+
onChange?: (serializedState: InputMentionSerializedState, editorState: EditorState) => void;
|
|
1806
|
+
onHtmlChange?: (html: string, editorState: EditorState) => void;
|
|
1807
|
+
/** Callback for plain text output - useful for email subjects. Mentions are rendered as {{VARIABLE}} format */
|
|
1808
|
+
onTextChange?: (text: string, editorState: EditorState) => void;
|
|
1809
|
+
placeholder?: string;
|
|
1810
|
+
readOnly?: boolean;
|
|
1811
|
+
disabled?: boolean;
|
|
1812
|
+
editorClassName?: string;
|
|
1813
|
+
autoFocus?: boolean;
|
|
1814
|
+
/** Array of mention items that will be suggested */
|
|
1815
|
+
mentions?: MentionItem[];
|
|
1816
|
+
/** Optional trigger character for mentions (e.g., "$", "@"). If not provided, suggestions appear when typing matching text */
|
|
1817
|
+
mentionTrigger?: string;
|
|
1818
|
+
/** If true, mentions will be rendered as plain text (e.g., {{FIRSTNAME}}) suitable for mail templates. If false, mentions will be styled HTML tags */
|
|
1819
|
+
plainTextMentions?: boolean;
|
|
1820
|
+
} & React.HTMLAttributes<HTMLDivElement>;
|
|
1821
|
+
|
|
1822
|
+
declare const InputMention: React$1.ForwardRefExoticComponent<{
|
|
1823
|
+
value?: InputMentionSerializedState;
|
|
1824
|
+
defaultValue?: InputMentionSerializedState;
|
|
1825
|
+
onChange?: (serializedState: InputMentionSerializedState, editorState: EditorState) => void;
|
|
1826
|
+
onHtmlChange?: (html: string, editorState: EditorState) => void;
|
|
1827
|
+
onTextChange?: (text: string, editorState: EditorState) => void;
|
|
1828
|
+
placeholder?: string;
|
|
1829
|
+
readOnly?: boolean;
|
|
1830
|
+
disabled?: boolean;
|
|
1831
|
+
editorClassName?: string;
|
|
1832
|
+
autoFocus?: boolean;
|
|
1833
|
+
mentions?: MentionItem[];
|
|
1834
|
+
mentionTrigger?: string;
|
|
1835
|
+
plainTextMentions?: boolean;
|
|
1836
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1837
|
+
|
|
1786
1838
|
declare function isDefined<T>(value: T | null | undefined): value is NonNullable<T>;
|
|
1787
1839
|
declare function isEmptyObject(value: any): boolean;
|
|
1788
1840
|
type DebounceOptions = {
|
|
@@ -1954,4 +2006,4 @@ type DeepPartialNullish<T> = T extends BrowserNativeObject ? T | null : {
|
|
|
1954
2006
|
[K in keyof T]?: ExtractObjects<T[K]> extends never ? T[K] | null : DeepPartialNullish<T[K]> | null;
|
|
1955
2007
|
};
|
|
1956
2008
|
|
|
1957
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, 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 DateRange, 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, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, 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, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, type ListHeaderProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, MenuIcon, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, 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, SearchIcon, 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, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys,
|
|
2009
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, type ActionButtonProps, ActionMenu, type ActionMenuProps, AdministrationIcon, AdvanceSearch, AnalyticsIcon, ApplicationLogIcon, ArrowIcon, AuditFooter, type AuditFooterProps, BookmarkIcon, type Breakpoints, BriefcaseBusinessIcon, type BrowserNativeObject, Button, SuiCalendarIcon2 as Calendar2Icon, CalendarDaysIcon, CardIcon, Carousel, type CarouselApi, CarouselContent, CarouselDots, CarouselItem, CarouselNext, CarouselPrevious, CarouselThumbnails, Checkbox, CircleUserIcon, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, Combobox, type ComboboxProps, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CopyUserRightsIcon, 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 DateRange, 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, EllipsisBoxIcon, type EllipsisConfig, type EmptyObject, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type ExtractObjects, FactoryIcon, type FieldSchema, type FieldType, FileCogIcon, FileSpreadsheet, FileTextIcon, FiltersIcon, FolderIcon, 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, ListHeader as Header, HeaderCell, type HeaderCellProps, HelpIcon, HomeIcon, HomePlusIcon, Image, type ImageLoader, type ImageLoaderProps, ImagePlaceholderIcon, type ImageProps, InformationIcon, Input, type InputCustomInputProps, InputMention, type MentionItem as InputMentionItem, type InputMentionProps, type InputMentionSerializedState, InputNumber, type InputNumberProps, type InputProps$1 as InputProps, Label, type ListHeaderProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MailIcon, MainListContainer, type MainListContainerClassNames, type MainListContainerProps, type MainListContainerSlots, ManIcon, ManagementIcon, type MentionItem$1 as MentionItem, MenuIcon, MessageIcon, MessageIconInverse, MessageSquareIcon, MonthPicker, type MonthPickerProps, type MonthRange, _default as Navbar, type NavbarProps, NotFoundIcon, type OptionData, OutlineArrowIcon, type Params, type PermissionString, PlusIcon, PlusSearchIcon, 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, SearchIcon, 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, Table, TableBody, TableCaption, TableCell, TableContainer, TableFooter, TableHead, TableHeader, TableOfContents, TableRow, TagListViewIcon, type TemplateKeys, TextArea, ToolBoxIcon, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, TransferUserRightsIcon, 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, UserActiveIcon, UserAloneIcon, UserFriendIcon, UserGroupIcon, UserIcon, UserInactiveIcon, UserNameIcon, UserProtectIcon, UsersIcon, VirtualizedCommand, type VirtualizedCommandFieldNames, type VirtualizedCommandOption, type VirtualizedCommandProps, type Virtualizer, WorkFlowIcon, 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, useCarousel, useControllableState, useDraftGuardStore, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useIsomorphicLayoutEffect, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useSafeBlocker, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|