vue-layout-gitcode 1.0.23 → 1.0.24

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.
@@ -1,6 +1,6 @@
1
1
  import { inject, ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createVNode, createCommentVNode } from "vue";
2
- import { a as i18n, h as headRequest, R as REPO_MODULE, t as transWebUrl, I as Icon, b as useReport, c as REPO_EVENT, d as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-e76611e6.js";
3
- import { u as useReportRepo, f as formatNameSpace } from "./formatNameSpace-b57bbef1.js";
2
+ import { a as i18n, h as headRequest, R as REPO_MODULE, t as transWebUrl, I as Icon, b as useReport, c as REPO_EVENT, d as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-0422a79e.js";
3
+ import { u as useReportRepo, f as formatNameSpace } from "./formatNameSpace-1611ee10.js";
4
4
  import "vue-devui-lal/icon";
5
5
  import "vue-devui-lal/icon/style.css";
6
6
  import "vue-devui-lal/button";
@@ -1,5 +1,5 @@
1
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, I as Icon, r as reqCatch } from "./index-e76611e6.js";
2
+ import { a as i18n, h as headRequest, I as Icon, r as reqCatch } from "./index-0422a79e.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, openBlock, createElementBlock, Fragment, renderList, normalizeClass, createElementVNode, createVNode, toDisplayString, withModifiers, createCommentVNode } from "vue";
2
- import { a as i18n, I as Icon, _ as _export_sfc } from "./index-e76611e6.js";
2
+ import { a as i18n, I as Icon, _ as _export_sfc } from "./index-0422a79e.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  import "vue-devui-lal/button";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, withModifiers, createVNode, vShow } from "vue";
2
- import { I as Icon, _ as _export_sfc } from "./index-e76611e6.js";
2
+ import { I as Icon, _ as _export_sfc } from "./index-0422a79e.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  import "vue-devui-lal/button";
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, toDisplayString, inject, ref, openBlock, createElementBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, unref, normalizeStyle, createCommentVNode, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, resolveComponent, withCtx } from "vue";
2
- import { h as headRequest, I as Icon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as highlightWords, t as transWebUrl, k as _frEventTrack, E as EVENT_NAME, d as REPO_TYPE, e as extractRepoInfoWithURL, R as REPO_MODULE, b as useReport, c as REPO_EVENT } from "./index-e76611e6.js";
3
- import { f as formatNameSpace, u as useReportRepo } from "./formatNameSpace-b57bbef1.js";
2
+ import { h as headRequest, I as Icon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as highlightWords, t as transWebUrl, k as _frEventTrack, E as EVENT_NAME, d as REPO_TYPE, e as extractRepoInfoWithURL, R as REPO_MODULE, b as useReport, c as REPO_EVENT } from "./index-0422a79e.js";
3
+ import { f as formatNameSpace, u as useReportRepo } from "./formatNameSpace-1611ee10.js";
4
4
  import { useRouter } from "vue-router";
5
5
  import { Row, Col } from "vue-devui-lal/grid";
6
6
  import "vue-devui-lal/grid/style.css";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
2
- import { a as i18n, I as Icon, _ as _export_sfc } from "./index-e76611e6.js";
2
+ import { a as i18n, I as Icon, _ as _export_sfc } from "./index-0422a79e.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  import "vue-devui-lal/button";
@@ -1,5 +1,5 @@
1
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, I as Icon } from "./index-e76611e6.js";
2
+ import { a as i18n, h as headRequest, I as Icon } from "./index-0422a79e.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  import "vue-devui-lal/button";
@@ -1,5 +1,5 @@
1
1
  import { ref, watchEffect } from "vue";
2
- import { l as debounce } from "./index-e76611e6.js";
2
+ import { l as debounce } from "./index-0422a79e.js";
3
3
  const useReportRepo = (reportParams, viewReport) => {
4
4
  const list = ref([]);
5
5
  const pageRef = ref((window == null ? void 0 : window.page_ref) || "");
@@ -17467,13 +17467,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
17467
17467
  setup(__props) {
17468
17468
  var _a;
17469
17469
  const { t: $t } = i18n.global;
17470
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-bb53fc6d.js"));
17471
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-0b2c1b94.js"));
17472
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-f153918c.js"));
17473
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-be4ff8c5.js"));
17474
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-19e85e3d.js"));
17475
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-a49baa01.js"));
17476
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-cb30bed4.js"));
17470
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-9f9c0147.js"));
17471
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-90939207.js"));
17472
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-f28fbeed.js"));
17473
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-60be8e43.js"));
17474
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-219689f3.js"));
17475
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-9c65808f.js"));
17476
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-264ad90c.js"));
17477
17477
  const props = __props;
17478
17478
  const repoInfo = inject("repoInfo");
17479
17479
  const orgInfo = inject("orgInfo");
@@ -17992,7 +17992,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
17992
17992
  const index_vue_vue_type_style_index_0_scoped_d4208c89_lang = "";
17993
17993
  const index_vue_vue_type_style_index_1_lang$2 = "";
17994
17994
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-d4208c89"]]);
17995
- const NoticeModal = defineAsyncComponent(() => import("./notice-2ad3e64a.js"));
17995
+ const NoticeModal = defineAsyncComponent(() => import("./notice-b01fc92d.js"));
17996
17996
  function clearNotice() {
17997
17997
  if (localStorage.getItem("validator_email")) {
17998
17998
  localStorage.removeItem("validator_email");
@@ -24292,7 +24292,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24292
24292
  const MFA_vue_vue_type_style_index_0_lang = "";
24293
24293
  const MFA_vue_vue_type_style_index_1_scoped_3e0f827f_lang = "";
24294
24294
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-3e0f827f"]]);
24295
- const SlidCaptcha = defineAsyncComponent(() => import("./index-6374e2ea.js"));
24295
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-2406f21b.js"));
24296
24296
  const useSlidCaptcha = () => {
24297
24297
  const { mount, unMount } = usePopup("slid-captcha-popup");
24298
24298
  const open = (config) => {
@@ -25739,7 +25739,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25739
25739
  openHarmonyGuide: { type: Boolean, default: true }
25740
25740
  },
25741
25741
  setup(__props) {
25742
- const layoutConfig2 = useLayoutConfig();
25743
25742
  const props = __props;
25744
25743
  const status = ref(false);
25745
25744
  const { login, isMounted } = useLogin(props.request);
@@ -25784,11 +25783,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
25784
25783
  });
25785
25784
  addEventListener("notice", toNotice);
25786
25785
  window.addEventListener("message", (event) => {
25787
- if (event.origin !== layoutConfig2.VITE_HOST)
25788
- return;
25786
+ var _a, _b;
25789
25787
  const action = HandleParentWindowGetLoginInfo(props.request);
25790
- if ([AuthResType.SUCCESS, AuthResType.FAIL].includes(event.data.type)) {
25791
- action[event.data.type](event);
25788
+ if ([AuthResType.SUCCESS, AuthResType.FAIL].includes((_a = event == null ? void 0 : event.data) == null ? void 0 : _a.type)) {
25789
+ action[(_b = event == null ? void 0 : event.data) == null ? void 0 : _b.type](event);
25792
25790
  }
25793
25791
  });
25794
25792
  });
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, onMounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
2
2
  import { FixedOverlay } from "vue-devui-lal/overlay";
3
- import { m as useLayoutConfig, _ as _export_sfc } from "./index-e76611e6.js";
3
+ import { m as useLayoutConfig, _ as _export_sfc } from "./index-0422a79e.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  import "vue-devui-lal/button";
6
6
  import "vue-devui-lal/popover";
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G, p, q, o, S, n, v, s } from "./index-e76611e6.js";
1
+ import { G, p, q, o, S, n, v, s } from "./index-0422a79e.js";
2
2
  import "vue";
3
3
  import "vue-devui-lal/button";
4
4
  import "vue-devui-lal/popover";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel } from "./index-e76611e6.js";
2
+ import { i as isPhone, u as useModel } from "./index-0422a79e.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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "用于gitcode站点编程使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",