vue-layout-gitcode 1.12.15-beta.3 → 1.12.15-beta.4
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-CehDLm5e.js → GloabarSearch-B0WY0LM0.js} +4 -4
- package/{MenuItem-C3jP0hIF.js → MenuItem-50wS5d0K.js} +2 -2
- package/{ProjectMenuList-CYBu-6UI.js → ProjectMenuList-Dt87wbdD.js} +11 -11
- package/{ProjectMenuListV2-BNO8Oa9f.js → ProjectMenuListV2-01WosZfk.js} +4 -4
- package/{ProjectSearch-DqTXNeuA.js → ProjectSearch-Bz-0eShp.js} +2 -2
- package/{SearchHistoryList-08Q75qyT.js → SearchHistoryList-CayQ_mmg.js} +6 -6
- package/{SearchRecommed-BP1gksCD.js → SearchRecommed-B5qHaSKG.js} +3 -3
- package/{SearchScopeList-jaI05Znk.js → SearchScopeList-BwUgP4-r.js} +3 -3
- package/{UserSearch-p1c5YRt2.js → UserSearch-B-P5V1aZ.js} +2 -2
- package/{index-CtgqGX_c.js → index-BrPuridR.js} +983 -969
- package/{index-Vmx0G7Nd.js → index-CjHihoOG.js} +6 -5
- package/{index-BniudX3d.js → index-CmoNc1hd.js} +2 -2
- package/{index-CY16HldM.js → index-gvYv2gFy.js} +48 -45
- package/index.d.ts +761 -583
- package/index.js +10 -10
- package/{notice-9BqsHOHE.js → notice-BPjjYgjY.js} +13 -11
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-Di5i1eNa.js → transWebUrl-T7vm749H.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent, inject,
|
|
1
|
+
import { defineComponent, inject, createElementBlock, openBlock, Fragment, createElementVNode, toDisplayString, createVNode, unref, 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-BrPuridR.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-gvYv2gFy.js";
|
|
7
|
+
import "./transWebUrl-T7vm749H.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
|
-
import { defineComponent, inject, useSlots, computed, ref,
|
|
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-
|
|
1
|
+
import { defineComponent, inject, useSlots, computed, ref, createBlock, openBlock, 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-BrPuridR.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
|
-
import { defineComponent, inject, ref, reactive, watch, computed, openBlock,
|
|
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-
|
|
1
|
+
import { defineComponent, inject, ref, reactive, watch, computed, createElementBlock, openBlock, createCommentVNode, createBlock, withDirectives, Fragment, createElementVNode, createVNode, toDisplayString, unref, withModifiers, normalizeClass, withCtx, renderList, createTextVNode, 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-BrPuridR.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-T7vm749H.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";
|
|
@@ -250,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
250
250
|
};
|
|
251
251
|
return (_ctx, _cache) => {
|
|
252
252
|
return openBlock(), createElementBlock("ul", _hoisted_1, [
|
|
253
|
-
|
|
253
|
+
_ctx.type === "project" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
254
254
|
createElementVNode("div", _hoisted_2, [
|
|
255
255
|
_cache[17] || (_cache[17] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
256
256
|
createElementVNode("span", _hoisted_3, [
|
|
@@ -311,7 +311,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
311
311
|
}, 8, ["modelValue", "placeholder"])
|
|
312
312
|
], 2)
|
|
313
313
|
], 64)) : createCommentVNode("", true),
|
|
314
|
-
|
|
314
|
+
_ctx.type === "team" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
315
315
|
createElementVNode("div", _hoisted_4, [
|
|
316
316
|
_cache[18] || (_cache[18] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
317
317
|
createElementVNode("span", _hoisted_5, [
|
|
@@ -350,7 +350,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
350
350
|
}, 8, ["modelValue", "placeholder"])
|
|
351
351
|
], 2)
|
|
352
352
|
], 64)) : createCommentVNode("", true),
|
|
353
|
-
|
|
353
|
+
_ctx.type === "enterprise" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
354
354
|
createElementVNode("div", _hoisted_6, [
|
|
355
355
|
_cache[19] || (_cache[19] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
356
356
|
createElementVNode("span", _hoisted_7, [
|
|
@@ -399,10 +399,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
399
399
|
"data-openBlank": true,
|
|
400
400
|
"data-href": unref(transformUrl)(unref(transWebUrl)(item.web_url)),
|
|
401
401
|
class: "text",
|
|
402
|
-
title:
|
|
402
|
+
title: _ctx.type === "project" ? `${item.namespace}/${item.label}` : item.label
|
|
403
403
|
}, {
|
|
404
404
|
icon: withCtx(() => [
|
|
405
|
-
|
|
405
|
+
_ctx.type === "project" ? (openBlock(), createBlock(GIcon, {
|
|
406
406
|
key: 0,
|
|
407
407
|
name: "gt-line-project",
|
|
408
408
|
color: "var(--theme-menu-icon-fill)",
|
|
@@ -417,7 +417,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
417
417
|
}, null, 8, ["src", "name", "class"]))
|
|
418
418
|
]),
|
|
419
419
|
default: withCtx(() => [
|
|
420
|
-
|
|
420
|
+
_ctx.type === "project" ? (openBlock(), createElementBlock("span", _hoisted_8, [
|
|
421
421
|
createElementVNode("span", _hoisted_9, toDisplayString((item.namespace || "").slice(0, 10)) + toDisplayString((item.namespace || "").length > 10 ? "..." : ""), 1),
|
|
422
422
|
createElementVNode("span", _hoisted_10, "/" + toDisplayString(item.label), 1)
|
|
423
423
|
])) : (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(item.label), 1))
|
|
@@ -425,14 +425,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
425
425
|
_: 2
|
|
426
426
|
}, 1032, ["data-href", "title"]);
|
|
427
427
|
}), 128)),
|
|
428
|
-
|
|
428
|
+
_ctx.type !== "enterprise" && !totalNum.value && !firstLoading.value ? (openBlock(), createBlock(unref(Button), {
|
|
429
429
|
key: 4,
|
|
430
430
|
variant: "text",
|
|
431
431
|
class: "more-btn",
|
|
432
432
|
onClick: withModifiers(createRepoOrOrg, ["stop"])
|
|
433
433
|
}, {
|
|
434
434
|
default: withCtx(() => [
|
|
435
|
-
createTextVNode(toDisplayString(
|
|
435
|
+
createTextVNode(toDisplayString(_ctx.buttonText), 1)
|
|
436
436
|
]),
|
|
437
437
|
_: 1
|
|
438
438
|
})) : createCommentVNode("", true),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, reactive, computed, watch,
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, t as transformUrl,
|
|
1
|
+
import { defineComponent, inject, ref, reactive, computed, watch, createElementBlock, openBlock, createElementVNode, createVNode, createBlock, createCommentVNode, withDirectives, toDisplayString, unref, withModifiers, normalizeClass, withCtx, Fragment, renderList, createTextVNode, vShow } from "vue";
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, t as transformUrl, I as asideRequest, G as GIcon, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-BrPuridR.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-T7vm749H.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";
|
|
@@ -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),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, inject, computed, withDirectives,
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-
|
|
1
|
+
import { ref, inject, computed, withDirectives, createElementBlock, openBlock, 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-BrPuridR.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
|
-
import { defineComponent, computed, openBlock,
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, computed, createElementBlock, openBlock, createCommentVNode, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers } from "vue";
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BrPuridR.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" };
|
|
@@ -117,7 +117,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
117
|
};
|
|
118
118
|
return (_ctx, _cache) => {
|
|
119
119
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
120
|
-
|
|
120
|
+
_ctx.searchHistoryList.length ? (openBlock(), createElementBlock("ul", {
|
|
121
121
|
key: 0,
|
|
122
122
|
class: "history-list-box history-list-box--mt",
|
|
123
123
|
onMouseleave: resetIndex
|
|
@@ -125,7 +125,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
(openBlock(true), createElementBlock(Fragment, null, renderList(historyList.value, (item, index) => {
|
|
126
126
|
return openBlock(), createElementBlock("li", {
|
|
127
127
|
key: item,
|
|
128
|
-
class: normalizeClass(
|
|
128
|
+
class: normalizeClass(_ctx.activeIndex === index ? "hoverbg" : ""),
|
|
129
129
|
onClick: ($event) => toSearch(item),
|
|
130
130
|
onMouseenter: ($event) => onSearchEnter(index)
|
|
131
131
|
}, [
|
|
@@ -148,10 +148,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
148
|
]),
|
|
149
149
|
createElementVNode("div", _hoisted_8, [
|
|
150
150
|
createElementVNode("span", {
|
|
151
|
-
class: normalizeClass(
|
|
151
|
+
class: normalizeClass(_ctx.activeIndex === index ? "history-list-box__type-text--active" : "history-list-box__type-text")
|
|
152
152
|
}, toDisplayString(getRepoType(item).text), 3),
|
|
153
153
|
createVNode(GIcon, {
|
|
154
|
-
name:
|
|
154
|
+
name: _ctx.activeIndex === index ? getRepoType(item).hoverIcon : getRepoType(item).icon
|
|
155
155
|
}, null, 8, ["name"])
|
|
156
156
|
])
|
|
157
157
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, onMounted,
|
|
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-
|
|
1
|
+
import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-gvYv2gFy.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-BrPuridR.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
|
-
import { defineComponent,
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, Fragment, renderList, createElementVNode, createVNode, createCommentVNode, toDisplayString, unref } from "vue";
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BrPuridR.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
};
|
|
26
26
|
return (_ctx, _cache) => {
|
|
27
27
|
return openBlock(), createElementBlock("ul", null, [
|
|
28
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
28
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchScopeList, (item, index) => {
|
|
29
29
|
return openBlock(), createElementBlock("li", {
|
|
30
30
|
key: index,
|
|
31
31
|
class: "g-header-search-scopechoose",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { inject, ref, watch, withDirectives,
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-
|
|
1
|
+
import { inject, ref, watch, withDirectives, createElementBlock, openBlock, 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-BrPuridR.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-project history-list-project--padded" };
|