lew-ui 2.1.12 → 2.1.13

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.
@@ -25,6 +25,7 @@ declare const _default: import('vue').DefineComponent<{
25
25
  validate: (field: string) => Promise<unknown>;
26
26
  }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
27
27
  change: (...args: any[]) => void;
28
+ mounted: (...args: any[]) => void;
28
29
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
29
30
  options: globalThis.PropType<any>;
30
31
  size: {
@@ -48,6 +49,7 @@ declare const _default: import('vue').DefineComponent<{
48
49
  };
49
50
  }>> & {
50
51
  onChange?: ((...args: any[]) => any) | undefined;
52
+ onMounted?: ((...args: any[]) => any) | undefined;
51
53
  }, {
52
54
  direction: string;
53
55
  size: string;
@@ -35,4 +35,5 @@ export * from './result';
35
35
  export * from './backtop';
36
36
  export * from './text-trim';
37
37
  export * from './menu';
38
+ export * from './menu-tree';
38
39
  export * from './empty';
@@ -0,0 +1,2 @@
1
+ export { default as LewMenuTree } from './src/LewMenuTree.vue';
2
+ export * from './src/props';
@@ -0,0 +1,35 @@
1
+ import { MenuTreeOptions } from './props';
2
+
3
+ declare const _default: import('vue').DefineComponent<{
4
+ options: {
5
+ type: globalThis.PropType<MenuTreeOptions[]>;
6
+ default: never[];
7
+ typeDesc: string;
8
+ description: string;
9
+ };
10
+ actived: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ description: string;
14
+ };
15
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ change: (...args: any[]) => void;
17
+ }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
+ options: {
19
+ type: globalThis.PropType<MenuTreeOptions[]>;
20
+ default: never[];
21
+ typeDesc: string;
22
+ description: string;
23
+ };
24
+ actived: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ description: string;
28
+ };
29
+ }>> & {
30
+ onChange?: ((...args: any[]) => any) | undefined;
31
+ }, {
32
+ options: MenuTreeOptions[];
33
+ actived: string;
34
+ }, {}>;
35
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import { TagColor } from '../../..';
2
+ import { ExtractPropTypes, PropType } from 'vue';
3
+
4
+ export type MenuTreeOptions = {
5
+ label: string;
6
+ value?: string;
7
+ children?: MenuTreeOptions[];
8
+ disabled?: boolean;
9
+ level?: number;
10
+ icon?: string;
11
+ tagText?: string;
12
+ tagColor?: TagColor;
13
+ };
14
+ export declare const menuTreeProps: {
15
+ options: {
16
+ type: PropType<MenuTreeOptions[]>;
17
+ default: never[];
18
+ typeDesc: string;
19
+ description: string;
20
+ };
21
+ actived: {
22
+ type: StringConstructor;
23
+ default: string;
24
+ description: string;
25
+ };
26
+ };
27
+ export type MenuTreeProps = ExtractPropTypes<typeof menuTreeProps>;
@@ -26,7 +26,7 @@ declare const _default: import('vue').DefineComponent<{
26
26
  };
27
27
  delay: {
28
28
  type: ArrayConstructor;
29
- default: () => number[];
29
+ default: number[];
30
30
  description: string;
31
31
  };
32
32
  lineClamp: {
@@ -62,7 +62,7 @@ declare const _default: import('vue').DefineComponent<{
62
62
  };
63
63
  delay: {
64
64
  type: ArrayConstructor;
65
- default: () => number[];
65
+ default: number[];
66
66
  description: string;
67
67
  };
68
68
  lineClamp: {
@@ -28,7 +28,7 @@ export declare const textTrimProps: {
28
28
  };
29
29
  delay: {
30
30
  type: ArrayConstructor;
31
- default: () => number[];
31
+ default: number[];
32
32
  description: string;
33
33
  };
34
34
  lineClamp: {
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
2
2
  bold: {
3
- type: globalThis.PropType<400 | 100 | 200 | 300 | 500 | 600 | 700 | 800 | 900>;
3
+ type: globalThis.PropType<400 | 200 | 500 | 100 | 300 | 600 | 700 | 800 | 900>;
4
4
  default: number;
5
5
  description: string;
6
6
  };
@@ -16,7 +16,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
16
16
  };
17
17
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
18
18
  bold: {
19
- type: globalThis.PropType<400 | 100 | 200 | 300 | 500 | 600 | 700 | 800 | 900>;
19
+ type: globalThis.PropType<400 | 200 | 500 | 100 | 300 | 600 | 700 | 800 | 900>;
20
20
  default: number;
21
21
  description: string;
22
22
  };
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
31
31
  description: string;
32
32
  };
33
33
  }>>, {
34
- bold: 400 | 100 | 200 | 300 | 500 | 600 | 700 | 800 | 900;
34
+ bold: 400 | 200 | 500 | 100 | 300 | 600 | 700 | 800 | 900;
35
35
  color: "gray" | "orange" | "green" | "red" | "blue" | "yellow" | "mint" | "teal" | "cyan" | "indigo" | "purple" | "pink" | "brown";
36
36
  size: string | number;
37
37
  }, {}>, {