vue-layout-gitcode 1.12.15-beta.26 → 1.12.15-beta.28
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/{GloabarSearch-wqsnpP2m.js → GloabarSearch-CpWvL8eY.js} +3 -3
- package/{MenuItem-j7W1oMju.js → MenuItem-D1-td8QS.js} +1 -1
- package/{ProjectMenuList-DHbbjGxo.js → ProjectMenuList-BIcw89Fz.js} +2 -2
- package/{ProjectMenuListV2-BazzlsC_.js → ProjectMenuListV2-BEjLzYNK.js} +2 -2
- package/{ProjectSearch-CSulM69L.js → ProjectSearch-BoqHn9Wz.js} +1 -1
- package/{SearchHistoryList-CBn618x7.js → SearchHistoryList-IGkwmPuz.js} +1 -1
- package/{SearchRecommed-r1nKqpZj.js → SearchRecommed-CpxEhodw.js} +2 -2
- package/{SearchScopeList-DACIOE9u.js → SearchScopeList-B9dD_SO8.js} +1 -1
- package/{UserSearch-DyVpJ0tp.js → UserSearch-C8kV-5N3.js} +1 -1
- package/{index-B_T2V97k.js → index-B7cWhpg7.js} +1202 -953
- package/{index-DSVBUinv.js → index-CzVoqAG1.js} +1 -1
- package/{index-ClxSV-6C.js → index-DPzSpc4s.js} +5 -8
- package/{index-C1SjxHTG.js → index-G4pKhP1O.js} +2 -3
- package/index.d.ts +50 -4
- package/index.js +11 -9
- package/{notice-CM_TjS9s.js → notice-D2YH729T.js} +3 -5
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-C-UERlNj.js → transWebUrl-DHayxxir.js} +1 -1
|
@@ -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, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-B7cWhpg7.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
|
|
2
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, j as useCookie, k as usePageResize, L as LANG_ZH, m as isGstarRepo, n as _sfc_main$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, w as LANG_KEY } from "./index-B7cWhpg7.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DHayxxir.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -534,8 +534,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
534
534
|
default: withCtx(() => [
|
|
535
535
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag" }, "New", -1))
|
|
536
536
|
]),
|
|
537
|
-
_: 1
|
|
538
|
-
__: [0]
|
|
537
|
+
_: 1
|
|
539
538
|
})) : createCommentVNode("", true);
|
|
540
539
|
};
|
|
541
540
|
}
|
|
@@ -751,8 +750,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
751
750
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
752
751
|
createTextVNode("G-Star ")
|
|
753
752
|
])),
|
|
754
|
-
_: 1
|
|
755
|
-
__: [0]
|
|
753
|
+
_: 1
|
|
756
754
|
}, 8, ["message"])
|
|
757
755
|
])) : createCommentVNode("", true),
|
|
758
756
|
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
@@ -765,8 +763,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
765
763
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
766
764
|
createTextVNode(" G-Star ")
|
|
767
765
|
])),
|
|
768
|
-
_: 1
|
|
769
|
-
__: [1]
|
|
766
|
+
_: 1
|
|
770
767
|
}, 8, ["message"])
|
|
771
768
|
])) : createCommentVNode("", true),
|
|
772
769
|
createVNode(NewTag, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-
|
|
2
|
+
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-B7cWhpg7.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:";
|
|
@@ -108,8 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
108
108
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
109
109
|
createElementVNode("div", { id: "captcha-box" }, null, -1)
|
|
110
110
|
])),
|
|
111
|
-
_: 1
|
|
112
|
-
__: [0]
|
|
111
|
+
_: 1
|
|
113
112
|
});
|
|
114
113
|
};
|
|
115
114
|
}
|
package/index.d.ts
CHANGED
|
@@ -92,11 +92,11 @@ openCreateDropdown: boolean;
|
|
|
92
92
|
headerRef: HTMLDivElement;
|
|
93
93
|
}, HTMLDivElement>;
|
|
94
94
|
|
|
95
|
-
declare const __VLS_component_4: DefineComponent<
|
|
95
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
96
96
|
resetPwdDirectlySuccess: (...args: any[]) => void;
|
|
97
97
|
followDevCommunity: (...args: any[]) => void;
|
|
98
98
|
followUser: (...args: any[]) => void;
|
|
99
|
-
}, string, PublicProps, Readonly<
|
|
99
|
+
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
100
100
|
onResetPwdDirectlySuccess?: ((...args: any[]) => any) | undefined;
|
|
101
101
|
onFollowDevCommunity?: ((...args: any[]) => any) | undefined;
|
|
102
102
|
onFollowUser?: ((...args: any[]) => any) | undefined;
|
|
@@ -151,6 +151,10 @@ declare type __VLS_Props_2 = {
|
|
|
151
151
|
detail_toolbar_url: string;
|
|
152
152
|
};
|
|
153
153
|
openCreateDropdown?: boolean;
|
|
154
|
+
/** Header 新建菜单项,默认使用七项公共菜单 */
|
|
155
|
+
createMenuItems?: HeaderCreateMenuItem[];
|
|
156
|
+
/** Header 新建菜单跳转适配器 */
|
|
157
|
+
createMenuNavigate?: HeaderCreateMenuNavigate;
|
|
154
158
|
};
|
|
155
159
|
|
|
156
160
|
declare type __VLS_Props_3 = {
|
|
@@ -159,6 +163,17 @@ declare type __VLS_Props_3 = {
|
|
|
159
163
|
};
|
|
160
164
|
|
|
161
165
|
declare type __VLS_Props_4 = {
|
|
166
|
+
/** 是否由外部控制下拉展开状态。 */
|
|
167
|
+
dropdownVisible?: boolean;
|
|
168
|
+
/** 是否展示组织入口。 */
|
|
169
|
+
isCreateOrg?: boolean;
|
|
170
|
+
/** 覆写默认七项菜单,适用于工作区等宿主上下文。 */
|
|
171
|
+
items?: HeaderCreateMenuItem[];
|
|
172
|
+
/** 覆写默认跳转行为,宿主可在这里接入自己的 router 或权限校验。 */
|
|
173
|
+
onNavigate?: HeaderCreateMenuNavigate;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
declare type __VLS_Props_5 = {
|
|
162
177
|
isLogin: boolean;
|
|
163
178
|
request: Function;
|
|
164
179
|
globalStore: Object;
|
|
@@ -175,7 +190,7 @@ declare type __VLS_Props_4 = {
|
|
|
175
190
|
loginChildComponents: any;
|
|
176
191
|
};
|
|
177
192
|
|
|
178
|
-
declare type
|
|
193
|
+
declare type __VLS_Props_6 = {
|
|
179
194
|
/** 展示主题设置项,默认 true */
|
|
180
195
|
showThemeSetting?: boolean;
|
|
181
196
|
/** 展示语言设置项,默认 true */
|
|
@@ -283,7 +298,7 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
283
298
|
};
|
|
284
299
|
};
|
|
285
300
|
|
|
286
|
-
export declare const AsideFooterTools: DefineComponent<
|
|
301
|
+
export declare const AsideFooterTools: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
|
|
287
302
|
position: string[];
|
|
288
303
|
showThemeSetting: boolean;
|
|
289
304
|
showLangSetting: boolean;
|
|
@@ -411,6 +426,37 @@ export declare const GitCodeHeader: __VLS_WithTemplateSlots_3<typeof __VLS_compo
|
|
|
411
426
|
|
|
412
427
|
export declare const GitCodeLayoutEmitter: Emitter<EventBus>;
|
|
413
428
|
|
|
429
|
+
/** 默认 Header 新建菜单的路径顺序,与工作台 Header 保持一致。 */
|
|
430
|
+
export declare const HEADER_CREATE_MENU_PATHS: readonly ["/create?position=nav_top", "/create/migrate?type=3", "/models/create", "/datasets/create", "/space/create", "/collections/create", "/org/create"];
|
|
431
|
+
|
|
432
|
+
export declare const HeaderCreateMenu: DefineComponent_2<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin_2, ComponentOptionsMixin_2, {
|
|
433
|
+
"update:dropdownVisible": (visible: boolean) => any;
|
|
434
|
+
navigate: (item: HeaderCreateMenuItem) => any;
|
|
435
|
+
}, string, PublicProps_2, Readonly<__VLS_Props_4> & Readonly<{
|
|
436
|
+
"onUpdate:dropdownVisible"?: ((visible: boolean) => any) | undefined;
|
|
437
|
+
onNavigate?: ((item: HeaderCreateMenuItem) => any) | undefined;
|
|
438
|
+
}>, {
|
|
439
|
+
dropdownVisible: boolean;
|
|
440
|
+
isCreateOrg: boolean;
|
|
441
|
+
items: HeaderCreateMenuItem[];
|
|
442
|
+
onNavigate: HeaderCreateMenuNavigate;
|
|
443
|
+
}, {}, {}, {}, string, ComponentProvideOptions_2, false, {
|
|
444
|
+
triggerRef: HTMLButtonElement;
|
|
445
|
+
menuRef: HTMLDivElement;
|
|
446
|
+
}, HTMLDivElement>;
|
|
447
|
+
|
|
448
|
+
/** Header 新建菜单项。宿主项目可以用它覆写默认的七项菜单。 */
|
|
449
|
+
export declare interface HeaderCreateMenuItem {
|
|
450
|
+
key: string;
|
|
451
|
+
icon: string;
|
|
452
|
+
label: string;
|
|
453
|
+
href: string;
|
|
454
|
+
dividerBefore?: boolean;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/** 自定义新建菜单跳转适配器。 */
|
|
458
|
+
export declare type HeaderCreateMenuNavigate = (item: HeaderCreateMenuItem) => void | Promise<void>;
|
|
459
|
+
|
|
414
460
|
declare enum HeaderDisplayItem {
|
|
415
461
|
LOGIN_AND_AVATAR = "0101",
|
|
416
462
|
MESSAGE_CENTER = "0102",
|
package/index.js
CHANGED
|
@@ -1,20 +1,22 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a0, Z, Q, U, W, a3, a5, Y, X, P, S, V, $, O, B, a6, a2, a4, a1 } from "./index-B7cWhpg7.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
a0 as AsideFooterTools,
|
|
4
|
+
Z as EnterpriseHeader,
|
|
5
5
|
Q as GitCodeAside,
|
|
6
6
|
U as GitCodeAsideV2,
|
|
7
7
|
W as GitCodeHeader,
|
|
8
|
-
|
|
8
|
+
a3 as GitCodeLayoutEmitter,
|
|
9
|
+
a5 as HEADER_CREATE_MENU_PATHS,
|
|
10
|
+
Y as HeaderCreateMenu,
|
|
9
11
|
X as HomeHeaderActions,
|
|
10
12
|
P as Login,
|
|
11
13
|
S as SceneValue,
|
|
12
14
|
V as ScrollActiveContainer,
|
|
13
|
-
|
|
15
|
+
$ as SiteAnnouncement,
|
|
14
16
|
O as ToolsFloat,
|
|
15
17
|
B as currentTheme,
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
a6 as default,
|
|
19
|
+
a2 as setLayoutConfig,
|
|
20
|
+
a4 as setTheme,
|
|
21
|
+
a1 as useLogin
|
|
20
22
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel, _ as _export_sfc } from "./index-B7cWhpg7.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";
|
|
@@ -39,8 +39,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
39
39
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
40
40
|
createTextVNode("忽略")
|
|
41
41
|
])),
|
|
42
|
-
_: 1
|
|
43
|
-
__: [1]
|
|
42
|
+
_: 1
|
|
44
43
|
}, 8, ["size", "onClick"]),
|
|
45
44
|
createVNode(unref(Button), {
|
|
46
45
|
variant: "solid",
|
|
@@ -51,8 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
50
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
52
51
|
createTextVNode("修改")
|
|
53
52
|
])),
|
|
54
|
-
_: 1
|
|
55
|
-
__: [2]
|
|
53
|
+
_: 1
|
|
56
54
|
}, 8, ["size"])
|
|
57
55
|
], 2)
|
|
58
56
|
]),
|