@bagelink/vue 1.4.87 → 1.4.89

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.
@@ -108,8 +108,8 @@ export interface BaseBagelField<
108
108
  'disabled'?: boolean
109
109
  'helptext'?: string
110
110
  'options'?: BagelFieldOptions<T, P>
111
- 'children'?: SchemaChild<T, P, PO>[]
112
- 'slots'?: { [key: string]: SchemaChild<T, P, PO>[] }
111
+ 'children'?: SchemaChild<T, Path<T, PO>, PO>[]
112
+ 'slots'?: { [key: string]: SchemaChild<T, Path<T, PO>, PO>[] }
113
113
  'defaultValue'?: any
114
114
  'vIf'?: VIfType<T, P>
115
115
  'v-if'?: VIfType<T, P>
@@ -147,15 +147,20 @@ export type BglFieldT<
147
147
  PO extends PathsOptions = DefaultPathsOptions,
148
148
  > = Field<T, PO>
149
149
 
150
+ export type SchemaField<
151
+ T,
152
+ PO extends PathsOptions = DefaultPathsOptions,
153
+ > = Field<T, PO> | ElementField<T, PO>
154
+
150
155
  export type BglFormSchemaT<
151
156
  T,
152
157
  PO extends PathsOptions = DefaultPathsOptions,
153
- > = Field<T, PO>[]
158
+ > = SchemaField<T, PO>[]
154
159
 
155
160
  export type ShallowBglFormSchemaT<
156
161
  T,
157
162
  PO extends PathsOptions = ShallowPathsOptions,
158
- > = Field<T, PO>[]
163
+ > = SchemaField<T, PO>[]
159
164
 
160
165
  export interface InputBagelField<
161
166
  T,