@wordrhyme/auto-crud 1.2.4 → 1.3.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.cts CHANGED
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime3 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
  import { z } from "zod";
3
3
  import * as _tanstack_react_table0 from "@tanstack/react-table";
4
4
  import { Column, ColumnDef, ColumnSort, Row, RowData, Table, TableOptions, TableState } from "@tanstack/react-table";
@@ -313,7 +313,12 @@ interface BatchActionContext<TData> {
313
313
  clearSelection: () => void;
314
314
  }
315
315
  type BatchBuiltinActionType = 'batchUpdate' | 'export' | 'delete';
316
- type BatchBuiltinActionItem<TData> = {
316
+ type BatchActionMeta = {
317
+ id?: string;
318
+ order?: number;
319
+ hidden?: boolean;
320
+ };
321
+ type BatchBuiltinActionItem<TData> = BatchActionMeta & {
317
322
  type: BatchBuiltinActionType;
318
323
  /** 替代默认行为 */
319
324
  onClick?: (rows: TData[], context: BatchActionContext<TData>, event: React$1.MouseEvent<HTMLButtonElement>) => void;
@@ -322,7 +327,7 @@ type BatchBuiltinActionItem<TData> = {
322
327
  /** 替代整个内置操作的渲染 */
323
328
  component?: React$1.ReactNode | ((context: BatchActionContext<TData>) => React$1.ReactNode);
324
329
  };
325
- type BatchCustomActionItem<TData> = {
330
+ type BatchCustomActionItem<TData> = BatchActionMeta & {
326
331
  type: 'custom';
327
332
  /** 操作文本。传 component 时可省略 */
328
333
  label?: string;
@@ -364,7 +369,7 @@ declare function AutoTableActionBar<TData>({
364
369
  enableDelete,
365
370
  extraActions,
366
371
  actions
367
- }: AutoTableActionBarProps<TData>): react_jsx_runtime3.JSX.Element;
372
+ }: AutoTableActionBarProps<TData>): react_jsx_runtime1.JSX.Element;
368
373
  //#endregion
369
374
  //#region src/lib/schema-bridge/types.d.ts
370
375
  /**
@@ -448,16 +453,18 @@ declare function createSelectColumn<T>(): ColumnDef<T>;
448
453
  /**
449
454
  * 已解析的操作项(渲染层使用)
450
455
  */
451
- interface ResolvedActionItem<T> {
452
- label: string;
453
- onClick: (row: T) => void;
456
+ interface ResolvedActionItem<T, TContext = any> {
457
+ label?: string;
458
+ onClick?: (row: T) => void;
459
+ component?: React$1.ReactNode | ((context: TContext) => React$1.ReactNode);
460
+ getContext?: (row: T) => TContext;
454
461
  separator?: boolean;
455
462
  variant?: 'default' | 'destructive';
456
463
  }
457
464
  /**
458
465
  * 操作列配置(ResolvedActionItem 数组)
459
466
  */
460
- type ActionsColumnConfig<T> = ResolvedActionItem<T>[];
467
+ type ActionsColumnConfig<T> = ResolvedActionItem<T, any>[];
461
468
  /**
462
469
  * 创建操作列
463
470
  */
@@ -535,7 +542,7 @@ declare function AutoTable<T extends z.ZodObject<z.ZodRawShape>>({
535
542
  onSelectedCountChange,
536
543
  onSelectedRowsChange,
537
544
  getSelectedRows
538
- }: AutoTableProps<T>): react_jsx_runtime3.JSX.Element;
545
+ }: AutoTableProps<T>): react_jsx_runtime1.JSX.Element;
539
546
  //#endregion
540
547
  //#region src/i18n/locale.d.ts
541
548
  /**
@@ -662,27 +669,27 @@ type AutoCrudDataSourceEntry = {
662
669
  reset: boolean;
663
670
  load: AutoCrudDataSourceLoader;
664
671
  };
665
- type RegistryListener = () => void;
672
+ type RegistryListener$1 = () => void;
666
673
  declare const formComponents: {
667
674
  register(name: string, value: AutoCrudFormComponentConfig): void;
668
675
  unregister(name: string): void;
669
676
  get(name: string): AutoCrudFormComponentConfig | undefined;
670
677
  all(): Record<string, AutoCrudFormComponentConfig>;
671
- subscribe(listener: RegistryListener): () => void;
678
+ subscribe(listener: RegistryListener$1): () => void;
672
679
  };
673
680
  declare const components: {
674
681
  register(name: string, value: AutoCrudFormComponentConfig): void;
675
682
  unregister(name: string): void;
676
683
  get(name: string): AutoCrudFormComponentConfig | undefined;
677
684
  all(): Record<string, AutoCrudFormComponentConfig>;
678
- subscribe(listener: RegistryListener): () => void;
685
+ subscribe(listener: RegistryListener$1): () => void;
679
686
  };
680
687
  declare const dataSources: {
681
688
  register(name: string, registration: AutoCrudDataSourceRegistration): void;
682
689
  unregister: (name: string) => void;
683
690
  get: (name: string) => AutoCrudDataSourceEntry | undefined;
684
691
  all: () => Record<string, AutoCrudDataSourceEntry>;
685
- subscribe: (listener: RegistryListener) => () => void;
692
+ subscribe: (listener: RegistryListener$1) => () => void;
686
693
  };
687
694
  declare function normalizeDataSourceConfig(config: AutoCrudDataSourceConfig | undefined): {
688
695
  key: string;
@@ -778,51 +785,76 @@ interface Field {
778
785
  } | false;
779
786
  }
780
787
  type Fields = Record<string, Field>;
781
- type BuiltinType = 'view' | 'edit' | 'copy' | 'delete';
782
788
  /** 内置操作项(覆盖默认行为或调整位置) */
783
- type BuiltinActionItem<T> = {
784
- type: BuiltinType;
789
+ type ActionMeta = {
790
+ id?: string;
791
+ order?: number;
792
+ hidden?: boolean;
793
+ };
794
+ interface AutoCrudRowActionContext<T> {
795
+ crudId: string;
796
+ idKey: string;
797
+ row: T;
798
+ rowId?: string;
799
+ openView: (row: T) => void;
800
+ openEdit?: (row: T) => void;
801
+ copyRow?: (row: T) => void;
802
+ openDelete?: (row: T) => void;
803
+ }
804
+ type ActionComponent<TContext> = React$1.ReactNode | ((context: TContext) => React$1.ReactNode);
805
+ type RowBuiltinActionType = 'view' | 'edit' | 'copy' | 'delete';
806
+ type RowBuiltinActionItem<T> = ActionMeta & {
807
+ type: RowBuiltinActionType;
785
808
  onClick?: (row: T) => void;
786
809
  label?: string;
787
810
  separator?: boolean;
788
811
  };
789
- /** 自定义操作项 */
790
- type CustomActionItem<T> = {
812
+ type RowCustomActionItem<T> = ActionMeta & {
791
813
  type: 'custom';
792
- label: string;
793
- onClick: (row: T) => void;
794
- /** 仅在无内置项时生效:插入到首部还是尾部(默认 end) */
814
+ label?: string;
815
+ onClick?: (row: T) => void;
816
+ component?: ActionComponent<AutoCrudRowActionContext<T>>;
795
817
  position?: 'start' | 'end';
796
818
  separator?: boolean;
797
819
  variant?: 'default' | 'destructive';
798
820
  };
799
821
  /**
800
- * 行操作项
822
+ * Row action item.
801
823
  *
802
- * - **只传 custom**:内置保持默认,custom 追加到首/尾
803
- * - **包含任意内置 type**:数组完全接管,未列出的隐藏,顺序即渲染顺序
804
- */
805
- type ActionItem<T> = BuiltinActionItem<T> | CustomActionItem<T>;
806
- type ActionConfig<T> = ActionItem<T>[] | ((defaults: BuiltinActionItem<T>[]) => ActionItem<T>[]);
824
+ * - Custom-only config keeps builtin row actions and appends custom actions.
825
+ * - Including any builtin type takes over builtin ordering.
826
+ */
827
+ type RowActionItem<T> = RowBuiltinActionItem<T> | RowCustomActionItem<T>;
828
+ type RowActionConfig<T> = RowActionItem<T>[] | ((defaults: RowBuiltinActionItem<T>[]) => RowActionItem<T>[]);
829
+ /** @deprecated Use RowActionItem instead. */
830
+ type ActionItem<T> = RowActionItem<T>;
831
+ /** @deprecated Use RowActionConfig instead. */
832
+ type ActionConfig<T> = RowActionConfig<T>;
833
+ type AutoCrudActionsConfig<T> = {
834
+ toolbar?: ToolbarActionConfig;
835
+ row?: RowActionConfig<T>;
836
+ batch?: BatchActionConfig<T>;
837
+ };
838
+ type AutoCrudActionConfig<T> = RowActionConfig<T> | AutoCrudActionsConfig<T>;
807
839
  /**
808
840
  * 顶部工具栏内置操作项
809
841
  */
810
- type ToolbarBuiltinActionItem = {
842
+ type ToolbarBuiltinActionItem = ActionMeta & {
811
843
  type: 'create' | 'import' | 'export';
812
844
  /** 替代默认的行为 */
813
845
  onClick?: () => void;
814
846
  /** 替代默认的标签文本 */
815
847
  label?: string;
816
848
  /** 替代整个按钮的渲染 */
817
- component?: React$1.ReactNode;
849
+ component?: ActionComponent<AutoCrudToolbarContext>;
818
850
  };
819
851
  /**
820
852
  * 顶部工具栏自定义操作项
821
853
  */
822
- type ToolbarCustomActionItem = {
854
+ type ToolbarCustomActionItem = ActionMeta & {
823
855
  type: 'custom';
824
856
  /** 渲染自定义内容 */
825
- component: React$1.ReactNode;
857
+ component: ActionComponent<AutoCrudToolbarContext>;
826
858
  /** 仅在无内置项时生效:插入到首部还是尾部(默认 end) */
827
859
  position?: 'start' | 'end';
828
860
  };
@@ -837,7 +869,7 @@ interface AutoCrudToolbarContext {
837
869
  openCreate?: () => void;
838
870
  }
839
871
  type AutoCrudToolbarResolver = (targetId: string, ownerActions: readonly ToolbarActionItem[], context: AutoCrudToolbarContext) => ToolbarActionItem[];
840
- declare function setAutoCrudToolbarResolver(resolver: AutoCrudToolbarResolver | null): void;
872
+ declare function setToolbarResolver(resolver: AutoCrudToolbarResolver | null): void;
841
873
  /**
842
874
  * AutoCrudTable Props 接口
843
875
  */
@@ -883,6 +915,7 @@ interface AutoCrudTableProps<TSchema extends z.ZodObject<z.ZodRawShape>> {
883
915
  * 多选后悬浮批量操作栏配置
884
916
  * 用法类同 `actions` 行操作和 `toolbar` 顶部工具栏。
885
917
  * 只传 custom 时保留默认批量操作;包含任意内置 type 时完全接管顺序。
918
+ * @deprecated Use actions.batch instead.
886
919
  */
887
920
  batchActions?: BatchActionConfig<z.output<TSchema>>;
888
921
  /** 默认排序 */
@@ -897,11 +930,12 @@ interface AutoCrudTableProps<TSchema extends z.ZodObject<z.ZodRawShape>> {
897
930
  /** 弹窗自定义容器类名(支持控制大小、最大高度等) */
898
931
  className?: string;
899
932
  };
900
- /** 行操作配置,见 {@link ActionItem} */
901
- actions?: ActionConfig<z.output<TSchema>>;
933
+ /** 行操作配置,或统一的 toolbar/row/batch 操作配置。 */
934
+ actions?: AutoCrudActionConfig<z.output<TSchema>>;
902
935
  /**
903
936
  * 顶层工具栏操作配置
904
937
  * 用法类同 `actions` 行操作。一旦配置了包含内置 `type` 的数组,它将完全接管右侧工具栏!
938
+ * @deprecated Use actions.toolbar instead.
905
939
  */
906
940
  toolbar?: ToolbarActionConfig;
907
941
  /** @deprecated Use toolbar instead. */
@@ -965,7 +999,7 @@ declare function AutoCrudTable<TSchema extends z.ZodObject<z.ZodRawShape>>({
965
999
  toolbarActions,
966
1000
  locale: localeProp,
967
1001
  onCreate
968
- }: AutoCrudTableProps<TSchema>): react_jsx_runtime3.JSX.Element;
1002
+ }: AutoCrudTableProps<TSchema>): react_jsx_runtime1.JSX.Element;
969
1003
  //#endregion
970
1004
  //#region src/components/auto-crud/auto-form.d.ts
971
1005
  interface AutoFormProps<T extends z.ZodObject<z.ZodRawShape>> {
@@ -997,7 +1031,7 @@ declare function AutoFormInner<T extends z.ZodObject<z.ZodRawShape>>({
997
1031
  labelAlign,
998
1032
  labelWidth,
999
1033
  showSubmitButton
1000
- }: AutoFormProps<T>, ref: React.Ref<AutoFormRef>): react_jsx_runtime3.JSX.Element;
1034
+ }: AutoFormProps<T>, ref: React.Ref<AutoFormRef>): react_jsx_runtime1.JSX.Element;
1001
1035
  declare const AutoForm: <T extends z.ZodObject<z.ZodRawShape>>(props: AutoFormProps<T> & {
1002
1036
  ref?: React.Ref<AutoFormRef>;
1003
1037
  }) => ReturnType<typeof AutoFormInner>;
@@ -1299,7 +1333,7 @@ declare function AutoTableSimpleFilters<TData>({
1299
1333
  filters: externalFilters,
1300
1334
  onFiltersChange,
1301
1335
  leading
1302
- }: AutoTableSimpleFiltersProps<TData>): react_jsx_runtime3.JSX.Element | null;
1336
+ }: AutoTableSimpleFiltersProps<TData>): react_jsx_runtime1.JSX.Element | null;
1303
1337
  //#endregion
1304
1338
  //#region src/components/auto-crud/form-modal.d.ts
1305
1339
  type ModalVariant = "dialog" | "sheet";
@@ -1341,7 +1375,7 @@ declare function CrudFormModal<T extends z.ZodObject<z.ZodRawShape>>({
1341
1375
  labelAlign,
1342
1376
  labelWidth,
1343
1377
  className
1344
- }: CrudFormModalProps<T>): react_jsx_runtime3.JSX.Element;
1378
+ }: CrudFormModalProps<T>): react_jsx_runtime1.JSX.Element;
1345
1379
  //#endregion
1346
1380
  //#region src/components/auto-crud/import-dialog.d.ts
1347
1381
  interface ImportDialogProps {
@@ -1363,7 +1397,7 @@ declare function ImportDialog({
1363
1397
  columns,
1364
1398
  title,
1365
1399
  locale
1366
- }: ImportDialogProps): react_jsx_runtime3.JSX.Element;
1400
+ }: ImportDialogProps): react_jsx_runtime1.JSX.Element;
1367
1401
  //#endregion
1368
1402
  //#region src/components/auto-crud/export-dialog.d.ts
1369
1403
  type ExportMode = "selected" | "filtered";
@@ -1383,7 +1417,7 @@ declare function ExportDialog({
1383
1417
  selectedCount,
1384
1418
  onExport,
1385
1419
  canExportFiltered
1386
- }: ExportDialogProps): react_jsx_runtime3.JSX.Element;
1420
+ }: ExportDialogProps): react_jsx_runtime1.JSX.Element;
1387
1421
  //#endregion
1388
1422
  //#region src/components/data-table/data-table.d.ts
1389
1423
  interface DataTableProps<TData> extends React$1.ComponentProps<"div"> {
@@ -1396,7 +1430,7 @@ declare function DataTable<TData>({
1396
1430
  children,
1397
1431
  className,
1398
1432
  ...props
1399
- }: DataTableProps<TData>): react_jsx_runtime3.JSX.Element;
1433
+ }: DataTableProps<TData>): react_jsx_runtime1.JSX.Element;
1400
1434
  //#endregion
1401
1435
  //#region src/components/data-table/data-table-advanced-toolbar.d.ts
1402
1436
  interface DataTableAdvancedToolbarProps<TData> extends React$1.ComponentProps<"div"> {
@@ -1407,7 +1441,7 @@ declare function DataTableAdvancedToolbar<TData>({
1407
1441
  children,
1408
1442
  className,
1409
1443
  ...props
1410
- }: DataTableAdvancedToolbarProps<TData>): react_jsx_runtime3.JSX.Element;
1444
+ }: DataTableAdvancedToolbarProps<TData>): react_jsx_runtime1.JSX.Element;
1411
1445
  //#endregion
1412
1446
  //#region src/components/data-table/data-table-column-header.d.ts
1413
1447
  interface DataTableColumnHeaderProps<TData, TValue> extends React.ComponentProps<typeof DropdownMenuTrigger> {
@@ -1419,7 +1453,7 @@ declare function DataTableColumnHeader<TData, TValue>({
1419
1453
  label,
1420
1454
  className,
1421
1455
  ...props
1422
- }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime3.JSX.Element;
1456
+ }: DataTableColumnHeaderProps<TData, TValue>): react_jsx_runtime1.JSX.Element;
1423
1457
  //#endregion
1424
1458
  //#region src/components/data-table/data-table-faceted-filter.d.ts
1425
1459
  interface DataTableFacetedFilterProps<TData, TValue> {
@@ -1433,7 +1467,7 @@ declare function DataTableFacetedFilter<TData, TValue>({
1433
1467
  title,
1434
1468
  options,
1435
1469
  multiple
1436
- }: DataTableFacetedFilterProps<TData, TValue>): react_jsx_runtime3.JSX.Element;
1470
+ }: DataTableFacetedFilterProps<TData, TValue>): react_jsx_runtime1.JSX.Element;
1437
1471
  //#endregion
1438
1472
  //#region src/components/data-table/data-table-pagination.d.ts
1439
1473
  interface DataTablePaginationProps<TData> extends React.ComponentProps<"div"> {
@@ -1445,7 +1479,7 @@ declare function DataTablePagination<TData>({
1445
1479
  pageSizeOptions,
1446
1480
  className,
1447
1481
  ...props
1448
- }: DataTablePaginationProps<TData>): react_jsx_runtime3.JSX.Element;
1482
+ }: DataTablePaginationProps<TData>): react_jsx_runtime1.JSX.Element;
1449
1483
  //#endregion
1450
1484
  //#region src/components/data-table/data-table-toolbar.d.ts
1451
1485
  interface DataTableToolbarProps<TData> extends React$1.ComponentProps<"div"> {
@@ -1456,7 +1490,7 @@ declare function DataTableToolbar<TData>({
1456
1490
  children,
1457
1491
  className,
1458
1492
  ...props
1459
- }: DataTableToolbarProps<TData>): react_jsx_runtime3.JSX.Element;
1493
+ }: DataTableToolbarProps<TData>): react_jsx_runtime1.JSX.Element;
1460
1494
  //#endregion
1461
1495
  //#region src/components/data-table/data-table-view-options.d.ts
1462
1496
  interface DataTableViewOptionsProps<TData> extends React$1.ComponentProps<typeof PopoverContent> {
@@ -1467,7 +1501,7 @@ declare function DataTableViewOptions<TData>({
1467
1501
  table,
1468
1502
  disabled,
1469
1503
  ...props
1470
- }: DataTableViewOptionsProps<TData>): react_jsx_runtime3.JSX.Element;
1504
+ }: DataTableViewOptionsProps<TData>): react_jsx_runtime1.JSX.Element;
1471
1505
  //#endregion
1472
1506
  //#region src/components/ui/multi-combobox.d.ts
1473
1507
  interface MultiComboboxOption {
@@ -1510,6 +1544,45 @@ interface MultiComboboxProps extends Omit<ComponentProps<typeof Command>, 'value
1510
1544
  }
1511
1545
  declare const MultiCombobox: React$1.FC<MultiComboboxProps>;
1512
1546
  //#endregion
1547
+ //#region src/lib/crud-actions.d.ts
1548
+ type CrudActionZone = 'toolbar' | 'row' | 'batch';
1549
+ type CrudActionBase = {
1550
+ type: string;
1551
+ id?: string;
1552
+ order?: number;
1553
+ hidden?: boolean;
1554
+ position?: 'start' | 'end';
1555
+ };
1556
+ type CrudActionEntry<TAction extends CrudActionBase = CrudActionBase> = {
1557
+ targetId: string;
1558
+ zone: CrudActionZone;
1559
+ ownerId: string;
1560
+ action: TAction;
1561
+ order: number;
1562
+ seq: number;
1563
+ };
1564
+ type CrudActionRegistration<TAction extends CrudActionBase = CrudActionBase> = {
1565
+ targetId: string;
1566
+ zone: CrudActionZone;
1567
+ ownerId: string;
1568
+ actions: readonly TAction[];
1569
+ };
1570
+ type RegistryListener = () => void;
1571
+ declare function unregisterOwnerActions(ownerId: string, options?: {
1572
+ targetId?: string;
1573
+ zone?: CrudActionZone;
1574
+ }, shouldNotify?: boolean): void;
1575
+ declare function resolveActions<TAction extends CrudActionBase>(targetId: string | undefined, zone: CrudActionZone, ownerActions: readonly TAction[]): TAction[];
1576
+ declare const crudActions: {
1577
+ register<TAction extends CrudActionBase>(registration: CrudActionRegistration<TAction>): void;
1578
+ unregister: typeof unregisterOwnerActions;
1579
+ clear(): void;
1580
+ get<TAction extends CrudActionBase>(targetId: string, zone: CrudActionZone): CrudActionEntry<TAction>[];
1581
+ resolve: typeof resolveActions;
1582
+ subscribe(listener: RegistryListener): () => void;
1583
+ getSnapshot(): number;
1584
+ };
1585
+ //#endregion
1513
1586
  //#region src/hooks/use-data-table.d.ts
1514
1587
  interface UseDataTableProps<TData> extends Omit<TableOptions<TData>, "state" | "pageCount" | "getCoreRowModel" | "manualFiltering" | "manualPagination" | "manualSorting">, Required<Pick<TableOptions<TData>, "pageCount">> {
1515
1588
  initialState?: Omit<Partial<TableState>, "sorting"> & {
@@ -1844,4 +1917,4 @@ declare function exportAllToCSV<T extends Record<string, unknown>>(data: T[], op
1844
1917
  */
1845
1918
  declare function downloadCSVTemplate(headers: string[], filename?: string): void;
1846
1919
  //#endregion
1847
- export { type ActionItem, type ActionsColumnConfig, type AutoCrudDataSourceConfig, type AutoCrudDataSourceContext, type AutoCrudDataSourceEntry, type AutoCrudDataSourceLoader, type AutoCrudDataSourceRegistration, type AutoCrudFormComponentConfig, type AutoCrudLocale, type AutoCrudOption, AutoCrudTable, type AutoCrudTableProps, type AutoCrudToolbarContext, type AutoCrudToolbarResolver, AutoForm, type AutoQueryParams, AutoTable, AutoTableActionBar, AutoTableSimpleFilters, type BatchActionConfig, type BatchActionContext, type BatchActionItem, type BatchBuiltinActionItem, type BatchBuiltinActionType, type BatchCustomActionItem, type BatchUpdateField, type ColumnOverrides, type CreateFormSchemaOptions, type CreateTableSchemaOptions, CrudFormModal, type CrudHooks, type CrudOperationPermissions, type CrudPermissions, type DataSource, DataTable, DataTableAdvancedToolbar, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableRowAction, DataTableToolbar, DataTableViewOptions, type EnumOption, ExportDialog, type ExportDialogProps, type ExportMode, ExtendedColumnFilter, ExtendedColumnSort, type Field, type FieldOption, type FieldType, type Fields, type FilterConfig, FilterOperator, type FilterVariant, type FormSchemaOverrides, ImportDialog, type ImportDialogProps, type ImportResult, type JSONSchema, type JSONSchemaProperty, JoinOperator, type ListParams, type ListResult, type LocaleProp, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, type MultiComboboxTriggerRenderProps, Option, type ParsedImportData, type ParsedZodField, type Parser, QueryKeys, SchemaAdapter, type SimpleFieldConfig, type SimpleFieldsConfig, type ToastAdapter, type ToolbarActionConfig, type ToolbarActionItem, type ToolbarBuiltinActionItem, type ToolbarCustomActionItem, type UnifiedField, type UnifiedSchema, type UrlStateOptions, type UseAutoCrudResourceOptions, type UseAutoCrudResourceParams, type UseAutoCrudResourceReturn, cn, coerceRowValues, components, createActionsColumn, createEditFormSchema, createFormSchema, createMemoryDataSource, createSelectColumn, createTRPCDataSource, createTableSchema, dataSources, dataToCSV, deDE, downloadCSVTemplate, enUS, esES, exportAllToCSV, exportTableToCSV, formComponents, formatDate, frFR, generateCSVTemplate, getUrlParams, humanize, jaJP, koKR, noopToastAdapter, normalizeDataSourceConfig, normalizeOptions, parseAsArrayOf, parseAsInteger, parseAsString, parseAsStringEnum, parseCSV, parseImportFile, parseJSON, parseZodField, resolveLocale, setAutoCrudToolbarResolver, setSearchParams, useAutoCrudResource, useDataTable, useQueryState, useQueryStates, useReadableFilters, useUrlState, useUrlStates, zhCN };
1920
+ export { type ActionConfig, type ActionItem, type ActionsColumnConfig, type AutoCrudActionConfig, type AutoCrudActionsConfig, type AutoCrudDataSourceConfig, type AutoCrudDataSourceContext, type AutoCrudDataSourceEntry, type AutoCrudDataSourceLoader, type AutoCrudDataSourceRegistration, type AutoCrudFormComponentConfig, type AutoCrudLocale, type AutoCrudOption, type AutoCrudRowActionContext, AutoCrudTable, type AutoCrudTableProps, type AutoCrudToolbarContext, type AutoCrudToolbarResolver, AutoForm, type AutoQueryParams, AutoTable, AutoTableActionBar, AutoTableSimpleFilters, type BatchActionConfig, type BatchActionContext, type BatchActionItem, type BatchBuiltinActionItem, type BatchBuiltinActionType, type BatchCustomActionItem, type BatchUpdateField, type ColumnOverrides, type CreateFormSchemaOptions, type CreateTableSchemaOptions, type CrudActionBase, type CrudActionEntry, type CrudActionRegistration, type CrudActionZone, CrudFormModal, type CrudHooks, type CrudOperationPermissions, type CrudPermissions, type DataSource, DataTable, DataTableAdvancedToolbar, DataTableColumnHeader, DataTableFacetedFilter, DataTablePagination, DataTableRowAction, DataTableToolbar, DataTableViewOptions, type EnumOption, ExportDialog, type ExportDialogProps, type ExportMode, ExtendedColumnFilter, ExtendedColumnSort, type Field, type FieldOption, type FieldType, type Fields, type FilterConfig, FilterOperator, type FilterVariant, type FormSchemaOverrides, ImportDialog, type ImportDialogProps, type ImportResult, type JSONSchema, type JSONSchemaProperty, JoinOperator, type ListParams, type ListResult, type LocaleProp, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, type MultiComboboxTriggerRenderProps, Option, type ParsedImportData, type ParsedZodField, type Parser, QueryKeys, type RowActionConfig, type RowActionItem, type RowBuiltinActionItem, type RowBuiltinActionType, type RowCustomActionItem, SchemaAdapter, type SimpleFieldConfig, type SimpleFieldsConfig, type ToastAdapter, type ToolbarActionConfig, type ToolbarActionItem, type ToolbarBuiltinActionItem, type ToolbarCustomActionItem, type UnifiedField, type UnifiedSchema, type UrlStateOptions, type UseAutoCrudResourceOptions, type UseAutoCrudResourceParams, type UseAutoCrudResourceReturn, cn, coerceRowValues, components, createActionsColumn, createEditFormSchema, createFormSchema, createMemoryDataSource, createSelectColumn, createTRPCDataSource, createTableSchema, crudActions, dataSources, dataToCSV, deDE, downloadCSVTemplate, enUS, esES, exportAllToCSV, exportTableToCSV, formComponents, formatDate, frFR, generateCSVTemplate, getUrlParams, humanize, jaJP, koKR, noopToastAdapter, normalizeDataSourceConfig, normalizeOptions, parseAsArrayOf, parseAsInteger, parseAsString, parseAsStringEnum, parseCSV, parseImportFile, parseJSON, parseZodField, resolveLocale, setSearchParams, setToolbarResolver, useAutoCrudResource, useDataTable, useQueryState, useQueryStates, useReadableFilters, useUrlState, useUrlStates, zhCN };