vue-data-ui 2.2.14 → 2.2.16

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.
@@ -12820,7 +12820,7 @@ function(e) {
12820
12820
  */
12821
12821
  function(e) {
12822
12822
  function t() {
12823
- return (St.canvg ? Promise.resolve(St.canvg) : import("./index.es-ca298c62.js")).catch(function(a) {
12823
+ return (St.canvg ? Promise.resolve(St.canvg) : import("./index.es-5d62d345.js")).catch(function(a) {
12824
12824
  return Promise.reject(new Error("Could not load canvg: " + a));
12825
12825
  }).then(function(a) {
12826
12826
  return a.default ? a.default : a;
@@ -14725,12 +14725,15 @@ function Zm({
14725
14725
  function Bl(e) {
14726
14726
  return e.length ? e.map((t) => Ct(t)) : [];
14727
14727
  }
14728
- function ew(e) {
14729
- const r = e.replace(/[^\w\s]|_/g, " ").replace(/\s+/g, " ").toLowerCase().split(" ").filter((o) => o.length > 0).reduce((o, l) => (o[l] ? o[l] += 1 : o[l] = 1, o), {});
14730
- return Object.keys(r).map((o) => ({
14731
- name: o.toLowerCase(),
14732
- value: r[o]
14733
- }));
14728
+ function ew(e, t = null) {
14729
+ const a = e.replace(/[\p{P}\p{S}]+/gu, " ").trim(), s = (/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Thai}\p{Script=Lao}\p{Script=Khmer}\p{Script=Tibetan}\p{Script=Myanmar}\p{Script=Devanagari}]/u.test(e) ? [...a] : a.split(/\s+/)).filter((i) => i.trim().length > 0).reduce((i, d) => (i[d] ? i[d] += 1 : i[d] = 1, i), {});
14730
+ return Object.keys(s).map((i) => {
14731
+ let d = i;
14732
+ return typeof t == "function" && typeof t(i) == "string" && (d = t(i)), {
14733
+ name: d,
14734
+ value: s[i]
14735
+ };
14736
+ });
14734
14737
  }
14735
14738
  function it({ defaultConfig: e, userConfig: t }) {
14736
14739
  if (!Object.keys(t || {}).length)
@@ -1,4 +1,4 @@
1
- import { _ as Ha } from "./index-56d90c32.js";
1
+ import { _ as Ha } from "./index-e23501d3.js";
2
2
  import "vue";
3
3
  var Tt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
4
4
  function Vo(a) {
@@ -1,4 +1,4 @@
1
- import { I as s, Q as u, F as V, X as U, p as r, s as t, o, g as n, Z as l, r as d, G as m, b as p, C as g, a1 as S, R as c, f as k, m as C, D, U as T, J as b, H as h, E as f, O as R, h as y, e as A, Y as P, d as W, k as x, u as H, z as M, n as B, j as G, S as Q, t as v, y as w, x as E, $ as F, q as I, P as K, l as L, a0 as N, a as O, W as X, T as j, w as q, B as z, V as J, i as Y, c as Z, A as $, a2 as _, v as aa, N as ea, K as ia, M as sa, L as ua } from "./index-56d90c32.js";
1
+ import { I as s, Q as u, F as V, X as U, p as r, s as t, o, g as n, Z as l, r as d, G as m, b as p, C as g, a1 as S, R as c, f as k, m as C, D, U as T, J as b, H as h, E as f, O as R, h as y, e as A, Y as P, d as W, k as x, u as H, z as M, n as B, j as G, S as Q, t as v, y as w, x as E, $ as F, q as I, P as K, l as L, a0 as N, a as O, W as X, T as j, w as q, B as z, V as J, i as Y, c as Z, A as $, a2 as _, v as aa, N as ea, K as ia, M as sa, L as ua } from "./index-e23501d3.js";
2
2
  import "vue";
3
3
  export {
4
4
  s as Arrow,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-data-ui",
3
3
  "private": false,
4
- "version": "2.2.14",
4
+ "version": "2.2.16",
5
5
  "type": "module",
6
6
  "description": "A user-empowering data visualization Vue 3 components library for eloquent data storytelling",
7
7
  "keywords": [