sep-yui 0.0.48 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Card/Card.vue.d.ts +11 -0
- package/dist/components/Dialog/Dialog.vue.d.ts +22 -0
- package/dist/components/DragAndDrop/DragAndDrop.vue.d.ts +31 -0
- package/dist/components/DragAndDrop/interface/interface.d.ts +3 -0
- package/dist/components/Icon/Icon.vue.d.ts +0 -4
- package/dist/components/Icon/interface/interface.d.ts +1 -1
- package/dist/components/Search/Search.vue.d.ts +3 -0
- package/dist/components/Search/SearchResult.vue.d.ts +3 -3
- package/dist/components/Search/interface/interface.d.ts +4 -2
- package/dist/components/index.d.ts +4 -1
- package/dist/main.d.ts +1 -1
- package/dist/sep-yui.es.ts +3142 -2983
- package/dist/sep-yui.umd.ts +19 -19
- package/dist/style.css +1 -1
- package/package.json +2 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
declare function __VLS_template(): {
|
2
|
+
default?(_: {}): any;
|
3
|
+
};
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
6
|
+
export default _default;
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
8
|
+
new (): {
|
9
|
+
$slots: S;
|
10
|
+
};
|
11
|
+
};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
import { IDialogProps } from './interface/interface';
|
2
|
+
|
3
|
+
declare function __VLS_template(): {
|
4
|
+
default?(_: {}): any;
|
5
|
+
};
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<IDialogProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<IDialogProps>>>, {}, {}>;
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
8
|
+
export default _default;
|
9
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
10
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
11
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
12
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
13
|
+
} : {
|
14
|
+
type: import('vue').PropType<T[K]>;
|
15
|
+
required: true;
|
16
|
+
};
|
17
|
+
};
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
19
|
+
new (): {
|
20
|
+
$slots: S;
|
21
|
+
};
|
22
|
+
};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { IDragAndDropProps } from './interface/interface.ts';
|
2
|
+
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDragAndDropProps>, {
|
4
|
+
singleFileMode: boolean;
|
5
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
6
|
+
fileDropped: (fileList: FileList | null) => void;
|
7
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IDragAndDropProps>, {
|
8
|
+
singleFileMode: boolean;
|
9
|
+
}>>> & {
|
10
|
+
onFileDropped?: ((fileList: FileList | null) => any) | undefined;
|
11
|
+
}, {
|
12
|
+
singleFileMode: boolean;
|
13
|
+
}, {}>;
|
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
|
+
} & {};
|
@@ -1,18 +1,14 @@
|
|
1
|
-
import { ColorsEnum } from '../../common/colors';
|
2
1
|
import { IIconPorps } from './interface/interface';
|
3
2
|
|
4
3
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IIconPorps>, {
|
5
4
|
width: number;
|
6
5
|
height: number;
|
7
|
-
color: ColorsEnum;
|
8
6
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IIconPorps>, {
|
9
7
|
width: number;
|
10
8
|
height: number;
|
11
|
-
color: ColorsEnum;
|
12
9
|
}>>>, {
|
13
10
|
height: number;
|
14
11
|
width: number;
|
15
|
-
color: ColorsEnum;
|
16
12
|
}, {}>;
|
17
13
|
export default _default;
|
18
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -2,15 +2,18 @@ import { ISearchProps } from './interface/interface';
|
|
2
2
|
|
3
3
|
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISearchProps>, {
|
4
4
|
placeholder: string;
|
5
|
+
height: string;
|
5
6
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
6
7
|
enter: (value: string) => void;
|
7
8
|
input: (value: string) => void;
|
8
9
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ISearchProps>, {
|
9
10
|
placeholder: string;
|
11
|
+
height: string;
|
10
12
|
}>>> & {
|
11
13
|
onInput?: ((value: string) => any) | undefined;
|
12
14
|
onEnter?: ((value: string) => any) | undefined;
|
13
15
|
}, {
|
16
|
+
height: string;
|
14
17
|
placeholder: string;
|
15
18
|
}, {}>;
|
16
19
|
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { ISearchProps,
|
1
|
+
import { ISearchProps, ResultSearchType } from './interface/interface';
|
2
2
|
|
3
3
|
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<ISearchProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
4
|
-
choosePost: (post:
|
4
|
+
choosePost: (post: ResultSearchType) => void;
|
5
5
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ISearchProps>>> & {
|
6
|
-
onChoosePost?: ((post:
|
6
|
+
onChoosePost?: ((post: ResultSearchType) => any) | undefined;
|
7
7
|
}, {}, {}>;
|
8
8
|
export default _default;
|
9
9
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { IconNameEnum } from '../../Icon/enum/enum';
|
2
2
|
|
3
|
-
export type
|
3
|
+
export type ResultSearchType = {
|
4
4
|
icon: IconNameEnum;
|
5
5
|
nameArea: string;
|
6
6
|
searchResult: string;
|
@@ -11,9 +11,11 @@ export interface ISearchProps {
|
|
11
11
|
showHistory?: boolean;
|
12
12
|
global?: boolean;
|
13
13
|
options?: string[];
|
14
|
-
globalResultsFunction?: () =>
|
14
|
+
globalResultsFunction?: () => ResultSearchType[];
|
15
15
|
isShowResult?: boolean;
|
16
16
|
isShowList?: boolean;
|
17
17
|
isShowButtonHistory?: boolean;
|
18
18
|
searchValue?: string;
|
19
|
+
width?: string;
|
20
|
+
height?: string;
|
19
21
|
}
|
@@ -4,6 +4,9 @@ import { default as BreadCrumbs } from './BreadCrumbs/BreadCrumbs.vue';
|
|
4
4
|
import { default as Button } from './Button/Button.vue';
|
5
5
|
import { default as Switch } from './Switch/Switch.vue';
|
6
6
|
import { default as Dropdown } from './Dropdown/Dropdown.vue';
|
7
|
+
import { default as Dialog } from './Dialog/Dialog.vue';
|
8
|
+
import { default as DragAndDrop } from './DragAndDrop/DragAndDrop.vue';
|
9
|
+
import { default as Card } from './Card/Card.vue';
|
7
10
|
import { default as Filter } from './Filter/Filter.vue';
|
8
11
|
import { default as Icon } from './Icon/Icon.vue';
|
9
12
|
import { default as Search } from './Search/Search.vue';
|
@@ -15,4 +18,4 @@ declare const _default: {
|
|
15
18
|
install: (app: App) => void;
|
16
19
|
};
|
17
20
|
export default _default;
|
18
|
-
export { Badges, BreadCrumbs, Button, Switch, Dropdown, Filter, Icon, Search, Slider, Toggle, UserMenu };
|
21
|
+
export { Badges, BreadCrumbs, Button, Dialog, Card, DragAndDrop, Switch, Dropdown, Filter, Icon, Search, Slider, Toggle, UserMenu };
|
package/dist/main.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
|