vue-layout-gitcode 1.10.12 → 1.10.13
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-BH1kyLmx.js → GloabarSearch-CoKAJcsT.js} +3 -3
- package/{MenuItem-dLEw2jEY.js → MenuItem-BhZVv_s0.js} +7 -2
- package/{ProjectMenuList-CnULbBay.js → ProjectMenuList-BmAnKpUn.js} +2 -2
- package/{ProjectMenuListV2-B1gEPXOT.js → ProjectMenuListV2-DuqKZyNR.js} +2 -2
- package/{ProjectSearch-CuRR_Qfh.js → ProjectSearch-DAczE3OE.js} +1 -1
- package/{SearchHistoryList-CX3MOQnL.js → SearchHistoryList-DtL0HLkA.js} +1 -1
- package/{SearchPrefixTag-C61bhDtE.js → SearchPrefixTag-waO22hf-.js} +1 -1
- package/{SearchRecommed-dwPsbHkp.js → SearchRecommed-lCC_L9SL.js} +2 -2
- package/{SearchScopeList-fKPVLmZC.js → SearchScopeList-BueGEWgE.js} +1 -1
- package/{UserSearch-CRimBUfM.js → UserSearch-CF_usc2g.js} +1 -1
- package/{index-C4flXqUk.js → index-DKiG3nKm.js} +136 -888
- package/index-DOOxDh_y.js +101 -0
- package/{index-B5SPmNsv.js → index-DhQ3Vz0J.js} +2 -2
- package/{index-Dqaz3zpg.js → index-uhUlhs4P.js} +5 -2
- package/index.js +12 -12
- package/{notice-C-JfMfRw.js → notice-BHcqslei.js} +1 -1
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-B13zn-hx.js → transWebUrl-BHRB5fSt.js} +1 -1
- package/index-BDOvV0e4.js +0 -120
|
@@ -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-DKiG3nKm.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-DhQ3Vz0J.js";
|
|
7
|
+
import "./transWebUrl-BHRB5fSt.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,
|
|
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-DKiG3nKm.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";
|
|
@@ -116,6 +116,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
116
116
|
var _a;
|
|
117
117
|
return ((_a = props == null ? void 0 : props.item) == null ? void 0 : _a.left_menu_name_en) === "AI Hub";
|
|
118
118
|
});
|
|
119
|
+
const isBeforeDeadline = () => {
|
|
120
|
+
const deadline = /* @__PURE__ */ new Date("2026-01-01T00:00:00");
|
|
121
|
+
const now = /* @__PURE__ */ new Date();
|
|
122
|
+
return now <= deadline;
|
|
123
|
+
};
|
|
119
124
|
return (_ctx, _cache) => {
|
|
120
125
|
return openBlock(), createBlock(unref(Popover), {
|
|
121
126
|
class: "menu-item-popover",
|
|
@@ -154,7 +159,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
154
159
|
name: "gt-line-right-tianqi",
|
|
155
160
|
color: "var(--theme-text)"
|
|
156
161
|
})) : createCommentVNode("", true),
|
|
157
|
-
isAIHub.value ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(unref(t)("gitCodeLayout.aihub.claimFreeToken")), 1)) : createCommentVNode("", true)
|
|
162
|
+
isAIHub.value && isBeforeDeadline() ? (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(unref(t)("gitCodeLayout.aihub.claimFreeToken")), 1)) : createCommentVNode("", true)
|
|
158
163
|
])
|
|
159
164
|
], 34)
|
|
160
165
|
]),
|
|
@@ -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, 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-DKiG3nKm.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BHRB5fSt.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,
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, t as transformUrl, F as asideRequest, G as GIcon, C as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-DKiG3nKm.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-BHRB5fSt.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";
|
|
@@ -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-DKiG3nKm.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-DKiG3nKm.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-DKiG3nKm.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-DhQ3Vz0J.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-DKiG3nKm.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-DKiG3nKm.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-DKiG3nKm.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]" };
|