@factoringplus/pl-components-pack-v3 1.0.8 → 1.0.9-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.
- package/README.md +17 -17
- package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +1 -1
- package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -0
- package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +9 -9
- package/dist/components/pl-autocomplete/types/index.d.ts +17 -5
- package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +1 -1
- package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +3 -3
- package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +3 -3
- package/dist/components/pl-dialog/pl-dialog-plus.stories.d.ts +1154 -0
- package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +82 -0
- package/dist/components/pl-dialog/pl-dialog.stories.d.ts +30 -30
- package/dist/components/pl-dialog/pl-dialog.vue.d.ts +1 -1
- package/dist/components/pl-icon/types/iconsType.d.ts +1 -1
- package/dist/components/pl-link/pl-link.vue.d.ts +48 -0
- package/dist/components/pl-option/pl-option.vue.d.ts +1 -1
- package/dist/components/pl-radio/pl-radio.vue.d.ts +1 -1
- package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +5 -1
- package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +5 -5
- package/dist/components/pl-switch/pl-switch.vue.d.ts +1 -1
- package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +1 -1
- package/dist/pl-components-pack-v3.es.js +9158 -8991
- package/dist/pl-components-pack-v3.umd.js +22 -22
- package/dist/style.css +1 -1
- package/package.json +2 -1
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
|
+
```
|
|
@@ -30,11 +30,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
30
30
|
}, {
|
|
31
31
|
id: string;
|
|
32
32
|
focus: boolean;
|
|
33
|
+
query: string;
|
|
33
34
|
helpertext: string;
|
|
34
35
|
errors: import("async-validator").ValidateError[];
|
|
35
36
|
offsets: string;
|
|
36
37
|
loadingSuggestions: boolean;
|
|
37
|
-
query: string;
|
|
38
38
|
symbolsCountSearch: number;
|
|
39
39
|
suggestionList: IOption[];
|
|
40
40
|
disableMarkerBottom: boolean;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import type { IAutocompleteDefaultProps } from '../types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteDefaultProps>, {
|
|
3
|
+
prop: string;
|
|
4
|
+
modelValue: string;
|
|
5
|
+
placeholder: string;
|
|
6
|
+
id: string;
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
clearable: boolean;
|
|
9
|
+
showError: number;
|
|
10
|
+
leftIcon: string;
|
|
11
|
+
memoryBlur: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
reset: (...args: any[]) => void;
|
|
14
|
+
"update:modelValue": (...args: any[]) => void;
|
|
15
|
+
tabDown: (...args: any[]) => void;
|
|
16
|
+
focusEmit: (...args: any[]) => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteDefaultProps>, {
|
|
18
|
+
prop: string;
|
|
19
|
+
modelValue: string;
|
|
20
|
+
placeholder: string;
|
|
21
|
+
id: string;
|
|
22
|
+
disabled: boolean;
|
|
23
|
+
clearable: boolean;
|
|
24
|
+
showError: number;
|
|
25
|
+
leftIcon: string;
|
|
26
|
+
memoryBlur: boolean;
|
|
27
|
+
}>>> & {
|
|
28
|
+
onReset?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
onTabDown?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
onFocusEmit?: ((...args: any[]) => any) | undefined;
|
|
32
|
+
}, {
|
|
33
|
+
id: string;
|
|
34
|
+
disabled: boolean;
|
|
35
|
+
modelValue: string;
|
|
36
|
+
prop: string;
|
|
37
|
+
placeholder: string;
|
|
38
|
+
clearable: boolean;
|
|
39
|
+
showError: number;
|
|
40
|
+
leftIcon: import("../../pl-icon").TIcon;
|
|
41
|
+
memoryBlur: boolean;
|
|
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
|
+
} & {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { IOption, IAutocompleteProps } from './types';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteProps>, {
|
|
3
|
-
modelValue:
|
|
3
|
+
modelValue: IOption;
|
|
4
4
|
prop: string;
|
|
5
5
|
placeholder: string;
|
|
6
6
|
width: string;
|
|
@@ -25,7 +25,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
25
25
|
fetchDadata: (...args: any[]) => void;
|
|
26
26
|
changeValue: (...args: any[]) => void;
|
|
27
27
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteProps>, {
|
|
28
|
-
modelValue:
|
|
28
|
+
modelValue: IOption;
|
|
29
29
|
prop: string;
|
|
30
30
|
placeholder: string;
|
|
31
31
|
width: string;
|
|
@@ -52,6 +52,12 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
52
52
|
}, {
|
|
53
53
|
label: string;
|
|
54
54
|
disabled: boolean;
|
|
55
|
+
modelValue: IOption;
|
|
56
|
+
prop: string;
|
|
57
|
+
placeholder: string;
|
|
58
|
+
clearable: boolean;
|
|
59
|
+
leftIcon: import("../pl-icon").TIcon;
|
|
60
|
+
memoryBlur: boolean;
|
|
55
61
|
helpertext: string;
|
|
56
62
|
symbolsCountSearch: number;
|
|
57
63
|
suggestionList: IOption[];
|
|
@@ -59,16 +65,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
59
65
|
uniqKey: string;
|
|
60
66
|
defaultDropText: string;
|
|
61
67
|
noData: string;
|
|
62
|
-
|
|
63
|
-
rightIcon: string;
|
|
68
|
+
rightIcon: import("../pl-icon").TIcon;
|
|
64
69
|
width: string;
|
|
65
|
-
modelValue: string | number | IOption | null;
|
|
66
|
-
prop: string;
|
|
67
|
-
placeholder: string;
|
|
68
70
|
optional: string;
|
|
69
71
|
tooltip: string;
|
|
70
|
-
clearable: boolean;
|
|
71
|
-
memoryBlur: boolean;
|
|
72
72
|
teleport: boolean;
|
|
73
73
|
}, {}>;
|
|
74
74
|
export default _default;
|
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
import type { ValidateError } from 'async-validator';
|
|
2
|
+
import type { TIcon } from '../../pl-icon/types';
|
|
2
3
|
declare interface IOption {
|
|
3
4
|
value: string;
|
|
4
5
|
bottomText?: string;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
data?: boolean | object;
|
|
7
8
|
}
|
|
9
|
+
declare interface IAutocompleteDefaultProps {
|
|
10
|
+
modelValue: string;
|
|
11
|
+
prop?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
id: string;
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
showError: number;
|
|
17
|
+
leftIcon: TIcon;
|
|
18
|
+
memoryBlur?: boolean;
|
|
19
|
+
}
|
|
8
20
|
declare interface IAutocompleteProps {
|
|
9
|
-
modelValue:
|
|
21
|
+
modelValue: IOption;
|
|
10
22
|
suggestionList: IOption[];
|
|
11
23
|
prop?: string;
|
|
12
24
|
placeholder?: string;
|
|
@@ -15,8 +27,8 @@ declare interface IAutocompleteProps {
|
|
|
15
27
|
optional?: string;
|
|
16
28
|
label?: string;
|
|
17
29
|
tooltip?: string;
|
|
18
|
-
leftIcon?:
|
|
19
|
-
rightIcon?:
|
|
30
|
+
leftIcon?: TIcon;
|
|
31
|
+
rightIcon?: TIcon;
|
|
20
32
|
disabled?: boolean;
|
|
21
33
|
clearable?: boolean;
|
|
22
34
|
symbolsCountSearch?: number;
|
|
@@ -39,8 +51,8 @@ declare interface IDropdownProps {
|
|
|
39
51
|
suggestionList: IOption[];
|
|
40
52
|
disableMarkerBottom: boolean;
|
|
41
53
|
uniqKey: string;
|
|
42
|
-
selectedValue:
|
|
54
|
+
selectedValue: IOption;
|
|
43
55
|
defaultDropText: string;
|
|
44
56
|
noData: string;
|
|
45
57
|
}
|
|
46
|
-
export { IOption, IAutocompleteProps, IDropdownProps };
|
|
58
|
+
export { IOption, IAutocompleteProps, IDropdownProps, IAutocompleteDefaultProps };
|
|
@@ -58,8 +58,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
58
58
|
label: string;
|
|
59
59
|
disabled: boolean;
|
|
60
60
|
size: string;
|
|
61
|
-
description: string;
|
|
62
61
|
modelValue: boolean;
|
|
62
|
+
description: string;
|
|
63
63
|
isIndeterminate: boolean;
|
|
64
64
|
}, {}>, {
|
|
65
65
|
default?(_: {}): any;
|
package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts
CHANGED
|
@@ -59,14 +59,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
59
59
|
}, {
|
|
60
60
|
label: string;
|
|
61
61
|
disabled: boolean;
|
|
62
|
-
helpertext: string;
|
|
63
|
-
width: string;
|
|
64
62
|
modelValue: string | null;
|
|
65
63
|
prop: string;
|
|
66
64
|
placeholder: string;
|
|
65
|
+
clearable: boolean;
|
|
66
|
+
helpertext: string;
|
|
67
|
+
width: string;
|
|
67
68
|
optional: string;
|
|
68
69
|
tooltip: string;
|
|
69
|
-
clearable: boolean;
|
|
70
70
|
monthSwitch: boolean;
|
|
71
71
|
yearSwitch: boolean;
|
|
72
72
|
disabledDate: Function;
|
|
@@ -66,14 +66,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
66
66
|
}, {
|
|
67
67
|
label: string;
|
|
68
68
|
disabled: boolean;
|
|
69
|
-
helpertext: string;
|
|
70
|
-
width: string;
|
|
71
69
|
modelValue: string[] | null;
|
|
72
70
|
prop: string;
|
|
73
71
|
placeholder: string;
|
|
72
|
+
clearable: boolean;
|
|
73
|
+
helpertext: string;
|
|
74
|
+
width: string;
|
|
74
75
|
optional: string;
|
|
75
76
|
tooltip: string;
|
|
76
|
-
clearable: boolean;
|
|
77
77
|
periods: boolean;
|
|
78
78
|
monthSwitch: boolean;
|
|
79
79
|
yearSwitch: boolean;
|