vue-layout-gitcode 1.10.42 → 1.10.44
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-DdaoboC2.js → GloabarSearch-YDHuuDWW.js} +3 -3
- package/{MenuItem-9rFXox-C.js → MenuItem-DlbxJaOM.js} +1 -1
- package/{ProjectMenuList-sz_EM2jU.js → ProjectMenuList-BflGtf7k.js} +2 -2
- package/{ProjectMenuListV2-CGke7KcP.js → ProjectMenuListV2-CAFYMIBK.js} +2 -2
- package/{ProjectSearch-CZE5yc9Z.js → ProjectSearch-zu1NglEP.js} +1 -1
- package/{SearchHistoryList-D5Iu-07V.js → SearchHistoryList-tMTBm0qH.js} +1 -1
- package/{SearchPrefixTag-CVUAN5hh.js → SearchPrefixTag-CNAEATYg.js} +1 -1
- package/{SearchRecommed-BX-0QgUj.js → SearchRecommed-D7wbyhd4.js} +2 -2
- package/{SearchScopeList-BWBEo8Qa.js → SearchScopeList-DYGedmk1.js} +1 -1
- package/{UserSearch-ChSdL32b.js → UserSearch-t4GdWDGq.js} +1 -1
- package/{index-BUTwJwLK.js → index-BE3Atccs.js} +1 -1
- package/{index-NKcAKXqz.js → index-BMR0Fwci.js} +81 -70
- package/{index-0Qe5Rwhs.js → index-BcFAnu7q.js} +2 -2
- package/{index-BcZMYrzT.js → index-Cpvh8nYC.js} +1 -1
- package/index.d.ts +572 -218
- package/index.js +1 -1
- package/{notice-CW08RBov.js → notice-Bp_WbrA4.js} +1 -1
- package/package.json +2 -2
- package/{transWebUrl-CI3ko7ge.js → transWebUrl-CxSrqCcd.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-BMR0Fwci.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-BcFAnu7q.js";
|
|
7
|
+
import "./transWebUrl-CxSrqCcd.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 { 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-
|
|
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-BMR0Fwci.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, y as useLayoutConfig, G as GIcon, t as transformUrl, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, G as GIcon, t as transformUrl, J as _sfc_main$1, K as loadAsideData, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, I as asideRequest, _ as _export_sfc } from "./index-BMR0Fwci.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CxSrqCcd.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, y as useLayoutConfig, t as transformUrl, I as asideRequest, G as GIcon, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-
|
|
2
|
+
import { a as i18n, y as useLayoutConfig, t as transformUrl, I as asideRequest, G as GIcon, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-BMR0Fwci.js";
|
|
3
3
|
import { useRouter } from "vue-router";
|
|
4
|
-
import { t as transWebUrl } from "./transWebUrl-
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CxSrqCcd.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-BMR0Fwci.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-BMR0Fwci.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-BMR0Fwci.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-BcFAnu7q.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-BMR0Fwci.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-BMR0Fwci.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-BMR0Fwci.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]" };
|
|
@@ -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, z as isZh, _ as _export_sfc } from "./index-
|
|
11
|
+
import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-BMR0Fwci.js";
|
|
12
12
|
const _YunpianCaptchaManager = class _YunpianCaptchaManager {
|
|
13
13
|
// eslint-disable-next-line no-useless-constructor
|
|
14
14
|
constructor() {
|
|
@@ -568,7 +568,7 @@ const LOGO_MAP = {
|
|
|
568
568
|
aiLogoDark: "https://cdn-static.gitcode.com/static/images/gitcode-ai-logo-dark_atomgit.png"
|
|
569
569
|
}
|
|
570
570
|
};
|
|
571
|
-
/*! @license DOMPurify 3.
|
|
571
|
+
/*! @license DOMPurify 3.3.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.0/LICENSE */
|
|
572
572
|
const {
|
|
573
573
|
entries,
|
|
574
574
|
setPrototypeOf,
|
|
@@ -596,12 +596,18 @@ if (!seal) {
|
|
|
596
596
|
};
|
|
597
597
|
}
|
|
598
598
|
if (!apply$1) {
|
|
599
|
-
apply$1 = function apply2(
|
|
600
|
-
|
|
599
|
+
apply$1 = function apply2(func, thisArg) {
|
|
600
|
+
for (var _len = arguments.length, args = new Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) {
|
|
601
|
+
args[_key - 2] = arguments[_key];
|
|
602
|
+
}
|
|
603
|
+
return func.apply(thisArg, args);
|
|
601
604
|
};
|
|
602
605
|
}
|
|
603
606
|
if (!construct) {
|
|
604
|
-
construct = function construct2(Func
|
|
607
|
+
construct = function construct2(Func) {
|
|
608
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
609
|
+
args[_key2 - 1] = arguments[_key2];
|
|
610
|
+
}
|
|
605
611
|
return new Func(...args);
|
|
606
612
|
};
|
|
607
613
|
}
|
|
@@ -624,18 +630,18 @@ function unapply(func) {
|
|
|
624
630
|
if (thisArg instanceof RegExp) {
|
|
625
631
|
thisArg.lastIndex = 0;
|
|
626
632
|
}
|
|
627
|
-
for (var
|
|
628
|
-
args[
|
|
633
|
+
for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
|
|
634
|
+
args[_key3 - 1] = arguments[_key3];
|
|
629
635
|
}
|
|
630
636
|
return apply$1(func, thisArg, args);
|
|
631
637
|
};
|
|
632
638
|
}
|
|
633
|
-
function unconstruct(
|
|
639
|
+
function unconstruct(Func) {
|
|
634
640
|
return function() {
|
|
635
|
-
for (var
|
|
636
|
-
args[
|
|
641
|
+
for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
|
|
642
|
+
args[_key4] = arguments[_key4];
|
|
637
643
|
}
|
|
638
|
-
return construct(
|
|
644
|
+
return construct(Func, args);
|
|
639
645
|
};
|
|
640
646
|
}
|
|
641
647
|
function addToSet(set, array) {
|
|
@@ -702,15 +708,15 @@ function lookupGetter(object, prop) {
|
|
|
702
708
|
}
|
|
703
709
|
return fallbackValue;
|
|
704
710
|
}
|
|
705
|
-
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "section", "select", "shadow", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
|
|
706
|
-
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
711
|
+
const html$1 = freeze(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]);
|
|
712
|
+
const svg$1 = freeze(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]);
|
|
707
713
|
const svgFilters = freeze(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]);
|
|
708
714
|
const svgDisallowed = freeze(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]);
|
|
709
715
|
const mathMl$1 = freeze(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]);
|
|
710
716
|
const mathMlDisallowed = freeze(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]);
|
|
711
717
|
const text = freeze(["#text"]);
|
|
712
|
-
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
713
|
-
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
|
|
718
|
+
const html = freeze(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns", "slot"]);
|
|
719
|
+
const svg = freeze(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]);
|
|
714
720
|
const mathMl = freeze(["accent", "accentunder", "align", "bevelled", "close", "columnsalign", "columnlines", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lspace", "lquote", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]);
|
|
715
721
|
const xml = freeze(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]);
|
|
716
722
|
const MUSTACHE_EXPR = seal(/\{\{[\w\W]*|[\w\W]*\}\}/gm);
|
|
@@ -793,7 +799,7 @@ const _createHooksMap = function _createHooksMap2() {
|
|
|
793
799
|
function createDOMPurify() {
|
|
794
800
|
let window2 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : getGlobal();
|
|
795
801
|
const DOMPurify = (root) => createDOMPurify(root);
|
|
796
|
-
DOMPurify.version = "3.
|
|
802
|
+
DOMPurify.version = "3.3.0";
|
|
797
803
|
DOMPurify.removed = [];
|
|
798
804
|
if (!window2 || !window2.document || window2.document.nodeType !== NODE_TYPE.document || !window2.Element) {
|
|
799
805
|
DOMPurify.isSupported = false;
|
|
@@ -879,6 +885,20 @@ function createDOMPurify() {
|
|
|
879
885
|
}));
|
|
880
886
|
let FORBID_TAGS = null;
|
|
881
887
|
let FORBID_ATTR = null;
|
|
888
|
+
const EXTRA_ELEMENT_HANDLING = Object.seal(create$1(null, {
|
|
889
|
+
tagCheck: {
|
|
890
|
+
writable: true,
|
|
891
|
+
configurable: false,
|
|
892
|
+
enumerable: true,
|
|
893
|
+
value: null
|
|
894
|
+
},
|
|
895
|
+
attributeCheck: {
|
|
896
|
+
writable: true,
|
|
897
|
+
configurable: false,
|
|
898
|
+
enumerable: true,
|
|
899
|
+
value: null
|
|
900
|
+
}
|
|
901
|
+
}));
|
|
882
902
|
let ALLOW_ARIA_ATTR = true;
|
|
883
903
|
let ALLOW_DATA_ATTR = true;
|
|
884
904
|
let ALLOW_UNKNOWN_PROTOCOLS = false;
|
|
@@ -1002,16 +1022,24 @@ function createDOMPurify() {
|
|
|
1002
1022
|
}
|
|
1003
1023
|
}
|
|
1004
1024
|
if (cfg.ADD_TAGS) {
|
|
1005
|
-
if (
|
|
1006
|
-
|
|
1025
|
+
if (typeof cfg.ADD_TAGS === "function") {
|
|
1026
|
+
EXTRA_ELEMENT_HANDLING.tagCheck = cfg.ADD_TAGS;
|
|
1027
|
+
} else {
|
|
1028
|
+
if (ALLOWED_TAGS === DEFAULT_ALLOWED_TAGS) {
|
|
1029
|
+
ALLOWED_TAGS = clone(ALLOWED_TAGS);
|
|
1030
|
+
}
|
|
1031
|
+
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
1007
1032
|
}
|
|
1008
|
-
addToSet(ALLOWED_TAGS, cfg.ADD_TAGS, transformCaseFunc);
|
|
1009
1033
|
}
|
|
1010
1034
|
if (cfg.ADD_ATTR) {
|
|
1011
|
-
if (
|
|
1012
|
-
|
|
1035
|
+
if (typeof cfg.ADD_ATTR === "function") {
|
|
1036
|
+
EXTRA_ELEMENT_HANDLING.attributeCheck = cfg.ADD_ATTR;
|
|
1037
|
+
} else {
|
|
1038
|
+
if (ALLOWED_ATTR === DEFAULT_ALLOWED_ATTR) {
|
|
1039
|
+
ALLOWED_ATTR = clone(ALLOWED_ATTR);
|
|
1040
|
+
}
|
|
1041
|
+
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
1013
1042
|
}
|
|
1014
|
-
addToSet(ALLOWED_ATTR, cfg.ADD_ATTR, transformCaseFunc);
|
|
1015
1043
|
}
|
|
1016
1044
|
if (cfg.ADD_URI_SAFE_ATTR) {
|
|
1017
1045
|
addToSet(URI_SAFE_ATTRIBUTES, cfg.ADD_URI_SAFE_ATTR, transformCaseFunc);
|
|
@@ -1217,7 +1245,7 @@ function createDOMPurify() {
|
|
|
1217
1245
|
_forceRemove(currentNode);
|
|
1218
1246
|
return true;
|
|
1219
1247
|
}
|
|
1220
|
-
if (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName]) {
|
|
1248
|
+
if (!(EXTRA_ELEMENT_HANDLING.tagCheck instanceof Function && EXTRA_ELEMENT_HANDLING.tagCheck(tagName)) && (!ALLOWED_TAGS[tagName] || FORBID_TAGS[tagName])) {
|
|
1221
1249
|
if (!FORBID_TAGS[tagName] && _isBasicCustomElement(tagName)) {
|
|
1222
1250
|
if (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, tagName)) {
|
|
1223
1251
|
return false;
|
|
@@ -1270,12 +1298,13 @@ function createDOMPurify() {
|
|
|
1270
1298
|
}
|
|
1271
1299
|
if (ALLOW_DATA_ATTR && !FORBID_ATTR[lcName] && regExpTest(DATA_ATTR2, lcName)) ;
|
|
1272
1300
|
else if (ALLOW_ARIA_ATTR && regExpTest(ARIA_ATTR2, lcName)) ;
|
|
1301
|
+
else if (EXTRA_ELEMENT_HANDLING.attributeCheck instanceof Function && EXTRA_ELEMENT_HANDLING.attributeCheck(lcName, lcTag)) ;
|
|
1273
1302
|
else if (!ALLOWED_ATTR[lcName] || FORBID_ATTR[lcName]) {
|
|
1274
1303
|
if (
|
|
1275
1304
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
1276
1305
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1277
1306
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
1278
|
-
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
1307
|
+
_isBasicCustomElement(lcTag) && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, lcTag) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(lcTag)) && (CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.attributeNameCheck, lcName) || CUSTOM_ELEMENT_HANDLING.attributeNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.attributeNameCheck(lcName, lcTag)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
1279
1308
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
1280
1309
|
lcName === "is" && CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements && (CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof RegExp && regExpTest(CUSTOM_ELEMENT_HANDLING.tagNameCheck, value) || CUSTOM_ELEMENT_HANDLING.tagNameCheck instanceof Function && CUSTOM_ELEMENT_HANDLING.tagNameCheck(value))
|
|
1281
1310
|
) ;
|
|
@@ -1330,7 +1359,11 @@ function createDOMPurify() {
|
|
|
1330
1359
|
_removeAttribute(name, currentNode);
|
|
1331
1360
|
value = SANITIZE_NAMED_PROPS_PREFIX + value;
|
|
1332
1361
|
}
|
|
1333
|
-
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title)/i, value)) {
|
|
1362
|
+
if (SAFE_FOR_XML && regExpTest(/((--!?|])>)|<\/(style|title|textarea)/i, value)) {
|
|
1363
|
+
_removeAttribute(name, currentNode);
|
|
1364
|
+
continue;
|
|
1365
|
+
}
|
|
1366
|
+
if (lcName === "attributename" && stringMatch(value, "href")) {
|
|
1334
1367
|
_removeAttribute(name, currentNode);
|
|
1335
1368
|
continue;
|
|
1336
1369
|
}
|
|
@@ -8659,7 +8692,7 @@ const emitEvent = (evtName, payload) => emitter.emit(evtName, payload);
|
|
|
8659
8692
|
const offEvent = (evtName, handler) => emitter.off(evtName, void 0);
|
|
8660
8693
|
function isPhone() {
|
|
8661
8694
|
if (typeof window !== "undefined" && window.navigator) {
|
|
8662
|
-
const flag = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
|
|
8695
|
+
const flag = /Phone.*OpenHarmony|harmonyos.*mobile|Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
|
|
8663
8696
|
return flag;
|
|
8664
8697
|
}
|
|
8665
8698
|
return false;
|
|
@@ -13510,15 +13543,11 @@ function requireCipherCore() {
|
|
|
13510
13543
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
13511
13544
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
13512
13545
|
*/
|
|
13513
|
-
execute: function(password, keySize, ivSize, salt
|
|
13546
|
+
execute: function(password, keySize, ivSize, salt) {
|
|
13514
13547
|
if (!salt) {
|
|
13515
13548
|
salt = WordArray.random(64 / 8);
|
|
13516
13549
|
}
|
|
13517
|
-
|
|
13518
|
-
var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
|
|
13519
|
-
} else {
|
|
13520
|
-
var key = EvpKDF.create({ keySize: keySize + ivSize, hasher }).compute(password, salt);
|
|
13521
|
-
}
|
|
13550
|
+
var key = EvpKDF.create({ keySize: keySize + ivSize }).compute(password, salt);
|
|
13522
13551
|
var iv = WordArray.create(key.words.slice(keySize), ivSize * 4);
|
|
13523
13552
|
key.sigBytes = keySize * 4;
|
|
13524
13553
|
return CipherParams.create({ key, iv, salt });
|
|
@@ -13552,7 +13581,7 @@ function requireCipherCore() {
|
|
|
13552
13581
|
*/
|
|
13553
13582
|
encrypt: function(cipher, message, password, cfg) {
|
|
13554
13583
|
cfg = this.cfg.extend(cfg);
|
|
13555
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize
|
|
13584
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize);
|
|
13556
13585
|
cfg.iv = derivedParams.iv;
|
|
13557
13586
|
var ciphertext = SerializableCipher.encrypt.call(this, cipher, message, derivedParams.key, cfg);
|
|
13558
13587
|
ciphertext.mixIn(derivedParams);
|
|
@@ -13578,7 +13607,7 @@ function requireCipherCore() {
|
|
|
13578
13607
|
decrypt: function(cipher, ciphertext, password, cfg) {
|
|
13579
13608
|
cfg = this.cfg.extend(cfg);
|
|
13580
13609
|
ciphertext = this._parse(ciphertext, cfg.format);
|
|
13581
|
-
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt
|
|
13610
|
+
var derivedParams = cfg.kdf.execute(password, cipher.keySize, cipher.ivSize, ciphertext.salt);
|
|
13582
13611
|
cfg.iv = derivedParams.iv;
|
|
13583
13612
|
var plaintext = SerializableCipher.decrypt.call(this, cipher, ciphertext, derivedParams.key, cfg);
|
|
13584
13613
|
return plaintext;
|
|
@@ -13916,15 +13945,6 @@ function headRequest(request) {
|
|
|
13916
13945
|
data
|
|
13917
13946
|
});
|
|
13918
13947
|
},
|
|
13919
|
-
/** 启悟社区-是否开启启悟oauth登录 */
|
|
13920
|
-
getCampusWelcomeConfig() {
|
|
13921
|
-
return reqCatch(
|
|
13922
|
-
() => request({
|
|
13923
|
-
url: `/api/v1/search/common/config/campus_welcome_page`,
|
|
13924
|
-
method: "get"
|
|
13925
|
-
})
|
|
13926
|
-
);
|
|
13927
|
-
},
|
|
13928
13948
|
/** 获取gitcode手机号验证码 */
|
|
13929
13949
|
verifyRegisterCode(data) {
|
|
13930
13950
|
const { mobile, type, raw_data, captchaId, token, authenticate, validate } = data;
|
|
@@ -15720,13 +15740,13 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
15720
15740
|
var _a;
|
|
15721
15741
|
const layoutConfig2 = useLayoutConfig();
|
|
15722
15742
|
const { t: $t } = i18n.global;
|
|
15723
|
-
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-
|
|
15724
|
-
const UserSearch = defineAsyncComponent(() => import("./UserSearch-
|
|
15725
|
-
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-
|
|
15726
|
-
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-
|
|
15727
|
-
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-
|
|
15728
|
-
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-
|
|
15729
|
-
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-
|
|
15743
|
+
const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-zu1NglEP.js"));
|
|
15744
|
+
const UserSearch = defineAsyncComponent(() => import("./UserSearch-t4GdWDGq.js"));
|
|
15745
|
+
const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-YDHuuDWW.js"));
|
|
15746
|
+
const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-tMTBm0qH.js"));
|
|
15747
|
+
const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-DYGedmk1.js"));
|
|
15748
|
+
const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-CNAEATYg.js"));
|
|
15749
|
+
const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-D7wbyhd4.js"));
|
|
15730
15750
|
const props = __props;
|
|
15731
15751
|
const repoInfo = inject("repoInfo");
|
|
15732
15752
|
const orgInfo = inject("orgInfo");
|
|
@@ -16500,7 +16520,7 @@ const autoAvokeLogin = ({ isLogin, loginFunc, openHarmonyGuide, loginSuccess, lo
|
|
|
16500
16520
|
loginFunc({ type: "login", triggerType: "", loginTriggerSource: "router_login_auth", ...loginFuncOpts }, loginSuccess, openHarmonyGuide);
|
|
16501
16521
|
}
|
|
16502
16522
|
};
|
|
16503
|
-
const NoticeModal = defineAsyncComponent(() => import("./notice-
|
|
16523
|
+
const NoticeModal = defineAsyncComponent(() => import("./notice-Bp_WbrA4.js"));
|
|
16504
16524
|
function clearNotice() {
|
|
16505
16525
|
if (localStorage$2.getItem("validator_email")) {
|
|
16506
16526
|
localStorage$2.removeItem("validator_email");
|
|
@@ -17307,9 +17327,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
17307
17327
|
const layoutConfig2 = useLayoutConfig();
|
|
17308
17328
|
const { t: t2 } = i18n.global;
|
|
17309
17329
|
const route = useRoute();
|
|
17310
|
-
const MenuItem = defineAsyncComponent(() => import("./MenuItem-
|
|
17311
|
-
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-
|
|
17312
|
-
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-
|
|
17330
|
+
const MenuItem = defineAsyncComponent(() => import("./MenuItem-DlbxJaOM.js"));
|
|
17331
|
+
const ProjectMenuListV2 = defineAsyncComponent(() => import("./ProjectMenuListV2-CAFYMIBK.js"));
|
|
17332
|
+
const ProjectMenuList = defineAsyncComponent(() => import("./ProjectMenuList-BflGtf7k.js"));
|
|
17313
17333
|
const props = __props;
|
|
17314
17334
|
console.log("slotKeys", props.slotKeys);
|
|
17315
17335
|
console.log("props", props);
|
|
@@ -23519,7 +23539,7 @@ const _SlidCaptchaManager = class _SlidCaptchaManager {
|
|
|
23519
23539
|
__publicField(_SlidCaptchaManager, "instance");
|
|
23520
23540
|
let SlidCaptchaManager = _SlidCaptchaManager;
|
|
23521
23541
|
const slidCaptchaManager = SlidCaptchaManager.getInstance();
|
|
23522
|
-
const SlidCaptcha = defineAsyncComponent(() => import("./index-
|
|
23542
|
+
const SlidCaptcha = defineAsyncComponent(() => import("./index-Cpvh8nYC.js"));
|
|
23523
23543
|
const useSlidCaptcha = () => {
|
|
23524
23544
|
const { mount, unMount, isMounted } = usePopup("slid-captcha-popup");
|
|
23525
23545
|
const open = (config) => {
|
|
@@ -23549,7 +23569,7 @@ const useSlidCaptcha = () => {
|
|
|
23549
23569
|
close
|
|
23550
23570
|
};
|
|
23551
23571
|
};
|
|
23552
|
-
const YunpianCaptcha = defineAsyncComponent(() => import("./index-
|
|
23572
|
+
const YunpianCaptcha = defineAsyncComponent(() => import("./index-BE3Atccs.js"));
|
|
23553
23573
|
const useYunpianCaptcha = () => {
|
|
23554
23574
|
const { mount, unMount } = usePopup("yunpian-captcha-popup");
|
|
23555
23575
|
const open = (config) => {
|
|
@@ -24230,13 +24250,13 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24230
24250
|
};
|
|
24231
24251
|
let timer = null;
|
|
24232
24252
|
let interval = null;
|
|
24233
|
-
const qiwuLogo = {
|
|
24234
|
-
src: IconQiWu,
|
|
24235
|
-
alt: "sjtu",
|
|
24236
|
-
describe: $t("gitCodeLayout.LoginModal.action.sjtuLogin") + $t("gitCodeLayout.LoginModal.action.AccountLogin"),
|
|
24237
|
-
loginMethodList: ["sjtu"]
|
|
24238
|
-
};
|
|
24239
24253
|
const logos = reactive([
|
|
24254
|
+
{
|
|
24255
|
+
src: IconQiWu,
|
|
24256
|
+
alt: "sjtu",
|
|
24257
|
+
describe: $t("gitCodeLayout.LoginModal.action.sjtuLogin") + $t("gitCodeLayout.LoginModal.action.AccountLogin"),
|
|
24258
|
+
loginMethodList: ["sjtu"]
|
|
24259
|
+
},
|
|
24240
24260
|
{
|
|
24241
24261
|
src: IconC,
|
|
24242
24262
|
alt: "csdn",
|
|
@@ -24274,14 +24294,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
24274
24294
|
loginMethodList: ["wechat_open", "wechat_mp"]
|
|
24275
24295
|
}
|
|
24276
24296
|
]);
|
|
24277
|
-
const getQiwuLoginOpen = async () => {
|
|
24278
|
-
var _a;
|
|
24279
|
-
const res = await API.getCampusWelcomeConfig();
|
|
24280
|
-
const { entry_enabled = false } = (_a = res == null ? void 0 : res.data) == null ? void 0 : _a.data;
|
|
24281
|
-
if (entry_enabled && !logos.some(({ alt }) => alt === qiwuLogo.alt)) {
|
|
24282
|
-
logos.unshift(qiwuLogo);
|
|
24283
|
-
}
|
|
24284
|
-
};
|
|
24285
24297
|
const emits = __emit;
|
|
24286
24298
|
const { vModels } = useModel(props, emits);
|
|
24287
24299
|
const VerifyForm = reactive([
|
|
@@ -25708,7 +25720,6 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
|
25708
25720
|
const resetPwdDirectly = ref(false);
|
|
25709
25721
|
const resetPwdWhiteList = ["change_password"];
|
|
25710
25722
|
onMounted(() => {
|
|
25711
|
-
getQiwuLoginOpen();
|
|
25712
25723
|
getCurrentCaptchaType();
|
|
25713
25724
|
if (tabPanel.value === "miniProgram" && formType.value === "login") {
|
|
25714
25725
|
getMiniProgramQrCode();
|
|
@@ -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-BMR0Fwci.js";
|
|
4
|
+
import { t as transWebUrl } from "./transWebUrl-CxSrqCcd.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,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, onMounted, nextTick, onUnmounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
|
|
2
|
-
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-
|
|
2
|
+
import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-BMR0Fwci.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:";
|