@chaibuilder/sdk 0.1.20 → 0.1.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/dist/{AddBlocks-a2677462.js → AddBlocks-254892c5.js} +5 -6
- package/dist/AddBlocks-a86eec32.cjs +3 -0
- package/dist/BrandingOptions-10c05f85.cjs +1 -0
- package/dist/{BrandingOptions-a95cba65.js → BrandingOptions-81fb41d9.js} +5 -6
- package/dist/{CanvasArea-ab550e9c.js → CanvasArea-7e09f98e.js} +10 -11
- package/dist/{CanvasArea-f1083634.cjs → CanvasArea-a261378b.cjs} +6 -6
- package/dist/CurrentPage-b67bee36.cjs +1 -0
- package/dist/{CurrentPage-12828412.js → CurrentPage-ce5a51fa.js} +5 -6
- package/dist/Layers-4e859d15.cjs +1 -0
- package/dist/{Layers-c429fafe.js → Layers-b3a452cc.js} +48 -49
- package/dist/{MODIFIERS-c2e02614.js → MODIFIERS-2f19c314.js} +13 -7
- package/dist/MODIFIERS-4716c669.cjs +1 -0
- package/dist/MarkAsGlobalBlock-1a1039f8.cjs +1 -0
- package/dist/{MarkAsGlobalBlock-e49bcdc9.js → MarkAsGlobalBlock-7d9f5e11.js} +5 -6
- package/dist/PagesPanel-163b7771.cjs +1 -0
- package/dist/{PagesPanel-2435351c.js → PagesPanel-2559ea9e.js} +5 -6
- package/dist/ProjectPanel-e78931cd.cjs +1 -0
- package/dist/{ProjectPanel-e2860893.js → ProjectPanel-fab32a4f.js} +6 -7
- package/dist/{Settings-17279d90.js → Settings-a2638a6e.js} +82 -83
- package/dist/Settings-d9df3548.cjs +1 -0
- package/dist/SidePanels-1439e695.cjs +1 -0
- package/dist/{SidePanels-95d3316d.js → SidePanels-aa583e71.js} +6 -7
- package/dist/Topbar-c131ef83.cjs +1 -0
- package/dist/{Topbar-8d1f6f53.js → Topbar-ef648e78.js} +15 -16
- package/dist/add-page-modal-7d645bf7.cjs +1 -0
- package/dist/{add-page-modal-b3c84063.js → add-page-modal-8c9dad17.js} +5 -6
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +4 -1
- package/dist/core.js +56 -57
- package/dist/delete-page-modal-19001f8d.cjs +1 -0
- package/dist/{delete-page-modal-f9e9eb48.js → delete-page-modal-ec091c19.js} +8 -9
- package/dist/functions-83b1de8d.js +1106 -0
- package/dist/functions-f84d5e2a.cjs +2 -0
- package/dist/{html-to-json-8397fab5.js → html-to-json-45e0e3b5.js} +1 -1
- package/dist/{html-to-json-78bfa1f3.cjs → html-to-json-aadcbf66.cjs} +1 -1
- package/dist/{index-2bda0975.cjs → index-2f61b040.cjs} +40 -40
- package/dist/{index-397e45a0.js → index-e6e838ec.js} +111 -112
- package/dist/lib.cjs +1 -1
- package/dist/lib.d.ts +38 -0
- package/dist/lib.js +56 -45
- package/dist/page-viewer-65e2ca1a.cjs +1 -0
- package/dist/{page-viewer-9c46bbbf.js → page-viewer-dec9a6d2.js} +16 -17
- package/dist/{project-general-setting-a925e417.js → project-general-setting-067afe22.js} +5 -6
- package/dist/project-general-setting-c7d95cc0.cjs +1 -0
- package/dist/render.cjs +1 -2
- package/dist/render.d.ts +5 -16
- package/dist/render.js +86 -1178
- package/dist/single-page-detail-14e7a650.cjs +1 -0
- package/dist/{single-page-detail-60eae215.js → single-page-detail-f110be66.js} +6 -7
- package/package.json +1 -1
- package/dist/AddBlocks-48294c91.cjs +0 -3
- package/dist/BrandingOptions-c2922757.cjs +0 -1
- package/dist/CurrentPage-4d4a026f.cjs +0 -1
- package/dist/Layers-7d1616f9.cjs +0 -1
- package/dist/MODIFIERS-70fef873.cjs +0 -1
- package/dist/MarkAsGlobalBlock-43d26539.cjs +0 -1
- package/dist/PagesPanel-e89d30f7.cjs +0 -1
- package/dist/ProjectPanel-b110dffd.cjs +0 -1
- package/dist/Settings-632f6372.cjs +0 -1
- package/dist/SidePanels-b8fe9623.cjs +0 -1
- package/dist/Topbar-e7e27347.cjs +0 -1
- package/dist/_commonjsHelpers-10dfc225.js +0 -8
- package/dist/_commonjsHelpers-87b0abe8.cjs +0 -1
- package/dist/add-page-modal-79f99652.cjs +0 -1
- package/dist/delete-page-modal-bfe98708.cjs +0 -1
- package/dist/page-viewer-1763df5e.cjs +0 -1
- package/dist/project-general-setting-08e5996d.cjs +0 -1
- package/dist/single-page-detail-23bfb732.cjs +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { j as e } from "./jsx-runtime-944c88e2.js";
|
|
2
2
|
import { B as l } from "./useBuilderProp-81a14920.js";
|
|
3
|
-
import { A as n, a as d, b as
|
|
4
|
-
import { a4 as h } from "./index-
|
|
3
|
+
import { A as n, a as d, b as a, e as p, f as c, h as u } from "./alert-dialog-ee98f47e.js";
|
|
4
|
+
import { a4 as h } from "./index-e6e838ec.js";
|
|
5
5
|
import { TrashIcon as x } from "@radix-ui/react-icons";
|
|
6
6
|
import "react";
|
|
7
7
|
import "@radix-ui/react-slot";
|
|
@@ -14,7 +14,7 @@ import "@radix-ui/react-toast";
|
|
|
14
14
|
import "jotai";
|
|
15
15
|
import "lodash";
|
|
16
16
|
import "@radix-ui/react-alert-dialog";
|
|
17
|
-
import "./
|
|
17
|
+
import "./MODIFIERS-2f19c314.js";
|
|
18
18
|
import "@radix-ui/react-scroll-area";
|
|
19
19
|
import "react-dom";
|
|
20
20
|
import "@floating-ui/react-dom";
|
|
@@ -25,15 +25,14 @@ import "react-dnd";
|
|
|
25
25
|
import "@minoru/react-dnd-treeview";
|
|
26
26
|
import "react-hotkeys-hook";
|
|
27
27
|
import "flat-to-nested";
|
|
28
|
-
import "./html-to-json-
|
|
29
|
-
import "./MODIFIERS-c2e02614.js";
|
|
28
|
+
import "./html-to-json-45e0e3b5.js";
|
|
30
29
|
import "himalaya";
|
|
31
30
|
import "redux-undo";
|
|
32
31
|
import "@react-hookz/web";
|
|
33
32
|
import "@chaibuilder/blocks";
|
|
34
33
|
import "lucide-react";
|
|
35
34
|
import "sonner";
|
|
36
|
-
const
|
|
35
|
+
const W = ({ pageData: r, projectData: i }) => {
|
|
37
36
|
const s = {}, t = h(), o = r.uuid === i.homepage, m = () => {
|
|
38
37
|
t.mutate(r, {
|
|
39
38
|
onSuccess: () => {
|
|
@@ -49,8 +48,8 @@ const X = ({ pageData: r, projectData: i }) => {
|
|
|
49
48
|
children: /* @__PURE__ */ e.jsx(x, {})
|
|
50
49
|
}
|
|
51
50
|
) }),
|
|
52
|
-
/* @__PURE__ */ e.jsxs(
|
|
53
|
-
/* @__PURE__ */ e.jsxs(
|
|
51
|
+
/* @__PURE__ */ e.jsxs(a, { children: [
|
|
52
|
+
/* @__PURE__ */ e.jsxs(p, { children: [
|
|
54
53
|
"Are you sure you want to delete ",
|
|
55
54
|
/* @__PURE__ */ e.jsx("i", { className: "text-red-500", children: r.name }),
|
|
56
55
|
" page?"
|
|
@@ -64,5 +63,5 @@ const X = ({ pageData: r, projectData: i }) => {
|
|
|
64
63
|
] });
|
|
65
64
|
};
|
|
66
65
|
export {
|
|
67
|
-
|
|
66
|
+
W as default
|
|
68
67
|
};
|