vue-data-ui 2.15.4 → 2.15.5

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 (90) hide show
  1. package/dist/{Arrow-BQEd_wRd.js → Arrow-CI_Chty0.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BjF36RRw.js → BaseDraggableDialog-UeaNekHG.js} +2 -2
  3. package/dist/{BaseIcon-2scCpKdr.js → BaseIcon-DTTmgKBX.js} +1 -1
  4. package/dist/{ColorPicker-CDeA3YBV.js → ColorPicker-BySm_2Gi.js} +6 -6
  5. package/dist/{DataTable-IKRxrKEU.js → DataTable-CLeYfh93.js} +2 -2
  6. package/dist/{Legend-DC-fDruC.js → Legend-B949nNP9.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-bX1Ui_EC.js → NonSvgPenAndPaper-zuNWbm52.js} +3 -3
  8. package/dist/{PackageVersion-CQFOMkQe.js → PackageVersion-Djh3oJFs.js} +1 -1
  9. package/dist/{PenAndPaper-DFjucqRK.js → PenAndPaper-BlF1d4XE.js} +3 -3
  10. package/dist/{Shape-FD7ONBrG.js → Shape-DmDw1mpi.js} +1 -1
  11. package/dist/{Slicer-Bzl5YpDL.js → Slicer-mINKiN6T.js} +13 -13
  12. package/dist/{SparkTooltip-BCvNYPb4.js → SparkTooltip-B888Ijov.js} +1 -1
  13. package/dist/{Title-CIt92-DI.js → Title-CPvPrwF4.js} +1 -1
  14. package/dist/{Tooltip-1FFfLKkv.js → Tooltip-BiWfcBQk.js} +1 -1
  15. package/dist/{UserOptions-ChEMQwwM.js → UserOptions-CFllUVQ4.js} +2 -2
  16. package/dist/{dom-to-png-DT4oXcWc.js → dom-to-png-DeajhH5Z.js} +1 -1
  17. package/dist/{img-DFfoLjtb.js → img-4TaH43jS.js} +1 -1
  18. package/dist/{index-k9FPl_-D.js → index-CBhz79Be.js} +11 -6
  19. package/dist/{pdf-CN1aIkJS.js → pdf-BlK5aBh-.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +7 -0
  22. package/dist/types/vue-data-ui.d.ts +7 -0
  23. package/dist/{useNestedProp-upzRxZOw.js → useNestedProp-Cg9K3ISG.js} +1 -1
  24. package/dist/{usePrinter-CARdq6Fz.js → usePrinter-DNC_9y1d.js} +2 -2
  25. package/dist/{vue-data-ui-mV-4-e8e.js → vue-data-ui-DcP8arpr.js} +63 -63
  26. package/dist/vue-data-ui.js +1 -1
  27. package/dist/{vue-ui-3d-bar-BMhc9SiP.js → vue-ui-3d-bar-k4SNfbLV.js} +5 -5
  28. package/dist/{vue-ui-accordion-ATCD6-Tg.js → vue-ui-accordion-BWiiOpGO.js} +3 -3
  29. package/dist/{vue-ui-age-pyramid-2i_hXqip.js → vue-ui-age-pyramid-ruNP1NJy.js} +5 -5
  30. package/dist/{vue-ui-annotator-Breve0su.js → vue-ui-annotator-_31h_MMe.js} +2 -2
  31. package/dist/{vue-ui-bullet-Biziff3B.js → vue-ui-bullet-BWmLA5Tg.js} +6 -6
  32. package/dist/vue-ui-candlestick-C8f9jUPZ.js +856 -0
  33. package/dist/{vue-ui-carousel-table-ZHZOptd2.js → vue-ui-carousel-table-DY90M9EE.js} +4 -4
  34. package/dist/{vue-ui-chestnut-Cg0P2bco.js → vue-ui-chestnut-DyxtZhwH.js} +28 -28
  35. package/dist/{vue-ui-chord-CODyOR1w.js → vue-ui-chord-C8hE1GXD.js} +47 -47
  36. package/dist/{vue-ui-circle-pack-BZ0Fl6Em.js → vue-ui-circle-pack-Dy8buEl5.js} +24 -24
  37. package/dist/{vue-ui-cursor-PLc3WrpA.js → vue-ui-cursor-Bb8yPXC9.js} +2 -2
  38. package/dist/{vue-ui-dashboard-BiGxJMVg.js → vue-ui-dashboard-SSYhdz1j.js} +62 -62
  39. package/dist/{vue-ui-digits-D_s5X6Gv.js → vue-ui-digits-D4Du84P3.js} +2 -2
  40. package/dist/{vue-ui-donut-BADbAnZ7.js → vue-ui-donut-C0dqyYUE.js} +7 -7
  41. package/dist/{vue-ui-donut-evolution-DSDySesn.js → vue-ui-donut-evolution-BOrRbvDz.js} +7 -7
  42. package/dist/{vue-ui-dumbbell-C-81iCzF.js → vue-ui-dumbbell-DKmEVC-5.js} +6 -6
  43. package/dist/{vue-ui-flow-MlOiiVqg.js → vue-ui-flow-DalrAEmv.js} +24 -24
  44. package/dist/{vue-ui-funnel-DXCWqpfj.js → vue-ui-funnel-B-k_4VgX.js} +5 -5
  45. package/dist/{vue-ui-galaxy-Aremt6Os.js → vue-ui-galaxy-BWaie_o-.js} +35 -35
  46. package/dist/{vue-ui-gauge-CRt_-O7S.js → vue-ui-gauge-D71TDx5z.js} +17 -17
  47. package/dist/{vue-ui-gizmo-2b7hFkMI.js → vue-ui-gizmo-CJChusop.js} +3 -3
  48. package/dist/{vue-ui-heatmap-DbLkBq8U.js → vue-ui-heatmap-DLwLB3pv.js} +31 -31
  49. package/dist/{vue-ui-history-plot-CJ7xDgWe.js → vue-ui-history-plot-D7wNqDSc.js} +34 -34
  50. package/dist/{vue-ui-kpi-BEUT--Y2.js → vue-ui-kpi-CJut0fnk.js} +3 -3
  51. package/dist/{vue-ui-mini-loader-CFKVgefJ.js → vue-ui-mini-loader-DP2pINNZ.js} +2 -2
  52. package/dist/{vue-ui-molecule-BzPDfeL2.js → vue-ui-molecule-D8b1J-IM.js} +4 -4
  53. package/dist/{vue-ui-mood-radar-CxCOF6D7.js → vue-ui-mood-radar-Br6izAkp.js} +6 -6
  54. package/dist/{vue-ui-nested-donuts-7Y06IxwD.js → vue-ui-nested-donuts-DTYcStbt.js} +25 -25
  55. package/dist/{vue-ui-onion-C5ycZG0D.js → vue-ui-onion-DVtreg0e.js} +6 -6
  56. package/dist/{vue-ui-parallel-coordinate-plot-DTi16joz.js → vue-ui-parallel-coordinate-plot-COHHYnBG.js} +35 -35
  57. package/dist/{vue-ui-quadrant-CKhiKHS0.js → vue-ui-quadrant-ClO3Aae-.js} +7 -7
  58. package/dist/{vue-ui-quick-chart-CvwSCsif.js → vue-ui-quick-chart-DXRWvUUA.js} +5 -5
  59. package/dist/{vue-ui-radar-CVsEeYXD.js → vue-ui-radar-Cs54EIJ2.js} +6 -6
  60. package/dist/{vue-ui-rating-fxUUbMdu.js → vue-ui-rating-Drx2P4xK.js} +2 -2
  61. package/dist/{vue-ui-relation-circle-BxpZWN-i.js → vue-ui-relation-circle-B75Rh82J.js} +30 -30
  62. package/dist/{vue-ui-ridgeline-CIB1O3j4.js → vue-ui-ridgeline-DuZjVwmL.js} +7 -7
  63. package/dist/{vue-ui-rings-BrNNe84c.js → vue-ui-rings-DWMToWPQ.js} +21 -21
  64. package/dist/{vue-ui-scatter-16nBWie7.js → vue-ui-scatter-CAh7kj6p.js} +7 -7
  65. package/dist/{vue-ui-skeleton-Bd_C0wSv.js → vue-ui-skeleton-Dnw_Mcqb.js} +3 -3
  66. package/dist/{vue-ui-smiley-DMeM0qiO.js → vue-ui-smiley-CkbdMJqH.js} +2 -2
  67. package/dist/{vue-ui-spark-trend-BHFQFK9s.js → vue-ui-spark-trend-DYVXugEw.js} +3 -3
  68. package/dist/{vue-ui-sparkbar-ll_sPgnw.js → vue-ui-sparkbar-Bv1RBHgo.js} +3 -3
  69. package/dist/{vue-ui-sparkgauge-CxJGBD5X.js → vue-ui-sparkgauge-Ls2_d0PB.js} +3 -3
  70. package/dist/{vue-ui-sparkhistogram-D2G4enc2.js → vue-ui-sparkhistogram-CimMCtyI.js} +4 -4
  71. package/dist/{vue-ui-sparkline-BpPTlOzu.js → vue-ui-sparkline-ex9TddKP.js} +3 -3
  72. package/dist/{vue-ui-sparkstackbar-Ceg1ZY7U.js → vue-ui-sparkstackbar-DUy1WJg0.js} +3 -3
  73. package/dist/{vue-ui-stackbar-CapcKmV8.js → vue-ui-stackbar-DaaB_FjD.js} +8 -8
  74. package/dist/{vue-ui-strip-plot-BNNnSAKO.js → vue-ui-strip-plot-HVQoc18O.js} +32 -32
  75. package/dist/{vue-ui-table-Cw9CBNiW.js → vue-ui-table-Oa_A-Vxo.js} +3 -3
  76. package/dist/{vue-ui-table-heatmap-CvnYKuy6.js → vue-ui-table-heatmap-DWdkbupf.js} +18 -18
  77. package/dist/{vue-ui-table-sparkline-DDGyDfI0.js → vue-ui-table-sparkline-Cxj3ZoBu.js} +4 -4
  78. package/dist/{vue-ui-thermometer-Bwj_Ew5C.js → vue-ui-thermometer-D-_Dqdcv.js} +5 -5
  79. package/dist/{vue-ui-timer-Do7bjdtG.js → vue-ui-timer-C01Ipde6.js} +30 -30
  80. package/dist/{vue-ui-tiremarks-wJyN3gsD.js → vue-ui-tiremarks-BTBo3bor.js} +5 -5
  81. package/dist/{vue-ui-treemap-CVSCG10W.js → vue-ui-treemap-DJEl32W1.js} +75 -75
  82. package/dist/{vue-ui-vertical-bar-CfRyQ9Cn.js → vue-ui-vertical-bar-CnCpCi4v.js} +8 -8
  83. package/dist/{vue-ui-waffle-CWDvXh87.js → vue-ui-waffle-rFSfHosn.js} +30 -30
  84. package/dist/{vue-ui-wheel-Dk5ONtqz.js → vue-ui-wheel-B6md6ra7.js} +5 -5
  85. package/dist/{vue-ui-word-cloud-BXoqw8VQ.js → vue-ui-word-cloud-Co6iFx9I.js} +5 -5
  86. package/dist/{vue-ui-world-rO4sQpvw.js → vue-ui-world-d09xOrf0.js} +5 -5
  87. package/dist/{vue-ui-xy-DTkzAeNr.js → vue-ui-xy-CuzhWfRK.js} +20 -20
  88. package/dist/{vue-ui-xy-canvas-Dmp9S9oY.js → vue-ui-xy-canvas-D2dyilFo.js} +45 -45
  89. package/package.json +1 -1
  90. package/dist/vue-ui-candlestick-5C8j-Fb6.js +0 -768
@@ -1,14 +1,14 @@
1
1
  import { useCssVars as ae, computed as c, defineAsyncComponent as oe, ref as h, useSlots as se, onMounted as z, watch as ne, createElementBlock as r, openBlock as n, unref as i, normalizeClass as E, normalizeStyle as C, createBlock as le, createCommentVNode as v, createElementVNode as g, createSlots as re, withCtx as b, renderSlot as u, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as ue, nextTick as ie } from "vue";
2
- import { u as de, c as A, a as pe, o as ce, e as ve, a6 as me, G as fe, P as he, q as ge, r as be } from "./index-k9FPl_-D.js";
3
- import { u as H } from "./useNestedProp-upzRxZOw.js";
4
- import { u as ye } from "./usePrinter-CARdq6Fz.js";
2
+ import { u as de, c as A, a as pe, o as ce, e as ve, a6 as me, F as fe, P as he, q as ge, r as be } from "./index-CBhz79Be.js";
3
+ import { u as H } from "./useNestedProp-Cg9K3ISG.js";
4
+ import { u as ye } from "./usePrinter-DNC_9y1d.js";
5
5
  import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { _ as ke } from "./Shape-FD7ONBrG.js";
6
+ import { _ as ke } from "./Shape-DmDw1mpi.js";
7
7
  import { _ as _e } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Pe = {
8
+ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], Fe = {
9
9
  key: 0,
10
10
  style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
11
- }, xe = ["height", "width"], Fe = {
11
+ }, Pe = ["height", "width"], xe = {
12
12
  key: 0,
13
13
  role: "cell",
14
14
  "data-cell": "sum"
@@ -45,15 +45,15 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
45
45
  "6b4a429e": ee.value,
46
46
  "14249d0c": j.value
47
47
  }));
48
- const X = oe(() => import("./UserOptions-ChEMQwwM.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
48
+ const X = oe(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_table_heatmap: W } = de(), m = D, _ = h(A()), d = h(!1), y = h(null), I = h(!1), O = h(0), q = se();
49
49
  z(() => {
50
50
  q["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
51
51
  });
52
52
  const t = c({
53
- get: () => F(),
53
+ get: () => x(),
54
54
  set: (e) => e
55
- }), { userOptionsVisible: $, setUserOptionsVisibility: P, keepUserOptionState: x } = Ce({ config: t.value });
56
- function F() {
55
+ }), { userOptionsVisible: $, setUserOptionsVisibility: F, keepUserOptionState: P } = Ce({ config: t.value });
56
+ function x() {
57
57
  const e = H({
58
58
  userConfig: m.config,
59
59
  defaultConfig: W
@@ -66,7 +66,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
66
66
  } : e;
67
67
  }
68
68
  ne(() => m.config, (e) => {
69
- t.value = F(), $.value = !t.value.userOptions.showOnChartHover, R();
69
+ t.value = x(), $.value = !t.value.userOptions.showOnChartHover, R();
70
70
  }, { deep: !0 });
71
71
  const { isPrinting: J, isImaging: K, generatePdf: N, generateImage: V } = ye({
72
72
  elementId: `table_heatmap_${_.value}`,
@@ -143,10 +143,10 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
143
143
  style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
144
144
  class: E({ "vue-ui-responsive": d.value }),
145
145
  id: `table_heatmap_${_.value}`,
146
- onMouseenter: o[0] || (o[0] = () => i(P)(!0)),
147
- onMouseleave: o[1] || (o[1] = () => i(P)(!1))
146
+ onMouseenter: o[0] || (o[0] = () => i(F)(!0)),
147
+ onMouseleave: o[1] || (o[1] = () => i(F)(!1))
148
148
  }, [
149
- t.value.userOptions.show && Y.value && (i(x) || i($)) ? (n(), le(i(X), {
149
+ t.value.userOptions.show && Y.value && (i(P) || i($)) ? (n(), le(i(X), {
150
150
  ref: "details",
151
151
  key: `user_option_${O.value}`,
152
152
  backgroundColor: t.value.style.backgroundColor,
@@ -168,7 +168,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
168
168
  onGenerateCsv: U,
169
169
  onGenerateImage: i(V),
170
170
  style: C({
171
- visibility: i(x) ? i($) ? "visible" : "hidden" : "visible"
171
+ visibility: i(P) ? i($) ? "visible" : "hidden" : "visible"
172
172
  })
173
173
  }, re({ _: 2 }, [
174
174
  e.$slots.menuIcon ? {
@@ -230,7 +230,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
230
230
  role: "cell",
231
231
  "data-cell": t.value.table.head.values[p]
232
232
  }, [
233
- a.color && p === 0 ? (n(), r("div", Pe, [
233
+ a.color && p === 0 ? (n(), r("div", Fe, [
234
234
  a.color ? (n(), r("svg", {
235
235
  key: 0,
236
236
  height: t.value.style.shapeSize,
@@ -244,7 +244,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
244
244
  radius: 9,
245
245
  shape: a.shape || "circle"
246
246
  }, null, 8, ["color", "shape"])
247
- ], 8, xe)) : v("", !0),
247
+ ], 8, Pe)) : v("", !0),
248
248
  u(e.$slots, "rowTitle", f({ ref_for: !0 }, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value }), void 0, !0)
249
249
  ])) : (n(), r(k, { key: 1 }, [
250
250
  p === 0 ? u(e.$slots, "rowTitle", f({
@@ -257,7 +257,7 @@ const Ie = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell
257
257
  }, { value: l, rowIndex: s, colIndex: p, type: typeof l, isResponsive: d.value, color: a.colors[p], textColor: i(fe)(a.colors[p]) }), void 0, !0) : v("", !0)
258
258
  ], 64))
259
259
  ], 8, Oe))), 256)),
260
- t.value.table.showSum ? (n(), r("td", Fe, [
260
+ t.value.table.showSum ? (n(), r("td", xe, [
261
261
  u(e.$slots, "sum", f({ ref_for: !0 }, { value: a.sum, rowIndex: s, isResponsive: d.value }), void 0, !0)
262
262
  ])) : v("", !0),
263
263
  t.value.table.showAverage ? (n(), r("td", Ne, [
@@ -1,7 +1,7 @@
1
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-upzRxZOw.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, a6 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-k9FPl_-D.js";
4
- import { u as je } from "./usePrinter-CARdq6Fz.js";
2
+ import { u as ye } from "./useNestedProp-Cg9K3ISG.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, a6 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-CBhz79Be.js";
4
+ import { u as je } from "./usePrinter-DNC_9y1d.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";
@@ -43,7 +43,7 @@ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } },
43
43
  Fe((t) => ({
44
44
  c3f77e6e: t.tdo
45
45
  }));
46
- const Ce = J(() => import("./vue-ui-sparkline-BpPTlOzu.js")), N = J(() => import("./BaseIcon-2scCpKdr.js")), xe = J(() => import("./UserOptions-ChEMQwwM.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-ex9TddKP.js")), N = J(() => import("./BaseIcon-DTTmgKBX.js")), xe = J(() => import("./UserOptions-CFllUVQ4.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
  });
@@ -1,10 +1,10 @@
1
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-k9FPl_-D.js";
3
- import { u as ae } from "./useNestedProp-upzRxZOw.js";
4
- import { u as Ge } from "./usePrinter-CARdq6Fz.js";
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-CBhz79Be.js";
3
+ import { u as ae } from "./useNestedProp-Cg9K3ISG.js";
4
+ import { u as Ge } from "./usePrinter-DNC_9y1d.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-CIt92-DI.js";
7
+ import ze from "./Title-CPvPrwF4.js";
8
8
  import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const Re = ["id"], De = {
10
10
  key: 1,
@@ -46,7 +46,7 @@ const Re = ["id"], De = {
46
46
  "19db7204": ge.value,
47
47
  "5e34901e": fe.value
48
48
  }));
49
- const ne = F(() => import("./PackageVersion-CQFOMkQe.js")), ue = F(() => import("./PenAndPaper-DFjucqRK.js")), ie = F(() => import("./vue-ui-skeleton-Bd_C0wSv.js")), ce = F(() => import("./UserOptions-ChEMQwwM.js")), { vue_ui_thermometer: he } = Ae(), a = _, S = d(() => !!a.dataset && Object.keys(a.dataset).length);
49
+ const ne = F(() => import("./PackageVersion-Djh3oJFs.js")), ue = F(() => import("./PenAndPaper-BlF1d4XE.js")), ie = F(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), ce = F(() => import("./UserOptions-CFllUVQ4.js")), { vue_ui_thermometer: he } = Ae(), a = _, S = d(() => !!a.dataset && Object.keys(a.dataset).length);
50
50
  $e(() => {
51
51
  W();
52
52
  });
@@ -1,14 +1,14 @@
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-upzRxZOw.js";
3
- import { u as ce, c as ve, X as de, F as X } from "./index-k9FPl_-D.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 } from "./useNestedProp-Cg9K3ISG.js";
3
+ import { u as ce, c as ve, X as de, E as X } from "./index-CBhz79Be.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-CIt92-DI.js";
7
- import R from "./BaseIcon-2scCpKdr.js";
6
+ import we from "./Title-CPvPrwF4.js";
7
+ import R from "./BaseIcon-DTTmgKBX.js";
8
8
  import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  class ge {
10
- constructor(L, N, S, j = !0, A = !0) {
11
- this.interval = N, this.elapsed = 0, this.isPaused = !1;
10
+ constructor(L, E, S, N = !0, A = !0) {
11
+ this.interval = E, this.elapsed = 0, this.isPaused = !1;
12
12
  const g = `
13
13
  let interval;
14
14
  let elapsed = 0;
@@ -75,7 +75,7 @@ class ge {
75
75
  `, $ = new Blob([g], { type: "application/javascript" }), D = URL.createObjectURL($), i = new Worker(D);
76
76
  function n(o) {
77
77
  let h = Math.floor(o / 1e3), k = Math.floor(o % 1e3 / 10), m = Math.floor(h / 3600), e = Math.floor(h % 3600 / 60), x = h % 60, p = "";
78
- return A && (p += String(m).padStart(2, "0") + ":"), p += String(e).padStart(2, "0") + ":", p += String(x).padStart(2, "0"), j && (p += "." + String(k).padStart(2, "0")), p;
78
+ return A && (p += String(m).padStart(2, "0") + ":"), p += String(e).padStart(2, "0") + ":", p += String(x).padStart(2, "0"), N && (p += "." + String(k).padStart(2, "0")), p;
79
79
  }
80
80
  this.start = () => {
81
81
  this.isPaused = !1, i.postMessage({ action: "start", data: { interval: this.interval } });
@@ -118,7 +118,7 @@ class ge {
118
118
  const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e = ["id"], Ce = ["stop-color"], Me = ["stop-color"], Te = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], $e = ["d", "stroke", "stroke-width"], xe = ["r", "fill", "stroke", "stroke-width"], Ie = ["r", "fill", "stroke", "stroke-width"], Pe = ["x", "y"], Re = ["x", "y", "font-size", "fill", "font-weight"], Se = {
119
119
  key: 0,
120
120
  class: "vue-ui-timer-controls"
121
- }, Ae = ["title"], De = ["title"], Fe = ["title"], ze = ["title"], He = ["title"], Le = {
121
+ }, Ae = ["title"], De = ["title"], ze = ["title"], Fe = ["title"], He = ["title"], Le = {
122
122
  __name: "vue-ui-timer",
123
123
  props: {
124
124
  config: {
@@ -129,8 +129,8 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
129
129
  }
130
130
  },
131
131
  emits: ["start", "pause", "reset", "restart", "lap"],
132
- setup(q, { expose: L, emit: N }) {
133
- const S = se(() => import("./PackageVersion-CQFOMkQe.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);
132
+ setup(q, { expose: L, emit: E }) {
133
+ const S = se(() => import("./PackageVersion-Djh3oJFs.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = 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
  });
@@ -170,20 +170,20 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
170
170
  oe(() => {
171
171
  n.value && (o.value && n.value.unobserve(o.value), n.value.disconnect());
172
172
  });
173
- const e = z({
173
+ const e = F({
174
174
  get: () => p(),
175
175
  set: (a) => a
176
176
  }), { svgRef: x } = fe({ config: e.value.style.title });
177
177
  function p() {
178
178
  return ne({
179
179
  userConfig: A.config,
180
- defaultConfig: j
180
+ defaultConfig: N
181
181
  });
182
182
  }
183
183
  re(() => A.config, (a) => {
184
184
  e.value = p(), m(), k.value += 1;
185
185
  }, { deep: !0 });
186
- const J = z(() => {
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)
@@ -206,12 +206,12 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
206
206
  "",
207
207
  e.value.stopwatch.showHundredth,
208
208
  e.value.stopwatch.showHours
209
- ), B = v(!0), s = v(!1), f = v(!1);
210
- function E() {
211
- g("start"), B.value && I.start(), B.value = !1, s.value = !0;
209
+ ), j = v(!0), s = v(!1), f = v(!1);
210
+ function B() {
211
+ g("start"), j.value && I.start(), j.value = !1, s.value = !0;
212
212
  }
213
213
  function O() {
214
- s.value && (g("reset"), I.stop(), _.value = [], B.value = !0, s.value = !1);
214
+ s.value && (g("reset"), I.stop(), _.value = [], j.value = !0, s.value = !1);
215
215
  }
216
216
  function U() {
217
217
  f.value = !f.value, g("pause", y.value), I.pause();
@@ -220,7 +220,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
220
220
  s.value && (f.value = !1, g("restart"), _.value = [], I.restart());
221
221
  }
222
222
  const _ = v([]);
223
- async function F() {
223
+ async function z() {
224
224
  if (!s.value || f.value) return;
225
225
  const a = await I.lap();
226
226
  a && (_.value.push(a), g("lap", _.value));
@@ -228,7 +228,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
228
228
  function Z({ timestamp: a, elapsed: u, formatted: c }) {
229
229
  y.value = { timestamp: a, elapsed: u, formatted: c };
230
230
  }
231
- const b = z(() => Math.min(t.value.width, t.value.height) / 2.5 * e.value.stopwatch.track.radiusRatio);
231
+ const b = F(() => Math.min(t.value.width, t.value.height) / 2.5 * e.value.stopwatch.track.radiusRatio);
232
232
  function ee(a, u) {
233
233
  const P = 360 / (u * 1e3);
234
234
  return a * P % 360;
@@ -237,7 +237,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
237
237
  let u = a * (Math.PI / 180), c = t.value.width / 2 + b.value * Math.cos(u), P = t.value.height / 2 + b.value * Math.sin(u);
238
238
  return { cx: c, cy: P };
239
239
  }
240
- const C = z(() => {
240
+ const C = F(() => {
241
241
  const a = ee(y.value.elapsed, e.value.stopwatch.cycleSeconds), { cx: u, cy: c } = te(a - 90), P = a > 180 ? 1 : 0;
242
242
  return {
243
243
  cx: u || t.value.width / 2,
@@ -247,11 +247,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
247
247
  };
248
248
  });
249
249
  return L({
250
- start: E,
250
+ start: B,
251
251
  pause: U,
252
252
  reset: O,
253
253
  restart: W,
254
- lap: F
254
+ lap: z
255
255
  }), (a, u) => (l(), r("div", {
256
256
  ref_key: "timerChart",
257
257
  ref: $,
@@ -386,7 +386,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
386
386
  e.value.stopwatch.legend.buttons.start ? (l(), r("button", {
387
387
  key: 0,
388
388
  title: e.value.stopwatch.legend.buttonTitles.start,
389
- onClick: E,
389
+ onClick: B,
390
390
  class: "vue-ui-timer-button",
391
391
  style: w({
392
392
  opacity: s.value ? 0.2 : 1,
@@ -427,7 +427,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
427
427
  name: "stop",
428
428
  stroke: e.value.stopwatch.legend.buttons.iconColor
429
429
  }, null, 8, ["stroke"])
430
- ], 12, Fe)) : d("", !0),
430
+ ], 12, ze)) : d("", !0),
431
431
  e.value.stopwatch.legend.buttons.restart ? (l(), r("button", {
432
432
  key: 3,
433
433
  title: e.value.stopwatch.legend.buttonTitles.restart,
@@ -442,11 +442,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
442
442
  name: "restart",
443
443
  stroke: e.value.stopwatch.legend.buttons.iconColor
444
444
  }, null, 8, ["stroke"])
445
- ], 12, ze)) : d("", !0),
445
+ ], 12, Fe)) : d("", !0),
446
446
  e.value.stopwatch.legend.buttons.lap ? (l(), r("button", {
447
447
  key: 4,
448
448
  title: e.value.stopwatch.legend.buttonTitles.lap,
449
- onClick: F,
449
+ onClick: z,
450
450
  class: "vue-ui-timer-button",
451
451
  style: w({
452
452
  opacity: s.value && !f.value ? 1 : 0.2,
@@ -460,11 +460,11 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
460
460
  ], 12, He)) : d("", !0)
461
461
  ])),
462
462
  H(a.$slots, "controls", V(G({
463
- start: E,
463
+ start: B,
464
464
  pause: U,
465
465
  reset: O,
466
466
  restart: W,
467
- lap: F,
467
+ lap: z,
468
468
  laps: _.value,
469
469
  isRunning: s.value,
470
470
  isPaused: f.value,
@@ -472,7 +472,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
472
472
  })), void 0, !0),
473
473
  H(a.$slots, "laps", V(G({
474
474
  laps: _.value,
475
- lap: F,
475
+ lap: z,
476
476
  isRunning: s.value,
477
477
  isPaused: f.value,
478
478
  ...y.value
@@ -1,10 +1,10 @@
1
1
  import { defineAsyncComponent as F, computed as h, ref as b, watch as ee, onMounted as pe, createElementBlock as c, openBlock as n, unref as l, normalizeStyle as L, normalizeClass as j, createBlock as z, createCommentVNode as d, createSlots as ge, withCtx as O, renderSlot as g, normalizeProps as S, guardReactiveProps as N, createVNode as ye, Fragment as te, renderList as ae, toDisplayString as me } from "vue";
2
- import { u as oe } from "./useNestedProp-upzRxZOw.js";
3
- import { u as ke, c as be, a as Ce, v as _e, o as $e, e as we, w as le, X as Pe, i as Oe, f as xe } from "./index-k9FPl_-D.js";
4
- import { u as Ae } from "./usePrinter-CARdq6Fz.js";
2
+ import { u as oe } from "./useNestedProp-Cg9K3ISG.js";
3
+ import { u as ke, c as be, a as Ce, v as _e, o as $e, e as we, w as le, X as Pe, i as Oe, f as xe } from "./index-CBhz79Be.js";
4
+ import { u as Ae } from "./usePrinter-DNC_9y1d.js";
5
5
  import { u as Ie } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as Fe } from "./useChartAccessibility-9icAAmYg.js";
7
- import ze from "./Title-CIt92-DI.js";
7
+ import ze from "./Title-CPvPrwF4.js";
8
8
  import { _ as Se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
9
  const Ne = ["id"], Me = {
10
10
  key: 2,
@@ -33,7 +33,7 @@ const Ne = ["id"], Me = {
33
33
  }
34
34
  },
35
35
  setup(se, { expose: ne }) {
36
- const re = F(() => import("./PenAndPaper-DFjucqRK.js")), ue = F(() => import("./vue-ui-skeleton-Bd_C0wSv.js")), ie = F(() => import("./UserOptions-ChEMQwwM.js")), ce = F(() => import("./PackageVersion-CQFOMkQe.js")), { vue_ui_tiremarks: ve } = ke(), f = se, M = h(() => !!f.dataset && Object.keys(f.dataset).length), T = b(be()), E = b(null), he = b(null), R = b(0), B = b(0), e = h({
36
+ const re = F(() => import("./PenAndPaper-BlF1d4XE.js")), ue = F(() => import("./vue-ui-skeleton-Dnw_Mcqb.js")), ie = F(() => import("./UserOptions-CFllUVQ4.js")), ce = F(() => import("./PackageVersion-Djh3oJFs.js")), { vue_ui_tiremarks: ve } = ke(), f = se, M = h(() => !!f.dataset && Object.keys(f.dataset).length), T = b(be()), E = b(null), he = b(null), R = b(0), B = b(0), e = h({
37
37
  get: () => V(),
38
38
  set: (t) => t
39
39
  }), { userOptionsVisible: U, setUserOptionsVisibility: X, keepUserOptionState: D } = Ie({ config: e.value }), { svgRef: H } = Fe({ config: e.value.style.chart.title });