vue-layout-gitcode 1.3.1 → 1.3.2
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-f1549cc3.js → GloabarSearch-BCQw3CFX.js} +3 -49
- package/{ProjectSearch-2e519444.js → ProjectSearch-cRtWR1nm.js} +3 -47
- package/{SearchHistoryList-4d38822f.js → SearchHistoryList-Bq1GLhLn.js} +3 -47
- package/SearchPrefixTag-BHBc4IHo.js +46 -0
- package/{SearchRecommed-fae62e89.js → SearchRecommed-DUEj-REF.js} +4 -48
- package/{SearchScopeList-2e5454de.js → SearchScopeList-DtNJJC9z.js} +3 -47
- package/{UserSearch-3d910212.js → UserSearch-DxxVlIie.js} +2 -46
- package/{index-ba108af8.js → index-BGQbIqtf.js} +1119 -1264
- package/{index-9d61ece9.js → index-D8pY293x.js} +33 -59
- package/index-DN4X76li.js +61 -0
- package/index.js +11 -57
- package/{notice-2ca46a45.js → notice-DyrJkOdX.js} +6 -45
- package/package.json +1 -1
- package/style.css +1 -1
- package/SearchPrefixTag-4a66a078.js +0 -90
- package/index-f3d0c3cc.js +0 -106
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, watchEffect, defineComponent, toDisplayString,
|
|
2
|
-
import { d as debounce, G as GIcon, s as setLoginTriggerSource,
|
|
1
|
+
import { ref, watchEffect, defineComponent, toDisplayString, unref, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
|
|
2
|
+
import { d as debounce, t as transferNumber, G as GIcon, s as setLoginTriggerSource, f as useRequestReport, r as reqCatch, h as headRequest, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, g as useTimeFormat, L as LANG_KEY, j as LANG_ZH, k as usePageResize, m as isGstarRepo, n as _sfc_main$8, o as isIncubationRepo, p as highlightWords, q as transWebUrl, v as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-BGQbIqtf.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
4
|
import { Row, Col } from "vue-devui-lal/grid";
|
|
5
5
|
import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
|
|
@@ -28,10 +28,8 @@ const useReportRepo = (reportParams, viewReport) => {
|
|
|
28
28
|
};
|
|
29
29
|
const formatItem = (data) => {
|
|
30
30
|
const channelNames = [];
|
|
31
|
-
if (data.channelName)
|
|
32
|
-
|
|
33
|
-
if (data.subChannelName)
|
|
34
|
-
channelNames.push(data.subChannelName);
|
|
31
|
+
if (data.channelName) channelNames.push(data.channelName);
|
|
32
|
+
if (data.subChannelName) channelNames.push(data.subChannelName);
|
|
35
33
|
const repoId = isNaN(Number(data.id)) ? data.id : Number(data.id);
|
|
36
34
|
return {
|
|
37
35
|
type: "gitcode",
|
|
@@ -81,37 +79,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
81
79
|
props: {
|
|
82
80
|
number: {},
|
|
83
81
|
fixed: { default: 2 },
|
|
84
|
-
byte: { type: Boolean }
|
|
82
|
+
byte: { type: Boolean },
|
|
83
|
+
gt100: { type: Boolean }
|
|
85
84
|
},
|
|
86
85
|
setup(__props) {
|
|
87
|
-
const props = __props;
|
|
88
|
-
const DECIMAL_PACE = [
|
|
89
|
-
{ unit: "K", base: 1e3 },
|
|
90
|
-
{ unit: "M", base: 1e6 }
|
|
91
|
-
// 百万
|
|
92
|
-
];
|
|
93
|
-
const BYTE_PACE = [
|
|
94
|
-
{ unit: "B", base: 1 },
|
|
95
|
-
{ unit: "KB", base: Math.pow(2, 10) },
|
|
96
|
-
{ unit: "MB", base: Math.pow(2, 20) },
|
|
97
|
-
{ unit: "GB", base: Math.pow(2, 30) }
|
|
98
|
-
];
|
|
99
|
-
const transfer = (val) => {
|
|
100
|
-
try {
|
|
101
|
-
const pace = props.byte ? BYTE_PACE : DECIMAL_PACE;
|
|
102
|
-
return pace.reduce((res, { base, unit }) => {
|
|
103
|
-
if (val >= base) {
|
|
104
|
-
const fixedBase = Math.pow(10, props.fixed);
|
|
105
|
-
res = `${parseFloat((Math.round(val * fixedBase / base) / fixedBase).toFixed(props.fixed))} ${unit}`;
|
|
106
|
-
}
|
|
107
|
-
return res;
|
|
108
|
-
}, `${val}`);
|
|
109
|
-
} catch (err) {
|
|
110
|
-
}
|
|
111
|
-
return `${val}`;
|
|
112
|
-
};
|
|
113
86
|
return (_ctx, _cache) => {
|
|
114
|
-
return toDisplayString(
|
|
87
|
+
return toDisplayString(unref(transferNumber)({ number: _ctx.number, fixed: _ctx.fixed, byte: _ctx.byte, gt100: _ctx.gt100 }));
|
|
115
88
|
};
|
|
116
89
|
}
|
|
117
90
|
});
|
|
@@ -149,8 +122,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
149
122
|
useReport("login_exposure", { source: props.loginTriggerSource || "search_star_repo_recommend" });
|
|
150
123
|
}
|
|
151
124
|
try {
|
|
152
|
-
if (starLoading.value)
|
|
153
|
-
return;
|
|
125
|
+
if (starLoading.value) return;
|
|
154
126
|
starLoading.value = true;
|
|
155
127
|
const params = { repoId: props.starInfo.id };
|
|
156
128
|
let res;
|
|
@@ -216,8 +188,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
216
188
|
};
|
|
217
189
|
}
|
|
218
190
|
});
|
|
219
|
-
const
|
|
220
|
-
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-9f26f456"]]);
|
|
191
|
+
const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
221
192
|
const _hoisted_1$4 = { class: "fork-tag" };
|
|
222
193
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
223
194
|
__name: "index",
|
|
@@ -242,8 +213,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
242
213
|
};
|
|
243
214
|
}
|
|
244
215
|
});
|
|
245
|
-
const
|
|
246
|
-
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cb84d9d8"]]);
|
|
216
|
+
const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
247
217
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
248
218
|
__name: "index",
|
|
249
219
|
props: {
|
|
@@ -289,8 +259,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
289
259
|
};
|
|
290
260
|
}
|
|
291
261
|
});
|
|
292
|
-
const
|
|
293
|
-
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f41c9ade"]]);
|
|
262
|
+
const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
294
263
|
const _hoisted_1$3 = { class: "star-count-one" };
|
|
295
264
|
const _hoisted_2$3 = { key: 0 };
|
|
296
265
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
@@ -317,9 +286,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
317
286
|
};
|
|
318
287
|
}
|
|
319
288
|
});
|
|
320
|
-
const
|
|
321
|
-
const
|
|
322
|
-
|
|
289
|
+
const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
290
|
+
const _hoisted_1$2 = {
|
|
291
|
+
key: 0,
|
|
292
|
+
class: "github-star-num"
|
|
293
|
+
};
|
|
323
294
|
const _hoisted_2$2 = { class: "leading-none" };
|
|
324
295
|
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
325
296
|
...{ name: "GithubStarNum" },
|
|
@@ -328,8 +299,12 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
328
299
|
count: {}
|
|
329
300
|
},
|
|
330
301
|
setup(__props) {
|
|
302
|
+
const props = __props;
|
|
303
|
+
const starVisible = computed(() => {
|
|
304
|
+
return props.count && props.count >= 100;
|
|
305
|
+
});
|
|
331
306
|
return (_ctx, _cache) => {
|
|
332
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
307
|
+
return starVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
333
308
|
createVNode(GIcon, {
|
|
334
309
|
name: "gt-line-github",
|
|
335
310
|
color: "var(--theme-home-card-color-placeholder)",
|
|
@@ -338,15 +313,15 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
338
313
|
createElementVNode("span", _hoisted_2$2, [
|
|
339
314
|
_cache[0] || (_cache[0] = createTextVNode("Star ")),
|
|
340
315
|
createVNode(_sfc_main$7, {
|
|
341
|
-
number: _ctx.count || 0
|
|
316
|
+
number: _ctx.count || 0,
|
|
317
|
+
gt100: true
|
|
342
318
|
}, null, 8, ["number"])
|
|
343
319
|
])
|
|
344
|
-
]);
|
|
320
|
+
])) : createCommentVNode("", true);
|
|
345
321
|
};
|
|
346
322
|
}
|
|
347
323
|
});
|
|
348
|
-
const
|
|
349
|
-
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-49819ac3"]]);
|
|
324
|
+
const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
350
325
|
const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
|
|
351
326
|
const _hoisted_2$1 = {
|
|
352
327
|
key: 3,
|
|
@@ -414,7 +389,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
414
389
|
key: 5,
|
|
415
390
|
starCountOne: _ctx.repoInfo.star_count_one
|
|
416
391
|
}, null, 8, ["starCountOne"])) : createCommentVNode("", true),
|
|
417
|
-
_ctx.repoInfo.
|
|
392
|
+
_ctx.repoInfo.is_gh_mirrors ? (openBlock(), createBlock(GithubStarNum, {
|
|
418
393
|
key: 6,
|
|
419
394
|
count: _ctx.repoInfo.import_star_count
|
|
420
395
|
}, null, 8, ["count"])) : createCommentVNode("", true)
|
|
@@ -438,8 +413,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
438
413
|
};
|
|
439
414
|
}
|
|
440
415
|
});
|
|
441
|
-
const
|
|
442
|
-
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e5f7b6fb"]]);
|
|
416
|
+
const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
443
417
|
const _hoisted_1 = ["innerHTML"];
|
|
444
418
|
const _hoisted_2 = {
|
|
445
419
|
key: 0,
|
|
@@ -541,8 +515,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
541
515
|
return highlightWords(keyword, contentArr.join("/"), true);
|
|
542
516
|
};
|
|
543
517
|
onMounted(() => {
|
|
544
|
-
if (props.info.is_recommend && props.info.index === 0)
|
|
545
|
-
handleQueryGraph();
|
|
518
|
+
if (props.info.is_recommend && props.info.index === 0) handleQueryGraph();
|
|
546
519
|
});
|
|
547
520
|
return (_ctx, _cache) => {
|
|
548
521
|
return openBlock(), createElementBlock("a", {
|
|
@@ -576,7 +549,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
576
549
|
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
577
550
|
createTextVNode("G-Star ")
|
|
578
551
|
])),
|
|
579
|
-
_: 1
|
|
552
|
+
_: 1,
|
|
553
|
+
__: [0]
|
|
580
554
|
}, 8, ["message"])
|
|
581
555
|
])) : createCommentVNode("", true),
|
|
582
556
|
unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
@@ -589,7 +563,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
589
563
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
590
564
|
createTextVNode(" G-Star ")
|
|
591
565
|
])),
|
|
592
|
-
_: 1
|
|
566
|
+
_: 1,
|
|
567
|
+
__: [1]
|
|
593
568
|
}, 8, ["message"])
|
|
594
569
|
])) : createCommentVNode("", true)
|
|
595
570
|
]),
|
|
@@ -666,8 +641,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
666
641
|
};
|
|
667
642
|
}
|
|
668
643
|
});
|
|
669
|
-
const
|
|
670
|
-
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-39fd44ed"]]);
|
|
644
|
+
const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
671
645
|
export {
|
|
672
646
|
SearchRepoCard as S,
|
|
673
647
|
formatNameSpace as f,
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
+
import { FixedOverlay } from "vue-devui-lal/overlay";
|
|
3
|
+
import { w as useLayoutConfig, _ as _export_sfc } from "./index-BGQbIqtf.js";
|
|
4
|
+
import "vue-devui-lal/overlay/style.css";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "index",
|
|
7
|
+
emits: ["close", "success"],
|
|
8
|
+
setup(__props, { emit: __emit }) {
|
|
9
|
+
const emits = __emit;
|
|
10
|
+
const captchaInit = () => {
|
|
11
|
+
if (!window.initTAC) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const baseURL = useLayoutConfig().VITE_API_HOST;
|
|
15
|
+
const config = {
|
|
16
|
+
requestCaptchaDataUrl: `${baseURL}/uc/api/v1/captcha/gen`,
|
|
17
|
+
validCaptchaUrl: `${baseURL}/uc/api/v1/captcha/check`,
|
|
18
|
+
bindEl: "#captcha-box",
|
|
19
|
+
validSuccess: (res, c, tac) => {
|
|
20
|
+
tac.destroyWindow();
|
|
21
|
+
emits("success", res.data);
|
|
22
|
+
},
|
|
23
|
+
validFail: (res, c, tac) => {
|
|
24
|
+
tac.reloadCaptcha();
|
|
25
|
+
},
|
|
26
|
+
btnRefreshFun: (el, tac) => {
|
|
27
|
+
tac.reloadCaptcha();
|
|
28
|
+
},
|
|
29
|
+
btnCloseFun: (el, tac) => {
|
|
30
|
+
tac.destroyWindow();
|
|
31
|
+
emits("close");
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const style = {
|
|
35
|
+
logoUrl: null
|
|
36
|
+
// 去除logo
|
|
37
|
+
};
|
|
38
|
+
window.initTAC("https://cdn-static.gitcode.com/js/tac/", config, style).then((tac) => {
|
|
39
|
+
tac.init();
|
|
40
|
+
}).catch((e) => {
|
|
41
|
+
console.error("初始化tac失败", e);
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
onMounted(() => {
|
|
45
|
+
captchaInit();
|
|
46
|
+
});
|
|
47
|
+
return (_ctx, _cache) => {
|
|
48
|
+
return openBlock(), createBlock(unref(FixedOverlay), { class: "captcha-overlay" }, {
|
|
49
|
+
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
50
|
+
createElementVNode("div", { id: "captcha-box" }, null, -1)
|
|
51
|
+
])),
|
|
52
|
+
_: 1,
|
|
53
|
+
__: [0]
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
|
|
59
|
+
export {
|
|
60
|
+
index as default
|
|
61
|
+
};
|
package/index.js
CHANGED
|
@@ -1,60 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "vue";
|
|
3
|
-
import "vue-devui-lal/button";
|
|
4
|
-
import "vue-devui-lal/popover";
|
|
5
|
-
import "vue-devui-lal/tooltip";
|
|
6
|
-
import "vue-devui-lal/textarea";
|
|
7
|
-
import "vue-devui-lal/button/style.css";
|
|
8
|
-
import "vue-devui-lal/popover/style.css";
|
|
9
|
-
import "vue-devui-lal/tooltip/style.css";
|
|
10
|
-
import "vue-devui-lal/textarea/style.css";
|
|
11
|
-
import "vue-devui-lal/icon";
|
|
12
|
-
import "vue-devui-lal/icon/style.css";
|
|
13
|
-
import "vue-router";
|
|
14
|
-
import "@vueuse/core";
|
|
15
|
-
import "vue-devui-lal/avatar";
|
|
16
|
-
import "vue-devui-lal/avatar/style.css";
|
|
17
|
-
import "vue-devui-lal/dropdown";
|
|
18
|
-
import "vue-devui-lal/dropdown/style.css";
|
|
19
|
-
import "dayjs";
|
|
20
|
-
import "vue-devui-lal/skeleton";
|
|
21
|
-
import "vue-devui-lal/skeleton/style.css";
|
|
22
|
-
import "vue-devui-lal/message";
|
|
23
|
-
import "vue-devui-lal/message/style.css";
|
|
24
|
-
import "vue-devui-lal/badge";
|
|
25
|
-
import "vue-devui-lal/badge/style.css";
|
|
26
|
-
import "vue-devui-lal/tabs/style.css";
|
|
27
|
-
import "vue-devui-lal/input";
|
|
28
|
-
import "vue-devui-lal/form";
|
|
29
|
-
import "vue-devui-lal/input/style.css";
|
|
30
|
-
import "vue-devui-lal/form/style.css";
|
|
31
|
-
import "vue-devui-lal/notification";
|
|
32
|
-
import "vue-devui-lal/notification/style.css";
|
|
33
|
-
import "vue-devui-lal/select";
|
|
34
|
-
import "vue-devui-lal/menu";
|
|
35
|
-
import "vue-devui-lal/select/style.css";
|
|
36
|
-
import "vue-devui-lal/menu/style.css";
|
|
37
|
-
import "vue-devui-lal/drawer";
|
|
38
|
-
import "vue-devui-lal/layout";
|
|
39
|
-
import "vue-devui-lal/drawer/style.css";
|
|
40
|
-
import "vue-devui-lal/layout/style.css";
|
|
41
|
-
import "vue-devui-lal/radio";
|
|
42
|
-
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
43
|
-
import "vue-devui-lal/radio/style.css";
|
|
44
|
-
import "vue-devui-lal/checkbox";
|
|
45
|
-
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
-
import "vue-devui-lal/modal";
|
|
47
|
-
import "vue-devui-lal/modal/style.css";
|
|
1
|
+
import { z, A, D, y, S, x, F, I, C, H, B } from "./index-BGQbIqtf.js";
|
|
48
2
|
export {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
3
|
+
z as GitCodeAside,
|
|
4
|
+
A as GitCodeHeader,
|
|
5
|
+
D as GitCodeLayoutEmitter,
|
|
6
|
+
y as Login,
|
|
53
7
|
S as SceneValue,
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
8
|
+
x as ToolsFloat,
|
|
9
|
+
F as currentTheme,
|
|
10
|
+
I as default,
|
|
11
|
+
C as setLayoutConfig,
|
|
12
|
+
H as setTheme,
|
|
13
|
+
B as useLogin
|
|
60
14
|
};
|
|
@@ -1,50 +1,9 @@
|
|
|
1
|
-
import { defineComponent, computed,
|
|
2
|
-
import { i as isPhone, u as useModel } from "./index-
|
|
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-BGQbIqtf.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";
|
|
6
6
|
import "vue-devui-lal/button/style.css";
|
|
7
|
-
import "vue-devui-lal/popover";
|
|
8
|
-
import "vue-devui-lal/tooltip";
|
|
9
|
-
import "vue-devui-lal/textarea";
|
|
10
|
-
import "vue-devui-lal/popover/style.css";
|
|
11
|
-
import "vue-devui-lal/tooltip/style.css";
|
|
12
|
-
import "vue-devui-lal/textarea/style.css";
|
|
13
|
-
import "vue-devui-lal/icon";
|
|
14
|
-
import "vue-devui-lal/icon/style.css";
|
|
15
|
-
import "vue-router";
|
|
16
|
-
import "@vueuse/core";
|
|
17
|
-
import "vue-devui-lal/avatar";
|
|
18
|
-
import "vue-devui-lal/avatar/style.css";
|
|
19
|
-
import "vue-devui-lal/dropdown";
|
|
20
|
-
import "vue-devui-lal/dropdown/style.css";
|
|
21
|
-
import "dayjs";
|
|
22
|
-
import "vue-devui-lal/skeleton";
|
|
23
|
-
import "vue-devui-lal/skeleton/style.css";
|
|
24
|
-
import "vue-devui-lal/message";
|
|
25
|
-
import "vue-devui-lal/message/style.css";
|
|
26
|
-
import "vue-devui-lal/badge";
|
|
27
|
-
import "vue-devui-lal/badge/style.css";
|
|
28
|
-
import "vue-devui-lal/tabs/style.css";
|
|
29
|
-
import "vue-devui-lal/input";
|
|
30
|
-
import "vue-devui-lal/form";
|
|
31
|
-
import "vue-devui-lal/input/style.css";
|
|
32
|
-
import "vue-devui-lal/form/style.css";
|
|
33
|
-
import "vue-devui-lal/select";
|
|
34
|
-
import "vue-devui-lal/menu";
|
|
35
|
-
import "vue-devui-lal/select/style.css";
|
|
36
|
-
import "vue-devui-lal/menu/style.css";
|
|
37
|
-
import "vue-devui-lal/drawer";
|
|
38
|
-
import "vue-devui-lal/layout";
|
|
39
|
-
import "vue-devui-lal/drawer/style.css";
|
|
40
|
-
import "vue-devui-lal/layout/style.css";
|
|
41
|
-
import "vue-devui-lal/radio";
|
|
42
|
-
import "@devui-design/icons/icomoon/devui-icon.css";
|
|
43
|
-
import "vue-devui-lal/radio/style.css";
|
|
44
|
-
import "vue-devui-lal/checkbox";
|
|
45
|
-
import "vue-devui-lal/checkbox/style.css";
|
|
46
|
-
import "vue-devui-lal/modal";
|
|
47
|
-
import "vue-devui-lal/modal/style.css";
|
|
48
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
49
8
|
__name: "notice",
|
|
50
9
|
props: {
|
|
@@ -80,7 +39,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
39
|
default: withCtx(() => _cache[1] || (_cache[1] = [
|
|
81
40
|
createTextVNode("忽略")
|
|
82
41
|
])),
|
|
83
|
-
_: 1
|
|
42
|
+
_: 1,
|
|
43
|
+
__: [1]
|
|
84
44
|
}, 8, ["size", "onClick"]),
|
|
85
45
|
createVNode(unref(Button), {
|
|
86
46
|
variant: "solid",
|
|
@@ -91,7 +51,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
91
51
|
default: withCtx(() => _cache[2] || (_cache[2] = [
|
|
92
52
|
createTextVNode("修改")
|
|
93
53
|
])),
|
|
94
|
-
_: 1
|
|
54
|
+
_: 1,
|
|
55
|
+
__: [2]
|
|
95
56
|
}, 8, ["size"])
|
|
96
57
|
], 2)
|
|
97
58
|
]),
|