x-essential-lib 0.8.28 → 0.8.30
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/components/confirmDlg/index.vue.d.ts +1 -1
- package/dist/components/loading/index.vue.d.ts +1 -1
- package/dist/components/message/index.vue.d.ts +1 -1
- package/dist/components/message/item.vue.d.ts +1 -1
- package/dist/components/numberDlg/index.vue.d.ts +1 -1
- package/dist/components/promptDlg/index.vue.d.ts +1 -1
- package/dist/components/waitDlg/index.vue.d.ts +1 -1
- package/dist/composables/microApp.d.ts +1 -1
- package/dist/composables/permission.d.ts +1 -1
- package/dist/index.js +8 -8
- package/package.json +10 -10
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{},
|
|
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>;
|
|
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,
|
|
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>;
|
|
6
6
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{},
|
|
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>;
|
|
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,
|
|
8
|
+
declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, 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<{},
|
|
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>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{},
|
|
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>;
|
|
2
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{},
|
|
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>;
|
|
2
2
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import { PermissionObjects } from '
|
|
2
|
+
import { PermissionObjects } from '@/utils';
|
|
3
3
|
export declare function useMicroApp(dark: Ref<boolean | undefined>, locale: Ref<string>, permissionObjects: Ref<PermissionObjects>, permissionChecksum: Ref<string>, lastAppPath: Ref<string>, views: Ref<string[]>): void;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var d=document.createElement("style");d.id="x-essential-lib",d.appendChild(document.createTextNode('.fade-leave-active[data-v-83c3cd1d]{transition:opacity .5s ease}.fade-leave-to[data-v-83c3cd1d]{opacity:0}.x-cont[data-v-83c3cd1d]{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-83c3cd1d]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-83c3cd1d]{transform-origin:20px 20px;animation:lds-spinner-83c3cd1d 1.2s linear infinite}.lds-spinner div[data-v-83c3cd1d]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-83c3cd1d]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-83c3cd1d]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-83c3cd1d]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-83c3cd1d]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-83c3cd1d]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-83c3cd1d]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-83c3cd1d]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-83c3cd1d]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-83c3cd1d]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-83c3cd1d]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-83c3cd1d]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-83c3cd1d]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-83c3cd1d{0%{opacity:1}to{opacity:0}}.x-item[data-v-f1f60167]{width:600px}@media (max-width: 600px){.x-item[data-v-f1f60167]{width:calc(100vw - 16px)}}.x-cont[data-v-b482df18]{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(d)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
2
|
import { computed as C, provide as U, inject as $, ref as p, watchEffect as le, onMounted as N, onBeforeUnmount as K, onBeforeMount as xe, defineComponent as I, watch as F, resolveComponent as v, createBlock as L, openBlock as q, withKeys as z, unref as E, withModifiers as A, isRef as W, withCtx as g, createVNode as b, createTextVNode as B, toDisplayString as S, Transition as ke, createElementBlock as P, createCommentVNode as ee, normalizeStyle as ue, createElementVNode as k, Fragment as De, renderList as Ve, useTemplateRef as ce } from "vue";
|
|
3
3
|
import { useI18n as G } from "vue-i18n";
|
|
4
4
|
import { useTheme as se, useDisplay as Ce } from "vuetify";
|
|
@@ -51,14 +51,14 @@ function Me(e, t) {
|
|
|
51
51
|
function Ae() {
|
|
52
52
|
T.remove("accessToken"), T.remove("refreshToken"), T.remove("userid"), T.remove("username"), T.remove("phone"), T.remove("activeOrg"), pe().replace({ path: "/passport/login" });
|
|
53
53
|
}
|
|
54
|
-
const Dt = function() {
|
|
54
|
+
const Dt = (function() {
|
|
55
55
|
return window.globalObjects || (window.globalObjects = {
|
|
56
56
|
router: null,
|
|
57
57
|
i18n: null
|
|
58
58
|
}, console.log("globalObjects created")), window.globalObjects;
|
|
59
|
-
}(), u = function() {
|
|
59
|
+
})(), u = (function() {
|
|
60
60
|
return window.eventBus || (window.eventBus = Re(), console.log("eventBus created")), window.eventBus;
|
|
61
|
-
}();
|
|
61
|
+
})();
|
|
62
62
|
async function Vt(e) {
|
|
63
63
|
return new Promise((t) => {
|
|
64
64
|
setTimeout(t, e);
|
|
@@ -571,7 +571,7 @@ const at = /* @__PURE__ */ I({
|
|
|
571
571
|
key: W(o) ? ++o.value : ++o,
|
|
572
572
|
class: "x-cont",
|
|
573
573
|
style: ue(a.value)
|
|
574
|
-
}, r[0] || (r[0] = [
|
|
574
|
+
}, [...r[0] || (r[0] = [
|
|
575
575
|
k("div", { class: "lds-spinner" }, [
|
|
576
576
|
k("div"),
|
|
577
577
|
k("div"),
|
|
@@ -586,7 +586,7 @@ const at = /* @__PURE__ */ I({
|
|
|
586
586
|
k("div"),
|
|
587
587
|
k("div")
|
|
588
588
|
], -1)
|
|
589
|
-
]), 4)) : ee("", !0)
|
|
589
|
+
])], 4)) : ee("", !0)
|
|
590
590
|
]),
|
|
591
591
|
_: 1
|
|
592
592
|
}));
|
|
@@ -596,7 +596,7 @@ const at = /* @__PURE__ */ I({
|
|
|
596
596
|
for (const [o, l] of t)
|
|
597
597
|
a[o] = l;
|
|
598
598
|
return a;
|
|
599
|
-
}, lt = /* @__PURE__ */ oe(ot, [["__scopeId", "data-v-
|
|
599
|
+
}, lt = /* @__PURE__ */ oe(ot, [["__scopeId", "data-v-83c3cd1d"]]), nt = /* @__PURE__ */ I({
|
|
600
600
|
__name: "item",
|
|
601
601
|
props: {
|
|
602
602
|
id: {},
|
|
@@ -693,7 +693,7 @@ const at = /* @__PURE__ */ I({
|
|
|
693
693
|
}, null, 8, ["id", "text", "timeout", "type"]))), 128))
|
|
694
694
|
]));
|
|
695
695
|
}
|
|
696
|
-
}), ct = /* @__PURE__ */ oe(ut, [["__scopeId", "data-v-
|
|
696
|
+
}), ct = /* @__PURE__ */ oe(ut, [["__scopeId", "data-v-b482df18"]]), st = /* @__PURE__ */ I({
|
|
697
697
|
__name: "index",
|
|
698
698
|
setup(e) {
|
|
699
699
|
const { t } = G(), a = p(""), o = p(0), l = p(), r = p(-1 / 0), c = p(1 / 0), n = p(1);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-essential-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.30",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -22,21 +22,21 @@
|
|
|
22
22
|
"*": "prettier --write ."
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@vueuse/core": "^13.
|
|
25
|
+
"@vueuse/core": "^13.7.0",
|
|
26
26
|
"axios": "^1.11.0",
|
|
27
27
|
"js-cookie": "^3.0.5",
|
|
28
28
|
"mitt": "^3.0.1",
|
|
29
|
-
"vue": "^3.5.
|
|
29
|
+
"vue": "^3.5.19",
|
|
30
30
|
"vue-i18n": "^11.1.11",
|
|
31
31
|
"vue-router": "^4.5.1",
|
|
32
|
-
"vuetify": "^3.9.
|
|
32
|
+
"vuetify": "^3.9.5"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@eslint/js": "^9.
|
|
35
|
+
"@eslint/js": "^9.34.0",
|
|
36
36
|
"@types/js-cookie": "^3.0.6",
|
|
37
|
-
"@types/node": "^24.
|
|
37
|
+
"@types/node": "^24.3.0",
|
|
38
38
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
39
|
-
"eslint": "^9.
|
|
39
|
+
"eslint": "^9.34.0",
|
|
40
40
|
"eslint-config-prettier": "^10.1.8",
|
|
41
41
|
"eslint-plugin-prettier": "^5.5.4",
|
|
42
42
|
"eslint-plugin-vue": "^10.4.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"prettier": "3.6.2",
|
|
47
47
|
"sass": "^1.90.0",
|
|
48
48
|
"typescript": "^5.9.2",
|
|
49
|
-
"typescript-eslint": "^8.
|
|
50
|
-
"vite": "^7.1.
|
|
49
|
+
"typescript-eslint": "^8.40.0",
|
|
50
|
+
"vite": "^7.1.3",
|
|
51
51
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
52
52
|
"vite-plugin-vuetify": "^2.1.2",
|
|
53
53
|
"vue-eslint-parser": "^10.2.0",
|
|
54
|
-
"vue-tsc": "^3.0.
|
|
54
|
+
"vue-tsc": "^3.0.6"
|
|
55
55
|
}
|
|
56
56
|
}
|