vue-data-ui 3.0.0-next.32 → 3.0.0-next.34

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 (94) hide show
  1. package/dist/{Arrow-DiI9PrPS.js → Arrow-7o1zcGGd.js} +1 -1
  2. package/dist/{BaseDraggableDialog-C0Kz_kZp.js → BaseDraggableDialog-fZ1Z5U4d.js} +2 -2
  3. package/dist/{BaseIcon-B_tGgA4H.js → BaseIcon-Cq9SmUOT.js} +1 -1
  4. package/dist/{ColorPicker-CNsQt00F.js → ColorPicker-BNmC5tPY.js} +2 -2
  5. package/dist/{DataTable-Cm1oLidx.js → DataTable-DonNp9Tn.js} +2 -2
  6. package/dist/{Legend-DlUDcF1t.js → Legend-De_LcU2x.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-CLlxRJK1.js → NonSvgPenAndPaper-DCCmvppN.js} +3 -3
  8. package/dist/{PackageVersion-DZMJZGOu.js → PackageVersion-F_KOshQ5.js} +1 -1
  9. package/dist/{PenAndPaper-BDNLADWh.js → PenAndPaper-BzsPyqiU.js} +3 -3
  10. package/dist/{Shape-Br_SZ_x0.js → Shape-CJI8rA0G.js} +1 -1
  11. package/dist/{Slicer-DMU3nifX.js → Slicer-BCCGJwNV.js} +2 -2
  12. package/dist/{SparkTooltip-B6xp9zx_.js → SparkTooltip-ZSo6Sdhj.js} +1 -1
  13. package/dist/{Title-B5lsq0cx.js → Title-CbfJu3Bz.js} +1 -1
  14. package/dist/{Tooltip-CrAURNKT.js → Tooltip-BuuVsO8D.js} +1 -1
  15. package/dist/{UserOptions-CksX2mn0.js → UserOptions-32osgWD2.js} +2 -2
  16. package/dist/{dom-to-png-CIBDe8BB.js → dom-to-png-B4iPnzPd.js} +1 -1
  17. package/dist/{img-CWXYkVMQ.js → img-Domj-5hZ.js} +1 -1
  18. package/dist/{index-DB4XIP_N.js → index-BeBasrrG.js} +160 -137
  19. package/dist/{pdf-Dm-ieKMv.js → pdf-KclgkN6e.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +14 -4
  22. package/dist/types/vue-data-ui.d.ts +14 -4
  23. package/dist/{useNestedProp-iTa19l34.js → useNestedProp-BI69cynt.js} +1 -1
  24. package/dist/{usePrinter-id381vkp.js → usePrinter-DpTBVYGM.js} +2 -2
  25. package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
  26. package/dist/{useTimeLabels-DFkUfjfs.js → useTimeLabels-DkzmKfZn.js} +21 -21
  27. package/dist/{vue-data-ui-WdvK3lBL.js → vue-data-ui-DfOSI-cw.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/{vue-ui-3d-bar-CtiAXSRA.js → vue-ui-3d-bar-BFUcEqAl.js} +6 -6
  30. package/dist/{vue-ui-accordion-DAT3uTMD.js → vue-ui-accordion-BBZQktvS.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-LuljyG04.js → vue-ui-age-pyramid-C1fCszkG.js} +6 -6
  32. package/dist/{vue-ui-annotator-CzHa2GlG.js → vue-ui-annotator-BThZoiBl.js} +2 -2
  33. package/dist/{vue-ui-bullet-BEzXYrWC.js → vue-ui-bullet-D0-jL6aT.js} +7 -7
  34. package/dist/{vue-ui-candlestick-DSaFw3wl.js → vue-ui-candlestick-BKY_1NxQ.js} +163 -160
  35. package/dist/{vue-ui-carousel-table-D1CLPWmk.js → vue-ui-carousel-table-RqYXqUym.js} +4 -4
  36. package/dist/{vue-ui-chestnut-D3FNLdep.js → vue-ui-chestnut-QLx875w4.js} +5 -5
  37. package/dist/{vue-ui-chord-CFT-LcE4.js → vue-ui-chord-rUYoYkRO.js} +8 -8
  38. package/dist/{vue-ui-circle-pack-Bl_cyLTg.js → vue-ui-circle-pack-DX5resGr.js} +6 -6
  39. package/dist/{vue-ui-cursor-C2XYAY0n.js → vue-ui-cursor-Day-0aL1.js} +2 -2
  40. package/dist/{vue-ui-dashboard-4ZwAsn1N.js → vue-ui-dashboard-G0W4wq1U.js} +62 -62
  41. package/dist/{vue-ui-digits-Da5mTaOQ.js → vue-ui-digits-DFREi_Ky.js} +2 -2
  42. package/dist/{vue-ui-donut-B6QlrBEH.js → vue-ui-donut-BdxnEUCr.js} +8 -8
  43. package/dist/{vue-ui-donut-evolution-Tv7oj7TE.js → vue-ui-donut-evolution-DYeMgZMU.js} +215 -212
  44. package/dist/{vue-ui-dumbbell-LNnnDec4.js → vue-ui-dumbbell-ajhNYekO.js} +7 -7
  45. package/dist/{vue-ui-flow-B618L2Da.js → vue-ui-flow-BOq3_apj.js} +7 -7
  46. package/dist/{vue-ui-funnel-DS_tcSnW.js → vue-ui-funnel-1Tc-WWAK.js} +6 -6
  47. package/dist/{vue-ui-galaxy-C5qk-fEV.js → vue-ui-galaxy-DRdIquCv.js} +5 -5
  48. package/dist/{vue-ui-gauge-C33XPj6b.js → vue-ui-gauge-B0a3J_d1.js} +6 -6
  49. package/dist/{vue-ui-gizmo-Cr6zUxnq.js → vue-ui-gizmo-5G0uR26C.js} +3 -3
  50. package/dist/vue-ui-heatmap-BGYSmKC-.js +1084 -0
  51. package/dist/{vue-ui-history-plot-DM_vTyiY.js → vue-ui-history-plot-kHo6293P.js} +7 -7
  52. package/dist/{vue-ui-kpi-BgFQSUVT.js → vue-ui-kpi-6zONwNMN.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-BEpehl5X.js → vue-ui-mini-loader-XyVfmLch.js} +2 -2
  54. package/dist/{vue-ui-molecule-BIQFbPof.js → vue-ui-molecule-BoQKd6NP.js} +5 -5
  55. package/dist/{vue-ui-mood-radar-RShxk3Bz.js → vue-ui-mood-radar-DncLIzjX.js} +7 -7
  56. package/dist/{vue-ui-nested-donuts-dMBxBBnZ.js → vue-ui-nested-donuts-DXMadqNK.js} +9 -9
  57. package/dist/{vue-ui-onion-ZVZ6wpNM.js → vue-ui-onion-CbtXXJHJ.js} +7 -7
  58. package/dist/{vue-ui-parallel-coordinate-plot-1a3BGVsh.js → vue-ui-parallel-coordinate-plot-D-zLAqYN.js} +8 -8
  59. package/dist/{vue-ui-quadrant-XCnxKrJd.js → vue-ui-quadrant-DqN9de-E.js} +8 -8
  60. package/dist/{vue-ui-quick-chart-BQJqdHxB.js → vue-ui-quick-chart-fAHV8BFQ.js} +7 -7
  61. package/dist/{vue-ui-radar-CeXlq2A-.js → vue-ui-radar-Dcr4Y35J.js} +7 -7
  62. package/dist/{vue-ui-rating-DTq-mZyU.js → vue-ui-rating-Y_X6wrM8.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-k8viefM-.js → vue-ui-relation-circle-CsjfP4w3.js} +6 -6
  64. package/dist/{vue-ui-ridgeline-B8oddwmZ.js → vue-ui-ridgeline-COQZjWXD.js} +9 -9
  65. package/dist/{vue-ui-rings-9XT1ePuY.js → vue-ui-rings-IWHU4YHR.js} +8 -8
  66. package/dist/{vue-ui-scatter-oM-LVerf.js → vue-ui-scatter-zG4nPspJ.js} +8 -8
  67. package/dist/{vue-ui-skeleton-DDLBx4bb.js → vue-ui-skeleton-BLCAe0aL.js} +3 -3
  68. package/dist/{vue-ui-smiley-D5ybBkdY.js → vue-ui-smiley-CgMyaK6w.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-Tl-sOjqa.js → vue-ui-spark-trend-Dn2iTtuB.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-Ce6dYcF4.js → vue-ui-sparkbar-BA_s34xX.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-DRHrbpSl.js → vue-ui-sparkgauge-CGoeUY4p.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DBtPWFim.js → vue-ui-sparkhistogram-BuSn8iJi.js} +4 -4
  73. package/dist/{vue-ui-sparkline-DcF2ugGh.js → vue-ui-sparkline-CYJUhGaJ.js} +4 -4
  74. package/dist/{vue-ui-sparkstackbar-C01iI0y3.js → vue-ui-sparkstackbar-BDQWVxNP.js} +3 -3
  75. package/dist/{vue-ui-stackbar-BeCCgw_v.js → vue-ui-stackbar-B92-pzwh.js} +301 -298
  76. package/dist/{vue-ui-strip-plot-CsK2a1mH.js → vue-ui-strip-plot-BLTjzATL.js} +7 -7
  77. package/dist/{vue-ui-table-COjBJDmq.js → vue-ui-table-Ba7Z_7OX.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-DfxMcAr9.js → vue-ui-table-heatmap-C29u3mfg.js} +5 -5
  79. package/dist/{vue-ui-table-sparkline-0BC6BxKt.js → vue-ui-table-sparkline-BLR9glHo.js} +4 -4
  80. package/dist/{vue-ui-thermometer-Bf2_qGBi.js → vue-ui-thermometer-BAm6l97t.js} +6 -6
  81. package/dist/{vue-ui-timer-BC9tH4qB.js → vue-ui-timer-CqbbNnBk.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-ya8ABi9I.js → vue-ui-tiremarks-BnZr2Vrp.js} +6 -6
  83. package/dist/{vue-ui-treemap-BSHptMc8.js → vue-ui-treemap-J8OANLCg.js} +8 -8
  84. package/dist/{vue-ui-vertical-bar-B_Oa-v87.js → vue-ui-vertical-bar-DdR3STYF.js} +9 -9
  85. package/dist/{vue-ui-waffle-DHB8v3nh.js → vue-ui-waffle-w5VJA7gR.js} +8 -8
  86. package/dist/{vue-ui-wheel-Bi28_KVB.js → vue-ui-wheel-D5yea4oH.js} +6 -6
  87. package/dist/{vue-ui-word-cloud-BcQ2cfcu.js → vue-ui-word-cloud-OugLGxgB.js} +6 -6
  88. package/dist/{vue-ui-world-aLL9NUDQ.js → vue-ui-world-BSptBo4h.js} +6 -6
  89. package/dist/vue-ui-xy-DnYo2K58.js +3741 -0
  90. package/dist/{vue-ui-xy-canvas-sUpmc7gl.js → vue-ui-xy-canvas-Cmn0RWbG.js} +9 -9
  91. package/package.json +1 -1
  92. package/dist/useTimeLabelCollider-V7AOiPLB.js +0 -71
  93. package/dist/vue-ui-heatmap-ksiw1nTI.js +0 -879
  94. package/dist/vue-ui-xy-BxonzF88.js +0 -3710
@@ -2759,19 +2759,25 @@ declare module "vue-data-ui" {
2759
2759
  >;
2760
2760
 
2761
2761
  export type VueUiHeatmapConfig = {
2762
+ debug?: boolean; // v3
2763
+ loading?: boolean; // v3
2764
+ responsive?: boolean; // v3
2762
2765
  theme?: Theme;
2763
2766
  style?: {
2764
2767
  backgroundColor?: string;
2765
2768
  color?: string;
2766
2769
  fontFamily?: string;
2767
2770
  layout?: {
2771
+ height?: number;
2772
+ width?: number;
2768
2773
  padding?: ChartPadding;
2769
2774
  cells?: {
2770
- height?: number;
2775
+ // height?: number; // v3 deprecated
2771
2776
  columnTotal?: {
2772
2777
  value?: {
2773
2778
  show?: boolean;
2774
2779
  rotation?: number;
2780
+ autoRotate?: boolean; // v3
2775
2781
  offsetX?: number;
2776
2782
  offsetY?: number;
2777
2783
  };
@@ -2812,8 +2818,10 @@ declare module "vue-data-ui" {
2812
2818
  xAxis?: {
2813
2819
  show?: boolean;
2814
2820
  values?: Array<string | number>;
2821
+ datetimeFormatter?: AxisDateFormatter; // v3
2815
2822
  showOnlyAtModulo?: number | null;
2816
2823
  rotation?: number;
2824
+ autoRotate?: boolean; // v3
2817
2825
  fontSize?: number;
2818
2826
  color?: string;
2819
2827
  bold?: boolean;
@@ -2823,6 +2831,7 @@ declare module "vue-data-ui" {
2823
2831
  yAxis?: {
2824
2832
  show?: boolean;
2825
2833
  values?: Array<string | number>;
2834
+ datetimeFormatter?: AxisDateFormatter; // v3
2826
2835
  fontSize?: number;
2827
2836
  color?: string;
2828
2837
  bold?: boolean;
@@ -2835,8 +2844,9 @@ declare module "vue-data-ui" {
2835
2844
  legend?: ChartBaseLegend & {
2836
2845
  backgroundColor?: string;
2837
2846
  roundingValue?: number;
2838
- position?: "right" | "bottom";
2839
- scaleBorderRadius?: number;
2847
+ width?: number;
2848
+ // position?: "right" | "bottom"; // v3 deprecated
2849
+ // scaleBorderRadius?: number; // v3 deprecated
2840
2850
  };
2841
2851
  tooltip?: ChartTooltip & {
2842
2852
  roundingValue?: number;
@@ -2882,7 +2892,7 @@ declare module "vue-data-ui" {
2882
2892
  };
2883
2893
 
2884
2894
  export type VueUiHeatmapDatasetItem = {
2885
- name: string;
2895
+ name: string | number;
2886
2896
  values: number[];
2887
2897
  };
2888
2898
 
@@ -2759,19 +2759,25 @@ declare module "vue-data-ui" {
2759
2759
  >;
2760
2760
 
2761
2761
  export type VueUiHeatmapConfig = {
2762
+ debug?: boolean; // v3
2763
+ loading?: boolean; // v3
2764
+ responsive?: boolean; // v3
2762
2765
  theme?: Theme;
2763
2766
  style?: {
2764
2767
  backgroundColor?: string;
2765
2768
  color?: string;
2766
2769
  fontFamily?: string;
2767
2770
  layout?: {
2771
+ height?: number;
2772
+ width?: number;
2768
2773
  padding?: ChartPadding;
2769
2774
  cells?: {
2770
- height?: number;
2775
+ // height?: number; // v3 deprecated
2771
2776
  columnTotal?: {
2772
2777
  value?: {
2773
2778
  show?: boolean;
2774
2779
  rotation?: number;
2780
+ autoRotate?: boolean; // v3
2775
2781
  offsetX?: number;
2776
2782
  offsetY?: number;
2777
2783
  };
@@ -2812,8 +2818,10 @@ declare module "vue-data-ui" {
2812
2818
  xAxis?: {
2813
2819
  show?: boolean;
2814
2820
  values?: Array<string | number>;
2821
+ datetimeFormatter?: AxisDateFormatter; // v3
2815
2822
  showOnlyAtModulo?: number | null;
2816
2823
  rotation?: number;
2824
+ autoRotate?: boolean; // v3
2817
2825
  fontSize?: number;
2818
2826
  color?: string;
2819
2827
  bold?: boolean;
@@ -2823,6 +2831,7 @@ declare module "vue-data-ui" {
2823
2831
  yAxis?: {
2824
2832
  show?: boolean;
2825
2833
  values?: Array<string | number>;
2834
+ datetimeFormatter?: AxisDateFormatter; // v3
2826
2835
  fontSize?: number;
2827
2836
  color?: string;
2828
2837
  bold?: boolean;
@@ -2835,8 +2844,9 @@ declare module "vue-data-ui" {
2835
2844
  legend?: ChartBaseLegend & {
2836
2845
  backgroundColor?: string;
2837
2846
  roundingValue?: number;
2838
- position?: "right" | "bottom";
2839
- scaleBorderRadius?: number;
2847
+ width?: number;
2848
+ // position?: "right" | "bottom"; // v3 deprecated
2849
+ // scaleBorderRadius?: number; // v3 deprecated
2840
2850
  };
2841
2851
  tooltip?: ChartTooltip & {
2842
2852
  roundingValue?: number;
@@ -2882,7 +2892,7 @@ declare module "vue-data-ui" {
2882
2892
  };
2883
2893
 
2884
2894
  export type VueUiHeatmapDatasetItem = {
2885
- name: string;
2895
+ name: string | number;
2886
2896
  values: number[];
2887
2897
  };
2888
2898
 
@@ -1,4 +1,4 @@
1
- import { A as o, z as n } from "./index-DB4XIP_N.js";
1
+ import { A as o, z as n } from "./index-BeBasrrG.js";
2
2
  function c({ defaultConfig: e, userConfig: r }) {
3
3
  if (!Object.keys(r || {}).length)
4
4
  return e;
@@ -10,7 +10,7 @@ function m({
10
10
  !t || r.value || (r.value = !0, clearTimeout(n.value), n.value = setTimeout(async () => {
11
11
  if (t)
12
12
  try {
13
- const { default: e } = await import("./pdf-Dm-ieKMv.js");
13
+ const { default: e } = await import("./pdf-KclgkN6e.js");
14
14
  await e({
15
15
  domElement: document.getElementById(u),
16
16
  fileName: l,
@@ -27,7 +27,7 @@ function m({
27
27
  !t || a.value || (a.value = !0, clearTimeout(n.value), n.value = setTimeout(async () => {
28
28
  if (t)
29
29
  try {
30
- const { default: e } = await import("./img-CWXYkVMQ.js");
30
+ const { default: e } = await import("./img-Domj-5hZ.js");
31
31
  await e({
32
32
  domElement: document.getElementById(u),
33
33
  fileName: l,
@@ -0,0 +1,78 @@
1
+ import { watch as A, nextTick as D } from "vue";
2
+ function S({
3
+ timeLabelsEls: F,
4
+ timeLabels: L,
5
+ slicer: x,
6
+ configRef: s,
7
+ rotationPath: r,
8
+ autoRotatePath: p,
9
+ isAutoSize: N,
10
+ setViewBox: y,
11
+ forceResizeObserver: C,
12
+ callback: o,
13
+ targetClass: j = ".vue-data-ui-time-label",
14
+ rotation: w = -30.0001,
15
+ height: T = null,
16
+ width: b = null
17
+ }) {
18
+ function i(a, n) {
19
+ return n.reduce((e, t) => e && e[t], a);
20
+ }
21
+ function g(a, n, e) {
22
+ n.slice(0, -1).reduce((t, l) => t[l], a)[n.slice(-1)] = e;
23
+ }
24
+ function q(a) {
25
+ const n = /translate\(\s*([^\s,]+)\s*,\s*([^\s,]+)\s*\)/.exec(a);
26
+ return n ? {
27
+ x: parseFloat(n[1]),
28
+ y: parseFloat(n[2])
29
+ } : { x: 0, y: 0 };
30
+ }
31
+ async function c() {
32
+ await D();
33
+ const a = F.value;
34
+ if (!a) return;
35
+ const e = Array.from(a.querySelectorAll(j)).map((u) => ({
36
+ ...q(u.getAttribute("transform")),
37
+ width: u.getBBox().width
38
+ }));
39
+ let t = !1;
40
+ const l = 4;
41
+ for (let u = 0; u < e.length && !t; u += 1)
42
+ for (let m = u + 1; m < e.length; m += 1) {
43
+ const v = e[u], f = e[m];
44
+ if (!(v.x + v.width + l < f.x || f.x + f.width + l < v.x)) {
45
+ t = !0;
46
+ break;
47
+ }
48
+ }
49
+ const d = i(s.value, r);
50
+ t && !d ? (g(s.value, r, w), o && o({ collision: t }), N.value && y && C && (y(), C())) : !t && d === w && (g(s.value, r, 0), o && o({ collision: t }));
51
+ }
52
+ function B(a, n) {
53
+ let e;
54
+ return (...t) => {
55
+ clearTimeout(e), e = setTimeout(() => a(...t), n);
56
+ };
57
+ }
58
+ const h = B(c, 200);
59
+ return T && b && A([() => b.value, () => T.value], async ([a, n], [e, t]) => {
60
+ if (!i(s.value, p)) return;
61
+ a !== e || n !== t ? h() : await c();
62
+ }), A(
63
+ [
64
+ () => L.value,
65
+ () => i(s.value, r),
66
+ () => x.value.start,
67
+ () => x.value.end
68
+ ],
69
+ async ([, , a, n], [, , e, t]) => {
70
+ if (!i(s.value, p)) return;
71
+ a !== e || n !== t ? h() : await c();
72
+ },
73
+ { immediate: !0 }
74
+ ), { detectTimeLabelCollision: c };
75
+ }
76
+ export {
77
+ S as u
78
+ };
@@ -1,5 +1,5 @@
1
1
  function V({
2
- useUTC: k = !1,
2
+ useUTC: y = !1,
3
3
  min: C = void 0,
4
4
  max: n = void 0,
5
5
  locale: m = {
@@ -10,7 +10,7 @@ function V({
10
10
  },
11
11
  januaryAsYear: f = !1
12
12
  }) {
13
- const y = [2, 4, 6, 9, 11], l = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334];
13
+ const D = [2, 4, 6, 9, 11], l = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334];
14
14
  function J(e) {
15
15
  return e % 12;
16
16
  }
@@ -21,7 +21,7 @@ function V({
21
21
  const s = Date.parse(e);
22
22
  if (isNaN(s))
23
23
  return e;
24
- if (!k)
24
+ if (!y)
25
25
  return s;
26
26
  const t = String(e).replace(/([+-]\d{2}:\d{2}|Z)$/, "");
27
27
  return Date.parse(t + "Z");
@@ -42,7 +42,7 @@ function V({
42
42
  return Date.parse(e.replace(/-/g, "/").replace(/[a-z]+/gi, " "));
43
43
  }
44
44
  function M(e, s) {
45
- const t = k, r = [
45
+ const t = y, r = [
46
46
  "yyyy",
47
47
  "yy",
48
48
  "y",
@@ -75,7 +75,7 @@ function V({
75
75
  "g"
76
76
  ), i = [];
77
77
  s = s.replace(o, (j, p) => (i.push(p), `{{${i.length - 1}}}`));
78
- const D = ["\0", ...m.months], O = ["", ...m.shortMonths], w = ["", ...m.days], U = ["", ...m.shortDays];
78
+ const S = ["\0", ...m.months], O = ["", ...m.shortMonths], w = ["", ...m.days], U = ["", ...m.shortDays];
79
79
  function c(j, p = 2) {
80
80
  let F = String(j);
81
81
  for (; F.length < p; ) F = "0" + F;
@@ -84,7 +84,7 @@ function V({
84
84
  const T = t ? e.getUTCFullYear() : e.getFullYear();
85
85
  s = s.replace(/(^|[^\\])yyyy+/g, `$1${T}`).replace(/(^|[^\\])yy/g, `$1${String(T).substr(2, 2)}`).replace(/(^|[^\\])y/g, `$1${T}`);
86
86
  const v = (t ? e.getUTCMonth() : e.getMonth()) + 1;
87
- f && v === 1 && (D[1] = String(T), O[1] = String(T)), s = s.replace(/(^|[^\\])MMMM+/g, `$1${D[0]}`).replace(/(^|[^\\])MMM/g, `$1${O[0]}`).replace(/(^|[^\\])MM/g, `$1${c(v)}`).replace(/(^|[^\\])M/g, `$1${v}`);
87
+ f && v === 1 && (S[1] = String(T), O[1] = String(T)), s = s.replace(/(^|[^\\])MMMM+/g, `$1${S[0]}`).replace(/(^|[^\\])MMM/g, `$1${O[0]}`).replace(/(^|[^\\])MM/g, `$1${c(v)}`).replace(/(^|[^\\])M/g, `$1${v}`);
88
88
  const I = t ? e.getUTCDate() : e.getDate();
89
89
  s = s.replace(/(^|[^\\])dddd+/g, `$1${w[0]}`).replace(/(^|[^\\])ddd/g, `$1${U[0]}`).replace(/(^|[^\\])dd/g, `$1${c(I)}`).replace(/(^|[^\\])d/g, `$1${I}`);
90
90
  const g = t ? e.getUTCHours() : e.getHours();
@@ -99,15 +99,15 @@ function V({
99
99
  s = s.replace(/(^|[^\\])fff+/g, `$1${c(b, 3)}`), b = Math.round(b / 10), s = s.replace(/(^|[^\\])ff/g, `$1${c(b)}`), b = Math.round(b / 10), s = s.replace(/(^|[^\\])f/g, `$1${b}`);
100
100
  const L = g < 12 ? "AM" : "PM";
101
101
  s = s.replace(/(^|[^\\])TT+/g, `$1${L}`).replace(/(^|[^\\])T/g, `$1${L.charAt(0)}`).replace(/(^|[^\\])tt+/g, `$1${L.toLowerCase()}`).replace(/(^|[^\\])t/g, `$1${L.toLowerCase().charAt(0)}`);
102
- let S = -e.getTimezoneOffset(), G = t || !S ? "Z" : S > 0 ? "+" : "-";
102
+ let k = -e.getTimezoneOffset(), G = t || !k ? "Z" : k > 0 ? "+" : "-";
103
103
  if (!t) {
104
- S = Math.abs(S);
105
- const j = Math.floor(S / 60), p = S % 60;
104
+ k = Math.abs(k);
105
+ const j = Math.floor(k / 60), p = k % 60;
106
106
  G += c(j) + ":" + c(p);
107
107
  }
108
108
  s = s.replace(/(^|[^\\])K/g, `$1${G}`);
109
109
  const _ = (t ? e.getUTCDay() : e.getDay()) + 1;
110
- return s = s.replace(new RegExp(w[0], "g"), w[_]).replace(new RegExp(U[0], "g"), U[_]).replace(new RegExp(D[0], "g"), D[v]).replace(new RegExp(O[0], "g"), O[v]), s = s.replace(/{{(\d+)}}/g, (j, p) => i[+p]), s;
110
+ return s = s.replace(new RegExp(w[0], "g"), w[_]).replace(new RegExp(U[0], "g"), U[_]).replace(new RegExp(S[0], "g"), S[v]).replace(new RegExp(O[0], "g"), O[v]), s = s.replace(/{{(\d+)}}/g, (j, p) => i[+p]), s;
111
111
  }
112
112
  function H(e, s) {
113
113
  C !== void 0 && (e = C), n !== void 0 && (s = n);
@@ -143,7 +143,7 @@ function V({
143
143
  return s > 1 && a(e) && (r += 1), r;
144
144
  }
145
145
  function z(e, s) {
146
- return e = J(e), y.includes(e) ? e === 2 ? a(s) ? 29 : 28 : 30 : 31;
146
+ return e = J(e), D.includes(e) ? e === 2 ? a(s) ? 29 : 28 : 30 : 31;
147
147
  }
148
148
  return {
149
149
  isValidDate: A,
@@ -207,19 +207,19 @@ const Y = { months: ["يناير", "فبراير", "مارس", "أبريل", "م
207
207
  "zh-tw": { months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], shortMonths: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"], days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"], shortDays: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"] }
208
208
  }, Le = 24 * 60 * 60;
209
209
  function Fe({
210
- values: k,
210
+ values: y,
211
211
  maxDatapoints: C,
212
212
  formatter: n,
213
213
  start: m,
214
214
  end: f
215
215
  }) {
216
- const y = [];
217
- if (!n.enable) {
216
+ const D = [];
217
+ if (!n.enable || y.length === 0) {
218
218
  for (let s = m; s < f; s++)
219
- y.push({ text: String(k[s] ?? s), absoluteIndex: s });
220
- return y;
219
+ D.push({ text: String(y[s] ?? s), absoluteIndex: s });
220
+ return D;
221
221
  }
222
- const l = k.slice(m, f);
222
+ const l = y.slice(m, f);
223
223
  if (l.length === 0) return [];
224
224
  const J = l[0], A = l[l.length - 1], h = V({
225
225
  useUTC: n.useUTC,
@@ -289,12 +289,12 @@ function Fe({
289
289
  o = h.formatDate(r, e);
290
290
  break;
291
291
  default: {
292
- const i = n.useUTC ? r.getUTCHours() : r.getHours(), D = n.useUTC ? r.getUTCMinutes() : r.getMinutes();
293
- i === 0 && D === 0 ? o = h.formatDate(r, e) : o = h.formatDate(r, K);
292
+ const i = n.useUTC ? r.getUTCHours() : r.getHours(), S = n.useUTC ? r.getUTCMinutes() : r.getMinutes();
293
+ i === 0 && S === 0 ? o = h.formatDate(r, e) : o = h.formatDate(r, K);
294
294
  }
295
295
  }
296
- y.push({ text: o, absoluteIndex: m + t });
297
- }), y;
296
+ D.push({ text: o, absoluteIndex: m + t });
297
+ }), D;
298
298
  }
299
299
  export {
300
300
  Fe as u
@@ -1,5 +1,5 @@
1
1
  import { toRefs as ne, defineAsyncComponent as t, computed as c, ref as o, onMounted as re, watch as Q, shallowReactive as le, createElementBlock as ue, createBlock as d, openBlock as g, normalizeStyle as se, createElementVNode as ce, createTextVNode as ge, createCommentVNode as q, toDisplayString as pe, resolveDynamicComponent as me, mergeProps as de, toHandlers as Ve, createSlots as Ue, renderList as fe, withCtx as ve, renderSlot as ke, normalizeProps as Se, guardReactiveProps as he } from "vue";
2
- import K from "./BaseIcon-B_tGgA4H.js";
2
+ import K from "./BaseIcon-Cq9SmUOT.js";
3
3
  const be = { style: { width: "36px" } }, Ae = {
4
4
  __name: "vue-data-ui",
5
5
  props: {
@@ -36,71 +36,71 @@ const be = { style: { width: "36px" } }, Ae = {
36
36
  ],
37
37
  setup(Y, { expose: J, emit: Z }) {
38
38
  const a = Y, { component: ye, dataset: R, config: w } = ne(a), p = {
39
- VueUi3dBar: t(() => import("./vue-ui-3d-bar-CtiAXSRA.js")),
40
- VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-LuljyG04.js")),
41
- VueUiAnnotator: t(() => import("./vue-ui-annotator-CzHa2GlG.js")),
42
- VueUiCandlestick: t(() => import("./vue-ui-candlestick-DSaFw3wl.js")),
43
- VueUiChestnut: t(() => import("./vue-ui-chestnut-D3FNLdep.js")),
44
- VueUiDashboard: t(() => import("./vue-ui-dashboard-4ZwAsn1N.js")),
45
- VueUiDigits: t(() => import("./vue-ui-digits-Da5mTaOQ.js")),
46
- VueUiDonut: t(() => import("./vue-ui-donut-B6QlrBEH.js")),
47
- VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-Tv7oj7TE.js")),
48
- VueUiGalaxy: t(() => import("./vue-ui-galaxy-C5qk-fEV.js")),
49
- VueUiGauge: t(() => import("./vue-ui-gauge-C33XPj6b.js")),
50
- VueUiHeatmap: t(() => import("./vue-ui-heatmap-ksiw1nTI.js")),
51
- VueUiKpi: t(() => import("./vue-ui-kpi-BgFQSUVT.js")),
52
- VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-BEpehl5X.js")),
53
- VueUiMolecule: t(() => import("./vue-ui-molecule-BIQFbPof.js")),
54
- VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-RShxk3Bz.js")),
55
- VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-dMBxBBnZ.js")),
56
- VueUiOnion: t(() => import("./vue-ui-onion-ZVZ6wpNM.js")),
57
- VueUiQuadrant: t(() => import("./vue-ui-quadrant-XCnxKrJd.js")),
58
- VueUiRadar: t(() => import("./vue-ui-radar-CeXlq2A-.js")),
59
- VueUiRating: t(() => import("./vue-ui-rating-DTq-mZyU.js")),
60
- VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-k8viefM-.js")),
61
- VueUiRings: t(() => import("./vue-ui-rings-9XT1ePuY.js")),
62
- VueUiScatter: t(() => import("./vue-ui-scatter-oM-LVerf.js")),
63
- VueUiSkeleton: t(() => import("./vue-ui-skeleton-DDLBx4bb.js")),
64
- VueUiSmiley: t(() => import("./vue-ui-smiley-D5ybBkdY.js")),
65
- VueUiSparkbar: t(() => import("./vue-ui-sparkbar-Ce6dYcF4.js")),
66
- VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-DRHrbpSl.js")),
67
- VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-DBtPWFim.js")),
68
- VueUiSparkline: t(() => import("./vue-ui-sparkline-DcF2ugGh.js")),
69
- VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-C01iI0y3.js")),
70
- VueUiTable: t(() => import("./vue-ui-table-COjBJDmq.js")),
71
- VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-0BC6BxKt.js")),
72
- VueUiThermometer: t(() => import("./vue-ui-thermometer-Bf2_qGBi.js")),
73
- VueUiTiremarks: t(() => import("./vue-ui-tiremarks-ya8ABi9I.js")),
74
- VueUiTreemap: t(() => import("./vue-ui-treemap-BSHptMc8.js")),
75
- VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-B_Oa-v87.js")),
39
+ VueUi3dBar: t(() => import("./vue-ui-3d-bar-BFUcEqAl.js")),
40
+ VueUiAgePyramid: t(() => import("./vue-ui-age-pyramid-C1fCszkG.js")),
41
+ VueUiAnnotator: t(() => import("./vue-ui-annotator-BThZoiBl.js")),
42
+ VueUiCandlestick: t(() => import("./vue-ui-candlestick-BKY_1NxQ.js")),
43
+ VueUiChestnut: t(() => import("./vue-ui-chestnut-QLx875w4.js")),
44
+ VueUiDashboard: t(() => import("./vue-ui-dashboard-G0W4wq1U.js")),
45
+ VueUiDigits: t(() => import("./vue-ui-digits-DFREi_Ky.js")),
46
+ VueUiDonut: t(() => import("./vue-ui-donut-BdxnEUCr.js")),
47
+ VueUiDonutEvolution: t(() => import("./vue-ui-donut-evolution-DYeMgZMU.js")),
48
+ VueUiGalaxy: t(() => import("./vue-ui-galaxy-DRdIquCv.js")),
49
+ VueUiGauge: t(() => import("./vue-ui-gauge-B0a3J_d1.js")),
50
+ VueUiHeatmap: t(() => import("./vue-ui-heatmap-BGYSmKC-.js")),
51
+ VueUiKpi: t(() => import("./vue-ui-kpi-6zONwNMN.js")),
52
+ VueUiMiniLoader: t(() => import("./vue-ui-mini-loader-XyVfmLch.js")),
53
+ VueUiMolecule: t(() => import("./vue-ui-molecule-BoQKd6NP.js")),
54
+ VueUiMoodRadar: t(() => import("./vue-ui-mood-radar-DncLIzjX.js")),
55
+ VueUiNestedDonuts: t(() => import("./vue-ui-nested-donuts-DXMadqNK.js")),
56
+ VueUiOnion: t(() => import("./vue-ui-onion-CbtXXJHJ.js")),
57
+ VueUiQuadrant: t(() => import("./vue-ui-quadrant-DqN9de-E.js")),
58
+ VueUiRadar: t(() => import("./vue-ui-radar-Dcr4Y35J.js")),
59
+ VueUiRating: t(() => import("./vue-ui-rating-Y_X6wrM8.js")),
60
+ VueUiRelationCircle: t(() => import("./vue-ui-relation-circle-CsjfP4w3.js")),
61
+ VueUiRings: t(() => import("./vue-ui-rings-IWHU4YHR.js")),
62
+ VueUiScatter: t(() => import("./vue-ui-scatter-zG4nPspJ.js")),
63
+ VueUiSkeleton: t(() => import("./vue-ui-skeleton-BLCAe0aL.js")),
64
+ VueUiSmiley: t(() => import("./vue-ui-smiley-CgMyaK6w.js")),
65
+ VueUiSparkbar: t(() => import("./vue-ui-sparkbar-BA_s34xX.js")),
66
+ VueUiSparkgauge: t(() => import("./vue-ui-sparkgauge-CGoeUY4p.js")),
67
+ VueUiSparkHistogram: t(() => import("./vue-ui-sparkhistogram-BuSn8iJi.js")),
68
+ VueUiSparkline: t(() => import("./vue-ui-sparkline-CYJUhGaJ.js")),
69
+ VueUiSparkStackbar: t(() => import("./vue-ui-sparkstackbar-BDQWVxNP.js")),
70
+ VueUiTable: t(() => import("./vue-ui-table-Ba7Z_7OX.js")),
71
+ VueUiTableSparkline: t(() => import("./vue-ui-table-sparkline-BLR9glHo.js")),
72
+ VueUiThermometer: t(() => import("./vue-ui-thermometer-BAm6l97t.js")),
73
+ VueUiTiremarks: t(() => import("./vue-ui-tiremarks-BnZr2Vrp.js")),
74
+ VueUiTreemap: t(() => import("./vue-ui-treemap-J8OANLCg.js")),
75
+ VueUiVerticalBar: t(() => import("./vue-ui-vertical-bar-DdR3STYF.js")),
76
76
  // delete in v4
77
- VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-B_Oa-v87.js")),
77
+ VueUiHorizontalBar: t(() => import("./vue-ui-vertical-bar-DdR3STYF.js")),
78
78
  // v3 renaming
79
- VueUiWaffle: t(() => import("./vue-ui-waffle-DHB8v3nh.js")),
80
- VueUiWheel: t(() => import("./vue-ui-wheel-Bi28_KVB.js")),
81
- VueUiXy: t(() => import("./vue-ui-xy-BxonzF88.js")),
82
- VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-DfxMcAr9.js")),
83
- VueUiAccordion: t(() => import("./vue-ui-accordion-DAT3uTMD.js")),
84
- VueUiQuickChart: t(() => import("./vue-ui-quick-chart-BQJqdHxB.js")),
85
- VueUiCursor: t(() => import("./vue-ui-cursor-C2XYAY0n.js")),
86
- VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-Tl-sOjqa.js")),
87
- VueUiStripPlot: t(() => import("./vue-ui-strip-plot-CsK2a1mH.js")),
88
- VueUiDumbbell: t(() => import("./vue-ui-dumbbell-LNnnDec4.js")),
89
- VueUiWordCloud: t(() => import("./vue-ui-word-cloud-BcQ2cfcu.js")),
90
- VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-sUpmc7gl.js")),
91
- VueUiFlow: t(() => import("./vue-ui-flow-B618L2Da.js")),
92
- VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-1a3BGVsh.js")),
93
- VueUiTimer: t(() => import("./vue-ui-timer-BC9tH4qB.js")),
94
- VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-D1CLPWmk.js")),
95
- VueUiGizmo: t(() => import("./vue-ui-gizmo-Cr6zUxnq.js")),
96
- VueUiStackbar: t(() => import("./vue-ui-stackbar-BeCCgw_v.js")),
97
- VueUiBullet: t(() => import("./vue-ui-bullet-BEzXYrWC.js")),
98
- VueUiFunnel: t(() => import("./vue-ui-funnel-DS_tcSnW.js")),
99
- VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-DM_vTyiY.js")),
100
- VueUiCirclePack: t(() => import("./vue-ui-circle-pack-Bl_cyLTg.js")),
101
- VueUiWorld: t(() => import("./vue-ui-world-aLL9NUDQ.js")),
102
- VueUiRidgeline: t(() => import("./vue-ui-ridgeline-B8oddwmZ.js")),
103
- VueUiChord: t(() => import("./vue-ui-chord-CFT-LcE4.js"))
79
+ VueUiWaffle: t(() => import("./vue-ui-waffle-w5VJA7gR.js")),
80
+ VueUiWheel: t(() => import("./vue-ui-wheel-D5yea4oH.js")),
81
+ VueUiXy: t(() => import("./vue-ui-xy-DnYo2K58.js")),
82
+ VueUiTableHeatmap: t(() => import("./vue-ui-table-heatmap-C29u3mfg.js")),
83
+ VueUiAccordion: t(() => import("./vue-ui-accordion-BBZQktvS.js")),
84
+ VueUiQuickChart: t(() => import("./vue-ui-quick-chart-fAHV8BFQ.js")),
85
+ VueUiCursor: t(() => import("./vue-ui-cursor-Day-0aL1.js")),
86
+ VueUiSparkTrend: t(() => import("./vue-ui-spark-trend-Dn2iTtuB.js")),
87
+ VueUiStripPlot: t(() => import("./vue-ui-strip-plot-BLTjzATL.js")),
88
+ VueUiDumbbell: t(() => import("./vue-ui-dumbbell-ajhNYekO.js")),
89
+ VueUiWordCloud: t(() => import("./vue-ui-word-cloud-OugLGxgB.js")),
90
+ VueUiXyCanvas: t(() => import("./vue-ui-xy-canvas-Cmn0RWbG.js")),
91
+ VueUiFlow: t(() => import("./vue-ui-flow-BOq3_apj.js")),
92
+ VueUiParallelCoordinatePlot: t(() => import("./vue-ui-parallel-coordinate-plot-D-zLAqYN.js")),
93
+ VueUiTimer: t(() => import("./vue-ui-timer-CqbbNnBk.js")),
94
+ VueUiCarouselTable: t(() => import("./vue-ui-carousel-table-RqYXqUym.js")),
95
+ VueUiGizmo: t(() => import("./vue-ui-gizmo-5G0uR26C.js")),
96
+ VueUiStackbar: t(() => import("./vue-ui-stackbar-B92-pzwh.js")),
97
+ VueUiBullet: t(() => import("./vue-ui-bullet-D0-jL6aT.js")),
98
+ VueUiFunnel: t(() => import("./vue-ui-funnel-1Tc-WWAK.js")),
99
+ VueUiHistoryPlot: t(() => import("./vue-ui-history-plot-kHo6293P.js")),
100
+ VueUiCirclePack: t(() => import("./vue-ui-circle-pack-DX5resGr.js")),
101
+ VueUiWorld: t(() => import("./vue-ui-world-BSptBo4h.js")),
102
+ VueUiRidgeline: t(() => import("./vue-ui-ridgeline-COQZjWXD.js")),
103
+ VueUiChord: t(() => import("./vue-ui-chord-rUYoYkRO.js"))
104
104
  }, ee = {
105
105
  VueUi3dBar: ["config", "dataset"],
106
106
  VueUiAgePyramid: ["config", "dataset"],
@@ -1,5 +1,5 @@
1
1
  import "vue";
2
- import { aq as s, ar as u, as as V, at as U, au as r, av as t, bl as o, aw as b, bi as l, ax as n, bs as d, bp as m, ay as g, az as C, aA as c, aB as S, aC as k, aD as p, aE as h, bm as T, aF as P, aG as D, bj as f, aH as v, bn as y, bc as A, aI as B, aJ as H, aK as R, aL as W, aM as x, aN as M, aO as w, aP as z, bo as F, aQ as G, aR as L, aS as O, aT as Q, aU as X, br as j, aV as q, aW as E, aX as I, aY as K, aZ as N, a_ as J, a$ as Y, b0 as Z, b1 as _, b2 as $, bk as aa, b3 as ea, b4 as ia, b5 as sa, b6 as ua, b7 as Va, b8 as Ua, b9 as ra, ba as ta, bb as oa, bd as ba, be as la, bf as na, bq as da, bg as ma, bh as ga, L as Ca, V as ca, U as Sa, ak as ka, am as pa, bt as ha, bu as Ta, bv as Pa, bw as Da, bx as fa, by as va, bz as ya, bA as Aa, bB as Ba, bC as Ha, bD as Ra } from "./index-DB4XIP_N.js";
2
+ import { aq as s, ar as u, as as V, at as U, au as r, av as t, bl as o, aw as b, bi as l, ax as n, bs as d, bp as m, ay as g, az as C, aA as c, aB as S, aC as k, aD as p, aE as h, bm as T, aF as P, aG as D, bj as f, aH as v, bn as y, bc as A, aI as B, aJ as H, aK as R, aL as W, aM as x, aN as M, aO as w, aP as z, bo as F, aQ as G, aR as L, aS as O, aT as Q, aU as X, br as j, aV as q, aW as E, aX as I, aY as K, aZ as N, a_ as J, a$ as Y, b0 as Z, b1 as _, b2 as $, bk as aa, b3 as ea, b4 as ia, b5 as sa, b6 as ua, b7 as Va, b8 as Ua, b9 as ra, ba as ta, bb as oa, bd as ba, be as la, bf as na, bq as da, bg as ma, bh as ga, L as Ca, V as ca, U as Sa, ak as ka, am as pa, bt as ha, bu as Ta, bv as Pa, bw as Da, bx as fa, by as va, bz as ya, bA as Aa, bB as Ba, bC as Ha, bD as Ra } from "./index-BeBasrrG.js";
3
3
  export {
4
4
  s as Arrow,
5
5
  u as VueDataUi,
@@ -1,11 +1,11 @@
1
1
  import { defineAsyncComponent as G, computed as j, ref as S, watch as Qe, onMounted as et, createElementBlock as c, openBlock as n, unref as u, normalizeStyle as O, normalizeClass as Se, createBlock as U, createCommentVNode as y, createSlots as tt, withCtx as T, renderSlot as P, normalizeProps as K, guardReactiveProps as Q, createVNode as lt, createElementVNode as d, Fragment as _, renderList as m, toDisplayString as B, mergeProps as je, createTextVNode as ot, nextTick as st } from "vue";
2
- import { u as at, c as Te, t as nt, p as ee, a as rt, b as ut, d as it, o as dt, e as te, g as ie, l as E, m as De, f as D, X as ct, s as g, h as le, i as oe, j as Oe, k as se, n as A, q as ht, r as vt } from "./index-DB4XIP_N.js";
3
- import { u as ze } from "./useNestedProp-iTa19l34.js";
4
- import { u as ft } from "./usePrinter-id381vkp.js";
2
+ import { u as at, c as Te, t as nt, p as ee, a as rt, b as ut, d as it, o as dt, e as te, g as ie, l as E, m as De, f as D, X as ct, s as g, h as le, i as oe, j as Oe, k as se, n as A, q as ht, r as vt } from "./index-BeBasrrG.js";
3
+ import { u as ze } from "./useNestedProp-BI69cynt.js";
4
+ import { u as ft } from "./usePrinter-DpTBVYGM.js";
5
5
  import { u as pt } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as yt } from "./useChartAccessibility-9icAAmYg.js";
7
- import kt from "./Title-B5lsq0cx.js";
8
- import gt from "./img-CWXYkVMQ.js";
7
+ import kt from "./Title-CbfJu3Bz.js";
8
+ import gt from "./img-Domj-5hZ.js";
9
9
  import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const _t = ["id"], mt = {
11
11
  key: 1,
@@ -35,7 +35,7 @@ const _t = ["id"], mt = {
35
35
  },
36
36
  emits: ["selectDatapoint"],
37
37
  setup(Ne, { expose: Be, emit: Ae }) {
38
- const Ie = G(() => import("./vue-ui-accordion-DAT3uTMD.js")), Le = G(() => import("./DataTable-Cm1oLidx.js")), Ve = G(() => import("./PackageVersion-DZMJZGOu.js")), We = G(() => import("./PenAndPaper-BDNLADWh.js")), Ge = G(() => import("./vue-ui-skeleton-DDLBx4bb.js")), Ue = G(() => import("./UserOptions-CksX2mn0.js")), { vue_ui_3d_bar: Ee } = at(), $ = Ne, q = Ae, X = j(() => !!$.dataset && Object.keys($.dataset).length), b = S(Te()), Re = S(null), R = S(null), I = S(!1), de = S(0), ce = S(0), t = j({
38
+ const Ie = G(() => import("./vue-ui-accordion-BBZQktvS.js")), Le = G(() => import("./DataTable-DonNp9Tn.js")), Ve = G(() => import("./PackageVersion-F_KOshQ5.js")), We = G(() => import("./PenAndPaper-BzsPyqiU.js")), Ge = G(() => import("./vue-ui-skeleton-BLCAe0aL.js")), Ue = G(() => import("./UserOptions-32osgWD2.js")), { vue_ui_3d_bar: Ee } = at(), $ = Ne, q = Ae, X = j(() => !!$.dataset && Object.keys($.dataset).length), b = S(Te()), Re = S(null), R = S(null), I = S(!1), de = S(0), ce = S(0), t = j({
39
39
  get: () => pe(),
40
40
  set: (a) => a
41
41
  }), { userOptionsVisible: ae, setUserOptionsVisibility: he, keepUserOptionState: ve } = pt({ config: t.value }), { svgRef: fe } = yt({ config: t.value.style.chart.title });
@@ -1,7 +1,7 @@
1
1
  import { useCssVars as y, computed as s, ref as r, onMounted as b, watch as _, createElementBlock as v, openBlock as u, createElementVNode as n, normalizeClass as $, normalizeStyle as p, createCommentVNode as O, renderSlot as c, createBlock as D, normalizeProps as i, mergeProps as N, guardReactiveProps as m } from "vue";
2
- import w from "./BaseIcon-B_tGgA4H.js";
3
- import { u as x } from "./useNestedProp-iTa19l34.js";
4
- import { u as B, c as I } from "./index-DB4XIP_N.js";
2
+ import w from "./BaseIcon-Cq9SmUOT.js";
3
+ import { u as x } from "./useNestedProp-BI69cynt.js";
4
+ import { u as B, c as I } from "./index-BeBasrrG.js";
5
5
  import { _ as A } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const F = ["id"], P = {
7
7
  key: 0,
@@ -1,12 +1,12 @@
1
1
  import { defineAsyncComponent as $, computed as x, ref as d, watch as Be, shallowRef as ge, onMounted as Ee, onBeforeUnmount as Ue, createElementBlock as r, openBlock as u, unref as i, normalizeStyle as Y, normalizeClass as pe, createBlock as F, createCommentVNode as y, renderSlot as h, createVNode as be, createSlots as De, withCtx as f, normalizeProps as M, guardReactiveProps as P, createElementVNode as v, Fragment as R, renderList as B, toDisplayString as C, createTextVNode as xe, nextTick as Ge } from "vue";
2
- import { u as Ve, c as We, a as Xe, o as je, e as He, v as c, X as Ye, s as q, w as me, i as T, f as A, q as qe, r as Je, x as Ke, y as Qe } from "./index-DB4XIP_N.js";
2
+ import { u as Ve, c as We, a as Xe, o as je, e as He, v as c, X as Ye, s as q, w as me, i as T, f as A, q as qe, r as Je, x as Ke, y as Qe } from "./index-BeBasrrG.js";
3
3
  import { t as Ze, u as et } from "./useResponsive-DfdjqQps.js";
4
- import { u as we } from "./useNestedProp-iTa19l34.js";
5
- import { u as tt } from "./usePrinter-id381vkp.js";
4
+ import { u as we } from "./useNestedProp-BI69cynt.js";
5
+ import { u as tt } from "./usePrinter-DpTBVYGM.js";
6
6
  import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as at } from "./useChartAccessibility-9icAAmYg.js";
8
- import ot from "./Title-B5lsq0cx.js";
9
- import st from "./img-CWXYkVMQ.js";
8
+ import ot from "./Title-CbfJu3Bz.js";
9
+ import st from "./img-Domj-5hZ.js";
10
10
  import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const ut = ["id"], rt = ["xmlns", "viewBox"], nt = ["x", "y", "width", "height"], vt = ["id"], dt = ["stop-color"], yt = ["stop-color"], ht = ["id"], ct = ["stop-color"], ft = ["stop-color"], gt = ["x", "y", "width", "height", "fill", "rx"], pt = ["x", "y", "width", "height", "fill", "rx"], bt = ["x", "y", "width", "height", "fill", "rx"], xt = ["x", "y", "width", "height", "fill", "rx"], mt = { key: 0 }, wt = ["x", "y", "fill", "font-size", "font-weight"], kt = ["x", "y", "fill", "font-size", "font-weight"], _t = { key: 1 }, Ct = ["x", "y", "font-size", "fill", "font-weight"], $t = { key: 2 }, Tt = { key: 0 }, At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x", "y", "font-size", "fill", "font-weight"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "font-size", "fill", "font-weight"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["x", "y", "width", "height", "fill", "onMouseover"], Pt = {
12
12
  key: 5,
@@ -28,7 +28,7 @@ const ut = ["id"], rt = ["xmlns", "viewBox"], nt = ["x", "y", "width", "height"]
28
28
  }
29
29
  },
30
30
  setup(J, { expose: ke }) {
31
- const _e = $(() => import("./vue-ui-accordion-DAT3uTMD.js")), Ce = $(() => import("./DataTable-Cm1oLidx.js")), $e = $(() => import("./PackageVersion-DZMJZGOu.js")), Te = $(() => import("./PenAndPaper-BDNLADWh.js")), Ae = $(() => import("./vue-ui-skeleton-DDLBx4bb.js")), Le = $(() => import("./Tooltip-CrAURNKT.js")), Se = $(() => import("./UserOptions-CksX2mn0.js")), { vue_ui_age_pyramid: ze } = Ve(), g = J, E = x(() => !!g.dataset && g.dataset.length), w = d(We()), Oe = d(null), V = d(!1), W = d(""), U = d(null), K = d(0), k = d(null), Q = d(null), Z = d(null), ee = d(null), te = d(0), le = d(0), e = x({
31
+ const _e = $(() => import("./vue-ui-accordion-BBZQktvS.js")), Ce = $(() => import("./DataTable-DonNp9Tn.js")), $e = $(() => import("./PackageVersion-F_KOshQ5.js")), Te = $(() => import("./PenAndPaper-BzsPyqiU.js")), Ae = $(() => import("./vue-ui-skeleton-BLCAe0aL.js")), Le = $(() => import("./Tooltip-BuuVsO8D.js")), Se = $(() => import("./UserOptions-32osgWD2.js")), { vue_ui_age_pyramid: ze } = Ve(), g = J, E = x(() => !!g.dataset && g.dataset.length), w = d(We()), Oe = d(null), V = d(!1), W = d(""), U = d(null), K = d(0), k = d(null), Q = d(null), Z = d(null), ee = d(null), te = d(0), le = d(0), e = x({
32
32
  get: () => ie(),
33
33
  set: (t) => t
34
34
  }), { userOptionsVisible: X, setUserOptionsVisibility: ae, keepUserOptionState: oe } = lt({ config: e.value }), { svgRef: se } = at({ config: e.value.style.title });
@@ -1,5 +1,5 @@
1
- import { z as p, A as v, u as w, B as A } from "./index-DB4XIP_N.js";
2
- import { d as M } from "./dom-to-png-CIBDe8BB.js";
1
+ import { z as p, A as v, u as w, B as A } from "./index-BeBasrrG.js";
2
+ import { d as M } from "./dom-to-png-B4iPnzPd.js";
3
3
  import { createElementBlock as d, openBlock as n, createElementVNode as r, normalizeStyle as c, toDisplayString as u, createCommentVNode as a, normalizeClass as y, createStaticVNode as F, withDirectives as N, vModelCheckbox as g, vModelText as C, renderSlot as O, Fragment as L, renderList as G } from "vue";
4
4
  import { _ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const m = {
@@ -1,12 +1,12 @@
1
1
  import { defineAsyncComponent as $, ref as g, computed as f, onMounted as ke, watch as Z, onBeforeUnmount as we, createElementBlock as n, openBlock as r, unref as o, normalizeStyle as T, normalizeClass as ee, createBlock as C, createCommentVNode as i, createElementVNode as _, createSlots as xe, withCtx as b, renderSlot as m, normalizeProps as O, guardReactiveProps as A, createVNode as Ce, Fragment as U, renderList as N, toDisplayString as B } from "vue";
2
- import { u as _e, o as Le, e as te, g as $e, c as Oe, l as Ae, D as Be, d as Pe, i as P, f as S, X as Se, a as Ie } from "./index-DB4XIP_N.js";
3
- import { u as ae } from "./useNestedProp-iTa19l34.js";
4
- import { u as Fe } from "./usePrinter-id381vkp.js";
2
+ import { u as _e, o as Le, e as te, g as $e, c as Oe, l as Ae, D as Be, d as Pe, i as P, f as S, X as Se, a as Ie } from "./index-BeBasrrG.js";
3
+ import { u as ae } from "./useNestedProp-BI69cynt.js";
4
+ import { u as Fe } from "./usePrinter-DpTBVYGM.js";
5
5
  import { u as He } from "./useUserOptionState-BIvW1Kz7.js";
6
6
  import { u as Me } from "./useChartAccessibility-9icAAmYg.js";
7
- import Te from "./Legend-DlUDcF1t.js";
8
- import Ue from "./Title-B5lsq0cx.js";
9
- import Ne from "./img-CWXYkVMQ.js";
7
+ import Te from "./Legend-De_LcU2x.js";
8
+ import Ue from "./Title-CbfJu3Bz.js";
9
+ import Ne from "./img-Domj-5hZ.js";
10
10
  import { _ as Re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const ze = ["id"], Ee = {
12
12
  key: 1,
@@ -40,7 +40,7 @@ const ze = ["id"], Ee = {
40
40
  }
41
41
  },
42
42
  setup(le, { expose: se }) {
43
- const re = $(() => import("./PackageVersion-DZMJZGOu.js")), oe = $(() => import("./PenAndPaper-BDNLADWh.js")), ne = $(() => import("./vue-ui-skeleton-DDLBx4bb.js")), ue = $(() => import("./UserOptions-CksX2mn0.js")), { vue_ui_bullet: ie } = _e(), u = le, k = g(null), ce = g(null), R = g(0), he = g(null), ve = g(0), y = f({
43
+ const re = $(() => import("./PackageVersion-F_KOshQ5.js")), oe = $(() => import("./PenAndPaper-BzsPyqiU.js")), ne = $(() => import("./vue-ui-skeleton-BLCAe0aL.js")), ue = $(() => import("./UserOptions-32osgWD2.js")), { vue_ui_bullet: ie } = _e(), u = le, k = g(null), ce = g(null), R = g(0), he = g(null), ve = g(0), y = f({
44
44
  get: () => u.dataset.hasOwnProperty("value"),
45
45
  set: (t) => t
46
46
  }), w = f(() => u.dataset.segments ? Array.isArray(u.dataset.segments) ? u.dataset.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure: