@dragonmastery/zinia-forms-core 0.3.11 → 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 +165 -92
- package/dist/index.js +260 -233
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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 (
|
|
641
|
-
*
|
|
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: :
|
|
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
|
-
|
|
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:
|
|
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", "
|
|
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>;
|
|
@@ -1389,7 +1446,7 @@ declare function useForm<T extends z.ZodObject<any>, CalcType = (values: z.infer
|
|
|
1389
1446
|
UrlField: vue.FunctionalComponent<UrlFieldProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1390
1447
|
TelField: vue.FunctionalComponent<TelFieldProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1391
1448
|
SearchField: vue.FunctionalComponent<SearchFieldProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1392
|
-
ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T
|
|
1449
|
+
ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T>>, any>, {}, any, {}>;
|
|
1393
1450
|
ArrayField: vue.FunctionalComponent<ArrayFieldProps<z.TypeOf<T>, any>, {}, {
|
|
1394
1451
|
itemRenderer: (props: {
|
|
1395
1452
|
item: any;
|
|
@@ -1485,28 +1542,15 @@ declare function createBaseComponents<T extends z.ZodObject<any>>(schema: T, sty
|
|
|
1485
1542
|
};
|
|
1486
1543
|
|
|
1487
1544
|
/**
|
|
1488
|
-
*
|
|
1489
|
-
*/
|
|
1490
|
-
|
|
1491
|
-
/**
|
|
1492
|
-
* Create a factory function that returns a properly typed SelectField based on the field path
|
|
1545
|
+
* Create base display components using registered styles
|
|
1493
1546
|
*
|
|
1494
|
-
* @param
|
|
1495
|
-
* @param
|
|
1496
|
-
* @returns
|
|
1497
|
-
*/
|
|
1498
|
-
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"> & {
|
|
1499
|
-
valueToLabel: Record<E, string>;
|
|
1500
|
-
}, context?: any) => any;
|
|
1501
|
-
/**
|
|
1502
|
-
* 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
|
|
1503
1550
|
*/
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
valueToLabel?: Record<string, string>;
|
|
1508
|
-
}): ReturnType<FunctionalComponent>;
|
|
1509
|
-
}
|
|
1551
|
+
declare function createBaseDisplayComponents<T extends z.ZodObject<any>>(schema: T, styleName?: RegisteredStyleName): {
|
|
1552
|
+
ZiniaDisplay: vue.FunctionalComponent<DisplayProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1553
|
+
};
|
|
1510
1554
|
|
|
1511
1555
|
interface ArrayFieldSlots<ItemType> {
|
|
1512
1556
|
itemRenderer: (props: {
|
|
@@ -1544,6 +1588,89 @@ interface ArrayFieldSlots<ItemType> {
|
|
|
1544
1588
|
*/
|
|
1545
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>>, {}>;
|
|
1546
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
|
+
|
|
1547
1674
|
/**
|
|
1548
1675
|
* Generate field components for a schema based on metadata
|
|
1549
1676
|
*
|
|
@@ -1570,7 +1697,7 @@ declare function generateFieldComponents<T extends z.ZodObject<any>>(schema: T,
|
|
|
1570
1697
|
UrlField: vue.FunctionalComponent<UrlFieldProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1571
1698
|
TelField: vue.FunctionalComponent<TelFieldProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1572
1699
|
SearchField: vue.FunctionalComponent<SearchFieldProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1573
|
-
ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T
|
|
1700
|
+
ComboboxField: vue.FunctionalComponent<ComboboxFieldProps<z.TypeOf<T>, Path<z.TypeOf<T>>, any>, {}, any, {}>;
|
|
1574
1701
|
ArrayField: vue.FunctionalComponent<ArrayFieldProps<z.TypeOf<T>, any>, {}, {
|
|
1575
1702
|
itemRenderer: (props: {
|
|
1576
1703
|
item: any;
|
|
@@ -1642,60 +1769,6 @@ declare function generateFieldComponents<T extends z.ZodObject<any>>(schema: T,
|
|
|
1642
1769
|
typed: ComponentsType<z.TypeOf<T>>;
|
|
1643
1770
|
};
|
|
1644
1771
|
|
|
1645
|
-
/**
|
|
1646
|
-
* Create base display components using registered styles
|
|
1647
|
-
*
|
|
1648
|
-
* @param schema The Zod schema for the data
|
|
1649
|
-
* @param styleName The style to use for rendering
|
|
1650
|
-
* @returns Base display components
|
|
1651
|
-
*/
|
|
1652
|
-
declare function createBaseDisplayComponents<T extends z.ZodObject<any>>(schema: T, styleName?: RegisteredStyleName): {
|
|
1653
|
-
ZiniaDisplay: vue.FunctionalComponent<DisplayProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1654
|
-
};
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* Type for display field components
|
|
1658
|
-
*/
|
|
1659
|
-
type DisplayFieldComponent<T, P extends Path<T>, _FieldType extends string = 'string'> = (props: {
|
|
1660
|
-
name?: P;
|
|
1661
|
-
label?: string;
|
|
1662
|
-
hideLabel?: boolean;
|
|
1663
|
-
description?: string;
|
|
1664
|
-
format?: 'default' | 'currency' | 'date' | 'datetime' | 'boolean' | 'email' | 'url' | 'phone' | 'number';
|
|
1665
|
-
emptyText?: string;
|
|
1666
|
-
class?: string | string[];
|
|
1667
|
-
size?: string;
|
|
1668
|
-
variant?: string;
|
|
1669
|
-
copyable?: boolean;
|
|
1670
|
-
valueToLabel?: Record<string, string>;
|
|
1671
|
-
separator?: string;
|
|
1672
|
-
itemRenderer?: (item: any, index: number) => string;
|
|
1673
|
-
maxItems?: number;
|
|
1674
|
-
}, context?: any) => any;
|
|
1675
|
-
/**
|
|
1676
|
-
* Type for the display components object with PascalCase keys derived from field paths
|
|
1677
|
-
* This mirrors the ComponentsType from the form system but with Display suffix
|
|
1678
|
-
*/
|
|
1679
|
-
type DisplayComponentsType<T> = {
|
|
1680
|
-
[K in Path<T> as `${PathToPascalCase<K & string>}` extends `${infer Base}Field` ? `${Base}Display` : `${PathToPascalCase<K & string>}Display`]: DisplayFieldComponent<T, K>;
|
|
1681
|
-
};
|
|
1682
|
-
/**
|
|
1683
|
-
* Generate display field components for a schema based on metadata
|
|
1684
|
-
*
|
|
1685
|
-
* @param schema The Zod schema for the data
|
|
1686
|
-
* @param fieldsMetadata Metadata for fields
|
|
1687
|
-
* @param renderStyle The style to use for rendering
|
|
1688
|
-
* @returns Generated display field components
|
|
1689
|
-
*/
|
|
1690
|
-
declare function generateDisplayComponents<T extends z.ZodObject<any>>(schema: T, fieldsMetadata: Record<string, FieldMetadata>, styleName?: RegisteredStyleName): {
|
|
1691
|
-
generic: {
|
|
1692
|
-
DisplayField: vue.FunctionalComponent<DisplayFieldProps<z.TypeOf<T>>, {}, any, {}>;
|
|
1693
|
-
fields: { [K in Path<z.TypeOf<T>>]: DisplayFieldComponent<z.TypeOf<T>, K, string>; };
|
|
1694
|
-
field: <P extends Path<z.TypeOf<T>>>(path: P) => any;
|
|
1695
|
-
};
|
|
1696
|
-
typed: DisplayComponentsType<z.TypeOf<T>>;
|
|
1697
|
-
};
|
|
1698
|
-
|
|
1699
1772
|
interface NoDataDisplayProps {
|
|
1700
1773
|
message?: string;
|
|
1701
1774
|
class?: string;
|
|
@@ -2478,4 +2551,4 @@ declare const DEBUG_CONFIG: {
|
|
|
2478
2551
|
*/
|
|
2479
2552
|
declare function isDebugEnabled(area: keyof Omit<typeof DEBUG_CONFIG, 'all'>): boolean;
|
|
2480
2553
|
|
|
2481
|
-
export { ActionIcons, type ActionItem, type ActionsConfig, type ArrayFieldProps, type ArrayFieldSlots, type ButtonActionItem, COMBOBOX_FIELD_PROP_NAMES, type CheckboxFieldProps, type ColumnDefinition, type ComboboxFieldProps, type
|
|
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 };
|