@factoringplus/pl-components-pack-v3 1.2.22-pre-01 → 1.2.22-pre-03
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/button/index.d.ts +191 -191
- package/dist/components/button/pl-button.vue.d.ts +66 -64
- package/dist/components/button/types/index.d.ts +21 -21
- package/dist/components/components.d.ts +47 -47
- package/dist/components/deprecated/currency-input/index.d.ts +5 -5
- package/dist/components/deprecated/pl-checkbox/index.d.ts +5 -5
- package/dist/components/deprecated/pl-date-picker/index.d.ts +5 -5
- package/dist/components/deprecated/pl-date-picker/pl-date-picker-range.vue.d.ts +77 -77
- package/dist/components/deprecated/pl-date-picker/pl-date-picker.vue.d.ts +72 -72
- package/dist/components/deprecated/pl-date-picker-legacy/index.d.ts +5 -5
- package/dist/components/deprecated/pl-dialog/index.d.ts +5 -5
- package/dist/components/deprecated/pl-dialog/pl-dialog.vue.d.ts +104 -102
- package/dist/components/deprecated/pl-form-item/index.d.ts +5 -5
- package/dist/components/deprecated/pl-input/index.d.ts +5 -5
- package/dist/components/deprecated/pl-input-native/index.d.ts +5 -5
- package/dist/components/deprecated/pl-select/index.d.ts +5 -5
- package/dist/components/deprecated/pl-select/pl-select.vue.d.ts +149 -147
- package/dist/components/deprecated/pl-suggestions/index.d.ts +5 -5
- package/dist/components/deprecated/pl-suggestions/pl-suggestions.vue.d.ts +112 -112
- package/dist/components/deprecated/pl-table/index.d.ts +5 -5
- package/dist/components/deprecated/pl-table/pl-table.vue.d.ts +133 -133
- package/dist/components/deprecated/pl-tooltip/index.d.ts +5 -5
- package/dist/components/deprecated/pl-tooltip/pl-tooltip.vue.d.ts +58 -56
- package/dist/components/deprecated/pl-upload/index.d.ts +5 -5
- package/dist/components/deprecated/pl-upload/pl-upload.vue.d.ts +124 -124
- package/dist/components/deprecated/pl-upload-legacy/index.d.ts +5 -5
- package/dist/components/deprecated/pl-upload-legacy/pl-upload-legacy.vue.d.ts +111 -111
- package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +60 -60
- package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +60 -60
- package/dist/components/pl-autocomplete/index.d.ts +5 -5
- package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +95 -95
- package/dist/components/pl-autocomplete/types/index.d.ts +57 -57
- package/dist/components/pl-card/index.d.ts +5 -5
- package/dist/components/pl-checkbox-plus/index.d.ts +5 -5
- package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +74 -72
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +68 -68
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +56 -56
- package/dist/components/pl-date-picker-plus/common/constants.d.ts +2 -2
- package/dist/components/pl-date-picker-plus/common/types/index.d.ts +50 -50
- package/dist/components/pl-date-picker-plus/common/utils/wrapperFunctions.d.ts +13 -13
- package/dist/components/pl-date-picker-plus/index.d.ts +5 -5
- package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +82 -82
- package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +84 -84
- package/dist/components/pl-dialog/index.d.ts +5 -5
- package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +106 -104
- package/dist/components/pl-form/index.d.ts +5 -5
- package/dist/components/pl-form/pl-form.vue.d.ts +55 -53
- package/dist/components/pl-icon/index.d.ts +6 -6
- package/dist/components/pl-icon/pl-icon.vue.d.ts +12 -12
- package/dist/components/pl-icon/types/iconsType.d.ts +5 -5
- package/dist/components/pl-icon/types/index.d.ts +2 -2
- package/dist/components/pl-input-plus/components/pl-currency.vue.d.ts +46 -46
- package/dist/components/pl-input-plus/components/pl-default.vue.d.ts +72 -72
- package/dist/components/pl-input-plus/components/pl-password.vue.d.ts +47 -47
- package/dist/components/pl-input-plus/components/pl-textarea.vue.d.ts +45 -45
- package/dist/components/pl-input-plus/index.d.ts +5 -5
- package/dist/components/pl-input-plus/pl-input-plus.vue.d.ts +123 -123
- package/dist/components/pl-input-plus/types/index.d.ts +65 -65
- package/dist/components/pl-label/pl-label.vue.d.ts +41 -39
- package/dist/components/pl-link/index.d.ts +5 -5
- package/dist/components/pl-link/pl-link.vue.d.ts +50 -48
- package/dist/components/pl-mark-text/index.d.ts +16 -16
- package/dist/components/pl-mark-text/pl-mark-text.vue.d.ts +16 -16
- package/dist/components/pl-multi-select/components/pl-default.vue.d.ts +68 -68
- package/dist/components/pl-multi-select/components/pl-multi-select-dropdown.vue.d.ts +49 -49
- package/dist/components/pl-multi-select/index.d.ts +5 -5
- package/dist/components/pl-multi-select/pl-multi-select.vue.d.ts +72 -72
- package/dist/components/pl-multi-select/types/index.d.ts +33 -33
- package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +38 -38
- package/dist/components/pl-multitab/index.d.ts +5 -5
- package/dist/components/pl-multitab/pl-multitab.vue.d.ts +39 -39
- package/dist/components/pl-multitab/types/index.d.ts +14 -14
- package/dist/components/pl-option/index.d.ts +5 -5
- package/dist/components/pl-option/pl-option.vue.d.ts +122 -122
- package/dist/components/pl-radio/index.d.ts +5 -5
- package/dist/components/pl-radio/pl-radio.vue.d.ts +69 -69
- package/dist/components/pl-scrollbar/index.d.ts +5 -5
- package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +67 -65
- package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +1 -1
- package/dist/components/pl-select-plus/components/pl-account.vue.d.ts +68 -68
- package/dist/components/pl-select-plus/components/pl-default.vue.d.ts +68 -68
- package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +45 -45
- package/dist/components/pl-select-plus/index.d.ts +5 -5
- package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +77 -77
- package/dist/components/pl-select-plus/types/index.d.ts +38 -38
- package/dist/components/pl-skeleton/index.d.ts +5 -5
- package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +40 -40
- package/dist/components/pl-snackbar/index.d.ts +7 -7
- package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +47 -47
- package/dist/components/pl-snackbar/renderSnackbar.d.ts +3 -3
- package/dist/components/pl-snackbar/types.d.ts +25 -25
- package/dist/components/pl-stepper/index.d.ts +5 -5
- package/dist/components/pl-stepper/pl-stepper.vue.d.ts +57 -57
- package/dist/components/pl-switch/index.d.ts +5 -5
- package/dist/components/pl-switch/pl-switch.vue.d.ts +47 -47
- package/dist/components/pl-tab-pane/index.d.ts +5 -5
- package/dist/components/pl-tab-pane/pl-tab-pane.vue.d.ts +47 -45
- package/dist/components/pl-tab-pane/types/index.d.ts +8 -8
- package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +52 -52
- package/dist/components/pl-table-plus/index.d.ts +5 -5
- package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +95 -93
- package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +23 -21
- package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +45 -45
- package/dist/components/pl-tabs/index.d.ts +5 -5
- package/dist/components/pl-tabs/pl-tabs.vue.d.ts +45 -45
- package/dist/components/pl-tags/pl-tags.vue.d.ts +37 -35
- package/dist/components/pl-text/components/pl-body1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-body2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-body3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-bodyu.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-btn3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-cap.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h1.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h2.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h3.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-h4.vue.d.ts +23 -21
- package/dist/components/pl-text/components/pl-sub1.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-sub2.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-system.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-tag.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title1.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title2.vue.d.ts +19 -17
- package/dist/components/pl-text/components/pl-title3.vue.d.ts +19 -17
- package/dist/components/pl-text/index.d.ts +5 -5
- package/dist/components/pl-tooltip-plus/index.d.ts +5 -5
- package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +55 -53
- package/dist/components/pl-upload-plus/index.d.ts +5 -5
- package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +109 -109
- package/dist/components/pl-upload-plus/types/FileExtension.d.ts +1 -1
- package/dist/directives/index.d.ts +5 -5
- package/dist/directives/vInfiniteScroll/utils/position.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/utils/style.d.ts +1 -1
- package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +2 -2
- package/dist/directives/vLoading.d.ts +3 -3
- package/dist/directives/vTap.d.ts +3 -3
- package/dist/directives/vTouchOutside.d.ts +3 -3
- package/dist/install-function/index.d.ts +6 -6
- package/dist/main.d.ts +1 -1
- package/dist/plugins/api/api.d.ts +2 -2
- package/dist/plugins/filters.d.ts +8 -8
- package/dist/plugins/loading/loading.d.ts +3 -3
- package/dist/services/plLoading.d.ts +3 -3
- package/dist/utils/dadataParser.d.ts +11 -11
- package/dist/utils/declOfNum.d.ts +3 -3
- package/dist/utils/deepSet.d.ts +6 -6
- package/dist/utils/formatAccount.d.ts +2 -2
- package/dist/utils/formatCurrency.d.ts +3 -3
- package/dist/utils/formatDate.d.ts +3 -3
- package/dist/utils/getSourceCode.d.ts +5 -5
- package/dist/utils/isEqual.d.ts +3 -3
- package/dist/utils/types.d.ts +67 -67
- package/package.json +80 -66
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { default as dayjs, Dayjs } from 'dayjs';
|
|
2
2
|
import { Item } from '../types';
|
|
3
|
-
|
|
4
|
-
declare const WEEK_DAYS: string[];
|
|
5
|
-
declare const isCurrentDate: (item: Item) => boolean;
|
|
6
|
-
declare const isDisabledDate: (item: Item, disabledDate: (date: string) => boolean) => boolean;
|
|
7
|
-
declare const dayjsFormat: (value: Item) => Dayjs;
|
|
8
|
-
declare const capitalize: (value: string) => string;
|
|
9
|
-
declare const switchPrevMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
10
|
-
declare const switchNextMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
11
|
-
declare const switchPrevYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
12
|
-
declare const switchNextYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
13
|
-
declare const isCurrentItem: (item: Item, disabledDate: (date: string) => boolean) => boolean;
|
|
14
|
-
declare const getArrayOfDays: (date: Dayjs) => Item[];
|
|
15
|
-
export { WEEK_DAYS, isCurrentDate, isDisabledDate, dayjsFormat, capitalize, switchPrevMonth, switchNextMonth, switchPrevYear, switchNextYear, isCurrentItem, getArrayOfDays, };
|
|
3
|
+
|
|
4
|
+
declare const WEEK_DAYS: string[];
|
|
5
|
+
declare const isCurrentDate: (item: Item) => boolean;
|
|
6
|
+
declare const isDisabledDate: (item: Item, disabledDate: (date: string) => boolean) => boolean;
|
|
7
|
+
declare const dayjsFormat: (value: Item) => Dayjs;
|
|
8
|
+
declare const capitalize: (value: string) => string;
|
|
9
|
+
declare const switchPrevMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
10
|
+
declare const switchNextMonth: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
11
|
+
declare const switchPrevYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
12
|
+
declare const switchNextYear: (currentDate: Dayjs) => dayjs.Dayjs;
|
|
13
|
+
declare const isCurrentItem: (item: Item, disabledDate: (date: string) => boolean) => boolean;
|
|
14
|
+
declare const getArrayOfDays: (date: Dayjs) => Item[];
|
|
15
|
+
export { WEEK_DAYS, isCurrentDate, isDisabledDate, dayjsFormat, capitalize, switchPrevMonth, switchNextMonth, switchPrevYear, switchNextYear, isCurrentItem, getArrayOfDays, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const PlDatePickerPlusPlugin: {
|
|
4
|
-
install(app: App): void;
|
|
5
|
-
};
|
|
6
|
-
export default PlDatePickerPlusPlugin;
|
|
2
|
+
|
|
3
|
+
declare const PlDatePickerPlusPlugin: {
|
|
4
|
+
install(app: App): void;
|
|
5
|
+
};
|
|
6
|
+
export default PlDatePickerPlusPlugin;
|
package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts
CHANGED
|
@@ -1,83 +1,83 @@
|
|
|
1
1
|
import { IPickerProps } from '../common/types';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
|
4
|
-
modelValue: any;
|
|
5
|
-
width: string;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
label: string;
|
|
8
|
-
optional: string;
|
|
9
|
-
helpertext: string;
|
|
10
|
-
tooltip: string;
|
|
11
|
-
showInput: boolean;
|
|
12
|
-
periods: boolean;
|
|
13
|
-
monthSwitch: boolean;
|
|
14
|
-
yearSwitch: boolean;
|
|
15
|
-
prop: string;
|
|
16
|
-
clearable: boolean;
|
|
17
|
-
disabledDate: () => false;
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
disableTeleport: boolean;
|
|
20
|
-
}>, {
|
|
21
|
-
openPopup: () => void;
|
|
22
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
-
"update:modelValue": (...args: any[]) => void;
|
|
24
|
-
changeOpen: (...args: any[]) => void;
|
|
25
|
-
blur: (...args: any[]) => void;
|
|
26
|
-
change: (...args: any[]) => void;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
|
28
|
-
modelValue: any;
|
|
29
|
-
width: string;
|
|
30
|
-
placeholder: string;
|
|
31
|
-
label: string;
|
|
32
|
-
optional: string;
|
|
33
|
-
helpertext: string;
|
|
34
|
-
tooltip: string;
|
|
35
|
-
showInput: boolean;
|
|
36
|
-
periods: boolean;
|
|
37
|
-
monthSwitch: boolean;
|
|
38
|
-
yearSwitch: boolean;
|
|
39
|
-
prop: string;
|
|
40
|
-
clearable: boolean;
|
|
41
|
-
disabledDate: () => false;
|
|
42
|
-
disabled: boolean;
|
|
43
|
-
disableTeleport: boolean;
|
|
44
|
-
}>>> & {
|
|
45
|
-
onBlur?: (...args: any[]) => any;
|
|
46
|
-
onChange?: (...args: any[]) => any;
|
|
47
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
48
|
-
onChangeOpen?: (...args: any[]) => any;
|
|
49
|
-
}, {
|
|
50
|
-
label: string;
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
modelValue: string;
|
|
53
|
-
width: string;
|
|
54
|
-
placeholder: string;
|
|
55
|
-
showInput: boolean;
|
|
56
|
-
prop: string;
|
|
57
|
-
helpertext: string;
|
|
58
|
-
optional: string;
|
|
59
|
-
tooltip: string;
|
|
60
|
-
clearable: boolean;
|
|
61
|
-
monthSwitch: boolean;
|
|
62
|
-
yearSwitch: boolean;
|
|
63
|
-
disabledDate: (date: string) => boolean;
|
|
64
|
-
disableTeleport: boolean;
|
|
65
|
-
}, {}>;
|
|
66
|
-
export default _default;
|
|
67
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
69
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
-
} : {
|
|
72
|
-
type: import('vue').PropType<T[K]>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
type __VLS_WithDefaults<P, D> = {
|
|
77
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
78
|
-
default: D[K];
|
|
79
|
-
}> : P[K];
|
|
80
|
-
};
|
|
81
|
-
type __VLS_Prettify<T> = {
|
|
82
|
-
[K in keyof T]: T[K];
|
|
83
|
-
} & {};
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
|
4
|
+
modelValue: any;
|
|
5
|
+
width: string;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
label: string;
|
|
8
|
+
optional: string;
|
|
9
|
+
helpertext: string;
|
|
10
|
+
tooltip: string;
|
|
11
|
+
showInput: boolean;
|
|
12
|
+
periods: boolean;
|
|
13
|
+
monthSwitch: boolean;
|
|
14
|
+
yearSwitch: boolean;
|
|
15
|
+
prop: string;
|
|
16
|
+
clearable: boolean;
|
|
17
|
+
disabledDate: () => false;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
disableTeleport: boolean;
|
|
20
|
+
}>, {
|
|
21
|
+
openPopup: () => void;
|
|
22
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
|
+
"update:modelValue": (...args: any[]) => void;
|
|
24
|
+
changeOpen: (...args: any[]) => void;
|
|
25
|
+
blur: (...args: any[]) => void;
|
|
26
|
+
change: (...args: any[]) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerProps>, {
|
|
28
|
+
modelValue: any;
|
|
29
|
+
width: string;
|
|
30
|
+
placeholder: string;
|
|
31
|
+
label: string;
|
|
32
|
+
optional: string;
|
|
33
|
+
helpertext: string;
|
|
34
|
+
tooltip: string;
|
|
35
|
+
showInput: boolean;
|
|
36
|
+
periods: boolean;
|
|
37
|
+
monthSwitch: boolean;
|
|
38
|
+
yearSwitch: boolean;
|
|
39
|
+
prop: string;
|
|
40
|
+
clearable: boolean;
|
|
41
|
+
disabledDate: () => false;
|
|
42
|
+
disabled: boolean;
|
|
43
|
+
disableTeleport: boolean;
|
|
44
|
+
}>>> & {
|
|
45
|
+
onBlur?: (...args: any[]) => any;
|
|
46
|
+
onChange?: (...args: any[]) => any;
|
|
47
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
48
|
+
onChangeOpen?: (...args: any[]) => any;
|
|
49
|
+
}, {
|
|
50
|
+
label: string;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
modelValue: string | null;
|
|
53
|
+
width: string;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
showInput: boolean;
|
|
56
|
+
prop: string;
|
|
57
|
+
helpertext: string;
|
|
58
|
+
optional: string;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
clearable: boolean;
|
|
61
|
+
monthSwitch: boolean;
|
|
62
|
+
yearSwitch: boolean;
|
|
63
|
+
disabledDate: (date: string) => boolean;
|
|
64
|
+
disableTeleport: boolean;
|
|
65
|
+
}, {}>;
|
|
66
|
+
export default _default;
|
|
67
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
69
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
+
} : {
|
|
72
|
+
type: import('vue').PropType<T[K]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
type __VLS_WithDefaults<P, D> = {
|
|
77
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
78
|
+
default: D[K];
|
|
79
|
+
}> : P[K];
|
|
80
|
+
};
|
|
81
|
+
type __VLS_Prettify<T> = {
|
|
82
|
+
[K in keyof T]: T[K];
|
|
83
|
+
} & {};
|
|
@@ -1,85 +1,85 @@
|
|
|
1
1
|
import { IPickerRangeProps } from '../common/types';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
|
4
|
-
modelValue: () => any[];
|
|
5
|
-
width: string;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
label: string;
|
|
8
|
-
optional: string;
|
|
9
|
-
helpertext: string;
|
|
10
|
-
tooltip: string;
|
|
11
|
-
showInput: boolean;
|
|
12
|
-
periods: boolean;
|
|
13
|
-
periodOptions: () => any[];
|
|
14
|
-
monthSwitch: boolean;
|
|
15
|
-
yearSwitch: boolean;
|
|
16
|
-
prop: string;
|
|
17
|
-
clearable: boolean;
|
|
18
|
-
disabledDate: () => false;
|
|
19
|
-
disabled: boolean;
|
|
20
|
-
focusOnReset: boolean;
|
|
21
|
-
}>, {
|
|
22
|
-
openPopup: () => void;
|
|
23
|
-
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
-
"update:modelValue": (...args: any[]) => void;
|
|
25
|
-
changeOpen: (...args: any[]) => void;
|
|
26
|
-
blur: (...args: any[]) => void;
|
|
27
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
|
28
|
-
modelValue: () => any[];
|
|
29
|
-
width: string;
|
|
30
|
-
placeholder: string;
|
|
31
|
-
label: string;
|
|
32
|
-
optional: string;
|
|
33
|
-
helpertext: string;
|
|
34
|
-
tooltip: string;
|
|
35
|
-
showInput: boolean;
|
|
36
|
-
periods: boolean;
|
|
37
|
-
periodOptions: () => any[];
|
|
38
|
-
monthSwitch: boolean;
|
|
39
|
-
yearSwitch: boolean;
|
|
40
|
-
prop: string;
|
|
41
|
-
clearable: boolean;
|
|
42
|
-
disabledDate: () => false;
|
|
43
|
-
disabled: boolean;
|
|
44
|
-
focusOnReset: boolean;
|
|
45
|
-
}>>> & {
|
|
46
|
-
onBlur?: (...args: any[]) => any;
|
|
47
|
-
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
48
|
-
onChangeOpen?: (...args: any[]) => any;
|
|
49
|
-
}, {
|
|
50
|
-
label: string;
|
|
51
|
-
disabled: boolean;
|
|
52
|
-
modelValue: string[];
|
|
53
|
-
width: string;
|
|
54
|
-
placeholder: string;
|
|
55
|
-
showInput: boolean;
|
|
56
|
-
prop: string;
|
|
57
|
-
helpertext: string;
|
|
58
|
-
optional: string;
|
|
59
|
-
tooltip: string;
|
|
60
|
-
clearable: boolean;
|
|
61
|
-
focusOnReset: boolean;
|
|
62
|
-
periods: boolean;
|
|
63
|
-
periodOptions: string[];
|
|
64
|
-
monthSwitch: boolean;
|
|
65
|
-
yearSwitch: boolean;
|
|
66
|
-
disabledDate: (date: string) => boolean;
|
|
67
|
-
}, {}>;
|
|
68
|
-
export default _default;
|
|
69
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
70
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
71
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
72
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
73
|
-
} : {
|
|
74
|
-
type: import('vue').PropType<T[K]>;
|
|
75
|
-
required: true;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
type __VLS_WithDefaults<P, D> = {
|
|
79
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
80
|
-
default: D[K];
|
|
81
|
-
}> : P[K];
|
|
82
|
-
};
|
|
83
|
-
type __VLS_Prettify<T> = {
|
|
84
|
-
[K in keyof T]: T[K];
|
|
85
|
-
} & {};
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
|
4
|
+
modelValue: () => any[];
|
|
5
|
+
width: string;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
label: string;
|
|
8
|
+
optional: string;
|
|
9
|
+
helpertext: string;
|
|
10
|
+
tooltip: string;
|
|
11
|
+
showInput: boolean;
|
|
12
|
+
periods: boolean;
|
|
13
|
+
periodOptions: () => any[];
|
|
14
|
+
monthSwitch: boolean;
|
|
15
|
+
yearSwitch: boolean;
|
|
16
|
+
prop: string;
|
|
17
|
+
clearable: boolean;
|
|
18
|
+
disabledDate: () => false;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
focusOnReset: boolean;
|
|
21
|
+
}>, {
|
|
22
|
+
openPopup: () => void;
|
|
23
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (...args: any[]) => void;
|
|
25
|
+
changeOpen: (...args: any[]) => void;
|
|
26
|
+
blur: (...args: any[]) => void;
|
|
27
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPickerRangeProps>, {
|
|
28
|
+
modelValue: () => any[];
|
|
29
|
+
width: string;
|
|
30
|
+
placeholder: string;
|
|
31
|
+
label: string;
|
|
32
|
+
optional: string;
|
|
33
|
+
helpertext: string;
|
|
34
|
+
tooltip: string;
|
|
35
|
+
showInput: boolean;
|
|
36
|
+
periods: boolean;
|
|
37
|
+
periodOptions: () => any[];
|
|
38
|
+
monthSwitch: boolean;
|
|
39
|
+
yearSwitch: boolean;
|
|
40
|
+
prop: string;
|
|
41
|
+
clearable: boolean;
|
|
42
|
+
disabledDate: () => false;
|
|
43
|
+
disabled: boolean;
|
|
44
|
+
focusOnReset: boolean;
|
|
45
|
+
}>>> & {
|
|
46
|
+
onBlur?: (...args: any[]) => any;
|
|
47
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
48
|
+
onChangeOpen?: (...args: any[]) => any;
|
|
49
|
+
}, {
|
|
50
|
+
label: string;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
modelValue: string[] | null;
|
|
53
|
+
width: string;
|
|
54
|
+
placeholder: string;
|
|
55
|
+
showInput: boolean;
|
|
56
|
+
prop: string;
|
|
57
|
+
helpertext: string;
|
|
58
|
+
optional: string;
|
|
59
|
+
tooltip: string;
|
|
60
|
+
clearable: boolean;
|
|
61
|
+
focusOnReset: boolean;
|
|
62
|
+
periods: boolean;
|
|
63
|
+
periodOptions: string[];
|
|
64
|
+
monthSwitch: boolean;
|
|
65
|
+
yearSwitch: boolean;
|
|
66
|
+
disabledDate: (date: string) => boolean;
|
|
67
|
+
}, {}>;
|
|
68
|
+
export default _default;
|
|
69
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
70
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
71
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
72
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
73
|
+
} : {
|
|
74
|
+
type: import('vue').PropType<T[K]>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
type __VLS_WithDefaults<P, D> = {
|
|
79
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
80
|
+
default: D[K];
|
|
81
|
+
}> : P[K];
|
|
82
|
+
};
|
|
83
|
+
type __VLS_Prettify<T> = {
|
|
84
|
+
[K in keyof T]: T[K];
|
|
85
|
+
} & {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const PlDialog: {
|
|
4
|
-
install(app: App): void;
|
|
5
|
-
};
|
|
6
|
-
export default PlDialog;
|
|
2
|
+
|
|
3
|
+
declare const PlDialog: {
|
|
4
|
+
install(app: App): void;
|
|
5
|
+
};
|
|
6
|
+
export default PlDialog;
|
|
@@ -1,105 +1,107 @@
|
|
|
1
1
|
import { TIcon } from '../pl-icon/types';
|
|
2
|
-
|
|
3
|
-
interface IPlDialogPlusProps {
|
|
4
|
-
modelValue: boolean;
|
|
5
|
-
beforeClose?: () => void;
|
|
6
|
-
width?: string;
|
|
7
|
-
showHeader?: boolean;
|
|
8
|
-
showClose?: boolean;
|
|
9
|
-
disabledTeleport?: boolean;
|
|
10
|
-
closeOnOverlay?: boolean;
|
|
11
|
-
innerScroll?: boolean;
|
|
12
|
-
title?: string;
|
|
13
|
-
subTitle?: string;
|
|
14
|
-
icon?: TIcon;
|
|
15
|
-
status?: 'successful' | 'info' | 'delete' | 'attention' | 'neutral';
|
|
16
|
-
type?: 'standart' | 'status' | 'illustration' | 'side';
|
|
17
|
-
loading?: boolean;
|
|
18
|
-
overlayClass?: string;
|
|
19
|
-
dialogClass?: string;
|
|
20
|
-
manualClose?: boolean;
|
|
21
|
-
}
|
|
22
|
-
declare
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
}
|
|
89
|
-
type: import('vue').PropType<T[K]
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
2
|
+
|
|
3
|
+
interface IPlDialogPlusProps {
|
|
4
|
+
modelValue: boolean;
|
|
5
|
+
beforeClose?: () => void;
|
|
6
|
+
width?: string;
|
|
7
|
+
showHeader?: boolean;
|
|
8
|
+
showClose?: boolean;
|
|
9
|
+
disabledTeleport?: boolean;
|
|
10
|
+
closeOnOverlay?: boolean;
|
|
11
|
+
innerScroll?: boolean;
|
|
12
|
+
title?: string;
|
|
13
|
+
subTitle?: string;
|
|
14
|
+
icon?: TIcon;
|
|
15
|
+
status?: 'successful' | 'info' | 'delete' | 'attention' | 'neutral';
|
|
16
|
+
type?: 'standart' | 'status' | 'illustration' | 'side';
|
|
17
|
+
loading?: boolean;
|
|
18
|
+
overlayClass?: string;
|
|
19
|
+
dialogClass?: string;
|
|
20
|
+
manualClose?: boolean;
|
|
21
|
+
}
|
|
22
|
+
declare function __VLS_template(): {
|
|
23
|
+
header?(_: {
|
|
24
|
+
touchstart: () => void;
|
|
25
|
+
}): any;
|
|
26
|
+
headerBtns?(_: {}): any;
|
|
27
|
+
default?(_: {}): any;
|
|
28
|
+
footer?(_: {}): any;
|
|
29
|
+
};
|
|
30
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlDialogPlusProps>, {
|
|
31
|
+
modelValue: boolean;
|
|
32
|
+
width: string;
|
|
33
|
+
showHeader: boolean;
|
|
34
|
+
showClose: boolean;
|
|
35
|
+
disabledTeleport: boolean;
|
|
36
|
+
closeOnOverlay: boolean;
|
|
37
|
+
innerScroll: boolean;
|
|
38
|
+
type: string;
|
|
39
|
+
status: string;
|
|
40
|
+
icon: string;
|
|
41
|
+
loading: boolean;
|
|
42
|
+
overlayClass: string;
|
|
43
|
+
dialogClass: string;
|
|
44
|
+
manualClose: boolean;
|
|
45
|
+
}>, {
|
|
46
|
+
closeModal: () => void;
|
|
47
|
+
}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
48
|
+
"update:modelValue": (...args: any[]) => void;
|
|
49
|
+
"close-modal": (...args: any[]) => void;
|
|
50
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPlDialogPlusProps>, {
|
|
51
|
+
modelValue: boolean;
|
|
52
|
+
width: string;
|
|
53
|
+
showHeader: boolean;
|
|
54
|
+
showClose: boolean;
|
|
55
|
+
disabledTeleport: boolean;
|
|
56
|
+
closeOnOverlay: boolean;
|
|
57
|
+
innerScroll: boolean;
|
|
58
|
+
type: string;
|
|
59
|
+
status: string;
|
|
60
|
+
icon: string;
|
|
61
|
+
loading: boolean;
|
|
62
|
+
overlayClass: string;
|
|
63
|
+
dialogClass: string;
|
|
64
|
+
manualClose: boolean;
|
|
65
|
+
}>>> & {
|
|
66
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
67
|
+
"onClose-modal"?: (...args: any[]) => any;
|
|
68
|
+
}, {
|
|
69
|
+
type: "standart" | "status" | "illustration" | "side";
|
|
70
|
+
icon: TIcon;
|
|
71
|
+
modelValue: boolean;
|
|
72
|
+
width: string;
|
|
73
|
+
showHeader: boolean;
|
|
74
|
+
showClose: boolean;
|
|
75
|
+
disabledTeleport: boolean;
|
|
76
|
+
loading: boolean;
|
|
77
|
+
status: "successful" | "info" | "delete" | "attention" | "neutral";
|
|
78
|
+
closeOnOverlay: boolean;
|
|
79
|
+
innerScroll: boolean;
|
|
80
|
+
overlayClass: string;
|
|
81
|
+
dialogClass: string;
|
|
82
|
+
manualClose: boolean;
|
|
83
|
+
}, {}>;
|
|
84
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
85
|
+
export default _default;
|
|
86
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
88
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
89
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
90
|
+
} : {
|
|
91
|
+
type: import('vue').PropType<T[K]>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
type __VLS_WithDefaults<P, D> = {
|
|
96
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
97
|
+
default: D[K];
|
|
98
|
+
}> : P[K];
|
|
99
|
+
};
|
|
100
|
+
type __VLS_Prettify<T> = {
|
|
101
|
+
[K in keyof T]: T[K];
|
|
102
|
+
} & {};
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
|
|
3
|
-
declare const PlForm: {
|
|
4
|
-
install(app: App): void;
|
|
5
|
-
};
|
|
6
|
-
export default PlForm;
|
|
2
|
+
|
|
3
|
+
declare const PlForm: {
|
|
4
|
+
install(app: App): void;
|
|
5
|
+
};
|
|
6
|
+
export default PlForm;
|