@builder.io/sdk-solid 0.7.5 → 0.7.6
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/lib/browser/dev.js +7 -9
- package/lib/browser/dev.jsx +7 -9
- package/lib/browser/index.js +7 -9
- package/lib/browser/index.jsx +7 -9
- package/lib/edge/dev.js +7 -9
- package/lib/edge/dev.jsx +7 -9
- package/lib/edge/index.js +7 -9
- package/lib/edge/index.jsx +7 -9
- package/lib/node/dev.js +7 -9
- package/lib/node/dev.jsx +7 -9
- package/lib/node/index.js +7 -9
- package/lib/node/index.jsx +7 -9
- package/package.json +1 -1
package/lib/browser/dev.js
CHANGED
|
@@ -956,16 +956,14 @@ function Block(props) {
|
|
|
956
956
|
return props.block.tagName || "div";
|
|
957
957
|
}
|
|
958
958
|
function canShowBlock() {
|
|
959
|
-
if (
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
if ("show" in processedBlock()) {
|
|
963
|
-
return processedBlock().show;
|
|
964
|
-
}
|
|
965
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
959
|
+
if (props.block.repeat?.collection) {
|
|
960
|
+
if (repeatItem()?.length)
|
|
961
|
+
return true;
|
|
966
962
|
return false;
|
|
967
963
|
}
|
|
968
|
-
|
|
964
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
965
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
966
|
+
return shouldShow && !shouldHide;
|
|
969
967
|
}
|
|
970
968
|
function childrenWithoutParentComponent() {
|
|
971
969
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3369,7 +3367,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3369
3367
|
};
|
|
3370
3368
|
|
|
3371
3369
|
// src/constants/sdk-version.ts
|
|
3372
|
-
var SDK_VERSION = "0.7.
|
|
3370
|
+
var SDK_VERSION = "0.7.6";
|
|
3373
3371
|
|
|
3374
3372
|
// src/functions/register.ts
|
|
3375
3373
|
var registry = {};
|
package/lib/browser/dev.jsx
CHANGED
|
@@ -896,16 +896,14 @@ function Block(props) {
|
|
|
896
896
|
return props.block.tagName || "div";
|
|
897
897
|
}
|
|
898
898
|
function canShowBlock() {
|
|
899
|
-
if (
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
if ("show" in processedBlock()) {
|
|
903
|
-
return processedBlock().show;
|
|
904
|
-
}
|
|
905
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
899
|
+
if (props.block.repeat?.collection) {
|
|
900
|
+
if (repeatItem()?.length)
|
|
901
|
+
return true;
|
|
906
902
|
return false;
|
|
907
903
|
}
|
|
908
|
-
|
|
904
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
905
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
906
|
+
return shouldShow && !shouldHide;
|
|
909
907
|
}
|
|
910
908
|
function childrenWithoutParentComponent() {
|
|
911
909
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3035,7 +3033,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3035
3033
|
};
|
|
3036
3034
|
|
|
3037
3035
|
// src/constants/sdk-version.ts
|
|
3038
|
-
var SDK_VERSION = "0.7.
|
|
3036
|
+
var SDK_VERSION = "0.7.6";
|
|
3039
3037
|
|
|
3040
3038
|
// src/functions/register.ts
|
|
3041
3039
|
var registry = {};
|
package/lib/browser/index.js
CHANGED
|
@@ -944,16 +944,14 @@ function Block(props) {
|
|
|
944
944
|
return props.block.tagName || "div";
|
|
945
945
|
}
|
|
946
946
|
function canShowBlock() {
|
|
947
|
-
if (
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
if ("show" in processedBlock()) {
|
|
951
|
-
return processedBlock().show;
|
|
952
|
-
}
|
|
953
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
947
|
+
if (props.block.repeat?.collection) {
|
|
948
|
+
if (repeatItem()?.length)
|
|
949
|
+
return true;
|
|
954
950
|
return false;
|
|
955
951
|
}
|
|
956
|
-
|
|
952
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
953
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
954
|
+
return shouldShow && !shouldHide;
|
|
957
955
|
}
|
|
958
956
|
function childrenWithoutParentComponent() {
|
|
959
957
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3348,7 +3346,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3348
3346
|
};
|
|
3349
3347
|
|
|
3350
3348
|
// src/constants/sdk-version.ts
|
|
3351
|
-
var SDK_VERSION = "0.7.
|
|
3349
|
+
var SDK_VERSION = "0.7.6";
|
|
3352
3350
|
|
|
3353
3351
|
// src/functions/register.ts
|
|
3354
3352
|
var registry = {};
|
package/lib/browser/index.jsx
CHANGED
|
@@ -889,16 +889,14 @@ function Block(props) {
|
|
|
889
889
|
return props.block.tagName || "div";
|
|
890
890
|
}
|
|
891
891
|
function canShowBlock() {
|
|
892
|
-
if (
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
if ("show" in processedBlock()) {
|
|
896
|
-
return processedBlock().show;
|
|
897
|
-
}
|
|
898
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
892
|
+
if (props.block.repeat?.collection) {
|
|
893
|
+
if (repeatItem()?.length)
|
|
894
|
+
return true;
|
|
899
895
|
return false;
|
|
900
896
|
}
|
|
901
|
-
|
|
897
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
898
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
899
|
+
return shouldShow && !shouldHide;
|
|
902
900
|
}
|
|
903
901
|
function childrenWithoutParentComponent() {
|
|
904
902
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3019,7 +3017,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3019
3017
|
};
|
|
3020
3018
|
|
|
3021
3019
|
// src/constants/sdk-version.ts
|
|
3022
|
-
var SDK_VERSION = "0.7.
|
|
3020
|
+
var SDK_VERSION = "0.7.6";
|
|
3023
3021
|
|
|
3024
3022
|
// src/functions/register.ts
|
|
3025
3023
|
var registry = {};
|
package/lib/edge/dev.js
CHANGED
|
@@ -4109,16 +4109,14 @@ function Block(props) {
|
|
|
4109
4109
|
return props.block.tagName || "div";
|
|
4110
4110
|
}
|
|
4111
4111
|
function canShowBlock() {
|
|
4112
|
-
if (
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
if ("show" in processedBlock()) {
|
|
4116
|
-
return processedBlock().show;
|
|
4117
|
-
}
|
|
4118
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
4112
|
+
if (props.block.repeat?.collection) {
|
|
4113
|
+
if (repeatItem()?.length)
|
|
4114
|
+
return true;
|
|
4119
4115
|
return false;
|
|
4120
4116
|
}
|
|
4121
|
-
|
|
4117
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
4118
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
4119
|
+
return shouldShow && !shouldHide;
|
|
4122
4120
|
}
|
|
4123
4121
|
function childrenWithoutParentComponent() {
|
|
4124
4122
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -6522,7 +6520,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
6522
6520
|
};
|
|
6523
6521
|
|
|
6524
6522
|
// src/constants/sdk-version.ts
|
|
6525
|
-
var SDK_VERSION = "0.7.
|
|
6523
|
+
var SDK_VERSION = "0.7.6";
|
|
6526
6524
|
|
|
6527
6525
|
// src/functions/register.ts
|
|
6528
6526
|
var registry = {};
|
package/lib/edge/dev.jsx
CHANGED
|
@@ -4051,16 +4051,14 @@ function Block(props) {
|
|
|
4051
4051
|
return props.block.tagName || "div";
|
|
4052
4052
|
}
|
|
4053
4053
|
function canShowBlock() {
|
|
4054
|
-
if (
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
if ("show" in processedBlock()) {
|
|
4058
|
-
return processedBlock().show;
|
|
4059
|
-
}
|
|
4060
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
4054
|
+
if (props.block.repeat?.collection) {
|
|
4055
|
+
if (repeatItem()?.length)
|
|
4056
|
+
return true;
|
|
4061
4057
|
return false;
|
|
4062
4058
|
}
|
|
4063
|
-
|
|
4059
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
4060
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
4061
|
+
return shouldShow && !shouldHide;
|
|
4064
4062
|
}
|
|
4065
4063
|
function childrenWithoutParentComponent() {
|
|
4066
4064
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -6190,7 +6188,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
6190
6188
|
};
|
|
6191
6189
|
|
|
6192
6190
|
// src/constants/sdk-version.ts
|
|
6193
|
-
var SDK_VERSION = "0.7.
|
|
6191
|
+
var SDK_VERSION = "0.7.6";
|
|
6194
6192
|
|
|
6195
6193
|
// src/functions/register.ts
|
|
6196
6194
|
var registry = {};
|
package/lib/edge/index.js
CHANGED
|
@@ -4097,16 +4097,14 @@ function Block(props) {
|
|
|
4097
4097
|
return props.block.tagName || "div";
|
|
4098
4098
|
}
|
|
4099
4099
|
function canShowBlock() {
|
|
4100
|
-
if (
|
|
4101
|
-
|
|
4102
|
-
|
|
4103
|
-
if ("show" in processedBlock()) {
|
|
4104
|
-
return processedBlock().show;
|
|
4105
|
-
}
|
|
4106
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
4100
|
+
if (props.block.repeat?.collection) {
|
|
4101
|
+
if (repeatItem()?.length)
|
|
4102
|
+
return true;
|
|
4107
4103
|
return false;
|
|
4108
4104
|
}
|
|
4109
|
-
|
|
4105
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
4106
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
4107
|
+
return shouldShow && !shouldHide;
|
|
4110
4108
|
}
|
|
4111
4109
|
function childrenWithoutParentComponent() {
|
|
4112
4110
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -6501,7 +6499,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
6501
6499
|
};
|
|
6502
6500
|
|
|
6503
6501
|
// src/constants/sdk-version.ts
|
|
6504
|
-
var SDK_VERSION = "0.7.
|
|
6502
|
+
var SDK_VERSION = "0.7.6";
|
|
6505
6503
|
|
|
6506
6504
|
// src/functions/register.ts
|
|
6507
6505
|
var registry = {};
|
package/lib/edge/index.jsx
CHANGED
|
@@ -4044,16 +4044,14 @@ function Block(props) {
|
|
|
4044
4044
|
return props.block.tagName || "div";
|
|
4045
4045
|
}
|
|
4046
4046
|
function canShowBlock() {
|
|
4047
|
-
if (
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
if ("show" in processedBlock()) {
|
|
4051
|
-
return processedBlock().show;
|
|
4052
|
-
}
|
|
4053
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
4047
|
+
if (props.block.repeat?.collection) {
|
|
4048
|
+
if (repeatItem()?.length)
|
|
4049
|
+
return true;
|
|
4054
4050
|
return false;
|
|
4055
4051
|
}
|
|
4056
|
-
|
|
4052
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
4053
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
4054
|
+
return shouldShow && !shouldHide;
|
|
4057
4055
|
}
|
|
4058
4056
|
function childrenWithoutParentComponent() {
|
|
4059
4057
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -6174,7 +6172,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
6174
6172
|
};
|
|
6175
6173
|
|
|
6176
6174
|
// src/constants/sdk-version.ts
|
|
6177
|
-
var SDK_VERSION = "0.7.
|
|
6175
|
+
var SDK_VERSION = "0.7.6";
|
|
6178
6176
|
|
|
6179
6177
|
// src/functions/register.ts
|
|
6180
6178
|
var registry = {};
|
package/lib/node/dev.js
CHANGED
|
@@ -1075,16 +1075,14 @@ function Block(props) {
|
|
|
1075
1075
|
return props.block.tagName || "div";
|
|
1076
1076
|
}
|
|
1077
1077
|
function canShowBlock() {
|
|
1078
|
-
if (
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
if ("show" in processedBlock()) {
|
|
1082
|
-
return processedBlock().show;
|
|
1083
|
-
}
|
|
1084
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
1078
|
+
if (props.block.repeat?.collection) {
|
|
1079
|
+
if (repeatItem()?.length)
|
|
1080
|
+
return true;
|
|
1085
1081
|
return false;
|
|
1086
1082
|
}
|
|
1087
|
-
|
|
1083
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
1084
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
1085
|
+
return shouldShow && !shouldHide;
|
|
1088
1086
|
}
|
|
1089
1087
|
function childrenWithoutParentComponent() {
|
|
1090
1088
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3488,7 +3486,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3488
3486
|
};
|
|
3489
3487
|
|
|
3490
3488
|
// src/constants/sdk-version.ts
|
|
3491
|
-
var SDK_VERSION = "0.7.
|
|
3489
|
+
var SDK_VERSION = "0.7.6";
|
|
3492
3490
|
|
|
3493
3491
|
// src/functions/register.ts
|
|
3494
3492
|
var registry = {};
|
package/lib/node/dev.jsx
CHANGED
|
@@ -1017,16 +1017,14 @@ function Block(props) {
|
|
|
1017
1017
|
return props.block.tagName || "div";
|
|
1018
1018
|
}
|
|
1019
1019
|
function canShowBlock() {
|
|
1020
|
-
if (
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
if ("show" in processedBlock()) {
|
|
1024
|
-
return processedBlock().show;
|
|
1025
|
-
}
|
|
1026
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
1020
|
+
if (props.block.repeat?.collection) {
|
|
1021
|
+
if (repeatItem()?.length)
|
|
1022
|
+
return true;
|
|
1027
1023
|
return false;
|
|
1028
1024
|
}
|
|
1029
|
-
|
|
1025
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
1026
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
1027
|
+
return shouldShow && !shouldHide;
|
|
1030
1028
|
}
|
|
1031
1029
|
function childrenWithoutParentComponent() {
|
|
1032
1030
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3156,7 +3154,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3156
3154
|
};
|
|
3157
3155
|
|
|
3158
3156
|
// src/constants/sdk-version.ts
|
|
3159
|
-
var SDK_VERSION = "0.7.
|
|
3157
|
+
var SDK_VERSION = "0.7.6";
|
|
3160
3158
|
|
|
3161
3159
|
// src/functions/register.ts
|
|
3162
3160
|
var registry = {};
|
package/lib/node/index.js
CHANGED
|
@@ -1062,16 +1062,14 @@ function Block(props) {
|
|
|
1062
1062
|
return props.block.tagName || "div";
|
|
1063
1063
|
}
|
|
1064
1064
|
function canShowBlock() {
|
|
1065
|
-
if (
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
if ("show" in processedBlock()) {
|
|
1069
|
-
return processedBlock().show;
|
|
1070
|
-
}
|
|
1071
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
1065
|
+
if (props.block.repeat?.collection) {
|
|
1066
|
+
if (repeatItem()?.length)
|
|
1067
|
+
return true;
|
|
1072
1068
|
return false;
|
|
1073
1069
|
}
|
|
1074
|
-
|
|
1070
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
1071
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
1072
|
+
return shouldShow && !shouldHide;
|
|
1075
1073
|
}
|
|
1076
1074
|
function childrenWithoutParentComponent() {
|
|
1077
1075
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3466,7 +3464,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3466
3464
|
};
|
|
3467
3465
|
|
|
3468
3466
|
// src/constants/sdk-version.ts
|
|
3469
|
-
var SDK_VERSION = "0.7.
|
|
3467
|
+
var SDK_VERSION = "0.7.6";
|
|
3470
3468
|
|
|
3471
3469
|
// src/functions/register.ts
|
|
3472
3470
|
var registry = {};
|
package/lib/node/index.jsx
CHANGED
|
@@ -1009,16 +1009,14 @@ function Block(props) {
|
|
|
1009
1009
|
return props.block.tagName || "div";
|
|
1010
1010
|
}
|
|
1011
1011
|
function canShowBlock() {
|
|
1012
|
-
if (
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
if ("show" in processedBlock()) {
|
|
1016
|
-
return processedBlock().show;
|
|
1017
|
-
}
|
|
1018
|
-
if (props.block.repeat?.collection && !repeatItem()?.length) {
|
|
1012
|
+
if (props.block.repeat?.collection) {
|
|
1013
|
+
if (repeatItem()?.length)
|
|
1014
|
+
return true;
|
|
1019
1015
|
return false;
|
|
1020
1016
|
}
|
|
1021
|
-
|
|
1017
|
+
const shouldHide = "hide" in processedBlock() ? processedBlock().hide : false;
|
|
1018
|
+
const shouldShow = "show" in processedBlock() ? processedBlock().show : true;
|
|
1019
|
+
return shouldShow && !shouldHide;
|
|
1022
1020
|
}
|
|
1023
1021
|
function childrenWithoutParentComponent() {
|
|
1024
1022
|
const shouldRenderChildrenOutsideRef = !blockComponent()?.component && !repeatItem();
|
|
@@ -3139,7 +3137,7 @@ var getInteractionPropertiesForEvent = (event) => {
|
|
|
3139
3137
|
};
|
|
3140
3138
|
|
|
3141
3139
|
// src/constants/sdk-version.ts
|
|
3142
|
-
var SDK_VERSION = "0.7.
|
|
3140
|
+
var SDK_VERSION = "0.7.6";
|
|
3143
3141
|
|
|
3144
3142
|
// src/functions/register.ts
|
|
3145
3143
|
var registry = {};
|