auto-vue-manual 0.3.21 → 0.3.22

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.
@@ -37,8 +37,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
37
37
  }>, {
38
38
  inputNumberRef: Ref<InputNumberInstance | undefined, InputNumberInstance | undefined>;
39
39
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
40
- blur: (...args: any[]) => void;
41
40
  change: (...args: any[]) => void;
41
+ blur: (...args: any[]) => void;
42
42
  focus: (...args: any[]) => void;
43
43
  "update:modelValue": (...args: any[]) => void;
44
44
  }, string, PublicProps, Readonly< ExtractPropTypes<{
@@ -62,8 +62,8 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
62
62
  default: string;
63
63
  };
64
64
  }>> & Readonly<{
65
- onBlur?: ((...args: any[]) => any) | undefined;
66
65
  onChange?: ((...args: any[]) => any) | undefined;
66
+ onBlur?: ((...args: any[]) => any) | undefined;
67
67
  onFocus?: ((...args: any[]) => any) | undefined;
68
68
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
69
69
  }>, {
@@ -626,7 +626,7 @@ declare function __VLS_template(): {
626
626
  computedEmptyText: string;
627
627
  computedTooltipEffect: string | undefined;
628
628
  computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
629
- tableLayout: "fixed" | "auto";
629
+ tableLayout: "auto" | "fixed";
630
630
  scrollbarViewStyle: {
631
631
  display: string;
632
632
  verticalAlign: string;
@@ -1329,7 +1329,7 @@ declare const __VLS_component: DefineComponent<BaseTableProps, {
1329
1329
  computedEmptyText: string;
1330
1330
  computedTooltipEffect: string | undefined;
1331
1331
  computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
1332
- tableLayout: "fixed" | "auto";
1332
+ tableLayout: "auto" | "fixed";
1333
1333
  scrollbarViewStyle: {
1334
1334
  display: string;
1335
1335
  verticalAlign: string;
@@ -625,7 +625,7 @@ declare function __VLS_template(): {
625
625
  computedEmptyText: string;
626
626
  computedTooltipEffect: string | undefined;
627
627
  computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
628
- tableLayout: "fixed" | "auto";
628
+ tableLayout: "auto" | "fixed";
629
629
  scrollbarViewStyle: {
630
630
  display: string;
631
631
  verticalAlign: string;
@@ -1329,7 +1329,7 @@ declare const __VLS_component: DefineComponent<ProTableSummaryProps, {
1329
1329
  computedEmptyText: string;
1330
1330
  computedTooltipEffect: string | undefined;
1331
1331
  computedTooltipOptions: Partial<Omit< UseTooltipProps, "content" | "rawContent" | "persistent" | "visible" | "autoClose" | "referenceEl" | "triggerTargetEl" | "virtualRef" | "virtualTriggering">> | undefined;
1332
- tableLayout: "fixed" | "auto";
1332
+ tableLayout: "auto" | "fixed";
1333
1333
  scrollbarViewStyle: {
1334
1334
  display: string;
1335
1335
  verticalAlign: string;
@@ -1,6 +1,11 @@
1
- import { LayoutState } from '../../types';
1
+ import { LayoutState, ThemeMode } from '../../types';
2
2
  import { StoreDefinition } from 'pinia';
3
- export declare const useLayoutStore: StoreDefinition<"LAYOUT", LayoutState, {}, {
3
+ export declare const useLayoutStore: StoreDefinition<"LAYOUT", LayoutState, {
4
+ isDark(): boolean;
5
+ }, {
4
6
  setGlobalState(...args: ObjToKeyValArray<LayoutState>): void;
5
7
  getLanguage(): string;
8
+ applyDarkMode(): void;
9
+ setDarkMode(mode: ThemeMode): void;
10
+ initDarkMode(): void;
6
11
  }>;
@@ -15,12 +15,16 @@ export interface AuthState {
15
15
  export type LayoutType = 'vertical';
16
16
  export type AssemblySizeType = 'large' | 'default' | 'small';
17
17
  export type LanguageType = 'zh-CN' | 'en-US' | null;
18
+ export type ThemeMode = 'auto' | 'light' | 'dark';
19
+ export type SiderType = 'card' | 'transparent';
18
20
  export interface LayoutState {
19
21
  layout: LayoutType;
20
22
  assemblySize: AssemblySizeType;
21
23
  language: LanguageType;
22
24
  maximize: boolean;
23
25
  primary: string;
26
+ darkMode: ThemeMode;
27
+ siderType: SiderType;
24
28
  isCollapse: boolean;
25
29
  accordion: boolean;
26
30
  breadcrumb: boolean;
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const __VERSION__ = "0.3.21'
1
+ export const __VERSION__ = "0.3.22'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "auto-vue-manual",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "type": "module",
5
5
  "main": "./dist/auto-vue-manual.umd.js",
6
6
  "module": "./dist/auto-vue-manual.es.js",