sakura-ui-plus 1.0.0
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/es/index.js +1852 -0
- package/dist/lib/index.js +1852 -0
- package/dist/style.css +4573 -0
- package/dist/types/components/cell/cell-group.vue.d.ts +21 -0
- package/dist/types/components/cell/cell.vue.d.ts +18 -0
- package/dist/types/components/cell/constant.d.ts +3 -0
- package/dist/types/components/cell/props.d.ts +9 -0
- package/dist/types/components/container/container.vue.d.ts +20 -0
- package/dist/types/components/container/props.d.ts +3 -0
- package/dist/types/components/count-down/count-down.vue.d.ts +10 -0
- package/dist/types/components/count-down/props.d.ts +7 -0
- package/dist/types/components/dialog/dialog.vue.d.ts +58 -0
- package/dist/types/components/dialog/props.d.ts +35 -0
- package/dist/types/components/drawer/drawer.vue.d.ts +58 -0
- package/dist/types/components/drawer/props.d.ts +34 -0
- package/dist/types/components/file/item.vue.d.ts +24 -0
- package/dist/types/components/file/list.vue.d.ts +8 -0
- package/dist/types/components/file/props.d.ts +17 -0
- package/dist/types/components/filter/constant.d.ts +3 -0
- package/dist/types/components/filter/filter-group.vue.d.ts +26 -0
- package/dist/types/components/filter/filter-item.vue.d.ts +22 -0
- package/dist/types/components/filter/props.d.ts +13 -0
- package/dist/types/components/index.d.ts +2092 -0
- package/dist/types/components/pagination/pagination.vue.d.ts +23 -0
- package/dist/types/components/pagination/props.d.ts +16 -0
- package/dist/types/components/register-components.d.ts +11 -0
- package/dist/types/components/search-input/props.d.ts +10 -0
- package/dist/types/components/search-input/search-input.vue.d.ts +19 -0
- package/dist/types/components/select/props.d.ts +31 -0
- package/dist/types/components/select/select.vue.d.ts +2958 -0
- package/dist/types/components/show-modal/install.d.ts +5 -0
- package/dist/types/components/show-modal/props.d.ts +19 -0
- package/dist/types/components/show-modal/show-modal.vue.d.ts +14 -0
- package/dist/types/components/show-modal/utils.d.ts +6 -0
- package/dist/types/components/status/props.d.ts +7 -0
- package/dist/types/components/status/status.vue.d.ts +20 -0
- package/dist/types/components/tabs/props.d.ts +7 -0
- package/dist/types/components/tabs/tabs.vue.d.ts +30 -0
- package/dist/types/components/tooltip-text/props.d.ts +9 -0
- package/dist/types/components/tooltip-text/tooltip-text.vue.d.ts +11 -0
- package/dist/types/constants/event.d.ts +61 -0
- package/dist/types/constants/index.d.ts +1 -0
- package/dist/types/hooks/index.d.ts +7 -0
- package/dist/types/hooks/use-callback-trigger/index.d.ts +10 -0
- package/dist/types/hooks/use-loading/index.d.ts +10 -0
- package/dist/types/hooks/use-message/index.d.ts +4 -0
- package/dist/types/hooks/use-message-box/index.d.ts +8 -0
- package/dist/types/hooks/use-namespace/index.d.ts +26 -0
- package/dist/types/hooks/use-notification/index.d.ts +8 -0
- package/dist/types/hooks/use-notification/type.d.ts +65 -0
- package/dist/types/hooks/use-show-modal/index.d.ts +2 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/types/index.d.ts +28 -0
- package/dist/types/utils/index.d.ts +6 -0
- package/package.json +79 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CellGroupProps } from './props';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<CellGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CellGroupProps> & Readonly<{}>, {
|
|
12
|
+
background: string;
|
|
13
|
+
labelWidth: string | number;
|
|
14
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CellProps } from './props';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<CellProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CellProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ContainerProps } from './props';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
header?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<ContainerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CountDownProps } from './props.ts';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<CountDownProps, {
|
|
3
|
+
endCountDown: () => void;
|
|
4
|
+
startCountDown: () => void;
|
|
5
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CountDownProps> & Readonly<{}>, {
|
|
6
|
+
type: import('../../index.ts').ComponentType;
|
|
7
|
+
defaultText: string;
|
|
8
|
+
countDownNum: number;
|
|
9
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DialogProps } from './props.ts';
|
|
2
|
+
type __VLS_Props = DialogProps;
|
|
3
|
+
declare const showDialog: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'modelValue'?: typeof showDialog['value'];
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
header?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
footer?(_: {}): any;
|
|
14
|
+
};
|
|
15
|
+
refs: {};
|
|
16
|
+
rootEl: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
19
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
20
|
+
confirm: () => any;
|
|
21
|
+
close: () => any;
|
|
22
|
+
cancel: () => any;
|
|
23
|
+
"update:modelValue": (value: boolean) => any;
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
25
|
+
onConfirm?: (() => any) | undefined;
|
|
26
|
+
onClose?: (() => any) | undefined;
|
|
27
|
+
onCancel?: (() => any) | undefined;
|
|
28
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
width: string | number;
|
|
31
|
+
showConfirmButton: boolean;
|
|
32
|
+
showCancelButton: boolean;
|
|
33
|
+
cancelButtonText: string;
|
|
34
|
+
confirmButtonText: string;
|
|
35
|
+
showClose: boolean;
|
|
36
|
+
borderRadius: string | number;
|
|
37
|
+
top: string | number;
|
|
38
|
+
confirmButtonType: import('../../index.ts').ComponentType;
|
|
39
|
+
confirmButtonSize: import('../../index.ts').ComponentSize;
|
|
40
|
+
cancelButtonType: import('../../index.ts').ComponentType;
|
|
41
|
+
cancelButtonSize: import('../../index.ts').ComponentSize;
|
|
42
|
+
showButton: boolean;
|
|
43
|
+
closeOnClickModal: boolean;
|
|
44
|
+
closeOnPressEscape: boolean;
|
|
45
|
+
closeOnCancelButton: boolean;
|
|
46
|
+
closeOnClickCloseIcon: boolean;
|
|
47
|
+
fullscreen: boolean;
|
|
48
|
+
closeIconSize: string | number;
|
|
49
|
+
closeIconColor: string;
|
|
50
|
+
background: string;
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComponentSize, ComponentType } from '../../types';
|
|
2
|
+
export type DialogProps = {
|
|
3
|
+
width?: string | number;
|
|
4
|
+
title?: string;
|
|
5
|
+
borderRadius?: string | number;
|
|
6
|
+
showClose?: boolean;
|
|
7
|
+
top?: string | number;
|
|
8
|
+
showConfirmButton?: boolean;
|
|
9
|
+
confirmButtonText?: string;
|
|
10
|
+
confirmButtonType?: ComponentType;
|
|
11
|
+
confirmButtonSize?: ComponentSize;
|
|
12
|
+
confirmLoading?: boolean;
|
|
13
|
+
showCancelButton?: boolean;
|
|
14
|
+
cancelButtonText?: string;
|
|
15
|
+
cancelButtonType?: ComponentType;
|
|
16
|
+
cancelButtonSize?: ComponentSize;
|
|
17
|
+
showButton?: boolean;
|
|
18
|
+
zIndex?: number;
|
|
19
|
+
closeOnClickModal?: boolean;
|
|
20
|
+
closeOnPressEscape?: boolean;
|
|
21
|
+
closeOnCancelButton?: boolean;
|
|
22
|
+
closeOnClickCloseIcon?: boolean;
|
|
23
|
+
maxHeight?: string | number;
|
|
24
|
+
height?: string | number;
|
|
25
|
+
fullscreen?: boolean;
|
|
26
|
+
appendTo?: string;
|
|
27
|
+
closeIconSize?: string | number;
|
|
28
|
+
closeIconColor?: string;
|
|
29
|
+
background?: string;
|
|
30
|
+
};
|
|
31
|
+
export type DialogEmits = {
|
|
32
|
+
confirm: [];
|
|
33
|
+
cancel: [];
|
|
34
|
+
close: [];
|
|
35
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { DrawerProps } from './props.ts';
|
|
2
|
+
type __VLS_Props = DrawerProps;
|
|
3
|
+
declare const showDrawer: import('vue').ModelRef<boolean, string, boolean, boolean>;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
'modelValue'?: typeof showDrawer['value'];
|
|
6
|
+
} & __VLS_Props;
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
attrs: Partial<{}>;
|
|
9
|
+
slots: {
|
|
10
|
+
header?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
refs: {};
|
|
15
|
+
rootEl: any;
|
|
16
|
+
};
|
|
17
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
18
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
confirm: () => any;
|
|
20
|
+
close: () => any;
|
|
21
|
+
cancel: () => any;
|
|
22
|
+
"update:modelValue": (value: boolean) => any;
|
|
23
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
24
|
+
onConfirm?: (() => any) | undefined;
|
|
25
|
+
onClose?: (() => any) | undefined;
|
|
26
|
+
onCancel?: (() => any) | undefined;
|
|
27
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
width: string | number;
|
|
30
|
+
showConfirmButton: boolean;
|
|
31
|
+
showCancelButton: boolean;
|
|
32
|
+
cancelButtonText: string;
|
|
33
|
+
confirmButtonText: string;
|
|
34
|
+
showClose: boolean;
|
|
35
|
+
borderRadius: string | number;
|
|
36
|
+
top: string | number;
|
|
37
|
+
confirmButtonType: import('../../index.ts').ComponentType;
|
|
38
|
+
confirmButtonSize: import('../../index.ts').ComponentSize;
|
|
39
|
+
cancelButtonType: import('../../index.ts').ComponentType;
|
|
40
|
+
cancelButtonSize: import('../../index.ts').ComponentSize;
|
|
41
|
+
showButton: boolean;
|
|
42
|
+
closeOnClickModal: boolean;
|
|
43
|
+
closeOnPressEscape: boolean;
|
|
44
|
+
closeOnCancelButton: boolean;
|
|
45
|
+
closeOnClickCloseIcon: boolean;
|
|
46
|
+
fullscreen: boolean;
|
|
47
|
+
closeIconSize: string | number;
|
|
48
|
+
closeIconColor: string;
|
|
49
|
+
background: string;
|
|
50
|
+
direction: "rtl" | "ltr" | "ttb" | "btt";
|
|
51
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
52
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
53
|
+
export default _default;
|
|
54
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ComponentSize, ComponentType } from '../../types';
|
|
2
|
+
export type DrawerProps = {
|
|
3
|
+
width?: string | number;
|
|
4
|
+
title?: string;
|
|
5
|
+
borderRadius?: string | number;
|
|
6
|
+
showClose?: boolean;
|
|
7
|
+
top?: string | number;
|
|
8
|
+
showConfirmButton?: boolean;
|
|
9
|
+
confirmButtonText?: string;
|
|
10
|
+
confirmButtonType?: ComponentType;
|
|
11
|
+
confirmButtonSize?: ComponentSize;
|
|
12
|
+
confirmLoading?: boolean;
|
|
13
|
+
showCancelButton?: boolean;
|
|
14
|
+
cancelButtonText?: string;
|
|
15
|
+
cancelButtonType?: ComponentType;
|
|
16
|
+
cancelButtonSize?: ComponentSize;
|
|
17
|
+
showButton?: boolean;
|
|
18
|
+
zIndex?: number;
|
|
19
|
+
closeOnClickModal?: boolean;
|
|
20
|
+
closeOnPressEscape?: boolean;
|
|
21
|
+
closeOnCancelButton?: boolean;
|
|
22
|
+
closeOnClickCloseIcon?: boolean;
|
|
23
|
+
fullscreen?: boolean;
|
|
24
|
+
appendTo?: string;
|
|
25
|
+
closeIconSize?: string | number;
|
|
26
|
+
closeIconColor?: string;
|
|
27
|
+
background?: string;
|
|
28
|
+
direction?: 'rtl' | 'ltr' | 'ttb' | 'btt';
|
|
29
|
+
};
|
|
30
|
+
export type DrawerEmits = {
|
|
31
|
+
confirm: [];
|
|
32
|
+
cancel: [];
|
|
33
|
+
close: [];
|
|
34
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FileItemProps } from './props.ts';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<FileItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FileItemProps> & Readonly<{}>, {
|
|
12
|
+
pdfIcon: string;
|
|
13
|
+
imageIcon: string;
|
|
14
|
+
wordIcon: string;
|
|
15
|
+
zipIcon: string;
|
|
16
|
+
excelIcon: string;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { FileListProps } from './props.ts';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<FileListProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FileListProps> & Readonly<{}>, {
|
|
3
|
+
width: string | number;
|
|
4
|
+
row: number;
|
|
5
|
+
direction: "column" | "row";
|
|
6
|
+
gap: number;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { FileInfo } from '../../types';
|
|
2
|
+
export type FileItemProps = {
|
|
3
|
+
fileInfo: FileInfo;
|
|
4
|
+
pdfIcon?: string;
|
|
5
|
+
imageIcon?: string;
|
|
6
|
+
wordIcon?: string;
|
|
7
|
+
zipIcon?: string;
|
|
8
|
+
excelIcon?: string;
|
|
9
|
+
formatFontSize?: (value: number) => string;
|
|
10
|
+
};
|
|
11
|
+
export type FileListProps = {
|
|
12
|
+
fileList: FileInfo[];
|
|
13
|
+
width?: string | number;
|
|
14
|
+
direction?: 'column' | 'row';
|
|
15
|
+
gap?: number;
|
|
16
|
+
row?: number;
|
|
17
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { FilterGroupProps } from './props.ts';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
filterGroupRef: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<FilterGroupProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FilterGroupProps> & Readonly<{}>, {
|
|
14
|
+
minWidth: string | number;
|
|
15
|
+
direction: "column" | "row";
|
|
16
|
+
gap: string | number;
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
18
|
+
filterGroupRef: HTMLDivElement;
|
|
19
|
+
}, HTMLDivElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FilterItemProps } from './props.ts';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {
|
|
8
|
+
filterItemRef: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<FilterItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FilterItemProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
filterItemRef: HTMLDivElement;
|
|
15
|
+
}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type FilterItemProps = {
|
|
2
|
+
label: string;
|
|
3
|
+
minWidth?: string | number;
|
|
4
|
+
direction?: 'column' | 'row';
|
|
5
|
+
};
|
|
6
|
+
export type FilterGroupProps = {
|
|
7
|
+
minWidth?: string | number;
|
|
8
|
+
gap?: string | number;
|
|
9
|
+
direction?: 'column' | 'row';
|
|
10
|
+
};
|
|
11
|
+
export type FilterGroupContext = FilterGroupProps & {
|
|
12
|
+
containerTop: number;
|
|
13
|
+
};
|