@belonguniverseai/react-sdk 0.6.2 → 0.6.4

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.
Files changed (81) hide show
  1. package/dist/api/agent-grants.d.ts +23 -8
  2. package/dist/api/client.d.ts +53 -4
  3. package/dist/api/queries.d.ts +2 -0
  4. package/dist/app/call-summary.d.ts +30 -0
  5. package/dist/component/abnfDiagram-N423BO3Z-DR3fMT7g.js +90 -0
  6. package/dist/component/arc-DJkYOSuJ.js +86 -0
  7. package/dist/component/{architectureDiagram-3BPJPVTR-DYcaPx2M.js → architectureDiagram-T3A2C74G-BIp4IBPk.js} +1872 -1785
  8. package/dist/component/{blockDiagram-GPEHLZMM-BdjruLO5.js → blockDiagram-VBNYF7ZC-BqryGqC6.js} +895 -894
  9. package/dist/component/{c4Diagram-AAUBKEIU-Bd2ebSgB.js → c4Diagram-5PPSVZJV-GktlF-Di.js} +3 -3
  10. package/dist/component/{channel-CYFijF_t.js → channel-3CusDaXb.js} +2 -2
  11. package/dist/component/{chunk-ND2GUHAM-OX1-DIU1.js → chunk-2GRJ4B5K-DMTs6j_c.js} +5 -5
  12. package/dist/component/{chunk-QZHKN3VN-DLQ8oUCc.js → chunk-2Q5K7J3B-CIU34hPH.js} +2 -2
  13. package/dist/component/{chunk-AQP2D5EJ-D4G4syYu.js → chunk-5RXB4S5H-Ds3vF1Mv.js} +399 -378
  14. package/dist/component/{chunk-FMBD7UC4-CbRxWx_A.js → chunk-5VM5RSS4-DGxDkIm6.js} +2 -2
  15. package/dist/component/chunk-6Q2QTUOP-BI8oZt98.js +673 -0
  16. package/dist/component/{chunk-727SXJPM-A5r5oL1_.js → chunk-GF5L2VYU-D-36xUd5.js} +244 -239
  17. package/dist/component/{chunk-4BX2VUAB-DVpS0I_p.js → chunk-JWPE2WC7-8N_wQ762.js} +2 -2
  18. package/dist/component/{chunk-2J33WTMH-B06Y_xVy.js → chunk-KBJHAD2P-ChxxpkWc.js} +2 -2
  19. package/dist/component/chunk-RYQCIY6F-CSY-95OP.js +316 -0
  20. package/dist/component/{chunk-55IACEB6-DmZctFkK.js → chunk-XXDRQBXY-BQd9yyE1.js} +2 -2
  21. package/dist/component/{classDiagram-4FO5ZUOK-4S9mdFC1.js → classDiagram-JCYQIIEL-BOq63iUL.js} +3 -3
  22. package/dist/component/{classDiagram-v2-Q7XG4LA2-4S9mdFC1.js → classDiagram-v2-OCEON4UE-BOq63iUL.js} +3 -3
  23. package/dist/component/{cose-bilkent-S5V4N54A-BIrVaakt.js → cose-bilkent-JH36ORCC-B9x8cp5w.js} +2 -2
  24. package/dist/component/{wardley-L42UT6IY-HA1eSIS_.js → cynefin-VYW2F7L2-DAyxamLw.js} +9199 -7918
  25. package/dist/component/cynefinDiagram-MW4NZA55-OF6l99SS.js +302 -0
  26. package/dist/component/dagre-VZM6K2ZE-CELO1hFb.js +343 -0
  27. package/dist/component/diagram-7IWD3JNH-COzvm6E2.js +353 -0
  28. package/dist/component/{diagram-KO2AKTUF-Da1E68Eo.js → diagram-B4RE2ZJO-DR9KMRGw.js} +24 -24
  29. package/dist/component/{diagram-LMA3HP47-dRbk5sBa.js → diagram-LBJQPF4R-D47Zqm-k.js} +23 -23
  30. package/dist/component/{diagram-OG6HWLK6-CcKT8mhn.js → diagram-Q27KOJAE-Key1bw_Y.js} +197 -197
  31. package/dist/component/diagram-UB23O5K3-Cxf-sZnK.js +222 -0
  32. package/dist/component/ebnfDiagram-BXEA7PRR-C8uURt_x.js +112 -0
  33. package/dist/component/{erDiagram-TEJ5UH35-3ATYT9J-.js → erDiagram-JOGREHBK-CpCxe8Ib.js} +142 -131
  34. package/dist/component/{flowDiagram-I6XJVG4X-D9PLm9Od.js → flowDiagram-UKHOOZJN-urFG2I71.js} +268 -258
  35. package/dist/component/ganttDiagram-PKOTCBZU-8nA9faYf.js +2714 -0
  36. package/dist/component/{gitGraphDiagram-PVQCEYII-13gVhAGc.js → gitGraphDiagram-DS77QQ5N-u4cbNW8o.js} +33 -33
  37. package/dist/component/{graph-BZLHvygk.js → graph-CWpEkm4G.js} +35 -35
  38. package/dist/component/{highlighted-body-OFNGDK62-DCxRI4UV.js → highlighted-body-OFNGDK62-Bo-15uvJ.js} +2 -2
  39. package/dist/component/index.js +2 -2
  40. package/dist/component/{infoDiagram-5YYISTIA-DymxA7AN.js → infoDiagram-6WML65LV-ZAv4gZpA.js} +4 -4
  41. package/dist/component/{ishikawaDiagram-YF4QCWOH-C3sTn76C.js → ishikawaDiagram-WSZJBQD7-CvB6evSz.js} +27 -27
  42. package/dist/component/{journeyDiagram-JHISSGLW-Cq0hOAfJ.js → journeyDiagram-NVQOT4AX-M5BRYuPr.js} +5 -5
  43. package/dist/component/{kanban-definition-UN3LZRKU-5tBWjkp7.js → kanban-definition-27J2QSJJ-LL6GkmVe.js} +35 -35
  44. package/dist/component/layout-Br2UjHRU.js +1522 -0
  45. package/dist/component/{linear-BT4blD8s.js → linear-DVg61V66.js} +13 -13
  46. package/dist/component/map-CdwokNh2.js +227 -0
  47. package/dist/component/{mermaid-GHXKKRXX-DXPXjnb7.js → mermaid-GHXKKRXX-C2L7fCIM.js} +29577 -29128
  48. package/dist/component/{mindmap-definition-RKZ34NQL-DO-OuAQQ.js → mindmap-definition-FAOFIHXS-BBZzsLh7.js} +26 -26
  49. package/dist/component/pegDiagram-VL7TDLO6-BEG86cY8.js +98 -0
  50. package/dist/component/pieDiagram-7S7Q4E2Y-BTkrNjAi.js +210 -0
  51. package/dist/component/{quadrantDiagram-W4KKPZXB-CaJWg9ep.js → quadrantDiagram-CIZ2JOQS-BsjBAd4w.js} +14 -15
  52. package/dist/component/railroadDiagram-AXF67PYL-DuE0ZFxj.js +80 -0
  53. package/dist/component/{requirementDiagram-4Y6WPE33-CmZrtZqe.js → requirementDiagram-LRYGKXZP-CcshEEMy.js} +15 -15
  54. package/dist/component/{sankeyDiagram-5OEKKPKP-Cp95M1aj.js → sankeyDiagram-W5VNT64P-CFn011ig.js} +2 -2
  55. package/dist/component/{sequenceDiagram-3UESZ5HK-C0x0WvhR.js → sequenceDiagram-SI44F4Z6-DmMZNJDw.js} +960 -963
  56. package/dist/component/sizeCapture-X5ZJPWSS-Ce4PhIAO.js +49 -0
  57. package/dist/component/{stateDiagram-AJRCARHV-H10vaGL3.js → stateDiagram-OKZ733FA-DDVzQKaO.js} +5 -5
  58. package/dist/component/{stateDiagram-v2-BHNVJYJU-rj7ljkc-.js → stateDiagram-v2-UEYNNEHI-DeeW8PDA.js} +3 -3
  59. package/dist/component/swimlanes-SLNWSIFB-CZh2_vzg.js +5335 -0
  60. package/dist/component/swimlanesDiagram-ULZ7WXOC-Wb0Ri7qR.js +16 -0
  61. package/dist/component/{timeline-definition-PNZ67QCA-Cil1QaqZ.js → timeline-definition-Z64GVDOM-rfiLwdTR.js} +15 -15
  62. package/dist/component/vennDiagram-T6HMQDX7-D8l7hqNb.js +1581 -0
  63. package/dist/component/{wardleyDiagram-YWT4CUSO-Xq5Hnmio.js → wardleyDiagram-T6FBY63Y-7YqmpmtC.js} +15 -15
  64. package/dist/component/{xychartDiagram-2RQKCTM6-dinwR4Zm.js → xychartDiagram-ELKLHX3M-Dx2ECqt8.js} +464 -418
  65. package/dist/embed/voice/line-slots.d.ts +37 -2
  66. package/dist/embed/voice-call.d.ts +12 -0
  67. package/dist/i18n/messages/en.d.ts +1 -2
  68. package/dist/lib/web-storage.d.ts +8 -0
  69. package/dist/stream/belong-chat-transport.d.ts +1 -0
  70. package/dist/stream/belong-data-parts.d.ts +2 -0
  71. package/dist/stream/stream-state-store.d.ts +13 -0
  72. package/dist/types/public.d.ts +3 -0
  73. package/package.json +1 -1
  74. package/dist/component/arc-TLcl3N8_.js +0 -86
  75. package/dist/component/dagre-BM42HDAG-BoPUzTvD.js +0 -448
  76. package/dist/component/diagram-2AECGRRQ-PIXCGxIt.js +0 -220
  77. package/dist/component/diagram-5GNKFQAL-CbJxbGBh.js +0 -126
  78. package/dist/component/ganttDiagram-6RSMTGT7-F_XUzD1p.js +0 -2709
  79. package/dist/component/layout-Bu6nRdWm.js +0 -1731
  80. package/dist/component/pieDiagram-4H26LBE5-BkEktPwZ.js +0 -166
  81. package/dist/component/vennDiagram-CIIHVFJN-Dk8PKmfb.js +0 -1560
@@ -1,126 +0,0 @@
1
- import { q as T, b as x, s as f, t as C, g as B, a as y, _ as s, I as u, l as k, N as V, e as N, G as _, B as S, K as D } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
2
- import { p as I } from "./chunk-4BX2VUAB-DVpS0I_p.js";
3
- import { I as $ } from "./chunk-QZHKN3VN-DLQ8oUCc.js";
4
- import { p as A } from "./wardley-L42UT6IY-HA1eSIS_.js";
5
- globalThis.process = globalThis.process || { env: {} };
6
- globalThis.global = globalThis.global || globalThis;
7
- var d = new $(() => ({
8
- cnt: 1,
9
- stack: [
10
- {
11
- id: 0,
12
- level: -1,
13
- name: "/",
14
- children: []
15
- }
16
- ]
17
- })), X = /* @__PURE__ */ s(() => {
18
- d.reset(), S();
19
- }, "clear"), z = /* @__PURE__ */ s(() => d.records.stack[0], "getRoot"), H = /* @__PURE__ */ s(() => d.records.cnt, "getCount"), L = D.treeView, R = /* @__PURE__ */ s(() => u(L, _().treeView), "getConfig"), W = /* @__PURE__ */ s((e, t) => {
20
- for (; e <= d.records.stack[d.records.stack.length - 1].level; )
21
- d.records.stack.pop();
22
- const a = {
23
- id: d.records.cnt++,
24
- level: e,
25
- name: t,
26
- children: []
27
- };
28
- d.records.stack[d.records.stack.length - 1].children.push(a), d.records.stack.push(a);
29
- }, "addNode"), E = {
30
- clear: X,
31
- addNode: W,
32
- getRoot: z,
33
- getCount: H,
34
- getConfig: R,
35
- getAccTitle: y,
36
- getAccDescription: B,
37
- getDiagramTitle: C,
38
- setAccDescription: f,
39
- setAccTitle: x,
40
- setDiagramTitle: T
41
- }, w = E, M = /* @__PURE__ */ s((e) => {
42
- I(e, w), e.nodes.map((t) => w.addNode(t.indent ? parseInt(t.indent) : 0, t.name));
43
- }, "populate"), F = {
44
- parse: /* @__PURE__ */ s(async (e) => {
45
- const t = await A("treeView", e);
46
- k.debug(t), M(t);
47
- }, "parse")
48
- }, Y = /* @__PURE__ */ s((e, t, a, o, l) => {
49
- const c = o.append("text").text(a.name).attr("dominant-baseline", "middle").attr("class", "treeView-node-label"), { height: g, width: r } = c.node().getBBox(), n = g + l.paddingY * 2, i = r + l.paddingX * 2;
50
- c.attr("x", e + l.paddingX), c.attr("y", t + n / 2), a.BBox = {
51
- x: e,
52
- y: t,
53
- width: i,
54
- height: n
55
- };
56
- }, "positionLabel"), m = /* @__PURE__ */ s((e, t, a, o, l, c) => e.append("line").attr("x1", t).attr("y1", a).attr("x2", o).attr("y2", l).attr("stroke-width", c).attr("class", "treeView-node-line"), "positionLine"), q = /* @__PURE__ */ s((e, t, a) => {
57
- let o = 0, l = 0;
58
- const c = /* @__PURE__ */ s((r, n, i, p) => {
59
- const b = p * (i.rowIndent + i.paddingX);
60
- Y(b, o, n, r, i);
61
- const { height: h, width: v } = n.BBox;
62
- m(
63
- r,
64
- b - i.rowIndent,
65
- o + h / 2,
66
- b,
67
- o + h / 2,
68
- i.lineThickness
69
- ), l = Math.max(l, b + v), o += h;
70
- }, "drawNode"), g = /* @__PURE__ */ s((r, n = 0) => {
71
- c(e, r, a, n), r.children.forEach((h) => {
72
- g(h, n + 1);
73
- });
74
- const { x: i, y: p, height: b } = r.BBox;
75
- if (r.children.length) {
76
- const { y: h, height: v } = r.children[r.children.length - 1].BBox;
77
- m(
78
- e,
79
- i + a.paddingX,
80
- p + b,
81
- i + a.paddingX,
82
- h + v / 2 + a.lineThickness / 2,
83
- a.lineThickness
84
- );
85
- }
86
- }, "processNode");
87
- return g(t), { totalHeight: o, totalWidth: l };
88
- }, "drawTree"), G = /* @__PURE__ */ s((e, t, a, o) => {
89
- k.debug(`Rendering treeView diagram
90
- ` + e);
91
- const l = o.db, c = l.getRoot(), g = l.getConfig(), r = V(t), n = r.append("g");
92
- n.attr("class", "tree-view");
93
- const { totalHeight: i, totalWidth: p } = q(n, c, g);
94
- r.attr("viewBox", `-${g.lineThickness / 2} 0 ${p} ${i}`), N(r, i, p, g.useMaxWidth);
95
- }, "draw"), K = {
96
- draw: G
97
- }, j = K, J = {
98
- labelFontSize: "16px",
99
- labelColor: "black",
100
- lineColor: "black"
101
- }, O = /* @__PURE__ */ s(({
102
- treeView: e
103
- }) => {
104
- const { labelFontSize: t, labelColor: a, lineColor: o } = u(
105
- J,
106
- e
107
- );
108
- return `
109
- .treeView-node-label {
110
- font-size: ${t};
111
- fill: ${a};
112
- }
113
- .treeView-node-line {
114
- stroke: ${o};
115
- }
116
- `;
117
- }, "styles"), P = O, te = {
118
- db: w,
119
- renderer: j,
120
- parser: F,
121
- styles: P
122
- };
123
- export {
124
- te as diagram
125
- };
126
- //# sourceMappingURL=diagram-5GNKFQAL-CbJxbGBh.js.map