@factoringplus/pl-components-pack-v3 1.2.1 → 1.2.2-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/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +5 -16
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +3 -12
- package/dist/components/pl-date-picker-plus/common/types/index.d.ts +50 -0
- package/dist/components/pl-date-picker-plus/common/utils/changeDropDownDirection.d.ts +5 -0
- package/dist/components/pl-date-picker-plus/common/utils/wrapperFunctions.d.ts +14 -0
- package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +8 -18
- package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +5 -23
- package/dist/components/pl-input-plus/pl-input-plus.vue.d.ts +1 -1
- package/dist/pl-components-pack-v3.es.js +11166 -11067
- package/dist/pl-components-pack-v3.umd.js +35 -35
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts
CHANGED
|
@@ -1,17 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
dateValue: string;
|
|
6
|
-
idProp: string;
|
|
7
|
-
mobile?: boolean;
|
|
8
|
-
periods?: boolean;
|
|
9
|
-
monthSwitch?: boolean;
|
|
10
|
-
yearSwitch?: boolean;
|
|
11
|
-
disabledDate?: Function;
|
|
12
|
-
periodOptions?: string[];
|
|
13
|
-
}
|
|
14
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
2
|
+
import { IWrapperRangeProps } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
|
|
15
4
|
modelValue: () => any[];
|
|
16
5
|
isOpen: boolean;
|
|
17
6
|
dateValue: string;
|
|
@@ -34,7 +23,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
34
23
|
"update:dateValue": (...args: any[]) => void;
|
|
35
24
|
closePickerOnMobile: (...args: any[]) => void;
|
|
36
25
|
changeOpen: (...args: any[]) => void;
|
|
37
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
|
|
38
27
|
modelValue: () => any[];
|
|
39
28
|
isOpen: boolean;
|
|
40
29
|
dateValue: string;
|
|
@@ -53,15 +42,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
53
42
|
onChangeOpen?: (...args: any[]) => any;
|
|
54
43
|
}, {
|
|
55
44
|
modelValue: string[];
|
|
45
|
+
periods: boolean;
|
|
46
|
+
periodOptions: string[];
|
|
56
47
|
isOpen: boolean;
|
|
57
48
|
dateValue: string;
|
|
58
49
|
idProp: string;
|
|
59
50
|
mobile: boolean;
|
|
60
|
-
periods: boolean;
|
|
61
51
|
monthSwitch: boolean;
|
|
62
52
|
yearSwitch: boolean;
|
|
63
53
|
disabledDate: Function;
|
|
64
|
-
periodOptions: string[];
|
|
65
54
|
}, {}>;
|
|
66
55
|
export default _default;
|
|
67
56
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
isOpen: boolean;
|
|
5
|
-
dateValue: string;
|
|
6
|
-
idProp: string;
|
|
7
|
-
mobile?: boolean;
|
|
8
|
-
monthSwitch?: boolean;
|
|
9
|
-
yearSwitch?: boolean;
|
|
10
|
-
disabledDate?: Function;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
2
|
+
import { IWrapperProps } from '../types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
|
|
13
4
|
modelValue: any;
|
|
14
5
|
dateValue: string;
|
|
15
6
|
mobile: boolean;
|
|
@@ -26,7 +17,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
26
17
|
"update:dateValue": (...args: any[]) => void;
|
|
27
18
|
closePickerOnMobile: (...args: any[]) => void;
|
|
28
19
|
changeOpen: (...args: any[]) => void;
|
|
29
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
20
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
|
|
30
21
|
modelValue: any;
|
|
31
22
|
dateValue: string;
|
|
32
23
|
mobile: boolean;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
declare type Item = {
|
|
2
|
+
day: number;
|
|
3
|
+
month: number;
|
|
4
|
+
year: number;
|
|
5
|
+
type?: string;
|
|
6
|
+
};
|
|
7
|
+
declare interface IDefaultPickerProps {
|
|
8
|
+
width?: string;
|
|
9
|
+
placeholder?: string;
|
|
10
|
+
label?: string;
|
|
11
|
+
optional?: string;
|
|
12
|
+
helpertext?: string;
|
|
13
|
+
tooltip?: string;
|
|
14
|
+
showInput?: boolean;
|
|
15
|
+
monthSwitch?: boolean;
|
|
16
|
+
yearSwitch?: boolean;
|
|
17
|
+
prop?: string;
|
|
18
|
+
clearable?: boolean;
|
|
19
|
+
disabledDate?: Function;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
disableTeleport?: boolean;
|
|
22
|
+
}
|
|
23
|
+
declare interface IPickerProps extends IDefaultPickerProps {
|
|
24
|
+
modelValue: string | null;
|
|
25
|
+
}
|
|
26
|
+
declare interface IPickerRangeProps extends IDefaultPickerProps {
|
|
27
|
+
modelValue: string[] | null;
|
|
28
|
+
focusOnReset?: boolean;
|
|
29
|
+
periods?: boolean;
|
|
30
|
+
periodOptions?: string[];
|
|
31
|
+
}
|
|
32
|
+
declare interface IDefaultWrapperProps {
|
|
33
|
+
isOpen: boolean;
|
|
34
|
+
dateValue: string;
|
|
35
|
+
idProp: string;
|
|
36
|
+
mobile?: boolean;
|
|
37
|
+
inputElement?: HTMLElement;
|
|
38
|
+
monthSwitch?: boolean;
|
|
39
|
+
yearSwitch?: boolean;
|
|
40
|
+
disabledDate?: Function;
|
|
41
|
+
}
|
|
42
|
+
declare interface IWrapperRangeProps extends IDefaultWrapperProps {
|
|
43
|
+
modelValue: string[] | null;
|
|
44
|
+
periods?: boolean;
|
|
45
|
+
periodOptions?: string[];
|
|
46
|
+
}
|
|
47
|
+
declare interface IWrapperProps extends IDefaultWrapperProps {
|
|
48
|
+
modelValue: string | null;
|
|
49
|
+
}
|
|
50
|
+
export { Item, IPickerProps, IPickerRangeProps, IWrapperRangeProps, IWrapperProps };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import dayjs, { Dayjs } from 'dayjs';
|
|
2
|
+
import { Item } from '../types';
|
|
3
|
+
declare const WEEK_DAYS: string[];
|
|
4
|
+
declare const isCurrentDate: (item: Item) => boolean;
|
|
5
|
+
declare const isDisabledDate: (item: Item, disabledDate: Function) => any;
|
|
6
|
+
declare const dayjsFormat: (value: Item) => Dayjs;
|
|
7
|
+
declare const capitalize: (value: string) => string;
|
|
8
|
+
declare const switchPrevMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
9
|
+
declare const switchNextMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
10
|
+
declare const switchPrevYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
11
|
+
declare const switchNextYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
12
|
+
declare const isCurrentItem: (item: Item, disabledDate: Function) => boolean;
|
|
13
|
+
declare const getArrayOfDays: (date: Dayjs) => Item[];
|
|
14
|
+
export { WEEK_DAYS, isCurrentDate, isDisabledDate, dayjsFormat, capitalize, switchPrevMonth, switchNextMonth, switchPrevYear, switchNextYear, isCurrentItem, getArrayOfDays, };
|
package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts
CHANGED
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
width?: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
optional?: string;
|
|
7
|
-
helpertext?: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
showInput?: boolean;
|
|
10
|
-
monthSwitch?: boolean;
|
|
11
|
-
yearSwitch?: boolean;
|
|
12
|
-
prop?: string;
|
|
13
|
-
clearable?: boolean;
|
|
14
|
-
disabledDate?: Function;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
}
|
|
17
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
1
|
+
import { IPickerProps } from '../common/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
|
18
3
|
modelValue: any;
|
|
19
4
|
width: string;
|
|
20
5
|
placeholder: string;
|
|
@@ -30,13 +15,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
30
15
|
clearable: boolean;
|
|
31
16
|
disabledDate: () => void;
|
|
32
17
|
disabled: boolean;
|
|
18
|
+
disableTeleport: boolean;
|
|
33
19
|
}>, {
|
|
34
20
|
openPopup: () => void;
|
|
35
21
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
36
22
|
"update:modelValue": (...args: any[]) => void;
|
|
37
23
|
blur: (...args: any[]) => void;
|
|
24
|
+
change: (...args: any[]) => void;
|
|
38
25
|
changeOpen: (...args: any[]) => void;
|
|
39
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
|
40
27
|
modelValue: any;
|
|
41
28
|
width: string;
|
|
42
29
|
placeholder: string;
|
|
@@ -52,8 +39,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
52
39
|
clearable: boolean;
|
|
53
40
|
disabledDate: () => void;
|
|
54
41
|
disabled: boolean;
|
|
42
|
+
disableTeleport: boolean;
|
|
55
43
|
}>>> & {
|
|
56
44
|
onBlur?: (...args: any[]) => any;
|
|
45
|
+
onChange?: (...args: any[]) => any;
|
|
57
46
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
58
47
|
onChangeOpen?: (...args: any[]) => any;
|
|
59
48
|
}, {
|
|
@@ -71,6 +60,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
71
60
|
yearSwitch: boolean;
|
|
72
61
|
disabledDate: Function;
|
|
73
62
|
showInput: boolean;
|
|
63
|
+
disableTeleport: boolean;
|
|
74
64
|
}, {}>;
|
|
75
65
|
export default _default;
|
|
76
66
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -1,23 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
width?: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
optional?: string;
|
|
7
|
-
helpertext?: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
showInput?: boolean;
|
|
10
|
-
periods?: boolean;
|
|
11
|
-
periodOptions?: string[];
|
|
12
|
-
monthSwitch?: boolean;
|
|
13
|
-
yearSwitch?: boolean;
|
|
14
|
-
prop?: string;
|
|
15
|
-
clearable?: boolean;
|
|
16
|
-
disabledDate?: Function;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
focusOnReset?: boolean;
|
|
19
|
-
}
|
|
20
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
1
|
+
import { IPickerRangeProps } from '../common/types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
|
21
3
|
modelValue: () => any[];
|
|
22
4
|
width: string;
|
|
23
5
|
placeholder: string;
|
|
@@ -41,7 +23,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
41
23
|
"update:modelValue": (...args: any[]) => void;
|
|
42
24
|
blur: (...args: any[]) => void;
|
|
43
25
|
changeOpen: (...args: any[]) => void;
|
|
44
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<
|
|
26
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
|
45
27
|
modelValue: () => any[];
|
|
46
28
|
width: string;
|
|
47
29
|
placeholder: string;
|
|
@@ -74,13 +56,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
74
56
|
width: string;
|
|
75
57
|
helpertext: string;
|
|
76
58
|
optional: string;
|
|
59
|
+
focusOnReset: boolean;
|
|
77
60
|
periods: boolean;
|
|
61
|
+
periodOptions: string[];
|
|
78
62
|
monthSwitch: boolean;
|
|
79
63
|
yearSwitch: boolean;
|
|
80
64
|
disabledDate: Function;
|
|
81
|
-
periodOptions: string[];
|
|
82
65
|
showInput: boolean;
|
|
83
|
-
focusOnReset: boolean;
|
|
84
66
|
}, {}>;
|
|
85
67
|
export default _default;
|
|
86
68
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -86,6 +86,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
86
86
|
width: string;
|
|
87
87
|
helpertext: string;
|
|
88
88
|
optional: string;
|
|
89
|
+
focusOnReset: boolean;
|
|
89
90
|
showWordLimit: boolean;
|
|
90
91
|
currency: boolean;
|
|
91
92
|
round: boolean;
|
|
@@ -95,7 +96,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
95
96
|
newPassword: boolean;
|
|
96
97
|
iconPointer: boolean;
|
|
97
98
|
customBlur: boolean;
|
|
98
|
-
focusOnReset: boolean;
|
|
99
99
|
disableTrim: boolean;
|
|
100
100
|
valueRange: {
|
|
101
101
|
min: number;
|