x-essential-lib 0.8.25 → 0.8.26

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,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -2,5 +2,5 @@ interface Props {
2
2
  open?: boolean;
3
3
  zIndex?: number;
4
4
  }
5
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
6
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -5,7 +5,7 @@ interface Props {
5
5
  text: string;
6
6
  timeout?: number;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ declare const _default: import("vue").DefineComponent<Props, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
9
  timeout: (...args: any[]) => void;
10
10
  }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
11
11
  onTimeout?: ((...args: any[]) => any) | undefined;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import { useI18n as G } from "vue-i18n";
4
4
  import { useTheme as se, useDisplay as Ce } from "vuetify";
5
5
  import { useRouter as pe, useRoute as qe } from "vue-router";
6
6
  import je from "axios";
7
- import { a as E, m as Re, u as Se } from "./vendor.detlzgps.js";
7
+ import { a as E, m as Re, u as Se } from "./vendor.ohp5twbt.js";
8
8
  function Oe() {
9
9
  const e = se(), t = C(() => e.global.current.value.colors.primary), a = C(() => e.global.current.value.colors.secondary), o = C(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), l = C(() => e.current.value.dark ? "#272727" : "#eeeeee"), r = C(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), c = C(() => e.current.value.dark ? "#303030" : "#f6f6f6"), n = C(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
10
10
  return {
@@ -2,7 +2,7 @@ import { getCurrentInstance as M, hasInjectionContext as x, inject as b, watch a
2
2
  function U(e) {
3
3
  return E() ? (I(e), !0) : !1;
4
4
  }
5
- const y = /* @__PURE__ */ new WeakMap(), A = (...e) => {
5
+ const y = /* @__PURE__ */ new WeakMap(), A = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
6
6
  var n;
7
7
  const t = e[0], o = (n = M()) == null ? void 0 : n.proxy;
8
8
  if (o == null && !x())
@@ -68,23 +68,26 @@ function T(...e) {
68
68
  };
69
69
  return U(t), u;
70
70
  }
71
+ // @__NO_SIDE_EFFECTS__
71
72
  function G() {
72
73
  const e = g(!1), n = M();
73
74
  return n && R(() => {
74
75
  e.value = !0;
75
76
  }, n), e;
76
77
  }
78
+ // @__NO_SIDE_EFFECTS__
77
79
  function Q(e) {
78
- const n = G();
80
+ const n = /* @__PURE__ */ G();
79
81
  return S(() => (n.value, !!e()));
80
82
  }
81
83
  const V = Symbol("vueuse-ssr-width");
84
+ // @__NO_SIDE_EFFECTS__
82
85
  function $() {
83
- const e = x() ? A(V, null) : null;
86
+ const e = x() ? /* @__PURE__ */ A(V, null) : null;
84
87
  return typeof e == "number" ? e : void 0;
85
88
  }
86
89
  function H(e, n = {}) {
87
- const { window: t = W, ssrWidth: o = $() } = n, r = Q(() => t && "matchMedia" in t && typeof t.matchMedia == "function"), a = g(typeof o == "number"), u = g(), i = g(!1), c = (s) => {
90
+ const { window: t = W, ssrWidth: o = /* @__PURE__ */ $() } = n, r = /* @__PURE__ */ Q(() => t && "matchMedia" in t && typeof t.matchMedia == "function"), a = g(typeof o == "number"), u = g(), i = g(!1), c = (s) => {
88
91
  i.value = s.matches;
89
92
  };
90
93
  return O(() => {
@@ -101,6 +104,7 @@ function H(e, n = {}) {
101
104
  r.value && (u.value = t.matchMedia(d(e)), i.value = u.value.matches);
102
105
  }), T(u, "change", c, { passive: !0 }), S(() => i.value);
103
106
  }
107
+ // @__NO_SIDE_EFFECTS__
104
108
  function X(e) {
105
109
  return H("(prefers-color-scheme: dark)", e);
106
110
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.8.25",
4
+ "version": "0.8.26",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -22,23 +22,23 @@
22
22
  "*": "prettier --write ."
23
23
  },
24
24
  "dependencies": {
25
- "@vueuse/core": "^13.5.0",
26
- "axios": "^1.10.0",
25
+ "@vueuse/core": "^13.6.0",
26
+ "axios": "^1.11.0",
27
27
  "js-cookie": "^3.0.5",
28
28
  "mitt": "^3.0.1",
29
- "vue": "^3.5.17",
30
- "vue-i18n": "^11.1.10",
29
+ "vue": "^3.5.18",
30
+ "vue-i18n": "^11.1.11",
31
31
  "vue-router": "^4.5.1",
32
- "vuetify": "^3.9.1"
32
+ "vuetify": "^3.9.3"
33
33
  },
34
34
  "devDependencies": {
35
- "@eslint/js": "^9.31.0",
35
+ "@eslint/js": "^9.32.0",
36
36
  "@types/js-cookie": "^3.0.6",
37
- "@types/node": "^24.0.14",
38
- "@vitejs/plugin-vue": "^6.0.0",
39
- "eslint": "^9.31.0",
40
- "eslint-config-prettier": "^10.1.5",
41
- "eslint-plugin-prettier": "^5.5.1",
37
+ "@types/node": "^24.1.0",
38
+ "@vitejs/plugin-vue": "^6.0.1",
39
+ "eslint": "^9.32.0",
40
+ "eslint-config-prettier": "^10.1.8",
41
+ "eslint-plugin-prettier": "^5.5.3",
42
42
  "eslint-plugin-vue": "^10.3.0",
43
43
  "globals": "^16.3.0",
44
44
  "husky": "^9.1.7",
@@ -46,11 +46,11 @@
46
46
  "prettier": "3.6.2",
47
47
  "sass": "^1.89.2",
48
48
  "typescript": "^5.8.3",
49
- "typescript-eslint": "^8.37.0",
50
- "vite": "^7.0.5",
49
+ "typescript-eslint": "^8.38.0",
50
+ "vite": "^7.0.6",
51
51
  "vite-plugin-css-injected-by-js": "^3.5.2",
52
- "vite-plugin-vuetify": "^2.1.1",
52
+ "vite-plugin-vuetify": "^2.1.2",
53
53
  "vue-eslint-parser": "^10.2.0",
54
- "vue-tsc": "^3.0.2"
54
+ "vue-tsc": "^3.0.4"
55
55
  }
56
56
  }