vue-layout-gitcode 1.12.25 → 1.12.28
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-Bpe-bKK5.js → GloabarSearch-B6Tr8atH.js} +4 -4
- package/{MenuItem-3U4xO3bp.js → MenuItem-Dgt8M8If.js} +14 -11
- package/{ProjectMenuList-DyDWnsoz.js → ProjectMenuList-C6iH9uWk.js} +14 -14
- package/{ProjectMenuListV2-BjAOSYlF.js → ProjectMenuListV2-rqhoIUi9.js} +6 -6
- package/{ProjectSearch-DzgOeB30.js → ProjectSearch-CiOguIBX.js} +2 -2
- package/{SearchHistoryList-BR9RQJgU.js → SearchHistoryList-C_RSEjX_.js} +6 -6
- package/{SearchRecommed-DSWxY-w3.js → SearchRecommed-C6Ut806B.js} +3 -3
- package/{SearchScopeList-Zu4-ODNG.js → SearchScopeList-DqiA5Dt0.js} +3 -3
- package/{UserSearch-Cr95sg96.js → UserSearch-7LYsCNUJ.js} +2 -2
- package/{index-BbLVaUh2.js → index-D-t-PGAL.js} +5 -6
- package/{index-BJnTa48S.js → index-D4CF_bZw.js} +2 -2
- package/{index-B5HpMTBE.js → index-DsHINSgA.js} +1000 -888
- package/{index-4jffQJVm.js → index-UgD9Qf2c.js} +45 -48
- package/index.d.ts +583 -761
- package/index.js +11 -11
- package/{notice-D6U_StJW.js → notice-8rLtSJNz.js} +11 -13
- package/package.json +1 -1
- package/style.css +1 -1
- package/{transWebUrl-Cd8jny9B.js → transWebUrl-CC8VI9BR.js} +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent, inject,
|
|
1
|
+
import { defineComponent, inject, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, 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-DsHINSgA.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-UgD9Qf2c.js";
|
|
7
|
+
import "./transWebUrl-CC8VI9BR.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
|
-
import { defineComponent, inject, useSlots, computed, ref,
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, H as isHttps, b as REPO_EVENT, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, inject, useSlots, computed, ref, openBlock, createBlock, unref, withCtx, createElementVNode, normalizeClass, createElementBlock, createCommentVNode, createTextVNode, toDisplayString, renderSlot } from "vue";
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, A as ThemeType, B as currentTheme, L as LANG_ZH, C as LANG_EN, D as getLocaleLang, G as GIcon, F as emitEvent, H as isHttps, I as navigateWithMigrationGuard, b as REPO_EVENT, _ as _export_sfc } from "./index-DsHINSgA.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";
|
|
@@ -93,7 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
93
93
|
useReport(REPO_EVENT.CLICK, { module_name: `侧边栏_${reportName}` });
|
|
94
94
|
}
|
|
95
95
|
};
|
|
96
|
-
const handleMenuClick = () => {
|
|
96
|
+
const handleMenuClick = async () => {
|
|
97
97
|
var _a, _b;
|
|
98
98
|
const currentHref = window.location.href;
|
|
99
99
|
if (!props.item.left_menu_url) {
|
|
@@ -106,6 +106,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
106
|
emitEvent("login", { loginTriggerSource: `aside_${props.item.left_menu_url}` });
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
+
if (props.item.left_menu_url === "/dashboard/downloads?tab=view") {
|
|
110
|
+
window.open(props.item.left_menu_url, "_blank");
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
109
113
|
if (props.item.left_menu_url === "/dashboard/downloads") {
|
|
110
114
|
(_b = (_a = globalStore.value) == null ? void 0 : _a.downloadClickRequest) == null ? void 0 : _b.call(_a);
|
|
111
115
|
}
|
|
@@ -113,14 +117,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
117
|
window.open(props.item.left_menu_url, "_blank");
|
|
114
118
|
} else if (isHttps(props.item.left_menu_url || "")) {
|
|
115
119
|
window.open(props.item.left_menu_url, "_self");
|
|
120
|
+
} else if (independence) {
|
|
121
|
+
window.open(layoutConfig.VITE_HOST + props.item.left_menu_url, "_self");
|
|
122
|
+
return;
|
|
116
123
|
} else {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
router.push({
|
|
122
|
-
path: props.item.left_menu_url
|
|
123
|
-
});
|
|
124
|
+
clickMenuReport();
|
|
125
|
+
await navigateWithMigrationGuard(router, { path: props.item.left_menu_url });
|
|
126
|
+
return;
|
|
124
127
|
}
|
|
125
128
|
clickMenuReport();
|
|
126
129
|
};
|
|
@@ -145,7 +148,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
145
148
|
]),
|
|
146
149
|
default: withCtx(() => [
|
|
147
150
|
createElementVNode("div", {
|
|
148
|
-
class: normalizeClass(["menu-item", { "menu-item__selected": isSelected.value
|
|
151
|
+
class: normalizeClass(["menu-item", { "menu-item__selected": isSelected.value }]),
|
|
149
152
|
onMouseenter: handleMouseEnter,
|
|
150
153
|
onMouseleave: handleMouseLeave,
|
|
151
154
|
onClick: handleMenuClick
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, reactive, watch, computed,
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl,
|
|
1
|
+
import { defineComponent, inject, ref, reactive, watch, computed, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, renderList, createBlock, createCommentVNode, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, K as _sfc_main$1, M as loadAsideData, I as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, J as asideRequest, _ as _export_sfc } from "./index-DsHINSgA.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CC8VI9BR.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";
|
|
@@ -170,13 +170,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
170
170
|
}
|
|
171
171
|
return [...DEFAULT_ORG_FILTER_OPTIONS, ...moreOrgData.value];
|
|
172
172
|
});
|
|
173
|
-
const fastToLink = (type) => {
|
|
173
|
+
const fastToLink = async (type) => {
|
|
174
174
|
if (type === "project") {
|
|
175
|
-
router
|
|
175
|
+
await navigateWithMigrationGuard(router, { name: "userRepos", params: { namespace: props.username } });
|
|
176
176
|
} else if (type === "enterprise") {
|
|
177
177
|
window.location.href = transformUrl(`${layoutConfig.VITE_HOST}/setting/enterprise`);
|
|
178
178
|
} else {
|
|
179
|
-
router
|
|
179
|
+
await navigateWithMigrationGuard(router, { name: "settingOrganization" });
|
|
180
180
|
}
|
|
181
181
|
};
|
|
182
182
|
const loadMoreTeams = () => {
|
|
@@ -250,7 +250,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
250
250
|
};
|
|
251
251
|
return (_ctx, _cache) => {
|
|
252
252
|
return openBlock(), createElementBlock("ul", _hoisted_1, [
|
|
253
|
-
|
|
253
|
+
__props.type === "project" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
254
254
|
createElementVNode("div", _hoisted_2, [
|
|
255
255
|
_cache[17] || (_cache[17] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
256
256
|
createElementVNode("span", _hoisted_3, [
|
|
@@ -311,7 +311,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
311
311
|
}, 8, ["modelValue", "placeholder"])
|
|
312
312
|
], 2)
|
|
313
313
|
], 64)) : createCommentVNode("", true),
|
|
314
|
-
|
|
314
|
+
__props.type === "team" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
315
315
|
createElementVNode("div", _hoisted_4, [
|
|
316
316
|
_cache[18] || (_cache[18] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
317
317
|
createElementVNode("span", _hoisted_5, [
|
|
@@ -350,7 +350,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
350
350
|
}, 8, ["modelValue", "placeholder"])
|
|
351
351
|
], 2)
|
|
352
352
|
], 64)) : createCommentVNode("", true),
|
|
353
|
-
|
|
353
|
+
__props.type === "enterprise" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
354
354
|
createElementVNode("div", _hoisted_6, [
|
|
355
355
|
_cache[19] || (_cache[19] = createElementVNode("span", { class: "devui-menu-icon" }, null, -1)),
|
|
356
356
|
createElementVNode("span", _hoisted_7, [
|
|
@@ -399,10 +399,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
399
399
|
"data-openBlank": true,
|
|
400
400
|
"data-href": unref(transformUrl)(unref(transWebUrl)(item.web_url)),
|
|
401
401
|
class: "text",
|
|
402
|
-
title:
|
|
402
|
+
title: __props.type === "project" ? `${item.namespace}/${item.label}` : item.label
|
|
403
403
|
}, {
|
|
404
404
|
icon: withCtx(() => [
|
|
405
|
-
|
|
405
|
+
__props.type === "project" ? (openBlock(), createBlock(GIcon, {
|
|
406
406
|
key: 0,
|
|
407
407
|
name: "gt-line-project",
|
|
408
408
|
color: "var(--theme-menu-icon-fill)",
|
|
@@ -417,7 +417,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
417
417
|
}, null, 8, ["src", "name", "class"]))
|
|
418
418
|
]),
|
|
419
419
|
default: withCtx(() => [
|
|
420
|
-
|
|
420
|
+
__props.type === "project" ? (openBlock(), createElementBlock("span", _hoisted_8, [
|
|
421
421
|
createElementVNode("span", _hoisted_9, toDisplayString((item.namespace || "").slice(0, 10)) + toDisplayString((item.namespace || "").length > 10 ? "..." : ""), 1),
|
|
422
422
|
createElementVNode("span", _hoisted_10, "/" + toDisplayString(item.label), 1)
|
|
423
423
|
])) : (openBlock(), createElementBlock("span", _hoisted_11, toDisplayString(item.label), 1))
|
|
@@ -425,14 +425,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
425
425
|
_: 2
|
|
426
426
|
}, 1032, ["data-href", "title"]);
|
|
427
427
|
}), 128)),
|
|
428
|
-
|
|
428
|
+
__props.type !== "enterprise" && !totalNum.value && !firstLoading.value ? (openBlock(), createBlock(unref(Button), {
|
|
429
429
|
key: 4,
|
|
430
430
|
variant: "text",
|
|
431
431
|
class: "more-btn",
|
|
432
432
|
onClick: withModifiers(createRepoOrOrg, ["stop"])
|
|
433
433
|
}, {
|
|
434
434
|
default: withCtx(() => [
|
|
435
|
-
createTextVNode(toDisplayString(
|
|
435
|
+
createTextVNode(toDisplayString(__props.buttonText), 1)
|
|
436
436
|
]),
|
|
437
437
|
_: 1
|
|
438
438
|
})) : createCommentVNode("", true),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, reactive, computed, watch,
|
|
2
|
-
import { a as i18n, y as useLayoutConfig, t as transformUrl,
|
|
1
|
+
import { defineComponent, inject, ref, reactive, computed, watch, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createVNode, withModifiers, normalizeClass, withCtx, createBlock, createCommentVNode, Fragment, renderList, createTextVNode, withDirectives, vShow } from "vue";
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, t as transformUrl, G as GIcon, J as asideRequest, I as navigateWithMigrationGuard, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-DsHINSgA.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CC8VI9BR.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";
|
|
@@ -113,8 +113,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
113
113
|
}, 200);
|
|
114
114
|
};
|
|
115
115
|
const router = useRouter();
|
|
116
|
-
const fastToLink = () => {
|
|
117
|
-
router
|
|
116
|
+
const fastToLink = async () => {
|
|
117
|
+
await navigateWithMigrationGuard(router, { name: "userRepos", params: { namespace: props.username } });
|
|
118
118
|
};
|
|
119
119
|
const handleOpenSearch = () => {
|
|
120
120
|
if (!props.isLogin) {
|
|
@@ -220,7 +220,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
220
220
|
onClick: withModifiers(createRepoOrOrg, ["stop"])
|
|
221
221
|
}, {
|
|
222
222
|
default: withCtx(() => [
|
|
223
|
-
createTextVNode(toDisplayString(
|
|
223
|
+
createTextVNode(toDisplayString(__props.buttonText), 1)
|
|
224
224
|
]),
|
|
225
225
|
_: 1
|
|
226
226
|
})) : createCommentVNode("", true),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ref, inject, computed, withDirectives,
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-
|
|
1
|
+
import { ref, inject, computed, withDirectives, openBlock, createElementBlock, 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-DsHINSgA.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
|
-
import { defineComponent, computed,
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers, createCommentVNode } from "vue";
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DsHINSgA.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" };
|
|
@@ -117,7 +117,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
117
117
|
};
|
|
118
118
|
return (_ctx, _cache) => {
|
|
119
119
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
120
|
-
|
|
120
|
+
__props.searchHistoryList.length ? (openBlock(), createElementBlock("ul", {
|
|
121
121
|
key: 0,
|
|
122
122
|
class: "history-list-box mt-[16px]",
|
|
123
123
|
onMouseleave: resetIndex
|
|
@@ -125,7 +125,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
125
125
|
(openBlock(true), createElementBlock(Fragment, null, renderList(historyList.value, (item, index) => {
|
|
126
126
|
return openBlock(), createElementBlock("li", {
|
|
127
127
|
key: item,
|
|
128
|
-
class: normalizeClass(
|
|
128
|
+
class: normalizeClass(__props.activeIndex === index ? "hoverbg" : ""),
|
|
129
129
|
onClick: ($event) => toSearch(item),
|
|
130
130
|
onMouseenter: ($event) => onSearchEnter(index)
|
|
131
131
|
}, [
|
|
@@ -148,10 +148,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
148
148
|
]),
|
|
149
149
|
createElementVNode("div", _hoisted_8, [
|
|
150
150
|
createElementVNode("span", {
|
|
151
|
-
class: normalizeClass(
|
|
151
|
+
class: normalizeClass(__props.activeIndex === index ? "text-[var(--theme-text)]" : "text-[var(--theme-placeholder)]")
|
|
152
152
|
}, toDisplayString(getRepoType(item).text), 3),
|
|
153
153
|
createVNode(GIcon, {
|
|
154
|
-
name:
|
|
154
|
+
name: __props.activeIndex === index ? getRepoType(item).hoverIcon : getRepoType(item).icon
|
|
155
155
|
}, null, 8, ["name"])
|
|
156
156
|
])
|
|
157
157
|
]),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, inject, ref, onMounted,
|
|
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-
|
|
1
|
+
import { defineComponent, inject, ref, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, renderSlot, createBlock, createVNode, withCtx } from "vue";
|
|
2
|
+
import { u as useReportRepo, S as SearchRepoCard } from "./index-UgD9Qf2c.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-DsHINSgA.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
|
-
import { defineComponent,
|
|
2
|
-
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
|
|
2
|
+
import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DsHINSgA.js";
|
|
3
3
|
import "vue-devui-lal/icon";
|
|
4
4
|
import "vue-devui-lal/icon/style.css";
|
|
5
5
|
const _hoisted_1 = ["onClick"];
|
|
@@ -25,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
25
25
|
};
|
|
26
26
|
return (_ctx, _cache) => {
|
|
27
27
|
return openBlock(), createElementBlock("ul", null, [
|
|
28
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
28
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.searchScopeList, (item, index) => {
|
|
29
29
|
return openBlock(), createElementBlock("li", {
|
|
30
30
|
key: index,
|
|
31
31
|
class: "g-header-search-scopechoose pt-[16px] px-[8px]",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { inject, ref, watch, withDirectives,
|
|
2
|
-
import { a as i18n, h as headRequest, G as GIcon, t as transformUrl } from "./index-
|
|
1
|
+
import { inject, ref, watch, withDirectives, openBlock, createElementBlock, 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-DsHINSgA.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,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, onMounted, nextTick, onUnmounted,
|
|
2
|
-
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-
|
|
1
|
+
import { defineComponent, onMounted, nextTick, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
+
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-DsHINSgA.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:";
|
|
@@ -105,11 +105,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
105
105
|
});
|
|
106
106
|
return (_ctx, _cache) => {
|
|
107
107
|
return openBlock(), createBlock(unref(FixedOverlay), { class: "captcha-overlay-slid" }, {
|
|
108
|
-
default: withCtx(() => _cache[0] || (_cache[0] = [
|
|
108
|
+
default: withCtx(() => [..._cache[0] || (_cache[0] = [
|
|
109
109
|
createElementVNode("div", { id: "captcha-box" }, null, -1)
|
|
110
|
-
])),
|
|
111
|
-
_: 1
|
|
112
|
-
__: [0]
|
|
110
|
+
])]),
|
|
111
|
+
_: 1
|
|
113
112
|
});
|
|
114
113
|
};
|
|
115
114
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { defineComponent, ref, onMounted, onBeforeUnmount,
|
|
4
|
+
import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createBlock, unref, withCtx, createElementVNode, withDirectives, createVNode, vShow, nextTick } from "vue";
|
|
5
5
|
import { Button } from "vue-devui-lal/button";
|
|
6
6
|
import "vue-devui-lal/button/style.css";
|
|
7
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, z as isZh, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-DsHINSgA.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|