vue-data-ui 2.12.8-beta.2 → 2.12.8-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +21 -0
  2. package/dist/{Arrow-HbfibAF0.js → Arrow-XoY1VXNf.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DGrErCX-.js → BaseDraggableDialog-CXe0WfN-.js} +2 -2
  4. package/dist/{BaseIcon-j0c6lJUs.js → BaseIcon-d4dmqhkb.js} +1 -1
  5. package/dist/{ColorPicker-DitXXl-H.js → ColorPicker-B3v0IhDO.js} +2 -2
  6. package/dist/{DataTable-CsoAI95B.js → DataTable-CmbjnjRg.js} +2 -2
  7. package/dist/{Legend-ZW-PFcHg.js → Legend-YPYnzTBz.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-DJTUaQ94.js → NonSvgPenAndPaper-SD-bH_GI.js} +3 -3
  9. package/dist/{PackageVersion-DCAZ9Z7V.js → PackageVersion-OcbP0WH2.js} +1 -1
  10. package/dist/{PenAndPaper-B9RP4oFj.js → PenAndPaper-BgPXmpGI.js} +3 -3
  11. package/dist/{Shape-BBbhObHC.js → Shape-WvXjwML_.js} +1 -1
  12. package/dist/{Slicer-Vh74fjdf.js → Slicer-CaMHCF_p.js} +2 -2
  13. package/dist/{SparkTooltip-CG-HMbX2.js → SparkTooltip-BTLad6y3.js} +1 -1
  14. package/dist/{Title-Dx8ctnVy.js → Title-CJcZXNtK.js} +1 -1
  15. package/dist/{Tooltip-COHlzpZI.js → Tooltip-dXp8FaUj.js} +1 -1
  16. package/dist/{UserOptions-CGn3YdRV.js → UserOptions-Cs7JW3dK.js} +154 -138
  17. package/dist/dom-to-png-DGfv21rX.js +247 -0
  18. package/dist/img-fdViJw1e.js +20 -0
  19. package/dist/{index-CbcpITE_.js → index-BzQ0j5xI.js} +190 -128
  20. package/dist/{pdf-Cy09nTjn.js → pdf-Bj65uPK-.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +60 -1
  23. package/dist/types/vue-data-ui.d.ts +60 -1
  24. package/dist/{useNestedProp-y56W8I7J.js → useNestedProp-DqpZEE3h.js} +1 -1
  25. package/dist/{usePrinter-u-gQiRNz.js → usePrinter-CpG5jh_z.js} +2 -2
  26. package/dist/{vue-data-ui-DGmMT-Yp.js → vue-data-ui-CeIncf6V.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Du4TkjPV.js → vue-ui-3d-bar-fAJK0nIB.js} +175 -174
  29. package/dist/{vue-ui-accordion-BkA7rtwr.js → vue-ui-accordion-bpaEpjqI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-bw7gLRlR.js → vue-ui-age-pyramid-D5w5EqmV.js} +200 -199
  31. package/dist/{vue-ui-annotator-C-_zXB7H.js → vue-ui-annotator-CSGemK-O.js} +2 -2
  32. package/dist/{vue-ui-bullet-BRnz7E8e.js → vue-ui-bullet-FPBahjOr.js} +9 -8
  33. package/dist/{vue-ui-candlestick-9cPPnO0t.js → vue-ui-candlestick-BpP9MQC2.js} +115 -114
  34. package/dist/{vue-ui-carousel-table-BJuSGbk2.js → vue-ui-carousel-table-lpdLFAfT.js} +80 -79
  35. package/dist/{vue-ui-chestnut-D2dnrdHT.js → vue-ui-chestnut-D5um0tmC.js} +453 -452
  36. package/dist/{vue-ui-chord-Rvygj27H.js → vue-ui-chord-CgrXXOgv.js} +43 -42
  37. package/dist/{vue-ui-circle-pack-BR79EDAC.js → vue-ui-circle-pack-Jk-Yd8T_.js} +143 -142
  38. package/dist/{vue-ui-cursor-K11x9TYc.js → vue-ui-cursor-BjmAMjTd.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BgxqXwqN.js → vue-ui-dashboard-CQ0B1DMq.js} +62 -62
  40. package/dist/{vue-ui-digits-D7StMUym.js → vue-ui-digits-B3h4BufU.js} +2 -2
  41. package/dist/{vue-ui-donut-CyOg8kph.js → vue-ui-donut-DcjJqRof.js} +151 -150
  42. package/dist/{vue-ui-donut-evolution-CVhQaMNQ.js → vue-ui-donut-evolution-DmSbXlMu.js} +111 -110
  43. package/dist/{vue-ui-dumbbell-C7Wex4VO.js → vue-ui-dumbbell-BLcmTUd_.js} +54 -53
  44. package/dist/{vue-ui-flow-DFNdP-V9.js → vue-ui-flow-BmIGl6DC.js} +14 -13
  45. package/dist/{vue-ui-funnel-DqWcZVvF.js → vue-ui-funnel-BJfxaSQC.js} +75 -74
  46. package/dist/{vue-ui-galaxy-BhPbJqYr.js → vue-ui-galaxy-Cpnr2YW-.js} +84 -83
  47. package/dist/{vue-ui-gauge-sP6YPTJH.js → vue-ui-gauge-BhPFNziU.js} +33 -32
  48. package/dist/{vue-ui-gizmo-B4fq_bGX.js → vue-ui-gizmo-B2wA-kmz.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CpNjtuyD.js → vue-ui-heatmap-CpwNMx3i.js} +222 -221
  50. package/dist/{vue-ui-history-plot-CtgTg4fG.js → vue-ui-history-plot-DpxHqDZw.js} +234 -233
  51. package/dist/{vue-ui-kpi-CN2AE1VF.js → vue-ui-kpi-CvqXwiiE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CYt8LlhO.js → vue-ui-mini-loader-DIjSfc7L.js} +2 -2
  53. package/dist/{vue-ui-molecule-D3kexAu_.js → vue-ui-molecule-3-vg0Re6.js} +44 -43
  54. package/dist/{vue-ui-mood-radar-hHqR8eS7.js → vue-ui-mood-radar-B7W7wGkW.js} +76 -75
  55. package/dist/{vue-ui-nested-donuts-DXwaOA_n.js → vue-ui-nested-donuts-ByoeDL-3.js} +53 -52
  56. package/dist/{vue-ui-onion-C7R2R5tf.js → vue-ui-onion-CNVwf4QX.js} +72 -71
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dh772r8W.js → vue-ui-parallel-coordinate-plot-C0KJrBX8.js} +13 -12
  58. package/dist/{vue-ui-quadrant-jrOesLSU.js → vue-ui-quadrant-C-wPn5l5.js} +13 -12
  59. package/dist/{vue-ui-quick-chart-CtLnhGZA.js → vue-ui-quick-chart-SV-m_FhA.js} +8 -7
  60. package/dist/{vue-ui-radar-BikYRjfw.js → vue-ui-radar-DqOzvLUy.js} +283 -282
  61. package/dist/{vue-ui-rating-DUYbT-Ve.js → vue-ui-rating-CsZXcINB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CjnDrflp.js → vue-ui-relation-circle-B0zxq02O.js} +75 -74
  63. package/dist/{vue-ui-ridgeline-o7-RpeJx.js → vue-ui-ridgeline-CykFyAin.js} +102 -101
  64. package/dist/{vue-ui-rings-Dinj5ws1.js → vue-ui-rings-DoJwXgd3.js} +110 -109
  65. package/dist/{vue-ui-scatter-CODAsxBq.js → vue-ui-scatter-BTT3BYrI.js} +166 -165
  66. package/dist/{vue-ui-skeleton-miKWlCAi.js → vue-ui-skeleton-CavMQlAm.js} +3 -3
  67. package/dist/{vue-ui-smiley-DwqlNm1O.js → vue-ui-smiley-DdT6TBz8.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BjL35phT.js → vue-ui-spark-trend-D9q63V2-.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-2o2ZLL50.js → vue-ui-sparkbar-DCS_f__b.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-CMlBpOcc.js → vue-ui-sparkgauge-CGDjBHjo.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C7Ue-aaI.js → vue-ui-sparkhistogram-Ctpm0106.js} +4 -4
  72. package/dist/{vue-ui-sparkline-w29yzdZG.js → vue-ui-sparkline-BVyjNK_A.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-DbIxY7W3.js → vue-ui-sparkstackbar-BsNDucJO.js} +3 -3
  74. package/dist/{vue-ui-stackbar-CWqpeYW-.js → vue-ui-stackbar-DuGcJQ6F.js} +39 -38
  75. package/dist/{vue-ui-strip-plot-DyjQVaDX.js → vue-ui-strip-plot-C6vbloAI.js} +82 -81
  76. package/dist/{vue-ui-table-Bx82XIlz.js → vue-ui-table-Bb6pNaIM.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-RvSyx9L6.js → vue-ui-table-heatmap-_ypWL_z2.js} +77 -76
  78. package/dist/{vue-ui-table-sparkline-DebvtEV3.js → vue-ui-table-sparkline-_pPedR_D.js} +74 -73
  79. package/dist/{vue-ui-thermometer-yPKRIlqA.js → vue-ui-thermometer-CmLnTIU7.js} +22 -21
  80. package/dist/{vue-ui-timer-C15nOU7T.js → vue-ui-timer-CpAJT80M.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C2G8HtiX.js → vue-ui-tiremarks-DXgmJClr.js} +38 -37
  82. package/dist/{vue-ui-treemap-cFhw0xSg.js → vue-ui-treemap-Ci2Yi9Gh.js} +109 -108
  83. package/dist/{vue-ui-vertical-bar-dWiOw4sV.js → vue-ui-vertical-bar-pn_EqFmU.js} +82 -81
  84. package/dist/{vue-ui-waffle-Uldnmn6D.js → vue-ui-waffle-vqh1kEDT.js} +33 -32
  85. package/dist/{vue-ui-wheel-Cz79iDLO.js → vue-ui-wheel-BCcK6wwZ.js} +8 -7
  86. package/dist/{vue-ui-word-cloud-BGeHV6hS.js → vue-ui-word-cloud-Bu8Giu0b.js} +110 -109
  87. package/dist/{vue-ui-world-D1Dy-4mh.js → vue-ui-world-CzRlg19V.js} +57 -56
  88. package/dist/{vue-ui-xy-BA7xWU7_.js → vue-ui-xy-0gHPOOwZ.js} +982 -856
  89. package/dist/{vue-ui-xy-canvas-B2kkKb64.js → vue-ui-xy-canvas-DuAgXbBB.js} +41 -40
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-BjSUS-jY.js +0 -243
  92. package/dist/img-DWfzRJdv.js +0 -19
@@ -1,7 +1,7 @@
1
- import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as d, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
2
- import { u as ye } from "./useNestedProp-y56W8I7J.js";
3
- import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a5 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-CbcpITE_.js";
4
- import { u as je } from "./usePrinter-u-gQiRNz.js";
1
+ import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as v, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
2
+ import { u as ye } from "./useNestedProp-DqpZEE3h.js";
3
+ import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a5 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-BzQ0j5xI.js";
4
+ import { u as je } from "./usePrinter-CpG5jh_z.js";
5
5
  import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { v as tt } from "./vClickOutside-C6WiFswA.js";
7
7
  import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
@@ -41,9 +41,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
41
41
  },
42
42
  setup(ke, { expose: _e }) {
43
43
  Fe((t) => ({
44
- "6e3712b2": t.tdo
44
+ c3f77e6e: t.tdo
45
45
  }));
46
- const Ce = J(() => import("./vue-ui-sparkline-w29yzdZG.js")), N = J(() => import("./BaseIcon-j0c6lJUs.js")), xe = J(() => import("./UserOptions-CGn3YdRV.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
46
+ const Ce = J(() => import("./vue-ui-sparkline-BVyjNK_A.js")), N = J(() => import("./BaseIcon-d4dmqhkb.js")), xe = J(() => import("./UserOptions-Cs7JW3dK.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
47
47
  me(() => {
48
48
  Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
49
49
  });
@@ -106,30 +106,30 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
106
106
  });
107
107
  });
108
108
  }), x.dataset.map((t, l) => {
109
- const a = (t.values || []).map((v) => isNaN(v) ? 0 : v ?? 0), o = a.reduce((v, i) => v + i, 0), s = o / a.length, n = Ke(a);
109
+ const a = (t.values || []).map((d) => isNaN(d) ? 0 : d ?? 0), n = a.reduce((d, i) => d + i, 0), s = n / a.length, o = Ke(a);
110
110
  return {
111
111
  ...t,
112
112
  values: t.values || [],
113
113
  color: Qe(t.color) || Ie.value[l] || T[l] || T[l % T.length],
114
- sum: o,
114
+ sum: n,
115
115
  average: s,
116
- median: n,
117
- sparklineDataset: a.map((v, i) => ({
116
+ median: o,
117
+ sparklineDataset: a.map((d, i) => ({
118
118
  period: e.value.colNames[i] || `col ${i}`,
119
- value: v || 0
119
+ value: d || 0
120
120
  }))
121
121
  };
122
122
  })));
123
123
  function Oe(t) {
124
124
  const a = (t[0].values || []).map(
125
- (s, n) => t.map((v) => v.values[n] || [])
125
+ (s, o) => t.map((d) => d.values[o] || [])
126
126
  ).map(
127
- (s) => s.map((n, v) => [n, v]).sort((n, v) => v[0] - n[0]).map((n) => n[1])
127
+ (s) => s.map((o, d) => [o, d]).sort((o, d) => d[0] - o[0]).map((o) => o[1])
128
128
  );
129
- return t.map((s, n) => ({
129
+ return t.map((s, o) => ({
130
130
  ...s,
131
131
  values: s.values || [],
132
- orders: a[n]
132
+ orders: a[o]
133
133
  }));
134
134
  }
135
135
  const $ = _(() => Oe(se.value)), m = p($.value), $e = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), H = p(void 0), q = p(!1), b = p(void 0), re = p(1);
@@ -152,10 +152,10 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
152
152
  return;
153
153
  }
154
154
  q.value = !0, b.value = l;
155
- const o = $.value.map((i) => i.values[l] || []), s = a;
155
+ const n = $.value.map((i) => i.values[l] || []), s = a;
156
156
  z.value[l].state = s, re.value = s, l === H.value ? H.value = void 0 : H.value = l;
157
- const v = o.map((i, h) => [h, i]).sort((i, h) => s * (h[1] - i[1])).map((i) => i[0]).map((i) => $.value[i]);
158
- m.value = v, B.value += 1;
157
+ const d = n.map((i, h) => [h, i]).sort((i, h) => s * (h[1] - i[1])).map((i) => i[0]).map((i) => $.value[i]);
158
+ m.value = d, B.value += 1;
159
159
  }
160
160
  const ie = _(() => Math.max(...x.dataset.map((t) => (t.values || []).length))), k = _(() => {
161
161
  let t = R.value.map((a) => ({
@@ -185,9 +185,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
185
185
  return;
186
186
  }
187
187
  y.value = t, q.value = !0, w.value[t] = a, [null, void 0].includes(l) || (z.value[l].state = w.value[t]);
188
- const o = w.value[t], s = [...m.value].sort((n, v) => {
189
- const i = n[t] ?? (typeof n[t] == "number" ? 0 : ""), h = v[t] ?? (typeof v[t] == "number" ? 0 : "");
190
- return typeof i == "string" && typeof h == "string" ? o === -1 ? i.localeCompare(h) : h.localeCompare(i) : typeof i == "number" && typeof h == "number" ? o === -1 ? i - h : h - i : 0;
188
+ const n = w.value[t], s = [...m.value].sort((o, d) => {
189
+ const i = o[t] ?? (typeof o[t] == "number" ? 0 : ""), h = d[t] ?? (typeof d[t] == "number" ? 0 : "");
190
+ return typeof i == "string" && typeof h == "string" ? n === -1 ? i.localeCompare(h) : h.localeCompare(i) : typeof i == "number" && typeof h == "number" ? n === -1 ? i - h : h - i : 0;
191
191
  });
192
192
  m.value = s;
193
193
  }
@@ -199,17 +199,17 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
199
199
  function Pe(t) {
200
200
  de.value = t, Z.value += 1;
201
201
  }
202
- function ve() {
202
+ function ve(t = null) {
203
203
  Ee(() => {
204
- const t = [e.value.translations.serie].concat(k.value), l = se.value.map((s, n) => [
205
- [s.name],
206
- s.values,
207
- [s.sum],
208
- [s.average],
209
- [s.median]
210
- ]), a = [t].concat(l), o = Ye(a);
211
- Ze({
212
- csvContent: o,
204
+ const l = [e.value.translations.serie].concat(k.value), a = se.value.map((o, d) => [
205
+ [o.name],
206
+ o.values,
207
+ [o.sum],
208
+ [o.average],
209
+ [o.median]
210
+ ]), n = [l].concat(a), s = Ye(n);
211
+ t ? t(s) : Ze({
212
+ csvContent: s,
213
213
  title: e.value.title.text || "vue-ui-table-sparkline"
214
214
  });
215
215
  });
@@ -235,7 +235,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
235
235
  generateImage: ne,
236
236
  generateCsv: ve,
237
237
  restoreOrder: A
238
- }), (t, l) => (d(), c("div", {
238
+ }), (t, l) => (v(), c("div", {
239
239
  ref_key: "tableContainer",
240
240
  ref: F,
241
241
  class: K({ "vue-ui-table-sparkline": !0, "vue-ui-responsive": L.value }),
@@ -244,7 +244,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
244
244
  onMouseenter: l[3] || (l[3] = () => u(j)(!0)),
245
245
  onMouseleave: l[4] || (l[4] = () => u(j)(!1))
246
246
  }, [
247
- e.value.title.text ? (d(), c("div", {
247
+ e.value.title.text ? (v(), c("div", {
248
248
  key: 0,
249
249
  class: "vue-ui-table-sparkline-caption",
250
250
  style: r({ backgroundColor: e.value.title.backgroundColor })
@@ -258,7 +258,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
258
258
  textAlign: e.value.title.textAlign
259
259
  })
260
260
  }, C(e.value.title.text), 5),
261
- e.value.title.subtitle.text ? (d(), c("div", {
261
+ e.value.title.subtitle.text ? (v(), c("div", {
262
262
  key: 0,
263
263
  class: "atom-subtitle",
264
264
  style: r({
@@ -280,7 +280,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
280
280
  style: r({ fontFamily: e.value.fontFamily, position: "relative" })
281
281
  }, [
282
282
  f("thead", ot, [
283
- Me((d(), c("tr", {
283
+ Me((v(), c("tr", {
284
284
  role: "row",
285
285
  class: "vue-ui-data-table__thead-row",
286
286
  style: r({
@@ -308,7 +308,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
308
308
  })
309
309
  }, [
310
310
  f("span", null, C(e.value.translations.serie), 1),
311
- m.value.length > 1 && e.value.sortedSeriesName ? (d(), c("div", nt, [
311
+ m.value.length > 1 && e.value.sortedSeriesName ? (v(), c("div", nt, [
312
312
  f("button", {
313
313
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
314
314
  onClick: l[0] || (l[0] = (a) => V({ type: "name" }, null, -1))
@@ -338,17 +338,17 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
338
338
  ])) : g("", !0)
339
339
  ], 4)
340
340
  ], 4),
341
- (d(!0), c(Q, null, Y(k.value, (a, o) => (d(), c("th", {
341
+ (v(!0), c(Q, null, Y(k.value, (a, n) => (v(), c("th", {
342
342
  role: "cell",
343
343
  style: r({
344
344
  background: e.value.thead.backgroundColor,
345
345
  border: e.value.thead.outline,
346
346
  textAlign: e.value.thead.textAlign,
347
347
  fontWeight: e.value.thead.bold ? "bold" : "normal",
348
- minWidth: o === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
349
- paddingRight: o === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
348
+ minWidth: n === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
349
+ paddingRight: n === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
350
350
  }),
351
- class: K({ "sticky-col": o === k.value.length - 1 && e.value.showSparklines })
351
+ class: K({ "sticky-col": n === k.value.length - 1 && e.value.showSparklines })
352
352
  }, [
353
353
  f("div", {
354
354
  style: r({
@@ -360,36 +360,36 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
360
360
  })
361
361
  }, [
362
362
  f("span", null, C(a.value), 1),
363
- m.value.length > 1 && (ce(o) || pe(a)) ? (d(), c("div", ut, [
363
+ m.value.length > 1 && (ce(n) || pe(a)) ? (v(), c("div", ut, [
364
364
  f("button", {
365
365
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
366
- onClick: () => V(a, o, -1)
366
+ onClick: () => V(a, n, -1)
367
367
  }, [
368
368
  D(u(N), {
369
369
  size: 12,
370
370
  name: "arrowBottom",
371
371
  stroke: e.value.thead.color,
372
372
  style: r({
373
- opacity: fe(o, a, -1)
373
+ opacity: fe(n, a, -1)
374
374
  })
375
375
  }, null, 8, ["stroke", "style"])
376
376
  ], 8, st),
377
377
  f("button", {
378
378
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
379
- onClick: () => V(a, o, 1)
379
+ onClick: () => V(a, n, 1)
380
380
  }, [
381
381
  D(u(N), {
382
382
  size: 12,
383
383
  name: "arrowTop",
384
384
  stroke: e.value.thead.color,
385
385
  style: r({
386
- opacity: fe(o, a, 1)
386
+ opacity: fe(n, a, 1)
387
387
  })
388
388
  }, null, 8, ["stroke", "style"])
389
389
  ], 8, rt)
390
390
  ])) : g("", !0)
391
391
  ], 4),
392
- e.value.userOptions.show && o === k.value.length - 1 && (u(ee) || u(G)) ? (d(), Ue(u(xe), {
392
+ e.value.userOptions.show && n === k.value.length - 1 && (u(ee) || u(G)) ? (v(), Ue(u(xe), {
393
393
  ref_for: !0,
394
394
  ref: "details",
395
395
  key: `user_option_${Z.value}`,
@@ -406,6 +406,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
406
406
  titles: { ...e.value.userOptions.buttonTitles },
407
407
  chartElement: F.value,
408
408
  position: e.value.userOptions.position,
409
+ callbacks: e.value.userOptions.callbacks,
409
410
  onToggleFullscreen: Pe,
410
411
  onGeneratePdf: u(oe),
411
412
  onGenerateImage: u(ne),
@@ -416,8 +417,8 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
416
417
  }, Be({ _: 2 }, [
417
418
  t.$slots.menuIcon ? {
418
419
  name: "menuIcon",
419
- fn: P(({ isOpen: s, color: n }) => [
420
- O(t.$slots, "menuIcon", ge({ ref_for: !0 }, { isOpen: s, color: n }), void 0, !0)
420
+ fn: P(({ isOpen: s, color: o }) => [
421
+ O(t.$slots, "menuIcon", ge({ ref_for: !0 }, { isOpen: s, color: o }), void 0, !0)
421
422
  ]),
422
423
  key: "0"
423
424
  } : void 0,
@@ -444,25 +445,25 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
444
445
  } : void 0,
445
446
  t.$slots.optionFullscreen ? {
446
447
  name: "optionFullscreen",
447
- fn: P(({ toggleFullscreen: s, isFullscreen: n }) => [
448
- O(t.$slots, "optionFullscreen", ge({ ref_for: !0 }, { toggleFullscreen: s, isFullscreen: n }), void 0, !0)
448
+ fn: P(({ toggleFullscreen: s, isFullscreen: o }) => [
449
+ O(t.$slots, "optionFullscreen", ge({ ref_for: !0 }, { toggleFullscreen: s, isFullscreen: o }), void 0, !0)
449
450
  ]),
450
451
  key: "4"
451
452
  } : void 0
452
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0)
453
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0)
453
454
  ], 6))), 256))
454
455
  ], 4)), [
455
456
  [u(tt), Ne]
456
457
  ])
457
458
  ]),
458
459
  f("tbody", null, [
459
- (d(!0), c(Q, null, Y(m.value, (a, o) => (d(), c("tr", {
460
+ (v(!0), c(Q, null, Y(m.value, (a, n) => (v(), c("tr", {
460
461
  role: "row",
461
462
  style: r({
462
463
  backgroundColor: e.value.tbody.backgroundColor,
463
464
  color: e.value.tbody.color
464
465
  }),
465
- class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 })
466
+ class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 })
466
467
  }, [
467
468
  f("td", {
468
469
  role: "cell",
@@ -486,14 +487,14 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
486
487
  justifyContent: e.value.tbody.textAlign
487
488
  })
488
489
  }, [
489
- e.value.tbody.showColorMarker ? (d(), c("span", {
490
+ e.value.tbody.showColorMarker ? (v(), c("span", {
490
491
  key: 0,
491
492
  style: r({ color: a.color })
492
493
  }, "⬤", 4)) : g("", !0),
493
494
  f("span", null, C(a.name ?? "-"), 1)
494
495
  ], 4)
495
496
  ], 12, it),
496
- (d(!0), c(Q, null, Y($e.value, (s, n) => (d(), c("td", {
497
+ (v(!0), c(Q, null, Y($e.value, (s, o) => (v(), c("td", {
497
498
  dir: "auto",
498
499
  role: "cell",
499
500
  ref_for: !0,
@@ -504,25 +505,25 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
504
505
  fontSize: `${e.value.tbody.fontSize}px`,
505
506
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
506
507
  textAlign: e.value.tbody.textAlign,
507
- background: S.value !== void 0 && n === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
508
+ background: S.value !== void 0 && o === S.value ? e.value.tbody.selectedColor.useSerieColor ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : e.value.tbody.selectedColor.fallback : ""
508
509
  }),
509
- "data-cell": k.value[n] ? k.value[n].value : "",
510
+ "data-cell": k.value[o] ? k.value[o].value : "",
510
511
  class: "vue-ui-data-table__tbody__td",
511
- onPointerenter: (v) => {
512
- X.value = o, S.value = n;
512
+ onPointerenter: (d) => {
513
+ X.value = n, S.value = o;
513
514
  }
514
- }, C([null, void 0].includes(a.values[n]) ? "-" : u(W)(
515
+ }, C([null, void 0].includes(a.values[o]) ? "-" : u(W)(
515
516
  e.value.formatter,
516
- Number(a.values[n]),
517
+ Number(a.values[o]),
517
518
  u(M)({
518
519
  p: e.value.prefix,
519
- v: Number(a.values[n]),
520
+ v: Number(a.values[o]),
520
521
  s: e.value.suffix,
521
522
  r: e.value.roundingValues
522
523
  }),
523
- { datapoint: a, seriesIndex: o, datapointIndex: n }
524
+ { datapoint: a, seriesIndex: n, datapointIndex: o }
524
525
  )), 45, dt))), 256)),
525
- e.value.showTotal ? (d(), c("td", {
526
+ e.value.showTotal ? (v(), c("td", {
526
527
  key: 0,
527
528
  dir: "auto",
528
529
  role: "cell",
@@ -543,9 +544,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
543
544
  s: e.value.suffix,
544
545
  r: e.value.roundingTotal
545
546
  }),
546
- { datapoint: a.sum, seriesIndex: o }
547
+ { datapoint: a.sum, seriesIndex: n }
547
548
  )), 13, vt)) : g("", !0),
548
- e.value.showAverage ? (d(), c("td", {
549
+ e.value.showAverage ? (v(), c("td", {
549
550
  key: 1,
550
551
  dir: "auto",
551
552
  role: "cell",
@@ -566,9 +567,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
566
567
  s: e.value.suffix,
567
568
  r: e.value.roundingAverage
568
569
  }),
569
- { datapoint: a.average, seriesIndex: o }
570
+ { datapoint: a.average, seriesIndex: n }
570
571
  )), 13, ct)) : g("", !0),
571
- e.value.showMedian ? (d(), c("td", {
572
+ e.value.showMedian ? (v(), c("td", {
572
573
  key: 2,
573
574
  dir: "auto",
574
575
  role: "cell",
@@ -589,9 +590,9 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
589
590
  s: e.value.suffix,
590
591
  r: e.value.roundingMedian
591
592
  }),
592
- { datapoint: a.median, seriesIndex: o }
593
+ { datapoint: a.median, seriesIndex: n }
593
594
  )), 13, pt)) : g("", !0),
594
- e.value.showSparklines ? (d(), c("td", {
595
+ e.value.showSparklines ? (v(), c("td", {
595
596
  key: 3,
596
597
  role: "cell",
597
598
  "data-cell": e.value.translations.chart,
@@ -606,7 +607,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
606
607
  class: "vue-ui-data-table__tbody__td sticky-col"
607
608
  }, [
608
609
  D(u(Ce), {
609
- onHoverIndex: ({ index: s }) => De({ dataIndex: s, serieIndex: o }),
610
+ onHoverIndex: ({ index: s }) => De({ dataIndex: s, serieIndex: n }),
610
611
  "height-ratio": e.value.sparkline.dimensions.heightRatio,
611
612
  "forced-padding": 30,
612
613
  dataset: a.sparklineDataset,
@@ -649,12 +650,12 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
649
650
  ])
650
651
  ], 4)
651
652
  ], 32),
652
- t.$slots.source ? (d(), c("div", mt, [
653
+ t.$slots.source ? (v(), c("div", mt, [
653
654
  O(t.$slots, "source", {}, void 0, !0)
654
655
  ], 512)) : g("", !0)
655
656
  ], 42, lt));
656
657
  }
657
- }, wt = /* @__PURE__ */ at(bt, [["__scopeId", "data-v-0812843e"]]);
658
+ }, wt = /* @__PURE__ */ at(bt, [["__scopeId", "data-v-92eaf0de"]]);
658
659
  export {
659
660
  wt as default
660
661
  };
@@ -1,10 +1,10 @@
1
- import { useCssVars as Ce, computed as d, defineAsyncComponent as F, onMounted as $e, ref as p, watch as Pe, createElementBlock as u, openBlock as l, unref as i, normalizeStyle as se, normalizeClass as I, createBlock as O, createCommentVNode as c, createSlots as Fe, withCtx as x, renderSlot as f, normalizeProps as A, guardReactiveProps as M, createVNode as Ie, createElementVNode as v, Fragment as Y, renderList as oe, toDisplayString as Oe } from "vue";
2
- import { u as Ae, o as Me, e as le, g as Ye, c as Ne, t as Se, p as w, a as Ue, b as Te, v as g, d as N, X as Ve, s as qe, i as Le, f as Ee } from "./index-CbcpITE_.js";
3
- import { u as ae } from "./useNestedProp-y56W8I7J.js";
4
- import { u as Ge } from "./usePrinter-u-gQiRNz.js";
1
+ import { useCssVars as Ce, computed as d, defineAsyncComponent as F, onMounted as $e, ref as p, watch as Pe, createElementBlock as u, openBlock as l, unref as i, normalizeStyle as se, normalizeClass as O, createBlock as I, createCommentVNode as c, createSlots as Fe, withCtx as x, renderSlot as f, normalizeProps as A, guardReactiveProps as M, createVNode as Oe, createElementVNode as v, Fragment as Y, renderList as oe, toDisplayString as Ie } from "vue";
2
+ import { u as Ae, o as Me, e as le, g as Ye, c as Ne, t as Se, p as w, a as Ue, b as Te, v as g, d as N, X as Ve, s as qe, i as Le, f as Ee } from "./index-BzQ0j5xI.js";
3
+ import { u as ae } from "./useNestedProp-DqpZEE3h.js";
4
+ import { u as Ge } from "./usePrinter-CpG5jh_z.js";
5
5
  import { u as We } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as je } from "./useChartAccessibility-9icAAmYg.js";
7
- import ze from "./Title-Dx8ctnVy.js";
7
+ import ze from "./Title-CJcZXNtK.js";
8
8
  import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const Re = ["id"], De = {
10
10
  key: 1,
@@ -42,11 +42,11 @@ const Re = ["id"], De = {
42
42
  },
43
43
  setup(_, { expose: re }) {
44
44
  Ce((s) => ({
45
- "67ef7d5f": pe.value,
46
- fabc91e2: ge.value,
47
- d0007888: fe.value
45
+ "4bc80fca": pe.value,
46
+ "19db7204": ge.value,
47
+ "5e34901e": fe.value
48
48
  }));
49
- const ne = F(() => import("./PackageVersion-DCAZ9Z7V.js")), ue = F(() => import("./PenAndPaper-B9RP4oFj.js")), ie = F(() => import("./vue-ui-skeleton-miKWlCAi.js")), ce = F(() => import("./UserOptions-CGn3YdRV.js")), { vue_ui_thermometer: he } = Ae(), a = _, S = d(() => !!a.dataset && Object.keys(a.dataset).length);
49
+ const ne = F(() => import("./PackageVersion-OcbP0WH2.js")), ue = F(() => import("./PenAndPaper-BgPXmpGI.js")), ie = F(() => import("./vue-ui-skeleton-CavMQlAm.js")), ce = F(() => import("./UserOptions-Cs7JW3dK.js")), { vue_ui_thermometer: he } = Ae(), a = _, S = d(() => !!a.dataset && Object.keys(a.dataset).length);
50
50
  $e(() => {
51
51
  W();
52
52
  });
@@ -170,13 +170,13 @@ const Re = ["id"], De = {
170
170
  }), (s, r) => (l(), u("div", {
171
171
  ref_key: "thermoChart",
172
172
  ref: j,
173
- class: I(`vue-ui-thermometer ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
173
+ class: O(`vue-ui-thermometer ${k.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
174
174
  style: se(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
175
175
  id: `thermometer__${m.value}`,
176
176
  onMouseenter: r[0] || (r[0] = () => i(R)(!0)),
177
177
  onMouseleave: r[1] || (r[1] = () => i(R)(!1))
178
178
  }, [
179
- e.value.userOptions.buttons.annotator ? (l(), O(i(ue), {
179
+ e.value.userOptions.buttons.annotator ? (l(), I(i(ue), {
180
180
  key: 0,
181
181
  svgRef: i(H),
182
182
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -186,7 +186,7 @@ const Re = ["id"], De = {
186
186
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
187
187
  de.value ? (l(), u("div", De, null, 512)) : c("", !0),
188
188
  e.value.style.title.text ? (l(), u("div", He, [
189
- (l(), O(ze, {
189
+ (l(), I(ze, {
190
190
  key: `title_${B.value}`,
191
191
  config: {
192
192
  title: {
@@ -200,7 +200,7 @@ const Re = ["id"], De = {
200
200
  }
201
201
  }, null, 8, ["config"]))
202
202
  ])) : c("", !0),
203
- e.value.userOptions.show && S.value && (i(D) || i(U)) ? (l(), O(i(ce), {
203
+ e.value.userOptions.show && S.value && (i(D) || i(U)) ? (l(), I(i(ce), {
204
204
  ref: "details",
205
205
  key: `user_options_${z.value}`,
206
206
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -218,6 +218,7 @@ const Re = ["id"], De = {
218
218
  position: e.value.userOptions.position,
219
219
  hasAnnotator: e.value.userOptions.buttons.annotator,
220
220
  isAnnotation: P.value,
221
+ callbacks: e.value.userOptions.callbacks,
221
222
  onToggleFullscreen: ke,
222
223
  onGeneratePdf: i(Q),
223
224
  onGenerateImage: i(Z),
@@ -261,18 +262,18 @@ const Re = ["id"], De = {
261
262
  ]),
262
263
  key: "4"
263
264
  } : void 0
264
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
265
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
265
266
  S.value ? (l(), u("svg", {
266
267
  key: 4,
267
268
  ref_key: "svgRef",
268
269
  ref: H,
269
270
  xmlns: i(Ve),
270
- class: I({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value }),
271
+ class: O({ "vue-data-ui-fullscreen--on": k.value, "vue-data-ui-fulscreen--off": !k.value }),
271
272
  width: "100%",
272
273
  viewBox: `0 0 ${o.value.width} ${o.value.height}`,
273
274
  style: "background:transparent"
274
275
  }, [
275
- Ie(i(ne)),
276
+ Oe(i(ne)),
276
277
  s.$slots["chart-background"] ? (l(), u("foreignObject", {
277
278
  key: 0,
278
279
  x: 0,
@@ -423,7 +424,7 @@ const Re = ["id"], De = {
423
424
  ], 64)) : c("", !0)
424
425
  ]))), 128)),
425
426
  v("rect", {
426
- class: I({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
427
+ class: O({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
427
428
  x: o.value.left,
428
429
  y: o.value.top,
429
430
  height: q.value,
@@ -432,14 +433,14 @@ const Re = ["id"], De = {
432
433
  }, null, 10, yt)
433
434
  ]),
434
435
  v("text", {
435
- class: I({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
436
+ class: O({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
436
437
  y: q.value + o.value.top + e.value.style.chart.label.fontSize / 3,
437
438
  x: o.value.left - 10,
438
439
  "text-anchor": "end",
439
440
  fill: e.value.style.chart.label.color,
440
441
  "font-size": e.value.style.chart.label.fontSize,
441
442
  "font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
442
- }, Oe(i(Le)(
443
+ }, Ie(i(Le)(
443
444
  e.value.style.chart.label.formatter,
444
445
  _.dataset.value,
445
446
  i(Ee)({
@@ -458,7 +459,7 @@ const Re = ["id"], De = {
458
459
  s.$slots.source ? (l(), u("div", pt, [
459
460
  f(s.$slots, "source", {}, void 0, !0)
460
461
  ], 512)) : c("", !0),
461
- S.value ? c("", !0) : (l(), O(i(ie), {
462
+ S.value ? c("", !0) : (l(), I(i(ie), {
462
463
  key: 7,
463
464
  config: {
464
465
  type: "thermometer",
@@ -472,7 +473,7 @@ const Re = ["id"], De = {
472
473
  }, null, 8, ["config"]))
473
474
  ], 46, Re));
474
475
  }
475
- }, Ft = /* @__PURE__ */ Be(mt, [["__scopeId", "data-v-1a738265"]]);
476
+ }, Ft = /* @__PURE__ */ Be(mt, [["__scopeId", "data-v-c84e39bf"]]);
476
477
  export {
477
478
  Ft as default
478
479
  };
@@ -1,10 +1,10 @@
1
1
  import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as z, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
2
- import { u as ne } from "./useNestedProp-y56W8I7J.js";
3
- import { u as ce, c as ve, X as de, F as X } from "./index-CbcpITE_.js";
2
+ import { u as ne } from "./useNestedProp-DqpZEE3h.js";
3
+ import { u as ce, c as ve, X as de, F as X } from "./index-BzQ0j5xI.js";
4
4
  import { t as he, u as pe } from "./useResponsive-JZ9xq-JV.js";
5
5
  import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
6
- import we from "./Title-Dx8ctnVy.js";
7
- import R from "./BaseIcon-j0c6lJUs.js";
6
+ import we from "./Title-CJcZXNtK.js";
7
+ import R from "./BaseIcon-d4dmqhkb.js";
8
8
  import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  class ge {
10
10
  constructor(L, N, S, j = !0, A = !0) {
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
130
130
  },
131
131
  emits: ["start", "pause", "reset", "restart", "lap"],
132
132
  setup(q, { expose: L, emit: N }) {
133
- const S = se(() => import("./PackageVersion-DCAZ9Z7V.js")), { vue_ui_timer: j } = ce(), A = q, g = N, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
133
+ const S = se(() => import("./PackageVersion-OcbP0WH2.js")), { vue_ui_timer: j } = ce(), A = q, g = N, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
134
134
  le(() => {
135
135
  m();
136
136
  });