vue-layout-gitcode 1.12.18 → 1.12.20
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/{dist/GloabarSearch-CJbO3Dlr.js → GloabarSearch-BRMavUpy.js} +3 -3
- package/{dist/MenuItem-DpsVRNI1.js → MenuItem-DxuQwUd_.js} +1 -1
- package/{dist/ProjectMenuList-ydGg0k8T.js → ProjectMenuList-CPmq9qlu.js} +2 -2
- package/{dist/ProjectMenuListV2--kwTN0w7.js → ProjectMenuListV2-ChEQJACG.js} +2 -2
- package/{dist/ProjectSearch-BgKi904x.js → ProjectSearch-hqiTdNKG.js} +1 -1
- package/{dist/SearchHistoryList-XOISenza.js → SearchHistoryList-CaUda-vO.js} +11 -4
- package/{dist/SearchRecommed-CM8sDSQF.js → SearchRecommed-CRqcEXll.js} +2 -2
- package/{dist/SearchScopeList-Doe_n1kj.js → SearchScopeList-eicWsli0.js} +5 -8
- package/{dist/UserSearch-BqmpvYTW.js → UserSearch-njCwyfuW.js} +1 -1
- package/{dist/index-ClSFH0IZ.js → index-Bj4u8zQ4.js} +152 -92
- package/{dist/index-D9y-KLIZ.js → index-C9y5x38f.js} +1 -1
- package/{dist/index-BeIBXUJq.js → index-CuPuXqlC.js} +1 -1
- package/{dist/index-C3lVh7L5.js → index-DxxrXUPE.js} +2 -2
- package/{dist/index.js → index.js} +1 -1
- package/{dist/notice-CQA5vMhT.js → notice-Dg4J_55G.js} +1 -1
- package/package.json +11 -74
- package/{dist/transWebUrl-phEOd1Ye.js → transWebUrl-DNhy-gwP.js} +1 -1
- package/README.md +0 -533
- package/dist/package.json +0 -13
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/style.css → style.css} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, inject, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
|
|
2
2
|
import "vue-devui-lal/icon";
|
|
3
3
|
import "vue-devui-lal/icon/style.css";
|
|
4
|
-
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
4
|
+
import { h as headRequest, R as REPO_MODULE, a as i18n, G as GIcon, v as vElementExposure, b as REPO_EVENT, _ as _export_sfc, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-Bj4u8zQ4.js";
|
|
5
5
|
import "lodash/debounce";
|
|
6
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-
|
|
7
|
-
import "./transWebUrl-
|
|
6
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-DxxrXUPE.js";
|
|
7
|
+
import "./transWebUrl-DNhy-gwP.js";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
9
9
|
import "vue-devui-lal/tooltip/style.css";
|
|
10
10
|
import "vue-router";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, inject, useSlots, computed, ref, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, H as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, H as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-Bj4u8zQ4.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Popover } from "vue-devui-lal/popover";
|
|
5
5
|
import "vue-devui-lal/popover/style.css";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, watch, computed, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, renderList, createBlock, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-Bj4u8zQ4.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DNhy-gwP.js";
|
|
5
5
|
import { Select, Option } from "vue-devui-lal/select";
|
|
6
6
|
import { Input } from "vue-devui-lal/input";
|
|
7
7
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, reactive, computed, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, createBlock, createCommentVNode, Fragment, renderList, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, t as transformUrl, G as GIcon, I as asideRequest, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, t as transformUrl, G as GIcon, I as asideRequest, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-Bj4u8zQ4.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DNhy-gwP.js";
|
|
5
5
|
import { Input } from "vue-devui-lal/input";
|
|
6
6
|
import { Skeleton } from "vue-devui-lal/skeleton";
|
|
7
7
|
import { MenuItem } from "vue-devui-lal/menu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, inject, computed, withDirectives, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-Bj4u8zQ4.js";
|
|
3
3
|
import { useRoute, useRouter } from "vue-router";
|
|
4
4
|
import "vue-devui-lal/icon";
|
|
5
5
|
import "vue-devui-lal/icon/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers, createCommentVNode } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-Bj4u8zQ4.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "history-list" };
|
|
@@ -87,9 +87,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
};
|
|
88
88
|
const historyList = computed(() => {
|
|
89
89
|
var _a;
|
|
90
|
-
return (_a = props.searchHistoryList) == null ? void 0 : _a.map((item) => {
|
|
90
|
+
return (_a = props.searchHistoryList) == null ? void 0 : _a.map((raw) => typeof raw === "string" ? { q: raw } : raw).filter((item) => item == null ? void 0 : item.q).map((item) => {
|
|
91
91
|
const repoTitle = item.repo ? `${t("gitCodeLayout.header.repo")} ${decodeURIComponent(item.repo)}:` : "";
|
|
92
|
-
const
|
|
92
|
+
const userVal = item.user || (item.scope === "user" ? item.namespace : "");
|
|
93
|
+
const orgVal = item.org || (item.scope === "user" ? "" : item.namespace);
|
|
94
|
+
let namespaceTitle = "";
|
|
95
|
+
if (userVal) {
|
|
96
|
+
namespaceTitle = `${t("gitCodeLayout.header.user")} ${decodeURIComponent(userVal)}:`;
|
|
97
|
+
} else if (orgVal) {
|
|
98
|
+
namespaceTitle = `${t("gitCodeLayout.header.org")} ${decodeURIComponent(orgVal)}:`;
|
|
99
|
+
}
|
|
93
100
|
return { ...item, repoTitle, namespaceTitle };
|
|
94
101
|
});
|
|
95
102
|
});
|
|
@@ -137,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
144
|
class: "whitespace-nowrap overflow-hidden text-ellipsis",
|
|
138
145
|
title: item.namespaceTitle
|
|
139
146
|
}, toDisplayString(item.namespaceTitle), 9, _hoisted_6),
|
|
140
|
-
createElementVNode("span", _hoisted_7, toDisplayString(item.q
|
|
147
|
+
createElementVNode("span", _hoisted_7, toDisplayString(item.q), 1)
|
|
141
148
|
]),
|
|
142
149
|
createElementVNode("div", _hoisted_8, [
|
|
143
150
|
createElementVNode("span", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
-
import { u as useReportRepo, S as SearchRepoCard } from "./index-
|
|
3
|
-
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-DxxrXUPE.js";
|
|
3
|
+
import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-Bj4u8zQ4.js";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { SkeletonItem } from "vue-devui-lal/skeleton";
|
|
6
6
|
import "vue-devui-lal/grid/style.css";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-Bj4u8zQ4.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -10,13 +10,11 @@ const _hoisted_4 = {
|
|
|
10
10
|
class: "ml-[4px]"
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_5 = { key: 1 };
|
|
13
|
-
const _hoisted_6 = { class: "
|
|
14
|
-
const _hoisted_7 = { class: "right-text" };
|
|
13
|
+
const _hoisted_6 = { class: "right-text" };
|
|
15
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
15
|
__name: "SearchScopeList",
|
|
17
16
|
props: {
|
|
18
|
-
searchScopeList: {}
|
|
19
|
-
searchStr: {}
|
|
17
|
+
searchScopeList: {}
|
|
20
18
|
},
|
|
21
19
|
emits: ["scopeSearch"],
|
|
22
20
|
setup(__props, { emit: __emit }) {
|
|
@@ -40,10 +38,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
38
|
class: "g-header-search-icon"
|
|
41
39
|
}),
|
|
42
40
|
item.label ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(item.label) + ":", 1)) : createCommentVNode("", true),
|
|
43
|
-
item.value ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(item.value), 1)) : createCommentVNode("", true)
|
|
44
|
-
createElementVNode("span", _hoisted_6, toDisplayString(__props.searchStr), 1)
|
|
41
|
+
item.value ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(item.value), 1)) : createCommentVNode("", true)
|
|
45
42
|
]),
|
|
46
|
-
createElementVNode("p",
|
|
43
|
+
createElementVNode("p", _hoisted_6, [
|
|
47
44
|
createElementVNode("span", null, toDisplayString(item.label ? `${item.label}${unref($t)("gitCodeLayout.header.underSearch")}` : item.title), 1),
|
|
48
45
|
createVNode(GIcon, { name: "gt-line-right" })
|
|
49
46
|
])
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { inject, ref, watch, withDirectives, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, vShow } from "vue";
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-Bj4u8zQ4.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
|