@builder.io/sdk-qwik 0.14.4 → 0.14.5
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/index.qwik.cjs +19 -13
- package/lib/browser/index.qwik.mjs +19 -13
- package/lib/edge/index.qwik.cjs +19 -13
- package/lib/edge/index.qwik.mjs +19 -13
- package/lib/node/index.qwik.cjs +19 -13
- package/lib/node/index.qwik.mjs +19 -13
- package/package.json +1 -1
- package/types/src/constants/sdk-version.d.ts +1 -1
|
@@ -1408,11 +1408,11 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
1408
1408
|
},
|
|
1409
1409
|
get BlocksWrapper() {
|
|
1410
1410
|
var _a;
|
|
1411
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
|
|
1411
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapper) || builderContext$1.BlocksWrapper;
|
|
1412
1412
|
},
|
|
1413
1413
|
get BlocksWrapperProps() {
|
|
1414
1414
|
var _a;
|
|
1415
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
|
|
1415
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapperProps) || builderContext$1.BlocksWrapperProps;
|
|
1416
1416
|
},
|
|
1417
1417
|
children: props.blocks ? (props.blocks || []).map((block) => {
|
|
1418
1418
|
return /* @__PURE__ */ qwik._jsxC(Block, {
|
|
@@ -1442,18 +1442,20 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
1442
1442
|
}, 3, block.id);
|
|
1443
1443
|
}) : null,
|
|
1444
1444
|
[qwik._IMMUTABLE]: {
|
|
1445
|
-
BlocksWrapper: qwik._fnSignal((p0) => {
|
|
1445
|
+
BlocksWrapper: qwik._fnSignal((p0, p1) => {
|
|
1446
1446
|
var _a;
|
|
1447
|
-
return (_a =
|
|
1447
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapper) || p0.BlocksWrapper;
|
|
1448
1448
|
}, [
|
|
1449
|
+
builderContext$1,
|
|
1449
1450
|
props
|
|
1450
|
-
], "
|
|
1451
|
-
BlocksWrapperProps: qwik._fnSignal((p0) => {
|
|
1451
|
+
], "p1.context?.BlocksWrapper||p0.BlocksWrapper"),
|
|
1452
|
+
BlocksWrapperProps: qwik._fnSignal((p0, p1) => {
|
|
1452
1453
|
var _a;
|
|
1453
|
-
return (_a =
|
|
1454
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapperProps) || p0.BlocksWrapperProps;
|
|
1454
1455
|
}, [
|
|
1456
|
+
builderContext$1,
|
|
1455
1457
|
props
|
|
1456
|
-
], "
|
|
1458
|
+
], "p1.context?.BlocksWrapperProps||p0.BlocksWrapperProps"),
|
|
1457
1459
|
blocks: qwik._fnSignal((p0) => p0.blocks, [
|
|
1458
1460
|
props
|
|
1459
1461
|
], "p0.blocks"),
|
|
@@ -4358,7 +4360,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
4358
4360
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
4359
4361
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
4360
4362
|
}
|
|
4361
|
-
const SDK_VERSION = "0.14.
|
|
4363
|
+
const SDK_VERSION = "0.14.5";
|
|
4362
4364
|
const registry = {};
|
|
4363
4365
|
function register(type, info) {
|
|
4364
4366
|
let typeList = registry[type];
|
|
@@ -4739,8 +4741,10 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4739
4741
|
qwik.useOn("qvisible", /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
4740
4742
|
var _a2, _b2, _c2, _d2;
|
|
4741
4743
|
if (isBrowser()) {
|
|
4742
|
-
if (isEditing()
|
|
4743
|
-
|
|
4744
|
+
if (isEditing()) {
|
|
4745
|
+
if (element)
|
|
4746
|
+
element.dispatchEvent(new CustomEvent("initeditingbldr"));
|
|
4747
|
+
}
|
|
4744
4748
|
const shouldTrackImpression = ((_a2 = element.attributes.getNamedItem("shouldTrack")) == null ? void 0 : _a2.value) === "true";
|
|
4745
4749
|
if (shouldTrackImpression) {
|
|
4746
4750
|
const variationId = (_b2 = element.attributes.getNamedItem("variationId")) == null ? void 0 : _b2.value;
|
|
@@ -4754,8 +4758,10 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4754
4758
|
variationId: variationId !== contentId ? variationId : void 0
|
|
4755
4759
|
});
|
|
4756
4760
|
}
|
|
4757
|
-
if (isPreviewing()
|
|
4758
|
-
|
|
4761
|
+
if (isPreviewing()) {
|
|
4762
|
+
if (element)
|
|
4763
|
+
element.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
4764
|
+
}
|
|
4759
4765
|
}
|
|
4760
4766
|
}, "EnableEditor_component_useOn_2_FyR0YPSlJlw"));
|
|
4761
4767
|
qwik.useContextProvider(builderContext, props.builderContextSignal);
|
|
@@ -1406,11 +1406,11 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1406
1406
|
},
|
|
1407
1407
|
get BlocksWrapper() {
|
|
1408
1408
|
var _a;
|
|
1409
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
|
|
1409
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapper) || builderContext$1.BlocksWrapper;
|
|
1410
1410
|
},
|
|
1411
1411
|
get BlocksWrapperProps() {
|
|
1412
1412
|
var _a;
|
|
1413
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
|
|
1413
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapperProps) || builderContext$1.BlocksWrapperProps;
|
|
1414
1414
|
},
|
|
1415
1415
|
children: props.blocks ? (props.blocks || []).map((block) => {
|
|
1416
1416
|
return /* @__PURE__ */ _jsxC(Block, {
|
|
@@ -1440,18 +1440,20 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1440
1440
|
}, 3, block.id);
|
|
1441
1441
|
}) : null,
|
|
1442
1442
|
[_IMMUTABLE]: {
|
|
1443
|
-
BlocksWrapper: _fnSignal((p0) => {
|
|
1443
|
+
BlocksWrapper: _fnSignal((p0, p1) => {
|
|
1444
1444
|
var _a;
|
|
1445
|
-
return (_a =
|
|
1445
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapper) || p0.BlocksWrapper;
|
|
1446
1446
|
}, [
|
|
1447
|
+
builderContext$1,
|
|
1447
1448
|
props
|
|
1448
|
-
], "
|
|
1449
|
-
BlocksWrapperProps: _fnSignal((p0) => {
|
|
1449
|
+
], "p1.context?.BlocksWrapper||p0.BlocksWrapper"),
|
|
1450
|
+
BlocksWrapperProps: _fnSignal((p0, p1) => {
|
|
1450
1451
|
var _a;
|
|
1451
|
-
return (_a =
|
|
1452
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapperProps) || p0.BlocksWrapperProps;
|
|
1452
1453
|
}, [
|
|
1454
|
+
builderContext$1,
|
|
1453
1455
|
props
|
|
1454
|
-
], "
|
|
1456
|
+
], "p1.context?.BlocksWrapperProps||p0.BlocksWrapperProps"),
|
|
1455
1457
|
blocks: _fnSignal((p0) => p0.blocks, [
|
|
1456
1458
|
props
|
|
1457
1459
|
], "p0.blocks"),
|
|
@@ -4356,7 +4358,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
4356
4358
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
4357
4359
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
4358
4360
|
}
|
|
4359
|
-
const SDK_VERSION = "0.14.
|
|
4361
|
+
const SDK_VERSION = "0.14.5";
|
|
4360
4362
|
const registry = {};
|
|
4361
4363
|
function register(type, info) {
|
|
4362
4364
|
let typeList = registry[type];
|
|
@@ -4737,8 +4739,10 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
4737
4739
|
useOn("qvisible", /* @__PURE__ */ inlinedQrl((event, element) => {
|
|
4738
4740
|
var _a2, _b2, _c2, _d2;
|
|
4739
4741
|
if (isBrowser()) {
|
|
4740
|
-
if (isEditing()
|
|
4741
|
-
|
|
4742
|
+
if (isEditing()) {
|
|
4743
|
+
if (element)
|
|
4744
|
+
element.dispatchEvent(new CustomEvent("initeditingbldr"));
|
|
4745
|
+
}
|
|
4742
4746
|
const shouldTrackImpression = ((_a2 = element.attributes.getNamedItem("shouldTrack")) == null ? void 0 : _a2.value) === "true";
|
|
4743
4747
|
if (shouldTrackImpression) {
|
|
4744
4748
|
const variationId = (_b2 = element.attributes.getNamedItem("variationId")) == null ? void 0 : _b2.value;
|
|
@@ -4752,8 +4756,10 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
4752
4756
|
variationId: variationId !== contentId ? variationId : void 0
|
|
4753
4757
|
});
|
|
4754
4758
|
}
|
|
4755
|
-
if (isPreviewing()
|
|
4756
|
-
|
|
4759
|
+
if (isPreviewing()) {
|
|
4760
|
+
if (element)
|
|
4761
|
+
element.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
4762
|
+
}
|
|
4757
4763
|
}
|
|
4758
4764
|
}, "EnableEditor_component_useOn_2_FyR0YPSlJlw"));
|
|
4759
4765
|
useContextProvider(builderContext, props.builderContextSignal);
|
package/lib/edge/index.qwik.cjs
CHANGED
|
@@ -4639,11 +4639,11 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
4639
4639
|
},
|
|
4640
4640
|
get BlocksWrapper() {
|
|
4641
4641
|
var _a;
|
|
4642
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
|
|
4642
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapper) || builderContext$1.BlocksWrapper;
|
|
4643
4643
|
},
|
|
4644
4644
|
get BlocksWrapperProps() {
|
|
4645
4645
|
var _a;
|
|
4646
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
|
|
4646
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapperProps) || builderContext$1.BlocksWrapperProps;
|
|
4647
4647
|
},
|
|
4648
4648
|
children: props.blocks ? (props.blocks || []).map((block) => {
|
|
4649
4649
|
return /* @__PURE__ */ qwik._jsxC(Block, {
|
|
@@ -4673,18 +4673,20 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
4673
4673
|
}, 3, block.id);
|
|
4674
4674
|
}) : null,
|
|
4675
4675
|
[qwik._IMMUTABLE]: {
|
|
4676
|
-
BlocksWrapper: qwik._fnSignal((p0) => {
|
|
4676
|
+
BlocksWrapper: qwik._fnSignal((p0, p1) => {
|
|
4677
4677
|
var _a;
|
|
4678
|
-
return (_a =
|
|
4678
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapper) || p0.BlocksWrapper;
|
|
4679
4679
|
}, [
|
|
4680
|
+
builderContext$1,
|
|
4680
4681
|
props
|
|
4681
|
-
], "
|
|
4682
|
-
BlocksWrapperProps: qwik._fnSignal((p0) => {
|
|
4682
|
+
], "p1.context?.BlocksWrapper||p0.BlocksWrapper"),
|
|
4683
|
+
BlocksWrapperProps: qwik._fnSignal((p0, p1) => {
|
|
4683
4684
|
var _a;
|
|
4684
|
-
return (_a =
|
|
4685
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapperProps) || p0.BlocksWrapperProps;
|
|
4685
4686
|
}, [
|
|
4687
|
+
builderContext$1,
|
|
4686
4688
|
props
|
|
4687
|
-
], "
|
|
4689
|
+
], "p1.context?.BlocksWrapperProps||p0.BlocksWrapperProps"),
|
|
4688
4690
|
blocks: qwik._fnSignal((p0) => p0.blocks, [
|
|
4689
4691
|
props
|
|
4690
4692
|
], "p0.blocks"),
|
|
@@ -7589,7 +7591,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
7589
7591
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
7590
7592
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
7591
7593
|
}
|
|
7592
|
-
const SDK_VERSION = "0.14.
|
|
7594
|
+
const SDK_VERSION = "0.14.5";
|
|
7593
7595
|
const registry = {};
|
|
7594
7596
|
function register(type, info) {
|
|
7595
7597
|
let typeList = registry[type];
|
|
@@ -7970,8 +7972,10 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
7970
7972
|
qwik.useOn("qvisible", /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
7971
7973
|
var _a2, _b2, _c2, _d2;
|
|
7972
7974
|
if (isBrowser()) {
|
|
7973
|
-
if (isEditing()
|
|
7974
|
-
|
|
7975
|
+
if (isEditing()) {
|
|
7976
|
+
if (element)
|
|
7977
|
+
element.dispatchEvent(new CustomEvent("initeditingbldr"));
|
|
7978
|
+
}
|
|
7975
7979
|
const shouldTrackImpression = ((_a2 = element.attributes.getNamedItem("shouldTrack")) == null ? void 0 : _a2.value) === "true";
|
|
7976
7980
|
if (shouldTrackImpression) {
|
|
7977
7981
|
const variationId = (_b2 = element.attributes.getNamedItem("variationId")) == null ? void 0 : _b2.value;
|
|
@@ -7985,8 +7989,10 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
7985
7989
|
variationId: variationId !== contentId ? variationId : void 0
|
|
7986
7990
|
});
|
|
7987
7991
|
}
|
|
7988
|
-
if (isPreviewing()
|
|
7989
|
-
|
|
7992
|
+
if (isPreviewing()) {
|
|
7993
|
+
if (element)
|
|
7994
|
+
element.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
7995
|
+
}
|
|
7990
7996
|
}
|
|
7991
7997
|
}, "EnableEditor_component_useOn_2_FyR0YPSlJlw"));
|
|
7992
7998
|
qwik.useContextProvider(builderContext, props.builderContextSignal);
|
package/lib/edge/index.qwik.mjs
CHANGED
|
@@ -4637,11 +4637,11 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
4637
4637
|
},
|
|
4638
4638
|
get BlocksWrapper() {
|
|
4639
4639
|
var _a;
|
|
4640
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
|
|
4640
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapper) || builderContext$1.BlocksWrapper;
|
|
4641
4641
|
},
|
|
4642
4642
|
get BlocksWrapperProps() {
|
|
4643
4643
|
var _a;
|
|
4644
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
|
|
4644
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapperProps) || builderContext$1.BlocksWrapperProps;
|
|
4645
4645
|
},
|
|
4646
4646
|
children: props.blocks ? (props.blocks || []).map((block) => {
|
|
4647
4647
|
return /* @__PURE__ */ _jsxC(Block, {
|
|
@@ -4671,18 +4671,20 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
4671
4671
|
}, 3, block.id);
|
|
4672
4672
|
}) : null,
|
|
4673
4673
|
[_IMMUTABLE]: {
|
|
4674
|
-
BlocksWrapper: _fnSignal((p0) => {
|
|
4674
|
+
BlocksWrapper: _fnSignal((p0, p1) => {
|
|
4675
4675
|
var _a;
|
|
4676
|
-
return (_a =
|
|
4676
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapper) || p0.BlocksWrapper;
|
|
4677
4677
|
}, [
|
|
4678
|
+
builderContext$1,
|
|
4678
4679
|
props
|
|
4679
|
-
], "
|
|
4680
|
-
BlocksWrapperProps: _fnSignal((p0) => {
|
|
4680
|
+
], "p1.context?.BlocksWrapper||p0.BlocksWrapper"),
|
|
4681
|
+
BlocksWrapperProps: _fnSignal((p0, p1) => {
|
|
4681
4682
|
var _a;
|
|
4682
|
-
return (_a =
|
|
4683
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapperProps) || p0.BlocksWrapperProps;
|
|
4683
4684
|
}, [
|
|
4685
|
+
builderContext$1,
|
|
4684
4686
|
props
|
|
4685
|
-
], "
|
|
4687
|
+
], "p1.context?.BlocksWrapperProps||p0.BlocksWrapperProps"),
|
|
4686
4688
|
blocks: _fnSignal((p0) => p0.blocks, [
|
|
4687
4689
|
props
|
|
4688
4690
|
], "p0.blocks"),
|
|
@@ -7587,7 +7589,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
7587
7589
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
7588
7590
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
7589
7591
|
}
|
|
7590
|
-
const SDK_VERSION = "0.14.
|
|
7592
|
+
const SDK_VERSION = "0.14.5";
|
|
7591
7593
|
const registry = {};
|
|
7592
7594
|
function register(type, info) {
|
|
7593
7595
|
let typeList = registry[type];
|
|
@@ -7968,8 +7970,10 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
7968
7970
|
useOn("qvisible", /* @__PURE__ */ inlinedQrl((event, element) => {
|
|
7969
7971
|
var _a2, _b2, _c2, _d2;
|
|
7970
7972
|
if (isBrowser()) {
|
|
7971
|
-
if (isEditing()
|
|
7972
|
-
|
|
7973
|
+
if (isEditing()) {
|
|
7974
|
+
if (element)
|
|
7975
|
+
element.dispatchEvent(new CustomEvent("initeditingbldr"));
|
|
7976
|
+
}
|
|
7973
7977
|
const shouldTrackImpression = ((_a2 = element.attributes.getNamedItem("shouldTrack")) == null ? void 0 : _a2.value) === "true";
|
|
7974
7978
|
if (shouldTrackImpression) {
|
|
7975
7979
|
const variationId = (_b2 = element.attributes.getNamedItem("variationId")) == null ? void 0 : _b2.value;
|
|
@@ -7983,8 +7987,10 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
7983
7987
|
variationId: variationId !== contentId ? variationId : void 0
|
|
7984
7988
|
});
|
|
7985
7989
|
}
|
|
7986
|
-
if (isPreviewing()
|
|
7987
|
-
|
|
7990
|
+
if (isPreviewing()) {
|
|
7991
|
+
if (element)
|
|
7992
|
+
element.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
7993
|
+
}
|
|
7988
7994
|
}
|
|
7989
7995
|
}, "EnableEditor_component_useOn_2_FyR0YPSlJlw"));
|
|
7990
7996
|
useContextProvider(builderContext, props.builderContextSignal);
|
package/lib/node/index.qwik.cjs
CHANGED
|
@@ -1510,11 +1510,11 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
1510
1510
|
},
|
|
1511
1511
|
get BlocksWrapper() {
|
|
1512
1512
|
var _a;
|
|
1513
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
|
|
1513
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapper) || builderContext$1.BlocksWrapper;
|
|
1514
1514
|
},
|
|
1515
1515
|
get BlocksWrapperProps() {
|
|
1516
1516
|
var _a;
|
|
1517
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
|
|
1517
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapperProps) || builderContext$1.BlocksWrapperProps;
|
|
1518
1518
|
},
|
|
1519
1519
|
children: props.blocks ? (props.blocks || []).map((block) => {
|
|
1520
1520
|
return /* @__PURE__ */ qwik._jsxC(Block, {
|
|
@@ -1544,18 +1544,20 @@ const Blocks = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl
|
|
|
1544
1544
|
}, 3, block.id);
|
|
1545
1545
|
}) : null,
|
|
1546
1546
|
[qwik._IMMUTABLE]: {
|
|
1547
|
-
BlocksWrapper: qwik._fnSignal((p0) => {
|
|
1547
|
+
BlocksWrapper: qwik._fnSignal((p0, p1) => {
|
|
1548
1548
|
var _a;
|
|
1549
|
-
return (_a =
|
|
1549
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapper) || p0.BlocksWrapper;
|
|
1550
1550
|
}, [
|
|
1551
|
+
builderContext$1,
|
|
1551
1552
|
props
|
|
1552
|
-
], "
|
|
1553
|
-
BlocksWrapperProps: qwik._fnSignal((p0) => {
|
|
1553
|
+
], "p1.context?.BlocksWrapper||p0.BlocksWrapper"),
|
|
1554
|
+
BlocksWrapperProps: qwik._fnSignal((p0, p1) => {
|
|
1554
1555
|
var _a;
|
|
1555
|
-
return (_a =
|
|
1556
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapperProps) || p0.BlocksWrapperProps;
|
|
1556
1557
|
}, [
|
|
1558
|
+
builderContext$1,
|
|
1557
1559
|
props
|
|
1558
|
-
], "
|
|
1560
|
+
], "p1.context?.BlocksWrapperProps||p0.BlocksWrapperProps"),
|
|
1559
1561
|
blocks: qwik._fnSignal((p0) => p0.blocks, [
|
|
1560
1562
|
props
|
|
1561
1563
|
], "p0.blocks"),
|
|
@@ -4460,7 +4462,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
4460
4462
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
4461
4463
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
4462
4464
|
}
|
|
4463
|
-
const SDK_VERSION = "0.14.
|
|
4465
|
+
const SDK_VERSION = "0.14.5";
|
|
4464
4466
|
const registry = {};
|
|
4465
4467
|
function register(type, info) {
|
|
4466
4468
|
let typeList = registry[type];
|
|
@@ -4841,8 +4843,10 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4841
4843
|
qwik.useOn("qvisible", /* @__PURE__ */ qwik.inlinedQrl((event, element) => {
|
|
4842
4844
|
var _a2, _b2, _c2, _d2;
|
|
4843
4845
|
if (isBrowser()) {
|
|
4844
|
-
if (isEditing()
|
|
4845
|
-
|
|
4846
|
+
if (isEditing()) {
|
|
4847
|
+
if (element)
|
|
4848
|
+
element.dispatchEvent(new CustomEvent("initeditingbldr"));
|
|
4849
|
+
}
|
|
4846
4850
|
const shouldTrackImpression = ((_a2 = element.attributes.getNamedItem("shouldTrack")) == null ? void 0 : _a2.value) === "true";
|
|
4847
4851
|
if (shouldTrackImpression) {
|
|
4848
4852
|
const variationId = (_b2 = element.attributes.getNamedItem("variationId")) == null ? void 0 : _b2.value;
|
|
@@ -4856,8 +4860,10 @@ const EnableEditor = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inli
|
|
|
4856
4860
|
variationId: variationId !== contentId ? variationId : void 0
|
|
4857
4861
|
});
|
|
4858
4862
|
}
|
|
4859
|
-
if (isPreviewing()
|
|
4860
|
-
|
|
4863
|
+
if (isPreviewing()) {
|
|
4864
|
+
if (element)
|
|
4865
|
+
element.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
4866
|
+
}
|
|
4861
4867
|
}
|
|
4862
4868
|
}, "EnableEditor_component_useOn_2_FyR0YPSlJlw"));
|
|
4863
4869
|
qwik.useContextProvider(builderContext, props.builderContextSignal);
|
package/lib/node/index.qwik.mjs
CHANGED
|
@@ -1508,11 +1508,11 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1508
1508
|
},
|
|
1509
1509
|
get BlocksWrapper() {
|
|
1510
1510
|
var _a;
|
|
1511
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapper;
|
|
1511
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapper) || builderContext$1.BlocksWrapper;
|
|
1512
1512
|
},
|
|
1513
1513
|
get BlocksWrapperProps() {
|
|
1514
1514
|
var _a;
|
|
1515
|
-
return (_a = props.context) == null ? void 0 : _a.BlocksWrapperProps;
|
|
1515
|
+
return ((_a = props.context) == null ? void 0 : _a.BlocksWrapperProps) || builderContext$1.BlocksWrapperProps;
|
|
1516
1516
|
},
|
|
1517
1517
|
children: props.blocks ? (props.blocks || []).map((block) => {
|
|
1518
1518
|
return /* @__PURE__ */ _jsxC(Block, {
|
|
@@ -1542,18 +1542,20 @@ const Blocks = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
|
|
|
1542
1542
|
}, 3, block.id);
|
|
1543
1543
|
}) : null,
|
|
1544
1544
|
[_IMMUTABLE]: {
|
|
1545
|
-
BlocksWrapper: _fnSignal((p0) => {
|
|
1545
|
+
BlocksWrapper: _fnSignal((p0, p1) => {
|
|
1546
1546
|
var _a;
|
|
1547
|
-
return (_a =
|
|
1547
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapper) || p0.BlocksWrapper;
|
|
1548
1548
|
}, [
|
|
1549
|
+
builderContext$1,
|
|
1549
1550
|
props
|
|
1550
|
-
], "
|
|
1551
|
-
BlocksWrapperProps: _fnSignal((p0) => {
|
|
1551
|
+
], "p1.context?.BlocksWrapper||p0.BlocksWrapper"),
|
|
1552
|
+
BlocksWrapperProps: _fnSignal((p0, p1) => {
|
|
1552
1553
|
var _a;
|
|
1553
|
-
return (_a =
|
|
1554
|
+
return ((_a = p1.context) == null ? void 0 : _a.BlocksWrapperProps) || p0.BlocksWrapperProps;
|
|
1554
1555
|
}, [
|
|
1556
|
+
builderContext$1,
|
|
1555
1557
|
props
|
|
1556
|
-
], "
|
|
1558
|
+
], "p1.context?.BlocksWrapperProps||p0.BlocksWrapperProps"),
|
|
1557
1559
|
blocks: _fnSignal((p0) => p0.blocks, [
|
|
1558
1560
|
props
|
|
1559
1561
|
], "p0.blocks"),
|
|
@@ -4458,7 +4460,7 @@ function isFromTrustedHost(trustedHosts, e) {
|
|
|
4458
4460
|
const url = new URL(e.origin), hostname = url.hostname;
|
|
4459
4461
|
return (trustedHosts || DEFAULT_TRUSTED_HOSTS).findIndex((trustedHost) => trustedHost.startsWith("*.") ? hostname.endsWith(trustedHost.slice(1)) : trustedHost === hostname) > -1;
|
|
4460
4462
|
}
|
|
4461
|
-
const SDK_VERSION = "0.14.
|
|
4463
|
+
const SDK_VERSION = "0.14.5";
|
|
4462
4464
|
const registry = {};
|
|
4463
4465
|
function register(type, info) {
|
|
4464
4466
|
let typeList = registry[type];
|
|
@@ -4839,8 +4841,10 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
4839
4841
|
useOn("qvisible", /* @__PURE__ */ inlinedQrl((event, element) => {
|
|
4840
4842
|
var _a2, _b2, _c2, _d2;
|
|
4841
4843
|
if (isBrowser()) {
|
|
4842
|
-
if (isEditing()
|
|
4843
|
-
|
|
4844
|
+
if (isEditing()) {
|
|
4845
|
+
if (element)
|
|
4846
|
+
element.dispatchEvent(new CustomEvent("initeditingbldr"));
|
|
4847
|
+
}
|
|
4844
4848
|
const shouldTrackImpression = ((_a2 = element.attributes.getNamedItem("shouldTrack")) == null ? void 0 : _a2.value) === "true";
|
|
4845
4849
|
if (shouldTrackImpression) {
|
|
4846
4850
|
const variationId = (_b2 = element.attributes.getNamedItem("variationId")) == null ? void 0 : _b2.value;
|
|
@@ -4854,8 +4858,10 @@ const EnableEditor = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
|
|
|
4854
4858
|
variationId: variationId !== contentId ? variationId : void 0
|
|
4855
4859
|
});
|
|
4856
4860
|
}
|
|
4857
|
-
if (isPreviewing()
|
|
4858
|
-
|
|
4861
|
+
if (isPreviewing()) {
|
|
4862
|
+
if (element)
|
|
4863
|
+
element.dispatchEvent(new CustomEvent("initpreviewingbldr"));
|
|
4864
|
+
}
|
|
4859
4865
|
}
|
|
4860
4866
|
}, "EnableEditor_component_useOn_2_FyR0YPSlJlw"));
|
|
4861
4867
|
useContextProvider(builderContext, props.builderContextSignal);
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.14.
|
|
1
|
+
export declare const SDK_VERSION = "0.14.5";
|