lf-pagebuilder-vue 0.0.7 → 0.0.8

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
@@ -9,6 +9,8 @@ import { WritableComputedRef } from 'vue';
9
9
 
10
10
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
11
 
12
+ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
13
+
12
14
  declare type __VLS_TypePropsToRuntimeProps<T> = {
13
15
  [K in keyof T]-?: {} extends Pick<T, K> ? {
14
16
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
@@ -18,6 +20,15 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
18
20
  };
19
21
  };
20
22
 
23
+ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: PropType<__VLS_NonUndefinedable_2<T[K]>>;
26
+ } : {
27
+ type: PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
31
+
21
32
  export declare const BodySection: DefineComponent<ExtractPropTypes< {
22
33
  isComponentMode: BooleanConstructor;
23
34
  fullwidthMode: BooleanConstructor;
@@ -193,44 +204,40 @@ declare interface ComponentObject_3 {
193
204
  repeat_data?: RepeatData_2 | null;
194
205
  }
195
206
 
196
- export declare const ComponentsBox: DefineComponent<ExtractPropTypes< {
197
- isComponentMode: BooleanConstructor;
198
- fullwidthMode: BooleanConstructor;
199
- columnToInsert: PropType<ColumnToInsert>;
200
- addComponentToColumn: PropType<(component: any) => void>;
201
- renderApiDomain: StringConstructor;
202
- toggleComponentModeFunction: PropType<() => void>;
203
- isProduction: {
204
- type: BooleanConstructor;
205
- default: boolean;
206
- };
207
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
208
- isComponentMode: BooleanConstructor;
209
- fullwidthMode: BooleanConstructor;
210
- columnToInsert: PropType<ColumnToInsert>;
211
- addComponentToColumn: PropType<(component: any) => void>;
212
- renderApiDomain: StringConstructor;
213
- toggleComponentModeFunction: PropType<() => void>;
214
- isProduction: {
215
- type: BooleanConstructor;
216
- default: boolean;
217
- };
218
- }>> & Readonly<{}>, {
207
+ export declare const ComponentsBox: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_2<{
208
+ isComponentMode: boolean;
209
+ fullwidthMode: boolean;
210
+ columnToInsert: ColumnToInsert;
211
+ addComponentToColumn: (component: any) => void;
212
+ renderApiDomain: string;
213
+ toggleComponentModeFunction: () => void;
219
214
  isProduction: boolean;
215
+ components: Record<string, any>;
216
+ excludedCategories?: string[];
217
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_2<{
220
218
  isComponentMode: boolean;
221
219
  fullwidthMode: boolean;
222
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
220
+ columnToInsert: ColumnToInsert;
221
+ addComponentToColumn: (component: any) => void;
222
+ renderApiDomain: string;
223
+ toggleComponentModeFunction: () => void;
224
+ isProduction: boolean;
225
+ components: Record<string, any>;
226
+ excludedCategories?: string[];
227
+ }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
223
228
 
224
229
  declare const _default: DefineComponent<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
225
230
  isProduction?: boolean;
226
231
  debugMode?: boolean;
227
232
  submitForm?: boolean;
228
233
  inputId?: string | null;
234
+ excludeComponentTypes?: string[];
229
235
  }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
230
236
  isProduction?: boolean;
231
237
  debugMode?: boolean;
232
238
  submitForm?: boolean;
233
239
  inputId?: string | null;
240
+ excludeComponentTypes?: string[];
234
241
  }>>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
235
242
  export { _default as Pagebuilder }
236
243
  export default _default;