@belonguniverseai/react-sdk 0.3.1 → 0.3.6

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 (60) hide show
  1. package/README.md +8 -8
  2. package/dist/api/client.d.ts +739 -240
  3. package/dist/browser/dom-bridge.d.ts +7 -0
  4. package/dist/browser/spa-navigate.d.ts +11 -2
  5. package/dist/component/BelongWidget.d.ts +7 -4
  6. package/dist/component/{arc-B7qwdj5Y.js → arc-6nY2VvBR.js} +2 -2
  7. package/dist/component/{architectureDiagram-3BPJPVTR-DHEfxvGE.js → architectureDiagram-3BPJPVTR-8NzFzSu-.js} +3 -3
  8. package/dist/component/{blockDiagram-GPEHLZMM-DO4_lzz8.js → blockDiagram-GPEHLZMM-DUEwMafH.js} +4 -4
  9. package/dist/component/{c4Diagram-AAUBKEIU-BFvKjeX3.js → c4Diagram-AAUBKEIU-CDD_6To7.js} +3 -3
  10. package/dist/component/{channel-Be_mlBXd.js → channel-B4iaYdVF.js} +2 -2
  11. package/dist/component/{chunk-2J33WTMH-CJ_JyxkR.js → chunk-2J33WTMH-DyOrhFxY.js} +2 -2
  12. package/dist/component/{chunk-4BX2VUAB-BRkYFXFB.js → chunk-4BX2VUAB-Bc66-Fjy.js} +2 -2
  13. package/dist/component/{chunk-55IACEB6-D42tDKAF.js → chunk-55IACEB6-CIN0g3JH.js} +2 -2
  14. package/dist/component/{chunk-727SXJPM-BYOAmsWs.js → chunk-727SXJPM-BGs-m5or.js} +6 -6
  15. package/dist/component/{chunk-AQP2D5EJ-CUNDVk4Z.js → chunk-AQP2D5EJ-CPlwnVcL.js} +4 -4
  16. package/dist/component/{chunk-FMBD7UC4-BQy-2qFB.js → chunk-FMBD7UC4-09viRWEH.js} +2 -2
  17. package/dist/component/{chunk-ND2GUHAM-ktW5vI-y.js → chunk-ND2GUHAM-BJo4K53f.js} +2 -2
  18. package/dist/component/{chunk-QZHKN3VN-CpSIn4cF.js → chunk-QZHKN3VN-DufugBok.js} +2 -2
  19. package/dist/component/{classDiagram-4FO5ZUOK-Cm-1lpI4.js → classDiagram-4FO5ZUOK-DfAygW-7.js} +3 -3
  20. package/dist/component/{classDiagram-v2-Q7XG4LA2-Cm-1lpI4.js → classDiagram-v2-Q7XG4LA2-DfAygW-7.js} +3 -3
  21. package/dist/component/{cose-bilkent-S5V4N54A-DqixgjwQ.js → cose-bilkent-S5V4N54A-CUKOuMcm.js} +2 -2
  22. package/dist/component/{dagre-BM42HDAG-Dv-P7Krm.js → dagre-BM42HDAG-BPRObW6r.js} +2 -2
  23. package/dist/component/{diagram-2AECGRRQ-kQGiD7lD.js → diagram-2AECGRRQ-Cxsg-pXz.js} +3 -3
  24. package/dist/component/{diagram-5GNKFQAL-DoQlkZPU.js → diagram-5GNKFQAL-U6L8NDef.js} +4 -4
  25. package/dist/component/{diagram-KO2AKTUF-CHX5UoXH.js → diagram-KO2AKTUF-BxN_e8Dk.js} +3 -3
  26. package/dist/component/{diagram-LMA3HP47-D5zUvZVG.js → diagram-LMA3HP47-Dbkb79LU.js} +3 -3
  27. package/dist/component/{diagram-OG6HWLK6-B4npobs8.js → diagram-OG6HWLK6-SASqlYMy.js} +4 -4
  28. package/dist/component/{erDiagram-TEJ5UH35-6z0JmU6m.js → erDiagram-TEJ5UH35-CDTBM9wY.js} +5 -5
  29. package/dist/component/{flowDiagram-I6XJVG4X-8Z4MRGGY.js → flowDiagram-I6XJVG4X-DugkNxCw.js} +7 -7
  30. package/dist/component/{ganttDiagram-6RSMTGT7-Dx9QEDPc.js → ganttDiagram-6RSMTGT7-D3FuGu21.js} +3 -3
  31. package/dist/component/{gitGraphDiagram-PVQCEYII-BUHDP_7X.js → gitGraphDiagram-PVQCEYII-DMKggb_e.js} +4 -4
  32. package/dist/component/{highlighted-body-OFNGDK62-DBPWZwq8.js → highlighted-body-OFNGDK62-Bnl71RgK.js} +2 -2
  33. package/dist/component/index.js +1 -1
  34. package/dist/component/{infoDiagram-5YYISTIA-aiJg6_Qm.js → infoDiagram-5YYISTIA-BaUo1fFU.js} +2 -2
  35. package/dist/component/{ishikawaDiagram-YF4QCWOH-DL-CzUme.js → ishikawaDiagram-YF4QCWOH-DofOP6uV.js} +2 -2
  36. package/dist/component/{journeyDiagram-JHISSGLW-CYDK3R_C.js → journeyDiagram-JHISSGLW-D-xl9LqQ.js} +5 -5
  37. package/dist/component/{kanban-definition-UN3LZRKU-9ZNt06Tr.js → kanban-definition-UN3LZRKU-Lfcidbpn.js} +3 -3
  38. package/dist/component/{linear-CtEJWK1N.js → linear-CtCl_nrs.js} +2 -2
  39. package/dist/component/{mermaid-GHXKKRXX-B00yz-X8.js → mermaid-GHXKKRXX-CnzRBGo3.js} +21689 -21547
  40. package/dist/component/{mindmap-definition-RKZ34NQL-CHx9Cg9G.js → mindmap-definition-RKZ34NQL-RZVaz4dV.js} +4 -4
  41. package/dist/component/{pieDiagram-4H26LBE5-B_dLoXY_.js → pieDiagram-4H26LBE5-CEwcfNwI.js} +4 -4
  42. package/dist/component/{quadrantDiagram-W4KKPZXB-DUL3njPs.js → quadrantDiagram-W4KKPZXB-BJBEiTgK.js} +3 -3
  43. package/dist/component/{requirementDiagram-4Y6WPE33-DJodprsF.js → requirementDiagram-4Y6WPE33-CVHog8O-.js} +4 -4
  44. package/dist/component/{sankeyDiagram-5OEKKPKP-2Nn_RQ9h.js → sankeyDiagram-5OEKKPKP-Cn1N0qrl.js} +2 -2
  45. package/dist/component/{sequenceDiagram-3UESZ5HK-xJk0kY4S.js → sequenceDiagram-3UESZ5HK-CRaBqdL0.js} +4 -4
  46. package/dist/component/{stateDiagram-AJRCARHV-D4QH9oBV.js → stateDiagram-AJRCARHV-9q4hv0ii.js} +3 -3
  47. package/dist/component/{stateDiagram-v2-BHNVJYJU-C6SRcIR1.js → stateDiagram-v2-BHNVJYJU-By7O-5eN.js} +3 -3
  48. package/dist/component/{timeline-definition-PNZ67QCA-SaEQyBaf.js → timeline-definition-PNZ67QCA-BWfxZI7f.js} +3 -3
  49. package/dist/component/{vennDiagram-CIIHVFJN-Bf8QpQpr.js → vennDiagram-CIIHVFJN-B_PQ6bU6.js} +2 -2
  50. package/dist/component/{wardleyDiagram-YWT4CUSO-B0wVwumO.js → wardleyDiagram-YWT4CUSO-P7tCzeA0.js} +3 -3
  51. package/dist/component/{xychartDiagram-2RQKCTM6-Dl5itjjz.js → xychartDiagram-2RQKCTM6-B4Z_Zrko.js} +3 -3
  52. package/dist/components/embed/BrandMark.d.ts +13 -4
  53. package/dist/components/embed/HeavyPreview.d.ts +6 -0
  54. package/dist/components/embed/preview-content-kind.d.ts +5 -5
  55. package/dist/embed/locale.d.ts +3 -1
  56. package/dist/embed/logo.d.ts +7 -1
  57. package/dist/i18n/messages/en.d.ts +1 -0
  58. package/dist/i18n/messages/surfaces/embedMisc.d.ts +3 -0
  59. package/package.json +1 -1
  60. package/dist/embed/universe-origin.d.ts +0 -24
package/README.md CHANGED
@@ -34,14 +34,14 @@ export function App() {
34
34
 
35
35
  ### Props
36
36
 
37
- | Prop | Type | Required | Description |
38
- | ---------------- | ----------------------- | -------- | ------------------------------------------------------------ |
39
- | `getToken` | `() => Promise<string>` | yes | Resolves a bearer token per request (DI auth; never cached). |
40
- | `backend` | `string` | yes | Belong backend base URL. |
41
- | `universeOrigin` | `string` | no | Canonical host origin for cross-origin navigation rebasing. |
42
- | `agentId` | `string` | no | Sent as `X-Belong-Agent-Id` on every request. |
43
- | `locale` | `BelongLocale` | no | Host/tenant default language (user choice still wins). |
44
- | `panelEnabled` | `boolean` | no | Whether the active workspace shows the assistant panel. |
37
+ | Prop | Type | Required | Description |
38
+ | ---------------- | ----------------------- | -------- | -------------------------------------------------------------------------------------------- |
39
+ | `getToken` | `() => Promise<string>` | yes | Resolves a bearer token per request (DI auth; never cached). |
40
+ | `backend` | `string` | yes | Belong backend base URL. |
41
+ | `universeOrigin` | `string` | no | **Deprecated, ignored.** Cross-origin navigation keys off `window.location`; safe to remove. |
42
+ | `agentId` | `string` | no | Sent as `X-Belong-Agent-Id` on every request. |
43
+ | `locale` | `BelongLocale` | no | Host/tenant default language (user choice still wins). |
44
+ | `panelEnabled` | `boolean` | no | Whether the active workspace shows the assistant panel. |
45
45
 
46
46
  The dock renders into its own shadow root, so its styles never leak into (or
47
47
  inherit from) your app.