@builder.io/sdk-qwik 0.7.5 → 0.8.0
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 +8 -7
- package/lib/browser/index.qwik.mjs +8 -7
- package/lib/edge/index.qwik.cjs +8 -7
- package/lib/edge/index.qwik.mjs +8 -7
- package/lib/node/index.qwik.cjs +8 -7
- package/lib/node/index.qwik.mjs +8 -7
- package/package.json +7 -1
- package/types/src/constants/sdk-version.d.ts +1 -1
|
@@ -741,13 +741,14 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
741
741
|
const canShowBlock = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
742
742
|
var _a2, _b;
|
|
743
743
|
const [processedBlock2, props2, repeatItem2] = qwik.useLexicalScope();
|
|
744
|
-
if (
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
return processedBlock2.value.show;
|
|
748
|
-
if (((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) && !((_b = repeatItem2.value) == null ? void 0 : _b.length))
|
|
744
|
+
if ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) {
|
|
745
|
+
if ((_b = repeatItem2.value) == null ? void 0 : _b.length)
|
|
746
|
+
return true;
|
|
749
747
|
return false;
|
|
750
|
-
|
|
748
|
+
}
|
|
749
|
+
const shouldHide = "hide" in processedBlock2.value ? processedBlock2.value.hide : false;
|
|
750
|
+
const shouldShow = "show" in processedBlock2.value ? processedBlock2.value.show : true;
|
|
751
|
+
return shouldShow && !shouldHide;
|
|
751
752
|
}, "Block_component_canShowBlock_useComputed_NJEFz8ICF08", [
|
|
752
753
|
processedBlock,
|
|
753
754
|
props,
|
|
@@ -3166,7 +3167,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
3166
3167
|
}
|
|
3167
3168
|
};
|
|
3168
3169
|
};
|
|
3169
|
-
const SDK_VERSION = "0.
|
|
3170
|
+
const SDK_VERSION = "0.8.0";
|
|
3170
3171
|
const registry = {};
|
|
3171
3172
|
function register(type, info) {
|
|
3172
3173
|
let typeList = registry[type];
|
|
@@ -739,13 +739,14 @@ const Block = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
739
739
|
const canShowBlock = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
740
740
|
var _a2, _b;
|
|
741
741
|
const [processedBlock2, props2, repeatItem2] = useLexicalScope();
|
|
742
|
-
if (
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
return processedBlock2.value.show;
|
|
746
|
-
if (((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) && !((_b = repeatItem2.value) == null ? void 0 : _b.length))
|
|
742
|
+
if ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) {
|
|
743
|
+
if ((_b = repeatItem2.value) == null ? void 0 : _b.length)
|
|
744
|
+
return true;
|
|
747
745
|
return false;
|
|
748
|
-
|
|
746
|
+
}
|
|
747
|
+
const shouldHide = "hide" in processedBlock2.value ? processedBlock2.value.hide : false;
|
|
748
|
+
const shouldShow = "show" in processedBlock2.value ? processedBlock2.value.show : true;
|
|
749
|
+
return shouldShow && !shouldHide;
|
|
749
750
|
}, "Block_component_canShowBlock_useComputed_NJEFz8ICF08", [
|
|
750
751
|
processedBlock,
|
|
751
752
|
props,
|
|
@@ -3164,7 +3165,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
3164
3165
|
}
|
|
3165
3166
|
};
|
|
3166
3167
|
};
|
|
3167
|
-
const SDK_VERSION = "0.
|
|
3168
|
+
const SDK_VERSION = "0.8.0";
|
|
3168
3169
|
const registry = {};
|
|
3169
3170
|
function register(type, info) {
|
|
3170
3171
|
let typeList = registry[type];
|
package/lib/edge/index.qwik.cjs
CHANGED
|
@@ -3972,13 +3972,14 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
3972
3972
|
const canShowBlock = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
3973
3973
|
var _a2, _b;
|
|
3974
3974
|
const [processedBlock2, props2, repeatItem2] = qwik.useLexicalScope();
|
|
3975
|
-
if (
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
return processedBlock2.value.show;
|
|
3979
|
-
if (((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) && !((_b = repeatItem2.value) == null ? void 0 : _b.length))
|
|
3975
|
+
if ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) {
|
|
3976
|
+
if ((_b = repeatItem2.value) == null ? void 0 : _b.length)
|
|
3977
|
+
return true;
|
|
3980
3978
|
return false;
|
|
3981
|
-
|
|
3979
|
+
}
|
|
3980
|
+
const shouldHide = "hide" in processedBlock2.value ? processedBlock2.value.hide : false;
|
|
3981
|
+
const shouldShow = "show" in processedBlock2.value ? processedBlock2.value.show : true;
|
|
3982
|
+
return shouldShow && !shouldHide;
|
|
3982
3983
|
}, "Block_component_canShowBlock_useComputed_NJEFz8ICF08", [
|
|
3983
3984
|
processedBlock,
|
|
3984
3985
|
props,
|
|
@@ -6397,7 +6398,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
6397
6398
|
}
|
|
6398
6399
|
};
|
|
6399
6400
|
};
|
|
6400
|
-
const SDK_VERSION = "0.
|
|
6401
|
+
const SDK_VERSION = "0.8.0";
|
|
6401
6402
|
const registry = {};
|
|
6402
6403
|
function register(type, info) {
|
|
6403
6404
|
let typeList = registry[type];
|
package/lib/edge/index.qwik.mjs
CHANGED
|
@@ -3970,13 +3970,14 @@ const Block = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
3970
3970
|
const canShowBlock = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
3971
3971
|
var _a2, _b;
|
|
3972
3972
|
const [processedBlock2, props2, repeatItem2] = useLexicalScope();
|
|
3973
|
-
if (
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
return processedBlock2.value.show;
|
|
3977
|
-
if (((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) && !((_b = repeatItem2.value) == null ? void 0 : _b.length))
|
|
3973
|
+
if ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) {
|
|
3974
|
+
if ((_b = repeatItem2.value) == null ? void 0 : _b.length)
|
|
3975
|
+
return true;
|
|
3978
3976
|
return false;
|
|
3979
|
-
|
|
3977
|
+
}
|
|
3978
|
+
const shouldHide = "hide" in processedBlock2.value ? processedBlock2.value.hide : false;
|
|
3979
|
+
const shouldShow = "show" in processedBlock2.value ? processedBlock2.value.show : true;
|
|
3980
|
+
return shouldShow && !shouldHide;
|
|
3980
3981
|
}, "Block_component_canShowBlock_useComputed_NJEFz8ICF08", [
|
|
3981
3982
|
processedBlock,
|
|
3982
3983
|
props,
|
|
@@ -6395,7 +6396,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
6395
6396
|
}
|
|
6396
6397
|
};
|
|
6397
6398
|
};
|
|
6398
|
-
const SDK_VERSION = "0.
|
|
6399
|
+
const SDK_VERSION = "0.8.0";
|
|
6399
6400
|
const registry = {};
|
|
6400
6401
|
function register(type, info) {
|
|
6401
6402
|
let typeList = registry[type];
|
package/lib/node/index.qwik.cjs
CHANGED
|
@@ -842,13 +842,14 @@ const Block = /* @__PURE__ */ qwik.componentQrl(/* @__PURE__ */ qwik.inlinedQrl(
|
|
|
842
842
|
const canShowBlock = qwik.useComputedQrl(/* @__PURE__ */ qwik.inlinedQrl(() => {
|
|
843
843
|
var _a2, _b;
|
|
844
844
|
const [processedBlock2, props2, repeatItem2] = qwik.useLexicalScope();
|
|
845
|
-
if (
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
return processedBlock2.value.show;
|
|
849
|
-
if (((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) && !((_b = repeatItem2.value) == null ? void 0 : _b.length))
|
|
845
|
+
if ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) {
|
|
846
|
+
if ((_b = repeatItem2.value) == null ? void 0 : _b.length)
|
|
847
|
+
return true;
|
|
850
848
|
return false;
|
|
851
|
-
|
|
849
|
+
}
|
|
850
|
+
const shouldHide = "hide" in processedBlock2.value ? processedBlock2.value.hide : false;
|
|
851
|
+
const shouldShow = "show" in processedBlock2.value ? processedBlock2.value.show : true;
|
|
852
|
+
return shouldShow && !shouldHide;
|
|
852
853
|
}, "Block_component_canShowBlock_useComputed_NJEFz8ICF08", [
|
|
853
854
|
processedBlock,
|
|
854
855
|
props,
|
|
@@ -3267,7 +3268,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
3267
3268
|
}
|
|
3268
3269
|
};
|
|
3269
3270
|
};
|
|
3270
|
-
const SDK_VERSION = "0.
|
|
3271
|
+
const SDK_VERSION = "0.8.0";
|
|
3271
3272
|
const registry = {};
|
|
3272
3273
|
function register(type, info) {
|
|
3273
3274
|
let typeList = registry[type];
|
package/lib/node/index.qwik.mjs
CHANGED
|
@@ -840,13 +840,14 @@ const Block = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =>
|
|
|
840
840
|
const canShowBlock = useComputedQrl(/* @__PURE__ */ inlinedQrl(() => {
|
|
841
841
|
var _a2, _b;
|
|
842
842
|
const [processedBlock2, props2, repeatItem2] = useLexicalScope();
|
|
843
|
-
if (
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
return processedBlock2.value.show;
|
|
847
|
-
if (((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) && !((_b = repeatItem2.value) == null ? void 0 : _b.length))
|
|
843
|
+
if ((_a2 = props2.block.repeat) == null ? void 0 : _a2.collection) {
|
|
844
|
+
if ((_b = repeatItem2.value) == null ? void 0 : _b.length)
|
|
845
|
+
return true;
|
|
848
846
|
return false;
|
|
849
|
-
|
|
847
|
+
}
|
|
848
|
+
const shouldHide = "hide" in processedBlock2.value ? processedBlock2.value.hide : false;
|
|
849
|
+
const shouldShow = "show" in processedBlock2.value ? processedBlock2.value.show : true;
|
|
850
|
+
return shouldShow && !shouldHide;
|
|
850
851
|
}, "Block_component_canShowBlock_useComputed_NJEFz8ICF08", [
|
|
851
852
|
processedBlock,
|
|
852
853
|
props,
|
|
@@ -3265,7 +3266,7 @@ const getInteractionPropertiesForEvent = (event) => {
|
|
|
3265
3266
|
}
|
|
3266
3267
|
};
|
|
3267
3268
|
};
|
|
3268
|
-
const SDK_VERSION = "0.
|
|
3269
|
+
const SDK_VERSION = "0.8.0";
|
|
3269
3270
|
const registry = {};
|
|
3270
3271
|
function register(type, info) {
|
|
3271
3272
|
let typeList = registry[type];
|
package/package.json
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder.io/sdk-qwik",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"homepage": "https://github.com/BuilderIO/builder/tree/main/packages/sdks/output/qwik",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "git+https://github.com/BuilderIO/builder.git",
|
|
8
|
+
"directory": "packages/sdks/output/qwik"
|
|
9
|
+
},
|
|
4
10
|
"description": "Builder.io Qwik SDK",
|
|
5
11
|
"type": "module",
|
|
6
12
|
"main": "./lib/edge/index.qwik.cjs",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.8.0";
|