vue-layout-gitcode 1.9.65 → 1.9.66
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-vM1916xG.js → GloabarSearch-CburLEnh.js} +3 -3
- package/{MenuItem-DCjEwo7u.js → MenuItem-CdO1Lg10.js} +1 -1
- package/{ProjectMenuList-CMqZ9XWn.js → ProjectMenuList-COr0OqlG.js} +2 -2
- package/{ProjectMenuListV2-B4SNF2mm.js → ProjectMenuListV2-C2yHf8nc.js} +21 -3
- package/{ProjectSearch-wfnnJ0Wl.js → ProjectSearch-9LzwSXY1.js} +1 -1
- package/{SearchHistoryList-CinRNJYs.js → SearchHistoryList-Dh874WSN.js} +1 -1
- package/{SearchPrefixTag-BsYIe4Vd.js → SearchPrefixTag-Cf3TSbIF.js} +1 -1
- package/{SearchRecommed-DIFtfXpZ.js → SearchRecommed-Crwx31-E.js} +2 -2
- package/{SearchScopeList-CDdcV_EE.js → SearchScopeList-DIS57bod.js} +1 -1
- package/{UserSearch-BMLMCJp6.js → UserSearch-BpSnRnHt.js} +1 -1
- package/{index-ezfpyv51.js → index-BMj5nTdp.js} +1 -1
- package/{index-uAsoxaRJ.js → index-BRcz5gFC.js} +211 -163
- package/{index-CkHu3ufn.js → index-C0Cnm1DO.js} +3 -2
- package/{index-CNTz6d42.js → index-Dc-VgC-b.js} +8 -5
- package/index.js +1 -1
- package/{notice-DSMGU_S_.js → notice-CQoE7UdC.js} +5 -3
- package/package.json +1 -1
- package/{transWebUrl-BFLsw1n3.js → transWebUrl-YrKMrbv0.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
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-BRcz5gFC.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-Dc-VgC-b.js";
|
|
7
|
+
import "./transWebUrl-YrKMrbv0.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, ref, computed, createBlock, openBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createTextVNode, createCommentVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, z as ThemeType, A as currentTheme, L as LANG_ZH, B as LANG_EN, x as getLocaleLang, G as GIcon, C as emitEvent, D as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-BRcz5gFC.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, 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,
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, H as _sfc_main$1, I as loadAsideData, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, F as asideRequest, _ as _export_sfc } from "./index-BRcz5gFC.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-YrKMrbv0.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, 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, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, F as asideRequest, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, t as transformUrl, _ as _export_sfc } from "./index-BRcz5gFC.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-YrKMrbv0.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";
|
|
@@ -18,6 +18,7 @@ const _hoisted_2 = {
|
|
|
18
18
|
const _hoisted_3 = { class: "devui-submenu-title-content cursor-auto" };
|
|
19
19
|
const _hoisted_4 = { class: "project-label" };
|
|
20
20
|
const _hoisted_5 = { class: "project-label flex-1 min-w-0 ellipsis" };
|
|
21
|
+
const _hoisted_6 = ["href"];
|
|
21
22
|
const INIT_SHOW_COUNT = 4;
|
|
22
23
|
const LOAD_MORE_COUNT = 10;
|
|
23
24
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -35,8 +36,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
35
36
|
const globalStore = inject("globalStore");
|
|
36
37
|
const { useReport } = useRequestReport(request, globalStore);
|
|
37
38
|
const layoutConfig = useLayoutConfig();
|
|
39
|
+
const API = asideRequest(request);
|
|
38
40
|
const props = __props;
|
|
39
41
|
const btnLoading = ref(false);
|
|
42
|
+
const showTianqiRepo = ref(false);
|
|
40
43
|
const pageQuery = reactive({
|
|
41
44
|
size: INIT_SHOW_COUNT
|
|
42
45
|
});
|
|
@@ -134,6 +137,16 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
137
|
window.location.href = `${transformUrl(layoutConfig.VITE_HOST)}/create?position=nav_top`;
|
|
135
138
|
}
|
|
136
139
|
};
|
|
140
|
+
const tianqiRepoUrl = computed(() => {
|
|
141
|
+
return `/org/${props.username}-dev/repos`;
|
|
142
|
+
});
|
|
143
|
+
if (props.username) {
|
|
144
|
+
API.getTianqiOrgInfo({ orgId: `${props.username}-dev` }).then((res) => {
|
|
145
|
+
if (res.data) {
|
|
146
|
+
showTianqiRepo.value = true;
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
}
|
|
137
150
|
return (_ctx, _cache) => {
|
|
138
151
|
return openBlock(), createElementBlock("ul", _hoisted_1, [
|
|
139
152
|
createElementVNode("div", _hoisted_2, [
|
|
@@ -224,7 +237,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
224
237
|
_: 1
|
|
225
238
|
}, 8, ["loading", "disabled"]), [
|
|
226
239
|
[vShow, showExpandMore.value && props.subShow]
|
|
227
|
-
])
|
|
240
|
+
]),
|
|
241
|
+
showTianqiRepo.value ? (openBlock(), createElementBlock("a", {
|
|
242
|
+
key: 2,
|
|
243
|
+
href: tianqiRepoUrl.value,
|
|
244
|
+
class: "flex-1 min-w-0 cursor-pointer more-btn"
|
|
245
|
+
}, toDisplayString(_ctx.$t("dashboard.home.tianqiRepo")) + " >", 9, _hoisted_6)) : createCommentVNode("", true)
|
|
228
246
|
]);
|
|
229
247
|
};
|
|
230
248
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-BRcz5gFC.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, 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-
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BRcz5gFC.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" };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, 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-BRcz5gFC.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
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-Dc-VgC-b.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-BRcz5gFC.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, createElementBlock, openBlock, Fragment, renderList, createElementVNode, createVNode, createCommentVNode, toDisplayString, 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-BRcz5gFC.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-BRcz5gFC.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]" };
|
|
@@ -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, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-BRcz5gFC.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
constructor() {
|
|
14
14
|
__publicField(this, "ypRiddlerInstance", null);
|