@das-fed/web 6.4.0-hot.36 → 6.4.0-hot.38

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.
Files changed (64) hide show
  1. package/{index-pa8JpqiR.js → index-Do-hi0sT.js} +6392 -5785
  2. package/index-Do-hi0sT.js.gz +0 -0
  3. package/index-Ho3juDFP.js +10 -0
  4. package/index-ybkIe7Qx.js +87 -0
  5. package/index-ybkIe7Qx.js.gz +0 -0
  6. package/index.js +1 -1
  7. package/package.json +6 -6
  8. package/packages/i18n/index.js +17 -17
  9. package/packages/i18n/index.js.gz +0 -0
  10. package/packages/layout/index.js +321 -232
  11. package/packages/layout/index.js.gz +0 -0
  12. package/packages/main-app-framework/{index-PIgnnyL3.js → index-By_I7kxF.js} +4148 -3649
  13. package/packages/main-app-framework/index-By_I7kxF.js.gz +0 -0
  14. package/packages/main-app-framework/index-D6tSxSCm.js +10 -0
  15. package/packages/main-app-framework/index-uy_tfCFy.js +87 -0
  16. package/packages/main-app-framework/index-uy_tfCFy.js.gz +0 -0
  17. package/packages/main-app-framework/index.js +1 -1
  18. package/packages/main-app-framework/style.css +1 -1
  19. package/packages/main-app-framework/style.css.gz +0 -0
  20. package/packages/micro-frontend/index.js +111 -97
  21. package/packages/micro-frontend/index.js.gz +0 -0
  22. package/packages/style/style.css +1 -1
  23. package/packages/style/style.css.gz +0 -0
  24. package/style.css +1 -1
  25. package/style.css.gz +0 -0
  26. package/types/create-das-web-app/index.d.ts +1 -1
  27. package/types/i18n/index.d.ts +3 -3
  28. package/types/layout/store/index.d.ts +1 -1
  29. package/types/main-app-framework/business/alarm/use-alarm.d.ts +4 -4
  30. package/types/main-app-framework/business/message-notify/index.d.ts +1 -0
  31. package/types/main-app-framework/business/remote-control/apis.d.ts +2 -0
  32. package/types/main-app-framework/business/remote-control/utils.d.ts +7 -0
  33. package/types/main-app-framework/business/video-link/index.d.ts +3 -3
  34. package/types/main-app-framework/business/video-link/video-dialog/hooks/PlayerProvider.d.ts +3 -3
  35. package/types/main-app-framework/components/person-set-dialog/index.d.ts +1 -1
  36. package/types/main-app-framework/components/person-set-dialog/src/api.d.ts +2 -0
  37. package/types/main-app-framework/components/person-set-dialog/src/components/index.d.ts +1 -0
  38. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-builtIn-dialog.d.ts +6 -6
  39. package/types/main-app-framework/components/person-set-dialog/src/components/set-home/use-link-form/hooks/use-notBuiltIn-dialog.d.ts +10 -10
  40. package/types/main-app-framework/i18n/index.d.ts +20 -0
  41. package/types/main-app-framework/index.d.ts +2 -2
  42. package/types/main-app-framework/init-config/get-nav-config/index.d.ts +4 -3
  43. package/types/main-app-framework/init-config/get-system-config/api.d.ts +2 -0
  44. package/types/main-app-framework/init-config/get-system-config/index.d.ts +6 -4
  45. package/types/main-app-framework/init-config/get-tenant-config/api.d.ts +3 -1
  46. package/types/main-app-framework/init-config/get-tenant-config/index.d.ts +2 -0
  47. package/types/main-app-framework/init-layout/hooks/nav-slots/index.d.ts +1 -0
  48. package/types/main-app-framework/init-layout/hooks/nav-slots/use-ai-helper.d.ts +4 -0
  49. package/types/main-app-framework/init-layout/hooks/nav-slots/use-change-enterprises.d.ts +3 -3
  50. package/types/main-app-framework/init-layout/hooks/nav-slots/use-user-command.d.ts +2 -2
  51. package/types/main-app-framework/init-layout/hooks/use-initialization.d.ts +5 -5
  52. package/types/main-app-framework/init-layout/hooks/use-tabs.d.ts +3 -3
  53. package/types/main-app-framework/init-platform/index.d.ts +1 -1
  54. package/types/main-app-framework/utils/src/set-common-info.d.ts +2 -0
  55. package/types/micro-frontend/store.d.ts +5 -5
  56. package/types/theme/index.d.ts +1 -1
  57. package/index-BR2K2L20.js +0 -10
  58. package/index-CqHbFeJ4.js +0 -81
  59. package/index-CqHbFeJ4.js.gz +0 -0
  60. package/index-pa8JpqiR.js.gz +0 -0
  61. package/packages/main-app-framework/index-D-yLFNAt.js +0 -10
  62. package/packages/main-app-framework/index-PIgnnyL3.js.gz +0 -0
  63. package/packages/main-app-framework/index-gbopgvrS.js +0 -81
  64. package/packages/main-app-framework/index-gbopgvrS.js.gz +0 -0
@@ -4,16 +4,16 @@ export declare const useNotBuiltInDialog: (options: {
4
4
  orgInfo: any;
5
5
  information: Ref<any>;
6
6
  }) => {
7
- loading: Ref<any>;
8
- urlDialog: Ref<any>;
9
- urlType: Ref<any>;
10
- urlTypeOptions: Ref<any>;
11
- tableData: Ref<any>;
12
- pageSize: Ref<any>;
13
- pageIndex: Ref<any>;
14
- totalCount: Ref<any>;
15
- tableFilter: Ref<any>;
16
- urlId: Ref<any>;
7
+ loading: Ref<any, any>;
8
+ urlDialog: Ref<any, any>;
9
+ urlType: Ref<any, any>;
10
+ urlTypeOptions: Ref<any, any>;
11
+ tableData: Ref<any, any>;
12
+ pageSize: Ref<any, any>;
13
+ pageIndex: Ref<any, any>;
14
+ totalCount: Ref<any, any>;
15
+ tableFilter: Ref<any, any>;
16
+ urlId: Ref<any, any>;
17
17
  openUrlDialog: () => void;
18
18
  tableChange: (val: string | number, row: any, index: number) => void;
19
19
  confirmUrl: () => void;
@@ -389,6 +389,21 @@ declare const _default: {
389
389
  en: string;
390
390
  _appCode: string;
391
391
  };
392
+ 语言设置: {
393
+ 'zh-CN': string;
394
+ en: string;
395
+ _appCode: string;
396
+ };
397
+ 语言类型: {
398
+ 'zh-CN': string;
399
+ en: string;
400
+ _appCode: string;
401
+ };
402
+ 中文简体: {
403
+ 'zh-CN': string;
404
+ en: string;
405
+ _appCode: string;
406
+ };
392
407
  'home-set': {
393
408
  'zh-CN': string;
394
409
  en: string;
@@ -514,5 +529,10 @@ declare const _default: {
514
529
  en: string;
515
530
  _appCode: string;
516
531
  };
532
+ 'iot-banner-tip': {
533
+ 'zh-CN': string;
534
+ en: string;
535
+ _appCode: string;
536
+ };
517
537
  };
518
538
  export default _default;
@@ -2,8 +2,8 @@ declare const mainAppFramework: {
2
2
  routes: {};
3
3
  Layout: any;
4
4
  data: {
5
- homeInfo: import('vue').Ref<any>;
6
- personalConfig: import('vue').Ref<any>;
5
+ homeInfo: import('vue').Ref<any, any>;
6
+ personalConfig: import('vue').Ref<any, any>;
7
7
  };
8
8
  hooks: {
9
9
  useEntryApp: () => {
@@ -1,5 +1,6 @@
1
- declare const appLoading: import('vue').Ref<any>;
2
- declare const appcategorys: import('vue').Ref<any>;
1
+ declare const appLoading: import('vue').Ref<any, any>;
2
+ declare const appcategorys: import('vue').Ref<any, any>;
3
+ declare const apps: import('vue').ComputedRef<any>;
3
4
  declare const getNavConfig: () => unknown;
4
5
  declare const getFixedAppsConfig: () => unknown;
5
- export { getNavConfig, appcategorys, appLoading, getFixedAppsConfig };
6
+ export { getNavConfig, appcategorys, apps, appLoading, getFixedAppsConfig };
@@ -6,5 +6,7 @@ export declare const getPlatformWithDefault: (payload?: any, payloadConfig?: imp
6
6
  export declare const getSystemWithDefault: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
7
7
  /** 获取首页配置 */
8
8
  export declare const getHomeInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
9
+ /** 获取个人语言设置详情 */
10
+ export declare const getLangInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
9
11
  /** 获取用户菜单个性化设置(菜单风格,1表示横向抽屉式(默认),2表示纵向下拉式) */
10
12
  export declare const getPersonalMenuMode: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -2,10 +2,12 @@
2
2
  declare const getLoginConfig: () => unknown;
3
3
  /** 获取平台配置 */
4
4
  declare const getPlatformConfig: () => unknown;
5
- declare const homeInfo: import('vue').Ref<any>;
5
+ declare const homeInfo: import('vue').Ref<any, any>;
6
6
  /** 获取首页配置 */
7
7
  declare const getHomeConfig: () => unknown;
8
- declare const personalMenuConfig: import('vue').Ref<any>;
9
- /** 获取菜单个性化配置-侧边栏风格、皮肤风格 */
8
+ declare const personalMenuConfig: import('vue').Ref<any, any>;
9
+ /** 获取 侧边栏风格、皮肤风格 配置 */
10
10
  declare const getPersonalMenuConfig: () => unknown;
11
- export { getLoginConfig, getPlatformConfig, homeInfo, getHomeConfig, getPersonalMenuConfig, personalMenuConfig };
11
+ /** 获取个人语言设置详情 */
12
+ declare const getLangConfig: () => unknown;
13
+ export { getLoginConfig, getPlatformConfig, homeInfo, getHomeConfig, getPersonalMenuConfig, personalMenuConfig, getLangConfig, };
@@ -1,6 +1,8 @@
1
1
  /** 用token换取用户信息 */
2
2
  export declare const getPersonInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
- /** 获取租户信息 */
3
+ /** 获取用户详情--包含租户信息 */
4
4
  export declare const getTenantInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
5
+ /** 获取当前登录用户租户信息 */
6
+ export declare const getCurrentTenantInfo: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
5
7
  /** 获取租户列表 */
6
8
  export declare const getPageTenant: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
@@ -2,5 +2,7 @@
2
2
  export declare const getPersonalConfig: () => unknown;
3
3
  /** 获取租户详情 */
4
4
  export declare const getTenantConfig: () => unknown;
5
+ /** 获取当前登录用户租户信息 == 用来获取语言类型判断是否需要显示语言切换栏目,为2则需要显示语言切换栏目 */
6
+ export declare const getCurrentTenatConfig: () => unknown;
5
7
  /** 获取租户列表 */
6
8
  export declare const getTenantList: () => unknown;
@@ -2,3 +2,4 @@ export * from './use-user-command';
2
2
  export * from './use-project';
3
3
  export * from './use-search';
4
4
  export * from './use-change-enterprises';
5
+ export * from './use-ai-helper';
@@ -0,0 +1,4 @@
1
+ export declare const useAIHelper: () => {
2
+ $aiPanel: import('vue').Ref<any, any>;
3
+ toApp: (url: any) => void;
4
+ };
@@ -1,8 +1,8 @@
1
1
  /** 系统配置===姚凯提供的 */
2
2
  export declare const getWithdefault: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
3
3
  export declare const useChangeEnterprise: () => {
4
- changeEnterprisesVisible: import('vue').Ref<any>;
5
- userId: import('vue').Ref<any>;
6
- tenantId: import('vue').Ref<any>;
4
+ changeEnterprisesVisible: import('vue').Ref<any, any>;
5
+ userId: import('vue').Ref<any, any>;
6
+ tenantId: import('vue').Ref<any, any>;
7
7
  changeEnterprise: (tenantId: string) => any;
8
8
  };
@@ -1,4 +1,4 @@
1
1
  export declare const useUserCommand: () => {
2
- $changePwd: import('vue').Ref<any>;
3
- $personSetDialog: import('vue').Ref<any>;
2
+ $changePwd: any;
3
+ $personSetDialog: any;
4
4
  };
@@ -1,9 +1,9 @@
1
1
  declare const useLayoutInit: (platformInitNextTick: () => Promise<any>) => {
2
- loading: import('vue').Ref<any>;
3
- pageKey: import('vue').Ref<any>;
4
- innerPage: import('vue').Ref<any>;
5
- commandList: import('vue').Ref<any>;
6
- layoutInited: import('vue').Ref<any>;
2
+ loading: import('vue').Ref<any, any>;
3
+ pageKey: import('vue').Ref<any, any>;
4
+ innerPage: import('vue').Ref<any, any>;
5
+ commandList: import('vue').Ref<any, any>;
6
+ layoutInited: import('vue').Ref<any, any>;
7
7
  initNextTick: () => Promise<void>;
8
8
  };
9
9
  export { useLayoutInit };
@@ -1,5 +1,5 @@
1
1
  export declare const useTabs: () => {
2
- fontColor: import('vue').Ref<any>;
3
- backgroudColor: import('vue').Ref<any>;
4
- borderColor: import('vue').Ref<any>;
2
+ fontColor: import('vue').Ref<any, any>;
3
+ backgroudColor: import('vue').Ref<any, any>;
4
+ borderColor: import('vue').Ref<any, any>;
5
5
  };
@@ -1,4 +1,4 @@
1
1
  export declare const usePlatformInit: () => {
2
- platformInited: import('vue').Ref<any>;
2
+ platformInited: import('vue').Ref<any, any>;
3
3
  initNextTick: () => Promise<void>;
4
4
  };
@@ -2,6 +2,8 @@
2
2
  export declare const setPersonalInfo: (data?: any) => void;
3
3
  /** 存储租户详情 */
4
4
  export declare const setTenantInfo: (data?: any) => void;
5
+ /** 存储有多少个语言类型 */
6
+ export declare const setLanguages: (val: number) => void;
5
7
  /** 清除租户信息 */
6
8
  export declare const clearTenantInfo: () => void;
7
9
  /** 存储首页信息 */
@@ -1,5 +1,5 @@
1
- export declare const microAppRouterPrefix: import('vue').Ref<any>;
2
- export declare const microApps: import('vue').Ref<any>;
3
- export declare const microAppVisible: import('vue').Ref<any>;
4
- export declare const excludeRoutes: import('vue').Ref<any>;
5
- export declare const routeKeepAliveVisible: import('vue').Ref<any>;
1
+ export declare const microAppRouterPrefix: import('vue').Ref<any, any>;
2
+ export declare const microApps: import('vue').Ref<any, any>;
3
+ export declare const microAppVisible: import('vue').Ref<any, any>;
4
+ export declare const excludeRoutes: import('vue').Ref<any, any>;
5
+ export declare const routeKeepAliveVisible: import('vue').Ref<any, any>;
@@ -1,4 +1,4 @@
1
- declare const currentTheme: import('vue').Ref<any>;
1
+ declare const currentTheme: import('vue').Ref<any, any>;
2
2
  declare const setThemeRule: (data: any, type?: "global" | "custom") => void;
3
3
  declare const initTheme: (opt?: any) => any;
4
4
  declare const setTheme: (value: string) => void;
package/index-BR2K2L20.js DELETED
@@ -1,10 +0,0 @@
1
- import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-pa8JpqiR.js";
3
- const o = {};
4
- function t(n, _) {
5
- return e(), r("div");
6
- }
7
- const a = /* @__PURE__ */ c(o, [["render", t]]);
8
- export {
9
- a as default
10
- };
package/index-CqHbFeJ4.js DELETED
@@ -1,81 +0,0 @@
1
- import { defineComponent as k, computed as p, withDirectives as v, openBlock as U, createBlock as C, unref as c, withCtx as A, createVNode as S, vShow as I } from "vue";
2
- import { layoutData as j } from "@das-fed/web/packages/layout/index";
3
- import { t as D } from "@das-fed/web/packages/i18n/index";
4
- import { DasAppContainer as $ } from "@das-fed/ui/packages/business-components/app-container/index";
5
- import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
6
- import { getTabInfo as T } from "@das-fed/utils/common-info";
7
- import { setShowLayout as b } from "@das-fed/utils/common-tools";
8
- import { createService as E } from "@das-fed/utils/create-api-service";
9
- import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-pa8JpqiR.js";
10
- const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/auth/user/auth_code"), z = /* @__PURE__ */ k({
11
- __name: "index",
12
- setup(F) {
13
- const { beforeEntryApp: d, entryApp: g } = L(), m = p(() => P.value.skinStyle), h = p(() => !!j.menu.items.length), w = p(() => {
14
- if (!u.value || !u.value.length) return [];
15
- const o = f(u.value);
16
- return Array.isArray(o) ? o.length ? (o.forEach((r) => r.apps = y(r.apps, 4)), o) : [] : [];
17
- }), y = (o, r) => {
18
- const t = [];
19
- for (let a = 0; a < o.length; a += r)
20
- t.push(o.slice(a, a + r));
21
- return t;
22
- }, _ = async (o) => {
23
- if (!o) return;
24
- if (!sessionStorage.getItem("projectInfo")) {
25
- window.confirm(D("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
26
- return;
27
- }
28
- const t = f(o);
29
- if (B.innerSet = !0, t.routeUrl) {
30
- if (o.code === "Ioc") {
31
- window.open(t.routeUrl, "_blank");
32
- return;
33
- }
34
- if (o.code === "wojiacloud") {
35
- const e = sessionStorage.getItem("kingdee_token") || "";
36
- if (e) {
37
- const [n, i] = await V().run({ accessToken: e });
38
- if (i) {
39
- const s = (i == null ? void 0 : i.auth_code) ?? "";
40
- t.routeUrl = t.routeUrl.includes("?") ? `${t.routeUrl}&code=${s}` : `${t.routeUrl}?code=${s}`;
41
- }
42
- }
43
- }
44
- }
45
- const a = (o == null ? void 0 : o.openType) ?? 1, l = (o == null ? void 0 : o.type) ?? 1;
46
- if (a === 1) {
47
- if (!await d(o)) return;
48
- const n = T().preTab[o.code], i = (n == null ? void 0 : n.code) ?? "", s = { ...(n == null ? void 0 : n.query) ?? {} };
49
- g({ microApp: t, menuCode: i, route: { query: s } });
50
- }
51
- if (a === 2 && t.routeUrl) {
52
- let e = "";
53
- if (l === 1)
54
- e = t != null && t.applicationPath ? location.origin + "/" + t.applicationPath + t.routeUrl : location.origin + t.routeUrl, e = b(e);
55
- else if (l === 2) {
56
- const n = await K(t.routeUrl, (t == null ? void 0 : t.param) ?? []);
57
- e = M(n);
58
- }
59
- window.open(e, "_blank");
60
- }
61
- };
62
- return (o, r) => v((U(), C(c(x), {
63
- full: "",
64
- spinning: c(q)
65
- }, {
66
- default: A(() => [
67
- S(c($), {
68
- theme: m.value,
69
- appCategorys: w.value,
70
- onOpenApp: _
71
- }, null, 8, ["theme", "appCategorys"])
72
- ]),
73
- _: 1
74
- }, 8, ["spinning"])), [
75
- [I, !h.value]
76
- ]);
77
- }
78
- });
79
- export {
80
- z as default
81
- };
Binary file
Binary file
@@ -1,10 +0,0 @@
1
- import { openBlock as e, createElementBlock as r } from "vue";
2
- import { _ as c } from "./index-PIgnnyL3.js";
3
- const o = {};
4
- function t(n, _) {
5
- return e(), r("div");
6
- }
7
- const a = /* @__PURE__ */ c(o, [["render", t]]);
8
- export {
9
- a as default
10
- };
@@ -1,81 +0,0 @@
1
- import { defineComponent as k, computed as p, withDirectives as v, openBlock as U, createBlock as C, unref as c, withCtx as A, createVNode as S, vShow as I } from "vue";
2
- import { layoutData as j } from "@das-fed/web/packages/layout/index";
3
- import { t as D } from "@das-fed/web/packages/i18n/index";
4
- import { DasAppContainer as $ } from "@das-fed/ui/packages/business-components/app-container/index";
5
- import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
6
- import { getTabInfo as T } from "@das-fed/utils/common-info";
7
- import { setShowLayout as b } from "@das-fed/utils/common-tools";
8
- import { createService as E } from "@das-fed/utils/create-api-service";
9
- import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-PIgnnyL3.js";
10
- const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/auth/user/auth_code"), z = /* @__PURE__ */ k({
11
- __name: "index",
12
- setup(F) {
13
- const { beforeEntryApp: d, entryApp: g } = L(), m = p(() => P.value.skinStyle), h = p(() => !!j.menu.items.length), w = p(() => {
14
- if (!u.value || !u.value.length) return [];
15
- const o = f(u.value);
16
- return Array.isArray(o) ? o.length ? (o.forEach((r) => r.apps = y(r.apps, 4)), o) : [] : [];
17
- }), y = (o, r) => {
18
- const t = [];
19
- for (let a = 0; a < o.length; a += r)
20
- t.push(o.slice(a, a + r));
21
- return t;
22
- }, _ = async (o) => {
23
- if (!o) return;
24
- if (!sessionStorage.getItem("projectInfo")) {
25
- window.confirm(D("系统资源更新,请刷新系统")) && (window.__isAutoCloseApp = !1, window.location.reload());
26
- return;
27
- }
28
- const t = f(o);
29
- if (B.innerSet = !0, t.routeUrl) {
30
- if (o.code === "Ioc") {
31
- window.open(t.routeUrl, "_blank");
32
- return;
33
- }
34
- if (o.code === "wojiacloud") {
35
- const e = sessionStorage.getItem("kingdee_token") || "";
36
- if (e) {
37
- const [n, i] = await V().run({ accessToken: e });
38
- if (i) {
39
- const s = (i == null ? void 0 : i.auth_code) ?? "";
40
- t.routeUrl = t.routeUrl.includes("?") ? `${t.routeUrl}&code=${s}` : `${t.routeUrl}?code=${s}`;
41
- }
42
- }
43
- }
44
- }
45
- const a = (o == null ? void 0 : o.openType) ?? 1, l = (o == null ? void 0 : o.type) ?? 1;
46
- if (a === 1) {
47
- if (!await d(o)) return;
48
- const n = T().preTab[o.code], i = (n == null ? void 0 : n.code) ?? "", s = { ...(n == null ? void 0 : n.query) ?? {} };
49
- g({ microApp: t, menuCode: i, route: { query: s } });
50
- }
51
- if (a === 2 && t.routeUrl) {
52
- let e = "";
53
- if (l === 1)
54
- e = t != null && t.applicationPath ? location.origin + "/" + t.applicationPath + t.routeUrl : location.origin + t.routeUrl, e = b(e);
55
- else if (l === 2) {
56
- const n = await K(t.routeUrl, (t == null ? void 0 : t.param) ?? []);
57
- e = M(n);
58
- }
59
- window.open(e, "_blank");
60
- }
61
- };
62
- return (o, r) => v((U(), C(c(x), {
63
- full: "",
64
- spinning: c(q)
65
- }, {
66
- default: A(() => [
67
- S(c($), {
68
- theme: m.value,
69
- appCategorys: w.value,
70
- onOpenApp: _
71
- }, null, 8, ["theme", "appCategorys"])
72
- ]),
73
- _: 1
74
- }, 8, ["spinning"])), [
75
- [I, !h.value]
76
- ]);
77
- }
78
- });
79
- export {
80
- z as default
81
- };