vue-layout-gitcode 1.12.14-beta.1 → 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,7 +1,7 @@
1
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";
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-sew8BkJ5.js";
4
- import { t as transWebUrl } from "./transWebUrl-BjCYPJAp.js";
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-CxU91-vf.js";
4
+ import { t as transWebUrl } from "./transWebUrl-B7o8Ek5u.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: "g-like" };
95
- const _hoisted_2$6 = { class: "g-like__overlay" };
94
+ const _hoisted_1$8 = { class: "relative flex" };
95
+ const _hoisted_2$6 = { class: "absolute w-full h-full left-0 top-0" };
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({ "g-like__active": active.value }),
130
+ class: normalizeClass({ "!text-red-500": 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: "g-like__active",
139
+ class: "!text-red-500",
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: "i-star-tag__icon-wrap",
152
+ class: "mr-[4px]",
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", {
223
+ class: normalizeClass(["i-star-tag hover:bg-[var(--theme-btn-default-hover)]", {
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: "i-star-tag__icon-mr",
230
+ class: "mr-[4px]",
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: "fork-tag__icon",
275
+ class: "mr-[4px]",
276
276
  name: "gt-line-fork",
277
277
  color: "var(--theme-home-card-color-placeholder)",
278
278
  size: "14"
@@ -324,6 +324,7 @@ 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]",
327
328
  style: normalizeStyle({ background: unref(tagColor) })
328
329
  }, null, 4),
329
330
  createTextVNode(toDisplayString(unref(languageTag)), 1)
@@ -363,7 +364,7 @@ const _hoisted_1$4 = {
363
364
  key: 0,
364
365
  class: "github-star-num"
365
366
  };
366
- const _hoisted_2$3 = { class: "github-star-num__count" };
367
+ const _hoisted_2$3 = { class: "leading-none" };
367
368
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
368
369
  ...{ name: "GithubStarNum" },
369
370
  __name: "index",
@@ -394,7 +395,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
394
395
  }
395
396
  });
396
397
  const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-vue-layout-gitcode"]]);
397
- const _hoisted_1$3 = { class: "repo-card-footer" };
398
+ const _hoisted_1$3 = { class: "repo-card-footer mt-[4px]" };
398
399
  const _hoisted_2$2 = {
399
400
  key: 3,
400
401
  class: "line-separator"
@@ -532,26 +533,25 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
532
533
  createElementVNode("span", _hoisted_1$2, toDisplayString(tagTipsText.value), 1)
533
534
  ]),
534
535
  default: withCtx(() => [
535
- _cache[0] || (_cache[0] = createElementVNode("div", { class: "new-tag" }, "New", -1))
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))
536
537
  ]),
537
- _: 1,
538
- __: [0]
538
+ _: 1
539
539
  })) : createCommentVNode("", true);
540
540
  };
541
541
  }
542
542
  });
543
543
  const NewTag = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-vue-layout-gitcode"]]);
544
- const _hoisted_1$1 = { class: "model-card-footer" };
544
+ 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)]" };
545
545
  const _hoisted_2$1 = {
546
546
  key: 1,
547
- class: "ellipsis max-150 model-card-footer__text"
547
+ class: "ellipsis max-150 ml-[6px]"
548
548
  };
549
- const _hoisted_3$1 = { class: "model-card-footer__text" };
550
- const _hoisted_4$1 = { class: "model-card-footer__time" };
551
- const _hoisted_5$1 = { class: "model-card-footer__text" };
549
+ const _hoisted_3$1 = { class: "ml-[6px]" };
550
+ const _hoisted_4$1 = { class: "whitespace-nowrap overflow-hidden text-ellipsis" };
551
+ const _hoisted_5$1 = { class: "ml-[6px]" };
552
552
  const _hoisted_6$1 = {
553
553
  key: 2,
554
- class: "model-card-footer__dot"
554
+ class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]"
555
555
  };
556
556
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
557
557
  __name: "ModelCardFooter",
@@ -574,7 +574,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
574
574
  size: "12px"
575
575
  }, null, 8, ["name"])) : createCommentVNode("", true),
576
576
  projectData.value.task[0].name ? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString(projectData.value.task[0].name), 1)) : createCommentVNode("", true),
577
- _cache[0] || (_cache[0] = createElementVNode("div", { class: "model-card-footer__dot" }, null, -1))
577
+ _cache[0] || (_cache[0] = createElementVNode("div", { class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]" }, null, -1))
578
578
  ], 64)) : createCommentVNode("", true),
579
579
  projectData.value.model_param_size ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
580
580
  createVNode(GIcon, {
@@ -583,10 +583,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
583
583
  color: "var(--theme-release-card-text-color)"
584
584
  }),
585
585
  createElementVNode("span", _hoisted_3$1, toDisplayString(projectData.value.model_param_size), 1),
586
- _cache[1] || (_cache[1] = createElementVNode("div", { class: "model-card-footer__dot" }, null, -1))
586
+ _cache[1] || (_cache[1] = createElementVNode("div", { class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]" }, null, -1))
587
587
  ], 64)) : createCommentVNode("", true),
588
588
  createElementVNode("span", _hoisted_4$1, toDisplayString(unref(formatTimeFromNow)(projectData.value.updated_at)), 1),
589
- _cache[2] || (_cache[2] = createElementVNode("div", { class: "model-card-footer__dot" }, null, -1)),
589
+ _cache[2] || (_cache[2] = createElementVNode("div", { class: "w-[4px] h-[4px] ml-[6px] mr-[6px] rounded-[2px] bg-[var(--theme-placeholder)]" }, null, -1)),
590
590
  createVNode(GIcon, {
591
591
  name: "gt-line-upload",
592
592
  size: "14px",
@@ -608,11 +608,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
608
608
  };
609
609
  }
610
610
  });
611
- 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"
614
+ class: "is-recommend ml-[8px]"
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", { noborder: _ctx.noborder, "full-hover": _ctx.hover }]),
721
+ class: normalizeClass(["i-search-projects-card cursor-pointer", { 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 i-search-projects-card-title__col",
727
+ class: "ellipsis flex items-center gap-[8px]",
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"
794
+ class: "i-search-projects-card-desc ellipsis mt-[8px]"
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: "i-search-projects-card-skel" })
808
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
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: "i-search-projects-card-skel" })
816
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
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: "i-search-projects-card-skel" })
824
+ createVNode(unref(SkeletonItem), { class: "h-[110px] mt-[16px]" })
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(ModelCardFooter, {
834
+ ])) : isModel.value ? (openBlock(), createBlock(_sfc_main$1, {
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",
845
+ class: "i-search-projects-card-bottom mt-[8px]",
849
846
  onTopicClick: handleTopicClick
850
847
  }, null, 8, ["hideTopicTags", "tagInfo", "repoInfo"])) : createCommentVNode("", true)
851
848
  ], 64))
@@ -1,5 +1,5 @@
1
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-sew8BkJ5.js";
2
+ import { x as slidCaptchaManager, y as useLayoutConfig, z as isZh, _ as _export_sfc } from "./index-CxU91-vf.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
  }
package/index.d.ts CHANGED
@@ -53,7 +53,7 @@ export declare const EnterpriseHeader: DefineComponent<ExtractPropTypes<{
53
53
  customTimeout?: number | undefined;
54
54
  ignoreError?: boolean | undefined;
55
55
  customErrorCodes?: number[] | undefined;
56
- } | undefined) => Promise<AxiosResponse<any, any>>;
56
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
57
57
  };
58
58
  globalStore: {
59
59
  type: PropType<Object>;
@@ -131,7 +131,7 @@ export declare const EnterpriseHeader: DefineComponent<ExtractPropTypes<{
131
131
  customTimeout?: number | undefined;
132
132
  ignoreError?: boolean | undefined;
133
133
  customErrorCodes?: number[] | undefined;
134
- } | undefined) => Promise<AxiosResponse<any, any>>;
134
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
135
135
  };
136
136
  globalStore: {
137
137
  type: PropType<Object>;
@@ -268,7 +268,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
268
268
  customTimeout?: number | undefined;
269
269
  ignoreError?: boolean | undefined;
270
270
  customErrorCodes?: number[] | undefined;
271
- } | undefined) => Promise<AxiosResponse<any, any>>;
271
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
272
272
  };
273
273
  globalStore: {
274
274
  type: PropType<Object>;
@@ -338,7 +338,7 @@ export declare const GitCodeAside: DefineComponent<ExtractPropTypes<{
338
338
  customTimeout?: number | undefined;
339
339
  ignoreError?: boolean | undefined;
340
340
  customErrorCodes?: number[] | undefined;
341
- } | undefined) => Promise<AxiosResponse<any, any>>;
341
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
342
342
  };
343
343
  globalStore: {
344
344
  type: PropType<Object>;
@@ -413,7 +413,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
413
413
  customTimeout?: number | undefined;
414
414
  ignoreError?: boolean | undefined;
415
415
  customErrorCodes?: number[] | undefined;
416
- } | undefined) => Promise<AxiosResponse<any, any>>;
416
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
417
417
  };
418
418
  loginOutFinish: {
419
419
  type: PropType<Function | undefined>;
@@ -527,7 +527,7 @@ export declare const GitCodeHeader: DefineComponent<ExtractPropTypes<{
527
527
  customTimeout?: number | undefined;
528
528
  ignoreError?: boolean | undefined;
529
529
  customErrorCodes?: number[] | undefined;
530
- } | undefined) => Promise<AxiosResponse<any, any>>;
530
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
531
531
  };
532
532
  loginOutFinish: {
533
533
  type: PropType<Function | undefined>;
@@ -680,7 +680,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
680
680
  customTimeout?: number | undefined;
681
681
  ignoreError?: boolean | undefined;
682
682
  customErrorCodes?: number[] | undefined;
683
- } | undefined) => Promise<AxiosResponse<any, any>>;
683
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
684
684
  };
685
685
  loginOutFinish: {
686
686
  type: PropType<Function | undefined>;
@@ -715,7 +715,7 @@ export declare const Login: DefineComponent<ExtractPropTypes<{
715
715
  customTimeout?: number | undefined;
716
716
  ignoreError?: boolean | undefined;
717
717
  customErrorCodes?: number[] | undefined;
718
- } | undefined) => Promise<AxiosResponse<any, any>>;
718
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
719
719
  };
720
720
  loginOutFinish: {
721
721
  type: PropType<Function | undefined>;
@@ -791,7 +791,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
791
791
  customTimeout?: number | undefined;
792
792
  ignoreError?: boolean | undefined;
793
793
  customErrorCodes?: number[] | undefined;
794
- } | undefined) => Promise<AxiosResponse<any, any>>;
794
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
795
795
  };
796
796
  globalStore: {
797
797
  type: PropType<{
@@ -835,7 +835,7 @@ export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
835
835
  customTimeout?: number | undefined;
836
836
  ignoreError?: boolean | undefined;
837
837
  customErrorCodes?: number[] | undefined;
838
- } | undefined) => Promise<AxiosResponse<any, any>>;
838
+ } | undefined) => Promise<AxiosResponse<any, any, {}>>;
839
839
  };
840
840
  globalStore: {
841
841
  type: PropType<{
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Q, O, P, X, N, S, U, M, B, Z, W, Y, V } from "./index-sew8BkJ5.js";
1
+ import { Q, O, P, X, N, S, U, M, B, Z, W, Y, V } from "./index-CxU91-vf.js";
2
2
  export {
3
3
  Q as EnterpriseHeader,
4
4
  O as GitCodeAside,
@@ -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, _ as _export_sfc } from "./index-sew8BkJ5.js";
2
+ import { i as isPhone, u as useModel } from "./index-CxU91-vf.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";
@@ -26,21 +26,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
26
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(vModels) ? vModels.value = $event : null)
27
27
  }, {
28
28
  default: withCtx(() => [
29
- _cache[3] || (_cache[3] = createElementVNode("div", { class: "email-notice__text" }, "为了你的账户安全,请将系统预设的邮箱地址修改为你的真实邮箱地址。", -1)),
29
+ _cache[3] || (_cache[3] = createElementVNode("div", { class: "text-[var(--theme-text)] leading-[18px] break-all text-[13px]" }, "为了你的账户安全,请将系统预设的邮箱地址修改为你的真实邮箱地址。", -1)),
30
30
  createElementVNode("div", {
31
- class: normalizeClass(["email-notice__actions", isMobile.value ? "email-notice__actions--mb" : "email-notice__actions--pc"])
31
+ class: normalizeClass([isMobile.value ? "mt-[15px]" : "mt-[22px]", "flex justify-end"])
32
32
  }, [
33
33
  createVNode(unref(Button), {
34
34
  variant: "outline",
35
35
  size: isMobile.value ? "sm" : "md",
36
36
  onClick: _ctx.onClose,
37
- class: "email-notice__btn-ignore"
37
+ class: "mr-[8px]"
38
38
  }, {
39
39
  default: withCtx(() => _cache[1] || (_cache[1] = [
40
40
  createTextVNode("忽略")
41
41
  ])),
42
- _: 1,
43
- __: [1]
42
+ _: 1
44
43
  }, 8, ["size", "onClick"]),
45
44
  createVNode(unref(Button), {
46
45
  variant: "solid",
@@ -51,8 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
51
50
  default: withCtx(() => _cache[2] || (_cache[2] = [
52
51
  createTextVNode("修改")
53
52
  ])),
54
- _: 1,
55
- __: [2]
53
+ _: 1
56
54
  }, 8, ["size"])
57
55
  ], 2)
58
56
  ]),
@@ -61,7 +59,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
61
59
  };
62
60
  }
63
61
  });
64
- const notice = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-vue-layout-gitcode"]]);
65
62
  export {
66
- notice as default
63
+ _sfc_main as default
67
64
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.12.14-beta.1",
3
+ "version": "1.12.15",
4
4
  "description": "用于 gitcode 站点生产环境使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",