@builder.io/sdk-react-nextjs 0.18.10 → 0.18.13
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/blocks/image/image.cjs +4 -4
- package/lib/browser/blocks/image/image.mjs +19 -17
- package/lib/browser/blocks/personalization-container/component-info.cjs +1 -0
- package/lib/browser/blocks/personalization-container/component-info.mjs +40 -0
- package/lib/browser/blocks/personalization-container/helpers/inlined-fns.cjs +162 -0
- package/lib/browser/blocks/personalization-container/helpers/inlined-fns.mjs +225 -0
- package/lib/browser/blocks/personalization-container/helpers.cjs +5 -0
- package/lib/browser/blocks/personalization-container/helpers.mjs +64 -0
- package/lib/browser/blocks/personalization-container/personalization-container.cjs +1 -0
- package/lib/browser/blocks/personalization-container/personalization-container.mjs +211 -0
- package/lib/browser/blocks/symbol/symbol.cjs +1 -1
- package/lib/browser/blocks/symbol/symbol.mjs +23 -23
- package/lib/browser/blocks/text/component-info.cjs +1 -1
- package/lib/browser/blocks/text/component-info.mjs +1 -4
- package/lib/browser/components/block/block.cjs +1 -1
- package/lib/browser/components/block/block.helpers.cjs +2 -2
- package/lib/browser/components/block/block.helpers.mjs +19 -18
- package/lib/browser/components/block/block.mjs +34 -34
- package/lib/browser/components/block/components/interactive-element.cjs +1 -1
- package/lib/browser/components/block/components/interactive-element.mjs +18 -11
- package/lib/browser/components/blocks/blocks-wrapper.cjs +1 -1
- package/lib/browser/components/blocks/blocks-wrapper.mjs +2 -2
- package/lib/browser/components/blocks/blocks.cjs +1 -1
- package/lib/browser/components/blocks/blocks.mjs +21 -18
- package/lib/browser/components/content-variants/content-variants.cjs +1 -1
- package/lib/browser/components/content-variants/content-variants.mjs +51 -40
- package/lib/browser/constants/builder-registered-components.cjs +1 -1
- package/lib/browser/constants/builder-registered-components.mjs +43 -36
- package/lib/browser/constants/sdk-version.cjs +1 -1
- package/lib/browser/constants/sdk-version.mjs +1 -1
- package/lib/edge/blocks/image/image.cjs +4 -4
- package/lib/edge/blocks/image/image.mjs +19 -17
- package/lib/edge/blocks/personalization-container/component-info.cjs +1 -0
- package/lib/edge/blocks/personalization-container/component-info.mjs +40 -0
- package/lib/edge/blocks/personalization-container/helpers/inlined-fns.cjs +162 -0
- package/lib/edge/blocks/personalization-container/helpers/inlined-fns.mjs +225 -0
- package/lib/edge/blocks/personalization-container/helpers.cjs +5 -0
- package/lib/edge/blocks/personalization-container/helpers.mjs +64 -0
- package/lib/edge/blocks/personalization-container/personalization-container.cjs +1 -0
- package/lib/edge/blocks/personalization-container/personalization-container.mjs +211 -0
- package/lib/edge/blocks/symbol/symbol.cjs +1 -1
- package/lib/edge/blocks/symbol/symbol.mjs +23 -23
- package/lib/edge/blocks/text/component-info.cjs +1 -1
- package/lib/edge/blocks/text/component-info.mjs +1 -4
- package/lib/edge/components/block/block.cjs +1 -1
- package/lib/edge/components/block/block.helpers.cjs +2 -2
- package/lib/edge/components/block/block.helpers.mjs +19 -18
- package/lib/edge/components/block/block.mjs +34 -34
- package/lib/edge/components/block/components/interactive-element.cjs +1 -1
- package/lib/edge/components/block/components/interactive-element.mjs +18 -11
- package/lib/edge/components/blocks/blocks-wrapper.cjs +1 -1
- package/lib/edge/components/blocks/blocks-wrapper.mjs +2 -2
- package/lib/edge/components/blocks/blocks.cjs +1 -1
- package/lib/edge/components/blocks/blocks.mjs +21 -18
- package/lib/edge/components/content-variants/content-variants.cjs +1 -1
- package/lib/edge/components/content-variants/content-variants.mjs +51 -40
- package/lib/edge/constants/builder-registered-components.cjs +1 -1
- package/lib/edge/constants/builder-registered-components.mjs +41 -34
- package/lib/edge/constants/sdk-version.cjs +1 -1
- package/lib/edge/constants/sdk-version.mjs +1 -1
- package/lib/node/blocks/image/image.cjs +4 -4
- package/lib/node/blocks/image/image.mjs +19 -17
- package/lib/node/blocks/personalization-container/component-info.cjs +1 -0
- package/lib/node/blocks/personalization-container/component-info.mjs +40 -0
- package/lib/node/blocks/personalization-container/helpers/inlined-fns.cjs +162 -0
- package/lib/node/blocks/personalization-container/helpers/inlined-fns.mjs +225 -0
- package/lib/node/blocks/personalization-container/helpers.cjs +5 -0
- package/lib/node/blocks/personalization-container/helpers.mjs +64 -0
- package/lib/node/blocks/personalization-container/personalization-container.cjs +1 -0
- package/lib/node/blocks/personalization-container/personalization-container.mjs +211 -0
- package/lib/node/blocks/symbol/symbol.cjs +1 -1
- package/lib/node/blocks/symbol/symbol.mjs +23 -23
- package/lib/node/blocks/text/component-info.cjs +1 -1
- package/lib/node/blocks/text/component-info.mjs +1 -4
- package/lib/node/components/block/block.cjs +1 -1
- package/lib/node/components/block/block.helpers.cjs +2 -2
- package/lib/node/components/block/block.helpers.mjs +19 -18
- package/lib/node/components/block/block.mjs +34 -34
- package/lib/node/components/block/components/interactive-element.cjs +1 -1
- package/lib/node/components/block/components/interactive-element.mjs +18 -11
- package/lib/node/components/blocks/blocks-wrapper.cjs +1 -1
- package/lib/node/components/blocks/blocks-wrapper.mjs +2 -2
- package/lib/node/components/blocks/blocks.cjs +1 -1
- package/lib/node/components/blocks/blocks.mjs +21 -18
- package/lib/node/components/content-variants/content-variants.cjs +1 -1
- package/lib/node/components/content-variants/content-variants.mjs +51 -40
- package/lib/node/constants/builder-registered-components.cjs +1 -1
- package/lib/node/constants/builder-registered-components.mjs +41 -34
- package/lib/node/constants/sdk-version.cjs +1 -1
- package/lib/node/constants/sdk-version.mjs +1 -1
- package/package.json +2 -2
- package/types/cjs/blocks/personalization-container/helpers/inlined-fns.d.ts +4 -1
- package/types/cjs/blocks/personalization-container/helpers.d.ts +24 -4
- package/types/cjs/blocks/personalization-container/personalization-container.types.d.ts +2 -2
- package/types/cjs/components/block/block.helpers.d.ts +1 -0
- package/types/cjs/components/blocks/blocks-wrapper.d.ts +13 -1
- package/types/cjs/components/blocks/blocks.types.d.ts +1 -1
- package/types/cjs/constants/sdk-version.d.ts +1 -1
- package/types/esm/blocks/personalization-container/helpers/inlined-fns.d.ts +4 -1
- package/types/esm/blocks/personalization-container/helpers.d.ts +24 -4
- package/types/esm/blocks/personalization-container/personalization-container.types.d.ts +2 -2
- package/types/esm/components/block/block.helpers.d.ts +1 -0
- package/types/esm/components/blocks/blocks-wrapper.d.ts +13 -1
- package/types/esm/components/blocks/blocks.types.d.ts +1 -1
- package/types/esm/constants/sdk-version.d.ts +1 -1
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as m, jsx as l, Fragment as j } from "react/jsx-runtime";
|
|
3
|
+
import { useRef as Q, useState as c, useEffect as z } from "react";
|
|
4
|
+
import f from "../../components/blocks/blocks.mjs";
|
|
5
|
+
import k from "../../components/inlined-script.mjs";
|
|
6
|
+
import X from "../../components/inlined-styles.mjs";
|
|
7
|
+
import { TARGET as v } from "../../constants/target.mjs";
|
|
8
|
+
import { getClassPropName as N } from "../../functions/get-class-prop-name.mjs";
|
|
9
|
+
import { isEditing as J } from "../../functions/is-editing.mjs";
|
|
10
|
+
import { isPreviewing as M } from "../../functions/is-previewing.mjs";
|
|
11
|
+
import { getDefaultCanTrack as Y } from "../../helpers/canTrack.mjs";
|
|
12
|
+
import { userAttributesService as O } from "../../helpers/user-attributes.mjs";
|
|
13
|
+
import { getPersonalizationScript as Z, getUpdateVisibilityStylesScript as p, checkShouldRenderVariants as tt, DEFAULT_INDEX as C, SDKS_REQUIRING_RESET_APPROACH as h, getBlocksToRender as et } from "./helpers.mjs";
|
|
14
|
+
import { filterWithCustomTargeting as it } from "./helpers/inlined-fns.mjs";
|
|
15
|
+
function xt(t) {
|
|
16
|
+
var $, y, E, R, P, V, A, I, T, U, D, W, w;
|
|
17
|
+
const a = Q(null), [F, G] = c(
|
|
18
|
+
() => O.getUserAttributes()
|
|
19
|
+
), [S, nt] = c(
|
|
20
|
+
() => {
|
|
21
|
+
var e, n, i;
|
|
22
|
+
return Z(
|
|
23
|
+
t.variants,
|
|
24
|
+
((e = t.builderBlock) == null ? void 0 : e.id) || "none",
|
|
25
|
+
(i = (n = t.builderContext) == null ? void 0 : n.rootState) == null ? void 0 : i.locale
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
), [H, rt] = c(
|
|
29
|
+
() => {
|
|
30
|
+
var e, n, i;
|
|
31
|
+
return p(
|
|
32
|
+
t.variants,
|
|
33
|
+
((e = t.builderBlock) == null ? void 0 : e.id) || "none",
|
|
34
|
+
(i = (n = t.builderContext) == null ? void 0 : n.rootState) == null ? void 0 : i.locale
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
), [x, lt] = c(() => []), [B, at] = c(
|
|
38
|
+
() => {
|
|
39
|
+
var e;
|
|
40
|
+
return tt(
|
|
41
|
+
t.variants,
|
|
42
|
+
Y((e = t.builderContext) == null ? void 0 : e.canTrack)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
), [b, L] = c(() => !1);
|
|
46
|
+
function q() {
|
|
47
|
+
return {
|
|
48
|
+
...t.attributes,
|
|
49
|
+
[N()]: `builder-personalization-container ${t.attributes[N()] || ""}`
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function g() {
|
|
53
|
+
return (t.variants || []).filter((e) => {
|
|
54
|
+
var n, i, d, r;
|
|
55
|
+
return it(
|
|
56
|
+
{
|
|
57
|
+
...(i = (n = t.builderContext) == null ? void 0 : n.rootState) != null && i.locale ? {
|
|
58
|
+
locale: (r = (d = t.builderContext) == null ? void 0 : d.rootState) == null ? void 0 : r.locale
|
|
59
|
+
} : {},
|
|
60
|
+
...F
|
|
61
|
+
},
|
|
62
|
+
e.query,
|
|
63
|
+
e.startDate,
|
|
64
|
+
e.endDate
|
|
65
|
+
);
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
function o() {
|
|
69
|
+
var e;
|
|
70
|
+
return et({
|
|
71
|
+
variants: t.variants,
|
|
72
|
+
fallbackBlocks: (e = t.builderBlock) == null ? void 0 : e.children,
|
|
73
|
+
isHydrated: b,
|
|
74
|
+
filteredVariants: g(),
|
|
75
|
+
previewingIndex: t.previewingIndex
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function K() {
|
|
79
|
+
return (t.variants || []).map(
|
|
80
|
+
(e, n) => {
|
|
81
|
+
var i;
|
|
82
|
+
return `div[data-variant-id="${(i = t.builderBlock) == null ? void 0 : i.id}-${n}"] { display: none !important; } `;
|
|
83
|
+
}
|
|
84
|
+
).join("");
|
|
85
|
+
}
|
|
86
|
+
return z(() => {
|
|
87
|
+
var n;
|
|
88
|
+
L(!0);
|
|
89
|
+
const e = O.subscribeOnUserAttributesChange(
|
|
90
|
+
(i) => {
|
|
91
|
+
G(i);
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
if (!(J() || M())) {
|
|
95
|
+
const i = g()[0];
|
|
96
|
+
a.current && (a.current.dispatchEvent(
|
|
97
|
+
new CustomEvent("builder.variantLoaded", {
|
|
98
|
+
detail: {
|
|
99
|
+
variant: i || C,
|
|
100
|
+
content: (n = t.builderContext) == null ? void 0 : n.content
|
|
101
|
+
},
|
|
102
|
+
bubbles: !0
|
|
103
|
+
})
|
|
104
|
+
), new IntersectionObserver((r) => {
|
|
105
|
+
r.forEach((u) => {
|
|
106
|
+
var s;
|
|
107
|
+
u.isIntersecting && a.current && a.current.dispatchEvent(
|
|
108
|
+
new CustomEvent("builder.variantDisplayed", {
|
|
109
|
+
detail: {
|
|
110
|
+
variant: i || C,
|
|
111
|
+
content: (s = t.builderContext) == null ? void 0 : s.content
|
|
112
|
+
},
|
|
113
|
+
bubbles: !0
|
|
114
|
+
})
|
|
115
|
+
);
|
|
116
|
+
});
|
|
117
|
+
}).observe(a.current));
|
|
118
|
+
}
|
|
119
|
+
x.push(e);
|
|
120
|
+
}, []), z(() => () => {
|
|
121
|
+
x.forEach((e) => e());
|
|
122
|
+
}, []), /* @__PURE__ */ m("div", { ref: a, ...q(), children: [
|
|
123
|
+
b && h.includes(v) ? /* @__PURE__ */ l(
|
|
124
|
+
f,
|
|
125
|
+
{
|
|
126
|
+
blocks: o().blocks,
|
|
127
|
+
parent: ($ = t.builderBlock) == null ? void 0 : $.id,
|
|
128
|
+
path: o().path,
|
|
129
|
+
context: t.builderContext,
|
|
130
|
+
registeredComponents: t.builderComponents,
|
|
131
|
+
BlocksWrapperProps: {
|
|
132
|
+
...(y = t.builderContext) == null ? void 0 : y.BlocksWrapperProps,
|
|
133
|
+
"data-variant-id": `${(E = t.builderBlock) == null ? void 0 : E.id}-${o().index}`
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
) : null,
|
|
137
|
+
!b && h.includes(v) || !h.includes(v) ? /* @__PURE__ */ m(j, { children: [
|
|
138
|
+
B ? /* @__PURE__ */ m(j, { children: [
|
|
139
|
+
/* @__PURE__ */ l(
|
|
140
|
+
X,
|
|
141
|
+
{
|
|
142
|
+
nonce: ((R = t.builderContext) == null ? void 0 : R.nonce) || "",
|
|
143
|
+
styles: K(),
|
|
144
|
+
id: `variants-styles-${(P = t.builderBlock) == null ? void 0 : P.id}`
|
|
145
|
+
}
|
|
146
|
+
),
|
|
147
|
+
/* @__PURE__ */ l(
|
|
148
|
+
k,
|
|
149
|
+
{
|
|
150
|
+
nonce: ((V = t.builderContext) == null ? void 0 : V.nonce) || "",
|
|
151
|
+
scriptStr: H,
|
|
152
|
+
id: `variants-visibility-script-${(A = t.builderBlock) == null ? void 0 : A.id}`
|
|
153
|
+
}
|
|
154
|
+
),
|
|
155
|
+
(I = t.variants) == null ? void 0 : I.map((e, n) => {
|
|
156
|
+
var i, d, r, u, s, _;
|
|
157
|
+
return /* @__PURE__ */ l(
|
|
158
|
+
f,
|
|
159
|
+
{
|
|
160
|
+
BlocksWrapperProps: {
|
|
161
|
+
...(i = t.builderContext) == null ? void 0 : i.BlocksWrapperProps,
|
|
162
|
+
"aria-hidden": !0,
|
|
163
|
+
hidden: !0,
|
|
164
|
+
"data-variant-id": `${(d = t.builderBlock) == null ? void 0 : d.id}-${n}`
|
|
165
|
+
},
|
|
166
|
+
blocks: e.blocks,
|
|
167
|
+
parent: (r = t.builderBlock) == null ? void 0 : r.id,
|
|
168
|
+
path: `component.options.variants.${n}.blocks`,
|
|
169
|
+
context: t.builderContext,
|
|
170
|
+
registeredComponents: t.builderComponents,
|
|
171
|
+
children: /* @__PURE__ */ l(
|
|
172
|
+
k,
|
|
173
|
+
{
|
|
174
|
+
nonce: ((u = t.builderContext) == null ? void 0 : u.nonce) || "",
|
|
175
|
+
scriptStr: S,
|
|
176
|
+
id: `variants-script-${(s = t.builderBlock) == null ? void 0 : s.id}-${n}`
|
|
177
|
+
}
|
|
178
|
+
)
|
|
179
|
+
},
|
|
180
|
+
`${(_ = t.builderBlock) == null ? void 0 : _.id}-${n}`
|
|
181
|
+
);
|
|
182
|
+
})
|
|
183
|
+
] }) : null,
|
|
184
|
+
/* @__PURE__ */ l(
|
|
185
|
+
f,
|
|
186
|
+
{
|
|
187
|
+
blocks: o().blocks,
|
|
188
|
+
parent: (T = t.builderBlock) == null ? void 0 : T.id,
|
|
189
|
+
path: o().path,
|
|
190
|
+
context: t.builderContext,
|
|
191
|
+
registeredComponents: t.builderComponents,
|
|
192
|
+
BlocksWrapperProps: {
|
|
193
|
+
...(U = t.builderContext) == null ? void 0 : U.BlocksWrapperProps,
|
|
194
|
+
"data-variant-id": `${(D = t.builderBlock) == null ? void 0 : D.id}-${o().index}`
|
|
195
|
+
},
|
|
196
|
+
children: B ? /* @__PURE__ */ l(
|
|
197
|
+
k,
|
|
198
|
+
{
|
|
199
|
+
nonce: ((W = t.builderContext) == null ? void 0 : W.nonce) || "",
|
|
200
|
+
scriptStr: S,
|
|
201
|
+
id: `variants-script-${(w = t.builderBlock) == null ? void 0 : w.id}-${C}`
|
|
202
|
+
}
|
|
203
|
+
) : null
|
|
204
|
+
}
|
|
205
|
+
)
|
|
206
|
+
] }) : null
|
|
207
|
+
] });
|
|
208
|
+
}
|
|
209
|
+
export {
|
|
210
|
+
xt as default
|
|
211
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const d=require("react/jsx-runtime"),x=require("../../components/content-variants/content-variants.cjs"),k=require("../../functions/get-class-prop-name.cjs"),f=require("./symbol.helpers.cjs");async function v(e){var n,i,l,o,a,c,r;const m=function(){return"div"},y=function(){return"div"},C=function(){var s,u;return[e.attributes[k.getClassPropName()],"builder-symbol",(s=e.symbol)!=null&&s.inline?"builder-inline-symbol":void 0,(u=e.symbol)!=null&&u.dynamic||e.dynamic?"builder-dynamic-symbol":void 0].filter(Boolean).join(" ")},t=((n=e.symbol)==null?void 0:n.content)||await f.fetchSymbolContent({symbol:e.symbol,builderContextValue:e.builderContext});return(i=e.symbol)==null||i.entry,d.jsx("div",{...e.attributes,className:C(),children:d.jsx(x,{nonce:e.builderContext.nonce,isNestedRender:!0,apiVersion:e.builderContext.apiVersion,apiKey:e.builderContext.apiKey,context:{...e.builderContext.context,symbolId:(l=e.builderBlock)==null?void 0:l.id},customComponents:Object.values(e.builderComponents),data:{...(o=e.symbol)==null?void 0:o.data,...e.builderContext.localState,...(a=t==null?void 0:t.data)==null?void 0:a.state},canTrack:e.builderContext.canTrack,model:(r=(c=e.symbol)==null?void 0:c.model)!=null?r:"",content:t,linkComponent:e.builderLinkComponent,blocksWrapper:m(),contentWrapper:y()})})}module.exports=v;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import { getClassPropName as
|
|
4
|
-
import { fetchSymbolContent as
|
|
5
|
-
async function
|
|
6
|
-
var n, o, i, l, a, r;
|
|
7
|
-
const
|
|
8
|
-
return "div";
|
|
9
|
-
}, s = function() {
|
|
1
|
+
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
+
import x from "../../components/content-variants/content-variants.mjs";
|
|
3
|
+
import { getClassPropName as f } from "../../functions/get-class-prop-name.mjs";
|
|
4
|
+
import { fetchSymbolContent as k } from "./symbol.helpers.mjs";
|
|
5
|
+
async function j(e) {
|
|
6
|
+
var n, o, i, l, a, r, c;
|
|
7
|
+
const s = function() {
|
|
10
8
|
return "div";
|
|
11
9
|
}, y = function() {
|
|
12
|
-
|
|
10
|
+
return "div";
|
|
11
|
+
}, C = function() {
|
|
12
|
+
var b, d;
|
|
13
13
|
return [
|
|
14
|
-
e.attributes[
|
|
14
|
+
e.attributes[f()],
|
|
15
15
|
"builder-symbol",
|
|
16
|
-
(
|
|
17
|
-
(
|
|
16
|
+
(b = e.symbol) != null && b.inline ? "builder-inline-symbol" : void 0,
|
|
17
|
+
(d = e.symbol) != null && d.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
|
|
18
18
|
].filter(Boolean).join(" ");
|
|
19
|
-
}, t = ((n = e.symbol) == null ? void 0 : n.content) || await
|
|
19
|
+
}, t = ((n = e.symbol) == null ? void 0 : n.content) || await k({
|
|
20
20
|
symbol: e.symbol,
|
|
21
21
|
builderContextValue: e.builderContext
|
|
22
22
|
});
|
|
23
|
-
return /* @__PURE__ */
|
|
24
|
-
|
|
23
|
+
return (o = e.symbol) == null || o.entry, /* @__PURE__ */ u("div", { ...e.attributes, className: C(), children: /* @__PURE__ */ u(
|
|
24
|
+
x,
|
|
25
25
|
{
|
|
26
26
|
nonce: e.builderContext.nonce,
|
|
27
27
|
isNestedRender: !0,
|
|
@@ -29,23 +29,23 @@ async function V(e) {
|
|
|
29
29
|
apiKey: e.builderContext.apiKey,
|
|
30
30
|
context: {
|
|
31
31
|
...e.builderContext.context,
|
|
32
|
-
symbolId: (
|
|
32
|
+
symbolId: (i = e.builderBlock) == null ? void 0 : i.id
|
|
33
33
|
},
|
|
34
34
|
customComponents: Object.values(e.builderComponents),
|
|
35
35
|
data: {
|
|
36
|
-
...(
|
|
36
|
+
...(l = e.symbol) == null ? void 0 : l.data,
|
|
37
37
|
...e.builderContext.localState,
|
|
38
|
-
...(
|
|
38
|
+
...(a = t == null ? void 0 : t.data) == null ? void 0 : a.state
|
|
39
39
|
},
|
|
40
40
|
canTrack: e.builderContext.canTrack,
|
|
41
|
-
model: (
|
|
41
|
+
model: (c = (r = e.symbol) == null ? void 0 : r.model) != null ? c : "",
|
|
42
42
|
content: t,
|
|
43
43
|
linkComponent: e.builderLinkComponent,
|
|
44
|
-
blocksWrapper:
|
|
45
|
-
contentWrapper:
|
|
44
|
+
blocksWrapper: s(),
|
|
45
|
+
contentWrapper: y()
|
|
46
46
|
}
|
|
47
47
|
) });
|
|
48
48
|
}
|
|
49
49
|
export {
|
|
50
|
-
|
|
50
|
+
j as default
|
|
51
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={shouldReceiveBuilderProps:{
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={shouldReceiveBuilderProps:{},name:"Text",static:!0,isRSC:!0,image:"https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",inputs:[{name:"text",type:"html",required:!0,autoFocus:!0,bubble:!0,defaultValue:"Enter some text..."}],defaultStyles:{lineHeight:"normal",height:"auto",textAlign:"center"}};exports.componentInfo=e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const t=require("react/jsx-runtime"),v=require("../../constants/target.cjs"),S=require("../../functions/get-block-component-options.cjs"),j=require("../../functions/get-processed-block.cjs"),P=require("../../functions/is-previewing.cjs");require("../../functions/get-fetch.cjs");const
|
|
1
|
+
"use strict";const t=require("react/jsx-runtime"),v=require("../../constants/target.cjs"),S=require("../../functions/get-block-component-options.cjs"),j=require("../../functions/get-processed-block.cjs"),P=require("../../functions/is-previewing.cjs");require("../../functions/get-fetch.cjs");const d=require("./block.helpers.cjs"),q=require("./components/block-styles.cjs"),O=require("./components/block-wrapper.cjs"),h=require("./components/component-ref/component-ref.cjs"),p=require("./components/repeated-block.cjs");function b(e){var a,C,x,g;const m=function(){return d.getRepeatItemData({block:e.block,context:e.context})},u={value:null,update:!1},c=function(){var i;if(u.value&&!u.update&&!P.isPreviewing())return u.value;const r=(i=e.block.repeat)!=null&&i.collection?e.block:j.getProcessedBlock({block:e.block,localState:e.context.localState,rootState:e.context.rootState,rootSetState:e.context.rootSetState,context:e.context.context});return u.value=r,u.update=!1,r},l=function(){return d.getComponent({block:c(),registeredComponents:e.registeredComponents,model:e.context.model})},f=function(){var i;return e.block.tagName==="a"||((i=c().properties)==null?void 0:i.href)||c().href?e.linkComponent||"a":e.block.tagName||"div"},B=function(){var s,k;if((s=e.block.repeat)!=null&&s.collection)return!!((k=m())!=null&&k.length);const r="hide"in c()?c().hide:!1;return("show"in c()?c().show:!0)&&!r},R=function(){var i,s;return!((i=l())!=null&&i.component)&&!m()?(s=c().children)!=null?s:[]:[]},n=function(){var r,i,s,k;return{blockChildren:(r=c().children)!=null?r:[],componentRef:(i=l())==null?void 0:i.component,componentOptions:{...S.getBlockComponentOptions(c(),e.context),...d.provideBuilderBlock(l(),c()),...d.provideBuilderContext(l(),e.context),...d.provideLinkComponent(l(),e.linkComponent),...d.provideRegisteredComponents(l(),e.registeredComponents,e.context.model)},context:e.context,linkComponent:e.linkComponent,registeredComponents:e.registeredComponents,builderBlock:c(),includeBlockProps:((s=l())==null?void 0:s.noWrap)===!0,isInteractive:!((k=l())!=null&&k.isRSC&&v.TARGET==="rsc")}};return t.jsx(t.Fragment,{children:B()?t.jsxs(t.Fragment,{children:[t.jsx(q,{block:c(),context:e.context}),(a=l())!=null&&a.noWrap?m()?t.jsx(t.Fragment,{children:(g=m())==null?void 0:g.map((o,r)=>t.jsx(p,{repeatContext:o.context,block:o.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},d.generateKey(r)))}):t.jsx(h,{componentRef:n().componentRef,componentOptions:n().componentOptions,blockChildren:n().blockChildren,context:n().context,registeredComponents:n().registeredComponents,linkComponent:n().linkComponent,builderBlock:n().builderBlock,includeBlockProps:n().includeBlockProps,isInteractive:n().isInteractive}):t.jsx(t.Fragment,{children:m()?t.jsx(t.Fragment,{children:(x=m())==null?void 0:x.map((o,r)=>t.jsx(p,{repeatContext:o.context,block:o.block,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent},d.generateKey(r)))}):t.jsxs(O,{Wrapper:f(),block:c(),context:e.context,children:[t.jsx(h,{componentRef:n().componentRef,componentOptions:n().componentOptions,blockChildren:n().blockChildren,context:n().context,registeredComponents:n().registeredComponents,linkComponent:n().linkComponent,builderBlock:n().builderBlock,includeBlockProps:n().includeBlockProps,isInteractive:n().isInteractive}),(C=R())==null?void 0:C.map(o=>t.jsx(b,{block:o,registeredComponents:e.registeredComponents,linkComponent:e.linkComponent,context:e.context},o.id))]})})]}):null})}module.exports=b;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("../../functions/evaluate/evaluate.cjs"),a=(e,t)=>e?t?e.models&&e.models.length>0&&!e.models.includes(t):!1:!0,p=({block:e,registeredComponents:t,model:r})=>{var i;const o=(i=e.component)==null?void 0:i.name;if(!o)return null;const n=t[o];if(!n||a(n,r)){console.warn(`
|
|
2
2
|
Could not find a registered component named "${o}".
|
|
3
|
-
If you registered it, is the file that registered it imported by the file that needs to render it?`);return}else return n},m=({block:e,context:t})=>{const{repeat:r,...o}=e;if(!(r!=null&&r.collection))return;const n=
|
|
3
|
+
If you registered it, is the file that registered it imported by the file that needs to render it?`);return}else return n},m=({block:e,context:t})=>{const{repeat:r,...o}=e;if(!(r!=null&&r.collection))return;const n=l.evaluate({code:r.collection,localState:t.localState,rootState:t.rootState,rootSetState:t.rootSetState,context:t.context});if(!Array.isArray(n))return;const i=r.collection.split(".").pop(),s=r.itemName||(i?i+"Item":"item");return n.map((d,u)=>({context:{...t,localState:{...t.localState,$index:u,$item:d,[s]:d,[`$${s}Index`]:u}},block:o}))},c=(e,t)=>{var r;return(r=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&r.builderLinkComponent?{builderLinkComponent:t}:{}},f=(e,t,r)=>{var o;return(o=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&o.builderComponents?{builderComponents:Object.fromEntries(Object.entries(t).filter(([i,s])=>!a(s,r)))}:{}},v=(e,t)=>{var r;return(r=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&r.builderBlock?{builderBlock:t}:{}},C=(e,t)=>{var r;return(r=e==null?void 0:e.shouldReceiveBuilderProps)!=null&&r.builderContext?{builderContext:t}:{}},g=e=>e.toString();exports.generateKey=g;exports.getComponent=p;exports.getRepeatItemData=m;exports.provideBuilderBlock=v;exports.provideBuilderContext=C;exports.provideLinkComponent=c;exports.provideRegisteredComponents=f;
|
|
@@ -5,38 +5,38 @@ const l = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.include
|
|
|
5
5
|
model: r
|
|
6
6
|
}) => {
|
|
7
7
|
var i;
|
|
8
|
-
const
|
|
9
|
-
if (!
|
|
8
|
+
const n = (i = e.component) == null ? void 0 : i.name;
|
|
9
|
+
if (!n)
|
|
10
10
|
return null;
|
|
11
|
-
const
|
|
12
|
-
if (!
|
|
11
|
+
const o = t[n];
|
|
12
|
+
if (!o || l(o, r)) {
|
|
13
13
|
console.warn(`
|
|
14
|
-
Could not find a registered component named "${
|
|
14
|
+
Could not find a registered component named "${n}".
|
|
15
15
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
16
16
|
return;
|
|
17
17
|
} else
|
|
18
|
-
return
|
|
18
|
+
return o;
|
|
19
19
|
}, f = ({
|
|
20
20
|
block: e,
|
|
21
21
|
context: t
|
|
22
22
|
}) => {
|
|
23
23
|
const {
|
|
24
24
|
repeat: r,
|
|
25
|
-
...
|
|
25
|
+
...n
|
|
26
26
|
} = e;
|
|
27
27
|
if (!(r != null && r.collection))
|
|
28
28
|
return;
|
|
29
|
-
const
|
|
29
|
+
const o = a({
|
|
30
30
|
code: r.collection,
|
|
31
31
|
localState: t.localState,
|
|
32
32
|
rootState: t.rootState,
|
|
33
33
|
rootSetState: t.rootSetState,
|
|
34
34
|
context: t.context
|
|
35
35
|
});
|
|
36
|
-
if (!Array.isArray(
|
|
36
|
+
if (!Array.isArray(o))
|
|
37
37
|
return;
|
|
38
38
|
const i = r.collection.split(".").pop(), s = r.itemName || (i ? i + "Item" : "item");
|
|
39
|
-
return
|
|
39
|
+
return o.map((d, u) => ({
|
|
40
40
|
context: {
|
|
41
41
|
...t,
|
|
42
42
|
localState: {
|
|
@@ -47,7 +47,7 @@ const l = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.include
|
|
|
47
47
|
[`$${s}Index`]: u
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
|
-
block:
|
|
50
|
+
block: n
|
|
51
51
|
}));
|
|
52
52
|
}, C = (e, t) => {
|
|
53
53
|
var r;
|
|
@@ -55,26 +55,27 @@ const l = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.include
|
|
|
55
55
|
builderLinkComponent: t
|
|
56
56
|
} : {};
|
|
57
57
|
}, v = (e, t, r) => {
|
|
58
|
-
var
|
|
59
|
-
return (
|
|
58
|
+
var n;
|
|
59
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
|
|
60
60
|
builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !l(s, r)))
|
|
61
61
|
} : {};
|
|
62
|
-
},
|
|
62
|
+
}, g = (e, t) => {
|
|
63
63
|
var r;
|
|
64
64
|
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderBlock ? {
|
|
65
65
|
builderBlock: t
|
|
66
66
|
} : {};
|
|
67
|
-
},
|
|
67
|
+
}, h = (e, t) => {
|
|
68
68
|
var r;
|
|
69
69
|
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderContext ? {
|
|
70
70
|
builderContext: t
|
|
71
71
|
} : {};
|
|
72
|
-
};
|
|
72
|
+
}, S = (e) => e.toString();
|
|
73
73
|
export {
|
|
74
|
+
S as generateKey,
|
|
74
75
|
c as getComponent,
|
|
75
76
|
f as getRepeatItemData,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
g as provideBuilderBlock,
|
|
78
|
+
h as provideBuilderContext,
|
|
78
79
|
C as provideLinkComponent,
|
|
79
80
|
v as provideRegisteredComponents
|
|
80
81
|
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as l, Fragment as u, jsxs as h } from "react/jsx-runtime";
|
|
2
|
-
import { TARGET as
|
|
3
|
-
import { getBlockComponentOptions as
|
|
4
|
-
import { getProcessedBlock as
|
|
5
|
-
import { isPreviewing as
|
|
2
|
+
import { TARGET as S } from "../../constants/target.mjs";
|
|
3
|
+
import { getBlockComponentOptions as P } from "../../functions/get-block-component-options.mjs";
|
|
4
|
+
import { getProcessedBlock as I } from "../../functions/get-processed-block.mjs";
|
|
5
|
+
import { isPreviewing as O } from "../../functions/is-previewing.mjs";
|
|
6
6
|
import "../../functions/get-fetch.mjs";
|
|
7
|
-
import { getRepeatItemData as
|
|
8
|
-
import
|
|
7
|
+
import { generateKey as x, getRepeatItemData as w, getComponent as W, provideBuilderBlock as T, provideBuilderContext as L, provideLinkComponent as U, provideRegisteredComponents as j } from "./block.helpers.mjs";
|
|
8
|
+
import y from "./components/block-styles.mjs";
|
|
9
9
|
import N from "./components/block-wrapper.mjs";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
function
|
|
10
|
+
import b from "./components/component-ref/component-ref.mjs";
|
|
11
|
+
import g from "./components/repeated-block.mjs";
|
|
12
|
+
function A(e) {
|
|
13
13
|
var a, C, p, f;
|
|
14
14
|
const d = function() {
|
|
15
|
-
return
|
|
15
|
+
return w({
|
|
16
16
|
block: e.block,
|
|
17
17
|
context: e.context
|
|
18
18
|
});
|
|
@@ -21,9 +21,9 @@ function y(e) {
|
|
|
21
21
|
update: !1
|
|
22
22
|
}, n = function() {
|
|
23
23
|
var i;
|
|
24
|
-
if (s.value && !s.update && !
|
|
24
|
+
if (s.value && !s.update && !O())
|
|
25
25
|
return s.value;
|
|
26
|
-
const c = (i = e.block.repeat) != null && i.collection ? e.block :
|
|
26
|
+
const c = (i = e.block.repeat) != null && i.collection ? e.block : I({
|
|
27
27
|
block: e.block,
|
|
28
28
|
localState: e.context.localState,
|
|
29
29
|
rootState: e.context.rootState,
|
|
@@ -32,21 +32,21 @@ function y(e) {
|
|
|
32
32
|
});
|
|
33
33
|
return s.value = c, s.update = !1, c;
|
|
34
34
|
}, r = function() {
|
|
35
|
-
return
|
|
35
|
+
return W({
|
|
36
36
|
block: n(),
|
|
37
37
|
registeredComponents: e.registeredComponents,
|
|
38
38
|
model: e.context.model
|
|
39
39
|
});
|
|
40
|
-
},
|
|
40
|
+
}, B = function() {
|
|
41
41
|
var i;
|
|
42
42
|
return e.block.tagName === "a" || ((i = n().properties) == null ? void 0 : i.href) || n().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
43
|
-
},
|
|
43
|
+
}, R = function() {
|
|
44
44
|
var m, k;
|
|
45
45
|
if ((m = e.block.repeat) != null && m.collection)
|
|
46
46
|
return !!((k = d()) != null && k.length);
|
|
47
47
|
const c = "hide" in n() ? n().hide : !1;
|
|
48
48
|
return ("show" in n() ? n().show : !0) && !c;
|
|
49
|
-
},
|
|
49
|
+
}, v = function() {
|
|
50
50
|
var i, m;
|
|
51
51
|
return !((i = r()) != null && i.component) && !d() ? (m = n().children) != null ? m : [] : [];
|
|
52
52
|
}, o = function() {
|
|
@@ -55,11 +55,11 @@ function y(e) {
|
|
|
55
55
|
blockChildren: (c = n().children) != null ? c : [],
|
|
56
56
|
componentRef: (i = r()) == null ? void 0 : i.component,
|
|
57
57
|
componentOptions: {
|
|
58
|
-
...
|
|
59
|
-
...
|
|
60
|
-
...
|
|
61
|
-
...
|
|
62
|
-
...
|
|
58
|
+
...P(n(), e.context),
|
|
59
|
+
...T(r(), n()),
|
|
60
|
+
...L(r(), e.context),
|
|
61
|
+
...U(r(), e.linkComponent),
|
|
62
|
+
...j(
|
|
63
63
|
r(),
|
|
64
64
|
e.registeredComponents,
|
|
65
65
|
e.context.model
|
|
@@ -70,22 +70,22 @@ function y(e) {
|
|
|
70
70
|
registeredComponents: e.registeredComponents,
|
|
71
71
|
builderBlock: n(),
|
|
72
72
|
includeBlockProps: ((m = r()) == null ? void 0 : m.noWrap) === !0,
|
|
73
|
-
isInteractive: !((k = r()) != null && k.isRSC &&
|
|
73
|
+
isInteractive: !((k = r()) != null && k.isRSC && S === "rsc")
|
|
74
74
|
};
|
|
75
75
|
};
|
|
76
|
-
return /* @__PURE__ */ l(u, { children:
|
|
77
|
-
/* @__PURE__ */ l(
|
|
76
|
+
return /* @__PURE__ */ l(u, { children: R() ? /* @__PURE__ */ h(u, { children: [
|
|
77
|
+
/* @__PURE__ */ l(y, { block: n(), context: e.context }),
|
|
78
78
|
(a = r()) != null && a.noWrap ? d() ? /* @__PURE__ */ l(u, { children: (f = d()) == null ? void 0 : f.map((t, c) => /* @__PURE__ */ l(
|
|
79
|
-
|
|
79
|
+
g,
|
|
80
80
|
{
|
|
81
81
|
repeatContext: t.context,
|
|
82
82
|
block: t.block,
|
|
83
83
|
registeredComponents: e.registeredComponents,
|
|
84
84
|
linkComponent: e.linkComponent
|
|
85
85
|
},
|
|
86
|
-
c
|
|
86
|
+
x(c)
|
|
87
87
|
)) }) : /* @__PURE__ */ l(
|
|
88
|
-
|
|
88
|
+
b,
|
|
89
89
|
{
|
|
90
90
|
componentRef: o().componentRef,
|
|
91
91
|
componentOptions: o().componentOptions,
|
|
@@ -98,23 +98,23 @@ function y(e) {
|
|
|
98
98
|
isInteractive: o().isInteractive
|
|
99
99
|
}
|
|
100
100
|
) : /* @__PURE__ */ l(u, { children: d() ? /* @__PURE__ */ l(u, { children: (p = d()) == null ? void 0 : p.map((t, c) => /* @__PURE__ */ l(
|
|
101
|
-
|
|
101
|
+
g,
|
|
102
102
|
{
|
|
103
103
|
repeatContext: t.context,
|
|
104
104
|
block: t.block,
|
|
105
105
|
registeredComponents: e.registeredComponents,
|
|
106
106
|
linkComponent: e.linkComponent
|
|
107
107
|
},
|
|
108
|
-
c
|
|
108
|
+
x(c)
|
|
109
109
|
)) }) : /* @__PURE__ */ h(
|
|
110
110
|
N,
|
|
111
111
|
{
|
|
112
|
-
Wrapper:
|
|
112
|
+
Wrapper: B(),
|
|
113
113
|
block: n(),
|
|
114
114
|
context: e.context,
|
|
115
115
|
children: [
|
|
116
116
|
/* @__PURE__ */ l(
|
|
117
|
-
|
|
117
|
+
b,
|
|
118
118
|
{
|
|
119
119
|
componentRef: o().componentRef,
|
|
120
120
|
componentOptions: o().componentOptions,
|
|
@@ -127,8 +127,8 @@ function y(e) {
|
|
|
127
127
|
isInteractive: o().isInteractive
|
|
128
128
|
}
|
|
129
129
|
),
|
|
130
|
-
(C =
|
|
131
|
-
|
|
130
|
+
(C = v()) == null ? void 0 : C.map((t) => /* @__PURE__ */ l(
|
|
131
|
+
A,
|
|
132
132
|
{
|
|
133
133
|
block: t,
|
|
134
134
|
registeredComponents: e.registeredComponents,
|
|
@@ -143,5 +143,5 @@ function y(e) {
|
|
|
143
143
|
] }) : null });
|
|
144
144
|
}
|
|
145
145
|
export {
|
|
146
|
-
|
|
146
|
+
A as default
|
|
147
147
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";const e=require("react/jsx-runtime"),
|
|
1
|
+
"use client";"use strict";const e=require("react/jsx-runtime"),o=require("react"),l=require("../../../functions/get-block-actions.cjs"),i=require("../../../functions/get-block-properties.cjs"),u=require("../../awaiter.cjs");function x(t){var r,n;o.useState(()=>0);function c(){return t.includeBlockProps?{...i.getBlockProperties({block:t.block,context:t.context}),...l.getBlockActions({block:t.block,rootState:t.context.rootState,rootSetState:t.context.rootSetState,localState:t.context.localState,context:t.context.context})}:{}}function a(){return t.wrapperProps}return o.useEffect(()=>{},[t.wrapperProps,(n=(r=t.block)==null?void 0:r.component)==null?void 0:n.options]),e.jsx(e.Fragment,{children:t.Wrapper.load?e.jsx(e.Fragment,{children:e.jsx(u,{load:t.Wrapper.load,fallback:t.Wrapper.fallback,props:t.wrapperProps,attributes:c(),children:t.children})}):e.jsx(t.Wrapper,{...a(),attributes:c(),children:t.children})})}module.exports=x;
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsx as e, Fragment as
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
|
|
2
|
+
import { jsx as e, Fragment as a } from "react/jsx-runtime";
|
|
3
|
+
import { useState as l, useEffect as i } from "react";
|
|
4
|
+
import { getBlockActions as u } from "../../../functions/get-block-actions.mjs";
|
|
5
|
+
import { getBlockProperties as f } from "../../../functions/get-block-properties.mjs";
|
|
6
|
+
import m from "../../awaiter.mjs";
|
|
7
|
+
function h(t) {
|
|
8
|
+
var o, c;
|
|
9
|
+
l(() => 0);
|
|
7
10
|
function r() {
|
|
8
11
|
return t.includeBlockProps ? {
|
|
9
|
-
...
|
|
12
|
+
...f({
|
|
10
13
|
block: t.block,
|
|
11
14
|
context: t.context
|
|
12
15
|
}),
|
|
13
|
-
...
|
|
16
|
+
...u({
|
|
14
17
|
block: t.block,
|
|
15
18
|
rootState: t.context.rootState,
|
|
16
19
|
rootSetState: t.context.rootSetState,
|
|
@@ -19,8 +22,12 @@ function u(t) {
|
|
|
19
22
|
})
|
|
20
23
|
} : {};
|
|
21
24
|
}
|
|
22
|
-
|
|
23
|
-
|
|
25
|
+
function n() {
|
|
26
|
+
return t.wrapperProps;
|
|
27
|
+
}
|
|
28
|
+
return i(() => {
|
|
29
|
+
}, [t.wrapperProps, (c = (o = t.block) == null ? void 0 : o.component) == null ? void 0 : c.options]), /* @__PURE__ */ e(a, { children: t.Wrapper.load ? /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
|
|
30
|
+
m,
|
|
24
31
|
{
|
|
25
32
|
load: t.Wrapper.load,
|
|
26
33
|
fallback: t.Wrapper.fallback,
|
|
@@ -28,8 +35,8 @@ function u(t) {
|
|
|
28
35
|
attributes: r(),
|
|
29
36
|
children: t.children
|
|
30
37
|
}
|
|
31
|
-
) }) : /* @__PURE__ */ e(t.Wrapper, { ...
|
|
38
|
+
) }) : /* @__PURE__ */ e(t.Wrapper, { ...n(), attributes: r(), children: t.children }) });
|
|
32
39
|
}
|
|
33
40
|
export {
|
|
34
|
-
|
|
41
|
+
h as default
|
|
35
42
|
};
|