vue-layout-gitcode 1.12.14 → 1.12.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,10 +1,10 @@
1
- import { defineComponent, inject, openBlock, createElementBlock, Fragment, createElementVNode, toDisplayString, unref, createVNode, renderList, withDirectives, createBlock, ref, watch, onMounted, createCommentVNode } from "vue";
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-BlCnbgAU.js";
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-CxU91-vf.js";
5
5
  import "lodash/debounce";
6
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index--_nHlr5T.js";
7
- import "./transWebUrl-ByXTM-K3.js";
6
+ import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-FKpAijlF.js";
7
+ import "./transWebUrl-B7o8Ek5u.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, 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, b as REPO_EVENT, _ as _export_sfc } from "./index-BlCnbgAU.js";
1
+ import { defineComponent, inject, useSlots, computed, ref, createBlock, openBlock, 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, b as REPO_EVENT, _ as _export_sfc } from "./index-CxU91-vf.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
- 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, 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-BlCnbgAU.js";
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-CxU91-vf.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-ByXTM-K3.js";
4
+ import { t as transWebUrl } from "./transWebUrl-B7o8Ek5u.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";
@@ -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
- __props.type === "project" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
253
+ _ctx.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
- __props.type === "team" ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
314
+ _ctx.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
- __props.type === "enterprise" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
353
+ _ctx.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: __props.type === "project" ? `${item.namespace}/${item.label}` : item.label
402
+ title: _ctx.type === "project" ? `${item.namespace}/${item.label}` : item.label
403
403
  }, {
404
404
  icon: withCtx(() => [
405
- __props.type === "project" ? (openBlock(), createBlock(GIcon, {
405
+ _ctx.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
- __props.type === "project" ? (openBlock(), createElementBlock("span", _hoisted_8, [
420
+ _ctx.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
- __props.type !== "enterprise" && !totalNum.value && !firstLoading.value ? (openBlock(), createBlock(unref(Button), {
428
+ _ctx.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(__props.buttonText), 1)
435
+ createTextVNode(toDisplayString(_ctx.buttonText), 1)
436
436
  ]),
437
437
  _: 1
438
438
  })) : createCommentVNode("", true),
@@ -1,7 +1,7 @@
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, I as asideRequest, F as emitEvent, s as setLoginTriggerSource, f as useRequestReport, _ as _export_sfc } from "./index-BlCnbgAU.js";
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-CxU91-vf.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-ByXTM-K3.js";
4
+ import { t as transWebUrl } from "./transWebUrl-B7o8Ek5u.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";
@@ -220,7 +220,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
220
220
  onClick: withModifiers(createRepoOrOrg, ["stop"])
221
221
  }, {
222
222
  default: withCtx(() => [
223
- createTextVNode(toDisplayString(__props.buttonText), 1)
223
+ createTextVNode(toDisplayString(_ctx.buttonText), 1)
224
224
  ]),
225
225
  _: 1
226
226
  })) : createCommentVNode("", true),
@@ -1,5 +1,5 @@
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-BlCnbgAU.js";
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-CxU91-vf.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, 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-BlCnbgAU.js";
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-CxU91-vf.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" };
@@ -110,7 +110,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
110
110
  };
111
111
  return (_ctx, _cache) => {
112
112
  return openBlock(), createElementBlock("div", _hoisted_1, [
113
- __props.searchHistoryList.length ? (openBlock(), createElementBlock("ul", {
113
+ _ctx.searchHistoryList.length ? (openBlock(), createElementBlock("ul", {
114
114
  key: 0,
115
115
  class: "history-list-box mt-[16px]",
116
116
  onMouseleave: resetIndex
@@ -118,7 +118,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
118
118
  (openBlock(true), createElementBlock(Fragment, null, renderList(historyList.value, (item, index) => {
119
119
  return openBlock(), createElementBlock("li", {
120
120
  key: item,
121
- class: normalizeClass(__props.activeIndex === index ? "hoverbg" : ""),
121
+ class: normalizeClass(_ctx.activeIndex === index ? "hoverbg" : ""),
122
122
  onClick: ($event) => toSearch(item),
123
123
  onMouseenter: ($event) => onSearchEnter(index)
124
124
  }, [
@@ -141,10 +141,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
141
141
  ]),
142
142
  createElementVNode("div", _hoisted_8, [
143
143
  createElementVNode("span", {
144
- class: normalizeClass(__props.activeIndex === index ? "text-[var(--theme-text)]" : "text-[var(--theme-placeholder)]")
144
+ class: normalizeClass(_ctx.activeIndex === index ? "text-[var(--theme-text)]" : "text-[var(--theme-placeholder)]")
145
145
  }, toDisplayString(getRepoType(item).text), 3),
146
146
  createVNode(GIcon, {
147
- name: __props.activeIndex === index ? getRepoType(item).hoverIcon : getRepoType(item).icon
147
+ name: _ctx.activeIndex === index ? getRepoType(item).hoverIcon : getRepoType(item).icon
148
148
  }, null, 8, ["name"])
149
149
  ])
150
150
  ]),
@@ -1,5 +1,5 @@
1
- import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, withModifiers, createVNode, vShow } from "vue";
2
- import { G as GIcon, _ as _export_sfc } from "./index-BlCnbgAU.js";
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-CxU91-vf.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = { class: "ellipsis" };
@@ -23,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
23
23
  class: "g-header-search-projectname flex items-center px-[16px]",
24
24
  onClick: onInputClick
25
25
  }, [
26
- createElementVNode("span", _hoisted_1, toDisplayString(__props.tag), 1),
26
+ createElementVNode("span", _hoisted_1, toDisplayString(_ctx.tag), 1),
27
27
  withDirectives(createElementVNode("span", {
28
28
  class: "g-header-search-projectname-close ml-[12px] flex",
29
29
  onClick: withModifiers(onCloseTag, ["stop"])
@@ -34,7 +34,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
34
34
  size: "7px"
35
35
  })
36
36
  ], 512), [
37
- [vShow, __props.closeVisible]
37
+ [vShow, _ctx.closeVisible]
38
38
  ])
39
39
  ]);
40
40
  };
@@ -1,6 +1,6 @@
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--_nHlr5T.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-BlCnbgAU.js";
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-FKpAijlF.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-CxU91-vf.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, openBlock, createElementBlock, Fragment, renderList, createElementVNode, createVNode, toDisplayString, createCommentVNode, unref } from "vue";
2
- import { a as i18n, G as GIcon, _ as _export_sfc } from "./index-BlCnbgAU.js";
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-CxU91-vf.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = ["onClick"];
@@ -27,7 +27,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
27
  };
28
28
  return (_ctx, _cache) => {
29
29
  return openBlock(), createElementBlock("ul", null, [
30
- (openBlock(true), createElementBlock(Fragment, null, renderList(__props.searchScopeList, (item, index) => {
30
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchScopeList, (item, index) => {
31
31
  return openBlock(), createElementBlock("li", {
32
32
  key: index,
33
33
  class: "g-header-search-scopechoose pt-[16px] px-[8px]",
@@ -41,7 +41,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
41
41
  }),
42
42
  item.label ? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString(item.label) + ":", 1)) : createCommentVNode("", true),
43
43
  item.value ? (openBlock(), createElementBlock("span", _hoisted_5, toDisplayString(item.value), 1)) : createCommentVNode("", true),
44
- createElementVNode("span", _hoisted_6, toDisplayString(__props.searchStr), 1)
44
+ createElementVNode("span", _hoisted_6, toDisplayString(_ctx.searchStr), 1)
45
45
  ]),
46
46
  createElementVNode("p", _hoisted_7, [
47
47
  createElementVNode("span", null, toDisplayString(item.label ? `${item.label}${unref($t)("gitCodeLayout.header.underSearch")}` : item.title), 1),
@@ -1,5 +1,5 @@
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-BlCnbgAU.js";
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-CxU91-vf.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,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, openBlock, createBlock, unref, withCtx, createElementVNode, withDirectives, createVNode, vShow, nextTick } from "vue";
4
+ import { defineComponent, ref, onMounted, onBeforeUnmount, createBlock, openBlock, 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-BlCnbgAU.js";
11
+ import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-CxU91-vf.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {