@factoringplus/pl-components-pack-v3 1.1.2-pre-03 → 1.1.2-pre-05
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/pl-components-pack-v3.d.ts +80 -3
- package/package.json +1 -1
- package/dist/components/button/index.d.ts +0 -7
- package/dist/components/button/pl-button.vue.d.ts +0 -64
- package/dist/components/button/types/index.d.ts +0 -21
- package/dist/components/components.d.ts +0 -38
- package/dist/components/currency-input/index.d.ts +0 -5
- package/dist/components/entry.d.ts +0 -19
- package/dist/components/pl-autocomplete/components/pl-autocomplete-dropdown.vue.d.ts +0 -60
- package/dist/components/pl-autocomplete/components/pl-default.vue.d.ts +0 -60
- package/dist/components/pl-autocomplete/index.d.ts +0 -5
- package/dist/components/pl-autocomplete/pl-autocompete.vue.d.ts +0 -91
- package/dist/components/pl-autocomplete/types/index.d.ts +0 -58
- package/dist/components/pl-card/index.d.ts +0 -5
- package/dist/components/pl-checkbox/index.d.ts +0 -5
- package/dist/components/pl-checkbox-plus/index.d.ts +0 -5
- package/dist/components/pl-checkbox-plus/pl-checkbox-plus.vue.d.ts +0 -72
- package/dist/components/pl-date-picker/index.d.ts +0 -5
- package/dist/components/pl-date-picker-legacy/index.d.ts +0 -5
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerRangeWrapper.vue.d.ts +0 -83
- package/dist/components/pl-date-picker-plus/common/components/PlDatePickerWrapper.vue.d.ts +0 -69
- package/dist/components/pl-date-picker-plus/index.d.ts +0 -5
- package/dist/components/pl-date-picker-plus/pl-date-picker-plus/pl-date-picker-plus.vue.d.ts +0 -92
- package/dist/components/pl-date-picker-plus/pl-date-picker-range-plus/pl-date-picker-range-plus.vue.d.ts +0 -102
- package/dist/components/pl-dialog/index.d.ts +0 -5
- package/dist/components/pl-dialog/pl-dialog-plus.stories.d.ts +0 -1154
- package/dist/components/pl-dialog/pl-dialog-plus.vue.d.ts +0 -82
- package/dist/components/pl-dialog/pl-dialog.stories.d.ts +0 -956
- package/dist/components/pl-dialog/pl-dialog.vue.d.ts +0 -102
- package/dist/components/pl-form/index.d.ts +0 -5
- package/dist/components/pl-form/pl-form.vue.d.ts +0 -48
- package/dist/components/pl-form-item/index.d.ts +0 -5
- package/dist/components/pl-icon/index.d.ts +0 -7
- package/dist/components/pl-icon/pl-icon.vue.d.ts +0 -12
- package/dist/components/pl-icon/types/iconsType.d.ts +0 -5
- package/dist/components/pl-icon/types/index.d.ts +0 -2
- package/dist/components/pl-input/index.d.ts +0 -5
- package/dist/components/pl-input-native/index.d.ts +0 -5
- package/dist/components/pl-input-plus/index.d.ts +0 -5
- package/dist/components/pl-label/pl-label.vue.d.ts +0 -39
- package/dist/components/pl-link/index.d.ts +0 -5
- package/dist/components/pl-link/pl-link.vue.d.ts +0 -48
- package/dist/components/pl-multitab/components/pl-tab-card.vue.d.ts +0 -50
- package/dist/components/pl-multitab/index.d.ts +0 -5
- package/dist/components/pl-option/index.d.ts +0 -5
- package/dist/components/pl-option/pl-option.vue.d.ts +0 -122
- package/dist/components/pl-radio/index.d.ts +0 -5
- package/dist/components/pl-radio/pl-radio.vue.d.ts +0 -69
- package/dist/components/pl-scrollbar/index.d.ts +0 -5
- package/dist/components/pl-scrollbar/pl-scrollbar.vue.d.ts +0 -65
- package/dist/components/pl-scrollbar/utils/getSizeWithUnits.d.ts +0 -1
- package/dist/components/pl-select/index.d.ts +0 -5
- package/dist/components/pl-select-plus/components/pl-select-dropdown.vue.d.ts +0 -45
- package/dist/components/pl-select-plus/index.d.ts +0 -5
- package/dist/components/pl-select-plus/pl-select-plus.vue.d.ts +0 -77
- package/dist/components/pl-select-plus/types/index.d.ts +0 -38
- package/dist/components/pl-skeleton/index.d.ts +0 -5
- package/dist/components/pl-skeleton/pl-skeleton.vue.d.ts +0 -38
- package/dist/components/pl-snackbar/index.d.ts +0 -7
- package/dist/components/pl-snackbar/pl-snackbar.vue.d.ts +0 -53
- package/dist/components/pl-snackbar/renderSnackbar.d.ts +0 -10
- package/dist/components/pl-snackbar/types.d.ts +0 -20
- package/dist/components/pl-stepper/index.d.ts +0 -5
- package/dist/components/pl-suggestions/index.d.ts +0 -5
- package/dist/components/pl-switch/index.d.ts +0 -5
- package/dist/components/pl-switch/pl-switch.vue.d.ts +0 -47
- package/dist/components/pl-tab-pane/index.d.ts +0 -5
- package/dist/components/pl-table/index.d.ts +0 -5
- package/dist/components/pl-table-plus/components/row-mask.vue.d.ts +0 -52
- package/dist/components/pl-table-plus/index.d.ts +0 -5
- package/dist/components/pl-table-plus/pl-table-plus.vue.d.ts +0 -93
- package/dist/components/pl-tabs/components/pl-tab-counter.vue.d.ts +0 -21
- package/dist/components/pl-tabs/components/pl-tab.vue.d.ts +0 -50
- package/dist/components/pl-tabs/index.d.ts +0 -5
- 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-text/index.d.ts +0 -5
- package/dist/components/pl-tooltip/index.d.ts +0 -5
- package/dist/components/pl-tooltip-plus/index.d.ts +0 -5
- package/dist/components/pl-tooltip-plus/pl-tooltip-plus.vue.d.ts +0 -45
- package/dist/components/pl-upload/index.d.ts +0 -5
- package/dist/components/pl-upload-legacy/index.d.ts +0 -5
- package/dist/components/pl-upload-plus/index.d.ts +0 -5
- package/dist/components/pl-upload-plus/pl-upload-plus.vue.d.ts +0 -96
- package/dist/components/pl-upload-plus/types/FileExtension.d.ts +0 -1
- package/dist/directives/index.d.ts +0 -4
- package/dist/directives/vInfiniteScroll/utils/position.d.ts +0 -1
- package/dist/directives/vInfiniteScroll/utils/scroll.d.ts +0 -1
- package/dist/directives/vInfiniteScroll/utils/style.d.ts +0 -1
- package/dist/directives/vInfiniteScroll/vInfiniteScroll.d.ts +0 -2
- package/dist/directives/vLoading.d.ts +0 -3
- package/dist/directives/vTap.d.ts +0 -3
- package/dist/directives/vTouchOutside.d.ts +0 -3
- package/dist/main.d.ts +0 -1
- package/dist/plugins/api/api.d.ts +0 -2
- package/dist/plugins/loading/loading.d.ts +0 -1
- package/dist/services/plLoading.d.ts +0 -3
- package/dist/utils/declOfNum.d.ts +0 -1
|
@@ -1,3 +1,80 @@
|
|
|
1
|
-
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import type { AppContext } from 'vue';
|
|
3
|
+
import type { Plugin as Plugin_2 } from 'vue';
|
|
4
|
+
|
|
5
|
+
declare type ActionFn = (...args: any[]) => Promise<any>;
|
|
6
|
+
|
|
7
|
+
export declare interface IPlNotification {
|
|
8
|
+
success: Function;
|
|
9
|
+
error: Function;
|
|
10
|
+
warning: Function;
|
|
11
|
+
info: Function;
|
|
12
|
+
custom: Function;
|
|
13
|
+
closeAll: Function;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export declare interface IProps {
|
|
17
|
+
id: number;
|
|
18
|
+
icon: string;
|
|
19
|
+
color: string;
|
|
20
|
+
title: string;
|
|
21
|
+
button: string;
|
|
22
|
+
buttonAdd: string;
|
|
23
|
+
action: Function;
|
|
24
|
+
actionAdd: Function;
|
|
25
|
+
message: string;
|
|
26
|
+
blockHide: boolean;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare function loadingAndSetup(bindData: any, apiCall: any, apiParams: any, loadingArr: any, fastResponse?: boolean): any;
|
|
30
|
+
|
|
31
|
+
declare function plLoading(action: ActionFn): ActionFn;
|
|
32
|
+
|
|
33
|
+
export declare const PlNotification: SFCInstallWithContext<IPlNotification>;
|
|
34
|
+
|
|
35
|
+
export declare type SFCInstallWithContext<T> = SFCWithInstall<T> & {
|
|
36
|
+
_context: AppContext | null;
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export declare type SFCWithInstall<T> = T & Plugin_2;
|
|
40
|
+
|
|
41
|
+
declare const Storybook: {
|
|
42
|
+
install: (app: App) => void;
|
|
43
|
+
PlNotification: IPlNotification;
|
|
44
|
+
apiJs: (optionsRequest: any, isGetResourse: boolean | undefined, token: any) => Promise<unknown>;
|
|
45
|
+
plLoading: typeof plLoading;
|
|
46
|
+
loader: typeof loadingAndSetup;
|
|
47
|
+
};
|
|
48
|
+
export default Storybook;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @param fullWidth boolean;
|
|
52
|
+
* @param disabled boolean;
|
|
53
|
+
* @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
54
|
+
* @param size 'large' | 'medium' | 'small';
|
|
55
|
+
* @param icon IIcon;
|
|
56
|
+
* @param iconColor string;
|
|
57
|
+
* @param iconPosition 'left' | 'right';
|
|
58
|
+
* @param nativeType 'button'| 'submit'| 'reset' | undefined
|
|
59
|
+
*/
|
|
60
|
+
export declare type TButtonProps = {
|
|
61
|
+
fullWidth?: boolean;
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
64
|
+
size?: 'large' | 'medium' | 'small';
|
|
65
|
+
icon?: TIcon;
|
|
66
|
+
iconColor?: string;
|
|
67
|
+
iconPosition?: 'left' | 'right';
|
|
68
|
+
nativeType?: 'button' | 'submit' | 'reset';
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export declare type TIcon = '' | 'Close16' | 'User20' | 'Group20' | 'Edit20' | 'BlankPan20' | 'Support20' | 'HandKey20' | 'Lock20' | 'Connection20' | 'Picture20' | 'Ruble20' | 'Document20' | 'Clip20' | 'Bell20' | 'USB20' | 'Layers20' | 'BlankKey20' | 'BlankChat20' | 'BlankCheck20' | 'BlankLock20' | 'Calendar20' | 'MailCheck20' | 'Mail20' | 'HandTop20' | 'HandRight20' | 'Pin20' | 'Rotate20' | 'Search20' | 'ArrowTop20' | 'ArrowRight20' | 'ArrowLeft20' | 'ArrowBottom20' | 'Settings20' | 'Chart20' | 'Exit20' | 'Warning20' | 'WarningTwo20' | 'WarningThree20' | 'CircleCheck20' | 'Question20' | 'Library20' | 'Loader20' | 'Share20' | 'Saved20' | 'CloudDownload20' | 'Bin20' | 'Eye20' | 'EyeCrossed20' | 'Chat20' | 'Bell20' | 'DotsHorizontal20' | 'DotsVertical20' | 'Scheduled20' | 'Dashboard20' | 'Clock20' | 'Box20' | 'Sort20' | 'SortTwo20' | 'Filter20' | 'Grid20' | 'Hub20' | 'GridTwo20' | 'Home20' | 'Key20' | 'Bulb20' | 'Attachment20' | 'Download20' | 'Link20' | 'Copy20' | 'Telegram20' | 'SortThree20' | 'Plus20' | 'Minus20' | 'Close20' | 'Check20' | 'Scroll20' | 'Print20' | 'Send20' | 'Block20' | 'Star20' | 'Share20' | 'Sticker20' | 'ChevronDoubleLeft20' | 'Cube20' | 'Menu20' | 'AlertFill20' | 'Main20' | 'Wallet20' | 'Truck20' | 'Percent20' | 'Shield20' | 'ChevronDown20' | 'ChevronUp20' | 'ChevronLeft20' | 'ChevronRight20' | 'CreditCard20' | 'Zap20' | 'User24' | 'Group24' | 'Edit24' | 'BlankPan24' | 'Support24' | 'HandKey24' | 'Lock24' | 'Connection24' | 'Picture24' | 'Ruble24' | 'Document24' | 'Clip24' | 'Bell24' | 'USB24' | 'Layers24' | 'BlankKey24' | 'BlankChat24' | 'BlankCheck24' | 'BlankLock24' | 'Calendar24' | 'MailCheck24' | 'Mail24' | 'HandTop24' | 'HandRight24' | 'Pin24' | 'Rotate24' | 'Search24' | 'ArrowTop24' | 'ArrowRight24' | 'ArrowLeft24' | 'ArrowBottom24' | 'Settings24' | 'Chart24' | 'Exit24' | 'Warning24' | 'WarningTwo24' | 'WarningThree24' | 'CircleCheck24' | 'Question24' | 'Library24' | 'Loader24' | 'Share24' | 'Saved24' | 'CloudDownload24' | 'Bin24' | 'Eye24' | 'EyeCrossed24' | 'Chat24' | 'Bell24' | 'DotsHorizontal24' | 'DotsVertical24' | 'Scheduled24' | 'Dashboard24' | 'Clock24' | 'Box24' | 'Sort24' | 'SortTwo24' | 'Filter24' | 'Grid24' | 'Hub24' | 'GridTwo24' | 'Home24' | 'Key24' | 'Bulb24' | 'Attachment24' | 'Download24' | 'Link24' | 'Copy24' | 'Telegram24' | 'SortThree24' | 'Plus24' | 'Minus24' | 'Close24' | 'Check24' | 'Scroll24' | 'Print24' | 'Send24' | 'Block24' | 'Star24' | 'Share24' | 'Sticker24' | 'ChevronDoubleLeft24' | 'ChevronDoubleRight24' | 'Cube24' | 'Menu24' | 'AlertFill24' | 'Main24' | 'Wallet24' | 'Truck24' | 'Percent24' | 'Shield24' | 'ChevronDown24' | 'ChevronUp24' | 'ChevronLeft24' | 'ChevronRight24' | 'Word24' | 'Exel24' | 'PDF24' | 'JPG24' | 'PNG24' | 'Info24' | 'WB20' | 'Ozon20' | 'Yandex20' | 'WB24' | 'Ozon24' | 'Yandex24' | 'WB40' | 'Ozon40' | 'Yandex40' | 'WB56' | 'Ozon56' | 'Yandex56';
|
|
72
|
+
|
|
73
|
+
export declare type TIconProps = {
|
|
74
|
+
name: TIcon;
|
|
75
|
+
color?: string | '';
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
|
|
79
|
+
|
|
80
|
+
export { }
|
package/package.json
CHANGED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { TButtonProps } from './types';
|
|
2
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
|
|
3
|
-
/**
|
|
4
|
-
* Выставляет ширину кнопки в 100%
|
|
5
|
-
*/
|
|
6
|
-
fullWidth: boolean;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
type: string;
|
|
9
|
-
size: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
iconColor: string;
|
|
12
|
-
iconPosition: string;
|
|
13
|
-
nativeType: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
click: (...args: any[]) => void;
|
|
16
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TButtonProps>, {
|
|
17
|
-
/**
|
|
18
|
-
* Выставляет ширину кнопки в 100%
|
|
19
|
-
*/
|
|
20
|
-
fullWidth: boolean;
|
|
21
|
-
disabled: boolean;
|
|
22
|
-
type: string;
|
|
23
|
-
size: string;
|
|
24
|
-
icon: string;
|
|
25
|
-
iconColor: string;
|
|
26
|
-
iconPosition: string;
|
|
27
|
-
nativeType: string;
|
|
28
|
-
}>>> & {
|
|
29
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
type: "primary" | "secondary" | "alternative" | "error" | "empty";
|
|
32
|
-
icon: import("../pl-icon").TIcon;
|
|
33
|
-
fullWidth: boolean;
|
|
34
|
-
disabled: boolean;
|
|
35
|
-
size: "small" | "large" | "medium";
|
|
36
|
-
iconColor: string;
|
|
37
|
-
iconPosition: "left" | "right";
|
|
38
|
-
nativeType: "button" | "submit" | "reset";
|
|
39
|
-
}, {}>, {
|
|
40
|
-
default?(_: {}): any;
|
|
41
|
-
}>;
|
|
42
|
-
export default _default;
|
|
43
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
-
} : {
|
|
48
|
-
type: import('vue').PropType<T[K]>;
|
|
49
|
-
required: true;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
53
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
-
default: D[K];
|
|
55
|
-
}> : P[K];
|
|
56
|
-
};
|
|
57
|
-
declare type __VLS_Prettify<T> = {
|
|
58
|
-
[K in keyof T]: T[K];
|
|
59
|
-
} & {};
|
|
60
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
61
|
-
new (): {
|
|
62
|
-
$slots: S;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { TIcon } from '../../pl-icon/types';
|
|
2
|
-
/**
|
|
3
|
-
* @param fullWidth boolean;
|
|
4
|
-
* @param disabled boolean;
|
|
5
|
-
* @param type 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
6
|
-
* @param size 'large' | 'medium' | 'small';
|
|
7
|
-
* @param icon IIcon;
|
|
8
|
-
* @param iconColor string;
|
|
9
|
-
* @param iconPosition 'left' | 'right';
|
|
10
|
-
* @param nativeType 'button'| 'submit'| 'reset' | undefined
|
|
11
|
-
*/
|
|
12
|
-
export declare type TButtonProps = {
|
|
13
|
-
fullWidth?: boolean;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
type?: 'primary' | 'secondary' | 'alternative' | 'error' | 'empty';
|
|
16
|
-
size?: 'large' | 'medium' | 'small';
|
|
17
|
-
icon?: TIcon;
|
|
18
|
-
iconColor?: string;
|
|
19
|
-
iconPosition?: 'left' | 'right';
|
|
20
|
-
nativeType?: 'button' | 'submit' | 'reset';
|
|
21
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { Plugin } from 'vue';
|
|
2
|
-
export * from './button';
|
|
3
|
-
export * from './currency-input';
|
|
4
|
-
export * from './pl-autocomplete';
|
|
5
|
-
export * from './pl-card';
|
|
6
|
-
export * from './pl-checkbox';
|
|
7
|
-
export * from './pl-checkbox-plus';
|
|
8
|
-
export * from './pl-date-picker';
|
|
9
|
-
export * from './pl-date-picker-legacy';
|
|
10
|
-
export * from './pl-date-picker-plus';
|
|
11
|
-
export * from './pl-dialog';
|
|
12
|
-
export * from './pl-form';
|
|
13
|
-
export * from './pl-icon';
|
|
14
|
-
export * from './pl-input';
|
|
15
|
-
export * from './pl-input-plus';
|
|
16
|
-
export * from './pl-link';
|
|
17
|
-
export * from './pl-multitab';
|
|
18
|
-
export * from './pl-radio';
|
|
19
|
-
export * from './pl-scrollbar';
|
|
20
|
-
export * from './pl-select';
|
|
21
|
-
export * from './pl-select-plus';
|
|
22
|
-
export * from './pl-skeleton';
|
|
23
|
-
export * from './pl-snackbar';
|
|
24
|
-
export * from './pl-stepper';
|
|
25
|
-
export * from './pl-suggestions';
|
|
26
|
-
export * from './pl-switch';
|
|
27
|
-
export * from './pl-tab-pane';
|
|
28
|
-
export * from './pl-table';
|
|
29
|
-
export * from './pl-table-plus';
|
|
30
|
-
export * from './pl-tabs';
|
|
31
|
-
export * from './pl-text';
|
|
32
|
-
export * from './pl-tooltip';
|
|
33
|
-
export * from './pl-upload';
|
|
34
|
-
export * from './pl-upload-legacy';
|
|
35
|
-
export * from './pl-upload-plus';
|
|
36
|
-
export * from './pl-tooltip-plus';
|
|
37
|
-
declare const _default: Plugin<any[]>[];
|
|
38
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { App } from 'vue';
|
|
2
|
-
import plLoading from '../services/plLoading';
|
|
3
|
-
import loadingAndSetup from '../plugins/loading/loading';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
import type { IPlNotification } from './pl-snackbar/types';
|
|
11
|
-
declare const Storybook: {
|
|
12
|
-
install: (app: App) => void;
|
|
13
|
-
PlNotification: IPlNotification;
|
|
14
|
-
apiJs: (optionsRequest: any, isGetResourse: boolean | undefined, token: any) => Promise<unknown>;
|
|
15
|
-
plLoading: typeof plLoading;
|
|
16
|
-
loader: typeof loadingAndSetup;
|
|
17
|
-
};
|
|
18
|
-
export * from './components';
|
|
19
|
-
export default Storybook;
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { IDropdownProps, IOption } from '../types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
|
|
3
|
-
focus: boolean;
|
|
4
|
-
id: string;
|
|
5
|
-
helpertext: string;
|
|
6
|
-
errors: () => never[];
|
|
7
|
-
offsets: string;
|
|
8
|
-
loadingSuggestions: boolean;
|
|
9
|
-
query: string;
|
|
10
|
-
symbolsCountSearch: number;
|
|
11
|
-
disableMarkerBottom: boolean;
|
|
12
|
-
suggestionList: () => never[];
|
|
13
|
-
uniqKey: string;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
-
"select-value": (...args: any[]) => void;
|
|
16
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDropdownProps>, {
|
|
17
|
-
focus: boolean;
|
|
18
|
-
id: string;
|
|
19
|
-
helpertext: string;
|
|
20
|
-
errors: () => never[];
|
|
21
|
-
offsets: string;
|
|
22
|
-
loadingSuggestions: boolean;
|
|
23
|
-
query: string;
|
|
24
|
-
symbolsCountSearch: number;
|
|
25
|
-
disableMarkerBottom: boolean;
|
|
26
|
-
suggestionList: () => never[];
|
|
27
|
-
uniqKey: string;
|
|
28
|
-
}>>> & {
|
|
29
|
-
"onSelect-value"?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
id: string;
|
|
32
|
-
focus: boolean;
|
|
33
|
-
query: string;
|
|
34
|
-
helpertext: string;
|
|
35
|
-
errors: import("async-validator").ValidateError[];
|
|
36
|
-
offsets: string;
|
|
37
|
-
loadingSuggestions: boolean;
|
|
38
|
-
symbolsCountSearch: number;
|
|
39
|
-
suggestionList: IOption[];
|
|
40
|
-
disableMarkerBottom: boolean;
|
|
41
|
-
uniqKey: string;
|
|
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,60 +0,0 @@
|
|
|
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,91 +0,0 @@
|
|
|
1
|
-
import type { IOption, IAutocompleteProps } from './types';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteProps>, {
|
|
3
|
-
modelValue: IOption;
|
|
4
|
-
prop: string;
|
|
5
|
-
placeholder: string;
|
|
6
|
-
width: string;
|
|
7
|
-
helpertext: string;
|
|
8
|
-
optional: string;
|
|
9
|
-
label: string;
|
|
10
|
-
tooltip: string;
|
|
11
|
-
leftIcon: string;
|
|
12
|
-
rightIcon: string;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
clearable: boolean;
|
|
15
|
-
symbolsCountSearch: number;
|
|
16
|
-
suggestionList: () => never[];
|
|
17
|
-
noData: string;
|
|
18
|
-
defaultDropText: string;
|
|
19
|
-
memoryBlur: boolean;
|
|
20
|
-
disableMarkerBottom: boolean;
|
|
21
|
-
uniqKey: string;
|
|
22
|
-
teleport: boolean;
|
|
23
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
-
"update:modelValue": (...args: any[]) => void;
|
|
25
|
-
fetchDadata: (...args: any[]) => void;
|
|
26
|
-
changeValue: (...args: any[]) => void;
|
|
27
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IAutocompleteProps>, {
|
|
28
|
-
modelValue: IOption;
|
|
29
|
-
prop: string;
|
|
30
|
-
placeholder: string;
|
|
31
|
-
width: string;
|
|
32
|
-
helpertext: string;
|
|
33
|
-
optional: string;
|
|
34
|
-
label: string;
|
|
35
|
-
tooltip: string;
|
|
36
|
-
leftIcon: string;
|
|
37
|
-
rightIcon: string;
|
|
38
|
-
disabled: boolean;
|
|
39
|
-
clearable: boolean;
|
|
40
|
-
symbolsCountSearch: number;
|
|
41
|
-
suggestionList: () => never[];
|
|
42
|
-
noData: string;
|
|
43
|
-
defaultDropText: string;
|
|
44
|
-
memoryBlur: boolean;
|
|
45
|
-
disableMarkerBottom: boolean;
|
|
46
|
-
uniqKey: string;
|
|
47
|
-
teleport: boolean;
|
|
48
|
-
}>>> & {
|
|
49
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onFetchDadata?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
onChangeValue?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}, {
|
|
53
|
-
label: string;
|
|
54
|
-
disabled: boolean;
|
|
55
|
-
modelValue: IOption;
|
|
56
|
-
prop: string;
|
|
57
|
-
placeholder: string;
|
|
58
|
-
clearable: boolean;
|
|
59
|
-
leftIcon: import("../pl-icon").TIcon;
|
|
60
|
-
memoryBlur: boolean;
|
|
61
|
-
helpertext: string;
|
|
62
|
-
symbolsCountSearch: number;
|
|
63
|
-
suggestionList: IOption[];
|
|
64
|
-
disableMarkerBottom: boolean;
|
|
65
|
-
uniqKey: string;
|
|
66
|
-
defaultDropText: string;
|
|
67
|
-
noData: string;
|
|
68
|
-
rightIcon: import("../pl-icon").TIcon;
|
|
69
|
-
width: string;
|
|
70
|
-
optional: string;
|
|
71
|
-
tooltip: string;
|
|
72
|
-
teleport: boolean;
|
|
73
|
-
}, {}>;
|
|
74
|
-
export default _default;
|
|
75
|
-
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
76
|
-
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
77
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
78
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
79
|
-
} : {
|
|
80
|
-
type: import('vue').PropType<T[K]>;
|
|
81
|
-
required: true;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
declare type __VLS_WithDefaults<P, D> = {
|
|
85
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
86
|
-
default: D[K];
|
|
87
|
-
}> : P[K];
|
|
88
|
-
};
|
|
89
|
-
declare type __VLS_Prettify<T> = {
|
|
90
|
-
[K in keyof T]: T[K];
|
|
91
|
-
} & {};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { ValidateError } from 'async-validator';
|
|
2
|
-
import type { TIcon } from '../../pl-icon/types';
|
|
3
|
-
declare interface IOption {
|
|
4
|
-
value: string;
|
|
5
|
-
bottomText?: string;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
data?: boolean | object;
|
|
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
|
-
}
|
|
20
|
-
declare interface IAutocompleteProps {
|
|
21
|
-
modelValue: IOption;
|
|
22
|
-
suggestionList: IOption[];
|
|
23
|
-
prop?: string;
|
|
24
|
-
placeholder?: string;
|
|
25
|
-
width?: string;
|
|
26
|
-
helpertext?: string;
|
|
27
|
-
optional?: string;
|
|
28
|
-
label?: string;
|
|
29
|
-
tooltip?: string;
|
|
30
|
-
leftIcon?: TIcon;
|
|
31
|
-
rightIcon?: TIcon;
|
|
32
|
-
disabled?: boolean;
|
|
33
|
-
clearable?: boolean;
|
|
34
|
-
symbolsCountSearch?: number;
|
|
35
|
-
noData?: string;
|
|
36
|
-
defaultDropText?: string;
|
|
37
|
-
memoryBlur?: boolean;
|
|
38
|
-
disableMarkerBottom?: boolean;
|
|
39
|
-
uniqKey?: string;
|
|
40
|
-
teleport?: boolean;
|
|
41
|
-
}
|
|
42
|
-
declare interface IDropdownProps {
|
|
43
|
-
focus: boolean;
|
|
44
|
-
id: string;
|
|
45
|
-
helpertext: string;
|
|
46
|
-
errors: ValidateError[];
|
|
47
|
-
offsets: string;
|
|
48
|
-
loadingSuggestions: boolean;
|
|
49
|
-
query: string;
|
|
50
|
-
symbolsCountSearch: number;
|
|
51
|
-
suggestionList: IOption[];
|
|
52
|
-
disableMarkerBottom: boolean;
|
|
53
|
-
uniqKey: string;
|
|
54
|
-
selectedValue: IOption;
|
|
55
|
-
defaultDropText: string;
|
|
56
|
-
noData: string;
|
|
57
|
-
}
|
|
58
|
-
export { IOption, IAutocompleteProps, IDropdownProps, IAutocompleteDefaultProps };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
size: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
label: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
description: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
modelValue: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
default: boolean;
|
|
17
|
-
};
|
|
18
|
-
disabled: {
|
|
19
|
-
type: BooleanConstructor;
|
|
20
|
-
default: boolean;
|
|
21
|
-
};
|
|
22
|
-
isIndeterminate: {
|
|
23
|
-
type: BooleanConstructor;
|
|
24
|
-
default: boolean;
|
|
25
|
-
};
|
|
26
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
-
"update:modelValue": (...args: any[]) => void;
|
|
28
|
-
change: (...args: any[]) => void;
|
|
29
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
size: {
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
label: {
|
|
35
|
-
type: StringConstructor;
|
|
36
|
-
default: string;
|
|
37
|
-
};
|
|
38
|
-
description: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
modelValue: {
|
|
43
|
-
type: BooleanConstructor;
|
|
44
|
-
default: boolean;
|
|
45
|
-
};
|
|
46
|
-
disabled: {
|
|
47
|
-
type: BooleanConstructor;
|
|
48
|
-
default: boolean;
|
|
49
|
-
};
|
|
50
|
-
isIndeterminate: {
|
|
51
|
-
type: BooleanConstructor;
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
}>> & {
|
|
55
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
56
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
57
|
-
}, {
|
|
58
|
-
label: string;
|
|
59
|
-
disabled: boolean;
|
|
60
|
-
size: string;
|
|
61
|
-
modelValue: boolean;
|
|
62
|
-
description: string;
|
|
63
|
-
isIndeterminate: boolean;
|
|
64
|
-
}, {}>, {
|
|
65
|
-
default?(_: {}): any;
|
|
66
|
-
}>;
|
|
67
|
-
export default _default;
|
|
68
|
-
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
-
new (): {
|
|
70
|
-
$slots: S;
|
|
71
|
-
};
|
|
72
|
-
};
|