qy-ui-for-ls 0.3.2 → 0.3.4

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,44 @@
1
+ import { CreateComponentPublicInstanceWithMixins, ExtractPropTypes, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, Plugin } from 'vue';
2
+ declare const QyDrawer: ({
3
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ExtractPropTypes<{
4
+ title: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
9
+ title: string;
10
+ }, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
11
+ P: {};
12
+ B: {};
13
+ D: {};
14
+ C: {};
15
+ M: {};
16
+ Defaults: {};
17
+ }, Readonly< ExtractPropTypes<{
18
+ title: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }>> & Readonly<{}>, {}, {}, {}, {}, {
23
+ title: string;
24
+ }>;
25
+ __isFragment?: never;
26
+ __isTeleport?: never;
27
+ __isSuspense?: never;
28
+ } & ComponentOptionsBase<Readonly< ExtractPropTypes<{
29
+ title: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ };
33
+ }>> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
34
+ title: string;
35
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
36
+ $slots: {
37
+ header?(_: {}): any;
38
+ tip?(_: {}): any;
39
+ close?(_: {}): any;
40
+ default?(_: {}): any;
41
+ footer?(_: {}): any;
42
+ };
43
+ }) & Plugin) & Record<string, any>;
44
+ export default QyDrawer;
@@ -0,0 +1,28 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ declare function __VLS_template(): {
3
+ header?(_: {}): any;
4
+ tip?(_: {}): any;
5
+ close?(_: {}): any;
6
+ default?(_: {}): any;
7
+ footer?(_: {}): any;
8
+ };
9
+ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
10
+ title: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
15
+ title: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ }>> & Readonly<{}>, {
20
+ title: string;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
22
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
23
+ export default _default;
24
+ type __VLS_WithTemplateSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,76 @@
1
+ import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue';
2
+ interface TextButton {
3
+ label: '';
4
+ key: '';
5
+ type?: 'primary' | 'danger' | 'warning' | 'success' | 'info';
6
+ color?: string;
7
+ [key: string]: any;
8
+ }
9
+ interface TextButtonsProps {
10
+ list: Array<TextButton>;
11
+ type?: 'primary' | 'danger' | 'warning' | 'success' | 'info';
12
+ color?: string;
13
+ fontSize?: number | string;
14
+ gutter?: number;
15
+ maxNumber: number;
16
+ moreText?: string;
17
+ moreColor?: string;
18
+ hiddens: boolean | Array<any>;
19
+ disableds: boolean | Array<any>;
20
+ }
21
+ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TextButtonsProps>, {
22
+ list: () => never[];
23
+ type: string;
24
+ color: string;
25
+ fontSize: number;
26
+ gutter: number;
27
+ maxNumber: number;
28
+ moreText: string;
29
+ moreColor: string;
30
+ hiddens: boolean;
31
+ disableds: boolean;
32
+ }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
33
+ itemClick: (...args: any[]) => void;
34
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TextButtonsProps>, {
35
+ list: () => never[];
36
+ type: string;
37
+ color: string;
38
+ fontSize: number;
39
+ gutter: number;
40
+ maxNumber: number;
41
+ moreText: string;
42
+ moreColor: string;
43
+ hiddens: boolean;
44
+ disableds: boolean;
45
+ }>>> & Readonly<{
46
+ onItemClick?: ((...args: any[]) => any) | undefined;
47
+ }>, {
48
+ type: "primary" | "danger" | "warning" | "success" | "info";
49
+ fontSize: number | string;
50
+ color: string;
51
+ gutter: number;
52
+ list: Array<TextButton>;
53
+ maxNumber: number;
54
+ moreText: string;
55
+ moreColor: string;
56
+ hiddens: boolean | Array<any>;
57
+ disableds: boolean | Array<any>;
58
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
59
+ export default _default;
60
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
+ type __VLS_TypePropsToRuntimeProps<T> = {
62
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
63
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
64
+ } : {
65
+ type: PropType<T[K]>;
66
+ required: true;
67
+ };
68
+ };
69
+ type __VLS_WithDefaults<P, D> = {
70
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
71
+ default: D[K];
72
+ }> : P[K];
73
+ };
74
+ type __VLS_Prettify<T> = {
75
+ [K in keyof T]: T[K];
76
+ } & {};
package/dist/index.d.ts CHANGED
@@ -12,9 +12,11 @@ import { default as QyPagination } from './components/pagination';
12
12
  import { default as QyTree } from './components/tree';
13
13
  import { default as QyPlayer } from './components/player';
14
14
  import { default as QyCheckboxGroup } from './components/checkbox-group';
15
+ import { default as QyDrawer } from './components/drawer';
16
+ import { default as QyTextButtons } from './components/text-buttons';
15
17
  import { DatePicker as TDatePicker, DateRangePicker as TDateRangePicker, Input as TInput } from 'tdesign-vue-next';
16
18
 
17
- export { QyButton, QyTablePlus, QySvgIcon, QyDescriptions, QyForm, QyDia, QyTitle, QyUpload, QyUserSelect, QyCard, QyPagination, QyTree, QyPlayer, QyCheckboxGroup, TDatePicker, TDateRangePicker, TInput, };
19
+ export { QyButton, QyTablePlus, QySvgIcon, QyDescriptions, QyForm, QyDia, QyTitle, QyUpload, QyUserSelect, QyCard, QyPagination, QyTree, QyPlayer, QyCheckboxGroup, QyDrawer, QyTextButtons, TDatePicker, TDateRangePicker, TInput, };
18
20
  declare const _default: {
19
21
  install: any;
20
22
  };