@gomeniucivan/ui 1.0.44 → 1.0.46
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 +107 -38
- package/dist/index.d.ts +107 -38
- package/dist/index.js +436 -387
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +436 -387
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { AnchorHTMLAttributes, HTMLAttributes, FC, Ref, ElementType, CSSProperties, ReactNode, Key, ReactElement, ComponentPropsWithRef, RefAttributes, Context, MouseEvent, ComponentProps, ChangeEvent, FocusEvent, FormEvent, FormHTMLAttributes, KeyboardEvent, ComponentType } from 'react';
|
|
3
|
-
import { FlexProps as FlexProps$1, MenuProps as MenuProps$1, MenuRef, AlertProps as AlertProps$1, AutoCompleteProps as AutoCompleteProps$1, AvatarProps as AvatarProps$1, DrawerProps as DrawerProps$1, ButtonProps as ButtonProps$1, CollapseProps as CollapseProps$1, DatePickerProps as DatePickerProps$1, InputProps as InputProps$1, InputRef, InputNumberProps as InputNumberProps$1, ModalProps as ModalProps$1, ImageProps as ImageProps$2, SelectProps as SelectProps$1, TagProps as TagProps$1, TabsProps as TabsProps$1, AnchorProps,
|
|
3
|
+
import { FlexProps as FlexProps$1, MenuProps as MenuProps$1, MenuRef, AlertProps as AlertProps$1, AutoCompleteProps as AutoCompleteProps$1, AvatarProps as AvatarProps$1, DrawerProps as DrawerProps$1, ButtonProps as ButtonProps$1, CollapseProps as CollapseProps$1, DatePickerProps as DatePickerProps$1, InputProps as InputProps$1, InputRef, InputNumberProps as InputNumberProps$1, SegmentedProps as SegmentedProps$1, ModalProps as ModalProps$1, ImageProps as ImageProps$2, SelectProps as SelectProps$1, TagProps as TagProps$1, TabsProps as TabsProps$1, AnchorProps, SliderSingleProps } from 'antd';
|
|
4
4
|
import { LucideProps, LucideIcon } from 'lucide-react';
|
|
5
5
|
import { TooltipPopupProps, TooltipPortalProps as TooltipPortalProps$1, TooltipPositionerProps as TooltipPositionerProps$1, Tooltip as Tooltip$1, TooltipTriggerProps } from '@base-ui/react/tooltip';
|
|
6
6
|
import { Placement as Placement$1 } from '@floating-ui/react';
|
|
@@ -949,6 +949,31 @@ interface ButtonProps extends Omit<ButtonProps$1, 'icon'> {
|
|
|
949
949
|
|
|
950
950
|
declare const Button: FC<ButtonProps>;
|
|
951
951
|
|
|
952
|
+
interface CardFormProps extends Omit<FlexProps, 'title'> {
|
|
953
|
+
actions?: ReactNode;
|
|
954
|
+
backButtonProps?: Omit<ActionIconProps, 'icon' | 'onClick'>;
|
|
955
|
+
backIcon?: ActionIconProps['icon'];
|
|
956
|
+
contentClassName?: string;
|
|
957
|
+
contentStyle?: CSSProperties;
|
|
958
|
+
continueButtonProps?: Omit<ButtonProps, 'children' | 'onClick'>;
|
|
959
|
+
continueText?: ReactNode;
|
|
960
|
+
headerClassName?: string;
|
|
961
|
+
headerStyle?: CSSProperties;
|
|
962
|
+
onBack?: ActionIconProps['onClick'];
|
|
963
|
+
onSave?: ButtonProps['onClick'];
|
|
964
|
+
onSaveAndContinue?: ButtonProps['onClick'];
|
|
965
|
+
ref?: Ref<HTMLDivElement>;
|
|
966
|
+
saveButtonProps?: Omit<ButtonProps, 'children' | 'onClick'>;
|
|
967
|
+
saveText?: ReactNode;
|
|
968
|
+
showContinue?: boolean;
|
|
969
|
+
showSave?: boolean;
|
|
970
|
+
sticky?: boolean;
|
|
971
|
+
stickyOffset?: number | string;
|
|
972
|
+
title?: ReactNode;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
declare const CardForm: react.NamedExoticComponent<CardFormProps>;
|
|
976
|
+
|
|
952
977
|
interface TextProps extends DivProps {
|
|
953
978
|
align?: 'left' | 'center' | 'right';
|
|
954
979
|
as?: ElementType;
|
|
@@ -1234,7 +1259,18 @@ declare const MotionProvider: react.NamedExoticComponent<{
|
|
|
1234
1259
|
}>;
|
|
1235
1260
|
declare const useMotionComponent: () => MotionComponentType;
|
|
1236
1261
|
|
|
1237
|
-
declare const _default$
|
|
1262
|
+
declare const _default$a: {
|
|
1263
|
+
readonly 'timePicker.placeholder': "Select time";
|
|
1264
|
+
readonly 'timePicker.hour': "Hour";
|
|
1265
|
+
readonly 'timePicker.minute': "Minute";
|
|
1266
|
+
readonly 'timePicker.period': "Period";
|
|
1267
|
+
readonly 'timePicker.am': "AM";
|
|
1268
|
+
readonly 'timePicker.pm': "PM";
|
|
1269
|
+
readonly 'timePicker.clear': "Clear";
|
|
1270
|
+
readonly 'timePicker.done': "Done";
|
|
1271
|
+
};
|
|
1272
|
+
|
|
1273
|
+
declare const _default$9: {
|
|
1238
1274
|
readonly 'sideNav.collapse': "Collapse sidebar";
|
|
1239
1275
|
readonly 'sideNav.demoActiveLabel': "Active";
|
|
1240
1276
|
readonly 'sideNav.demoFeatureAutoCollapseDesc': "Drag below threshold for smart collapse";
|
|
@@ -1252,27 +1288,27 @@ declare const _default$8: {
|
|
|
1252
1288
|
readonly 'sideNav.expand': "Expand sidebar";
|
|
1253
1289
|
};
|
|
1254
1290
|
|
|
1255
|
-
declare const _default$
|
|
1291
|
+
declare const _default$8: {
|
|
1256
1292
|
readonly 'messageModal.cancel': "Cancel";
|
|
1257
1293
|
readonly 'messageModal.confirm': "Confirm";
|
|
1258
1294
|
readonly 'messageModal.edit': "Edit";
|
|
1259
1295
|
};
|
|
1260
1296
|
|
|
1261
|
-
declare const _default$
|
|
1297
|
+
declare const _default$7: {
|
|
1262
1298
|
readonly 'hotkey.conflict': "This shortcut conflicts with an existing one.";
|
|
1263
1299
|
readonly 'hotkey.invalidCombination': "Shortcut must include a modifier key (Ctrl, Alt, Shift) and only one regular key.";
|
|
1264
1300
|
readonly 'hotkey.placeholder': "Press keys to record shortcut";
|
|
1265
1301
|
readonly 'hotkey.reset': "Reset to default";
|
|
1266
1302
|
};
|
|
1267
1303
|
|
|
1268
|
-
declare const _default$
|
|
1304
|
+
declare const _default$6: {
|
|
1269
1305
|
readonly 'form.reset': "Reset";
|
|
1270
1306
|
readonly 'form.submit': "Submit";
|
|
1271
1307
|
readonly 'form.unsavedChanges': "Unsaved changes";
|
|
1272
1308
|
readonly 'form.unsavedWarning': "You have unsaved changes. Are you sure you want to leave?";
|
|
1273
1309
|
};
|
|
1274
1310
|
|
|
1275
|
-
declare const _default$
|
|
1311
|
+
declare const _default$5: {
|
|
1276
1312
|
readonly 'emojiPicker.delete': "Delete";
|
|
1277
1313
|
readonly 'emojiPicker.draggerDesc': "Click or Drag image to this area to upload";
|
|
1278
1314
|
readonly 'emojiPicker.emoji': "Emoji";
|
|
@@ -1281,7 +1317,7 @@ declare const _default$4: {
|
|
|
1281
1317
|
readonly 'emojiPicker.uploadBtn': "Crop and Upload";
|
|
1282
1318
|
};
|
|
1283
1319
|
|
|
1284
|
-
declare const _default$
|
|
1320
|
+
declare const _default$4: {
|
|
1285
1321
|
readonly 'editableMessage.addProps': "Add Props";
|
|
1286
1322
|
readonly 'editableMessage.delete': "Delete";
|
|
1287
1323
|
readonly 'editableMessage.input': "Input";
|
|
@@ -1291,6 +1327,16 @@ declare const _default$3: {
|
|
|
1291
1327
|
readonly 'editableMessage.system': "System";
|
|
1292
1328
|
};
|
|
1293
1329
|
|
|
1330
|
+
declare const _default$3: {
|
|
1331
|
+
readonly 'datePicker.placeholder': "Select date";
|
|
1332
|
+
readonly 'datePicker.month': "Month";
|
|
1333
|
+
readonly 'datePicker.day': "Day";
|
|
1334
|
+
readonly 'datePicker.year': "Year";
|
|
1335
|
+
readonly 'datePicker.clear': "Clear";
|
|
1336
|
+
readonly 'datePicker.done': "Done";
|
|
1337
|
+
readonly 'datePicker.emptyRange': "No selectable dates in the provided range.";
|
|
1338
|
+
};
|
|
1339
|
+
|
|
1294
1340
|
declare const _default$2: {
|
|
1295
1341
|
readonly 'common.cancel': "Cancel";
|
|
1296
1342
|
readonly 'common.confirm': "Confirm";
|
|
@@ -1307,7 +1353,7 @@ declare const _default$1: {
|
|
|
1307
1353
|
readonly 'tokenTag.used': "Used";
|
|
1308
1354
|
};
|
|
1309
1355
|
|
|
1310
|
-
type BuiltinTranslationResources = typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8;
|
|
1356
|
+
type BuiltinTranslationResources = typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8 & typeof _default$9 & typeof _default$a;
|
|
1311
1357
|
type TranslationKey = keyof BuiltinTranslationResources;
|
|
1312
1358
|
type TranslationValue = string;
|
|
1313
1359
|
/**
|
|
@@ -2320,6 +2366,11 @@ interface FormConfig<T extends Record<string, any>> {
|
|
|
2320
2366
|
initialValues: T;
|
|
2321
2367
|
onSubmit: (values: T) => void | Promise<void>;
|
|
2322
2368
|
validate?: (values: T) => Partial<Record<keyof T, string>>;
|
|
2369
|
+
/**
|
|
2370
|
+
* When true, validation runs on every field change.
|
|
2371
|
+
* Default is false so errors show on blur or submit, not while typing.
|
|
2372
|
+
*/
|
|
2373
|
+
validateOnChange?: boolean;
|
|
2323
2374
|
}
|
|
2324
2375
|
interface FormState<T extends Record<string, any>> {
|
|
2325
2376
|
values: T;
|
|
@@ -2331,13 +2382,14 @@ interface FormState<T extends Record<string, any>> {
|
|
|
2331
2382
|
validationSequence: number;
|
|
2332
2383
|
}
|
|
2333
2384
|
declare function useForm<T extends Record<string, any>>(config: FormConfig<T>): {
|
|
2385
|
+
readonly validateOnChange: boolean;
|
|
2334
2386
|
readonly form: {
|
|
2335
2387
|
readonly values: T;
|
|
2336
2388
|
readonly errors: Partial<Record<keyof T, string>>;
|
|
2337
2389
|
readonly fieldErrors: Partial<Record<keyof T, string>>;
|
|
2338
2390
|
readonly touched: Partial<Record<keyof T, boolean>>;
|
|
2339
2391
|
readonly validationSequence: number;
|
|
2340
|
-
readonly setFieldValue: (field: PropertyKey, value:
|
|
2392
|
+
readonly setFieldValue: (field: PropertyKey, value: any) => void;
|
|
2341
2393
|
readonly setFieldError: (field: PropertyKey, error?: string) => void;
|
|
2342
2394
|
readonly setFieldTouched: (field: PropertyKey, touched?: boolean) => void;
|
|
2343
2395
|
readonly handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
|
|
@@ -2348,10 +2400,11 @@ declare function useForm<T extends Record<string, any>>(config: FormConfig<T>):
|
|
|
2348
2400
|
readonly triggerValidation: () => void;
|
|
2349
2401
|
readonly isSubmitting: boolean;
|
|
2350
2402
|
readonly isValid: boolean;
|
|
2403
|
+
readonly validateOnChange: boolean;
|
|
2351
2404
|
};
|
|
2352
|
-
readonly setFieldValue: (field:
|
|
2353
|
-
readonly setFieldTouched: (field:
|
|
2354
|
-
readonly setFieldError: (field:
|
|
2405
|
+
readonly setFieldValue: (field: PropertyKey, value: any) => void;
|
|
2406
|
+
readonly setFieldTouched: (field: PropertyKey, touched?: boolean) => void;
|
|
2407
|
+
readonly setFieldError: (field: PropertyKey, error?: string) => void;
|
|
2355
2408
|
readonly handleChange: (e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
|
|
2356
2409
|
readonly handleBlur: (e: FocusEvent<HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement>) => void;
|
|
2357
2410
|
readonly handleSubmit: (e?: FormEvent) => void;
|
|
@@ -2367,12 +2420,13 @@ declare function useForm<T extends Record<string, any>>(config: FormConfig<T>):
|
|
|
2367
2420
|
readonly validationSequence: number;
|
|
2368
2421
|
};
|
|
2369
2422
|
type UseFormReturn<T extends Record<string, any>> = ReturnType<typeof useForm<T>>;
|
|
2423
|
+
type FormInstance<T extends Record<string, any>> = UseFormReturn<T> | UseFormReturn<T>['form'];
|
|
2370
2424
|
|
|
2371
2425
|
type FormVariant = 'borderless' | 'filled' | 'outlined';
|
|
2372
2426
|
interface FormProps<T extends Record<string, any>> extends Omit<FormHTMLAttributes<HTMLFormElement>, 'onSubmit'> {
|
|
2373
2427
|
children: ReactNode;
|
|
2374
2428
|
onSubmit?: (values: T) => void | Promise<void>;
|
|
2375
|
-
form?:
|
|
2429
|
+
form?: FormInstance<T>;
|
|
2376
2430
|
initialValues?: T;
|
|
2377
2431
|
validate?: (values: T) => Partial<Record<keyof T, string>>;
|
|
2378
2432
|
className?: string;
|
|
@@ -2437,7 +2491,7 @@ type FormInputProps<T extends Record<string, any>> = Omit<InputProps, 'name' | '
|
|
|
2437
2491
|
name: keyof T & string;
|
|
2438
2492
|
label?: string;
|
|
2439
2493
|
description?: react__default.ReactNode;
|
|
2440
|
-
form?:
|
|
2494
|
+
form?: FormInstance<T>;
|
|
2441
2495
|
required?: boolean;
|
|
2442
2496
|
helperText?: react__default.ReactNode;
|
|
2443
2497
|
onChange?: InputProps['onChange'];
|
|
@@ -2484,7 +2538,7 @@ type FormTimePickerProps<T extends Record<string, any>> = Omit<TimePickerProps,
|
|
|
2484
2538
|
name: keyof T & string;
|
|
2485
2539
|
label?: string;
|
|
2486
2540
|
description?: react__default.ReactNode;
|
|
2487
|
-
form?:
|
|
2541
|
+
form?: FormInstance<T>;
|
|
2488
2542
|
required?: boolean;
|
|
2489
2543
|
onValueChange?: (value: string | null, formatted: string) => void;
|
|
2490
2544
|
rules?: FormFieldRules<T>;
|
|
@@ -2498,7 +2552,7 @@ type FormCheckboxProps<T extends Record<string, any>> = Omit<CheckboxProps, 'che
|
|
|
2498
2552
|
name: keyof T & string;
|
|
2499
2553
|
label?: react__default.ReactNode;
|
|
2500
2554
|
description?: react__default.ReactNode;
|
|
2501
|
-
form?:
|
|
2555
|
+
form?: FormInstance<T>;
|
|
2502
2556
|
rules?: FormFieldRules<T>;
|
|
2503
2557
|
onChange?: (checked: boolean) => void;
|
|
2504
2558
|
};
|
|
@@ -2635,7 +2689,7 @@ type FormSwitchProps<T extends Record<string, any>> = Omit<SwitchProps, 'checked
|
|
|
2635
2689
|
name: keyof T & string;
|
|
2636
2690
|
label?: string;
|
|
2637
2691
|
description?: react__default.ReactNode;
|
|
2638
|
-
form?:
|
|
2692
|
+
form?: FormInstance<T>;
|
|
2639
2693
|
rules?: FormFieldRules<T>;
|
|
2640
2694
|
onChange?: (checked: boolean) => void;
|
|
2641
2695
|
};
|
|
@@ -2648,7 +2702,7 @@ type FormDatePickerProps<T extends Record<string, any>> = Omit<DatePickerProps,
|
|
|
2648
2702
|
name: keyof T & string;
|
|
2649
2703
|
label?: string;
|
|
2650
2704
|
description?: react__default.ReactNode;
|
|
2651
|
-
form?:
|
|
2705
|
+
form?: FormInstance<T>;
|
|
2652
2706
|
rules?: FormFieldRules<T>;
|
|
2653
2707
|
};
|
|
2654
2708
|
declare const FormDatePicker: {
|
|
@@ -2660,7 +2714,7 @@ type FormSelectProps<T extends Record<string, any>, Value = string> = Omit<Selec
|
|
|
2660
2714
|
name: keyof T & string;
|
|
2661
2715
|
label?: string;
|
|
2662
2716
|
description?: react__default.ReactNode;
|
|
2663
|
-
form?:
|
|
2717
|
+
form?: FormInstance<T>;
|
|
2664
2718
|
rules?: FormFieldRules<T>;
|
|
2665
2719
|
options?: SelectOption<Value>[];
|
|
2666
2720
|
};
|
|
@@ -2669,16 +2723,24 @@ declare const FormSelect: {
|
|
|
2669
2723
|
displayName: string;
|
|
2670
2724
|
};
|
|
2671
2725
|
|
|
2672
|
-
|
|
2673
|
-
|
|
2726
|
+
interface SegmentedProps extends SegmentedProps$1 {
|
|
2727
|
+
glass?: boolean;
|
|
2728
|
+
iconProps?: Omit<IconProps$1, 'icon'>;
|
|
2729
|
+
padding?: string | number;
|
|
2730
|
+
ref?: Ref<HTMLDivElement>;
|
|
2731
|
+
shadow?: boolean;
|
|
2732
|
+
variant?: 'filled' | 'outlined' | 'borderless';
|
|
2733
|
+
}
|
|
2734
|
+
|
|
2735
|
+
type FormSegmentProps<T extends Record<string, any>> = Omit<SegmentedProps, 'name' | 'value' | 'onChange' | 'defaultValue' | 'form'> & {
|
|
2736
|
+
name: keyof T & string;
|
|
2737
|
+
label?: string;
|
|
2674
2738
|
description?: react__default.ReactNode;
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
collapsible?: boolean;
|
|
2678
|
-
defaultCollapsed?: boolean;
|
|
2739
|
+
form?: FormInstance<T>;
|
|
2740
|
+
rules?: FormFieldRules<T>;
|
|
2679
2741
|
};
|
|
2680
2742
|
declare const FormSegment: {
|
|
2681
|
-
({
|
|
2743
|
+
<T extends Record<string, any>>({ name, label, description, form, className, rules, ...rest }: FormSegmentProps<T>): react_jsx_runtime.JSX.Element;
|
|
2682
2744
|
displayName: string;
|
|
2683
2745
|
};
|
|
2684
2746
|
|
|
@@ -2757,7 +2819,7 @@ declare const useModalContext: () => ModalContextValue;
|
|
|
2757
2819
|
|
|
2758
2820
|
interface FormModalProps<T extends Record<string, any>> extends Omit<ModalProps, 'footer' | 'onOk' | 'children' | 'title'> {
|
|
2759
2821
|
children: ReactNode;
|
|
2760
|
-
form?:
|
|
2822
|
+
form?: FormInstance<T>;
|
|
2761
2823
|
initialValues?: T;
|
|
2762
2824
|
onSubmit?: FormProps<T>['onSubmit'];
|
|
2763
2825
|
submitButtonProps?: ButtonProps;
|
|
@@ -3644,15 +3706,6 @@ interface SearchBarProps extends Omit<InputProps, 'styles' | 'classNames'> {
|
|
|
3644
3706
|
|
|
3645
3707
|
declare const SearchBar: react.NamedExoticComponent<SearchBarProps>;
|
|
3646
3708
|
|
|
3647
|
-
interface SegmentedProps extends SegmentedProps$1 {
|
|
3648
|
-
glass?: boolean;
|
|
3649
|
-
iconProps?: Omit<IconProps$1, 'icon'>;
|
|
3650
|
-
padding?: string | number;
|
|
3651
|
-
ref?: Ref<HTMLDivElement>;
|
|
3652
|
-
shadow?: boolean;
|
|
3653
|
-
variant?: 'filled' | 'outlined' | 'borderless';
|
|
3654
|
-
}
|
|
3655
|
-
|
|
3656
3709
|
declare const Segmented: react.NamedExoticComponent<SegmentedProps>;
|
|
3657
3710
|
|
|
3658
3711
|
interface SideNavProps extends FlexProps {
|
|
@@ -3828,6 +3881,20 @@ type TablePageSizeConfig = {
|
|
|
3828
3881
|
count?: number;
|
|
3829
3882
|
options?: number[];
|
|
3830
3883
|
};
|
|
3884
|
+
type TableTexts = {
|
|
3885
|
+
/** Search input placeholder. @default 'Search rows...' */
|
|
3886
|
+
searchPlaceholder?: string;
|
|
3887
|
+
/** Pagination range display. Receives `{start}`, `{end}`, `{total}` placeholders. @default 'Displaying items {start}-{end} of {total}' */
|
|
3888
|
+
displayingItems?: string;
|
|
3889
|
+
/** Page size dropdown label. Receives `{count}` placeholder. @default '{count} / page' */
|
|
3890
|
+
perPage?: string;
|
|
3891
|
+
/** Selection summary. Receives `{selected}`, `{total}` placeholders. @default '{selected} of {total} row(s) selected.' */
|
|
3892
|
+
selectedRows?: string;
|
|
3893
|
+
/** Fallback error message. @default 'Unable to fetch data' */
|
|
3894
|
+
fetchError?: string;
|
|
3895
|
+
/** Empty state text. @default 'No data' */
|
|
3896
|
+
noData?: string;
|
|
3897
|
+
};
|
|
3831
3898
|
type AntdTablePropsBase<TData> = Omit<TableProps$1<TData>, "columns" | "dataSource" | "pagination">;
|
|
3832
3899
|
interface TableProps<TData> extends AntdTablePropsBase<TData> {
|
|
3833
3900
|
data: TableDataSource<TData>;
|
|
@@ -3845,10 +3912,12 @@ interface TableProps<TData> extends AntdTablePropsBase<TData> {
|
|
|
3845
3912
|
className?: string;
|
|
3846
3913
|
emptyState?: react.ReactNode;
|
|
3847
3914
|
onDataChange?: (rows: TData[]) => void;
|
|
3915
|
+
/** Override hardcoded UI texts for i18n / localisation */
|
|
3916
|
+
texts?: TableTexts;
|
|
3848
3917
|
}
|
|
3849
3918
|
|
|
3850
3919
|
declare const Table: {
|
|
3851
|
-
<TData extends object>({ data, columns, pagination, sortable, reload, filterable, selectable: selectableProp, height, defaultPageSize, pageSize, className, emptyState, onDataChange, loading: loadingProp, rowSelection: rowSelectionProp, rowKey: rowKeyProp, bordered: borderedProp, size: sizeProp, sticky: stickyProp, scroll: scrollProp, virtual: virtualProp, locale: localeProp, style: tableStyle, ...restTableProps }: TableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
3920
|
+
<TData extends object>({ data, columns, pagination, sortable, reload, filterable, selectable: selectableProp, height, defaultPageSize, pageSize, className, emptyState, onDataChange, loading: loadingProp, rowSelection: rowSelectionProp, rowKey: rowKeyProp, bordered: borderedProp, size: sizeProp, sticky: stickyProp, scroll: scrollProp, virtual: virtualProp, locale: localeProp, style: tableStyle, texts: textsProp, ...restTableProps }: TableProps<TData>): react_jsx_runtime.JSX.Element;
|
|
3852
3921
|
displayName: string;
|
|
3853
3922
|
};
|
|
3854
3923
|
|
|
@@ -4233,4 +4302,4 @@ declare const _default: {
|
|
|
4233
4302
|
type: string;
|
|
4234
4303
|
};
|
|
4235
4304
|
|
|
4236
|
-
export { A, type AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BaseMenuItemType, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, CLASSNAMES, CUSTOM_SELECT_CONTAINER_ATTR, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, type ColorPalettes, type ColorPalettesAlpha, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, CopyButton, type CopyButtonProps, DROPDOWN_MENU_CONTAINER_ATTR, DatePicker, type DatePickerProps, type DiffViewMode, type DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type MenuItemType as DropdownMenuItemType, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownProps, EditableText, type EditableTextProps, EditorSlashMenu, EditorSlashMenuGroup$1 as EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, FileTypeIcon, type FileTypeIconProps, Flex, type FlexDirection, type FlexProps, FluentEmoji, type FluentEmojiProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormCheckbox, type FormConfig, FormDatePicker, FormError, type FormFieldRules, FormGroup, FormInput, FormLabel, FormModal, type FormModalProps, type FormProps, FormSegment, FormSelect, type FormState, FormSwitch, FormTimePicker, type GenericItemType, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, I18nProvider, type I18nProviderProps, Icon, type IconProps$1 as IconProps, IconProvider, type IconSize, Image, type ImageProps$1 as ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, type ImgProps, type ImperativeModalProps, Input, InputMask, type InputMaskProps, InputNumber, type InputNumberProps, InputOPT, type InputOPTProps, InputPassword, type InputPasswordProps, type InputProps, type ItemType, KeyMapEnum, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, List, ListItem, type ListItemProps, type ListProps, type LobeCustomStylish, type LobeCustomToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, Menu, type MenuCheckboxItemType, type MenuItemType, type MenuProps, Mermaid, type MermaidProps, Meta, type MetaProps, Modal, ModalHost, type ModalHostProps, type ModalInstance, type ModalProps, ModalProvider, MotionComponent, type MotionComponentType, MotionProvider, type NeutralColors, type NeutralColorsObj, POPOVER_CONTAINER_ATTR, PatchDiff, type PatchDiffProps, type Placement, type PlacementConfig, Popover, PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverContextValue, PopoverGroup, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, PopoverPortal, type PopoverPortalAtomProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, type PresetColorKey, type PresetColorType, type PresetSystemColorKey, type PresetSystemColorType, PreviewGroup, type PreviewGroupProps, type PrimaryColors, type PrimaryColorsObj, type RawModalComponent, type RawModalComponentProps, type RawModalInstance, type RawModalKeyOptions, type RawModalOptions, SELECT_CONTAINER_ATTR, ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedProps, Select, SelectArrow, type SelectArrowProps, SelectBackdrop, type SelectBehaviorVariant, type SelectClassNames, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, type SelectIndicatorVariant, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectList, type SelectListProps, type SelectOption, type SelectOptionGroup, type SelectOptions, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, _default as ShikiLobeTheme, SideNav, type SideNavProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBlock, type SkeletonBlockProps, SkeletonButton, type SkeletonButtonProps, SkeletonParagraph, type SkeletonParagraphProps, type SkeletonProps, SkeletonTags, type SkeletonTagsProps, SkeletonTitle, type SkeletonTitleProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, SortableList, type SortableListProps, type SpanProps, type SvgProps, Switch, type SwitchChangeEventHandler, type SwitchClassNames, type SwitchClickEventHandler, type SwitchContextType, SwitchIcon, type SwitchIconPosition, type SwitchIconProps, type SwitchProps, SwitchRoot, type SwitchRootProps, type SwitchSize, type SwitchStyles, SwitchThumb, type SwitchThumbProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, type SystemColorToken, Table, type TableColumn, type TableDataSource, type TablePageSizeConfig, type TableProps, type TableReadConfig, Tabs, type TabsProps, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextProps, ThemeProvider, type ThemeProviderProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type Meridiem as TimePickerMeridiem, type TimePickerProps, type TimeValue as TimePickerValue, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, Toc, type TocProps, Tooltip, TooltipGroup, type TooltipProps, type Trigger, Typography, type TypographyProps, type UseFormReturn, Video, type VideoProps$1 as VideoProps, closeContextMenu, combineKeys, copyToClipboard, createModal, createRawModal, findCustomThemeName, genCdnUrl, generateColorNeutralPalette, generateColorPalette, highlighterThemes, generateCustomStylish as lobeCustomStylish, generateCustomToken as lobeCustomToken, staticStylish as lobeStaticStylish, styles as menuSharedStyles, mermaidThemes, neutralColors, neutralColorsSwatches, placementMap, preprocessMarkdownContent, preventDefault, preventDefaultAndStopPropagation, primaryColors, primaryColorsSwatches, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, renderDropdownMenuItems, runRules, showContextMenu, stopPropagation, toFloatingUIPlacement, toast, updateContextMenuItems, useCdnFn, useForm, useModalContext, useMotionComponent, usePopoverContext, usePopoverPortalContainer, useSwitchContext, useToast, useTranslation };
|
|
4305
|
+
export { A, type AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type BaseMenuItemType, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, CLASSNAMES, CUSTOM_SELECT_CONTAINER_ATTR, CardForm, type CardFormProps, Checkbox, CheckboxGroup, type CheckboxGroupOption, type CheckboxGroupProps, type CheckboxProps, CodeDiff, type CodeDiffProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, type ColorPalettes, type ColorPalettesAlpha, ColorSwatches, type ColorSwatchesProps, type ColorToken, type Config, ConfigProvider, type ContextMenuCheckboxItem, ContextMenuHost, type ContextMenuItem, ContextMenuTrigger, CopyButton, type CopyButtonProps, DROPDOWN_MENU_CONTAINER_ATTR, DatePicker, type DatePickerProps, type DiffViewMode, type DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownMenu, type DropdownMenuCheckboxItem, DropdownMenuCheckboxItemIndicator, DropdownMenuCheckboxItemPrimitive, DropdownMenuGroup, DropdownMenuGroupLabel, type DropdownMenuGroupLabelProps, DropdownMenuItem, DropdownMenuItemContent, type DropdownMenuItemContentProps, DropdownMenuItemExtra, type DropdownMenuItemExtraProps, DropdownMenuItemIcon, type DropdownMenuItemIconProps, DropdownMenuItemLabel, type DropdownMenuItemLabelProps, type DropdownMenuItemProps, type MenuItemType as DropdownMenuItemType, type DropdownMenuPlacement, DropdownMenuPopup, type DropdownMenuPopupProps, DropdownMenuPortal, type DropdownMenuPortalProps, DropdownMenuPositioner, type DropdownMenuPositionerProps, type DropdownMenuProps, DropdownMenuRoot, DropdownMenuSeparator, type DropdownMenuSeparatorProps, DropdownMenuSubmenuArrow, type DropdownMenuSubmenuArrowProps, DropdownMenuSubmenuRoot, DropdownMenuSubmenuTrigger, type DropdownMenuSubmenuTriggerProps, DropdownMenuTrigger, type DropdownMenuTriggerProps, type DropdownProps, EditableText, type EditableTextProps, EditorSlashMenu, EditorSlashMenuGroup$1 as EditorSlashMenuGroup, type EditorSlashMenuItems, type EditorSlashMenuOption, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, FileTypeIcon, type FileTypeIconProps, Flex, type FlexDirection, type FlexProps, FluentEmoji, type FluentEmojiProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, FormComponentImpl as Form, FormCheckbox, type FormConfig, FormDatePicker, FormError, type FormFieldRules, FormGroup, FormInput, type FormInstance, FormLabel, FormModal, type FormModalProps, type FormProps, FormSegment, FormSelect, type FormState, FormSwitch, FormTimePicker, type GenericItemType, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, I18nProvider, type I18nProviderProps, Icon, type IconProps$1 as IconProps, IconProvider, type IconSize, Image, type ImageProps$1 as ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, type ImgProps, type ImperativeModalProps, Input, InputMask, type InputMaskProps, InputNumber, type InputNumberProps, InputOPT, type InputOPTProps, InputPassword, type InputPasswordProps, type InputProps, type ItemType, KeyMapEnum, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, List, ListItem, type ListItemProps, type ListProps, type LobeCustomStylish, type LobeCustomToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, Menu, type MenuCheckboxItemType, type MenuItemType, type MenuProps, Mermaid, type MermaidProps, Meta, type MetaProps, Modal, ModalHost, type ModalHostProps, type ModalInstance, type ModalProps, ModalProvider, MotionComponent, type MotionComponentType, MotionProvider, type NeutralColors, type NeutralColorsObj, POPOVER_CONTAINER_ATTR, PatchDiff, type PatchDiffProps, type Placement, type PlacementConfig, Popover, PopoverArrow, type PopoverArrowAtomProps, PopoverArrowIcon, PopoverBackdrop, type PopoverContextValue, PopoverGroup, type PopoverPlacement, PopoverPopup, type PopoverPopupAtomProps, PopoverPortal, type PopoverPortalAtomProps, PopoverPositioner, type PopoverPositionerAtomProps, type PopoverProps, PopoverProvider, PopoverRoot, type PopoverTrigger, PopoverTriggerElement, type PopoverTriggerElementProps, PopoverViewport, type PopoverViewportAtomProps, type PresetColorKey, type PresetColorType, type PresetSystemColorKey, type PresetSystemColorType, PreviewGroup, type PreviewGroupProps, type PrimaryColors, type PrimaryColorsObj, type RawModalComponent, type RawModalComponentProps, type RawModalInstance, type RawModalKeyOptions, type RawModalOptions, SELECT_CONTAINER_ATTR, ScrollArea, ScrollAreaContent, type ScrollAreaContentProps, ScrollAreaCorner, type ScrollAreaCornerProps, type ScrollAreaProps, ScrollAreaRoot, type ScrollAreaRootProps, ScrollAreaScrollbar, type ScrollAreaScrollbarProps, ScrollAreaThumb, type ScrollAreaThumbProps, ScrollAreaViewport, type ScrollAreaViewportProps, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedProps, Select, SelectArrow, type SelectArrowProps, SelectBackdrop, type SelectBehaviorVariant, type SelectClassNames, SelectGroup, SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, SelectIcon, type SelectIconProps, type SelectIndicatorVariant, SelectItem, SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, SelectItemText, type SelectItemTextProps, SelectList, type SelectListProps, type SelectOption, type SelectOptionGroup, type SelectOptions, SelectPopup, type SelectPopupProps, SelectPortal, type SelectPortalProps, SelectPositioner, type SelectPositionerProps, type SelectProps, SelectRoot, SelectScrollDownArrow, type SelectScrollDownArrowProps, SelectScrollUpArrow, type SelectScrollUpArrowProps, SelectSeparator, type SelectSize, SelectTrigger, type SelectTriggerProps, SelectValue, type SelectValueProps, type SelectVariant, _default as ShikiLobeTheme, SideNav, type SideNavProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBlock, type SkeletonBlockProps, SkeletonButton, type SkeletonButtonProps, SkeletonParagraph, type SkeletonParagraphProps, type SkeletonProps, SkeletonTags, type SkeletonTagsProps, SkeletonTitle, type SkeletonTitleProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, SortableList, type SortableListProps, type SpanProps, type SvgProps, Switch, type SwitchChangeEventHandler, type SwitchClassNames, type SwitchClickEventHandler, type SwitchContextType, SwitchIcon, type SwitchIconPosition, type SwitchIconProps, type SwitchProps, SwitchRoot, type SwitchRootProps, type SwitchSize, type SwitchStyles, SwitchThumb, type SwitchThumbProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, type SystemColorToken, Table, type TableColumn, type TableDataSource, type TablePageSizeConfig, type TableProps, type TableReadConfig, Tabs, type TabsProps, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextProps, ThemeProvider, type ThemeProviderProps, ThemeSwitch, type ThemeSwitchProps, TimePicker, type Meridiem as TimePickerMeridiem, type TimePickerProps, type TimeValue as TimePickerValue, type ToastAPI, ToastHost, type ToastHostProps, type ToastInstance, type ToastOptions, type ToastPosition, type ToastPromiseOptions, type ToastProps, type ToastType, Toc, type TocProps, Tooltip, TooltipGroup, type TooltipProps, type Trigger, Typography, type TypographyProps, type UseFormReturn, Video, type VideoProps$1 as VideoProps, closeContextMenu, combineKeys, copyToClipboard, createModal, createRawModal, findCustomThemeName, genCdnUrl, generateColorNeutralPalette, generateColorPalette, highlighterThemes, generateCustomStylish as lobeCustomStylish, generateCustomToken as lobeCustomToken, staticStylish as lobeStaticStylish, styles as menuSharedStyles, mermaidThemes, neutralColors, neutralColorsSwatches, placementMap, preprocessMarkdownContent, preventDefault, preventDefaultAndStopPropagation, primaryColors, primaryColorsSwatches, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, renderDropdownMenuItems, runRules, showContextMenu, stopPropagation, toFloatingUIPlacement, toast, updateContextMenuItems, useCdnFn, useForm, useModalContext, useMotionComponent, usePopoverContext, usePopoverPortalContainer, useSwitchContext, useToast, useTranslation };
|