vue-layout-gitcode 1.1.17 → 1.1.18
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-4c429de2.js → GloabarSearch-DJOC2ste.js} +3 -49
- package/{ProjectSearch-34d65c6e.js → ProjectSearch-BaDWiUQz.js} +3 -47
- package/{SearchHistoryList-a643a782.js → SearchHistoryList-CJWe_Sne.js} +3 -47
- package/SearchPrefixTag-8CvFyr_G.js +46 -0
- package/{SearchRecommed-00f42e2d.js → SearchRecommed-pC5kbYsi.js} +4 -48
- package/{SearchScopeList-1747a7e1.js → SearchScopeList-olDlF_4j.js} +3 -47
- package/{UserSearch-944e955e.js → UserSearch-B0jZYoB2.js} +2 -46
- package/{index-4b4612e4.js → index-BITTokMy.js} +962 -1161
- package/{index-b69c028f.js → index-Brdr8yq8.js} +13 -24
- package/{index-d301d7ec.js → index-D8W8lTsG.js} +3 -49
- package/index.js +1 -47
- package/{notice-a8ad411b.js → notice-BuIVy3Zy.js} +2 -43
- package/package.json +1 -1
- package/style.css +1 -1
- package/SearchPrefixTag-b91caaa2.js +0 -90
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, watchEffect, defineComponent, toDisplayString, inject,
|
|
2
|
-
import { d as debounce, h as headRequest, G as GIcon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as isGstarRepo, k as _sfc_main$8, m as isIncubationRepo, n as highlightWords, t as transWebUrl, o as _frEventTrack, E as EVENT_NAME,
|
|
1
|
+
import { ref, watchEffect, defineComponent, toDisplayString, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, unref, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
+
import { d as debounce, h as headRequest, G as GIcon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as isGstarRepo, k as _sfc_main$8, m as isIncubationRepo, n as highlightWords, t as transWebUrl, o as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BITTokMy.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";
|
|
@@ -27,10 +27,8 @@ const useReportRepo = (reportParams, viewReport) => {
|
|
|
27
27
|
};
|
|
28
28
|
const formatItem = (data) => {
|
|
29
29
|
const channelNames = [];
|
|
30
|
-
if (data.channelName)
|
|
31
|
-
|
|
32
|
-
if (data.subChannelName)
|
|
33
|
-
channelNames.push(data.subChannelName);
|
|
30
|
+
if (data.channelName) channelNames.push(data.channelName);
|
|
31
|
+
if (data.subChannelName) channelNames.push(data.subChannelName);
|
|
34
32
|
return {
|
|
35
33
|
type: "gitcode",
|
|
36
34
|
repo_id: data.id,
|
|
@@ -138,8 +136,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
138
136
|
const handleStar = async (e) => {
|
|
139
137
|
e.preventDefault();
|
|
140
138
|
try {
|
|
141
|
-
if (starLoading.value)
|
|
142
|
-
return;
|
|
139
|
+
if (starLoading.value) return;
|
|
143
140
|
starLoading.value = true;
|
|
144
141
|
const params = { repoId: props.starInfo.id };
|
|
145
142
|
let res;
|
|
@@ -205,8 +202,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
205
202
|
};
|
|
206
203
|
}
|
|
207
204
|
});
|
|
208
|
-
const
|
|
209
|
-
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6d9f98e2"]]);
|
|
205
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
210
206
|
const _hoisted_1$4 = { class: "fork-tag" };
|
|
211
207
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
212
208
|
__name: "index",
|
|
@@ -231,8 +227,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
231
227
|
};
|
|
232
228
|
}
|
|
233
229
|
});
|
|
234
|
-
const
|
|
235
|
-
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cb84d9d8"]]);
|
|
230
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
236
231
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
237
232
|
__name: "index",
|
|
238
233
|
props: {
|
|
@@ -278,8 +273,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
278
273
|
};
|
|
279
274
|
}
|
|
280
275
|
});
|
|
281
|
-
const
|
|
282
|
-
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f41c9ade"]]);
|
|
276
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
283
277
|
const _hoisted_1$3 = { class: "star-count-one" };
|
|
284
278
|
const _hoisted_2$3 = { key: 0 };
|
|
285
279
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -306,8 +300,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
306
300
|
};
|
|
307
301
|
}
|
|
308
302
|
});
|
|
309
|
-
const
|
|
310
|
-
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-33d28127"]]);
|
|
303
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
311
304
|
const _hoisted_1$2 = { class: "github-star-num" };
|
|
312
305
|
const _hoisted_2$2 = { class: "leading-none" };
|
|
313
306
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
@@ -334,8 +327,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
334
327
|
};
|
|
335
328
|
}
|
|
336
329
|
});
|
|
337
|
-
const
|
|
338
|
-
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-49819ac3"]]);
|
|
330
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
339
331
|
const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
|
|
340
332
|
const _hoisted_2$1 = {
|
|
341
333
|
key: 3,
|
|
@@ -427,8 +419,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
427
419
|
};
|
|
428
420
|
}
|
|
429
421
|
});
|
|
430
|
-
const
|
|
431
|
-
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e5f7b6fb"]]);
|
|
422
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
432
423
|
const _hoisted_1 = ["innerHTML"];
|
|
433
424
|
const _hoisted_2 = {
|
|
434
425
|
key: 0,
|
|
@@ -523,8 +514,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
523
514
|
return highlightWords(keyword, contentArr.join("/"), true);
|
|
524
515
|
};
|
|
525
516
|
onMounted(() => {
|
|
526
|
-
if (props.info.is_recommend && props.info.index === 0)
|
|
527
|
-
handleQueryGraph();
|
|
517
|
+
if (props.info.is_recommend && props.info.index === 0) handleQueryGraph();
|
|
528
518
|
});
|
|
529
519
|
return (_ctx, _cache) => {
|
|
530
520
|
return openBlock(), createElementBlock("a", {
|
|
@@ -648,8 +638,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
648
638
|
};
|
|
649
639
|
}
|
|
650
640
|
});
|
|
651
|
-
const
|
|
652
|
-
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-004d33c4"]]);
|
|
641
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
653
642
|
export {
|
|
654
643
|
SearchRepoCard as S,
|
|
655
644
|
formatNameSpace as f,
|
|
@@ -1,52 +1,7 @@
|
|
|
1
|
-
import { defineComponent, onMounted,
|
|
1
|
+
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import { p as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { p as useLayoutConfig, _ as _export_sfc } from "./index-BITTokMy.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";
|
|
50
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
51
6
|
__name: "index",
|
|
52
7
|
emits: ["close", "success"],
|
|
@@ -99,8 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
99
54
|
};
|
|
100
55
|
}
|
|
101
56
|
});
|
|
102
|
-
const
|
|
103
|
-
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-325ac2b0"]]);
|
|
57
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
104
58
|
export {
|
|
105
59
|
index as default
|
|
106
60
|
};
|
package/index.js
CHANGED
|
@@ -1,50 +1,4 @@
|
|
|
1
|
-
import { v, w, z, s, S, q, A, C, y, B, x } from "./index-
|
|
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";
|
|
1
|
+
import { v, w, z, s, S, q, A, C, y, B, x } from "./index-BITTokMy.js";
|
|
48
2
|
export {
|
|
49
3
|
v as GitCodeAside,
|
|
50
4
|
w as GitCodeHeader,
|
|
@@ -1,50 +1,9 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
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-BITTokMy.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";
|
|
48
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
8
|
__name: "notice",
|
|
50
9
|
props: {
|