@builder.io/sdk-solid 0.11.2 → 0.11.3
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 +46 -59
- package/lib/browser/dev.js +17 -65
- package/lib/browser/dev.jsx +66 -91
- package/lib/browser/index.js +17 -65
- package/lib/browser/index.jsx +66 -91
- package/lib/edge/dev.js +17 -65
- package/lib/edge/dev.jsx +66 -91
- package/lib/edge/index.js +17 -65
- package/lib/edge/index.jsx +66 -91
- package/lib/node/dev.js +17 -65
- package/lib/node/dev.jsx +66 -91
- package/lib/node/index.js +17 -65
- package/lib/node/index.jsx +66 -91
- package/package.json +1 -1
package/lib/edge/dev.jsx
CHANGED
|
@@ -3911,25 +3911,15 @@ function ComponentRef(props) {
|
|
|
3911
3911
|
contextValue: props.context
|
|
3912
3912
|
})}
|
|
3913
3913
|
component={Wrapper()}
|
|
3914
|
-
>
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
}}</For>
|
|
3924
|
-
<For each={props.blockChildren}>{(child, _index) => {
|
|
3925
|
-
const index = _index();
|
|
3926
|
-
return <Block_styles_default
|
|
3927
|
-
key={"block-style-" + child.id}
|
|
3928
|
-
block={child}
|
|
3929
|
-
context={props.context}
|
|
3930
|
-
/>;
|
|
3931
|
-
}}</For>
|
|
3932
|
-
</Dynamic3></Show4>;
|
|
3914
|
+
><For each={props.blockChildren}>{(child, _index) => {
|
|
3915
|
+
const index = _index();
|
|
3916
|
+
return <Block_default
|
|
3917
|
+
key={child.id}
|
|
3918
|
+
block={child}
|
|
3919
|
+
context={props.context}
|
|
3920
|
+
registeredComponents={props.registeredComponents}
|
|
3921
|
+
/>;
|
|
3922
|
+
}}</For></Dynamic3></Show4>;
|
|
3933
3923
|
}
|
|
3934
3924
|
var Component_ref_default = ComponentRef;
|
|
3935
3925
|
|
|
@@ -4006,41 +3996,10 @@ function Block(props) {
|
|
|
4006
3996
|
isInteractive: !blockComponent()?.isRSC
|
|
4007
3997
|
};
|
|
4008
3998
|
}
|
|
4009
|
-
return <Show5 when={canShowBlock()}
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
blockChildren={componentRefProps().blockChildren}
|
|
4014
|
-
context={componentRefProps().context}
|
|
4015
|
-
registeredComponents={componentRefProps().registeredComponents}
|
|
4016
|
-
builderBlock={componentRefProps().builderBlock}
|
|
4017
|
-
includeBlockProps={componentRefProps().includeBlockProps}
|
|
4018
|
-
isInteractive={componentRefProps().isInteractive}
|
|
4019
|
-
/>}
|
|
4020
|
-
when={!blockComponent()?.noWrap}
|
|
4021
|
-
>
|
|
4022
|
-
<Show5 when={isEmptyHtmlElement(Tag())}><Block_wrapper_default
|
|
4023
|
-
Wrapper={Tag()}
|
|
4024
|
-
block={processedBlock()}
|
|
4025
|
-
context={props.context}
|
|
4026
|
-
hasChildren={false}
|
|
4027
|
-
/></Show5>
|
|
4028
|
-
<Show5 when={!isEmptyHtmlElement(Tag()) && repeatItem()}><For2 each={repeatItem()}>{(data, _index) => {
|
|
4029
|
-
const index = _index();
|
|
4030
|
-
return <Repeated_block_default
|
|
4031
|
-
key={index}
|
|
4032
|
-
repeatContext={data.context}
|
|
4033
|
-
block={data.block}
|
|
4034
|
-
registeredComponents={props.registeredComponents}
|
|
4035
|
-
/>;
|
|
4036
|
-
}}</For2></Show5>
|
|
4037
|
-
<Show5 when={!isEmptyHtmlElement(Tag()) && !repeatItem()}><Block_wrapper_default
|
|
4038
|
-
Wrapper={Tag()}
|
|
4039
|
-
block={processedBlock()}
|
|
4040
|
-
context={props.context}
|
|
4041
|
-
hasChildren={true}
|
|
4042
|
-
>
|
|
4043
|
-
<Component_ref_default
|
|
3999
|
+
return <Show5 when={canShowBlock()}>
|
|
4000
|
+
<Block_styles_default block={props.block} context={props.context} />
|
|
4001
|
+
<Show5
|
|
4002
|
+
fallback={<Component_ref_default
|
|
4044
4003
|
componentRef={componentRefProps().componentRef}
|
|
4045
4004
|
componentOptions={componentRefProps().componentOptions}
|
|
4046
4005
|
blockChildren={componentRefProps().blockChildren}
|
|
@@ -4049,26 +4008,52 @@ function Block(props) {
|
|
|
4049
4008
|
builderBlock={componentRefProps().builderBlock}
|
|
4050
4009
|
includeBlockProps={componentRefProps().includeBlockProps}
|
|
4051
4010
|
isInteractive={componentRefProps().isInteractive}
|
|
4052
|
-
/>
|
|
4053
|
-
|
|
4011
|
+
/>}
|
|
4012
|
+
when={!blockComponent()?.noWrap}
|
|
4013
|
+
>
|
|
4014
|
+
<Show5 when={isEmptyHtmlElement(Tag())}><Block_wrapper_default
|
|
4015
|
+
Wrapper={Tag()}
|
|
4016
|
+
block={processedBlock()}
|
|
4017
|
+
context={props.context}
|
|
4018
|
+
hasChildren={false}
|
|
4019
|
+
/></Show5>
|
|
4020
|
+
<Show5 when={!isEmptyHtmlElement(Tag()) && repeatItem()}><For2 each={repeatItem()}>{(data, _index) => {
|
|
4054
4021
|
const index = _index();
|
|
4055
|
-
return <
|
|
4056
|
-
key={
|
|
4057
|
-
|
|
4058
|
-
|
|
4022
|
+
return <Repeated_block_default
|
|
4023
|
+
key={index}
|
|
4024
|
+
repeatContext={data.context}
|
|
4025
|
+
block={data.block}
|
|
4059
4026
|
registeredComponents={props.registeredComponents}
|
|
4060
4027
|
/>;
|
|
4061
|
-
}}</For2>
|
|
4062
|
-
<
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4028
|
+
}}</For2></Show5>
|
|
4029
|
+
<Show5 when={!isEmptyHtmlElement(Tag()) && !repeatItem()}><Block_wrapper_default
|
|
4030
|
+
Wrapper={Tag()}
|
|
4031
|
+
block={processedBlock()}
|
|
4032
|
+
context={props.context}
|
|
4033
|
+
hasChildren={true}
|
|
4034
|
+
>
|
|
4035
|
+
<Component_ref_default
|
|
4036
|
+
componentRef={componentRefProps().componentRef}
|
|
4037
|
+
componentOptions={componentRefProps().componentOptions}
|
|
4038
|
+
blockChildren={componentRefProps().blockChildren}
|
|
4039
|
+
context={componentRefProps().context}
|
|
4040
|
+
registeredComponents={componentRefProps().registeredComponents}
|
|
4041
|
+
builderBlock={componentRefProps().builderBlock}
|
|
4042
|
+
includeBlockProps={componentRefProps().includeBlockProps}
|
|
4043
|
+
isInteractive={componentRefProps().isInteractive}
|
|
4044
|
+
/>
|
|
4045
|
+
<For2 each={childrenWithoutParentComponent()}>{(child, _index) => {
|
|
4046
|
+
const index = _index();
|
|
4047
|
+
return <Block
|
|
4048
|
+
key={child.id}
|
|
4049
|
+
block={child}
|
|
4050
|
+
context={childrenContext()}
|
|
4051
|
+
registeredComponents={props.registeredComponents}
|
|
4052
|
+
/>;
|
|
4053
|
+
}}</For2>
|
|
4054
|
+
</Block_wrapper_default></Show5>
|
|
4055
|
+
</Show5>
|
|
4056
|
+
</Show5>;
|
|
4072
4057
|
}
|
|
4073
4058
|
var Block_default = Block;
|
|
4074
4059
|
|
|
@@ -4137,25 +4122,15 @@ function Blocks(props) {
|
|
|
4137
4122
|
styleProp={props.styleProp}
|
|
4138
4123
|
BlocksWrapper={props.context?.BlocksWrapper}
|
|
4139
4124
|
BlocksWrapperProps={props.context?.BlocksWrapperProps}
|
|
4140
|
-
>
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4149
|
-
}}</For3></Show6>
|
|
4150
|
-
<Show6 when={props.blocks}><For3 each={props.blocks}>{(block, _index) => {
|
|
4151
|
-
const index = _index();
|
|
4152
|
-
return <Block_styles_default
|
|
4153
|
-
key={"block-style-" + block.id}
|
|
4154
|
-
block={block}
|
|
4155
|
-
context={props.context || builderContext}
|
|
4156
|
-
/>;
|
|
4157
|
-
}}</For3></Show6>
|
|
4158
|
-
</Blocks_wrapper_default>;
|
|
4125
|
+
><Show6 when={props.blocks}><For3 each={props.blocks}>{(block, _index) => {
|
|
4126
|
+
const index = _index();
|
|
4127
|
+
return <Block_default
|
|
4128
|
+
key={block.id}
|
|
4129
|
+
block={block}
|
|
4130
|
+
context={props.context || builderContext}
|
|
4131
|
+
registeredComponents={props.registeredComponents || componentsContext.registeredComponents}
|
|
4132
|
+
/>;
|
|
4133
|
+
}}</For3></Show6></Blocks_wrapper_default>;
|
|
4159
4134
|
}
|
|
4160
4135
|
var Blocks_default = Blocks;
|
|
4161
4136
|
|
|
@@ -6118,7 +6093,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
6118
6093
|
};
|
|
6119
6094
|
|
|
6120
6095
|
// src/constants/sdk-version.ts
|
|
6121
|
-
var SDK_VERSION = "0.11.
|
|
6096
|
+
var SDK_VERSION = "0.11.3";
|
|
6122
6097
|
|
|
6123
6098
|
// src/functions/register.ts
|
|
6124
6099
|
var registry = {};
|
package/lib/edge/index.js
CHANGED
|
@@ -3933,7 +3933,7 @@ function ComponentRef(props) {
|
|
|
3933
3933
|
return Wrapper();
|
|
3934
3934
|
},
|
|
3935
3935
|
get children() {
|
|
3936
|
-
return
|
|
3936
|
+
return createComponent(For, {
|
|
3937
3937
|
get each() {
|
|
3938
3938
|
return props.blockChildren;
|
|
3939
3939
|
},
|
|
@@ -3941,7 +3941,7 @@ function ComponentRef(props) {
|
|
|
3941
3941
|
_index();
|
|
3942
3942
|
return createComponent(block_default, {
|
|
3943
3943
|
get key() {
|
|
3944
|
-
return
|
|
3944
|
+
return child.id;
|
|
3945
3945
|
},
|
|
3946
3946
|
block: child,
|
|
3947
3947
|
get context() {
|
|
@@ -3952,23 +3952,7 @@ function ComponentRef(props) {
|
|
|
3952
3952
|
}
|
|
3953
3953
|
});
|
|
3954
3954
|
}
|
|
3955
|
-
})
|
|
3956
|
-
get each() {
|
|
3957
|
-
return props.blockChildren;
|
|
3958
|
-
},
|
|
3959
|
-
children: (child, _index) => {
|
|
3960
|
-
_index();
|
|
3961
|
-
return createComponent(block_styles_default, {
|
|
3962
|
-
get key() {
|
|
3963
|
-
return "block-style-" + child.id;
|
|
3964
|
-
},
|
|
3965
|
-
block: child,
|
|
3966
|
-
get context() {
|
|
3967
|
-
return props.context;
|
|
3968
|
-
}
|
|
3969
|
-
});
|
|
3970
|
-
}
|
|
3971
|
-
})];
|
|
3955
|
+
});
|
|
3972
3956
|
}
|
|
3973
3957
|
}));
|
|
3974
3958
|
}
|
|
@@ -4064,7 +4048,14 @@ function Block(props) {
|
|
|
4064
4048
|
return canShowBlock();
|
|
4065
4049
|
},
|
|
4066
4050
|
get children() {
|
|
4067
|
-
return createComponent(
|
|
4051
|
+
return [createComponent(block_styles_default, {
|
|
4052
|
+
get block() {
|
|
4053
|
+
return props.block;
|
|
4054
|
+
},
|
|
4055
|
+
get context() {
|
|
4056
|
+
return props.context;
|
|
4057
|
+
}
|
|
4058
|
+
}), createComponent(Show, {
|
|
4068
4059
|
get fallback() {
|
|
4069
4060
|
return createComponent(component_ref_default, {
|
|
4070
4061
|
get componentRef() {
|
|
@@ -4191,7 +4182,7 @@ function Block(props) {
|
|
|
4191
4182
|
_index();
|
|
4192
4183
|
return createComponent(Block, {
|
|
4193
4184
|
get key() {
|
|
4194
|
-
return
|
|
4185
|
+
return child.id;
|
|
4195
4186
|
},
|
|
4196
4187
|
block: child,
|
|
4197
4188
|
get context() {
|
|
@@ -4202,29 +4193,13 @@ function Block(props) {
|
|
|
4202
4193
|
}
|
|
4203
4194
|
});
|
|
4204
4195
|
}
|
|
4205
|
-
}), createComponent(For, {
|
|
4206
|
-
get each() {
|
|
4207
|
-
return childrenWithoutParentComponent();
|
|
4208
|
-
},
|
|
4209
|
-
children: (child, _index) => {
|
|
4210
|
-
_index();
|
|
4211
|
-
return createComponent(block_styles_default, {
|
|
4212
|
-
get key() {
|
|
4213
|
-
return "block-style-" + child.id;
|
|
4214
|
-
},
|
|
4215
|
-
block: child,
|
|
4216
|
-
get context() {
|
|
4217
|
-
return childrenContext();
|
|
4218
|
-
}
|
|
4219
|
-
});
|
|
4220
|
-
}
|
|
4221
4196
|
})];
|
|
4222
4197
|
}
|
|
4223
4198
|
});
|
|
4224
4199
|
}
|
|
4225
4200
|
})];
|
|
4226
4201
|
}
|
|
4227
|
-
});
|
|
4202
|
+
})];
|
|
4228
4203
|
}
|
|
4229
4204
|
});
|
|
4230
4205
|
}
|
|
@@ -4311,7 +4286,7 @@ function Blocks(props) {
|
|
|
4311
4286
|
return props.context?.BlocksWrapperProps;
|
|
4312
4287
|
},
|
|
4313
4288
|
get children() {
|
|
4314
|
-
return
|
|
4289
|
+
return createComponent(Show, {
|
|
4315
4290
|
get when() {
|
|
4316
4291
|
return props.blocks;
|
|
4317
4292
|
},
|
|
@@ -4324,7 +4299,7 @@ function Blocks(props) {
|
|
|
4324
4299
|
_index();
|
|
4325
4300
|
return createComponent(block_default, {
|
|
4326
4301
|
get key() {
|
|
4327
|
-
return
|
|
4302
|
+
return block.id;
|
|
4328
4303
|
},
|
|
4329
4304
|
block,
|
|
4330
4305
|
get context() {
|
|
@@ -4337,30 +4312,7 @@ function Blocks(props) {
|
|
|
4337
4312
|
}
|
|
4338
4313
|
});
|
|
4339
4314
|
}
|
|
4340
|
-
})
|
|
4341
|
-
get when() {
|
|
4342
|
-
return props.blocks;
|
|
4343
|
-
},
|
|
4344
|
-
get children() {
|
|
4345
|
-
return createComponent(For, {
|
|
4346
|
-
get each() {
|
|
4347
|
-
return props.blocks;
|
|
4348
|
-
},
|
|
4349
|
-
children: (block, _index) => {
|
|
4350
|
-
_index();
|
|
4351
|
-
return createComponent(block_styles_default, {
|
|
4352
|
-
get key() {
|
|
4353
|
-
return "block-style-" + block.id;
|
|
4354
|
-
},
|
|
4355
|
-
block,
|
|
4356
|
-
get context() {
|
|
4357
|
-
return props.context || builderContext;
|
|
4358
|
-
}
|
|
4359
|
-
});
|
|
4360
|
-
}
|
|
4361
|
-
});
|
|
4362
|
-
}
|
|
4363
|
-
})];
|
|
4315
|
+
});
|
|
4364
4316
|
}
|
|
4365
4317
|
});
|
|
4366
4318
|
}
|
|
@@ -6437,7 +6389,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
6437
6389
|
};
|
|
6438
6390
|
|
|
6439
6391
|
// src/constants/sdk-version.ts
|
|
6440
|
-
var SDK_VERSION = "0.11.
|
|
6392
|
+
var SDK_VERSION = "0.11.3";
|
|
6441
6393
|
|
|
6442
6394
|
// src/functions/register.ts
|
|
6443
6395
|
var registry = {};
|
package/lib/edge/index.jsx
CHANGED
|
@@ -3906,25 +3906,15 @@ function ComponentRef(props) {
|
|
|
3906
3906
|
contextValue: props.context
|
|
3907
3907
|
})}
|
|
3908
3908
|
component={Wrapper()}
|
|
3909
|
-
>
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
}}</For>
|
|
3919
|
-
<For each={props.blockChildren}>{(child, _index) => {
|
|
3920
|
-
const index = _index();
|
|
3921
|
-
return <Block_styles_default
|
|
3922
|
-
key={"block-style-" + child.id}
|
|
3923
|
-
block={child}
|
|
3924
|
-
context={props.context}
|
|
3925
|
-
/>;
|
|
3926
|
-
}}</For>
|
|
3927
|
-
</Dynamic3></Show4>;
|
|
3909
|
+
><For each={props.blockChildren}>{(child, _index) => {
|
|
3910
|
+
const index = _index();
|
|
3911
|
+
return <Block_default
|
|
3912
|
+
key={child.id}
|
|
3913
|
+
block={child}
|
|
3914
|
+
context={props.context}
|
|
3915
|
+
registeredComponents={props.registeredComponents}
|
|
3916
|
+
/>;
|
|
3917
|
+
}}</For></Dynamic3></Show4>;
|
|
3928
3918
|
}
|
|
3929
3919
|
var Component_ref_default = ComponentRef;
|
|
3930
3920
|
|
|
@@ -4001,41 +3991,10 @@ function Block(props) {
|
|
|
4001
3991
|
isInteractive: !blockComponent()?.isRSC
|
|
4002
3992
|
};
|
|
4003
3993
|
}
|
|
4004
|
-
return <Show5 when={canShowBlock()}
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
blockChildren={componentRefProps().blockChildren}
|
|
4009
|
-
context={componentRefProps().context}
|
|
4010
|
-
registeredComponents={componentRefProps().registeredComponents}
|
|
4011
|
-
builderBlock={componentRefProps().builderBlock}
|
|
4012
|
-
includeBlockProps={componentRefProps().includeBlockProps}
|
|
4013
|
-
isInteractive={componentRefProps().isInteractive}
|
|
4014
|
-
/>}
|
|
4015
|
-
when={!blockComponent()?.noWrap}
|
|
4016
|
-
>
|
|
4017
|
-
<Show5 when={isEmptyHtmlElement(Tag())}><Block_wrapper_default
|
|
4018
|
-
Wrapper={Tag()}
|
|
4019
|
-
block={processedBlock()}
|
|
4020
|
-
context={props.context}
|
|
4021
|
-
hasChildren={false}
|
|
4022
|
-
/></Show5>
|
|
4023
|
-
<Show5 when={!isEmptyHtmlElement(Tag()) && repeatItem()}><For2 each={repeatItem()}>{(data, _index) => {
|
|
4024
|
-
const index = _index();
|
|
4025
|
-
return <Repeated_block_default
|
|
4026
|
-
key={index}
|
|
4027
|
-
repeatContext={data.context}
|
|
4028
|
-
block={data.block}
|
|
4029
|
-
registeredComponents={props.registeredComponents}
|
|
4030
|
-
/>;
|
|
4031
|
-
}}</For2></Show5>
|
|
4032
|
-
<Show5 when={!isEmptyHtmlElement(Tag()) && !repeatItem()}><Block_wrapper_default
|
|
4033
|
-
Wrapper={Tag()}
|
|
4034
|
-
block={processedBlock()}
|
|
4035
|
-
context={props.context}
|
|
4036
|
-
hasChildren={true}
|
|
4037
|
-
>
|
|
4038
|
-
<Component_ref_default
|
|
3994
|
+
return <Show5 when={canShowBlock()}>
|
|
3995
|
+
<Block_styles_default block={props.block} context={props.context} />
|
|
3996
|
+
<Show5
|
|
3997
|
+
fallback={<Component_ref_default
|
|
4039
3998
|
componentRef={componentRefProps().componentRef}
|
|
4040
3999
|
componentOptions={componentRefProps().componentOptions}
|
|
4041
4000
|
blockChildren={componentRefProps().blockChildren}
|
|
@@ -4044,26 +4003,52 @@ function Block(props) {
|
|
|
4044
4003
|
builderBlock={componentRefProps().builderBlock}
|
|
4045
4004
|
includeBlockProps={componentRefProps().includeBlockProps}
|
|
4046
4005
|
isInteractive={componentRefProps().isInteractive}
|
|
4047
|
-
/>
|
|
4048
|
-
|
|
4006
|
+
/>}
|
|
4007
|
+
when={!blockComponent()?.noWrap}
|
|
4008
|
+
>
|
|
4009
|
+
<Show5 when={isEmptyHtmlElement(Tag())}><Block_wrapper_default
|
|
4010
|
+
Wrapper={Tag()}
|
|
4011
|
+
block={processedBlock()}
|
|
4012
|
+
context={props.context}
|
|
4013
|
+
hasChildren={false}
|
|
4014
|
+
/></Show5>
|
|
4015
|
+
<Show5 when={!isEmptyHtmlElement(Tag()) && repeatItem()}><For2 each={repeatItem()}>{(data, _index) => {
|
|
4049
4016
|
const index = _index();
|
|
4050
|
-
return <
|
|
4051
|
-
key={
|
|
4052
|
-
|
|
4053
|
-
|
|
4017
|
+
return <Repeated_block_default
|
|
4018
|
+
key={index}
|
|
4019
|
+
repeatContext={data.context}
|
|
4020
|
+
block={data.block}
|
|
4054
4021
|
registeredComponents={props.registeredComponents}
|
|
4055
4022
|
/>;
|
|
4056
|
-
}}</For2>
|
|
4057
|
-
<
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4023
|
+
}}</For2></Show5>
|
|
4024
|
+
<Show5 when={!isEmptyHtmlElement(Tag()) && !repeatItem()}><Block_wrapper_default
|
|
4025
|
+
Wrapper={Tag()}
|
|
4026
|
+
block={processedBlock()}
|
|
4027
|
+
context={props.context}
|
|
4028
|
+
hasChildren={true}
|
|
4029
|
+
>
|
|
4030
|
+
<Component_ref_default
|
|
4031
|
+
componentRef={componentRefProps().componentRef}
|
|
4032
|
+
componentOptions={componentRefProps().componentOptions}
|
|
4033
|
+
blockChildren={componentRefProps().blockChildren}
|
|
4034
|
+
context={componentRefProps().context}
|
|
4035
|
+
registeredComponents={componentRefProps().registeredComponents}
|
|
4036
|
+
builderBlock={componentRefProps().builderBlock}
|
|
4037
|
+
includeBlockProps={componentRefProps().includeBlockProps}
|
|
4038
|
+
isInteractive={componentRefProps().isInteractive}
|
|
4039
|
+
/>
|
|
4040
|
+
<For2 each={childrenWithoutParentComponent()}>{(child, _index) => {
|
|
4041
|
+
const index = _index();
|
|
4042
|
+
return <Block
|
|
4043
|
+
key={child.id}
|
|
4044
|
+
block={child}
|
|
4045
|
+
context={childrenContext()}
|
|
4046
|
+
registeredComponents={props.registeredComponents}
|
|
4047
|
+
/>;
|
|
4048
|
+
}}</For2>
|
|
4049
|
+
</Block_wrapper_default></Show5>
|
|
4050
|
+
</Show5>
|
|
4051
|
+
</Show5>;
|
|
4067
4052
|
}
|
|
4068
4053
|
var Block_default = Block;
|
|
4069
4054
|
|
|
@@ -4132,25 +4117,15 @@ function Blocks(props) {
|
|
|
4132
4117
|
styleProp={props.styleProp}
|
|
4133
4118
|
BlocksWrapper={props.context?.BlocksWrapper}
|
|
4134
4119
|
BlocksWrapperProps={props.context?.BlocksWrapperProps}
|
|
4135
|
-
>
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
}}</For3></Show6>
|
|
4145
|
-
<Show6 when={props.blocks}><For3 each={props.blocks}>{(block, _index) => {
|
|
4146
|
-
const index = _index();
|
|
4147
|
-
return <Block_styles_default
|
|
4148
|
-
key={"block-style-" + block.id}
|
|
4149
|
-
block={block}
|
|
4150
|
-
context={props.context || builderContext}
|
|
4151
|
-
/>;
|
|
4152
|
-
}}</For3></Show6>
|
|
4153
|
-
</Blocks_wrapper_default>;
|
|
4120
|
+
><Show6 when={props.blocks}><For3 each={props.blocks}>{(block, _index) => {
|
|
4121
|
+
const index = _index();
|
|
4122
|
+
return <Block_default
|
|
4123
|
+
key={block.id}
|
|
4124
|
+
block={block}
|
|
4125
|
+
context={props.context || builderContext}
|
|
4126
|
+
registeredComponents={props.registeredComponents || componentsContext.registeredComponents}
|
|
4127
|
+
/>;
|
|
4128
|
+
}}</For3></Show6></Blocks_wrapper_default>;
|
|
4154
4129
|
}
|
|
4155
4130
|
var Blocks_default = Blocks;
|
|
4156
4131
|
|
|
@@ -6104,7 +6079,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
6104
6079
|
};
|
|
6105
6080
|
|
|
6106
6081
|
// src/constants/sdk-version.ts
|
|
6107
|
-
var SDK_VERSION = "0.11.
|
|
6082
|
+
var SDK_VERSION = "0.11.3";
|
|
6108
6083
|
|
|
6109
6084
|
// src/functions/register.ts
|
|
6110
6085
|
var registry = {};
|