@sustaina/shared-ui 1.18.0 → 1.20.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.css +3 -0
- package/dist/index.d.mts +91 -2
- package/dist/index.d.ts +91 -2
- package/dist/index.js +974 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +959 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -5
package/dist/index.css
CHANGED
|
@@ -22,6 +22,9 @@
|
|
|
22
22
|
--color-sus-gray-4: #f7fcf9;
|
|
23
23
|
--color-sus-gray-5: #41875c;
|
|
24
24
|
--color-sus-gray-6: #a7adb8;
|
|
25
|
+
--color-sus-blue-1: #3b69b1;
|
|
26
|
+
--color-sus-blue-2: #1598b0;
|
|
27
|
+
--color-sus-blue-3: #6084c1;
|
|
25
28
|
--color-sus-primary-1-hover: rgba(50, 100, 70, 1);
|
|
26
29
|
--color-sus-primary-2-hover: #8db89c;
|
|
27
30
|
--color-sus-primary-3-hover: #eff5f1;
|
package/dist/index.d.mts
CHANGED
|
@@ -11,7 +11,7 @@ import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
|
11
11
|
import { DialogContentProps as DialogContentProps$1 } from '@radix-ui/react-dialog';
|
|
12
12
|
import { Resource } from 'i18next';
|
|
13
13
|
import * as react_hook_form from 'react-hook-form';
|
|
14
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
14
|
+
import { ControllerRenderProps, ControllerFieldState, FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
15
15
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
16
16
|
import { Slot } from '@radix-ui/react-slot';
|
|
17
17
|
import * as zustand from 'zustand';
|
|
@@ -510,6 +510,95 @@ declare const getDialogAlertControls: () => {
|
|
|
510
510
|
|
|
511
511
|
declare const DIALOG_ALERT_I18N_SUBNAMESPACE = "dialog_alert";
|
|
512
512
|
|
|
513
|
+
type FormulaTokenType = {
|
|
514
|
+
type: "operator";
|
|
515
|
+
value: string;
|
|
516
|
+
} | {
|
|
517
|
+
type: "variable";
|
|
518
|
+
value: string;
|
|
519
|
+
} | ({
|
|
520
|
+
type: string;
|
|
521
|
+
code?: string;
|
|
522
|
+
label?: string;
|
|
523
|
+
prefix?: string;
|
|
524
|
+
rawValue?: string;
|
|
525
|
+
chipClassName?: string;
|
|
526
|
+
} & Record<string, any>);
|
|
527
|
+
type FormulaOperator = {
|
|
528
|
+
value: string;
|
|
529
|
+
label: string;
|
|
530
|
+
};
|
|
531
|
+
type FormulaTokenSuggestion = {
|
|
532
|
+
id?: string | number;
|
|
533
|
+
label?: string;
|
|
534
|
+
code?: string;
|
|
535
|
+
} & Record<string, any>;
|
|
536
|
+
type FormulaTokenAttributes = {
|
|
537
|
+
id: string;
|
|
538
|
+
type: string;
|
|
539
|
+
label?: string;
|
|
540
|
+
code?: string;
|
|
541
|
+
prefix?: string;
|
|
542
|
+
rawValue?: string;
|
|
543
|
+
chipClassName?: string;
|
|
544
|
+
outputType?: string;
|
|
545
|
+
} & Record<string, any>;
|
|
546
|
+
type FormulaTokenConfig<TItem extends FormulaTokenSuggestion = FormulaTokenSuggestion> = {
|
|
547
|
+
type: string;
|
|
548
|
+
prefix: string;
|
|
549
|
+
fetchItems?: (query: string) => Promise<TItem[]>;
|
|
550
|
+
mapItem?: (item: TItem) => FormulaTokenAttributes;
|
|
551
|
+
chipClassName?: string;
|
|
552
|
+
outputType?: string;
|
|
553
|
+
mapOutput?: (attrs: FormulaTokenAttributes) => any;
|
|
554
|
+
};
|
|
555
|
+
type FormulaEditorProps = {
|
|
556
|
+
value?: string;
|
|
557
|
+
disabled?: boolean;
|
|
558
|
+
className?: string;
|
|
559
|
+
editorClassName?: string;
|
|
560
|
+
errorMessage?: ReactNode;
|
|
561
|
+
tokenConfigs?: FormulaTokenConfig[];
|
|
562
|
+
operators?: FormulaOperator[];
|
|
563
|
+
operatorShortcuts?: Record<string, string>;
|
|
564
|
+
onChange?: (raw: string, tokens: FormulaTokenType[]) => void;
|
|
565
|
+
onSelectSuggestion?: (token: FormulaTokenAttributes, config: FormulaTokenConfig) => void;
|
|
566
|
+
field?: ControllerRenderProps<any, any>;
|
|
567
|
+
fieldState?: ControllerFieldState;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
declare const FormulaEditor: React__default.FC<FormulaEditorProps>;
|
|
571
|
+
|
|
572
|
+
type PrefixMap = Record<string, string>;
|
|
573
|
+
type RawFormulaSegment = {
|
|
574
|
+
kind: "text";
|
|
575
|
+
value: string;
|
|
576
|
+
} | {
|
|
577
|
+
kind: "token";
|
|
578
|
+
prefix: string;
|
|
579
|
+
code: string;
|
|
580
|
+
};
|
|
581
|
+
declare const buildPrefixMap: (configs: FormulaTokenConfig[]) => PrefixMap;
|
|
582
|
+
declare const tokenizeFormulaString: (raw: string, prefixMap: PrefixMap) => RawFormulaSegment[];
|
|
583
|
+
declare const parseFormulaToToken: (text: string, prefixMap: PrefixMap) => FormulaTokenType[];
|
|
584
|
+
declare const splitOperators: (value: string, allowedOperators: string[]) => FormulaTokenType[];
|
|
585
|
+
declare const parseFormula: (editorJson: any, prefixMap: PrefixMap, allowedOperators: string[]) => {
|
|
586
|
+
raw: string;
|
|
587
|
+
token: FormulaTokenType[];
|
|
588
|
+
};
|
|
589
|
+
declare const validateTokenPrefixes: (rawFormula: string, prefixMap: PrefixMap) => {
|
|
590
|
+
isValid: boolean;
|
|
591
|
+
message?: string;
|
|
592
|
+
};
|
|
593
|
+
declare const isValidParentheses: (input: string) => {
|
|
594
|
+
valid: boolean;
|
|
595
|
+
message?: string;
|
|
596
|
+
};
|
|
597
|
+
declare const mapTokensToOutput: (tokens: FormulaTokenType[], configs: FormulaTokenConfig[]) => any[];
|
|
598
|
+
|
|
599
|
+
declare const defaultOperators: FormulaOperator[];
|
|
600
|
+
declare const defaultOperatorShortcuts: Record<string, string>;
|
|
601
|
+
|
|
513
602
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
514
603
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
515
604
|
declare const useFormField: () => {
|
|
@@ -1304,4 +1393,4 @@ type UseTruncatedOptions<T> = {
|
|
|
1304
1393
|
type UseTruncatedResult = boolean;
|
|
1305
1394
|
declare const useTruncated: <T extends HTMLElement = any>({ elementRef, onChange, resizeDetectDelay }: UseTruncatedOptions<T>) => UseTruncatedResult;
|
|
1306
1395
|
|
|
1307
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, DIALOG_ALERT_I18N_SUBNAMESPACE, 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 DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type EllipsisConfig, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, 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, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, type TemplateKeys, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Truncated, type TruncatedProps, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, formatISODate, getDialogAlertControls, getDialogTemplates, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, spinnerVariants, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated };
|
|
1396
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, DIALOG_ALERT_I18N_SUBNAMESPACE, 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 DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type EllipsisConfig, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type FieldSchema, type FieldType, 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, HeaderCell, type HeaderCellProps, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, type PrefixMap, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, 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, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, type TemplateKeys, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Truncated, type TruncatedProps, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, getDialogTemplates, inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import * as SheetPrimitive from '@radix-ui/react-dialog';
|
|
|
11
11
|
import { DialogContentProps as DialogContentProps$1 } from '@radix-ui/react-dialog';
|
|
12
12
|
import { Resource } from 'i18next';
|
|
13
13
|
import * as react_hook_form from 'react-hook-form';
|
|
14
|
-
import { FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
14
|
+
import { ControllerRenderProps, ControllerFieldState, FieldValues, FieldPath, ControllerProps } from 'react-hook-form';
|
|
15
15
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
16
16
|
import { Slot } from '@radix-ui/react-slot';
|
|
17
17
|
import * as zustand from 'zustand';
|
|
@@ -510,6 +510,95 @@ declare const getDialogAlertControls: () => {
|
|
|
510
510
|
|
|
511
511
|
declare const DIALOG_ALERT_I18N_SUBNAMESPACE = "dialog_alert";
|
|
512
512
|
|
|
513
|
+
type FormulaTokenType = {
|
|
514
|
+
type: "operator";
|
|
515
|
+
value: string;
|
|
516
|
+
} | {
|
|
517
|
+
type: "variable";
|
|
518
|
+
value: string;
|
|
519
|
+
} | ({
|
|
520
|
+
type: string;
|
|
521
|
+
code?: string;
|
|
522
|
+
label?: string;
|
|
523
|
+
prefix?: string;
|
|
524
|
+
rawValue?: string;
|
|
525
|
+
chipClassName?: string;
|
|
526
|
+
} & Record<string, any>);
|
|
527
|
+
type FormulaOperator = {
|
|
528
|
+
value: string;
|
|
529
|
+
label: string;
|
|
530
|
+
};
|
|
531
|
+
type FormulaTokenSuggestion = {
|
|
532
|
+
id?: string | number;
|
|
533
|
+
label?: string;
|
|
534
|
+
code?: string;
|
|
535
|
+
} & Record<string, any>;
|
|
536
|
+
type FormulaTokenAttributes = {
|
|
537
|
+
id: string;
|
|
538
|
+
type: string;
|
|
539
|
+
label?: string;
|
|
540
|
+
code?: string;
|
|
541
|
+
prefix?: string;
|
|
542
|
+
rawValue?: string;
|
|
543
|
+
chipClassName?: string;
|
|
544
|
+
outputType?: string;
|
|
545
|
+
} & Record<string, any>;
|
|
546
|
+
type FormulaTokenConfig<TItem extends FormulaTokenSuggestion = FormulaTokenSuggestion> = {
|
|
547
|
+
type: string;
|
|
548
|
+
prefix: string;
|
|
549
|
+
fetchItems?: (query: string) => Promise<TItem[]>;
|
|
550
|
+
mapItem?: (item: TItem) => FormulaTokenAttributes;
|
|
551
|
+
chipClassName?: string;
|
|
552
|
+
outputType?: string;
|
|
553
|
+
mapOutput?: (attrs: FormulaTokenAttributes) => any;
|
|
554
|
+
};
|
|
555
|
+
type FormulaEditorProps = {
|
|
556
|
+
value?: string;
|
|
557
|
+
disabled?: boolean;
|
|
558
|
+
className?: string;
|
|
559
|
+
editorClassName?: string;
|
|
560
|
+
errorMessage?: ReactNode;
|
|
561
|
+
tokenConfigs?: FormulaTokenConfig[];
|
|
562
|
+
operators?: FormulaOperator[];
|
|
563
|
+
operatorShortcuts?: Record<string, string>;
|
|
564
|
+
onChange?: (raw: string, tokens: FormulaTokenType[]) => void;
|
|
565
|
+
onSelectSuggestion?: (token: FormulaTokenAttributes, config: FormulaTokenConfig) => void;
|
|
566
|
+
field?: ControllerRenderProps<any, any>;
|
|
567
|
+
fieldState?: ControllerFieldState;
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
declare const FormulaEditor: React__default.FC<FormulaEditorProps>;
|
|
571
|
+
|
|
572
|
+
type PrefixMap = Record<string, string>;
|
|
573
|
+
type RawFormulaSegment = {
|
|
574
|
+
kind: "text";
|
|
575
|
+
value: string;
|
|
576
|
+
} | {
|
|
577
|
+
kind: "token";
|
|
578
|
+
prefix: string;
|
|
579
|
+
code: string;
|
|
580
|
+
};
|
|
581
|
+
declare const buildPrefixMap: (configs: FormulaTokenConfig[]) => PrefixMap;
|
|
582
|
+
declare const tokenizeFormulaString: (raw: string, prefixMap: PrefixMap) => RawFormulaSegment[];
|
|
583
|
+
declare const parseFormulaToToken: (text: string, prefixMap: PrefixMap) => FormulaTokenType[];
|
|
584
|
+
declare const splitOperators: (value: string, allowedOperators: string[]) => FormulaTokenType[];
|
|
585
|
+
declare const parseFormula: (editorJson: any, prefixMap: PrefixMap, allowedOperators: string[]) => {
|
|
586
|
+
raw: string;
|
|
587
|
+
token: FormulaTokenType[];
|
|
588
|
+
};
|
|
589
|
+
declare const validateTokenPrefixes: (rawFormula: string, prefixMap: PrefixMap) => {
|
|
590
|
+
isValid: boolean;
|
|
591
|
+
message?: string;
|
|
592
|
+
};
|
|
593
|
+
declare const isValidParentheses: (input: string) => {
|
|
594
|
+
valid: boolean;
|
|
595
|
+
message?: string;
|
|
596
|
+
};
|
|
597
|
+
declare const mapTokensToOutput: (tokens: FormulaTokenType[], configs: FormulaTokenConfig[]) => any[];
|
|
598
|
+
|
|
599
|
+
declare const defaultOperators: FormulaOperator[];
|
|
600
|
+
declare const defaultOperatorShortcuts: Record<string, string>;
|
|
601
|
+
|
|
513
602
|
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: react_hook_form.FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React$1.JSX.Element;
|
|
514
603
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => react_jsx_runtime.JSX.Element;
|
|
515
604
|
declare const useFormField: () => {
|
|
@@ -1304,4 +1393,4 @@ type UseTruncatedOptions<T> = {
|
|
|
1304
1393
|
type UseTruncatedResult = boolean;
|
|
1305
1394
|
declare const useTruncated: <T extends HTMLElement = any>({ elementRef, onChange, resizeDetectDelay }: UseTruncatedOptions<T>) => UseTruncatedResult;
|
|
1306
1395
|
|
|
1307
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, DIALOG_ALERT_I18N_SUBNAMESPACE, 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 DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type EllipsisConfig, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type FieldSchema, type FieldType, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, type GridPayload, GridSettingsModal, type GridSettingsModalProps, HeaderCell, type HeaderCellProps, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, 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, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, type TemplateKeys, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Truncated, type TruncatedProps, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buttonVariants, cn, compareAlphanumeric, debounce, formatISODate, getDialogAlertControls, getDialogTemplates, inputVariants, isDefined, isEmptyObject, selectValueToBoolean, spinnerVariants, stripNullishObject, throttle, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated };
|
|
1396
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AdvanceSearch, ArrowIcon, type Breakpoints, Button, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, type Column, type CroppedImagePayload, type CroppedImagePayloadWithBlobUrl, CropperModal, CropperModalError, type CropperModalErrorType, type CropperModalProps, DIALOG_ALERT_I18N_SUBNAMESPACE, 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 DatatableColumnResizing, DatePicker, type DatePickerProps, type DebounceOptions, type DebouncedFunction, Dialog, DialogAlert, type DialogAlertI18nResource, type DialogAlertProps, DialogAlertProvider, type DialogAlertTemplateUnit, type DialogAlertTemplates, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogTitle, DialogTrigger, type DialogVariant, type EllipsisConfig, ErrorCompression, ErrorCreateCanvas, ErrorGeneratingBlob, ErrorInvalidSVG, ErrorSVGExceedSize, type FieldSchema, type FieldType, 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, HeaderCell, type HeaderCellProps, Image, type ImageLoader, type ImageLoaderProps, type ImageProps, Input, type InputProps, Label, List, ListContainer, type ListContainerProps, ListHeader, type ListHeaderProps, type ListProps, ListTable, type ListTableProps, LookupSelect, type LookupSelectOption, type LookupSelectProps, MonthPicker, type MonthPickerProps, _default as Navbar, type NavbarProps, NotFoundIcon, type Params, Popover, PopoverAnchor, PopoverArrow, PopoverContent, PopoverTrigger, type PrefixMap, PreventPageLeave, RadioGroupItem, RadioGroupRoot, RadioLabel, type RawFormulaSegment, RichText, type RowClickType, type RowState, type ScrollInfo, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, 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, SuiCheckIcon, SuiDotsVerticalIcon, SuiEmptyDataIcon, SuiExpandIcon, SuiFilterIcon, SuiSettingIcon, SuiTriangleDownIcon, SuiWarningIcon, Switch, type TemplateKeys, Textarea, Tooltip, TooltipArrow, TooltipContent, TooltipProvider, TooltipTrigger, Truncated, type TruncatedProps, index as UI, type UseHoverResult, type UseMediaQueryOptions, type UseMediaQueryResult, type UsePreventPageLeaveOptions, type UseScreenSizeResult, type UseTruncatedOptions, type UseTruncatedResult, booleanToSelectValue, buildPrefixMap, buttonVariants, cn, compareAlphanumeric, debounce, defaultOperatorShortcuts, defaultOperators, formatISODate, getDialogAlertControls, getDialogTemplates, inputVariants, isDefined, isEmptyObject, isValidParentheses, mapTokensToOutput, parseFormula, parseFormulaToToken, selectValueToBoolean, spinnerVariants, splitOperators, stripNullishObject, throttle, tokenizeFormulaString, useFormField, useGridSettingsStore, useHover, useIntersectionObserver, useMediaQuery, usePreventPageLeave, usePreventPageLeaveStore, useScreenSize, useSidebar, useTruncated, validateTokenPrefixes };
|