lew-ui 2.6.21 → 2.6.23

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,5 +1,5 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
- import { LewColor, TagType } from '../../..';
2
+ import { TagProps } from '../../..';
3
3
 
4
4
  export type MenuOptions = {
5
5
  label: string;
@@ -7,9 +7,7 @@ export type MenuOptions = {
7
7
  children?: MenuOptions[];
8
8
  disabled?: boolean;
9
9
  icon?: string;
10
- tagText?: string;
11
- tagColor?: LewColor;
12
- tagType?: TagType;
10
+ tagProps?: TagProps;
13
11
  };
14
12
  export declare const menuModel: {
15
13
  modelValue: {
@@ -5,6 +5,16 @@ declare function __VLS_template(): {
5
5
  readonly disabled: boolean;
6
6
  readonly level: number;
7
7
  readonly isLeaf: boolean;
8
+ readonly tagProps: {
9
+ type: import('../../..').TagType;
10
+ color: import('../../..').LewColor;
11
+ size: import('../../..').LewSize;
12
+ disabled: boolean;
13
+ text: string;
14
+ round: boolean;
15
+ oversize: boolean;
16
+ closable: boolean;
17
+ };
8
18
  readonly value?: string | number | undefined;
9
19
  readonly icon?: string | Function | undefined;
10
20
  };
@@ -43,6 +53,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
43
53
  default: boolean;
44
54
  description: string;
45
55
  };
56
+ tagProps: {
57
+ type: PropType<import('../../..').TagProps>;
58
+ default: () => {};
59
+ description: string;
60
+ };
46
61
  }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
47
62
  change: (...args: any[]) => void;
48
63
  }, string, import('vue').PublicProps, Readonly<globalThis.ExtractPropTypes<{
@@ -77,6 +92,11 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
77
92
  default: boolean;
78
93
  description: string;
79
94
  };
95
+ tagProps: {
96
+ type: PropType<import('../../..').TagProps>;
97
+ default: () => {};
98
+ description: string;
99
+ };
80
100
  }>> & Readonly<{
81
101
  onChange?: ((...args: any[]) => any) | undefined;
82
102
  }>, {
@@ -85,6 +105,16 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
85
105
  disabled: boolean;
86
106
  level: number;
87
107
  isLeaf: boolean;
108
+ tagProps: {
109
+ type: import('../../..').TagType;
110
+ color: import('../../..').LewColor;
111
+ size: import('../../..').LewSize;
112
+ disabled: boolean;
113
+ text: string;
114
+ round: boolean;
115
+ oversize: boolean;
116
+ closable: boolean;
117
+ };
88
118
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
89
119
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
90
120
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { ExtractPropTypes } from 'vue';
2
+ import { TagProps } from '../../..';
2
3
 
3
4
  export type MenuTreeItem = {
4
5
  label: string | (() => any);
@@ -7,6 +8,7 @@ export type MenuTreeItem = {
7
8
  disabled?: boolean;
8
9
  children?: MenuTreeItem[];
9
10
  icon?: () => any;
11
+ tagProps?: TagProps;
10
12
  };
11
13
  export declare const menuTreeModel: {
12
14
  modelValue: {
@@ -71,6 +73,11 @@ export declare const menuTreeItemProps: {
71
73
  default: boolean;
72
74
  description: string;
73
75
  };
76
+ tagProps: {
77
+ type: PropType<TagProps>;
78
+ default: () => {};
79
+ description: string;
80
+ };
74
81
  };
75
82
  export type MenuTreeProps = ExtractPropTypes<typeof menuTreeProps>;
76
83
  export type MenuTreeItemProps = ExtractPropTypes<typeof menuTreeItemProps>;
@@ -42,16 +42,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
42
42
  default: () => {};
43
43
  description: string;
44
44
  };
45
- hideOkButton: {
46
- type: BooleanConstructor;
47
- default: boolean;
48
- description: string;
49
- };
50
- hideCancelButton: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- description: string;
54
- };
55
45
  closeOnClickOverlay: {
56
46
  type: BooleanConstructor;
57
47
  default: boolean;
@@ -103,16 +93,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
103
93
  default: () => {};
104
94
  description: string;
105
95
  };
106
- hideOkButton: {
107
- type: BooleanConstructor;
108
- default: boolean;
109
- description: string;
110
- };
111
- hideCancelButton: {
112
- type: BooleanConstructor;
113
- default: boolean;
114
- description: string;
115
- };
116
96
  closeOnClickOverlay: {
117
97
  type: BooleanConstructor;
118
98
  default: boolean;
@@ -156,8 +136,6 @@ declare const __VLS_component: import('vue').DefineComponent<globalThis.ExtractP
156
136
  dashed: boolean;
157
137
  request: Function;
158
138
  };
159
- hideOkButton: boolean;
160
- hideCancelButton: boolean;
161
139
  closeOnClickOverlay: boolean;
162
140
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
163
141
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
@@ -46,16 +46,6 @@ export declare const modalProps: {
46
46
  default: () => {};
47
47
  description: string;
48
48
  };
49
- hideOkButton: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- description: string;
53
- };
54
- hideCancelButton: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- description: string;
58
- };
59
49
  closeOnClickOverlay: {
60
50
  type: BooleanConstructor;
61
51
  default: boolean;