vue-layout-gitcode 1.11.9 → 1.12.1-beta
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/README.md +533 -0
- package/{GloabarSearch-91A6wrvj.js → dist/GloabarSearch-BVSCbbUb.js} +8 -8
- package/{MenuItem-BVINvSGW.js → dist/MenuItem-DjuP8f45.js} +7 -20
- package/{ProjectMenuList-DUu1KMLN.js → dist/ProjectMenuList-DkKK-NLS.js} +13 -13
- package/{ProjectMenuListV2-CdEFG8K2.js → dist/ProjectMenuListV2-Cy-mDopT.js} +7 -7
- package/{ProjectSearch-BH18p9pb.js → dist/ProjectSearch-DJmX8Vkw.js} +5 -5
- package/{SearchHistoryList-BdEzvpAl.js → dist/SearchHistoryList-DcxGIVKV.js} +12 -12
- package/{SearchPrefixTag-TgEVgvvw.js → dist/SearchPrefixTag-wGBoyYuN.js} +5 -5
- package/{SearchRecommed-DMc_cpwA.js → dist/SearchRecommed-Bj4rOU-E.js} +6 -6
- package/{SearchScopeList-3_8o-XH5.js → dist/SearchScopeList-DXkCgNHW.js} +7 -7
- package/{UserSearch-dVyT-g5X.js → dist/UserSearch-B3LLBuMp.js} +5 -5
- package/{index-DElXrUuD.js → dist/index-BO5ZxPlJ.js} +3 -3
- package/{index-BkKz6ul1.js → dist/index-BZtPjJo6.js} +69 -69
- package/{index-C6Lx-tXg.js → dist/index-CYtl2kxU.js} +1 -1
- package/{index-DJFGf8D7.js → dist/index-NfMFRNgz.js} +1196 -1176
- package/dist/index.d.ts +109 -0
- package/{index.js → dist/index.js} +1 -1
- package/{notice-ZZODW7f-.js → dist/notice-NzYRRupc.js} +13 -12
- package/dist/package.json +13 -0
- package/dist/style.css +1 -0
- package/{transWebUrl-5tFpNBo4.js → dist/transWebUrl-Cvy6Fboe.js} +1 -1
- package/package.json +71 -11
- package/index.d.ts +0 -571
- package/style.css +0 -1
|
@@ -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-NfMFRNgz.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Cvy6Fboe.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";
|
|
@@ -12,7 +12,7 @@ import "vue-devui-lal/input/style.css";
|
|
|
12
12
|
import "vue-devui-lal/skeleton/style.css";
|
|
13
13
|
import "vue-devui-lal/menu/style.css";
|
|
14
14
|
import "vue-devui-lal/button/style.css";
|
|
15
|
-
const _hoisted_1 = { class: "devui-submenu layer_2 my-work-platform submenu-item relative" };
|
|
15
|
+
const _hoisted_1 = { class: "devui-submenu layer_2 my-work-platform submenu-item my-work-platform--relative" };
|
|
16
16
|
const _hoisted_2 = {
|
|
17
17
|
class: "devui-submenu-title layer_2",
|
|
18
18
|
style: { "padding": "0px 24px" }
|
|
@@ -25,7 +25,7 @@ const _hoisted_4 = {
|
|
|
25
25
|
const _hoisted_5 = { class: "devui-submenu-title-content cursor-auto" };
|
|
26
26
|
const _hoisted_6 = { key: 0 };
|
|
27
27
|
const _hoisted_7 = { class: "project-label" };
|
|
28
|
-
const _hoisted_8 = { class: "project-label
|
|
28
|
+
const _hoisted_8 = { class: "project-label project-label--ellipsis ellipsis" };
|
|
29
29
|
const _hoisted_9 = {
|
|
30
30
|
key: 1,
|
|
31
31
|
class: "project-label"
|
|
@@ -236,7 +236,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
236
236
|
};
|
|
237
237
|
return (_ctx, _cache) => {
|
|
238
238
|
return openBlock(), createElementBlock("ul", _hoisted_1, [
|
|
239
|
-
|
|
239
|
+
_ctx.type === "project" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
240
240
|
createElementVNode("div", _hoisted_2, [
|
|
241
241
|
_cache[12] || (_cache[12] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
242
242
|
createElementVNode("span", _hoisted_3, [
|
|
@@ -253,7 +253,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
253
253
|
onClick: _cache[1] || (_cache[1] = withModifiers(($event) => showSearch.value = !showSearch.value, ["stop"]))
|
|
254
254
|
}),
|
|
255
255
|
createElementVNode("div", {
|
|
256
|
-
class: normalizeClass(["
|
|
256
|
+
class: normalizeClass(["my-work-platform-inputbox-wrap my-work-platform-inputbox", showSearch.value ? "" : "my-work-platform-hideInputBox"]),
|
|
257
257
|
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
258
258
|
}, ["stop"]))
|
|
259
259
|
}, [
|
|
@@ -261,7 +261,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
261
261
|
"menu-class": "my-work-platform-select",
|
|
262
262
|
modelValue: nameSpace.value,
|
|
263
263
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => nameSpace.value = $event),
|
|
264
|
-
class: "
|
|
264
|
+
class: "my-work-platform-select-wrap",
|
|
265
265
|
placeholder: "",
|
|
266
266
|
filter: true,
|
|
267
267
|
onLoadMore: loadTeam,
|
|
@@ -297,7 +297,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
297
297
|
}, 8, ["modelValue", "placeholder"])
|
|
298
298
|
], 2)
|
|
299
299
|
], 64)) : createCommentVNode("", true),
|
|
300
|
-
|
|
300
|
+
_ctx.type === "team" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
301
301
|
createElementVNode("div", _hoisted_4, [
|
|
302
302
|
_cache[13] || (_cache[13] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
303
303
|
createElementVNode("span", _hoisted_5, [
|
|
@@ -314,7 +314,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
314
314
|
color: "var(--theme-menu-icon-fill)"
|
|
315
315
|
}),
|
|
316
316
|
createElementVNode("div", {
|
|
317
|
-
class: normalizeClass(["
|
|
317
|
+
class: normalizeClass(["my-work-platform-inputbox-wrap my-work-platform-inputbox", showSearch.value ? "" : "my-work-platform-hideInputBox"]),
|
|
318
318
|
onClick: _cache[11] || (_cache[11] = withModifiers(() => {
|
|
319
319
|
}, ["stop"]))
|
|
320
320
|
}, [
|
|
@@ -346,10 +346,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
346
346
|
"data-openBlank": true,
|
|
347
347
|
"data-href": unref(transformUrl)(unref(transWebUrl)(item.web_url)),
|
|
348
348
|
class: "text",
|
|
349
|
-
title:
|
|
349
|
+
title: _ctx.type === "project" ? `${item.namespace}/${item.label}` : item.label
|
|
350
350
|
}, {
|
|
351
351
|
icon: withCtx(() => [
|
|
352
|
-
|
|
352
|
+
_ctx.type === "project" ? (openBlock(), createBlock(GIcon, {
|
|
353
353
|
key: 0,
|
|
354
354
|
name: "gt-line-project",
|
|
355
355
|
color: "var(--theme-menu-icon-fill)",
|
|
@@ -364,7 +364,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
364
364
|
}, null, 8, ["src", "name", "class"]))
|
|
365
365
|
]),
|
|
366
366
|
default: withCtx(() => [
|
|
367
|
-
|
|
367
|
+
_ctx.type === "project" ? (openBlock(), createElementBlock("span", _hoisted_6, [
|
|
368
368
|
createElementVNode("span", _hoisted_7, toDisplayString((item.namespace || "").slice(0, 10)) + toDisplayString((item.namespace || "").length > 10 ? "..." : ""), 1),
|
|
369
369
|
createElementVNode("span", _hoisted_8, "/" + toDisplayString(item.label), 1)
|
|
370
370
|
])) : (openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(item.label), 1))
|
|
@@ -379,7 +379,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
379
379
|
onClick: withModifiers(createRepoOrOrg, ["stop"])
|
|
380
380
|
}, {
|
|
381
381
|
default: withCtx(() => [
|
|
382
|
-
createTextVNode(toDisplayString(
|
|
382
|
+
createTextVNode(toDisplayString(_ctx.buttonText), 1)
|
|
383
383
|
]),
|
|
384
384
|
_: 1
|
|
385
385
|
})) : createCommentVNode("", true),
|
|
@@ -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-NfMFRNgz.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-Cvy6Fboe.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";
|
|
@@ -10,14 +10,14 @@ import "vue-devui-lal/input/style.css";
|
|
|
10
10
|
import "vue-devui-lal/skeleton/style.css";
|
|
11
11
|
import "vue-devui-lal/menu/style.css";
|
|
12
12
|
import "vue-devui-lal/button/style.css";
|
|
13
|
-
const _hoisted_1 = { class: "devui-submenu layer_2 my-work-platform submenu-item relative" };
|
|
13
|
+
const _hoisted_1 = { class: "devui-submenu layer_2 my-work-platform submenu-item my-work-platform--relative" };
|
|
14
14
|
const _hoisted_2 = {
|
|
15
15
|
class: "devui-submenu-title layer_2",
|
|
16
16
|
style: { "padding": "0px 24px" }
|
|
17
17
|
};
|
|
18
18
|
const _hoisted_3 = { class: "devui-submenu-title-content cursor-auto" };
|
|
19
19
|
const _hoisted_4 = { class: "project-label" };
|
|
20
|
-
const _hoisted_5 = { class: "project-label
|
|
20
|
+
const _hoisted_5 = { class: "project-label project-label--ellipsis ellipsis" };
|
|
21
21
|
const _hoisted_6 = ["href"];
|
|
22
22
|
const INIT_SHOW_COUNT = 4;
|
|
23
23
|
const LOAD_MORE_COUNT = 10;
|
|
@@ -165,7 +165,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
165
165
|
onClick: withModifiers(handleOpenSearch, ["stop"])
|
|
166
166
|
}),
|
|
167
167
|
createElementVNode("div", {
|
|
168
|
-
class: normalizeClass(["
|
|
168
|
+
class: normalizeClass(["my-work-platform-inputbox-wrap my-work-platform-inputbox", showSearch.value ? "" : "my-work-platform-hideInputBox"]),
|
|
169
169
|
onClick: _cache[4] || (_cache[4] = withModifiers(() => {
|
|
170
170
|
}, ["stop"]))
|
|
171
171
|
}, [
|
|
@@ -220,7 +220,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
220
220
|
onClick: withModifiers(createRepoOrOrg, ["stop"])
|
|
221
221
|
}, {
|
|
222
222
|
default: withCtx(() => [
|
|
223
|
-
createTextVNode(toDisplayString(
|
|
223
|
+
createTextVNode(toDisplayString(_ctx.buttonText), 1)
|
|
224
224
|
]),
|
|
225
225
|
_: 1
|
|
226
226
|
})) : createCommentVNode("", true),
|
|
@@ -241,7 +241,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
241
241
|
showTianqiRepo.value ? (openBlock(), createElementBlock("a", {
|
|
242
242
|
key: 2,
|
|
243
243
|
href: tianqiRepoUrl.value,
|
|
244
|
-
class: "
|
|
244
|
+
class: "more-btn more-btn--tianqi"
|
|
245
245
|
}, toDisplayString(unref(t)("gitCodeLayout.org.tianqiRepo")) + " >", 9, _hoisted_6)) : createCommentVNode("", true)
|
|
246
246
|
]);
|
|
247
247
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
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-NfMFRNgz.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";
|
|
6
|
-
const _hoisted_1 = { class: "
|
|
7
|
-
const _hoisted_2 = { class: "history-list-project-globartitle
|
|
6
|
+
const _hoisted_1 = { class: "history-list-project history-list-project--padded" };
|
|
7
|
+
const _hoisted_2 = { class: "history-list-project-globartitle history-list-project-globartitle--gap" };
|
|
8
8
|
const _hoisted_3 = ["href"];
|
|
9
|
-
const _hoisted_4 = { class: "
|
|
10
|
-
const _hoisted_5 = { class: "
|
|
9
|
+
const _hoisted_4 = { class: "history-list-project-globarbox" };
|
|
10
|
+
const _hoisted_5 = { class: "ellipsis history-list-project__name" };
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ Object.assign({ name: "SearchFileList" }, {
|
|
12
12
|
__name: "ProjectSearch",
|
|
13
13
|
props: ["searchStr", "searchInfo", "isSearchPage"],
|
|
@@ -1,15 +1,15 @@
|
|
|
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-NfMFRNgz.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" };
|
|
6
6
|
const _hoisted_2 = ["onClick", "onMouseenter"];
|
|
7
|
-
const _hoisted_3 = { class: "history-list-box__content
|
|
8
|
-
const _hoisted_4 = { class: "
|
|
7
|
+
const _hoisted_3 = { class: "history-list-box__content" };
|
|
8
|
+
const _hoisted_4 = { class: "history-list-box__row" };
|
|
9
9
|
const _hoisted_5 = ["title"];
|
|
10
10
|
const _hoisted_6 = ["title"];
|
|
11
11
|
const _hoisted_7 = { class: "item-tx" };
|
|
12
|
-
const _hoisted_8 = { class: "
|
|
12
|
+
const _hoisted_8 = { class: "history-list-box__type-row" };
|
|
13
13
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
14
|
__name: "SearchHistoryList",
|
|
15
15
|
props: {
|
|
@@ -105,15 +105,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
};
|
|
106
106
|
return (_ctx, _cache) => {
|
|
107
107
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
108
|
-
|
|
108
|
+
_ctx.searchHistoryList.length ? (openBlock(), createElementBlock("ul", {
|
|
109
109
|
key: 0,
|
|
110
|
-
class: "history-list-box mt
|
|
110
|
+
class: "history-list-box history-list-box--mt",
|
|
111
111
|
onMouseleave: resetIndex
|
|
112
112
|
}, [
|
|
113
113
|
(openBlock(true), createElementBlock(Fragment, null, renderList(historyList.value, (item, index) => {
|
|
114
114
|
return openBlock(), createElementBlock("li", {
|
|
115
115
|
key: item,
|
|
116
|
-
class: normalizeClass(
|
|
116
|
+
class: normalizeClass(_ctx.activeIndex === index ? "hoverbg" : ""),
|
|
117
117
|
onClick: ($event) => toSearch(item),
|
|
118
118
|
onMouseenter: ($event) => onSearchEnter(index)
|
|
119
119
|
}, [
|
|
@@ -122,24 +122,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
122
|
createVNode(GIcon, {
|
|
123
123
|
name: "gt-line-time",
|
|
124
124
|
color: "var(--devui-aide-text)",
|
|
125
|
-
class: "
|
|
125
|
+
class: "history-list-box__time-icon"
|
|
126
126
|
}),
|
|
127
127
|
createElementVNode("span", {
|
|
128
|
-
class: "
|
|
128
|
+
class: "history-list-box__ellipsis",
|
|
129
129
|
title: item.repoTitle
|
|
130
130
|
}, toDisplayString(item.repoTitle), 9, _hoisted_5),
|
|
131
131
|
createElementVNode("span", {
|
|
132
|
-
class: "
|
|
132
|
+
class: "history-list-box__ellipsis",
|
|
133
133
|
title: item.namespaceTitle
|
|
134
134
|
}, toDisplayString(item.namespaceTitle), 9, _hoisted_6),
|
|
135
135
|
createElementVNode("span", _hoisted_7, toDisplayString(item.q || item), 1)
|
|
136
136
|
]),
|
|
137
137
|
createElementVNode("div", _hoisted_8, [
|
|
138
138
|
createElementVNode("span", {
|
|
139
|
-
class: normalizeClass(
|
|
139
|
+
class: normalizeClass(_ctx.activeIndex === index ? "history-list-box__type-text--active" : "history-list-box__type-text")
|
|
140
140
|
}, toDisplayString(getRepoType(item).text), 3),
|
|
141
141
|
createVNode(GIcon, {
|
|
142
|
-
name:
|
|
142
|
+
name: _ctx.activeIndex === index ? getRepoType(item).hoverIcon : getRepoType(item).icon
|
|
143
143
|
}, null, 8, ["name"])
|
|
144
144
|
])
|
|
145
145
|
]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, withModifiers, createVNode, vShow } from "vue";
|
|
2
|
-
import { G as GIcon, _ as _export_sfc } from "./index-
|
|
2
|
+
import { G as GIcon, _ as _export_sfc } from "./index-NfMFRNgz.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -20,12 +20,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
20
|
};
|
|
21
21
|
return (_ctx, _cache) => {
|
|
22
22
|
return openBlock(), createElementBlock("p", {
|
|
23
|
-
class: "g-header-search-projectname
|
|
23
|
+
class: "g-header-search-projectname",
|
|
24
24
|
onClick: onInputClick
|
|
25
25
|
}, [
|
|
26
|
-
createElementVNode("span", _hoisted_1, toDisplayString(
|
|
26
|
+
createElementVNode("span", _hoisted_1, toDisplayString(_ctx.tag), 1),
|
|
27
27
|
withDirectives(createElementVNode("span", {
|
|
28
|
-
class: "g-header-search-projectname-close
|
|
28
|
+
class: "g-header-search-projectname-close",
|
|
29
29
|
onClick: withModifiers(onCloseTag, ["stop"])
|
|
30
30
|
}, [
|
|
31
31
|
createVNode(GIcon, {
|
|
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
size: "7px"
|
|
35
35
|
})
|
|
36
36
|
], 512), [
|
|
37
|
-
[vShow,
|
|
37
|
+
[vShow, _ctx.closeVisible]
|
|
38
38
|
])
|
|
39
39
|
]);
|
|
40
40
|
};
|
|
@@ -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-BZtPjJo6.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-NfMFRNgz.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";
|
|
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
63
|
}, () => [
|
|
64
64
|
(openBlock(), createBlock(SearchRepoCard, {
|
|
65
65
|
key: item.id,
|
|
66
|
-
class: "
|
|
66
|
+
class: "g-header-search-recommed-card",
|
|
67
67
|
info: { ...item, index },
|
|
68
68
|
keyword: "",
|
|
69
69
|
hover: "",
|
|
@@ -77,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
77
77
|
])) : (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
78
78
|
(openBlock(), createElementBlock(Fragment, null, renderList(5, (item) => {
|
|
79
79
|
return createElementVNode("div", {
|
|
80
|
-
class: "
|
|
80
|
+
class: "g-header-search-recommed-skel",
|
|
81
81
|
key: item
|
|
82
82
|
}, [
|
|
83
83
|
createVNode(unref(Row), {
|
|
@@ -101,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
101
101
|
_: 1
|
|
102
102
|
}),
|
|
103
103
|
createVNode(unref(Row), {
|
|
104
|
-
class: "
|
|
104
|
+
class: "g-header-search-recommed-skel-row",
|
|
105
105
|
align: "middle",
|
|
106
106
|
gutter: 16
|
|
107
107
|
}, {
|
|
@@ -116,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
116
|
_: 1
|
|
117
117
|
}),
|
|
118
118
|
createVNode(unref(Row), {
|
|
119
|
-
class: "
|
|
119
|
+
class: "g-header-search-recommed-skel-row",
|
|
120
120
|
align: "middle",
|
|
121
121
|
gutter: 16
|
|
122
122
|
}, {
|
|
@@ -1,16 +1,16 @@
|
|
|
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-NfMFRNgz.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
6
|
-
const _hoisted_2 = { class: "
|
|
6
|
+
const _hoisted_2 = { class: "linkItem" };
|
|
7
7
|
const _hoisted_3 = { class: "leftTx ellipsis" };
|
|
8
8
|
const _hoisted_4 = {
|
|
9
9
|
key: 0,
|
|
10
|
-
class: "
|
|
10
|
+
class: "g-header-search-scopechoose__label"
|
|
11
11
|
};
|
|
12
12
|
const _hoisted_5 = { key: 1 };
|
|
13
|
-
const _hoisted_6 = { class: "
|
|
13
|
+
const _hoisted_6 = { class: "g-header-search-scopechoose__label" };
|
|
14
14
|
const _hoisted_7 = { class: "right-text" };
|
|
15
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
16
|
__name: "SearchScopeList",
|
|
@@ -27,10 +27,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
27
27
|
};
|
|
28
28
|
return (_ctx, _cache) => {
|
|
29
29
|
return openBlock(), createElementBlock("ul", null, [
|
|
30
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
30
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchScopeList, (item, index) => {
|
|
31
31
|
return openBlock(), createElementBlock("li", {
|
|
32
32
|
key: index,
|
|
33
|
-
class: "g-header-search-scopechoose
|
|
33
|
+
class: "g-header-search-scopechoose",
|
|
34
34
|
onClick: ($event) => onScopeSearch(item)
|
|
35
35
|
}, [
|
|
36
36
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
41
41
|
}),
|
|
42
42
|
item.label ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(item.label) + ":", 1)) : createCommentVNode("", true),
|
|
43
43
|
item.value ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(item.value), 1)) : createCommentVNode("", true),
|
|
44
|
-
createElementVNode("span", _hoisted_6, toDisplayString(
|
|
44
|
+
createElementVNode("span", _hoisted_6, toDisplayString(_ctx.searchStr), 1)
|
|
45
45
|
]),
|
|
46
46
|
createElementVNode("p", _hoisted_7, [
|
|
47
47
|
createElementVNode("span", null, toDisplayString(item.label ? `${item.label}${unref($t)("gitCodeLayout.header.underSearch")}` : item.title), 1),
|
|
@@ -1,12 +1,12 @@
|
|
|
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-NfMFRNgz.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
|
-
const _hoisted_1 = { class: "
|
|
6
|
-
const _hoisted_2 = { class: "history-list-project-globartitle
|
|
5
|
+
const _hoisted_1 = { class: "history-list-project history-list-project--padded" };
|
|
6
|
+
const _hoisted_2 = { class: "history-list-project-globartitle history-list-project-globartitle--gap" };
|
|
7
7
|
const _hoisted_3 = ["href"];
|
|
8
|
-
const _hoisted_4 = { class: "
|
|
9
|
-
const _hoisted_5 = { class: "
|
|
8
|
+
const _hoisted_4 = { class: "history-list-project-globarbox" };
|
|
9
|
+
const _hoisted_5 = { class: "ellipsis history-list-project__name" };
|
|
10
10
|
const _sfc_main = {
|
|
11
11
|
__name: "UserSearch",
|
|
12
12
|
props: ["searchStr", "searchInfo"],
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, nextTick, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-
|
|
2
|
+
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-NfMFRNgz.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:";
|
|
@@ -105,9 +105,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
});
|
|
106
106
|
return (_ctx, _cache) => {
|
|
107
107
|
return openBlock(), createBlock(unref(FixedOverlay), { class: "captcha-overlay-slid" }, {
|
|
108
|
-
default: withCtx(() =>
|
|
108
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
109
109
|
createElementVNode("div", { id: "captcha-box" }, null, -1)
|
|
110
|
-
])
|
|
110
|
+
])),
|
|
111
111
|
_: 1
|
|
112
112
|
});
|
|
113
113
|
};
|