@factoringplus/pl-components-pack-v3 1.2.26 → 1.2.27-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/{button → basic/pl-button}/index.d.ts +56 -55
- package/dist/components/{button → basic/pl-button}/pl-button.vue.d.ts +12 -11
- package/dist/components/{button → basic/pl-button}/types/index.d.ts +2 -1
- package/dist/components/{pl-dialog → basic/pl-dialog}/index.d.ts +2 -1
- package/dist/components/{pl-dialog → basic/pl-dialog}/pl-dialog-plus.vue.d.ts +15 -17
- package/dist/components/{pl-link → basic/pl-link}/index.d.ts +2 -1
- package/dist/components/{pl-link → basic/pl-link}/pl-link.vue.d.ts +7 -7
- package/dist/components/{pl-scrollbar → basic/pl-scrollbar}/index.d.ts +2 -1
- package/dist/components/{pl-scrollbar → basic/pl-scrollbar}/pl-scrollbar.vue.d.ts +9 -9
- package/dist/components/{pl-skeleton → basic/pl-skeleton}/index.d.ts +2 -1
- package/dist/components/{pl-skeleton → basic/pl-skeleton}/pl-skeleton.vue.d.ts +7 -7
- package/dist/components/{pl-tooltip-plus → basic/pl-tooltip-plus}/index.d.ts +2 -1
- package/dist/components/{pl-tooltip-plus → basic/pl-tooltip-plus}/pl-tooltip-plus.vue.d.ts +8 -8
- package/dist/components/components.d.ts +39 -37
- package/dist/components/{pl-card → data/pl-card}/index.d.ts +2 -1
- package/dist/components/{pl-multitab → data/pl-multitab}/components/pl-tab-card.vue.d.ts +10 -9
- package/dist/components/{pl-multitab → data/pl-multitab}/index.d.ts +2 -1
- package/dist/components/{pl-multitab → data/pl-multitab}/pl-multitab.vue.d.ts +9 -8
- package/dist/components/{pl-multitab → data/pl-multitab}/types/index.d.ts +2 -1
- package/dist/components/{pl-snackbar → data/pl-snackbar}/index.d.ts +2 -1
- package/dist/components/{pl-snackbar → data/pl-snackbar}/pl-snackbar.vue.d.ts +9 -14
- package/dist/components/data/pl-snackbar/renderSnackbar.d.ts +4 -0
- package/dist/components/data/pl-snackbar/types.d.ts +26 -0
- package/dist/components/{pl-stepper → data/pl-stepper}/index.d.ts +2 -1
- package/dist/components/data/pl-stepper/pl-stepper.vue.d.ts +57 -0
- package/dist/components/{pl-table-plus → data/pl-table-plus}/components/row-mask.vue.d.ts +6 -6
- package/dist/components/{pl-table-plus → data/pl-table-plus}/index.d.ts +2 -1
- package/dist/components/{pl-table-plus → data/pl-table-plus}/pl-table-plus.vue.d.ts +9 -9
- package/dist/components/data/pl-tabs/components/pl-tab-counter.vue.d.ts +21 -0
- package/dist/components/{pl-tabs → data/pl-tabs}/components/pl-tab.vue.d.ts +8 -7
- package/dist/components/{pl-tabs → data/pl-tabs}/index.d.ts +2 -1
- package/dist/components/{pl-tabs → data/pl-tabs}/pl-tabs.vue.d.ts +7 -7
- package/dist/components/{currency-input → deprecated/currency-input}/index.d.ts +2 -1
- package/dist/components/{pl-checkbox → deprecated/pl-checkbox}/index.d.ts +2 -1
- package/dist/components/{pl-date-picker → deprecated/pl-date-picker}/index.d.ts +2 -1
- package/dist/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +77 -0
- package/dist/components/deprecated/pl-date-picker/pl-date-picker.vue.d.ts +72 -0
- package/dist/components/{pl-date-picker-legacy → deprecated/pl-date-picker-legacy}/index.d.ts +2 -1
- package/dist/components/deprecated/pl-dialog/index.d.ts +6 -0
- package/dist/components/{pl-dialog → deprecated/pl-dialog}/pl-dialog.vue.d.ts +11 -11
- package/dist/components/{pl-form-item → deprecated/pl-form-item}/index.d.ts +2 -1
- package/dist/components/{pl-input → deprecated/pl-input}/index.d.ts +2 -1
- package/dist/components/{pl-input-native → deprecated/pl-input-native}/index.d.ts +2 -1
- package/dist/components/{pl-select → deprecated/pl-select}/index.d.ts +2 -1
- package/dist/components/deprecated/pl-select/pl-select.vue.d.ts +147 -0
- package/dist/components/{pl-suggestions → deprecated/pl-suggestions}/index.d.ts +2 -1
- package/dist/components/deprecated/pl-suggestions/pl-suggestions.vue.d.ts +112 -0
- package/dist/components/{pl-table → deprecated/pl-table}/index.d.ts +2 -1
- package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +133 -0
- package/dist/components/{pl-tooltip → deprecated/pl-tooltip}/index.d.ts +2 -1
- package/dist/components/{pl-tooltip → deprecated/pl-tooltip}/pl-tooltip.vue.d.ts +7 -7
- package/dist/components/{pl-upload → deprecated/pl-upload}/index.d.ts +2 -1
- package/dist/components/deprecated/pl-upload/pl-upload.vue.d.ts +124 -0
- package/dist/components/{pl-upload-legacy → deprecated/pl-upload-legacy}/index.d.ts +2 -1
- package/dist/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +112 -0
- package/dist/components/{pl-autocomplete → form/pl-autocomplete}/components/pl-autocomplete-dropdown.vue.d.ts +13 -12
- package/dist/components/{pl-autocomplete → form/pl-autocomplete}/components/pl-default.vue.d.ts +13 -12
- package/dist/components/{pl-autocomplete → form/pl-autocomplete}/index.d.ts +2 -1
- package/dist/components/{pl-autocomplete → form/pl-autocomplete}/pl-autocompete.vue.d.ts +19 -18
- package/dist/components/{pl-autocomplete → form/pl-autocomplete}/types/index.d.ts +3 -2
- package/dist/components/{pl-checkbox-plus → form/pl-checkbox-plus}/index.d.ts +2 -1
- package/dist/components/{pl-checkbox-plus → form/pl-checkbox-plus}/pl-checkbox-plus.vue.d.ts +4 -4
- package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/common/components/PlDatePickerRangeWrapper.vue.d.ts +12 -15
- package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/common/components/PlDatePickerWrapper.vue.d.ts +10 -13
- package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/common/types/index.d.ts +2 -2
- package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/common/utils/wrapperFunctions.d.ts +5 -4
- package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/index.d.ts +2 -1
- package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +16 -15
- package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +16 -15
- package/dist/components/{pl-form → form/pl-form}/index.d.ts +2 -1
- package/dist/components/{pl-form → form/pl-form}/pl-form.vue.d.ts +10 -9
- package/dist/components/{pl-input-plus → form/pl-input-plus}/components/pl-currency.vue.d.ts +11 -10
- package/dist/components/{pl-input-plus → form/pl-input-plus}/components/pl-default.vue.d.ts +17 -16
- package/dist/components/{pl-input-plus → form/pl-input-plus}/components/pl-password.vue.d.ts +11 -10
- package/dist/components/{pl-input-plus → form/pl-input-plus}/components/pl-textarea.vue.d.ts +11 -10
- package/dist/components/{pl-input-plus → form/pl-input-plus}/index.d.ts +2 -1
- package/dist/components/{pl-input-plus → form/pl-input-plus}/pl-input-plus.vue.d.ts +24 -23
- package/dist/components/{pl-input-plus → form/pl-input-plus}/types/index.d.ts +5 -4
- package/dist/components/{pl-multi-select → form/pl-multi-select}/components/pl-default.vue.d.ts +13 -12
- package/dist/components/{pl-multi-select → form/pl-multi-select}/components/pl-multi-select-dropdown.vue.d.ts +11 -10
- package/dist/components/{pl-multi-select → form/pl-multi-select}/index.d.ts +2 -1
- package/dist/components/{pl-multi-select → form/pl-multi-select}/pl-multi-select.vue.d.ts +15 -14
- package/dist/components/{pl-multi-select → form/pl-multi-select}/types/index.d.ts +3 -2
- package/dist/components/{pl-radio → form/pl-radio}/index.d.ts +2 -1
- package/dist/components/{pl-radio → form/pl-radio}/pl-radio.vue.d.ts +3 -3
- package/dist/components/form/pl-select-plus/components/pl-account.vue.d.ts +68 -0
- package/dist/components/{pl-select-plus → form/pl-select-plus}/components/pl-default.vue.d.ts +14 -13
- package/dist/components/{pl-select-plus → form/pl-select-plus}/components/pl-select-dropdown.vue.d.ts +11 -10
- package/dist/components/{pl-select-plus → form/pl-select-plus}/index.d.ts +2 -1
- package/dist/components/{pl-select-plus → form/pl-select-plus}/pl-select-plus.vue.d.ts +16 -15
- package/dist/components/{pl-select-plus → form/pl-select-plus}/types/index.d.ts +3 -2
- package/dist/components/{pl-switch → form/pl-switch}/index.d.ts +2 -1
- package/dist/components/{pl-switch → form/pl-switch}/pl-switch.vue.d.ts +3 -3
- package/dist/components/{pl-upload-plus → form/pl-upload-plus}/index.d.ts +2 -1
- package/dist/components/{pl-upload-plus → form/pl-upload-plus}/pl-upload-plus.vue.d.ts +15 -15
- package/dist/components/form/pl-upload-plus/types/FileExtension.d.ts +1 -0
- package/dist/components/{pl-icon → shared/pl-icon}/index.d.ts +3 -2
- package/dist/components/shared/pl-icon/pl-icon.vue.d.ts +13 -0
- package/dist/components/shared/pl-icon/types/index.d.ts +3 -0
- package/dist/components/{pl-label → shared/pl-label}/pl-label.vue.d.ts +3 -3
- package/dist/components/shared/pl-mark-text/index.d.ts +16 -0
- package/dist/components/shared/pl-mark-text/pl-mark-text.vue.d.ts +16 -0
- package/dist/components/{pl-option → shared/pl-option}/index.d.ts +2 -1
- package/dist/components/{pl-option → shared/pl-option}/pl-option.vue.d.ts +6 -6
- package/dist/components/{pl-tab-pane → shared/pl-tab-pane}/index.d.ts +2 -1
- package/dist/components/{pl-tab-pane → shared/pl-tab-pane}/pl-tab-pane.vue.d.ts +10 -9
- package/dist/components/{pl-tab-pane → shared/pl-tab-pane}/types/index.d.ts +2 -1
- package/dist/components/{pl-tags/pl-tags.vue.d.ts → shared/pl-tags-chips/pl-tags-chips.vue.d.ts} +8 -8
- package/dist/components/shared/pl-text/components/pl-body1.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-body2.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-body3.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-bodyu.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-btn1.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-btn2.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-btn3.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-cap.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-h1.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-h2.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-h3.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-h4.vue.d.ts +21 -0
- package/dist/components/shared/pl-text/components/pl-sub1.vue.d.ts +17 -0
- package/dist/components/shared/pl-text/components/pl-sub2.vue.d.ts +17 -0
- package/dist/components/shared/pl-text/components/pl-system.vue.d.ts +17 -0
- package/dist/components/shared/pl-text/components/pl-tag.vue.d.ts +17 -0
- package/dist/components/shared/pl-text/components/pl-title1.vue.d.ts +17 -0
- package/dist/components/shared/pl-text/components/pl-title2.vue.d.ts +17 -0
- package/dist/components/shared/pl-text/components/pl-title3.vue.d.ts +17 -0
- package/dist/components/{pl-text → shared/pl-text}/index.d.ts +2 -1
- package/dist/directives/index.d.ts +3 -1
- package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -1
- package/dist/directives/vLoading.d.ts +2 -1
- package/dist/directives/vTap.d.ts +2 -1
- package/dist/directives/vTouchOutside.d.ts +2 -1
- package/dist/install-function/index.d.ts +4 -3
- package/dist/pl-components-pack-v3.d.ts +0 -2
- package/dist/pl-components-pack-v3.es.js +21710 -21650
- package/dist/pl-components-pack-v3.umd.js +44 -50
- package/dist/plugins/filters.d.ts +5 -3
- package/dist/plugins/loading/loading.d.ts +3 -1
- package/dist/services/plLoading.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/dadataParser.d.ts +2 -1
- package/dist/utils/deepSet.d.ts +3 -2
- package/dist/utils/formatAccount.d.ts +1 -1
- package/dist/utils/getSourceCode.d.ts +4 -1
- package/package.json +67 -79
- package/dist/components/entry.d.ts +0 -87
- package/dist/components/pl-icon/pl-icon.vue.d.ts +0 -12
- package/dist/components/pl-icon/types/index.d.ts +0 -2
- package/dist/components/pl-mark-text/index.d.ts +0 -2
- package/dist/components/pl-snackbar/renderSnackbar.d.ts +0 -4
- package/dist/components/pl-snackbar/types.d.ts +0 -21
- package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-body1.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-body2.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-body3.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-btn1.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-btn2.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-btn3.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-cap.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-h1.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-h2.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-h3.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-h4.vue.d.ts +0 -21
- package/dist/components/pl-text/components/pl-sub1.vue.d.ts +0 -17
- package/dist/components/pl-text/components/pl-sub2.vue.d.ts +0 -17
- package/dist/components/pl-text/components/pl-system.vue.d.ts +0 -17
- package/dist/components/pl-text/components/pl-tag.vue.d.ts +0 -17
- package/dist/components/pl-text/components/pl-title1.vue.d.ts +0 -17
- package/dist/components/pl-text/components/pl-title2.vue.d.ts +0 -17
- package/dist/components/pl-text/components/pl-title3.vue.d.ts +0 -17
- package/dist/components/pl-upload-plus/types/FileExtension.d.ts +0 -1
- package/dist/mockServiceWorker.js +0 -364
- /package/dist/components/{pl-scrollbar → basic/pl-scrollbar}/utils/getSizeWithUnits.d.ts +0 -0
- /package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/common/constants.d.ts +0 -0
- /package/dist/components/{pl-icon → shared/pl-icon}/types/iconsType.d.ts +0 -0
package/dist/components/{pl-checkbox-plus → form/pl-checkbox-plus}/pl-checkbox-plus.vue.d.ts
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
2
2
|
size: {
|
3
3
|
type: StringConstructor;
|
4
4
|
default: string;
|
@@ -23,10 +23,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
23
23
|
type: BooleanConstructor;
|
24
24
|
default: boolean;
|
25
25
|
};
|
26
|
-
}, {}, unknown, {}, {}, import(
|
26
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
27
27
|
"update:modelValue": (...args: any[]) => void;
|
28
28
|
change: (...args: any[]) => void;
|
29
|
-
}, string, import(
|
29
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
30
30
|
size: {
|
31
31
|
type: StringConstructor;
|
32
32
|
default: string;
|
@@ -65,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
65
65
|
default?(_: {}): any;
|
66
66
|
}>;
|
67
67
|
export default _default;
|
68
|
-
|
68
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
69
69
|
new (): {
|
70
70
|
$slots: S;
|
71
71
|
};
|
@@ -1,6 +1,6 @@
|
|
1
|
+
import { IWrapperRangeProps } from '../types';
|
1
2
|
|
2
|
-
|
3
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
|
4
4
|
modelValue: () => any[];
|
5
5
|
isOpen: boolean;
|
6
6
|
dateValue: string;
|
@@ -9,7 +9,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
9
9
|
monthSwitch: boolean;
|
10
10
|
yearSwitch: boolean;
|
11
11
|
periodOptions: () => any[];
|
12
|
-
disabledDate: () => void;
|
13
12
|
idProp: string;
|
14
13
|
}>, {
|
15
14
|
openPopup: () => void;
|
@@ -17,13 +16,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
17
16
|
startUpdateDate: (event: Event & {
|
18
17
|
target: HTMLInputElement;
|
19
18
|
}) => void;
|
20
|
-
}, unknown, {}, {}, import(
|
19
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
21
20
|
"update:modelValue": (...args: any[]) => void;
|
21
|
+
changeOpen: (...args: any[]) => void;
|
22
22
|
"update:isOpen": (...args: any[]) => void;
|
23
23
|
"update:dateValue": (...args: any[]) => void;
|
24
24
|
closePickerOnMobile: (...args: any[]) => void;
|
25
|
-
|
26
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperRangeProps>, {
|
27
26
|
modelValue: () => any[];
|
28
27
|
isOpen: boolean;
|
29
28
|
dateValue: string;
|
@@ -32,29 +31,27 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
32
31
|
monthSwitch: boolean;
|
33
32
|
yearSwitch: boolean;
|
34
33
|
periodOptions: () => any[];
|
35
|
-
disabledDate: () => void;
|
36
34
|
idProp: string;
|
37
35
|
}>>> & {
|
38
36
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
37
|
+
onChangeOpen?: (...args: any[]) => any;
|
39
38
|
"onUpdate:isOpen"?: (...args: any[]) => any;
|
40
39
|
"onUpdate:dateValue"?: (...args: any[]) => any;
|
41
40
|
onClosePickerOnMobile?: (...args: any[]) => any;
|
42
|
-
onChangeOpen?: (...args: any[]) => any;
|
43
41
|
}, {
|
44
42
|
modelValue: string[];
|
43
|
+
dateValue: string;
|
44
|
+
isOpen: boolean;
|
45
45
|
periods: boolean;
|
46
46
|
periodOptions: string[];
|
47
|
-
isOpen: boolean;
|
48
|
-
dateValue: string;
|
49
47
|
idProp: string;
|
50
48
|
mobile: boolean;
|
51
49
|
monthSwitch: boolean;
|
52
50
|
yearSwitch: boolean;
|
53
|
-
disabledDate: Function;
|
54
51
|
}, {}>;
|
55
52
|
export default _default;
|
56
|
-
|
57
|
-
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
54
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
58
55
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
59
56
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
60
57
|
} : {
|
@@ -62,11 +59,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
62
59
|
required: true;
|
63
60
|
};
|
64
61
|
};
|
65
|
-
|
62
|
+
type __VLS_WithDefaults<P, D> = {
|
66
63
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
67
64
|
default: D[K];
|
68
65
|
}> : P[K];
|
69
66
|
};
|
70
|
-
|
67
|
+
type __VLS_Prettify<T> = {
|
71
68
|
[K in keyof T]: T[K];
|
72
69
|
} & {};
|
@@ -1,36 +1,34 @@
|
|
1
|
+
import { IWrapperProps } from '../types';
|
1
2
|
|
2
|
-
|
3
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
|
4
4
|
modelValue: any;
|
5
5
|
dateValue: string;
|
6
6
|
mobile: boolean;
|
7
7
|
monthSwitch: boolean;
|
8
8
|
yearSwitch: boolean;
|
9
|
-
disabledDate: () => void;
|
10
9
|
idProp: string;
|
11
10
|
}>, {
|
12
11
|
openPopup: () => void;
|
13
12
|
checkInput: () => void;
|
14
|
-
}, unknown, {}, {}, import(
|
13
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
15
14
|
"update:modelValue": (...args: any[]) => void;
|
15
|
+
changeOpen: (...args: any[]) => void;
|
16
16
|
"update:isOpen": (...args: any[]) => void;
|
17
17
|
"update:dateValue": (...args: any[]) => void;
|
18
18
|
closePickerOnMobile: (...args: any[]) => void;
|
19
|
-
|
20
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
|
19
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IWrapperProps>, {
|
21
20
|
modelValue: any;
|
22
21
|
dateValue: string;
|
23
22
|
mobile: boolean;
|
24
23
|
monthSwitch: boolean;
|
25
24
|
yearSwitch: boolean;
|
26
|
-
disabledDate: () => void;
|
27
25
|
idProp: string;
|
28
26
|
}>>> & {
|
29
27
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
28
|
+
onChangeOpen?: (...args: any[]) => any;
|
30
29
|
"onUpdate:isOpen"?: (...args: any[]) => any;
|
31
30
|
"onUpdate:dateValue"?: (...args: any[]) => any;
|
32
31
|
onClosePickerOnMobile?: (...args: any[]) => any;
|
33
|
-
onChangeOpen?: (...args: any[]) => any;
|
34
32
|
}, {
|
35
33
|
modelValue: string;
|
36
34
|
dateValue: string;
|
@@ -38,11 +36,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
38
36
|
mobile: boolean;
|
39
37
|
monthSwitch: boolean;
|
40
38
|
yearSwitch: boolean;
|
41
|
-
disabledDate: Function;
|
42
39
|
}, {}>;
|
43
40
|
export default _default;
|
44
|
-
|
45
|
-
|
41
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
42
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
46
43
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
47
44
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
48
45
|
} : {
|
@@ -50,11 +47,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
50
47
|
required: true;
|
51
48
|
};
|
52
49
|
};
|
53
|
-
|
50
|
+
type __VLS_WithDefaults<P, D> = {
|
54
51
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
55
52
|
default: D[K];
|
56
53
|
}> : P[K];
|
57
54
|
};
|
58
|
-
|
55
|
+
type __VLS_Prettify<T> = {
|
59
56
|
[K in keyof T]: T[K];
|
60
57
|
} & {};
|
package/dist/components/{pl-date-picker-plus → form/pl-date-picker-plus}/common/types/index.d.ts
RENAMED
@@ -16,7 +16,7 @@ declare interface IDefaultPickerProps {
|
|
16
16
|
yearSwitch?: boolean;
|
17
17
|
prop?: string;
|
18
18
|
clearable?: boolean;
|
19
|
-
disabledDate?:
|
19
|
+
disabledDate?: (date: string) => boolean;
|
20
20
|
disabled?: boolean;
|
21
21
|
disableTeleport?: boolean;
|
22
22
|
}
|
@@ -37,7 +37,7 @@ declare interface IDefaultWrapperProps {
|
|
37
37
|
inputElement?: HTMLElement;
|
38
38
|
monthSwitch?: boolean;
|
39
39
|
yearSwitch?: boolean;
|
40
|
-
disabledDate?:
|
40
|
+
disabledDate?: (date: string) => boolean;
|
41
41
|
}
|
42
42
|
declare interface IWrapperRangeProps extends IDefaultWrapperProps {
|
43
43
|
modelValue: string[] | null;
|
@@ -1,14 +1,15 @@
|
|
1
|
-
import dayjs,
|
2
|
-
import { Item } from '../types';
|
1
|
+
import { default as dayjs, Dayjs } from 'dayjs';
|
2
|
+
import { Item } from '../types';
|
3
|
+
|
3
4
|
declare const WEEK_DAYS: string[];
|
4
5
|
declare const isCurrentDate: (item: Item) => boolean;
|
5
|
-
declare const isDisabledDate: (item: Item, disabledDate:
|
6
|
+
declare const isDisabledDate: (item: Item, disabledDate: (date: string) => boolean) => boolean;
|
6
7
|
declare const dayjsFormat: (value: Item) => Dayjs;
|
7
8
|
declare const capitalize: (value: string) => string;
|
8
9
|
declare const switchPrevMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
9
10
|
declare const switchNextMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
10
11
|
declare const switchPrevYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
11
12
|
declare const switchNextYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
12
|
-
declare const isCurrentItem: (item: Item, disabledDate:
|
13
|
+
declare const isCurrentItem: (item: Item, disabledDate: (date: string) => boolean) => boolean;
|
13
14
|
declare const getArrayOfDays: (date: Dayjs) => Item[];
|
14
15
|
export { WEEK_DAYS, isCurrentDate, isDisabledDate, dayjsFormat, capitalize, switchPrevMonth, switchNextMonth, switchPrevYear, switchNextYear, isCurrentItem, getArrayOfDays, };
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { IPickerProps } from '../common/types';
|
2
|
-
|
1
|
+
import { IPickerProps } from '../common/types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
3
4
|
modelValue: any;
|
4
5
|
width: string;
|
5
6
|
placeholder: string;
|
@@ -13,17 +14,17 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
13
14
|
yearSwitch: boolean;
|
14
15
|
prop: string;
|
15
16
|
clearable: boolean;
|
16
|
-
disabledDate: () =>
|
17
|
+
disabledDate: () => false;
|
17
18
|
disabled: boolean;
|
18
19
|
disableTeleport: boolean;
|
19
20
|
}>, {
|
20
21
|
openPopup: () => void;
|
21
|
-
}, unknown, {}, {}, import(
|
22
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
22
23
|
"update:modelValue": (...args: any[]) => void;
|
23
24
|
blur: (...args: any[]) => void;
|
24
25
|
change: (...args: any[]) => void;
|
25
26
|
changeOpen: (...args: any[]) => void;
|
26
|
-
}, string, import(
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
27
28
|
modelValue: any;
|
28
29
|
width: string;
|
29
30
|
placeholder: string;
|
@@ -37,7 +38,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
37
38
|
yearSwitch: boolean;
|
38
39
|
prop: string;
|
39
40
|
clearable: boolean;
|
40
|
-
disabledDate: () =>
|
41
|
+
disabledDate: () => false;
|
41
42
|
disabled: boolean;
|
42
43
|
disableTeleport: boolean;
|
43
44
|
}>>> & {
|
@@ -48,23 +49,23 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
48
49
|
}, {
|
49
50
|
label: string;
|
50
51
|
disabled: boolean;
|
52
|
+
width: string;
|
51
53
|
modelValue: string;
|
52
|
-
prop: string;
|
53
54
|
placeholder: string;
|
55
|
+
showInput: boolean;
|
56
|
+
prop: string;
|
57
|
+
tooltip: string;
|
54
58
|
clearable: boolean;
|
55
|
-
width: string;
|
56
59
|
helpertext: string;
|
57
60
|
optional: string;
|
58
|
-
tooltip: string;
|
59
61
|
monthSwitch: boolean;
|
60
62
|
yearSwitch: boolean;
|
61
|
-
disabledDate:
|
62
|
-
showInput: boolean;
|
63
|
+
disabledDate: (date: string) => boolean;
|
63
64
|
disableTeleport: boolean;
|
64
65
|
}, {}>;
|
65
66
|
export default _default;
|
66
|
-
|
67
|
-
|
67
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
68
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
68
69
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
69
70
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
70
71
|
} : {
|
@@ -72,11 +73,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
72
73
|
required: true;
|
73
74
|
};
|
74
75
|
};
|
75
|
-
|
76
|
+
type __VLS_WithDefaults<P, D> = {
|
76
77
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
77
78
|
default: D[K];
|
78
79
|
}> : P[K];
|
79
80
|
};
|
80
|
-
|
81
|
+
type __VLS_Prettify<T> = {
|
81
82
|
[K in keyof T]: T[K];
|
82
83
|
} & {};
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import { IPickerRangeProps } from '../common/types';
|
2
|
-
|
1
|
+
import { IPickerRangeProps } from '../common/types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
3
4
|
modelValue: () => any[];
|
4
5
|
width: string;
|
5
6
|
placeholder: string;
|
@@ -14,16 +15,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
14
15
|
yearSwitch: boolean;
|
15
16
|
prop: string;
|
16
17
|
clearable: boolean;
|
17
|
-
disabledDate: () =>
|
18
|
+
disabledDate: () => false;
|
18
19
|
disabled: boolean;
|
19
20
|
focusOnReset: boolean;
|
20
21
|
}>, {
|
21
22
|
openPopup: () => void;
|
22
|
-
}, unknown, {}, {}, import(
|
23
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
23
24
|
"update:modelValue": (...args: any[]) => void;
|
24
25
|
blur: (...args: any[]) => void;
|
25
26
|
changeOpen: (...args: any[]) => void;
|
26
|
-
}, string, import(
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
27
28
|
modelValue: () => any[];
|
28
29
|
width: string;
|
29
30
|
placeholder: string;
|
@@ -38,7 +39,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
38
39
|
yearSwitch: boolean;
|
39
40
|
prop: string;
|
40
41
|
clearable: boolean;
|
41
|
-
disabledDate: () =>
|
42
|
+
disabledDate: () => false;
|
42
43
|
disabled: boolean;
|
43
44
|
focusOnReset: boolean;
|
44
45
|
}>>> & {
|
@@ -48,25 +49,25 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
48
49
|
}, {
|
49
50
|
label: string;
|
50
51
|
disabled: boolean;
|
52
|
+
width: string;
|
51
53
|
modelValue: string[];
|
52
|
-
prop: string;
|
53
54
|
placeholder: string;
|
55
|
+
showInput: boolean;
|
56
|
+
prop: string;
|
57
|
+
tooltip: string;
|
54
58
|
clearable: boolean;
|
55
|
-
width: string;
|
56
59
|
helpertext: string;
|
57
60
|
optional: string;
|
58
|
-
tooltip: string;
|
59
61
|
focusOnReset: boolean;
|
60
62
|
periods: boolean;
|
61
63
|
periodOptions: string[];
|
62
64
|
monthSwitch: boolean;
|
63
65
|
yearSwitch: boolean;
|
64
|
-
disabledDate:
|
65
|
-
showInput: boolean;
|
66
|
+
disabledDate: (date: string) => boolean;
|
66
67
|
}, {}>;
|
67
68
|
export default _default;
|
68
|
-
|
69
|
-
|
69
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
70
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
70
71
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
71
72
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
72
73
|
} : {
|
@@ -74,11 +75,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
74
75
|
required: true;
|
75
76
|
};
|
76
77
|
};
|
77
|
-
|
78
|
+
type __VLS_WithDefaults<P, D> = {
|
78
79
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
79
80
|
default: D[K];
|
80
81
|
}> : P[K];
|
81
82
|
};
|
82
|
-
|
83
|
+
type __VLS_Prettify<T> = {
|
83
84
|
[K in keyof T]: T[K];
|
84
85
|
} & {};
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import
|
1
|
+
import { Rules, ValidateError } from 'async-validator';
|
2
|
+
|
2
3
|
interface IFormProps {
|
3
4
|
model: {
|
4
5
|
[key: string]: any;
|
@@ -6,7 +7,7 @@ interface IFormProps {
|
|
6
7
|
rules?: Rules;
|
7
8
|
modelErrorsState?: ValidateError[];
|
8
9
|
}
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFormProps>, {
|
10
11
|
rules: () => {};
|
11
12
|
modelErrorsState: () => any[];
|
12
13
|
}>, {
|
@@ -15,9 +16,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
15
16
|
clearValidate: (props?: string | string[]) => void;
|
16
17
|
resetFields: (props?: string | string[]) => void;
|
17
18
|
refreshForm: () => void;
|
18
|
-
}, unknown, {}, {}, import(
|
19
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
19
20
|
"update:modelErrorsState": (...args: any[]) => void;
|
20
|
-
}, string, import(
|
21
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFormProps>, {
|
21
22
|
rules: () => {};
|
22
23
|
modelErrorsState: () => any[];
|
23
24
|
}>>> & {
|
@@ -29,8 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
29
30
|
default?(_: {}): any;
|
30
31
|
}>;
|
31
32
|
export default _default;
|
32
|
-
|
33
|
-
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
34
35
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
35
36
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
36
37
|
} : {
|
@@ -38,15 +39,15 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
38
39
|
required: true;
|
39
40
|
};
|
40
41
|
};
|
41
|
-
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
42
43
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
43
44
|
default: D[K];
|
44
45
|
}> : P[K];
|
45
46
|
};
|
46
|
-
|
47
|
+
type __VLS_Prettify<T> = {
|
47
48
|
[K in keyof T]: T[K];
|
48
49
|
} & {};
|
49
|
-
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
50
51
|
new (): {
|
51
52
|
$slots: S;
|
52
53
|
};
|
package/dist/components/{pl-input-plus → form/pl-input-plus}/components/pl-currency.vue.d.ts
RENAMED
@@ -1,15 +1,16 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import { IPlCurrencyProps } from '../types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlCurrencyProps>, {
|
3
4
|
prop: string;
|
4
5
|
placeholder: string;
|
5
6
|
disabled: boolean;
|
6
7
|
leftIcon: string;
|
7
8
|
round: boolean;
|
8
|
-
}>, {}, unknown, {}, {}, import(
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
9
10
|
"update:modelValue": (...args: any[]) => void;
|
10
11
|
blur: (...args: any[]) => void;
|
11
12
|
change: (...args: any[]) => void;
|
12
|
-
}, string, import(
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlCurrencyProps>, {
|
13
14
|
prop: string;
|
14
15
|
placeholder: string;
|
15
16
|
disabled: boolean;
|
@@ -21,14 +22,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
21
22
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
22
23
|
}, {
|
23
24
|
disabled: boolean;
|
24
|
-
prop: string;
|
25
25
|
placeholder: string;
|
26
|
-
leftIcon: import("../../pl-icon").TIcon;
|
27
26
|
round: boolean;
|
27
|
+
prop: string;
|
28
|
+
leftIcon: any;
|
28
29
|
}, {}>;
|
29
30
|
export default _default;
|
30
|
-
|
31
|
-
|
31
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
32
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
32
33
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
33
34
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
34
35
|
} : {
|
@@ -36,11 +37,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
36
37
|
required: true;
|
37
38
|
};
|
38
39
|
};
|
39
|
-
|
40
|
+
type __VLS_WithDefaults<P, D> = {
|
40
41
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
41
42
|
default: D[K];
|
42
43
|
}> : P[K];
|
43
44
|
};
|
44
|
-
|
45
|
+
type __VLS_Prettify<T> = {
|
45
46
|
[K in keyof T]: T[K];
|
46
47
|
} & {};
|
@@ -1,5 +1,6 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import { IPlDefaultProps } from '../types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlDefaultProps>, {
|
3
4
|
leftIcon: string;
|
4
5
|
rightIcon: string;
|
5
6
|
id: string;
|
@@ -11,15 +12,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
11
12
|
iconPointer: boolean;
|
12
13
|
customBlur: boolean;
|
13
14
|
clearable: boolean;
|
14
|
-
}>, {}, unknown, {}, {}, import(
|
15
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
15
16
|
"update:modelValue": (...args: any[]) => void;
|
17
|
+
mousedown: (...args: any[]) => void;
|
18
|
+
touchstart: (...args: any[]) => void;
|
19
|
+
blur: (...args: any[]) => void;
|
16
20
|
resetValue: (...args: any[]) => void;
|
17
21
|
tabHandler: (...args: any[]) => void;
|
18
|
-
blur: (...args: any[]) => void;
|
19
|
-
touchstart: (...args: any[]) => void;
|
20
|
-
mousedown: (...args: any[]) => void;
|
21
22
|
"custom-blur": (...args: any[]) => void;
|
22
|
-
}, string, import(
|
23
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlDefaultProps>, {
|
23
24
|
leftIcon: string;
|
24
25
|
rightIcon: string;
|
25
26
|
id: string;
|
@@ -37,24 +38,24 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
37
38
|
onTouchstart?: (...args: any[]) => any;
|
38
39
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
39
40
|
onResetValue?: (...args: any[]) => any;
|
40
|
-
"onCustom-blur"?: (...args: any[]) => any;
|
41
41
|
onTabHandler?: (...args: any[]) => any;
|
42
|
+
"onCustom-blur"?: (...args: any[]) => any;
|
42
43
|
}, {
|
43
|
-
id: string;
|
44
44
|
disabled: boolean;
|
45
|
-
|
45
|
+
id: string;
|
46
46
|
placeholder: string;
|
47
|
+
prop: string;
|
47
48
|
clearable: boolean;
|
48
|
-
leftIcon:
|
49
|
-
rightIcon:
|
49
|
+
leftIcon: any;
|
50
|
+
rightIcon: any;
|
50
51
|
showWordLimit: boolean;
|
51
52
|
maxlength: number;
|
52
53
|
iconPointer: boolean;
|
53
54
|
customBlur: boolean;
|
54
55
|
}, {}>;
|
55
56
|
export default _default;
|
56
|
-
|
57
|
-
|
57
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
58
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
58
59
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
59
60
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
60
61
|
} : {
|
@@ -62,11 +63,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
62
63
|
required: true;
|
63
64
|
};
|
64
65
|
};
|
65
|
-
|
66
|
+
type __VLS_WithDefaults<P, D> = {
|
66
67
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
67
68
|
default: D[K];
|
68
69
|
}> : P[K];
|
69
70
|
};
|
70
|
-
|
71
|
+
type __VLS_Prettify<T> = {
|
71
72
|
[K in keyof T]: T[K];
|
72
73
|
} & {};
|
package/dist/components/{pl-input-plus → form/pl-input-plus}/components/pl-password.vue.d.ts
RENAMED
@@ -1,15 +1,16 @@
|
|
1
|
-
import
|
2
|
-
|
1
|
+
import { IPlPasswordProps } from '../types';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlPasswordProps>, {
|
3
4
|
id: string;
|
4
5
|
disabled: boolean;
|
5
6
|
placeholder: string;
|
6
7
|
prop: string;
|
7
8
|
currentPassword: boolean;
|
8
9
|
newPassword: boolean;
|
9
|
-
}>, {}, unknown, {}, {}, import(
|
10
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
10
11
|
"update:modelValue": (...args: any[]) => void;
|
11
12
|
blur: (...args: any[]) => void;
|
12
|
-
}, string, import(
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlPasswordProps>, {
|
13
14
|
id: string;
|
14
15
|
disabled: boolean;
|
15
16
|
placeholder: string;
|
@@ -20,16 +21,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
20
21
|
onBlur?: (...args: any[]) => any;
|
21
22
|
"onUpdate:modelValue"?: (...args: any[]) => any;
|
22
23
|
}, {
|
23
|
-
id: string;
|
24
24
|
disabled: boolean;
|
25
|
-
|
25
|
+
id: string;
|
26
26
|
placeholder: string;
|
27
|
+
prop: string;
|
27
28
|
currentPassword: boolean;
|
28
29
|
newPassword: boolean;
|
29
30
|
}, {}>;
|
30
31
|
export default _default;
|
31
|
-
|
32
|
-
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
33
34
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
34
35
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
35
36
|
} : {
|
@@ -37,11 +38,11 @@ declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
37
38
|
required: true;
|
38
39
|
};
|
39
40
|
};
|
40
|
-
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
41
42
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
42
43
|
default: D[K];
|
43
44
|
}> : P[K];
|
44
45
|
};
|
45
|
-
|
46
|
+
type __VLS_Prettify<T> = {
|
46
47
|
[K in keyof T]: T[K];
|
47
48
|
} & {};
|