pilotswarm 0.5.28 → 0.5.29
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/package.json +1 -1
- package/ui/core/src/formatting.js +60 -16
- package/web/dist/assets/{abnfDiagram-VRR7QNED-DLV45wH4.js → abnfDiagram-VRR7QNED-oWxPJ_GQ.js} +1 -1
- package/web/dist/assets/{arc-CE4xAYdE.js → arc-NgTDsu-Q.js} +1 -1
- package/web/dist/assets/{architectureDiagram-ZJ3FMSHR-DfzR8-9F.js → architectureDiagram-ZJ3FMSHR-Bm46i-2Z.js} +1 -1
- package/web/dist/assets/{blockDiagram-677ZJIJ3-C2pZdqvH.js → blockDiagram-677ZJIJ3-qBRJ9ozp.js} +1 -1
- package/web/dist/assets/{c4Diagram-LMCZKHZV-CKRspTan.js → c4Diagram-LMCZKHZV-BD6luJ9R.js} +1 -1
- package/web/dist/assets/channel-CHWKMkky.js +1 -0
- package/web/dist/assets/{chunk-2Q5K7J3B-CNjLrfHT.js → chunk-2Q5K7J3B-CYFnGP5X.js} +1 -1
- package/web/dist/assets/{chunk-32BRIVSS-Bv5EwyaJ.js → chunk-32BRIVSS-C0VzwlaC.js} +1 -1
- package/web/dist/assets/{chunk-5VM5RSS4-NDBesEbJ.js → chunk-5VM5RSS4-DC6-hzz3.js} +1 -1
- package/web/dist/assets/{chunk-EX3LRPZG-DHQht9ty.js → chunk-EX3LRPZG-_VC40n49.js} +1 -1
- package/web/dist/assets/{chunk-JWPE2WC7-r0OQpJRF.js → chunk-JWPE2WC7-BuP_EUE9.js} +1 -1
- package/web/dist/assets/{chunk-MOJQB5TN-fcwIDgtl.js → chunk-MOJQB5TN-D-6WLgUh.js} +1 -1
- package/web/dist/assets/{chunk-RYQCIY6F-x7XQlDO1.js → chunk-RYQCIY6F-COg4nSHg.js} +1 -1
- package/web/dist/assets/{chunk-V7JOEXUC-U8ZNVy1m.js → chunk-V7JOEXUC-DXKqt6ej.js} +1 -1
- package/web/dist/assets/{chunk-VR4S4FIN-DLEdPLcN.js → chunk-VR4S4FIN-DMEBmVN_.js} +1 -1
- package/web/dist/assets/{chunk-XXDRQBXY-TeyAtB-i.js → chunk-XXDRQBXY-Bv9ogVHT.js} +1 -1
- package/web/dist/assets/classDiagram-OUVF2IWQ-mrBj2HBz.js +1 -0
- package/web/dist/assets/classDiagram-v2-EOCWNBFH-mrBj2HBz.js +1 -0
- package/web/dist/assets/{cose-bilkent-JH36ORCC-B3bAl1-Z.js → cose-bilkent-JH36ORCC-D32d7zQr.js} +1 -1
- package/web/dist/assets/{cynefin-VYW2F7L2-DexP8nG-.js → cynefin-VYW2F7L2-7QQpYsvS.js} +1 -1
- package/web/dist/assets/{cynefinDiagram-TSTJHNR4-Doa2XnSs.js → cynefinDiagram-TSTJHNR4-ByQPFpot.js} +1 -1
- package/web/dist/assets/{dagre-VKFMJZFB-DZMBKQcJ.js → dagre-VKFMJZFB-CMo4a9uC.js} +1 -1
- package/web/dist/assets/{diagram-FQU43EPY-BkzibmSq.js → diagram-FQU43EPY-exMbxW0B.js} +1 -1
- package/web/dist/assets/{diagram-G47NLZAW-CihyHR3a.js → diagram-G47NLZAW-CjB1mUZ3.js} +1 -1
- package/web/dist/assets/{diagram-NH7WQ7WH-OMDUUxwW.js → diagram-NH7WQ7WH-B1hkOsaZ.js} +1 -1
- package/web/dist/assets/{diagram-OA4YK3LP-Lc0imJba.js → diagram-OA4YK3LP-C8vwEcEA.js} +1 -1
- package/web/dist/assets/{diagram-WEI45ONY-Dlcy8hPe.js → diagram-WEI45ONY-CoxrJWum.js} +1 -1
- package/web/dist/assets/{ebnfDiagram-CCIWWBDH-Dh3u17Dg.js → ebnfDiagram-CCIWWBDH-Dzyabvsk.js} +1 -1
- package/web/dist/assets/{erDiagram-Q63AITRT-C0OhlUC2.js → erDiagram-Q63AITRT-DoGWkX5g.js} +1 -1
- package/web/dist/assets/{flowDiagram-23GEKE2U-CADKxT-x.js → flowDiagram-23GEKE2U-lxptzQmL.js} +1 -1
- package/web/dist/assets/{ganttDiagram-NO4QXBWP-iVVdxWB7.js → ganttDiagram-NO4QXBWP-B0csrlon.js} +1 -1
- package/web/dist/assets/{gitGraphDiagram-IHSO6WYX-BwDUec_a.js → gitGraphDiagram-IHSO6WYX-RKmWX3zj.js} +1 -1
- package/web/dist/assets/{index-Djfdr7ts.js → index-Dt7mxgM0.js} +2 -2
- package/web/dist/assets/{infoDiagram-FWYZ7A6U-CGPUif0s.js → infoDiagram-FWYZ7A6U-CNMCniEk.js} +1 -1
- package/web/dist/assets/{ishikawaDiagram-FXEZZL3T-QYnrl-KA.js → ishikawaDiagram-FXEZZL3T-RRg8kby0.js} +1 -1
- package/web/dist/assets/{journeyDiagram-5HDEW3XC-CeKixxL0.js → journeyDiagram-5HDEW3XC-qnpsaIv9.js} +1 -1
- package/web/dist/assets/{kanban-definition-HUTT4EX6-CeYokFBS.js → kanban-definition-HUTT4EX6-DIIuRFeZ.js} +1 -1
- package/web/dist/assets/{linear-BbA6_gnz.js → linear-CJEXBQLu.js} +1 -1
- package/web/dist/assets/{mermaid.core--xGRoQTa.js → mermaid.core-Dl9SNFGg.js} +4 -4
- package/web/dist/assets/{mindmap-definition-LN4V7U3C-D53u8h0z.js → mindmap-definition-LN4V7U3C-BQc4pRs9.js} +1 -1
- package/web/dist/assets/{papaparse.min-BU0o7jXn.js → papaparse.min-Bgg7cz2c.js} +1 -1
- package/web/dist/assets/{pegDiagram-2B236MQR-B7QSyG-3.js → pegDiagram-2B236MQR-Dwv82H9E.js} +1 -1
- package/web/dist/assets/{pieDiagram-ENE6RG2P-XtSGL7GG.js → pieDiagram-ENE6RG2P-ia4A5QN1.js} +1 -1
- package/web/dist/assets/{pilotswarm-CtO819QH.js → pilotswarm-Bu5uSolS.js} +56 -56
- package/web/dist/assets/{quadrantDiagram-ABIIQ3AL-LZoYSbTH.js → quadrantDiagram-ABIIQ3AL-CVHA0Wcb.js} +1 -1
- package/web/dist/assets/{railroadDiagram-RFXS5EU6-B5FREx2U.js → railroadDiagram-RFXS5EU6-sr_WWsF2.js} +1 -1
- package/web/dist/assets/{requirementDiagram-TGXJPOKE-1VRFkBQX.js → requirementDiagram-TGXJPOKE-BUbasOTO.js} +1 -1
- package/web/dist/assets/{sankeyDiagram-HTMAVEWB-J456gWvu.js → sankeyDiagram-HTMAVEWB-BLZieRyV.js} +1 -1
- package/web/dist/assets/{sequenceDiagram-DBY2YBRQ-CaCcw6KO.js → sequenceDiagram-DBY2YBRQ-9QjAhkU0.js} +1 -1
- package/web/dist/assets/{sizeCapture-X5ZJPWSS-DClsP3_O.js → sizeCapture-X5ZJPWSS-C7L0QsRr.js} +1 -1
- package/web/dist/assets/{stateDiagram-2N3HPSRC-D6VyrKhd.js → stateDiagram-2N3HPSRC-DQieYhBl.js} +1 -1
- package/web/dist/assets/stateDiagram-v2-6OUMAXLB-CaGh4nBi.js +1 -0
- package/web/dist/assets/{swimlanes-5IMT3BWC-q678iAuo.js → swimlanes-5IMT3BWC-Dyp3aLdb.js} +2 -2
- package/web/dist/assets/swimlanesDiagram-G3AALYLV-BpaUuDlv.js +8 -0
- package/web/dist/assets/{timeline-definition-FHXFAJF6-WnPK_zhe.js → timeline-definition-FHXFAJF6-DREq8pH8.js} +1 -1
- package/web/dist/assets/{vennDiagram-L72KCM5P-WpumuLld.js → vennDiagram-L72KCM5P-bRHXAhI3.js} +1 -1
- package/web/dist/assets/{wardleyDiagram-EHGQE667-CBrYLUm_.js → wardleyDiagram-EHGQE667-Dw2Z1Dt9.js} +1 -1
- package/web/dist/assets/{xychartDiagram-FW5EYKEG-DbX1rnDW.js → xychartDiagram-FW5EYKEG-DEp4EjUc.js} +1 -1
- package/web/dist/index.html +2 -2
- package/web/dist/assets/channel-D7p-E4El.js +0 -1
- package/web/dist/assets/classDiagram-OUVF2IWQ-yFZ-1yMb.js +0 -1
- package/web/dist/assets/classDiagram-v2-EOCWNBFH-yFZ-1yMb.js +0 -1
- package/web/dist/assets/stateDiagram-v2-6OUMAXLB-D7eKFhHb.js +0 -1
- package/web/dist/assets/swimlanesDiagram-G3AALYLV-DlVHQBQx.js +0 -8
package/package.json
CHANGED
|
@@ -100,6 +100,58 @@ export function shortModelName(model) {
|
|
|
100
100
|
return value.includes(":") ? value.split(":").slice(1).join(":") : value;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
+
/*
|
|
104
|
+
* `date.toLocaleTimeString(locale, opts)` builds a fresh Intl.DateTimeFormat on
|
|
105
|
+
* EVERY call. Constructing the formatter is the expensive part — the formatting
|
|
106
|
+
* itself is cheap — and these timestamps are re-derived for every row on every
|
|
107
|
+
* render, so a pane resize paid for thousands of throwaway formatters per drag.
|
|
108
|
+
* Measured on the chk portal: this one function was 5,332ms of self time in a
|
|
109
|
+
* 5,800ms drag profile (91.8%), with nothing else above 60ms.
|
|
110
|
+
*
|
|
111
|
+
* Built lazily rather than at module load: callers that never format a
|
|
112
|
+
* timestamp (the CLI paths) should not pay ICU initialisation on import.
|
|
113
|
+
*
|
|
114
|
+
* Passing `undefined` as the locale keeps the user's own locale, matching what
|
|
115
|
+
* toLocaleTimeString did. The "en-GB" ones are deliberately fixed — the compact
|
|
116
|
+
* form is a fixed-width column and a locale-dependent month name would break it.
|
|
117
|
+
*/
|
|
118
|
+
let hourMinuteFormatter = null;
|
|
119
|
+
let hourMinuteSecondFormatter = null;
|
|
120
|
+
let monthShortFormatter = null;
|
|
121
|
+
let monthDayFormatter = null;
|
|
122
|
+
|
|
123
|
+
function hourMinuteFormat() {
|
|
124
|
+
if (!hourMinuteFormatter) {
|
|
125
|
+
hourMinuteFormatter = new Intl.DateTimeFormat(undefined, {
|
|
126
|
+
hour: "2-digit", minute: "2-digit", hour12: false,
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
return hourMinuteFormatter;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function hourMinuteSecondFormat() {
|
|
133
|
+
if (!hourMinuteSecondFormatter) {
|
|
134
|
+
hourMinuteSecondFormatter = new Intl.DateTimeFormat(undefined, {
|
|
135
|
+
hour: "2-digit", minute: "2-digit", second: "2-digit", hour12: false,
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
return hourMinuteSecondFormatter;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
function monthShortFormat() {
|
|
142
|
+
if (!monthShortFormatter) {
|
|
143
|
+
monthShortFormatter = new Intl.DateTimeFormat("en-GB", { month: "short" });
|
|
144
|
+
}
|
|
145
|
+
return monthShortFormatter;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
function monthDayFormat() {
|
|
149
|
+
if (!monthDayFormatter) {
|
|
150
|
+
monthDayFormatter = new Intl.DateTimeFormat("en-GB", { month: "short", day: "numeric" });
|
|
151
|
+
}
|
|
152
|
+
return monthDayFormatter;
|
|
153
|
+
}
|
|
154
|
+
|
|
103
155
|
/**
|
|
104
156
|
* Compact timestamp for fixed-width columns (the sequence pane).
|
|
105
157
|
*
|
|
@@ -114,19 +166,16 @@ export function formatTimestampCompact(value, now = new Date()) {
|
|
|
114
166
|
try {
|
|
115
167
|
const date = value instanceof Date ? value : new Date(value);
|
|
116
168
|
if (Number.isNaN(date.getTime())) return "";
|
|
117
|
-
const hhmm = date.toLocaleTimeString(undefined, {
|
|
118
|
-
hour: "2-digit", minute: "2-digit", hour12: false,
|
|
119
|
-
});
|
|
120
169
|
const sameLocalDay = date.getFullYear() === now.getFullYear()
|
|
121
170
|
&& date.getMonth() === now.getMonth()
|
|
122
171
|
&& date.getDate() === now.getDate();
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
172
|
+
// Same-day returns a DIFFERENT string (it carries seconds), so
|
|
173
|
+
// computing hhmm before this branch built a formatted time only to
|
|
174
|
+
// throw it away — on the most common row in the list.
|
|
175
|
+
if (sameLocalDay) return hourMinuteSecondFormat().format(date);
|
|
176
|
+
const hhmm = hourMinuteFormat().format(date);
|
|
128
177
|
const day = String(date.getDate());
|
|
129
|
-
const month =
|
|
178
|
+
const month = monthShortFormat().format(date);
|
|
130
179
|
// Year only when it differs — a two-digit suffix, since the column is
|
|
131
180
|
// shared with same-day rows and every extra char costs lane width.
|
|
132
181
|
const year = date.getFullYear() === now.getFullYear()
|
|
@@ -142,19 +191,14 @@ export function formatTimestamp(value, now = new Date()) {
|
|
|
142
191
|
if (!value) return "";
|
|
143
192
|
try {
|
|
144
193
|
const date = value instanceof Date ? value : new Date(value);
|
|
145
|
-
const time =
|
|
146
|
-
hour: "2-digit",
|
|
147
|
-
minute: "2-digit",
|
|
148
|
-
second: "2-digit",
|
|
149
|
-
hour12: false,
|
|
150
|
-
});
|
|
194
|
+
const time = hourMinuteSecondFormat().format(date);
|
|
151
195
|
// Same-day messages show time only; anything older carries its date
|
|
152
196
|
// so a transcript spanning days stays unambiguous.
|
|
153
197
|
const sameLocalDay = date.getFullYear() === now.getFullYear()
|
|
154
198
|
&& date.getMonth() === now.getMonth()
|
|
155
199
|
&& date.getDate() === now.getDate();
|
|
156
200
|
if (sameLocalDay) return time;
|
|
157
|
-
const day =
|
|
201
|
+
const day = monthDayFormat().format(date);
|
|
158
202
|
const year = date.getFullYear() === now.getFullYear() ? "" : ` ${date.getFullYear()}`;
|
|
159
203
|
return `${day}${year} ${time}`;
|
|
160
204
|
} catch {
|
package/web/dist/assets/{abnfDiagram-VRR7QNED-DLV45wH4.js → abnfDiagram-VRR7QNED-oWxPJ_GQ.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{g as p,r as u,d as a}from"./chunk-MOJQB5TN-
|
|
1
|
+
import{g as p,r as u,d as a}from"./chunk-MOJQB5TN-D-6WLgUh.js";import{p as f}from"./chunk-JWPE2WC7-BuP_EUE9.js";import{_ as n,l as o}from"./mermaid.core-Dl9SNFGg.js";import{M as c,b as d}from"./cynefin-VYW2F7L2-7QQpYsvS.js";import"./pilotswarm-Bu5uSolS.js";var v=d().RailroadAbnf.parser.LangiumParser,i=n(e=>{const r=e.alternatives.map(g);return r.length===1?r[0]:{type:"choice",alternatives:r}},"transformAlternation"),g=n(e=>{const r=e.elements.map(y);return r.length===1?r[0]:{type:"sequence",elements:r}},"transformConcatenation"),b=n(e=>{if(e.includes("*")){const[t,s]=e.split("*"),l=t?parseInt(t,10):0,m=s?parseInt(s,10):1/0;return{min:l,max:m}}const r=parseInt(e,10);return{min:r,max:r}},"parseRepeat"),y=n(e=>{const r=A(e.primary);if(!e.repeat)return r;const{min:t,max:s}=b(e.repeat);return t===0&&s===1?{type:"optional",element:r}:{type:"repetition",element:r,min:t,max:s}},"transformElement"),A=n(e=>{switch(e.$type){case"AbnfStringLiteral":return{type:"terminal",value:e.value};case"AbnfNumVal":return{type:"terminal",value:e.value};case"AbnfRuleName":return{type:"nonterminal",name:e.name};case"AbnfGroup":return i(e.element);case"AbnfOptionalGroup":return{type:"optional",element:i(e.element)};default:throw new Error(`Unsupported ABNF primary node: ${e.$type}`)}},"transformPrimary"),P=n(e=>({name:e.name,definition:i(e.definition)}),"transformRule"),h=n(e=>{f(e,a),e.title&&a.setTitle(e.title),e.rules.map(r=>a.addRule(P(r)))},"populateDb"),R={parse:n(e=>{a.clear(),o.debug("[ABNF Parser] Starting Langium parse");const r=v.parse(e);if(r.lexerErrors.length>0||r.parserErrors.length>0)throw new c(r);const t=r.value;o.debug("[ABNF Parser] Parsed rules:",t.rules.length),h(t),o.debug("[ABNF Parser] Parse complete")},"parse"),parser:{yy:a}},B={parser:R,db:a,renderer:u,styles:p};export{B as diagram};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Y as ln,$ as an,a0 as F,a1 as q,a2 as j,a3 as un,a4 as y,a5 as tn,a6 as J,a7 as _,a8 as rn,a9 as o,aa as on,ab as sn,ac as fn}from"./mermaid.core
|
|
1
|
+
import{Y as ln,$ as an,a0 as F,a1 as q,a2 as j,a3 as un,a4 as y,a5 as tn,a6 as J,a7 as _,a8 as rn,a9 as o,aa as on,ab as sn,ac as fn}from"./mermaid.core-Dl9SNFGg.js";function cn(l){return l.innerRadius}function yn(l){return l.outerRadius}function gn(l){return l.startAngle}function dn(l){return l.endAngle}function mn(l){return l&&l.padAngle}function pn(l,h,I,D,v,A,z,a){var O=I-l,i=D-h,n=z-v,d=a-A,u=d*O-n*i;if(!(u*u<y))return u=(n*(h-A)-d*(l-v))/u,[l+u*O,h+u*i]}function U(l,h,I,D,v,A,z){var a=l-I,O=h-D,i=(z?A:-A)/J(a*a+O*O),n=i*O,d=-i*a,u=l+n,s=h+d,f=I+n,c=D+d,B=(u+f)/2,t=(s+c)/2,m=f-u,g=c-s,R=m*m+g*g,T=v-A,P=u*c-f*s,S=(g<0?-1:1)*J(on(0,T*T*R-P*P)),Y=(P*g-m*S)/R,$=(-P*m-g*S)/R,w=(P*g+m*S)/R,p=(-P*m+g*S)/R,x=Y-B,e=$-t,r=w-B,C=p-t;return x*x+e*e>r*r+C*C&&(Y=w,$=p),{cx:Y,cy:$,x01:-n,y01:-d,x11:Y*(v/T-1),y11:$*(v/T-1)}}function hn(){var l=cn,h=yn,I=j(0),D=null,v=gn,A=dn,z=mn,a=null,O=ln(i);function i(){var n,d,u=+l.apply(this,arguments),s=+h.apply(this,arguments),f=v.apply(this,arguments)-un,c=A.apply(this,arguments)-un,B=rn(c-f),t=c>f;if(a||(a=n=O()),s<u&&(d=s,s=u,u=d),!(s>y))a.moveTo(0,0);else if(B>tn-y)a.moveTo(s*F(f),s*q(f)),a.arc(0,0,s,f,c,!t),u>y&&(a.moveTo(u*F(c),u*q(c)),a.arc(0,0,u,c,f,t));else{var m=f,g=c,R=f,T=c,P=B,S=B,Y=z.apply(this,arguments)/2,$=Y>y&&(D?+D.apply(this,arguments):J(u*u+s*s)),w=_(rn(s-u)/2,+I.apply(this,arguments)),p=w,x=w,e,r;if($>y){var C=sn($/u*q(Y)),K=sn($/s*q(Y));(P-=C*2)>y?(C*=t?1:-1,R+=C,T-=C):(P=0,R=T=(f+c)/2),(S-=K*2)>y?(K*=t?1:-1,m+=K,g-=K):(S=0,m=g=(f+c)/2)}var G=s*F(m),H=s*q(m),L=u*F(T),M=u*q(T);if(w>y){var N=s*F(g),Q=s*q(g),V=u*F(R),W=u*q(R),E;if(B<an)if(E=pn(G,H,V,W,N,Q,L,M)){var X=G-E[0],Z=H-E[1],b=N-E[0],k=Q-E[1],nn=1/q(fn((X*b+Z*k)/(J(X*X+Z*Z)*J(b*b+k*k)))/2),en=J(E[0]*E[0]+E[1]*E[1]);p=_(w,(u-en)/(nn-1)),x=_(w,(s-en)/(nn+1))}else p=x=0}S>y?x>y?(e=U(V,W,G,H,s,x,t),r=U(N,Q,L,M,s,x,t),a.moveTo(e.cx+e.x01,e.cy+e.y01),x<w?a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,x,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,s,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),!t),a.arc(r.cx,r.cy,x,o(r.y11,r.x11),o(r.y01,r.x01),!t))):(a.moveTo(G,H),a.arc(0,0,s,m,g,!t)):a.moveTo(G,H),!(u>y)||!(P>y)?a.lineTo(L,M):p>y?(e=U(L,M,N,Q,u,-p,t),r=U(G,H,V,W,u,-p,t),a.lineTo(e.cx+e.x01,e.cy+e.y01),p<w?a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(r.y01,r.x01),!t):(a.arc(e.cx,e.cy,p,o(e.y01,e.x01),o(e.y11,e.x11),!t),a.arc(0,0,u,o(e.cy+e.y11,e.cx+e.x11),o(r.cy+r.y11,r.cx+r.x11),t),a.arc(r.cx,r.cy,p,o(r.y11,r.x11),o(r.y01,r.x01),!t))):a.arc(0,0,u,T,R,t)}if(a.closePath(),n)return a=null,n+""||null}return i.centroid=function(){var n=(+l.apply(this,arguments)+ +h.apply(this,arguments))/2,d=(+v.apply(this,arguments)+ +A.apply(this,arguments))/2-an/2;return[F(d)*n,q(d)*n]},i.innerRadius=function(n){return arguments.length?(l=typeof n=="function"?n:j(+n),i):l},i.outerRadius=function(n){return arguments.length?(h=typeof n=="function"?n:j(+n),i):h},i.cornerRadius=function(n){return arguments.length?(I=typeof n=="function"?n:j(+n),i):I},i.padRadius=function(n){return arguments.length?(D=n==null?null:typeof n=="function"?n:j(+n),i):D},i.startAngle=function(n){return arguments.length?(v=typeof n=="function"?n:j(+n),i):v},i.endAngle=function(n){return arguments.length?(A=typeof n=="function"?n:j(+n),i):A},i.padAngle=function(n){return arguments.length?(z=typeof n=="function"?n:j(+n),i):z},i.context=function(n){return arguments.length?(a=n??null,i):a},i}export{hn as d};
|