adverich-kun-ui 0.1.588 → 0.1.590

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,7 +1,8 @@
1
- const t = {
1
+ import { reactive as o } from "vue";
2
+ const t = o({
2
3
  documentTypes: [],
3
4
  countries: []
4
- }, o = {
5
+ }), u = {
5
6
  get documentTypes() {
6
7
  return t.documentTypes;
7
8
  },
@@ -19,5 +20,5 @@ const t = {
19
20
  }
20
21
  };
21
22
  export {
22
- o as kunDocumentConfig
23
+ u as kunDocumentConfig
23
24
  };
@@ -121,9 +121,8 @@ function N(t, n, r, o) {
121
121
  const c = s.country_iso2 || ((p = s.country) == null ? void 0 : p.iso2);
122
122
  c && (i = `doc_${c.toLowerCase()}`);
123
123
  }
124
- if (!i) return e;
125
124
  const f = ((g = s.short_name) == null ? void 0 : g.toLowerCase()) || ((k = s.name) == null ? void 0 : k.toLowerCase());
126
- return f ? h(t, i, f) : e;
125
+ return !i || !f ? e : h(t, i, f);
127
126
  }
128
127
  function L(t, n, r = null) {
129
128
  var e, s;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adverich-kun-ui",
3
- "version": "0.1.588",
3
+ "version": "0.1.590",
4
4
  "type": "module",
5
5
  "description": "Una librería de componentes Vue.js con Tailwind CSS",
6
6
  "main": "dist/index.js",