vue-layout-gitcode 1.1.13 → 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,54 +1,8 @@
1
- import { inject, ref, watch, onMounted, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createCommentVNode } from "vue";
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_EVENT, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-0bdc8fd3.js";
5
- import { u as useReportRepo, S as SearchRepoCard, f as formatNameSpace } from "./index-c21036dd.js";
6
- import "vue-devui-lal/button";
7
- import "vue-devui-lal/popover";
8
- import "vue-devui-lal/tooltip";
9
- import "vue-devui-lal/textarea";
10
- import "vue-devui-lal/button/style.css";
11
- import "vue-devui-lal/popover/style.css";
12
- import "vue-devui-lal/tooltip/style.css";
13
- import "vue-devui-lal/textarea/style.css";
14
- import "vue-router";
15
- import "@vueuse/core";
16
- import "vue-devui-lal/avatar";
17
- import "vue-devui-lal/avatar/style.css";
18
- import "vue-devui-lal/dropdown";
19
- import "vue-devui-lal/dropdown/style.css";
20
- import "dayjs";
21
- import "vue-devui-lal/skeleton";
22
- import "vue-devui-lal/skeleton/style.css";
23
- import "vue-devui-lal/message";
24
- import "vue-devui-lal/message/style.css";
25
- import "vue-devui-lal/badge";
26
- import "vue-devui-lal/badge/style.css";
27
- import "vue-devui-lal/tabs/style.css";
28
- import "vue-devui-lal/input";
29
- import "vue-devui-lal/form";
30
- import "vue-devui-lal/input/style.css";
31
- import "vue-devui-lal/form/style.css";
32
- import "vue-devui-lal/notification";
33
- import "vue-devui-lal/notification/style.css";
34
- import "vue-devui-lal/select";
35
- import "vue-devui-lal/menu";
36
- import "vue-devui-lal/select/style.css";
37
- import "vue-devui-lal/menu/style.css";
38
- import "vue-devui-lal/drawer";
39
- import "vue-devui-lal/layout";
40
- import "vue-devui-lal/drawer/style.css";
41
- import "vue-devui-lal/layout/style.css";
42
- import "vue-devui-lal/radio";
43
- import "@devui-design/icons/icomoon/devui-icon.css";
44
- import "vue-devui-lal/radio/style.css";
45
- import "vue-devui-lal/checkbox";
46
- import "vue-devui-lal/checkbox/style.css";
47
- import "vue-devui-lal/modal";
48
- import "vue-devui-lal/modal/style.css";
49
- import "vue-devui-lal/grid";
50
- import "vue-devui-lal/grid/style.css";
51
- const GloabarSearch_vue_vue_type_style_index_0_lang = "";
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";
52
6
  const _hoisted_1 = {
53
7
  key: 0,
54
8
  class: "px-[8px] history-list-project pl-[8px]"
@@ -1,51 +1,8 @@
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-0bdc8fd3.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-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";
6
- import "vue-devui-lal/button";
7
- import "vue-devui-lal/popover";
8
- import "vue-devui-lal/tooltip";
9
- import "vue-devui-lal/textarea";
10
- import "vue-devui-lal/button/style.css";
11
- import "vue-devui-lal/popover/style.css";
12
- import "vue-devui-lal/tooltip/style.css";
13
- import "vue-devui-lal/textarea/style.css";
14
- import "@vueuse/core";
15
- import "vue-devui-lal/avatar";
16
- import "vue-devui-lal/avatar/style.css";
17
- import "vue-devui-lal/dropdown";
18
- import "vue-devui-lal/dropdown/style.css";
19
- import "dayjs";
20
- import "vue-devui-lal/skeleton";
21
- import "vue-devui-lal/skeleton/style.css";
22
- import "vue-devui-lal/message";
23
- import "vue-devui-lal/message/style.css";
24
- import "vue-devui-lal/badge";
25
- import "vue-devui-lal/badge/style.css";
26
- import "vue-devui-lal/tabs/style.css";
27
- import "vue-devui-lal/input";
28
- import "vue-devui-lal/form";
29
- import "vue-devui-lal/input/style.css";
30
- import "vue-devui-lal/form/style.css";
31
- import "vue-devui-lal/notification";
32
- import "vue-devui-lal/notification/style.css";
33
- import "vue-devui-lal/select";
34
- import "vue-devui-lal/menu";
35
- import "vue-devui-lal/select/style.css";
36
- import "vue-devui-lal/menu/style.css";
37
- import "vue-devui-lal/drawer";
38
- import "vue-devui-lal/layout";
39
- import "vue-devui-lal/drawer/style.css";
40
- import "vue-devui-lal/layout/style.css";
41
- import "vue-devui-lal/radio";
42
- import "@devui-design/icons/icomoon/devui-icon.css";
43
- import "vue-devui-lal/radio/style.css";
44
- import "vue-devui-lal/checkbox";
45
- import "vue-devui-lal/checkbox/style.css";
46
- import "vue-devui-lal/modal";
47
- import "vue-devui-lal/modal/style.css";
48
- const ProjectSearch_vue_vue_type_style_index_0_lang = "";
49
6
  const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
50
7
  const _hoisted_2 = { class: "history-list-project-globartitle mb-[4px] mt-[16px]" };
51
8
  const _hoisted_3 = ["href"];
@@ -63,8 +20,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign({ name: "SearchFileList" }, {
63
20
  const API = headRequest(inject("request"));
64
21
  const loadFileList = async () => {
65
22
  var _a, _b, _c;
66
- if (!((_a = props == null ? void 0 : props.searchInfo) == null ? void 0 : _a.searchScopeName))
67
- return;
23
+ if (!((_a = props == null ? void 0 : props.searchInfo) == null ? void 0 : _a.searchScopeName)) return;
68
24
  const params = {
69
25
  repoId: encodeURIComponent(props.searchInfo.searchScopeName),
70
26
  ref_name: ((_b = props.searchInfo) == null ? void 0 : _b.branch) || ""
@@ -1,50 +1,7 @@
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-0bdc8fd3.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-DNt3S0x6.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
- import "vue-devui-lal/button";
6
- import "vue-devui-lal/popover";
7
- import "vue-devui-lal/tooltip";
8
- import "vue-devui-lal/textarea";
9
- import "vue-devui-lal/button/style.css";
10
- import "vue-devui-lal/popover/style.css";
11
- import "vue-devui-lal/tooltip/style.css";
12
- import "vue-devui-lal/textarea/style.css";
13
- import "vue-router";
14
- import "@vueuse/core";
15
- import "vue-devui-lal/avatar";
16
- import "vue-devui-lal/avatar/style.css";
17
- import "vue-devui-lal/dropdown";
18
- import "vue-devui-lal/dropdown/style.css";
19
- import "dayjs";
20
- import "vue-devui-lal/skeleton";
21
- import "vue-devui-lal/skeleton/style.css";
22
- import "vue-devui-lal/message";
23
- import "vue-devui-lal/message/style.css";
24
- import "vue-devui-lal/badge";
25
- import "vue-devui-lal/badge/style.css";
26
- import "vue-devui-lal/tabs/style.css";
27
- import "vue-devui-lal/input";
28
- import "vue-devui-lal/form";
29
- import "vue-devui-lal/input/style.css";
30
- import "vue-devui-lal/form/style.css";
31
- import "vue-devui-lal/notification";
32
- import "vue-devui-lal/notification/style.css";
33
- import "vue-devui-lal/select";
34
- import "vue-devui-lal/menu";
35
- import "vue-devui-lal/select/style.css";
36
- import "vue-devui-lal/menu/style.css";
37
- import "vue-devui-lal/drawer";
38
- import "vue-devui-lal/layout";
39
- import "vue-devui-lal/drawer/style.css";
40
- import "vue-devui-lal/layout/style.css";
41
- import "vue-devui-lal/radio";
42
- import "@devui-design/icons/icomoon/devui-icon.css";
43
- import "vue-devui-lal/radio/style.css";
44
- import "vue-devui-lal/checkbox";
45
- import "vue-devui-lal/checkbox/style.css";
46
- import "vue-devui-lal/modal";
47
- import "vue-devui-lal/modal/style.css";
48
5
  const _hoisted_1 = { class: "history-list" };
49
6
  const _hoisted_2 = ["onClick", "onMouseenter"];
50
7
  const _hoisted_3 = { class: "history-list-box__content flex items-center w-full" };
@@ -136,8 +93,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
136
93
  };
137
94
  }
138
95
  });
139
- const SearchHistoryList_vue_vue_type_style_index_0_scoped_291bc28d_lang = "";
140
- const SearchHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-291bc28d"]]);
96
+ const SearchHistoryList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
141
97
  export {
142
98
  SearchHistoryList as default
143
99
  };
@@ -0,0 +1,46 @@
1
+ import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-DNt3S0x6.js";
3
+ import "vue-devui-lal/icon";
4
+ import "vue-devui-lal/icon/style.css";
5
+ const _hoisted_1 = { class: "ellipsis" };
6
+ const _sfc_main = /* @__PURE__ */ defineComponent({
7
+ __name: "SearchPrefixTag",
8
+ props: {
9
+ tag: {},
10
+ closeVisible: { type: Boolean }
11
+ },
12
+ emits: ["inputClick", "closeTag"],
13
+ setup(__props, { emit: __emit }) {
14
+ const emits = __emit;
15
+ const onInputClick = () => {
16
+ emits("inputClick");
17
+ };
18
+ const onCloseTag = () => {
19
+ emits("closeTag");
20
+ };
21
+ return (_ctx, _cache) => {
22
+ return openBlock(), createElementBlock("p", {
23
+ class: "g-header-search-projectname flex items-center px-[16px]",
24
+ onClick: onInputClick
25
+ }, [
26
+ createElementVNode("span", _hoisted_1, toDisplayString(_ctx.tag), 1),
27
+ withDirectives(createElementVNode("span", {
28
+ class: "g-header-search-projectname-close ml-[12px] flex",
29
+ onClick: withModifiers(onCloseTag, ["stop"])
30
+ }, [
31
+ createVNode(GIcon, {
32
+ name: "icon-close",
33
+ color: "#fff",
34
+ size: "7px"
35
+ })
36
+ ], 512), [
37
+ [vShow, _ctx.closeVisible]
38
+ ])
39
+ ]);
40
+ };
41
+ }
42
+ });
43
+ const SearchPrefixTag = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
44
+ export {
45
+ SearchPrefixTag as default
46
+ };
@@ -1,53 +1,10 @@
1
- import { defineComponent, inject, ref, onMounted, resolveComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, Fragment, renderList, createBlock, createVNode, withCtx } from "vue";
2
- import { u as useReportRepo, S as SearchRepoCard } from "./index-c21036dd.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-0bdc8fd3.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";
6
- import "vue-router";
7
- import "vue-devui-lal/button";
8
- import "vue-devui-lal/popover";
9
- import "vue-devui-lal/tooltip";
10
- import "vue-devui-lal/textarea";
11
- import "vue-devui-lal/button/style.css";
12
- import "vue-devui-lal/popover/style.css";
13
- import "vue-devui-lal/tooltip/style.css";
14
- import "vue-devui-lal/textarea/style.css";
15
- import "vue-devui-lal/icon";
16
- import "vue-devui-lal/icon/style.css";
17
- import "@vueuse/core";
18
- import "vue-devui-lal/avatar";
19
- import "vue-devui-lal/avatar/style.css";
20
- import "vue-devui-lal/dropdown";
21
- import "vue-devui-lal/dropdown/style.css";
22
- import "dayjs";
23
- import "vue-devui-lal/skeleton";
24
7
  import "vue-devui-lal/skeleton/style.css";
25
- import "vue-devui-lal/message";
26
- import "vue-devui-lal/message/style.css";
27
- import "vue-devui-lal/badge";
28
- import "vue-devui-lal/badge/style.css";
29
- import "vue-devui-lal/tabs/style.css";
30
- import "vue-devui-lal/input";
31
- import "vue-devui-lal/form";
32
- import "vue-devui-lal/input/style.css";
33
- import "vue-devui-lal/form/style.css";
34
- import "vue-devui-lal/notification";
35
- import "vue-devui-lal/notification/style.css";
36
- import "vue-devui-lal/select";
37
- import "vue-devui-lal/menu";
38
- import "vue-devui-lal/select/style.css";
39
- import "vue-devui-lal/menu/style.css";
40
- import "vue-devui-lal/drawer";
41
- import "vue-devui-lal/layout";
42
- import "vue-devui-lal/drawer/style.css";
43
- import "vue-devui-lal/layout/style.css";
44
- import "vue-devui-lal/radio";
45
- import "@devui-design/icons/icomoon/devui-icon.css";
46
- import "vue-devui-lal/radio/style.css";
47
- import "vue-devui-lal/checkbox";
48
- import "vue-devui-lal/checkbox/style.css";
49
- import "vue-devui-lal/modal";
50
- import "vue-devui-lal/modal/style.css";
51
8
  const _hoisted_1 = { class: "g-header-search-recommed" };
52
9
  const _hoisted_2 = { key: 0 };
53
10
  const _hoisted_3 = { class: "g-header-search-recommed-title" };
@@ -95,7 +52,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
52
  getRecommendRepo();
96
53
  });
97
54
  return (_ctx, _cache) => {
98
- const _component_DSkeletonItem = resolveComponent("DSkeletonItem");
99
55
  return openBlock(), createElementBlock("div", _hoisted_1, [
100
56
  recommendRepoList.value.length ? (openBlock(), createElementBlock("div", _hoisted_2, [
101
57
  createElementVNode("div", _hoisted_3, toDisplayString(unref($t)("gitCodeLayout.search.trendingToday")), 1),
@@ -125,13 +81,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
125
81
  default: withCtx(() => [
126
82
  createVNode(unref(Col), { flex: "auto" }, {
127
83
  default: withCtx(() => [
128
- createVNode(_component_DSkeletonItem, { style: { "width": "50%", "height": "20px" } })
84
+ createVNode(unref(SkeletonItem), { style: { "width": "50%", "height": "20px" } })
129
85
  ]),
130
86
  _: 1
131
87
  }),
132
88
  createVNode(unref(Col), { flex: "none" }, {
133
89
  default: withCtx(() => [
134
- createVNode(_component_DSkeletonItem, { style: { "width": "40px", "height": "20px" } })
90
+ createVNode(unref(SkeletonItem), { style: { "width": "40px", "height": "20px" } })
135
91
  ]),
136
92
  _: 1
137
93
  })
@@ -146,7 +102,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
146
102
  default: withCtx(() => [
147
103
  createVNode(unref(Col), { flex: "auto" }, {
148
104
  default: withCtx(() => [
149
- createVNode(_component_DSkeletonItem, { style: { "width": "80%", "height": "20px" } })
105
+ createVNode(unref(SkeletonItem), { style: { "width": "80%", "height": "20px" } })
150
106
  ]),
151
107
  _: 1
152
108
  })
@@ -161,13 +117,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
161
117
  default: withCtx(() => [
162
118
  createVNode(unref(Col), { flex: "none" }, {
163
119
  default: withCtx(() => [
164
- createVNode(_component_DSkeletonItem, { style: { "width": "50px", "height": "20px", "border-radius": "20px" } })
120
+ createVNode(unref(SkeletonItem), { style: { "width": "50px", "height": "20px", "border-radius": "20px" } })
165
121
  ]),
166
122
  _: 1
167
123
  }),
168
124
  createVNode(unref(Col), { flex: "none" }, {
169
125
  default: withCtx(() => [
170
- createVNode(_component_DSkeletonItem, { style: { "width": "60px", "height": "20px" } })
126
+ createVNode(unref(SkeletonItem), { style: { "width": "60px", "height": "20px" } })
171
127
  ]),
172
128
  _: 1
173
129
  })
@@ -181,8 +137,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
181
137
  };
182
138
  }
183
139
  });
184
- const SearchRecommed_vue_vue_type_style_index_0_scoped_070b6af1_lang = "";
185
- const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-070b6af1"]]);
140
+ const SearchRecommed = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
186
141
  export {
187
142
  SearchRecommed as default
188
143
  };
@@ -1,50 +1,7 @@
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-0bdc8fd3.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-DNt3S0x6.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
- import "vue-devui-lal/button";
6
- import "vue-devui-lal/popover";
7
- import "vue-devui-lal/tooltip";
8
- import "vue-devui-lal/textarea";
9
- import "vue-devui-lal/button/style.css";
10
- import "vue-devui-lal/popover/style.css";
11
- import "vue-devui-lal/tooltip/style.css";
12
- import "vue-devui-lal/textarea/style.css";
13
- import "vue-router";
14
- import "@vueuse/core";
15
- import "vue-devui-lal/avatar";
16
- import "vue-devui-lal/avatar/style.css";
17
- import "vue-devui-lal/dropdown";
18
- import "vue-devui-lal/dropdown/style.css";
19
- import "dayjs";
20
- import "vue-devui-lal/skeleton";
21
- import "vue-devui-lal/skeleton/style.css";
22
- import "vue-devui-lal/message";
23
- import "vue-devui-lal/message/style.css";
24
- import "vue-devui-lal/badge";
25
- import "vue-devui-lal/badge/style.css";
26
- import "vue-devui-lal/tabs/style.css";
27
- import "vue-devui-lal/input";
28
- import "vue-devui-lal/form";
29
- import "vue-devui-lal/input/style.css";
30
- import "vue-devui-lal/form/style.css";
31
- import "vue-devui-lal/notification";
32
- import "vue-devui-lal/notification/style.css";
33
- import "vue-devui-lal/select";
34
- import "vue-devui-lal/menu";
35
- import "vue-devui-lal/select/style.css";
36
- import "vue-devui-lal/menu/style.css";
37
- import "vue-devui-lal/drawer";
38
- import "vue-devui-lal/layout";
39
- import "vue-devui-lal/drawer/style.css";
40
- import "vue-devui-lal/layout/style.css";
41
- import "vue-devui-lal/radio";
42
- import "@devui-design/icons/icomoon/devui-icon.css";
43
- import "vue-devui-lal/radio/style.css";
44
- import "vue-devui-lal/checkbox";
45
- import "vue-devui-lal/checkbox/style.css";
46
- import "vue-devui-lal/modal";
47
- import "vue-devui-lal/modal/style.css";
48
5
  const _hoisted_1 = ["onClick"];
49
6
  const _hoisted_2 = { class: "flex linkItem pl-[9px] pr-[19px]" };
50
7
  const _hoisted_3 = { class: "leftTx ellipsis" };
@@ -98,8 +55,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
98
55
  };
99
56
  }
100
57
  });
101
- const SearchScopeList_vue_vue_type_style_index_0_scoped_2665307e_lang = "";
102
- const SearchScopeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2665307e"]]);
58
+ const SearchScopeList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
103
59
  export {
104
60
  SearchScopeList as default
105
61
  };
@@ -1,51 +1,7 @@
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 } from "./index-0bdc8fd3.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 } from "./index-DNt3S0x6.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
- import "vue-devui-lal/button";
6
- import "vue-devui-lal/popover";
7
- import "vue-devui-lal/tooltip";
8
- import "vue-devui-lal/textarea";
9
- import "vue-devui-lal/button/style.css";
10
- import "vue-devui-lal/popover/style.css";
11
- import "vue-devui-lal/tooltip/style.css";
12
- import "vue-devui-lal/textarea/style.css";
13
- import "vue-router";
14
- import "@vueuse/core";
15
- import "vue-devui-lal/avatar";
16
- import "vue-devui-lal/avatar/style.css";
17
- import "vue-devui-lal/dropdown";
18
- import "vue-devui-lal/dropdown/style.css";
19
- import "dayjs";
20
- import "vue-devui-lal/skeleton";
21
- import "vue-devui-lal/skeleton/style.css";
22
- import "vue-devui-lal/message";
23
- import "vue-devui-lal/message/style.css";
24
- import "vue-devui-lal/badge";
25
- import "vue-devui-lal/badge/style.css";
26
- import "vue-devui-lal/tabs/style.css";
27
- import "vue-devui-lal/input";
28
- import "vue-devui-lal/form";
29
- import "vue-devui-lal/input/style.css";
30
- import "vue-devui-lal/form/style.css";
31
- import "vue-devui-lal/notification";
32
- import "vue-devui-lal/notification/style.css";
33
- import "vue-devui-lal/select";
34
- import "vue-devui-lal/menu";
35
- import "vue-devui-lal/select/style.css";
36
- import "vue-devui-lal/menu/style.css";
37
- import "vue-devui-lal/drawer";
38
- import "vue-devui-lal/layout";
39
- import "vue-devui-lal/drawer/style.css";
40
- import "vue-devui-lal/layout/style.css";
41
- import "vue-devui-lal/radio";
42
- import "@devui-design/icons/icomoon/devui-icon.css";
43
- import "vue-devui-lal/radio/style.css";
44
- import "vue-devui-lal/checkbox";
45
- import "vue-devui-lal/checkbox/style.css";
46
- import "vue-devui-lal/modal";
47
- import "vue-devui-lal/modal/style.css";
48
- const UserSearch_vue_vue_type_style_index_0_lang = "";
49
5
  const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
50
6
  const _hoisted_2 = { class: "history-list-project-globartitle mb-[4px] mt-[16px]" };
51
7
  const _hoisted_3 = ["href"];
@@ -1,8 +1,10 @@
1
- import { ref, watchEffect, defineComponent, toDisplayString, inject, 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 { 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, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-0bdc8fd3.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, 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 useReportRepo = (reportParams, viewReport) => {
7
9
  const list = ref([]);
8
10
  const pageRef = ref((window == null ? void 0 : window.page_ref) || "");
@@ -25,10 +27,8 @@ const useReportRepo = (reportParams, viewReport) => {
25
27
  };
26
28
  const formatItem = (data) => {
27
29
  const channelNames = [];
28
- if (data.channelName)
29
- channelNames.push(data.channelName);
30
- if (data.subChannelName)
31
- channelNames.push(data.subChannelName);
30
+ if (data.channelName) channelNames.push(data.channelName);
31
+ if (data.subChannelName) channelNames.push(data.subChannelName);
32
32
  return {
33
33
  type: "gitcode",
34
34
  repo_id: data.id,
@@ -136,8 +136,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
136
136
  const handleStar = async (e) => {
137
137
  e.preventDefault();
138
138
  try {
139
- if (starLoading.value)
140
- return;
139
+ if (starLoading.value) return;
141
140
  starLoading.value = true;
142
141
  const params = { repoId: props.starInfo.id };
143
142
  let res;
@@ -203,8 +202,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
203
202
  };
204
203
  }
205
204
  });
206
- const index_vue_vue_type_style_index_0_scoped_754df2e0_lang = "";
207
- const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-754df2e0"]]);
205
+ const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-gitcode-layout-lib"]]);
208
206
  const _hoisted_1$4 = { class: "fork-tag" };
209
207
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
210
208
  __name: "index",
@@ -229,8 +227,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
229
227
  };
230
228
  }
231
229
  });
232
- const index_vue_vue_type_style_index_0_scoped_98be5d7f_lang = "";
233
- const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-98be5d7f"]]);
230
+ const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-gitcode-layout-lib"]]);
234
231
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
235
232
  __name: "index",
236
233
  props: {
@@ -276,8 +273,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
276
273
  };
277
274
  }
278
275
  });
279
- const index_vue_vue_type_style_index_0_scoped_6e1aad17_lang = "";
280
- const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-6e1aad17"]]);
276
+ const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-gitcode-layout-lib"]]);
281
277
  const _hoisted_1$3 = { class: "star-count-one" };
282
278
  const _hoisted_2$3 = { key: 0 };
283
279
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
@@ -304,8 +300,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
304
300
  };
305
301
  }
306
302
  });
307
- const index_vue_vue_type_style_index_0_scoped_de8d9362_lang = "";
308
- const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-de8d9362"]]);
303
+ const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-gitcode-layout-lib"]]);
309
304
  const _hoisted_1$2 = { class: "github-star-num" };
310
305
  const _hoisted_2$2 = { class: "leading-none" };
311
306
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
@@ -332,8 +327,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
332
327
  };
333
328
  }
334
329
  });
335
- const index_vue_vue_type_style_index_0_scoped_7f7e79b1_lang = "";
336
- const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-7f7e79b1"]]);
330
+ const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-gitcode-layout-lib"]]);
337
331
  const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
338
332
  const _hoisted_2$1 = {
339
333
  key: 3,
@@ -425,8 +419,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
425
419
  };
426
420
  }
427
421
  });
428
- const index_vue_vue_type_style_index_0_scoped_ca800e14_lang = "";
429
- const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-ca800e14"]]);
422
+ const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-gitcode-layout-lib"]]);
430
423
  const _hoisted_1 = ["innerHTML"];
431
424
  const _hoisted_2 = {
432
425
  key: 0,
@@ -521,12 +514,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
521
514
  return highlightWords(keyword, contentArr.join("/"), true);
522
515
  };
523
516
  onMounted(() => {
524
- if (props.info.is_recommend && props.info.index === 0)
525
- handleQueryGraph();
517
+ if (props.info.is_recommend && props.info.index === 0) handleQueryGraph();
526
518
  });
527
519
  return (_ctx, _cache) => {
528
- const _component_DSkeletonItem = resolveComponent("DSkeletonItem");
529
- const _component_d_skeleton = resolveComponent("d-skeleton");
530
520
  return openBlock(), createElementBlock("a", {
531
521
  class: normalizeClass(["i-search-projects-card", { noborder: _ctx.noborder, "full-hover": _ctx.hover }]),
532
522
  onClick: handleClick
@@ -595,7 +585,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
595
585
  class: "i-search-projects-card-desc ellipsis"
596
586
  }, null, 8, _hoisted_5),
597
587
  _ctx.info.index === 0 && _ctx.info.is_recommend ? (openBlock(), createElementBlock("div", _hoisted_6, [
598
- queryLoading.value ? (openBlock(), createBlock(_component_d_skeleton, { key: 0 }, {
588
+ queryLoading.value ? (openBlock(), createBlock(unref(Skeleton), { key: 0 }, {
599
589
  placeholder: withCtx(() => [
600
590
  createVNode(unref(Row), {
601
591
  gutter: 16,
@@ -606,7 +596,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
606
596
  span: rowSpan[unref(widthType)]
607
597
  }, {
608
598
  default: withCtx(() => [
609
- createVNode(_component_DSkeletonItem, { class: "h-[110px] mt-[16px]" })
599
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
610
600
  ]),
611
601
  _: 1
612
602
  }, 8, ["span"]),
@@ -614,7 +604,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
614
604
  span: rowSpan[unref(widthType)]
615
605
  }, {
616
606
  default: withCtx(() => [
617
- createVNode(_component_DSkeletonItem, { class: "h-[110px] mt-[16px]" })
607
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
618
608
  ]),
619
609
  _: 1
620
610
  }, 8, ["span"]),
@@ -622,7 +612,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
622
612
  span: rowSpan[unref(widthType)]
623
613
  }, {
624
614
  default: withCtx(() => [
625
- createVNode(_component_DSkeletonItem, { class: "h-[110px] mt-[16px]" })
615
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
626
616
  ]),
627
617
  _: 1
628
618
  }, 8, ["span"])
@@ -648,8 +638,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
648
638
  };
649
639
  }
650
640
  });
651
- const index_vue_vue_type_style_index_0_scoped_428956e5_lang = "";
652
- const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-428956e5"]]);
641
+ const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-gitcode-layout-lib"]]);
653
642
  export {
654
643
  SearchRepoCard as S,
655
644
  formatNameSpace as f,