@builder.io/sdk-vue 1.0.21 → 1.0.22
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/block-styles-VImRioSm.js +87 -0
- package/lib/browser/block-styles-WIrvoyUF.cjs +1 -0
- package/lib/browser/{block-wrapper-a1zxMruE.js → block-wrapper--ZG8uXgi.js} +3 -3
- package/lib/browser/{block-wrapper-mlbE709c.cjs → block-wrapper-PG29yePT.cjs} +1 -1
- package/lib/browser/{component-ref-5K3RMLKh.js → component-ref-AbXXG_wD.js} +2 -2
- package/lib/browser/{component-ref-mNbBuzhy.cjs → component-ref-Oh6emZ2D.cjs} +1 -1
- package/lib/browser/components/block/animator.d.ts +1 -1
- package/lib/browser/constants/sdk-version.d.ts +1 -1
- package/lib/browser/functions/is-previewing.d.ts +1 -1
- package/lib/browser/{get-block-properties-PuGrG7pm.cjs → get-block-properties-iG0EdCc7.cjs} +1 -1
- package/lib/browser/{get-block-properties-4MopDiTP.js → get-block-properties-jSTzat9q.js} +6 -6
- package/lib/browser/{index-OSGu6alT.cjs → index-3lFzntkG.cjs} +19 -19
- package/lib/browser/{index-mwZzSIN7.js → index-_VfPZEOT.js} +401 -424
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.js +3 -3
- package/lib/browser/{repeated-block-VP4euR8a.cjs → repeated-block-GitdVuPz.cjs} +1 -1
- package/lib/browser/{repeated-block-hUFMTXXS.js → repeated-block-LywEnyR6.js} +2 -2
- package/lib/edge/block-styles-ZxWEJSxb.js +86 -0
- package/lib/edge/block-styles-eJqBAPHH.cjs +1 -0
- package/lib/{node/block-wrapper-bGeMckW5.cjs → edge/block-wrapper-2Crn7tbG.cjs} +1 -1
- package/lib/edge/{block-wrapper-xgShkhuq.js → block-wrapper-E58yJMa2.js} +3 -3
- package/lib/{node/component-ref-YhLendyR.cjs → edge/component-ref-4M72dsyI.cjs} +1 -1
- package/lib/{node/component-ref-PGVczQrW.js → edge/component-ref-lMVExvau.js} +2 -2
- package/lib/edge/components/block/animator.d.ts +1 -1
- package/lib/edge/constants/sdk-version.d.ts +1 -1
- package/lib/edge/functions/is-previewing.d.ts +1 -1
- package/lib/{node/get-block-properties-kAmm-X1q.js → edge/get-block-properties-RLx998wH.js} +4 -4
- package/lib/edge/{get-block-properties-v6bf_R5d.cjs → get-block-properties-ozEWpZlZ.cjs} +1 -1
- package/lib/edge/{index-Ua4OW_gh.js → index-53gkK1JA.js} +641 -664
- package/lib/edge/{index-xnWjf2tW.cjs → index-nVP8G4zp.cjs} +26 -26
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.js +4 -4
- package/lib/edge/{repeated-block-qRyqdxjD.cjs → repeated-block-_7bmUv-Z.cjs} +1 -1
- package/lib/{node/repeated-block-tjhtQDPA.js → edge/repeated-block-kei-SmhT.js} +13 -13
- package/lib/node/block-styles-_OMTv9sJ.js +86 -0
- package/lib/node/block-styles-cJg0zG2x.cjs +1 -0
- package/lib/node/{block-wrapper--vej-Ae6.js → block-wrapper-WFhgV7rM.js} +3 -3
- package/lib/{edge/block-wrapper-4RaFHsBw.cjs → node/block-wrapper-olhoZ1Gm.cjs} +1 -1
- package/lib/{edge/component-ref-kGbDg8GR.js → node/component-ref-CnP6F8zd.js} +2 -2
- package/lib/{edge/component-ref-KD6yANwg.cjs → node/component-ref-Wy04EyRy.cjs} +1 -1
- package/lib/node/components/block/animator.d.ts +1 -1
- package/lib/node/constants/sdk-version.d.ts +1 -1
- package/lib/node/functions/is-previewing.d.ts +1 -1
- package/lib/{edge/get-block-properties-yFfbPH85.js → node/get-block-properties-3AHBPypn.js} +4 -4
- package/lib/node/{get-block-properties-GTVEiEYp.cjs → get-block-properties-azp9C2XD.cjs} +1 -1
- package/lib/node/{index-mnDtU0q8.js → index-eF57HLR1.js} +36 -59
- package/lib/node/{index-XIqTnRyC.cjs → index-my4sBiPM.cjs} +5 -5
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.js +4 -4
- package/lib/node/{repeated-block-SWSMCPvd.cjs → repeated-block-AtgGXQbg.cjs} +1 -1
- package/lib/{edge/repeated-block-uiPuS74Z.js → node/repeated-block-uRrCR8KR.js} +13 -13
- package/package.json +1 -1
- package/lib/browser/block-styles-2lYNYVH3.js +0 -70
- package/lib/browser/block-styles-y6pFfJz3.cjs +0 -1
- package/lib/edge/block-styles-_eYB_Fxz.cjs +0 -1
- package/lib/edge/block-styles-nhMA9R4s.js +0 -69
- package/lib/node/block-styles-h0iWFk09.cjs +0 -1
- package/lib/node/block-styles-rz8jpORX.js +0 -69
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, resolveComponent as y, openBlock as x, createBlock as f, createCommentVNode as b } from "vue";
|
|
2
|
-
import { _ as B, T as _, g as d, c as m, a as g, b as r, d as S, e as C } from "./index-mnDtU0q8.js";
|
|
3
|
-
const v = k({
|
|
4
|
-
name: "block-styles",
|
|
5
|
-
components: { InlinedStyles: B },
|
|
6
|
-
props: ["block", "context"],
|
|
7
|
-
data() {
|
|
8
|
-
return { TARGET: _ };
|
|
9
|
-
},
|
|
10
|
-
computed: {
|
|
11
|
-
canShowBlock() {
|
|
12
|
-
const t = d({
|
|
13
|
-
block: this.block,
|
|
14
|
-
localState: this.context.localState,
|
|
15
|
-
rootState: this.context.rootState,
|
|
16
|
-
rootSetState: this.context.rootSetState,
|
|
17
|
-
context: this.context.context,
|
|
18
|
-
shouldEvaluateBindings: !0
|
|
19
|
-
});
|
|
20
|
-
return m(t.hide) ? !t.hide : m(t.show) ? t.show : !0;
|
|
21
|
-
},
|
|
22
|
-
css() {
|
|
23
|
-
var i;
|
|
24
|
-
const t = d({
|
|
25
|
-
block: this.block,
|
|
26
|
-
localState: this.context.localState,
|
|
27
|
-
rootState: this.context.rootState,
|
|
28
|
-
rootSetState: this.context.rootSetState,
|
|
29
|
-
context: this.context.context,
|
|
30
|
-
shouldEvaluateBindings: !0
|
|
31
|
-
}), e = t.responsiveStyles, o = this.context.content, c = g(
|
|
32
|
-
((i = o == null ? void 0 : o.meta) == null ? void 0 : i.breakpoints) || {}
|
|
33
|
-
), a = e == null ? void 0 : e.large, l = e == null ? void 0 : e.medium, s = e == null ? void 0 : e.small, n = t.id;
|
|
34
|
-
if (!n)
|
|
35
|
-
return "";
|
|
36
|
-
const u = a ? r({
|
|
37
|
-
className: n,
|
|
38
|
-
styles: a
|
|
39
|
-
}) : "", h = l ? r({
|
|
40
|
-
className: n,
|
|
41
|
-
styles: l,
|
|
42
|
-
mediaQuery: S(
|
|
43
|
-
"medium",
|
|
44
|
-
c
|
|
45
|
-
)
|
|
46
|
-
}) : "", p = s ? r({
|
|
47
|
-
className: n,
|
|
48
|
-
styles: s,
|
|
49
|
-
mediaQuery: S(
|
|
50
|
-
"small",
|
|
51
|
-
c
|
|
52
|
-
)
|
|
53
|
-
}) : "";
|
|
54
|
-
return [u, h, p].join(" ");
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
function T(t, e, o, c, a, l) {
|
|
59
|
-
const s = y("inlined-styles");
|
|
60
|
-
return t.TARGET !== "reactNative" && t.css && t.canShowBlock ? (x(), f(s, {
|
|
61
|
-
key: 0,
|
|
62
|
-
id: "builderio-block",
|
|
63
|
-
styles: t.css
|
|
64
|
-
}, null, 8, ["styles"])) : b("", !0);
|
|
65
|
-
}
|
|
66
|
-
const E = /* @__PURE__ */ C(v, [["render", T]]);
|
|
67
|
-
export {
|
|
68
|
-
E as default
|
|
69
|
-
};
|