x-essential-lib 0.9.20 → 0.9.21

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.
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.appendChild(document.createTextNode('.fade-leave-active[data-v-99c4198b]{transition:opacity .5s ease}.fade-leave-to[data-v-99c4198b]{opacity:0}.x-cont[data-v-99c4198b]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-99c4198b]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-99c4198b]{transform-origin:20px 20px;animation:lds-spinner-99c4198b 1.2s linear infinite}.lds-spinner div[data-v-99c4198b]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-99c4198b]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-99c4198b]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-99c4198b]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-99c4198b]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-99c4198b]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-99c4198b]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-99c4198b]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-99c4198b]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-99c4198b]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-99c4198b]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-99c4198b]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-99c4198b]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-99c4198b{0%{opacity:1}to{opacity:0}}.x-item[data-v-5b5f6d09]{width:600px}@media (max-width: 600px){.x-item[data-v-5b5f6d09]{width:calc(100vw - 16px)}}.x-cont[data-v-b482df18]{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.appendChild(document.createTextNode('.fade-leave-active[data-v-99c4198b]{transition:opacity .5s ease}.fade-leave-to[data-v-99c4198b]{opacity:0}.x-cont[data-v-99c4198b]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-99c4198b]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-99c4198b]{transform-origin:20px 20px;animation:lds-spinner-99c4198b 1.2s linear infinite}.lds-spinner div[data-v-99c4198b]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-99c4198b]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-99c4198b]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-99c4198b]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-99c4198b]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-99c4198b]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-99c4198b]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-99c4198b]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-99c4198b]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-99c4198b]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-99c4198b]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-99c4198b]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-99c4198b]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-99c4198b{0%{opacity:1}to{opacity:0}}.x-item[data-v-5b5f6d09]{width:600px}@media(max-width:600px){.x-item[data-v-5b5f6d09]{width:calc(100vw - 16px)}}.x-cont[data-v-b482df18]{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  import { computed as V, provide as U, inject as K, ref as p, watchEffect as ne, onMounted as W, onBeforeUnmount as N, onBeforeMount as De, defineComponent as $, watch as J, resolveComponent as m, createBlock as A, openBlock as q, withKeys as F, unref as E, withModifiers as I, isRef as X, withCtx as v, createVNode as h, createTextVNode as M, toDisplayString as S, Transition as Ce, createElementBlock as ee, createCommentVNode as te, normalizeStyle as se, createElementVNode as D, Fragment as je, renderList as Ve, useTemplateRef as pe } from "vue";
3
3
  import { useI18n as z } from "vue-i18n";
4
4
  import { useTheme as _e, useDisplay as qe } from "vuetify";
5
5
  import { useRouter as de, useRoute as Oe } from "vue-router";
6
6
  import Se from "axios";
7
- import { a as T, m as Re, u as Le, t as re } from "./vendor.o5t9c4vm.js";
7
+ import { a as T, m as Re, u as Le, t as re } from "./vendor.l8hyykei.js";
8
8
  function Te() {
9
9
  const e = _e(), t = V(() => e.global.current.value.colors.primary), a = V(() => e.global.current.value.colors.secondary), o = V(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), l = V(() => e.current.value.dark ? "#272727" : "#eeeeee"), r = V(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), s = V(() => e.current.value.dark ? "#303030" : "#f6f6f6"), n = V(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
10
10
  return {
@@ -369,7 +369,7 @@ function Kt(e, t, a, o) {
369
369
  else
370
370
  L(e.path, t.path, o), a();
371
371
  }
372
- const Nt = ["string", "number", "boolean", "array", "object"];
372
+ const Nt = ["string", "number", "boolean", "array", "object", "any"];
373
373
  function Wt(e) {
374
374
  switch (e) {
375
375
  case "string":
@@ -382,6 +382,8 @@ function Wt(e) {
382
382
  return "#745ba5";
383
383
  case "object":
384
384
  return "#80a55b";
385
+ case "any":
386
+ return "#9e9e9e";
385
387
  }
386
388
  }
387
389
  function et(e) {
@@ -1,3 +1,3 @@
1
- export declare const types: readonly ["string", "number", "boolean", "array", "object"];
1
+ export declare const types: readonly ["string", "number", "boolean", "array", "object", "any"];
2
2
  export type Type = (typeof types)[number];
3
3
  export declare function getTypeColor(type: Type): string;
@@ -58,7 +58,7 @@ function J(e) {
58
58
  const o = /* @__PURE__ */ H();
59
59
  return w(() => (o.value, !!e()));
60
60
  }
61
- const K = Symbol("vueuse-ssr-width");
61
+ const K = /* @__PURE__ */ Symbol("vueuse-ssr-width");
62
62
  // @__NO_SIDE_EFFECTS__
63
63
  function N() {
64
64
  const e = k() ? /* @__PURE__ */ B(K, null) : null;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.9.20",
4
+ "version": "0.9.21",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -25,34 +25,34 @@
25
25
  "@vueuse/core": "^14.1.0",
26
26
  "axios": "^1.13.2",
27
27
  "js-cookie": "^3.0.5",
28
- "lodash-es": "^4.17.21",
28
+ "lodash-es": "^4.17.22",
29
29
  "mitt": "^3.0.1",
30
- "vue": "^3.5.25",
31
- "vue-i18n": "^11.2.2",
32
- "vue-router": "^4.6.3",
33
- "vuetify": "^3.11.3"
30
+ "vue": "^3.5.26",
31
+ "vue-i18n": "^11.2.8",
32
+ "vue-router": "^4.6.4",
33
+ "vuetify": "^3.11.6"
34
34
  },
35
35
  "devDependencies": {
36
- "@eslint/js": "^9.39.1",
36
+ "@eslint/js": "^9.39.2",
37
37
  "@types/js-cookie": "^3.0.6",
38
38
  "@types/lodash-es": "^4.17.12",
39
- "@types/node": "^25.0.0",
40
- "@vitejs/plugin-vue": "^6.0.2",
41
- "eslint": "^9.39.1",
39
+ "@types/node": "^25.0.8",
40
+ "@vitejs/plugin-vue": "^6.0.3",
41
+ "eslint": "^9.39.2",
42
42
  "eslint-config-prettier": "^10.1.8",
43
- "eslint-plugin-prettier": "^5.5.4",
43
+ "eslint-plugin-prettier": "^5.5.5",
44
44
  "eslint-plugin-vue": "^10.6.2",
45
- "globals": "^16.5.0",
45
+ "globals": "^17.0.0",
46
46
  "husky": "^9.1.7",
47
47
  "lint-staged": "^16.2.7",
48
- "prettier": "3.7.4",
49
- "sass": "^1.96.0",
48
+ "prettier": "3.8.0",
49
+ "sass": "^1.97.2",
50
50
  "typescript": "^5.9.3",
51
- "typescript-eslint": "^8.49.0",
52
- "vite": "^7.2.7",
51
+ "typescript-eslint": "^8.53.0",
52
+ "vite": "^7.3.1",
53
53
  "vite-plugin-css-injected-by-js": "^3.5.2",
54
54
  "vite-plugin-vuetify": "^2.1.2",
55
55
  "vue-eslint-parser": "^10.2.0",
56
- "vue-tsc": "^3.1.8"
56
+ "vue-tsc": "^3.2.2"
57
57
  }
58
58
  }