vue-layout-gitcode 1.9.29 → 1.9.31
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-CYbxO53m.js → GloabarSearch-D3AK8HeU.js} +3 -3
- package/{MenuItem-BzfsHOS8.js → MenuItem-B9fzjR7u.js} +1 -1
- package/{ProjectMenuList-DNJhKWy9.js → ProjectMenuList-CW02MUPv.js} +10 -10
- package/{ProjectMenuListV2-Cuer5wbZ.js → ProjectMenuListV2-C1HatE5S.js} +4 -4
- package/{ProjectSearch-BiVlYUvU.js → ProjectSearch-oJ97bkmL.js} +1 -1
- package/{SearchHistoryList-BDzp2qOk.js → SearchHistoryList-BPgp938A.js} +5 -5
- package/{SearchPrefixTag-Dzpz56Q7.js → SearchPrefixTag-KqSTKuqm.js} +3 -3
- package/{SearchRecommed-XVMGN5hX.js → SearchRecommed-zJLm0RAD.js} +2 -2
- package/{SearchScopeList-DZK2-jED.js → SearchScopeList-DOnYZaWr.js} +3 -3
- package/{UserSearch-C93v1HCj.js → UserSearch-B_ArHlbo.js} +11 -2
- package/{index-DPtyg6To.js → index-CKPuRJPh.js} +3 -3
- package/{index-VjkkdK3E.js → index-CcvuBFo7.js} +2142 -1809
- package/{index-BFMUY2xH.js → index-Qh085o9-.js} +1 -1
- package/{index-BCbmXnEe.js → index-WHElVTHI.js} +42 -42
- package/index.d.ts +19 -8
- package/index.js +11 -11
- package/{notice-DGmmTvcV.js → notice-CxOWHKnT.js} +8 -8
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-BY5OiAkU.js → transWebUrl-DTMMboBc.js} +1 -1
|
@@ -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,
|
|
11
|
+
import { a as i18n, k as usePageResize, x as getLocaleLang, L as LANG_ZH, _ as _export_sfc } from "./index-CcvuBFo7.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
constructor() {
|
|
14
14
|
__publicField(this, "ypRiddlerInstance", null);
|
|
@@ -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 {
|
|
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-CcvuBFo7.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-DTMMboBc.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: _ctx.number, fixed: _ctx.fixed, byte: _ctx.byte, gt100: _ctx.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
|
+
_ctx.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: _ctx.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
|
+
!_ctx.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: _ctx.starCountOne || 0
|
|
357
357
|
}, null, 8, ["number"])
|
|
358
358
|
]);
|
|
359
359
|
};
|
|
@@ -384,9 +384,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
384
384
|
size: "14"
|
|
385
385
|
}),
|
|
386
386
|
createElementVNode("span", _hoisted_2$3, [
|
|
387
|
-
_cache[0] || (_cache[0] = createTextVNode("Star "
|
|
387
|
+
_cache[0] || (_cache[0] = createTextVNode("Star ")),
|
|
388
388
|
createVNode(_sfc_main$a, {
|
|
389
|
-
number:
|
|
389
|
+
number: _ctx.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
|
+
_ctx.tagInfo ? (openBlock(), createBlock(LanguageTag, {
|
|
450
450
|
key: 0,
|
|
451
|
-
"tag-info":
|
|
451
|
+
"tag-info": _ctx.tagInfo
|
|
452
452
|
}, null, 8, ["tag-info"])) : createCommentVNode("", true),
|
|
453
|
-
!
|
|
453
|
+
!_ctx.hideStarCount ? (openBlock(), createBlock(StarCountOne, {
|
|
454
454
|
key: 1,
|
|
455
455
|
hideText: "",
|
|
456
|
-
starCountOne:
|
|
456
|
+
starCountOne: _ctx.repoInfo.star_count
|
|
457
457
|
}, null, 8, ["starCountOne"])) : createCommentVNode("", true),
|
|
458
|
-
|
|
458
|
+
_ctx.repoInfo.forks_count ? (openBlock(), createBlock(ForkTag, {
|
|
459
459
|
key: 2,
|
|
460
|
-
count:
|
|
460
|
+
count: _ctx.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
|
+
!_ctx.hideUpdateTime ? (openBlock(), createElementBlock("div", _hoisted_3$2, toDisplayString(unref(formatTimeFromNow)((_ctx.searchCard ? _ctx.repoInfo.last_repository_updated_at : _ctx.repoInfo.last_activity_at) || _ctx.repoInfo.last_activity_at)), 1)) : createCommentVNode("", true),
|
|
464
|
+
!_ctx.hideStarIncrease && _ctx.repoInfo.star_count_one ? (openBlock(), createBlock(StarCountOne, {
|
|
465
465
|
key: 5,
|
|
466
|
-
starCountOne:
|
|
466
|
+
starCountOne: _ctx.repoInfo.star_count_one
|
|
467
467
|
}, null, 8, ["starCountOne"])) : createCommentVNode("", true),
|
|
468
|
-
|
|
468
|
+
_ctx.repoInfo.is_gh_mirrors ? (openBlock(), createBlock(GithubStarNum, {
|
|
469
469
|
key: 6,
|
|
470
|
-
count:
|
|
470
|
+
count: _ctx.repoInfo.import_star_count
|
|
471
471
|
}, null, 8, ["count"])) : createCommentVNode("", true)
|
|
472
472
|
])
|
|
473
473
|
]),
|
|
474
|
-
!
|
|
474
|
+
!_ctx.hideTopicTags && topicNames.value.length && _ctx.searchCard ? (openBlock(), createElementBlock("div", {
|
|
475
475
|
key: 0,
|
|
476
476
|
class: "topic-tags",
|
|
477
477
|
ref_key: "topicTagsRef",
|
|
@@ -640,7 +640,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
640
640
|
const { widthType } = usePageResize();
|
|
641
641
|
const { t: $t } = i18n.global;
|
|
642
642
|
const handleClick = () => {
|
|
643
|
-
window.open(transWebUrl(props.info.web_url, props.urlParams), "_blank");
|
|
643
|
+
window.open(transWebUrl(transformUrl(props.info.web_url), props.urlParams), "_blank");
|
|
644
644
|
emits("report");
|
|
645
645
|
_frEventTrack(EVENT_NAME.CLICK_SEARCH_RESULT);
|
|
646
646
|
};
|
|
@@ -718,7 +718,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
718
718
|
});
|
|
719
719
|
return (_ctx, _cache) => {
|
|
720
720
|
return openBlock(), createElementBlock("a", {
|
|
721
|
-
class: normalizeClass(["i-search-projects-card cursor-pointer", { noborder:
|
|
721
|
+
class: normalizeClass(["i-search-projects-card cursor-pointer", { noborder: _ctx.noborder, "full-hover": _ctx.hover }]),
|
|
722
722
|
onClick: handleClick
|
|
723
723
|
}, [
|
|
724
724
|
createVNode(unref(Row), { class: "i-search-projects-card-title" }, {
|
|
@@ -732,43 +732,43 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
732
732
|
return [
|
|
733
733
|
createVNode(GIcon, {
|
|
734
734
|
name: iconName.value,
|
|
735
|
-
class: normalizeClass({ "align-middle":
|
|
735
|
+
class: normalizeClass({ "align-middle": _ctx.info.is_gh_mirrors }),
|
|
736
736
|
color: "var(--theme-placeholder)"
|
|
737
737
|
}, null, 8, ["name", "class"]),
|
|
738
738
|
createElementVNode("span", {
|
|
739
739
|
class: "repo-title",
|
|
740
740
|
innerHTML: preHandWord()
|
|
741
741
|
}, null, 8, _hoisted_1),
|
|
742
|
-
|
|
743
|
-
unref(isGstarRepo)(
|
|
742
|
+
_ctx.info.show_recommend_icon ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(unref($t)("gitCodeLayout.search.recommendTag")), 1)) : createCommentVNode("", true),
|
|
743
|
+
unref(isGstarRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
744
744
|
createVNode(_sfc_main$b, {
|
|
745
745
|
origin: "repo",
|
|
746
746
|
icon: "",
|
|
747
747
|
type: "gstar",
|
|
748
748
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.graduation")}`
|
|
749
749
|
}, {
|
|
750
|
-
default: withCtx(() =>
|
|
751
|
-
createTextVNode("G-Star "
|
|
752
|
-
])
|
|
750
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
751
|
+
createTextVNode("G-Star ")
|
|
752
|
+
])),
|
|
753
753
|
_: 1
|
|
754
754
|
}, 8, ["message"])
|
|
755
755
|
])) : createCommentVNode("", true),
|
|
756
|
-
unref(isIncubationRepo)(
|
|
756
|
+
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
757
757
|
createVNode(_sfc_main$b, {
|
|
758
758
|
origin: "repo",
|
|
759
759
|
icon: "",
|
|
760
760
|
type: "incubation",
|
|
761
761
|
message: `G-Star ${unref($t)("gitCodeLayout.GStar.project.incubation")}`
|
|
762
762
|
}, {
|
|
763
|
-
default: withCtx(() =>
|
|
764
|
-
createTextVNode(" G-Star "
|
|
765
|
-
])
|
|
763
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
764
|
+
createTextVNode(" G-Star ")
|
|
765
|
+
])),
|
|
766
766
|
_: 1
|
|
767
767
|
}, 8, ["message"])
|
|
768
768
|
])) : createCommentVNode("", true),
|
|
769
769
|
createVNode(NewTag, {
|
|
770
|
-
repoType:
|
|
771
|
-
isNew: ((_a =
|
|
770
|
+
repoType: _ctx.cardType,
|
|
771
|
+
isNew: ((_a = _ctx.info) == null ? void 0 : _a.is_new) || false
|
|
772
772
|
}, null, 8, ["repoType", "isNew"])
|
|
773
773
|
];
|
|
774
774
|
}),
|
|
@@ -776,7 +776,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
776
776
|
}),
|
|
777
777
|
createVNode(unref(Col), { flex: "none" }, {
|
|
778
778
|
default: withCtx(() => [
|
|
779
|
-
!
|
|
779
|
+
!_ctx.hideStarBtn ? (openBlock(), createBlock(StarTag, {
|
|
780
780
|
key: 0,
|
|
781
781
|
isLike: isModel.value,
|
|
782
782
|
"star-info": starInfo.value,
|
|
@@ -788,12 +788,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
788
788
|
]),
|
|
789
789
|
_: 1
|
|
790
790
|
}),
|
|
791
|
-
!
|
|
791
|
+
!_ctx.hideDescription ? (openBlock(), createElementBlock("div", {
|
|
792
792
|
key: 0,
|
|
793
793
|
innerHTML: unref(highlightWords)("", description.value),
|
|
794
794
|
class: "i-search-projects-card-desc ellipsis mt-[8px]"
|
|
795
795
|
}, null, 8, _hoisted_5)) : createCommentVNode("", true),
|
|
796
|
-
|
|
796
|
+
_ctx.info.index === 0 && _ctx.info.is_recommend ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
797
797
|
queryLoading.value ? (openBlock(), createBlock(unref(Skeleton), { key: 0 }, {
|
|
798
798
|
placeholder: withCtx(() => [
|
|
799
799
|
createVNode(unref(Row), {
|
|
@@ -833,14 +833,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
833
833
|
})) : createCommentVNode("", true)
|
|
834
834
|
])) : isModel.value ? (openBlock(), createBlock(_sfc_main$1, {
|
|
835
835
|
key: 2,
|
|
836
|
-
repoInfo:
|
|
836
|
+
repoInfo: _ctx.info
|
|
837
837
|
}, null, 8, ["repoInfo"])) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
|
|
838
|
-
!
|
|
838
|
+
!_ctx.hideFooter ? (openBlock(), createBlock(RepoCardFooter, {
|
|
839
839
|
key: 0,
|
|
840
|
-
hideTopicTags:
|
|
840
|
+
hideTopicTags: _ctx.hideTopicTags,
|
|
841
841
|
hideStarCount: "",
|
|
842
842
|
tagInfo: tagInfo.value,
|
|
843
|
-
repoInfo:
|
|
843
|
+
repoInfo: _ctx.info,
|
|
844
844
|
searchCard: "",
|
|
845
845
|
class: "i-search-projects-card-bottom mt-[8px]",
|
|
846
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>;
|
|
@@ -313,6 +313,11 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
313
313
|
type: PropType<any>;
|
|
314
314
|
required: true;
|
|
315
315
|
};
|
|
316
|
+
asideCollapseMode: {
|
|
317
|
+
type: PropType<boolean | undefined>;
|
|
318
|
+
required: false;
|
|
319
|
+
default: boolean;
|
|
320
|
+
};
|
|
316
321
|
bgConfig: {
|
|
317
322
|
type: PropType<{
|
|
318
323
|
index_head: string;
|
|
@@ -355,7 +360,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
355
360
|
customTimeout?: number | undefined;
|
|
356
361
|
ignoreError?: boolean | undefined;
|
|
357
362
|
customErrorCodes?: number[] | undefined;
|
|
358
|
-
} | undefined) => Promise<AxiosResponse<any, any
|
|
363
|
+
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
359
364
|
};
|
|
360
365
|
loginOutFinish: {
|
|
361
366
|
type: PropType<Function | undefined>;
|
|
@@ -426,6 +431,11 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
426
431
|
type: PropType<any>;
|
|
427
432
|
required: true;
|
|
428
433
|
};
|
|
434
|
+
asideCollapseMode: {
|
|
435
|
+
type: PropType<boolean | undefined>;
|
|
436
|
+
required: false;
|
|
437
|
+
default: boolean;
|
|
438
|
+
};
|
|
429
439
|
bgConfig: {
|
|
430
440
|
type: PropType<{
|
|
431
441
|
index_head: string;
|
|
@@ -464,6 +474,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
|
|
|
464
474
|
orgInfo: OrgInfo | undefined;
|
|
465
475
|
otherUserInfo: UserInfo | undefined;
|
|
466
476
|
headerBorder: boolean | undefined;
|
|
477
|
+
asideCollapseMode: boolean | undefined;
|
|
467
478
|
bgConfig: {
|
|
468
479
|
index_head: string;
|
|
469
480
|
detail_top: string;
|
|
@@ -504,7 +515,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
|
504
515
|
customTimeout?: number | undefined;
|
|
505
516
|
ignoreError?: boolean | undefined;
|
|
506
517
|
customErrorCodes?: number[] | undefined;
|
|
507
|
-
} | undefined) => Promise<AxiosResponse<any, any
|
|
518
|
+
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
508
519
|
};
|
|
509
520
|
loginOutFinish: {
|
|
510
521
|
type: PropType<Function | undefined>;
|
|
@@ -539,7 +550,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
|
|
|
539
550
|
customTimeout?: number | undefined;
|
|
540
551
|
ignoreError?: boolean | undefined;
|
|
541
552
|
customErrorCodes?: number[] | undefined;
|
|
542
|
-
} | undefined) => Promise<AxiosResponse<any, any
|
|
553
|
+
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
543
554
|
};
|
|
544
555
|
loginOutFinish: {
|
|
545
556
|
type: PropType<Function | undefined>;
|
|
@@ -612,7 +623,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
|
612
623
|
customTimeout?: number | undefined;
|
|
613
624
|
ignoreError?: boolean | undefined;
|
|
614
625
|
customErrorCodes?: number[] | undefined;
|
|
615
|
-
} | undefined) => Promise<AxiosResponse<any, any
|
|
626
|
+
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
616
627
|
};
|
|
617
628
|
globalStore: {
|
|
618
629
|
type: PropType<{
|
|
@@ -651,7 +662,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
|
|
|
651
662
|
customTimeout?: number | undefined;
|
|
652
663
|
ignoreError?: boolean | undefined;
|
|
653
664
|
customErrorCodes?: number[] | undefined;
|
|
654
|
-
} | undefined) => Promise<AxiosResponse<any, any
|
|
665
|
+
} | undefined) => Promise<AxiosResponse<any, any>>;
|
|
655
666
|
};
|
|
656
667
|
globalStore: {
|
|
657
668
|
type: PropType<{
|
package/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M, N, Q, K, S, J, A, V, P, U, O } from "./index-CcvuBFo7.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
M as GitCodeAside,
|
|
4
|
+
N as GitCodeHeader,
|
|
5
|
+
Q as GitCodeLayoutEmitter,
|
|
6
|
+
K as Login,
|
|
7
7
|
S as SceneValue,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
J as ToolsFloat,
|
|
9
|
+
A as currentTheme,
|
|
10
|
+
V as default,
|
|
11
|
+
P as setLayoutConfig,
|
|
12
|
+
U as setTheme,
|
|
13
|
+
O as useLogin
|
|
14
14
|
};
|
|
@@ -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-CcvuBFo7.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,12 +33,12 @@ 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: _ctx.onClose,
|
|
37
37
|
class: "mr-[8px]"
|
|
38
38
|
}, {
|
|
39
|
-
default: withCtx(() =>
|
|
40
|
-
createTextVNode("忽略"
|
|
41
|
-
])
|
|
39
|
+
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
40
|
+
createTextVNode("忽略")
|
|
41
|
+
])),
|
|
42
42
|
_: 1
|
|
43
43
|
}, 8, ["size", "onClick"]),
|
|
44
44
|
createVNode(unref(Button), {
|
|
@@ -47,9 +47,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
color: "primary",
|
|
48
48
|
onClick: handleConfirm
|
|
49
49
|
}, {
|
|
50
|
-
default: withCtx(() =>
|
|
51
|
-
createTextVNode("修改"
|
|
52
|
-
])
|
|
50
|
+
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
51
|
+
createTextVNode("修改")
|
|
52
|
+
])),
|
|
53
53
|
_: 1
|
|
54
54
|
}, 8, ["size"])
|
|
55
55
|
], 2)
|