@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,44 @@
|
|
|
1
|
+
import { IPopoverWrapperProps } from './interfaces/interfaces';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
trigger?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPopoverWrapperProps>, {
|
|
8
|
+
placement: string;
|
|
9
|
+
open: boolean;
|
|
10
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
"unmount-close": () => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IPopoverWrapperProps>, {
|
|
13
|
+
placement: string;
|
|
14
|
+
open: boolean;
|
|
15
|
+
}>>> & Readonly<{
|
|
16
|
+
"onUnmount-close"?: (() => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
placement: "top-start" | "bottom-start";
|
|
19
|
+
open: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
21
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
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
|
+
} & {};
|
|
40
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const getDate: (dateObject?: Partial<{
|
|
2
|
+
year: number;
|
|
3
|
+
month: number;
|
|
4
|
+
day: number;
|
|
5
|
+
locale: string;
|
|
6
|
+
}>) => Date | string | null;
|
|
7
|
+
export declare const isValidDate: (value: unknown) => boolean;
|
|
8
|
+
export declare const getLastTime: (date: Date | null) => Date;
|
|
9
|
+
export declare const getFirstTime: (date: Date) => Date;
|
|
10
|
+
/**
|
|
11
|
+
* Converts a Date object to a string in the format `MMMM DD, YYYY`.
|
|
12
|
+
*
|
|
13
|
+
* @param {Date | null} date - The Date object to be converted.
|
|
14
|
+
* @param {string} locale - locale of return dates
|
|
15
|
+
* @returns {string} The formatted date string in the format `MMMM DD, YYYY`.
|
|
16
|
+
*/
|
|
17
|
+
export declare const formatDates: (date: Date | null, locale: string) => string;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
2
|
+
|
|
3
|
+
interface IDatePickerBaseProps extends IDataTestIdProp {
|
|
4
|
+
isRange?: boolean;
|
|
5
|
+
isSmall?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface IRangeForDatePicker {
|
|
9
|
+
end: Date | null;
|
|
10
|
+
start: Date | null;
|
|
11
|
+
}
|
|
12
|
+
export interface IDatePickerProps extends IDatePickerBaseProps {
|
|
13
|
+
range?: IRangeForDatePicker;
|
|
14
|
+
locale?: string;
|
|
15
|
+
fromTodayTime?: boolean;
|
|
16
|
+
toLastTime?: boolean;
|
|
17
|
+
setDate?: Date | null;
|
|
18
|
+
startDate?: Date | null;
|
|
19
|
+
endDate?: Date | null;
|
|
20
|
+
}
|
|
21
|
+
export interface IDatePickerChooserProps extends IDatePickerBaseProps {
|
|
22
|
+
value: string;
|
|
23
|
+
isActive: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface IRangeForDatePickerState {
|
|
26
|
+
date: IRangeForDatePicker;
|
|
27
|
+
isActive: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface IPopoverWrapperProps {
|
|
30
|
+
placement?: 'top-start' | 'bottom-start';
|
|
31
|
+
open?: boolean;
|
|
32
|
+
}
|
|
33
|
+
export interface PopoverWrapperInstance {
|
|
34
|
+
close: () => void;
|
|
35
|
+
}
|
|
36
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ICardProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
left?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICardProps>, {
|
|
8
|
+
dataTestid: string;
|
|
9
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICardProps>, {
|
|
10
|
+
dataTestid: string;
|
|
11
|
+
}>>> & Readonly<{}>, {
|
|
12
|
+
dataTestid: string;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
18
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
|
+
} : {
|
|
21
|
+
type: import('vue').PropType<T[K]>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
type __VLS_WithDefaults<P, D> = {
|
|
26
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
27
|
+
default: D[K];
|
|
28
|
+
}> : P[K];
|
|
29
|
+
};
|
|
30
|
+
type __VLS_Prettify<T> = {
|
|
31
|
+
[K in keyof T]: T[K];
|
|
32
|
+
} & {};
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ICheckboxProps } from './interface/interface';
|
|
2
|
+
import { CheckboxSizeEnum, CheckboxCircularEnum } from './enum/enum';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICheckboxProps>, {
|
|
5
|
+
size: CheckboxSizeEnum;
|
|
6
|
+
circular: CheckboxCircularEnum;
|
|
7
|
+
modelValue: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
dataTestid: string;
|
|
10
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
change: (isChecked: boolean) => void;
|
|
12
|
+
"update:modelValue": (value: boolean) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICheckboxProps>, {
|
|
14
|
+
size: CheckboxSizeEnum;
|
|
15
|
+
circular: CheckboxCircularEnum;
|
|
16
|
+
modelValue: boolean;
|
|
17
|
+
disabled: boolean;
|
|
18
|
+
dataTestid: string;
|
|
19
|
+
}>>> & Readonly<{
|
|
20
|
+
onChange?: ((isChecked: boolean) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
dataTestid: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
size: CheckboxSizeEnum;
|
|
26
|
+
modelValue: boolean;
|
|
27
|
+
circular: CheckboxCircularEnum;
|
|
28
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
30
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
31
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
32
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
33
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
34
|
+
} : {
|
|
35
|
+
type: import('vue').PropType<T[K]>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
type __VLS_WithDefaults<P, D> = {
|
|
40
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
41
|
+
default: D[K];
|
|
42
|
+
}> : P[K];
|
|
43
|
+
};
|
|
44
|
+
type __VLS_Prettify<T> = {
|
|
45
|
+
[K in keyof T]: T[K];
|
|
46
|
+
} & {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CheckboxSizeEnum, CheckboxCircularEnum } from '../enum/enum';
|
|
2
|
+
import { IDataTestIdProp } from '../../../common/dataTestidProps';
|
|
3
|
+
|
|
4
|
+
export interface ICheckboxProps extends IDataTestIdProp {
|
|
5
|
+
size?: CheckboxSizeEnum;
|
|
6
|
+
circular?: CheckboxCircularEnum;
|
|
7
|
+
checked?: boolean;
|
|
8
|
+
modelValue?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ICircularProgressProps } from './interface/interface.ts';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICircularProgressProps>, {
|
|
4
|
+
dataTestid: string;
|
|
5
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICircularProgressProps>, {
|
|
6
|
+
dataTestid: string;
|
|
7
|
+
}>>> & Readonly<{}>, {
|
|
8
|
+
dataTestid: string;
|
|
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,47 @@
|
|
|
1
|
+
export declare enum ColorsTypeEnum {
|
|
2
|
+
White = "White",
|
|
3
|
+
Black = "Black",
|
|
4
|
+
Black1 = "Black1",
|
|
5
|
+
Black2 = "Black2",
|
|
6
|
+
Blue1 = "Blue1",
|
|
7
|
+
Blue2 = "Blue2",
|
|
8
|
+
Blue3 = "Blue3",
|
|
9
|
+
Blue4 = "Blue4",
|
|
10
|
+
Blue5 = "Blue5",
|
|
11
|
+
Blue6 = "Blue6",
|
|
12
|
+
Blue7 = "Blue7",
|
|
13
|
+
Blue8 = "Blue8",
|
|
14
|
+
Blue9 = "Blue9",
|
|
15
|
+
Blue10 = "Blue10",
|
|
16
|
+
Blue11 = "Blue11",
|
|
17
|
+
Blue12 = "Blue12",
|
|
18
|
+
Blue13 = "Blue13",
|
|
19
|
+
Blue14 = "Blue14",
|
|
20
|
+
Blue15 = "Blue15",
|
|
21
|
+
Blue16 = "Blue16",
|
|
22
|
+
Grey1 = "Grey1",
|
|
23
|
+
Grey2 = "Grey2",
|
|
24
|
+
Grey3 = "Grey3",
|
|
25
|
+
Grey4 = "Grey4",
|
|
26
|
+
Grey5 = "Grey5",
|
|
27
|
+
Grey6 = "Grey6",
|
|
28
|
+
Grey7 = "Grey7",
|
|
29
|
+
Orange1 = "Orange1",
|
|
30
|
+
Orange2 = "Orange2",
|
|
31
|
+
Orange3 = "Orange3",
|
|
32
|
+
Orange4 = "Orange4",
|
|
33
|
+
Orange5 = "Orange5",
|
|
34
|
+
Orange6 = "Orange6",
|
|
35
|
+
Orange7 = "Orange7",
|
|
36
|
+
Orange8 = "Orange8",
|
|
37
|
+
Red1 = "Red1",
|
|
38
|
+
Red2 = "Red2",
|
|
39
|
+
Red3 = "Red3",
|
|
40
|
+
Red4 = "Red4",
|
|
41
|
+
Pink1 = "Pink1",
|
|
42
|
+
Pink2 = "Pink2",
|
|
43
|
+
Green1 = "Green1",
|
|
44
|
+
Green2 = "Green2",
|
|
45
|
+
Gradient1 = "Gradient1",
|
|
46
|
+
Gradient2 = "Gradient2"
|
|
47
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
|
|
2
|
+
declare function addSpanLink(content: string): void;
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
modelValue: import('vue').PropType<string>;
|
|
5
|
+
}>, {
|
|
6
|
+
addSpanLink: typeof addSpanLink;
|
|
7
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"unmount-send": (params: {
|
|
9
|
+
content?: string;
|
|
10
|
+
threadId?: string;
|
|
11
|
+
answerCommentId?: string;
|
|
12
|
+
}) => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
modelValue: import('vue').PropType<string>;
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
"onUnmount-send"?: ((params: {
|
|
17
|
+
content?: string;
|
|
18
|
+
threadId?: string;
|
|
19
|
+
answerCommentId?: string;
|
|
20
|
+
}) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ICopyIconProps } from './interface/interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICopyIconProps>, {
|
|
4
|
+
content: string;
|
|
5
|
+
dataTestid: string;
|
|
6
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ICopyIconProps>, {
|
|
7
|
+
content: string;
|
|
8
|
+
dataTestid: string;
|
|
9
|
+
}>>> & Readonly<{}>, {
|
|
10
|
+
dataTestid: string;
|
|
11
|
+
content: string;
|
|
12
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
15
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
16
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
+
} : {
|
|
19
|
+
type: import('vue').PropType<T[K]>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
type __VLS_WithDefaults<P, D> = {
|
|
24
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
25
|
+
default: D[K];
|
|
26
|
+
}> : P[K];
|
|
27
|
+
};
|
|
28
|
+
type __VLS_Prettify<T> = {
|
|
29
|
+
[K in keyof T]: T[K];
|
|
30
|
+
} & {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { IBaseCropperProps } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IBaseCropperProps>, {
|
|
4
|
+
max: number;
|
|
5
|
+
min: number;
|
|
6
|
+
step: number;
|
|
7
|
+
}>>, {
|
|
8
|
+
cropImage: () => File | null;
|
|
9
|
+
scalePlus: () => void;
|
|
10
|
+
scaleMinus: () => void;
|
|
11
|
+
setScale: (value: number) => void;
|
|
12
|
+
startMove: (event: MouseEvent) => void;
|
|
13
|
+
scaleImage: (event: WheelEvent) => void;
|
|
14
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"unmount-scale": (value: number) => void;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IBaseCropperProps>, {
|
|
17
|
+
max: number;
|
|
18
|
+
min: number;
|
|
19
|
+
step: number;
|
|
20
|
+
}>>> & Readonly<{
|
|
21
|
+
"onUnmount-scale"?: ((value: number) => any) | undefined;
|
|
22
|
+
}>, {
|
|
23
|
+
max: number;
|
|
24
|
+
min: number;
|
|
25
|
+
step: number;
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
27
|
+
export default _default;
|
|
28
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
29
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
30
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
31
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
32
|
+
} : {
|
|
33
|
+
type: import('vue').PropType<T[K]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
37
|
+
type __VLS_WithDefaults<P, D> = {
|
|
38
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
39
|
+
default: D[K];
|
|
40
|
+
}> : P[K];
|
|
41
|
+
};
|
|
42
|
+
type __VLS_Prettify<T> = {
|
|
43
|
+
[K in keyof T]: T[K];
|
|
44
|
+
} & {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IModalCropperdAvatar } from './interface';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IModalCropperdAvatar>, {
|
|
4
|
+
width: string;
|
|
5
|
+
height: string;
|
|
6
|
+
position: string;
|
|
7
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
"unmount-close": () => void;
|
|
9
|
+
"unmount-save": (file: File) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IModalCropperdAvatar>, {
|
|
11
|
+
width: string;
|
|
12
|
+
height: string;
|
|
13
|
+
position: string;
|
|
14
|
+
}>>> & Readonly<{
|
|
15
|
+
"onUnmount-close"?: (() => any) | undefined;
|
|
16
|
+
"onUnmount-save"?: ((file: File) => any) | undefined;
|
|
17
|
+
}>, {
|
|
18
|
+
height: string;
|
|
19
|
+
width: string;
|
|
20
|
+
position: "right" | "center" | "bottom";
|
|
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,14 @@
|
|
|
1
|
+
export interface IOptionsRange {
|
|
2
|
+
defaultValue?: number;
|
|
3
|
+
min?: number;
|
|
4
|
+
max?: number;
|
|
5
|
+
step?: number;
|
|
6
|
+
}
|
|
7
|
+
declare const useRange: (options?: IOptionsRange) => {
|
|
8
|
+
value: import('vue').Ref<number, number>;
|
|
9
|
+
min: number;
|
|
10
|
+
max: number;
|
|
11
|
+
step: number;
|
|
12
|
+
getCorrectValue: (value: number) => number;
|
|
13
|
+
};
|
|
14
|
+
export default useRange;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IDialogProps } from '../../../components/Modal/interface/interface';
|
|
2
|
+
|
|
3
|
+
export interface IBaseCropperProps {
|
|
4
|
+
image: File | null;
|
|
5
|
+
max?: number;
|
|
6
|
+
min?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface IBaseCropperEmit {
|
|
10
|
+
(e: 'unmount-scale', value: number): void;
|
|
11
|
+
}
|
|
12
|
+
export interface IModalCropperdAvatar extends IDialogProps {
|
|
13
|
+
image: File | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { IDialogProps } 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<IDialogProps>, {
|
|
7
|
+
dataTestid: string;
|
|
8
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
close: (...args: any[]) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDialogProps>, {
|
|
11
|
+
dataTestid: string;
|
|
12
|
+
}>>> & Readonly<{
|
|
13
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}>, {
|
|
15
|
+
dataTestid: string;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
+
} : {
|
|
24
|
+
type: import('vue').PropType<T[K]>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
type __VLS_WithDefaults<P, D> = {
|
|
29
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
|
+
default: D[K];
|
|
31
|
+
}> : P[K];
|
|
32
|
+
};
|
|
33
|
+
type __VLS_Prettify<T> = {
|
|
34
|
+
[K in keyof T]: T[K];
|
|
35
|
+
} & {};
|
|
36
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
new (): {
|
|
38
|
+
$slots: S;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IDragAndDropProps } from './interface/interface.ts';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDragAndDropProps>, {
|
|
4
|
+
singleFileMode: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
dataTestid: string;
|
|
7
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
fileDropped: (fileList: FileList | null) => void;
|
|
9
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDragAndDropProps>, {
|
|
10
|
+
singleFileMode: boolean;
|
|
11
|
+
title: string;
|
|
12
|
+
dataTestid: string;
|
|
13
|
+
}>>> & Readonly<{
|
|
14
|
+
onFileDropped?: ((fileList: FileList | null) => any) | undefined;
|
|
15
|
+
}>, {
|
|
16
|
+
dataTestid: string;
|
|
17
|
+
title: string;
|
|
18
|
+
singleFileMode: boolean;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IFilterProps } from './interface/interface';
|
|
2
|
+
import { IconNameEnum } from '../Icon/enum/enum';
|
|
3
|
+
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFilterProps>, {
|
|
5
|
+
iconName: IconNameEnum;
|
|
6
|
+
multiselect: boolean;
|
|
7
|
+
dataTestid: string;
|
|
8
|
+
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
scroll: (value: boolean) => void;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IFilterProps>, {
|
|
11
|
+
iconName: IconNameEnum;
|
|
12
|
+
multiselect: boolean;
|
|
13
|
+
dataTestid: string;
|
|
14
|
+
}>>> & Readonly<{
|
|
15
|
+
onScroll?: ((value: boolean) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
dataTestid: string;
|
|
18
|
+
iconName: IconNameEnum;
|
|
19
|
+
multiselect: boolean;
|
|
20
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
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
|
+
} & {};
|