@factoringplus/pl-components-pack-v3 1.2.27-pre-02 → 1.2.27

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 (178) hide show
  1. package/README.md +17 -17
  2. package/dist/components/{basic/pl-button → button}/index.d.ts +55 -56
  3. package/dist/components/{basic/pl-button → button}/pl-button.vue.d.ts +11 -12
  4. package/dist/components/{basic/pl-button → button}/types/index.d.ts +1 -2
  5. package/dist/components/components.d.ts +37 -39
  6. package/dist/components/{deprecated/currency-input → currency-input}/index.d.ts +1 -2
  7. package/dist/components/entry.d.ts +87 -0
  8. package/dist/components/{form/pl-autocomplete → pl-autocomplete}/components/pl-autocomplete-dropdown.vue.d.ts +13 -14
  9. package/dist/components/{form/pl-autocomplete → pl-autocomplete}/components/pl-default.vue.d.ts +12 -13
  10. package/dist/components/{form/pl-autocomplete → pl-autocomplete}/index.d.ts +1 -2
  11. package/dist/components/{form/pl-autocomplete → pl-autocomplete}/pl-autocompete.vue.d.ts +20 -21
  12. package/dist/components/{form/pl-autocomplete → pl-autocomplete}/types/index.d.ts +2 -3
  13. package/dist/components/{data/pl-card → pl-card}/index.d.ts +1 -2
  14. package/dist/components/{deprecated/pl-checkbox → pl-checkbox}/index.d.ts +1 -2
  15. package/dist/components/{form/pl-checkbox-plus → pl-checkbox-plus}/index.d.ts +1 -2
  16. package/dist/components/{form/pl-checkbox-plus → pl-checkbox-plus}/pl-checkbox-plus.vue.d.ts +4 -4
  17. package/dist/components/{deprecated/pl-date-picker → pl-date-picker}/index.d.ts +1 -2
  18. package/dist/components/{deprecated/pl-date-picker-legacy → pl-date-picker-legacy}/index.d.ts +1 -2
  19. package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/common/components/PlDatePickerRangeWrapper.vue.d.ts +15 -12
  20. package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/common/components/PlDatePickerWrapper.vue.d.ts +13 -10
  21. package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/common/types/index.d.ts +2 -2
  22. package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/common/utils/wrapperFunctions.d.ts +4 -5
  23. package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/index.d.ts +1 -2
  24. package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +15 -16
  25. package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +15 -16
  26. package/dist/components/{deprecated/pl-dialog → pl-dialog}/index.d.ts +1 -2
  27. package/dist/components/{basic/pl-dialog → pl-dialog}/pl-dialog-plus.vue.d.ts +17 -15
  28. package/dist/components/{deprecated/pl-dialog → pl-dialog}/pl-dialog.vue.d.ts +11 -11
  29. package/dist/components/{form/pl-form → pl-form}/index.d.ts +1 -2
  30. package/dist/components/{form/pl-form → pl-form}/pl-form.vue.d.ts +9 -10
  31. package/dist/components/{deprecated/pl-form-item → pl-form-item}/index.d.ts +1 -2
  32. package/dist/components/{shared/pl-icon → pl-icon}/index.d.ts +2 -3
  33. package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -0
  34. package/dist/components/pl-icon/types/index.d.ts +2 -0
  35. package/dist/components/{deprecated/pl-input → pl-input}/index.d.ts +1 -2
  36. package/dist/components/{deprecated/pl-input-native → pl-input-native}/index.d.ts +1 -2
  37. package/dist/components/{form/pl-input-plus → pl-input-plus}/components/pl-currency.vue.d.ts +10 -11
  38. package/dist/components/{form/pl-input-plus → pl-input-plus}/components/pl-default.vue.d.ts +17 -18
  39. package/dist/components/{form/pl-input-plus → pl-input-plus}/components/pl-password.vue.d.ts +10 -11
  40. package/dist/components/{form/pl-input-plus → pl-input-plus}/components/pl-textarea.vue.d.ts +10 -11
  41. package/dist/components/{form/pl-input-plus → pl-input-plus}/index.d.ts +1 -2
  42. package/dist/components/{form/pl-input-plus → pl-input-plus}/pl-input-plus.vue.d.ts +20 -21
  43. package/dist/components/{form/pl-input-plus → pl-input-plus}/types/index.d.ts +4 -5
  44. package/dist/components/{shared/pl-label → pl-label}/pl-label.vue.d.ts +3 -3
  45. package/dist/components/{basic/pl-link → pl-link}/index.d.ts +1 -2
  46. package/dist/components/{basic/pl-link → pl-link}/pl-link.vue.d.ts +7 -7
  47. package/dist/components/pl-mark-text/index.d.ts +2 -0
  48. package/dist/components/{form/pl-multi-select → pl-multi-select}/components/pl-default.vue.d.ts +12 -13
  49. package/dist/components/{form/pl-multi-select → pl-multi-select}/components/pl-multi-select-dropdown.vue.d.ts +10 -11
  50. package/dist/components/{form/pl-multi-select → pl-multi-select}/index.d.ts +1 -2
  51. package/dist/components/{form/pl-multi-select → pl-multi-select}/pl-multi-select.vue.d.ts +13 -14
  52. package/dist/components/{form/pl-multi-select → pl-multi-select}/types/index.d.ts +2 -3
  53. package/dist/components/{data/pl-multitab → pl-multitab}/components/pl-tab-card.vue.d.ts +9 -10
  54. package/dist/components/{data/pl-multitab → pl-multitab}/index.d.ts +1 -2
  55. package/dist/components/{data/pl-multitab → pl-multitab}/pl-multitab.vue.d.ts +8 -9
  56. package/dist/components/{data/pl-multitab → pl-multitab}/types/index.d.ts +1 -2
  57. package/dist/components/{shared/pl-option → pl-option}/index.d.ts +1 -2
  58. package/dist/components/{shared/pl-option → pl-option}/pl-option.vue.d.ts +7 -7
  59. package/dist/components/{form/pl-radio → pl-radio}/index.d.ts +1 -2
  60. package/dist/components/{form/pl-radio → pl-radio}/pl-radio.vue.d.ts +3 -3
  61. package/dist/components/{basic/pl-scrollbar → pl-scrollbar}/index.d.ts +1 -2
  62. package/dist/components/{basic/pl-scrollbar → pl-scrollbar}/pl-scrollbar.vue.d.ts +8 -8
  63. package/dist/components/{deprecated/pl-select → pl-select}/index.d.ts +1 -2
  64. package/dist/components/{form/pl-select-plus → pl-select-plus}/components/pl-default.vue.d.ts +13 -14
  65. package/dist/components/{form/pl-select-plus → pl-select-plus}/components/pl-select-dropdown.vue.d.ts +10 -11
  66. package/dist/components/{form/pl-select-plus → pl-select-plus}/index.d.ts +1 -2
  67. package/dist/components/{form/pl-select-plus → pl-select-plus}/pl-select-plus.vue.d.ts +14 -15
  68. package/dist/components/{form/pl-select-plus → pl-select-plus}/types/index.d.ts +2 -3
  69. package/dist/components/{basic/pl-skeleton → pl-skeleton}/index.d.ts +1 -2
  70. package/dist/components/{basic/pl-skeleton → pl-skeleton}/pl-skeleton.vue.d.ts +7 -7
  71. package/dist/components/{data/pl-snackbar → pl-snackbar}/index.d.ts +1 -2
  72. package/dist/components/{data/pl-snackbar → pl-snackbar}/pl-snackbar.vue.d.ts +14 -9
  73. package/dist/components/pl-snackbar/renderSnackbar.d.ts +4 -0
  74. package/dist/components/pl-snackbar/types.d.ts +21 -0
  75. package/dist/components/{data/pl-stepper → pl-stepper}/index.d.ts +1 -2
  76. package/dist/components/{deprecated/pl-suggestions → pl-suggestions}/index.d.ts +1 -2
  77. package/dist/components/{form/pl-switch → pl-switch}/index.d.ts +1 -2
  78. package/dist/components/{form/pl-switch → pl-switch}/pl-switch.vue.d.ts +3 -3
  79. package/dist/components/{shared/pl-tab-pane → pl-tab-pane}/index.d.ts +1 -2
  80. package/dist/components/{shared/pl-tab-pane → pl-tab-pane}/pl-tab-pane.vue.d.ts +9 -10
  81. package/dist/components/{shared/pl-tab-pane → pl-tab-pane}/types/index.d.ts +1 -2
  82. package/dist/components/{deprecated/pl-table → pl-table}/index.d.ts +1 -2
  83. package/dist/components/{data/pl-table-plus → pl-table-plus}/components/row-mask.vue.d.ts +6 -6
  84. package/dist/components/{data/pl-table-plus → pl-table-plus}/index.d.ts +1 -2
  85. package/dist/components/{data/pl-table-plus → pl-table-plus}/pl-table-plus.vue.d.ts +9 -9
  86. package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +21 -0
  87. package/dist/components/{data/pl-tabs → pl-tabs}/components/pl-tab.vue.d.ts +7 -8
  88. package/dist/components/{data/pl-tabs → pl-tabs}/index.d.ts +1 -2
  89. package/dist/components/{data/pl-tabs → pl-tabs}/pl-tabs.vue.d.ts +7 -7
  90. package/dist/components/{shared/pl-tags-chips/pl-tags-chips.vue.d.ts → pl-tags/pl-tags.vue.d.ts} +8 -8
  91. package/dist/components/pl-text/components/pl-body1.vue.d.ts +21 -0
  92. package/dist/components/pl-text/components/pl-body2.vue.d.ts +21 -0
  93. package/dist/components/pl-text/components/pl-body3.vue.d.ts +21 -0
  94. package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +21 -0
  95. package/dist/components/pl-text/components/pl-btn1.vue.d.ts +21 -0
  96. package/dist/components/pl-text/components/pl-btn2.vue.d.ts +21 -0
  97. package/dist/components/pl-text/components/pl-btn3.vue.d.ts +21 -0
  98. package/dist/components/pl-text/components/pl-cap.vue.d.ts +21 -0
  99. package/dist/components/pl-text/components/pl-h1.vue.d.ts +21 -0
  100. package/dist/components/pl-text/components/pl-h2.vue.d.ts +21 -0
  101. package/dist/components/pl-text/components/pl-h3.vue.d.ts +21 -0
  102. package/dist/components/pl-text/components/pl-h4.vue.d.ts +21 -0
  103. package/dist/components/pl-text/components/pl-sub1.vue.d.ts +17 -0
  104. package/dist/components/pl-text/components/pl-sub2.vue.d.ts +17 -0
  105. package/dist/components/pl-text/components/pl-system.vue.d.ts +17 -0
  106. package/dist/components/pl-text/components/pl-tag.vue.d.ts +17 -0
  107. package/dist/components/pl-text/components/pl-title1.vue.d.ts +17 -0
  108. package/dist/components/pl-text/components/pl-title2.vue.d.ts +17 -0
  109. package/dist/components/pl-text/components/pl-title3.vue.d.ts +17 -0
  110. package/dist/components/{shared/pl-text → pl-text}/index.d.ts +1 -2
  111. package/dist/components/{deprecated/pl-tooltip → pl-tooltip}/index.d.ts +1 -2
  112. package/dist/components/{deprecated/pl-tooltip → pl-tooltip}/pl-tooltip.vue.d.ts +7 -7
  113. package/dist/components/{basic/pl-tooltip-plus → pl-tooltip-plus}/index.d.ts +1 -2
  114. package/dist/components/{basic/pl-tooltip-plus → pl-tooltip-plus}/pl-tooltip-plus.vue.d.ts +8 -8
  115. package/dist/components/{deprecated/pl-upload → pl-upload}/index.d.ts +1 -2
  116. package/dist/components/{deprecated/pl-upload-legacy → pl-upload-legacy}/index.d.ts +1 -2
  117. package/dist/components/{form/pl-upload-plus → pl-upload-plus}/index.d.ts +1 -2
  118. package/dist/components/{form/pl-upload-plus → pl-upload-plus}/pl-upload-plus.vue.d.ts +14 -14
  119. package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -0
  120. package/dist/directives/index.d.ts +1 -3
  121. package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +1 -2
  122. package/dist/directives/vLoading.d.ts +1 -2
  123. package/dist/directives/vTap.d.ts +1 -2
  124. package/dist/directives/vTouchOutside.d.ts +1 -2
  125. package/dist/install-function/index.d.ts +3 -4
  126. package/dist/mockServiceWorker.js +364 -0
  127. package/dist/pl-components-pack-v3.d.ts +2 -0
  128. package/dist/pl-components-pack-v3.es.js +15392 -15262
  129. package/dist/pl-components-pack-v3.umd.js +45 -44
  130. package/dist/plugins/filters.d.ts +3 -5
  131. package/dist/plugins/loading/loading.d.ts +1 -3
  132. package/dist/services/plLoading.d.ts +1 -1
  133. package/dist/style.css +1 -1
  134. package/dist/utils/dadataParser.d.ts +1 -2
  135. package/dist/utils/deepSet.d.ts +2 -3
  136. package/dist/utils/formatAccount.d.ts +1 -1
  137. package/dist/utils/getSourceCode.d.ts +1 -4
  138. package/package.json +79 -67
  139. package/dist/components/basic/pl-dialog/index.d.ts +0 -6
  140. package/dist/components/data/pl-snackbar/renderSnackbar.d.ts +0 -4
  141. package/dist/components/data/pl-snackbar/types.d.ts +0 -26
  142. package/dist/components/data/pl-stepper/pl-stepper.vue.d.ts +0 -57
  143. package/dist/components/data/pl-tabs/components/pl-tab-counter.vue.d.ts +0 -21
  144. package/dist/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +0 -77
  145. package/dist/components/deprecated/pl-date-picker/pl-date-picker.vue.d.ts +0 -72
  146. package/dist/components/deprecated/pl-select/pl-select.vue.d.ts +0 -147
  147. package/dist/components/deprecated/pl-suggestions/pl-suggestions.vue.d.ts +0 -112
  148. package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +0 -133
  149. package/dist/components/deprecated/pl-upload/pl-upload.vue.d.ts +0 -124
  150. package/dist/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +0 -112
  151. package/dist/components/form/pl-select-plus/components/pl-account.vue.d.ts +0 -68
  152. package/dist/components/form/pl-upload-plus/types/FileExtension.d.ts +0 -1
  153. package/dist/components/shared/pl-icon/pl-icon.vue.d.ts +0 -13
  154. package/dist/components/shared/pl-icon/types/index.d.ts +0 -3
  155. package/dist/components/shared/pl-mark-text/index.d.ts +0 -16
  156. package/dist/components/shared/pl-mark-text/pl-mark-text.vue.d.ts +0 -16
  157. package/dist/components/shared/pl-text/components/pl-body1.vue.d.ts +0 -21
  158. package/dist/components/shared/pl-text/components/pl-body2.vue.d.ts +0 -21
  159. package/dist/components/shared/pl-text/components/pl-body3.vue.d.ts +0 -21
  160. package/dist/components/shared/pl-text/components/pl-bodyu.vue.d.ts +0 -21
  161. package/dist/components/shared/pl-text/components/pl-btn1.vue.d.ts +0 -21
  162. package/dist/components/shared/pl-text/components/pl-btn2.vue.d.ts +0 -21
  163. package/dist/components/shared/pl-text/components/pl-btn3.vue.d.ts +0 -21
  164. package/dist/components/shared/pl-text/components/pl-cap.vue.d.ts +0 -21
  165. package/dist/components/shared/pl-text/components/pl-h1.vue.d.ts +0 -21
  166. package/dist/components/shared/pl-text/components/pl-h2.vue.d.ts +0 -21
  167. package/dist/components/shared/pl-text/components/pl-h3.vue.d.ts +0 -21
  168. package/dist/components/shared/pl-text/components/pl-h4.vue.d.ts +0 -21
  169. package/dist/components/shared/pl-text/components/pl-sub1.vue.d.ts +0 -17
  170. package/dist/components/shared/pl-text/components/pl-sub2.vue.d.ts +0 -17
  171. package/dist/components/shared/pl-text/components/pl-system.vue.d.ts +0 -17
  172. package/dist/components/shared/pl-text/components/pl-tag.vue.d.ts +0 -17
  173. package/dist/components/shared/pl-text/components/pl-title1.vue.d.ts +0 -17
  174. package/dist/components/shared/pl-text/components/pl-title2.vue.d.ts +0 -17
  175. package/dist/components/shared/pl-text/components/pl-title3.vue.d.ts +0 -17
  176. /package/dist/components/{form/pl-date-picker-plus → pl-date-picker-plus}/common/constants.d.ts +0 -0
  177. /package/dist/components/{shared/pl-icon → pl-icon}/types/iconsType.d.ts +0 -0
  178. /package/dist/components/{basic/pl-scrollbar → pl-scrollbar}/utils/getSizeWithUnits.d.ts +0 -0
package/README.md CHANGED
@@ -1,17 +1,17 @@
1
- # Библиотека компонентов Vue 3
2
-
3
- ## Установка
4
-
5
- ```bash
6
- npm i @factoringplus/pl-components-pack-v3
7
- ```
8
-
9
- ### Добавление компонентов в проект
10
-
11
- ```bash
12
- // src/main.js
13
- import components from '@factoringplus/pl-components-pack-v3';
14
- import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
-
16
- app.use(components)
17
- ```
1
+ # Библиотека компонентов Vue 3
2
+
3
+ ## Установка
4
+
5
+ ```bash
6
+ npm i @factoringplus/pl-components-pack-v3
7
+ ```
8
+
9
+ ### Добавление компонентов в проект
10
+
11
+ ```bash
12
+ // src/main.js
13
+ import components from '@factoringplus/pl-components-pack-v3';
14
+ import '@factoringplus/pl-components-pack-v3/dist/style.css';
15
+
16
+ app.use(components)
17
+ ```
@@ -1,84 +1,83 @@
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">;
1
+ import type { TButtonProps } from './types';
2
+ export declare const PlButton: import('../../install-function').SFCInstallWithContext<{
3
+ new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
4
+ type: {
5
+ type: import("vue").PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
7
6
  default: string;
8
7
  };
9
- type: {
10
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
8
+ size: {
9
+ type: import("vue").PropType<"small" | "large" | "medium">;
11
10
  default: string;
12
11
  };
13
12
  fullWidth: {
14
- type: import('vue').PropType<boolean>;
13
+ type: import("vue").PropType<boolean>;
15
14
  default: boolean;
16
15
  };
17
16
  disabled: {
18
- type: import('vue').PropType<boolean>;
17
+ type: import("vue").PropType<boolean>;
19
18
  default: boolean;
20
19
  };
21
20
  icon: {
22
- type: import('vue').PropType<any>;
21
+ type: import("vue").PropType<import("../pl-icon").TIcon>;
23
22
  default: string;
24
23
  };
25
24
  iconColor: {
26
- type: import('vue').PropType<string>;
25
+ type: import("vue").PropType<string>;
27
26
  default: string;
28
27
  };
29
28
  iconPosition: {
30
- type: import('vue').PropType<"left" | "right">;
29
+ type: import("vue").PropType<"left" | "right">;
31
30
  default: string;
32
31
  };
33
32
  nativeType: {
34
- type: import('vue').PropType<"button" | "submit" | "reset">;
33
+ type: import("vue").PropType<"button" | "submit" | "reset">;
35
34
  default: string;
36
35
  };
37
36
  }>> & {
38
37
  onClick?: (...args: any[]) => any;
39
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
40
39
  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">;
40
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
41
+ type: {
42
+ type: import("vue").PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
44
43
  default: string;
45
44
  };
46
- type: {
47
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
45
+ size: {
46
+ type: import("vue").PropType<"small" | "large" | "medium">;
48
47
  default: string;
49
48
  };
50
49
  fullWidth: {
51
- type: import('vue').PropType<boolean>;
50
+ type: import("vue").PropType<boolean>;
52
51
  default: boolean;
53
52
  };
54
53
  disabled: {
55
- type: import('vue').PropType<boolean>;
54
+ type: import("vue").PropType<boolean>;
56
55
  default: boolean;
57
56
  };
58
57
  icon: {
59
- type: import('vue').PropType<any>;
58
+ type: import("vue").PropType<import("../pl-icon").TIcon>;
60
59
  default: string;
61
60
  };
62
61
  iconColor: {
63
- type: import('vue').PropType<string>;
62
+ type: import("vue").PropType<string>;
64
63
  default: string;
65
64
  };
66
65
  iconPosition: {
67
- type: import('vue').PropType<"left" | "right">;
66
+ type: import("vue").PropType<"left" | "right">;
68
67
  default: string;
69
68
  };
70
69
  nativeType: {
71
- type: import('vue').PropType<"button" | "submit" | "reset">;
70
+ type: import("vue").PropType<"button" | "submit" | "reset">;
72
71
  default: string;
73
72
  };
74
73
  }>> & {
75
74
  onClick?: (...args: any[]) => any;
76
75
  }, {
77
- size: "small" | "large" | "medium";
78
76
  type: "primary" | "secondary" | "alternative" | "error" | "empty";
77
+ size: "small" | "large" | "medium";
79
78
  fullWidth: boolean;
80
79
  disabled: boolean;
81
- icon: any;
80
+ icon: import("../pl-icon").TIcon;
82
81
  iconColor: string;
83
82
  iconPosition: "left" | "right";
84
83
  nativeType: "button" | "submit" | "reset";
@@ -89,47 +88,47 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
89
88
  C: {};
90
89
  M: {};
91
90
  Defaults: {};
92
- }, Readonly<import('vue').ExtractPropTypes<{
93
- size: {
94
- type: import('vue').PropType<"small" | "large" | "medium">;
91
+ }, Readonly<import("vue").ExtractPropTypes<{
92
+ type: {
93
+ type: import("vue").PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
95
94
  default: string;
96
95
  };
97
- type: {
98
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
96
+ size: {
97
+ type: import("vue").PropType<"small" | "large" | "medium">;
99
98
  default: string;
100
99
  };
101
100
  fullWidth: {
102
- type: import('vue').PropType<boolean>;
101
+ type: import("vue").PropType<boolean>;
103
102
  default: boolean;
104
103
  };
105
104
  disabled: {
106
- type: import('vue').PropType<boolean>;
105
+ type: import("vue").PropType<boolean>;
107
106
  default: boolean;
108
107
  };
109
108
  icon: {
110
- type: import('vue').PropType<any>;
109
+ type: import("vue").PropType<import("../pl-icon").TIcon>;
111
110
  default: string;
112
111
  };
113
112
  iconColor: {
114
- type: import('vue').PropType<string>;
113
+ type: import("vue").PropType<string>;
115
114
  default: string;
116
115
  };
117
116
  iconPosition: {
118
- type: import('vue').PropType<"left" | "right">;
117
+ type: import("vue").PropType<"left" | "right">;
119
118
  default: string;
120
119
  };
121
120
  nativeType: {
122
- type: import('vue').PropType<"button" | "submit" | "reset">;
121
+ type: import("vue").PropType<"button" | "submit" | "reset">;
123
122
  default: string;
124
123
  };
125
124
  }>> & {
126
125
  onClick?: (...args: any[]) => any;
127
126
  }, {}, {}, {}, {}, {
128
- size: "small" | "large" | "medium";
129
127
  type: "primary" | "secondary" | "alternative" | "error" | "empty";
128
+ size: "small" | "large" | "medium";
130
129
  fullWidth: boolean;
131
130
  disabled: boolean;
132
- icon: any;
131
+ icon: import("../pl-icon").TIcon;
133
132
  iconColor: string;
134
133
  iconPosition: "left" | "right";
135
134
  nativeType: "button" | "submit" | "reset";
@@ -137,53 +136,53 @@ export declare const PlButton: import('../../../install-function').SFCInstallWit
137
136
  __isFragment?: never;
138
137
  __isTeleport?: never;
139
138
  __isSuspense?: never;
140
- } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
141
- size: {
142
- type: import('vue').PropType<"small" | "large" | "medium">;
139
+ } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
140
+ type: {
141
+ type: import("vue").PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
143
142
  default: string;
144
143
  };
145
- type: {
146
- type: import('vue').PropType<"primary" | "secondary" | "alternative" | "error" | "empty">;
144
+ size: {
145
+ type: import("vue").PropType<"small" | "large" | "medium">;
147
146
  default: string;
148
147
  };
149
148
  fullWidth: {
150
- type: import('vue').PropType<boolean>;
149
+ type: import("vue").PropType<boolean>;
151
150
  default: boolean;
152
151
  };
153
152
  disabled: {
154
- type: import('vue').PropType<boolean>;
153
+ type: import("vue").PropType<boolean>;
155
154
  default: boolean;
156
155
  };
157
156
  icon: {
158
- type: import('vue').PropType<any>;
157
+ type: import("vue").PropType<import("../pl-icon").TIcon>;
159
158
  default: string;
160
159
  };
161
160
  iconColor: {
162
- type: import('vue').PropType<string>;
161
+ type: import("vue").PropType<string>;
163
162
  default: string;
164
163
  };
165
164
  iconPosition: {
166
- type: import('vue').PropType<"left" | "right">;
165
+ type: import("vue").PropType<"left" | "right">;
167
166
  default: string;
168
167
  };
169
168
  nativeType: {
170
- type: import('vue').PropType<"button" | "submit" | "reset">;
169
+ type: import("vue").PropType<"button" | "submit" | "reset">;
171
170
  default: string;
172
171
  };
173
172
  }>> & {
174
173
  onClick?: (...args: any[]) => any;
175
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
174
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
176
175
  click: (...args: any[]) => void;
177
176
  }, string, {
178
- size: "small" | "large" | "medium";
179
177
  type: "primary" | "secondary" | "alternative" | "error" | "empty";
178
+ size: "small" | "large" | "medium";
180
179
  fullWidth: boolean;
181
180
  disabled: boolean;
182
- icon: any;
181
+ icon: import("../pl-icon").TIcon;
183
182
  iconColor: string;
184
183
  iconPosition: "left" | "right";
185
184
  nativeType: "button" | "submit" | "reset";
186
- }, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
185
+ }, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
187
186
  $slots: {
188
187
  default?(_: {}): any;
189
188
  };
@@ -1,6 +1,5 @@
1
- import { TButtonProps } from './types';
2
-
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
1
+ import type { TButtonProps } from './types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
4
3
  /**
5
4
  * Выставляет ширину кнопки в 100%
6
5
  */
@@ -12,9 +11,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
12
11
  iconColor: string;
13
12
  iconPosition: string;
14
13
  nativeType: string;
15
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
15
  click: (...args: any[]) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
18
17
  /**
19
18
  * Выставляет ширину кнопки в 100%
20
19
  */
@@ -29,11 +28,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
29
28
  }>>> & {
30
29
  onClick?: (...args: any[]) => any;
31
30
  }, {
32
- size: "small" | "large" | "medium";
33
31
  type: "primary" | "secondary" | "alternative" | "error" | "empty";
32
+ size: "small" | "large" | "medium";
34
33
  fullWidth: boolean;
35
34
  disabled: boolean;
36
- icon: any;
35
+ icon: import("../pl-icon").TIcon;
37
36
  iconColor: string;
38
37
  iconPosition: "left" | "right";
39
38
  nativeType: "button" | "submit" | "reset";
@@ -41,8 +40,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
41
40
  default?(_: {}): any;
42
41
  }>;
43
42
  export default _default;
44
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
- type __VLS_TypePropsToRuntimeProps<T> = {
43
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
44
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
46
45
  [K in keyof T]-?: {} extends Pick<T, K> ? {
47
46
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
48
47
  } : {
@@ -50,15 +49,15 @@ type __VLS_TypePropsToRuntimeProps<T> = {
50
49
  required: true;
51
50
  };
52
51
  };
53
- type __VLS_WithDefaults<P, D> = {
52
+ declare type __VLS_WithDefaults<P, D> = {
54
53
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
55
54
  default: D[K];
56
55
  }> : P[K];
57
56
  };
58
- type __VLS_Prettify<T> = {
57
+ declare type __VLS_Prettify<T> = {
59
58
  [K in keyof T]: T[K];
60
59
  } & {};
61
- type __VLS_WithTemplateSlots<T, S> = T & {
60
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
62
61
  new (): {
63
62
  $slots: S;
64
63
  };
@@ -1,5 +1,4 @@
1
- import { TIcon } from '../../../pl-icon/types';
2
-
1
+ import type { TIcon } from '../../pl-icon/types';
3
2
  /**
4
3
  * @param fullWidth boolean;
5
4
  * @param disabled boolean;
@@ -1,42 +1,40 @@
1
- import { Plugin } from 'vue';
2
-
3
- export * from './deprecated/pl-checkbox';
4
- export * from './deprecated/pl-date-picker';
5
- export * from './deprecated/pl-date-picker-legacy';
6
- export * from './deprecated/pl-input';
7
- export * from './deprecated/pl-select';
8
- export * from './deprecated/pl-suggestions';
9
- export * from './deprecated/pl-table';
10
- export * from './deprecated/pl-tooltip';
11
- export * from './deprecated/pl-upload';
12
- export * from './deprecated/pl-upload-legacy';
13
- export * from './deprecated/pl-dialog';
14
- export * from './basic/pl-button';
15
- export * from './deprecated/currency-input';
16
- export * from './form/pl-autocomplete';
17
- export * from './data/pl-card';
18
- export * from './form/pl-checkbox-plus';
19
- export * from './form/pl-date-picker-plus';
20
- export * from './basic/pl-dialog';
21
- export * from './form/pl-form';
22
- export * from './shared/pl-icon';
23
- export * from './form/pl-input-plus';
24
- export * from './basic/pl-link';
25
- export * from './data/pl-multitab';
26
- export * from './form/pl-radio';
27
- export * from './basic/pl-scrollbar';
28
- export * from './form/pl-select-plus';
29
- export * from './basic/pl-skeleton';
30
- export * from './data/pl-snackbar';
31
- export * from './data/pl-stepper';
32
- export * from './form/pl-switch';
33
- export * from './shared/pl-tab-pane';
34
- export * from './data/pl-table-plus';
35
- export * from './data/pl-tabs';
36
- export * from './shared/pl-text';
37
- export * from './form/pl-upload-plus';
38
- export * from './basic/pl-tooltip-plus';
39
- export * from './shared/pl-mark-text';
1
+ import type { Plugin } from 'vue';
2
+ export * from './button';
3
+ export * from './currency-input';
4
+ export * from './pl-autocomplete';
5
+ export * from './pl-card';
6
+ export * from './pl-checkbox';
7
+ export * from './pl-checkbox-plus';
8
+ export * from './pl-date-picker';
9
+ export * from './pl-date-picker-legacy';
10
+ export * from './pl-date-picker-plus';
11
+ export * from './pl-dialog';
12
+ export * from './pl-form';
13
+ export * from './pl-icon';
14
+ export * from './pl-input';
15
+ export * from './pl-input-plus';
16
+ export * from './pl-link';
17
+ export * from './pl-multitab';
18
+ export * from './pl-radio';
19
+ export * from './pl-scrollbar';
20
+ export * from './pl-select';
21
+ export * from './pl-select-plus';
22
+ export * from './pl-skeleton';
23
+ export * from './pl-snackbar';
24
+ export * from './pl-stepper';
25
+ export * from './pl-suggestions';
26
+ export * from './pl-switch';
27
+ export * from './pl-tab-pane';
28
+ export * from './pl-table';
29
+ export * from './pl-table-plus';
30
+ export * from './pl-tabs';
31
+ export * from './pl-text';
32
+ export * from './pl-tooltip';
33
+ export * from './pl-upload';
34
+ export * from './pl-upload-legacy';
35
+ export * from './pl-upload-plus';
36
+ export * from './pl-tooltip-plus';
37
+ export * from './pl-mark-text';
40
38
  export * from '../utils/formatCurrency';
41
39
  export * from '../utils/declOfNum';
42
40
  export * from '../utils/isEqual';
@@ -1,5 +1,4 @@
1
- import { App } from 'vue';
2
-
1
+ import type { App } from 'vue';
3
2
  declare const PlCurrency: {
4
3
  install(app: App): void;
5
4
  };
@@ -0,0 +1,87 @@
1
+ import type { App } from 'vue';
2
+ import plLoading from '../services/plLoading';
3
+ import loadingAndSetup from '../plugins/loading/loading';
4
+
5
+
6
+
7
+
8
+
9
+
10
+ import type { IPlNotification } from './pl-snackbar/types';
11
+ declare const Storybook: {
12
+ apiJs: (optionsRequest: any, isGetResourse: boolean, token: any) => Promise<unknown>;
13
+ plLoading: typeof plLoading;
14
+ loader: typeof loadingAndSetup;
15
+ formatCurrency: import("../install-function").SFCInstallWithContext<(number: string | number, showDecimal?: boolean, digitCount?: number) => string>;
16
+ filters: import("../install-function").SFCInstallWithContext<() => {
17
+ capitalize(value: string): string;
18
+ displayDate(value: string | import("dayjs").Dayjs): string;
19
+ }>;
20
+ declOfNum: import("../install-function").SFCInstallWithContext<(value: number, words: string[]) => string>;
21
+ isEqual: import("../install-function").SFCInstallWithContext<(<T>(obj1: T, obj2: T) => boolean)>;
22
+ formatDate: import("../install-function").SFCInstallWithContext<(date: string, format: string) => string>;
23
+ deepSet: import("../install-function").SFCInstallWithContext<() => {
24
+ add: (o: any) => void;
25
+ }>;
26
+ dataParser: {
27
+ recipientBottomText: import("../install-function").SFCInstallWithContext<(response: any[], getBottomText: any) => any[]>;
28
+ innKppBottomText: import("../install-function").SFCInstallWithContext<(e: import('../utils/dadataParser').PartyElement) => string>;
29
+ innAddressBottomText: import("../install-function").SFCInstallWithContext<(e: import('../utils/dadataParser').PartyElement) => string>;
30
+ };
31
+ length: number;
32
+ toString(): string;
33
+ toLocaleString(): string;
34
+ pop(): import("vue").Plugin<any[]>;
35
+ push(...items: import("vue").Plugin<any[]>[]): number;
36
+ concat(...items: ConcatArray<import("vue").Plugin<any[]>>[]): import("vue").Plugin<any[]>[];
37
+ concat(...items: (import("vue").Plugin<any[]> | ConcatArray<import("vue").Plugin<any[]>>)[]): import("vue").Plugin<any[]>[];
38
+ join(separator?: string): string;
39
+ reverse(): import("vue").Plugin<any[]>[];
40
+ shift(): import("vue").Plugin<any[]>;
41
+ slice(start?: number, end?: number): import("vue").Plugin<any[]>[];
42
+ sort(compareFn?: (a: import("vue").Plugin<any[]>, b: import("vue").Plugin<any[]>) => number): import("vue").Plugin<any[]>[];
43
+ splice(start: number, deleteCount?: number): import("vue").Plugin<any[]>[];
44
+ splice(start: number, deleteCount: number, ...items: import("vue").Plugin<any[]>[]): import("vue").Plugin<any[]>[];
45
+ unshift(...items: import("vue").Plugin<any[]>[]): number;
46
+ indexOf(searchElement: import("vue").Plugin<any[]>, fromIndex?: number): number;
47
+ lastIndexOf(searchElement: import("vue").Plugin<any[]>, fromIndex?: number): number;
48
+ every<S extends import("vue").Plugin<any[]>>(predicate: (value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => value is S, thisArg?: any): this is S[];
49
+ every(predicate: (value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => unknown, thisArg?: any): boolean;
50
+ some(predicate: (value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => unknown, thisArg?: any): boolean;
51
+ forEach(callbackfn: (value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => void, thisArg?: any): void;
52
+ map<U>(callbackfn: (value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => U, thisArg?: any): U[];
53
+ filter<S_1 extends import("vue").Plugin<any[]>>(predicate: (value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => value is S_1, thisArg?: any): S_1[];
54
+ filter(predicate: (value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => unknown, thisArg?: any): import("vue").Plugin<any[]>[];
55
+ reduce(callbackfn: (previousValue: import("vue").Plugin<any[]>, currentValue: import("vue").Plugin<any[]>, currentIndex: number, array: import("vue").Plugin<any[]>[]) => import("vue").Plugin<any[]>): import("vue").Plugin<any[]>;
56
+ reduce(callbackfn: (previousValue: import("vue").Plugin<any[]>, currentValue: import("vue").Plugin<any[]>, currentIndex: number, array: import("vue").Plugin<any[]>[]) => import("vue").Plugin<any[]>, initialValue: import("vue").Plugin<any[]>): import("vue").Plugin<any[]>;
57
+ reduce<U_1>(callbackfn: (previousValue: U_1, currentValue: import("vue").Plugin<any[]>, currentIndex: number, array: import("vue").Plugin<any[]>[]) => U_1, initialValue: U_1): U_1;
58
+ reduceRight(callbackfn: (previousValue: import("vue").Plugin<any[]>, currentValue: import("vue").Plugin<any[]>, currentIndex: number, array: import("vue").Plugin<any[]>[]) => import("vue").Plugin<any[]>): import("vue").Plugin<any[]>;
59
+ reduceRight(callbackfn: (previousValue: import("vue").Plugin<any[]>, currentValue: import("vue").Plugin<any[]>, currentIndex: number, array: import("vue").Plugin<any[]>[]) => import("vue").Plugin<any[]>, initialValue: import("vue").Plugin<any[]>): import("vue").Plugin<any[]>;
60
+ reduceRight<U_2>(callbackfn: (previousValue: U_2, currentValue: import("vue").Plugin<any[]>, currentIndex: number, array: import("vue").Plugin<any[]>[]) => U_2, initialValue: U_2): U_2;
61
+ find<S_2 extends import("vue").Plugin<any[]>>(predicate: (this: void, value: import("vue").Plugin<any[]>, index: number, obj: import("vue").Plugin<any[]>[]) => value is S_2, thisArg?: any): S_2;
62
+ find(predicate: (value: import("vue").Plugin<any[]>, index: number, obj: import("vue").Plugin<any[]>[]) => unknown, thisArg?: any): import("vue").Plugin<any[]>;
63
+ findIndex(predicate: (value: import("vue").Plugin<any[]>, index: number, obj: import("vue").Plugin<any[]>[]) => unknown, thisArg?: any): number;
64
+ fill(value: import("vue").Plugin<any[]>, start?: number, end?: number): import("vue").Plugin<any[]>[];
65
+ copyWithin(target: number, start: number, end?: number): import("vue").Plugin<any[]>[];
66
+ entries(): IterableIterator<[number, import("vue").Plugin<any[]>]>;
67
+ keys(): IterableIterator<number>;
68
+ values(): IterableIterator<import("vue").Plugin<any[]>>;
69
+ includes(searchElement: import("vue").Plugin<any[]>, fromIndex?: number): boolean;
70
+ flatMap<U_3, This = undefined>(callback: (this: This, value: import("vue").Plugin<any[]>, index: number, array: import("vue").Plugin<any[]>[]) => U_3 | readonly U_3[], thisArg?: This): U_3[];
71
+ flat<A, D extends number = 1>(this: A, depth?: D): FlatArray<A, D>[];
72
+ at(index: number): import("vue").Plugin<any[]>;
73
+ [Symbol.iterator](): IterableIterator<import("vue").Plugin<any[]>>;
74
+ [Symbol.unscopables](): {
75
+ copyWithin: boolean;
76
+ entries: boolean;
77
+ fill: boolean;
78
+ find: boolean;
79
+ findIndex: boolean;
80
+ keys: boolean;
81
+ values: boolean;
82
+ };
83
+ install: (app: App) => void;
84
+ PlNotification: IPlNotification;
85
+ };
86
+ export * from './components';
87
+ export default Storybook;
@@ -1,6 +1,5 @@
1
- import { IDropdownProps, IOption } from '../types';
2
-
3
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
1
+ import type { IDropdownProps, IOption } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
4
3
  focus: boolean;
5
4
  id: string;
6
5
  helpertext: string;
@@ -12,9 +11,9 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
12
11
  disableMarkerBottom: boolean;
13
12
  suggestionList: () => any[];
14
13
  uniqKey: string;
15
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
16
15
  "select-value": (...args: any[]) => void;
17
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
16
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
18
17
  focus: boolean;
19
18
  id: string;
20
19
  helpertext: string;
@@ -31,19 +30,19 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
31
30
  }, {
32
31
  id: string;
33
32
  focus: boolean;
34
- uniqKey: string;
35
- helpertext: string;
36
33
  query: string;
37
- suggestionList: IOption[];
38
- symbolsCountSearch: string | number;
39
34
  disableMarkerBottom: boolean;
40
- errors: import('async-validator').ValidateError[];
35
+ helpertext: string;
36
+ errors: import("async-validator").ValidateError[];
41
37
  offsets: string;
42
38
  loadingSuggestions: boolean;
39
+ symbolsCountSearch: string | number;
40
+ suggestionList: IOption[];
41
+ uniqKey: string;
43
42
  }, {}>;
44
43
  export default _default;
45
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
46
- type __VLS_TypePropsToRuntimeProps<T> = {
44
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
47
46
  [K in keyof T]-?: {} extends Pick<T, K> ? {
48
47
  type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
49
48
  } : {
@@ -51,11 +50,11 @@ type __VLS_TypePropsToRuntimeProps<T> = {
51
50
  required: true;
52
51
  };
53
52
  };
54
- type __VLS_WithDefaults<P, D> = {
53
+ declare type __VLS_WithDefaults<P, D> = {
55
54
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
56
55
  default: D[K];
57
56
  }> : P[K];
58
57
  };
59
- type __VLS_Prettify<T> = {
58
+ declare type __VLS_Prettify<T> = {
60
59
  [K in keyof T]: T[K];
61
60
  } & {};