qy-ui-for-ls 0.4.42 → 0.4.44

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.
@@ -0,0 +1,187 @@
1
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
+ declare const QyStatusTag: ({
3
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
4
+ mode: {
5
+ type: PropType<"rect" | "dot">;
6
+ required: true;
7
+ default: string;
8
+ };
9
+ height: {
10
+ type: PropType<string | number>;
11
+ required: true;
12
+ default: string;
13
+ };
14
+ width: {
15
+ type: PropType<string | number>;
16
+ required: true;
17
+ default: string;
18
+ };
19
+ borderRadius: {
20
+ type: PropType<string | number>;
21
+ required: true;
22
+ default: number;
23
+ };
24
+ fontSize: {
25
+ type: PropType<string | number>;
26
+ required: true;
27
+ default: number;
28
+ };
29
+ color: {
30
+ type: PropType<string>;
31
+ required: true;
32
+ default: string;
33
+ };
34
+ bgColor: {
35
+ type: PropType<string>;
36
+ required: true;
37
+ default: string;
38
+ };
39
+ noBg: {
40
+ type: PropType<boolean>;
41
+ required: true;
42
+ default: boolean;
43
+ };
44
+ dotSize: {
45
+ type: PropType<string | number>;
46
+ required: true;
47
+ default: number;
48
+ };
49
+ }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
50
+ mode: "rect" | "dot";
51
+ height: number | string;
52
+ width: number | string;
53
+ borderRadius: number | string;
54
+ fontSize: number | string;
55
+ color: string;
56
+ bgColor: string;
57
+ noBg: boolean;
58
+ dotSize: number | string;
59
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
60
+ P: {};
61
+ B: {};
62
+ D: {};
63
+ C: {};
64
+ M: {};
65
+ Defaults: {};
66
+ }, Readonly< ExtractPropTypes<{
67
+ mode: {
68
+ type: PropType<"rect" | "dot">;
69
+ required: true;
70
+ default: string;
71
+ };
72
+ height: {
73
+ type: PropType<string | number>;
74
+ required: true;
75
+ default: string;
76
+ };
77
+ width: {
78
+ type: PropType<string | number>;
79
+ required: true;
80
+ default: string;
81
+ };
82
+ borderRadius: {
83
+ type: PropType<string | number>;
84
+ required: true;
85
+ default: number;
86
+ };
87
+ fontSize: {
88
+ type: PropType<string | number>;
89
+ required: true;
90
+ default: number;
91
+ };
92
+ color: {
93
+ type: PropType<string>;
94
+ required: true;
95
+ default: string;
96
+ };
97
+ bgColor: {
98
+ type: PropType<string>;
99
+ required: true;
100
+ default: string;
101
+ };
102
+ noBg: {
103
+ type: PropType<boolean>;
104
+ required: true;
105
+ default: boolean;
106
+ };
107
+ dotSize: {
108
+ type: PropType<string | number>;
109
+ required: true;
110
+ default: number;
111
+ };
112
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
113
+ mode: "rect" | "dot";
114
+ height: number | string;
115
+ width: number | string;
116
+ borderRadius: number | string;
117
+ fontSize: number | string;
118
+ color: string;
119
+ bgColor: string;
120
+ noBg: boolean;
121
+ dotSize: number | string;
122
+ }>;
123
+ __isFragment?: never;
124
+ __isTeleport?: never;
125
+ __isSuspense?: never;
126
+ } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
127
+ mode: {
128
+ type: PropType<"rect" | "dot">;
129
+ required: true;
130
+ default: string;
131
+ };
132
+ height: {
133
+ type: PropType<string | number>;
134
+ required: true;
135
+ default: string;
136
+ };
137
+ width: {
138
+ type: PropType<string | number>;
139
+ required: true;
140
+ default: string;
141
+ };
142
+ borderRadius: {
143
+ type: PropType<string | number>;
144
+ required: true;
145
+ default: number;
146
+ };
147
+ fontSize: {
148
+ type: PropType<string | number>;
149
+ required: true;
150
+ default: number;
151
+ };
152
+ color: {
153
+ type: PropType<string>;
154
+ required: true;
155
+ default: string;
156
+ };
157
+ bgColor: {
158
+ type: PropType<string>;
159
+ required: true;
160
+ default: string;
161
+ };
162
+ noBg: {
163
+ type: PropType<boolean>;
164
+ required: true;
165
+ default: boolean;
166
+ };
167
+ dotSize: {
168
+ type: PropType<string | number>;
169
+ required: true;
170
+ default: number;
171
+ };
172
+ }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
173
+ mode: "rect" | "dot";
174
+ height: number | string;
175
+ width: number | string;
176
+ borderRadius: number | string;
177
+ fontSize: number | string;
178
+ color: string;
179
+ bgColor: string;
180
+ noBg: boolean;
181
+ dotSize: number | string;
182
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
183
+ $slots: {
184
+ default?(_: {}): any;
185
+ };
186
+ }) & Plugin) & Record<string, any>;
187
+ export default QyStatusTag;
@@ -0,0 +1,70 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
+ interface TagProps {
3
+ mode: 'rect' | 'dot';
4
+ width: number | string;
5
+ height: number | string;
6
+ color: string;
7
+ bgColor: string;
8
+ borderRadius: number | string;
9
+ noBg: boolean;
10
+ fontSize: number | string;
11
+ dotSize: number | string;
12
+ }
13
+ declare function __VLS_template(): {
14
+ default?(_: {}): any;
15
+ };
16
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TagProps>, {
17
+ mode: string;
18
+ height: string;
19
+ width: string;
20
+ color: string;
21
+ bgColor: string;
22
+ borderRadius: number;
23
+ noBg: boolean;
24
+ fontSize: number;
25
+ dotSize: number;
26
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TagProps>, {
27
+ mode: string;
28
+ height: string;
29
+ width: string;
30
+ color: string;
31
+ bgColor: string;
32
+ borderRadius: number;
33
+ noBg: boolean;
34
+ fontSize: number;
35
+ dotSize: number;
36
+ }>>> & Readonly<{}>, {
37
+ mode: "rect" | "dot";
38
+ height: number | string;
39
+ width: number | string;
40
+ borderRadius: number | string;
41
+ fontSize: number | string;
42
+ color: string;
43
+ bgColor: string;
44
+ noBg: boolean;
45
+ dotSize: number | string;
46
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
47
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
48
+ export default _default;
49
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
50
+ type __VLS_TypePropsToRuntimeProps<T> = {
51
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
52
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
53
+ } : {
54
+ type: PropType<T[K]>;
55
+ required: true;
56
+ };
57
+ };
58
+ type __VLS_WithDefaults<P, D> = {
59
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
60
+ default: D[K];
61
+ }> : P[K];
62
+ };
63
+ type __VLS_Prettify<T> = {
64
+ [K in keyof T]: T[K];
65
+ } & {};
66
+ type __VLS_WithTemplateSlots<T, S> = T & {
67
+ new (): {
68
+ $slots: S;
69
+ };
70
+ };
@@ -1,11 +1,5 @@
1
1
  import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
- declare function __VLS_template(): {
3
- default?(_: {
4
- node: any;
5
- data: any;
6
- }): any;
7
- };
8
- declare const __VLS_component: DefineComponent<ExtractPropTypes<{
2
+ declare const _default: DefineComponent<ExtractPropTypes<{
9
3
  /**
10
4
  * 树结构属性配置。
11
5
  *
@@ -166,10 +160,4 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
166
160
  dashColor: string;
167
161
  showExpand: boolean;
168
162
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
169
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
170
163
  export default _default;
171
- type __VLS_WithTemplateSlots<T, S> = T & {
172
- new (): {
173
- $slots: S;
174
- };
175
- };
package/dist/index.d.ts CHANGED
@@ -17,9 +17,10 @@ import { default as QyTextButtons } from './components/text-buttons';
17
17
  import { default as QySearchGroup } from './components/search-group';
18
18
  import { default as QyHScrollBox } from './components/h-scroll-box';
19
19
  import { default as QyGuide } from './components/guide';
20
+ import { default as QyStatusTag } from './components/status-tag';
20
21
  import { DatePicker as TDatePicker, DateRangePicker as TDateRangePicker, Input as TInput } from 'tdesign-vue-next';
21
22
 
22
- export { QyButton, QyTablePlus, QySvgIcon, QyDescriptions, QyForm, QyDia, QyTitle, QyUpload, QyUserSelect, QyCard, QyPagination, QyTree, QyPlayer, QyCheckboxGroup, QyDrawer, QyTextButtons, TDatePicker, TDateRangePicker, TInput, QySearchGroup, QyHScrollBox, QyGuide, };
23
+ export { QyButton, QyTablePlus, QySvgIcon, QyDescriptions, QyForm, QyDia, QyTitle, QyUpload, QyUserSelect, QyCard, QyPagination, QyTree, QyPlayer, QyCheckboxGroup, QyDrawer, QyTextButtons, TDatePicker, TDateRangePicker, TInput, QySearchGroup, QyHScrollBox, QyGuide, QyStatusTag };
23
24
  declare const _default: {
24
25
  install: any;
25
26
  };