@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,90 +1,92 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
+
import { Size } from '../helpers';
|
|
2
4
|
|
|
3
5
|
import * as ComponentsConst from './button';
|
|
4
6
|
declare const meta: {
|
|
5
7
|
component: {
|
|
6
|
-
new (...args: any[]):
|
|
8
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
9
|
icon: {
|
|
8
|
-
type:
|
|
10
|
+
type: PropType<string>;
|
|
9
11
|
};
|
|
10
12
|
icon2: {
|
|
11
|
-
type:
|
|
13
|
+
type: PropType<string>;
|
|
12
14
|
};
|
|
13
15
|
title: {
|
|
14
|
-
type:
|
|
16
|
+
type: PropType<string>;
|
|
15
17
|
};
|
|
16
18
|
size: {
|
|
17
|
-
type:
|
|
19
|
+
type: PropType<Size>;
|
|
18
20
|
default: string;
|
|
19
21
|
};
|
|
20
22
|
color: {
|
|
21
|
-
type:
|
|
23
|
+
type: PropType<ComponentsConst.Color>;
|
|
22
24
|
default: string;
|
|
23
25
|
};
|
|
24
26
|
styling: {
|
|
25
|
-
type:
|
|
27
|
+
type: PropType<ComponentsConst.Style>;
|
|
26
28
|
default: string;
|
|
27
29
|
};
|
|
28
30
|
name: {
|
|
29
|
-
type:
|
|
31
|
+
type: PropType<string>;
|
|
30
32
|
};
|
|
31
33
|
href: {
|
|
32
|
-
type:
|
|
34
|
+
type: PropType<string>;
|
|
33
35
|
};
|
|
34
36
|
disabled: {
|
|
35
|
-
type:
|
|
37
|
+
type: PropType<boolean>;
|
|
36
38
|
};
|
|
37
39
|
isSubmit: {
|
|
38
|
-
type:
|
|
40
|
+
type: PropType<boolean>;
|
|
39
41
|
};
|
|
40
42
|
isActive: {
|
|
41
|
-
type:
|
|
43
|
+
type: PropType<boolean>;
|
|
42
44
|
};
|
|
43
45
|
isProgress: {
|
|
44
|
-
type:
|
|
46
|
+
type: PropType<boolean>;
|
|
45
47
|
};
|
|
46
|
-
}>>, {}, unknown, {}, {},
|
|
48
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
47
49
|
icon: {
|
|
48
|
-
type:
|
|
50
|
+
type: PropType<string>;
|
|
49
51
|
};
|
|
50
52
|
icon2: {
|
|
51
|
-
type:
|
|
53
|
+
type: PropType<string>;
|
|
52
54
|
};
|
|
53
55
|
title: {
|
|
54
|
-
type:
|
|
56
|
+
type: PropType<string>;
|
|
55
57
|
};
|
|
56
58
|
size: {
|
|
57
|
-
type:
|
|
59
|
+
type: PropType<Size>;
|
|
58
60
|
default: string;
|
|
59
61
|
};
|
|
60
62
|
color: {
|
|
61
|
-
type:
|
|
63
|
+
type: PropType<ComponentsConst.Color>;
|
|
62
64
|
default: string;
|
|
63
65
|
};
|
|
64
66
|
styling: {
|
|
65
|
-
type:
|
|
67
|
+
type: PropType<ComponentsConst.Style>;
|
|
66
68
|
default: string;
|
|
67
69
|
};
|
|
68
70
|
name: {
|
|
69
|
-
type:
|
|
71
|
+
type: PropType<string>;
|
|
70
72
|
};
|
|
71
73
|
href: {
|
|
72
|
-
type:
|
|
74
|
+
type: PropType<string>;
|
|
73
75
|
};
|
|
74
76
|
disabled: {
|
|
75
|
-
type:
|
|
77
|
+
type: PropType<boolean>;
|
|
76
78
|
};
|
|
77
79
|
isSubmit: {
|
|
78
|
-
type:
|
|
80
|
+
type: PropType<boolean>;
|
|
79
81
|
};
|
|
80
82
|
isActive: {
|
|
81
|
-
type:
|
|
83
|
+
type: PropType<boolean>;
|
|
82
84
|
};
|
|
83
85
|
isProgress: {
|
|
84
|
-
type:
|
|
86
|
+
type: PropType<boolean>;
|
|
85
87
|
};
|
|
86
88
|
}>>, {
|
|
87
|
-
size:
|
|
89
|
+
size: Size;
|
|
88
90
|
color: ComponentsConst.Color;
|
|
89
91
|
styling: ComponentsConst.Style;
|
|
90
92
|
}, true, {}, {}, {
|
|
@@ -94,99 +96,99 @@ declare const meta: {
|
|
|
94
96
|
C: {};
|
|
95
97
|
M: {};
|
|
96
98
|
Defaults: {};
|
|
97
|
-
}, Readonly<
|
|
99
|
+
}, Readonly< ExtractPropTypes<{
|
|
98
100
|
icon: {
|
|
99
|
-
type:
|
|
101
|
+
type: PropType<string>;
|
|
100
102
|
};
|
|
101
103
|
icon2: {
|
|
102
|
-
type:
|
|
104
|
+
type: PropType<string>;
|
|
103
105
|
};
|
|
104
106
|
title: {
|
|
105
|
-
type:
|
|
107
|
+
type: PropType<string>;
|
|
106
108
|
};
|
|
107
109
|
size: {
|
|
108
|
-
type:
|
|
110
|
+
type: PropType<Size>;
|
|
109
111
|
default: string;
|
|
110
112
|
};
|
|
111
113
|
color: {
|
|
112
|
-
type:
|
|
114
|
+
type: PropType<ComponentsConst.Color>;
|
|
113
115
|
default: string;
|
|
114
116
|
};
|
|
115
117
|
styling: {
|
|
116
|
-
type:
|
|
118
|
+
type: PropType<ComponentsConst.Style>;
|
|
117
119
|
default: string;
|
|
118
120
|
};
|
|
119
121
|
name: {
|
|
120
|
-
type:
|
|
122
|
+
type: PropType<string>;
|
|
121
123
|
};
|
|
122
124
|
href: {
|
|
123
|
-
type:
|
|
125
|
+
type: PropType<string>;
|
|
124
126
|
};
|
|
125
127
|
disabled: {
|
|
126
|
-
type:
|
|
128
|
+
type: PropType<boolean>;
|
|
127
129
|
};
|
|
128
130
|
isSubmit: {
|
|
129
|
-
type:
|
|
131
|
+
type: PropType<boolean>;
|
|
130
132
|
};
|
|
131
133
|
isActive: {
|
|
132
|
-
type:
|
|
134
|
+
type: PropType<boolean>;
|
|
133
135
|
};
|
|
134
136
|
isProgress: {
|
|
135
|
-
type:
|
|
137
|
+
type: PropType<boolean>;
|
|
136
138
|
};
|
|
137
139
|
}>>, {}, {}, {}, {}, {
|
|
138
|
-
size:
|
|
140
|
+
size: Size;
|
|
139
141
|
color: ComponentsConst.Color;
|
|
140
142
|
styling: ComponentsConst.Style;
|
|
141
143
|
}>;
|
|
142
|
-
__isFragment?:
|
|
143
|
-
__isTeleport?:
|
|
144
|
-
__isSuspense?:
|
|
145
|
-
} &
|
|
144
|
+
__isFragment?: undefined;
|
|
145
|
+
__isTeleport?: undefined;
|
|
146
|
+
__isSuspense?: undefined;
|
|
147
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
146
148
|
icon: {
|
|
147
|
-
type:
|
|
149
|
+
type: PropType<string>;
|
|
148
150
|
};
|
|
149
151
|
icon2: {
|
|
150
|
-
type:
|
|
152
|
+
type: PropType<string>;
|
|
151
153
|
};
|
|
152
154
|
title: {
|
|
153
|
-
type:
|
|
155
|
+
type: PropType<string>;
|
|
154
156
|
};
|
|
155
157
|
size: {
|
|
156
|
-
type:
|
|
158
|
+
type: PropType<Size>;
|
|
157
159
|
default: string;
|
|
158
160
|
};
|
|
159
161
|
color: {
|
|
160
|
-
type:
|
|
162
|
+
type: PropType<ComponentsConst.Color>;
|
|
161
163
|
default: string;
|
|
162
164
|
};
|
|
163
165
|
styling: {
|
|
164
|
-
type:
|
|
166
|
+
type: PropType<ComponentsConst.Style>;
|
|
165
167
|
default: string;
|
|
166
168
|
};
|
|
167
169
|
name: {
|
|
168
|
-
type:
|
|
170
|
+
type: PropType<string>;
|
|
169
171
|
};
|
|
170
172
|
href: {
|
|
171
|
-
type:
|
|
173
|
+
type: PropType<string>;
|
|
172
174
|
};
|
|
173
175
|
disabled: {
|
|
174
|
-
type:
|
|
176
|
+
type: PropType<boolean>;
|
|
175
177
|
};
|
|
176
178
|
isSubmit: {
|
|
177
|
-
type:
|
|
179
|
+
type: PropType<boolean>;
|
|
178
180
|
};
|
|
179
181
|
isActive: {
|
|
180
|
-
type:
|
|
182
|
+
type: PropType<boolean>;
|
|
181
183
|
};
|
|
182
184
|
isProgress: {
|
|
183
|
-
type:
|
|
185
|
+
type: PropType<boolean>;
|
|
184
186
|
};
|
|
185
|
-
}>>, {}, unknown, {}, {},
|
|
186
|
-
size:
|
|
187
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
188
|
+
size: Size;
|
|
187
189
|
color: ComponentsConst.Color;
|
|
188
190
|
styling: ComponentsConst.Style;
|
|
189
|
-
}, {}, string, {}> &
|
|
191
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
190
192
|
$slots: {
|
|
191
193
|
default?(_: {}): any;
|
|
192
194
|
html?(_: {}): any;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Props } from './button';
|
|
1
|
+
import { Props, Color, Style } from './button';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { Size } from '../helpers';
|
|
2
4
|
|
|
3
|
-
declare
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
html?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
6
|
color: string;
|
|
9
7
|
styling: string;
|
|
10
8
|
size: string;
|
|
11
|
-
}>, {}, unknown, {}, {},
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
10
|
color: string;
|
|
13
11
|
styling: string;
|
|
14
12
|
size: string;
|
|
15
13
|
}>>>, {
|
|
16
|
-
size:
|
|
17
|
-
color:
|
|
18
|
-
styling:
|
|
19
|
-
}, {}
|
|
20
|
-
|
|
14
|
+
size: Size;
|
|
15
|
+
color: Color;
|
|
16
|
+
styling: Style;
|
|
17
|
+
}, {}>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
html?(_: {}): any;
|
|
20
|
+
}>;
|
|
21
21
|
export default _default;
|
|
22
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
23
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
24
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type:
|
|
25
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
26
|
} : {
|
|
27
|
-
type:
|
|
27
|
+
type: PropType<T[K]>;
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
30
|
};
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
2
3
|
|
|
3
|
-
import * as ComponentsConst from './checkbox';
|
|
4
4
|
declare const meta: {
|
|
5
5
|
component: {
|
|
6
|
-
new (...args: any[]):
|
|
7
|
-
modelValue:
|
|
6
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
7
|
+
modelValue: PropType<boolean | string[] | Set<string> | undefined>;
|
|
8
8
|
name: {
|
|
9
|
-
type:
|
|
9
|
+
type: PropType<string>;
|
|
10
10
|
};
|
|
11
11
|
value: {
|
|
12
|
-
type:
|
|
12
|
+
type: PropType<string>;
|
|
13
13
|
};
|
|
14
14
|
description: {
|
|
15
|
-
type:
|
|
15
|
+
type: PropType<string>;
|
|
16
16
|
};
|
|
17
17
|
disabled: {
|
|
18
|
-
type:
|
|
18
|
+
type: PropType<boolean>;
|
|
19
19
|
};
|
|
20
20
|
indeterminate: {
|
|
21
|
-
type:
|
|
21
|
+
type: PropType<boolean>;
|
|
22
22
|
};
|
|
23
23
|
isError: {
|
|
24
|
-
type:
|
|
24
|
+
type: PropType<boolean>;
|
|
25
25
|
};
|
|
26
|
-
}>>, {}, unknown, {}, {},
|
|
27
|
-
modelValue:
|
|
26
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
27
|
+
modelValue: PropType<boolean | string[] | Set<string> | undefined>;
|
|
28
28
|
name: {
|
|
29
|
-
type:
|
|
29
|
+
type: PropType<string>;
|
|
30
30
|
};
|
|
31
31
|
value: {
|
|
32
|
-
type:
|
|
32
|
+
type: PropType<string>;
|
|
33
33
|
};
|
|
34
34
|
description: {
|
|
35
|
-
type:
|
|
35
|
+
type: PropType<string>;
|
|
36
36
|
};
|
|
37
37
|
disabled: {
|
|
38
|
-
type:
|
|
38
|
+
type: PropType<boolean>;
|
|
39
39
|
};
|
|
40
40
|
indeterminate: {
|
|
41
|
-
type:
|
|
41
|
+
type: PropType<boolean>;
|
|
42
42
|
};
|
|
43
43
|
isError: {
|
|
44
|
-
type:
|
|
44
|
+
type: PropType<boolean>;
|
|
45
45
|
};
|
|
46
46
|
}>>, {}, true, {}, {}, {
|
|
47
47
|
P: {};
|
|
@@ -50,51 +50,51 @@ declare const meta: {
|
|
|
50
50
|
C: {};
|
|
51
51
|
M: {};
|
|
52
52
|
Defaults: {};
|
|
53
|
-
}, Readonly<
|
|
54
|
-
modelValue:
|
|
53
|
+
}, Readonly< ExtractPropTypes<{
|
|
54
|
+
modelValue: PropType<boolean | string[] | Set<string> | undefined>;
|
|
55
55
|
name: {
|
|
56
|
-
type:
|
|
56
|
+
type: PropType<string>;
|
|
57
57
|
};
|
|
58
58
|
value: {
|
|
59
|
-
type:
|
|
59
|
+
type: PropType<string>;
|
|
60
60
|
};
|
|
61
61
|
description: {
|
|
62
|
-
type:
|
|
62
|
+
type: PropType<string>;
|
|
63
63
|
};
|
|
64
64
|
disabled: {
|
|
65
|
-
type:
|
|
65
|
+
type: PropType<boolean>;
|
|
66
66
|
};
|
|
67
67
|
indeterminate: {
|
|
68
|
-
type:
|
|
68
|
+
type: PropType<boolean>;
|
|
69
69
|
};
|
|
70
70
|
isError: {
|
|
71
|
-
type:
|
|
71
|
+
type: PropType<boolean>;
|
|
72
72
|
};
|
|
73
73
|
}>>, {}, {}, {}, {}, {}>;
|
|
74
|
-
__isFragment?:
|
|
75
|
-
__isTeleport?:
|
|
76
|
-
__isSuspense?:
|
|
77
|
-
} &
|
|
78
|
-
modelValue:
|
|
74
|
+
__isFragment?: undefined;
|
|
75
|
+
__isTeleport?: undefined;
|
|
76
|
+
__isSuspense?: undefined;
|
|
77
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
78
|
+
modelValue: PropType<boolean | string[] | Set<string> | undefined>;
|
|
79
79
|
name: {
|
|
80
|
-
type:
|
|
80
|
+
type: PropType<string>;
|
|
81
81
|
};
|
|
82
82
|
value: {
|
|
83
|
-
type:
|
|
83
|
+
type: PropType<string>;
|
|
84
84
|
};
|
|
85
85
|
description: {
|
|
86
|
-
type:
|
|
86
|
+
type: PropType<string>;
|
|
87
87
|
};
|
|
88
88
|
disabled: {
|
|
89
|
-
type:
|
|
89
|
+
type: PropType<boolean>;
|
|
90
90
|
};
|
|
91
91
|
indeterminate: {
|
|
92
|
-
type:
|
|
92
|
+
type: PropType<boolean>;
|
|
93
93
|
};
|
|
94
94
|
isError: {
|
|
95
|
-
type:
|
|
95
|
+
type: PropType<boolean>;
|
|
96
96
|
};
|
|
97
|
-
}>>, {}, unknown, {}, {},
|
|
97
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
98
98
|
$slots: {
|
|
99
99
|
default?(_: {}): any;
|
|
100
100
|
};
|
|
@@ -1,50 +1,47 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
7
|
-
modelValue: import('vue').PropType<Props["modelValue"]>;
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<{
|
|
3
|
+
modelValue: PropType<boolean | string[] | Set<string> | undefined>;
|
|
8
4
|
name: {
|
|
9
|
-
type:
|
|
5
|
+
type: PropType<string>;
|
|
10
6
|
};
|
|
11
7
|
value: {
|
|
12
|
-
type:
|
|
8
|
+
type: PropType<string>;
|
|
13
9
|
};
|
|
14
10
|
description: {
|
|
15
|
-
type:
|
|
11
|
+
type: PropType<string>;
|
|
16
12
|
};
|
|
17
13
|
disabled: {
|
|
18
|
-
type:
|
|
14
|
+
type: PropType<boolean>;
|
|
19
15
|
};
|
|
20
16
|
indeterminate: {
|
|
21
|
-
type:
|
|
17
|
+
type: PropType<boolean>;
|
|
22
18
|
};
|
|
23
19
|
isError: {
|
|
24
|
-
type:
|
|
20
|
+
type: PropType<boolean>;
|
|
25
21
|
};
|
|
26
|
-
}, {}, unknown, {}, {},
|
|
27
|
-
modelValue:
|
|
22
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
23
|
+
modelValue: PropType<boolean | string[] | Set<string> | undefined>;
|
|
28
24
|
name: {
|
|
29
|
-
type:
|
|
25
|
+
type: PropType<string>;
|
|
30
26
|
};
|
|
31
27
|
value: {
|
|
32
|
-
type:
|
|
28
|
+
type: PropType<string>;
|
|
33
29
|
};
|
|
34
30
|
description: {
|
|
35
|
-
type:
|
|
31
|
+
type: PropType<string>;
|
|
36
32
|
};
|
|
37
33
|
disabled: {
|
|
38
|
-
type:
|
|
34
|
+
type: PropType<boolean>;
|
|
39
35
|
};
|
|
40
36
|
indeterminate: {
|
|
41
|
-
type:
|
|
37
|
+
type: PropType<boolean>;
|
|
42
38
|
};
|
|
43
39
|
isError: {
|
|
44
|
-
type:
|
|
40
|
+
type: PropType<boolean>;
|
|
45
41
|
};
|
|
46
|
-
}>>, {}, {}
|
|
47
|
-
|
|
42
|
+
}>>, {}, {}>, {
|
|
43
|
+
default?(_: {}): any;
|
|
44
|
+
}>;
|
|
48
45
|
export default _default;
|
|
49
46
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
47
|
new (): {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
1
2
|
/**
|
|
2
3
|
* Компонент для вставки заголовка с описанием к элементу управления формы.
|
|
3
4
|
*
|
|
@@ -8,19 +9,19 @@
|
|
|
8
9
|
*/
|
|
9
10
|
declare const meta: {
|
|
10
11
|
component: {
|
|
11
|
-
new (...args: any[]):
|
|
12
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
12
13
|
description: {
|
|
13
|
-
type:
|
|
14
|
+
type: PropType<string>;
|
|
14
15
|
};
|
|
15
16
|
disabled: {
|
|
16
|
-
type:
|
|
17
|
+
type: PropType<boolean>;
|
|
17
18
|
};
|
|
18
|
-
}>>, {}, unknown, {}, {},
|
|
19
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
19
20
|
description: {
|
|
20
|
-
type:
|
|
21
|
+
type: PropType<string>;
|
|
21
22
|
};
|
|
22
23
|
disabled: {
|
|
23
|
-
type:
|
|
24
|
+
type: PropType<boolean>;
|
|
24
25
|
};
|
|
25
26
|
}>>, {}, true, {}, {}, {
|
|
26
27
|
P: {};
|
|
@@ -29,25 +30,25 @@ declare const meta: {
|
|
|
29
30
|
C: {};
|
|
30
31
|
M: {};
|
|
31
32
|
Defaults: {};
|
|
32
|
-
}, Readonly<
|
|
33
|
+
}, Readonly< ExtractPropTypes<{
|
|
33
34
|
description: {
|
|
34
|
-
type:
|
|
35
|
+
type: PropType<string>;
|
|
35
36
|
};
|
|
36
37
|
disabled: {
|
|
37
|
-
type:
|
|
38
|
+
type: PropType<boolean>;
|
|
38
39
|
};
|
|
39
40
|
}>>, {}, {}, {}, {}, {}>;
|
|
40
|
-
__isFragment?:
|
|
41
|
-
__isTeleport?:
|
|
42
|
-
__isSuspense?:
|
|
43
|
-
} &
|
|
41
|
+
__isFragment?: undefined;
|
|
42
|
+
__isTeleport?: undefined;
|
|
43
|
+
__isSuspense?: undefined;
|
|
44
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
44
45
|
description: {
|
|
45
|
-
type:
|
|
46
|
+
type: PropType<string>;
|
|
46
47
|
};
|
|
47
48
|
disabled: {
|
|
48
|
-
type:
|
|
49
|
+
type: PropType<boolean>;
|
|
49
50
|
};
|
|
50
|
-
}>>, {}, unknown, {}, {},
|
|
51
|
+
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
51
52
|
$slots: {
|
|
52
53
|
default?(_: {}): any;
|
|
53
54
|
};
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { Props } from './controlLabel';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>, {
|
|
4
5
|
default?(_: {}): any;
|
|
5
|
-
}
|
|
6
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
7
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
6
|
+
}>;
|
|
8
7
|
export default _default;
|
|
9
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
10
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type:
|
|
11
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
12
|
} : {
|
|
14
|
-
type:
|
|
13
|
+
type: PropType<T[K]>;
|
|
15
14
|
required: true;
|
|
16
15
|
};
|
|
17
16
|
};
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Замечание для разработчиков
|
|
3
|
+
*
|
|
4
|
+
* При изменении библиотеки Forms не забудьте обновить ее подключение в плагине
|
|
5
|
+
*
|
|
6
|
+
* @see import('@/core/core/plugin')
|
|
7
|
+
*/
|
|
1
8
|
export { default as Avatar } from './avatar/avatar.vue';
|
|
2
9
|
export { default as Button } from './button/button.vue';
|
|
3
10
|
export { default as Checkbox } from './checkbox/checkbox.vue';
|
|
@@ -11,3 +18,4 @@ export { default as Switcher } from './switcher/switcher.vue';
|
|
|
11
18
|
export { default as Textarea } from './textarea/textarea.vue';
|
|
12
19
|
export { default as Select } from './select/select.vue';
|
|
13
20
|
export { default as Loadbar } from './loadbar/loadbar.vue';
|
|
21
|
+
export * from '../../core/core/plugin';
|