vue-layout-gitcode 1.1.40 → 1.1.42
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-DbM_SiUA.js → GloabarSearch-250d26a1.js} +49 -3
- package/{ProjectSearch-BFflonhx.js → ProjectSearch-9c415de6.js} +47 -3
- package/{SearchHistoryList-BGTnqzvD.js → SearchHistoryList-5185d05e.js} +47 -3
- package/SearchPrefixTag-3c719870.js +90 -0
- package/{SearchRecommed-uD76N22p.js → SearchRecommed-2569892c.js} +48 -4
- package/{SearchScopeList-VICgRYOH.js → SearchScopeList-f6faf1f2.js} +47 -3
- package/{UserSearch-Cg2hrhMz.js → UserSearch-02a95fa2.js} +46 -2
- package/{index-oya2dsRU.js → index-71facb43.js} +1247 -1048
- package/{index-C8Fo8Bbv.js → index-a62d37c0.js} +49 -3
- package/{index-BnM-Q4Zy.js → index-b9bab550.js} +24 -13
- package/index.js +47 -1
- package/{notice-Chj1p2XX.js → notice-107e651e.js} +43 -2
- package/package.json +1 -1
- package/style.css +1 -1
- package/SearchPrefixTag-DSLHcU7J.js +0 -46
|
@@ -1,7 +1,52 @@
|
|
|
1
|
-
import { defineComponent, onMounted,
|
|
1
|
+
import { defineComponent, onMounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import { s as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { s as useLayoutConfig, _ as _export_sfc } from "./index-71facb43.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
|
+
import "vue-devui-lal/button";
|
|
6
|
+
import "vue-devui-lal/popover";
|
|
7
|
+
import "vue-devui-lal/tooltip";
|
|
8
|
+
import "vue-devui-lal/textarea";
|
|
9
|
+
import "vue-devui-lal/button/style.css";
|
|
10
|
+
import "vue-devui-lal/popover/style.css";
|
|
11
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
12
|
+
import "vue-devui-lal/textarea/style.css";
|
|
13
|
+
import "vue-devui-lal/icon";
|
|
14
|
+
import "vue-devui-lal/icon/style.css";
|
|
15
|
+
import "vue-router";
|
|
16
|
+
import "@vueuse/core";
|
|
17
|
+
import "vue-devui-lal/avatar";
|
|
18
|
+
import "vue-devui-lal/avatar/style.css";
|
|
19
|
+
import "vue-devui-lal/dropdown";
|
|
20
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
21
|
+
import "dayjs";
|
|
22
|
+
import "vue-devui-lal/skeleton";
|
|
23
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
24
|
+
import "vue-devui-lal/message";
|
|
25
|
+
import "vue-devui-lal/message/style.css";
|
|
26
|
+
import "vue-devui-lal/badge";
|
|
27
|
+
import "vue-devui-lal/badge/style.css";
|
|
28
|
+
import "vue-devui-lal/tabs/style.css";
|
|
29
|
+
import "vue-devui-lal/input";
|
|
30
|
+
import "vue-devui-lal/form";
|
|
31
|
+
import "vue-devui-lal/input/style.css";
|
|
32
|
+
import "vue-devui-lal/form/style.css";
|
|
33
|
+
import "vue-devui-lal/notification";
|
|
34
|
+
import "vue-devui-lal/notification/style.css";
|
|
35
|
+
import "vue-devui-lal/select";
|
|
36
|
+
import "vue-devui-lal/menu";
|
|
37
|
+
import "vue-devui-lal/select/style.css";
|
|
38
|
+
import "vue-devui-lal/menu/style.css";
|
|
39
|
+
import "vue-devui-lal/drawer";
|
|
40
|
+
import "vue-devui-lal/layout";
|
|
41
|
+
import "vue-devui-lal/drawer/style.css";
|
|
42
|
+
import "vue-devui-lal/layout/style.css";
|
|
43
|
+
import "vue-devui-lal/radio";
|
|
44
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
45
|
+
import "vue-devui-lal/radio/style.css";
|
|
46
|
+
import "vue-devui-lal/checkbox";
|
|
47
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
48
|
+
import "vue-devui-lal/modal";
|
|
49
|
+
import "vue-devui-lal/modal/style.css";
|
|
5
50
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
51
|
__name: "index",
|
|
7
52
|
emits: ["close", "success"],
|
|
@@ -54,7 +99,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
99
|
};
|
|
55
100
|
}
|
|
56
101
|
});
|
|
57
|
-
const
|
|
102
|
+
const index_vue_vue_type_style_index_0_scoped_325ac2b0_lang = "";
|
|
103
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-325ac2b0"]]);
|
|
58
104
|
export {
|
|
59
105
|
index as default
|
|
60
106
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, watchEffect, defineComponent, toDisplayString, inject,
|
|
2
|
-
import { d as debounce, G as GIcon,
|
|
1
|
+
import { ref, watchEffect, defineComponent, toDisplayString, inject, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, unref, normalizeStyle, createCommentVNode, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
+
import { d as debounce, G as GIcon, r as reqCatch, h as headRequest, f as useRequestReport, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$8, o as isIncubationRepo, p as highlightWords, t as transWebUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-71facb43.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -28,8 +28,10 @@ const useReportRepo = (reportParams, viewReport) => {
|
|
|
28
28
|
};
|
|
29
29
|
const formatItem = (data) => {
|
|
30
30
|
const channelNames = [];
|
|
31
|
-
if (data.channelName)
|
|
32
|
-
|
|
31
|
+
if (data.channelName)
|
|
32
|
+
channelNames.push(data.channelName);
|
|
33
|
+
if (data.subChannelName)
|
|
34
|
+
channelNames.push(data.subChannelName);
|
|
33
35
|
const repoId = isNaN(Number(data.id)) ? data.id : Number(data.id);
|
|
34
36
|
return {
|
|
35
37
|
type: "gitcode",
|
|
@@ -146,7 +148,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
146
148
|
useReport("login_exposure", { source: props.loginTriggerSource || "search_star_repo_recommend" });
|
|
147
149
|
}
|
|
148
150
|
try {
|
|
149
|
-
if (starLoading.value)
|
|
151
|
+
if (starLoading.value)
|
|
152
|
+
return;
|
|
150
153
|
starLoading.value = true;
|
|
151
154
|
const params = { repoId: props.starInfo.id };
|
|
152
155
|
let res;
|
|
@@ -212,7 +215,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
212
215
|
};
|
|
213
216
|
}
|
|
214
217
|
});
|
|
215
|
-
const
|
|
218
|
+
const index_vue_vue_type_style_index_0_scoped_0214a99a_lang = "";
|
|
219
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-0214a99a"]]);
|
|
216
220
|
const _hoisted_1$4 = { class: "fork-tag" };
|
|
217
221
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
218
222
|
__name: "index",
|
|
@@ -237,7 +241,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
237
241
|
};
|
|
238
242
|
}
|
|
239
243
|
});
|
|
240
|
-
const
|
|
244
|
+
const index_vue_vue_type_style_index_0_scoped_cb84d9d8_lang = "";
|
|
245
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cb84d9d8"]]);
|
|
241
246
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
242
247
|
__name: "index",
|
|
243
248
|
props: {
|
|
@@ -283,7 +288,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
283
288
|
};
|
|
284
289
|
}
|
|
285
290
|
});
|
|
286
|
-
const
|
|
291
|
+
const index_vue_vue_type_style_index_0_scoped_f41c9ade_lang = "";
|
|
292
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f41c9ade"]]);
|
|
287
293
|
const _hoisted_1$3 = { class: "star-count-one" };
|
|
288
294
|
const _hoisted_2$3 = { key: 0 };
|
|
289
295
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -310,7 +316,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
310
316
|
};
|
|
311
317
|
}
|
|
312
318
|
});
|
|
313
|
-
const
|
|
319
|
+
const index_vue_vue_type_style_index_0_scoped_33d28127_lang = "";
|
|
320
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-33d28127"]]);
|
|
314
321
|
const _hoisted_1$2 = { class: "github-star-num" };
|
|
315
322
|
const _hoisted_2$2 = { class: "leading-none" };
|
|
316
323
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -337,7 +344,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
337
344
|
};
|
|
338
345
|
}
|
|
339
346
|
});
|
|
340
|
-
const
|
|
347
|
+
const index_vue_vue_type_style_index_0_scoped_49819ac3_lang = "";
|
|
348
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-49819ac3"]]);
|
|
341
349
|
const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
|
|
342
350
|
const _hoisted_2$1 = {
|
|
343
351
|
key: 3,
|
|
@@ -429,7 +437,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
429
437
|
};
|
|
430
438
|
}
|
|
431
439
|
});
|
|
432
|
-
const
|
|
440
|
+
const index_vue_vue_type_style_index_0_scoped_e5f7b6fb_lang = "";
|
|
441
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e5f7b6fb"]]);
|
|
433
442
|
const _hoisted_1 = ["innerHTML"];
|
|
434
443
|
const _hoisted_2 = {
|
|
435
444
|
key: 0,
|
|
@@ -531,7 +540,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
531
540
|
return highlightWords(keyword, contentArr.join("/"), true);
|
|
532
541
|
};
|
|
533
542
|
onMounted(() => {
|
|
534
|
-
if (props.info.is_recommend && props.info.index === 0)
|
|
543
|
+
if (props.info.is_recommend && props.info.index === 0)
|
|
544
|
+
handleQueryGraph();
|
|
535
545
|
});
|
|
536
546
|
return (_ctx, _cache) => {
|
|
537
547
|
return openBlock(), createElementBlock("a", {
|
|
@@ -655,7 +665,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
655
665
|
};
|
|
656
666
|
}
|
|
657
667
|
});
|
|
658
|
-
const
|
|
668
|
+
const index_vue_vue_type_style_index_0_scoped_39fd44ed_lang = "";
|
|
669
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39fd44ed"]]);
|
|
659
670
|
export {
|
|
660
671
|
SearchRepoCard as S,
|
|
661
672
|
formatNameSpace as f,
|
package/index.js
CHANGED
|
@@ -1,4 +1,50 @@
|
|
|
1
|
-
import { x, y, B, w, S, v, C, F, A, D, z } from "./index-
|
|
1
|
+
import { x, y, B, w, S, v, C, F, A, D, z } from "./index-71facb43.js";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "vue-devui-lal/button";
|
|
4
|
+
import "vue-devui-lal/popover";
|
|
5
|
+
import "vue-devui-lal/tooltip";
|
|
6
|
+
import "vue-devui-lal/textarea";
|
|
7
|
+
import "vue-devui-lal/button/style.css";
|
|
8
|
+
import "vue-devui-lal/popover/style.css";
|
|
9
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
10
|
+
import "vue-devui-lal/textarea/style.css";
|
|
11
|
+
import "vue-devui-lal/icon";
|
|
12
|
+
import "vue-devui-lal/icon/style.css";
|
|
13
|
+
import "vue-router";
|
|
14
|
+
import "@vueuse/core";
|
|
15
|
+
import "vue-devui-lal/avatar";
|
|
16
|
+
import "vue-devui-lal/avatar/style.css";
|
|
17
|
+
import "vue-devui-lal/dropdown";
|
|
18
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
19
|
+
import "dayjs";
|
|
20
|
+
import "vue-devui-lal/skeleton";
|
|
21
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
22
|
+
import "vue-devui-lal/message";
|
|
23
|
+
import "vue-devui-lal/message/style.css";
|
|
24
|
+
import "vue-devui-lal/badge";
|
|
25
|
+
import "vue-devui-lal/badge/style.css";
|
|
26
|
+
import "vue-devui-lal/tabs/style.css";
|
|
27
|
+
import "vue-devui-lal/input";
|
|
28
|
+
import "vue-devui-lal/form";
|
|
29
|
+
import "vue-devui-lal/input/style.css";
|
|
30
|
+
import "vue-devui-lal/form/style.css";
|
|
31
|
+
import "vue-devui-lal/notification";
|
|
32
|
+
import "vue-devui-lal/notification/style.css";
|
|
33
|
+
import "vue-devui-lal/select";
|
|
34
|
+
import "vue-devui-lal/menu";
|
|
35
|
+
import "vue-devui-lal/select/style.css";
|
|
36
|
+
import "vue-devui-lal/menu/style.css";
|
|
37
|
+
import "vue-devui-lal/drawer";
|
|
38
|
+
import "vue-devui-lal/layout";
|
|
39
|
+
import "vue-devui-lal/drawer/style.css";
|
|
40
|
+
import "vue-devui-lal/layout/style.css";
|
|
41
|
+
import "vue-devui-lal/radio";
|
|
42
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
43
|
+
import "vue-devui-lal/radio/style.css";
|
|
44
|
+
import "vue-devui-lal/checkbox";
|
|
45
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
+
import "vue-devui-lal/modal";
|
|
47
|
+
import "vue-devui-lal/modal/style.css";
|
|
2
48
|
export {
|
|
3
49
|
x as GitCodeAside,
|
|
4
50
|
y as GitCodeHeader,
|
|
@@ -1,9 +1,50 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-71facb43.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";
|
|
6
6
|
import "vue-devui-lal/button/style.css";
|
|
7
|
+
import "vue-devui-lal/popover";
|
|
8
|
+
import "vue-devui-lal/tooltip";
|
|
9
|
+
import "vue-devui-lal/textarea";
|
|
10
|
+
import "vue-devui-lal/popover/style.css";
|
|
11
|
+
import "vue-devui-lal/tooltip/style.css";
|
|
12
|
+
import "vue-devui-lal/textarea/style.css";
|
|
13
|
+
import "vue-devui-lal/icon";
|
|
14
|
+
import "vue-devui-lal/icon/style.css";
|
|
15
|
+
import "vue-router";
|
|
16
|
+
import "@vueuse/core";
|
|
17
|
+
import "vue-devui-lal/avatar";
|
|
18
|
+
import "vue-devui-lal/avatar/style.css";
|
|
19
|
+
import "vue-devui-lal/dropdown";
|
|
20
|
+
import "vue-devui-lal/dropdown/style.css";
|
|
21
|
+
import "dayjs";
|
|
22
|
+
import "vue-devui-lal/skeleton";
|
|
23
|
+
import "vue-devui-lal/skeleton/style.css";
|
|
24
|
+
import "vue-devui-lal/message";
|
|
25
|
+
import "vue-devui-lal/message/style.css";
|
|
26
|
+
import "vue-devui-lal/badge";
|
|
27
|
+
import "vue-devui-lal/badge/style.css";
|
|
28
|
+
import "vue-devui-lal/tabs/style.css";
|
|
29
|
+
import "vue-devui-lal/input";
|
|
30
|
+
import "vue-devui-lal/form";
|
|
31
|
+
import "vue-devui-lal/input/style.css";
|
|
32
|
+
import "vue-devui-lal/form/style.css";
|
|
33
|
+
import "vue-devui-lal/select";
|
|
34
|
+
import "vue-devui-lal/menu";
|
|
35
|
+
import "vue-devui-lal/select/style.css";
|
|
36
|
+
import "vue-devui-lal/menu/style.css";
|
|
37
|
+
import "vue-devui-lal/drawer";
|
|
38
|
+
import "vue-devui-lal/layout";
|
|
39
|
+
import "vue-devui-lal/drawer/style.css";
|
|
40
|
+
import "vue-devui-lal/layout/style.css";
|
|
41
|
+
import "vue-devui-lal/radio";
|
|
42
|
+
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
43
|
+
import "vue-devui-lal/radio/style.css";
|
|
44
|
+
import "vue-devui-lal/checkbox";
|
|
45
|
+
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
+
import "vue-devui-lal/modal";
|
|
47
|
+
import "vue-devui-lal/modal/style.css";
|
|
7
48
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
49
|
__name: "notice",
|
|
9
50
|
props: {
|