vue-layout-gitcode 1.10.47 → 1.10.49-beta

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,7 +1,7 @@
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-BsAdNTFu.js";
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-NfMFRNgz.js";
3
3
  import { useRouter } from "vue-router";
4
- import { t as transWebUrl } from "./transWebUrl-BCCt-IBJ.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cvy6Fboe.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";
@@ -10,14 +10,14 @@ import "vue-devui-lal/input/style.css";
10
10
  import "vue-devui-lal/skeleton/style.css";
11
11
  import "vue-devui-lal/menu/style.css";
12
12
  import "vue-devui-lal/button/style.css";
13
- const _hoisted_1 = { class: "devui-submenu layer_2 my-work-platform submenu-item relative" };
13
+ const _hoisted_1 = { class: "devui-submenu layer_2 my-work-platform submenu-item my-work-platform--relative" };
14
14
  const _hoisted_2 = {
15
15
  class: "devui-submenu-title layer_2",
16
16
  style: { "padding": "0px 24px" }
17
17
  };
18
18
  const _hoisted_3 = { class: "devui-submenu-title-content cursor-auto" };
19
19
  const _hoisted_4 = { class: "project-label" };
20
- const _hoisted_5 = { class: "project-label flex-1 min-w-0 ellipsis" };
20
+ const _hoisted_5 = { class: "project-label project-label--ellipsis ellipsis" };
21
21
  const _hoisted_6 = ["href"];
22
22
  const INIT_SHOW_COUNT = 4;
23
23
  const LOAD_MORE_COUNT = 10;
@@ -165,7 +165,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
165
165
  onClick: withModifiers(handleOpenSearch, ["stop"])
166
166
  }),
167
167
  createElementVNode("div", {
168
- class: normalizeClass(["flex flex-col pl-[0] my-work-platform-inputbox", showSearch.value ? "" : "my-work-platform-hideInputBox"]),
168
+ class: normalizeClass(["my-work-platform-inputbox-wrap my-work-platform-inputbox", showSearch.value ? "" : "my-work-platform-hideInputBox"]),
169
169
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {
170
170
  }, ["stop"]))
171
171
  }, [
@@ -241,7 +241,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
241
241
  showTianqiRepo.value ? (openBlock(), createElementBlock("a", {
242
242
  key: 2,
243
243
  href: tianqiRepoUrl.value,
244
- class: "flex-1 min-w-0 cursor-pointer more-btn"
244
+ class: "more-btn more-btn--tianqi"
245
245
  }, toDisplayString(unref(t)("gitCodeLayout.org.tianqiRepo")) + " >", 9, _hoisted_6)) : createCommentVNode("", true)
246
246
  ]);
247
247
  };
@@ -1,13 +1,13 @@
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-BsAdNTFu.js";
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-NfMFRNgz.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
- const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
7
- const _hoisted_2 = { class: "history-list-project-globartitle mb-[4px] mt-[16px]" };
6
+ const _hoisted_1 = { class: "history-list-project history-list-project--padded" };
7
+ const _hoisted_2 = { class: "history-list-project-globartitle history-list-project-globartitle--gap" };
8
8
  const _hoisted_3 = ["href"];
9
- const _hoisted_4 = { class: "flex history-list-project-globarbox" };
10
- const _hoisted_5 = { class: "ml-[8px] ellipsis" };
9
+ const _hoisted_4 = { class: "history-list-project-globarbox" };
10
+ const _hoisted_5 = { class: "ellipsis history-list-project__name" };
11
11
  const _sfc_main = /* @__PURE__ */ Object.assign({ name: "SearchFileList" }, {
12
12
  __name: "ProjectSearch",
13
13
  props: ["searchStr", "searchInfo", "isSearchPage"],
@@ -1,15 +1,15 @@
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-BsAdNTFu.js";
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-NfMFRNgz.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" };
6
6
  const _hoisted_2 = ["onClick", "onMouseenter"];
7
- const _hoisted_3 = { class: "history-list-box__content flex items-center justify-between w-full" };
8
- const _hoisted_4 = { class: "flex items-center" };
7
+ const _hoisted_3 = { class: "history-list-box__content" };
8
+ const _hoisted_4 = { class: "history-list-box__row" };
9
9
  const _hoisted_5 = ["title"];
10
10
  const _hoisted_6 = ["title"];
11
11
  const _hoisted_7 = { class: "item-tx" };
12
- const _hoisted_8 = { class: "flex items-center gap-[8px]" };
12
+ const _hoisted_8 = { class: "history-list-box__type-row" };
13
13
  const _sfc_main = /* @__PURE__ */ defineComponent({
14
14
  __name: "SearchHistoryList",
15
15
  props: {
@@ -107,7 +107,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
107
107
  return openBlock(), createElementBlock("div", _hoisted_1, [
108
108
  _ctx.searchHistoryList.length ? (openBlock(), createElementBlock("ul", {
109
109
  key: 0,
110
- class: "history-list-box mt-[16px]",
110
+ class: "history-list-box history-list-box--mt",
111
111
  onMouseleave: resetIndex
112
112
  }, [
113
113
  (openBlock(true), createElementBlock(Fragment, null, renderList(historyList.value, (item, index) => {
@@ -122,21 +122,21 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
122
122
  createVNode(GIcon, {
123
123
  name: "gt-line-time",
124
124
  color: "var(--devui-aide-text)",
125
- class: "mr-[8px]"
125
+ class: "history-list-box__time-icon"
126
126
  }),
127
127
  createElementVNode("span", {
128
- class: "whitespace-nowrap overflow-hidden text-ellipsis",
128
+ class: "history-list-box__ellipsis",
129
129
  title: item.repoTitle
130
130
  }, toDisplayString(item.repoTitle), 9, _hoisted_5),
131
131
  createElementVNode("span", {
132
- class: "whitespace-nowrap overflow-hidden text-ellipsis",
132
+ class: "history-list-box__ellipsis",
133
133
  title: item.namespaceTitle
134
134
  }, toDisplayString(item.namespaceTitle), 9, _hoisted_6),
135
135
  createElementVNode("span", _hoisted_7, toDisplayString(item.q || item), 1)
136
136
  ]),
137
137
  createElementVNode("div", _hoisted_8, [
138
138
  createElementVNode("span", {
139
- class: normalizeClass(_ctx.activeIndex === index ? "text-[var(--theme-text)]" : "text-[var(--theme-placeholder)]")
139
+ class: normalizeClass(_ctx.activeIndex === index ? "history-list-box__type-text--active" : "history-list-box__type-text")
140
140
  }, toDisplayString(getRepoType(item).text), 3),
141
141
  createVNode(GIcon, {
142
142
  name: _ctx.activeIndex === index ? getRepoType(item).hoverIcon : getRepoType(item).icon
@@ -1,5 +1,5 @@
1
- import { defineComponent, createElementBlock, openBlock, createElementVNode, withDirectives, toDisplayString, withModifiers, createVNode, vShow } from "vue";
2
- import { G as GIcon, _ as _export_sfc } from "./index-BsAdNTFu.js";
1
+ import { defineComponent, openBlock, createElementBlock, createElementVNode, toDisplayString, withDirectives, withModifiers, createVNode, vShow } from "vue";
2
+ import { G as GIcon, _ as _export_sfc } from "./index-NfMFRNgz.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = { class: "ellipsis" };
@@ -20,12 +20,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  };
21
21
  return (_ctx, _cache) => {
22
22
  return openBlock(), createElementBlock("p", {
23
- class: "g-header-search-projectname flex items-center px-[16px]",
23
+ class: "g-header-search-projectname",
24
24
  onClick: onInputClick
25
25
  }, [
26
26
  createElementVNode("span", _hoisted_1, toDisplayString(_ctx.tag), 1),
27
27
  withDirectives(createElementVNode("span", {
28
- class: "g-header-search-projectname-close ml-[12px] flex",
28
+ class: "g-header-search-projectname-close",
29
29
  onClick: withModifiers(onCloseTag, ["stop"])
30
30
  }, [
31
31
  createVNode(GIcon, {
@@ -1,6 +1,6 @@
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-Bf468b3i.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-BsAdNTFu.js";
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-BZtPjJo6.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-NfMFRNgz.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";
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
63
63
  }, () => [
64
64
  (openBlock(), createBlock(SearchRepoCard, {
65
65
  key: item.id,
66
- class: "mb-[8px]",
66
+ class: "g-header-search-recommed-card",
67
67
  info: { ...item, index },
68
68
  keyword: "",
69
69
  hover: "",
@@ -77,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
77
77
  ])) : (openBlock(), createElementBlock("div", _hoisted_4, [
78
78
  (openBlock(), createElementBlock(Fragment, null, renderList(5, (item) => {
79
79
  return createElementVNode("div", {
80
- class: "pt-[8px] pb-[16px]",
80
+ class: "g-header-search-recommed-skel",
81
81
  key: item
82
82
  }, [
83
83
  createVNode(unref(Row), {
@@ -101,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
101
101
  _: 1
102
102
  }),
103
103
  createVNode(unref(Row), {
104
- class: "mt-[12px]",
104
+ class: "g-header-search-recommed-skel-row",
105
105
  align: "middle",
106
106
  gutter: 16
107
107
  }, {
@@ -116,7 +116,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
116
116
  _: 1
117
117
  }),
118
118
  createVNode(unref(Row), {
119
- class: "mt-[12px]",
119
+ class: "g-header-search-recommed-skel-row",
120
120
  align: "middle",
121
121
  gutter: 16
122
122
  }, {
@@ -1,16 +1,16 @@
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-BsAdNTFu.js";
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-NfMFRNgz.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
5
  const _hoisted_1 = ["onClick"];
6
- const _hoisted_2 = { class: "flex linkItem pl-[9px] pr-[19px]" };
6
+ const _hoisted_2 = { class: "linkItem" };
7
7
  const _hoisted_3 = { class: "leftTx ellipsis" };
8
8
  const _hoisted_4 = {
9
9
  key: 0,
10
- class: "ml-[4px]"
10
+ class: "g-header-search-scopechoose__label"
11
11
  };
12
12
  const _hoisted_5 = { key: 1 };
13
- const _hoisted_6 = { class: "ml-[4px]" };
13
+ const _hoisted_6 = { class: "g-header-search-scopechoose__label" };
14
14
  const _hoisted_7 = { class: "right-text" };
15
15
  const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  __name: "SearchScopeList",
@@ -30,7 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
30
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchScopeList, (item, index) => {
31
31
  return openBlock(), createElementBlock("li", {
32
32
  key: index,
33
- class: "g-header-search-scopechoose pt-[16px] px-[8px]",
33
+ class: "g-header-search-scopechoose",
34
34
  onClick: ($event) => onScopeSearch(item)
35
35
  }, [
36
36
  createElementVNode("div", _hoisted_2, [
@@ -1,12 +1,12 @@
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-BsAdNTFu.js";
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-NfMFRNgz.js";
3
3
  import "vue-devui-lal/icon";
4
4
  import "vue-devui-lal/icon/style.css";
5
- const _hoisted_1 = { class: "px-[8px] history-list-project pl-[8px]" };
6
- const _hoisted_2 = { class: "history-list-project-globartitle mb-[4px] mt-[16px]" };
5
+ const _hoisted_1 = { class: "history-list-project history-list-project--padded" };
6
+ const _hoisted_2 = { class: "history-list-project-globartitle history-list-project-globartitle--gap" };
7
7
  const _hoisted_3 = ["href"];
8
- const _hoisted_4 = { class: "flex history-list-project-globarbox" };
9
- const _hoisted_5 = { class: "ml-[8px] ellipsis" };
8
+ const _hoisted_4 = { class: "history-list-project-globarbox" };
9
+ const _hoisted_5 = { class: "ellipsis history-list-project__name" };
10
10
  const _sfc_main = {
11
11
  __name: "UserSearch",
12
12
  props: ["searchStr", "searchInfo"],
@@ -1,5 +1,5 @@
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-BsAdNTFu.js";
1
+ import { defineComponent, onMounted, nextTick, onUnmounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
2
+ import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-NfMFRNgz.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:";
@@ -108,8 +108,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
108
108
  default: withCtx(() => _cache[0] || (_cache[0] = [
109
109
  createElementVNode("div", { id: "captcha-box" }, null, -1)
110
110
  ])),
111
- _: 1,
112
- __: [0]
111
+ _: 1
113
112
  });
114
113
  };
115
114
  }
@@ -1,7 +1,7 @@
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";
1
+ import { ref, watchEffect, defineComponent, toDisplayString, unref, useModel, watch, openBlock, createElementBlock, createVNode, normalizeClass, withDirectives, createElementVNode, vShow, mergeModels, inject, withModifiers, createBlock, Fragment, computed, normalizeStyle, createCommentVNode, 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-BsAdNTFu.js";
4
- import { t as transWebUrl } from "./transWebUrl-BCCt-IBJ.js";
3
+ import { d as transferNumber, G as GIcon, _ as _export_sfc, s as setLoginTriggerSource, r as reqCatch, f as useRequestReport, 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-NfMFRNgz.js";
4
+ import { t as transWebUrl } from "./transWebUrl-Cvy6Fboe.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";
@@ -91,8 +91,8 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
91
91
  };
92
92
  }
93
93
  });
94
- const _hoisted_1$8 = { class: "relative flex" };
95
- const _hoisted_2$6 = { class: "absolute w-full h-full left-0 top-0" };
94
+ const _hoisted_1$8 = { class: "g-like" };
95
+ const _hoisted_2$6 = { class: "g-like__overlay" };
96
96
  const ANIM_END = "animEnd";
97
97
  const activeLikeIcon = "gt-plane-like";
98
98
  const unActiveLikeIcon = "gt-line-like";
@@ -127,7 +127,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
127
127
  return (_ctx, _cache) => {
128
128
  return openBlock(), createElementBlock("div", _hoisted_1$8, [
129
129
  createVNode(GIcon, {
130
- class: normalizeClass({ "!text-red-500": active.value }),
130
+ class: normalizeClass({ "g-like__active": active.value }),
131
131
  name: active.value ? activeLikeIcon : unActiveLikeIcon
132
132
  }, null, 8, ["class", "name"]),
133
133
  withDirectives(createElementVNode("div", _hoisted_2$6, [
@@ -136,7 +136,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
136
136
  onAnimationend: animationend
137
137
  }, [
138
138
  createVNode(GIcon, {
139
- class: "!text-red-500",
139
+ class: "g-like__active",
140
140
  name: activeLikeIcon
141
141
  })
142
142
  ], 32)
@@ -149,7 +149,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
149
149
  });
150
150
  const Like = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-vue-layout-gitcode"]]);
151
151
  const _hoisted_1$7 = {
152
- class: "mr-[4px]",
152
+ class: "i-star-tag__icon-wrap",
153
153
  style: { "width": "15px", "height": "15px" }
154
154
  };
155
155
  const _hoisted_2$5 = { class: "i-star-tag__text" };
@@ -220,14 +220,14 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
220
220
  }])
221
221
  }, [
222
222
  createElementVNode("span", {
223
- class: normalizeClass(["i-star-tag hover:bg-[var(--theme-btn-default-hover)]", {
223
+ class: normalizeClass(["i-star-tag", {
224
224
  "i-star-tag__active": starred.value
225
225
  }]),
226
226
  onClick: withModifiers(handleStar, ["stop", "prevent"])
227
227
  }, [
228
228
  _ctx.isLike ? (openBlock(), createBlock(Like, {
229
229
  key: 0,
230
- class: "mr-[4px]",
230
+ class: "i-star-tag__icon-mr",
231
231
  modelValue: starred.value,
232
232
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => starred.value = $event),
233
233
  runAnimation: running.value,
@@ -272,7 +272,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
272
272
  return (_ctx, _cache) => {
273
273
  return openBlock(), createElementBlock("div", _hoisted_1$6, [
274
274
  createVNode(GIcon, {
275
- class: "mr-[4px]",
275
+ class: "fork-tag__icon",
276
276
  name: "gt-line-fork",
277
277
  color: "var(--theme-home-card-color-placeholder)",
278
278
  size: "14"
@@ -324,7 +324,6 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
324
324
  style: normalizeStyle({ background: unref(tagColor), opacity: 0.1 })
325
325
  }, null, 4)) : createCommentVNode("", true),
326
326
  createElementVNode("i", {
327
- class: "mr-[4px]",
328
327
  style: normalizeStyle({ background: unref(tagColor) })
329
328
  }, null, 4),
330
329
  createTextVNode(toDisplayString(unref(languageTag)), 1)
@@ -395,7 +394,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
395
394
  }
396
395
  });
397
396
  const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
398
- const _hoisted_1$3 = { class: "repo-card-footer mt-[4px]" };
397
+ const _hoisted_1$3 = { class: "repo-card-footer" };
399
398
  const _hoisted_2$2 = {
400
399
  key: 3,
401
400
  class: "line-separator"
@@ -533,26 +532,25 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
533
532
  createElementVNode("span", _hoisted_1$2, toDisplayString(tagTipsText.value), 1)
534
533
  ]),
535
534
  default: withCtx(() => [
536
- _cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag w-[32px] h-[15px] text-[9px] text-[#ffffff] flex items-center justify-center leading-[1]" }, "New", -1))
535
+ _cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag" }, "New", -1))
537
536
  ]),
538
- _: 1,
539
- __: [0]
537
+ _: 1
540
538
  })) : createCommentVNode("", true);
541
539
  };
542
540
  }
543
541
  });
544
542
  const NewTag = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
545
- const _hoisted_1$1 = { class: "model-card-footer h-[22px] mt-[4px] flex items-center overflow-hidden whitespace-nowrap text-[14px] leading-[14px] text-[var(--theme-release-card-text-color)]" };
543
+ const _hoisted_1$1 = { class: "model-card-footer" };
546
544
  const _hoisted_2$1 = {
547
545
  key: 1,
548
- class: "ellipsis max-150 ml-[6px]"
546
+ class: "ellipsis max-150 model-card-footer__text"
549
547
  };
550
- const _hoisted_3$1 = { class: "ml-[6px]" };
551
- const _hoisted_4$1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis" };
552
- const _hoisted_5$1 = { class: "ml-[6px]" };
548
+ const _hoisted_3$1 = { class: "model-card-footer__text" };
549
+ const _hoisted_4$1 = { class: "model-card-footer__time" };
550
+ const _hoisted_5$1 = { class: "model-card-footer__text" };
553
551
  const _hoisted_6$1 = {
554
552
  key: 2,
555
- class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]"
553
+ class: "model-card-footer__dot"
556
554
  };
557
555
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
558
556
  __name: "ModelCardFooter",
@@ -575,7 +573,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
575
573
  size: "12px"
576
574
  }, null, 8, ["name"])) : createCommentVNode("", true),
577
575
  projectData.value.task[0].name ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(projectData.value.task[0].name), 1)) : createCommentVNode("", true),
578
- _cache[0] || (_cache[0] = createElementVNode("div", { class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]" }, null, -1))
576
+ _cache[0] || (_cache[0] = createElementVNode("div", { class: "model-card-footer__dot" }, null, -1))
579
577
  ], 64)) : createCommentVNode("", true),
580
578
  projectData.value.model_param_size ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
581
579
  createVNode(GIcon, {
@@ -584,10 +582,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
584
582
  color: "var(--theme-release-card-text-color)"
585
583
  }),
586
584
  createElementVNode("span", _hoisted_3$1, toDisplayString(projectData.value.model_param_size), 1),
587
- _cache[1] || (_cache[1] = createElementVNode("div", { class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]" }, null, -1))
585
+ _cache[1] || (_cache[1] = createElementVNode("div", { class: "model-card-footer__dot" }, null, -1))
588
586
  ], 64)) : createCommentVNode("", true),
589
587
  createElementVNode("span", _hoisted_4$1, toDisplayString(unref(formatTimeFromNow)(projectData.value.updated_at)), 1),
590
- _cache[2] || (_cache[2] = createElementVNode("div", { class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]" }, null, -1)),
588
+ _cache[2] || (_cache[2] = createElementVNode("div", { class: "model-card-footer__dot" }, null, -1)),
591
589
  createVNode(GIcon, {
592
590
  name: "gt-line-upload",
593
591
  size: "14px",
@@ -609,10 +607,11 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
609
607
  };
610
608
  }
611
609
  });
610
+ const ModelCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-vue-layout-gitcode"]]);
612
611
  const _hoisted_1 = ["innerHTML"];
613
612
  const _hoisted_2 = {
614
613
  key: 0,
615
- class: "is-recommend ml-[8px]"
614
+ class: "is-recommend"
616
615
  };
617
616
  const _hoisted_3 = { key: 1 };
618
617
  const _hoisted_4 = { key: 2 };
@@ -719,13 +718,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
719
718
  });
720
719
  return (_ctx, _cache) => {
721
720
  return openBlock(), createElementBlock("a", {
722
- class: normalizeClass(["i-search-projects-card cursor-pointer", { noborder: _ctx.noborder, "full-hover": _ctx.hover }]),
721
+ class: normalizeClass(["i-search-projects-card", { noborder: _ctx.noborder, "full-hover": _ctx.hover }]),
723
722
  onClick: handleClick
724
723
  }, [
725
724
  createVNode(unref(Row), { class: "i-search-projects-card-title" }, {
726
725
  default: withCtx(() => [
727
726
  createVNode(unref(Col), {
728
- class: "ellipsis flex items-center gap-[8px]",
727
+ class: "ellipsis i-search-projects-card-title__col",
729
728
  flex: "auto"
730
729
  }, {
731
730
  default: withCtx(() => {
@@ -751,8 +750,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
751
750
  default: withCtx(() => _cache[0] || (_cache[0] = [
752
751
  createTextVNode("G-Star ")
753
752
  ])),
754
- _: 1,
755
- __: [0]
753
+ _: 1
756
754
  }, 8, ["message"])
757
755
  ])) : createCommentVNode("", true),
758
756
  unref(isIncubationRepo)(_ctx.info.topic_names) ? (openBlock(), createElementBlock("div", _hoisted_4, [
@@ -765,8 +763,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
765
763
  default: withCtx(() => _cache[1] || (_cache[1] = [
766
764
  createTextVNode(" G-Star ")
767
765
  ])),
768
- _: 1,
769
- __: [1]
766
+ _: 1
770
767
  }, 8, ["message"])
771
768
  ])) : createCommentVNode("", true),
772
769
  createVNode(NewTag, {
@@ -794,7 +791,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
794
791
  !_ctx.hideDescription ? (openBlock(), createElementBlock("div", {
795
792
  key: 0,
796
793
  innerHTML: unref(highlightWords)("", description.value),
797
- class: "i-search-projects-card-desc ellipsis mt-[8px]"
794
+ class: "i-search-projects-card-desc ellipsis"
798
795
  }, null, 8, _hoisted_5)) : createCommentVNode("", true),
799
796
  _ctx.info.index === 0 && _ctx.info.is_recommend ? (openBlock(), createElementBlock("div", _hoisted_6, [
800
797
  queryLoading.value ? (openBlock(), createBlock(unref(Skeleton), { key: 0 }, {
@@ -808,7 +805,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
808
805
  span: rowSpan[unref(widthType)]
809
806
  }, {
810
807
  default: withCtx(() => [
811
- createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
808
+ createVNode(unref(SkeletonItem), { class: "i-search-projects-card-skel" })
812
809
  ]),
813
810
  _: 1
814
811
  }, 8, ["span"]),
@@ -816,7 +813,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
816
813
  span: rowSpan[unref(widthType)]
817
814
  }, {
818
815
  default: withCtx(() => [
819
- createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
816
+ createVNode(unref(SkeletonItem), { class: "i-search-projects-card-skel" })
820
817
  ]),
821
818
  _: 1
822
819
  }, 8, ["span"]),
@@ -824,7 +821,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
824
821
  span: rowSpan[unref(widthType)]
825
822
  }, {
826
823
  default: withCtx(() => [
827
- createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
824
+ createVNode(unref(SkeletonItem), { class: "i-search-projects-card-skel" })
828
825
  ]),
829
826
  _: 1
830
827
  }, 8, ["span"])
@@ -834,7 +831,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
834
831
  ]),
835
832
  _: 1
836
833
  })) : createCommentVNode("", true)
837
- ])) : isModel.value ? (openBlock(), createBlock(_sfc_main$1, {
834
+ ])) : isModel.value ? (openBlock(), createBlock(ModelCardFooter, {
838
835
  key: 2,
839
836
  repoInfo: _ctx.info
840
837
  }, null, 8, ["repoInfo"])) : (openBlock(), createElementBlock(Fragment, { key: 3 }, [
@@ -845,7 +842,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
845
842
  tagInfo: tagInfo.value,
846
843
  repoInfo: _ctx.info,
847
844
  searchCard: "",
848
- class: "i-search-projects-card-bottom mt-[8px]",
845
+ class: "i-search-projects-card-bottom",
849
846
  onTopicClick: handleTopicClick
850
847
  }, null, 8, ["hideTopicTags", "tagInfo", "repoInfo"])) : createCommentVNode("", true)
851
848
  ], 64))
@@ -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, createBlock, openBlock, unref, withCtx, createElementVNode, withDirectives, createVNode, vShow, nextTick } from "vue";
4
+ import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createBlock, 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-BsAdNTFu.js";
11
+ import { a as i18n, k as usePageResize, z as isZh, _ as _export_sfc } from "./index-NfMFRNgz.js";
12
12
  const _YunpianCaptchaManager = class _YunpianCaptchaManager {
13
13
  // eslint-disable-next-line no-useless-constructor
14
14
  constructor() {