@dragonmastery/zinia-forms-core 0.3.10 → 0.3.12

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.ts CHANGED
@@ -580,17 +580,13 @@ type MetadataRegistry = Record<string, SchemaFieldMetadata>;
580
580
  */
581
581
  type PathsOf<T extends z.ZodTypeAny> = Path<z.infer<T>>;
582
582
 
583
- /**
584
- * Option item for combobox fields - can be a string or label/value object
585
- */
586
- type ComboboxOption = string | {
587
- label: string;
588
- value: string;
589
- };
590
583
  /**
591
584
  * Props for the ComboboxField component
585
+ * @template FormType - The form type
586
+ * @template P - The field path in the form
587
+ * @template TData - The type of the data property in SelectOption (for cascading dropdowns)
592
588
  */
593
- interface ComboboxFieldProps<FormType, P extends Path<FormType> = Path<FormType>> {
589
+ interface ComboboxFieldProps<FormType, P extends Path<FormType> = Path<FormType>, TData = any> {
594
590
  /**
595
591
  * Field name (path in the form state)
596
592
  * Accepts both static paths and dynamic paths for use in array fields
@@ -637,28 +633,89 @@ interface ComboboxFieldProps<FormType, P extends Path<FormType> = Path<FormType>
637
633
  */
638
634
  variant?: string;
639
635
  /**
640
- * Combobox options (array of strings or label/value objects)
641
- * If not provided, will use options from schema metadata
636
+ * Combobox options (overrides options from schema)
637
+ * Using selectOptions instead of options to avoid conflicts with HTML select element
642
638
  *
643
639
  * For async loading, use form-level dataLoaders and pass options via extraData:
644
640
  * ```ts
645
641
  * useForm(schema, {
646
642
  * dataLoaders: { products: loadProducts },
647
643
  * });
648
- * // Then: :options="form.extraData.products || []"
644
+ * // Then: :selectOptions="form.extraData.products || []"
649
645
  * ```
646
+ *
647
+ * @example
648
+ * // With typed data
649
+ * interface CityData { country: string; }
650
+ * const options: SelectOption<CityData>[] = [
651
+ * { value: 'nyc', label: 'New York', data: { country: 'usa' } }
652
+ * ];
653
+ */
654
+ selectOptions?: SelectOption<TData>[];
655
+ /**
656
+ * Custom mapping function to convert values to labels
657
+ * This is useful when you want to customize how labels are displayed
658
+ * without providing a full options array
659
+ *
660
+ * Can be provided as either:
661
+ * 1. A function that takes a value and returns a label
662
+ * 2. An object map where keys are enum values and values are labels
663
+ */
664
+ valueToLabel?: ValueToLabelMapping<FieldPathToEnum$1<FormType, P>>;
665
+ /**
666
+ * Whether to use options from the schema (default: true)
667
+ * Set to false to ignore schema options even when no options prop is provided
668
+ */
669
+ useSchemaOptions?: boolean;
670
+ /**
671
+ * Field path that this field depends on for cascading dropdowns
672
+ * When the parent field changes, this field's options will be filtered
673
+ * and the field will be reset (unless autoReset is false)
674
+ *
675
+ * @example
676
+ * // City field depends on country field
677
+ * <ComboboxField name="city" dependsOn="country" :optionFilterFn="filterCitiesByCountry" />
678
+ */
679
+ dependsOn?: FlexiblePath<FormType>;
680
+ /**
681
+ * Function to filter options based on the parent field's value
682
+ * Receives the parent field value and all available options
683
+ * Should return the filtered options array
684
+ *
685
+ * The function signature is tied to the TData type parameter, ensuring type safety
686
+ * between selectOptions and optionFilterFn
687
+ *
688
+ * @example
689
+ * // With typed data - both props must use the same data type
690
+ * interface CityData { country: string; }
691
+ * const filterCitiesByCountry = (
692
+ * countryValue: string,
693
+ * allOptions: SelectOption<CityData>[]
694
+ * ): SelectOption<CityData>[] => {
695
+ * return allOptions.filter(opt => opt.data?.country === countryValue);
696
+ * };
697
+ */
698
+ optionFilterFn?: (parentValue: any, allOptions: SelectOption<TData>[]) => SelectOption<TData>[];
699
+ /**
700
+ * Whether to automatically reset this field when the parent field changes (default: true)
701
+ * Set to false if you want to preserve the value when parent changes
650
702
  */
651
- options?: ComboboxOption[];
703
+ autoReset?: boolean;
652
704
  /**
653
705
  * Whether to allow creating new values that don't exist in the options
654
706
  * Default: true
707
+ *
708
+ * Note: This is specific to ComboboxField and not available in SelectField
655
709
  */
656
710
  allowCreate?: boolean;
657
711
  /**
658
- * Custom filter function for options
712
+ * Custom filter function for filtering options as user types
659
713
  * Default: filters by case-insensitive substring match
714
+ *
715
+ * Note: This is specific to ComboboxField and not available in SelectField
716
+ * This is different from optionFilterFn which filters based on parent field values
660
717
  */
661
- filterFn?: (query: string, option: ComboboxOption) => boolean;
718
+ filterFn?: (query: string, option: SelectOption<TData>) => boolean;
662
719
  }
663
720
  /**
664
721
  * Array of prop names for ComboboxField component.
@@ -667,7 +724,7 @@ interface ComboboxFieldProps<FormType, P extends Path<FormType> = Path<FormType>
667
724
  *
668
725
  * TypeScript ensures all entries are valid keys of ComboboxFieldProps.
669
726
  */
670
- declare const COMBOBOX_FIELD_PROP_NAMES: readonly ["name", "options", "placeholder", "disabled", "readonly", "class", "label", "hideLabel", "description", "required", "size", "variant", "allowCreate", "filterFn"];
727
+ declare const COMBOBOX_FIELD_PROP_NAMES: readonly ["name", "selectOptions", "placeholder", "disabled", "readonly", "class", "label", "hideLabel", "description", "required", "size", "variant", "valueToLabel", "useSchemaOptions", "dependsOn", "optionFilterFn", "autoReset", "allowCreate", "filterFn"];
671
728
 
672
729
  interface CurrencyFieldProps<FormType> {
673
730
  name: FlexiblePath<FormType>;
@@ -882,6 +939,8 @@ interface TextareaFieldProps<FormType> {
882
939
  size?: string;
883
940
  variant?: string;
884
941
  rows?: number;
942
+ autoExpand?: boolean;
943
+ maxRows?: number;
885
944
  }
886
945
 
887
946
  interface TextFieldProps<FormType> {
@@ -1359,6 +1418,11 @@ declare function useForm<T extends z.ZodObject<any>, CalcType = (values: z.infer
1359
1418
  getDisplayText: (path: string) => string;
1360
1419
  setSelectedIndex: (path: string, index: number) => void;
1361
1420
  getSelectedIndex: (path: string) => number;
1421
+ getArrayItemId: (path: string, index: number) => string;
1422
+ addArrayItemId: (path: string, index?: number) => string;
1423
+ removeArrayItemId: (path: string, index: number) => void;
1424
+ swapArrayItemIds: (path: string, indexA: number, indexB: number) => void;
1425
+ syncArrayItemIds: (path: string) => void;
1362
1426
  };
1363
1427
  ZiniaForm: vue.FunctionalComponent<FormProps<z.TypeOf<T>>, {}, any, {}>;
1364
1428
  ZiniaSubmitButton: vue.FunctionalComponent<SubmitButtonProps<z.TypeOf<T>>, {}, any, {}>;
@@ -1382,7 +1446,7 @@ declare function useForm<T extends z.ZodObject<any>, CalcType = (values: z.infer
1382
1446
  UrlField: vue.FunctionalComponent<UrlFieldProps<z.TypeOf<T>>, {}, any, {}>;
1383
1447
  TelField: vue.FunctionalComponent<TelFieldProps<z.TypeOf<T>>, {}, any, {}>;
1384
1448
  SearchField: vue.FunctionalComponent<SearchFieldProps<z.TypeOf<T>>, {}, any, {}>;
1385
- ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T>>>, {}, any, {}>;
1449
+ ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T>>, any>, {}, any, {}>;
1386
1450
  ArrayField: vue.FunctionalComponent<ArrayFieldProps<z.TypeOf<T>, any>, {}, {
1387
1451
  itemRenderer: (props: {
1388
1452
  item: any;
@@ -1478,28 +1542,15 @@ declare function createBaseComponents<T extends z.ZodObject<any>>(schema: T, sty
1478
1542
  };
1479
1543
 
1480
1544
  /**
1481
- * Functions for creating type-safe select fields
1482
- */
1483
-
1484
- /**
1485
- * Create a factory function that returns a properly typed SelectField based on the field path
1545
+ * Create base display components using registered styles
1486
1546
  *
1487
- * @param baseSelectField The base select field component
1488
- * @param fieldPath The field path to create a select field for
1489
- * @returns A factory function that creates a type-safe select field
1490
- */
1491
- declare function createTypedSelectField<T, P extends Path<T>>(baseSelectField: FunctionalComponent<SelectFieldProps<T>>, fieldPath: P): <E extends FieldPathToEnum<T, P> = FieldPathToEnum<T, P>>(props: Omit<SelectFieldProps<T>, "name" | "valueToLabel"> & {
1492
- valueToLabel: Record<E, string>;
1493
- }, context?: any) => any;
1494
- /**
1495
- * Type-safe select field component with valueToLabel based on field path
1547
+ * @param schema The Zod schema for the data
1548
+ * @param styleName The style to use for rendering
1549
+ * @returns Base display components
1496
1550
  */
1497
- interface TypedSelectFieldComponent<T> {
1498
- <P extends Path<T>>(props: Omit<SelectFieldProps<T>, 'valueToLabel'> & {
1499
- name: P;
1500
- valueToLabel?: Record<string, string>;
1501
- }): ReturnType<FunctionalComponent>;
1502
- }
1551
+ declare function createBaseDisplayComponents<T extends z.ZodObject<any>>(schema: T, styleName?: RegisteredStyleName): {
1552
+ ZiniaDisplay: vue.FunctionalComponent<DisplayProps<z.TypeOf<T>>, {}, any, {}>;
1553
+ };
1503
1554
 
1504
1555
  interface ArrayFieldSlots<ItemType> {
1505
1556
  itemRenderer: (props: {
@@ -1537,6 +1588,89 @@ interface ArrayFieldSlots<ItemType> {
1537
1588
  */
1538
1589
  declare function createTypedArrayField<T, P extends Path<T>>(baseArrayField: FunctionalComponent<ArrayFieldProps<T, any>, {}, any, {}>, fieldPath: P, metadata?: FieldMetadata): FunctionalComponent<Omit<ArrayFieldProps<T, ArrayItemType<T, P>>, "name">, {}, ArrayFieldSlots<ArrayItemType<T, P>>, {}>;
1539
1590
 
1591
+ /**
1592
+ * Functions for creating type-safe combobox fields
1593
+ */
1594
+
1595
+ /**
1596
+ * Create a factory function that returns a properly typed ComboboxField based on the field path
1597
+ *
1598
+ * @param baseComboboxField The base combobox field component
1599
+ * @param fieldPath The field path to create a combobox field for
1600
+ * @returns A factory function that creates a type-safe combobox field
1601
+ *
1602
+ * This preserves path-specific typing for features like dependsOn (cascading dropdowns)
1603
+ * and ensures type safety between selectOptions and optionFilterFn
1604
+ */
1605
+ declare function createTypedComboboxField<T, P extends Path<T>>(baseComboboxField: FunctionalComponent<ComboboxFieldProps<T>>, fieldPath: P): <TData = any>(props: Omit<ComboboxFieldProps<T, P, TData>, "name">, context?: any) => any;
1606
+
1607
+ /**
1608
+ * Functions for creating type-safe select fields
1609
+ */
1610
+
1611
+ /**
1612
+ * Create a factory function that returns a properly typed SelectField based on the field path
1613
+ *
1614
+ * @param baseSelectField The base select field component
1615
+ * @param fieldPath The field path to create a select field for
1616
+ * @returns A factory function that creates a type-safe select field
1617
+ */
1618
+ declare function createTypedSelectField<T, P extends Path<T>>(baseSelectField: FunctionalComponent<SelectFieldProps<T>>, fieldPath: P): <E extends FieldPathToEnum<T, P> = FieldPathToEnum<T, P>>(props: Omit<SelectFieldProps<T>, "name" | "valueToLabel"> & {
1619
+ valueToLabel: Record<E, string>;
1620
+ }, context?: any) => any;
1621
+ /**
1622
+ * Type-safe select field component with valueToLabel based on field path
1623
+ */
1624
+ interface TypedSelectFieldComponent<T> {
1625
+ <P extends Path<T>>(props: Omit<SelectFieldProps<T>, 'valueToLabel'> & {
1626
+ name: P;
1627
+ valueToLabel?: Record<string, string>;
1628
+ }): ReturnType<FunctionalComponent>;
1629
+ }
1630
+
1631
+ /**
1632
+ * Type for display field components
1633
+ */
1634
+ type DisplayFieldComponent<T, P extends Path<T>, _FieldType extends string = 'string'> = (props: {
1635
+ name?: P;
1636
+ label?: string;
1637
+ hideLabel?: boolean;
1638
+ description?: string;
1639
+ format?: 'default' | 'currency' | 'date' | 'datetime' | 'boolean' | 'email' | 'url' | 'phone' | 'number';
1640
+ emptyText?: string;
1641
+ class?: string | string[];
1642
+ size?: string;
1643
+ variant?: string;
1644
+ copyable?: boolean;
1645
+ valueToLabel?: Record<string, string>;
1646
+ separator?: string;
1647
+ itemRenderer?: (item: any, index: number) => string;
1648
+ maxItems?: number;
1649
+ }, context?: any) => any;
1650
+ /**
1651
+ * Type for the display components object with PascalCase keys derived from field paths
1652
+ * This mirrors the ComponentsType from the form system but with Display suffix
1653
+ */
1654
+ type DisplayComponentsType<T> = {
1655
+ [K in Path<T> as `${PathToPascalCase<K & string>}` extends `${infer Base}Field` ? `${Base}Display` : `${PathToPascalCase<K & string>}Display`]: DisplayFieldComponent<T, K>;
1656
+ };
1657
+ /**
1658
+ * Generate display field components for a schema based on metadata
1659
+ *
1660
+ * @param schema The Zod schema for the data
1661
+ * @param fieldsMetadata Metadata for fields
1662
+ * @param renderStyle The style to use for rendering
1663
+ * @returns Generated display field components
1664
+ */
1665
+ declare function generateDisplayComponents<T extends z.ZodObject<any>>(schema: T, fieldsMetadata: Record<string, FieldMetadata>, styleName?: RegisteredStyleName): {
1666
+ generic: {
1667
+ DisplayField: vue.FunctionalComponent<DisplayFieldProps<z.TypeOf<T>>, {}, any, {}>;
1668
+ fields: { [K in Path<z.TypeOf<T>>]: DisplayFieldComponent<z.TypeOf<T>, K, string>; };
1669
+ field: <P extends Path<z.TypeOf<T>>>(path: P) => any;
1670
+ };
1671
+ typed: DisplayComponentsType<z.TypeOf<T>>;
1672
+ };
1673
+
1540
1674
  /**
1541
1675
  * Generate field components for a schema based on metadata
1542
1676
  *
@@ -1563,7 +1697,7 @@ declare function generateFieldComponents<T extends z.ZodObject<any>>(schema: T,
1563
1697
  UrlField: vue.FunctionalComponent<UrlFieldProps<z.TypeOf<T>>, {}, any, {}>;
1564
1698
  TelField: vue.FunctionalComponent<TelFieldProps<z.TypeOf<T>>, {}, any, {}>;
1565
1699
  SearchField: vue.FunctionalComponent<SearchFieldProps<z.TypeOf<T>>, {}, any, {}>;
1566
- ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T>>>, {}, any, {}>;
1700
+ ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T>>, any>, {}, any, {}>;
1567
1701
  ArrayField: vue.FunctionalComponent<ArrayFieldProps<z.TypeOf<T>, any>, {}, {
1568
1702
  itemRenderer: (props: {
1569
1703
  item: any;
@@ -1635,60 +1769,6 @@ declare function generateFieldComponents<T extends z.ZodObject<any>>(schema: T,
1635
1769
  typed: ComponentsType<z.TypeOf<T>>;
1636
1770
  };
1637
1771
 
1638
- /**
1639
- * Create base display components using registered styles
1640
- *
1641
- * @param schema The Zod schema for the data
1642
- * @param styleName The style to use for rendering
1643
- * @returns Base display components
1644
- */
1645
- declare function createBaseDisplayComponents<T extends z.ZodObject<any>>(schema: T, styleName?: RegisteredStyleName): {
1646
- ZiniaDisplay: vue.FunctionalComponent<DisplayProps<z.TypeOf<T>>, {}, any, {}>;
1647
- };
1648
-
1649
- /**
1650
- * Type for display field components
1651
- */
1652
- type DisplayFieldComponent<T, P extends Path<T>, _FieldType extends string = 'string'> = (props: {
1653
- name?: P;
1654
- label?: string;
1655
- hideLabel?: boolean;
1656
- description?: string;
1657
- format?: 'default' | 'currency' | 'date' | 'datetime' | 'boolean' | 'email' | 'url' | 'phone' | 'number';
1658
- emptyText?: string;
1659
- class?: string | string[];
1660
- size?: string;
1661
- variant?: string;
1662
- copyable?: boolean;
1663
- valueToLabel?: Record<string, string>;
1664
- separator?: string;
1665
- itemRenderer?: (item: any, index: number) => string;
1666
- maxItems?: number;
1667
- }, context?: any) => any;
1668
- /**
1669
- * Type for the display components object with PascalCase keys derived from field paths
1670
- * This mirrors the ComponentsType from the form system but with Display suffix
1671
- */
1672
- type DisplayComponentsType<T> = {
1673
- [K in Path<T> as `${PathToPascalCase<K & string>}` extends `${infer Base}Field` ? `${Base}Display` : `${PathToPascalCase<K & string>}Display`]: DisplayFieldComponent<T, K>;
1674
- };
1675
- /**
1676
- * Generate display field components for a schema based on metadata
1677
- *
1678
- * @param schema The Zod schema for the data
1679
- * @param fieldsMetadata Metadata for fields
1680
- * @param renderStyle The style to use for rendering
1681
- * @returns Generated display field components
1682
- */
1683
- declare function generateDisplayComponents<T extends z.ZodObject<any>>(schema: T, fieldsMetadata: Record<string, FieldMetadata>, styleName?: RegisteredStyleName): {
1684
- generic: {
1685
- DisplayField: vue.FunctionalComponent<DisplayFieldProps<z.TypeOf<T>>, {}, any, {}>;
1686
- fields: { [K in Path<z.TypeOf<T>>]: DisplayFieldComponent<z.TypeOf<T>, K, string>; };
1687
- field: <P extends Path<z.TypeOf<T>>>(path: P) => any;
1688
- };
1689
- typed: DisplayComponentsType<z.TypeOf<T>>;
1690
- };
1691
-
1692
1772
  interface NoDataDisplayProps {
1693
1773
  message?: string;
1694
1774
  class?: string;
@@ -2471,4 +2551,4 @@ declare const DEBUG_CONFIG: {
2471
2551
  */
2472
2552
  declare function isDebugEnabled(area: keyof Omit<typeof DEBUG_CONFIG, 'all'>): boolean;
2473
2553
 
2474
- export { ActionIcons, type ActionItem, type ActionsConfig, type ArrayFieldProps, type ArrayFieldSlots, type ButtonActionItem, COMBOBOX_FIELD_PROP_NAMES, type CheckboxFieldProps, type ColumnDefinition, type ComboboxFieldProps, type ComboboxOption, type CurrencyFieldProps, type CursorDataTableOptions, type CursorFetchParams, type CursorFetchResult, DEBUG_CONFIG, type DataTableColumns, type DataTableOptions, type DataTableProps, type DateFieldProps, type DateTimeLocalFieldProps, type DeleteModalProps, type DisplayComponentsType, type DisplayFieldComponent, type DisplayFieldProps, type DisplayProps, type EmailFieldProps, type EnumValueToLabelMap, type EnumValuesFromField, ErrorDisplay, type FetchDataParams, type FetchDataResult, type FieldPathToEnum$1 as FieldPathToEnum, type FieldType, type FileFieldProps, type FilterOptionItem, type FilterValue, type FormErrorsSummaryProps, type FormProps, type LinkActionItem, LoadingDisplay, NoDataDisplay, type NumberFieldProps, type PasswordFieldProps, type RadioFieldProps, type RangeFieldProps, type ResetButtonProps, SCHEMA_ID_SYMBOL, SELECT_FIELD_PROP_NAMES, type SearchFieldProps, type SelectFieldProps, type SelectOption, type SubmitButtonProps, type TelFieldProps, type TextFieldProps, type TextareaFieldProps, type TimeFieldProps, type ToppingsFieldProps, type TransferListFieldProps, type TypedSelectFieldComponent, type UrlFieldProps, type UseCursorDataTableType, type UseDataTableType, type UseDeleteModalType, type UseDisplayType, type UseFormType, type UseFormTyped, type ValueToLabelMapping, ZINIA_DATA_TABLE_ACTIONS_KEY, ZINIA_DATA_TABLE_COLUMNS_KEY, ZINIA_DATA_TABLE_FILTER_INPUTS_KEY, ZINIA_DATA_TABLE_FILTER_OPERATORS_KEY, ZINIA_DATA_TABLE_FILTER_OPTIONS_LOADING_KEY, ZINIA_DATA_TABLE_FILTER_OPTIONS_STATE_KEY, ZINIA_DATA_TABLE_KEY, ZINIA_DATA_TABLE_NAME_KEY, ZINIA_DATA_TABLE_OPTIONS_KEY, ZINIA_DATA_TABLE_SEARCH_INPUT_KEY, ZINIA_DELETE_MODAL_FIELDS_GENERIC_KEY, ZINIA_DELETE_MODAL_FIELDS_KEY, ZINIA_DELETE_MODAL_KEY, ZINIA_DELETE_MODAL_SCHEMA_KEY, ZINIA_DISPLAY_FIELDS_GENERIC_KEY, ZINIA_DISPLAY_FIELDS_KEY, ZINIA_DISPLAY_KEY, ZINIA_DISPLAY_SCHEMA_KEY, ZINIA_FIELDS_GENERIC_KEY, ZINIA_FIELDS_KEY, ZINIA_FORM_KEY, ZINIA_FORM_SCHEMA_KEY, type ZiniaDataTable, type ZiniaDeleteModal, type ZiniaDeleteModalFields, type ZiniaDeleteModalGenericFields, type ZiniaDisplay, type ZiniaDisplayFields, type ZiniaDisplayGenericFields, type ZiniaForm, type ZiniaFormFields, type ZiniaFormGenericFields, ZiniaPlugin, type ZiniaPluginOptions, type ZodEnumValues, clearAllMetadata, clearSchemaMetadata, createBaseComponents, createBaseDisplayComponents, createPartialStyle, createStyleTemplate, createTypedArrayField, createTypedSelectField, daisyUIStyle, extendStyle, generateDisplayComponents, generateFieldComponents, getAllSchemaMetadata, getDefaultStyle, getFieldMetadata, getRegisteredStyle, getRegisteredStyleNames, getSchemaId, hasRegisteredStyle, hasSchemaMetadata, isDebugEnabled, mergeStyles, plainStyle, registerSchemaMetadata, registerStyle, setSchemaMetadata, useCursorDataTable, useDataTable, useDeleteModal, useDisplay, useForm, withMetadata };
2554
+ export { ActionIcons, type ActionItem, type ActionsConfig, type ArrayFieldProps, type ArrayFieldSlots, type ButtonActionItem, COMBOBOX_FIELD_PROP_NAMES, type CheckboxFieldProps, type ColumnDefinition, type ComboboxFieldProps, type CurrencyFieldProps, type CursorDataTableOptions, type CursorFetchParams, type CursorFetchResult, DEBUG_CONFIG, type DataTableColumns, type DataTableOptions, type DataTableProps, type DateFieldProps, type DateTimeLocalFieldProps, type DeleteModalProps, type DisplayComponentsType, type DisplayFieldComponent, type DisplayFieldProps, type DisplayProps, type EmailFieldProps, type EnumValueToLabelMap, type EnumValuesFromField, ErrorDisplay, type FetchDataParams, type FetchDataResult, type FieldPathToEnum$1 as FieldPathToEnum, type FieldType, type FileFieldProps, type FilterOptionItem, type FilterValue, type FormErrorsSummaryProps, type FormProps, type LinkActionItem, LoadingDisplay, NoDataDisplay, type NumberFieldProps, type PasswordFieldProps, type RadioFieldProps, type RangeFieldProps, type ResetButtonProps, SCHEMA_ID_SYMBOL, SELECT_FIELD_PROP_NAMES, type SearchFieldProps, type SelectFieldProps, type SelectOption, type SubmitButtonProps, type TelFieldProps, type TextFieldProps, type TextareaFieldProps, type TimeFieldProps, type ToppingsFieldProps, type TransferListFieldProps, type TypedSelectFieldComponent, type UrlFieldProps, type UseCursorDataTableType, type UseDataTableType, type UseDeleteModalType, type UseDisplayType, type UseFormType, type UseFormTyped, type ValueToLabelMapping, ZINIA_DATA_TABLE_ACTIONS_KEY, ZINIA_DATA_TABLE_COLUMNS_KEY, ZINIA_DATA_TABLE_FILTER_INPUTS_KEY, ZINIA_DATA_TABLE_FILTER_OPERATORS_KEY, ZINIA_DATA_TABLE_FILTER_OPTIONS_LOADING_KEY, ZINIA_DATA_TABLE_FILTER_OPTIONS_STATE_KEY, ZINIA_DATA_TABLE_KEY, ZINIA_DATA_TABLE_NAME_KEY, ZINIA_DATA_TABLE_OPTIONS_KEY, ZINIA_DATA_TABLE_SEARCH_INPUT_KEY, ZINIA_DELETE_MODAL_FIELDS_GENERIC_KEY, ZINIA_DELETE_MODAL_FIELDS_KEY, ZINIA_DELETE_MODAL_KEY, ZINIA_DELETE_MODAL_SCHEMA_KEY, ZINIA_DISPLAY_FIELDS_GENERIC_KEY, ZINIA_DISPLAY_FIELDS_KEY, ZINIA_DISPLAY_KEY, ZINIA_DISPLAY_SCHEMA_KEY, ZINIA_FIELDS_GENERIC_KEY, ZINIA_FIELDS_KEY, ZINIA_FORM_KEY, ZINIA_FORM_SCHEMA_KEY, type ZiniaDataTable, type ZiniaDeleteModal, type ZiniaDeleteModalFields, type ZiniaDeleteModalGenericFields, type ZiniaDisplay, type ZiniaDisplayFields, type ZiniaDisplayGenericFields, type ZiniaForm, type ZiniaFormFields, type ZiniaFormGenericFields, ZiniaPlugin, type ZiniaPluginOptions, type ZodEnumValues, clearAllMetadata, clearSchemaMetadata, createBaseComponents, createBaseDisplayComponents, createPartialStyle, createStyleTemplate, createTypedArrayField, createTypedComboboxField, createTypedSelectField, daisyUIStyle, extendStyle, generateDisplayComponents, generateFieldComponents, getAllSchemaMetadata, getDefaultStyle, getFieldMetadata, getRegisteredStyle, getRegisteredStyleNames, getSchemaId, hasRegisteredStyle, hasSchemaMetadata, isDebugEnabled, mergeStyles, plainStyle, registerSchemaMetadata, registerStyle, setSchemaMetadata, useCursorDataTable, useDataTable, useDeleteModal, useDisplay, useForm, withMetadata };