@topvisor/ui 0.9.33 → 0.9.34-utils-components-1
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-D1JLNEmV.es.js → datepicker-BGhDjLcn.es.js} +2 -2
- package/.chunks/{datepicker-D1JLNEmV.es.js.map → datepicker-BGhDjLcn.es.js.map} +1 -1
- package/.chunks/{datepicker-5QMJRJn-.amd.js → datepicker-DM6aPyRB.amd.js} +2 -2
- package/.chunks/{datepicker-5QMJRJn-.amd.js.map → datepicker-DM6aPyRB.amd.js.map} +1 -1
- package/.chunks/{forms-S36M7cBH.es.js → forms-CRAV8PiZ.es.js} +328 -312
- package/.chunks/forms-CRAV8PiZ.es.js.map +1 -0
- package/.chunks/forms-Cksc7Rb7.amd.js +3 -0
- package/.chunks/forms-Cksc7Rb7.amd.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-C2XaxeNZ.es.js} +9 -9
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-BfCj7kQR.es.js.map → listItem.vue_vue_type_script_setup_true_lang-C2XaxeNZ.es.js.map} +1 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CpNwVBHY.amd.js +2 -0
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-C7tg-67i.amd.js.map → listItem.vue_vue_type_script_setup_true_lang-CpNwVBHY.amd.js.map} +1 -1
- package/.chunks/{menu-v5knQbeF.es.js → menu-BWjYRHkQ.es.js} +8 -8
- package/.chunks/menu-BWjYRHkQ.es.js.map +1 -0
- package/.chunks/{menu-S1Hk7D3W.amd.js → menu-BX8GV8-v.amd.js} +2 -2
- package/.chunks/menu-BX8GV8-v.amd.js.map +1 -0
- package/.chunks/{popup-DncRq57t.amd.js → popup-3fVBIqu0.amd.js} +3 -3
- package/.chunks/{popup-DncRq57t.amd.js.map → popup-3fVBIqu0.amd.js.map} +1 -1
- package/.chunks/{popup-BK3xlBZm.es.js → popup-BWTP6yaC.es.js} +3 -3
- package/.chunks/{popup-BK3xlBZm.es.js.map → popup-BWTP6yaC.es.js.map} +1 -1
- package/.chunks/punycode.es6-C2yitnNb.amd.js +2 -0
- package/.chunks/punycode.es6-C2yitnNb.amd.js.map +1 -0
- package/.chunks/punycode.es6-CNI-zL6U.es.js +134 -0
- package/.chunks/punycode.es6-CNI-zL6U.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/core/core.amd.js +1 -1
- package/core/core.js +1 -1
- package/core/directives/focus.amd.js +2 -0
- package/core/directives/focus.amd.js.map +1 -0
- package/core/directives/focus.d.ts +3 -0
- package/core/directives/focus.js +5 -0
- package/core/directives/focus.js.map +1 -0
- package/core/directives/sticky.amd.js +2 -0
- package/core/directives/sticky.amd.js.map +1 -0
- package/core/directives/sticky.d.ts +3 -0
- package/core/directives/sticky.js +5 -0
- package/core/directives/sticky.js.map +1 -0
- package/core/directives/swimUp.amd.js +2 -0
- package/core/directives/swimUp.amd.js.map +1 -0
- package/core/directives/swimUp.d.ts +3 -0
- package/core/directives/swimUp.js +5 -0
- package/core/directives/swimUp.js.map +1 -0
- package/core/directives/tooltip.amd.js +2 -0
- package/core/directives/tooltip.amd.js.map +1 -0
- package/core/directives/tooltip.d.ts +3 -0
- package/core/directives/tooltip.js +5 -0
- package/core/directives/tooltip.js.map +1 -0
- package/core/plugin/plugin.amd.js +2 -0
- package/core/plugin/plugin.amd.js.map +1 -0
- package/core/plugin/plugin.d.ts +3 -0
- package/core/plugin/plugin.js +23 -0
- package/core/plugin/plugin.js.map +1 -0
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +14 -14
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +122 -363
- package/formsExt/formsExt.js.map +1 -1
- package/package.json +33 -24
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.js +47 -6
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.js +3 -3
- package/project/project.amd.js +1 -1
- package/project/project.amd.js.map +1 -1
- package/project/project.js +15 -15
- 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 +33 -13
- package/src/components/forms/hint/hint.stories.d.ts +23 -22
- 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 +84 -81
- 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 -23
- 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/formsExt.d.ts +10 -5
- package/src/components/formsExt/menu/menu.stories.d.ts +15 -14
- package/src/components/formsExt/menu/menu.vue.d.ts +17 -16
- 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 +2 -2
- package/src/components/formsExt/selector2/selector2.stories.d.ts +67 -65
- 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 +198 -193
- 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/popup/popup.d.ts +10 -4
- package/src/components/popup/worker.d.ts +4 -1
- package/src/components/project/project.d.ts +4 -1
- package/src/components/project/selectorCompetitors/composables.d.ts +2 -1
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.d.ts +9 -8
- package/src/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +10 -9
- package/src/components/project/selectorCompetitors/stories/items.d.ts +2 -1
- 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 +165 -162
- package/src/components/tabs/tabs/tabs.vue.d.ts +4 -3
- package/src/components/tabs/tabs.d.ts +8 -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 +126 -69
- 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/components/tabsView/tabsView.d.ts +8 -3
- package/src/core/core/core.d.ts +1 -0
- package/src/core/core/page.d.ts +4 -0
- package/src/core/core/state.d.ts +4 -0
- package/src/core/directives/focus.d.ts +9 -0
- package/src/core/directives/sticky.d.ts +11 -0
- package/src/core/directives/swimUp.d.ts +10 -0
- package/src/core/directives/tooltip.d.ts +11 -0
- package/src/core/plugin/plugin.d.ts +48 -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.amd.js.map +1 -1
- package/tabs/tabs.js +23 -23
- package/tabs/tabs.js.map +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.js +72 -73
- package/tabsView/tabsView.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.js +7 -7
- package/utils/device.amd.js +1 -1
- package/utils/device.js +9 -8
- 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 +20 -13
- 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 +2 -2
- package/utils/url.amd.js.map +1 -1
- package/utils/url.js +40 -168
- package/utils/url.js.map +1 -1
- package/utils/window.amd.js +1 -1
- package/utils/window.js +1 -1
- package/web-types.json +62 -0
- package/.chunks/forms-B2NcBl7S.amd.js +0 -3
- package/.chunks/forms-B2NcBl7S.amd.js.map +0 -1
- package/.chunks/forms-S36M7cBH.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C7tg-67i.amd.js +0 -2
- package/.chunks/menu-S1Hk7D3W.amd.js.map +0 -1
- package/.chunks/menu-v5knQbeF.es.js.map +0 -1
- package/.chunks/widgetInput-Br5COpvG.es.js +0 -46
- package/.chunks/widgetInput-Br5COpvG.es.js.map +0 -1
- package/.chunks/widgetInput-CrrUoVPc.amd.js +0 -2
- package/.chunks/widgetInput-CrrUoVPc.amd.js.map +0 -1
- package/src/components/formsExt/selector2/itemMulti.vue.d.ts +0 -17
- package/src/components/formsExt/selector2/selector2.vue.d.ts +0 -130
- 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
- /package/assets/{widgetInput.css → popup.css} +0 -0
|
@@ -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,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?: never;
|
|
64
67
|
__isTeleport?: never;
|
|
65
68
|
__isSuspense?: never;
|
|
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,11 +1,12 @@
|
|
|
1
1
|
import { Props } from './editInput';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
4
|
declare function __VLS_template(): {
|
|
4
5
|
default?(_: {}): any;
|
|
5
6
|
};
|
|
6
|
-
declare const __VLS_component:
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
7
8
|
"update:modelValue": (value: string) => void;
|
|
8
|
-
}, string,
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
9
10
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
11
|
}, {}, {}>;
|
|
11
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -13,9 +14,9 @@ export default _default;
|
|
|
13
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
14
15
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
15
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
16
|
-
type:
|
|
17
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
17
18
|
} : {
|
|
18
|
-
type:
|
|
19
|
+
type: PropType<T[K]>;
|
|
19
20
|
required: true;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { ComponentCustomProps } from 'vue';
|
|
2
|
+
import { default as EditArea } from './editArea/editArea.vue';
|
|
3
|
+
import { default as EditInput } from './editInput/editInput.vue';
|
|
4
|
+
import { default as RadioGroup } from './radioGroup/radioGroup.vue';
|
|
5
|
+
import { default as Menu } from './menu/menu.vue';
|
|
6
|
+
|
|
7
|
+
export declare const TopEditArea: typeof EditArea & ComponentCustomProps;
|
|
8
|
+
export declare const TopEditInput: typeof EditInput & ComponentCustomProps;
|
|
9
|
+
export declare const TopRadioGroup: typeof RadioGroup & ComponentCustomProps;
|
|
10
|
+
export declare const TopMenu: typeof Menu & ComponentCustomProps;
|
|
@@ -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: (typeof ComponentsConst.styling)[keyof typeof ComponentsConst.styling];
|
|
@@ -1,50 +1,51 @@
|
|
|
1
|
-
import { Item } from './menu';
|
|
1
|
+
import { Item, styling } 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: styling[keyof styling];
|
|
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;
|
|
@@ -2,8 +2,8 @@ import { Ref } from 'vue';
|
|
|
2
2
|
import { Item, Props } from './selector2';
|
|
3
3
|
|
|
4
4
|
export declare const useAPI: (apiRequest: Props["apiRequest"], minLength: number, useCache: Props["useCache"]) => {
|
|
5
|
-
items: Ref<Item[]
|
|
6
|
-
isLoading: Ref<boolean
|
|
5
|
+
items: Ref<Item[]>;
|
|
6
|
+
isLoading: Ref<boolean>;
|
|
7
7
|
loadAppend: () => Promise<void>;
|
|
8
8
|
setSearchTextAndLoad: (searchText: string, useDebounce?: boolean) => void;
|
|
9
9
|
};
|