@factoringplus/pl-components-pack-v3 1.1.2-pre-04 → 1.1.2-pre-06

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 (118) hide show
  1. package/dist/pl-components-pack-v3.d.ts +80 -3
  2. package/dist/pl-components-pack-v3.es.js +8993 -9160
  3. package/dist/pl-components-pack-v3.umd.js +22 -22
  4. package/dist/style.css +1 -1
  5. package/package.json +1 -2
  6. package/dist/components/button/index.d.ts +0 -7
  7. package/dist/components/button/pl-button.vue.d.ts +0 -110
  8. package/dist/components/button/types/index.d.ts +0 -21
  9. package/dist/components/components.d.ts +0 -38
  10. package/dist/components/currency-input/index.d.ts +0 -5
  11. package/dist/components/entry.d.ts +0 -19
  12. package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +0 -60
  13. package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +0 -60
  14. package/dist/components/pl-autocomplete/index.d.ts +0 -5
  15. package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +0 -91
  16. package/dist/components/pl-autocomplete/types/index.d.ts +0 -58
  17. package/dist/components/pl-card/index.d.ts +0 -5
  18. package/dist/components/pl-checkbox/index.d.ts +0 -5
  19. package/dist/components/pl-checkbox-plus/index.d.ts +0 -5
  20. package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +0 -72
  21. package/dist/components/pl-date-picker/index.d.ts +0 -5
  22. package/dist/components/pl-date-picker-legacy/index.d.ts +0 -5
  23. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +0 -83
  24. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +0 -69
  25. package/dist/components/pl-date-picker-plus/index.d.ts +0 -5
  26. package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +0 -92
  27. package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +0 -102
  28. package/dist/components/pl-dialog/index.d.ts +0 -5
  29. package/dist/components/pl-dialog/pl-dialog-plus.stories.d.ts +0 -1154
  30. package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +0 -82
  31. package/dist/components/pl-dialog/pl-dialog.stories.d.ts +0 -956
  32. package/dist/components/pl-dialog/pl-dialog.vue.d.ts +0 -102
  33. package/dist/components/pl-form/index.d.ts +0 -5
  34. package/dist/components/pl-form/pl-form.vue.d.ts +0 -48
  35. package/dist/components/pl-form-item/index.d.ts +0 -5
  36. package/dist/components/pl-icon/index.d.ts +0 -7
  37. package/dist/components/pl-icon/pl-icon.vue.d.ts +0 -12
  38. package/dist/components/pl-icon/types/iconsType.d.ts +0 -5
  39. package/dist/components/pl-icon/types/index.d.ts +0 -2
  40. package/dist/components/pl-input/index.d.ts +0 -5
  41. package/dist/components/pl-input-native/index.d.ts +0 -5
  42. package/dist/components/pl-input-plus/index.d.ts +0 -5
  43. package/dist/components/pl-label/pl-label.vue.d.ts +0 -39
  44. package/dist/components/pl-link/index.d.ts +0 -5
  45. package/dist/components/pl-link/pl-link.vue.d.ts +0 -48
  46. package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +0 -50
  47. package/dist/components/pl-multitab/index.d.ts +0 -5
  48. package/dist/components/pl-option/index.d.ts +0 -5
  49. package/dist/components/pl-option/pl-option.vue.d.ts +0 -122
  50. package/dist/components/pl-radio/index.d.ts +0 -5
  51. package/dist/components/pl-radio/pl-radio.vue.d.ts +0 -69
  52. package/dist/components/pl-scrollbar/index.d.ts +0 -5
  53. package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +0 -65
  54. package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +0 -1
  55. package/dist/components/pl-select/index.d.ts +0 -5
  56. package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +0 -45
  57. package/dist/components/pl-select-plus/index.d.ts +0 -5
  58. package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +0 -77
  59. package/dist/components/pl-select-plus/types/index.d.ts +0 -38
  60. package/dist/components/pl-skeleton/index.d.ts +0 -5
  61. package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +0 -38
  62. package/dist/components/pl-snackbar/index.d.ts +0 -7
  63. package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +0 -53
  64. package/dist/components/pl-snackbar/renderSnackbar.d.ts +0 -10
  65. package/dist/components/pl-snackbar/types.d.ts +0 -20
  66. package/dist/components/pl-stepper/index.d.ts +0 -5
  67. package/dist/components/pl-suggestions/index.d.ts +0 -5
  68. package/dist/components/pl-switch/index.d.ts +0 -5
  69. package/dist/components/pl-switch/pl-switch.vue.d.ts +0 -47
  70. package/dist/components/pl-tab-pane/index.d.ts +0 -5
  71. package/dist/components/pl-table/index.d.ts +0 -5
  72. package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +0 -52
  73. package/dist/components/pl-table-plus/index.d.ts +0 -5
  74. package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +0 -93
  75. package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +0 -21
  76. package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +0 -50
  77. package/dist/components/pl-tabs/index.d.ts +0 -5
  78. package/dist/components/pl-text/components/pl-body1.vue.d.ts +0 -21
  79. package/dist/components/pl-text/components/pl-body2.vue.d.ts +0 -21
  80. package/dist/components/pl-text/components/pl-body3.vue.d.ts +0 -21
  81. package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +0 -21
  82. package/dist/components/pl-text/components/pl-btn1.vue.d.ts +0 -21
  83. package/dist/components/pl-text/components/pl-btn2.vue.d.ts +0 -21
  84. package/dist/components/pl-text/components/pl-btn3.vue.d.ts +0 -21
  85. package/dist/components/pl-text/components/pl-cap.vue.d.ts +0 -21
  86. package/dist/components/pl-text/components/pl-h1.vue.d.ts +0 -21
  87. package/dist/components/pl-text/components/pl-h2.vue.d.ts +0 -21
  88. package/dist/components/pl-text/components/pl-h3.vue.d.ts +0 -21
  89. package/dist/components/pl-text/components/pl-h4.vue.d.ts +0 -21
  90. package/dist/components/pl-text/components/pl-sub1.vue.d.ts +0 -17
  91. package/dist/components/pl-text/components/pl-sub2.vue.d.ts +0 -17
  92. package/dist/components/pl-text/components/pl-system.vue.d.ts +0 -17
  93. package/dist/components/pl-text/components/pl-tag.vue.d.ts +0 -17
  94. package/dist/components/pl-text/components/pl-title1.vue.d.ts +0 -17
  95. package/dist/components/pl-text/components/pl-title2.vue.d.ts +0 -17
  96. package/dist/components/pl-text/components/pl-title3.vue.d.ts +0 -17
  97. package/dist/components/pl-text/index.d.ts +0 -5
  98. package/dist/components/pl-tooltip/index.d.ts +0 -5
  99. package/dist/components/pl-tooltip-plus/index.d.ts +0 -5
  100. package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +0 -45
  101. package/dist/components/pl-upload/index.d.ts +0 -5
  102. package/dist/components/pl-upload-legacy/index.d.ts +0 -5
  103. package/dist/components/pl-upload-plus/index.d.ts +0 -5
  104. package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +0 -96
  105. package/dist/components/pl-upload-plus/types/FileExtension.d.ts +0 -1
  106. package/dist/directives/index.d.ts +0 -4
  107. package/dist/directives/vInfiniteScroll/utils/position.d.ts +0 -1
  108. package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +0 -1
  109. package/dist/directives/vInfiniteScroll/utils/style.d.ts +0 -1
  110. package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +0 -2
  111. package/dist/directives/vLoading.d.ts +0 -3
  112. package/dist/directives/vTap.d.ts +0 -3
  113. package/dist/directives/vTouchOutside.d.ts +0 -3
  114. package/dist/main.d.ts +0 -1
  115. package/dist/plugins/api/api.d.ts +0 -2
  116. package/dist/plugins/loading/loading.d.ts +0 -1
  117. package/dist/services/plLoading.d.ts +0 -3
  118. package/dist/utils/declOfNum.d.ts +0 -1
@@ -1,3 +1,80 @@
1
- export * from './components/entry'
2
- import PlComponentsPackV3 from './components/entry'
3
- export default PlComponentsPackV3
1
+ import type { App } from 'vue';
2
+ import type { AppContext } from 'vue';
3
+ import type { Plugin as Plugin_2 } from 'vue';
4
+
5
+ declare type ActionFn = (...args: any[]) => Promise<any>;
6
+
7
+ export declare interface IPlNotification {
8
+ success: Function;
9
+ error: Function;
10
+ warning: Function;
11
+ info: Function;
12
+ custom: Function;
13
+ closeAll: Function;
14
+ }
15
+
16
+ export declare interface IProps {
17
+ id: number;
18
+ icon: string;
19
+ color: string;
20
+ title: string;
21
+ button: string;
22
+ buttonAdd: string;
23
+ action: Function;
24
+ actionAdd: Function;
25
+ message: string;
26
+ blockHide: boolean;
27
+ }
28
+
29
+ declare function loadingAndSetup(bindData: any, apiCall: any, apiParams: any, loadingArr: any, fastResponse?: boolean): any;
30
+
31
+ declare function plLoading(action: ActionFn): ActionFn;
32
+
33
+ export declare const PlNotification: SFCInstallWithContext<IPlNotification>;
34
+
35
+ export declare type SFCInstallWithContext<T> = SFCWithInstall<T> & {
36
+ _context: AppContext | null;
37
+ };
38
+
39
+ export declare type SFCWithInstall<T> = T & Plugin_2;
40
+
41
+ declare const Storybook: {
42
+ install: (app: App) => void;
43
+ PlNotification: IPlNotification;
44
+ apiJs: (optionsRequest: any, isGetResourse: boolean | undefined, token: any) => Promise<unknown>;
45
+ plLoading: typeof plLoading;
46
+ loader: typeof loadingAndSetup;
47
+ };
48
+ export default Storybook;
49
+
50
+ /**
51
+ * @param fullWidth boolean;
52
+ * @param disabled boolean;
53
+ * @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
54
+ * @param size 'large' | 'medium' | 'small';
55
+ * @param icon IIcon;
56
+ * @param iconColor string;
57
+ * @param iconPosition 'left' | 'right';
58
+ * @param nativeType 'button'| 'submit'| 'reset' | undefined
59
+ */
60
+ export declare type TButtonProps = {
61
+ fullWidth?: boolean;
62
+ disabled?: boolean;
63
+ type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
64
+ size?: 'large' | 'medium' | 'small';
65
+ icon?: TIcon;
66
+ iconColor?: string;
67
+ iconPosition?: 'left' | 'right';
68
+ nativeType?: 'button' | 'submit' | 'reset';
69
+ };
70
+
71
+ export declare type TIcon = '' | 'User20' | 'Group20' | 'Edit20' | 'BlankPan20' | 'Support20' | 'HandKey20' | 'Lock20' | 'Connection20' | 'Picture20' | 'Ruble20' | 'Document20' | 'Clip20' | 'Bell20' | 'USB20' | 'Layers20' | 'BlankKey20' | 'BlankChat20' | 'BlankCheck20' | 'BlankLock20' | 'Calendar20' | 'MailCheck20' | 'Mail20' | 'HandTop20' | 'HandRight20' | 'Pin20' | 'Rotate20' | 'Search20' | 'ArrowTop20' | 'ArrowRight20' | 'ArrowLeft20' | 'ArrowBottom20' | 'Settings20' | 'Chart20' | 'Exit20' | 'Warning20' | 'WarningTwo20' | 'WarningThree20' | 'CircleCheck20' | 'Question20' | 'Library20' | 'Loader20' | 'Share20' | 'Saved20' | 'CloudDownload20' | 'Bin20' | 'Eye20' | 'EyeCrossed20' | 'Chat20' | 'Bell20' | 'DotsHorizontal20' | 'DotsVertical20' | 'Scheduled20' | 'Dashboard20' | 'Clock20' | 'Box20' | 'Sort20' | 'SortTwo20' | 'Filter20' | 'Grid20' | 'Hub20' | 'GridTwo20' | 'Home20' | 'Key20' | 'Bulb20' | 'Attachment20' | 'Download20' | 'Link20' | 'Copy20' | 'Telegram20' | 'SortThree20' | 'Plus20' | 'Minus20' | 'Close20' | 'Check20' | 'Scroll20' | 'Print20' | 'Send20' | 'Block20' | 'Star20' | 'Share20' | 'Sticker20' | 'ChevronDoubleLeft20' | 'Cube20' | 'Menu20' | 'AlertFill20' | 'Main20' | 'Wallet20' | 'Truck20' | 'Percent20' | 'Shield20' | 'ChevronDown20' | 'ChevronUp20' | 'ChevronLeft20' | 'ChevronRight20' | 'CreditCard20' | 'Zap20' | 'User24' | 'Group24' | 'Edit24' | 'BlankPan24' | 'Support24' | 'HandKey24' | 'Lock24' | 'Connection24' | 'Picture24' | 'Ruble24' | 'Document24' | 'Clip24' | 'Bell24' | 'USB24' | 'Layers24' | 'BlankKey24' | 'BlankChat24' | 'BlankCheck24' | 'BlankLock24' | 'Calendar24' | 'MailCheck24' | 'Mail24' | 'HandTop24' | 'HandRight24' | 'Pin24' | 'Rotate24' | 'Search24' | 'ArrowTop24' | 'ArrowRight24' | 'ArrowLeft24' | 'ArrowBottom24' | 'Settings24' | 'Chart24' | 'Exit24' | 'Warning24' | 'WarningTwo24' | 'WarningThree24' | 'CircleCheck24' | 'Question24' | 'Library24' | 'Loader24' | 'Share24' | 'Saved24' | 'CloudDownload24' | 'Bin24' | 'Eye24' | 'EyeCrossed24' | 'Chat24' | 'Bell24' | 'DotsHorizontal24' | 'DotsVertical24' | 'Scheduled24' | 'Dashboard24' | 'Clock24' | 'Box24' | 'Sort24' | 'SortTwo24' | 'Filter24' | 'Grid24' | 'Hub24' | 'GridTwo24' | 'Home24' | 'Key24' | 'Bulb24' | 'Attachment24' | 'Download24' | 'Link24' | 'Copy24' | 'Telegram24' | 'SortThree24' | 'Plus24' | 'Minus24' | 'Close24' | 'Check24' | 'Scroll24' | 'Print24' | 'Send24' | 'Block24' | 'Star24' | 'Share24' | 'Sticker24' | 'ChevronDoubleLeft24' | 'ChevronDoubleRight24' | 'Cube24' | 'Menu24' | 'AlertFill24' | 'Main24' | 'Wallet24' | 'Truck24' | 'Percent24' | 'Shield24' | 'ChevronDown24' | 'ChevronUp24' | 'ChevronLeft24' | 'ChevronRight24' | 'Word24' | 'Exel24' | 'PDF24' | 'JPG24' | 'PNG24' | 'Info24' | 'WB20' | 'Ozon20' | 'Yandex20' | 'WB24' | 'Ozon24' | 'Yandex24' | 'WB40' | 'Ozon40' | 'Yandex40' | 'WB56' | 'Ozon56' | 'Yandex56';
72
+
73
+ export declare type TIconProps = {
74
+ name: TIcon;
75
+ color?: string | '';
76
+ };
77
+
78
+ export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
79
+
80
+ export { }