@simple-builder/react 1.3.1 → 1.3.3
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/dist/build-container-client-5QC5KVS3.mjs +8 -0
- package/dist/build-container-client-7Z6WZVBX.js +2291 -0
- package/dist/build-container-client-DWKVE65B.mjs +2258 -0
- package/dist/build-container-client-FN3PZMM7.mjs +2253 -0
- package/dist/build-container-client-GV52F5RP.js +2294 -0
- package/dist/build-container-client-J56NWFBF.mjs +2257 -0
- package/dist/build-container-client-L3WD4CG7.mjs +2255 -0
- package/dist/build-container-client-NXIMV3RF.js +8 -0
- package/dist/build-container-client-THZHNQ5S.mjs +2260 -0
- package/dist/build-container-client-WGVIYK47.css +1968 -0
- package/dist/build-container-client-WHIUDBOZ.mjs +2259 -0
- package/dist/build-container-client-WIGFVNOW.css +1971 -0
- package/dist/build-container-client-WYIHRPSW.js +2295 -0
- package/dist/build-container-client-XOHYMPBB.js +2289 -0
- package/dist/build-container-client-YDRPPWCU.js +2293 -0
- package/dist/build-container-client-YWNDWXO2.css +1967 -0
- package/dist/build-container-client-ZXO66OL5.js +2296 -0
- package/dist/builder-content-2MA6BKJ5.js +42 -0
- package/dist/builder-content-2ZXIEMS3.js +42 -0
- package/dist/builder-content-73ZKCEIT.mjs +20 -0
- package/dist/builder-content-BKE4JZ75.js +42 -0
- package/dist/builder-content-BU4BXER7.mjs +20 -0
- package/dist/builder-content-CP5VLMVD.mjs +20 -0
- package/dist/builder-content-CY43LFAA.js +42 -0
- package/dist/builder-content-FMTTH7R2.js +42 -0
- package/dist/builder-content-GJ4HYIOA.mjs +20 -0
- package/dist/builder-content-HQXSXBFZ.mjs +20 -0
- package/dist/builder-content-MI55X5HA.css +1971 -0
- package/dist/builder-content-PWV6LNFT.mjs +20 -0
- package/dist/builder-content-RROSPBT4.css +1968 -0
- package/dist/builder-content-RV3DPWFH.js +42 -0
- package/dist/builder-content-V2MDRHJI.css +1967 -0
- package/dist/chunk-2GOYHVMW.mjs +123 -0
- package/dist/chunk-2OHBCAZQ.mjs +244 -0
- package/dist/chunk-2OYBZSJQ.mjs +123 -0
- package/dist/chunk-3QWMKMTN.js +269 -0
- package/dist/chunk-454D7NIH.js +153 -0
- package/dist/chunk-4TVSMCQU.js +42 -0
- package/dist/chunk-5Q4KJW4A.mjs +20 -0
- package/dist/chunk-6GCMYFBT.mjs +20 -0
- package/dist/chunk-6KNCX5O5.mjs +123 -0
- package/dist/chunk-6VINC5E2.mjs +244 -0
- package/dist/chunk-C5GHD62W.mjs +20 -0
- package/dist/chunk-CARNMQP6.mjs +20 -0
- package/dist/chunk-CJNSRJNF.js +42 -0
- package/dist/chunk-DZLUIOVD.js +153 -0
- package/dist/chunk-EVMN5SX2.js +269 -0
- package/dist/chunk-EZFQOJHG.mjs +244 -0
- package/dist/chunk-H357GPTV.mjs +244 -0
- package/dist/chunk-H6OM2V2U.mjs +20 -0
- package/dist/chunk-HCM5NR6G.js +269 -0
- package/dist/chunk-IQX5LONG.js +153 -0
- package/dist/chunk-MBISMJDL.js +269 -0
- package/dist/chunk-NDE4WSBA.js +269 -0
- package/dist/chunk-OWZPAOR6.mjs +244 -0
- package/dist/chunk-PADTJYXB.mjs +20 -0
- package/dist/chunk-QZQRUNAY.js +153 -0
- package/dist/chunk-RZFAIM2Q.mjs +123 -0
- package/dist/chunk-SFYJAJOD.js +42 -0
- package/dist/chunk-SLWJHIVH.mjs +123 -0
- package/dist/chunk-TMDKQB2L.js +153 -0
- package/dist/chunk-VCXFPTGD.js +42 -0
- package/dist/chunk-VNNNLYSW.js +42 -0
- package/dist/chunk-WA7TKN6M.js +42 -0
- package/dist/chunk-WPBR7BJZ.js +269 -0
- package/dist/chunk-X5A4S44V.mjs +244 -0
- package/dist/chunk-XZNO7DXS.js +153 -0
- package/dist/chunk-ZZT7HGAM.mjs +123 -0
- package/dist/index.css +3 -0
- package/dist/index.js +6 -6
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkHCM5NR6G_js = require('./chunk-HCM5NR6G.js');
|
|
4
|
+
var chunk454D7NIH_js = require('./chunk-454D7NIH.js');
|
|
5
|
+
var React2 = require('react');
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n.default = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
|
|
26
|
+
|
|
27
|
+
var BuilderHeader = () => {
|
|
28
|
+
const { save } = chunkHCM5NR6G_js.useBuilder();
|
|
29
|
+
return /* @__PURE__ */ React2__namespace.createElement("div", { className: "sb:grid sb:grid-cols-3 sb:gap-4 sb:items-center sb:p-2 sb:shadow-lg sb:sticky sb:inset-x-0 sb:top-0 sb:bg-background sb:z-30" }, /* @__PURE__ */ React2__namespace.createElement("div", { className: "sb:flex sb:gap-4 sb:items-center" }, /* @__PURE__ */ React2__namespace.createElement(chunkHCM5NR6G_js.Button, { variant: "ghost", size: "sm", onClick: save }, "Opslaan")));
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
// src/components/builder-content.tsx
|
|
33
|
+
var BuilderContent = (props) => {
|
|
34
|
+
return /* @__PURE__ */ React2__namespace.createElement(chunkHCM5NR6G_js.BuilderProvider, { content: props.content }, /* @__PURE__ */ React2__namespace.createElement(BuilderContentInner, null));
|
|
35
|
+
};
|
|
36
|
+
var BuilderContentInner = () => {
|
|
37
|
+
const { content } = chunkHCM5NR6G_js.useBuilder();
|
|
38
|
+
return /* @__PURE__ */ React2__namespace.createElement(React2__namespace.Fragment, null, /* @__PURE__ */ React2__namespace.createElement(BuilderHeader, null), /* @__PURE__ */ React2__namespace.createElement(chunk454D7NIH_js.BuildContainer, { name: "root", edit: true, multiple: true, content }));
|
|
39
|
+
};
|
|
40
|
+
var builder_content_default = BuilderContent;
|
|
41
|
+
|
|
42
|
+
module.exports = builder_content_default;
|