vue-layout-gitcode 1.1.14 → 1.1.15

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,8 +1,8 @@
1
1
  import { inject, ref, watch, onMounted, createElementBlock, createCommentVNode, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock } from "vue";
2
2
  import "vue-devui-lal/icon";
3
3
  import "vue-devui-lal/icon/style.css";
4
- import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-DRj07kpJ.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-A9i9DWgs.js";
4
+ import { a as i18n, h as headRequest, R as REPO_MODULE, b as REPO_TYPE, e as extractRepoInfoWithURL, c as REPO_EVENT } from "./index-DNt3S0x6.js";
5
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-BvY4YjlI.js";
6
6
  const _hoisted_1 = {
7
7
  key: 0,
8
8
  class: "px-[8px] history-list-project pl-[8px]"
@@ -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-DRj07kpJ.js";
2
+ import { a as i18n, h as headRequest, G as GIcon, r as reqCatch } from "./index-DNt3S0x6.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-DRj07kpJ.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DNt3S0x6.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-DRj07kpJ.js";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-DNt3S0x6.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,8 +1,10 @@
1
- import { defineComponent, inject, ref, onMounted, resolveComponent, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-A9i9DWgs.js";
3
- import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-DRj07kpJ.js";
1
+ import { defineComponent, inject, ref, onMounted, createElementBlock, openBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
2
+ import { u as useReportRepo, S as SearchRepoCard } from "./index-BvY4YjlI.js";
3
+ import { a as i18n, h as headRequest, R as REPO_MODULE, c as REPO_EVENT, l as localStorage, _ as _export_sfc } from "./index-DNt3S0x6.js";
4
4
  import { Row, Col } from "vue-devui-lal/grid";
5
+ import { SkeletonItem } from "vue-devui-lal/skeleton";
5
6
  import "vue-devui-lal/grid/style.css";
7
+ import "vue-devui-lal/skeleton/style.css";
6
8
  const _hoisted_1 = { class: "g-header-search-recommed" };
7
9
  const _hoisted_2 = { key: 0 };
8
10
  const _hoisted_3 = { class: "g-header-search-recommed-title" };
@@ -50,7 +52,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
50
52
  getRecommendRepo();
51
53
  });
52
54
  return (_ctx, _cache) => {
53
- const _component_DSkeletonItem = resolveComponent("DSkeletonItem");
54
55
  return openBlock(), createElementBlock("div", _hoisted_1, [
55
56
  recommendRepoList.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
56
57
  createElementVNode("div", _hoisted_3, toDisplayString(unref($t)("gitCodeLayout.search.trendingToday")), 1),
@@ -80,13 +81,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
80
81
  default: withCtx(() => [
81
82
  createVNode(unref(Col), { flex: "auto" }, {
82
83
  default: withCtx(() => [
83
- createVNode(_component_DSkeletonItem, { style: { "width": "50%", "height": "20px" } })
84
+ createVNode(unref(SkeletonItem), { style: { "width": "50%", "height": "20px" } })
84
85
  ]),
85
86
  _: 1
86
87
  }),
87
88
  createVNode(unref(Col), { flex: "none" }, {
88
89
  default: withCtx(() => [
89
- createVNode(_component_DSkeletonItem, { style: { "width": "40px", "height": "20px" } })
90
+ createVNode(unref(SkeletonItem), { style: { "width": "40px", "height": "20px" } })
90
91
  ]),
91
92
  _: 1
92
93
  })
@@ -101,7 +102,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
101
102
  default: withCtx(() => [
102
103
  createVNode(unref(Col), { flex: "auto" }, {
103
104
  default: withCtx(() => [
104
- createVNode(_component_DSkeletonItem, { style: { "width": "80%", "height": "20px" } })
105
+ createVNode(unref(SkeletonItem), { style: { "width": "80%", "height": "20px" } })
105
106
  ]),
106
107
  _: 1
107
108
  })
@@ -116,13 +117,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
117
  default: withCtx(() => [
117
118
  createVNode(unref(Col), { flex: "none" }, {
118
119
  default: withCtx(() => [
119
- createVNode(_component_DSkeletonItem, { style: { "width": "50px", "height": "20px", "border-radius": "20px" } })
120
+ createVNode(unref(SkeletonItem), { style: { "width": "50px", "height": "20px", "border-radius": "20px" } })
120
121
  ]),
121
122
  _: 1
122
123
  }),
123
124
  createVNode(unref(Col), { flex: "none" }, {
124
125
  default: withCtx(() => [
125
- createVNode(_component_DSkeletonItem, { style: { "width": "60px", "height": "20px" } })
126
+ createVNode(unref(SkeletonItem), { style: { "width": "60px", "height": "20px" } })
126
127
  ]),
127
128
  _: 1
128
129
  })
@@ -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-DRj07kpJ.js";
2
+ import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-DNt3S0x6.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 } from "./index-DRj07kpJ.js";
2
+ import { a as i18n, h as headRequest, G as GIcon } from "./index-DNt3S0x6.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,8 +1,8 @@
1
- import { ref, watchEffect, defineComponent, toDisplayString, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, unref, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, resolveComponent, withCtx } from "vue";
2
- import { d as debounce, h as headRequest, G as GIcon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as isGstarRepo, k as _sfc_main$8, m as isIncubationRepo, n as highlightWords, t as transWebUrl, o as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DRj07kpJ.js";
1
+ import { ref, watchEffect, defineComponent, toDisplayString, inject, createElementBlock, openBlock, normalizeClass, createElementVNode, withModifiers, withDirectives, vShow, createVNode, computed, createCommentVNode, unref, normalizeStyle, createTextVNode, onMounted, onUnmounted, Fragment, createBlock, renderList, reactive, withCtx } from "vue";
2
+ import { d as debounce, h as headRequest, G as GIcon, r as reqCatch, _ as _export_sfc, a as i18n, T as TOPIC_TYPE, f as useTimeFormat, g as usePageResize, j as isGstarRepo, k as _sfc_main$8, m as isIncubationRepo, n as highlightWords, t as transWebUrl, o as _frEventTrack, E as EVENT_NAME, b as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-DNt3S0x6.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Row, Col } from "vue-devui-lal/grid";
5
- import { Skeleton } from "vue-devui-lal/skeleton";
5
+ import { Skeleton, SkeletonItem } from "vue-devui-lal/skeleton";
6
6
  import "vue-devui-lal/grid/style.css";
7
7
  import "vue-devui-lal/skeleton/style.css";
8
8
  const useReportRepo = (reportParams, viewReport) => {
@@ -517,7 +517,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
517
517
  if (props.info.is_recommend && props.info.index === 0) handleQueryGraph();
518
518
  });
519
519
  return (_ctx, _cache) => {
520
- const _component_DSkeletonItem = resolveComponent("DSkeletonItem");
521
520
  return openBlock(), createElementBlock("a", {
522
521
  class: normalizeClass(["i-search-projects-card", { noborder: _ctx.noborder, "full-hover": _ctx.hover }]),
523
522
  onClick: handleClick
@@ -597,7 +596,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
597
596
  span: rowSpan[unref(widthType)]
598
597
  }, {
599
598
  default: withCtx(() => [
600
- createVNode(_component_DSkeletonItem, { class: "h-[110px] mt-[16px]" })
599
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
601
600
  ]),
602
601
  _: 1
603
602
  }, 8, ["span"]),
@@ -605,7 +604,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
605
604
  span: rowSpan[unref(widthType)]
606
605
  }, {
607
606
  default: withCtx(() => [
608
- createVNode(_component_DSkeletonItem, { class: "h-[110px] mt-[16px]" })
607
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
609
608
  ]),
610
609
  _: 1
611
610
  }, 8, ["span"]),
@@ -613,7 +612,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
613
612
  span: rowSpan[unref(widthType)]
614
613
  }, {
615
614
  default: withCtx(() => [
616
- createVNode(_component_DSkeletonItem, { class: "h-[110px] mt-[16px]" })
615
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
617
616
  ]),
618
617
  _: 1
619
618
  }, 8, ["span"])
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, onMounted, createBlock, openBlock, unref, withCtx, createElementVNode } from "vue";
2
2
  import { FixedOverlay } from "vue-devui-lal/overlay";
3
- import { p as useLayoutConfig, _ as _export_sfc } from "./index-DRj07kpJ.js";
3
+ import { p as useLayoutConfig, _ as _export_sfc } from "./index-DNt3S0x6.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  const _sfc_main = /* @__PURE__ */ defineComponent({
6
6
  __name: "index",
@@ -17566,13 +17566,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
17566
17566
  setup(__props) {
17567
17567
  var _a;
17568
17568
  const { t: $t } = i18n.global;
17569
- const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-CXE87VT0.js"));
17570
- const UserSearch = defineAsyncComponent(() => import("./UserSearch-BCZauJC7.js"));
17571
- const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-1hoPbNMT.js"));
17572
- const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-CfTF5kJD.js"));
17573
- const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-POSUOSPF.js"));
17574
- const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-Xz1aAyGv.js"));
17575
- const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-DWSNGoBB.js"));
17569
+ const ProjectSearch = defineAsyncComponent(() => import("./ProjectSearch-Dq2lAbyp.js"));
17570
+ const UserSearch = defineAsyncComponent(() => import("./UserSearch-BjZKWLCH.js"));
17571
+ const GloabarSearch = defineAsyncComponent(() => import("./GloabarSearch-DEzGNil_.js"));
17572
+ const SearchHistoryList = defineAsyncComponent(() => import("./SearchHistoryList-frtdKkvB.js"));
17573
+ const SearchScopeList = defineAsyncComponent(() => import("./SearchScopeList-CxWPZ5Wf.js"));
17574
+ const SearchPrefixTag = defineAsyncComponent(() => import("./SearchPrefixTag-D91Q5TVW.js"));
17575
+ const SearchRecommed = defineAsyncComponent(() => import("./SearchRecommed-ClxCoeC9.js"));
17576
17576
  const props = __props;
17577
17577
  const repoInfo = inject("repoInfo");
17578
17578
  const orgInfo = inject("orgInfo");
@@ -18092,7 +18092,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18092
18092
  }
18093
18093
  });
18094
18094
  const Search = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__scopeId", "data-v-gitcode-layout-lib"]]);
18095
- const NoticeModal = defineAsyncComponent(() => import("./notice-8n5EYXk6.js"));
18095
+ const NoticeModal = defineAsyncComponent(() => import("./notice-mlYFG2GK.js"));
18096
18096
  function clearNotice() {
18097
18097
  if (localStorage$2.getItem("validator_email")) {
18098
18098
  localStorage$2.removeItem("validator_email");
@@ -24214,7 +24214,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
24214
24214
  }
24215
24215
  });
24216
24216
  const MFA = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
24217
- const SlidCaptcha = defineAsyncComponent(() => import("./index-BWHnLaFf.js"));
24217
+ const SlidCaptcha = defineAsyncComponent(() => import("./index-CJaXZjKo.js"));
24218
24218
  const useSlidCaptcha = () => {
24219
24219
  const { mount, unMount } = usePopup("slid-captcha-popup");
24220
24220
  const open = (config) => {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { v, w, z, s, S, q, A, C, y, B, x } from "./index-DRj07kpJ.js";
1
+ import { v, w, z, s, S, q, A, C, y, B, x } from "./index-DNt3S0x6.js";
2
2
  export {
3
3
  v as GitCodeAside,
4
4
  w as GitCodeHeader,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, createBlock, openBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel } from "./index-DRj07kpJ.js";
2
+ import { i as isPhone, u as useModel } from "./index-DNt3S0x6.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.1.14",
3
+ "version": "1.1.15",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",