@dragonmastery/zinia-forms-core 0.3.9 → 0.3.10

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
@@ -417,6 +417,9 @@ type ArrayFieldComponent<T, P extends Path<T>> = vue.FunctionalComponent<Omit<Ar
417
417
  index: number;
418
418
  fields: FieldNames<ArrayItemType<T, P>>;
419
419
  }) => any;
420
+ fieldSummary: (props: {
421
+ items: ArrayItemType<T, P>[];
422
+ }) => any;
420
423
  default: () => any;
421
424
  }, {}>;
422
425
  /**
@@ -1150,6 +1153,9 @@ interface StyleCreators {
1150
1153
  index: number;
1151
1154
  fields: FieldNames<ItemType>;
1152
1155
  }) => any;
1156
+ fieldSummary: (props: {
1157
+ items: ItemType[];
1158
+ }) => any;
1153
1159
  default: () => any;
1154
1160
  }, {}>;
1155
1161
  createTransferListField: <FormType, ItemType = any>() => FunctionalComponent<TransferListFieldProps<FormType, ItemType>, {}, {
@@ -1396,6 +1402,9 @@ declare function useForm<T extends z.ZodObject<any>, CalcType = (values: z.infer
1396
1402
  [x: string]: string;
1397
1403
  };
1398
1404
  }) => any;
1405
+ fieldSummary: (props: {
1406
+ items: any[];
1407
+ }) => any;
1399
1408
  default: () => any;
1400
1409
  }, {}>;
1401
1410
  TransferListField: vue.FunctionalComponent<TransferListFieldProps<z.TypeOf<T>, any>, {}, {
@@ -1507,6 +1516,9 @@ interface ArrayFieldSlots<ItemType> {
1507
1516
  index: number;
1508
1517
  fields: FieldNames<ItemType>;
1509
1518
  }) => any;
1519
+ fieldSummary: (props: {
1520
+ items: ItemType[];
1521
+ }) => any;
1510
1522
  default: () => any;
1511
1523
  }
1512
1524
 
@@ -1571,6 +1583,9 @@ declare function generateFieldComponents<T extends z.ZodObject<any>>(schema: T,
1571
1583
  [x: string]: string;
1572
1584
  };
1573
1585
  }) => any;
1586
+ fieldSummary: (props: {
1587
+ items: any[];
1588
+ }) => any;
1574
1589
  default: () => any;
1575
1590
  }, {}>;
1576
1591
  TransferListField: vue.FunctionalComponent<TransferListFieldProps<z.TypeOf<T>, any>, {}, {