vue-layout-gitcode 1.12.60-multiple-account → 1.12.66

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,5 +1,5 @@
1
1
  import { defineComponent, onMounted, nextTick, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
2
- import { z as slidCaptchaManager, c as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-Cv1-5J76.js";
2
+ import { z as slidCaptchaManager, c as useLayoutConfig, A as isZh, _ as _export_sfc } from "./index-9brWW1pC.js";
3
3
  import { FixedOverlay } from "vue-devui-lal/overlay";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const TARGET_TEXT = "Click in order:";
@@ -8,7 +8,7 @@ import { Message } from "vue-devui-lal/message";
8
8
  import "vue-devui-lal/message/style.css";
9
9
  import { FixedOverlay } from "vue-devui-lal/overlay";
10
10
  import "vue-devui-lal/overlay/style.css";
11
- import { a as i18n, j as usePageResize, A as isZh, _ as _export_sfc } from "./index-Cv1-5J76.js";
11
+ import { a as i18n, j as usePageResize, A as isZh, _ as _export_sfc } from "./index-9brWW1pC.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {
package/index.d.ts CHANGED
@@ -17,13 +17,23 @@ import { HeaderSkeletonProps } from './components/Header/HeaderSkeleton.vue';
17
17
  import { default as HomeHeaderActions } from './components/Header/HomeHeaderActions.vue';
18
18
  import { HomeHeaderWorkspaceNavigate } from './utils/home-header-actions';
19
19
  import { default as Login } from './components//Login/Login.vue';
20
+ import { openShortcutCommands } from './utils/hooks/useGlobalShortcuts';
21
+ import { openShortcutHelp } from './utils/hooks/useGlobalShortcuts';
22
+ import { resetShortcutSequence } from './utils/hooks/useGlobalShortcuts';
20
23
  import { SceneValue } from './constant/index';
21
24
  import { default as ScrollActiveContainer } from './components/AsideV2/ScrollActiveContainer.vue';
22
25
  import { setLayoutConfig } from './config';
26
+ import { setShortcutConfig } from './config/shortcuts';
23
27
  import { setTheme } from './themes/index';
28
+ import { ShortcutAction } from './types/shortcut';
29
+ import { ShortcutConfig } from './types/shortcut';
30
+ import { ShortcutGroup } from './types/shortcut';
31
+ import { default as ShortcutHelpButton } from './components/ShortcutHelpButton.vue';
32
+ import { default as ShortcutProvider } from './components/ShortcutProvider/index.vue';
24
33
  import { default as SiteAnnouncement } from './components/Header/components/SiteAnnouncement.vue';
25
34
  import { default as ToolsFloat } from './components/ToolsFloat/index.vue';
26
35
  import { useLogin } from './utils/hooks/useLogin';
36
+ import { useShortcutConfig } from './config/shortcuts';
27
37
 
28
38
  export { AsideFooterTools }
29
39
 
@@ -64,18 +74,38 @@ export { HomeHeaderWorkspaceNavigate }
64
74
 
65
75
  export { Login }
66
76
 
77
+ export { openShortcutCommands }
78
+
79
+ export { openShortcutHelp }
80
+
81
+ export { resetShortcutSequence }
82
+
67
83
  export { SceneValue }
68
84
 
69
85
  export { ScrollActiveContainer }
70
86
 
71
87
  export { setLayoutConfig }
72
88
 
89
+ export { setShortcutConfig }
90
+
73
91
  export { setTheme }
74
92
 
93
+ export { ShortcutAction }
94
+
95
+ export { ShortcutConfig }
96
+
97
+ export { ShortcutGroup }
98
+
99
+ export { ShortcutHelpButton }
100
+
101
+ export { ShortcutProvider }
102
+
75
103
  export { SiteAnnouncement }
76
104
 
77
105
  export { ToolsFloat }
78
106
 
79
107
  export { useLogin }
80
108
 
109
+ export { useShortcutConfig }
110
+
81
111
  export { }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P, Q, S, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, C, a6, a7, a8, a9 } from "./index-Cv1-5J76.js";
1
+ import { P, Q, S, U, V, W, X, Y, Z, $, a0, a1, a2, a3, a4, a5, a6, a7, C, a8, a9, aa, ab, ac, ad, ae, af, ag } from "./index-9brWW1pC.js";
2
2
  export {
3
3
  P as AsideFooterTools,
4
4
  Q as AtomCodeLauncher,
@@ -14,11 +14,18 @@ export {
14
14
  a1 as Login,
15
15
  a2 as SceneValue,
16
16
  a3 as ScrollActiveContainer,
17
- a4 as SiteAnnouncement,
18
- a5 as ToolsFloat,
17
+ a4 as ShortcutHelpButton,
18
+ a5 as ShortcutProvider,
19
+ a6 as SiteAnnouncement,
20
+ a7 as ToolsFloat,
19
21
  C as currentTheme,
20
- a6 as default,
21
- a7 as setLayoutConfig,
22
- a8 as setTheme,
23
- a9 as useLogin
22
+ a8 as default,
23
+ a9 as openShortcutCommands,
24
+ aa as openShortcutHelp,
25
+ ab as resetShortcutSequence,
26
+ ac as setLayoutConfig,
27
+ ad as setShortcutConfig,
28
+ ae as setTheme,
29
+ af as useLogin,
30
+ ag as useShortcutConfig
24
31
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-Cv1-5J76.js";
2
+ import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-9brWW1pC.js";
3
3
  import { Notification } from "vue-devui-lal/notification";
4
4
  import { Button } from "vue-devui-lal/button";
5
5
  import "vue-devui-lal/notification/style.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.12.60-multiple-account",
3
+ "version": "1.12.66",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, toDisplayString, unref, useModel, ref, watch, openBlock, createElementBlock, createVNode, normalizeClass, withDirectives, createElementVNode, vShow, mergeModels, inject, withModifiers, createBlock, Fragment, computed, normalizeStyle, createCommentVNode, createTextVNode, renderList, withCtx, reactive, onMounted, watchEffect } from "vue";
2
- import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, r as reqCatch, e as useRequestReport, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as useCookie, j as usePageResize, L as LANG_ZH, k as isGstarRepo, m as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, w as REPO_TYPE, x as extractRepoInfoWithURL, y as LANG_KEY } from "./index-Cv1-5J76.js";
3
- import { t as transWebUrl } from "./transWebUrl-BUJjsTFP.js";
2
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, r as reqCatch, e as useRequestReport, h as headRequest, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as useCookie, j as usePageResize, L as LANG_ZH, k as isGstarRepo, m as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, w as REPO_TYPE, x as extractRepoInfoWithURL, y as LANG_KEY } from "./index-9brWW1pC.js";
3
+ import { t as transWebUrl } from "./transWebUrl-CqQ0kqLS.js";
4
4
  import { useRouter } from "vue-router";
5
5
  import { Row, Col } from "vue-devui-lal/grid";
6
6
  import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";