@chaibuilder/sdk 1.2.114 → 1.2.116
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/README.md +2 -6
- package/dist/CodeEditor-Bl58eelM.cjs +1 -0
- package/dist/CodeEditor-C1ImRmIp.js +77 -0
- package/dist/Topbar-BpMZTZKz.cjs +1 -0
- package/dist/Topbar-tRFEAMbG.js +113 -0
- package/dist/UnsplashImages-BXarNGDE.cjs +1 -0
- package/dist/{UnsplashImages-chQ74Yzq.js → UnsplashImages-Ds_3IihK.js} +38 -90
- package/dist/UploadImages-DPMndPNm.cjs +1 -0
- package/dist/UploadImages-VZ7-y0rA.js +101 -0
- package/dist/cdn.js +25283 -0
- package/dist/{context-menu-FPX89OKr.js → context-menu-BbqLeYFX.js} +1 -1
- package/dist/{context-menu-sQn7ryJ6.cjs → context-menu-DfAXjmc8.cjs} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +50 -17
- package/dist/core.js +74 -127
- package/dist/{iconBase-Ief2hJUZ.js → iconBase-DHfFLkem.js} +6 -12
- package/dist/index-B_be_Or7.cjs +63 -0
- package/dist/{index-IZpHf_8d.js → index-Bn53BEJy.js} +1631 -1658
- package/dist/jsx-runtime-BYECrxsp.cjs +30 -0
- package/dist/{jsx-runtime-Sp0orL4X.js → jsx-runtime-DGlMoOmv.js} +241 -242
- package/dist/{plugin-UiUFs2fK.js → plugin-BOEoR5jk.js} +1 -1
- package/dist/{plugin-xOpS-UNV.cjs → plugin-COMQcYlW.cjs} +1 -1
- package/dist/{plugin-f6SDZ_Or.js → plugin-Dw854zFv.js} +7 -8
- package/dist/{plugin-jum1MjXp.cjs → plugin-I9XxF65G.cjs} +1 -1
- package/dist/render.cjs +1 -1
- package/dist/render.js +10 -14
- package/dist/runtime.cjs +1 -1
- package/dist/runtime.js +12 -13
- package/dist/style.css +1 -1
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.js +5 -7
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +3 -6
- package/dist/ui.js +145 -163
- package/dist/web-blocks.cjs +19 -2
- package/dist/web-blocks.js +116 -102
- package/package.json +3 -1
- package/dist/CodeEditor-BWHGysUw.cjs +0 -1
- package/dist/CodeEditor-q9he9IC8.js +0 -129
- package/dist/Topbar-86JxE7Uw.js +0 -163
- package/dist/Topbar-8LnyJF7S.cjs +0 -1
- package/dist/UnsplashImages-MLEjengP.cjs +0 -1
- package/dist/UploadImages--77rHMEx.cjs +0 -1
- package/dist/UploadImages-Auy8ZPBl.js +0 -153
- package/dist/index-KsZZcMSu.cjs +0 -63
- package/dist/jsx-runtime-JYMCiFoE.cjs +0 -27
- /package/dist/{STRINGS-Xxstm-7I.js → STRINGS-eiGM83kj.js} +0 -0
- /package/dist/{STRINGS-Yl7cSWDc.cjs → STRINGS-ew98weUe.cjs} +0 -0
- /package/dist/{controls-p9IwFnPx.cjs → controls-C4n5ycp4.cjs} +0 -0
- /package/dist/{controls-lEwMTdPQ.js → controls-Com-zYCq.js} +0 -0
- /package/dist/{iconBase-aZzpqff_.cjs → iconBase-Cn2BsTrq.cjs} +0 -0
|
@@ -4,8 +4,7 @@ import { twMerge as O } from "tailwind-merge";
|
|
|
4
4
|
import a from "react";
|
|
5
5
|
function D(e = 6, t = "abcdefghijklmnopqrstuvwxyzABCD") {
|
|
6
6
|
let r = "";
|
|
7
|
-
for (let n = e; n > 0; --n)
|
|
8
|
-
r += t[Math.floor(Math.random() * t.length)];
|
|
7
|
+
for (let n = e; n > 0; --n) r += t[Math.floor(Math.random() * t.length)];
|
|
9
8
|
return r;
|
|
10
9
|
}
|
|
11
10
|
const N = (e) => e >= 1536 ? "2XL" : e >= 1280 ? "XL" : e >= 1024 ? "LG" : e >= 768 ? "MD" : e >= 640 ? "SM" : "XS", z = (...e) => O(v(e));
|
|
@@ -17,8 +16,7 @@ var p = {
|
|
|
17
16
|
attr: void 0
|
|
18
17
|
}, s = a.createContext && /* @__PURE__ */ a.createContext(p), y = ["attr", "size", "title"];
|
|
19
18
|
function d(e, t) {
|
|
20
|
-
if (e == null)
|
|
21
|
-
return {};
|
|
19
|
+
if (e == null) return {};
|
|
22
20
|
var r = j(e, t), n, i;
|
|
23
21
|
if (Object.getOwnPropertySymbols) {
|
|
24
22
|
var o = Object.getOwnPropertySymbols(e);
|
|
@@ -28,13 +26,11 @@ function d(e, t) {
|
|
|
28
26
|
return r;
|
|
29
27
|
}
|
|
30
28
|
function j(e, t) {
|
|
31
|
-
if (e == null)
|
|
32
|
-
return {};
|
|
29
|
+
if (e == null) return {};
|
|
33
30
|
var r = {};
|
|
34
31
|
for (var n in e)
|
|
35
32
|
if (Object.prototype.hasOwnProperty.call(e, n)) {
|
|
36
|
-
if (t.indexOf(n) >= 0)
|
|
37
|
-
continue;
|
|
33
|
+
if (t.indexOf(n) >= 0) continue;
|
|
38
34
|
r[n] = e[n];
|
|
39
35
|
}
|
|
40
36
|
return r;
|
|
@@ -78,13 +74,11 @@ function h(e) {
|
|
|
78
74
|
return typeof t == "symbol" ? t : t + "";
|
|
79
75
|
}
|
|
80
76
|
function w(e, t) {
|
|
81
|
-
if (typeof e != "object" || !e)
|
|
82
|
-
return e;
|
|
77
|
+
if (typeof e != "object" || !e) return e;
|
|
83
78
|
var r = e[Symbol.toPrimitive];
|
|
84
79
|
if (r !== void 0) {
|
|
85
80
|
var n = r.call(e, t || "default");
|
|
86
|
-
if (typeof n != "object")
|
|
87
|
-
return n;
|
|
81
|
+
if (typeof n != "object") return n;
|
|
88
82
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
89
83
|
}
|
|
90
84
|
return (t === "string" ? String : Number)(e);
|