@pksep/yui 0.1.129
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 +79 -0
- package/dist/common/colors.d.ts +10 -0
- package/dist/common/dataTestidProps.d.ts +3 -0
- package/dist/common/extentions.d.ts +13 -0
- package/dist/common/sizes.d.ts +6 -0
- package/dist/common/storybook.d.ts +17 -0
- package/dist/components/Accordion/Accordion.vue.d.ts +37 -0
- package/dist/components/Accordion/interfaces/interfaces.d.ts +4 -0
- package/dist/components/Avatar/Avatar.vue.d.ts +13 -0
- package/dist/components/Avatar/interfaces/interfaces.d.ts +9 -0
- package/dist/components/Badges/Badges.vue.d.ts +43 -0
- package/dist/components/Badges/enum/enum.d.ts +12 -0
- package/dist/components/Badges/interface/interface.d.ts +9 -0
- package/dist/components/BreadCrumbs/BreadCrumbs.vue.d.ts +31 -0
- package/dist/components/BreadCrumbs/interface/interface.d.ts +17 -0
- package/dist/components/Button/Button.vue.d.ts +59 -0
- package/dist/components/Button/enum/enum.d.ts +8 -0
- package/dist/components/Button/interface/interface.d.ts +12 -0
- package/dist/components/Calendar/Calendar.vue.d.ts +33 -0
- package/dist/components/Calendar/DataPickerChoose.vue.d.ts +33 -0
- package/dist/components/Calendar/DatePicker.vue.d.ts +88 -0
- package/dist/components/Calendar/DatePickerRange.vue.d.ts +77 -0
- package/dist/components/Calendar/PopoverWrapper.vue.d.ts +44 -0
- package/dist/components/Calendar/date-utils.d.ts +17 -0
- package/dist/components/Calendar/enums/enums.d.ts +4 -0
- package/dist/components/Calendar/interfaces/interfaces.d.ts +36 -0
- package/dist/components/Card/Card.vue.d.ts +37 -0
- package/dist/components/Card/interface/interface.d.ts +4 -0
- package/dist/components/Checkbox/Checkbox.vue.d.ts +46 -0
- package/dist/components/Checkbox/enum/enum.d.ts +9 -0
- package/dist/components/Checkbox/interface/interface.d.ts +10 -0
- package/dist/components/CircularProgress/CircularProgress.vue.d.ts +27 -0
- package/dist/components/CircularProgress/interface/interface.d.ts +5 -0
- package/dist/components/Colors/colors.d.ts +9 -0
- package/dist/components/Colors/enum/enum.d.ts +47 -0
- package/dist/components/Colors/interface/interface.d.ts +4 -0
- package/dist/components/ContentEditor/ContentEditor.vue.d.ts +22 -0
- package/dist/components/ContentEditor/interfaces/content-editor.d.ts +7 -0
- package/dist/components/CopyIcon/CopyIcon.vue.d.ts +30 -0
- package/dist/components/CopyIcon/interface/interface.d.ts +5 -0
- package/dist/components/Cropper/BaseCropper.vue.d.ts +44 -0
- package/dist/components/Cropper/ModalCroppedAvatar.vue.d.ts +39 -0
- package/dist/components/Cropper/extenstions/get-change-name-file.d.ts +2 -0
- package/dist/components/Cropper/extenstions/use-range.d.ts +14 -0
- package/dist/components/Cropper/interface/index.d.ts +14 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +40 -0
- package/dist/components/Dialog/interface/interface.d.ts +8 -0
- package/dist/components/DragAndDrop/DragAndDrop.vue.d.ts +37 -0
- package/dist/components/DragAndDrop/interface/interface.d.ts +6 -0
- package/dist/components/Filter/Filter.vue.d.ts +38 -0
- package/dist/components/Filter/interface/interface.d.ts +19 -0
- package/dist/components/FilterTag/FilterTag.vue.d.ts +53 -0
- package/dist/components/FilterTag/interface/interface.d.ts +19 -0
- package/dist/components/Icon/Icon.vue.d.ts +27 -0
- package/dist/components/Icon/enum/enum.d.ts +113 -0
- package/dist/components/Icon/icons.d.ts +119 -0
- package/dist/components/Icon/index.d.ts +2 -0
- package/dist/components/Icon/interface/interface.d.ts +17 -0
- package/dist/components/Input/Input.vue.d.ts +50 -0
- package/dist/components/Input/enum/enum.d.ts +17 -0
- package/dist/components/Input/interface/interface.d.ts +16 -0
- package/dist/components/InputNumber/InputNumber.vue.d.ts +55 -0
- package/dist/components/InputNumber/enum/enum.d.ts +9 -0
- package/dist/components/InputNumber/interface/interface.d.ts +18 -0
- package/dist/components/Loader/Loader.vue.d.ts +30 -0
- package/dist/components/Loader/interfaces/interfaces.d.ts +5 -0
- package/dist/components/Modal/Modal.vue.d.ts +47 -0
- package/dist/components/Modal/ModalAnimated.vue.d.ts +47 -0
- package/dist/components/Modal/enum/index.d.ts +6 -0
- package/dist/components/Modal/interface/interface.d.ts +12 -0
- package/dist/components/Notification/Notification.vue.d.ts +46 -0
- package/dist/components/Notification/enum/enum.d.ts +18 -0
- package/dist/components/Notification/interface/interface.d.ts +11 -0
- package/dist/components/Picture/Picture.vue.d.ts +27 -0
- package/dist/components/Picture/enums/enums.d.ts +5 -0
- package/dist/components/Picture/interface/interface.d.ts +9 -0
- package/dist/components/Popover/Popover.vue.d.ts +54 -0
- package/dist/components/Popover/enums/enums.d.ts +4 -0
- package/dist/components/Popover/interface/interface.d.ts +22 -0
- package/dist/components/Radio/Radio.vue.d.ts +19 -0
- package/dist/components/Radio/interface/interface.d.ts +7 -0
- package/dist/components/Range/Range.vue.d.ts +58 -0
- package/dist/components/Range/interface/interface.d.ts +12 -0
- package/dist/components/ScrollWrapper/ScrollWrapper.vue.d.ts +50 -0
- package/dist/components/ScrollWrapper/ScrollWrapperNew.vue.d.ts +50 -0
- package/dist/components/ScrollWrapper/extension/use-horizont-track.d.ts +18 -0
- package/dist/components/ScrollWrapper/extension/use-vertical-track.d.ts +18 -0
- package/dist/components/ScrollWrapper/interface/interface.d.ts +10 -0
- package/dist/components/Scrollbar/Scrollbar.vue.d.ts +62 -0
- package/dist/components/Scrollbar/emits/scrollEmits.d.ts +5 -0
- package/dist/components/Scrollbar/interface/scroll.d.ts +28 -0
- package/dist/components/Search/History.vue.d.ts +33 -0
- package/dist/components/Search/Search.vue.d.ts +56 -0
- package/dist/components/Search/SearchResult.vue.d.ts +39 -0
- package/dist/components/Search/interface/interface.d.ts +26 -0
- package/dist/components/Select/BaseFilter.vue.d.ts +118 -0
- package/dist/components/Select/ChoosenMiniOptions.vue.d.ts +31 -0
- package/dist/components/Select/Combobox.vue.d.ts +27 -0
- package/dist/components/Select/Dropdown.vue.d.ts +34 -0
- package/dist/components/Select/Options.vue.d.ts +43 -0
- package/dist/components/Select/SelectList.vue.d.ts +46 -0
- package/dist/components/Select/interface/interface.d.ts +65 -0
- package/dist/components/Slider/Slider.vue.d.ts +29 -0
- package/dist/components/Slider/interface/interface.d.ts +19 -0
- package/dist/components/Switch/Switch.vue.d.ts +34 -0
- package/dist/components/Switch/interface/interface.d.ts +19 -0
- package/dist/components/Table/HeadTableRow.vue.d.ts +36 -0
- package/dist/components/Table/HeadTableRowNew.vue.d.ts +36 -0
- package/dist/components/Table/SectionTableRow.vue.d.ts +36 -0
- package/dist/components/Table/Table.vue.d.ts +59 -0
- package/dist/components/Table/TableNew.vue.d.ts +59 -0
- package/dist/components/Table/TableRow.vue.d.ts +38 -0
- package/dist/components/Table/TableRowNew.vue.d.ts +38 -0
- package/dist/components/Table/TableSimple.vue.d.ts +45 -0
- package/dist/components/Table/TableTd.vue.d.ts +42 -0
- package/dist/components/Table/TableTh.vue.d.ts +42 -0
- package/dist/components/Table/interface/interface.d.ts +36 -0
- package/dist/components/Tabs/Tabs.vue.d.ts +38 -0
- package/dist/components/Tabs/interface/interface.d.ts +8 -0
- package/dist/components/Textarea/Textarea.vue.d.ts +47 -0
- package/dist/components/Textarea/enum/index.d.ts +4 -0
- package/dist/components/Textarea/interface/interface.d.ts +13 -0
- package/dist/components/TimePicker/TimePicker.vue.d.ts +23 -0
- package/dist/components/TimePicker/interface/interface.d.ts +4 -0
- package/dist/components/Toggle/Toggle.vue.d.ts +46 -0
- package/dist/components/Toggle/enums/enums.d.ts +6 -0
- package/dist/components/Toggle/interface/interface.d.ts +8 -0
- package/dist/components/Tooltip/Tooltip.vue.d.ts +54 -0
- package/dist/components/Tooltip/interface/interface.d.ts +15 -0
- package/dist/components/UserMenu/MenuItem.vue.d.ts +27 -0
- package/dist/components/UserMenu/UserMenu.vue.d.ts +39 -0
- package/dist/components/UserMenu/UserMenuList.vue.d.ts +39 -0
- package/dist/components/UserMenu/enum/enum.d.ts +8 -0
- package/dist/components/UserMenu/interface/interface.d.ts +34 -0
- package/dist/components/index.d.ts +74 -0
- package/dist/default-avatar.jpg +0 -0
- package/dist/extenstions/modal.d.ts +14 -0
- package/dist/extenstions/search.d.ts +9 -0
- package/dist/helpers/change-style-properties.d.ts +19 -0
- package/dist/helpers/genarate-unic-id.d.ts +1 -0
- package/dist/helpers/guards/is-options-object-with-hint.d.ts +6 -0
- package/dist/helpers/guards/is-options-object.d.ts +4 -0
- package/dist/helpers/throttle.d.ts +7 -0
- package/dist/helpers/trimText.d.ts +1 -0
- package/dist/helpers/vue-plugin-remove-testid.d.ts +8 -0
- package/dist/index.d.ts +12 -0
- package/dist/main.d.ts +1 -0
- package/dist/sep-yui.es.ts +91120 -0
- package/dist/sep-yui.umd.ts +1409 -0
- package/dist/style.css +1 -0
- package/package.json +86 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IHistoryProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<IHistoryProps>>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
choosePost: (value: string) => void;
|
|
7
|
+
"unmount-remove": (value: string) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<IHistoryProps>>, {
|
|
9
|
+
dataTestid: string;
|
|
10
|
+
}>>> & Readonly<{
|
|
11
|
+
onChoosePost?: ((value: string) => any) | undefined;
|
|
12
|
+
"onUnmount-remove"?: ((value: string) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
dataTestid: string;
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
type __VLS_WithDefaults<P, D> = {
|
|
27
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
28
|
+
default: D[K];
|
|
29
|
+
}> : P[K];
|
|
30
|
+
};
|
|
31
|
+
type __VLS_Prettify<T> = {
|
|
32
|
+
[K in keyof T]: T[K];
|
|
33
|
+
} & {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ISearchProps, ResultSearchType } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISearchProps>, {
|
|
4
|
+
placeholder: string;
|
|
5
|
+
height: string;
|
|
6
|
+
modelValue: string;
|
|
7
|
+
dataTestid: string;
|
|
8
|
+
global: boolean;
|
|
9
|
+
globalResultsFunction: () => never[];
|
|
10
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
enter: (value: string) => void;
|
|
12
|
+
input: (value: string) => void;
|
|
13
|
+
"update:modelValue": (value: string) => void;
|
|
14
|
+
"choose-result": (value: ResultSearchType) => void;
|
|
15
|
+
"scroll-paginate": () => void;
|
|
16
|
+
choosed: (value: string) => void;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISearchProps>, {
|
|
18
|
+
placeholder: string;
|
|
19
|
+
height: string;
|
|
20
|
+
modelValue: string;
|
|
21
|
+
dataTestid: string;
|
|
22
|
+
global: boolean;
|
|
23
|
+
globalResultsFunction: () => never[];
|
|
24
|
+
}>>> & Readonly<{
|
|
25
|
+
onInput?: ((value: string) => any) | undefined;
|
|
26
|
+
onChoosed?: ((value: string) => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
28
|
+
onEnter?: ((value: string) => any) | undefined;
|
|
29
|
+
"onChoose-result"?: ((value: ResultSearchType) => any) | undefined;
|
|
30
|
+
"onScroll-paginate"?: (() => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
height: string;
|
|
33
|
+
dataTestid: string;
|
|
34
|
+
placeholder: string;
|
|
35
|
+
modelValue: string;
|
|
36
|
+
global: boolean;
|
|
37
|
+
globalResultsFunction: ResultSearchType[];
|
|
38
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
41
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
42
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
43
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
44
|
+
} : {
|
|
45
|
+
type: import('vue').PropType<T[K]>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
type __VLS_WithDefaults<P, D> = {
|
|
50
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
51
|
+
default: D[K];
|
|
52
|
+
}> : P[K];
|
|
53
|
+
};
|
|
54
|
+
type __VLS_Prettify<T> = {
|
|
55
|
+
[K in keyof T]: T[K];
|
|
56
|
+
} & {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ISearchProps, ResultSearchType } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<ISearchProps>>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
globalResultsFunction: () => never[];
|
|
6
|
+
searchValue: string;
|
|
7
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"choose-result": (result: ResultSearchType) => void;
|
|
9
|
+
"scroll-paginate": () => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<ISearchProps>>, {
|
|
11
|
+
dataTestid: string;
|
|
12
|
+
globalResultsFunction: () => never[];
|
|
13
|
+
searchValue: string;
|
|
14
|
+
}>>> & Readonly<{
|
|
15
|
+
"onChoose-result"?: ((result: ResultSearchType) => any) | undefined;
|
|
16
|
+
"onScroll-paginate"?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
dataTestid: string;
|
|
19
|
+
globalResultsFunction: ResultSearchType[];
|
|
20
|
+
searchValue: string;
|
|
21
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IconNameEnum } from '../../Icon/enum/enum';
|
|
2
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
3
|
+
|
|
4
|
+
export type ResultSearchType = {
|
|
5
|
+
nameArea: string;
|
|
6
|
+
searchResult: string;
|
|
7
|
+
icon?: IconNameEnum;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
export interface ISearchProps extends IDataTestIdProp {
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
showHistory?: boolean;
|
|
14
|
+
global?: boolean;
|
|
15
|
+
options?: string[];
|
|
16
|
+
globalResultsFunction?: ResultSearchType[];
|
|
17
|
+
isShowList?: boolean;
|
|
18
|
+
isShowButtonHistory?: boolean;
|
|
19
|
+
searchValue?: string;
|
|
20
|
+
width?: string;
|
|
21
|
+
height?: string;
|
|
22
|
+
modelValue: string;
|
|
23
|
+
}
|
|
24
|
+
export interface IHistoryProps extends Omit<ISearchProps, 'modelValue'> {
|
|
25
|
+
modelValue: string[];
|
|
26
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { OptionsObject } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<string | string[]>;
|
|
5
|
+
dataTestid: {
|
|
6
|
+
type: import('vue').PropType<string>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
class: {
|
|
14
|
+
type: import('vue').PropType<string>;
|
|
15
|
+
};
|
|
16
|
+
disabled: {
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
18
|
+
};
|
|
19
|
+
options: {
|
|
20
|
+
type: import('vue').PropType<OptionsObject[] | import('./interface/interface').IOptionsObjectWithHint[]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
tooltipPosition: {
|
|
24
|
+
type: import('vue').PropType<import('../Tooltip/interface/interface').TTooltipPosition>;
|
|
25
|
+
default: string;
|
|
26
|
+
};
|
|
27
|
+
defaultOption: {
|
|
28
|
+
type: import('vue').PropType<string>;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
isOpened: {
|
|
32
|
+
type: import('vue').PropType<boolean>;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
isSearch: {
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
isPosibleToClear: {
|
|
40
|
+
type: import('vue').PropType<boolean>;
|
|
41
|
+
default: boolean;
|
|
42
|
+
};
|
|
43
|
+
isShowMiniOptions: {
|
|
44
|
+
type: import('vue').PropType<boolean>;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
onUnmountPagination: {
|
|
48
|
+
type: import('vue').PropType<() => void>;
|
|
49
|
+
};
|
|
50
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
51
|
+
change: (value: string | string[]) => void;
|
|
52
|
+
"unmount-open": (value: boolean) => void;
|
|
53
|
+
"unmount-search": (value: string) => void;
|
|
54
|
+
"unmount-search-enter": (value: string) => void;
|
|
55
|
+
"unmount-pagination": () => void;
|
|
56
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
57
|
+
modelValue: import('vue').PropType<string | string[]>;
|
|
58
|
+
dataTestid: {
|
|
59
|
+
type: import('vue').PropType<string>;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
title: {
|
|
63
|
+
type: import('vue').PropType<string>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
class: {
|
|
67
|
+
type: import('vue').PropType<string>;
|
|
68
|
+
};
|
|
69
|
+
disabled: {
|
|
70
|
+
type: import('vue').PropType<boolean>;
|
|
71
|
+
};
|
|
72
|
+
options: {
|
|
73
|
+
type: import('vue').PropType<OptionsObject[] | import('./interface/interface').IOptionsObjectWithHint[]>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
tooltipPosition: {
|
|
77
|
+
type: import('vue').PropType<import('../Tooltip/interface/interface').TTooltipPosition>;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
defaultOption: {
|
|
81
|
+
type: import('vue').PropType<string>;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
isOpened: {
|
|
85
|
+
type: import('vue').PropType<boolean>;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
isSearch: {
|
|
89
|
+
type: import('vue').PropType<boolean>;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
isPosibleToClear: {
|
|
93
|
+
type: import('vue').PropType<boolean>;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
isShowMiniOptions: {
|
|
97
|
+
type: import('vue').PropType<boolean>;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
onUnmountPagination: {
|
|
101
|
+
type: import('vue').PropType<() => void>;
|
|
102
|
+
};
|
|
103
|
+
}>> & Readonly<{
|
|
104
|
+
onChange?: ((value: string | string[]) => any) | undefined;
|
|
105
|
+
"onUnmount-open"?: ((value: boolean) => any) | undefined;
|
|
106
|
+
"onUnmount-search"?: ((value: string) => any) | undefined;
|
|
107
|
+
"onUnmount-search-enter"?: ((value: string) => any) | undefined;
|
|
108
|
+
"onUnmount-pagination"?: (() => any) | undefined;
|
|
109
|
+
}>, {
|
|
110
|
+
dataTestid: string;
|
|
111
|
+
tooltipPosition: import('../Tooltip/interface/interface').TTooltipPosition;
|
|
112
|
+
defaultOption: string;
|
|
113
|
+
isOpened: boolean;
|
|
114
|
+
isSearch: boolean;
|
|
115
|
+
isPosibleToClear: boolean;
|
|
116
|
+
isShowMiniOptions: boolean;
|
|
117
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
118
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { IChoosenMiniOptionsProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IChoosenMiniOptionsProps>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
remove: (key: string) => void;
|
|
7
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IChoosenMiniOptionsProps>, {
|
|
8
|
+
dataTestid: string;
|
|
9
|
+
}>>> & Readonly<{
|
|
10
|
+
onRemove?: ((key: string) => any) | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
dataTestid: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IComboboxProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IComboboxProps>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, any, string, import('vue').PublicProps, any, {
|
|
7
|
+
dataTestid: string;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
+
} : {
|
|
16
|
+
type: import('vue').PropType<T[K]>;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
type __VLS_WithDefaults<P, D> = {
|
|
21
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
22
|
+
default: D[K];
|
|
23
|
+
}> : P[K];
|
|
24
|
+
};
|
|
25
|
+
type __VLS_Prettify<T> = {
|
|
26
|
+
[K in keyof T]: T[K];
|
|
27
|
+
} & {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IOptionsProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {
|
|
4
|
+
disabled: boolean;
|
|
5
|
+
dataTestid: string;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
change: (value: string) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
dataTestid: string;
|
|
11
|
+
}>>> & Readonly<{
|
|
12
|
+
onChange?: ((value: string) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
dataTestid: string;
|
|
15
|
+
disabled: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IOptionsProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
option?(_: {
|
|
5
|
+
inx: number;
|
|
6
|
+
}): any;
|
|
7
|
+
default?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {
|
|
10
|
+
dataTestid: string;
|
|
11
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
change: (value: string) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IOptionsProps>, {
|
|
14
|
+
dataTestid: string;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
onChange?: ((value: string) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
dataTestid: string;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
39
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
40
|
+
new (): {
|
|
41
|
+
$slots: S;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ISelectListProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
header?(_: {}): any;
|
|
5
|
+
options?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectListProps>, {
|
|
8
|
+
isOpened: boolean;
|
|
9
|
+
dataTestid: string;
|
|
10
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
change: (val: boolean) => void;
|
|
12
|
+
"focusout-options": () => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISelectListProps>, {
|
|
14
|
+
isOpened: boolean;
|
|
15
|
+
dataTestid: string;
|
|
16
|
+
}>>> & Readonly<{
|
|
17
|
+
onChange?: ((val: boolean) => any) | undefined;
|
|
18
|
+
"onFocusout-options"?: (() => any) | undefined;
|
|
19
|
+
}>, {
|
|
20
|
+
dataTestid: string;
|
|
21
|
+
isOpened: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
+
default: D[K];
|
|
37
|
+
}> : P[K];
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
2
|
+
import { TTooltipPosition } from '../../Tooltip/interface/interface';
|
|
3
|
+
|
|
4
|
+
interface ClassObject {
|
|
5
|
+
[key: string]: boolean;
|
|
6
|
+
}
|
|
7
|
+
type ClassArray = Array<string | ClassObject>;
|
|
8
|
+
type VueClasses = ClassObject | ClassArray | string;
|
|
9
|
+
export type TOptions = string[] | OptionsObject[];
|
|
10
|
+
export interface OptionsObject {
|
|
11
|
+
key: string;
|
|
12
|
+
value: string;
|
|
13
|
+
used?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface IOptionsObjectWithHint extends OptionsObject {
|
|
16
|
+
hint: string;
|
|
17
|
+
}
|
|
18
|
+
export interface IOptionsProps extends IDataTestIdProp {
|
|
19
|
+
options: string[] | OptionsObject[] | IOptionsObjectWithHint[];
|
|
20
|
+
defaultOption?: string;
|
|
21
|
+
class?: string;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
}
|
|
24
|
+
export interface ISelectListProps extends IDataTestIdProp {
|
|
25
|
+
isOpened: boolean;
|
|
26
|
+
disableOpen?: boolean;
|
|
27
|
+
headerClasses?: VueClasses;
|
|
28
|
+
optionsClasses?: VueClasses;
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface IFilterProps extends Omit<IOptionsProps, 'options'> {
|
|
32
|
+
options: TOptions;
|
|
33
|
+
title: string;
|
|
34
|
+
noOptionText?: string;
|
|
35
|
+
enableClearAll?: boolean;
|
|
36
|
+
}
|
|
37
|
+
export interface IComboboxProps extends IOptionsProps {
|
|
38
|
+
options: string[];
|
|
39
|
+
placeholder?: string;
|
|
40
|
+
disableOpen?: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface IBaseFilterProps extends Omit<IOptionsProps, 'options'> {
|
|
43
|
+
options: OptionsObject[] | IOptionsObjectWithHint[];
|
|
44
|
+
title: string;
|
|
45
|
+
isSearch?: boolean;
|
|
46
|
+
isPosibleToClear?: boolean;
|
|
47
|
+
isShowMiniOptions?: boolean;
|
|
48
|
+
isOpened?: boolean;
|
|
49
|
+
tooltipPosition?: TTooltipPosition;
|
|
50
|
+
onUnmountPagination?: () => void;
|
|
51
|
+
}
|
|
52
|
+
export interface IBaseFilterEmit {
|
|
53
|
+
(e: 'change', value: string | string[]): void;
|
|
54
|
+
(e: 'unmount-open', value: boolean): void;
|
|
55
|
+
(e: 'unmount-search', value: string): void;
|
|
56
|
+
(e: 'unmount-search-enter', value: string): void;
|
|
57
|
+
(e: 'unmount-pagination'): void;
|
|
58
|
+
}
|
|
59
|
+
export interface IChoosenMiniOptionsProps extends IDataTestIdProp {
|
|
60
|
+
options: OptionsObject[] | IOptionsObjectWithHint[];
|
|
61
|
+
}
|
|
62
|
+
export interface IChoosenMiniOptionsEmits {
|
|
63
|
+
(e: 'remove', key: string): void;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ISliderProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISliderProps>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
}>>, {
|
|
6
|
+
setSlide: (index: number) => void;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISliderProps>, {
|
|
8
|
+
dataTestid: string;
|
|
9
|
+
}>>> & Readonly<{}>, {
|
|
10
|
+
dataTestid: string;
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
|
+
} : {
|
|
18
|
+
type: import('vue').PropType<T[K]>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
type __VLS_WithDefaults<P, D> = {
|
|
23
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
24
|
+
default: D[K];
|
|
25
|
+
}> : P[K];
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Prettify<T> = {
|
|
28
|
+
[K in keyof T]: T[K];
|
|
29
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
2
|
+
|
|
3
|
+
type SliderItem = {
|
|
4
|
+
path: string;
|
|
5
|
+
};
|
|
6
|
+
type IFile = {
|
|
7
|
+
path: string;
|
|
8
|
+
};
|
|
9
|
+
export interface ISliderProps extends IDataTestIdProp {
|
|
10
|
+
items: SliderItem[];
|
|
11
|
+
defaultIndex?: number;
|
|
12
|
+
}
|
|
13
|
+
export interface ISlider {
|
|
14
|
+
files: IFile[];
|
|
15
|
+
file: IFile | null;
|
|
16
|
+
currentIndex: number;
|
|
17
|
+
extension: null | string;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ISwitchProps, IChangeSwitchEmit } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISwitchProps>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
theme: string;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
change: (event: IChangeSwitchEmit) => void;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISwitchProps>, {
|
|
9
|
+
dataTestid: string;
|
|
10
|
+
theme: string;
|
|
11
|
+
}>>> & Readonly<{
|
|
12
|
+
onChange?: ((event: IChangeSwitchEmit) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
dataTestid: string;
|
|
15
|
+
theme: "default" | "contrast";
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
19
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
20
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
21
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
22
|
+
} : {
|
|
23
|
+
type: import('vue').PropType<T[K]>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_WithDefaults<P, D> = {
|
|
28
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
29
|
+
default: D[K];
|
|
30
|
+
}> : P[K];
|
|
31
|
+
};
|
|
32
|
+
type __VLS_Prettify<T> = {
|
|
33
|
+
[K in keyof T]: T[K];
|
|
34
|
+
} & {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
2
|
+
|
|
3
|
+
export interface SwitchItem {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
}
|
|
7
|
+
type ItemsType = Array<string | SwitchItem>;
|
|
8
|
+
export interface ISwitchProps extends IDataTestIdProp {
|
|
9
|
+
items: ItemsType;
|
|
10
|
+
defaultValue?: string;
|
|
11
|
+
isIcons?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
theme?: 'default' | 'contrast';
|
|
14
|
+
}
|
|
15
|
+
export interface IChangeSwitchEmit {
|
|
16
|
+
index: number;
|
|
17
|
+
value: string;
|
|
18
|
+
}
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IHeadTableRowProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IHeadTableRowProps>, {
|
|
7
|
+
dataTestid: string;
|
|
8
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IHeadTableRowProps>, {
|
|
9
|
+
dataTestid: string;
|
|
10
|
+
}>>> & Readonly<{}>, {
|
|
11
|
+
dataTestid: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithDefaults<P, D> = {
|
|
25
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
26
|
+
default: D[K];
|
|
27
|
+
}> : P[K];
|
|
28
|
+
};
|
|
29
|
+
type __VLS_Prettify<T> = {
|
|
30
|
+
[K in keyof T]: T[K];
|
|
31
|
+
} & {};
|
|
32
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
+
new (): {
|
|
34
|
+
$slots: S;
|
|
35
|
+
};
|
|
36
|
+
};
|