@topvisor/ui 0.9.32 → 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-B2sjxM3R.amd.js +247 -0
- package/.chunks/datepicker-B2sjxM3R.amd.js.map +1 -0
- package/.chunks/datepicker-V4rjmE4P.es.js +289 -0
- 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-BfCj7kQR.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-BliXIrA8.es.js.map +1 -0
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-C7tg-67i.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-C0tRJmSC.amd.js.map +1 -0
- package/.chunks/{menu-v5knQbeF.es.js → menu-CHczkYl6.es.js} +2 -2
- package/.chunks/menu-CHczkYl6.es.js.map +1 -0
- package/.chunks/{menu-S1Hk7D3W.amd.js → menu-buQxcAhv.amd.js} +2 -2
- package/.chunks/menu-buQxcAhv.amd.js.map +1 -0
- package/.chunks/{popup-DncRq57t.amd.js → popup-BMNS1F2G.amd.js} +440 -440
- package/.chunks/popup-BMNS1F2G.amd.js.map +1 -0
- package/.chunks/{popup-BK3xlBZm.es.js → popup-CJLGyBwQ.es.js} +485 -485
- package/.chunks/popup-CJLGyBwQ.es.js.map +1 -0
- package/.chunks/store-Bl79G7T_.amd.js.map +1 -1
- package/.chunks/store-PoMCiuBr.es.js.map +1 -1
- package/.chunks/{widgetInput-CrrUoVPc.amd.js → widgetInput-ASxjfQpi.amd.js} +2 -2
- package/.chunks/widgetInput-ASxjfQpi.amd.js.map +1 -0
- package/.chunks/{widgetInput-Br5COpvG.es.js → widgetInput-p8fSQGk9.es.js} +2 -2
- package/.chunks/widgetInput-p8fSQGk9.es.js.map +1 -0
- package/README.md +86 -86
- 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/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/forms/helpers.amd.js.map +1 -1
- 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.js +82 -82
- package/formsExt/formsExt.js.map +1 -1
- package/icomoon/Read Me.txt +7 -7
- package/icomoon/demo-files/demo.css +161 -161
- package/icomoon/demo-files/demo.js +30 -30
- package/icomoon/demo.html +3379 -3379
- package/icomoon/fonts/Topvisor-2.svg +263 -263
- package/icomoon/style.css +740 -740
- package/package.json +24 -24
- package/popup/popup.amd.js +1 -1
- package/popup/popup.js +2 -2
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.js +2 -2
- package/popup/worker.js.map +1 -1
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.js +3 -3
- package/project/project.js.map +1 -1
- package/require/css.amd.js +11 -11
- 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 +62 -60
- package/src/components/forms/button/button.vue.d.ts +14 -14
- package/src/components/forms/checkbox/checkbox.stories.d.ts +37 -37
- package/src/components/forms/checkbox/checkbox.vue.d.ts +20 -23
- package/src/components/forms/controlLabel/controlLabel.stories.d.ts +17 -16
- package/src/components/forms/controlLabel/controlLabel.vue.d.ts +5 -6
- package/src/components/forms/forms.d.ts +8 -0
- package/src/components/forms/hint/hint.stories.d.ts +87 -22
- package/src/components/forms/hint/hint.vue.d.ts +4 -3
- package/src/components/forms/input/input.stories.d.ts +67 -65
- package/src/components/forms/input/input.vue.d.ts +13 -13
- package/src/components/forms/inputDate/datepicker.d.ts +2 -0
- 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 +124 -89
- package/src/components/forms/inputRange/inputRange.vue.d.ts +3 -4
- 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 +35 -34
- package/src/components/forms/radio/radio.vue.d.ts +8 -9
- package/src/components/forms/select/select.stories.d.ts +24 -22
- package/src/components/forms/select/select.vue.d.ts +25 -24
- package/src/components/forms/switcher/switcher.stories.d.ts +35 -34
- package/src/components/forms/switcher/switcher.vue.d.ts +8 -9
- 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 +25 -22
- package/src/components/formsExt/editInput/editInput.vue.d.ts +8 -9
- package/src/components/formsExt/menu/menu.stories.d.ts +16 -15
- package/src/components/formsExt/menu/menu.vue.d.ts +16 -15
- 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/api.d.ts +3 -3
- package/src/components/formsExt/selector2/itemMulti.vue.d.ts +5 -4
- package/src/components/formsExt/selector2/selector2.stories.d.ts +98 -97
- package/src/components/formsExt/selector2/selector2.vue.d.ts +47 -47
- package/src/components/popup/popup/listItem.vue.d.ts +9 -10
- package/src/components/popup/popup/opener.vue.d.ts +11 -12
- package/src/components/popup/popup/popup.stories.d.ts +271 -202
- package/src/components/popup/popup/popup.vue.d.ts +17 -18
- package/src/components/popup/popup/widgetInput.vue.d.ts +31 -28
- package/src/components/project/selectorCompetitors/composables.d.ts +2 -2
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.d.ts +9 -8
- package/src/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +10 -10
- package/src/components/project/selectorCompetitors/stories/items.d.ts +2 -1
- package/src/components/tabs/tabs/content.vue.d.ts +5 -6
- package/src/components/tabs/tabs/tab.vue.d.ts +5 -6
- package/src/components/tabs/tabs/tabs.stories.d.ts +244 -177
- package/src/components/tabs/tabs/tabs.vue.d.ts +5 -6
- package/src/components/tabsView/tabsView/menu.vue.d.ts +10 -11
- package/src/components/tabsView/tabsView/menuDelimeter.vue.d.ts +2 -1
- package/src/components/tabsView/tabsView/menuItem.vue.d.ts +9 -10
- package/src/components/tabsView/tabsView/menuTitle.vue.d.ts +5 -6
- package/src/components/tabsView/tabsView/store.d.ts +129 -72
- package/src/components/tabsView/tabsView/tabsView.d.ts +1 -1
- package/src/components/tabsView/tabsView/tabsView.stories.d.ts +107 -106
- package/src/components/tabsView/tabsView/tabsView.vue.d.ts +16 -17
- 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 +102 -101
- 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 +54 -53
- package/src/core/core/core.d.ts +2 -1
- 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 +9 -0
- package/src/core/utils/image.d.ts +12 -0
- package/src/core/utils/number.d.ts +7 -0
- package/src/core/utils/price.d.ts +1 -1
- package/src/core/utils/store/localStorage.d.ts +1 -1
- package/src/core/utils/store/plugin.d.ts +2 -1
- package/src/core/utils/store/store.d.ts +2 -2
- package/src/core/utils/string.d.ts +5 -1
- 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/css.amd.js.map +1 -1
- package/utils/css.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/dom.amd.js.map +1 -1
- package/utils/dom.js.map +1 -1
- 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/keyboard.amd.js.map +1 -1
- package/utils/keyboard.js.map +1 -1
- 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/price.amd.js.map +1 -1
- package/utils/price.js.map +1 -1
- package/utils/route.amd.js.map +1 -1
- package/utils/route.js.map +1 -1
- package/utils/scroll.amd.js +1 -1
- package/utils/scroll.amd.js.map +1 -1
- package/utils/scroll.js +1 -1
- package/utils/scroll.js.map +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-5QMJRJn-.amd.js +0 -247
- package/.chunks/datepicker-5QMJRJn-.amd.js.map +0 -1
- package/.chunks/datepicker-D1JLNEmV.es.js +0 -289
- package/.chunks/datepicker-D1JLNEmV.es.js.map +0 -1
- package/.chunks/forms-B2NcBl7S.amd.js +0 -3
- package/.chunks/forms-B2NcBl7S.amd.js.map +0 -1
- package/.chunks/forms-S36M7cBH.es.js +0 -1170
- package/.chunks/forms-S36M7cBH.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BfCj7kQR.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C7tg-67i.amd.js.map +0 -1
- package/.chunks/menu-S1Hk7D3W.amd.js.map +0 -1
- package/.chunks/menu-v5knQbeF.es.js.map +0 -1
- package/.chunks/popup-BK3xlBZm.es.js.map +0 -1
- package/.chunks/popup-DncRq57t.amd.js.map +0 -1
- package/.chunks/widgetInput-Br5COpvG.es.js.map +0 -1
- package/.chunks/widgetInput-CrrUoVPc.amd.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,131 +1,132 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
3
|
|
|
3
4
|
declare const meta: {
|
|
4
|
-
component:
|
|
5
|
+
component: DefineComponent<{
|
|
5
6
|
title: {
|
|
6
|
-
type:
|
|
7
|
+
type: PropType<string>;
|
|
7
8
|
};
|
|
8
9
|
closeText: {
|
|
9
|
-
type:
|
|
10
|
+
type: PropType<string>;
|
|
10
11
|
default: string;
|
|
11
12
|
};
|
|
12
13
|
name: {
|
|
13
|
-
type:
|
|
14
|
+
type: PropType<string>;
|
|
14
15
|
};
|
|
15
16
|
disabled: {
|
|
16
|
-
type:
|
|
17
|
+
type: PropType<boolean>;
|
|
17
18
|
};
|
|
18
19
|
modelValue: {
|
|
19
|
-
type:
|
|
20
|
+
type: PropType<string>;
|
|
20
21
|
required: true;
|
|
21
22
|
};
|
|
22
23
|
isError: {
|
|
23
|
-
type:
|
|
24
|
+
type: PropType<boolean>;
|
|
24
25
|
};
|
|
25
26
|
hint: {
|
|
26
|
-
type:
|
|
27
|
+
type: PropType<string>;
|
|
27
28
|
};
|
|
28
29
|
readonly: {
|
|
29
|
-
type:
|
|
30
|
+
type: PropType<boolean>;
|
|
30
31
|
};
|
|
31
32
|
placeholder: {
|
|
32
|
-
type:
|
|
33
|
+
type: PropType<string>;
|
|
33
34
|
};
|
|
34
35
|
rows: {
|
|
35
|
-
type:
|
|
36
|
+
type: PropType<number>;
|
|
36
37
|
};
|
|
37
38
|
minHeight: {
|
|
38
|
-
type:
|
|
39
|
+
type: PropType<number>;
|
|
39
40
|
};
|
|
40
41
|
expandable: {
|
|
41
|
-
type:
|
|
42
|
+
type: PropType<boolean>;
|
|
42
43
|
default: boolean;
|
|
43
44
|
};
|
|
44
45
|
defaultValue: {
|
|
45
|
-
type:
|
|
46
|
+
type: PropType<string>;
|
|
46
47
|
default: string;
|
|
47
48
|
};
|
|
48
49
|
cancelText: {
|
|
49
|
-
type:
|
|
50
|
+
type: PropType<string>;
|
|
50
51
|
default: string;
|
|
51
52
|
};
|
|
52
53
|
submitText: {
|
|
53
|
-
type:
|
|
54
|
+
type: PropType<string>;
|
|
54
55
|
default: string;
|
|
55
56
|
};
|
|
56
57
|
isFocused: {
|
|
57
|
-
type:
|
|
58
|
+
type: PropType<boolean>;
|
|
58
59
|
};
|
|
59
60
|
forceShowCloseBtn: {
|
|
60
|
-
type:
|
|
61
|
+
type: PropType<boolean>;
|
|
61
62
|
};
|
|
62
63
|
attachToKeyboard: {
|
|
63
|
-
type:
|
|
64
|
+
type: PropType<boolean>;
|
|
64
65
|
};
|
|
65
|
-
}, {}, unknown, {}, {},
|
|
66
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
66
67
|
submit: (value: string) => void;
|
|
67
68
|
close: () => void;
|
|
68
69
|
clickOnTitle: () => void;
|
|
69
|
-
}, string,
|
|
70
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
70
71
|
title: {
|
|
71
|
-
type:
|
|
72
|
+
type: PropType<string>;
|
|
72
73
|
};
|
|
73
74
|
closeText: {
|
|
74
|
-
type:
|
|
75
|
+
type: PropType<string>;
|
|
75
76
|
default: string;
|
|
76
77
|
};
|
|
77
78
|
name: {
|
|
78
|
-
type:
|
|
79
|
+
type: PropType<string>;
|
|
79
80
|
};
|
|
80
81
|
disabled: {
|
|
81
|
-
type:
|
|
82
|
+
type: PropType<boolean>;
|
|
82
83
|
};
|
|
83
84
|
modelValue: {
|
|
84
|
-
type:
|
|
85
|
+
type: PropType<string>;
|
|
85
86
|
required: true;
|
|
86
87
|
};
|
|
87
88
|
isError: {
|
|
88
|
-
type:
|
|
89
|
+
type: PropType<boolean>;
|
|
89
90
|
};
|
|
90
91
|
hint: {
|
|
91
|
-
type:
|
|
92
|
+
type: PropType<string>;
|
|
92
93
|
};
|
|
93
94
|
readonly: {
|
|
94
|
-
type:
|
|
95
|
+
type: PropType<boolean>;
|
|
95
96
|
};
|
|
96
97
|
placeholder: {
|
|
97
|
-
type:
|
|
98
|
+
type: PropType<string>;
|
|
98
99
|
};
|
|
99
100
|
rows: {
|
|
100
|
-
type:
|
|
101
|
+
type: PropType<number>;
|
|
101
102
|
};
|
|
102
103
|
minHeight: {
|
|
103
|
-
type:
|
|
104
|
+
type: PropType<number>;
|
|
104
105
|
};
|
|
105
106
|
expandable: {
|
|
106
|
-
type:
|
|
107
|
+
type: PropType<boolean>;
|
|
107
108
|
default: boolean;
|
|
108
109
|
};
|
|
109
110
|
defaultValue: {
|
|
110
|
-
type:
|
|
111
|
+
type: PropType<string>;
|
|
111
112
|
default: string;
|
|
112
113
|
};
|
|
113
114
|
cancelText: {
|
|
114
|
-
type:
|
|
115
|
+
type: PropType<string>;
|
|
115
116
|
default: string;
|
|
116
117
|
};
|
|
117
118
|
submitText: {
|
|
118
|
-
type:
|
|
119
|
+
type: PropType<string>;
|
|
119
120
|
default: string;
|
|
120
121
|
};
|
|
121
122
|
isFocused: {
|
|
122
|
-
type:
|
|
123
|
+
type: PropType<boolean>;
|
|
123
124
|
};
|
|
124
125
|
forceShowCloseBtn: {
|
|
125
|
-
type:
|
|
126
|
+
type: PropType<boolean>;
|
|
126
127
|
};
|
|
127
128
|
attachToKeyboard: {
|
|
128
|
-
type:
|
|
129
|
+
type: PropType<boolean>;
|
|
129
130
|
};
|
|
130
131
|
}>> & {
|
|
131
132
|
onSubmit?: ((value: string) => any) | undefined;
|
|
@@ -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,39 +49,39 @@ 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;
|
|
62
65
|
}, {}, {}, {}, {}, {}>;
|
|
63
|
-
__isFragment?:
|
|
64
|
-
__isTeleport?:
|
|
65
|
-
__isSuspense?:
|
|
66
|
-
} &
|
|
66
|
+
__isFragment?: undefined;
|
|
67
|
+
__isTeleport?: undefined;
|
|
68
|
+
__isSuspense?: undefined;
|
|
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,21 +1,20 @@
|
|
|
1
1
|
import { Props } from './editInput';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
5
|
"update:modelValue": (value: string) => void;
|
|
8
|
-
}, string,
|
|
6
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
9
7
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
|
-
}, {}, {}
|
|
11
|
-
|
|
8
|
+
}, {}, {}>, {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
}>;
|
|
12
11
|
export default _default;
|
|
13
12
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
13
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
14
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type:
|
|
15
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
16
|
} : {
|
|
18
|
-
type:
|
|
17
|
+
type: PropType<T[K]>;
|
|
19
18
|
required: true;
|
|
20
19
|
};
|
|
21
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,52 +20,52 @@ 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
|
-
styling:
|
|
68
|
+
styling: "default" | "bar";
|
|
68
69
|
}, {}>;
|
|
69
70
|
tags: string[];
|
|
70
71
|
argTypes: any;
|
|
@@ -1,50 +1,51 @@
|
|
|
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
|
-
styling:
|
|
49
|
+
styling: "default" | "bar";
|
|
49
50
|
}, {}>;
|
|
50
51
|
export default _default;
|
|
@@ -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,9 +1,9 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { Item, Props } from './selector2';
|
|
3
3
|
|
|
4
|
-
export declare const useAPI: (apiRequest: Props[
|
|
5
|
-
items: Ref<Item[]
|
|
6
|
-
isLoading: Ref<boolean
|
|
4
|
+
export declare const useAPI: (apiRequest: Props['apiRequest'], minLength: number, useCache: Props['useCache']) => {
|
|
5
|
+
items: Ref<Item[]>;
|
|
6
|
+
isLoading: Ref<boolean>;
|
|
7
7
|
loadAppend: () => Promise<void>;
|
|
8
8
|
setSearchTextAndLoad: (searchText: string, useDebounce?: boolean) => void;
|
|
9
9
|
};
|
|
@@ -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
|
};
|