@builder.io/sdk-qwik 0.0.23 → 0.0.25

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.
Files changed (35) hide show
  1. package/lib/index.qwik.cjs +187 -128
  2. package/lib/index.qwik.mjs +188 -129
  3. package/package.json +1 -1
  4. package/types/blocks/columns/columns.d.ts +3 -4
  5. package/types/blocks/image/image.d.ts +1 -1
  6. package/types/blocks/symbol/symbol.d.ts +2 -2
  7. package/types/components/render-block/block-styles.d.ts +2 -2
  8. package/types/components/render-block/render-block.d.ts +4 -470
  9. package/types/components/render-block/render-component.d.ts +2 -2
  10. package/types/components/render-block/types.d.ts +2 -2
  11. package/types/components/render-blocks.d.ts +2 -1
  12. package/types/components/render-content/render-content.d.ts +2 -2
  13. package/types/context/types.d.ts +3 -3
  14. package/types/functions/get-block-actions-handler.d.ts +1 -1
  15. package/types/functions/get-block-actions.d.ts +1 -1
  16. package/types/functions/get-block-component-options.d.ts +1 -1
  17. package/types/functions/get-block-properties.d.ts +1 -1
  18. package/types/functions/get-block-styles.d.ts +2 -468
  19. package/types/functions/get-block-tag.d.ts +1 -1
  20. package/types/functions/get-content/ab-testing.d.ts +5 -3
  21. package/types/functions/get-content/index.d.ts +1 -1
  22. package/types/functions/get-content/types.d.ts +7 -2
  23. package/types/functions/get-processed-block.d.ts +1 -1
  24. package/types/functions/register-component.d.ts +1 -1
  25. package/types/functions/register.d.ts +2 -2
  26. package/types/functions/sanitize-styles.d.ts +1 -1
  27. package/types/functions/track.d.ts +1 -1
  28. package/types/functions/transform-block.d.ts +1 -1
  29. package/types/helpers/ab-tests.d.ts +8 -0
  30. package/types/helpers/cookie.d.ts +9 -3
  31. package/types/helpers/localStorage.d.ts +3 -4
  32. package/types/helpers/sessionId.d.ts +3 -4
  33. package/types/helpers/visitorId.d.ts +3 -5
  34. package/types/types/builder-content.d.ts +1 -1
  35. package/types/types/typescript.d.ts +1 -0
@@ -1,6 +1,6 @@
1
- import { BuilderContextInterface } from "../../context/types.js";
2
- import { BuilderBlock } from "../../types/builder-block.js";
3
- import { RepeatData } from "./types.js";
1
+ import type { BuilderContextInterface } from "../../context/types.js";
2
+ import type { BuilderBlock } from "../../types/builder-block.js";
3
+ import type { RepeatData } from "./types.js";
4
4
  export declare type RenderBlockProps = {
5
5
  block: BuilderBlock;
6
6
  context: BuilderContextInterface;
@@ -11,473 +11,7 @@ export declare const componentRef: (props: any, state: any) => any;
11
11
  export declare const tagName: (props: any, state: any) => string;
12
12
  export declare const useBlock: (props: any, state: any) => any;
13
13
  export declare const attributes: (props: any, state: any) => {
14
- style: {
15
- [x: number]: string | undefined;
16
- accentColor?: string | undefined;
17
- alignContent?: string | undefined;
18
- alignItems?: string | undefined;
19
- alignSelf?: string | undefined;
20
- alignmentBaseline?: string | undefined;
21
- all?: string | undefined;
22
- animation?: string | undefined;
23
- animationDelay?: string | undefined;
24
- animationDirection?: string | undefined;
25
- animationDuration?: string | undefined;
26
- animationFillMode?: string | undefined;
27
- animationIterationCount?: string | undefined;
28
- animationName?: string | undefined;
29
- animationPlayState?: string | undefined;
30
- animationTimingFunction?: string | undefined;
31
- appearance?: string | undefined;
32
- aspectRatio?: string | undefined;
33
- backfaceVisibility?: string | undefined;
34
- background?: string | undefined;
35
- backgroundAttachment?: string | undefined;
36
- backgroundBlendMode?: string | undefined;
37
- backgroundClip?: string | undefined;
38
- backgroundColor?: string | undefined;
39
- backgroundImage?: string | undefined;
40
- backgroundOrigin?: string | undefined;
41
- backgroundPosition?: string | undefined;
42
- backgroundPositionX?: string | undefined;
43
- backgroundPositionY?: string | undefined;
44
- backgroundRepeat?: string | undefined;
45
- backgroundSize?: string | undefined;
46
- baselineShift?: string | undefined;
47
- blockSize?: string | undefined;
48
- border?: string | undefined;
49
- borderBlock?: string | undefined;
50
- borderBlockColor?: string | undefined;
51
- borderBlockEnd?: string | undefined;
52
- borderBlockEndColor?: string | undefined;
53
- borderBlockEndStyle?: string | undefined;
54
- borderBlockEndWidth?: string | undefined;
55
- borderBlockStart?: string | undefined;
56
- borderBlockStartColor?: string | undefined;
57
- borderBlockStartStyle?: string | undefined;
58
- borderBlockStartWidth?: string | undefined;
59
- borderBlockStyle?: string | undefined;
60
- borderBlockWidth?: string | undefined;
61
- borderBottom?: string | undefined;
62
- borderBottomColor?: string | undefined;
63
- borderBottomLeftRadius?: string | undefined;
64
- borderBottomRightRadius?: string | undefined;
65
- borderBottomStyle?: string | undefined;
66
- borderBottomWidth?: string | undefined;
67
- borderCollapse?: string | undefined;
68
- borderColor?: string | undefined;
69
- borderEndEndRadius?: string | undefined;
70
- borderEndStartRadius?: string | undefined;
71
- borderImage?: string | undefined;
72
- borderImageOutset?: string | undefined;
73
- borderImageRepeat?: string | undefined;
74
- borderImageSlice?: string | undefined;
75
- borderImageSource?: string | undefined;
76
- borderImageWidth?: string | undefined;
77
- borderInline?: string | undefined;
78
- borderInlineColor?: string | undefined;
79
- borderInlineEnd?: string | undefined;
80
- borderInlineEndColor?: string | undefined;
81
- borderInlineEndStyle?: string | undefined;
82
- borderInlineEndWidth?: string | undefined;
83
- borderInlineStart?: string | undefined;
84
- borderInlineStartColor?: string | undefined;
85
- borderInlineStartStyle?: string | undefined;
86
- borderInlineStartWidth?: string | undefined;
87
- borderInlineStyle?: string | undefined;
88
- borderInlineWidth?: string | undefined;
89
- borderLeft?: string | undefined;
90
- borderLeftColor?: string | undefined;
91
- borderLeftStyle?: string | undefined;
92
- borderLeftWidth?: string | undefined;
93
- borderRadius?: string | undefined;
94
- borderRight?: string | undefined;
95
- borderRightColor?: string | undefined;
96
- borderRightStyle?: string | undefined;
97
- borderRightWidth?: string | undefined;
98
- borderSpacing?: string | undefined;
99
- borderStartEndRadius?: string | undefined;
100
- borderStartStartRadius?: string | undefined;
101
- borderStyle?: string | undefined;
102
- borderTop?: string | undefined;
103
- borderTopColor?: string | undefined;
104
- borderTopLeftRadius?: string | undefined;
105
- borderTopRightRadius?: string | undefined;
106
- borderTopStyle?: string | undefined;
107
- borderTopWidth?: string | undefined;
108
- borderWidth?: string | undefined;
109
- bottom?: string | undefined;
110
- boxShadow?: string | undefined;
111
- boxSizing?: string | undefined;
112
- breakAfter?: string | undefined;
113
- breakBefore?: string | undefined;
114
- breakInside?: string | undefined;
115
- captionSide?: string | undefined;
116
- caretColor?: string | undefined;
117
- clear?: string | undefined;
118
- clip?: string | undefined;
119
- clipPath?: string | undefined;
120
- clipRule?: string | undefined;
121
- color?: string | undefined;
122
- colorInterpolation?: string | undefined;
123
- colorInterpolationFilters?: string | undefined;
124
- colorScheme?: string | undefined;
125
- columnCount?: string | undefined;
126
- columnFill?: string | undefined;
127
- columnGap?: string | undefined;
128
- columnRule?: string | undefined;
129
- columnRuleColor?: string | undefined;
130
- columnRuleStyle?: string | undefined;
131
- columnRuleWidth?: string | undefined;
132
- columnSpan?: string | undefined;
133
- columnWidth?: string | undefined;
134
- columns?: string | undefined;
135
- contain?: string | undefined;
136
- content?: string | undefined;
137
- counterIncrement?: string | undefined;
138
- counterReset?: string | undefined;
139
- counterSet?: string | undefined;
140
- cssFloat?: string | undefined;
141
- cssText?: string | undefined;
142
- cursor?: string | undefined;
143
- direction?: string | undefined;
144
- display?: string | undefined;
145
- dominantBaseline?: string | undefined;
146
- emptyCells?: string | undefined;
147
- fill?: string | undefined;
148
- fillOpacity?: string | undefined;
149
- fillRule?: string | undefined;
150
- filter?: string | undefined;
151
- flex?: string | undefined;
152
- flexBasis?: string | undefined;
153
- flexDirection?: string | undefined;
154
- flexFlow?: string | undefined;
155
- flexGrow?: string | undefined;
156
- flexShrink?: string | undefined;
157
- flexWrap?: string | undefined;
158
- float?: string | undefined;
159
- floodColor?: string | undefined;
160
- floodOpacity?: string | undefined;
161
- font?: string | undefined;
162
- fontFamily?: string | undefined;
163
- fontFeatureSettings?: string | undefined;
164
- fontKerning?: string | undefined;
165
- fontOpticalSizing?: string | undefined;
166
- fontSize?: string | undefined;
167
- fontSizeAdjust?: string | undefined;
168
- fontStretch?: string | undefined;
169
- fontStyle?: string | undefined;
170
- fontSynthesis?: string | undefined;
171
- fontVariant?: string | undefined;
172
- fontVariantAlternates?: string | undefined;
173
- fontVariantCaps?: string | undefined;
174
- fontVariantEastAsian?: string | undefined;
175
- fontVariantLigatures?: string | undefined;
176
- fontVariantNumeric?: string | undefined;
177
- fontVariantPosition?: string | undefined;
178
- fontVariationSettings?: string | undefined;
179
- fontWeight?: string | undefined;
180
- gap?: string | undefined;
181
- grid?: string | undefined;
182
- gridArea?: string | undefined;
183
- gridAutoColumns?: string | undefined;
184
- gridAutoFlow?: string | undefined;
185
- gridAutoRows?: string | undefined;
186
- gridColumn?: string | undefined;
187
- gridColumnEnd?: string | undefined;
188
- gridColumnGap?: string | undefined;
189
- gridColumnStart?: string | undefined;
190
- gridGap?: string | undefined;
191
- gridRow?: string | undefined;
192
- gridRowEnd?: string | undefined;
193
- gridRowGap?: string | undefined;
194
- gridRowStart?: string | undefined;
195
- gridTemplate?: string | undefined;
196
- gridTemplateAreas?: string | undefined;
197
- gridTemplateColumns?: string | undefined;
198
- gridTemplateRows?: string | undefined;
199
- height?: string | undefined;
200
- hyphens?: string | undefined;
201
- imageOrientation?: string | undefined;
202
- imageRendering?: string | undefined;
203
- inlineSize?: string | undefined;
204
- inset?: string | undefined;
205
- insetBlock?: string | undefined;
206
- insetBlockEnd?: string | undefined;
207
- insetBlockStart?: string | undefined;
208
- insetInline?: string | undefined;
209
- insetInlineEnd?: string | undefined;
210
- insetInlineStart?: string | undefined;
211
- isolation?: string | undefined;
212
- justifyContent?: string | undefined;
213
- justifyItems?: string | undefined;
214
- justifySelf?: string | undefined;
215
- left?: string | undefined;
216
- length?: number | undefined;
217
- letterSpacing?: string | undefined;
218
- lightingColor?: string | undefined;
219
- lineBreak?: string | undefined;
220
- lineHeight?: string | undefined;
221
- listStyle?: string | undefined;
222
- listStyleImage?: string | undefined;
223
- listStylePosition?: string | undefined;
224
- listStyleType?: string | undefined;
225
- margin?: string | undefined;
226
- marginBlock?: string | undefined;
227
- marginBlockEnd?: string | undefined;
228
- marginBlockStart?: string | undefined;
229
- marginBottom?: string | undefined;
230
- marginInline?: string | undefined;
231
- marginInlineEnd?: string | undefined;
232
- marginInlineStart?: string | undefined;
233
- marginLeft?: string | undefined;
234
- marginRight?: string | undefined;
235
- marginTop?: string | undefined;
236
- marker?: string | undefined;
237
- markerEnd?: string | undefined;
238
- markerMid?: string | undefined;
239
- markerStart?: string | undefined;
240
- mask?: string | undefined;
241
- maskClip?: string | undefined;
242
- maskComposite?: string | undefined;
243
- maskImage?: string | undefined;
244
- maskMode?: string | undefined;
245
- maskOrigin?: string | undefined;
246
- maskPosition?: string | undefined;
247
- maskRepeat?: string | undefined;
248
- maskSize?: string | undefined;
249
- maskType?: string | undefined;
250
- maxBlockSize?: string | undefined;
251
- maxHeight?: string | undefined;
252
- maxInlineSize?: string | undefined;
253
- maxWidth?: string | undefined;
254
- minBlockSize?: string | undefined;
255
- minHeight?: string | undefined;
256
- minInlineSize?: string | undefined;
257
- minWidth?: string | undefined;
258
- mixBlendMode?: string | undefined;
259
- objectFit?: string | undefined;
260
- objectPosition?: string | undefined;
261
- offset?: string | undefined;
262
- offsetDistance?: string | undefined;
263
- offsetPath?: string | undefined;
264
- offsetRotate?: string | undefined;
265
- opacity?: string | undefined;
266
- order?: string | undefined;
267
- orphans?: string | undefined;
268
- outline?: string | undefined;
269
- outlineColor?: string | undefined;
270
- outlineOffset?: string | undefined;
271
- outlineStyle?: string | undefined;
272
- outlineWidth?: string | undefined;
273
- overflow?: string | undefined;
274
- overflowAnchor?: string | undefined;
275
- overflowWrap?: string | undefined;
276
- overflowX?: string | undefined;
277
- overflowY?: string | undefined;
278
- overscrollBehavior?: string | undefined;
279
- overscrollBehaviorBlock?: string | undefined;
280
- overscrollBehaviorInline?: string | undefined;
281
- overscrollBehaviorX?: string | undefined;
282
- overscrollBehaviorY?: string | undefined;
283
- padding?: string | undefined;
284
- paddingBlock?: string | undefined;
285
- paddingBlockEnd?: string | undefined;
286
- paddingBlockStart?: string | undefined;
287
- paddingBottom?: string | undefined;
288
- paddingInline?: string | undefined;
289
- paddingInlineEnd?: string | undefined;
290
- paddingInlineStart?: string | undefined;
291
- paddingLeft?: string | undefined;
292
- paddingRight?: string | undefined;
293
- paddingTop?: string | undefined;
294
- pageBreakAfter?: string | undefined;
295
- pageBreakBefore?: string | undefined;
296
- pageBreakInside?: string | undefined;
297
- paintOrder?: string | undefined;
298
- parentRule?: CSSRule | null | undefined;
299
- perspective?: string | undefined;
300
- perspectiveOrigin?: string | undefined;
301
- placeContent?: string | undefined;
302
- placeItems?: string | undefined;
303
- placeSelf?: string | undefined;
304
- pointerEvents?: string | undefined;
305
- position?: string | undefined;
306
- printColorAdjust?: string | undefined;
307
- quotes?: string | undefined;
308
- resize?: string | undefined;
309
- right?: string | undefined;
310
- rotate?: string | undefined;
311
- rowGap?: string | undefined;
312
- rubyPosition?: string | undefined;
313
- scale?: string | undefined;
314
- scrollBehavior?: string | undefined;
315
- scrollMargin?: string | undefined;
316
- scrollMarginBlock?: string | undefined;
317
- scrollMarginBlockEnd?: string | undefined;
318
- scrollMarginBlockStart?: string | undefined;
319
- scrollMarginBottom?: string | undefined;
320
- scrollMarginInline?: string | undefined;
321
- scrollMarginInlineEnd?: string | undefined;
322
- scrollMarginInlineStart?: string | undefined;
323
- scrollMarginLeft?: string | undefined;
324
- scrollMarginRight?: string | undefined;
325
- scrollMarginTop?: string | undefined;
326
- scrollPadding?: string | undefined;
327
- scrollPaddingBlock?: string | undefined;
328
- scrollPaddingBlockEnd?: string | undefined;
329
- scrollPaddingBlockStart?: string | undefined;
330
- scrollPaddingBottom?: string | undefined;
331
- scrollPaddingInline?: string | undefined;
332
- scrollPaddingInlineEnd?: string | undefined;
333
- scrollPaddingInlineStart?: string | undefined;
334
- scrollPaddingLeft?: string | undefined;
335
- scrollPaddingRight?: string | undefined;
336
- scrollPaddingTop?: string | undefined;
337
- scrollSnapAlign?: string | undefined;
338
- scrollSnapStop?: string | undefined;
339
- scrollSnapType?: string | undefined;
340
- scrollbarGutter?: string | undefined;
341
- shapeImageThreshold?: string | undefined;
342
- shapeMargin?: string | undefined;
343
- shapeOutside?: string | undefined;
344
- shapeRendering?: string | undefined;
345
- stopColor?: string | undefined;
346
- stopOpacity?: string | undefined;
347
- stroke?: string | undefined;
348
- strokeDasharray?: string | undefined;
349
- strokeDashoffset?: string | undefined;
350
- strokeLinecap?: string | undefined;
351
- strokeLinejoin?: string | undefined;
352
- strokeMiterlimit?: string | undefined;
353
- strokeOpacity?: string | undefined;
354
- strokeWidth?: string | undefined;
355
- tabSize?: string | undefined;
356
- tableLayout?: string | undefined;
357
- textAlign?: string | undefined;
358
- textAlignLast?: string | undefined;
359
- textAnchor?: string | undefined;
360
- textCombineUpright?: string | undefined;
361
- textDecoration?: string | undefined;
362
- textDecorationColor?: string | undefined;
363
- textDecorationLine?: string | undefined;
364
- textDecorationSkipInk?: string | undefined;
365
- textDecorationStyle?: string | undefined;
366
- textDecorationThickness?: string | undefined;
367
- textEmphasis?: string | undefined;
368
- textEmphasisColor?: string | undefined;
369
- textEmphasisPosition?: string | undefined;
370
- textEmphasisStyle?: string | undefined;
371
- textIndent?: string | undefined;
372
- textOrientation?: string | undefined;
373
- textOverflow?: string | undefined;
374
- textRendering?: string | undefined;
375
- textShadow?: string | undefined;
376
- textTransform?: string | undefined;
377
- textUnderlineOffset?: string | undefined;
378
- textUnderlinePosition?: string | undefined;
379
- top?: string | undefined;
380
- touchAction?: string | undefined;
381
- transform?: string | undefined;
382
- transformBox?: string | undefined;
383
- transformOrigin?: string | undefined;
384
- transformStyle?: string | undefined;
385
- transition?: string | undefined;
386
- transitionDelay?: string | undefined;
387
- transitionDuration?: string | undefined;
388
- transitionProperty?: string | undefined;
389
- transitionTimingFunction?: string | undefined;
390
- translate?: string | undefined;
391
- unicodeBidi?: string | undefined;
392
- userSelect?: string | undefined;
393
- verticalAlign?: string | undefined;
394
- visibility?: string | undefined;
395
- webkitAlignContent?: string | undefined;
396
- webkitAlignItems?: string | undefined;
397
- webkitAlignSelf?: string | undefined;
398
- webkitAnimation?: string | undefined;
399
- webkitAnimationDelay?: string | undefined;
400
- webkitAnimationDirection?: string | undefined;
401
- webkitAnimationDuration?: string | undefined;
402
- webkitAnimationFillMode?: string | undefined;
403
- webkitAnimationIterationCount?: string | undefined;
404
- webkitAnimationName?: string | undefined;
405
- webkitAnimationPlayState?: string | undefined;
406
- webkitAnimationTimingFunction?: string | undefined;
407
- webkitAppearance?: string | undefined;
408
- webkitBackfaceVisibility?: string | undefined;
409
- webkitBackgroundClip?: string | undefined;
410
- webkitBackgroundOrigin?: string | undefined;
411
- webkitBackgroundSize?: string | undefined;
412
- webkitBorderBottomLeftRadius?: string | undefined;
413
- webkitBorderBottomRightRadius?: string | undefined;
414
- webkitBorderRadius?: string | undefined;
415
- webkitBorderTopLeftRadius?: string | undefined;
416
- webkitBorderTopRightRadius?: string | undefined;
417
- webkitBoxAlign?: string | undefined;
418
- webkitBoxFlex?: string | undefined;
419
- webkitBoxOrdinalGroup?: string | undefined;
420
- webkitBoxOrient?: string | undefined;
421
- webkitBoxPack?: string | undefined;
422
- webkitBoxShadow?: string | undefined;
423
- webkitBoxSizing?: string | undefined;
424
- webkitFilter?: string | undefined;
425
- webkitFlex?: string | undefined;
426
- webkitFlexBasis?: string | undefined;
427
- webkitFlexDirection?: string | undefined;
428
- webkitFlexFlow?: string | undefined;
429
- webkitFlexGrow?: string | undefined;
430
- webkitFlexShrink?: string | undefined;
431
- webkitFlexWrap?: string | undefined;
432
- webkitJustifyContent?: string | undefined;
433
- webkitLineClamp?: string | undefined;
434
- webkitMask?: string | undefined;
435
- webkitMaskBoxImage?: string | undefined;
436
- webkitMaskBoxImageOutset?: string | undefined;
437
- webkitMaskBoxImageRepeat?: string | undefined;
438
- webkitMaskBoxImageSlice?: string | undefined;
439
- webkitMaskBoxImageSource?: string | undefined;
440
- webkitMaskBoxImageWidth?: string | undefined;
441
- webkitMaskClip?: string | undefined;
442
- webkitMaskComposite?: string | undefined;
443
- webkitMaskImage?: string | undefined;
444
- webkitMaskOrigin?: string | undefined;
445
- webkitMaskPosition?: string | undefined;
446
- webkitMaskRepeat?: string | undefined;
447
- webkitMaskSize?: string | undefined;
448
- webkitOrder?: string | undefined;
449
- webkitPerspective?: string | undefined;
450
- webkitPerspectiveOrigin?: string | undefined;
451
- webkitTextFillColor?: string | undefined;
452
- webkitTextSizeAdjust?: string | undefined;
453
- webkitTextStroke?: string | undefined;
454
- webkitTextStrokeColor?: string | undefined;
455
- webkitTextStrokeWidth?: string | undefined;
456
- webkitTransform?: string | undefined;
457
- webkitTransformOrigin?: string | undefined;
458
- webkitTransformStyle?: string | undefined;
459
- webkitTransition?: string | undefined;
460
- webkitTransitionDelay?: string | undefined;
461
- webkitTransitionDuration?: string | undefined;
462
- webkitTransitionProperty?: string | undefined;
463
- webkitTransitionTimingFunction?: string | undefined;
464
- webkitUserSelect?: string | undefined;
465
- whiteSpace?: string | undefined;
466
- widows?: string | undefined;
467
- width?: string | undefined;
468
- willChange?: string | undefined;
469
- wordBreak?: string | undefined;
470
- wordSpacing?: string | undefined;
471
- wordWrap?: string | undefined;
472
- writingMode?: string | undefined;
473
- zIndex?: string | undefined;
474
- getPropertyPriority?: ((property: string) => string) | undefined;
475
- getPropertyValue?: ((property: string) => string) | undefined;
476
- item?: ((index: number) => string) | undefined;
477
- removeProperty?: ((property: string) => string) | undefined;
478
- setProperty?: ((property: string, value: string | null, priority?: string | undefined) => void) | undefined;
479
- [Symbol.iterator]?: (() => IterableIterator<string>) | undefined;
480
- };
14
+ style: Partial<CSSStyleDeclaration>;
481
15
  'builder-id': string | undefined;
482
16
  class: string;
483
17
  };
@@ -1,5 +1,5 @@
1
- import { BuilderContextInterface } from "../../context/types.js";
2
- import { BuilderBlock } from "../../types/builder-block.js";
1
+ import type { BuilderBlock } from "../../types/builder-block.js";
2
+ import type { BuilderContextInterface } from "../../context/types.js";
3
3
  export interface RenderComponentProps {
4
4
  componentRef: any;
5
5
  componentOptions: any;
@@ -1,5 +1,5 @@
1
- import { BuilderContextInterface } from '../../context/types.js';
2
- import { BuilderBlock } from '../../types/builder-block.js';
1
+ import type { BuilderContextInterface } from '../../context/types.js';
2
+ import type { BuilderBlock } from '../../types/builder-block.js';
3
3
  export interface RepeatData {
4
4
  block: BuilderBlock;
5
5
  context: BuilderContextInterface;
@@ -1,8 +1,9 @@
1
- import { BuilderBlock } from "../types/builder-block.js";
1
+ import type { BuilderBlock } from "../types/builder-block.js";
2
2
  export declare type RenderBlockProps = {
3
3
  blocks?: BuilderBlock[];
4
4
  parent?: string;
5
5
  path?: string;
6
+ style?: Record<string, any>;
6
7
  };
7
8
  export declare const className: (props: any, state: any, builderContext: any) => string;
8
9
  export declare const onClick: (props: any, state: any, builderContext: any) => void;
@@ -1,5 +1,5 @@
1
- import { BuilderRenderContext, RegisteredComponent } from "../../context/types.js";
2
- import { BuilderContent } from "../../types/builder-content.js";
1
+ import type { BuilderRenderContext, RegisteredComponent } from "../../context/types.js";
2
+ import type { BuilderContent } from "../../types/builder-content.js";
3
3
  import type { Nullable } from "../../types/typescript.js";
4
4
  export declare type RenderContentProps = {
5
5
  content?: Nullable<BuilderContent>;
@@ -1,6 +1,6 @@
1
- import { BuilderContent } from '../types/builder-content.js';
2
- import { ComponentInfo } from '../types/components.js';
3
- import { Dictionary, Nullable } from '../types/typescript.js';
1
+ import type { BuilderContent } from '../types/builder-content.js';
2
+ import type { ComponentInfo } from '../types/components.js';
3
+ import type { Dictionary, Nullable } from '../types/typescript.js';
4
4
  export declare type RegisteredComponent = ComponentInfo & {
5
5
  component: any;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import type { BuilderContextInterface } from '../context/types.js';
2
- import { BuilderBlock } from '../types/builder-block.js';
2
+ import type { BuilderBlock } from '../types/builder-block.js';
3
3
  export declare function crateEventHandler(value: string, options: {
4
4
  block: BuilderBlock;
5
5
  } & Pick<BuilderContextInterface, 'state' | 'context'>): (event: Event) => any;
@@ -1,5 +1,5 @@
1
1
  import type { BuilderContextInterface } from '../context/types.js';
2
- import { BuilderBlock } from '../types/builder-block.js';
2
+ import type { BuilderBlock } from '../types/builder-block.js';
3
3
  declare type Actions = {
4
4
  [index: string]: (event: Event) => any;
5
5
  };
@@ -1,2 +1,2 @@
1
- import { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderBlock } from '../types/builder-block.js';
2
2
  export declare function getBlockComponentOptions(block: BuilderBlock): any;
@@ -1,4 +1,4 @@
1
- import { BuilderBlock } from '../types/builder-block.js';
1
+ import type { BuilderBlock } from '../types/builder-block.js';
2
2
  export declare function getBlockProperties(block: BuilderBlock): {
3
3
  'builder-id': string | undefined;
4
4
  class: string;