mhz-ui 1.1.22 → 1.1.24
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/UiBreadcrumbs/UiBreadcrumbs.d.ts +1 -1
- package/dist/UiBreadcrumbs/UiBreadcrumbs.stories.d.ts +6 -0
- package/dist/UiButton/UiButton.d.ts +10 -68
- package/dist/UiButton/UiButton.stories.d.ts +7 -0
- package/dist/UiCalendar/UiCalendar.d.ts +1 -1
- package/dist/UiCalendar/UiCalendar.stories.d.ts +6 -0
- package/dist/UiChart/UiChart.d.ts +1 -1
- package/dist/UiChart/UiChart.stories.d.ts +6 -0
- package/dist/UiCheckbox/UiCheckbox.d.ts +3 -1
- package/dist/UiCheckbox/UiCheckbox.stories.d.ts +6 -0
- package/dist/UiChip/UiChip.d.ts +10 -54
- package/dist/UiChip/UiChip.stories.d.ts +6 -0
- package/dist/UiClose/UiClose.d.ts +1 -1
- package/dist/UiClose/UiClose.stories.d.ts +6 -0
- package/dist/UiEditor/UiEditor.d.ts +1 -1
- package/dist/UiEditor/UiEditor.js +477 -473
- package/dist/UiEditor/UiEditor.stories.d.ts +6 -0
- package/dist/UiField/UiField.d.ts +10 -58
- package/dist/UiField/UiField.stories.d.ts +6 -0
- package/dist/UiFlex/UiFlex.d.ts +9 -95
- package/dist/UiFlex/UiFlex.stories.d.ts +6 -0
- package/dist/UiInput/UiInput.d.ts +3 -1
- package/dist/UiInput/UiInput.stories.d.ts +6 -0
- package/dist/UiModal/UiModal.d.ts +9 -98
- package/dist/UiModal/UiModal.stories.d.ts +6 -0
- package/dist/UiPagination/UiPagination.d.ts +1 -1
- package/dist/UiPagination/UiPagination.stories.d.ts +6 -0
- package/dist/UiRange/UiRange.d.ts +1 -1
- package/dist/UiRange/UiRange.stories.d.ts +6 -0
- package/dist/UiSearch/UiSearch.d.ts +3 -1
- package/dist/UiSearch/UiSearch.stories.d.ts +6 -0
- package/dist/UiSelect/UiSelect.d.ts +8 -3
- package/dist/UiSelect/UiSelect.js +21 -21
- package/dist/UiSelect/UiSelect.stories.d.ts +7 -0
- package/dist/UiSlider/UiSlider.d.ts +1 -1
- package/dist/UiSlider/UiSlider.stories.d.ts +6 -0
- package/dist/UiSpoiler/UiSpoiler.d.ts +10 -77
- package/dist/UiSpoiler/UiSpoiler.stories.d.ts +6 -0
- package/dist/UiTable/UiTable.d.ts +15 -95
- package/dist/UiTable/UiTable.stories.d.ts +6 -0
- package/dist/UiUpload/UiUpload.d.ts +3 -1
- package/dist/UiUpload/UiUpload.stories.d.ts +7 -0
- package/dist/toast/ToastStory.d.ts +1 -1
- package/dist/toast/toast.stories.d.ts +2 -12
- package/package.json +21 -21
|
@@ -8,5 +8,5 @@ interface IProps {
|
|
|
8
8
|
}
|
|
9
9
|
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
10
10
|
color: "white" | "default";
|
|
11
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
11
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
12
|
export default _default;
|
|
@@ -8,81 +8,23 @@ interface IProps {
|
|
|
8
8
|
isWrap?: boolean;
|
|
9
9
|
icon?: FunctionalComponent;
|
|
10
10
|
}
|
|
11
|
-
declare
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
$: import('vue').ComponentInternalInstance;
|
|
16
|
-
$data: {};
|
|
17
|
-
$props: {
|
|
18
|
-
readonly layout?: "primary" | "secondary" | "plain" | "accent" | "gradient" | undefined;
|
|
19
|
-
readonly type?: "submit" | "button" | undefined;
|
|
20
|
-
readonly isDisabled?: boolean | undefined;
|
|
21
|
-
readonly isNarrow?: boolean | undefined;
|
|
22
|
-
readonly isTall?: boolean | undefined;
|
|
23
|
-
readonly isWrap?: boolean | undefined;
|
|
24
|
-
readonly icon?: FunctionalComponent | undefined;
|
|
25
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
26
|
-
$attrs: {
|
|
27
|
-
[x: string]: unknown;
|
|
11
|
+
declare function __VLS_template(): {
|
|
12
|
+
attrs: Partial<{}>;
|
|
13
|
+
slots: {
|
|
14
|
+
default?(_: {}): any;
|
|
28
15
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
$slots: Readonly<{
|
|
33
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
34
|
-
}>;
|
|
35
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
36
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
37
|
-
$host: Element | null;
|
|
38
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
39
|
-
$el: any;
|
|
40
|
-
$options: import('vue').ComponentOptionsBase<Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
41
|
-
type: "submit" | "button";
|
|
42
|
-
layout: "primary" | "secondary" | "plain" | "accent" | "gradient";
|
|
43
|
-
icon: FunctionalComponent;
|
|
44
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
45
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
46
|
-
created?: (() => void) | (() => void)[];
|
|
47
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
48
|
-
mounted?: (() => void) | (() => void)[];
|
|
49
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
50
|
-
updated?: (() => void) | (() => void)[];
|
|
51
|
-
activated?: (() => void) | (() => void)[];
|
|
52
|
-
deactivated?: (() => void) | (() => void)[];
|
|
53
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
54
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
55
|
-
destroyed?: (() => void) | (() => void)[];
|
|
56
|
-
unmounted?: (() => void) | (() => void)[];
|
|
57
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
58
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
59
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
60
|
-
};
|
|
61
|
-
$forceUpdate: () => void;
|
|
62
|
-
$nextTick: typeof import('vue').nextTick;
|
|
63
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
64
|
-
type: "submit" | "button";
|
|
65
|
-
layout: "primary" | "secondary" | "plain" | "accent" | "gradient";
|
|
66
|
-
icon: FunctionalComponent;
|
|
67
|
-
isDisabled?: boolean;
|
|
68
|
-
isNarrow?: boolean;
|
|
69
|
-
isTall?: boolean;
|
|
70
|
-
isWrap?: boolean;
|
|
71
|
-
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
72
|
-
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
16
|
+
refs: {};
|
|
17
|
+
rootEl: HTMLButtonElement;
|
|
73
18
|
};
|
|
74
|
-
|
|
75
|
-
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
76
|
-
default?: (props: typeof __VLS_5) => any;
|
|
77
|
-
}>;
|
|
19
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
78
20
|
declare const __VLS_component: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
79
21
|
type: "submit" | "button";
|
|
80
22
|
layout: "primary" | "secondary" | "plain" | "accent" | "gradient";
|
|
81
23
|
icon: FunctionalComponent;
|
|
82
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
83
|
-
declare const _default:
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
25
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
84
26
|
export default _default;
|
|
85
|
-
type
|
|
27
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
86
28
|
new (): {
|
|
87
29
|
$slots: S;
|
|
88
30
|
};
|
|
@@ -14,5 +14,5 @@ declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, im
|
|
|
14
14
|
onUpdate?: ((dates: ICalendarUpdate) => any) | undefined;
|
|
15
15
|
onEventClick?: ((event: ICalendarEvent<unknown>) => any) | undefined;
|
|
16
16
|
onChooseDate?: ((date: Date) => any) | undefined;
|
|
17
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
17
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
18
|
export default _default;
|
|
@@ -14,5 +14,5 @@ interface IProps {
|
|
|
14
14
|
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
15
15
|
title: string;
|
|
16
16
|
type: "Bar" | "Pie" | "Line";
|
|
17
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
17
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
18
18
|
export default _default;
|
|
@@ -21,5 +21,7 @@ declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, im
|
|
|
21
21
|
modelValue: TInitialValue;
|
|
22
22
|
labelSub: string;
|
|
23
23
|
labelSwitcher: string;
|
|
24
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
25
|
+
checkbox: HTMLInputElement;
|
|
26
|
+
}, HTMLLabelElement>;
|
|
25
27
|
export default _default;
|
package/dist/UiChip/UiChip.d.ts
CHANGED
|
@@ -1,65 +1,21 @@
|
|
|
1
1
|
interface IProps {
|
|
2
2
|
type?: 'default' | 'success' | 'error';
|
|
3
3
|
}
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
$: import('vue').ComponentInternalInstance;
|
|
9
|
-
$data: {};
|
|
10
|
-
$props: {
|
|
11
|
-
readonly type?: "default" | "success" | "error" | undefined;
|
|
12
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
13
|
-
$attrs: {
|
|
14
|
-
[x: string]: unknown;
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
default?(_: {}): any;
|
|
15
8
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
$slots: Readonly<{
|
|
20
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
21
|
-
}>;
|
|
22
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
23
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
24
|
-
$host: Element | null;
|
|
25
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
26
|
-
$el: any;
|
|
27
|
-
$options: import('vue').ComponentOptionsBase<Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
28
|
-
type: "default" | "success" | "error";
|
|
29
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
30
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
31
|
-
created?: (() => void) | (() => void)[];
|
|
32
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
33
|
-
mounted?: (() => void) | (() => void)[];
|
|
34
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
35
|
-
updated?: (() => void) | (() => void)[];
|
|
36
|
-
activated?: (() => void) | (() => void)[];
|
|
37
|
-
deactivated?: (() => void) | (() => void)[];
|
|
38
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
39
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
40
|
-
destroyed?: (() => void) | (() => void)[];
|
|
41
|
-
unmounted?: (() => void) | (() => void)[];
|
|
42
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
43
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
44
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
45
|
-
};
|
|
46
|
-
$forceUpdate: () => void;
|
|
47
|
-
$nextTick: typeof import('vue').nextTick;
|
|
48
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
49
|
-
type: "default" | "success" | "error";
|
|
50
|
-
$route: import('vue-router').TypesConfig extends Record<"$route", infer T> ? T : import('vue-router').RouteLocationNormalizedLoaded;
|
|
51
|
-
$router: import('vue-router').TypesConfig extends Record<"$router", infer T> ? T : import('vue-router').Router;
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: HTMLDivElement;
|
|
52
11
|
};
|
|
53
|
-
|
|
54
|
-
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
55
|
-
default?: (props: typeof __VLS_1) => any;
|
|
56
|
-
}>;
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
57
13
|
declare const __VLS_component: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {
|
|
58
14
|
type: "default" | "success" | "error";
|
|
59
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
60
|
-
declare const _default:
|
|
15
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
61
17
|
export default _default;
|
|
62
|
-
type
|
|
18
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
63
19
|
new (): {
|
|
64
20
|
$slots: S;
|
|
65
21
|
};
|
|
@@ -2,5 +2,5 @@ interface IProps {
|
|
|
2
2
|
isSmall?: boolean;
|
|
3
3
|
isDelete?: boolean;
|
|
4
4
|
}
|
|
5
|
-
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
5
|
+
declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
6
6
|
export default _default;
|
|
@@ -5,5 +5,5 @@ declare const _default: import('vue').DefineComponent<IProps, {}, {}, {}, {}, im
|
|
|
5
5
|
"update:modelValue": (value?: string | undefined) => any;
|
|
6
6
|
}, string, import('vue').PublicProps, Readonly<IProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
8
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
9
|
export default _default;
|