@databrainhq/plugin 0.17.9-beta.66 → 0.17.9-beta.67

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 (134) hide show
  1. package/dist/{Accordion-ClM-DQNR.mjs → Accordion-HnV7Wa7d.mjs} +1 -1
  2. package/dist/{Axis-so_G8609.mjs → Axis-BoRILjw6.mjs} +25 -25
  3. package/dist/AxisBuilder-CbZA9BA5.mjs +556 -0
  4. package/dist/{AxisView-DbvR7xj2.mjs → AxisView-D1J-Vvd5.mjs} +46 -46
  5. package/dist/{CardChartSlot-WYOoFrPL.mjs → CardChartSlot-xCL70UFF.mjs} +6 -6
  6. package/dist/{Chart-C-M2BAGW.mjs → Chart-C8IUjDZP.mjs} +1249 -1444
  7. package/dist/{ChartTypePanel-CgnH37kj.mjs → ChartTypePanel-D33r24Vx.mjs} +8 -8
  8. package/dist/{CreateGlobalFilter-C9KQALHu.mjs → CreateGlobalFilter-CrZMQyeM.mjs} +2 -2
  9. package/dist/{CreateMetricV2-D669LmPA.mjs → CreateMetricV2-uIc0kSQ_.mjs} +12 -12
  10. package/dist/GridModel-BOILOnLN.mjs +39 -0
  11. package/dist/{HorizontalStackTable-E91Iuyzf.mjs → HorizontalStackTable-B_4q2iBG.mjs} +3 -3
  12. package/dist/{LineDraw-QEq0LGiV.mjs → LineDraw-C5CPD2fu.mjs} +75 -75
  13. package/dist/{ManageMetricsV2-C1d5KU_f.mjs → ManageMetricsV2-iTJys95Q.mjs} +3 -3
  14. package/dist/{MetricCardV2-C2eYo3s-.mjs → MetricCardV2-CBXvGrxI.mjs} +7 -7
  15. package/dist/{NoDataFound-ChW4me5m.mjs → NoDataFound-dLuw3_8M.mjs} +1 -1
  16. package/dist/{Panel-OH_Kxefy.mjs → Panel-DbS03Fa_.mjs} +1 -1
  17. package/dist/{PivotTableV2-D0GqqiiM.mjs → PivotTableV2-BGeyDx2h.mjs} +2 -2
  18. package/dist/{PivotTableV3-BdO_u5WS.mjs → PivotTableV3-q9Gs3DAq.mjs} +4 -4
  19. package/dist/{Portal-CV_NrBJ-.mjs → Portal-DSSDhg1M.mjs} +59 -59
  20. package/dist/{RadioButton-CVv2WrAN.mjs → RadioButton-DY7YeYgN.mjs} +1 -1
  21. package/dist/{RoamController-Dg9XZMbv.mjs → RoamController-kkduqIGv.mjs} +27 -27
  22. package/dist/{ScheduleEmail-BMgGc98g.mjs → ScheduleEmail-CRzbBNyX.mjs} +6 -6
  23. package/dist/{SearchMetricData-IL8DdG5T.mjs → SearchMetricData-Ba-UG9Xi.mjs} +162 -162
  24. package/dist/{SeriesData-BiofVRKp.mjs → SeriesData-t2ZM93xe.mjs} +153 -153
  25. package/dist/{SeriesDataSchema-DsLx8ATY.mjs → SeriesDataSchema-DbWmjBHq.mjs} +3 -3
  26. package/dist/{SortPanel-CsY3Go6z.mjs → SortPanel-CM4XEYFx.mjs} +10 -10
  27. package/dist/{SymbolDraw-B7bsdOGh.mjs → SymbolDraw-aWP4aFcT.mjs} +77 -77
  28. package/dist/{Table-V9qwq_A-.mjs → Table-CDvOpuYe.mjs} +249 -241
  29. package/dist/{TagInputField-BXcyiOOC.mjs → TagInputField-fGfjlIAp.mjs} +4 -4
  30. package/dist/{TextAreaField-Bg-Mn1xZ.mjs → TextAreaField-BdQ1n88e.mjs} +2 -2
  31. package/dist/{TimeSeriesSettings-DEBOcjxj.mjs → TimeSeriesSettings-BbF-feiK.mjs} +2 -2
  32. package/dist/View-HJXsM1pX.mjs +196 -0
  33. package/dist/{VisualMapping-C4H6uMDK.mjs → VisualMapping-BEacOIdS.mjs} +77 -77
  34. package/dist/{arrayToCsvString-D9jRf3H1.mjs → arrayToCsvString-Rjim3CLj.mjs} +1 -1
  35. package/dist/{axisAlignTicks-CA9tHLzi.mjs → axisAlignTicks-BDCH2l76.mjs} +21 -21
  36. package/dist/axisBand-B8HTljY9.mjs +434 -0
  37. package/dist/{axisDefault-nEWLSKin.mjs → axisDefault-BfDTCeDW.mjs} +12 -12
  38. package/dist/{axisHelper-B4ygrEAu.mjs → axisHelper-C92zjGrZ.mjs} +267 -267
  39. package/dist/{axisNiceTicks-ClubN7Tk.mjs → axisNiceTicks-DlIPQ7Bu.mjs} +13 -13
  40. package/dist/{bar-BB2qrFDC.mjs → bar-Dnd6DMeI.mjs} +2 -2
  41. package/dist/{barCommon-BArELGTY.mjs → barCommon--mFXSMxr.mjs} +14 -14
  42. package/dist/{barGrid-_f2rVIut.mjs → barGrid-BnZ3vF37.mjs} +36 -36
  43. package/dist/{base-Dsk4fQ1B.mjs → base-CqKr_o6m.mjs} +3 -3
  44. package/dist/{canvas-B9V5aHe8.mjs → canvas-MlE3EEgP.mjs} +2 -2
  45. package/dist/canvasLetterSpacing-C1X0nr1A.mjs +59 -0
  46. package/dist/canvasTeardown-BZnfPMIf.mjs +261 -0
  47. package/dist/{cardQueryError-DY_ZJaeH.mjs → cardQueryError-BvdXcZWj.mjs} +10 -10
  48. package/dist/{cartesianAxisHelper-DoeSPDFx.mjs → cartesianAxisHelper-Cj6QbGbq.mjs} +3 -3
  49. package/dist/{charts-DLkGIf3C.mjs → charts-TEuh7DBS.mjs} +1580 -1546
  50. package/dist/{conditionalFormatting-C-FdJ4PG.mjs → conditionalFormatting-jiDCWhx5.mjs} +1 -1
  51. package/dist/{createClipPathFromCoordSys-B4vAGE8Z.mjs → createClipPathFromCoordSys-D8WqA4dr.mjs} +13 -13
  52. package/dist/createDimensions-CnmSLhmZ.mjs +104 -0
  53. package/dist/{createGlobalFilter.module-Q1baYqNl.mjs → createGlobalFilter.module-BSLkPq6G.mjs} +1 -1
  54. package/dist/{createGraphFromNodeEdge-7WyfkrBe.mjs → createGraphFromNodeEdge-DCo8LkEe.mjs} +39 -39
  55. package/dist/createSeriesData-QC-rX5h7.mjs +101 -0
  56. package/dist/{createSeriesDataSimply-BxdEaPVX.mjs → createSeriesDataSimply-CKTp_DsX.mjs} +4 -4
  57. package/dist/{custom-DcvwBVj2.mjs → custom-DsYOLaUK.mjs} +2 -2
  58. package/dist/customGraphicKeyframeAnimation-Cfq3Ya3a.mjs +299 -0
  59. package/dist/data.cjs +1 -1
  60. package/dist/data.mjs +1 -1
  61. package/dist/{dataSample-Bp4H9kbC.mjs → dataSample-Cv8KVcHp.mjs} +2 -2
  62. package/dist/{dataStackHelper-8xSjPoGY.mjs → dataStackHelper-plaarSse.mjs} +2 -2
  63. package/dist/{echarts-CAoS6aE4.mjs → echarts-DSP9q-oP.mjs} +1596 -1596
  64. package/dist/{echarts-B6T0U8q9.mjs → extension-CjvfhuOl.mjs} +2460 -2415
  65. package/dist/{option-BVCp3H01.mjs → format-BdG1uTDw.mjs} +493 -463
  66. package/dist/{funnel-BPyzsZSL.mjs → funnel-BqvvHgIV.mjs} +2 -2
  67. package/dist/{gauge-3Wvva_32.mjs → gauge-D5uVlOTf.mjs} +2 -2
  68. package/dist/{graph-CExwwYVH.mjs → graph-D1H_pveT.mjs} +2 -2
  69. package/dist/{install-D5AxiliG.mjs → install-B2u2WICp.mjs} +249 -249
  70. package/dist/install-C94jvAIB.mjs +370 -0
  71. package/dist/{install-B1TqspfL.mjs → install-CD_nJllF.mjs} +151 -151
  72. package/dist/{install-DeQuODXS.mjs → install-CVI7EngB.mjs} +183 -183
  73. package/dist/{install-BWNipZtL.mjs → install-ClLUQImW.mjs} +164 -164
  74. package/dist/{install-BcuG0TzG.mjs → install-CqGJAjtU.mjs} +205 -205
  75. package/dist/{install-COuvnLYq.mjs → install-CqpZdmUs.mjs} +224 -225
  76. package/dist/{install-B35NwG74.mjs → install-CwLVKiaI.mjs} +448 -627
  77. package/dist/{install-fUIPAUHh.mjs → install-CxIyDAbo.mjs} +142 -142
  78. package/dist/install-D-uyYxzt.mjs +442 -0
  79. package/dist/{install-g1WKebGq.mjs → install-DxzoEvqo.mjs} +53 -54
  80. package/dist/{install-BOqmfLSu.mjs → install-UQOuGZ-3.mjs} +156 -156
  81. package/dist/install-YalZg5OB.mjs +208 -0
  82. package/dist/{install-COgFGhU1.mjs → install-gJJR8ost.mjs} +185 -185
  83. package/dist/{installCanvasRenderer-DZQl9WUm.mjs → installCanvasRenderer-CdQICtMz.mjs} +148 -148
  84. package/dist/installSVGRenderer-CM4phOH5.mjs +788 -0
  85. package/dist/installSimple-hwzmQHWx.mjs +562 -0
  86. package/dist/labelGuideHelper-Biiy5GEO.mjs +211 -0
  87. package/dist/{labelHelper-CWf3lqtb.mjs → labelHelper-CK2wFnD2.mjs} +9 -9
  88. package/dist/{labelLayoutHelper-gSQ2wxVR.mjs → labelLayoutHelper-BGT4km6s.mjs} +16 -16
  89. package/dist/{legacyContainLabel-C2O3qS_C.mjs → legacyContainLabel-BPPdU-_P.mjs} +1057 -1058
  90. package/dist/{line-Biu-eHDy.mjs → line-Bz3suzTe.mjs} +2 -2
  91. package/dist/{linkSeriesData-CmdFbU_o.mjs → linkSeriesData-oLBZWXeI.mjs} +15 -15
  92. package/dist/{metric.mutation-GQtohk1S.mjs → metric.mutation-Bp6C-gnS.mjs} +1 -1
  93. package/dist/parseGeoJson-CL1oJAFU.mjs +185 -0
  94. package/dist/{permissions-CH-WGA_H.mjs → permissions-RytJG009.mjs} +5 -5
  95. package/dist/{pie-BSGwMlDv.mjs → pie-8bHZZWij.mjs} +2 -2
  96. package/dist/{pluginV3Request-CCcbgHOL.mjs → pluginV3Request-B6J1iWdo.mjs} +1 -1
  97. package/dist/{points-QJPXYOtn.mjs → points-D4GPTJUM.mjs} +3 -3
  98. package/dist/{polar-DF62ToTw.mjs → polar-CDByVeuT.mjs} +2 -2
  99. package/dist/{radar-DUrDFixH.mjs → radar-Cm_0Z4n_.mjs} +2 -2
  100. package/dist/{renderer-CbYNXUJq.mjs → renderer-BC0h-JPJ.mjs} +2 -2
  101. package/dist/{roamHelper-CcGUDlj6.mjs → roamHelper-CfJQ0V8o.mjs} +15 -15
  102. package/dist/{sankey-DQjq16w_.mjs → sankey-B-88mGB1.mjs} +2 -2
  103. package/dist/{sausage-CnA_7NXH.mjs → sausage-MJyh9DcM.mjs} +1 -1
  104. package/dist/{scatter-Z9iXDwaa.mjs → scatter-CXYREtPk.mjs} +2 -2
  105. package/dist/{sectorHelper-BYk-RZi8.mjs → sectorHelper-BrGpww5p.mjs} +4 -4
  106. package/dist/{svg-BqqDtKe2.mjs → svg-BpzO9oa-.mjs} +2 -2
  107. package/dist/{theme-Cy9b23sj.mjs → theme-BYHowFGG.mjs} +137 -135
  108. package/dist/{timeseries-CDZ2lqd0.mjs → timeseries-D1_Havul.mjs} +1911 -1939
  109. package/dist/{toTasteAppearance-CcICPHaj.mjs → toTasteAppearance-DdC9S4xx.mjs} +13 -13
  110. package/dist/{treemap-C3cV5Iw-.mjs → treemap-BGu5cKFF.mjs} +2 -2
  111. package/dist/{useGuesTokenUsageLog-x2sDutRn.mjs → useGuesTokenUsageLog-BDOlwCKi.mjs} +1 -1
  112. package/dist/{usePublishArchivedMetrics-DJKjX-SL.mjs → usePublishArchivedMetrics-B9KYUf2j.mjs} +2 -2
  113. package/dist/{useQuery-wLcZUjCm.mjs → useQuery-8yPFyxSa.mjs} +1 -1
  114. package/dist/{vendor-Bq_K9DdP.mjs → vendor-BesI8vuE.mjs} +1 -1
  115. package/dist/webcomponents.css +1 -1
  116. package/dist/webcomponents.es.js +1487 -1460
  117. package/dist/webcomponents.umd.js +194 -184
  118. package/package.json +1 -1
  119. package/types/publicTypes.d.ts +4 -3
  120. package/dist/AxisBuilder-CIEw0VKH.mjs +0 -556
  121. package/dist/GridModel-DpfhksE5.mjs +0 -39
  122. package/dist/View-DuNXbS5E.mjs +0 -196
  123. package/dist/axisBand-CqPMsaju.mjs +0 -434
  124. package/dist/canvasTeardown-U1wBiiCe.mjs +0 -65
  125. package/dist/createDimensions-DYZprUlh.mjs +0 -104
  126. package/dist/createSeriesData-SCJKaSQ2.mjs +0 -101
  127. package/dist/customGraphicKeyframeAnimation-C5rfpbhk.mjs +0 -299
  128. package/dist/extension-dPyu9HSg.mjs +0 -52
  129. package/dist/install-DJXWoot7.mjs +0 -208
  130. package/dist/install-YCJIpIX5.mjs +0 -443
  131. package/dist/install-jnjEqKhO.mjs +0 -370
  132. package/dist/installSVGRenderer-DWwkDWs9.mjs +0 -788
  133. package/dist/installSimple-B0ty1uQ7.mjs +0 -562
  134. package/dist/labelGuideHelper-JZN7_bZa.mjs +0 -211
@@ -1,25 +1,25 @@
1
1
  import "react";
2
2
  import "react-dom";
3
3
  import "react-dom/client";
4
- import { $i as e, Aa as t, Bt as n, Ci as r, Cs as i, Ea as a, Ec as o, Fc as s, Gt as c, Hc as l, Ii as u, Ms as d, Oo as f, Ot as p, Pi as m, Pt as h, Rc as g, Rs as _, Uc as v, Wa as y, Xn as b, bc as x, bi as S, cs as C, ct as w, dc as T, er as ee, et as E, gc as D, gi as te, hc as O, ir as ne, it as k, kc as A, la as re, ls as j, mc as M, na as N, ni as P, nl as F, nr as ie, pi as ae, qt as I, un as L, vc as R, wc as z, xc as B, ya as oe, yi as V, zi as se, zs as H } from "./echarts-B6T0U8q9.mjs";
5
- import { i as U, t as W } from "./SeriesData-BiofVRKp.mjs";
6
- import { n as G } from "./createDimensions-DYZprUlh.mjs";
7
- import { i as ce } from "./View-DuNXbS5E.mjs";
8
- import { t as le } from "./RoamController-Dg9XZMbv.mjs";
9
- import { t as ue } from "./VisualMapping-C4H6uMDK.mjs";
10
- import { t as de } from "./linkSeriesData-CmdFbU_o.mjs";
4
+ import { $ as e, $n as t, As as n, Bc as r, Dc as i, Dt as a, Eo as o, Fi as s, Ic as c, Is as l, Kt as u, Ls as d, Nc as f, Ni as p, Nt as m, Qi as h, Ri as g, Sc as _, Si as v, Ta as y, Ua as b, Vc as x, Wt as S, Yn as C, ca as w, el as T, fc as E, fi as ee, gc as D, hi as te, ka as O, lc as k, ln as A, mc as j, os as M, pc as N, rr as ne, rt as P, ss as F, st as I, ta as L, ti as R, tr as re, va as z, vc as B, vi as V, wc as H, xs as U, yc as ie, yi as ae, zt as W } from "./extension-CjvfhuOl.mjs";
5
+ import { i as G, t as K } from "./SeriesData-t2ZM93xe.mjs";
6
+ import { n as q } from "./createDimensions-CnmSLhmZ.mjs";
7
+ import { i as oe } from "./View-HJXsM1pX.mjs";
8
+ import { t as se } from "./RoamController-kkduqIGv.mjs";
9
+ import { t as ce } from "./VisualMapping-BEacOIdS.mjs";
10
+ import { t as le } from "./linkSeriesData-oLBZWXeI.mjs";
11
11
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/data/Tree.js
12
- var fe = function() {
12
+ var ue = function() {
13
13
  function e(e, t) {
14
14
  this.depth = 0, this.height = 0, this.dataIndex = -1, this.children = [], this.viewChildren = [], this.isExpand = !1, this.name = e || "", this.hostTree = t;
15
15
  }
16
16
  return e.prototype.isRemoved = function() {
17
17
  return this.dataIndex < 0;
18
18
  }, e.prototype.eachNode = function(e, t, n) {
19
- A(e) && (n = t, t = e, e = null), e ||= {}, s(e) && (e = { order: e });
20
- var r = e.order || "preorder", i = this[e.attr || "children"], a;
21
- r === "preorder" && (a = t.call(n, this));
22
- for (var o = 0; !a && o < i.length; o++) i[o].eachNode(e, t, n);
19
+ i(e) && (n = t, t = e, e = null), e ||= {}, f(e) && (e = { order: e });
20
+ var r = e.order || "preorder", a = this[e.attr || "children"], o;
21
+ r === "preorder" && (o = t.call(n, this));
22
+ for (var s = 0; !o && s < a.length; s++) a[s].eachNode(e, t, n);
23
23
  r === "postorder" && t.call(n, this);
24
24
  }, e.prototype.updateDepthAndHeight = function(e) {
25
25
  var t = 0;
@@ -86,7 +86,7 @@ var fe = function() {
86
86
  }, e.prototype.isDescendantOf = function(e) {
87
87
  return e !== this && e.isAncestorOf(this);
88
88
  }, e;
89
- }(), pe = function() {
89
+ }(), de = function() {
90
90
  function e(e) {
91
91
  this.type = "tree", this._nodes = [], this.hostModel = e;
92
92
  }
@@ -103,50 +103,50 @@ var fe = function() {
103
103
  }, e.prototype.clearLayouts = function() {
104
104
  this.data.clearItemLayouts();
105
105
  }, e.createTree = function(t, n, r) {
106
- var i = new e(n), a = [], s = 1;
107
- c(t);
108
- function c(e, t) {
106
+ var i = new e(n), a = [], o = 1;
107
+ s(t);
108
+ function s(e, t) {
109
109
  var n = e.value;
110
- s = Math.max(s, o(n) ? n.length : 1), a.push(e);
111
- var r = new fe(re(e.name, ""), i);
112
- t ? me(r, t) : i.root = r, i._nodes.push(r);
113
- var l = e.children;
114
- if (l) for (var u = 0; u < l.length; u++) c(l[u], r);
110
+ o = Math.max(o, H(n) ? n.length : 1), a.push(e);
111
+ var r = new ue(w(e.name, ""), i);
112
+ t ? fe(r, t) : i.root = r, i._nodes.push(r);
113
+ var c = e.children;
114
+ if (c) for (var l = 0; l < c.length; l++) s(c[l], r);
115
115
  }
116
116
  i.root.updateDepthAndHeight(0);
117
- var l = G(a, {
117
+ var c = q(a, {
118
118
  coordDimensions: ["value"],
119
- dimensionsCount: s
120
- }).dimensions, u = new W(l, n);
121
- return u.initData(a), r && r(u), de({
122
- mainData: u,
119
+ dimensionsCount: o
120
+ }).dimensions, l = new K(c, n);
121
+ return l.initData(a), r && r(l), le({
122
+ mainData: l,
123
123
  struct: i,
124
124
  structAttr: "tree"
125
125
  }), i.update(), i;
126
126
  }, e;
127
127
  }();
128
- function me(e, t) {
128
+ function fe(e, t) {
129
129
  var n = t.children;
130
130
  e.parentNode !== t && (n.push(e), e.parentNode = t);
131
131
  }
132
132
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/helper/treeHelper.js
133
- function K(e, t, n) {
134
- if (e && z(t, e.type) >= 0) {
133
+ function J(e, t, n) {
134
+ if (e && _(t, e.type) >= 0) {
135
135
  var r = n.getData().tree.root, i = e.targetNode;
136
- if (s(i) && (i = r.getNodeById(i)), i && r.contains(i)) return { node: i };
136
+ if (f(i) && (i = r.getNodeById(i)), i && r.contains(i)) return { node: i };
137
137
  var a = e.targetNodeId;
138
138
  if (a != null && (i = r.getNodeById(a))) return { node: i };
139
139
  }
140
140
  }
141
- function he(e) {
141
+ function pe(e) {
142
142
  for (var t = []; e;) e = e.parentNode, e && t.push(e);
143
143
  return t.reverse();
144
144
  }
145
- function q(e, t) {
146
- var n = he(e);
147
- return z(n, t) >= 0;
145
+ function me(e, t) {
146
+ var n = pe(e);
147
+ return _(n, t) >= 0;
148
148
  }
149
- function J(e, t) {
149
+ function he(e, t) {
150
150
  for (var n = []; e;) {
151
151
  var r = e.dataIndex;
152
152
  n.push({
@@ -167,7 +167,7 @@ function _e(e) {
167
167
  for (var t = 0; t < ge.length; t++) e.registerAction({
168
168
  type: ge[t],
169
169
  update: "updateView"
170
- }, l);
170
+ }, r);
171
171
  e.registerAction({
172
172
  type: "treemapRootToNode",
173
173
  update: "updateView"
@@ -178,10 +178,10 @@ function _e(e) {
178
178
  query: e
179
179
  }, n);
180
180
  function n(t, n) {
181
- var r = K(e, ["treemapZoomToNode", "treemapRootToNode"], t);
181
+ var r = J(e, ["treemapZoomToNode", "treemapRootToNode"], t);
182
182
  if (r) {
183
183
  var i = t.getViewRoot();
184
- i && (e.direction = q(i, r.node) ? "rollUp" : "drillDown"), t.resetViewRoot(r.node);
184
+ i && (e.direction = me(i, r.node) ? "rollUp" : "drillDown"), t.resetViewRoot(r.node);
185
185
  }
186
186
  }
187
187
  });
@@ -191,13 +191,13 @@ function ve(e) {
191
191
  var t = e.getData().tree, n = {};
192
192
  t.eachNode(function(t) {
193
193
  for (var r = t; r && r.depth > 1;) r = r.parentNode;
194
- var i = p(e.ecModel, r.name || r.dataIndex + "", n);
194
+ var i = a(e.ecModel, r.name || r.dataIndex + "", n);
195
195
  t.setVisual("decal", i);
196
196
  });
197
197
  }
198
198
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/treemap/TreemapSeries.js
199
199
  var ye = function(e) {
200
- F(t, e);
200
+ T(t, e);
201
201
  function t() {
202
202
  var n = e !== null && e.apply(this, arguments) || this;
203
203
  return n.type = t.type, n.preventUsingHoverLayer = !0, n;
@@ -208,12 +208,12 @@ var ye = function(e) {
208
208
  children: e.data
209
209
  };
210
210
  be(n);
211
- var r = e.levels || [], i = this.designatedVisualItemStyle = {}, a = new b({ itemStyle: i }, this, t);
211
+ var r = e.levels || [], i = this.designatedVisualItemStyle = {}, a = new C({ itemStyle: i }, this, t);
212
212
  r = e.levels = xe(r, t);
213
- var o = g(r || [], function(e) {
214
- return new b(e, a, t);
215
- }, this), s = pe.createTree(n, this, c);
216
- function c(e) {
213
+ var o = c(r || [], function(e) {
214
+ return new C(e, a, t);
215
+ }, this), s = de.createTree(n, this, l);
216
+ function l(e) {
217
217
  e.wrapMethod("getItemModel", function(e, t) {
218
218
  var n = s.getNodeByDataIndex(t);
219
219
  return e.parentModel = (n ? o[n.depth] : null) || a, e;
@@ -224,18 +224,18 @@ var ye = function(e) {
224
224
  this.resetViewRoot();
225
225
  }, t.prototype.formatTooltip = function(e, t, n) {
226
226
  var r = this.getData(), i = this.getRawValue(e), a = r.getName(e);
227
- return w("nameValue", {
227
+ return I("nameValue", {
228
228
  name: a,
229
229
  value: i
230
230
  });
231
231
  }, t.prototype.getDataParams = function(t) {
232
232
  var n = e.prototype.getDataParams.apply(this, arguments);
233
- return n.treeAncestors = J(this.getData().tree.getNodeByDataIndex(t), this), n.treePathInfo = n.treeAncestors, n;
233
+ return n.treeAncestors = he(this.getData().tree.getNodeByDataIndex(t), this), n.treePathInfo = n.treeAncestors, n;
234
234
  }, t.prototype.setLayoutInfo = function(e) {
235
- this.layoutInfo = this.layoutInfo || {}, x(this.layoutInfo, e);
235
+ this.layoutInfo = this.layoutInfo || {}, B(this.layoutInfo, e);
236
236
  }, t.prototype.mapIdToIndex = function(e) {
237
237
  var t = this._idIndexMap;
238
- t || (t = this._idIndexMap = M(), this._idIndexMapCount = 0);
238
+ t || (t = this._idIndexMap = E(), this._idIndexMapCount = 0);
239
239
  var n = t.get(e);
240
240
  return n ?? t.set(e, n = this._idIndexMapCount++), n;
241
241
  }, t.prototype.getViewRoot = function() {
@@ -249,10 +249,10 @@ var ye = function(e) {
249
249
  }, t.type = "series.treemap", t.layoutMode = "box", t.defaultOption = {
250
250
  progressive: 0,
251
251
  coordinateSystemUsage: "box",
252
- left: h.size.l,
253
- top: h.size.xxxl,
254
- right: h.size.l,
255
- bottom: h.size.xxxl,
252
+ left: m.size.l,
253
+ top: m.size.xxxl,
254
+ right: m.size.l,
255
+ bottom: m.size.xxxl,
256
256
  sort: !0,
257
257
  clipWindow: "origin",
258
258
  squareRatio: .5 * (1 + Math.sqrt(5)),
@@ -273,20 +273,20 @@ var ye = function(e) {
273
273
  show: !0,
274
274
  height: 22,
275
275
  left: "center",
276
- bottom: h.size.m,
276
+ bottom: m.size.m,
277
277
  emptyItemWidth: 25,
278
278
  itemStyle: {
279
- color: h.color.backgroundShade,
280
- textStyle: { color: h.color.secondary }
279
+ color: m.color.backgroundShade,
280
+ textStyle: { color: m.color.secondary }
281
281
  },
282
- emphasis: { itemStyle: { color: h.color.background } }
282
+ emphasis: { itemStyle: { color: m.color.background } }
283
283
  },
284
284
  label: {
285
285
  show: !0,
286
286
  distance: 0,
287
287
  padding: 5,
288
288
  position: "inside",
289
- color: h.color.neutral00,
289
+ color: m.color.neutral00,
290
290
  overflow: "truncate"
291
291
  },
292
292
  upperLabel: {
@@ -302,7 +302,7 @@ var ye = function(e) {
302
302
  colorSaturation: null,
303
303
  borderWidth: 0,
304
304
  gapWidth: 0,
305
- borderColor: h.color.neutral00,
305
+ borderColor: m.color.neutral00,
306
306
  borderColorSaturation: null
307
307
  },
308
308
  emphasis: { upperLabel: {
@@ -322,76 +322,76 @@ var ye = function(e) {
322
322
  childrenVisibleMin: null,
323
323
  levels: []
324
324
  }, t;
325
- }(k);
325
+ }(P);
326
326
  function be(e) {
327
327
  var t = 0;
328
- R(e.children, function(e) {
328
+ D(e.children, function(e) {
329
329
  be(e);
330
330
  var n = e.value;
331
- o(n) && (n = n[0]), t += n;
331
+ H(n) && (n = n[0]), t += n;
332
332
  });
333
333
  var n = e.value;
334
- o(n) && (n = n[0]), (n == null || isNaN(n)) && (n = t), n < 0 && (n = 0), o(e.value) ? e.value[0] = n : e.value = n;
334
+ H(n) && (n = n[0]), (n == null || isNaN(n)) && (n = t), n < 0 && (n = 0), H(e.value) ? e.value[0] = n : e.value = n;
335
335
  }
336
- function xe(e, n) {
337
- var r = t(n.get("color")), i = t(n.get([
336
+ function xe(e, t) {
337
+ var n = O(t.get("color")), r = O(t.get([
338
338
  "aria",
339
339
  "decal",
340
340
  "decals"
341
341
  ]));
342
- if (r) {
342
+ if (n) {
343
343
  e ||= [];
344
- var a, o;
345
- R(e, function(e) {
346
- var t = new b(e), n = t.get("color"), r = t.get("decal");
347
- (t.get(["itemStyle", "color"]) || n && n !== "none") && (a = !0), (t.get(["itemStyle", "decal"]) || r && r !== "none") && (o = !0);
344
+ var i, a;
345
+ D(e, function(e) {
346
+ var t = new C(e), n = t.get("color"), r = t.get("decal");
347
+ (t.get(["itemStyle", "color"]) || n && n !== "none") && (i = !0), (t.get(["itemStyle", "decal"]) || r && r !== "none") && (a = !0);
348
348
  });
349
- var s = e[0] || (e[0] = {});
350
- return a || (s.color = r.slice()), !o && i && (s.decal = i.slice()), e;
349
+ var o = e[0] || (e[0] = {});
350
+ return i || (o.color = n.slice()), !a && r && (o.decal = r.slice()), e;
351
351
  }
352
352
  }
353
353
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/treemap/Breadcrumb.js
354
354
  var Se = 8, Ce = 8, we = 5, Te = function() {
355
355
  function e(e) {
356
- this.group = new f(), e.add(this.group);
356
+ this.group = new o(), e.add(this.group);
357
357
  }
358
- return e.prototype.render = function(e, t, r, i) {
359
- var a = e.getModel("breadcrumb"), o = this.group;
360
- if (o.removeAll(), a.get("show") && r) {
361
- var s = a.getModel("itemStyle"), l = a.getModel("emphasis"), u = s.getModel("textStyle"), d = l.getModel(["itemStyle", "textStyle"]), f = n(e, t).refContainer, p = {
362
- left: a.get("left"),
363
- right: a.get("right"),
364
- top: a.get("top"),
365
- bottom: a.get("bottom")
366
- }, m = {
367
- emptyItemWidth: a.get("emptyItemWidth"),
358
+ return e.prototype.render = function(e, t, n, r) {
359
+ var i = e.getModel("breadcrumb"), a = this.group;
360
+ if (a.removeAll(), i.get("show") && n) {
361
+ var o = i.getModel("itemStyle"), s = i.getModel("emphasis"), c = o.getModel("textStyle"), l = s.getModel(["itemStyle", "textStyle"]), d = W(e, t).refContainer, f = {
362
+ left: i.get("left"),
363
+ right: i.get("right"),
364
+ top: i.get("top"),
365
+ bottom: i.get("bottom")
366
+ }, p = {
367
+ emptyItemWidth: i.get("emptyItemWidth"),
368
368
  totalWidth: 0,
369
369
  renderList: []
370
- }, h = c(p, f);
371
- this._prepare(r, m, u), this._renderContent(e, m, h, s, l, u, d, i), I(o, p, f);
370
+ }, m = S(f, d);
371
+ this._prepare(n, p, c), this._renderContent(e, p, m, o, s, c, l, r), u(a, f, d);
372
372
  }
373
373
  }, e.prototype._prepare = function(e, t, n) {
374
374
  for (var r = e; r; r = r.parentNode) {
375
- var i = re(r.getModel().get("name"), ""), a = n.getTextRect(i), o = Math.max(a.width + Se * 2, t.emptyItemWidth);
375
+ var i = w(r.getModel().get("name"), ""), a = n.getTextRect(i), o = Math.max(a.width + Se * 2, t.emptyItemWidth);
376
376
  t.totalWidth += o + Ce, t.renderList.push({
377
377
  node: r,
378
378
  text: i,
379
379
  width: o
380
380
  });
381
381
  }
382
- }, e.prototype._renderContent = function(e, t, n, i, a, o, s, c) {
383
- for (var l = 0, d = t.emptyItemWidth, f = e.get(["breadcrumb", "height"]), p = t.totalWidth, m = t.renderList, h = a.getModel("itemStyle").getItemStyle(), g = m.length - 1; g >= 0; g--) {
384
- var _ = m[g], v = _.node, y = _.width, b = _.text;
385
- p > n.width && (p -= y - d, y = d, b = null);
386
- var x = new P({
387
- shape: { points: Ee(l, 0, y, f, g === m.length - 1, g === 0) },
388
- style: D(i.getItemStyle(), { lineJoin: "bevel" }),
389
- textContent: new u({ style: ee(o, { text: b }) }),
382
+ }, e.prototype._renderContent = function(e, n, r, i, a, o, c, l) {
383
+ for (var u = 0, d = n.emptyItemWidth, f = e.get(["breadcrumb", "height"]), p = n.totalWidth, m = n.renderList, h = a.getModel("itemStyle").getItemStyle(), g = m.length - 1; g >= 0; g--) {
384
+ var _ = m[g], y = _.node, b = _.width, x = _.text;
385
+ p > r.width && (p -= b - d, b = d, x = null);
386
+ var S = new R({
387
+ shape: { points: Ee(u, 0, b, f, g === m.length - 1, g === 0) },
388
+ style: j(i.getItemStyle(), { lineJoin: "bevel" }),
389
+ textContent: new s({ style: t(o, { text: x }) }),
390
390
  textConfig: { position: "inside" },
391
391
  z2: 1e5,
392
- onclick: O(c, v)
392
+ onclick: N(l, y)
393
393
  });
394
- x.disableLabelAnimation = !0, x.getTextContent().ensureState("emphasis").style = ee(s, { text: b }), x.ensureState("emphasis").style = h, r(x, a.get("focus"), a.get("blurScope"), a.get("disabled")), this.group.add(x), De(x, e, v), l += y + Ce;
394
+ S.disableLabelAnimation = !0, S.getTextContent().ensureState("emphasis").style = t(c, { text: x }), S.ensureState("emphasis").style = h, v(S, a.get("focus"), a.get("blurScope"), a.get("disabled")), this.group.add(S), De(S, e, y), u += b + Ce;
395
395
  }
396
396
  }, e.prototype.remove = function() {
397
397
  this.group.removeAll();
@@ -407,7 +407,7 @@ function Ee(e, t, n, r, i, a) {
407
407
  return !a && o.splice(2, 0, [e + n + we, t + r / 2]), !i && o.push([e, t + r / 2]), o;
408
408
  }
409
409
  function De(e, t, n) {
410
- m(e).eventData = {
410
+ p(e).eventData = {
411
411
  componentType: "series",
412
412
  componentSubType: "treemap",
413
413
  componentIndex: t.componentIndex,
@@ -419,7 +419,7 @@ function De(e, t, n) {
419
419
  dataIndex: n && n.dataIndex,
420
420
  name: n && n.name
421
421
  },
422
- treePathInfo: n && J(n, t)
422
+ treePathInfo: n && he(n, t)
423
423
  };
424
424
  }
425
425
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/util/animation.js
@@ -458,42 +458,42 @@ function ke() {
458
458
  return new Oe();
459
459
  }
460
460
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/treemap/treemapLayout.js
461
- var Y = Math.max, X = Math.min, Ae = R, je = ["itemStyle", "borderWidth"], Me = ["itemStyle", "gapWidth"], Ne = ["upperLabel", "show"], Pe = ["upperLabel", "height"], Fe = {
461
+ var Y = Math.max, X = Math.min, Ae = D, je = ["itemStyle", "borderWidth"], Me = ["itemStyle", "gapWidth"], Ne = ["upperLabel", "show"], Pe = ["upperLabel", "height"], Fe = {
462
462
  seriesType: "treemap",
463
- reset: function(e, t, r, a) {
464
- var o = e.option, s = n(e, r).refContainer, l = c(e.getBoxLayoutParams(), s), u = a && a.type, d = K(a, ["treemapZoomToNode", "treemapRootToNode"], e), f = u === "treemapRender" || u === "treemapMove" ? a.rootRect : null, p = e.getViewRoot(), m = he(p);
465
- if (u !== "treemapMove") {
466
- var h = !1, g = u === "treemapZoomToNode" ? (h = !0, Ue(e, d, p, l)) : f ? (h = !0, x({}, f)) : x({}, l);
467
- if (h) {
468
- var _ = qe(l, g);
469
- _ = Je(_, e), g.width = l.width * _, g.height = l.height * _;
463
+ reset: function(e, t, n, r) {
464
+ var i = e.option, a = W(e, n).refContainer, o = S(e.getBoxLayoutParams(), a), s = r && r.type, c = J(r, ["treemapZoomToNode", "treemapRootToNode"], e), l = s === "treemapRender" || s === "treemapMove" ? r.rootRect : null, u = e.getViewRoot(), d = pe(u);
465
+ if (s !== "treemapMove") {
466
+ var f = !1, p = s === "treemapZoomToNode" ? (f = !0, Ue(e, c, u, o)) : l ? (f = !0, B({}, l)) : B({}, o);
467
+ if (f) {
468
+ var m = qe(o, p);
469
+ m = Je(m, e), p.width = o.width * m, p.height = o.height * m;
470
470
  }
471
- var v = o.sort;
472
- v && v !== "asc" && v !== "desc" && (v = "desc");
473
- var y = {
474
- squareRatio: o.squareRatio,
475
- sort: v,
476
- leafDepth: o.leafDepth
471
+ var h = i.sort;
472
+ h && h !== "asc" && h !== "desc" && (h = "desc");
473
+ var g = {
474
+ squareRatio: i.squareRatio,
475
+ sort: h,
476
+ leafDepth: i.leafDepth
477
477
  };
478
- p.hostTree.clearLayouts();
479
- var b = {
478
+ u.hostTree.clearLayouts();
479
+ var _ = {
480
480
  x: 0,
481
481
  y: 0,
482
- width: g.width,
483
- height: g.height,
484
- area: g.width * g.height
482
+ width: p.width,
483
+ height: p.height,
484
+ area: p.width * p.height
485
485
  };
486
- p.setLayout(b), Ie(p, y, !1, 0), b = p.getLayout(), Ae(m, function(e, t) {
487
- var n = (m[t + 1] || p).getValue();
488
- e.setLayout(x({
486
+ u.setLayout(_), Ie(u, g, !1, 0), _ = u.getLayout(), Ae(d, function(e, t) {
487
+ var n = (d[t + 1] || u).getValue();
488
+ e.setLayout(B({
489
489
  dataExtent: [n, n],
490
490
  borderWidth: 0,
491
491
  upperHeight: 0
492
- }, b));
492
+ }, _));
493
493
  });
494
494
  }
495
- var S = e.getData().tree.root;
496
- S.setLayout(We(l, f, d), !0), e.setLayoutInfo(l), Ge(S, new i(-l.x, -l.y, r.getWidth(), r.getHeight()), m, p, 0);
495
+ var v = e.getData().tree.root;
496
+ v.setLayout(We(o, l, c), !0), e.setLayoutInfo(o), Ge(v, new U(-o.x, -o.y, n.getWidth(), n.getHeight()), d, u, 0);
497
497
  }
498
498
  };
499
499
  function Ie(e, t, n, r) {
@@ -535,7 +535,7 @@ function Le(e, t, n, r, i, a) {
535
535
  s !== "asc" && s !== "desc" && (s = null);
536
536
  var c = r.leafDepth != null && r.leafDepth <= a;
537
537
  if (i && !c) return e.viewChildren = [];
538
- o = B(o, function(e) {
538
+ o = ie(o, function(e) {
539
539
  return !e.isRemoved();
540
540
  }), ze(o, s);
541
541
  var l = Be(t, o, s);
@@ -563,7 +563,7 @@ function ze(e, t) {
563
563
  function Be(e, t, n) {
564
564
  for (var r = 0, i = 0, a = t.length; i < a; i++) r += t[i].getValue();
565
565
  var o = e.get("visualDimension"), s;
566
- return !t || !t.length ? s = [NaN, NaN] : o === "value" && n ? (s = [t[t.length - 1].getValue(), t[0].getValue()], n === "asc" && s.reverse()) : (s = oe(), Ae(t, function(e) {
566
+ return !t || !t.length ? s = [NaN, NaN] : o === "value" && n ? (s = [t[t.length - 1].getValue(), t[0].getValue()], n === "asc" && s.reverse()) : (s = z(), Ae(t, function(e) {
567
567
  var t = e.getValue(o);
568
568
  t < s[0] && (s[0] = t), t > s[1] && (s[1] = t);
569
569
  })), {
@@ -586,7 +586,7 @@ function He(e, t, n, r, i) {
586
586
  n[s[o]] += u, n[c[o]] -= u;
587
587
  }
588
588
  function Ue(e, t, n, r) {
589
- var i = (t || {}).node, a = r.width, o = r.height, s = x({}, r);
589
+ var i = (t || {}).node, a = r.width, o = r.height, s = B({}, r);
590
590
  if (!i || i === n) return s;
591
591
  for (var c, l = a * o, u = l * e.option.zoomToNodeRatio; c = i.parentNode;) {
592
592
  for (var d = 0, f = c.children, p = 0, m = f.length; p < m; p++) d += f[p].getValue();
@@ -594,13 +594,13 @@ function Ue(e, t, n, r) {
594
594
  if (h === 0) return s;
595
595
  u *= d / h;
596
596
  var g = c.getModel(), _ = g.get(je), v = Math.max(_, Ke(g));
597
- u += 4 * _ * _ + (3 * _ + v) * u ** .5, u > y && (u = y), i = c;
597
+ u += 4 * _ * _ + (3 * _ + v) * u ** .5, u > b && (u = b), i = c;
598
598
  }
599
599
  u < l && (u = l);
600
- var b = (u / l) ** .5;
600
+ var y = (u / l) ** .5;
601
601
  return {
602
- width: a * b,
603
- height: o * b
602
+ width: a * y,
603
+ height: o * y
604
604
  };
605
605
  }
606
606
  function We(e, t, n) {
@@ -624,17 +624,17 @@ function We(e, t, n) {
624
624
  y: e.height / 2 - o[1]
625
625
  };
626
626
  }
627
- function Ge(e, t, n, r, a) {
628
- var o = e.getLayout(), s = n[a], c = s && s === e;
629
- if (!(s && !c || a === n.length && e !== r)) {
627
+ function Ge(e, t, n, r, i) {
628
+ var a = e.getLayout(), o = n[i], s = o && o === e;
629
+ if (!(o && !s || i === n.length && e !== r)) {
630
630
  e.setLayout({
631
631
  isInView: !0,
632
- invisible: !c && !t.intersect(o),
633
- isAboveViewRoot: c
632
+ invisible: !s && !t.intersect(a),
633
+ isAboveViewRoot: s
634
634
  }, !0);
635
- var l = new i(t.x - o.x, t.y - o.y, t.width, t.height);
635
+ var c = new U(t.x - a.x, t.y - a.y, t.width, t.height);
636
636
  Ae(e.viewChildren || [], function(e) {
637
- Ge(e, l, n, r, a + 1);
637
+ Ge(e, c, n, r, i + 1);
638
638
  });
639
639
  }
640
640
  }
@@ -645,10 +645,10 @@ function qe(e, t) {
645
645
  return t.width / e.width || t.height / e.height || 1;
646
646
  }
647
647
  function Je(e, t) {
648
- return ce(e, t.get("scaleLimit", !0));
648
+ return oe(e, t.get("scaleLimit", !0));
649
649
  }
650
650
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/treemap/TreemapView.js
651
- var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20, nt = 30, Z = N([
651
+ var Ye = o, Xe = g, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20, nt = 30, Z = L([
652
652
  ["fill", "color"],
653
653
  ["stroke", "strokeColor"],
654
654
  ["lineWidth", "strokeWidth"],
@@ -659,8 +659,8 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
659
659
  ]), rt = function(e) {
660
660
  var t = Z(e);
661
661
  return t.stroke = t.fill = t.lineWidth = null, t;
662
- }, Q = a(), it = function(e) {
663
- F(t, e);
662
+ }, Q = y(), it = function(e) {
663
+ T(t, e);
664
664
  function t() {
665
665
  var n = e !== null && e.apply(this, arguments) || this;
666
666
  return n.type = t.type, n._state = "ready", n._storage = $(), n;
@@ -671,9 +671,9 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
671
671
  subType: "treemap",
672
672
  query: r
673
673
  });
674
- if (!(z(i, e) < 0)) {
674
+ if (!(_(i, e) < 0)) {
675
675
  this.seriesModel = e, this.api = n, this.ecModel = t;
676
- var a = K(r, ["treemapZoomToNode", "treemapRootToNode"], e), o = r && r.type, s = e.layoutInfo, c = !this._oldTree, l = this._storage, u = o === "treemapRootToNode" && a && l ? {
676
+ var a = J(r, ["treemapZoomToNode", "treemapRootToNode"], e), o = r && r.type, s = e.layoutInfo, c = !this._oldTree, l = this._storage, u = o === "treemapRootToNode" && a && l ? {
677
677
  rootNodeGroup: l.nodeGroup[a.node.getRawIndex()],
678
678
  direction: r.direction
679
679
  } : null, d = this._giveContainerGroup(s), f = e.get("animation"), p = this._doRender(d, e, u);
@@ -695,9 +695,9 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
695
695
  renderFinally: p
696
696
  };
697
697
  function d(e, t, n, r, i) {
698
- r ? (t = e, R(e, function(e, t) {
698
+ r ? (t = e, D(e, function(e, t) {
699
699
  !e.isRemoved() && o(t, t);
700
- })) : new U(t, e, a, a).add(o).update(o).remove(O(o, null)).execute();
700
+ })) : new G(t, e, a, a).add(o).update(o).remove(N(o, null)).execute();
701
701
  function a(e) {
702
702
  return e.getId();
703
703
  }
@@ -708,46 +708,46 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
708
708
  }
709
709
  function f(e) {
710
710
  var t = $();
711
- return e && R(e, function(e, n) {
711
+ return e && D(e, function(e, n) {
712
712
  var r = t[n];
713
- R(e, function(e) {
713
+ D(e, function(e) {
714
714
  e && (r.push(e), Q(e).willDelete = !0);
715
715
  });
716
716
  }), t;
717
717
  }
718
718
  function p() {
719
- R(u, function(e) {
720
- R(e, function(e) {
719
+ D(u, function(e) {
720
+ D(e, function(e) {
721
721
  e.parent && e.parent.remove(e);
722
722
  });
723
- }), R(c, function(e) {
723
+ }), D(c, function(e) {
724
724
  e.invisible = !0, e.dirty();
725
725
  });
726
726
  }
727
727
  }, t.prototype._doAnimation = function(e, t, n, r) {
728
- var i = n.get("animationDurationUpdate"), a = n.get("animationEasing"), o = (A(i) ? 0 : i) || 0, s = (A(a) ? null : a) || "cubicOut", c = ke();
729
- R(t.willDeleteEls, function(e, t) {
730
- R(e, function(e, n) {
728
+ var a = n.get("animationDurationUpdate"), s = n.get("animationEasing"), c = (i(a) ? 0 : a) || 0, l = (i(s) ? null : s) || "cubicOut", u = ke();
729
+ D(t.willDeleteEls, function(e, t) {
730
+ D(e, function(e, n) {
731
731
  if (!e.invisible) {
732
- var i = e.parent, a, l = Q(i);
732
+ var i = e.parent, a, o = Q(i);
733
733
  if (r && r.direction === "drillDown") a = i === r.rootNodeGroup ? {
734
734
  shape: {
735
735
  x: 0,
736
736
  y: 0,
737
- width: l.nodeWidth,
738
- height: l.nodeHeight
737
+ width: o.nodeWidth,
738
+ height: o.nodeHeight
739
739
  },
740
740
  style: { opacity: 0 }
741
741
  } : { style: { opacity: 0 } };
742
742
  else {
743
- var u = 0, d = 0;
744
- l.willDelete || (u = l.nodeWidth / 2, d = l.nodeHeight / 2), a = t === "nodeGroup" ? {
745
- x: u,
743
+ var s = 0, d = 0;
744
+ o.willDelete || (s = o.nodeWidth / 2, d = o.nodeHeight / 2), a = t === "nodeGroup" ? {
745
+ x: s,
746
746
  y: d,
747
747
  style: { opacity: 0 }
748
748
  } : {
749
749
  shape: {
750
- x: u,
750
+ x: s,
751
751
  y: d,
752
752
  width: 0,
753
753
  height: 0
@@ -755,20 +755,20 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
755
755
  style: { opacity: 0 }
756
756
  };
757
757
  }
758
- a && c.add(e, a, o, 0, s);
758
+ a && u.add(e, a, c, 0, l);
759
759
  }
760
760
  });
761
- }), R(this._storage, function(e, n) {
762
- R(e, function(e, r) {
761
+ }), D(this._storage, function(e, n) {
762
+ D(e, function(e, r) {
763
763
  var i = t.lastsForAnimation[n][r], a = {};
764
- i && (e instanceof f ? i.oldX != null && (a.x = e.x, a.y = e.y, e.x = i.oldX, e.y = i.oldY) : (i.oldShape && (a.shape = x({}, e.shape), e.setShape(i.oldShape)), i.fadein ? (e.setStyle("opacity", 0), a.style = { opacity: 1 }) : e.style.opacity !== 1 && (a.style = { opacity: 1 })), c.add(e, a, o, 0, s));
764
+ i && (e instanceof o ? i.oldX != null && (a.x = e.x, a.y = e.y, e.x = i.oldX, e.y = i.oldY) : (i.oldShape && (a.shape = B({}, e.shape), e.setShape(i.oldShape)), i.fadein ? (e.setStyle("opacity", 0), a.style = { opacity: 1 }) : e.style.opacity !== 1 && (a.style = { opacity: 1 })), u.add(e, a, c, 0, l));
765
765
  });
766
- }, this), this._state = "animating", c.finished(T(function() {
766
+ }, this), this._state = "animating", u.finished(k(function() {
767
767
  this._state = "ready", t.renderFinally();
768
768
  }, this)).start();
769
769
  }, t.prototype._resetController = function(e) {
770
770
  var t = this, n = this.seriesModel, r = this._controller;
771
- r || (r = this._controller = new le(e.getZr()), r.on("pan", T(this._onPan, this)), r.on("zoom", T(this._onZoom, this))), r.enable(n.get("roam"), {
771
+ r || (r = this._controller = new se(e.getZr()), r.on("pan", k(this._onPan, this)), r.on("zoom", k(this._onZoom, this))), r.enable(n.get("roam"), {
772
772
  api: e,
773
773
  zInfo: { component: n },
774
774
  triggerInfo: {
@@ -801,18 +801,18 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
801
801
  });
802
802
  }
803
803
  }, t.prototype._onZoom = function(e) {
804
- var t = e.originX, n = e.originY, r = e.scale, a = this.seriesModel;
804
+ var t = e.originX, r = e.originY, i = e.scale, a = this.seriesModel;
805
805
  if (this._state !== "animating") {
806
806
  var o = a.getData().tree.root;
807
807
  if (!o) return;
808
808
  var s = o.getLayout();
809
809
  if (!s) return;
810
- var c = new i(s.x, s.y, s.width, s.height), l = a.layoutInfo, u = qe(l, s), f = u * r;
811
- f = Je(f, a);
812
- var p = f / u;
813
- t -= l.x, n -= l.y;
814
- var m = d();
815
- H(m, m, [-t, -n]), _(m, m, [p, p]), H(m, m, [t, n]), c.applyTransform(m), this.api.dispatchAction({
810
+ var c = new U(s.x, s.y, s.width, s.height), u = a.layoutInfo, f = qe(u, s), p = f * i;
811
+ p = Je(p, a);
812
+ var m = p / f;
813
+ t -= u.x, r -= u.y;
814
+ var h = n();
815
+ d(h, h, [-t, -r]), l(h, h, [m, m]), d(h, h, [t, r]), c.applyTransform(h), this.api.dispatchAction({
816
816
  type: "treemapRender",
817
817
  from: this.uid,
818
818
  seriesId: this.seriesModel.id,
@@ -837,7 +837,7 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
837
837
  else if (n === "zoomToNode") t._zoomToNode(r);
838
838
  else if (n === "link") {
839
839
  var a = i.hostTree.data.getItemModel(i.dataIndex), o = a.get("link", !0), s = a.get("target", !0) || "blank";
840
- o && L(o, s);
840
+ o && A(o, s);
841
841
  }
842
842
  }
843
843
  }
@@ -846,7 +846,7 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
846
846
  }, t.prototype._renderBreadcrumb = function(e, t, n) {
847
847
  var r = this;
848
848
  n || (n = e.get("leafDepth", !0) == null ? this.findTarget(t.getWidth() / 2, t.getHeight() / 2) : { node: e.getViewRoot() }, n ||= { node: e.getData().tree.root }), (this._breadcrumb ||= new Te(this.group)).render(e, t, n.node, function(t) {
849
- r._state !== "animating" && (q(e.getViewRoot(), t) ? r._rootToNode({ node: t }) : r._zoomToNode({ node: t }));
849
+ r._state !== "animating" && (me(e.getViewRoot(), t) ? r._rootToNode({ node: t }) : r._zoomToNode({ node: t }));
850
850
  });
851
851
  }, t.prototype.remove = function() {
852
852
  this._clearController(), this._containerGroup && this._containerGroup.removeAll(), this._storage = $(), this._state = "ready", this._breadcrumb && this._breadcrumb.remove();
@@ -884,7 +884,7 @@ var Ye = f, Xe = se, Ze = 3, Qe = "label", $e = "upperLabel", et = 100, tt = 20,
884
884
  }
885
885
  }, this), n;
886
886
  }, t.type = "treemap", t;
887
- }(E);
887
+ }(e);
888
888
  function $() {
889
889
  return {
890
890
  nodeGroup: [],
@@ -892,33 +892,33 @@ function $() {
892
892
  content: []
893
893
  };
894
894
  }
895
- function at(t, n, r, i, a, o, s, c, l, u) {
895
+ function at(e, t, n, r, i, a, s, c, l, u) {
896
896
  if (!s) return;
897
- var d = s.getLayout(), p = t.getData(), h = s.getModel();
898
- if (p.setItemGraphicEl(s.dataIndex, null), !d || !d.isInView) return;
899
- var g = d.width, _ = d.height, y = d.borderWidth, b = d.invisible, C = s.getRawIndex(), w = c && c.getRawIndex(), T = s.viewChildren, ee = d.upperHeight, E = T && T.length, D = h.getModel("itemStyle"), O = h.getModel(["emphasis", "itemStyle"]), k = h.getModel(["blur", "itemStyle"]), A = h.getModel(["select", "itemStyle"]), j = D.get("borderRadius") || 0, M = G("nodeGroup", Ye);
897
+ var d = s.getLayout(), f = e.getData(), m = s.getModel();
898
+ if (f.setItemGraphicEl(s.dataIndex, null), !d || !d.isInView) return;
899
+ var g = d.width, _ = d.height, v = d.borderWidth, y = d.invisible, b = s.getRawIndex(), S = c && c.getRawIndex(), C = s.viewChildren, T = d.upperHeight, E = C && C.length, D = m.getModel("itemStyle"), O = m.getModel(["emphasis", "itemStyle"]), k = m.getModel(["blur", "itemStyle"]), A = m.getModel(["select", "itemStyle"]), j = D.get("borderRadius") || 0, M = q("nodeGroup", Ye);
900
900
  if (!M) return;
901
901
  if (l.add(M), M.x = d.x || 0, M.y = d.y || 0, M.markRedraw(), Q(M).nodeWidth = g, Q(M).nodeHeight = _, d.isAboveViewRoot) return M;
902
- var N = G("background", Xe, u, tt);
903
- N && oe(M, N, E && d.upperLabelHeight);
904
- var P = h.getModel("emphasis"), F = P.get("focus"), I = P.get("blurScope"), L = P.get("disabled"), R = F === "ancestor" ? s.getAncestorsIndices() : F === "descendant" ? s.getDescendantIndices() : F;
905
- if (E) te(M) && V(M, !1), N && (V(N, !L), p.setItemGraphicEl(s.dataIndex, N), ae(N, R, I));
902
+ var N = q("background", Xe, u, tt);
903
+ N && U(M, N, E && d.upperLabelHeight);
904
+ var P = m.getModel("emphasis"), F = P.get("focus"), I = P.get("blurScope"), L = P.get("disabled"), R = F === "ancestor" ? s.getAncestorsIndices() : F === "descendant" ? s.getDescendantIndices() : F;
905
+ if (E) te(M) && V(M, !1), N && (V(N, !L), f.setItemGraphicEl(s.dataIndex, N), ee(N, R, I));
906
906
  else {
907
- var z = G("content", Xe, u, nt);
908
- z && se(M, z), N.disableMorphing = !0, N && te(N) && V(N, !1), V(M, !L), p.setItemGraphicEl(s.dataIndex, M);
909
- var B = h.getShallow("cursor");
910
- B && z.attr("cursor", B), ae(M, R, I);
907
+ var z = q("content", Xe, u, nt);
908
+ z && ie(M, z), N.disableMorphing = !0, N && te(N) && V(N, !1), V(M, !L), f.setItemGraphicEl(s.dataIndex, M);
909
+ var H = m.getShallow("cursor");
910
+ H && z.attr("cursor", H), ee(M, R, I);
911
911
  }
912
912
  return M;
913
- function oe(e, n, r) {
914
- var i = m(n);
915
- if (i.dataIndex = s.dataIndex, i.seriesIndex = t.seriesIndex, n.setShape({
913
+ function U(t, n, r) {
914
+ var i = p(n);
915
+ if (i.dataIndex = s.dataIndex, i.seriesIndex = e.seriesIndex, n.setShape({
916
916
  x: 0,
917
917
  y: 0,
918
918
  width: g,
919
919
  height: _,
920
920
  r: j
921
- }), b) H(n);
921
+ }), y) W(n);
922
922
  else {
923
923
  n.invisible = !1;
924
924
  var a = s.getVisual("style"), o = a.stroke, c = rt(D);
@@ -929,98 +929,98 @@ function at(t, n, r, i, a, o, s, c, l, u) {
929
929
  u.fill = k.get("borderColor");
930
930
  var d = Z(A);
931
931
  if (d.fill = A.get("borderColor"), r) {
932
- var f = g - 2 * y;
933
- U(n, o, a.opacity, {
934
- x: y,
932
+ var f = g - 2 * v;
933
+ G(n, o, a.opacity, {
934
+ x: v,
935
935
  y: 0,
936
936
  width: f,
937
- height: ee
937
+ height: T
938
938
  });
939
939
  } else n.removeTextContent();
940
- n.setStyle(c), n.ensureState("emphasis").style = l, n.ensureState("blur").style = u, n.ensureState("select").style = d, S(n);
940
+ n.setStyle(c), n.ensureState("emphasis").style = l, n.ensureState("blur").style = u, n.ensureState("select").style = d, ae(n);
941
941
  }
942
- e.add(n);
942
+ t.add(n);
943
943
  }
944
- function se(e, n) {
945
- var r = m(n);
946
- r.dataIndex = s.dataIndex, r.seriesIndex = t.seriesIndex;
947
- var i = Math.max(g - 2 * y, 0), a = Math.max(_ - 2 * y, 0);
944
+ function ie(t, n) {
945
+ var r = p(n);
946
+ r.dataIndex = s.dataIndex, r.seriesIndex = e.seriesIndex;
947
+ var i = Math.max(g - 2 * v, 0), a = Math.max(_ - 2 * v, 0);
948
948
  if (n.culling = !0, n.setShape({
949
- x: y,
950
- y,
949
+ x: v,
950
+ y: v,
951
951
  width: i,
952
952
  height: a,
953
953
  r: j
954
- }), b) H(n);
954
+ }), y) W(n);
955
955
  else {
956
956
  n.invisible = !1;
957
957
  var o = s.getVisual("style"), c = o.fill, l = rt(D);
958
958
  l.fill = c, l.decal = o.decal;
959
959
  var u = Z(O), d = Z(k), f = Z(A);
960
- U(n, c, o.opacity, null), n.setStyle(l), n.ensureState("emphasis").style = u, n.ensureState("blur").style = d, n.ensureState("select").style = f, S(n);
960
+ G(n, c, o.opacity, null), n.setStyle(l), n.ensureState("emphasis").style = u, n.ensureState("blur").style = d, n.ensureState("select").style = f, ae(n);
961
961
  }
962
- e.add(n);
962
+ t.add(n);
963
963
  }
964
- function H(e) {
965
- !e.invisible && o.push(e);
964
+ function W(e) {
965
+ !e.invisible && a.push(e);
966
966
  }
967
- function U(e, n, r, i) {
968
- var a = h.getModel(i ? $e : Qe), o = re(h.get("name"), null), c = a.getShallow("show");
969
- ne(e, ie(h, i ? $e : Qe), {
967
+ function G(t, n, r, i) {
968
+ var a = m.getModel(i ? $e : Qe), o = w(m.get("name"), null), c = a.getShallow("show");
969
+ ne(t, re(m, i ? $e : Qe), {
970
970
  defaultText: c ? o : null,
971
971
  inheritColor: n,
972
972
  defaultOpacity: r,
973
- labelFetcher: t,
973
+ labelFetcher: e,
974
974
  labelDataIndex: s.dataIndex
975
975
  });
976
- var l = e.getTextContent();
976
+ var l = t.getTextContent();
977
977
  if (l) {
978
- var u = l.style, f = v(u.padding || 0);
979
- i && (e.setTextConfig({ layoutRect: i }), l.disableLabelLayout = !0), l.beforeUpdate = function() {
980
- var t = Math.max((i ? i.width : e.shape.width) - f[1] - f[3], 0), n = Math.max((i ? i.height : e.shape.height) - f[0] - f[2], 0);
981
- (u.width !== t || u.height !== n) && l.setStyle({
982
- width: t,
978
+ var u = l.style, f = x(u.padding || 0);
979
+ i && (t.setTextConfig({ layoutRect: i }), l.disableLabelLayout = !0), l.beforeUpdate = function() {
980
+ var e = Math.max((i ? i.width : t.shape.width) - f[1] - f[3], 0), n = Math.max((i ? i.height : t.shape.height) - f[0] - f[2], 0);
981
+ (u.width !== e || u.height !== n) && l.setStyle({
982
+ width: e,
983
983
  height: n
984
984
  });
985
- }, u.truncateMinChar = 2, u.lineOverflow = "truncate", W(u, i, d);
985
+ }, u.truncateMinChar = 2, u.lineOverflow = "truncate", K(u, i, d);
986
986
  var p = l.getState("emphasis");
987
- W(p ? p.style : null, i, d);
987
+ K(p ? p.style : null, i, d);
988
988
  }
989
989
  }
990
- function W(e, n, r) {
991
- var i = e ? e.text : null;
990
+ function K(t, n, r) {
991
+ var i = t ? t.text : null;
992
992
  if (!n && r.isLeafRoot && i != null) {
993
- var a = t.get("drillDownIcon", !0);
994
- e.text = a ? a + " " + i : i;
993
+ var a = e.get("drillDownIcon", !0);
994
+ t.text = a ? a + " " + i : i;
995
995
  }
996
996
  }
997
- function G(t, i, o, s) {
998
- var c = w != null && r[t][w], l = a[t];
999
- return c ? (r[t][w] = null, ce(l, c)) : b || (c = new i(), c instanceof e && (c.z2 = ot(o, s)), le(l, c)), n[t][C] = c;
997
+ function q(e, r, a, o) {
998
+ var s = S != null && n[e][S], c = i[e];
999
+ return s ? (n[e][S] = null, oe(c, s)) : y || (s = new r(), s instanceof h && (s.z2 = ot(a, o)), se(c, s)), t[e][b] = s;
1000
1000
  }
1001
- function ce(e, t) {
1002
- var n = e[C] = {};
1003
- t instanceof Ye ? (n.oldX = t.x, n.oldY = t.y) : n.oldShape = x({}, t.shape);
1001
+ function oe(e, t) {
1002
+ var n = e[b] = {};
1003
+ t instanceof Ye ? (n.oldX = t.x, n.oldY = t.y) : n.oldShape = B({}, t.shape);
1004
1004
  }
1005
- function le(e, t) {
1006
- var n = e[C] = {}, r = s.parentNode, o = t instanceof f;
1007
- if (r && (!i || i.direction === "drillDown")) {
1008
- var c = 0, l = 0, u = a.background[r.getRawIndex()];
1009
- !i && u && u.oldShape && (c = u.oldShape.width, l = u.oldShape.height), o ? (n.oldX = 0, n.oldY = l) : n.oldShape = {
1010
- x: c,
1011
- y: l,
1005
+ function se(e, t) {
1006
+ var n = e[b] = {}, a = s.parentNode, c = t instanceof o;
1007
+ if (a && (!r || r.direction === "drillDown")) {
1008
+ var l = 0, u = 0, d = i.background[a.getRawIndex()];
1009
+ !r && d && d.oldShape && (l = d.oldShape.width, u = d.oldShape.height), c ? (n.oldX = 0, n.oldY = u) : n.oldShape = {
1010
+ x: l,
1011
+ y: u,
1012
1012
  width: 0,
1013
1013
  height: 0
1014
1014
  };
1015
1015
  }
1016
- n.fadein = !o;
1016
+ n.fadein = !c;
1017
1017
  }
1018
1018
  }
1019
1019
  function ot(e, t) {
1020
1020
  return e * et + t;
1021
1021
  }
1022
1022
  // ../../../node_modules/.pnpm/echarts@6.1.0/node_modules/echarts/lib/chart/treemap/treemapVisual.js
1023
- var st = "itemStyle", ct = a(), lt = {
1023
+ var st = "itemStyle", ct = y(), lt = {
1024
1024
  seriesType: "treemap",
1025
1025
  reset: function(e) {
1026
1026
  var t = e.getData().tree.root;
@@ -1036,15 +1036,15 @@ function ut(e, t, n, r) {
1036
1036
  if (!p || !p.length) f = ft(c), l.fill = f;
1037
1037
  else {
1038
1038
  var m = ht(e, i, a, s, c, p);
1039
- R(p, function(e, t) {
1039
+ D(p, function(e, t) {
1040
1040
  (e.depth >= n.length || e === n[e.depth]) && ut(e, _t(i, c, e, t, m, r), n, r);
1041
1041
  });
1042
1042
  }
1043
1043
  }
1044
1044
  }
1045
1045
  function dt(e, t, n) {
1046
- var r = x({}, t), i = n.designatedVisualItemStyle;
1047
- return R([
1046
+ var r = B({}, t), i = n.designatedVisualItemStyle;
1047
+ return D([
1048
1048
  "color",
1049
1049
  "colorAlpha",
1050
1050
  "colorSaturation"
@@ -1058,11 +1058,11 @@ function ft(e) {
1058
1058
  var t = mt(e, "color");
1059
1059
  if (t) {
1060
1060
  var n = mt(e, "colorAlpha"), r = mt(e, "colorSaturation");
1061
- return r && (t = j(t, null, null, r)), n && (t = C(t, n)), t;
1061
+ return r && (t = F(t, null, null, r)), n && (t = M(t, n)), t;
1062
1062
  }
1063
1063
  }
1064
1064
  function pt(e, t) {
1065
- return t == null ? null : j(t, null, null, e);
1065
+ return t == null ? null : F(t, null, null, e);
1066
1066
  }
1067
1067
  function mt(e, t) {
1068
1068
  var n = e[t];
@@ -1080,20 +1080,20 @@ function ht(e, t, n, r, i, a) {
1080
1080
  visual: o.range
1081
1081
  };
1082
1082
  d.type === "color" && (u === "index" || u === "id") ? (d.mappingMethod = "category", d.loop = !0) : d.mappingMethod = "linear";
1083
- var f = new ue(d);
1083
+ var f = new ce(d);
1084
1084
  return ct(f).drColorMappingBy = u, f;
1085
1085
  }
1086
1086
  }
1087
1087
  }
1088
1088
  function gt(e, t) {
1089
1089
  var n = e.get(t);
1090
- return o(n) && n.length ? {
1090
+ return H(n) && n.length ? {
1091
1091
  name: t,
1092
1092
  range: n
1093
1093
  } : null;
1094
1094
  }
1095
1095
  function _t(e, t, n, r, i, a) {
1096
- var o = x({}, t);
1096
+ var o = B({}, t);
1097
1097
  if (i) {
1098
1098
  var s = i.type, c = s === "color" && ct(i).drColorMappingBy, l = c === "index" ? r : c === "id" ? a.mapIdToIndex(n.getId()) : n.getValue(e.get("visualDimension"));
1099
1099
  o[s] = i.mapValueToVisual(l);
@@ -1104,4 +1104,4 @@ function _t(e, t, n, r, i, a) {
1104
1104
  function vt(e) {
1105
1105
  e.registerSeriesModel(ye), e.registerChartView(it), e.registerVisual(lt), e.registerLayout(Fe), _e(e);
1106
1106
  }
1107
- export { J as a, K as i, ve as n, pe as o, q as r, vt as t };
1107
+ export { he as a, J as i, ve as n, de as o, me as r, vt as t };