vue-layout-gitcode 1.5.71 → 1.5.72
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-BVc018QM.js → GloabarSearch-BGHVFOpy.js} +5 -3
- package/MenuItem-DgySN0tc.js +156 -0
- package/ProjectMenuList-poL8mpQl.js +402 -0
- package/ProjectMenuListV2-CoEGuG7M.js +221 -0
- package/{ProjectSearch-OYQR1jQ1.js → ProjectSearch-DVREBWeh.js} +1 -1
- package/SearchHistoryList-WPti_fKV.js +161 -0
- package/{SearchPrefixTag-BFhDidRA.js → SearchPrefixTag-C8vz2Bsp.js} +2 -2
- package/{SearchRecommed-c-THl16l.js → SearchRecommed-DJnpxtaq.js} +5 -5
- package/{SearchScopeList-BypAkGfx.js → SearchScopeList-B8t89QHm.js} +2 -2
- package/{UserSearch-Dtgpli89.js → UserSearch-BQwvWAYp.js} +1 -1
- package/{index-Ba99LRw5.js → index-B66_WJIL.js} +2028 -3509
- package/{index-Cqo1SLWx.js → index-CN1Ye7W1.js} +11 -9
- package/{index-B5WuOGOg.js → index-CNRcityj.js} +2 -2
- package/index.d.ts +45 -4
- package/index.js +11 -11
- package/{notice-BUVKdd9a.js → notice-BqfzMtaO.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/transWebUrl-CdGkJDeO.js +21 -0
- package/SearchHistoryList-DcJLzYiO.js +0 -99
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, withCtx, reactive } from "vue";
|
|
2
|
-
import
|
|
2
|
+
import debounce from "lodash/debounce";
|
|
3
|
+
import { t as transferNumber, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, L as LANG_KEY, g as LANG_ZH, j as usePageResize, k as isGstarRepo, m as _sfc_main$9, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-B66_WJIL.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CdGkJDeO.js";
|
|
3
5
|
import { useRouter } from "vue-router";
|
|
4
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -190,7 +192,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
190
192
|
};
|
|
191
193
|
}
|
|
192
194
|
});
|
|
193
|
-
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-
|
|
195
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
194
196
|
const _hoisted_1$5 = { class: "fork-tag" };
|
|
195
197
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
196
198
|
__name: "index",
|
|
@@ -215,7 +217,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
215
217
|
};
|
|
216
218
|
}
|
|
217
219
|
});
|
|
218
|
-
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-
|
|
220
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
219
221
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
220
222
|
__name: "index",
|
|
221
223
|
props: {
|
|
@@ -261,7 +263,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
261
263
|
};
|
|
262
264
|
}
|
|
263
265
|
});
|
|
264
|
-
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-
|
|
266
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
265
267
|
const _hoisted_1$4 = { class: "star-count-one" };
|
|
266
268
|
const _hoisted_2$3 = { key: 0 };
|
|
267
269
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
@@ -288,7 +290,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
288
290
|
};
|
|
289
291
|
}
|
|
290
292
|
});
|
|
291
|
-
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-
|
|
293
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
292
294
|
const _hoisted_1$3 = {
|
|
293
295
|
key: 0,
|
|
294
296
|
class: "github-star-num"
|
|
@@ -323,7 +325,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
323
325
|
};
|
|
324
326
|
}
|
|
325
327
|
});
|
|
326
|
-
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-
|
|
328
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
327
329
|
const _hoisted_1$2 = { class: "repo-card-footer mt-[4px]" };
|
|
328
330
|
const _hoisted_2$1 = {
|
|
329
331
|
key: 3,
|
|
@@ -415,7 +417,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
415
417
|
};
|
|
416
418
|
}
|
|
417
419
|
});
|
|
418
|
-
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
420
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
419
421
|
const _hoisted_1$1 = { class: "new-tag-content" };
|
|
420
422
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
421
423
|
__name: "index",
|
|
@@ -467,7 +469,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
467
469
|
};
|
|
468
470
|
}
|
|
469
471
|
});
|
|
470
|
-
const NewTag = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
472
|
+
const NewTag = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
471
473
|
const _hoisted_1 = ["innerHTML"];
|
|
472
474
|
const _hoisted_2 = {
|
|
473
475
|
key: 0,
|
|
@@ -704,7 +706,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
704
706
|
};
|
|
705
707
|
}
|
|
706
708
|
});
|
|
707
|
-
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
709
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
708
710
|
export {
|
|
709
711
|
SearchRepoCard as S,
|
|
710
712
|
formatNameSpace as f,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import {
|
|
3
|
+
import { q as useLayoutConfig, _ as _export_sfc } from "./index-B66_WJIL.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -55,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
58
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
59
59
|
export {
|
|
60
60
|
index as default
|
|
61
61
|
};
|
package/index.d.ts
CHANGED
|
@@ -309,6 +309,10 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
309
309
|
type: PropType<any[] | undefined>;
|
|
310
310
|
required: false;
|
|
311
311
|
};
|
|
312
|
+
loginChildComponents: {
|
|
313
|
+
type: PropType<any>;
|
|
314
|
+
required: true;
|
|
315
|
+
};
|
|
312
316
|
bgConfig: {
|
|
313
317
|
type: PropType<{
|
|
314
318
|
index_head: string;
|
|
@@ -418,6 +422,10 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
418
422
|
type: PropType<any[] | undefined>;
|
|
419
423
|
required: false;
|
|
420
424
|
};
|
|
425
|
+
loginChildComponents: {
|
|
426
|
+
type: PropType<any>;
|
|
427
|
+
required: true;
|
|
428
|
+
};
|
|
421
429
|
bgConfig: {
|
|
422
430
|
type: PropType<{
|
|
423
431
|
index_head: string;
|
|
@@ -554,8 +562,10 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
|
554
562
|
declare interface LoginOptions {
|
|
555
563
|
Authorization?: boolean;
|
|
556
564
|
type?: 'login' | 'register';
|
|
557
|
-
[x: string]: any;
|
|
558
565
|
triggerType?: string;
|
|
566
|
+
loginTriggerSource?: string;
|
|
567
|
+
resetPwdSource?: string;
|
|
568
|
+
[x: string]: any;
|
|
559
569
|
}
|
|
560
570
|
|
|
561
571
|
export declare enum SceneValue {
|
|
@@ -597,10 +607,23 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
|
597
607
|
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
598
608
|
};
|
|
599
609
|
globalStore: {
|
|
600
|
-
type: PropType<
|
|
610
|
+
type: PropType<{
|
|
611
|
+
[key: string]: any;
|
|
612
|
+
isSignIn?: boolean | undefined;
|
|
613
|
+
}>;
|
|
601
614
|
required: true;
|
|
602
615
|
default: () => {};
|
|
603
616
|
};
|
|
617
|
+
isRepoPage: {
|
|
618
|
+
type: PropType<boolean | undefined>;
|
|
619
|
+
required: false;
|
|
620
|
+
default: boolean;
|
|
621
|
+
};
|
|
622
|
+
isWhiteListRepo: {
|
|
623
|
+
type: PropType<boolean>;
|
|
624
|
+
required: true;
|
|
625
|
+
default: boolean;
|
|
626
|
+
};
|
|
604
627
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "toggle-growth-center"[], "toggle-growth-center", PublicProps, Readonly<ExtractPropTypes<{
|
|
605
628
|
sceneValue: {
|
|
606
629
|
type: PropType<SceneValue>;
|
|
@@ -623,17 +646,35 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
|
623
646
|
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
624
647
|
};
|
|
625
648
|
globalStore: {
|
|
626
|
-
type: PropType<
|
|
649
|
+
type: PropType<{
|
|
650
|
+
[key: string]: any;
|
|
651
|
+
isSignIn?: boolean | undefined;
|
|
652
|
+
}>;
|
|
627
653
|
required: true;
|
|
628
654
|
default: () => {};
|
|
629
655
|
};
|
|
656
|
+
isRepoPage: {
|
|
657
|
+
type: PropType<boolean | undefined>;
|
|
658
|
+
required: false;
|
|
659
|
+
default: boolean;
|
|
660
|
+
};
|
|
661
|
+
isWhiteListRepo: {
|
|
662
|
+
type: PropType<boolean>;
|
|
663
|
+
required: true;
|
|
664
|
+
default: boolean;
|
|
665
|
+
};
|
|
630
666
|
}>> & Readonly<{
|
|
631
667
|
"onToggle-growth-center"?: ((...args: any[]) => any) | undefined;
|
|
632
668
|
}>, {
|
|
633
669
|
sceneValue: SceneValue;
|
|
634
670
|
isLogin: boolean;
|
|
635
671
|
request: Function;
|
|
636
|
-
globalStore:
|
|
672
|
+
globalStore: {
|
|
673
|
+
[key: string]: any;
|
|
674
|
+
isSignIn?: boolean | undefined;
|
|
675
|
+
};
|
|
676
|
+
isRepoPage: boolean | undefined;
|
|
677
|
+
isWhiteListRepo: boolean;
|
|
637
678
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
638
679
|
|
|
639
680
|
export declare function useLogin(request: any, globalStore?: any): {
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J, K, O, I, S, H, x, Q, N, P, M } from "./index-B66_WJIL.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
J as GitCodeAside,
|
|
4
|
+
K as GitCodeHeader,
|
|
5
|
+
O as GitCodeLayoutEmitter,
|
|
6
|
+
I as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
H as ToolsFloat,
|
|
9
|
+
x as currentTheme,
|
|
10
|
+
Q as default,
|
|
11
|
+
N as setLayoutConfig,
|
|
12
|
+
P as setTheme,
|
|
13
|
+
M as useLogin
|
|
14
14
|
};
|
|
@@ -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 } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-B66_WJIL.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";
|