adverich-kun-ui 0.1.535 → 0.1.536

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.
@@ -1,5 +1,5 @@
1
- import { inject as l, reactive as a, readonly as u } from "vue";
2
- const f = {
1
+ import { inject as f, reactive as a, readonly as u } from "vue";
2
+ const l = {
3
3
  locale: "es-AR",
4
4
  currency: {
5
5
  code: "ARS",
@@ -31,7 +31,7 @@ function c(e, r) {
31
31
  r[t] !== null && typeof r[t] == "object" && !Array.isArray(r[t]) && e[t] !== null && typeof e[t] == "object" && !Array.isArray(e[t]) ? o[t] = c(e[t], r[t]) : o[t] = r[t];
32
32
  return o;
33
33
  }
34
- const n = a({ ...f }), d = Symbol("kunConfig"), y = {
34
+ const n = a({ ...l }), d = Symbol("kunConfig"), y = {
35
35
  // Acceso readonly para evitar mutaciones directas
36
36
  get current() {
37
37
  return u(n);
@@ -48,12 +48,13 @@ const n = a({ ...f }), d = Symbol("kunConfig"), y = {
48
48
  },
49
49
  // Configurar (merge profundo)
50
50
  configure(e = {}) {
51
+ console.log(e);
51
52
  const r = c(n, e);
52
53
  Object.assign(n, r);
53
54
  },
54
55
  // Reset a valores por defecto
55
56
  reset() {
56
- Object.assign(n, c({}, f));
57
+ Object.assign(n, c({}, l));
57
58
  },
58
59
  // Setters individuales para configuración dinámica
59
60
  setLocale(e) {
@@ -64,7 +65,7 @@ const n = a({ ...f }), d = Symbol("kunConfig"), y = {
64
65
  }
65
66
  };
66
67
  function m() {
67
- const e = l(d, null);
68
+ const e = f(d, null);
68
69
  return e || y.current;
69
70
  }
70
71
  function b(e, r, o) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.535",
3
+ "version": "0.1.536",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",