vue-layout-gitcode 1.3.33 → 1.3.34
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-8ZRemABw.js → GloabarSearch-Dut1NjQ3.js} +2 -2
- package/{ProjectSearch-DHnXsfEX.js → ProjectSearch-C4K2BdqI.js} +1 -1
- package/{SearchHistoryList-DOuOKq5h.js → SearchHistoryList-C2jtstq5.js} +1 -1
- package/{SearchPrefixTag-BuLMFKYa.js → SearchPrefixTag-Byii6fX6.js} +1 -1
- package/{SearchRecommed-D23_7aA5.js → SearchRecommed-Dq3_WdaW.js} +2 -2
- package/{SearchScopeList-BITn6S9n.js → SearchScopeList-CldFimsf.js} +1 -1
- package/{UserSearch-D53P1UaY.js → UserSearch-Cl3hTf6e.js} +1 -1
- package/{index-BA1ulOF1.js → index-BMISejvU.js} +21 -14
- package/{index-TONtEkcx.js → index-D2yttXfH.js} +1 -1
- package/{index-v128fXSV.js → index-k9V8PYfj.js} +1 -1
- package/index.js +1 -1
- package/{notice-DaBY-8-F.js → notice-PG7L-qHk.js} +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
5
|
-
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } 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-BMISejvU.js";
|
|
5
|
+
import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-D2yttXfH.js";
|
|
6
6
|
import "vue-devui-lal/tooltip";
|
|
7
7
|
import "vue-devui-lal/tooltip/style.css";
|
|
8
8
|
import "vue-router";
|
|
@@ -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-BMISejvU.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-BMISejvU.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-BMISejvU.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, 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-D2yttXfH.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-BMISejvU.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-BMISejvU.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 } from "./index-
|
|
2
|
+
import { a as i18n, h as headRequest, G as GIcon } from "./index-BMISejvU.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]" };
|
|
@@ -16905,6 +16905,7 @@ var REPO_MODULE = /* @__PURE__ */ ((REPO_MODULE2) => {
|
|
|
16905
16905
|
REPO_MODULE2["GROUP"] = "搜索结果_组织";
|
|
16906
16906
|
REPO_MODULE2["USER"] = "搜索结果_用户";
|
|
16907
16907
|
REPO_MODULE2["COMMIT"] = "搜索结果_commit";
|
|
16908
|
+
REPO_MODULE2["SEARCH_SUFFIX_CLICK"] = "搜索按钮点击";
|
|
16908
16909
|
return REPO_MODULE2;
|
|
16909
16910
|
})(REPO_MODULE || {});
|
|
16910
16911
|
var ASIDE_MENU_REPO = /* @__PURE__ */ ((ASIDE_MENU_REPO2) => {
|
|
@@ -17902,13 +17903,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17902
17903
|
setup(__props) {
|
|
17903
17904
|
var _a;
|
|
17904
17905
|
const { t: $t } = i18n.global;
|
|
17905
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
17906
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
17907
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
17908
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
17909
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
17910
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
17911
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
17906
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-C4K2BdqI.js"));
|
|
17907
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-Cl3hTf6e.js"));
|
|
17908
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-Dut1NjQ3.js"));
|
|
17909
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-C2jtstq5.js"));
|
|
17910
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CldFimsf.js"));
|
|
17911
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Byii6fX6.js"));
|
|
17912
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-Dq3_WdaW.js"));
|
|
17912
17913
|
const props = __props;
|
|
17913
17914
|
const repoInfo = inject("repoInfo");
|
|
17914
17915
|
const orgInfo = inject("orgInfo");
|
|
@@ -18100,6 +18101,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18100
18101
|
}
|
|
18101
18102
|
}
|
|
18102
18103
|
};
|
|
18104
|
+
const handleSuffixClick = (type) => {
|
|
18105
|
+
useReport2(REPO_EVENT.CLICK, { module_name: REPO_MODULE.SEARCH_SUFFIX_CLICK });
|
|
18106
|
+
onSearch();
|
|
18107
|
+
};
|
|
18103
18108
|
const handleSearchMore = (type) => {
|
|
18104
18109
|
console.log(type);
|
|
18105
18110
|
searchParams.type = type;
|
|
@@ -18332,7 +18337,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18332
18337
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
18333
18338
|
!_ctx.inAIHub ? (openBlock(), createElementBlock("div", {
|
|
18334
18339
|
key: 0,
|
|
18335
|
-
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(_ctx.isShowStickyNotice) ? "focusSearch-sticky-notice" : ""])
|
|
18340
|
+
class: normalizeClass([isFocus.value ? "focusSearch" : { "left-search": true }, Boolean(_ctx.isShowStickyNotice) ? "focusSearch-sticky-notice" : ""]),
|
|
18341
|
+
onClick: _cache[6] || (_cache[6] = withModifiers(() => {
|
|
18342
|
+
}, ["stop"]))
|
|
18336
18343
|
}, [
|
|
18337
18344
|
withDirectives(createElementVNode("div", {
|
|
18338
18345
|
class: normalizeClass(["mark-search", searchDropDownVisible.value ? "mask-opacity-transition" : ""]),
|
|
@@ -18421,14 +18428,14 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18421
18428
|
createVNode(GIcon, {
|
|
18422
18429
|
name: "gt-search",
|
|
18423
18430
|
class: "g-header-search-icon",
|
|
18424
|
-
onClick: onInputClick
|
|
18431
|
+
onClick: withModifiers(onInputClick, ["stop"])
|
|
18425
18432
|
})
|
|
18426
18433
|
]),
|
|
18427
18434
|
showRecommendSearch.value ? (openBlock(), createElementBlock("div", {
|
|
18428
18435
|
key: 0,
|
|
18429
18436
|
class: normalizeClass(["g-header-search-recommend-placeholder z-[-1] absolute top-0 left-[44px] w-full h-full leading-[100%] text-[var(--theme-placeholder)]", { default: !isFocus.value, focus: isFocus.value }])
|
|
18430
18437
|
}, [
|
|
18431
|
-
_cache[
|
|
18438
|
+
_cache[8] || (_cache[8] = createElementVNode("div", { class: "absolute top-0 left-0 h-full flex items-center" }, "🔥", -1)),
|
|
18432
18439
|
(openBlock(true), createElementBlock(Fragment, null, renderList(searchHotWords.value, (item, index2) => {
|
|
18433
18440
|
return openBlock(), createElementBlock("div", {
|
|
18434
18441
|
class: normalizeClass(["g-header-search-recommend-item absolute top-0 left-[24px] h-full flex items-center", { fadeInUp: activeSearchKey.value === index2, fadeOutUp: activeSearchKey.value !== index2 }]),
|
|
@@ -18457,7 +18464,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18457
18464
|
isFocus.value ? (openBlock(), createElementBlock("div", {
|
|
18458
18465
|
key: 0,
|
|
18459
18466
|
class: "g-header-search-suffix",
|
|
18460
|
-
onClick:
|
|
18467
|
+
onClick: withModifiers(handleSuffixClick, ["stop"])
|
|
18461
18468
|
}, [
|
|
18462
18469
|
withDirectives(createVNode(GIcon, {
|
|
18463
18470
|
name: "gt-line-close",
|
|
@@ -18492,7 +18499,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18492
18499
|
placeholder: unref($t)("gitCodeLayout.home.searchPlaceholder"),
|
|
18493
18500
|
onKeydown: withKeys(searchResult, ["enter"]),
|
|
18494
18501
|
modelValue: searchStr.value,
|
|
18495
|
-
"onUpdate:modelValue": _cache[
|
|
18502
|
+
"onUpdate:modelValue": _cache[7] || (_cache[7] = ($event) => searchStr.value = $event)
|
|
18496
18503
|
}, {
|
|
18497
18504
|
prefix: withCtx(() => [
|
|
18498
18505
|
createVNode(GIcon, {
|
|
@@ -18508,7 +18515,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18508
18515
|
}
|
|
18509
18516
|
});
|
|
18510
18517
|
const Search = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
18511
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
18518
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-PG7L-qHk.js"));
|
|
18512
18519
|
function clearNotice() {
|
|
18513
18520
|
if (localStorage$2.getItem("validator_email")) {
|
|
18514
18521
|
localStorage$2.removeItem("validator_email");
|
|
@@ -25166,7 +25173,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
25166
25173
|
}
|
|
25167
25174
|
});
|
|
25168
25175
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
25169
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
25176
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-k9V8PYfj.js"));
|
|
25170
25177
|
const useSlidCaptcha = () => {
|
|
25171
25178
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
25172
25179
|
const open = (config) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
-
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
2
|
+
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, w as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BMISejvU.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
2
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
-
import { x as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { x as useLayoutConfig, _ as _export_sfc } from "./index-BMISejvU.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
2
|
+
import { i as isPhone, u as useModel } from "./index-BMISejvU.js";
|
|
3
3
|
import { Notification } from "vue-devui-lal/notification";
|
|
4
4
|
import { Button } from "vue-devui-lal/button";
|
|
5
5
|
import "vue-devui-lal/notification/style.css";
|