@kengic/vue 0.28.1-beta.2 → 0.28.1-beta.4
Sign up to get free protection for your applications and to get access to all the features.
package/dist/kengic-vue.js
CHANGED
@@ -59010,7 +59010,7 @@ Object.defineProperty(zh_CN$5, "__esModule", {
|
|
59010
59010
|
});
|
59011
59011
|
zh_CN$5.default = void 0;
|
59012
59012
|
var _zh_CN$2 = _interopRequireDefault$2(zh_CN$4), _zh_CN2$1 = _interopRequireDefault$2(zh_CN$3);
|
59013
|
-
const locale
|
59013
|
+
const locale = {
|
59014
59014
|
lang: Object.assign({
|
59015
59015
|
placeholder: "\u8BF7\u9009\u62E9\u65E5\u671F",
|
59016
59016
|
yearPlaceholder: "\u8BF7\u9009\u62E9\u5E74\u4EFD",
|
@@ -59025,8 +59025,8 @@ const locale$x = {
|
|
59025
59025
|
}, _zh_CN$2.default),
|
59026
59026
|
timePickerLocale: Object.assign({}, _zh_CN2$1.default)
|
59027
59027
|
};
|
59028
|
-
locale
|
59029
|
-
zh_CN$5.default = locale
|
59028
|
+
locale.lang.ok = "\u786E\u5B9A";
|
59029
|
+
zh_CN$5.default = locale;
|
59030
59030
|
var _interopRequireDefault$1 = interopRequireDefaultExports.default;
|
59031
59031
|
Object.defineProperty(zh_CN$6, "__esModule", {
|
59032
59032
|
value: !0
|
@@ -70091,7 +70091,7 @@ function fi(e) {
|
|
70091
70091
|
})
|
70092
70092
|
);
|
70093
70093
|
}
|
70094
|
-
const version = "0.28.1-beta.
|
70094
|
+
const version = "0.28.1-beta.4", en$1 = {
|
70095
70095
|
kg: {
|
70096
70096
|
KgAppSelect: {
|
70097
70097
|
businessManager: "Business Manager",
|
@@ -75802,6 +75802,60 @@ function useLocale() {
|
|
75802
75802
|
};
|
75803
75803
|
}
|
75804
75804
|
const useKgStore = defineStore("Kg", {
|
75805
|
+
state: () => ({
|
75806
|
+
I18N: {},
|
75807
|
+
descriptionMap: /* @__PURE__ */ new Map(),
|
75808
|
+
i18n: null,
|
75809
|
+
isDescriptionsRequestingMap: /* @__PURE__ */ new Map(),
|
75810
|
+
locale: null,
|
75811
|
+
option: {},
|
75812
|
+
pFunction: null,
|
75813
|
+
router: null,
|
75814
|
+
tFunction: null,
|
75815
|
+
usePermissionStore: null,
|
75816
|
+
useUserStore: null
|
75817
|
+
}),
|
75818
|
+
getters: {
|
75819
|
+
getDescription() {
|
75820
|
+
return (e) => {
|
75821
|
+
var te, ne;
|
75822
|
+
const { codeName: G, codeValue: U } = e != null ? e : {};
|
75823
|
+
return !G || !U ? null : (ne = (te = this.descriptionMap.get(G)) == null ? void 0 : te.get(U)) != null ? ne : null;
|
75824
|
+
};
|
75825
|
+
},
|
75826
|
+
getDescriptions() {
|
75827
|
+
return (e) => {
|
75828
|
+
var U, te;
|
75829
|
+
const { codeName: G } = e != null ? e : {};
|
75830
|
+
return G ? [...(te = (U = this.descriptionMap.get(G)) == null ? void 0 : U.values()) != null ? te : []] : [];
|
75831
|
+
};
|
75832
|
+
},
|
75833
|
+
getI18N() {
|
75834
|
+
var e;
|
75835
|
+
return (e = this.I18N) != null ? e : {};
|
75836
|
+
},
|
75837
|
+
getI18n() {
|
75838
|
+
var e;
|
75839
|
+
return (e = this.i18n) != null ? e : {};
|
75840
|
+
},
|
75841
|
+
getOption() {
|
75842
|
+
var e;
|
75843
|
+
return (e = this.option) != null ? e : {};
|
75844
|
+
},
|
75845
|
+
getPublicPath() {
|
75846
|
+
var e;
|
75847
|
+
return ((e = this.option) == null ? void 0 : e.publicPath) || "/kengic-boot";
|
75848
|
+
},
|
75849
|
+
getRouter() {
|
75850
|
+
return this.router;
|
75851
|
+
},
|
75852
|
+
getUsePermissionStore() {
|
75853
|
+
return this.usePermissionStore;
|
75854
|
+
},
|
75855
|
+
getUseUserStore() {
|
75856
|
+
return this.useUserStore;
|
75857
|
+
}
|
75858
|
+
},
|
75805
75859
|
actions: {
|
75806
75860
|
p(e) {
|
75807
75861
|
return this.pFunction ? this.pFunction(e) : (Ne("\u68C0\u67E5\u6743\u9650\u7684\u65B9\u6CD5\u4E3A\u7A7A.", { permissionCode: e }), !0);
|
@@ -75879,61 +75933,7 @@ const useKgStore = defineStore("Kg", {
|
|
75879
75933
|
let U = e != null ? e : "";
|
75880
75934
|
return (U.startsWith("t('") && U.endsWith("')") || U.startsWith('t("') && U.endsWith('")')) && (U = (ne = (te = U.match(/^t\(['|"](.*)?['|"]\)$/)) == null ? void 0 : te[1]) != null ? ne : U), this.tFunction(U, ...G);
|
75881
75935
|
}
|
75882
|
-
}
|
75883
|
-
getters: {
|
75884
|
-
getDescription() {
|
75885
|
-
return (e) => {
|
75886
|
-
var te, ne;
|
75887
|
-
const { codeName: G, codeValue: U } = e != null ? e : {};
|
75888
|
-
return !G || !U ? null : (ne = (te = this.descriptionMap.get(G)) == null ? void 0 : te.get(U)) != null ? ne : null;
|
75889
|
-
};
|
75890
|
-
},
|
75891
|
-
getDescriptions() {
|
75892
|
-
return (e) => {
|
75893
|
-
var U, te;
|
75894
|
-
const { codeName: G } = e != null ? e : {};
|
75895
|
-
return G ? [...(te = (U = this.descriptionMap.get(G)) == null ? void 0 : U.values()) != null ? te : []] : [];
|
75896
|
-
};
|
75897
|
-
},
|
75898
|
-
getI18N() {
|
75899
|
-
var e;
|
75900
|
-
return (e = this.I18N) != null ? e : {};
|
75901
|
-
},
|
75902
|
-
getI18n() {
|
75903
|
-
var e;
|
75904
|
-
return (e = this.i18n) != null ? e : {};
|
75905
|
-
},
|
75906
|
-
getOption() {
|
75907
|
-
var e;
|
75908
|
-
return (e = this.option) != null ? e : {};
|
75909
|
-
},
|
75910
|
-
getPublicPath() {
|
75911
|
-
var e;
|
75912
|
-
return ((e = this.option) == null ? void 0 : e.publicPath) || "/kengic-boot";
|
75913
|
-
},
|
75914
|
-
getRouter() {
|
75915
|
-
return this.router;
|
75916
|
-
},
|
75917
|
-
getUsePermissionStore() {
|
75918
|
-
return this.usePermissionStore;
|
75919
|
-
},
|
75920
|
-
getUseUserStore() {
|
75921
|
-
return this.useUserStore;
|
75922
|
-
}
|
75923
|
-
},
|
75924
|
-
state: () => ({
|
75925
|
-
I18N: {},
|
75926
|
-
descriptionMap: /* @__PURE__ */ new Map(),
|
75927
|
-
i18n: null,
|
75928
|
-
isDescriptionsRequestingMap: /* @__PURE__ */ new Map(),
|
75929
|
-
locale: null,
|
75930
|
-
option: {},
|
75931
|
-
pFunction: null,
|
75932
|
-
router: null,
|
75933
|
-
tFunction: null,
|
75934
|
-
usePermissionStore: null,
|
75935
|
-
useUserStore: null
|
75936
|
-
})
|
75936
|
+
}
|
75937
75937
|
});
|
75938
75938
|
function useKg() {
|
75939
75939
|
const e = useKgStore(pinia);
|
@@ -86770,7 +86770,21 @@ const getProps$K = () => ({
|
|
86770
86770
|
}, null)
|
86771
86771
|
});
|
86772
86772
|
}
|
86773
|
-
}), KgLayoutHeader = "", en = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAYCAIAAAAd2sgZAAADeklEQVR42r2WW0wTQRSGd2bbUmhpC9VGggVqtaXcBFypIouIUi+1EgoJxAfUaKImRjQmajSRxAfjm5cXE33wwRgSiyYK0QYC0ULEC9WKCAqCgNpAkUtbur3vOgvRZ11jz8Pu2Z1Jvjnn/HNmwNbyU0KhwOPxJSVJ3O4F5GMY5veHZDLR3JxXKhVRVAgALF4oWD/RV0BNYf9gwFx1QatVtrW9rq3d0tLSo9OlAwD7+7+YTHqLpctoLHI4RiCE6mxV8tO20oRgiAacOBg/MRGQJccBAGYzefNmK+LZ7UM0zRRt0N1r6jx4yNjU1EkQGpqm29vfXL9xcpehkHNYYY8X7DGdz8hIsds/bt6c39MzkJamgBAbG5vS63VdXX1FRbqRUScEUK5ILl2dXFWW5Q9FuMGiCxTYbjgtl0siEZrHg+FwFCwmiWEwPh9HP3EchKM0DoAfwNxnj9fNjoYAzg0mSl8JykpP8AV4cXGO1fqaJHOHh50oaaiK3d19FRWEzfZOrU5F7Dfvx46sU1SopIEIzTGPaOE11Y3Z2SqL5enhw6a7dzsKCtRIDr29n/bu3XbrVmtd3ZYX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uvHiY+wiHEZuARKiegCjfoefPjPW018lqf6aeZcwMr29z3mMs4f/fcn4764/vnGzfmLi5Pmvo//mmWy/6vldW9wt52QB7Ann3g3PTPQczlj1ntrEwcstwfmJlev9U2/fHcQEnD+mjEjyfKIgzZnTLXn7iPf5E00Xx4vdP/x7+s/n3i1H5/3EOyT+77xkZS9yWFXxHjmXATI21uAIWLMBy8x9QmomBEWw90PD//xiAZQmQ/PuPkQxvgYoruhbEdK1ihnVNPTwtAwBS9splTAbExwAAAABJRU5ErkJggg==", fr_FR = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAYCAIAAAAd2sgZAAAAXklEQVR42mNkUJ7KgBcoyvDuXxogL82LR83fZy8+x2f/e/ocv1GMBCz784+Xj+35iURuLlY8qv59+/7Bzuf/p8+MLCyjlo1aNmrZqGWjlo1aNmrZqGWjluEDVGzKAQBHwSOQ0sIoYgAAAABJRU5ErkJggg==", km_KH = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAYCAIAAAAd2sgZAAACiElEQVR42u2VTWgTQRTH38xk2+ymuw3JoaRNog1q0g+CIF6KikcvFgTFi1JsQfAD9NSKHxepp4gFRVCxSO1BBEFE8OJBUOpFEBSS2kBt2samPTSkm2STZndnnNUemy9bcijuYdiFmfd7/33v/QeR8AQ06kH/YdsFMwE1gESAIV/ofpqI9SX4Z2V1wlxmAX1sOug0tLpIjHIQRZjUxcvYJJSAvQRoDQy+BzH+20GP7Q8CY93f4iYIyFLIGOCqEUzAFqyGtExdVmzZHLbOFH/cHYGSHrp+j4CdAjJkh5BVraJUzbgqjOfOAdOR4fYHL90LyQKQlXcPwaBt/ZdFoKt+b/LSqZ6RCAGRVWu0WpSVlvYF2KsxPPa849mTeLhPHB+lplkcvBGMfVkaPG9cPYtPXmmPJwCatgjjsvToo1sdR/vyc4v5r9G8x+Xs3MU1rM0mpOWM40C3Y7fv14epngujBASoKK46DCA/N3xROnO8mFFBsBGEZFHiPaFqGuNtoxu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5h5LL+ITXzDavoP7j479dMz9JFvh3hYOb9z8hM0BiiUyPQvn9fGBX2POPQ/YMIvcssD1ykmHiIsokUy34xsij/VNoLSof/wNHHxAYi7zmL/7nLTmTuJtayvx8ZRMo+iRR//HmH5VmGCDAvS01/w67y500v/5suPmZ+6vkMmJeBZYfCvuffjrK/rBVg+AnOyez/xBs/cNn+fOAkCbSbmNxNbAJhEf/DpvH7y1YuJm5o5gVm9n/fGHm8vv26wfrnJQt1E8h/oOnAxM2IlLyBpT8wYwDtZmQmqogc/JXnqGUDahkAXKzGuRnds08AAAAASUVORK5CYII=", zh_CN = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAYCAIAAAAd2sgZAAABvElEQVR42u2UQWsTURDH5//e2zbZNSSBUq0VD0JPXvwCpSD0KvTgqfQT1IPtoRdvCh48KIgg3vwG9S7eeuxn8GLBktLYmGaT3eyb6XsbIyqFFF9OJfNgYect89uZ+c+gfWeFJpiUT0z6bLLhH5hYHxoaI4qwmPs5zXNxWIFBIPEvmFhC03rGmYYuYYUkb1ukuPfkFilABWU4hrGLC+lRZfuHCzd410RCMOJwaFjSkFMFLcLw2f0vr4Q5UszmXm7bqvbhmHOkT2+quhRfI6TKASkjs5bGL07Ot27z9wgmEKalutOu7LR/XwzeN/ovF8Ag5Yuplwu93hvu16SrfTHDysh8GsXPW9U9z+u/aabPFlVZwLKZnicDhSp7mYT2TIi7qH365gXA3tF9vKziX3JwEsWCNQ+y4UGMzOcaBBMmJHbu0Xn2se5e5zc7+ecb0tFODz6tjKKHafL6+OfGXT4yYT0bFcod99dzpTt3QCll5wYNXocFULfSUbAqTI0j+3NRyNg3pPhVC4Z7u0ukxA/fFObsUnPJikSrfdI8/JJMeYNczsvFz3EUSroCbIycxh6+ImxKNoPNYDPYNYNdAGq6zIEX6j3BAAAAAElFTkSuQmCC"
|
86773
|
+
}), KgLayoutHeader = "", en = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAYCAIAAA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GaT3eyb6XsbIyqFFF9OJfNgYect89uZ+c+gfWeFJpiUT0z6bLLhH5hYHxoaI4qwmPs5zXNxWIFBIPEvmFhC03rGmYYuYYUkb1ukuPfkFilABWU4hrGLC+lRZfuHCzd410RCMOJwaFjSkFMFLcLw2f0vr4Q5UszmXm7bqvbhmHOkT2+quhRfI6TKASkjs5bGL07Ot27z9wgmEKalutOu7LR/XwzeN/ovF8Ag5Yuplwu93hvu16SrfTHDysh8GsXPW9U9z+u/aabPFlVZwLKZnicDhSp7mYT2TIi7qH365gXA3tF9vKziX3JwEsWCNQ+y4UGMzOcaBBMmJHbu0Xn2se5e5zc7+ecb0tFODz6tjKKHafL6+OfGXT4yYT0bFcod99dzpTt3QCll5wYNXocFULfSUbAqTI0j+3NRyNg3pPhVC4Z7u0ukxA/fFObsUnPJikSrfdI8/JJMeYNczsvFz3EUSroCbIycxh6+ImxKNoPNYDPYNYNdAGq6zIEX6j3BAAAAAElFTkSuQmCC", getMenuList = () => {
|
86774
|
+
const e = (G) => {
|
86775
|
+
G.sort((U, te) => {
|
86776
|
+
var ne, oe, ie, ue;
|
86777
|
+
return Number((oe = (ne = U == null ? void 0 : U.meta) == null ? void 0 : ne.sortNo) != null ? oe : 0) - Number((ue = (ie = te == null ? void 0 : te.meta) == null ? void 0 : ie.sortNo) != null ? ue : 0);
|
86778
|
+
}), G.forEach((U) => {
|
86779
|
+
U.children && e(U.children);
|
86780
|
+
});
|
86781
|
+
};
|
86782
|
+
return new Promise((G) => {
|
86783
|
+
httpClient().request({ url: "/sys/permission/getUserPermissionByToken" }).then((U) => {
|
86784
|
+
Array.isArray(U) ? (e(U), G(U)) : (e(U.menu), G(U.menu));
|
86785
|
+
});
|
86786
|
+
});
|
86787
|
+
};
|
86774
86788
|
function createContext(e, G = Symbol(), U = {}) {
|
86775
86789
|
const { readonly: te = !0, createProvider: ne = !1, native: oe = !1 } = U, ie = reactive(e), ue = te ? readonly(ie) : ie;
|
86776
86790
|
return !ne && provide(G, oe ? e : ue), {
|
@@ -91851,19 +91865,19 @@ if (process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
91851
91865
|
e.__INTLIFY__ = !0, setDevToolsHook(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__);
|
91852
91866
|
}
|
91853
91867
|
process.env.NODE_ENV;
|
91854
|
-
const { fallback, availableLocales
|
91868
|
+
const { fallback, availableLocales } = localeSetting;
|
91855
91869
|
let i18n;
|
91856
91870
|
async function createI18nOptions() {
|
91857
|
-
var
|
91858
|
-
const G = (te = (
|
91859
|
-
return setHtmlPageLang(
|
91860
|
-
|
91871
|
+
var ne, oe;
|
91872
|
+
const G = useLocaleStore().getLocale, te = (oe = (ne = (await __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({}), `./lang/${G}.ts`)).default) == null ? void 0 : ne.message) != null ? oe : {};
|
91873
|
+
return setHtmlPageLang(G), setLoadLocalePool((ie) => {
|
91874
|
+
ie.push(G);
|
91861
91875
|
}), {
|
91862
91876
|
legacy: !1,
|
91863
|
-
locale,
|
91877
|
+
locale: G,
|
91864
91878
|
fallbackLocale: fallback,
|
91865
91879
|
messages: {
|
91866
|
-
[
|
91880
|
+
[G]: te
|
91867
91881
|
},
|
91868
91882
|
availableLocales,
|
91869
91883
|
sync: !0,
|
@@ -111085,6 +111099,7 @@ export {
|
|
111085
111099
|
getDynamicProps,
|
111086
111100
|
getFileAccessHttpUrl,
|
111087
111101
|
getKgModalWidth,
|
111102
|
+
getMenuList,
|
111088
111103
|
getPopupContainer,
|
111089
111104
|
getRandom,
|
111090
111105
|
getRawRoute,
|
@@ -1,12 +1,14 @@
|
|
1
1
|
import { AxiosInstance, type AxiosRequestConfig } from 'axios';
|
2
2
|
import dayjs from 'dayjs';
|
3
3
|
import { KG_DYNAMIC_QUERY_OPERATOR } from '../const';
|
4
|
+
import { UploadFileCallBack, UploadFileParams } from '../project/types/axios';
|
4
5
|
interface IHttpClient {
|
5
6
|
axiosInstance: AxiosInstance;
|
6
7
|
options: {
|
7
8
|
requestOptions?: IRequestOptions;
|
8
9
|
} & AxiosRequestConfig;
|
9
10
|
request<T = any>(config: IRequestConfig, options?: IRequestOptions): Promise<T>;
|
11
|
+
uploadFile<T = any>(config: AxiosRequestConfig, params: UploadFileParams, callback?: UploadFileCallBack): Promise<T>;
|
10
12
|
}
|
11
13
|
/**
|
12
14
|
* 设置 httpClient 实例.
|
package/package.json
CHANGED