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

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 (126) hide show
  1. package/README.md +17 -17
  2. package/dist/Bin40-0aac9565.mjs +41 -0
  3. package/dist/CircleCheck40-96d03361.mjs +29 -0
  4. package/dist/WarningThree40-6d1c8a07.mjs +35 -0
  5. package/dist/components/button/index.d.ts +7 -0
  6. package/dist/components/button/pl-button.vue.d.ts +64 -0
  7. package/dist/components/button/types/index.d.ts +21 -0
  8. package/dist/components/components.d.ts +38 -0
  9. package/dist/components/currency-input/index.d.ts +5 -0
  10. package/dist/components/entry.d.ts +19 -0
  11. package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +60 -0
  12. package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -0
  13. package/dist/components/pl-autocomplete/index.d.ts +5 -0
  14. package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +91 -0
  15. package/dist/components/pl-autocomplete/types/index.d.ts +58 -0
  16. package/dist/components/pl-card/index.d.ts +5 -0
  17. package/dist/components/pl-checkbox/index.d.ts +5 -0
  18. package/dist/components/pl-checkbox-plus/index.d.ts +5 -0
  19. package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +72 -0
  20. package/dist/components/pl-date-picker/index.d.ts +5 -0
  21. package/dist/components/pl-date-picker-legacy/index.d.ts +5 -0
  22. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +83 -0
  23. package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +69 -0
  24. package/dist/components/pl-date-picker-plus/index.d.ts +5 -0
  25. package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +92 -0
  26. package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +102 -0
  27. package/dist/components/pl-dialog/index.d.ts +5 -0
  28. package/dist/components/pl-dialog/pl-dialog-plus.stories.d.ts +329 -0
  29. package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +91 -0
  30. package/dist/components/pl-dialog/pl-dialog.stories.d.ts +368 -0
  31. package/dist/components/pl-dialog/pl-dialog.vue.d.ts +102 -0
  32. package/dist/components/pl-form/index.d.ts +5 -0
  33. package/dist/components/pl-form/pl-form.vue.d.ts +48 -0
  34. package/dist/components/pl-form-item/index.d.ts +5 -0
  35. package/dist/components/pl-icon/index.d.ts +7 -0
  36. package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -0
  37. package/dist/components/pl-icon/types/iconsType.d.ts +5 -0
  38. package/dist/components/pl-icon/types/index.d.ts +2 -0
  39. package/dist/components/pl-input/index.d.ts +5 -0
  40. package/dist/components/pl-input-native/index.d.ts +5 -0
  41. package/dist/components/pl-input-plus/index.d.ts +5 -0
  42. package/dist/components/pl-label/pl-label.vue.d.ts +39 -0
  43. package/dist/components/pl-link/index.d.ts +5 -0
  44. package/dist/components/pl-link/pl-link.vue.d.ts +48 -0
  45. package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +50 -0
  46. package/dist/components/pl-multitab/index.d.ts +5 -0
  47. package/dist/components/pl-multitab/pl-multitab.vue.d.ts +44 -0
  48. package/dist/components/pl-option/index.d.ts +5 -0
  49. package/dist/components/pl-option/pl-option.vue.d.ts +122 -0
  50. package/dist/components/pl-radio/index.d.ts +5 -0
  51. package/dist/components/pl-radio/pl-radio.vue.d.ts +69 -0
  52. package/dist/components/pl-scrollbar/index.d.ts +5 -0
  53. package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +65 -0
  54. package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +1 -0
  55. package/dist/components/pl-select/index.d.ts +5 -0
  56. package/dist/components/pl-select-plus/components/pl-default.vue.d.ts +69 -0
  57. package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +45 -0
  58. package/dist/components/pl-select-plus/index.d.ts +5 -0
  59. package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +77 -0
  60. package/dist/components/pl-select-plus/types/index.d.ts +39 -0
  61. package/dist/components/pl-skeleton/index.d.ts +5 -0
  62. package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +38 -0
  63. package/dist/components/pl-snackbar/index.d.ts +7 -0
  64. package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +53 -0
  65. package/dist/components/pl-snackbar/renderSnackbar.d.ts +10 -0
  66. package/dist/components/pl-snackbar/types.d.ts +21 -0
  67. package/dist/components/pl-stepper/index.d.ts +5 -0
  68. package/dist/components/pl-suggestions/index.d.ts +5 -0
  69. package/dist/components/pl-switch/index.d.ts +5 -0
  70. package/dist/components/pl-switch/pl-switch.vue.d.ts +47 -0
  71. package/dist/components/pl-tab-pane/index.d.ts +5 -0
  72. package/dist/components/pl-table/index.d.ts +5 -0
  73. package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +52 -0
  74. package/dist/components/pl-table-plus/index.d.ts +5 -0
  75. package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +93 -0
  76. package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +21 -0
  77. package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +50 -0
  78. package/dist/components/pl-tabs/index.d.ts +5 -0
  79. package/dist/components/pl-tabs/pl-tabs.vue.d.ts +45 -0
  80. package/dist/components/pl-text/components/pl-body1.vue.d.ts +21 -0
  81. package/dist/components/pl-text/components/pl-body2.vue.d.ts +21 -0
  82. package/dist/components/pl-text/components/pl-body3.vue.d.ts +21 -0
  83. package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +21 -0
  84. package/dist/components/pl-text/components/pl-btn1.vue.d.ts +21 -0
  85. package/dist/components/pl-text/components/pl-btn2.vue.d.ts +21 -0
  86. package/dist/components/pl-text/components/pl-btn3.vue.d.ts +21 -0
  87. package/dist/components/pl-text/components/pl-cap.vue.d.ts +21 -0
  88. package/dist/components/pl-text/components/pl-h1.vue.d.ts +21 -0
  89. package/dist/components/pl-text/components/pl-h2.vue.d.ts +21 -0
  90. package/dist/components/pl-text/components/pl-h3.vue.d.ts +21 -0
  91. package/dist/components/pl-text/components/pl-h4.vue.d.ts +21 -0
  92. package/dist/components/pl-text/components/pl-sub1.vue.d.ts +17 -0
  93. package/dist/components/pl-text/components/pl-sub2.vue.d.ts +17 -0
  94. package/dist/components/pl-text/components/pl-system.vue.d.ts +17 -0
  95. package/dist/components/pl-text/components/pl-tag.vue.d.ts +17 -0
  96. package/dist/components/pl-text/components/pl-title1.vue.d.ts +17 -0
  97. package/dist/components/pl-text/components/pl-title2.vue.d.ts +17 -0
  98. package/dist/components/pl-text/components/pl-title3.vue.d.ts +17 -0
  99. package/dist/components/pl-text/index.d.ts +5 -0
  100. package/dist/components/pl-tooltip/index.d.ts +5 -0
  101. package/dist/components/pl-tooltip/pl-tooltip.vue.d.ts +56 -0
  102. package/dist/components/pl-tooltip-plus/index.d.ts +5 -0
  103. package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +45 -0
  104. package/dist/components/pl-upload/index.d.ts +5 -0
  105. package/dist/components/pl-upload-legacy/index.d.ts +5 -0
  106. package/dist/components/pl-upload-plus/index.d.ts +5 -0
  107. package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +96 -0
  108. package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -0
  109. package/dist/directives/index.d.ts +4 -0
  110. package/dist/directives/vInfiniteScroll/utils/position.d.ts +1 -0
  111. package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +1 -0
  112. package/dist/directives/vInfiniteScroll/utils/style.d.ts +1 -0
  113. package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -0
  114. package/dist/directives/vLoading.d.ts +3 -0
  115. package/dist/directives/vTap.d.ts +3 -0
  116. package/dist/directives/vTouchOutside.d.ts +3 -0
  117. package/dist/main.d.ts +1 -0
  118. package/dist/pl-components-pack-v3.d.ts +3 -80
  119. package/dist/pl-components-pack-v3.es.js +9684 -9474
  120. package/dist/pl-components-pack-v3.umd.js +23 -23
  121. package/dist/plugins/api/api.d.ts +2 -0
  122. package/dist/plugins/loading/loading.d.ts +1 -0
  123. package/dist/services/plLoading.d.ts +3 -0
  124. package/dist/style.css +1 -1
  125. package/dist/utils/declOfNum.d.ts +1 -0
  126. package/package.json +3 -2
@@ -0,0 +1,48 @@
1
+ interface IPlLinkProps {
2
+ href?: string;
3
+ disabled?: boolean;
4
+ type?: 'default' | 'success' | 'warning' | 'error' | 'gradient';
5
+ nativeType?: string;
6
+ target?: '_blank' | '_self' | '_parent' | '_top';
7
+ }
8
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlLinkProps>, {
9
+ href: string;
10
+ disabled: boolean;
11
+ type: string;
12
+ target: string;
13
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlLinkProps>, {
14
+ href: string;
15
+ disabled: boolean;
16
+ type: string;
17
+ target: string;
18
+ }>>>, {
19
+ type: "default" | "error" | "success" | "warning" | "gradient";
20
+ target: "_blank" | "_self" | "_parent" | "_top";
21
+ href: string;
22
+ disabled: boolean;
23
+ }, {}>, {
24
+ default?(_: {}): any;
25
+ }>;
26
+ export default _default;
27
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: import('vue').PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
36
+ declare type __VLS_WithDefaults<P, D> = {
37
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
38
+ default: D[K];
39
+ }> : P[K];
40
+ };
41
+ declare type __VLS_Prettify<T> = {
42
+ [K in keyof T]: T[K];
43
+ } & {};
44
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
45
+ new (): {
46
+ $slots: S;
47
+ };
48
+ };
@@ -0,0 +1,50 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ label: {
3
+ type: StringConstructor;
4
+ default: string;
5
+ };
6
+ active: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
10
+ disabled: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ icon: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ width: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
23
+ label: {
24
+ type: StringConstructor;
25
+ default: string;
26
+ };
27
+ active: {
28
+ type: BooleanConstructor;
29
+ default: boolean;
30
+ };
31
+ disabled: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ icon: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ width: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ }>>, {
44
+ label: string;
45
+ icon: string;
46
+ disabled: boolean;
47
+ active: boolean;
48
+ width: string;
49
+ }, {}>;
50
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlMultitab: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlMultitab;
@@ -0,0 +1,44 @@
1
+ interface IProps {
2
+ modelValue?: string;
3
+ navClass?: string;
4
+ contentClass?: string;
5
+ tabWidth?: string;
6
+ }
7
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
8
+ modelValue: string;
9
+ navClass: string;
10
+ contentClass: string;
11
+ tabWidth: string;
12
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
+ "update:modelValue": (...args: any[]) => void;
14
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
15
+ modelValue: string;
16
+ navClass: string;
17
+ contentClass: string;
18
+ tabWidth: string;
19
+ }>>> & {
20
+ "onUpdate:modelValue"?: (...args: any[]) => any;
21
+ }, {
22
+ modelValue: string;
23
+ navClass: string;
24
+ contentClass: string;
25
+ tabWidth: string;
26
+ }, {}>;
27
+ export default _default;
28
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: import('vue').PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
37
+ declare type __VLS_WithDefaults<P, D> = {
38
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
39
+ default: D[K];
40
+ }> : P[K];
41
+ };
42
+ declare type __VLS_Prettify<T> = {
43
+ [K in keyof T]: T[K];
44
+ } & {};
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlOption: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlOption;
@@ -0,0 +1,122 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ disabled: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ leftIcon: {
7
+ type: StringConstructor;
8
+ default: string;
9
+ };
10
+ leftIconColor: {
11
+ type: StringConstructor;
12
+ default: string;
13
+ };
14
+ rightIcon: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ rightIconColor: {
19
+ type: StringConstructor;
20
+ default: string;
21
+ };
22
+ description: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ descriptionColor: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ summ: {
31
+ type: NumberConstructor;
32
+ default: any;
33
+ };
34
+ active: {
35
+ type: BooleanConstructor;
36
+ default: boolean;
37
+ };
38
+ width: {
39
+ type: StringConstructor;
40
+ default: string;
41
+ };
42
+ label: {
43
+ type: StringConstructor;
44
+ default: string;
45
+ };
46
+ searchValue: {
47
+ type: StringConstructor;
48
+ default: string;
49
+ };
50
+ disableMarkerBottom: {
51
+ type: BooleanConstructor;
52
+ default: boolean;
53
+ };
54
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
55
+ disabled: {
56
+ type: BooleanConstructor;
57
+ default: boolean;
58
+ };
59
+ leftIcon: {
60
+ type: StringConstructor;
61
+ default: string;
62
+ };
63
+ leftIconColor: {
64
+ type: StringConstructor;
65
+ default: string;
66
+ };
67
+ rightIcon: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ };
71
+ rightIconColor: {
72
+ type: StringConstructor;
73
+ default: string;
74
+ };
75
+ description: {
76
+ type: StringConstructor;
77
+ default: string;
78
+ };
79
+ descriptionColor: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ summ: {
84
+ type: NumberConstructor;
85
+ default: any;
86
+ };
87
+ active: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ width: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ label: {
96
+ type: StringConstructor;
97
+ default: string;
98
+ };
99
+ searchValue: {
100
+ type: StringConstructor;
101
+ default: string;
102
+ };
103
+ disableMarkerBottom: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ }>>, {
108
+ label: string;
109
+ disabled: boolean;
110
+ leftIcon: string;
111
+ leftIconColor: string;
112
+ rightIcon: string;
113
+ rightIconColor: string;
114
+ description: string;
115
+ descriptionColor: string;
116
+ summ: number;
117
+ active: boolean;
118
+ width: string;
119
+ searchValue: string;
120
+ disableMarkerBottom: boolean;
121
+ }, {}>;
122
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlRadio: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlRadio;
@@ -0,0 +1,69 @@
1
+ interface RadioOption {
2
+ label: string;
3
+ value: string;
4
+ description: string;
5
+ }
6
+ declare const _default: import("vue").DefineComponent<{
7
+ size: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ label: {
12
+ type: StringConstructor;
13
+ default: string;
14
+ };
15
+ description: {
16
+ type: StringConstructor;
17
+ default: string;
18
+ };
19
+ modelValue: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ disabled: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
27
+ options: {
28
+ type: () => RadioOption[];
29
+ required: true;
30
+ };
31
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
+ "update:modelValue": (...args: any[]) => void;
33
+ change: (...args: any[]) => void;
34
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
35
+ size: {
36
+ type: StringConstructor;
37
+ default: string;
38
+ };
39
+ label: {
40
+ type: StringConstructor;
41
+ default: string;
42
+ };
43
+ description: {
44
+ type: StringConstructor;
45
+ default: string;
46
+ };
47
+ modelValue: {
48
+ type: BooleanConstructor;
49
+ default: boolean;
50
+ };
51
+ disabled: {
52
+ type: BooleanConstructor;
53
+ default: boolean;
54
+ };
55
+ options: {
56
+ type: () => RadioOption[];
57
+ required: true;
58
+ };
59
+ }>> & {
60
+ onChange?: (...args: any[]) => any;
61
+ "onUpdate:modelValue"?: (...args: any[]) => any;
62
+ }, {
63
+ label: string;
64
+ disabled: boolean;
65
+ size: string;
66
+ modelValue: boolean;
67
+ description: string;
68
+ }, {}>;
69
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlScrollbar: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlScrollbar;
@@ -0,0 +1,65 @@
1
+ interface IProps {
2
+ maxHeight?: string | number;
3
+ height?: string | number;
4
+ wrapClass?: string;
5
+ viewClass?: string;
6
+ hideScrollThumb?: boolean;
7
+ offsetRight?: string;
8
+ }
9
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
10
+ maxHeight: string;
11
+ height: string;
12
+ wrapClass: string;
13
+ viewClass: string;
14
+ hideScrollThumb: boolean;
15
+ offsetRight: string;
16
+ }>, {
17
+ setScrollTop: (val: number) => void;
18
+ setScrollLeft: (val: number) => void;
19
+ scrollTo: (params: Record<string, number>) => void;
20
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
21
+ scroll: (...args: any[]) => void;
22
+ wheel: (...args: any[]) => void;
23
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
24
+ maxHeight: string;
25
+ height: string;
26
+ wrapClass: string;
27
+ viewClass: string;
28
+ hideScrollThumb: boolean;
29
+ offsetRight: string;
30
+ }>>> & {
31
+ onScroll?: (...args: any[]) => any;
32
+ onWheel?: (...args: any[]) => any;
33
+ }, {
34
+ height: string | number;
35
+ maxHeight: string | number;
36
+ wrapClass: string;
37
+ viewClass: string;
38
+ hideScrollThumb: boolean;
39
+ offsetRight: string;
40
+ }, {}>, {
41
+ default?(_: {}): any;
42
+ }>;
43
+ export default _default;
44
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ declare 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
+ declare 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
+ declare type __VLS_Prettify<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
61
+ declare type __VLS_WithTemplateSlots<T, S> = T & {
62
+ new (): {
63
+ $slots: S;
64
+ };
65
+ };
@@ -0,0 +1 @@
1
+ export declare const getSizeWithUnits: (val: string | number) => string | undefined;
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlSelect: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlSelect;
@@ -0,0 +1,69 @@
1
+ import type { IOption } from '../types';
2
+ import { TIcon } from '../../pl-icon';
3
+ interface IProps {
4
+ prop?: string;
5
+ modelValue: IOption;
6
+ placeholder?: string;
7
+ id?: string;
8
+ disabled?: boolean;
9
+ clearable?: boolean;
10
+ showDescription?: string | boolean;
11
+ focus?: boolean;
12
+ showError?: number;
13
+ leftIcon?: TIcon;
14
+ }
15
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
16
+ prop: string;
17
+ placeholder: string;
18
+ id: string;
19
+ disabled: boolean;
20
+ clearable: boolean;
21
+ showDescription: string;
22
+ focus: boolean;
23
+ showError: number;
24
+ leftIcon: string;
25
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ reset: (...args: any[]) => void;
27
+ "update:focus": (...args: any[]) => void;
28
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IProps>, {
29
+ prop: string;
30
+ placeholder: string;
31
+ id: string;
32
+ disabled: boolean;
33
+ clearable: boolean;
34
+ showDescription: string;
35
+ focus: boolean;
36
+ showError: number;
37
+ leftIcon: string;
38
+ }>>> & {
39
+ onReset?: (...args: any[]) => any;
40
+ "onUpdate:focus"?: (...args: any[]) => any;
41
+ }, {
42
+ id: string;
43
+ disabled: boolean;
44
+ focus: boolean;
45
+ prop: string;
46
+ placeholder: string;
47
+ clearable: boolean;
48
+ showError: number;
49
+ leftIcon: TIcon;
50
+ showDescription: string | boolean;
51
+ }, {}>;
52
+ export default _default;
53
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
55
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
57
+ } : {
58
+ type: import('vue').PropType<T[K]>;
59
+ required: true;
60
+ };
61
+ };
62
+ declare type __VLS_WithDefaults<P, D> = {
63
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
+ default: D[K];
65
+ }> : P[K];
66
+ };
67
+ declare type __VLS_Prettify<T> = {
68
+ [K in keyof T]: T[K];
69
+ } & {};
@@ -0,0 +1,45 @@
1
+ import type { IDropdownProps, IOption } from '../types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
3
+ offsets: string;
4
+ focus: boolean;
5
+ id: string;
6
+ helpertext: string;
7
+ errors: () => any[];
8
+ options: () => any[];
9
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
+ "select-value": (...args: any[]) => void;
11
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
12
+ offsets: string;
13
+ focus: boolean;
14
+ id: string;
15
+ helpertext: string;
16
+ errors: () => any[];
17
+ options: () => any[];
18
+ }>>> & {
19
+ "onSelect-value"?: (...args: any[]) => any;
20
+ }, {
21
+ id: string;
22
+ focus: boolean;
23
+ helpertext: string;
24
+ errors: import("async-validator").ValidateError[];
25
+ offsets: string;
26
+ options: IOption[];
27
+ }, {}>;
28
+ export default _default;
29
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
30
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
31
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
32
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
33
+ } : {
34
+ type: import('vue').PropType<T[K]>;
35
+ required: true;
36
+ };
37
+ };
38
+ declare type __VLS_WithDefaults<P, D> = {
39
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
40
+ default: D[K];
41
+ }> : P[K];
42
+ };
43
+ declare type __VLS_Prettify<T> = {
44
+ [K in keyof T]: T[K];
45
+ } & {};
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlSelectPlus: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlSelectPlus;
@@ -0,0 +1,77 @@
1
+ import type { IOption, ISelectProps } from './types';
2
+ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectProps>, {
3
+ modelValue: string;
4
+ prop: string;
5
+ placeholder: string;
6
+ width: string;
7
+ helpertext: string;
8
+ optional: string;
9
+ label: string;
10
+ tooltip: string;
11
+ leftIcon: string;
12
+ rightIcon: string;
13
+ options: () => any[];
14
+ disabled: boolean;
15
+ clearable: boolean;
16
+ showDescription: boolean;
17
+ account: boolean;
18
+ teleport: boolean;
19
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (...args: any[]) => void;
21
+ change: (...args: any[]) => void;
22
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectProps>, {
23
+ modelValue: string;
24
+ prop: string;
25
+ placeholder: string;
26
+ width: string;
27
+ helpertext: string;
28
+ optional: string;
29
+ label: string;
30
+ tooltip: string;
31
+ leftIcon: string;
32
+ rightIcon: string;
33
+ options: () => any[];
34
+ disabled: boolean;
35
+ clearable: boolean;
36
+ showDescription: boolean;
37
+ account: boolean;
38
+ teleport: boolean;
39
+ }>>> & {
40
+ onChange?: (...args: any[]) => any;
41
+ "onUpdate:modelValue"?: (...args: any[]) => any;
42
+ }, {
43
+ label: string;
44
+ disabled: boolean;
45
+ modelValue: string | number | IOption;
46
+ tooltip: string;
47
+ prop: string;
48
+ placeholder: string;
49
+ clearable: boolean;
50
+ leftIcon: import("../pl-icon").TIcon;
51
+ rightIcon: import("../pl-icon").TIcon;
52
+ width: string;
53
+ helpertext: string;
54
+ optional: string;
55
+ teleport: boolean;
56
+ options: IOption[];
57
+ showDescription: boolean;
58
+ account: boolean;
59
+ }, {}>;
60
+ export default _default;
61
+ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
62
+ declare type __VLS_TypePropsToRuntimeProps<T> = {
63
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
64
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
65
+ } : {
66
+ type: import('vue').PropType<T[K]>;
67
+ required: true;
68
+ };
69
+ };
70
+ declare type __VLS_WithDefaults<P, D> = {
71
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
72
+ default: D[K];
73
+ }> : P[K];
74
+ };
75
+ declare type __VLS_Prettify<T> = {
76
+ [K in keyof T]: T[K];
77
+ } & {};
@@ -0,0 +1,39 @@
1
+ import { TIcon } from '../../pl-icon';
2
+ import type { ValidateError } from 'async-validator';
3
+ declare interface IOption {
4
+ value: string | number;
5
+ description?: string;
6
+ summ?: number;
7
+ leftIcon?: TIcon;
8
+ disabled?: boolean;
9
+ label?: string;
10
+ customDescription?: string;
11
+ }
12
+ declare interface ISelectProps {
13
+ modelValue: string | number | IOption | null;
14
+ options: IOption[];
15
+ prop?: string;
16
+ placeholder?: string;
17
+ width?: string;
18
+ helpertext?: string;
19
+ optional?: string;
20
+ label?: string;
21
+ tooltip?: string;
22
+ leftIcon?: TIcon;
23
+ rightIcon?: TIcon;
24
+ disabled?: boolean;
25
+ clearable?: boolean;
26
+ showDescription?: boolean;
27
+ account?: boolean;
28
+ teleport?: boolean;
29
+ }
30
+ declare interface IDropdownProps {
31
+ offsets: string;
32
+ focus: boolean;
33
+ id: string;
34
+ helpertext: string;
35
+ errors: ValidateError[];
36
+ options: IOption[];
37
+ selectedValue: string | number | IOption;
38
+ }
39
+ export { IDropdownProps, IOption, ISelectProps };
@@ -0,0 +1,5 @@
1
+ import type { App } from 'vue';
2
+ declare const PlSkeleton: {
3
+ install(app: App): void;
4
+ };
5
+ export default PlSkeleton;