vue-layout-gitcode 1.5.52 → 1.5.54
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-Do645WWZ.js → GloabarSearch-DkuqDTEF.js} +4 -4
- package/{MenuItem-DQYGaR8f.js → MenuItem-Cmb8RYY7.js} +2 -2
- package/{ProjectMenuList-BbYrnZys.js → ProjectMenuList-BLmznbrO.js} +4 -10
- package/{ProjectMenuListV2-guoIFuiZ.js → ProjectMenuListV2-i_hGUbT9.js} +7 -12
- package/{ProjectSearch-8WVAAyAD.js → ProjectSearch-D-3uW6Jm.js} +1 -1
- package/{SearchHistoryList-DRZH08Vl.js → SearchHistoryList-7TFAB-2p.js} +2 -2
- package/{SearchPrefixTag-DvbHSOil.js → SearchPrefixTag-CetpLTsl.js} +2 -2
- package/{SearchRecommed-C_QfxWGO.js → SearchRecommed-DrhJGRK3.js} +3 -3
- package/{SearchScopeList-Dw92xSbC.js → SearchScopeList-4i4f5nD3.js} +2 -2
- package/{UserSearch-BJKZYDTC.js → UserSearch-DQEUdJ3I.js} +1 -1
- package/{index-BNOPq_Fn.js → index-CTUUq-0Y.js} +117 -129
- package/{index-CJcHsrvl.js → index-CsRJWZOB.js} +3 -4
- package/{index-i-2f7euO.js → index-D9KEqKDX.js} +13 -16
- package/index.js +1 -1
- package/{notice-Dx-DDv1N.js → notice-DdwetZDC.js} +3 -5
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-CA-Cmp8u.js → transWebUrl-BigdkPCc.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-CTUUq-0Y.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-D9KEqKDX.js";
|
|
7
|
+
import "./transWebUrl-BigdkPCc.js";
|
|
8
8
|
import "vue-devui-lal/tooltip";
|
|
9
9
|
import "vue-devui-lal/tooltip/style.css";
|
|
10
10
|
import "vue-router";
|
|
@@ -87,7 +87,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
const SearchRepoCardList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-
|
|
90
|
+
const SearchRepoCardList = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
91
91
|
const _hoisted_1 = {
|
|
92
92
|
key: 0,
|
|
93
93
|
class: "px-[8px] history-list-project pl-[8px]"
|
|
@@ -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 { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { q as useLayoutConfig, w as ThemeType, x as currentTheme, g as LANG_ZH, y as LANG_EN, z as getLocaleLang, G as GIcon, A as emitEvent, B as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-CTUUq-0Y.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";
|
|
@@ -150,7 +150,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
});
|
|
153
|
-
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
153
|
+
const MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
154
154
|
export {
|
|
155
155
|
MenuItem as default
|
|
156
156
|
};
|
|
@@ -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,
|
|
2
|
+
import { a as i18n, G as GIcon, C as _sfc_main$1, D as loadAsideData, s as setLoginTriggerSource, d as useRequestReport, F as asideRequest, _ as _export_sfc } from "./index-CTUUq-0Y.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BigdkPCc.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";
|
|
@@ -48,7 +48,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
48
|
const API = asideRequest(request);
|
|
49
49
|
const globalStore = inject("globalStore");
|
|
50
50
|
const { useReport } = useRequestReport(request, globalStore);
|
|
51
|
-
const layoutConfig = useLayoutConfig();
|
|
52
51
|
const props = __props;
|
|
53
52
|
const projectList = ref([]);
|
|
54
53
|
const loading = ref(false);
|
|
@@ -215,12 +214,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
215
214
|
setLoginTriggerSource(props.type === "project" ? "aside_createRepo" : "aside_createOrg");
|
|
216
215
|
useReport("login_exposure", { source: props.type === "project" ? "aside_createRepo" : "aside_createOrg" });
|
|
217
216
|
}
|
|
218
|
-
|
|
219
|
-
if (router.hasRoute(targetRoute.name)) {
|
|
220
|
-
router.push(targetRoute);
|
|
221
|
-
} else {
|
|
222
|
-
window.location.href = `${layoutConfig.VITE_HOST}/${props.type !== "project" ? "org/" : ""}create?position=nav_top`;
|
|
223
|
-
}
|
|
217
|
+
router.push(props.type === "project" ? projectRoute : teamRoute);
|
|
224
218
|
};
|
|
225
219
|
return (_ctx, _cache) => {
|
|
226
220
|
return openBlock(), createElementBlock("ul", _hoisted_1, [
|
|
@@ -389,7 +383,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
389
383
|
};
|
|
390
384
|
}
|
|
391
385
|
});
|
|
392
|
-
const ProjectMenuList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
386
|
+
const ProjectMenuList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
393
387
|
export {
|
|
394
388
|
ProjectMenuList as default
|
|
395
389
|
};
|
|
@@ -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,
|
|
2
|
+
import { a as i18n, G as GIcon, s as setLoginTriggerSource, d as useRequestReport, _ as _export_sfc } from "./index-CTUUq-0Y.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BigdkPCc.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";
|
|
@@ -34,7 +34,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
34
|
const request = inject("request");
|
|
35
35
|
const globalStore = inject("globalStore");
|
|
36
36
|
const { useReport } = useRequestReport(request, globalStore);
|
|
37
|
-
const layoutConfig = useLayoutConfig();
|
|
38
37
|
const props = __props;
|
|
39
38
|
const btnLoading = ref(false);
|
|
40
39
|
const pageQuery = reactive({
|
|
@@ -104,14 +103,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
104
103
|
setLoginTriggerSource("aside_createRepo");
|
|
105
104
|
useReport("login_exposure", { source: "aside_createRepo" });
|
|
106
105
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
});
|
|
112
|
-
} else {
|
|
113
|
-
window.location.href = `${layoutConfig.VITE_HOST}/create?position=nav_top`;
|
|
114
|
-
}
|
|
106
|
+
router.push({
|
|
107
|
+
name: "newRepo",
|
|
108
|
+
query: { position: "nav_top" }
|
|
109
|
+
});
|
|
115
110
|
};
|
|
116
111
|
return (_ctx, _cache) => {
|
|
117
112
|
return openBlock(), createElementBlock("ul", _hoisted_1, [
|
|
@@ -208,7 +203,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
208
203
|
};
|
|
209
204
|
}
|
|
210
205
|
});
|
|
211
|
-
const ProjectMenuListV2 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
206
|
+
const ProjectMenuListV2 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
212
207
|
export {
|
|
213
208
|
ProjectMenuListV2 as default
|
|
214
209
|
};
|
|
@@ -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-CTUUq-0Y.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-CTUUq-0Y.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" };
|
|
@@ -155,7 +155,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
157
|
});
|
|
158
|
-
const SearchHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
158
|
+
const SearchHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
159
159
|
export {
|
|
160
160
|
SearchHistoryList as default
|
|
161
161
|
};
|
|
@@ -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-CTUUq-0Y.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = { class: "ellipsis" };
|
|
@@ -40,7 +40,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
42
|
});
|
|
43
|
-
const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
43
|
+
const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
44
44
|
export {
|
|
45
45
|
SearchPrefixTag as default
|
|
46
46
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, 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-D9KEqKDX.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-CTUUq-0Y.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";
|
|
@@ -137,7 +137,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
});
|
|
140
|
-
const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
140
|
+
const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
141
141
|
export {
|
|
142
142
|
SearchRecommed as default
|
|
143
143
|
};
|
|
@@ -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-CTUUq-0Y.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -55,7 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
|
-
const SearchScopeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
58
|
+
const SearchScopeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
59
59
|
export {
|
|
60
60
|
SearchScopeList as default
|
|
61
61
|
};
|
|
@@ -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 } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-CTUUq-0Y.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]" };
|