vue-data-ui 3.7.15 → 3.8.0

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 (167) hide show
  1. package/README.md +50 -43
  2. package/dist/{Arrow-9T8aUCDR.js → Arrow-pvqmWZAQ.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DZVSjhEw.js → BaseDraggableDialog-BYwNgX3M.js} +2 -2
  4. package/dist/{BaseIcon-Dl4VBlHV.js → BaseIcon-CALhpING.js} +8 -4
  5. package/dist/{ColorPicker-BrMbLQds.js → ColorPicker-B_9b0REv.js} +2 -2
  6. package/dist/{DataTable-Ho3Bf5oq.js → DataTable-Ca1twcf7.js} +2 -2
  7. package/dist/{Legend-DSyOOSJ1.js → Legend-Djkw4FGq.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-MX5IsudW.js → NonSvgPenAndPaper-DCQPVA4M.js} +3 -3
  9. package/dist/{PackageVersion-BAF3mEBQ.js → PackageVersion-B9RA2_BM.js} +1 -1
  10. package/dist/{PenAndPaper-kymjF6_b.js → PenAndPaper-DscVdZ1u.js} +3 -3
  11. package/dist/{Shape-rPzC8L-O.js → Shape-BEGGcaL8.js} +1 -1
  12. package/dist/{Slicer-DScoMPmj.js → Slicer-DaUi0o8i.js} +2 -2
  13. package/dist/{SlicerPreview-B1QUTxTZ.js → SlicerPreview-Bk-h_ANq.js} +2 -2
  14. package/dist/{SparkTooltip-reDvtQYF.js → SparkTooltip-BWdCP-h3.js} +1 -1
  15. package/dist/{Title-Hk29BxeL.js → Title-CgkWUXeV.js} +1 -1
  16. package/dist/{Tooltip-De7i-i20.js → Tooltip-OHx7yHlS.js} +1 -1
  17. package/dist/{UserOptions-DgscxIaa.js → UserOptions-ChRXLqps.js} +2 -2
  18. package/dist/components/arrow.js +1 -1
  19. package/dist/components/vue-ui-3d-bar.js +1 -1
  20. package/dist/components/vue-ui-accordion.js +1 -1
  21. package/dist/components/vue-ui-age-pyramid.js +1 -1
  22. package/dist/components/vue-ui-annotator.js +1 -1
  23. package/dist/components/vue-ui-bullet.js +1 -1
  24. package/dist/components/vue-ui-candlestick.js +1 -1
  25. package/dist/components/vue-ui-carousel-table.js +1 -1
  26. package/dist/components/vue-ui-chestnut.js +1 -1
  27. package/dist/components/vue-ui-chord.js +1 -1
  28. package/dist/components/vue-ui-circle-pack.js +1 -1
  29. package/dist/components/vue-ui-cursor.js +1 -1
  30. package/dist/components/vue-ui-dag.js +5 -0
  31. package/dist/components/vue-ui-dashboard.js +1 -1
  32. package/dist/components/vue-ui-digits.js +1 -1
  33. package/dist/components/vue-ui-donut-evolution.js +1 -1
  34. package/dist/components/vue-ui-donut.js +1 -1
  35. package/dist/components/vue-ui-dumbbell.js +1 -1
  36. package/dist/components/vue-ui-flow.js +1 -1
  37. package/dist/components/vue-ui-funnel.js +1 -1
  38. package/dist/components/vue-ui-galaxy.js +1 -1
  39. package/dist/components/vue-ui-gauge.js +1 -1
  40. package/dist/components/vue-ui-gizmo.js +1 -1
  41. package/dist/components/vue-ui-heatmap.js +1 -1
  42. package/dist/components/vue-ui-history-plot.js +1 -1
  43. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  44. package/dist/components/vue-ui-icon.js +1 -1
  45. package/dist/components/vue-ui-kpi.js +1 -1
  46. package/dist/components/vue-ui-mini-loader.js +1 -1
  47. package/dist/components/vue-ui-molecule.js +1 -1
  48. package/dist/components/vue-ui-mood-radar.js +1 -1
  49. package/dist/components/vue-ui-nested-donuts.js +1 -1
  50. package/dist/components/vue-ui-onion.js +1 -1
  51. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  52. package/dist/components/vue-ui-quadrant.js +1 -1
  53. package/dist/components/vue-ui-quick-chart.js +1 -1
  54. package/dist/components/vue-ui-radar.js +1 -1
  55. package/dist/components/vue-ui-rating.js +1 -1
  56. package/dist/components/vue-ui-relation-circle.js +1 -1
  57. package/dist/components/vue-ui-ridgeline.js +1 -1
  58. package/dist/components/vue-ui-rings.js +1 -1
  59. package/dist/components/vue-ui-scatter.js +1 -1
  60. package/dist/components/vue-ui-skeleton.js +1 -1
  61. package/dist/components/vue-ui-smiley.js +1 -1
  62. package/dist/components/vue-ui-spark-trend.js +1 -1
  63. package/dist/components/vue-ui-sparkbar.js +1 -1
  64. package/dist/components/vue-ui-sparkgauge.js +1 -1
  65. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  66. package/dist/components/vue-ui-sparkline.js +1 -1
  67. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  68. package/dist/components/vue-ui-stackbar.js +1 -1
  69. package/dist/components/vue-ui-stackline.js +1 -1
  70. package/dist/components/vue-ui-strip-plot.js +1 -1
  71. package/dist/components/vue-ui-table-heatmap.js +1 -1
  72. package/dist/components/vue-ui-table-sparkline.js +1 -1
  73. package/dist/components/vue-ui-table.js +1 -1
  74. package/dist/components/vue-ui-thermometer.js +1 -1
  75. package/dist/components/vue-ui-timer.js +1 -1
  76. package/dist/components/vue-ui-tiremarks.js +1 -1
  77. package/dist/components/vue-ui-treemap.js +1 -1
  78. package/dist/components/vue-ui-vertical-bar.js +1 -1
  79. package/dist/components/vue-ui-waffle.js +1 -1
  80. package/dist/components/vue-ui-wheel.js +1 -1
  81. package/dist/components/vue-ui-word-cloud.js +1 -1
  82. package/dist/components/vue-ui-world.js +1 -1
  83. package/dist/components/vue-ui-xy-canvas.js +1 -1
  84. package/dist/components/vue-ui-xy.js +1 -1
  85. package/dist/{dom-to-png-BG68zYm5.js → dom-to-png-VQEAYRVr.js} +1 -1
  86. package/dist/{img-BYzbY8TZ.js → img-CwrkWkkl.js} +1 -1
  87. package/dist/{lib-DUaaQGCv.js → lib-qMPkcvmh.js} +194 -179
  88. package/dist/{pdf--SSvtzbF.js → pdf-BMMrFX8S.js} +1 -1
  89. package/dist/style.css +1 -1
  90. package/dist/types/vue-data-ui.d.ts +147 -6
  91. package/dist/types/vue-ui-dag.d.ts +16 -0
  92. package/dist/{useAutoSizeLabelsInsideViewbox-DBJqy2aF.js → useAutoSizeLabelsInsideViewbox-CY90KinM.js} +1 -1
  93. package/dist/{useNestedProp-CVGae3Qt.js → useNestedProp-DOOBu_sL.js} +269 -185
  94. package/dist/usePanZoom-DMfuOfaC.js +135 -0
  95. package/dist/{usePrinter-BdVu83IN.js → usePrinter-CjGh4mFJ.js} +2 -2
  96. package/dist/vue-data-ui-BgQPEjgE.js +351 -0
  97. package/dist/vue-data-ui.js +202 -216
  98. package/dist/{vue-ui-3d-bar-Cg4nzpjZ.js → vue-ui-3d-bar-BHcSmBFt.js} +6 -6
  99. package/dist/{vue-ui-accordion-B3SlkXqV.js → vue-ui-accordion-BWfQ8Imt.js} +3 -3
  100. package/dist/{vue-ui-age-pyramid-BGA_e57_.js → vue-ui-age-pyramid-CKtsF5IW.js} +25 -25
  101. package/dist/{vue-ui-annotator-BHmNl_oD.js → vue-ui-annotator-DQmmDTg7.js} +7 -7
  102. package/dist/{vue-ui-bullet-B8Td03RZ.js → vue-ui-bullet-CZKHPSsG.js} +7 -7
  103. package/dist/{vue-ui-candlestick-aRpv_WG-.js → vue-ui-candlestick-DW7yeLnE.js} +39 -39
  104. package/dist/{vue-ui-carousel-table-yjrmp9Q4.js → vue-ui-carousel-table-Bv0TZYW1.js} +4 -4
  105. package/dist/{vue-ui-chestnut-mlal6Cjv.js → vue-ui-chestnut-BUqGBycr.js} +5 -5
  106. package/dist/{vue-ui-chord-Ddbwnzl7.js → vue-ui-chord-Awtzhq_0.js} +8 -8
  107. package/dist/{vue-ui-circle-pack-DUw81Lbf.js → vue-ui-circle-pack-WTa2Mj2O.js} +37 -37
  108. package/dist/vue-ui-cursor-D6_m463R.js +252 -0
  109. package/dist/vue-ui-dag-tle30Ehr.js +2727 -0
  110. package/dist/{vue-ui-dashboard-BzIopzfw.js → vue-ui-dashboard-BLgMwKmT.js} +68 -68
  111. package/dist/vue-ui-digits-DIZ8pi6C.js +200 -0
  112. package/dist/{vue-ui-donut-D-uqv9-W.js → vue-ui-donut-DY8Q-PAg.js} +88 -88
  113. package/dist/{vue-ui-donut-evolution-C25j-w7G.js → vue-ui-donut-evolution-DGnq03PX.js} +85 -85
  114. package/dist/{vue-ui-dumbbell-DaBN6kZz.js → vue-ui-dumbbell-xRMH2Mlv.js} +33 -33
  115. package/dist/{vue-ui-flow-LBrbktKK.js → vue-ui-flow-C0a8rOyT.js} +42 -42
  116. package/dist/{vue-ui-funnel-StsSjaZJ.js → vue-ui-funnel-D6krkF1a.js} +19 -19
  117. package/dist/{vue-ui-galaxy-DATC0Ww1.js → vue-ui-galaxy-BCkJt9OE.js} +59 -59
  118. package/dist/{vue-ui-gauge-BuSVuoeo.js → vue-ui-gauge-BaH-VYAi.js} +25 -25
  119. package/dist/{vue-ui-gizmo-B4Du388h.js → vue-ui-gizmo-BnCONs1t.js} +3 -3
  120. package/dist/{vue-ui-heatmap-C7jHSpqL.js → vue-ui-heatmap-BYoD6XaS.js} +67 -67
  121. package/dist/{vue-ui-history-plot-CMGhB2Zv.js → vue-ui-history-plot-BZBtIBsY.js} +43 -43
  122. package/dist/{vue-ui-horizontal-bar-BlG3kfkk.js → vue-ui-horizontal-bar-DsDDKUa6.js} +69 -69
  123. package/dist/{vue-ui-kpi-CTUnzHcT.js → vue-ui-kpi-Dn750UNZ.js} +3 -3
  124. package/dist/{vue-ui-mini-loader-DYMh6g7y.js → vue-ui-mini-loader-44NP38K0.js} +2 -2
  125. package/dist/{vue-ui-molecule-BNwKqzIg.js → vue-ui-molecule-C994_mOK.js} +53 -53
  126. package/dist/{vue-ui-mood-radar-Bpfe33cj.js → vue-ui-mood-radar-BI2SAtcM.js} +7 -7
  127. package/dist/{vue-ui-nested-donuts-CG6vyTLr.js → vue-ui-nested-donuts-CSF_bA-I.js} +38 -38
  128. package/dist/{vue-ui-onion-BNrW85xB.js → vue-ui-onion-L5ULuI3B.js} +38 -38
  129. package/dist/{vue-ui-parallel-coordinate-plot-prQ8DLgP.js → vue-ui-parallel-coordinate-plot-CYetuoa5.js} +43 -43
  130. package/dist/{vue-ui-quadrant-mFM3WtKm.js → vue-ui-quadrant-Diwm1-e6.js} +8 -8
  131. package/dist/{vue-ui-quick-chart-CmJEoZEj.js → vue-ui-quick-chart-YBj4Iyk6.js} +51 -51
  132. package/dist/{vue-ui-radar-MheG5gvf.js → vue-ui-radar-D76Mi-4u.js} +41 -41
  133. package/dist/{vue-ui-rating-BAfHKHmb.js → vue-ui-rating-CJjSt6-z.js} +2 -2
  134. package/dist/{vue-ui-relation-circle-BPZDXdVc.js → vue-ui-relation-circle-BlYazckd.js} +19 -19
  135. package/dist/{vue-ui-ridgeline-BPDURc5t.js → vue-ui-ridgeline-DW8JqGxN.js} +8 -8
  136. package/dist/{vue-ui-rings-ByeUycTV.js → vue-ui-rings-De3shW_r.js} +37 -37
  137. package/dist/{vue-ui-scatter-HkSLoM2F.js → vue-ui-scatter-oDhPqRJq.js} +8 -8
  138. package/dist/{vue-ui-skeleton-DtciU6S2.js → vue-ui-skeleton-BUIXG_mY.js} +3 -3
  139. package/dist/vue-ui-smiley-Cni8Q56U.js +377 -0
  140. package/dist/{vue-ui-spark-trend-lSw8HYoA.js → vue-ui-spark-trend-D1Zt5np6.js} +16 -16
  141. package/dist/{vue-ui-sparkbar-DZlTPWdS.js → vue-ui-sparkbar-CdmXCSnj.js} +3 -3
  142. package/dist/{vue-ui-sparkgauge-Cwl9Ksz2.js → vue-ui-sparkgauge-Dn2PQhZj.js} +17 -17
  143. package/dist/{vue-ui-sparkhistogram-Bq2DS4V0.js → vue-ui-sparkhistogram-nrkglHJk.js} +4 -4
  144. package/dist/{vue-ui-sparkline-DbkCbelr.js → vue-ui-sparkline-tz8fAf2C.js} +31 -31
  145. package/dist/{vue-ui-sparkstackbar-DWDEh2j6.js → vue-ui-sparkstackbar-BQPSsF5Q.js} +3 -3
  146. package/dist/{vue-ui-stackbar-BhbkdK0G.js → vue-ui-stackbar-DMO3YIQp.js} +9 -9
  147. package/dist/{vue-ui-stackline-DqKYCBDP.js → vue-ui-stackline-BQo4KoIK.js} +55 -55
  148. package/dist/{vue-ui-strip-plot-BUbyj8j8.js → vue-ui-strip-plot-CJpmLgCV.js} +28 -28
  149. package/dist/{vue-ui-table-B1bx46AB.js → vue-ui-table-Cp4ee_1a.js} +5 -5
  150. package/dist/{vue-ui-table-heatmap-kuly5Mc1.js → vue-ui-table-heatmap-1qpMxFyu.js} +5 -5
  151. package/dist/{vue-ui-table-sparkline-B9YLMDpp.js → vue-ui-table-sparkline-wSJjRJc4.js} +4 -4
  152. package/dist/{vue-ui-thermometer-DGM9Cnnw.js → vue-ui-thermometer-DA8pG0Tr.js} +19 -19
  153. package/dist/{vue-ui-timer-C1uo5WJb.js → vue-ui-timer-Bc0J-YWP.js} +12 -12
  154. package/dist/{vue-ui-tiremarks-B-xq7Ivj.js → vue-ui-tiremarks-DqYsca6Q.js} +6 -6
  155. package/dist/{vue-ui-treemap-VI1FYNqD.js → vue-ui-treemap-BQsPzEFA.js} +51 -51
  156. package/dist/{vue-ui-waffle-WdacXwVf.js → vue-ui-waffle-5wkXlR4p.js} +69 -69
  157. package/dist/{vue-ui-wheel-C7yfIwbK.js → vue-ui-wheel-CkZko1RX.js} +6 -6
  158. package/dist/{vue-ui-word-cloud-BlNxODSZ.js → vue-ui-word-cloud-52bv_Ba-.js} +41 -41
  159. package/dist/{vue-ui-world-vfrFZPI1.js → vue-ui-world-oIyf91PY.js} +6 -6
  160. package/dist/{vue-ui-xy-DHN5H4Ln.js → vue-ui-xy-DIEBv1b8.js} +75 -75
  161. package/dist/{vue-ui-xy-canvas-B3oAOFin.js → vue-ui-xy-canvas-pnm8ar87.js} +127 -127
  162. package/package.json +4 -3
  163. package/dist/usePanZoom-DZtyJi5q.js +0 -127
  164. package/dist/vue-data-ui-BcTiYl7u.js +0 -337
  165. package/dist/vue-ui-cursor-CIynd5w9.js +0 -229
  166. package/dist/vue-ui-digits-BDVx5bMH.js +0 -154
  167. package/dist/vue-ui-smiley-B8k0b8-R.js +0 -852
@@ -1,10 +1,10 @@
1
1
  import { useCssVars as de, computed as v, defineAsyncComponent as ce, ref as b, useSlots as pe, onMounted as R, watch as ve, createElementBlock as r, openBlock as s, unref as i, normalizeClass as U, normalizeStyle as y, createBlock as fe, createCommentVNode as f, createElementVNode as g, createSlots as me, withCtx as h, renderSlot as u, normalizeProps as B, guardReactiveProps as D, Fragment as k, renderList as F, mergeProps as m, createVNode as be, nextTick as ge } from "vue";
2
- import { c as G, o as he, g as Ce, ak as ye, w as ke, ai as _e, u as Ie, q as $e } from "./lib-DUaaQGCv.js";
3
- import { u as Fe, a as w } from "./useNestedProp-CVGae3Qt.js";
4
- import { u as we } from "./usePrinter-BdVu83IN.js";
2
+ import { c as G, o as he, g as Ce, ap as ye, w as ke, an as _e, u as Ie, q as $e } from "./lib-qMPkcvmh.js";
3
+ import { u as Fe, a as w } from "./useNestedProp-DOOBu_sL.js";
4
+ import { u as we } from "./usePrinter-CjGh4mFJ.js";
5
5
  import { u as Oe } from "./useThemeCheck-DGJ31Vi5.js";
6
6
  import { u as Ae } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { _ as xe } from "./Shape-rPzC8L-O.js";
7
+ import { _ as xe } from "./Shape-BEGGcaL8.js";
8
8
  import { _ as Pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const H = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, table: { head: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, L = { style: { backgroundColor: "#FFF8E1", color: "#424242", heatmapColors: { min: "#FFECB3", max: "#D32F2F" } }, table: { head: { backgroundColor: "#FFF8E1", color: "#424242" } } }, X = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", heatmapColors: { min: "#333333", max: "#66CC66" } }, table: { head: { backgroundColor: "#1A1A1A", color: "#99AA99" } } }, W = { style: { backgroundColor: "#fbfafa", color: "#8A9892", heatmapColors: { max: "#C09E85", min: "#DCDFE7" } }, table: { head: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, q = { style: { backgroundColor: "#f6f6fb", color: "#50606C", heatmapColors: { max: "#4A6A75", min: "#EFECEC" } }, table: { head: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, J = {
10
10
  default: {},
@@ -61,7 +61,7 @@ const H = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, table: { he
61
61
  v7bb1d4dc: ue.value,
62
62
  v4b487b6d: re.value
63
63
  }));
64
- const Y = ce(() => import("./UserOptions-DgscxIaa.js")), { vue_ui_table_heatmap: Z } = Fe(), { isThemeValid: j, warnInvalidTheme: ee } = Oe(), p = K, _ = b(G()), d = b(!1), C = b(null), I = b(!1), O = b(0), te = pe();
64
+ const Y = ce(() => import("./UserOptions-ChRXLqps.js")), { vue_ui_table_heatmap: Z } = Fe(), { isThemeValid: j, warnInvalidTheme: ee } = Oe(), p = K, _ = b(G()), d = b(!1), C = b(null), I = b(!1), O = b(0), te = pe();
65
65
  R(() => {
66
66
  te["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
67
67
  });
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as Le, defineAsyncComponent as X, ref as f, useSlots as Re, onMounted as ge, computed as _, watch as me, shallowRef as je, onBeforeUnmount as He, createElementBlock as c, openBlock as v, unref as u, normalizeClass as J, createCommentVNode as m, createElementVNode as p, normalizeStyle as s, toDisplayString as A, withDirectives as qe, createVNode as F, Fragment as K, renderList as Q, createBlock as Xe, createSlots as Je, withCtx as z, renderSlot as O, mergeProps as ye, nextTick as Ke } from "vue";
2
- import { u as Qe, a as Y } from "./useNestedProp-CVGae3Qt.js";
3
- import { c as Ye, i as Ze, p as T, j as et, o as tt, g as ke, k as lt, ak as at, l as ot, a as B, d as V, u as nt, q as ut } from "./lib-DUaaQGCv.js";
4
- import { u as rt } from "./usePrinter-BdVu83IN.js";
2
+ import { u as Qe, a as Y } from "./useNestedProp-DOOBu_sL.js";
3
+ import { c as Ye, i as Ze, p as T, j as et, o as tt, g as ke, k as lt, ap as at, l as ot, a as B, d as V, u as nt, q as ut } from "./lib-qMPkcvmh.js";
4
+ import { u as rt } from "./usePrinter-CjGh4mFJ.js";
5
5
  import { u as st } from "./useThemeCheck-DGJ31Vi5.js";
6
6
  import { u as it } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { v as dt } from "./vClickOutside-C6WiFswA.js";
@@ -61,7 +61,7 @@ const he = { title: { backgroundColor: "#1A1A1A", color: "#CCCCCC", subtitle: {
61
61
  Le((t) => ({
62
62
  v3ac96fca: t.tdo
63
63
  }));
64
- const $e = X(() => import("./vue-ui-sparkline-DbkCbelr.js").then((t) => t.b)), P = X(() => import("./BaseIcon-Dl4VBlHV.js")), De = X(() => import("./UserOptions-DgscxIaa.js")), { vue_ui_table_sparkline: Fe } = Qe(), { isThemeValid: ze, warnInvalidTheme: Pe } = st(), h = Ie, M = f(Ye()), Z = f(0), W = f(0), U = f(null), Ee = Re();
64
+ const $e = X(() => import("./vue-ui-sparkline-tz8fAf2C.js").then((t) => t.b)), P = X(() => import("./BaseIcon-CALhpING.js")), De = X(() => import("./UserOptions-ChRXLqps.js")), { vue_ui_table_sparkline: Fe } = Qe(), { isThemeValid: ze, warnInvalidTheme: Pe } = st(), h = Ie, M = f(Ye()), Z = f(0), W = f(0), U = f(null), Ee = Re();
65
65
  ge(() => {
66
66
  Ee["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
67
67
  });
@@ -1,16 +1,16 @@
1
1
  import { useCssVars as Ge, computed as h, defineAsyncComponent as G, ref as v, onMounted as Xe, toRefs as Je, watch as Ke, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as fe, normalizeClass as W, createBlock as D, createCommentVNode as i, withCtx as f, renderSlot as d, normalizeProps as p, guardReactiveProps as k, createSlots as Qe, createVNode as Ze, createElementVNode as g, Fragment as U, renderList as ge, toDisplayString as et } from "vue";
2
- import { c as tt, t as ot, o as st, g as ye, k as lt, i as at, p as S, j as rt, M as b, l as N, X as nt, s as ut, a as it, d as ct } from "./lib-DUaaQGCv.js";
2
+ import { c as tt, t as ot, o as st, g as ye, k as lt, i as at, p as S, j as rt, T as b, l as N, X as nt, s as ut, a as it, d as ct } from "./lib-qMPkcvmh.js";
3
3
  import { t as ht, u as dt } from "./useResponsive-DfdjqQps.js";
4
- import { u as vt, a as X } from "./useNestedProp-CVGae3Qt.js";
4
+ import { u as vt, a as X } from "./useNestedProp-DOOBu_sL.js";
5
5
  import { u as ft, B as gt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as yt } from "./usePrinter-BdVu83IN.js";
6
+ import { u as yt } from "./usePrinter-CjGh4mFJ.js";
7
7
  import { u as mt } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as pt } from "./useThemeCheck-DGJ31Vi5.js";
9
9
  import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
11
- import { u as wt } from "./useAutoSizeLabelsInsideViewbox-DBJqy2aF.js";
12
- import Ct from "./Title-Hk29BxeL.js";
13
- import xt from "./img-BYzbY8TZ.js";
11
+ import { u as wt } from "./useAutoSizeLabelsInsideViewbox-CY90KinM.js";
12
+ import Ct from "./Title-CgkWUXeV.js";
13
+ import xt from "./img-CwrkWkkl.js";
14
14
  import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
15
  const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", graduations: { stroke: "#2A2A2A" }, label: { color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, pe = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", graduations: { stroke: "#FFF8E1", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#424242" } }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, ke = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", graduations: { stroke: "#5D4037", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, be = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", graduations: { stroke: "#1A1A1A", strokeWidth: 1, gradient: { show: !0 } }, label: { color: "#66CC66" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, we = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", graduations: { show: !1, gradient: { show: !0 } }, label: { color: "#B9B99D" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, Ce = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", graduations: { stroke: "#1A1A1A", gradient: { show: !0 } }, label: { color: "#61747E" } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, xe = {
16
16
  default: {},
@@ -34,7 +34,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
34
34
  ref: "noTitle",
35
35
  class: "vue-data-ui-no-title-space",
36
36
  style: "height:36px; width: 100%;background:transparent"
37
- }, Ft = ["xmlns", "viewBox"], Ot = ["width", "height"], St = ["id"], It = ["x", "y", "width", "height", "rx", "ry"], Pt = ["id"], Tt = ["stop-color"], Mt = ["stop-color"], Et = ["stop-color"], zt = ["clip-path"], Bt = ["x", "y", "height", "width"], Wt = ["x", "y", "height", "width", "fill"], Dt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Nt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Lt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Yt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Vt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Rt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], qt = ["x", "y", "height", "width"], jt = { key: 1 }, Gt = ["x", "y", "height"], Xt = ["y", "x", "fill", "font-size", "font-weight"], Jt = {
37
+ }, Ft = ["xmlns", "viewBox"], Ot = ["width", "height"], St = ["id"], It = ["x", "y", "width", "height", "rx", "ry"], Pt = ["id"], Tt = ["stop-color"], Et = ["stop-color"], Mt = ["stop-color"], zt = ["clip-path"], Bt = ["x", "y", "height", "width"], Wt = ["x", "y", "height", "width", "fill"], Dt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Nt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Lt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Yt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Vt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Rt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], qt = ["x", "y", "height", "width"], jt = { key: 1 }, Gt = ["x", "y", "height"], Xt = ["y", "x", "fill", "font-size", "font-weight"], Jt = {
38
38
  key: 4,
39
39
  class: "vue-data-ui-watermark"
40
40
  }, Kt = {
@@ -59,7 +59,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
59
59
  v7fdfff1a: Be.value,
60
60
  b092daf2: ze.value
61
61
  }));
62
- const Ae = G(() => import("./PackageVersion-BAF3mEBQ.js")), $e = G(() => import("./PenAndPaper-kymjF6_b.js")), Fe = G(() => import("./UserOptions-DgscxIaa.js")), { vue_ui_thermometer: Oe } = vt(), { isThemeValid: Se, warnInvalidTheme: Ie } = pt(), y = I, w = v(tt()), C = v(null), J = v(0), K = v(0), Q = v(null), Z = v(null), _ = v(null), P = v(null), Pe = h(() => !!y.dataset && Object.keys(y.dataset).length);
62
+ const Ae = G(() => import("./PackageVersion-B9RA2_BM.js")), $e = G(() => import("./PenAndPaper-DscVdZ1u.js")), Fe = G(() => import("./UserOptions-ChRXLqps.js")), { vue_ui_thermometer: Oe } = vt(), { isThemeValid: Se, warnInvalidTheme: Ie } = pt(), y = I, w = v(tt()), C = v(null), J = v(0), K = v(0), Q = v(null), Z = v(null), _ = v(null), P = v(null), Pe = h(() => !!y.dataset && Object.keys(y.dataset).length);
63
63
  Xe(() => {
64
64
  oe();
65
65
  });
@@ -142,8 +142,8 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
142
142
  elementId: `thermometer__${w.value}`,
143
143
  fileName: e.value.style.title.text || "vue-ui-thermometer",
144
144
  options: e.value.userOptions.print
145
- }), Me = h(() => e.value.userOptions.show && !e.value.style.title.text), M = h(() => rt(e.value.customPalette)), m = h(() => c.value.steps || 10);
146
- function E(o, l, t) {
145
+ }), Ee = h(() => e.value.userOptions.show && !e.value.style.title.text), E = h(() => rt(e.value.customPalette)), m = h(() => c.value.steps || 10);
146
+ function M(o, l, t) {
147
147
  const a = [], x = ie(o), F = ie(l);
148
148
  for (let O = 0; O < t; O++) {
149
149
  const Ve = R(x.red, F.red, O, t), Re = R(x.green, F.green, O, t), qe = R(x.blue, F.blue, O, t), je = `#${q(Ve)}${q(Re)}${q(qe)}`;
@@ -177,19 +177,19 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
177
177
  thermoHeight: l - t.top - t.bottom,
178
178
  thermoWidth: e.value.style.chart.thermometer.width
179
179
  };
180
- }), Ee = h(() => s.value), z = h(() => {
180
+ }), Me = h(() => s.value), z = h(() => {
181
181
  const o = b(c.value.from) < 0 ? Math.abs(b(c.value.from)) : b(c.value.from), l = b(c.value.to) < 0 ? Math.abs(b(c.value.to)) : b(c.value.to);
182
182
  let t = 0;
183
183
  return b(c.value.to) > 0 ? t = o + l : o > l ? t = o - l : t = l - o, (1 - (Math.abs(b(c.value.from)) + b(c.value.value)) / t) * s.value.thermoHeight;
184
184
  }), ze = h(() => `${z.value}px`), Be = h(() => `${s.value.thermoHeight}px`), We = h(() => `${e.value.style.chart.animation.speedMs}ms`), De = h(() => {
185
185
  if (c.value.colors) {
186
186
  if (!c.value.colors.from)
187
- return E(M.value[0] || S[0], N(c.value.colors.to), m.value || 10);
187
+ return M(E.value[0] || S[0], N(c.value.colors.to), m.value || 10);
188
188
  if (!c.value.colors.to)
189
- return E(N(c.value.colors.from), M.value[1] || S[1], m.value || 10);
189
+ return M(N(c.value.colors.from), E.value[1] || S[1], m.value || 10);
190
190
  } else
191
- return E(M.value[1] || S[1], M.value[0] || S[0], m.value || 10);
192
- return E(N(c.value.colors.from), N(c.value.colors.to), m.value || 10);
191
+ return M(E.value[1] || S[1], E.value[0] || S[0], m.value || 10);
192
+ return M(N(c.value.colors.from), N(c.value.colors.to), m.value || 10);
193
193
  }), ce = h(() => {
194
194
  const o = [];
195
195
  let l = 0;
@@ -290,7 +290,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
290
290
  ]),
291
291
  _: 3
292
292
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
293
- Me.value ? (r(), n("div", $t, null, 512)) : i("", !0),
293
+ Ee.value ? (r(), n("div", $t, null, 512)) : i("", !0),
294
294
  e.value.style.title.text ? (r(), n("div", {
295
295
  key: 2,
296
296
  ref_key: "chartTitle",
@@ -434,11 +434,11 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
434
434
  g("stop", {
435
435
  offset: "50%",
436
436
  "stop-color": u(ut)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
437
- }, null, 8, Mt),
437
+ }, null, 8, Et),
438
438
  g("stop", {
439
439
  offset: "100%",
440
440
  "stop-color": t.color
441
- }, null, 8, Et)
441
+ }, null, 8, Mt)
442
442
  ], 8, Pt))), 256))
443
443
  ]),
444
444
  g("g", {
@@ -586,7 +586,7 @@ const me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", gra
586
586
  { datapoint: I.dataset }
587
587
  )), 11, Xt))
588
588
  ])) : i("", !0),
589
- d(o.$slots, "svg", { svg: Ee.value }, void 0, !0)
589
+ d(o.$slots, "svg", { svg: Me.value }, void 0, !0)
590
590
  ], 10, Ft)),
591
591
  o.$slots.watermark ? (r(), n("div", Jt, [
592
592
  d(o.$slots, "watermark", p(k({ isPrinting: u(ae) || u(re) })), void 0, !0)
@@ -1,10 +1,10 @@
1
- import { defineAsyncComponent as se, ref as v, shallowRef as J, onMounted as le, computed as F, 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 K, createVNode as T, renderSlot as H, mergeProps as Q, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
2
- import { u as ne, a as ce } from "./useNestedProp-CVGae3Qt.js";
3
- import { c as ve, X as de, Y as X } from "./lib-DUaaQGCv.js";
1
+ import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, 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, a as ce } from "./useNestedProp-DOOBu_sL.js";
3
+ import { c as ve, X as de, a1 as X } from "./lib-qMPkcvmh.js";
4
4
  import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
5
5
  import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
6
- import we from "./Title-Hk29BxeL.js";
7
- import R from "./BaseIcon-Dl4VBlHV.js";
6
+ import we from "./Title-CgkWUXeV.js";
7
+ import R from "./BaseIcon-CALhpING.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-BAF3mEBQ.js")), { vue_ui_timer: j } = ne(), A = q, g = N, $ = v(null), D = v(null), i = v(null), n = J(null), o = J(null), h = v(ve()), k = v(0);
133
+ const S = se(() => import("./PackageVersion-B9RA2_BM.js")), { vue_ui_timer: j } = ne(), 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
  });
@@ -183,7 +183,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
183
183
  re(() => A.config, (a) => {
184
184
  e.value = p(), m(), k.value += 1;
185
185
  }, { deep: !0 });
186
- const Y = F(() => {
186
+ const J = F(() => {
187
187
  if (e.value.stopwatch.showHours && e.value.stopwatch.showHundredth)
188
188
  return "00:00:00.00";
189
189
  if (e.value.stopwatch.showHours && !e.value.stopwatch.showHundredth)
@@ -289,7 +289,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
289
289
  (l(), r("svg", {
290
290
  ref_key: "svgRef",
291
291
  ref: x,
292
- xmlns: K(de),
292
+ xmlns: Q(de),
293
293
  viewBox: `0 0 ${t.value.width <= 0 ? 10 : t.value.width} ${t.value.height <= 0 ? 10 : t.value.height}`,
294
294
  style: w({
295
295
  maxWidth: "100%",
@@ -297,7 +297,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
297
297
  background: e.value.style.backgroundColor
298
298
  })
299
299
  }, [
300
- T(K(S)),
300
+ T(Q(S)),
301
301
  a.$slots["chart-background"] ? (l(), r("foreignObject", {
302
302
  key: 0,
303
303
  x: 0,
@@ -345,13 +345,13 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
345
345
  "stroke-linecap": "round",
346
346
  fill: "none"
347
347
  }, null, 8, $e)) : d("", !0),
348
- M("circle", Q(C.value, {
348
+ M("circle", Y(C.value, {
349
349
  r: t.value.tracker.core,
350
350
  fill: e.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${h.value})` : e.value.stopwatch.tracker.fill,
351
351
  stroke: e.value.stopwatch.tracker.stroke,
352
352
  "stroke-width": e.value.stopwatch.tracker.strokeWidth
353
353
  }), null, 16, xe),
354
- e.value.stopwatch.tracker.aura.show ? (l(), r("circle", Q({ key: 3 }, C.value, {
354
+ e.value.stopwatch.tracker.aura.show ? (l(), r("circle", Y({ key: 3 }, C.value, {
355
355
  r: t.value.tracker.aura,
356
356
  fill: `${e.value.stopwatch.tracker.aura.fill}20`,
357
357
  stroke: e.value.stopwatch.tracker.aura.stroke,
@@ -375,7 +375,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
375
375
  fill: e.value.stopwatch.label.color,
376
376
  "font-weight": e.value.stopwatch.label.bold ? "bold" : "normal",
377
377
  style: { "font-variant-numeric": "tabular-nums !important" }
378
- }, ie(y.value.formatted || Y.value), 9, Re))
378
+ }, ie(y.value.formatted || J.value), 9, Re))
379
379
  ], 12, me)),
380
380
  M("div", {
381
381
  ref_key: "chartLegend",
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as G, computed as d, ref as h, toRefs as He, watch as ve, onMounted as Re, createElementBlock as i, openBlock as r, unref as n, normalizeStyle as X, normalizeClass as V, createBlock as N, createCommentVNode as k, withCtx as f, renderSlot as u, normalizeProps as b, guardReactiveProps as C, createSlots as Ue, createVNode as je, Fragment as he, renderList as de, toDisplayString as Le } from "vue";
2
- import { c as Ge, t as Xe, M as Ve, o as Ye, g as qe, h as fe, X as We, a as Je, d as Ke } from "./lib-DUaaQGCv.js";
2
+ import { c as Ge, t as Xe, T as Ve, o as Ye, g as qe, h as fe, X as We, a as Je, d as Ke } from "./lib-qMPkcvmh.js";
3
3
  import { t as Qe, u as Ze } from "./useResponsive-DfdjqQps.js";
4
- import { u as et, a as Y } from "./useNestedProp-CVGae3Qt.js";
4
+ import { u as et, a as Y } from "./useNestedProp-DOOBu_sL.js";
5
5
  import { u as tt, B as at } from "./BaseScanner-BgWxam9d.js";
6
- import { u as ot } from "./usePrinter-BdVu83IN.js";
6
+ import { u as ot } from "./usePrinter-CjGh4mFJ.js";
7
7
  import { u as lt } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as nt } from "./useThemeCheck-DGJ31Vi5.js";
9
9
  import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
10
10
  import { u as rt } from "./useChartAccessibility-9icAAmYg.js";
11
- import it from "./Title-Hk29BxeL.js";
12
- import ut from "./img-BYzbY8TZ.js";
11
+ import it from "./Title-CgkWUXeV.js";
12
+ import ut from "./img-CwrkWkkl.js";
13
13
  import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
14
  const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { inactiveColor: "#4A4A4A" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } } }, ye = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", layout: { crescendo: !1, inactiveColor: "#5D403760", activeColor: "#D32F2F", ticks: { gradient: { shiftHueIntensity: 0 } } }, title: { color: "#424242", subtitle: { color: "#757575" } } } } }, pe = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { crescendo: !1, inactiveColor: "#5D403760", activeColor: "#D32F2F", ticks: { gradient: { shiftHueIntensity: 0 } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } } }, me = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { crescendo: !1, inactiveColor: "#333333", activeColor: "#66CC66", ticks: { gradient: { shiftHueIntensity: 15 } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } } }, ke = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { crescendo: !0, curved: !0, curveAngleX: 5, curveAngleY: 5, inactiveColor: "#F7EDE2", activeColor: "#B1A7AD", ticks: { gradient: { shiftHueIntensity: 15 } } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } } }, be = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { crescendo: !1, inactiveColor: "#BBCBC7", activeColor: "#6C94A0", ticks: { gradient: { shiftHueIntensity: 10 } } }, title: { color: "#50606C", subtitle: { color: "#718890" } } } } }, Ce = {
15
15
  default: {},
@@ -48,7 +48,7 @@ const ge = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
48
48
  }
49
49
  },
50
50
  setup(Ae, { expose: we }) {
51
- const $e = G(() => import("./PenAndPaper-kymjF6_b.js")), _e = G(() => import("./UserOptions-DgscxIaa.js")), Oe = G(() => import("./PackageVersion-BAF3mEBQ.js")), { vue_ui_tiremarks: Se } = et(), { isThemeValid: xe, warnInvalidTheme: Ie } = nt(), A = Ae, Pe = d(() => !!A.dataset && Object.keys(A.dataset).length), M = h(Ge()), O = h(null), Fe = h(null), q = h(null), W = h(null), J = h(0), K = h(0), S = h(null), P = h(null), e = h(j()), { loading: Q, FINAL_DATASET: H } = tt({
51
+ const $e = G(() => import("./PenAndPaper-DscVdZ1u.js")), _e = G(() => import("./UserOptions-ChRXLqps.js")), Oe = G(() => import("./PackageVersion-B9RA2_BM.js")), { vue_ui_tiremarks: Se } = et(), { isThemeValid: xe, warnInvalidTheme: Ie } = nt(), A = Ae, Pe = d(() => !!A.dataset && Object.keys(A.dataset).length), M = h(Ge()), O = h(null), Fe = h(null), q = h(null), W = h(null), J = h(0), K = h(0), S = h(null), P = h(null), e = h(j()), { loading: Q, FINAL_DATASET: H } = tt({
52
52
  ...He(A),
53
53
  FINAL_CONFIG: e,
54
54
  prepareConfig: j,
@@ -1,16 +1,16 @@
1
- import { defineAsyncComponent as Oe, useSlots as kl, onMounted as xo, computed as A, ref as $, shallowRef as me, toRefs as wl, watch as _e, onBeforeUnmount as Al, createElementBlock as T, openBlock as f, unref as m, normalizeStyle as be, normalizeClass as Ht, createBlock as Te, createCommentVNode as I, createElementVNode as U, createVNode as lt, withCtx as F, renderSlot as x, normalizeProps as Z, guardReactiveProps as J, createSlots as $o, Fragment as je, renderList as at, withKeys as To, withModifiers as Vt, mergeProps as nt, createTextVNode as st, toDisplayString as rt, Teleport as xl, resolveDynamicComponent as $l, nextTick as Tl } from "vue";
2
- import { c as ut, t as Sl, i as Fl, p as j, j as Ml, o as So, g as Ol, l as Ye, a as it, d as Xe, X as Wt, n as ct, w as dt, x as Fo, u as _l, q as Bl, au as vt, av as Ut, R as Dl } from "./lib-DUaaQGCv.js";
1
+ import { defineAsyncComponent as Oe, useSlots as kl, onMounted as xo, computed as A, ref as $, shallowRef as me, toRefs as wl, watch as _e, onBeforeUnmount as Al, createElementBlock as T, openBlock as f, unref as m, normalizeStyle as be, normalizeClass as Ht, createBlock as Te, createCommentVNode as I, createElementVNode as U, createVNode as lt, withCtx as F, renderSlot as x, normalizeProps as K, guardReactiveProps as J, createSlots as $o, Fragment as je, renderList as at, withKeys as To, withModifiers as Vt, mergeProps as nt, createTextVNode as st, toDisplayString as rt, Teleport as xl, resolveDynamicComponent as $l, nextTick as Tl } from "vue";
2
+ import { c as ut, t as Sl, i as Fl, p as j, j as Ml, o as So, g as Ol, l as Ye, a as it, d as Xe, X as Wt, n as ct, w as dt, x as Fo, u as _l, q as Bl, au as vt, av as Ut, Z as Dl } from "./lib-qMPkcvmh.js";
3
3
  import { t as El, u as Ll } from "./useResponsive-DfdjqQps.js";
4
- import { u as Il, a as jt } from "./useNestedProp-CVGae3Qt.js";
4
+ import { u as Il, a as jt } from "./useNestedProp-DOOBu_sL.js";
5
5
  import { u as Pl, B as Rl } from "./BaseScanner-BgWxam9d.js";
6
- import { u as Nl } from "./usePrinter-BdVu83IN.js";
6
+ import { u as Nl } from "./usePrinter-CjGh4mFJ.js";
7
7
  import { u as zl } from "./useThemeCheck-DGJ31Vi5.js";
8
8
  import { u as Hl } from "./useUserOptionState-BIvW1Kz7.js";
9
9
  import { u as Vl } from "./useChartAccessibility-9icAAmYg.js";
10
- import Wl from "./img-BYzbY8TZ.js";
11
- import Ul from "./Title-Hk29BxeL.js";
12
- import jl from "./Legend-DSyOOSJ1.js";
13
- import Mo from "./BaseIcon-Dl4VBlHV.js";
10
+ import Wl from "./img-CwrkWkkl.js";
11
+ import Ul from "./Title-CgkWUXeV.js";
12
+ import jl from "./Legend-Djkw4FGq.js";
13
+ import Mo from "./BaseIcon-CALhpING.js";
14
14
  import { u as Yl } from "./useSvgExport-DrjCWun4.js";
15
15
  import { _ as Xl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  function Oo(r, p) {
@@ -65,7 +65,7 @@ function Bo(r, p) {
65
65
  };
66
66
  return Eo(d);
67
67
  }
68
- function Kl(r) {
68
+ function Zl(r) {
69
69
  return (r.x1 - r.x0) * (r.y1 - r.y0);
70
70
  }
71
71
  function Do(r, p) {
@@ -96,7 +96,7 @@ function Do(r, p) {
96
96
  return Y;
97
97
  }
98
98
  }
99
- function Zl(r) {
99
+ function Kl(r) {
100
100
  const p = Yt(r), d = p.width, g = p.height;
101
101
  return Math.min(d, g);
102
102
  }
@@ -126,7 +126,7 @@ function Ql(r, p, d, g) {
126
126
  const Y = Do(b, y);
127
127
  return M.concat(Y);
128
128
  }
129
- const Ce = Zl(y), le = v[0], ce = v.slice(1, k);
129
+ const Ce = Kl(y), le = v[0], ce = v.slice(1, k);
130
130
  if (ql(b, le, Ce)) {
131
131
  const Y = b.concat(le);
132
132
  v = ce, b = Y, y = y, M = M;
@@ -146,7 +146,7 @@ function Eo(r) {
146
146
  {
147
147
  const p = Jl(
148
148
  r.children,
149
- Kl(r)
149
+ Zl(r)
150
150
  ), d = Ql(p, [], r, []), g = d.length, v = [];
151
151
  for (let y = 0; y < g; y += 1)
152
152
  v.push(Eo(d[y]));
@@ -217,11 +217,11 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
217
217
  },
218
218
  emits: ["selectLegend", "selectDatapoint"],
219
219
  setup(r, { expose: p, emit: d }) {
220
- const g = Oe(() => import("./DataTable-Ho3Bf5oq.js")), v = Oe(() => import("./PenAndPaper-kymjF6_b.js")), b = Oe(() => import("./vue-ui-accordion-B3SlkXqV.js")), y = Oe(() => import("./Tooltip-De7i-i20.js")), M = Oe(() => import("./UserOptions-DgscxIaa.js")), k = Oe(() => import("./PackageVersion-BAF3mEBQ.js")), Ce = Oe(() => import("./BaseDraggableDialog-DZVSjhEw.js")), { vue_ui_treemap: le } = Il(), { isThemeValid: ce, warnInvalidTheme: Y } = zl(), C = r, P = d, de = kl();
220
+ const g = Oe(() => import("./DataTable-Ca1twcf7.js")), v = Oe(() => import("./PenAndPaper-DscVdZ1u.js")), b = Oe(() => import("./vue-ui-accordion-BWfQ8Imt.js")), y = Oe(() => import("./Tooltip-OHx7yHlS.js")), M = Oe(() => import("./UserOptions-ChRXLqps.js")), k = Oe(() => import("./PackageVersion-B9RA2_BM.js")), Ce = Oe(() => import("./BaseDraggableDialog-BYwNgX3M.js")), { vue_ui_treemap: le } = Il(), { isThemeValid: ce, warnInvalidTheme: Y } = zl(), C = r, P = d, de = kl();
221
221
  xo(() => {
222
222
  de["chart-background"] && console.warn("VueUiTreemap does not support the #chart-background slot.");
223
223
  });
224
- const ke = A(() => !!C.dataset && C.dataset.length), ve = A(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), we = $(ut()), ht = $(!1), ft = $(""), Se = $(!1), Xt = $(0), V = $([]), ae = me(null), qt = me(null), Gt = me(null), Kt = me(null), Zt = me(null), Jt = $(0), pt = $(0), gt = $(0), B = $([]), yt = $(null), Qt = $(!1), Pe = $(null), mt = $(null), Re = $(null), W = $(/* @__PURE__ */ new Map()), t = $(wt()), { loading: Fe, FINAL_DATASET: bt, manualLoading: Vo } = Pl({
224
+ const ke = A(() => !!C.dataset && C.dataset.length), ve = A(() => /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), we = $(ut()), ht = $(!1), ft = $(""), Se = $(!1), Xt = $(0), V = $([]), ae = me(null), qt = me(null), Gt = me(null), Zt = me(null), Kt = me(null), Jt = $(0), pt = $(0), gt = $(0), B = $([]), yt = $(null), Qt = $(!1), Pe = $(null), mt = $(null), Re = $(null), W = $(/* @__PURE__ */ new Map()), t = $(wt()), { loading: Fe, FINAL_DATASET: bt, manualLoading: Vo } = Pl({
225
225
  ...wl(C),
226
226
  FINAL_CONFIG: t,
227
227
  prepareConfig: wt,
@@ -391,8 +391,8 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
391
391
  chart: ae.value,
392
392
  title: t.value.style.chart.title.text ? qt.value : null,
393
393
  legend: t.value.style.chart.legend.show ? Gt.value : null,
394
- source: Kt.value,
395
- noTitle: Zt.value
394
+ source: Zt.value,
395
+ noTitle: Kt.value
396
396
  });
397
397
  requestAnimationFrame(() => {
398
398
  Me.value.width = l, Me.value.height = o - 12;
@@ -428,7 +428,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
428
428
  function co(e) {
429
429
  return Array.isArray(e.children) && e.children.length > 0;
430
430
  }
431
- function Ko(e) {
431
+ function Zo(e) {
432
432
  return [...e].sort((l, o) => {
433
433
  const a = co(l), n = co(o);
434
434
  if (a !== n)
@@ -438,7 +438,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
438
438
  });
439
439
  }
440
440
  function vo(e, l, o, a, n) {
441
- return Ko(e).map((s, i) => {
441
+ return Zo(e).map((s, i) => {
442
442
  const c = Go(
443
443
  Ye(l) || qe.value[i] || j[i] || j[i % j.length],
444
444
  s,
@@ -504,7 +504,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
504
504
  };
505
505
  return Bo(l, a);
506
506
  });
507
- function Zo(e) {
507
+ function Ko(e) {
508
508
  const l = B.value.length ? B.value[B.value.length - 1] : null, o = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Map();
509
509
  for (const i of e) {
510
510
  let c = tl(i.id);
@@ -549,7 +549,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
549
549
  ancestorsByLeaf: a
550
550
  };
551
551
  }
552
- const xt = A(() => Zo(ho.value)), Jo = A(() => {
552
+ const xt = A(() => Ko(ho.value)), Jo = A(() => {
553
553
  const e = xt.value.wrappers;
554
554
  return e.length ? e.filter((l) => Qo(l)) : [];
555
555
  });
@@ -714,7 +714,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
714
714
  paddingBottom: 12,
715
715
  fontWeight: t.value.style.chart.legend.bold ? "bold" : ""
716
716
  }));
717
- function Ke(e) {
717
+ function Ze(e) {
718
718
  G.value = null, V.value.includes(e.id) ? V.value = V.value.filter((l) => l !== e.id) : V.value.length < C.dataset.length - 1 && V.value.push(e.id), P("selectLegend", At.value);
719
719
  }
720
720
  function po(e) {
@@ -725,11 +725,11 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
725
725
  }
726
726
  function al(e) {
727
727
  const l = po(e);
728
- l !== null && V.value.includes(l.id) && Ke({ id: l.id });
728
+ l !== null && V.value.includes(l.id) && Ze({ id: l.id });
729
729
  }
730
730
  function nl(e) {
731
731
  const l = po(e);
732
- l !== null && (V.value.includes(l.id) || Ke({ id: l.id }));
732
+ l !== null && (V.value.includes(l.id) || Ze({ id: l.id }));
733
733
  }
734
734
  function sl({ datapoint: e, seriesIndex: l }) {
735
735
  G.value = null, ht.value = !1, t.value.events.datapointLeave && t.value.events.datapointLeave({ datapoint: e, seriesIndex: l });
@@ -781,7 +781,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
781
781
  e ? e(a) : Bl({ csvContent: a, title: t.value.style.chart.title.text || "vue-ui-treemap" });
782
782
  });
783
783
  }
784
- const Ze = A(() => {
784
+ const Ke = A(() => {
785
785
  const e = [
786
786
  t.value.table.columnNames.series,
787
787
  t.value.table.columnNames.value,
@@ -943,12 +943,12 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
943
943
  { datapoint: e, seriesIndex: l }
944
944
  ) : "", We = o ? gl(e) : S;
945
945
  function $e(D, ee = c, Ue = "400") {
946
- const K = document.createElementNS(Wt, "svg");
947
- K.setAttribute("width", "0"), K.setAttribute("height", "0"), K.style.position = "absolute", K.style.visibility = "hidden", K.style.pointerEvents = "none";
946
+ const Z = document.createElementNS(Wt, "svg");
947
+ Z.setAttribute("width", "0"), Z.setAttribute("height", "0"), Z.style.position = "absolute", Z.style.visibility = "hidden", Z.style.pointerEvents = "none";
948
948
  const te = document.createElementNS(Wt, "text");
949
- te.setAttribute("font-size", String(ee)), te.setAttribute("font-family", w), te.setAttribute("font-weight", String(Ue)), te.textContent = D || "", K.appendChild(te), document.body.appendChild(K);
949
+ te.setAttribute("font-size", String(ee)), te.setAttribute("font-family", w), te.setAttribute("font-weight", String(Ue)), te.textContent = D || "", Z.appendChild(te), document.body.appendChild(Z);
950
950
  const et = te.getComputedTextLength();
951
- return document.body.removeChild(K), et;
951
+ return document.body.removeChild(Z), et;
952
952
  }
953
953
  if (o) {
954
954
  let D = "";
@@ -963,7 +963,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
963
963
  }
964
964
  if (!ee)
965
965
  return u && s && W.value.set(s, ""), "";
966
- const Ue = $t(e), K = typeof e.depth == "number" ? e.depth : 0, te = Ue * 1.4, et = typeof e.labelY0 == "number" ? e.labelY0 : e.y0 + K * te, Pt = e.x0 + i + c / 2, R = et + i + c, oe = `<text
966
+ const Ue = $t(e), Z = typeof e.depth == "number" ? e.depth : 0, te = Ue * 1.4, et = typeof e.labelY0 == "number" ? e.labelY0 : e.y0 + Z * te, Pt = e.x0 + i + c / 2, R = et + i + c, oe = `<text
967
967
  x="${Pt}"
968
968
  y="${R}"
969
969
  font-size="${c}"
@@ -982,11 +982,11 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
982
982
  const _t = n ? 1 : 0, Bt = Math.max(0, Math.floor(L / h) - _t);
983
983
  if (Bt <= 0 && !n)
984
984
  return u && s && W.value.set(s, ""), "";
985
- function Dt(D, ee, Ue, K, te, et) {
985
+ function Dt(D, ee, Ue, Z, te, et) {
986
986
  const Pt = String(D).split(/\s+/).filter(Boolean), R = [];
987
987
  let oe = "";
988
988
  function N(_) {
989
- return $e(_, Ue, K) <= ee;
989
+ return $e(_, Ue, Z) <= ee;
990
990
  }
991
991
  function bl(_) {
992
992
  if (N(_)) return [_];
@@ -1138,26 +1138,26 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1138
1138
  x(e.$slots, "annotator-action-close", {}, void 0, !0)
1139
1139
  ]),
1140
1140
  "annotator-action-color": F(({ color: o }) => [
1141
- x(e.$slots, "annotator-action-color", Z(J({ color: o })), void 0, !0)
1141
+ x(e.$slots, "annotator-action-color", K(J({ color: o })), void 0, !0)
1142
1142
  ]),
1143
1143
  "annotator-action-draw": F(({ mode: o }) => [
1144
- x(e.$slots, "annotator-action-draw", Z(J({ mode: o })), void 0, !0)
1144
+ x(e.$slots, "annotator-action-draw", K(J({ mode: o })), void 0, !0)
1145
1145
  ]),
1146
1146
  "annotator-action-undo": F(({ disabled: o }) => [
1147
- x(e.$slots, "annotator-action-undo", Z(J({ disabled: o })), void 0, !0)
1147
+ x(e.$slots, "annotator-action-undo", K(J({ disabled: o })), void 0, !0)
1148
1148
  ]),
1149
1149
  "annotator-action-redo": F(({ disabled: o }) => [
1150
- x(e.$slots, "annotator-action-redo", Z(J({ disabled: o })), void 0, !0)
1150
+ x(e.$slots, "annotator-action-redo", K(J({ disabled: o })), void 0, !0)
1151
1151
  ]),
1152
1152
  "annotator-action-delete": F(({ disabled: o }) => [
1153
- x(e.$slots, "annotator-action-delete", Z(J({ disabled: o })), void 0, !0)
1153
+ x(e.$slots, "annotator-action-delete", K(J({ disabled: o })), void 0, !0)
1154
1154
  ]),
1155
1155
  _: 3
1156
1156
  }, 8, ["svgRef", "backgroundColor", "color", "active"])) : I("", !0),
1157
1157
  Wo.value ? (f(), T("div", {
1158
1158
  key: 1,
1159
1159
  ref_key: "noTitle",
1160
- ref: Zt,
1160
+ ref: Kt,
1161
1161
  class: "vue-data-ui-no-title-space",
1162
1162
  style: "height:36px; width: 100%;background:transparent"
1163
1163
  }, null, 512)) : I("", !0),
@@ -1225,7 +1225,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1225
1225
  e.$slots.menuIcon ? {
1226
1226
  name: "menuIcon",
1227
1227
  fn: F(({ isOpen: o, color: a }) => [
1228
- x(e.$slots, "menuIcon", Z(J({ isOpen: o, color: a })), void 0, !0)
1228
+ x(e.$slots, "menuIcon", K(J({ isOpen: o, color: a })), void 0, !0)
1229
1229
  ]),
1230
1230
  key: "0"
1231
1231
  } : void 0,
@@ -1274,14 +1274,14 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1274
1274
  e.$slots.optionFullscreen ? {
1275
1275
  name: "optionFullscreen",
1276
1276
  fn: F(({ toggleFullscreen: o, isFullscreen: a }) => [
1277
- x(e.$slots, "optionFullscreen", Z(J({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
1277
+ x(e.$slots, "optionFullscreen", K(J({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
1278
1278
  ]),
1279
1279
  key: "7"
1280
1280
  } : void 0,
1281
1281
  e.$slots.optionAnnotator ? {
1282
1282
  name: "optionAnnotator",
1283
1283
  fn: F(({ toggleAnnotator: o, isAnnotator: a }) => [
1284
- x(e.$slots, "optionAnnotator", Z(J({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
1284
+ x(e.$slots, "optionAnnotator", K(J({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
1285
1285
  ]),
1286
1286
  key: "8"
1287
1287
  } : void 0
@@ -1449,10 +1449,10 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1449
1449
  ], 4)
1450
1450
  ], 8, ma))
1451
1451
  ]))), 128)),
1452
- x(e.$slots, "svg", Z(J({ svg: E.value, isZoom: Le.value, rect: G.value, config: t.value })), void 0, !0)
1452
+ x(e.$slots, "svg", K(J({ svg: E.value, isZoom: Le.value, rect: G.value, config: t.value })), void 0, !0)
1453
1453
  ], 14, ua)),
1454
1454
  e.$slots.watermark ? (f(), T("div", ba, [
1455
- x(e.$slots, "watermark", Z(J({ isPrinting: m(oo) || m(lo) })), void 0, !0)
1455
+ x(e.$slots, "watermark", K(J({ isPrinting: m(oo) || m(lo) })), void 0, !0)
1456
1456
  ])) : I("", !0),
1457
1457
  U("div", {
1458
1458
  id: `legend-bottom-${we.value}`
@@ -1470,12 +1470,12 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1470
1470
  legendSet: Tt.value,
1471
1471
  config: ll.value,
1472
1472
  id: `treemap_legend_${we.value}`,
1473
- onClickMarker: l[0] || (l[0] = ({ legend: o }) => Ke(o))
1473
+ onClickMarker: l[0] || (l[0] = ({ legend: o }) => Ze(o))
1474
1474
  }, {
1475
1475
  item: F(({ legend: o, index: a }) => [
1476
1476
  m(Fe) ? I("", !0) : (f(), T("div", {
1477
1477
  key: 0,
1478
- onClick: (n) => Ke(o),
1478
+ onClick: (n) => Ze(o),
1479
1479
  style: be(`opacity:${V.value.includes(o.id) ? 0.5 : 1}`)
1480
1480
  }, rt(o.display), 13, ka))
1481
1481
  ]),
@@ -1489,7 +1489,7 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1489
1489
  e.$slots.source ? (f(), T("div", {
1490
1490
  key: 7,
1491
1491
  ref_key: "source",
1492
- ref: Kt,
1492
+ ref: Zt,
1493
1493
  dir: "auto"
1494
1494
  }, [
1495
1495
  x(e.$slots, "source", {}, void 0, !0)
@@ -1515,10 +1515,10 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1515
1515
  smoothSnapThreshold: t.value.style.chart.tooltip.smoothSnapThreshold
1516
1516
  }, {
1517
1517
  "tooltip-before": F(() => [
1518
- x(e.$slots, "tooltip-before", Z(J({ ...St.value })), void 0, !0)
1518
+ x(e.$slots, "tooltip-before", K(J({ ...St.value })), void 0, !0)
1519
1519
  ]),
1520
1520
  "tooltip-after": F(() => [
1521
- x(e.$slots, "tooltip-after", Z(J({ ...St.value })), void 0, !0)
1521
+ x(e.$slots, "tooltip-after", K(J({ ...St.value })), void 0, !0)
1522
1522
  ]),
1523
1523
  _: 3
1524
1524
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -1530,10 +1530,10 @@ const Lo = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", lay
1530
1530
  content: F(() => [
1531
1531
  (f(), Te(m(g), {
1532
1532
  key: `table_${pt.value}`,
1533
- colNames: Ze.value.colNames,
1534
- head: Ze.value.head,
1535
- body: Ze.value.body,
1536
- config: Ze.value.config,
1533
+ colNames: Ke.value.colNames,
1534
+ head: Ke.value.head,
1535
+ body: Ke.value.body,
1536
+ config: Ke.value.config,
1537
1537
  title: t.value.table.useDialog ? "" : He.value.title,
1538
1538
  withCloseButton: !t.value.table.useDialog,
1539
1539
  onClose: Co