vue-layout-gitcode 1.1.10 → 1.1.12

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 { o as useLayoutConfig, _ as _export_sfc } from "./index-c7a5903d.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
  };
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 { s, v, y, q, S, p, z, B, x, A, w } from "./index-c7a5903d.js";
2
2
  import "vue";
3
3
  import "vue-devui-lal/button";
4
4
  import "vue-devui-lal/popover";
@@ -46,13 +46,15 @@ import "vue-devui-lal/checkbox/style.css";
46
46
  import "vue-devui-lal/modal";
47
47
  import "vue-devui-lal/modal/style.css";
48
48
  export {
49
- o as GitCodeAside,
50
- p as GitCodeHeader,
51
- v as GitCodeLayoutEmitter,
52
- n as Login,
49
+ s as GitCodeAside,
50
+ v as GitCodeHeader,
51
+ y as GitCodeLayoutEmitter,
52
+ q as Login,
53
53
  S as SceneValue,
54
- m as ToolsFloat,
55
- w as default,
56
- s as setLayoutConfig,
57
- q as useLogin
54
+ p as ToolsFloat,
55
+ z as currentTheme,
56
+ B as default,
57
+ x as setLayoutConfig,
58
+ A as setTheme,
59
+ w 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-c7a5903d.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.12",
4
4
  "description": "用于gitcode站点编程使用",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",