vue-layout-gitcode 1.8.7 → 1.8.9
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-D6x4tCs_.js → GloabarSearch-D3dxhnxB.js} +3 -3
- package/{MenuItem-CGSHPKaT.js → MenuItem-BcQqV2Wu.js} +1 -1
- package/{ProjectMenuList-C39jfxoF.js → ProjectMenuList-DxsYh5Un.js} +2 -2
- package/{ProjectMenuListV2-BXsHErIw.js → ProjectMenuListV2-m5kLZG4e.js} +2 -2
- package/{ProjectSearch-Dflk10Zg.js → ProjectSearch-CgFhq9M-.js} +1 -1
- package/{SearchHistoryList-DrKJjqBc.js → SearchHistoryList-C3nRvQyU.js} +1 -1
- package/{SearchPrefixTag-BM7shZca.js → SearchPrefixTag-CkFvRE3s.js} +1 -1
- package/{SearchRecommed--r5WW9UN.js → SearchRecommed-BnUa9dQr.js} +2 -2
- package/{SearchScopeList-UH2I4CSA.js → SearchScopeList-4jTF16hn.js} +1 -1
- package/{UserSearch-D45BHc7U.js → UserSearch-CKbij7Qf.js} +1 -1
- package/{index-DnqIffve.js → index-Bd5_QVJj.js} +1 -1
- package/{index-fG2saP6z.js → index-C3wPSB3z.js} +2 -2
- package/{index-DcvQQTHs.js → index-CUNaeC_5.js} +120 -119
- package/{index-BZSDYSqR.js → index-CaumrA4X.js} +1 -1
- package/index.d.ts +8 -0
- package/index.js +1 -1
- package/{notice-Bw5A-ypV.js → notice-D2ihyyIi.js} +1 -1
- package/package.json +1 -1
- package/{transWebUrl-DjzQtO0_.js → transWebUrl-C54A2jpU.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-CUNaeC_5.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-C3wPSB3z.js";
|
|
7
|
+
import "./transWebUrl-C54A2jpU.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 { w as useLayoutConfig, y as ThemeType, z as currentTheme, j as LANG_ZH, A as LANG_EN, x as getLocaleLang, G as GIcon, B as emitEvent, C as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
2
|
+
import { w as useLayoutConfig, y as ThemeType, z as currentTheme, j as LANG_ZH, A as LANG_EN, x as getLocaleLang, G as GIcon, B as emitEvent, C as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-CUNaeC_5.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, w as useLayoutConfig, G as GIcon, D as transformUrl, F as _sfc_main$1, H as loadAsideData, B as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, w as useLayoutConfig, G as GIcon, D as transformUrl, F as _sfc_main$1, H as loadAsideData, B as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-CUNaeC_5.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-C54A2jpU.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, w as useLayoutConfig, G as GIcon, B as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, w as useLayoutConfig, G as GIcon, B as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-CUNaeC_5.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-C54A2jpU.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-CUNaeC_5.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-CUNaeC_5.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-CUNaeC_5.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-C3wPSB3z.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-CUNaeC_5.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-CUNaeC_5.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-CUNaeC_5.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]" };
|
|
@@ -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 { w as useLayoutConfig, _ as _export_sfc } from "./index-
|
|
3
|
+
import { w as useLayoutConfig, _ as _export_sfc } from "./index-CUNaeC_5.js";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
__name: "index",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref, watchEffect, defineComponent, toDisplayString, unref, mergeModels, useModel, watch, createElementBlock, openBlock, createVNode, withDirectives, normalizeClass, createElementVNode, vShow, inject, withModifiers, createBlock, Fragment, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, renderList, withCtx, reactive } from "vue";
|
|
2
2
|
import debounce from "lodash/debounce";
|
|
3
|
-
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, 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$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
3
|
+
import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, 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$b, o as isIncubationRepo, p as highlightWords, t as transformUrl, q as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-CUNaeC_5.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-C54A2jpU.js";
|
|
5
5
|
import { useRouter } from "vue-router";
|
|
6
6
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
7
7
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed
|
|
1
|
+
import { defineComponent, computed, createBlock, createElementBlock, openBlock, unref, normalizeProps, mergeProps, normalizeClass, renderSlot, normalizeStyle, createElementVNode, reactive, readonly, inject, effectScope, ref, shallowRef, watch, isRef, getCurrentInstance, h, Fragment, onBeforeMount, onMounted, onUnmounted, createVNode, Text, provide, createCommentVNode, withCtx, toDisplayString as toDisplayString$1, renderList, createTextVNode, Transition, withModifiers, resolveComponent, watchEffect, withDirectives, guardReactiveProps, onBeforeUnmount, resolveDynamicComponent, nextTick, defineAsyncComponent, vShow, withKeys, useCssVars, createSlots, render, toRaw, mergeModels, useModel as useModel$1, watchPostEffect } from "vue";
|
|
2
2
|
import { Button } from "vue-devui-lal/button";
|
|
3
3
|
import { Popover } from "vue-devui-lal/popover";
|
|
4
4
|
import { Tooltip } from "vue-devui-lal/tooltip";
|
|
@@ -65,7 +65,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
65
65
|
},
|
|
66
66
|
setup(__props) {
|
|
67
67
|
const props = __props;
|
|
68
|
-
const fontSize = computed
|
|
68
|
+
const fontSize = computed(() => {
|
|
69
69
|
return /px$/i.test(props.size) ? props.size : `${props.size}px`;
|
|
70
70
|
});
|
|
71
71
|
return (_ctx, _cache) => {
|
|
@@ -5573,14 +5573,14 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5573
5573
|
_numberFormats.value
|
|
5574
5574
|
];
|
|
5575
5575
|
}
|
|
5576
|
-
const locale2 = computed
|
|
5576
|
+
const locale2 = computed({
|
|
5577
5577
|
get: () => _locale.value,
|
|
5578
5578
|
set: (val) => {
|
|
5579
5579
|
_locale.value = val;
|
|
5580
5580
|
_context.locale = _locale.value;
|
|
5581
5581
|
}
|
|
5582
5582
|
});
|
|
5583
|
-
const fallbackLocale = computed
|
|
5583
|
+
const fallbackLocale = computed({
|
|
5584
5584
|
get: () => _fallbackLocale.value,
|
|
5585
5585
|
set: (val) => {
|
|
5586
5586
|
_fallbackLocale.value = val;
|
|
@@ -5588,9 +5588,9 @@ function createComposer(options = {}, VueI18nLegacy) {
|
|
|
5588
5588
|
updateFallbackLocale(_context, _locale.value, val);
|
|
5589
5589
|
}
|
|
5590
5590
|
});
|
|
5591
|
-
const messages = computed
|
|
5592
|
-
const datetimeFormats = /* @__PURE__ */ computed
|
|
5593
|
-
const numberFormats = /* @__PURE__ */ computed
|
|
5591
|
+
const messages = computed(() => _messages.value);
|
|
5592
|
+
const datetimeFormats = /* @__PURE__ */ computed(() => _datetimeFormats.value);
|
|
5593
|
+
const numberFormats = /* @__PURE__ */ computed(() => _numberFormats.value);
|
|
5594
5594
|
function getPostTranslationHandler() {
|
|
5595
5595
|
return isFunction$1(_postTranslation) ? _postTranslation : null;
|
|
5596
5596
|
}
|
|
@@ -7302,7 +7302,7 @@ function useI18nForLegacy(instance, scope, root, options = {}) {
|
|
|
7302
7302
|
_numberFormats.value
|
|
7303
7303
|
];
|
|
7304
7304
|
}
|
|
7305
|
-
const locale2 = computed
|
|
7305
|
+
const locale2 = computed({
|
|
7306
7306
|
get: () => {
|
|
7307
7307
|
return _composer.value ? _composer.value.locale.value : _locale.value;
|
|
7308
7308
|
},
|
|
@@ -7313,7 +7313,7 @@ function useI18nForLegacy(instance, scope, root, options = {}) {
|
|
|
7313
7313
|
_locale.value = val;
|
|
7314
7314
|
}
|
|
7315
7315
|
});
|
|
7316
|
-
const fallbackLocale = computed
|
|
7316
|
+
const fallbackLocale = computed({
|
|
7317
7317
|
get: () => {
|
|
7318
7318
|
return _composer.value ? _composer.value.fallbackLocale.value : _fallbackLocale.value;
|
|
7319
7319
|
},
|
|
@@ -7324,15 +7324,15 @@ function useI18nForLegacy(instance, scope, root, options = {}) {
|
|
|
7324
7324
|
_fallbackLocale.value = val;
|
|
7325
7325
|
}
|
|
7326
7326
|
});
|
|
7327
|
-
const messages = computed
|
|
7327
|
+
const messages = computed(() => {
|
|
7328
7328
|
if (_composer.value) {
|
|
7329
7329
|
return _composer.value.messages.value;
|
|
7330
7330
|
} else {
|
|
7331
7331
|
return _messages.value;
|
|
7332
7332
|
}
|
|
7333
7333
|
});
|
|
7334
|
-
const datetimeFormats = computed
|
|
7335
|
-
const numberFormats = computed
|
|
7334
|
+
const datetimeFormats = computed(() => _datetimeFormats.value);
|
|
7335
|
+
const numberFormats = computed(() => _numberFormats.value);
|
|
7336
7336
|
function getPostTranslationHandler() {
|
|
7337
7337
|
return _composer.value ? _composer.value.getPostTranslationHandler() : _postTranslation;
|
|
7338
7338
|
}
|
|
@@ -11056,13 +11056,13 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11056
11056
|
const layoutConfig2 = useLayoutConfig();
|
|
11057
11057
|
const { t: t2 } = i18n.global;
|
|
11058
11058
|
const props = __props;
|
|
11059
|
-
provide("globalStore", computed
|
|
11059
|
+
provide("globalStore", computed(() => props.globalStore));
|
|
11060
11060
|
const { useReport: useReport2 } = useRequestReport(props.request, props.globalStore);
|
|
11061
11061
|
provide("useReport", useReport2);
|
|
11062
|
-
const isSignIn = computed
|
|
11062
|
+
const isSignIn = computed(() => {
|
|
11063
11063
|
return props.globalStore.isSignIn;
|
|
11064
11064
|
});
|
|
11065
|
-
const visibleItems = computed
|
|
11065
|
+
const visibleItems = computed(() => {
|
|
11066
11066
|
switch (props.sceneValue) {
|
|
11067
11067
|
case SceneValue.news:
|
|
11068
11068
|
return [ToolsFloatDisplayItem.ELSE, ToolsFloatDisplayItem.AD];
|
|
@@ -11156,7 +11156,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
11156
11156
|
}, 500);
|
|
11157
11157
|
};
|
|
11158
11158
|
const activeAdJson = ref();
|
|
11159
|
-
const activeAdItem = computed
|
|
11159
|
+
const activeAdItem = computed(() => {
|
|
11160
11160
|
var _a;
|
|
11161
11161
|
if (((_a = activeAdJson.value) == null ? void 0 : _a.adList.length) > 0) {
|
|
11162
11162
|
return activeAdJson.value.adList.filter((item) => item.showThis)[0];
|
|
@@ -11705,7 +11705,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
11705
11705
|
setup(__props) {
|
|
11706
11706
|
const props = __props;
|
|
11707
11707
|
const defaultHref = ref("javascript:void(0)");
|
|
11708
|
-
const targetHref = computed
|
|
11708
|
+
const targetHref = computed(() => {
|
|
11709
11709
|
const pattern = /https?:\/\//i;
|
|
11710
11710
|
const urlData = props.outSideLink && !pattern.test(props.href) ? `//${props.href}` : props.href;
|
|
11711
11711
|
return urlData;
|
|
@@ -12154,11 +12154,11 @@ const themeColorMap = {
|
|
|
12154
12154
|
[ThemeType.BLACK]: black,
|
|
12155
12155
|
[ThemeType.WHITE]: white
|
|
12156
12156
|
};
|
|
12157
|
-
computed
|
|
12157
|
+
computed(() => {
|
|
12158
12158
|
return themeColorMap[currentTheme.value];
|
|
12159
12159
|
});
|
|
12160
12160
|
const setThemeVal = ref();
|
|
12161
|
-
const currentTheme = computed
|
|
12161
|
+
const currentTheme = computed(() => {
|
|
12162
12162
|
return setThemeVal.value || currentThemeStorage.value || ThemeType.WHITE;
|
|
12163
12163
|
});
|
|
12164
12164
|
const setTheme = (theme2) => {
|
|
@@ -12221,7 +12221,7 @@ const usePageResize = () => {
|
|
|
12221
12221
|
md: 1024,
|
|
12222
12222
|
lg: 768
|
|
12223
12223
|
};
|
|
12224
|
-
const widthType = computed
|
|
12224
|
+
const widthType = computed(() => {
|
|
12225
12225
|
if (width.value > widthConfig.xxl) {
|
|
12226
12226
|
return "xxl";
|
|
12227
12227
|
} else if (width.value <= widthConfig.xxl && width.value > widthConfig.xl) {
|
|
@@ -12234,7 +12234,7 @@ const usePageResize = () => {
|
|
|
12234
12234
|
return "sm";
|
|
12235
12235
|
}
|
|
12236
12236
|
});
|
|
12237
|
-
const isMobile = computed
|
|
12237
|
+
const isMobile = computed(() => {
|
|
12238
12238
|
return width.value <= widthConfig["md"];
|
|
12239
12239
|
});
|
|
12240
12240
|
return { widthType, width, widthConfig, isMobile };
|
|
@@ -12335,7 +12335,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
12335
12335
|
setup(__props, { emit: __emit }) {
|
|
12336
12336
|
const props = __props;
|
|
12337
12337
|
const emits = __emit;
|
|
12338
|
-
const iconUrl = computed
|
|
12338
|
+
const iconUrl = computed(() => {
|
|
12339
12339
|
const tagType = OSS_IMAGES[props.type] || "gstar";
|
|
12340
12340
|
return getCNDImageUrl(tagType);
|
|
12341
12341
|
});
|
|
@@ -12374,7 +12374,7 @@ const FIRST_NAMESPACE_KEY = "parent_org_path";
|
|
|
12374
12374
|
const useBreadcrumb = () => {
|
|
12375
12375
|
const router2 = useRouter();
|
|
12376
12376
|
const repoInfo = inject("repoInfo");
|
|
12377
|
-
const breadcrumb = computed
|
|
12377
|
+
const breadcrumb = computed(() => {
|
|
12378
12378
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k;
|
|
12379
12379
|
const isSubOrg = !!((_b = (_a = router2.currentRoute) == null ? void 0 : _a.value) == null ? void 0 : _b.params[FIRST_NAMESPACE_KEY]);
|
|
12380
12380
|
const full_name = ((_d = (_c = repoInfo.value) == null ? void 0 : _c.namespace) == null ? void 0 : _d.full_name) || "";
|
|
@@ -13254,7 +13254,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13254
13254
|
const orgInfo = inject("orgInfo");
|
|
13255
13255
|
const otherUserInfo = inject("otherUserInfo");
|
|
13256
13256
|
const aiHubSceneValue = [SceneValue.aiHome, SceneValue.aiGuide, SceneValue.aiRepo];
|
|
13257
|
-
computed
|
|
13257
|
+
computed(() => aiHubSceneValue.includes(props.scene));
|
|
13258
13258
|
const emits = __emit;
|
|
13259
13259
|
const handleOrgFollow = (val) => {
|
|
13260
13260
|
if (props.scene !== SceneValue.org) return;
|
|
@@ -13264,7 +13264,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13264
13264
|
}
|
|
13265
13265
|
emits("followDevCommunity", !val);
|
|
13266
13266
|
};
|
|
13267
|
-
const topicTag = computed
|
|
13267
|
+
const topicTag = computed(() => {
|
|
13268
13268
|
var _a, _b;
|
|
13269
13269
|
if (props.scene !== SceneValue.repo) return false;
|
|
13270
13270
|
let repoType = 1;
|
|
@@ -13289,7 +13289,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13289
13289
|
};
|
|
13290
13290
|
return obj;
|
|
13291
13291
|
});
|
|
13292
|
-
const isOrg = computed
|
|
13292
|
+
const isOrg = computed(() => {
|
|
13293
13293
|
var _a, _b;
|
|
13294
13294
|
if (props.scene === SceneValue.repo) {
|
|
13295
13295
|
return ((_b = (_a = repoInfo.value) == null ? void 0 : _a.namespace) == null ? void 0 : _b.kind) === "group";
|
|
@@ -13304,7 +13304,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13304
13304
|
window.location.href = aiUrl;
|
|
13305
13305
|
}
|
|
13306
13306
|
};
|
|
13307
|
-
const showTimeTopic = computed
|
|
13307
|
+
const showTimeTopic = computed(() => {
|
|
13308
13308
|
var _a, _b;
|
|
13309
13309
|
if (props.scene !== SceneValue.repo) return false;
|
|
13310
13310
|
if (!((_a = repoInfo.value) == null ? void 0 : _a.last_activity_at)) {
|
|
@@ -13316,7 +13316,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
13316
13316
|
return false;
|
|
13317
13317
|
}
|
|
13318
13318
|
});
|
|
13319
|
-
const formatTime = computed
|
|
13319
|
+
const formatTime = computed(() => {
|
|
13320
13320
|
var _a;
|
|
13321
13321
|
return formatTimeFromNow((_a = repoInfo.value) == null ? void 0 : _a.last_activity_at);
|
|
13322
13322
|
});
|
|
@@ -13636,13 +13636,13 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
13636
13636
|
}
|
|
13637
13637
|
};
|
|
13638
13638
|
getTianqiRouteConfig();
|
|
13639
|
-
const logo = computed
|
|
13639
|
+
const logo = computed(() => {
|
|
13640
13640
|
if (tianqiButtonConfig.value.img) {
|
|
13641
13641
|
return currentTheme.value === ThemeType.BLACK ? tianqiButtonConfig.value.img_black : tianqiButtonConfig.value.img;
|
|
13642
13642
|
}
|
|
13643
13643
|
return currentTheme.value === ThemeType.BLACK ? logoBlack : logoWhite;
|
|
13644
13644
|
});
|
|
13645
|
-
const customClass = computed
|
|
13645
|
+
const customClass = computed(() => {
|
|
13646
13646
|
return {
|
|
13647
13647
|
"custom": tianqiButtonConfig.value.img
|
|
13648
13648
|
};
|
|
@@ -16288,7 +16288,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16288
16288
|
};
|
|
16289
16289
|
const useReport2 = inject("useReport");
|
|
16290
16290
|
const router2 = useRouter();
|
|
16291
|
-
const userLevel = computed
|
|
16291
|
+
const userLevel = computed(() => {
|
|
16292
16292
|
return props.accountInfo.level;
|
|
16293
16293
|
});
|
|
16294
16294
|
const handleUpgrade = () => {
|
|
@@ -16300,7 +16300,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
16300
16300
|
location.href = `${layoutConfig2.VITE_HOST}/setting/points`;
|
|
16301
16301
|
}
|
|
16302
16302
|
};
|
|
16303
|
-
const levelInfo = computed
|
|
16303
|
+
const levelInfo = computed(() => {
|
|
16304
16304
|
const lv = `v${userLevel.value}`;
|
|
16305
16305
|
if (userLevel.value > maxLevel) {
|
|
16306
16306
|
return levelMap.v3;
|
|
@@ -16400,7 +16400,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16400
16400
|
...params
|
|
16401
16401
|
};
|
|
16402
16402
|
};
|
|
16403
|
-
const blockList = computed
|
|
16403
|
+
const blockList = computed(() => {
|
|
16404
16404
|
if (props.independence) {
|
|
16405
16405
|
return hrefList.value;
|
|
16406
16406
|
}
|
|
@@ -16418,7 +16418,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16418
16418
|
});
|
|
16419
16419
|
return data;
|
|
16420
16420
|
};
|
|
16421
|
-
const userMenusFormat = computed
|
|
16421
|
+
const userMenusFormat = computed(() => {
|
|
16422
16422
|
if (props.userMenus) {
|
|
16423
16423
|
return menueDataFormat(props.userMenus);
|
|
16424
16424
|
}
|
|
@@ -16439,7 +16439,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16439
16439
|
{ id: "help", label: t2("gitCodeLayout.header.helpDocument"), icon: "gt-plane-project-opened", href: HELP_DOCS_URL }
|
|
16440
16440
|
]
|
|
16441
16441
|
];
|
|
16442
|
-
const routerHref = computed
|
|
16442
|
+
const routerHref = computed(() => {
|
|
16443
16443
|
var _a;
|
|
16444
16444
|
return [
|
|
16445
16445
|
...((_a = userMenusFormat.value) == null ? void 0 : _a.length) ? userMenusFormat.value : baseRouterMeus,
|
|
@@ -16463,7 +16463,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
16463
16463
|
{ id: "help", label: t2("gitCodeLayout.header.helpDocument"), icon: "gt-plane-project-opened", target: "_blank", href: HELP_DOCS_URL }
|
|
16464
16464
|
]
|
|
16465
16465
|
];
|
|
16466
|
-
const hrefList = computed
|
|
16466
|
+
const hrefList = computed(() => {
|
|
16467
16467
|
var _a;
|
|
16468
16468
|
return [
|
|
16469
16469
|
...((_a = userMenusFormat.value) == null ? void 0 : _a.length) ? userMenusFormat.value : baseHrefMeus,
|
|
@@ -16583,7 +16583,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
16583
16583
|
const { isMobile } = usePageResize();
|
|
16584
16584
|
const drawerVisible = ref(false);
|
|
16585
16585
|
const userInfo = inject("userInfo");
|
|
16586
|
-
const accountInfo = computed
|
|
16586
|
+
const accountInfo = computed(() => {
|
|
16587
16587
|
return userInfo.value || JSON.parse(localStorage$2.getItem("userInfo") || "{}");
|
|
16588
16588
|
});
|
|
16589
16589
|
const haveVisited = ref(false);
|
|
@@ -16840,19 +16840,19 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16840
16840
|
var _a;
|
|
16841
16841
|
const layoutConfig2 = useLayoutConfig();
|
|
16842
16842
|
const { t: $t } = i18n.global;
|
|
16843
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
16844
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
16845
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
16846
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
16847
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
16848
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
16849
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed
|
|
16843
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CgFhq9M-.js"));
|
|
16844
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-CKbij7Qf.js"));
|
|
16845
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-D3dxhnxB.js"));
|
|
16846
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-C3nRvQyU.js"));
|
|
16847
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-4jTF16hn.js"));
|
|
16848
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CkFvRE3s.js"));
|
|
16849
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-BnUa9dQr.js"));
|
|
16850
16850
|
const props = __props;
|
|
16851
16851
|
const repoInfo = inject("repoInfo");
|
|
16852
16852
|
const orgInfo = inject("orgInfo");
|
|
16853
16853
|
const otherUserInfo = inject("otherUserInfo");
|
|
16854
16854
|
const useReport2 = inject("useReport");
|
|
16855
|
-
const searchInfo = computed
|
|
16855
|
+
const searchInfo = computed(() => {
|
|
16856
16856
|
var _a2, _b;
|
|
16857
16857
|
if (props.sceneValue === SceneValue.org && orgInfo.value) {
|
|
16858
16858
|
return {
|
|
@@ -16877,12 +16877,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16877
16877
|
};
|
|
16878
16878
|
}
|
|
16879
16879
|
});
|
|
16880
|
-
const showRecommend = computed
|
|
16880
|
+
const showRecommend = computed(() => {
|
|
16881
16881
|
return props.sceneValue === SceneValue.home || props.sceneValue === SceneValue.repo || props.sceneValue === SceneValue.org || props.sceneValue === SceneValue.user;
|
|
16882
16882
|
});
|
|
16883
16883
|
const isFocus = ref(false);
|
|
16884
16884
|
const searchDropDownVisible = ref(false);
|
|
16885
|
-
const dropDownVisible = computed
|
|
16885
|
+
const dropDownVisible = computed(() => {
|
|
16886
16886
|
return searchDropDownVisible.value;
|
|
16887
16887
|
});
|
|
16888
16888
|
const route = useRoute();
|
|
@@ -16895,7 +16895,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16895
16895
|
const searchHotWords = ref([]);
|
|
16896
16896
|
const activeSearchKey = ref(0);
|
|
16897
16897
|
const interval = ref(null);
|
|
16898
|
-
const showRecommendSearch = computed
|
|
16898
|
+
const showRecommendSearch = computed(() => {
|
|
16899
16899
|
return !searchStr.value && !projectTagVisible.value && !languageTagVisible.value && !inputIng.value;
|
|
16900
16900
|
});
|
|
16901
16901
|
const scrollRecommend = () => {
|
|
@@ -16911,7 +16911,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16911
16911
|
localSearchInfo.value = { ...searchInfo.value };
|
|
16912
16912
|
}
|
|
16913
16913
|
};
|
|
16914
|
-
const placeholderVisible = computed
|
|
16914
|
+
const placeholderVisible = computed(() => {
|
|
16915
16915
|
if (!isSearchPage.value) {
|
|
16916
16916
|
return !isFocus.value && !searchStr.value;
|
|
16917
16917
|
}
|
|
@@ -16942,7 +16942,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16942
16942
|
isSearchPage.value = true;
|
|
16943
16943
|
setQueryTag();
|
|
16944
16944
|
}
|
|
16945
|
-
const projectTagVisible = computed
|
|
16945
|
+
const projectTagVisible = computed(() => {
|
|
16946
16946
|
return (isSearchPage.value || isFocus.value) && localSearchInfo.value.searchScopeName;
|
|
16947
16947
|
});
|
|
16948
16948
|
const cnScopeMap = {
|
|
@@ -16950,10 +16950,10 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
16950
16950
|
group: $t("gitCodeLayout.header.org"),
|
|
16951
16951
|
user: $t("gitCodeLayout.header.user")
|
|
16952
16952
|
};
|
|
16953
|
-
const languageTagVisible = computed
|
|
16953
|
+
const languageTagVisible = computed(() => {
|
|
16954
16954
|
return (isSearchPage.value || isFocus.value) && searchStr && language.value;
|
|
16955
16955
|
});
|
|
16956
|
-
const searchScopeList = computed
|
|
16956
|
+
const searchScopeList = computed(() => {
|
|
16957
16957
|
if (localSearchInfo.value.searchScope) {
|
|
16958
16958
|
switch (localSearchInfo.value.searchScope) {
|
|
16959
16959
|
case "repo":
|
|
@@ -17275,7 +17275,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
17275
17275
|
}
|
|
17276
17276
|
});
|
|
17277
17277
|
});
|
|
17278
|
-
const aiSearchType = computed
|
|
17278
|
+
const aiSearchType = computed(() => {
|
|
17279
17279
|
if (repoInfo.repo_type === repoTypeEnum.DATASET) {
|
|
17280
17280
|
return "dataset";
|
|
17281
17281
|
} else if (repoInfo.repo_type === repoTypeEnum.MODEL) {
|
|
@@ -17500,7 +17500,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
17500
17500
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
17501
17501
|
}
|
|
17502
17502
|
};
|
|
17503
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
17503
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-D2ihyyIi.js"));
|
|
17504
17504
|
function clearNotice() {
|
|
17505
17505
|
if (localStorage$2.getItem("validator_email")) {
|
|
17506
17506
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17590,15 +17590,15 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17590
17590
|
const { useReport: useReport2 } = useRequestReport(props.request, props.globalStore);
|
|
17591
17591
|
const emit = __emit;
|
|
17592
17592
|
provide("request", props.request);
|
|
17593
|
-
provide("globalStore", computed
|
|
17594
|
-
provide("repoInfo", computed
|
|
17595
|
-
provide("orgInfo", computed
|
|
17596
|
-
provide("userInfo", computed
|
|
17597
|
-
provide("otherUserInfo", computed
|
|
17593
|
+
provide("globalStore", computed(() => props.globalStore));
|
|
17594
|
+
provide("repoInfo", computed(() => props.repoInfo));
|
|
17595
|
+
provide("orgInfo", computed(() => props.orgInfo));
|
|
17596
|
+
provide("userInfo", computed(() => props.userInfo));
|
|
17597
|
+
provide("otherUserInfo", computed(() => props.otherUserInfo));
|
|
17598
17598
|
provide("useReport", useReport2);
|
|
17599
|
-
provide("isLogin", computed
|
|
17599
|
+
provide("isLogin", computed(() => props.isLogin));
|
|
17600
17600
|
const closeStickyNotice = ref(false);
|
|
17601
|
-
const visibleItems = computed
|
|
17601
|
+
const visibleItems = computed(() => {
|
|
17602
17602
|
if (props.headerFunctions && props.headerFunctions.length > 0) {
|
|
17603
17603
|
return props.headerFunctions;
|
|
17604
17604
|
}
|
|
@@ -17625,7 +17625,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17625
17625
|
const isModuleVisible = (auth) => {
|
|
17626
17626
|
return visibleItems.value.includes(auth);
|
|
17627
17627
|
};
|
|
17628
|
-
const isHomePageHiddenMenuBtn = computed
|
|
17628
|
+
const isHomePageHiddenMenuBtn = computed(() => {
|
|
17629
17629
|
return props.sceneValue === SceneValue.home && ["home", "issues", "kanban", "discussionCreated", "merge"].includes(route.name) && !["sm", "lg"].includes(widthType.value);
|
|
17630
17630
|
});
|
|
17631
17631
|
const { isMobile } = usePageResize();
|
|
@@ -17633,7 +17633,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17633
17633
|
const headerRef = ref(null);
|
|
17634
17634
|
const { height = 56 } = useElementSize(headerRef);
|
|
17635
17635
|
const GrayBgSceneValue = [SceneValue.repo, SceneValue.org, SceneValue.user];
|
|
17636
|
-
const headerClassName = computed
|
|
17636
|
+
const headerClassName = computed(() => {
|
|
17637
17637
|
var _a2, _b;
|
|
17638
17638
|
if ((_a2 = route == null ? void 0 : route.meta) == null ? void 0 : _a2.headerClassName) {
|
|
17639
17639
|
return (_b = route == null ? void 0 : route.meta) == null ? void 0 : _b.headerClassName;
|
|
@@ -17643,17 +17643,17 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17643
17643
|
}
|
|
17644
17644
|
return "";
|
|
17645
17645
|
});
|
|
17646
|
-
const hideNav = computed
|
|
17646
|
+
const hideNav = computed(() => {
|
|
17647
17647
|
var _a2;
|
|
17648
17648
|
return (_a2 = route == null ? void 0 : route.meta) == null ? void 0 : _a2.hideNav;
|
|
17649
17649
|
});
|
|
17650
17650
|
const aiHubSceneValue = [SceneValue.aiHome, SceneValue.aiGuide, SceneValue.aiRepo];
|
|
17651
|
-
const inAIHub = computed
|
|
17651
|
+
const inAIHub = computed(() => aiHubSceneValue.includes(props.sceneValue));
|
|
17652
17652
|
if (!((_a = route == null ? void 0 : route.meta) == null ? void 0 : _a.hiddenThemeSetting)) {
|
|
17653
17653
|
theme.initAutoTheme();
|
|
17654
17654
|
}
|
|
17655
17655
|
const isChatBot = ref(false);
|
|
17656
|
-
const isHome = computed
|
|
17656
|
+
const isHome = computed(() => props.sceneValue === SceneValue.home);
|
|
17657
17657
|
const showHeaderShadow = ref(false);
|
|
17658
17658
|
window.addEventListener("scroll", function() {
|
|
17659
17659
|
if (window.scrollY > 1 && !showHeaderShadow.value) {
|
|
@@ -17663,7 +17663,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17663
17663
|
showHeaderShadow.value = false;
|
|
17664
17664
|
}
|
|
17665
17665
|
});
|
|
17666
|
-
const showNameAndIcon = computed
|
|
17666
|
+
const showNameAndIcon = computed(() => {
|
|
17667
17667
|
var _a2, _b, _c;
|
|
17668
17668
|
if (isModuleVisible(HeaderDisplayItem.NAME_AND_ICON) || ((_a2 = props.headerCustomProps) == null ? void 0 : _a2.errorCode)) {
|
|
17669
17669
|
return true;
|
|
@@ -17699,29 +17699,29 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17699
17699
|
notice();
|
|
17700
17700
|
}
|
|
17701
17701
|
};
|
|
17702
|
-
const isIndexHead = computed
|
|
17702
|
+
const isIndexHead = computed(() => {
|
|
17703
17703
|
return props.bgConfig.index_head && isHome.value && window.location.pathname === "/";
|
|
17704
17704
|
});
|
|
17705
17705
|
const homeTabPage = ["/issues", "/pulls", "/kanban", "/discussions"];
|
|
17706
|
-
const isShowStickyNotice = computed
|
|
17706
|
+
const isShowStickyNotice = computed(() => {
|
|
17707
17707
|
return ([SceneValue.repo, SceneValue.org, SceneValue.user, SceneValue.aiHome, SceneValue.aiRepo, SceneValue.aiGuide, SceneValue.blog].includes(props.sceneValue) || isHome.value && window.location.pathname != "/" && !homeTabPage.includes(window.location.pathname)) && props.bgConfig.detail_toolbar;
|
|
17708
17708
|
});
|
|
17709
|
-
const detailToolbarImg = computed
|
|
17709
|
+
const detailToolbarImg = computed(() => {
|
|
17710
17710
|
return (currentTheme.value === ThemeType.WHITE && props.sceneValue !== SceneValue.aiHome ? props.bgConfig.detail_toolbar : props.bgConfig.detail_toolbar_black) || props.bgConfig.detail_toolbar;
|
|
17711
17711
|
});
|
|
17712
|
-
const detailTopImg = computed
|
|
17712
|
+
const detailTopImg = computed(() => {
|
|
17713
17713
|
return (currentTheme.value === ThemeType.WHITE ? props.bgConfig.detail_top : props.bgConfig.detail_top_black) || props.bgConfig.detail_top;
|
|
17714
17714
|
});
|
|
17715
|
-
const stickyNoticeInfo = computed
|
|
17715
|
+
const stickyNoticeInfo = computed(() => {
|
|
17716
17716
|
return isShowStickyNotice.value ? detailTopImg.value : "";
|
|
17717
17717
|
});
|
|
17718
|
-
const isShowStickyNoticeByClose = computed
|
|
17718
|
+
const isShowStickyNoticeByClose = computed(() => {
|
|
17719
17719
|
return Boolean(stickyNoticeInfo.value) && !closeStickyNotice.value;
|
|
17720
17720
|
});
|
|
17721
|
-
const detailBgInfo = computed
|
|
17721
|
+
const detailBgInfo = computed(() => {
|
|
17722
17722
|
return isShowStickyNotice.value ? detailToolbarImg.value : "";
|
|
17723
17723
|
});
|
|
17724
|
-
const detailBgStyle = computed
|
|
17724
|
+
const detailBgStyle = computed(() => {
|
|
17725
17725
|
return detailBgInfo.value ? {
|
|
17726
17726
|
backgroundImage: `url(${detailBgInfo.value})`,
|
|
17727
17727
|
backgroundPosition: "center",
|
|
@@ -17729,7 +17729,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17729
17729
|
backgroundSize: "cover"
|
|
17730
17730
|
} : {};
|
|
17731
17731
|
});
|
|
17732
|
-
const stickyNoticeStyle = computed
|
|
17732
|
+
const stickyNoticeStyle = computed(() => {
|
|
17733
17733
|
return stickyNoticeInfo.value ? {
|
|
17734
17734
|
backgroundImage: `url(${stickyNoticeInfo.value})`,
|
|
17735
17735
|
backgroundPosition: "center",
|
|
@@ -17773,14 +17773,14 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
17773
17773
|
childComponents: props == null ? void 0 : props.loginChildComponents
|
|
17774
17774
|
};
|
|
17775
17775
|
};
|
|
17776
|
-
computed
|
|
17776
|
+
computed(() => {
|
|
17777
17777
|
const urlParams = new URLSearchParams(window.location.search);
|
|
17778
17778
|
const isLogin = urlParams.get("isLogin");
|
|
17779
17779
|
const fromId = urlParams.get("from_id");
|
|
17780
17780
|
const webId = urlParams.get("web_id");
|
|
17781
17781
|
return isLogin === "1" && fromId && webId;
|
|
17782
17782
|
});
|
|
17783
|
-
const isQuickAppLoginReportParams = computed
|
|
17783
|
+
const isQuickAppLoginReportParams = computed(() => {
|
|
17784
17784
|
return api.get("isRegister") && api.get("success") && api.get("registerLoginMethod");
|
|
17785
17785
|
});
|
|
17786
17786
|
const reportHuoShan = () => {
|
|
@@ -18068,14 +18068,14 @@ const useConfigSide = (request, sceneValue) => {
|
|
|
18068
18068
|
const API = asideRequest(request);
|
|
18069
18069
|
const route = useRoute();
|
|
18070
18070
|
const sideLoading = ref(false);
|
|
18071
|
-
const isEn = computed
|
|
18071
|
+
const isEn = computed(() => {
|
|
18072
18072
|
return getLocaleLang() === LANG_EN;
|
|
18073
18073
|
});
|
|
18074
|
-
const showBgColor = computed
|
|
18074
|
+
const showBgColor = computed(() => {
|
|
18075
18075
|
return route.meta.showBgColor || false;
|
|
18076
18076
|
});
|
|
18077
18077
|
const area = ref([]);
|
|
18078
|
-
const assetMenus = computed
|
|
18078
|
+
const assetMenus = computed(() => {
|
|
18079
18079
|
return [
|
|
18080
18080
|
{
|
|
18081
18081
|
left_menu_name_cn: "首页",
|
|
@@ -18257,9 +18257,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18257
18257
|
const layoutConfig2 = useLayoutConfig();
|
|
18258
18258
|
const { t: t2 } = i18n.global;
|
|
18259
18259
|
const route = useRoute();
|
|
18260
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
18261
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
18262
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
18260
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-BcQqV2Wu.js"));
|
|
18261
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-m5kLZG4e.js"));
|
|
18262
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-DxsYh5Un.js"));
|
|
18263
18263
|
const props = __props;
|
|
18264
18264
|
console.log("slotKeys", props.slotKeys);
|
|
18265
18265
|
console.log("props", props);
|
|
@@ -18277,8 +18277,8 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18277
18277
|
const isOrganization = (item) => {
|
|
18278
18278
|
return item.jump_type === JumpType.Search && item.search_type === SearchType.Organization;
|
|
18279
18279
|
};
|
|
18280
|
-
const username = computed
|
|
18281
|
-
const projectProps = computed
|
|
18280
|
+
const username = computed(() => (userInfo == null ? void 0 : userInfo.username) || JSON.parse(localStorage.getItem("userInfo") || "{}").username);
|
|
18281
|
+
const projectProps = computed(() => {
|
|
18282
18282
|
return {
|
|
18283
18283
|
subShow: subShow.value.project,
|
|
18284
18284
|
key: "project",
|
|
@@ -18288,7 +18288,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18288
18288
|
username: username.value
|
|
18289
18289
|
};
|
|
18290
18290
|
});
|
|
18291
|
-
const orgProps = computed
|
|
18291
|
+
const orgProps = computed(() => {
|
|
18292
18292
|
return {
|
|
18293
18293
|
subShow: subShow.value.team,
|
|
18294
18294
|
type: "team",
|
|
@@ -18324,13 +18324,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18324
18324
|
}
|
|
18325
18325
|
return MenuItem;
|
|
18326
18326
|
};
|
|
18327
|
-
const hasOrg = computed
|
|
18327
|
+
const hasOrg = computed(() => {
|
|
18328
18328
|
return props.list.some((item) => isOrganization(item));
|
|
18329
18329
|
});
|
|
18330
|
-
const hasProject = computed
|
|
18330
|
+
const hasProject = computed(() => {
|
|
18331
18331
|
return props.list.some((item) => isProject(item));
|
|
18332
18332
|
});
|
|
18333
|
-
const filterList = computed
|
|
18333
|
+
const filterList = computed(() => {
|
|
18334
18334
|
return props.list.filter((item) => {
|
|
18335
18335
|
if (!item.select_scene || item.select_scene.length === 0) {
|
|
18336
18336
|
return true;
|
|
@@ -18339,10 +18339,10 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
18339
18339
|
});
|
|
18340
18340
|
});
|
|
18341
18341
|
const searchKeys = ["project", "team"];
|
|
18342
|
-
const layoutSlotKeys = computed
|
|
18342
|
+
const layoutSlotKeys = computed(() => {
|
|
18343
18343
|
return props.slotKeys.filter((key) => searchKeys.includes(key));
|
|
18344
18344
|
});
|
|
18345
|
-
const mainSiteSlotKeys = computed
|
|
18345
|
+
const mainSiteSlotKeys = computed(() => {
|
|
18346
18346
|
return props.slotKeys.filter((key) => !searchKeys.includes(key));
|
|
18347
18347
|
});
|
|
18348
18348
|
const LayoutSlotComponent = (item) => {
|
|
@@ -18628,10 +18628,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
18628
18628
|
__name: "SubMenuList",
|
|
18629
18629
|
setup(__props) {
|
|
18630
18630
|
const { t: t2 } = i18n.global;
|
|
18631
|
-
const isEn = computed
|
|
18631
|
+
const isEn = computed(() => {
|
|
18632
18632
|
return getLocaleLang() === LANG_EN;
|
|
18633
18633
|
});
|
|
18634
|
-
const linkList = computed
|
|
18634
|
+
const linkList = computed(() => {
|
|
18635
18635
|
return [
|
|
18636
18636
|
{
|
|
18637
18637
|
name: t2("gitCodeLayout.header.helpDocument"),
|
|
@@ -18720,7 +18720,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
18720
18720
|
const { t: t2 } = i18n.global;
|
|
18721
18721
|
const setting = createSetting();
|
|
18722
18722
|
const { copyright } = setting;
|
|
18723
|
-
const isEn = computed
|
|
18723
|
+
const isEn = computed(() => {
|
|
18724
18724
|
return getLocaleLang() === LANG_EN;
|
|
18725
18725
|
});
|
|
18726
18726
|
return (_ctx, _cache) => {
|
|
@@ -18813,7 +18813,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18813
18813
|
const route = useRoute();
|
|
18814
18814
|
const request = inject("request");
|
|
18815
18815
|
const props = __props;
|
|
18816
|
-
const layoutSlotKeys = computed
|
|
18816
|
+
const layoutSlotKeys = computed(() => {
|
|
18817
18817
|
return [...props.slotKeys, "project", "team"];
|
|
18818
18818
|
});
|
|
18819
18819
|
const useReport2 = inject("useReport");
|
|
@@ -18822,7 +18822,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18822
18822
|
fetchArea();
|
|
18823
18823
|
const isScroll = ref(false);
|
|
18824
18824
|
const timer = ref(null);
|
|
18825
|
-
const visibleItems = computed
|
|
18825
|
+
const visibleItems = computed(() => {
|
|
18826
18826
|
switch (props.sceneValue) {
|
|
18827
18827
|
case SceneValue.news:
|
|
18828
18828
|
return [];
|
|
@@ -18855,8 +18855,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18855
18855
|
const isModuleVisible = (auth) => {
|
|
18856
18856
|
return visibleItems.value.includes(auth);
|
|
18857
18857
|
};
|
|
18858
|
-
computed
|
|
18859
|
-
const showPreferencesSetting = computed
|
|
18858
|
+
computed(() => (userInfo == null ? void 0 : userInfo.username) || JSON.parse(localStorage.getItem("userInfo") || "{}").username);
|
|
18859
|
+
const showPreferencesSetting = computed(() => {
|
|
18860
18860
|
if (props.showPreferencesSetting !== void 0) return props.showPreferencesSetting;
|
|
18861
18861
|
return route.name !== AICopilot_ROUTE_NAME && isModuleVisible(AsideDisplayItem.PREFERENCE);
|
|
18862
18862
|
});
|
|
@@ -18892,7 +18892,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
18892
18892
|
return item2;
|
|
18893
18893
|
});
|
|
18894
18894
|
};
|
|
18895
|
-
const displayArea = computed
|
|
18895
|
+
const displayArea = computed(() => {
|
|
18896
18896
|
return area.value.filter((item) => {
|
|
18897
18897
|
return getAreaItem(item).length;
|
|
18898
18898
|
});
|
|
@@ -18997,29 +18997,29 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
18997
18997
|
const { useReport: useReport2 } = useRequestReport(props.request, props.globalStore);
|
|
18998
18998
|
provide(
|
|
18999
18999
|
"globalStore",
|
|
19000
|
-
computed
|
|
19000
|
+
computed(() => props.globalStore)
|
|
19001
19001
|
);
|
|
19002
19002
|
provide("request", props.request);
|
|
19003
19003
|
provide(
|
|
19004
19004
|
"userInfo",
|
|
19005
|
-
computed
|
|
19005
|
+
computed(() => props.userInfo)
|
|
19006
19006
|
);
|
|
19007
19007
|
provide("useReport", useReport2);
|
|
19008
|
-
computed
|
|
19008
|
+
computed(() => {
|
|
19009
19009
|
if (route.meta.showBgColor) return true;
|
|
19010
19010
|
return false;
|
|
19011
19011
|
});
|
|
19012
19012
|
const sizeStore = usePageResize();
|
|
19013
|
-
const asideSetShow = computed
|
|
19013
|
+
const asideSetShow = computed(() => {
|
|
19014
19014
|
return (props.sceneValue === SceneValue.home && !sizeStore.isMobile.value || props.collapseMode) && !props.disableFlatMode;
|
|
19015
19015
|
});
|
|
19016
19016
|
provide("asideSetShow", asideSetShow);
|
|
19017
19017
|
console.log("indexasideSetShow", asideSetShow.value);
|
|
19018
|
-
const isHome = computed
|
|
19018
|
+
const isHome = computed(() => {
|
|
19019
19019
|
return props.sceneValue === SceneValue.home && ["home", "issues", "kanban", "discussionCreated", "merge", "dashboard"].includes(route.name);
|
|
19020
19020
|
});
|
|
19021
19021
|
usePageResize();
|
|
19022
|
-
const asideSize = computed
|
|
19022
|
+
const asideSize = computed(() => {
|
|
19023
19023
|
if (props.collapseMode) {
|
|
19024
19024
|
return ASIDE_MENU_MODE.collapse;
|
|
19025
19025
|
} else {
|
|
@@ -19027,7 +19027,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19027
19027
|
}
|
|
19028
19028
|
});
|
|
19029
19029
|
const asideSetShowLittle = useStorage("asideSetShowLittle", false);
|
|
19030
|
-
const asideSetShowLittleMode = computed
|
|
19030
|
+
const asideSetShowLittleMode = computed(() => {
|
|
19031
19031
|
if (props.collapseMode) {
|
|
19032
19032
|
return true;
|
|
19033
19033
|
} else if (isHome.value) {
|
|
@@ -19037,7 +19037,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
19037
19037
|
}
|
|
19038
19038
|
});
|
|
19039
19039
|
const asideDefaultWidth = useStorage("asideDefaultWidth", sizeStore.isMobile.value ? 0 : asideSize.value.expand);
|
|
19040
|
-
const mainMarginLeftWidth = computed
|
|
19040
|
+
const mainMarginLeftWidth = computed(() => {
|
|
19041
19041
|
if (!asideSetShow.value || sizeStore.isMobile.value) {
|
|
19042
19042
|
return 0;
|
|
19043
19043
|
}
|
|
@@ -20523,7 +20523,7 @@ const __vite_glob_0_10 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
20523
20523
|
default: logoWechat
|
|
20524
20524
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
20525
20525
|
function useModel(props, emits) {
|
|
20526
|
-
const vModels = computed
|
|
20526
|
+
const vModels = computed({
|
|
20527
20527
|
get() {
|
|
20528
20528
|
return props.modelValue;
|
|
20529
20529
|
},
|
|
@@ -20582,7 +20582,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
|
20582
20582
|
if (status) {
|
|
20583
20583
|
toCountDown();
|
|
20584
20584
|
}
|
|
20585
|
-
const BtnText = computed
|
|
20585
|
+
const BtnText = computed(() => {
|
|
20586
20586
|
if (DisabledBtn.value) {
|
|
20587
20587
|
return `${$t("gitCodeLayout.common.hasBeenSent")} ${CountDown.value}`;
|
|
20588
20588
|
} else {
|
|
@@ -20943,7 +20943,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
20943
20943
|
};
|
|
20944
20944
|
}
|
|
20945
20945
|
};
|
|
20946
|
-
const getItemWidth = computed
|
|
20946
|
+
const getItemWidth = computed(() => {
|
|
20947
20947
|
return function(FormItem2) {
|
|
20948
20948
|
if (FormItem2.width === "auto") {
|
|
20949
20949
|
return "auto";
|
|
@@ -23748,7 +23748,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23748
23748
|
},
|
|
23749
23749
|
emits: ["success", "back", "fail"],
|
|
23750
23750
|
setup(__props, { emit: __emit }) {
|
|
23751
|
-
const currentLogo = computed
|
|
23751
|
+
const currentLogo = computed(() => {
|
|
23752
23752
|
if (currentTheme.value === ThemeType.BLACK) {
|
|
23753
23753
|
return GIT_CODE_LOGO_WHITE;
|
|
23754
23754
|
}
|
|
@@ -23760,7 +23760,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23760
23760
|
const props = __props;
|
|
23761
23761
|
const coverCode = ref("");
|
|
23762
23762
|
const loading = ref(false);
|
|
23763
|
-
const modeTitle = computed
|
|
23763
|
+
const modeTitle = computed(() => {
|
|
23764
23764
|
return mode.value === "code" ? t2("gitCodeLayout.LoginModal.mfatip3") : t2("gitCodeLayout.LoginModal.mfatip4");
|
|
23765
23765
|
});
|
|
23766
23766
|
const inputList = ref([
|
|
@@ -23795,7 +23795,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23795
23795
|
});
|
|
23796
23796
|
mode.value = mo;
|
|
23797
23797
|
};
|
|
23798
|
-
const confirmDisabled = computed
|
|
23798
|
+
const confirmDisabled = computed(() => {
|
|
23799
23799
|
var _a;
|
|
23800
23800
|
if (mode.value === "code") {
|
|
23801
23801
|
return inputList.value.find((item) => !item.value);
|
|
@@ -23971,7 +23971,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
23971
23971
|
}
|
|
23972
23972
|
});
|
|
23973
23973
|
const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
|
|
23974
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
23974
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-Bd5_QVJj.js"));
|
|
23975
23975
|
const useSlidCaptcha = () => {
|
|
23976
23976
|
const { mount, unMount } = usePopup("slid-captcha-popup");
|
|
23977
23977
|
const open = (config) => {
|
|
@@ -23990,7 +23990,7 @@ const useSlidCaptcha = () => {
|
|
|
23990
23990
|
close: unMount
|
|
23991
23991
|
};
|
|
23992
23992
|
};
|
|
23993
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
23993
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-CaumrA4X.js"));
|
|
23994
23994
|
const useYunpianCaptcha = () => {
|
|
23995
23995
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
23996
23996
|
const open = (config) => {
|
|
@@ -24223,7 +24223,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24223
24223
|
emits: ["update:modelValue", "login", "close", "link", "openHarmonyGuide", "directClose"],
|
|
24224
24224
|
setup(__props, { emit: __emit }) {
|
|
24225
24225
|
const layoutConfig2 = useLayoutConfig();
|
|
24226
|
-
computed
|
|
24226
|
+
computed(() => {
|
|
24227
24227
|
var _a;
|
|
24228
24228
|
return layoutConfig2.VITE_AI_HOST === ((_a = window == null ? void 0 : window.location) == null ? void 0 : _a.origin);
|
|
24229
24229
|
});
|
|
@@ -24542,7 +24542,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24542
24542
|
handleConfirm();
|
|
24543
24543
|
};
|
|
24544
24544
|
const MiniProgramForm = reactive([]);
|
|
24545
|
-
const FormConfig = computed
|
|
24545
|
+
const FormConfig = computed(() => {
|
|
24546
24546
|
if (formType.value === "register") {
|
|
24547
24547
|
return {
|
|
24548
24548
|
dict: RegisterForm.map((item) => {
|
|
@@ -25130,7 +25130,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25130
25130
|
const handleFormInput = (val) => {
|
|
25131
25131
|
disabled.value = val;
|
|
25132
25132
|
};
|
|
25133
|
-
const errorMsg = computed
|
|
25133
|
+
const errorMsg = computed(() => {
|
|
25134
25134
|
var _a;
|
|
25135
25135
|
const keys = Object.keys(formErrors);
|
|
25136
25136
|
const currentForm = FormConfig.value.dict;
|
|
@@ -25872,6 +25872,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25872
25872
|
},
|
|
25873
25873
|
__name: "Login",
|
|
25874
25874
|
props: {
|
|
25875
|
+
isLogin: { type: Boolean },
|
|
25875
25876
|
request: { type: Function, default: proxyService },
|
|
25876
25877
|
loginOutFinish: {},
|
|
25877
25878
|
loginSuccess: {},
|
|
@@ -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, j as LANG_ZH, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, x as getLocaleLang, j as LANG_ZH, _ as _export_sfc } from "./index-CUNaeC_5.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
constructor() {
|
|
14
14
|
__publicField(this, "ypRiddlerInstance", null);
|
package/index.d.ts
CHANGED
|
@@ -492,6 +492,10 @@ declare enum HeaderDisplayItem {
|
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
495
|
+
isLogin: {
|
|
496
|
+
type: PropType<boolean>;
|
|
497
|
+
required: true;
|
|
498
|
+
};
|
|
495
499
|
request: {
|
|
496
500
|
type: PropType<Function>;
|
|
497
501
|
required: true;
|
|
@@ -523,6 +527,10 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
|
523
527
|
default: boolean;
|
|
524
528
|
};
|
|
525
529
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
530
|
+
isLogin: {
|
|
531
|
+
type: PropType<boolean>;
|
|
532
|
+
required: true;
|
|
533
|
+
};
|
|
526
534
|
request: {
|
|
527
535
|
type: PropType<Function>;
|
|
528
536
|
required: true;
|
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-CUNaeC_5.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";
|
package/package.json
CHANGED