vue-layout-gitcode 1.1.10 → 1.1.11

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,6 +1,6 @@
1
1
  import { defineComponent, onMounted, openBlock, createBlock, unref, withCtx, createElementVNode } from "vue";
2
2
  import { FixedOverlay } from "vue-devui-lal/overlay";
3
- import { l as useLayoutConfig, _ as _export_sfc } from "./index-a7c6ab0b.js";
3
+ import { l as useLayoutConfig, _ as _export_sfc } from "./index-227d4793.js";
4
4
  import "vue-devui-lal/overlay/style.css";
5
5
  import "vue-devui-lal/button";
6
6
  import "vue-devui-lal/popover";
@@ -99,8 +99,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
99
99
  };
100
100
  }
101
101
  });
102
- const index_vue_vue_type_style_index_0_scoped_325ac2b0_lang = "";
103
- const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-325ac2b0"]]);
102
+ const index_vue_vue_type_style_index_0_scoped_37ed6e3d_lang = "";
103
+ const index = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-37ed6e3d"]]);
104
104
  export {
105
105
  index as default
106
106
  };
@@ -1,5 +1,5 @@
1
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 highlightWords, t as transWebUrl, k as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-a7c6ab0b.js";
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 highlightWords, t as transWebUrl, k as _frEventTrack, E as EVENT_NAME, c as REPO_TYPE, e as extractRepoInfoWithURL } from "./index-227d4793.js";
3
3
  import { useRouter } from "vue-router";
4
4
  import { Row, Col } from "vue-devui-lal/grid";
5
5
  import "vue-devui-lal/grid/style.css";
@@ -203,8 +203,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
203
203
  };
204
204
  }
205
205
  });
206
- const index_vue_vue_type_style_index_0_scoped_6d9f98e2_lang = "";
207
- const StarTag = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-6d9f98e2"]]);
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"]]);
208
208
  const _hoisted_1$4 = { class: "fork-tag" };
209
209
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
210
210
  __name: "index",
@@ -229,8 +229,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
229
229
  };
230
230
  }
231
231
  });
232
- const index_vue_vue_type_style_index_0_scoped_cb84d9d8_lang = "";
233
- const ForkTag = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-cb84d9d8"]]);
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"]]);
234
234
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
235
235
  __name: "index",
236
236
  props: {
@@ -276,8 +276,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
276
276
  };
277
277
  }
278
278
  });
279
- const index_vue_vue_type_style_index_0_scoped_f41c9ade_lang = "";
280
- const LanguageTag = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-f41c9ade"]]);
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"]]);
281
281
  const _hoisted_1$3 = { class: "star-count-one" };
282
282
  const _hoisted_2$3 = { key: 0 };
283
283
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
@@ -304,8 +304,8 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
304
304
  };
305
305
  }
306
306
  });
307
- const index_vue_vue_type_style_index_0_scoped_33d28127_lang = "";
308
- const StarCountOne = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-33d28127"]]);
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"]]);
309
309
  const _hoisted_1$2 = { class: "github-star-num" };
310
310
  const _hoisted_2$2 = { class: "leading-none" };
311
311
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
@@ -332,8 +332,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
332
332
  };
333
333
  }
334
334
  });
335
- const index_vue_vue_type_style_index_0_scoped_49819ac3_lang = "";
336
- const GithubStarNum = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-49819ac3"]]);
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"]]);
337
337
  const _hoisted_1$1 = { class: "repo-card-footer mt-[4px]" };
338
338
  const _hoisted_2$1 = {
339
339
  key: 3,
@@ -425,8 +425,8 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
425
425
  };
426
426
  }
427
427
  });
428
- const index_vue_vue_type_style_index_0_scoped_e5f7b6fb_lang = "";
429
- const RepoCardFooter = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e5f7b6fb"]]);
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"]]);
430
430
  const _hoisted_1 = ["innerHTML"];
431
431
  const _hoisted_2 = {
432
432
  key: 0,
@@ -620,8 +620,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
620
620
  };
621
621
  }
622
622
  });
623
- const index_vue_vue_type_style_index_0_scoped_88958960_lang = "";
624
- const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-88958960"]]);
623
+ const index_vue_vue_type_style_index_0_scoped_89269cfe_lang = "";
624
+ const SearchRepoCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-89269cfe"]]);
625
625
  export {
626
626
  SearchRepoCard as S,
627
627
  formatNameSpace as f,
package/index.d.ts CHANGED
@@ -3,6 +3,7 @@ import { App } from './vue/dist/vue.esm-bundler.js';
3
3
  import type { AxiosResponse } from 'axios';
4
4
  import type { ComponentOptionsMixin } from './vue/dist/vue.esm-bundler.js';
5
5
  import type { ComponentProvideOptions } from './vue/dist/vue.esm-bundler.js';
6
+ import { currentTheme } from './themes/index';
6
7
  import type { DefineComponent } from './vue/dist/vue.esm-bundler.js';
7
8
  import type { Emitter } from 'mitt';
8
9
  import type { ExtractPropTypes } from './vue/dist/vue.esm-bundler.js';
@@ -11,6 +12,7 @@ import { OrgInfo } from '../../types/types';
11
12
  import type { PropType } from './vue/dist/vue.esm-bundler.js';
12
13
  import type { PublicProps } from './vue/dist/vue.esm-bundler.js';
13
14
  import { repoInfoType } from '../../types/types';
15
+ import { setTheme } from './themes/index';
14
16
  import { UserInfo } from '../../types/types';
15
17
 
16
18
  declare interface BaseLayoutConfig {
@@ -29,6 +31,8 @@ declare interface BaseLayoutConfig {
29
31
  [key: string]: string;
30
32
  }
31
33
 
34
+ export { currentTheme }
35
+
32
36
  declare const _default: {
33
37
  install: (app: App) => void;
34
38
  };
@@ -469,6 +473,8 @@ export declare enum SceneValue {
469
473
 
470
474
  export declare function setLayoutConfig(customConfig: BaseLayoutConfig): void;
471
475
 
476
+ export { setTheme }
477
+
472
478
  export declare const ToolsFloat: DefineComponent<ExtractPropTypes<{
473
479
  sceneValue: {
474
480
  type: PropType<SceneValue>;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { o, p, v, n, S, m, w, s, q } from "./index-a7c6ab0b.js";
1
+ import { o, p, v, n, S, m, w, y, s, x, q } from "./index-227d4793.js";
2
2
  import "vue";
3
3
  import "vue-devui-lal/button";
4
4
  import "vue-devui-lal/popover";
@@ -52,7 +52,9 @@ export {
52
52
  n as Login,
53
53
  S as SceneValue,
54
54
  m as ToolsFloat,
55
- w as default,
55
+ w as currentTheme,
56
+ y as default,
56
57
  s as setLayoutConfig,
58
+ x as setTheme,
57
59
  q as useLogin
58
60
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, computed, openBlock, createBlock, unref, isRef, withCtx, createElementVNode, normalizeClass, createVNode, createTextVNode } from "vue";
2
- import { i as isPhone, u as useModel } from "./index-a7c6ab0b.js";
2
+ import { i as isPhone, u as useModel } from "./index-227d4793.js";
3
3
  import { Notification } from "vue-devui-lal/notification";
4
4
  import { Button } from "vue-devui-lal/button";
5
5
  import "vue-devui-lal/notification/style.css";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-layout-gitcode",
3
- "version": "1.1.10",
3
+ "version": "1.1.11",
4
4
  "description": "用于gitcode站点编程使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",