vue-layout-gitcode 1.9.21 → 1.9.23
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-C3xidv95.js → GloabarSearch-DYl0xYMM.js} +3 -4
- package/{MenuItem-BnjaSbHz.js → MenuItem-DEhVPYgY.js} +1 -1
- package/{ProjectMenuList-BQCMWEWu.js → ProjectMenuList-T5BKYgxJ.js} +4 -4
- package/{ProjectMenuListV2-B283u7iP.js → ProjectMenuListV2-CSxrRyNI.js} +3 -3
- package/{ProjectSearch-D4NlcQuD.js → ProjectSearch-D8DGAJmL.js} +1 -1
- package/{SearchHistoryList-XTxYkKa2.js → SearchHistoryList-BHjTiqAf.js} +1 -1
- package/{SearchPrefixTag-Vr_4bRFF.js → SearchPrefixTag-C2e6dImb.js} +1 -1
- package/{SearchRecommed-C6r_e7Wu.js → SearchRecommed-c5H8fMMA.js} +2 -2
- package/{SearchScopeList-BwIX06FA.js → SearchScopeList-Cn7_fr8L.js} +1 -1
- package/{UserSearch-B0Sxpmx5.js → UserSearch-B3yD5lgn.js} +2 -11
- package/{index-CNwaKo3C.js → index-BkRHEbSF.js} +558 -906
- package/{index-CHM1rIrp.js → index-CceYmtb0.js} +13 -11
- package/{index-DbYSkair.js → index-DJmsTDuM.js} +3 -2
- package/{index-C9cnK3pA.js → index-DzdGoav5.js} +1 -1
- package/index.d.ts +0 -11
- package/index.js +1 -1
- package/{notice-kNQVIEMi.js → notice-COFIbYUY.js} +7 -5
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-CYbHu4ea.js → transWebUrl-XUmsR0Lf.js} +1 -1
|
@@ -1,13 +1,12 @@
|
|
|
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 {
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { t as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, d as useRequestReport, r as reqCatch, 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, n as isIncubationRepo, o as highlightWords, p as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL, q as LANG_KEY } from "./index-BkRHEbSF.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-XUmsR0Lf.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";
|
|
8
8
|
import "vue-devui-lal/grid/style.css";
|
|
9
9
|
import "vue-devui-lal/skeleton/style.css";
|
|
10
|
-
import { useLocalStorage } from "@vueuse/core";
|
|
11
10
|
import { Popover } from "vue-devui-lal/popover";
|
|
12
11
|
import "vue-devui-lal/popover/style.css";
|
|
13
12
|
const useReportRepo = (reportParams, viewReport) => {
|
|
@@ -385,7 +384,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
385
384
|
size: "14"
|
|
386
385
|
}),
|
|
387
386
|
createElementVNode("span", _hoisted_2$3, [
|
|
388
|
-
_cache[0] || (_cache[0] = createTextVNode("Star ")),
|
|
387
|
+
_cache[0] || (_cache[0] = createTextVNode("Star ", -1)),
|
|
389
388
|
createVNode(_sfc_main$a, {
|
|
390
389
|
number: _ctx.count || 0,
|
|
391
390
|
gt100: true
|
|
@@ -536,7 +535,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
536
535
|
default: withCtx(() => [
|
|
537
536
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag w-[32px] h-[15px] text-[9px] text-[#ffffff] flex items-center justify-center leading-[1]" }, "New", -1))
|
|
538
537
|
]),
|
|
539
|
-
_: 1
|
|
538
|
+
_: 1,
|
|
539
|
+
__: [0]
|
|
540
540
|
})) : createCommentVNode("", true);
|
|
541
541
|
};
|
|
542
542
|
}
|
|
@@ -634,14 +634,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
634
634
|
},
|
|
635
635
|
emits: ["report"],
|
|
636
636
|
setup(__props, { emit: __emit }) {
|
|
637
|
-
const lang =
|
|
637
|
+
const lang = useCookie(LANG_KEY, LANG_ZH);
|
|
638
638
|
const API = headRequest(inject("request"));
|
|
639
639
|
const emits = __emit;
|
|
640
640
|
const router = useRouter();
|
|
641
641
|
const { widthType } = usePageResize();
|
|
642
642
|
const { t: $t } = i18n.global;
|
|
643
643
|
const handleClick = () => {
|
|
644
|
-
window.open(transWebUrl(
|
|
644
|
+
window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
|
|
645
645
|
emits("report");
|
|
646
646
|
_frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
|
|
647
647
|
};
|
|
@@ -749,9 +749,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
749
749
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.graduation")}`
|
|
750
750
|
}, {
|
|
751
751
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
752
|
-
createTextVNode("G-Star ")
|
|
752
|
+
createTextVNode("G-Star ", -1)
|
|
753
753
|
])),
|
|
754
|
-
_: 1
|
|
754
|
+
_: 1,
|
|
755
|
+
__: [0]
|
|
755
756
|
}, 8, ["message"])
|
|
756
757
|
])) : createCommentVNode("", true),
|
|
757
758
|
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
@@ -762,9 +763,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
762
763
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.incubation")}`
|
|
763
764
|
}, {
|
|
764
765
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
765
|
-
createTextVNode(" G-Star ")
|
|
766
|
+
createTextVNode(" G-Star ", -1)
|
|
766
767
|
])),
|
|
767
|
-
_: 1
|
|
768
|
+
_: 1,
|
|
769
|
+
__: [1]
|
|
768
770
|
}, 8, ["message"])
|
|
769
771
|
])) : createCommentVNode("", true),
|
|
770
772
|
createVNode(NewTag, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { w as getLocaleLang,
|
|
2
|
+
import { w as getLocaleLang, L as LANG_ZH, x as useLayoutConfig, _ as _export_sfc } from "./index-BkRHEbSF.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:";
|
|
@@ -90,7 +90,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
90
90
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
91
91
|
createElementVNode("div", { id: "captcha-box" }, null, -1)
|
|
92
92
|
])),
|
|
93
|
-
_: 1
|
|
93
|
+
_: 1,
|
|
94
|
+
__: [0]
|
|
94
95
|
});
|
|
95
96
|
};
|
|
96
97
|
}
|
|
@@ -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,
|
|
11
|
+
import { a as i18n, j as usePageResize, w as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BkRHEbSF.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
constructor() {
|
|
14
14
|
__publicField(this, "ypRiddlerInstance", null);
|
package/index.d.ts
CHANGED
|
@@ -313,11 +313,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
313
313
|
type: PropType<any>;
|
|
314
314
|
required: true;
|
|
315
315
|
};
|
|
316
|
-
asideCollapseMode: {
|
|
317
|
-
type: PropType<boolean | undefined>;
|
|
318
|
-
required: false;
|
|
319
|
-
default: boolean;
|
|
320
|
-
};
|
|
321
316
|
bgConfig: {
|
|
322
317
|
type: PropType<{
|
|
323
318
|
index_head: string;
|
|
@@ -431,11 +426,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
431
426
|
type: PropType<any>;
|
|
432
427
|
required: true;
|
|
433
428
|
};
|
|
434
|
-
asideCollapseMode: {
|
|
435
|
-
type: PropType<boolean | undefined>;
|
|
436
|
-
required: false;
|
|
437
|
-
default: boolean;
|
|
438
|
-
};
|
|
439
429
|
bgConfig: {
|
|
440
430
|
type: PropType<{
|
|
441
431
|
index_head: string;
|
|
@@ -474,7 +464,6 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
474
464
|
orgInfo: OrgInfo | undefined;
|
|
475
465
|
otherUserInfo: UserInfo | undefined;
|
|
476
466
|
headerBorder: boolean | undefined;
|
|
477
|
-
asideCollapseMode: boolean | undefined;
|
|
478
467
|
bgConfig: {
|
|
479
468
|
index_head: string;
|
|
480
469
|
detail_top: string;
|
package/index.js
CHANGED
|
@@ -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-BkRHEbSF.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";
|
|
@@ -37,9 +37,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
37
37
|
class: "mr-[8px]"
|
|
38
38
|
}, {
|
|
39
39
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
40
|
-
createTextVNode("忽略")
|
|
40
|
+
createTextVNode("忽略", -1)
|
|
41
41
|
])),
|
|
42
|
-
_: 1
|
|
42
|
+
_: 1,
|
|
43
|
+
__: [1]
|
|
43
44
|
}, 8, ["size", "onClick"]),
|
|
44
45
|
createVNode(unref(Button), {
|
|
45
46
|
variant: "solid",
|
|
@@ -48,9 +49,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
49
|
onClick: handleConfirm
|
|
49
50
|
}, {
|
|
50
51
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
51
|
-
createTextVNode("修改")
|
|
52
|
+
createTextVNode("修改", -1)
|
|
52
53
|
])),
|
|
53
|
-
_: 1
|
|
54
|
+
_: 1,
|
|
55
|
+
__: [2]
|
|
54
56
|
}, 8, ["size"])
|
|
55
57
|
], 2)
|
|
56
58
|
]),
|