@factoringplus/pl-components-pack-v3 1.2.22-pre-01 → 1.2.22-pre-03

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.
Files changed (155) hide show
  1. package/dist/components/button/index.d.ts +191 -191
  2. package/dist/components/button/pl-button.vue.d.ts +66 -64
  3. package/dist/components/button/types/index.d.ts +21 -21
  4. package/dist/components/components.d.ts +47 -47
  5. package/dist/components/deprecated/currency-input/index.d.ts +5 -5
  6. package/dist/components/deprecated/pl-checkbox/index.d.ts +5 -5
  7. package/dist/components/deprecated/pl-date-picker/index.d.ts +5 -5
  8. package/dist/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +77 -77
  9. package/dist/components/deprecated/pl-date-picker/pl-date-picker.vue.d.ts +72 -72
  10. package/dist/components/deprecated/pl-date-picker-legacy/index.d.ts +5 -5
  11. package/dist/components/deprecated/pl-dialog/index.d.ts +5 -5
  12. package/dist/components/deprecated/pl-dialog/pl-dialog.vue.d.ts +104 -102
  13. package/dist/components/deprecated/pl-form-item/index.d.ts +5 -5
  14. package/dist/components/deprecated/pl-input/index.d.ts +5 -5
  15. package/dist/components/deprecated/pl-input-native/index.d.ts +5 -5
  16. package/dist/components/deprecated/pl-select/index.d.ts +5 -5
  17. package/dist/components/deprecated/pl-select/pl-select.vue.d.ts +149 -147
  18. package/dist/components/deprecated/pl-suggestions/index.d.ts +5 -5
  19. package/dist/components/deprecated/pl-suggestions/pl-suggestions.vue.d.ts +112 -112
  20. package/dist/components/deprecated/pl-table/index.d.ts +5 -5
  21. package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +133 -133
  22. package/dist/components/deprecated/pl-tooltip/index.d.ts +5 -5
  23. package/dist/components/deprecated/pl-tooltip/pl-tooltip.vue.d.ts +58 -56
  24. package/dist/components/deprecated/pl-upload/index.d.ts +5 -5
  25. package/dist/components/deprecated/pl-upload/pl-upload.vue.d.ts +124 -124
  26. package/dist/components/deprecated/pl-upload-legacy/index.d.ts +5 -5
  27. package/dist/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +111 -111
  28. package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +60 -60
  29. package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -60
  30. package/dist/components/pl-autocomplete/index.d.ts +5 -5
  31. package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +95 -95
  32. package/dist/components/pl-autocomplete/types/index.d.ts +57 -57
  33. package/dist/components/pl-card/index.d.ts +5 -5
  34. package/dist/components/pl-checkbox-plus/index.d.ts +5 -5
  35. package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +74 -72
  36. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +68 -68
  37. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +56 -56
  38. package/dist/components/pl-date-picker-plus/common/constants.d.ts +2 -2
  39. package/dist/components/pl-date-picker-plus/common/types/index.d.ts +50 -50
  40. package/dist/components/pl-date-picker-plus/common/utils/wrapperFunctions.d.ts +13 -13
  41. package/dist/components/pl-date-picker-plus/index.d.ts +5 -5
  42. package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +82 -82
  43. package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +84 -84
  44. package/dist/components/pl-dialog/index.d.ts +5 -5
  45. package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +106 -104
  46. package/dist/components/pl-form/index.d.ts +5 -5
  47. package/dist/components/pl-form/pl-form.vue.d.ts +55 -53
  48. package/dist/components/pl-icon/index.d.ts +6 -6
  49. package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -12
  50. package/dist/components/pl-icon/types/iconsType.d.ts +5 -5
  51. package/dist/components/pl-icon/types/index.d.ts +2 -2
  52. package/dist/components/pl-input-plus/components/pl-currency.vue.d.ts +46 -46
  53. package/dist/components/pl-input-plus/components/pl-default.vue.d.ts +72 -72
  54. package/dist/components/pl-input-plus/components/pl-password.vue.d.ts +47 -47
  55. package/dist/components/pl-input-plus/components/pl-textarea.vue.d.ts +45 -45
  56. package/dist/components/pl-input-plus/index.d.ts +5 -5
  57. package/dist/components/pl-input-plus/pl-input-plus.vue.d.ts +123 -123
  58. package/dist/components/pl-input-plus/types/index.d.ts +65 -65
  59. package/dist/components/pl-label/pl-label.vue.d.ts +41 -39
  60. package/dist/components/pl-link/index.d.ts +5 -5
  61. package/dist/components/pl-link/pl-link.vue.d.ts +50 -48
  62. package/dist/components/pl-mark-text/index.d.ts +16 -16
  63. package/dist/components/pl-mark-text/pl-mark-text.vue.d.ts +16 -16
  64. package/dist/components/pl-multi-select/components/pl-default.vue.d.ts +68 -68
  65. package/dist/components/pl-multi-select/components/pl-multi-select-dropdown.vue.d.ts +49 -49
  66. package/dist/components/pl-multi-select/index.d.ts +5 -5
  67. package/dist/components/pl-multi-select/pl-multi-select.vue.d.ts +72 -72
  68. package/dist/components/pl-multi-select/types/index.d.ts +33 -33
  69. package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +38 -38
  70. package/dist/components/pl-multitab/index.d.ts +5 -5
  71. package/dist/components/pl-multitab/pl-multitab.vue.d.ts +39 -39
  72. package/dist/components/pl-multitab/types/index.d.ts +14 -14
  73. package/dist/components/pl-option/index.d.ts +5 -5
  74. package/dist/components/pl-option/pl-option.vue.d.ts +122 -122
  75. package/dist/components/pl-radio/index.d.ts +5 -5
  76. package/dist/components/pl-radio/pl-radio.vue.d.ts +69 -69
  77. package/dist/components/pl-scrollbar/index.d.ts +5 -5
  78. package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +67 -65
  79. package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +1 -1
  80. package/dist/components/pl-select-plus/components/pl-account.vue.d.ts +68 -68
  81. package/dist/components/pl-select-plus/components/pl-default.vue.d.ts +68 -68
  82. package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +45 -45
  83. package/dist/components/pl-select-plus/index.d.ts +5 -5
  84. package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +77 -77
  85. package/dist/components/pl-select-plus/types/index.d.ts +38 -38
  86. package/dist/components/pl-skeleton/index.d.ts +5 -5
  87. package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +40 -40
  88. package/dist/components/pl-snackbar/index.d.ts +7 -7
  89. package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +47 -47
  90. package/dist/components/pl-snackbar/renderSnackbar.d.ts +3 -3
  91. package/dist/components/pl-snackbar/types.d.ts +25 -25
  92. package/dist/components/pl-stepper/index.d.ts +5 -5
  93. package/dist/components/pl-stepper/pl-stepper.vue.d.ts +57 -57
  94. package/dist/components/pl-switch/index.d.ts +5 -5
  95. package/dist/components/pl-switch/pl-switch.vue.d.ts +47 -47
  96. package/dist/components/pl-tab-pane/index.d.ts +5 -5
  97. package/dist/components/pl-tab-pane/pl-tab-pane.vue.d.ts +47 -45
  98. package/dist/components/pl-tab-pane/types/index.d.ts +8 -8
  99. package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +52 -52
  100. package/dist/components/pl-table-plus/index.d.ts +5 -5
  101. package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +95 -93
  102. package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +23 -21
  103. package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +45 -45
  104. package/dist/components/pl-tabs/index.d.ts +5 -5
  105. package/dist/components/pl-tabs/pl-tabs.vue.d.ts +45 -45
  106. package/dist/components/pl-tags/pl-tags.vue.d.ts +37 -35
  107. package/dist/components/pl-text/components/pl-body1.vue.d.ts +23 -21
  108. package/dist/components/pl-text/components/pl-body2.vue.d.ts +23 -21
  109. package/dist/components/pl-text/components/pl-body3.vue.d.ts +23 -21
  110. package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +23 -21
  111. package/dist/components/pl-text/components/pl-btn1.vue.d.ts +23 -21
  112. package/dist/components/pl-text/components/pl-btn2.vue.d.ts +23 -21
  113. package/dist/components/pl-text/components/pl-btn3.vue.d.ts +23 -21
  114. package/dist/components/pl-text/components/pl-cap.vue.d.ts +23 -21
  115. package/dist/components/pl-text/components/pl-h1.vue.d.ts +23 -21
  116. package/dist/components/pl-text/components/pl-h2.vue.d.ts +23 -21
  117. package/dist/components/pl-text/components/pl-h3.vue.d.ts +23 -21
  118. package/dist/components/pl-text/components/pl-h4.vue.d.ts +23 -21
  119. package/dist/components/pl-text/components/pl-sub1.vue.d.ts +19 -17
  120. package/dist/components/pl-text/components/pl-sub2.vue.d.ts +19 -17
  121. package/dist/components/pl-text/components/pl-system.vue.d.ts +19 -17
  122. package/dist/components/pl-text/components/pl-tag.vue.d.ts +19 -17
  123. package/dist/components/pl-text/components/pl-title1.vue.d.ts +19 -17
  124. package/dist/components/pl-text/components/pl-title2.vue.d.ts +19 -17
  125. package/dist/components/pl-text/components/pl-title3.vue.d.ts +19 -17
  126. package/dist/components/pl-text/index.d.ts +5 -5
  127. package/dist/components/pl-tooltip-plus/index.d.ts +5 -5
  128. package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +55 -53
  129. package/dist/components/pl-upload-plus/index.d.ts +5 -5
  130. package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +109 -109
  131. package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -1
  132. package/dist/directives/index.d.ts +5 -5
  133. package/dist/directives/vInfiniteScroll/utils/position.d.ts +1 -1
  134. package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +1 -1
  135. package/dist/directives/vInfiniteScroll/utils/style.d.ts +1 -1
  136. package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -2
  137. package/dist/directives/vLoading.d.ts +3 -3
  138. package/dist/directives/vTap.d.ts +3 -3
  139. package/dist/directives/vTouchOutside.d.ts +3 -3
  140. package/dist/install-function/index.d.ts +6 -6
  141. package/dist/main.d.ts +1 -1
  142. package/dist/plugins/api/api.d.ts +2 -2
  143. package/dist/plugins/filters.d.ts +8 -8
  144. package/dist/plugins/loading/loading.d.ts +3 -3
  145. package/dist/services/plLoading.d.ts +3 -3
  146. package/dist/utils/dadataParser.d.ts +11 -11
  147. package/dist/utils/declOfNum.d.ts +3 -3
  148. package/dist/utils/deepSet.d.ts +6 -6
  149. package/dist/utils/formatAccount.d.ts +2 -2
  150. package/dist/utils/formatCurrency.d.ts +3 -3
  151. package/dist/utils/formatDate.d.ts +3 -3
  152. package/dist/utils/getSourceCode.d.ts +5 -5
  153. package/dist/utils/isEqual.d.ts +3 -3
  154. package/dist/utils/types.d.ts +67 -67
  155. package/package.json +80 -66
@@ -1,192 +1,192 @@
1
1
  import { TButtonProps } from './types';
2
-
3
- export declare const PlButton: import('../../install-function').SFCInstallWithContext<{
4
- new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
5
- size: {
6
- type: import('vue').PropType<"small" | "large" | "medium">;
7
- default: string;
8
- };
9
- type: {
10
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
11
- default: string;
12
- };
13
- fullWidth: {
14
- type: import('vue').PropType<boolean>;
15
- default: boolean;
16
- };
17
- disabled: {
18
- type: import('vue').PropType<boolean>;
19
- default: boolean;
20
- };
21
- icon: {
22
- type: import('vue').PropType<import('../pl-icon').TIcon>;
23
- default: string;
24
- };
25
- iconColor: {
26
- type: import('vue').PropType<string>;
27
- default: string;
28
- };
29
- iconPosition: {
30
- type: import('vue').PropType<"left" | "right">;
31
- default: string;
32
- };
33
- nativeType: {
34
- type: import('vue').PropType<"button" | "submit" | "reset">;
35
- default: string;
36
- };
37
- }>> & {
38
- onClick?: (...args: any[]) => any;
39
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
- click: (...args: any[]) => void;
41
- }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
42
- size: {
43
- type: import('vue').PropType<"small" | "large" | "medium">;
44
- default: string;
45
- };
46
- type: {
47
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
48
- default: string;
49
- };
50
- fullWidth: {
51
- type: import('vue').PropType<boolean>;
52
- default: boolean;
53
- };
54
- disabled: {
55
- type: import('vue').PropType<boolean>;
56
- default: boolean;
57
- };
58
- icon: {
59
- type: import('vue').PropType<import('../pl-icon').TIcon>;
60
- default: string;
61
- };
62
- iconColor: {
63
- type: import('vue').PropType<string>;
64
- default: string;
65
- };
66
- iconPosition: {
67
- type: import('vue').PropType<"left" | "right">;
68
- default: string;
69
- };
70
- nativeType: {
71
- type: import('vue').PropType<"button" | "submit" | "reset">;
72
- default: string;
73
- };
74
- }>> & {
75
- onClick?: (...args: any[]) => any;
76
- }, {
77
- size: "small" | "large" | "medium";
78
- type: "primary" | "secondary" | "alternative" | "error" | "empty";
79
- fullWidth: boolean;
80
- disabled: boolean;
81
- icon: import('../pl-icon').TIcon;
82
- iconColor: string;
83
- iconPosition: "left" | "right";
84
- nativeType: "button" | "submit" | "reset";
85
- }, true, {}, {}, {
86
- P: {};
87
- B: {};
88
- D: {};
89
- C: {};
90
- M: {};
91
- Defaults: {};
92
- }, Readonly<import('vue').ExtractPropTypes<{
93
- size: {
94
- type: import('vue').PropType<"small" | "large" | "medium">;
95
- default: string;
96
- };
97
- type: {
98
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
99
- default: string;
100
- };
101
- fullWidth: {
102
- type: import('vue').PropType<boolean>;
103
- default: boolean;
104
- };
105
- disabled: {
106
- type: import('vue').PropType<boolean>;
107
- default: boolean;
108
- };
109
- icon: {
110
- type: import('vue').PropType<import('../pl-icon').TIcon>;
111
- default: string;
112
- };
113
- iconColor: {
114
- type: import('vue').PropType<string>;
115
- default: string;
116
- };
117
- iconPosition: {
118
- type: import('vue').PropType<"left" | "right">;
119
- default: string;
120
- };
121
- nativeType: {
122
- type: import('vue').PropType<"button" | "submit" | "reset">;
123
- default: string;
124
- };
125
- }>> & {
126
- onClick?: (...args: any[]) => any;
127
- }, {}, {}, {}, {}, {
128
- size: "small" | "large" | "medium";
129
- type: "primary" | "secondary" | "alternative" | "error" | "empty";
130
- fullWidth: boolean;
131
- disabled: boolean;
132
- icon: import('../pl-icon').TIcon;
133
- iconColor: string;
134
- iconPosition: "left" | "right";
135
- nativeType: "button" | "submit" | "reset";
136
- }>;
137
- __isFragment?: never;
138
- __isTeleport?: never;
139
- __isSuspense?: never;
140
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
141
- size: {
142
- type: import('vue').PropType<"small" | "large" | "medium">;
143
- default: string;
144
- };
145
- type: {
146
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
147
- default: string;
148
- };
149
- fullWidth: {
150
- type: import('vue').PropType<boolean>;
151
- default: boolean;
152
- };
153
- disabled: {
154
- type: import('vue').PropType<boolean>;
155
- default: boolean;
156
- };
157
- icon: {
158
- type: import('vue').PropType<import('../pl-icon').TIcon>;
159
- default: string;
160
- };
161
- iconColor: {
162
- type: import('vue').PropType<string>;
163
- default: string;
164
- };
165
- iconPosition: {
166
- type: import('vue').PropType<"left" | "right">;
167
- default: string;
168
- };
169
- nativeType: {
170
- type: import('vue').PropType<"button" | "submit" | "reset">;
171
- default: string;
172
- };
173
- }>> & {
174
- onClick?: (...args: any[]) => any;
175
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
176
- click: (...args: any[]) => void;
177
- }, string, {
178
- size: "small" | "large" | "medium";
179
- type: "primary" | "secondary" | "alternative" | "error" | "empty";
180
- fullWidth: boolean;
181
- disabled: boolean;
182
- icon: import('../pl-icon').TIcon;
183
- iconColor: string;
184
- iconPosition: "left" | "right";
185
- nativeType: "button" | "submit" | "reset";
186
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
187
- $slots: {
188
- default?(_: {}): any;
189
- };
190
- })>;
191
- export default PlButton;
192
- export type { TButtonProps };
2
+
3
+ export declare const PlButton: import('../../install-function').SFCInstallWithContext<{
4
+ new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
5
+ size: {
6
+ type: import('vue').PropType<"small" | "large" | "medium">;
7
+ default: string;
8
+ };
9
+ type: {
10
+ type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
11
+ default: string;
12
+ };
13
+ fullWidth: {
14
+ type: import('vue').PropType<boolean>;
15
+ default: boolean;
16
+ };
17
+ disabled: {
18
+ type: import('vue').PropType<boolean>;
19
+ default: boolean;
20
+ };
21
+ icon: {
22
+ type: import('vue').PropType<import('../pl-icon').TIcon>;
23
+ default: string;
24
+ };
25
+ iconColor: {
26
+ type: import('vue').PropType<string>;
27
+ default: string;
28
+ };
29
+ iconPosition: {
30
+ type: import('vue').PropType<"left" | "right">;
31
+ default: string;
32
+ };
33
+ nativeType: {
34
+ type: import('vue').PropType<"button" | "submit" | "reset">;
35
+ default: string;
36
+ };
37
+ }>> & {
38
+ onClick?: (...args: any[]) => any;
39
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
40
+ click: (...args: any[]) => void;
41
+ }, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
42
+ size: {
43
+ type: import('vue').PropType<"small" | "large" | "medium">;
44
+ default: string;
45
+ };
46
+ type: {
47
+ type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
48
+ default: string;
49
+ };
50
+ fullWidth: {
51
+ type: import('vue').PropType<boolean>;
52
+ default: boolean;
53
+ };
54
+ disabled: {
55
+ type: import('vue').PropType<boolean>;
56
+ default: boolean;
57
+ };
58
+ icon: {
59
+ type: import('vue').PropType<import('../pl-icon').TIcon>;
60
+ default: string;
61
+ };
62
+ iconColor: {
63
+ type: import('vue').PropType<string>;
64
+ default: string;
65
+ };
66
+ iconPosition: {
67
+ type: import('vue').PropType<"left" | "right">;
68
+ default: string;
69
+ };
70
+ nativeType: {
71
+ type: import('vue').PropType<"button" | "submit" | "reset">;
72
+ default: string;
73
+ };
74
+ }>> & {
75
+ onClick?: (...args: any[]) => any;
76
+ }, {
77
+ size: "large" | "medium" | "small";
78
+ type: "primary" | "secondary" | "alternative" | "error" | "empty";
79
+ fullWidth: boolean;
80
+ disabled: boolean;
81
+ icon: import('../pl-icon').TIcon;
82
+ iconColor: string;
83
+ iconPosition: "left" | "right";
84
+ nativeType: "button" | "submit" | "reset";
85
+ }, true, {}, {}, {
86
+ P: {};
87
+ B: {};
88
+ D: {};
89
+ C: {};
90
+ M: {};
91
+ Defaults: {};
92
+ }, Readonly<import('vue').ExtractPropTypes<{
93
+ size: {
94
+ type: import('vue').PropType<"small" | "large" | "medium">;
95
+ default: string;
96
+ };
97
+ type: {
98
+ type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
99
+ default: string;
100
+ };
101
+ fullWidth: {
102
+ type: import('vue').PropType<boolean>;
103
+ default: boolean;
104
+ };
105
+ disabled: {
106
+ type: import('vue').PropType<boolean>;
107
+ default: boolean;
108
+ };
109
+ icon: {
110
+ type: import('vue').PropType<import('../pl-icon').TIcon>;
111
+ default: string;
112
+ };
113
+ iconColor: {
114
+ type: import('vue').PropType<string>;
115
+ default: string;
116
+ };
117
+ iconPosition: {
118
+ type: import('vue').PropType<"left" | "right">;
119
+ default: string;
120
+ };
121
+ nativeType: {
122
+ type: import('vue').PropType<"button" | "submit" | "reset">;
123
+ default: string;
124
+ };
125
+ }>> & {
126
+ onClick?: (...args: any[]) => any;
127
+ }, {}, {}, {}, {}, {
128
+ size: "large" | "medium" | "small";
129
+ type: "primary" | "secondary" | "alternative" | "error" | "empty";
130
+ fullWidth: boolean;
131
+ disabled: boolean;
132
+ icon: import('../pl-icon').TIcon;
133
+ iconColor: string;
134
+ iconPosition: "left" | "right";
135
+ nativeType: "button" | "submit" | "reset";
136
+ }>;
137
+ __isFragment?: never;
138
+ __isTeleport?: never;
139
+ __isSuspense?: never;
140
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
141
+ size: {
142
+ type: import('vue').PropType<"small" | "large" | "medium">;
143
+ default: string;
144
+ };
145
+ type: {
146
+ type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
147
+ default: string;
148
+ };
149
+ fullWidth: {
150
+ type: import('vue').PropType<boolean>;
151
+ default: boolean;
152
+ };
153
+ disabled: {
154
+ type: import('vue').PropType<boolean>;
155
+ default: boolean;
156
+ };
157
+ icon: {
158
+ type: import('vue').PropType<import('../pl-icon').TIcon>;
159
+ default: string;
160
+ };
161
+ iconColor: {
162
+ type: import('vue').PropType<string>;
163
+ default: string;
164
+ };
165
+ iconPosition: {
166
+ type: import('vue').PropType<"left" | "right">;
167
+ default: string;
168
+ };
169
+ nativeType: {
170
+ type: import('vue').PropType<"button" | "submit" | "reset">;
171
+ default: string;
172
+ };
173
+ }>> & {
174
+ onClick?: (...args: any[]) => any;
175
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
176
+ click: (...args: any[]) => void;
177
+ }, string, {
178
+ size: "large" | "medium" | "small";
179
+ type: "primary" | "secondary" | "alternative" | "error" | "empty";
180
+ fullWidth: boolean;
181
+ disabled: boolean;
182
+ icon: import('../pl-icon').TIcon;
183
+ iconColor: string;
184
+ iconPosition: "left" | "right";
185
+ nativeType: "button" | "submit" | "reset";
186
+ }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
187
+ $slots: {
188
+ default?(_: {}): any;
189
+ };
190
+ })>;
191
+ export default PlButton;
192
+ export type { TButtonProps };
@@ -1,65 +1,67 @@
1
1
  import { TButtonProps } from './types';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
4
- /**
5
- * Выставляет ширину кнопки в 100%
6
- */
7
- fullWidth: boolean;
8
- disabled: boolean;
9
- type: string;
10
- size: string;
11
- icon: string;
12
- iconColor: string;
13
- iconPosition: string;
14
- nativeType: string;
15
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- click: (...args: any[]) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
18
- /**
19
- * Выставляет ширину кнопки в 100%
20
- */
21
- fullWidth: boolean;
22
- disabled: boolean;
23
- type: string;
24
- size: string;
25
- icon: string;
26
- iconColor: string;
27
- iconPosition: string;
28
- nativeType: string;
29
- }>>> & {
30
- onClick?: (...args: any[]) => any;
31
- }, {
32
- size: "small" | "large" | "medium";
33
- type: "primary" | "secondary" | "alternative" | "error" | "empty";
34
- fullWidth: boolean;
35
- disabled: boolean;
36
- icon: import('../pl-icon').TIcon;
37
- iconColor: string;
38
- iconPosition: "left" | "right";
39
- nativeType: "button" | "submit" | "reset";
40
- }, {}>, {
41
- default?(_: {}): any;
42
- }>;
43
- export default _default;
44
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
- type __VLS_TypePropsToRuntimeProps<T> = {
46
- [K in keyof T]-?: {} extends Pick<T, K> ? {
47
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
- } : {
49
- type: import('vue').PropType<T[K]>;
50
- required: true;
51
- };
52
- };
53
- type __VLS_WithDefaults<P, D> = {
54
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
- default: D[K];
56
- }> : P[K];
57
- };
58
- type __VLS_Prettify<T> = {
59
- [K in keyof T]: T[K];
60
- } & {};
61
- type __VLS_WithTemplateSlots<T, S> = T & {
62
- new (): {
63
- $slots: S;
64
- };
65
- };
2
+
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
7
+ /**
8
+ * Выставляет ширину кнопки в 100%
9
+ */
10
+ fullWidth: boolean;
11
+ disabled: boolean;
12
+ type: string;
13
+ size: string;
14
+ icon: string;
15
+ iconColor: string;
16
+ iconPosition: string;
17
+ nativeType: string;
18
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ click: (...args: any[]) => void;
20
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
21
+ /**
22
+ * Выставляет ширину кнопки в 100%
23
+ */
24
+ fullWidth: boolean;
25
+ disabled: boolean;
26
+ type: string;
27
+ size: string;
28
+ icon: string;
29
+ iconColor: string;
30
+ iconPosition: string;
31
+ nativeType: string;
32
+ }>>> & {
33
+ onClick?: (...args: any[]) => any;
34
+ }, {
35
+ size: "large" | "medium" | "small";
36
+ type: "primary" | "secondary" | "alternative" | "error" | "empty";
37
+ fullWidth: boolean;
38
+ disabled: boolean;
39
+ icon: import('../pl-icon').TIcon;
40
+ iconColor: string;
41
+ iconPosition: "left" | "right";
42
+ nativeType: "button" | "submit" | "reset";
43
+ }, {}>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
+ export default _default;
46
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
+ type __VLS_TypePropsToRuntimeProps<T> = {
48
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
49
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
50
+ } : {
51
+ type: import('vue').PropType<T[K]>;
52
+ required: true;
53
+ };
54
+ };
55
+ type __VLS_WithDefaults<P, D> = {
56
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
57
+ default: D[K];
58
+ }> : P[K];
59
+ };
60
+ type __VLS_Prettify<T> = {
61
+ [K in keyof T]: T[K];
62
+ } & {};
63
+ type __VLS_WithTemplateSlots<T, S> = T & {
64
+ new (): {
65
+ $slots: S;
66
+ };
67
+ };
@@ -1,22 +1,22 @@
1
1
  import { TIcon } from '../../pl-icon/types';
2
-
3
- /**
4
- * @param fullWidth boolean;
5
- * @param disabled boolean;
6
- * @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
7
- * @param size 'large' | 'medium' | 'small';
8
- * @param icon IIcon;
9
- * @param iconColor string;
10
- * @param iconPosition 'left' | 'right';
11
- * @param nativeType 'button'| 'submit'| 'reset' | undefined
12
- */
13
- export declare type TButtonProps = {
14
- fullWidth?: boolean;
15
- disabled?: boolean;
16
- type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
17
- size?: 'large' | 'medium' | 'small';
18
- icon?: TIcon;
19
- iconColor?: string;
20
- iconPosition?: 'left' | 'right';
21
- nativeType?: 'button' | 'submit' | 'reset';
22
- };
2
+
3
+ /**
4
+ * @param fullWidth boolean;
5
+ * @param disabled boolean;
6
+ * @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
7
+ * @param size 'large' | 'medium' | 'small';
8
+ * @param icon IIcon;
9
+ * @param iconColor string;
10
+ * @param iconPosition 'left' | 'right';
11
+ * @param nativeType 'button'| 'submit'| 'reset' | undefined
12
+ */
13
+ export declare type TButtonProps = {
14
+ fullWidth?: boolean;
15
+ disabled?: boolean;
16
+ type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
17
+ size?: 'large' | 'medium' | 'small';
18
+ icon?: TIcon;
19
+ iconColor?: string;
20
+ iconPosition?: 'left' | 'right';
21
+ nativeType?: 'button' | 'submit' | 'reset';
22
+ };