@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
@@ -0,0 +1,16 @@
1
+ import { c as e, s as a } from "./flowDiagram-UKHOOZJN-urFG2I71.js";
2
+ import { _ as s } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
3
+ globalThis.process = globalThis.process || { env: {} };
4
+ globalThis.global = globalThis.global || globalThis;
5
+ var t = /* @__PURE__ */ s((l) => `${a(l)}
6
+ .swimlane.cluster rect {
7
+ stroke: ${l.clusterBorder} !important;
8
+ }
9
+ [data-look="neo"].cluster rect {
10
+ filter: none;
11
+ }
12
+ `, "getStyles"), r = t, g = e({ defaultLayout: "swimlane", styles: r });
13
+ export {
14
+ g as diagram
15
+ };
16
+ //# sourceMappingURL=swimlanesDiagram-ULZ7WXOC-Wb0Ri7qR.js.map
@@ -1,5 +1,5 @@
1
- import { _ as o, G as gt, af as Rt, ag as Ct, ah as Wt, c as pt, l as E, N as Pt, a7 as Bt, ai as ft, d as U, F as Vt, aj as Ft, B as zt } from "./mermaid-GHXKKRXX-DXPXjnb7.js";
2
- import { d as ot } from "./arc-TLcl3N8_.js";
1
+ import { _ as o, z as gt, ad as Rt, ae as Ct, af as Wt, c as pt, l as E, G as Pt, a4 as Bt, ag as ft, d as U, u as Vt, ah as Ft, q as zt } from "./mermaid-GHXKKRXX-C2L7fCIM.js";
2
+ import { d as ot } from "./arc-DJkYOSuJ.js";
3
3
  globalThis.process = globalThis.process || { env: {} };
4
4
  globalThis.global = globalThis.global || globalThis;
5
5
  var tt = (function() {
@@ -380,8 +380,8 @@ Vt(yt, {
380
380
  getTasks: () => St,
381
381
  setDirection: () => vt
382
382
  });
383
- var D = "", mt = 0, nt = "LR", rt = [], q = [], j = [], xt = /* @__PURE__ */ o(() => Ft, "getCommonDb"), kt = /* @__PURE__ */ o(function() {
384
- rt.length = 0, q.length = 0, D = "", j.length = 0, nt = "LR", zt();
383
+ var D = "", mt = 0, nt = "LR", rt = [], j = [], q = [], xt = /* @__PURE__ */ o(() => Ft, "getCommonDb"), kt = /* @__PURE__ */ o(function() {
384
+ rt.length = 0, j.length = 0, D = "", q.length = 0, nt = "LR", zt();
385
385
  }, "clear"), vt = /* @__PURE__ */ o(function(e) {
386
386
  nt = e;
387
387
  }, "setDirection"), bt = /* @__PURE__ */ o(function() {
@@ -396,7 +396,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], j = [], xt = /* @__PURE__ */ o((
396
396
  let n = 0;
397
397
  for (; !e && n < t; )
398
398
  e = lt(), n++;
399
- return q.push(...j), q;
399
+ return j.push(...q), j;
400
400
  }, "getTasks"), Et = /* @__PURE__ */ o(function(e, t, n) {
401
401
  const i = {
402
402
  id: mt++,
@@ -407,9 +407,9 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], j = [], xt = /* @__PURE__ */ o((
407
407
  //if event is defined, then add it the events array
408
408
  events: n ? [n] : []
409
409
  };
410
- j.push(i);
410
+ q.push(i);
411
411
  }, "addTask"), Tt = /* @__PURE__ */ o(function(e) {
412
- j.find((n) => n.id === mt - 1).events.push(e);
412
+ q.find((n) => n.id === mt - 1).events.push(e);
413
413
  }, "addEvent"), $t = /* @__PURE__ */ o(function(e) {
414
414
  const t = {
415
415
  section: D,
@@ -418,13 +418,13 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], j = [], xt = /* @__PURE__ */ o((
418
418
  task: e,
419
419
  classes: []
420
420
  };
421
- q.push(t);
421
+ j.push(t);
422
422
  }, "addTaskOrg"), lt = /* @__PURE__ */ o(function() {
423
423
  const e = /* @__PURE__ */ o(function(n) {
424
- return j[n].processed;
424
+ return q[n].processed;
425
425
  }, "compileTask");
426
426
  let t = !0;
427
- for (const [n, i] of j.entries())
427
+ for (const [n, i] of q.entries())
428
428
  e(n), t = t && i.processed;
429
429
  return t;
430
430
  }, "compileTasks"), Gt = {
@@ -458,7 +458,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], j = [], xt = /* @__PURE__ */ o((
458
458
  f.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
459
459
  }
460
460
  return o(a, "ambivalent"), t.score > 3 ? h(r) : t.score < 3 ? l(r) : a(r), i;
461
- }, "drawFace"), jt = /* @__PURE__ */ o(function(e, t) {
461
+ }, "drawFace"), qt = /* @__PURE__ */ o(function(e, t) {
462
462
  const n = e.append("circle");
463
463
  return n.attr("cx", t.cx), n.attr("cy", t.cy), n.attr("class", "actor-" + t.pos), n.attr("fill", t.fill), n.attr("stroke", t.stroke), n.attr("r", t.r), n.class !== void 0 && n.attr("class", n.class), t.title !== void 0 && n.append("title").text(t.title), n;
464
464
  }, "drawCircle"), It = /* @__PURE__ */ o(function(e, t) {
@@ -514,7 +514,7 @@ var D = "", mt = 0, nt = "LR", rt = [], q = [], j = [], xt = /* @__PURE__ */ o((
514
514
  fill: t.fill,
515
515
  class: "rect"
516
516
  }).lower();
517
- }, "drawBackgroundRect"), qt = /* @__PURE__ */ o(function() {
517
+ }, "drawBackgroundRect"), jt = /* @__PURE__ */ o(function() {
518
518
  return {
519
519
  x: 0,
520
520
  y: 0,
@@ -599,13 +599,13 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
599
599
  e.append("path").attr("id", i + "-node-" + Nt++).attr("class", "node-bkg node-" + t.type).attr("d", f), h?.includes("redux") || e.append("line").attr("class", "node-line-" + n).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
600
600
  }, "defaultBkg"), M = {
601
601
  drawRect: J,
602
- drawCircle: jt,
602
+ drawCircle: qt,
603
603
  drawSection: Ut,
604
604
  drawText: It,
605
605
  drawLabel: Kt,
606
606
  drawTask: Xt,
607
607
  drawBackgroundRect: Zt,
608
- getTextObj: qt,
608
+ getTextObj: jt,
609
609
  getNoteRect: st,
610
610
  initGraphics: Jt,
611
611
  drawNode: Qt,
@@ -1055,4 +1055,4 @@ var Qt = /* @__PURE__ */ o(function(e, t, n, i, r, h = !1) {
1055
1055
  export {
1056
1056
  me as diagram
1057
1057
  };
1058
- //# sourceMappingURL=timeline-definition-PNZ67QCA-Cil1QaqZ.js.map
1058
+ //# sourceMappingURL=timeline-definition-Z64GVDOM-rfiLwdTR.js.map