@spteck/react-controls-v2 2.2.5 → 2.2.7

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 (111) hide show
  1. package/README.md +41 -0
  2. package/dist/{_arrayEach-D4zuu96h.cjs → _arrayEach-CAQQp4Pa.cjs} +2 -2
  3. package/dist/{_arrayEach-CqFZfCII.js → _arrayEach-Cwv-C9Og.js} +2 -2
  4. package/dist/{arc-aQvhbW8i.js → arc-Bw6DhSi8.js} +2 -2
  5. package/dist/{arc-DVsLnFmY.cjs → arc-okIdGGQf.cjs} +2 -2
  6. package/dist/architecture-7HQA4BMR-BehZQXGM.js +6 -0
  7. package/dist/{architecture-7HQA4BMR-XjppxKRg.cjs → architecture-7HQA4BMR-VRHl0WAG.cjs} +2 -2
  8. package/dist/{architectureDiagram-VXUJARFQ-DIlvBP7n.cjs → architectureDiagram-VXUJARFQ-BmUckqP4.cjs} +2 -2
  9. package/dist/{architectureDiagram-VXUJARFQ-D6Nz1iJf.js → architectureDiagram-VXUJARFQ-jeJiEwo0.js} +4 -4
  10. package/dist/{blockDiagram-VD42YOAC-COTmdEYf.js → blockDiagram-VD42YOAC-CQMLVG9p.js} +5 -5
  11. package/dist/{blockDiagram-VD42YOAC-eoa5Tjmi.cjs → blockDiagram-VD42YOAC-Cf1w6RSy.cjs} +2 -2
  12. package/dist/{c4Diagram-YG6GDRKO-DZUAZkaf.js → c4Diagram-YG6GDRKO-DQ1DM-hS.js} +3 -3
  13. package/dist/{c4Diagram-YG6GDRKO-D_8NNIZj.cjs → c4Diagram-YG6GDRKO-F89ysfvk.cjs} +2 -2
  14. package/dist/channel-CKuBsdyV.cjs +2 -0
  15. package/dist/{channel-CStgee6z.js → channel-CSrapMLf.js} +2 -2
  16. package/dist/{chunk-4BX2VUAB-BMIPlysy.js → chunk-4BX2VUAB-BCOKb8lN.js} +2 -2
  17. package/dist/{chunk-4BX2VUAB-TOFCWNSm.cjs → chunk-4BX2VUAB-DguP-lnc.cjs} +2 -2
  18. package/dist/{chunk-55IACEB6-CVM8RfF8.js → chunk-55IACEB6-B96t1BIq.js} +2 -2
  19. package/dist/{chunk-55IACEB6-Du1XS8Uq.cjs → chunk-55IACEB6-CC07tSHB.cjs} +2 -2
  20. package/dist/{chunk-B4BG7PRW-DEwHKt7v.cjs → chunk-B4BG7PRW-Csa3ViKx.cjs} +2 -2
  21. package/dist/{chunk-B4BG7PRW-CrL0RwBf.js → chunk-B4BG7PRW-aK7oMSOd.js} +5 -5
  22. package/dist/{chunk-DI55MBZ5-Dcfk7rkk.js → chunk-DI55MBZ5-B02Dm5ea.js} +4 -4
  23. package/dist/{chunk-DI55MBZ5-BWCTxXqE.cjs → chunk-DI55MBZ5-Dq5Sl8zR.cjs} +2 -2
  24. package/dist/{chunk-FMBD7UC4-DMErx-lW.cjs → chunk-FMBD7UC4-BjhMSXjI.cjs} +2 -2
  25. package/dist/{chunk-FMBD7UC4-B5kmDdIm.js → chunk-FMBD7UC4-YCBHVAL4.js} +2 -2
  26. package/dist/{chunk-QN33PNHL-DbaaoJ4j.js → chunk-QN33PNHL-B_p3A_22.js} +2 -2
  27. package/dist/{chunk-QN33PNHL-CkT5TAcW.cjs → chunk-QN33PNHL-DCv_ieMX.cjs} +2 -2
  28. package/dist/{chunk-QZHKN3VN-CMS4Eu2L.cjs → chunk-QZHKN3VN-BFRx9G0z.cjs} +2 -2
  29. package/dist/{chunk-QZHKN3VN-BsktB_nO.js → chunk-QZHKN3VN-DRLEsMJj.js} +2 -2
  30. package/dist/{chunk-TZMSLE5B-lGq5Y0nP.cjs → chunk-TZMSLE5B-DZUorszs.cjs} +2 -2
  31. package/dist/{chunk-TZMSLE5B-CbhkmL3S.js → chunk-TZMSLE5B-DmeaE6Eh.js} +2 -2
  32. package/dist/{classDiagram-2ON5EDUG-ChI1HQhB.cjs → classDiagram-2ON5EDUG-BmFRijDQ.cjs} +2 -2
  33. package/dist/{classDiagram-2ON5EDUG-CtIswLAU.js → classDiagram-2ON5EDUG-DW2aCkne.js} +3 -3
  34. package/dist/{classDiagram-v2-WZHVMYZB-ChI1HQhB.cjs → classDiagram-v2-WZHVMYZB-BmFRijDQ.cjs} +2 -2
  35. package/dist/{classDiagram-v2-WZHVMYZB-CtIswLAU.js → classDiagram-v2-WZHVMYZB-DW2aCkne.js} +3 -3
  36. package/dist/components/worldMap/data.d.ts +2 -2
  37. package/dist/{cose-bilkent-S5V4N54A-CC01Tkem.cjs → cose-bilkent-S5V4N54A-CDJnP_Yk.cjs} +2 -2
  38. package/dist/{cose-bilkent-S5V4N54A-DzADNsjH.js → cose-bilkent-S5V4N54A-CnTvq6wx.js} +2 -2
  39. package/dist/{dagre-6UL2VRFP-CDYaaqiU.cjs → dagre-6UL2VRFP-BTjEhGrQ.cjs} +2 -2
  40. package/dist/{dagre-6UL2VRFP-ybWMcc5w.js → dagre-6UL2VRFP-D4KyzrI8.js} +2 -2
  41. package/dist/{diagram-PSM6KHXK-CbgHTYSR.js → diagram-PSM6KHXK-CIMfiYz7.js} +5 -5
  42. package/dist/{diagram-PSM6KHXK-DqhM0iw7.cjs → diagram-PSM6KHXK-H6bEKZLm.cjs} +2 -2
  43. package/dist/{diagram-QEK2KX5R-CNed7b76.js → diagram-QEK2KX5R-BzuMWDt6.js} +4 -4
  44. package/dist/{diagram-QEK2KX5R-UQaqb5nU.cjs → diagram-QEK2KX5R-DsFIAL3v.cjs} +2 -2
  45. package/dist/{diagram-S2PKOQOG-OdSmYpDj.cjs → diagram-S2PKOQOG-CTLNC-Iz.cjs} +2 -2
  46. package/dist/{diagram-S2PKOQOG-BYSFHhaj.js → diagram-S2PKOQOG-CYvdKVYZ.js} +4 -4
  47. package/dist/{erDiagram-Q2GNP2WA-D6Xk9c-u.cjs → erDiagram-Q2GNP2WA-B8Cby2EW.cjs} +2 -2
  48. package/dist/{erDiagram-Q2GNP2WA-l9zKKI29.js → erDiagram-Q2GNP2WA-BcW11SJy.js} +5 -5
  49. package/dist/{flowDiagram-NV44I4VS-B-5P4uRf.cjs → flowDiagram-NV44I4VS-D447_R3t.cjs} +2 -2
  50. package/dist/{flowDiagram-NV44I4VS-qlSwOj8Q.js → flowDiagram-NV44I4VS-DEAvKwa7.js} +6 -6
  51. package/dist/{ganttDiagram-JELNMOA3-BvXDYjE1.cjs → ganttDiagram-JELNMOA3-BHGSOmkk.cjs} +2 -2
  52. package/dist/{ganttDiagram-JELNMOA3-i4-qMitb.js → ganttDiagram-JELNMOA3-nAqZzkfj.js} +3 -3
  53. package/dist/gitGraph-G5XIXVHT-BPiaST9T.js +6 -0
  54. package/dist/{gitGraph-G5XIXVHT-BdOKVbYt.cjs → gitGraph-G5XIXVHT-D0HIYGjj.cjs} +2 -2
  55. package/dist/{gitGraphDiagram-V2S2FVAM-BFlWQFzy.js → gitGraphDiagram-V2S2FVAM-Bz64qMJx.js} +5 -5
  56. package/dist/{gitGraphDiagram-V2S2FVAM-DStoHbQA.cjs → gitGraphDiagram-V2S2FVAM-BzDdhr7h.cjs} +2 -2
  57. package/dist/{index-H1wV1Hpq.js → index-C-Hyw7_i.js} +39 -32
  58. package/dist/{index-D7xz2-Uy.cjs → index-D5nkqpSD.cjs} +4 -4
  59. package/dist/index.cjs +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/info-VBDWY6EO-BLmqoE1d.js +6 -0
  62. package/dist/{info-VBDWY6EO-D_RrmivC.cjs → info-VBDWY6EO-D5dR6PPz.cjs} +2 -2
  63. package/dist/{infoDiagram-HS3SLOUP-BnevWU-I.cjs → infoDiagram-HS3SLOUP-Bs3peWgl.cjs} +2 -2
  64. package/dist/{infoDiagram-HS3SLOUP-BZK0euSr.js → infoDiagram-HS3SLOUP-DDgg8QyI.js} +3 -3
  65. package/dist/{journeyDiagram-XKPGCS4Q-itaMgi9U.js → journeyDiagram-XKPGCS4Q-COvGJw7y.js} +5 -5
  66. package/dist/{journeyDiagram-XKPGCS4Q-BODApzJb.cjs → journeyDiagram-XKPGCS4Q-DQFssTKA.cjs} +2 -2
  67. package/dist/{kanban-definition-3W4ZIXB7-DX8gChMt.js → kanban-definition-3W4ZIXB7-Bm4Nfy8N.js} +3 -3
  68. package/dist/{kanban-definition-3W4ZIXB7-BY1oKhQF.cjs → kanban-definition-3W4ZIXB7-CQiLQ-MZ.cjs} +2 -2
  69. package/dist/{linear-cXEFiojf.cjs → linear-CRUR7yE8.cjs} +2 -2
  70. package/dist/{linear-Pcf3i3zp.js → linear-QB06oWOn.js} +2 -2
  71. package/dist/{maplibre-gl-BdoOI0bI.cjs → maplibre-gl-BkWxiGfO.cjs} +2 -2
  72. package/dist/{maplibre-gl-KdF6druQ.js → maplibre-gl-CouexcMM.js} +2 -2
  73. package/dist/{mermaid-parser.core-Dr6wdKdo.cjs → mermaid-parser.core-BDJaQNLh.cjs} +2 -2
  74. package/dist/{mermaid-parser.core-B7B_q9yz.js → mermaid-parser.core-DjEhyqCt.js} +2413 -2473
  75. package/dist/{mindmap-definition-VGOIOE7T-BWtHcwxS.cjs → mindmap-definition-VGOIOE7T-C7Scfjt5.cjs} +2 -2
  76. package/dist/{mindmap-definition-VGOIOE7T-DB1ivc4U.js → mindmap-definition-VGOIOE7T-Cq5vQrhh.js} +4 -4
  77. package/dist/{packet-DYOGHKS2-Bc88puEA.cjs → packet-DYOGHKS2-CR7ugQ48.cjs} +2 -2
  78. package/dist/packet-DYOGHKS2-DYJFb4dv.js +6 -0
  79. package/dist/{pie-VRWISCQL-BDZOt1dn.cjs → pie-VRWISCQL-BXJW8jKm.cjs} +2 -2
  80. package/dist/pie-VRWISCQL-Dx65A3Fo.js +6 -0
  81. package/dist/{pieDiagram-ADFJNKIX-rHRiRGIK.js → pieDiagram-ADFJNKIX-5iZzSJ8R.js} +5 -5
  82. package/dist/{pieDiagram-ADFJNKIX-BExkCjtp.cjs → pieDiagram-ADFJNKIX-D9M6lhX5.cjs} +2 -2
  83. package/dist/{quadrantDiagram-AYHSOK5B-Dn_KGYm_.cjs → quadrantDiagram-AYHSOK5B-DDWEpiLt.cjs} +2 -2
  84. package/dist/{quadrantDiagram-AYHSOK5B-CkVTfka1.js → quadrantDiagram-AYHSOK5B-DG8iuyyj.js} +3 -3
  85. package/dist/radar-ZZBFDIW7-BAmnMK3b.js +6 -0
  86. package/dist/{radar-ZZBFDIW7-CN4CW1Sn.cjs → radar-ZZBFDIW7-DvMtYd_q.cjs} +2 -2
  87. package/dist/{requirementDiagram-UZGBJVZJ-DjP_ZBLH.js → requirementDiagram-UZGBJVZJ-CE1BWtzG.js} +4 -4
  88. package/dist/{requirementDiagram-UZGBJVZJ-Cnr0krQo.cjs → requirementDiagram-UZGBJVZJ-D8SeZ83D.cjs} +2 -2
  89. package/dist/{sankeyDiagram-TZEHDZUN-hSdLQwtC.cjs → sankeyDiagram-TZEHDZUN-DM5sLVVS.cjs} +2 -2
  90. package/dist/{sankeyDiagram-TZEHDZUN-anjZuu_D.js → sankeyDiagram-TZEHDZUN-DtBDd9Wm.js} +2 -2
  91. package/dist/{sequenceDiagram-WL72ISMW-DmCBPiOU.cjs → sequenceDiagram-WL72ISMW-BpCabHUR.cjs} +2 -2
  92. package/dist/{sequenceDiagram-WL72ISMW-CVybpZao.js → sequenceDiagram-WL72ISMW-BuykUiJg.js} +4 -4
  93. package/dist/{stateDiagram-FKZM4ZOC-CkrSnJVo.js → stateDiagram-FKZM4ZOC-D7OtXC8o.js} +3 -3
  94. package/dist/{stateDiagram-FKZM4ZOC-Dkv9EsDA.cjs → stateDiagram-FKZM4ZOC-cgi0ko-6.cjs} +2 -2
  95. package/dist/{stateDiagram-v2-4FDKWEC3-ClwE0oA4.cjs → stateDiagram-v2-4FDKWEC3-BGbtkwft.cjs} +2 -2
  96. package/dist/{stateDiagram-v2-4FDKWEC3-Cqvjxhmg.js → stateDiagram-v2-4FDKWEC3-ljhXua2L.js} +3 -3
  97. package/dist/{timeline-definition-IT6M3QCI-BVqV4KxZ.js → timeline-definition-IT6M3QCI-BSCNhkIf.js} +3 -3
  98. package/dist/{timeline-definition-IT6M3QCI-C-NbrBWK.cjs → timeline-definition-IT6M3QCI-DONwhI2c.cjs} +2 -2
  99. package/dist/{treemap-GDKQZRPO-DPSTeBWV.cjs → treemap-GDKQZRPO-C_BDlIt0.cjs} +2 -2
  100. package/dist/treemap-GDKQZRPO-DMDbGTv6.js +6 -0
  101. package/dist/{xychartDiagram-PRI3JC2R-ByRfiz5K.js → xychartDiagram-PRI3JC2R-CK1p_aA_.js} +3 -3
  102. package/dist/{xychartDiagram-PRI3JC2R-ClwDpfOS.cjs → xychartDiagram-PRI3JC2R-s6lxWNao.cjs} +2 -2
  103. package/package.json +1 -1
  104. package/dist/architecture-7HQA4BMR-B7-h10Im.js +0 -6
  105. package/dist/channel-B1SMUhi0.cjs +0 -2
  106. package/dist/gitGraph-G5XIXVHT-o_QJiZO1.js +0 -6
  107. package/dist/info-VBDWY6EO-C4My0e3p.js +0 -6
  108. package/dist/packet-DYOGHKS2-C_QHQq0u.js +0 -6
  109. package/dist/pie-VRWISCQL-DHWh56U-.js +0 -6
  110. package/dist/radar-ZZBFDIW7-HmbC_3ms.js +0 -6
  111. package/dist/treemap-GDKQZRPO-CGArjxOL.js +0 -6
package/README.md CHANGED
@@ -49,6 +49,46 @@ npm install @spteck/react-controls-v2 @spteck/react-controls-v2-spfx-adapter
49
49
 
50
50
  ---
51
51
 
52
+ ## Recommended App Root
53
+
54
+ Use `FluentUIProvider` at the top of your app to apply the Fluent UI theme, scope generated IDs, and ensure dialogs, menus, and other portals inherit the same styles.
55
+
56
+ ```tsx
57
+ import * as React from 'react';
58
+ import { webDarkTheme, webLightTheme } from '@fluentui/react-components';
59
+ import { FluentUIProvider } from '@spteck/react-controls-v2';
60
+
61
+ export function App() {
62
+ const [isDark, setIsDark] = React.useState(false);
63
+ const theme = isDark ? webDarkTheme : webLightTheme;
64
+
65
+ return (
66
+ <FluentUIProvider
67
+ theme={theme}
68
+ applicationName="contoso-app"
69
+ applyStylesToPortals={true}
70
+ targetDocument={document}
71
+ >
72
+ <YourRoutes />
73
+ </FluentUIProvider>
74
+ );
75
+ }
76
+ ```
77
+
78
+ If you are also using app context and localization, the recommended provider order is:
79
+
80
+ ```tsx
81
+ <FluentUIProvider theme={theme} applicationName="contoso-app">
82
+ <UniversalProvider context={appContext}>
83
+ <LocalizationProvider locale={locale}>
84
+ <App />
85
+ </LocalizationProvider>
86
+ </UniversalProvider>
87
+ </FluentUIProvider>
88
+ ```
89
+
90
+ ---
91
+
52
92
  ## Available Controls
53
93
 
54
94
  ### Layout & Structure
@@ -163,6 +203,7 @@ npm install @spteck/react-controls-v2 @spteck/react-controls-v2-spfx-adapter
163
203
  | Component | Description |
164
204
  |-----------|-------------|
165
205
  | `UniversalProvider` | Root context provider for the whole app |
206
+ | `FluentUIProvider` | Fluent UI theme root with portal styling and scoped IDs |
166
207
  | `BaseComponentProps` | Shared responsive spacing/sizing interface |
167
208
  | `LocalStorageProvider` | `IStorageProvider` implementation using localStorage |
168
209
 
@@ -1,2 +1,2 @@
1
- "use strict";const r=require("./index-D7xz2-Uy.cjs");function e(r,e){for(var t=-1,n=e.length,o=r.length;++t<n;)r[o+t]=e[t];return r}function t(r,e){for(var t=-1,n=null==r?0:r.length,o=0,u=[];++t<n;){var s=r[t];e(s,t,r)&&(u[o++]=s)}return u}var n=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,u=o?function(r){return null==r?[]:(r=Object(r),t(o(r),function(e){return n.call(r,e)}))}:function(){return[]};function s(e){return r.isArrayLike(e)?r.arrayLikeKeys(e):r.baseKeys(e)}exports.arrayEach=function(r,e){for(var t=-1,n=null==r?0:r.length;++t<n&&!1!==e(r[t],t,r););return r},exports.arrayFilter=t,exports.arrayPush=e,exports.getAllKeys=function(t){return function(t,n,o){var u=n(t);return r.isArray(t)?u:e(u,o(t))}(t,s,u)},exports.getSymbols=u,exports.keys=s;
2
- //# sourceMappingURL=_arrayEach-D4zuu96h.cjs.map
1
+ "use strict";const r=require("./index-D5nkqpSD.cjs");function e(r,e){for(var t=-1,n=e.length,o=r.length;++t<n;)r[o+t]=e[t];return r}function t(r,e){for(var t=-1,n=null==r?0:r.length,o=0,u=[];++t<n;){var s=r[t];e(s,t,r)&&(u[o++]=s)}return u}var n=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols,u=o?function(r){return null==r?[]:(r=Object(r),t(o(r),function(e){return n.call(r,e)}))}:function(){return[]};function s(e){return r.isArrayLike(e)?r.arrayLikeKeys(e):r.baseKeys(e)}exports.arrayEach=function(r,e){for(var t=-1,n=null==r?0:r.length;++t<n&&!1!==e(r[t],t,r););return r},exports.arrayFilter=t,exports.arrayPush=e,exports.getAllKeys=function(t){return function(t,n,o){var u=n(t);return r.isArray(t)?u:e(u,o(t))}(t,s,u)},exports.getSymbols=u,exports.keys=s;
2
+ //# sourceMappingURL=_arrayEach-CAQQp4Pa.cjs.map
@@ -1,4 +1,4 @@
1
- import { aD as isArray, aE as arrayLikeKeys, aF as baseKeys, aG as isArrayLike } from "./index-H1wV1Hpq.js";
1
+ import { aD as isArray, aE as arrayLikeKeys, aF as baseKeys, aG as isArrayLike } from "./index-C-Hyw7_i.js";
2
2
  function arrayPush(array, values) {
3
3
  var index = -1, length = values.length, offset = array.length;
4
4
  while (++index < length) {
@@ -58,4 +58,4 @@ export {
58
58
  getSymbols as g,
59
59
  keys as k
60
60
  };
61
- //# sourceMappingURL=_arrayEach-CqFZfCII.js.map
61
+ //# sourceMappingURL=_arrayEach-Cwv-C9Og.js.map
@@ -1,4 +1,4 @@
1
- import { M as withPath, N as halfPi, O as epsilon, P as tau, Q as cos, R as sin, S as min, T as abs, V as constant, W as pi, X as sqrt, Y as atan2, Z as asin, $ as acos, a0 as max } from "./index-H1wV1Hpq.js";
1
+ import { M as withPath, N as halfPi, O as epsilon, P as tau, Q as cos, R as sin, S as min, T as abs, V as constant, W as pi, X as sqrt, Y as atan2, Z as asin, $ as acos, a0 as max } from "./index-C-Hyw7_i.js";
2
2
  function arcInnerRadius(d) {
3
3
  return d.innerRadius;
4
4
  }
@@ -129,4 +129,4 @@ function d3arc() {
129
129
  export {
130
130
  d3arc as d
131
131
  };
132
- //# sourceMappingURL=arc-aQvhbW8i.js.map
132
+ //# sourceMappingURL=arc-Bw6DhSi8.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const n=require("./index-D7xz2-Uy.cjs");function t(n){return n.innerRadius}function a(n){return n.outerRadius}function i(n){return n.startAngle}function c(n){return n.endAngle}function o(n){return n&&n.padAngle}function e(t,a,i,c,o,e,r){var s=t-i,l=a-c,u=(r?e:-e)/n.sqrt(s*s+l*l),y=u*l,p=-u*s,f=t+y,x=a+p,h=i+y,v=c+p,d=(f+h)/2,g=(x+v)/2,m=h-f,T=v-x,q=m*m+T*T,A=o-e,R=f*v-h*x,P=(T<0?-1:1)*n.sqrt(n.max(0,A*A*q-R*R)),b=(R*T-m*P)/q,j=(-R*m-T*P)/q,w=(R*T+m*P)/q,U=(-R*m+T*P)/q,k=b-d,z=j-g,B=w-d,C=U-g;return k*k+z*z>B*B+C*C&&(b=w,j=U),{cx:b,cy:j,x01:-y,y01:-p,x11:b*(o/A-1),y11:j*(o/A-1)}}exports.d3arc=function(){var r=t,s=a,l=n.constant(0),u=null,y=i,p=c,f=o,x=null,h=n.withPath(v);function v(){var t,a,i=+r.apply(this,arguments),c=+s.apply(this,arguments),o=y.apply(this,arguments)-n.halfPi,v=p.apply(this,arguments)-n.halfPi,d=n.abs(v-o),g=v>o;if(x||(x=t=h()),c<i&&(a=c,c=i,i=a),c>n.epsilon)if(d>n.tau-n.epsilon)x.moveTo(c*n.cos(o),c*n.sin(o)),x.arc(0,0,c,o,v,!g),i>n.epsilon&&(x.moveTo(i*n.cos(v),i*n.sin(v)),x.arc(0,0,i,v,o,g));else{var m,T,q=o,A=v,R=o,P=v,b=d,j=d,w=f.apply(this,arguments)/2,U=w>n.epsilon&&(u?+u.apply(this,arguments):n.sqrt(i*i+c*c)),k=n.min(n.abs(c-i)/2,+l.apply(this,arguments)),z=k,B=k;if(U>n.epsilon){var C=n.asin(U/i*n.sin(w)),D=n.asin(U/c*n.sin(w));(b-=2*C)>n.epsilon?(R+=C*=g?1:-1,P-=C):(b=0,R=P=(o+v)/2),(j-=2*D)>n.epsilon?(q+=D*=g?1:-1,A-=D):(j=0,q=A=(o+v)/2)}var E=c*n.cos(q),F=c*n.sin(q),G=i*n.cos(P),H=i*n.sin(P);if(k>n.epsilon){var I,J=c*n.cos(A),K=c*n.sin(A),L=i*n.cos(R),M=i*n.sin(R);if(d<n.pi)if(I=function(t,a,i,c,o,e,r,s){var l=i-t,u=c-a,y=r-o,p=s-e,f=p*l-y*u;if(!(f*f<n.epsilon))return[t+(f=(y*(a-e)-p*(t-o))/f)*l,a+f*u]}(E,F,L,M,J,K,G,H)){var N=E-I[0],O=F-I[1],Q=J-I[0],S=K-I[1],V=1/n.sin(n.acos((N*Q+O*S)/(n.sqrt(N*N+O*O)*n.sqrt(Q*Q+S*S)))/2),W=n.sqrt(I[0]*I[0]+I[1]*I[1]);z=n.min(k,(i-W)/(V-1)),B=n.min(k,(c-W)/(V+1))}else z=B=0}j>n.epsilon?B>n.epsilon?(m=e(L,M,E,F,c,B,g),T=e(J,K,G,H,c,B,g),x.moveTo(m.cx+m.x01,m.cy+m.y01),B<k?x.arc(m.cx,m.cy,B,n.atan2(m.y01,m.x01),n.atan2(T.y01,T.x01),!g):(x.arc(m.cx,m.cy,B,n.atan2(m.y01,m.x01),n.atan2(m.y11,m.x11),!g),x.arc(0,0,c,n.atan2(m.cy+m.y11,m.cx+m.x11),n.atan2(T.cy+T.y11,T.cx+T.x11),!g),x.arc(T.cx,T.cy,B,n.atan2(T.y11,T.x11),n.atan2(T.y01,T.x01),!g))):(x.moveTo(E,F),x.arc(0,0,c,q,A,!g)):x.moveTo(E,F),i>n.epsilon&&b>n.epsilon?z>n.epsilon?(m=e(G,H,J,K,i,-z,g),T=e(E,F,L,M,i,-z,g),x.lineTo(m.cx+m.x01,m.cy+m.y01),z<k?x.arc(m.cx,m.cy,z,n.atan2(m.y01,m.x01),n.atan2(T.y01,T.x01),!g):(x.arc(m.cx,m.cy,z,n.atan2(m.y01,m.x01),n.atan2(m.y11,m.x11),!g),x.arc(0,0,i,n.atan2(m.cy+m.y11,m.cx+m.x11),n.atan2(T.cy+T.y11,T.cx+T.x11),g),x.arc(T.cx,T.cy,z,n.atan2(T.y11,T.x11),n.atan2(T.y01,T.x01),!g))):x.arc(0,0,i,P,R,g):x.lineTo(G,H)}else x.moveTo(0,0);if(x.closePath(),t)return x=null,t+""||null}return v.centroid=function(){var t=(+r.apply(this,arguments)+ +s.apply(this,arguments))/2,a=(+y.apply(this,arguments)+ +p.apply(this,arguments))/2-n.pi/2;return[n.cos(a)*t,n.sin(a)*t]},v.innerRadius=function(t){return arguments.length?(r="function"==typeof t?t:n.constant(+t),v):r},v.outerRadius=function(t){return arguments.length?(s="function"==typeof t?t:n.constant(+t),v):s},v.cornerRadius=function(t){return arguments.length?(l="function"==typeof t?t:n.constant(+t),v):l},v.padRadius=function(t){return arguments.length?(u=null==t?null:"function"==typeof t?t:n.constant(+t),v):u},v.startAngle=function(t){return arguments.length?(y="function"==typeof t?t:n.constant(+t),v):y},v.endAngle=function(t){return arguments.length?(p="function"==typeof t?t:n.constant(+t),v):p},v.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:n.constant(+t),v):f},v.context=function(n){return arguments.length?(x=null==n?null:n,v):x},v};
2
- //# sourceMappingURL=arc-DVsLnFmY.cjs.map
1
+ "use strict";const n=require("./index-D5nkqpSD.cjs");function t(n){return n.innerRadius}function a(n){return n.outerRadius}function i(n){return n.startAngle}function c(n){return n.endAngle}function o(n){return n&&n.padAngle}function e(t,a,i,c,o,e,r){var s=t-i,l=a-c,u=(r?e:-e)/n.sqrt(s*s+l*l),y=u*l,p=-u*s,f=t+y,x=a+p,h=i+y,v=c+p,d=(f+h)/2,g=(x+v)/2,m=h-f,T=v-x,q=m*m+T*T,A=o-e,R=f*v-h*x,P=(T<0?-1:1)*n.sqrt(n.max(0,A*A*q-R*R)),b=(R*T-m*P)/q,j=(-R*m-T*P)/q,w=(R*T+m*P)/q,U=(-R*m+T*P)/q,k=b-d,z=j-g,B=w-d,C=U-g;return k*k+z*z>B*B+C*C&&(b=w,j=U),{cx:b,cy:j,x01:-y,y01:-p,x11:b*(o/A-1),y11:j*(o/A-1)}}exports.d3arc=function(){var r=t,s=a,l=n.constant(0),u=null,y=i,p=c,f=o,x=null,h=n.withPath(v);function v(){var t,a,i=+r.apply(this,arguments),c=+s.apply(this,arguments),o=y.apply(this,arguments)-n.halfPi,v=p.apply(this,arguments)-n.halfPi,d=n.abs(v-o),g=v>o;if(x||(x=t=h()),c<i&&(a=c,c=i,i=a),c>n.epsilon)if(d>n.tau-n.epsilon)x.moveTo(c*n.cos(o),c*n.sin(o)),x.arc(0,0,c,o,v,!g),i>n.epsilon&&(x.moveTo(i*n.cos(v),i*n.sin(v)),x.arc(0,0,i,v,o,g));else{var m,T,q=o,A=v,R=o,P=v,b=d,j=d,w=f.apply(this,arguments)/2,U=w>n.epsilon&&(u?+u.apply(this,arguments):n.sqrt(i*i+c*c)),k=n.min(n.abs(c-i)/2,+l.apply(this,arguments)),z=k,B=k;if(U>n.epsilon){var C=n.asin(U/i*n.sin(w)),D=n.asin(U/c*n.sin(w));(b-=2*C)>n.epsilon?(R+=C*=g?1:-1,P-=C):(b=0,R=P=(o+v)/2),(j-=2*D)>n.epsilon?(q+=D*=g?1:-1,A-=D):(j=0,q=A=(o+v)/2)}var E=c*n.cos(q),F=c*n.sin(q),G=i*n.cos(P),H=i*n.sin(P);if(k>n.epsilon){var I,J=c*n.cos(A),K=c*n.sin(A),L=i*n.cos(R),M=i*n.sin(R);if(d<n.pi)if(I=function(t,a,i,c,o,e,r,s){var l=i-t,u=c-a,y=r-o,p=s-e,f=p*l-y*u;if(!(f*f<n.epsilon))return[t+(f=(y*(a-e)-p*(t-o))/f)*l,a+f*u]}(E,F,L,M,J,K,G,H)){var N=E-I[0],O=F-I[1],Q=J-I[0],S=K-I[1],V=1/n.sin(n.acos((N*Q+O*S)/(n.sqrt(N*N+O*O)*n.sqrt(Q*Q+S*S)))/2),W=n.sqrt(I[0]*I[0]+I[1]*I[1]);z=n.min(k,(i-W)/(V-1)),B=n.min(k,(c-W)/(V+1))}else z=B=0}j>n.epsilon?B>n.epsilon?(m=e(L,M,E,F,c,B,g),T=e(J,K,G,H,c,B,g),x.moveTo(m.cx+m.x01,m.cy+m.y01),B<k?x.arc(m.cx,m.cy,B,n.atan2(m.y01,m.x01),n.atan2(T.y01,T.x01),!g):(x.arc(m.cx,m.cy,B,n.atan2(m.y01,m.x01),n.atan2(m.y11,m.x11),!g),x.arc(0,0,c,n.atan2(m.cy+m.y11,m.cx+m.x11),n.atan2(T.cy+T.y11,T.cx+T.x11),!g),x.arc(T.cx,T.cy,B,n.atan2(T.y11,T.x11),n.atan2(T.y01,T.x01),!g))):(x.moveTo(E,F),x.arc(0,0,c,q,A,!g)):x.moveTo(E,F),i>n.epsilon&&b>n.epsilon?z>n.epsilon?(m=e(G,H,J,K,i,-z,g),T=e(E,F,L,M,i,-z,g),x.lineTo(m.cx+m.x01,m.cy+m.y01),z<k?x.arc(m.cx,m.cy,z,n.atan2(m.y01,m.x01),n.atan2(T.y01,T.x01),!g):(x.arc(m.cx,m.cy,z,n.atan2(m.y01,m.x01),n.atan2(m.y11,m.x11),!g),x.arc(0,0,i,n.atan2(m.cy+m.y11,m.cx+m.x11),n.atan2(T.cy+T.y11,T.cx+T.x11),g),x.arc(T.cx,T.cy,z,n.atan2(T.y11,T.x11),n.atan2(T.y01,T.x01),!g))):x.arc(0,0,i,P,R,g):x.lineTo(G,H)}else x.moveTo(0,0);if(x.closePath(),t)return x=null,t+""||null}return v.centroid=function(){var t=(+r.apply(this,arguments)+ +s.apply(this,arguments))/2,a=(+y.apply(this,arguments)+ +p.apply(this,arguments))/2-n.pi/2;return[n.cos(a)*t,n.sin(a)*t]},v.innerRadius=function(t){return arguments.length?(r="function"==typeof t?t:n.constant(+t),v):r},v.outerRadius=function(t){return arguments.length?(s="function"==typeof t?t:n.constant(+t),v):s},v.cornerRadius=function(t){return arguments.length?(l="function"==typeof t?t:n.constant(+t),v):l},v.padRadius=function(t){return arguments.length?(u=null==t?null:"function"==typeof t?t:n.constant(+t),v):u},v.startAngle=function(t){return arguments.length?(y="function"==typeof t?t:n.constant(+t),v):y},v.endAngle=function(t){return arguments.length?(p="function"==typeof t?t:n.constant(+t),v):p},v.padAngle=function(t){return arguments.length?(f="function"==typeof t?t:n.constant(+t),v):f},v.context=function(n){return arguments.length?(x=null==n?null:n,v):x},v};
2
+ //# sourceMappingURL=arc-okIdGGQf.cjs.map
@@ -0,0 +1,6 @@
1
+ import { A, e } from "./mermaid-parser.core-DjEhyqCt.js";
2
+ export {
3
+ A as ArchitectureModule,
4
+ e as createArchitectureServices
5
+ };
6
+ //# sourceMappingURL=architecture-7HQA4BMR-BehZQXGM.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-Dr6wdKdo.cjs");exports.ArchitectureModule=e.ArchitectureModule,exports.createArchitectureServices=e.createArchitectureServices;
2
- //# sourceMappingURL=architecture-7HQA4BMR-XjppxKRg.cjs.map
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-BDJaQNLh.cjs");exports.ArchitectureModule=e.ArchitectureModule,exports.createArchitectureServices=e.createArchitectureServices;
2
+ //# sourceMappingURL=architecture-7HQA4BMR-VRHl0WAG.cjs.map