vue-layout-gitcode 1.10.25 → 1.10.27
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-CdIJKHH8.js → GloabarSearch-Buiv2lcJ.js} +3 -3
- package/{MenuItem-yIwpBiIG.js → MenuItem-8HARBjGZ.js} +1 -1
- package/{ProjectMenuList-CMbFkA2n.js → ProjectMenuList-0oxhtIrv.js} +8 -8
- package/{ProjectMenuListV2-BdoL2j5e.js → ProjectMenuListV2-Oem6VHtg.js} +3 -3
- package/{ProjectSearch-B1odLa7K.js → ProjectSearch-DhlTHtbH.js} +1 -1
- package/{SearchHistoryList-CD3n-8UA.js → SearchHistoryList-DaUxFrnl.js} +5 -5
- package/{SearchPrefixTag-DNMJKJDl.js → SearchPrefixTag-D4lnYtVh.js} +3 -3
- package/{SearchRecommed-BLZbwO3t.js → SearchRecommed-1-Tegrqg.js} +2 -2
- package/{SearchScopeList-klYmskLn.js → SearchScopeList-DRlIEJYp.js} +3 -3
- package/{UserSearch-D5W_AnfE.js → UserSearch-cxZZ1R92.js} +1 -1
- package/{index-CkhF7GKK.js → index-BcTMeq_m.js} +1 -2
- package/{index-DsMpEXjy.js → index-ByOh5NW8.js} +860 -812
- package/{index-Bh7LwOD8.js → index-D1Djz-hG.js} +4 -6
- package/{index-WNqZeU9D.js → index-jZoQVcFW.js} +41 -44
- package/index.d.ts +8 -8
- package/index.js +11 -11
- package/{notice-BY01Pv6K.js → notice-C2E17Eyp.js} +8 -10
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-Rghzrwy8.js → transWebUrl-HGmR41qn.js} +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as
|
|
2
|
+
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-ByOh5NW8.js";
|
|
3
3
|
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
4
4
|
import "vue-devui-lal/overlay/style.css";
|
|
5
5
|
const TARGET_TEXT = "Click in order:";
|
|
@@ -8,7 +8,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
8
8
|
__name: "index",
|
|
9
9
|
emits: ["close", "success"],
|
|
10
10
|
setup(__props, { emit: __emit }) {
|
|
11
|
-
const isZh = getLocaleLang() === LANG_ZH;
|
|
12
11
|
const emits = __emit;
|
|
13
12
|
let timer = null;
|
|
14
13
|
const captchaInit = async () => {
|
|
@@ -106,11 +105,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
105
|
});
|
|
107
106
|
return (_ctx, _cache) => {
|
|
108
107
|
return openBlock(), createBlock(unref(FixedOverlay), { class: "captcha-overlay-slid" }, {
|
|
109
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
108
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
110
109
|
createElementVNode("div", { id: "captcha-box" }, null, -1)
|
|
111
|
-
])),
|
|
112
|
-
_: 1
|
|
113
|
-
__: [0]
|
|
110
|
+
])]),
|
|
111
|
+
_: 1
|
|
114
112
|
});
|
|
115
113
|
};
|
|
116
114
|
}
|
|
@@ -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, j as useCookie, k as usePageResize, L as LANG_ZH, 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, w as LANG_KEY } 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, j as useCookie, k as usePageResize, L as LANG_ZH, 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, w as LANG_KEY } from "./index-ByOh5NW8.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-HGmR41qn.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";
|
|
@@ -87,7 +87,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
87
87
|
},
|
|
88
88
|
setup(__props) {
|
|
89
89
|
return (_ctx, _cache) => {
|
|
90
|
-
return toDisplayString(unref(transferNumber)({ number:
|
|
90
|
+
return toDisplayString(unref(transferNumber)({ number: __props.number, fixed: __props.fixed, byte: __props.byte, gt100: __props.gt100 }));
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
});
|
|
@@ -225,7 +225,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
225
225
|
}]),
|
|
226
226
|
onClick: withModifiers(handleStar, ["stop", "prevent"])
|
|
227
227
|
}, [
|
|
228
|
-
|
|
228
|
+
__props.isLike ? (openBlock(), createBlock(Like, {
|
|
229
229
|
key: 0,
|
|
230
230
|
class: "mr-[4px]",
|
|
231
231
|
modelValue: starred.value,
|
|
@@ -279,7 +279,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
279
279
|
}),
|
|
280
280
|
createElementVNode("span", null, [
|
|
281
281
|
createVNode(_sfc_main$a, {
|
|
282
|
-
number:
|
|
282
|
+
number: __props.count || 0
|
|
283
283
|
}, null, 8, ["number"])
|
|
284
284
|
])
|
|
285
285
|
]);
|
|
@@ -351,9 +351,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
351
351
|
color: "var(--theme-home-card-color-placeholder)",
|
|
352
352
|
size: "14"
|
|
353
353
|
}),
|
|
354
|
-
!
|
|
354
|
+
!__props.hideText ? (openBlock(), createElementBlock("span", _hoisted_2$4, toDisplayString(unref($t)("gitCodeLayout.components.repo.today")), 1)) : createCommentVNode("", true),
|
|
355
355
|
createVNode(_sfc_main$a, {
|
|
356
|
-
number:
|
|
356
|
+
number: __props.starCountOne || 0
|
|
357
357
|
}, null, 8, ["number"])
|
|
358
358
|
]);
|
|
359
359
|
};
|
|
@@ -386,7 +386,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
386
386
|
createElementVNode("span", _hoisted_2$3, [
|
|
387
387
|
_cache[0] || (_cache[0] = createTextVNode("Star ", -1)),
|
|
388
388
|
createVNode(_sfc_main$a, {
|
|
389
|
-
number:
|
|
389
|
+
number: __props.count || 0,
|
|
390
390
|
gt100: true
|
|
391
391
|
}, null, 8, ["number"])
|
|
392
392
|
])
|
|
@@ -446,32 +446,32 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
446
446
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
447
447
|
createElementVNode("div", null, [
|
|
448
448
|
createElementVNode("div", _hoisted_1$3, [
|
|
449
|
-
|
|
449
|
+
__props.tagInfo ? (openBlock(), createBlock(LanguageTag, {
|
|
450
450
|
key: 0,
|
|
451
|
-
"tag-info":
|
|
451
|
+
"tag-info": __props.tagInfo
|
|
452
452
|
}, null, 8, ["tag-info"])) : createCommentVNode("", true),
|
|
453
|
-
!
|
|
453
|
+
!__props.hideStarCount ? (openBlock(), createBlock(StarCountOne, {
|
|
454
454
|
key: 1,
|
|
455
455
|
hideText: "",
|
|
456
|
-
starCountOne:
|
|
456
|
+
starCountOne: __props.repoInfo.star_count
|
|
457
457
|
}, null, 8, ["starCountOne"])) : createCommentVNode("", true),
|
|
458
|
-
|
|
458
|
+
__props.repoInfo.forks_count ? (openBlock(), createBlock(ForkTag, {
|
|
459
459
|
key: 2,
|
|
460
|
-
count:
|
|
460
|
+
count: __props.repoInfo.forks_count
|
|
461
461
|
}, null, 8, ["count"])) : createCommentVNode("", true),
|
|
462
462
|
showUpdateTimeDot.value ? (openBlock(), createElementBlock("div", _hoisted_2$2)) : createCommentVNode("", true),
|
|
463
|
-
!
|
|
464
|
-
!
|
|
463
|
+
!__props.hideUpdateTime ? (openBlock(), createElementBlock("div", _hoisted_3$2, toDisplayString(unref(formatTimeFromNow)((__props.searchCard ? __props.repoInfo.last_repository_updated_at : __props.repoInfo.last_activity_at) || __props.repoInfo.last_activity_at)), 1)) : createCommentVNode("", true),
|
|
464
|
+
!__props.hideStarIncrease && __props.repoInfo.star_count_one ? (openBlock(), createBlock(StarCountOne, {
|
|
465
465
|
key: 5,
|
|
466
|
-
starCountOne:
|
|
466
|
+
starCountOne: __props.repoInfo.star_count_one
|
|
467
467
|
}, null, 8, ["starCountOne"])) : createCommentVNode("", true),
|
|
468
|
-
|
|
468
|
+
__props.repoInfo.is_gh_mirrors ? (openBlock(), createBlock(GithubStarNum, {
|
|
469
469
|
key: 6,
|
|
470
|
-
count:
|
|
470
|
+
count: __props.repoInfo.import_star_count
|
|
471
471
|
}, null, 8, ["count"])) : createCommentVNode("", true)
|
|
472
472
|
])
|
|
473
473
|
]),
|
|
474
|
-
!
|
|
474
|
+
!__props.hideTopicTags && topicNames.value.length && __props.searchCard ? (openBlock(), createElementBlock("div", {
|
|
475
475
|
key: 0,
|
|
476
476
|
class: "topic-tags",
|
|
477
477
|
ref_key: "topicTagsRef",
|
|
@@ -535,8 +535,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
535
535
|
default: withCtx(() => [
|
|
536
536
|
_cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag w-[32px] h-[15px] text-[9px] text-[#ffffff] flex items-center justify-center leading-[1]" }, "New", -1))
|
|
537
537
|
]),
|
|
538
|
-
_: 1
|
|
539
|
-
__: [0]
|
|
538
|
+
_: 1
|
|
540
539
|
})) : createCommentVNode("", true);
|
|
541
540
|
};
|
|
542
541
|
}
|
|
@@ -719,7 +718,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
719
718
|
});
|
|
720
719
|
return (_ctx, _cache) => {
|
|
721
720
|
return openBlock(), createElementBlock("a", {
|
|
722
|
-
class: normalizeClass(["i-search-projects-card cursor-pointer", { noborder:
|
|
721
|
+
class: normalizeClass(["i-search-projects-card cursor-pointer", { noborder: __props.noborder, "full-hover": __props.hover }]),
|
|
723
722
|
onClick: handleClick
|
|
724
723
|
}, [
|
|
725
724
|
createVNode(unref(Row), { class: "i-search-projects-card-title" }, {
|
|
@@ -733,45 +732,43 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
733
732
|
return [
|
|
734
733
|
createVNode(GIcon, {
|
|
735
734
|
name: iconName.value,
|
|
736
|
-
class: normalizeClass({ "align-middle":
|
|
735
|
+
class: normalizeClass({ "align-middle": __props.info.is_gh_mirrors }),
|
|
737
736
|
color: "var(--theme-placeholder)"
|
|
738
737
|
}, null, 8, ["name", "class"]),
|
|
739
738
|
createElementVNode("span", {
|
|
740
739
|
class: "repo-title",
|
|
741
740
|
innerHTML: preHandWord()
|
|
742
741
|
}, null, 8, _hoisted_1),
|
|
743
|
-
|
|
744
|
-
unref(isGstarRepo)(
|
|
742
|
+
__props.info.show_recommend_icon ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref($t)("gitCodeLayout.search.recommendTag")), 1)) : createCommentVNode("", true),
|
|
743
|
+
unref(isGstarRepo)(__props.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
745
744
|
createVNode(_sfc_main$b, {
|
|
746
745
|
origin: "repo",
|
|
747
746
|
icon: "",
|
|
748
747
|
type: "gstar",
|
|
749
748
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.graduation")}`
|
|
750
749
|
}, {
|
|
751
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
750
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
752
751
|
createTextVNode("G-Star ", -1)
|
|
753
|
-
])),
|
|
754
|
-
_: 1
|
|
755
|
-
__: [0]
|
|
752
|
+
])]),
|
|
753
|
+
_: 1
|
|
756
754
|
}, 8, ["message"])
|
|
757
755
|
])) : createCommentVNode("", true),
|
|
758
|
-
unref(isIncubationRepo)(
|
|
756
|
+
unref(isIncubationRepo)(__props.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
759
757
|
createVNode(_sfc_main$b, {
|
|
760
758
|
origin: "repo",
|
|
761
759
|
icon: "",
|
|
762
760
|
type: "incubation",
|
|
763
761
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.incubation")}`
|
|
764
762
|
}, {
|
|
765
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
763
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
766
764
|
createTextVNode(" G-Star ", -1)
|
|
767
|
-
])),
|
|
768
|
-
_: 1
|
|
769
|
-
__: [1]
|
|
765
|
+
])]),
|
|
766
|
+
_: 1
|
|
770
767
|
}, 8, ["message"])
|
|
771
768
|
])) : createCommentVNode("", true),
|
|
772
769
|
createVNode(NewTag, {
|
|
773
|
-
repoType:
|
|
774
|
-
isNew: ((_a =
|
|
770
|
+
repoType: __props.cardType,
|
|
771
|
+
isNew: ((_a = __props.info) == null ? void 0 : _a.is_new) || false
|
|
775
772
|
}, null, 8, ["repoType", "isNew"])
|
|
776
773
|
];
|
|
777
774
|
}),
|
|
@@ -779,7 +776,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
779
776
|
}),
|
|
780
777
|
createVNode(unref(Col), { flex: "none" }, {
|
|
781
778
|
default: withCtx(() => [
|
|
782
|
-
!
|
|
779
|
+
!__props.hideStarBtn ? (openBlock(), createBlock(StarTag, {
|
|
783
780
|
key: 0,
|
|
784
781
|
isLike: isModel.value,
|
|
785
782
|
"star-info": starInfo.value,
|
|
@@ -791,12 +788,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
791
788
|
]),
|
|
792
789
|
_: 1
|
|
793
790
|
}),
|
|
794
|
-
!
|
|
791
|
+
!__props.hideDescription ? (openBlock(), createElementBlock("div", {
|
|
795
792
|
key: 0,
|
|
796
793
|
innerHTML: unref(highlightWords)("", description.value),
|
|
797
794
|
class: "i-search-projects-card-desc ellipsis mt-[8px]"
|
|
798
795
|
}, null, 8, _hoisted_5)) : createCommentVNode("", true),
|
|
799
|
-
|
|
796
|
+
__props.info.index === 0 && __props.info.is_recommend ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
800
797
|
queryLoading.value ? (openBlock(), createBlock(unref(Skeleton), { key: 0 }, {
|
|
801
798
|
placeholder: withCtx(() => [
|
|
802
799
|
createVNode(unref(Row), {
|
|
@@ -836,14 +833,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
836
833
|
})) : createCommentVNode("", true)
|
|
837
834
|
])) : isModel.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
838
835
|
key: 2,
|
|
839
|
-
repoInfo:
|
|
836
|
+
repoInfo: __props.info
|
|
840
837
|
}, null, 8, ["repoInfo"])) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
841
|
-
!
|
|
838
|
+
!__props.hideFooter ? (openBlock(), createBlock(RepoCardFooter, {
|
|
842
839
|
key: 0,
|
|
843
|
-
hideTopicTags:
|
|
840
|
+
hideTopicTags: __props.hideTopicTags,
|
|
844
841
|
hideStarCount: "",
|
|
845
842
|
tagInfo: tagInfo.value,
|
|
846
|
-
repoInfo:
|
|
843
|
+
repoInfo: __props.info,
|
|
847
844
|
searchCard: "",
|
|
848
845
|
class: "i-search-projects-card-bottom mt-[8px]",
|
|
849
846
|
onTopicClick: handleTopicClick
|
package/index.d.ts
CHANGED
|
@@ -97,7 +97,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
|
|
|
97
97
|
customTimeout?: number | undefined;
|
|
98
98
|
ignoreError?: boolean | undefined;
|
|
99
99
|
customErrorCodes?: number[] | undefined;
|
|
100
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
100
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
101
101
|
};
|
|
102
102
|
globalStore: {
|
|
103
103
|
type: PropType<Object>;
|
|
@@ -167,7 +167,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
|
|
|
167
167
|
customTimeout?: number | undefined;
|
|
168
168
|
ignoreError?: boolean | undefined;
|
|
169
169
|
customErrorCodes?: number[] | undefined;
|
|
170
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
170
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
171
171
|
};
|
|
172
172
|
globalStore: {
|
|
173
173
|
type: PropType<Object>;
|
|
@@ -242,7 +242,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
242
242
|
customTimeout?: number | undefined;
|
|
243
243
|
ignoreError?: boolean | undefined;
|
|
244
244
|
customErrorCodes?: number[] | undefined;
|
|
245
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
245
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
246
246
|
};
|
|
247
247
|
loginOutFinish: {
|
|
248
248
|
type: PropType<Function | undefined>;
|
|
@@ -355,7 +355,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
355
355
|
customTimeout?: number | undefined;
|
|
356
356
|
ignoreError?: boolean | undefined;
|
|
357
357
|
customErrorCodes?: number[] | undefined;
|
|
358
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
358
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
359
359
|
};
|
|
360
360
|
loginOutFinish: {
|
|
361
361
|
type: PropType<Function | undefined>;
|
|
@@ -505,7 +505,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
|
505
505
|
customTimeout?: number | undefined;
|
|
506
506
|
ignoreError?: boolean | undefined;
|
|
507
507
|
customErrorCodes?: number[] | undefined;
|
|
508
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
508
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
509
509
|
};
|
|
510
510
|
loginOutFinish: {
|
|
511
511
|
type: PropType<Function | undefined>;
|
|
@@ -540,7 +540,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
|
540
540
|
customTimeout?: number | undefined;
|
|
541
541
|
ignoreError?: boolean | undefined;
|
|
542
542
|
customErrorCodes?: number[] | undefined;
|
|
543
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
543
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
544
544
|
};
|
|
545
545
|
loginOutFinish: {
|
|
546
546
|
type: PropType<Function | undefined>;
|
|
@@ -615,7 +615,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
|
615
615
|
customTimeout?: number | undefined;
|
|
616
616
|
ignoreError?: boolean | undefined;
|
|
617
617
|
customErrorCodes?: number[] | undefined;
|
|
618
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
618
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
619
619
|
};
|
|
620
620
|
globalStore: {
|
|
621
621
|
type: PropType<{
|
|
@@ -654,7 +654,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
|
654
654
|
customTimeout?: number | undefined;
|
|
655
655
|
ignoreError?: boolean | undefined;
|
|
656
656
|
customErrorCodes?: number[] | undefined;
|
|
657
|
-
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
657
|
+
} | undefined) => Promise<AxiosResponse<any, any, {}>>;
|
|
658
658
|
};
|
|
659
659
|
globalStore: {
|
|
660
660
|
type: PropType<{
|
package/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { O, P, W, N, S, Q, M, B, Y, V, X, U } from "./index-ByOh5NW8.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
O as GitCodeAside,
|
|
4
|
+
P as GitCodeHeader,
|
|
5
|
+
W as GitCodeLayoutEmitter,
|
|
6
|
+
N as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Q as SiteAnnouncement,
|
|
9
|
+
M as ToolsFloat,
|
|
10
10
|
B as currentTheme,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
11
|
+
Y as default,
|
|
12
|
+
V as setLayoutConfig,
|
|
13
|
+
X as setTheme,
|
|
14
|
+
U as useLogin
|
|
15
15
|
};
|
|
@@ -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-ByOh5NW8.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";
|
|
@@ -33,14 +33,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33
33
|
createVNode(unref(Button), {
|
|
34
34
|
variant: "outline",
|
|
35
35
|
size: isMobile.value ? "sm" : "md",
|
|
36
|
-
onClick:
|
|
36
|
+
onClick: __props.onClose,
|
|
37
37
|
class: "mr-[8px]"
|
|
38
38
|
}, {
|
|
39
|
-
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
39
|
+
default: withCtx(() => [..._cache[1] || (_cache[1] = [
|
|
40
40
|
createTextVNode("忽略", -1)
|
|
41
|
-
])),
|
|
42
|
-
_: 1
|
|
43
|
-
__: [1]
|
|
41
|
+
])]),
|
|
42
|
+
_: 1
|
|
44
43
|
}, 8, ["size", "onClick"]),
|
|
45
44
|
createVNode(unref(Button), {
|
|
46
45
|
variant: "solid",
|
|
@@ -48,11 +47,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
47
|
color: "primary",
|
|
49
48
|
onClick: handleConfirm
|
|
50
49
|
}, {
|
|
51
|
-
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
50
|
+
default: withCtx(() => [..._cache[2] || (_cache[2] = [
|
|
52
51
|
createTextVNode("修改", -1)
|
|
53
|
-
])),
|
|
54
|
-
_: 1
|
|
55
|
-
__: [2]
|
|
52
|
+
])]),
|
|
53
|
+
_: 1
|
|
56
54
|
}, 8, ["size"])
|
|
57
55
|
], 2)
|
|
58
56
|
]),
|