@topvisor/ui 0.0.41 → 0.0.43
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/.chunks/datepicker-92744062.es.js +275 -0
- package/.chunks/datepicker-92744062.es.js.map +1 -0
- package/.chunks/datepicker-a9226b0f.amd.js +234 -0
- package/.chunks/datepicker-a9226b0f.amd.js.map +1 -0
- package/.chunks/{forms-7f061546.es.js → forms-727cc6aa.es.js} +51 -47
- package/.chunks/forms-727cc6aa.es.js.map +1 -0
- package/.chunks/forms-771091d4.amd.js +3 -0
- package/.chunks/forms-771091d4.amd.js.map +1 -0
- package/.chunks/{popup-05538243.es.js → popup-a622fe31.es.js} +429 -427
- package/.chunks/popup-a622fe31.es.js.map +1 -0
- package/.chunks/popup-de28e508.amd.js +377 -0
- package/.chunks/popup-de28e508.amd.js.map +1 -0
- package/README.md +80 -80
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/build/cssModules.d.ts +13 -0
- package/build/plugin/amdFix.d.ts +8 -0
- package/build/plugin/autoloadCSS.d.ts +19 -0
- package/build/rollup.config.d.ts +15 -0
- package/common/common.d.ts +1 -0
- package/core/core.amd.js +1 -1
- package/core/core.d.ts +3 -0
- package/core/core.js +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.d.ts +1 -0
- package/forms/forms.js +1 -1
- package/forms/helpers.amd.js.map +1 -1
- package/forms/helpers.d.ts +1 -0
- package/forms/helpers.js.map +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.d.ts +1 -0
- package/formsExt/formsExt.js +1 -1
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/demo-files/demo.css +161 -161
- package/icomoon/demo-files/demo.js +30 -30
- package/icomoon/demo.html +2945 -2945
- package/icomoon/fonts/Topvisor-2.svg +232 -232
- package/icomoon/style.css +647 -647
- package/package.json +19 -19
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.d.ts +1 -0
- package/popup/popup.js +17 -17
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.d.ts +1 -0
- package/popup/worker.js +3 -2
- package/popup/worker.js.map +1 -1
- package/src/components/common/common.d.ts +0 -0
- package/src/components/common/icon/icon.d.ts +4 -0
- package/src/components/component.d.ts +25 -0
- package/src/components/forms/avatar/avatar.d.ts +29 -0
- package/src/components/forms/avatar/avatar.stories.d.ts +59 -0
- package/src/components/forms/avatar/avatar.vue.d.ts +26 -0
- package/src/components/forms/button/button.d.ts +40 -0
- package/src/components/forms/button/button.stories.d.ts +313 -0
- package/src/components/forms/button/button.vue.d.ts +39 -0
- package/src/components/forms/checkbox/checkbox.d.ts +22 -0
- package/src/components/forms/checkbox/checkbox.stories.d.ts +176 -0
- package/src/components/forms/checkbox/checkbox.vue.d.ts +23 -0
- package/src/components/forms/controlLabel/controlLabel.d.ts +4 -0
- package/src/components/forms/controlLabel/controlLabel.stories.d.ts +97 -0
- package/src/components/forms/controlLabel/controlLabel.vue.d.ts +19 -0
- package/src/components/forms/forms.d.ts +12 -0
- package/src/components/forms/helpers.d.ts +10 -0
- package/src/components/forms/hint/hint.d.ts +8 -0
- package/src/components/forms/hint/hint.stories.d.ts +138 -0
- package/src/components/forms/hint/hint.vue.d.ts +12 -0
- package/src/components/forms/input/input.d.ts +26 -0
- package/src/components/forms/input/input.stories.d.ts +255 -0
- package/src/components/forms/input/input.vue.d.ts +40 -0
- package/src/components/forms/inputDate/datepicker.d.ts +5 -0
- package/src/components/forms/inputDate/inputDate.d.ts +3 -0
- package/src/components/forms/inputDate/inputDate.stories.d.ts +108 -0
- package/src/components/forms/inputDate/inputDate.vue.d.ts +30 -0
- package/src/components/forms/inputRange/inputRange.d.ts +2 -0
- package/src/components/forms/inputRange/inputRange.stories.d.ts +405 -0
- package/src/components/forms/inputRange/inputRange.vue.d.ts +10 -0
- package/src/components/forms/radio/radio.d.ts +14 -0
- package/src/components/forms/radio/radio.stories.d.ts +168 -0
- package/src/components/forms/radio/radio.vue.d.ts +23 -0
- package/src/components/forms/select/select.d.ts +31 -0
- package/src/components/forms/select/select.stories.d.ts +83 -0
- package/src/components/forms/select/select.vue.d.ts +30 -0
- package/src/components/forms/select/stories/exampleOptions.d.ts +4 -0
- package/src/components/forms/switcher/switcher.d.ts +21 -0
- package/src/components/forms/switcher/switcher.stories.d.ts +163 -0
- package/src/components/forms/switcher/switcher.vue.d.ts +23 -0
- package/src/components/forms/textarea/textarea.d.ts +33 -0
- package/src/components/forms/textarea/textarea.stories.d.ts +88 -0
- package/src/components/forms/textarea/textarea.vue.d.ts +33 -0
- package/src/components/formsExt/editArea/editArea.d.ts +20 -0
- package/src/components/formsExt/editArea/editArea.stories.d.ts +140 -0
- package/src/components/formsExt/editArea/editArea.vue.d.ts +38 -0
- package/src/components/formsExt/editInput/editInput.d.ts +16 -0
- package/src/components/formsExt/editInput/editInput.stories.d.ts +129 -0
- package/src/components/formsExt/editInput/editInput.vue.d.ts +23 -0
- package/src/components/formsExt/formsExt.d.ts +3 -0
- package/src/components/formsExt/radioGroup/radioGroup.d.ts +22 -0
- package/src/components/formsExt/radioGroup/radioGroup.stories.d.ts +64 -0
- package/src/components/formsExt/radioGroup/radioGroup.vue.d.ts +30 -0
- package/src/components/helpersStories.d.ts +28 -0
- package/src/components/popup/popup/listItem.vue.d.ts +36 -0
- package/src/components/popup/popup/opener.vue.d.ts +39 -0
- package/src/components/popup/popup/popup.d.ts +79 -0
- package/src/components/popup/popup/popup.stories.d.ts +742 -0
- package/src/components/popup/popup/popup.vue.d.ts +52 -0
- package/src/components/popup/popup.d.ts +3 -0
- package/src/components/popup/worker.d.ts +2 -0
- package/src/components/tabs/tabs/content.vue.d.ts +19 -0
- package/src/components/tabs/tabs/tab.vue.d.ts +19 -0
- package/src/components/tabs/tabs/tabs.d.ts +19 -0
- package/src/components/tabs/tabs/tabs.stories.d.ts +774 -0
- package/src/components/tabs/tabs/tabs.vue.d.ts +21 -0
- package/src/components/tabs/tabs.d.ts +3 -0
- package/src/core/base/Colors.stories.d.ts +19 -0
- package/src/core/base/Layout.stories.d.ts +19 -0
- package/src/core/base/Properties.stories.d.ts +19 -0
- package/src/core/core/core.d.ts +58 -0
- package/src/core/core/events.d.ts +20 -0
- package/src/core/core/options.d.ts +13 -0
- package/src/core/core/page.d.ts +10 -0
- package/src/core/core/state.d.ts +34 -0
- package/src/core/directives/tooltip.d.ts +7 -0
- package/src/core/theme/Colors.stories.d.ts +19 -0
- package/src/core/theme/Properties.stories.d.ts +19 -0
- package/src/core/utils/date.d.ts +27 -0
- package/src/core/utils/device.d.ts +13 -0
- package/src/core/utils/dom.d.ts +98 -0
- package/src/core//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272//320/235/320/260/320/261/320/276/321/200 /320/270/320/272/320/276/320/275/320/276/320/272.stories.d.ts" +6 -0
- package/src/d.d.ts +4 -0
- package/src/resources/styles/core/core.d.ts +0 -0
- package/src/resources/styles/themes/dark.d.ts +0 -0
- package/src/resources/styles/themes/light.d.ts +0 -0
- package/src/storybook/components/icomoon.d.ts +2 -0
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.d.ts +1 -0
- package/tabs/tabs.js +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.d.ts +3 -0
- package/utils/date.js +1 -1
- package/utils/device.amd.js +1 -1
- package/utils/device.d.ts +3 -0
- package/utils/device.js +1 -1
- package/utils/dom.amd.js +1 -1
- package/utils/dom.d.ts +3 -0
- package/utils/dom.js +1 -1
- package/.chunks/datepicker-7f54fd80.es.js +0 -275
- package/.chunks/datepicker-7f54fd80.es.js.map +0 -1
- package/.chunks/datepicker-858c1cb6.amd.js +0 -234
- package/.chunks/datepicker-858c1cb6.amd.js.map +0 -1
- package/.chunks/forms-7f061546.es.js.map +0 -1
- package/.chunks/forms-b9e5edd2.amd.js +0 -3
- package/.chunks/forms-b9e5edd2.amd.js.map +0 -1
- package/.chunks/popup-05538243.es.js.map +0 -1
- package/.chunks/popup-a531e9ad.amd.js +0 -377
- package/.chunks/popup-a531e9ad.amd.js.map +0 -1
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import * as ComponentsConst from './inputDate';
|
|
3
|
+
/**
|
|
4
|
+
* Поле ввода с выбором даты.
|
|
5
|
+
*
|
|
6
|
+
* В современных браузерах для тач устройств выводится нативный выбор даты, в остальных устройствах подклчюается jQuery Datepicker
|
|
7
|
+
* с автоформатом вводимой даты.
|
|
8
|
+
*
|
|
9
|
+
* Для формата дат используются функции utils/date.
|
|
10
|
+
*
|
|
11
|
+
* Формат определяется настройкой dateFormat, которую можно указать при подклчюении UI к приложению Vue или через Core.defineOptions().
|
|
12
|
+
*/
|
|
13
|
+
declare const meta: {
|
|
14
|
+
component: import("vue").DefineComponent<{
|
|
15
|
+
icon: {
|
|
16
|
+
type: import("vue").PropType<string>;
|
|
17
|
+
};
|
|
18
|
+
icon2: {
|
|
19
|
+
type: import("vue").PropType<string>;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
size: {
|
|
26
|
+
type: import("vue").PropType<import("../helpers").Size>;
|
|
27
|
+
};
|
|
28
|
+
name: {
|
|
29
|
+
type: import("vue").PropType<string>;
|
|
30
|
+
};
|
|
31
|
+
disabled: {
|
|
32
|
+
type: import("vue").PropType<boolean>;
|
|
33
|
+
};
|
|
34
|
+
modelValue: {
|
|
35
|
+
type: import("vue").PropType<string>;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
isError: {
|
|
39
|
+
type: import("vue").PropType<boolean>;
|
|
40
|
+
};
|
|
41
|
+
readonly: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
};
|
|
44
|
+
captionType: {
|
|
45
|
+
type: import("vue").PropType<ComponentsConst.CaptionType>;
|
|
46
|
+
};
|
|
47
|
+
addCleaner: {
|
|
48
|
+
type: import("vue").PropType<boolean>;
|
|
49
|
+
};
|
|
50
|
+
modificator: {
|
|
51
|
+
type: import("vue").PropType<string>;
|
|
52
|
+
};
|
|
53
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
+
"update:modelValue": (value: string) => void;
|
|
55
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
|
+
icon: {
|
|
57
|
+
type: import("vue").PropType<string>;
|
|
58
|
+
};
|
|
59
|
+
icon2: {
|
|
60
|
+
type: import("vue").PropType<string>;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
title: {
|
|
64
|
+
type: import("vue").PropType<string>;
|
|
65
|
+
};
|
|
66
|
+
size: {
|
|
67
|
+
type: import("vue").PropType<import("../helpers").Size>;
|
|
68
|
+
};
|
|
69
|
+
name: {
|
|
70
|
+
type: import("vue").PropType<string>;
|
|
71
|
+
};
|
|
72
|
+
disabled: {
|
|
73
|
+
type: import("vue").PropType<boolean>;
|
|
74
|
+
};
|
|
75
|
+
modelValue: {
|
|
76
|
+
type: import("vue").PropType<string>;
|
|
77
|
+
required: true;
|
|
78
|
+
};
|
|
79
|
+
isError: {
|
|
80
|
+
type: import("vue").PropType<boolean>;
|
|
81
|
+
};
|
|
82
|
+
readonly: {
|
|
83
|
+
type: import("vue").PropType<boolean>;
|
|
84
|
+
};
|
|
85
|
+
captionType: {
|
|
86
|
+
type: import("vue").PropType<ComponentsConst.CaptionType>;
|
|
87
|
+
};
|
|
88
|
+
addCleaner: {
|
|
89
|
+
type: import("vue").PropType<boolean>;
|
|
90
|
+
};
|
|
91
|
+
modificator: {
|
|
92
|
+
type: import("vue").PropType<string>;
|
|
93
|
+
};
|
|
94
|
+
}>> & {
|
|
95
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
96
|
+
}, {
|
|
97
|
+
icon2: string;
|
|
98
|
+
}, {}>;
|
|
99
|
+
tags: string[];
|
|
100
|
+
argTypes: any;
|
|
101
|
+
args: {
|
|
102
|
+
modelValue: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
type Story = StoryObj<typeof meta>;
|
|
106
|
+
export declare const Playground: {};
|
|
107
|
+
export declare const Overview: Story;
|
|
108
|
+
export default meta;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { Props } from './inputDate';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
3
|
+
icon2: string;
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
+
"update:modelValue": (value: string) => void;
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
|
+
icon2: string;
|
|
8
|
+
}>>> & {
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
icon2: string;
|
|
12
|
+
}, {}>;
|
|
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,405 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/vue3';
|
|
2
|
+
/**
|
|
3
|
+
* В компоненте используется 2 именованых слота:
|
|
4
|
+
* - **#from**: поле ввода "от"
|
|
5
|
+
* - **#to**: поле ввода "до"
|
|
6
|
+
*/
|
|
7
|
+
declare const meta: {
|
|
8
|
+
component: {
|
|
9
|
+
new (...args: any[]): {
|
|
10
|
+
$: import("vue").ComponentInternalInstance;
|
|
11
|
+
$data: {};
|
|
12
|
+
$props: Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, never>;
|
|
13
|
+
$attrs: {
|
|
14
|
+
[x: string]: unknown;
|
|
15
|
+
};
|
|
16
|
+
$refs: {
|
|
17
|
+
[x: string]: unknown;
|
|
18
|
+
};
|
|
19
|
+
$slots: Readonly<{
|
|
20
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
21
|
+
}>;
|
|
22
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
23
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
24
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
25
|
+
$el: any;
|
|
26
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
27
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
40
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
41
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
42
|
+
};
|
|
43
|
+
$forceUpdate: () => void;
|
|
44
|
+
$nextTick: typeof import("vue").nextTick;
|
|
45
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
46
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
47
|
+
__isFragment?: undefined;
|
|
48
|
+
__isTeleport?: undefined;
|
|
49
|
+
__isSuspense?: undefined;
|
|
50
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
51
|
+
$slots: {
|
|
52
|
+
from?(_: {}): any;
|
|
53
|
+
to?(_: {}): any;
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
tags: string[];
|
|
57
|
+
argTypes: any;
|
|
58
|
+
};
|
|
59
|
+
type Story = StoryObj<typeof meta>;
|
|
60
|
+
export declare const Playground: {
|
|
61
|
+
render: (_args: {
|
|
62
|
+
style?: unknown;
|
|
63
|
+
class?: unknown;
|
|
64
|
+
key?: string | number | symbol | undefined;
|
|
65
|
+
ref?: import("vue").VNodeRef | undefined;
|
|
66
|
+
ref_for?: boolean | undefined;
|
|
67
|
+
ref_key?: string | undefined;
|
|
68
|
+
onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
}>) => void)[] | undefined;
|
|
73
|
+
onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
}>) => void)[] | undefined;
|
|
78
|
+
onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
85
|
+
[key: string]: any;
|
|
86
|
+
}>) => void)[] | undefined;
|
|
87
|
+
onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
92
|
+
[key: string]: any;
|
|
93
|
+
}>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}>) => void)[] | undefined;
|
|
96
|
+
onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
97
|
+
[key: string]: any;
|
|
98
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
}>) => void)[] | undefined;
|
|
101
|
+
onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
104
|
+
[key: string]: any;
|
|
105
|
+
}>) => void)[] | undefined;
|
|
106
|
+
from?: ((_: {}) => any) | import("vue").VNodeChild;
|
|
107
|
+
to?: ((_: {}) => any) | import("vue").VNodeChild;
|
|
108
|
+
}) => {
|
|
109
|
+
components: {
|
|
110
|
+
InputRange: {
|
|
111
|
+
new (...args: any[]): {
|
|
112
|
+
$: import("vue").ComponentInternalInstance;
|
|
113
|
+
$data: {};
|
|
114
|
+
$props: Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, never>;
|
|
115
|
+
$attrs: {
|
|
116
|
+
[x: string]: unknown;
|
|
117
|
+
};
|
|
118
|
+
$refs: {
|
|
119
|
+
[x: string]: unknown;
|
|
120
|
+
};
|
|
121
|
+
$slots: Readonly<{
|
|
122
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
123
|
+
}>;
|
|
124
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
125
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
126
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
127
|
+
$el: any;
|
|
128
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
129
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
130
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
131
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
132
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
133
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
134
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
135
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
136
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
137
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
138
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
139
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
140
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
141
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
142
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
143
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
144
|
+
};
|
|
145
|
+
$forceUpdate: () => void;
|
|
146
|
+
$nextTick: typeof import("vue").nextTick;
|
|
147
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
148
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
149
|
+
__isFragment?: undefined;
|
|
150
|
+
__isTeleport?: undefined;
|
|
151
|
+
__isSuspense?: undefined;
|
|
152
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
153
|
+
$slots: {
|
|
154
|
+
from?(_: {}): any;
|
|
155
|
+
to?(_: {}): any;
|
|
156
|
+
};
|
|
157
|
+
});
|
|
158
|
+
Input: {
|
|
159
|
+
new (...args: any[]): {
|
|
160
|
+
$: import("vue").ComponentInternalInstance;
|
|
161
|
+
$data: {};
|
|
162
|
+
$props: Partial<{
|
|
163
|
+
size: import("../helpers").Size;
|
|
164
|
+
captionType: import("../input/input").CaptionType;
|
|
165
|
+
}> & Omit<{
|
|
166
|
+
readonly size: import("../helpers").Size;
|
|
167
|
+
readonly modelValue: string;
|
|
168
|
+
readonly captionType: import("../input/input").CaptionType;
|
|
169
|
+
readonly icon?: string | undefined;
|
|
170
|
+
readonly icon2?: string | undefined;
|
|
171
|
+
readonly title?: string | undefined;
|
|
172
|
+
readonly name?: string | undefined;
|
|
173
|
+
readonly disabled?: boolean | undefined;
|
|
174
|
+
readonly isError?: boolean | undefined;
|
|
175
|
+
readonly readonly?: boolean | undefined;
|
|
176
|
+
readonly addCleaner?: boolean | undefined;
|
|
177
|
+
readonly modificator?: string | undefined;
|
|
178
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
179
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
180
|
+
icon: {
|
|
181
|
+
type: import("vue").PropType<string>;
|
|
182
|
+
};
|
|
183
|
+
icon2: {
|
|
184
|
+
type: import("vue").PropType<string>;
|
|
185
|
+
};
|
|
186
|
+
title: {
|
|
187
|
+
type: import("vue").PropType<string>;
|
|
188
|
+
};
|
|
189
|
+
size: {
|
|
190
|
+
type: import("vue").PropType<import("../helpers").Size>;
|
|
191
|
+
default: string;
|
|
192
|
+
};
|
|
193
|
+
name: {
|
|
194
|
+
type: import("vue").PropType<string>;
|
|
195
|
+
};
|
|
196
|
+
disabled: {
|
|
197
|
+
type: import("vue").PropType<boolean>;
|
|
198
|
+
};
|
|
199
|
+
modelValue: {
|
|
200
|
+
type: import("vue").PropType<string>;
|
|
201
|
+
required: true;
|
|
202
|
+
};
|
|
203
|
+
isError: {
|
|
204
|
+
type: import("vue").PropType<boolean>;
|
|
205
|
+
};
|
|
206
|
+
readonly: {
|
|
207
|
+
type: import("vue").PropType<boolean>;
|
|
208
|
+
};
|
|
209
|
+
captionType: {
|
|
210
|
+
type: import("vue").PropType<import("../input/input").CaptionType>;
|
|
211
|
+
default: string;
|
|
212
|
+
};
|
|
213
|
+
addCleaner: {
|
|
214
|
+
type: import("vue").PropType<boolean>;
|
|
215
|
+
};
|
|
216
|
+
modificator: {
|
|
217
|
+
type: import("vue").PropType<string>;
|
|
218
|
+
};
|
|
219
|
+
}>> & {
|
|
220
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
221
|
+
}, "size" | "captionType">;
|
|
222
|
+
$attrs: {
|
|
223
|
+
[x: string]: unknown;
|
|
224
|
+
};
|
|
225
|
+
$refs: {
|
|
226
|
+
[x: string]: unknown;
|
|
227
|
+
};
|
|
228
|
+
$slots: Readonly<{
|
|
229
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
230
|
+
}>;
|
|
231
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
232
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
233
|
+
$emit: (event: "update:modelValue", value: string) => void;
|
|
234
|
+
$el: any;
|
|
235
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
236
|
+
icon: {
|
|
237
|
+
type: import("vue").PropType<string>;
|
|
238
|
+
};
|
|
239
|
+
icon2: {
|
|
240
|
+
type: import("vue").PropType<string>;
|
|
241
|
+
};
|
|
242
|
+
title: {
|
|
243
|
+
type: import("vue").PropType<string>;
|
|
244
|
+
};
|
|
245
|
+
size: {
|
|
246
|
+
type: import("vue").PropType<import("../helpers").Size>;
|
|
247
|
+
default: string;
|
|
248
|
+
};
|
|
249
|
+
name: {
|
|
250
|
+
type: import("vue").PropType<string>;
|
|
251
|
+
};
|
|
252
|
+
disabled: {
|
|
253
|
+
type: import("vue").PropType<boolean>;
|
|
254
|
+
};
|
|
255
|
+
modelValue: {
|
|
256
|
+
type: import("vue").PropType<string>;
|
|
257
|
+
required: true;
|
|
258
|
+
};
|
|
259
|
+
isError: {
|
|
260
|
+
type: import("vue").PropType<boolean>;
|
|
261
|
+
};
|
|
262
|
+
readonly: {
|
|
263
|
+
type: import("vue").PropType<boolean>;
|
|
264
|
+
};
|
|
265
|
+
captionType: {
|
|
266
|
+
type: import("vue").PropType<import("../input/input").CaptionType>;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
addCleaner: {
|
|
270
|
+
type: import("vue").PropType<boolean>;
|
|
271
|
+
};
|
|
272
|
+
modificator: {
|
|
273
|
+
type: import("vue").PropType<string>;
|
|
274
|
+
};
|
|
275
|
+
}>> & {
|
|
276
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
277
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
278
|
+
"update:modelValue": (value: string) => void;
|
|
279
|
+
}, string, {
|
|
280
|
+
size: import("../helpers").Size;
|
|
281
|
+
captionType: import("../input/input").CaptionType;
|
|
282
|
+
}, {}, string, {}> & {
|
|
283
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
284
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
285
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
286
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
287
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
288
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
289
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
290
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
291
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
292
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
293
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
294
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
295
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
296
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
297
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
298
|
+
};
|
|
299
|
+
$forceUpdate: () => void;
|
|
300
|
+
$nextTick: typeof import("vue").nextTick;
|
|
301
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
302
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
303
|
+
icon: {
|
|
304
|
+
type: import("vue").PropType<string>;
|
|
305
|
+
};
|
|
306
|
+
icon2: {
|
|
307
|
+
type: import("vue").PropType<string>;
|
|
308
|
+
};
|
|
309
|
+
title: {
|
|
310
|
+
type: import("vue").PropType<string>;
|
|
311
|
+
};
|
|
312
|
+
size: {
|
|
313
|
+
type: import("vue").PropType<import("../helpers").Size>;
|
|
314
|
+
default: string;
|
|
315
|
+
};
|
|
316
|
+
name: {
|
|
317
|
+
type: import("vue").PropType<string>;
|
|
318
|
+
};
|
|
319
|
+
disabled: {
|
|
320
|
+
type: import("vue").PropType<boolean>;
|
|
321
|
+
};
|
|
322
|
+
modelValue: {
|
|
323
|
+
type: import("vue").PropType<string>;
|
|
324
|
+
required: true;
|
|
325
|
+
};
|
|
326
|
+
isError: {
|
|
327
|
+
type: import("vue").PropType<boolean>;
|
|
328
|
+
};
|
|
329
|
+
readonly: {
|
|
330
|
+
type: import("vue").PropType<boolean>;
|
|
331
|
+
};
|
|
332
|
+
captionType: {
|
|
333
|
+
type: import("vue").PropType<import("../input/input").CaptionType>;
|
|
334
|
+
default: string;
|
|
335
|
+
};
|
|
336
|
+
addCleaner: {
|
|
337
|
+
type: import("vue").PropType<boolean>;
|
|
338
|
+
};
|
|
339
|
+
modificator: {
|
|
340
|
+
type: import("vue").PropType<string>;
|
|
341
|
+
};
|
|
342
|
+
}>> & {
|
|
343
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
344
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
345
|
+
__isFragment?: undefined;
|
|
346
|
+
__isTeleport?: undefined;
|
|
347
|
+
__isSuspense?: undefined;
|
|
348
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
349
|
+
icon: {
|
|
350
|
+
type: import("vue").PropType<string>;
|
|
351
|
+
};
|
|
352
|
+
icon2: {
|
|
353
|
+
type: import("vue").PropType<string>;
|
|
354
|
+
};
|
|
355
|
+
title: {
|
|
356
|
+
type: import("vue").PropType<string>;
|
|
357
|
+
};
|
|
358
|
+
size: {
|
|
359
|
+
type: import("vue").PropType<import("../helpers").Size>;
|
|
360
|
+
default: string;
|
|
361
|
+
};
|
|
362
|
+
name: {
|
|
363
|
+
type: import("vue").PropType<string>;
|
|
364
|
+
};
|
|
365
|
+
disabled: {
|
|
366
|
+
type: import("vue").PropType<boolean>;
|
|
367
|
+
};
|
|
368
|
+
modelValue: {
|
|
369
|
+
type: import("vue").PropType<string>;
|
|
370
|
+
required: true;
|
|
371
|
+
};
|
|
372
|
+
isError: {
|
|
373
|
+
type: import("vue").PropType<boolean>;
|
|
374
|
+
};
|
|
375
|
+
readonly: {
|
|
376
|
+
type: import("vue").PropType<boolean>;
|
|
377
|
+
};
|
|
378
|
+
captionType: {
|
|
379
|
+
type: import("vue").PropType<import("../input/input").CaptionType>;
|
|
380
|
+
default: string;
|
|
381
|
+
};
|
|
382
|
+
addCleaner: {
|
|
383
|
+
type: import("vue").PropType<boolean>;
|
|
384
|
+
};
|
|
385
|
+
modificator: {
|
|
386
|
+
type: import("vue").PropType<string>;
|
|
387
|
+
};
|
|
388
|
+
}>> & {
|
|
389
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
390
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
391
|
+
"update:modelValue": (value: string) => void;
|
|
392
|
+
}, string, {
|
|
393
|
+
size: import("../helpers").Size;
|
|
394
|
+
captionType: import("../input/input").CaptionType;
|
|
395
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
396
|
+
$slots: {
|
|
397
|
+
default?(_: {}): any;
|
|
398
|
+
};
|
|
399
|
+
});
|
|
400
|
+
};
|
|
401
|
+
template: string;
|
|
402
|
+
};
|
|
403
|
+
};
|
|
404
|
+
export declare const Overview: Story;
|
|
405
|
+
export default meta;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
from?(_: {}): any;
|
|
3
|
+
to?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface Props {
|
|
2
|
+
/**
|
|
3
|
+
* [подробнее](https://vuejs.org/guide/essentials/forms.html#radio)
|
|
4
|
+
*/
|
|
5
|
+
modelValue: string | object;
|
|
6
|
+
value: Props['modelValue'];
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
isError?: boolean;
|
|
11
|
+
}
|
|
12
|
+
export interface Emits {
|
|
13
|
+
(e: 'update:modelValue', value: Props['modelValue']): void;
|
|
14
|
+
}
|