@topvisor/ui 0.9.31-3 → 0.9.33-dev
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-CCrqadMd.amd.js → datepicker-B2sjxM3R.amd.js} +29 -16
- package/.chunks/datepicker-B2sjxM3R.amd.js.map +1 -0
- package/.chunks/{datepicker-vwT52g9l.es.js → datepicker-V4rjmE4P.es.js} +44 -31
- package/.chunks/datepicker-V4rjmE4P.es.js.map +1 -0
- package/.chunks/forms-Dixfp052.amd.js +4 -0
- package/.chunks/forms-Dixfp052.amd.js.map +1 -0
- package/.chunks/forms-o7UeMJFf.es.js +1507 -0
- package/.chunks/forms-o7UeMJFf.es.js.map +1 -0
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Fl7AM9wy.es.js → listItem.vue_vue_type_script_setup_true_lang-BliXIrA8.es.js} +2 -2
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Fl7AM9wy.es.js.map → listItem.vue_vue_type_script_setup_true_lang-BliXIrA8.es.js.map} +1 -1
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Cr9e1nzK.amd.js → listItem.vue_vue_type_script_setup_true_lang-C0tRJmSC.amd.js} +2 -2
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Cr9e1nzK.amd.js.map → listItem.vue_vue_type_script_setup_true_lang-C0tRJmSC.amd.js.map} +1 -1
- package/.chunks/{menu-CYVPcwEJ.es.js → menu-CHczkYl6.es.js} +2 -2
- package/.chunks/{menu-CYVPcwEJ.es.js.map → menu-CHczkYl6.es.js.map} +1 -1
- package/.chunks/{menu-BGUYnOx6.amd.js → menu-buQxcAhv.amd.js} +2 -2
- package/.chunks/{menu-BGUYnOx6.amd.js.map → menu-buQxcAhv.amd.js.map} +1 -1
- package/.chunks/{popup-CcxDRowY.amd.js → popup-BMNS1F2G.amd.js} +76 -22
- package/.chunks/popup-BMNS1F2G.amd.js.map +1 -0
- package/.chunks/{popup-kXOd0_xN.es.js → popup-CJLGyBwQ.es.js} +76 -22
- package/.chunks/popup-CJLGyBwQ.es.js.map +1 -0
- package/.chunks/{widgetInput-DfOBj0qz.amd.js → widgetInput-ASxjfQpi.amd.js} +2 -2
- package/.chunks/widgetInput-ASxjfQpi.amd.js.map +1 -0
- package/.chunks/{widgetInput-Dp8KRAPK.es.js → widgetInput-p8fSQGk9.es.js} +2 -2
- package/.chunks/widgetInput-p8fSQGk9.es.js.map +1 -0
- package/assets/core.css +1 -1
- package/assets/dark.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/formsExt.css +1 -1
- package/assets/light.css +1 -1
- package/assets/menu.css +1 -1
- package/assets/tabs.css +1 -1
- package/assets/tabsView.css +1 -1
- package/assets/widgetInput.css +1 -1
- package/core/core.amd.js +1 -1
- package/core/core.js +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +15 -14
- package/forms/forms.js.map +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +83 -82
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/demo.html +142 -2
- package/icomoon/fonts/Topvisor-2.svg +10 -0
- package/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/icomoon/fonts/Topvisor-2.woff +0 -0
- package/icomoon/selection.json +1 -1
- package/icomoon/style.css +33 -3
- package/package.json +22 -22
- package/popup/popup.amd.js +1 -1
- package/popup/popup.js +2 -2
- package/popup/worker.amd.js +1 -1
- package/popup/worker.js +2 -2
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.js +33 -35
- package/project/project.js.map +1 -1
- package/src/components/forms/avatar/avatar.stories.d.ts +15 -14
- package/src/components/forms/avatar/avatar.vue.d.ts +7 -6
- package/src/components/forms/button/button.stories.d.ts +59 -57
- package/src/components/forms/button/button.vue.d.ts +10 -8
- package/src/components/forms/checkbox/checkbox.stories.d.ts +34 -33
- package/src/components/forms/checkbox/checkbox.vue.d.ts +17 -16
- package/src/components/forms/controlLabel/controlLabel.stories.d.ts +14 -13
- package/src/components/forms/controlLabel/controlLabel.vue.d.ts +4 -3
- package/src/components/forms/forms.d.ts +8 -0
- package/src/components/forms/hint/hint.stories.d.ts +43 -42
- package/src/components/forms/hint/hint.vue.d.ts +4 -3
- package/src/components/forms/input/input.stories.d.ts +64 -62
- package/src/components/forms/input/input.vue.d.ts +10 -8
- package/src/components/forms/inputDate/inputDate.stories.d.ts +31 -29
- package/src/components/forms/inputDate/inputDate.vue.d.ts +6 -5
- package/src/components/forms/inputRange/inputRange.stories.d.ts +93 -90
- package/src/components/forms/inputRange/inputRange.vue.d.ts +2 -1
- package/src/components/forms/loadbar/loadbar.stories.d.ts +2 -1
- package/src/components/forms/loadbar/loadbar.vue.d.ts +2 -1
- package/src/components/forms/radio/radio.stories.d.ts +32 -31
- package/src/components/forms/radio/radio.vue.d.ts +5 -4
- package/src/components/forms/select/select.stories.d.ts +24 -22
- package/src/components/forms/select/select.vue.d.ts +25 -22
- package/src/components/forms/switcher/switcher.stories.d.ts +32 -31
- package/src/components/forms/switcher/switcher.vue.d.ts +5 -4
- package/src/components/forms/textarea/textarea.stories.d.ts +24 -23
- package/src/components/forms/textarea/textarea.vue.d.ts +6 -5
- package/src/components/formsExt/editArea/editArea.stories.d.ts +40 -39
- package/src/components/formsExt/editArea/editArea.vue.d.ts +6 -5
- package/src/components/formsExt/editInput/editInput.stories.d.ts +22 -19
- package/src/components/formsExt/editInput/editInput.vue.d.ts +5 -4
- package/src/components/formsExt/menu/menu.stories.d.ts +15 -14
- package/src/components/formsExt/menu/menu.vue.d.ts +15 -14
- package/src/components/formsExt/radioGroup/radioGroup.stories.d.ts +16 -14
- package/src/components/formsExt/radioGroup/radioGroup.vue.d.ts +17 -14
- package/src/components/formsExt/selector2/itemMulti.vue.d.ts +5 -4
- package/src/components/formsExt/selector2/selector2.stories.d.ts +67 -65
- package/src/components/formsExt/selector2/selector2.vue.d.ts +33 -31
- package/src/components/popup/popup/listItem.vue.d.ts +5 -4
- package/src/components/popup/popup/opener.vue.d.ts +8 -7
- package/src/components/popup/popup/popup.stories.d.ts +218 -213
- package/src/components/popup/popup/popup.vue.d.ts +9 -8
- package/src/components/popup/popup/widgetInput.vue.d.ts +31 -28
- package/src/components/project/selectorCompetitors/composables.d.ts +5 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.d.ts +4 -2
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.d.ts +9 -8
- package/src/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +10 -8
- package/src/components/project/selectorCompetitors/stories/items.d.ts +2 -3
- package/src/components/project/selectorCompetitors/types/competitor.d.ts +7 -0
- package/src/components/tabs/tabs/content.vue.d.ts +4 -3
- package/src/components/tabs/tabs/tab.vue.d.ts +4 -3
- package/src/components/tabs/tabs/tabs.stories.d.ts +185 -182
- package/src/components/tabs/tabs/tabs.vue.d.ts +4 -3
- package/src/components/tabsView/tabsView/menu.vue.d.ts +7 -6
- package/src/components/tabsView/tabsView/menuDelimeter.vue.d.ts +2 -1
- package/src/components/tabsView/tabsView/menuItem.vue.d.ts +6 -5
- package/src/components/tabsView/tabsView/menuTitle.vue.d.ts +4 -3
- package/src/components/tabsView/tabsView/store.d.ts +124 -67
- package/src/components/tabsView/tabsView/tabsView.d.ts +1 -1
- package/src/components/tabsView/tabsView/tabsView.stories.d.ts +95 -94
- package/src/components/tabsView/tabsView/tabsView.vue.d.ts +13 -12
- package/src/components/tabsView/tabsView//320/255/320/273/320/265/320/274/320/265/320/275/321/202/321/213/MenuItem.stories.d.ts +93 -92
- package/src/components/tabsView/tabsView//320/255/320/273/320/265/320/274/320/265/320/275/321/202/321/213/MenuTitle.stories.d.ts +45 -44
- package/src/core/core/core.d.ts +1 -0
- package/src/core/core/page.d.ts +4 -0
- package/src/core/core/plugin.d.ts +38 -0
- package/src/core/core/state.d.ts +4 -0
- package/src/core/utils/device.d.ts +6 -0
- package/src/core/utils/image.d.ts +12 -0
- package/src/core/utils/number.d.ts +7 -0
- package/src/core/utils/store/plugin.d.ts +2 -1
- package/src/core/utils/string.d.ts +4 -0
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.js +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.js +2 -2
- package/tabsView/tabsView.js.map +1 -1
- package/utils/check.amd.js +1 -1
- package/utils/check.amd.js.map +1 -1
- package/utils/check.js +5 -22
- package/utils/check.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.js +4 -4
- package/utils/device.amd.js +1 -1
- package/utils/device.js +7 -6
- package/utils/image.amd.js +2 -0
- package/utils/image.amd.js.map +1 -0
- package/utils/image.d.ts +1 -0
- package/utils/image.js +13 -0
- package/utils/image.js.map +1 -0
- package/utils/number.amd.js +2 -0
- package/utils/number.amd.js.map +1 -0
- package/utils/number.d.ts +1 -0
- package/utils/number.js +9 -0
- package/utils/number.js.map +1 -0
- package/utils/scroll.amd.js +1 -1
- package/utils/scroll.js +1 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.amd.js.map +1 -1
- package/utils/string.js +17 -128
- package/utils/string.js.map +1 -1
- package/utils/system.amd.js +1 -1
- package/utils/system.amd.js.map +1 -1
- package/utils/system.js +8 -8
- package/utils/system.js.map +1 -1
- package/utils/url.amd.js +1 -2
- package/utils/url.amd.js.map +1 -1
- package/utils/url.js +8 -173
- package/utils/url.js.map +1 -1
- package/utils/window.amd.js +1 -1
- package/utils/window.js +1 -1
- package/.chunks/datepicker-CCrqadMd.amd.js.map +0 -1
- package/.chunks/datepicker-vwT52g9l.es.js.map +0 -1
- package/.chunks/forms-0MQ_zU80.amd.js +0 -3
- package/.chunks/forms-0MQ_zU80.amd.js.map +0 -1
- package/.chunks/forms-DKvPSbG6.es.js +0 -1171
- package/.chunks/forms-DKvPSbG6.es.js.map +0 -1
- package/.chunks/popup-CcxDRowY.amd.js.map +0 -1
- package/.chunks/popup-kXOd0_xN.es.js.map +0 -1
- package/.chunks/widgetInput-DfOBj0qz.amd.js.map +0 -1
- package/.chunks/widgetInput-Dp8KRAPK.es.js.map +0 -1
- package/src/core/utils/common.d.ts +0 -21
- package/utils/common.amd.js +0 -2
- package/utils/common.amd.js.map +0 -1
- package/utils/common.d.ts +0 -1
- package/utils/common.js +0 -21
- package/utils/common.js.map +0 -1
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { Props } from './editArea';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
4
5
|
defaultValue: string;
|
|
5
6
|
cancelText: string;
|
|
6
7
|
submitText: string;
|
|
7
8
|
closeText: string;
|
|
8
9
|
expandable: boolean;
|
|
9
|
-
}>, {}, unknown, {}, {},
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
11
|
submit: (value: string) => void;
|
|
11
12
|
close: () => void;
|
|
12
13
|
clickOnTitle: () => void;
|
|
13
|
-
}, string,
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
15
|
defaultValue: string;
|
|
15
16
|
cancelText: string;
|
|
16
17
|
submitText: string;
|
|
@@ -31,9 +32,9 @@ export default _default;
|
|
|
31
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
32
33
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
33
34
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
34
|
-
type:
|
|
35
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
35
36
|
} : {
|
|
36
|
-
type:
|
|
37
|
+
type: PropType<T[K]>;
|
|
37
38
|
required: true;
|
|
38
39
|
};
|
|
39
40
|
};
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
+
import { Props } from '../../forms/input/input';
|
|
4
|
+
import { Props } from '../../forms/button/button';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* Поле ввода с кнопкой
|
|
@@ -11,31 +14,31 @@ import { StoryObj } from '@storybook/vue3';
|
|
|
11
14
|
*/
|
|
12
15
|
declare const meta: {
|
|
13
16
|
component: {
|
|
14
|
-
new (...args: any[]):
|
|
17
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
15
18
|
modelValue: {
|
|
16
|
-
type:
|
|
19
|
+
type: PropType<string>;
|
|
17
20
|
required: true;
|
|
18
21
|
};
|
|
19
22
|
input: {
|
|
20
|
-
type:
|
|
23
|
+
type: PropType<Omit< Props, "modelValue">>;
|
|
21
24
|
};
|
|
22
25
|
button: {
|
|
23
|
-
type:
|
|
26
|
+
type: PropType<Props>;
|
|
24
27
|
};
|
|
25
28
|
}>> & {
|
|
26
29
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
27
|
-
}, {}, unknown, {}, {},
|
|
30
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
28
31
|
"update:modelValue": (value: string) => void;
|
|
29
|
-
},
|
|
32
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
30
33
|
modelValue: {
|
|
31
|
-
type:
|
|
34
|
+
type: PropType<string>;
|
|
32
35
|
required: true;
|
|
33
36
|
};
|
|
34
37
|
input: {
|
|
35
|
-
type:
|
|
38
|
+
type: PropType<Omit< Props, "modelValue">>;
|
|
36
39
|
};
|
|
37
40
|
button: {
|
|
38
|
-
type:
|
|
41
|
+
type: PropType<Props>;
|
|
39
42
|
};
|
|
40
43
|
}>> & {
|
|
41
44
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -46,16 +49,16 @@ declare const meta: {
|
|
|
46
49
|
C: {};
|
|
47
50
|
M: {};
|
|
48
51
|
Defaults: {};
|
|
49
|
-
}, Readonly<
|
|
52
|
+
}, Readonly< ExtractPropTypes<{
|
|
50
53
|
modelValue: {
|
|
51
|
-
type:
|
|
54
|
+
type: PropType<string>;
|
|
52
55
|
required: true;
|
|
53
56
|
};
|
|
54
57
|
input: {
|
|
55
|
-
type:
|
|
58
|
+
type: PropType<Omit< Props, "modelValue">>;
|
|
56
59
|
};
|
|
57
60
|
button: {
|
|
58
|
-
type:
|
|
61
|
+
type: PropType<Props>;
|
|
59
62
|
};
|
|
60
63
|
}>> & {
|
|
61
64
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -63,22 +66,22 @@ declare const meta: {
|
|
|
63
66
|
__isFragment?: undefined;
|
|
64
67
|
__isTeleport?: undefined;
|
|
65
68
|
__isSuspense?: undefined;
|
|
66
|
-
} &
|
|
69
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
67
70
|
modelValue: {
|
|
68
|
-
type:
|
|
71
|
+
type: PropType<string>;
|
|
69
72
|
required: true;
|
|
70
73
|
};
|
|
71
74
|
input: {
|
|
72
|
-
type:
|
|
75
|
+
type: PropType<Omit< Props, "modelValue">>;
|
|
73
76
|
};
|
|
74
77
|
button: {
|
|
75
|
-
type:
|
|
78
|
+
type: PropType<Props>;
|
|
76
79
|
};
|
|
77
80
|
}>> & {
|
|
78
81
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
79
|
-
}, {}, unknown, {}, {},
|
|
82
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
80
83
|
"update:modelValue": (value: string) => void;
|
|
81
|
-
}, string, {}, {}, string, {}> &
|
|
84
|
+
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
82
85
|
$slots: {
|
|
83
86
|
default?(_: {}): any;
|
|
84
87
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { Props } from './editInput';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
5
|
"update:modelValue": (value: string) => void;
|
|
5
|
-
}, string,
|
|
6
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
6
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
7
8
|
}, {}, {}>, {
|
|
8
9
|
default?(_: {}): any;
|
|
@@ -11,9 +12,9 @@ export default _default;
|
|
|
11
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
13
14
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type:
|
|
15
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
16
|
} : {
|
|
16
|
-
type:
|
|
17
|
+
type: PropType<T[K]>;
|
|
17
18
|
required: true;
|
|
18
19
|
};
|
|
19
20
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
3
|
|
|
3
4
|
import * as ComponentsConst from './menu';
|
|
4
5
|
/**
|
|
@@ -19,49 +20,49 @@ import * as ComponentsConst from './menu';
|
|
|
19
20
|
* Для **safari**: скролл с анимацией доступен только при подключении jQuery
|
|
20
21
|
*/
|
|
21
22
|
declare const meta: {
|
|
22
|
-
component:
|
|
23
|
+
component: DefineComponent<{
|
|
23
24
|
modelValue: {
|
|
24
25
|
required: true;
|
|
25
|
-
type:
|
|
26
|
+
type: PropType<any>;
|
|
26
27
|
};
|
|
27
28
|
styling: {
|
|
28
|
-
type:
|
|
29
|
+
type: PropType<"default" | "bar">;
|
|
29
30
|
default: string;
|
|
30
31
|
};
|
|
31
32
|
items: {
|
|
32
|
-
type:
|
|
33
|
+
type: PropType<ComponentsConst.Item[]>;
|
|
33
34
|
required: true;
|
|
34
35
|
};
|
|
35
36
|
isMultiple: {
|
|
36
|
-
type:
|
|
37
|
+
type: PropType<boolean>;
|
|
37
38
|
};
|
|
38
39
|
canBeEmptyMultiple: {
|
|
39
|
-
type:
|
|
40
|
+
type: PropType<boolean>;
|
|
40
41
|
};
|
|
41
42
|
selectAllItem: {
|
|
42
|
-
type:
|
|
43
|
+
type: PropType<ComponentsConst.Item>;
|
|
43
44
|
};
|
|
44
|
-
}, {}, unknown, {}, {},
|
|
45
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
45
46
|
modelValue: {
|
|
46
47
|
required: true;
|
|
47
|
-
type:
|
|
48
|
+
type: PropType<any>;
|
|
48
49
|
};
|
|
49
50
|
styling: {
|
|
50
|
-
type:
|
|
51
|
+
type: PropType<"default" | "bar">;
|
|
51
52
|
default: string;
|
|
52
53
|
};
|
|
53
54
|
items: {
|
|
54
|
-
type:
|
|
55
|
+
type: PropType<ComponentsConst.Item[]>;
|
|
55
56
|
required: true;
|
|
56
57
|
};
|
|
57
58
|
isMultiple: {
|
|
58
|
-
type:
|
|
59
|
+
type: PropType<boolean>;
|
|
59
60
|
};
|
|
60
61
|
canBeEmptyMultiple: {
|
|
61
|
-
type:
|
|
62
|
+
type: PropType<boolean>;
|
|
62
63
|
};
|
|
63
64
|
selectAllItem: {
|
|
64
|
-
type:
|
|
65
|
+
type: PropType<ComponentsConst.Item>;
|
|
65
66
|
};
|
|
66
67
|
}>>, {
|
|
67
68
|
styling: "default" | "bar";
|
|
@@ -1,48 +1,49 @@
|
|
|
1
1
|
import { Item } from './menu';
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<{
|
|
4
5
|
modelValue: {
|
|
5
6
|
required: true;
|
|
6
|
-
type:
|
|
7
|
+
type: PropType<any>;
|
|
7
8
|
};
|
|
8
9
|
styling: {
|
|
9
|
-
type:
|
|
10
|
+
type: PropType<"default" | "bar">;
|
|
10
11
|
default: string;
|
|
11
12
|
};
|
|
12
13
|
items: {
|
|
13
|
-
type:
|
|
14
|
+
type: PropType<Item[]>;
|
|
14
15
|
required: true;
|
|
15
16
|
};
|
|
16
17
|
isMultiple: {
|
|
17
|
-
type:
|
|
18
|
+
type: PropType<boolean>;
|
|
18
19
|
};
|
|
19
20
|
canBeEmptyMultiple: {
|
|
20
|
-
type:
|
|
21
|
+
type: PropType<boolean>;
|
|
21
22
|
};
|
|
22
23
|
selectAllItem: {
|
|
23
|
-
type:
|
|
24
|
+
type: PropType<Item>;
|
|
24
25
|
};
|
|
25
|
-
}, {}, unknown, {}, {},
|
|
26
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
26
27
|
modelValue: {
|
|
27
28
|
required: true;
|
|
28
|
-
type:
|
|
29
|
+
type: PropType<any>;
|
|
29
30
|
};
|
|
30
31
|
styling: {
|
|
31
|
-
type:
|
|
32
|
+
type: PropType<"default" | "bar">;
|
|
32
33
|
default: string;
|
|
33
34
|
};
|
|
34
35
|
items: {
|
|
35
|
-
type:
|
|
36
|
+
type: PropType<Item[]>;
|
|
36
37
|
required: true;
|
|
37
38
|
};
|
|
38
39
|
isMultiple: {
|
|
39
|
-
type:
|
|
40
|
+
type: PropType<boolean>;
|
|
40
41
|
};
|
|
41
42
|
canBeEmptyMultiple: {
|
|
42
|
-
type:
|
|
43
|
+
type: PropType<boolean>;
|
|
43
44
|
};
|
|
44
45
|
selectAllItem: {
|
|
45
|
-
type:
|
|
46
|
+
type: PropType<Item>;
|
|
46
47
|
};
|
|
47
48
|
}>>, {
|
|
48
49
|
styling: "default" | "bar";
|
|
@@ -1,49 +1,51 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import { Size } from '../../forms/helpers';
|
|
2
4
|
|
|
3
5
|
import * as ComponentsConst from './radioGroup';
|
|
4
6
|
declare const meta: {
|
|
5
|
-
component:
|
|
7
|
+
component: DefineComponent<{
|
|
6
8
|
modelValue: {
|
|
7
9
|
required: true;
|
|
8
|
-
type:
|
|
10
|
+
type: PropType<string>;
|
|
9
11
|
};
|
|
10
12
|
size: {
|
|
11
|
-
type:
|
|
13
|
+
type: PropType<Size>;
|
|
12
14
|
default: string;
|
|
13
15
|
};
|
|
14
16
|
isError: {
|
|
15
|
-
type:
|
|
17
|
+
type: PropType<boolean>;
|
|
16
18
|
};
|
|
17
19
|
radiosProps: {
|
|
18
|
-
type:
|
|
20
|
+
type: PropType<ComponentsConst.ItemProps[]>;
|
|
19
21
|
};
|
|
20
22
|
showIndicator: {
|
|
21
|
-
type:
|
|
23
|
+
type: PropType<boolean>;
|
|
22
24
|
};
|
|
23
|
-
}, {}, unknown, {}, {},
|
|
25
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
24
26
|
"update:modelValue": (value: string) => void;
|
|
25
|
-
}, string,
|
|
27
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
26
28
|
modelValue: {
|
|
27
29
|
required: true;
|
|
28
|
-
type:
|
|
30
|
+
type: PropType<string>;
|
|
29
31
|
};
|
|
30
32
|
size: {
|
|
31
|
-
type:
|
|
33
|
+
type: PropType<Size>;
|
|
32
34
|
default: string;
|
|
33
35
|
};
|
|
34
36
|
isError: {
|
|
35
|
-
type:
|
|
37
|
+
type: PropType<boolean>;
|
|
36
38
|
};
|
|
37
39
|
radiosProps: {
|
|
38
|
-
type:
|
|
40
|
+
type: PropType<ComponentsConst.ItemProps[]>;
|
|
39
41
|
};
|
|
40
42
|
showIndicator: {
|
|
41
|
-
type:
|
|
43
|
+
type: PropType<boolean>;
|
|
42
44
|
};
|
|
43
45
|
}>> & {
|
|
44
46
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
45
47
|
}, {
|
|
46
|
-
size:
|
|
48
|
+
size: Size;
|
|
47
49
|
}, {}>;
|
|
48
50
|
tags: string[];
|
|
49
51
|
argTypes: any;
|
|
@@ -1,44 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { Size } from '../../forms/helpers';
|
|
3
|
+
import { ItemProps } from './radioGroup';
|
|
4
|
+
declare const _default: DefineComponent<{
|
|
2
5
|
modelValue: {
|
|
3
6
|
required: true;
|
|
4
|
-
type:
|
|
7
|
+
type: PropType<string>;
|
|
5
8
|
};
|
|
6
9
|
size: {
|
|
7
|
-
type:
|
|
10
|
+
type: PropType<Size>;
|
|
8
11
|
default: string;
|
|
9
12
|
};
|
|
10
13
|
isError: {
|
|
11
|
-
type:
|
|
14
|
+
type: PropType<boolean>;
|
|
12
15
|
};
|
|
13
16
|
radiosProps: {
|
|
14
|
-
type:
|
|
17
|
+
type: PropType< ItemProps[]>;
|
|
15
18
|
};
|
|
16
19
|
showIndicator: {
|
|
17
|
-
type:
|
|
20
|
+
type: PropType<boolean>;
|
|
18
21
|
};
|
|
19
|
-
}, {}, unknown, {}, {},
|
|
22
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
20
23
|
"update:modelValue": (value: string) => void;
|
|
21
|
-
}, string,
|
|
24
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
22
25
|
modelValue: {
|
|
23
26
|
required: true;
|
|
24
|
-
type:
|
|
27
|
+
type: PropType<string>;
|
|
25
28
|
};
|
|
26
29
|
size: {
|
|
27
|
-
type:
|
|
30
|
+
type: PropType<Size>;
|
|
28
31
|
default: string;
|
|
29
32
|
};
|
|
30
33
|
isError: {
|
|
31
|
-
type:
|
|
34
|
+
type: PropType<boolean>;
|
|
32
35
|
};
|
|
33
36
|
radiosProps: {
|
|
34
|
-
type:
|
|
37
|
+
type: PropType< ItemProps[]>;
|
|
35
38
|
};
|
|
36
39
|
showIndicator: {
|
|
37
|
-
type:
|
|
40
|
+
type: PropType<boolean>;
|
|
38
41
|
};
|
|
39
42
|
}>> & {
|
|
40
43
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
41
44
|
}, {
|
|
42
|
-
size:
|
|
45
|
+
size: Size;
|
|
43
46
|
}, {}>;
|
|
44
47
|
export default _default;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { PropsItemMulti } from './selector2';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<PropsItemMulti>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
4
5
|
delete: (id: number | null) => void;
|
|
5
|
-
}, string,
|
|
6
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PropsItemMulti>>> & {
|
|
6
7
|
onDelete?: ((id: number | null) => any) | undefined;
|
|
7
8
|
}, {}, {}>;
|
|
8
9
|
export default _default;
|
|
9
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
12
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type:
|
|
13
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
14
|
} : {
|
|
14
|
-
type:
|
|
15
|
+
type: PropType<T[K]>;
|
|
15
16
|
required: true;
|
|
16
17
|
};
|
|
17
18
|
};
|