@topvisor/ui 0.9.33 → 0.9.34-utils-components-2
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 +32 -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.d.ts +1 -1
- 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,4 +1,7 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, VNodeRef, VNode, VNodeChild, PropType } from 'vue';
|
|
3
|
+
import { Size } from '../helpers';
|
|
4
|
+
import { CaptionType } from '../input/input';
|
|
2
5
|
|
|
3
6
|
/**
|
|
4
7
|
* В компоненте используется 2 именованых слота:
|
|
@@ -7,18 +10,18 @@ import { StoryObj } from '@storybook/vue3';
|
|
|
7
10
|
*/
|
|
8
11
|
declare const meta: {
|
|
9
12
|
component: {
|
|
10
|
-
new (...args: any[]):
|
|
13
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
11
14
|
P: {};
|
|
12
15
|
B: {};
|
|
13
16
|
D: {};
|
|
14
17
|
C: {};
|
|
15
18
|
M: {};
|
|
16
19
|
Defaults: {};
|
|
17
|
-
}, Readonly<
|
|
20
|
+
}, Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
18
21
|
__isFragment?: never;
|
|
19
22
|
__isTeleport?: never;
|
|
20
23
|
__isSuspense?: never;
|
|
21
|
-
} &
|
|
24
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
22
25
|
$slots: {
|
|
23
26
|
from?(_: {}): any;
|
|
24
27
|
to?(_: {}): any;
|
|
@@ -32,134 +35,134 @@ export declare const Playground: {
|
|
|
32
35
|
render: (_args: {
|
|
33
36
|
style?: unknown;
|
|
34
37
|
key?: PropertyKey | undefined;
|
|
35
|
-
ref?:
|
|
38
|
+
ref?: VNodeRef | undefined;
|
|
36
39
|
class?: unknown;
|
|
37
40
|
ref_for?: boolean | undefined;
|
|
38
41
|
ref_key?: string | undefined;
|
|
39
|
-
onVnodeBeforeMount?: (((vnode:
|
|
40
|
-
onVnodeMounted?: (((vnode:
|
|
41
|
-
onVnodeBeforeUpdate?: (((vnode:
|
|
42
|
-
onVnodeUpdated?: (((vnode:
|
|
43
|
-
onVnodeBeforeUnmount?: (((vnode:
|
|
44
|
-
onVnodeUnmounted?: (((vnode:
|
|
45
|
-
from?: ((_: {}) => any) |
|
|
46
|
-
to?: ((_: {}) => any) |
|
|
42
|
+
onVnodeBeforeMount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
43
|
+
onVnodeMounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
44
|
+
onVnodeBeforeUpdate?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
|
|
45
|
+
onVnodeUpdated?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
|
|
46
|
+
onVnodeBeforeUnmount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
47
|
+
onVnodeUnmounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
48
|
+
from?: ((_: {}) => any) | VNodeChild;
|
|
49
|
+
to?: ((_: {}) => any) | VNodeChild;
|
|
47
50
|
}) => {
|
|
48
51
|
components: {
|
|
49
52
|
InputRange: {
|
|
50
|
-
new (...args: any[]):
|
|
53
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
51
54
|
P: {};
|
|
52
55
|
B: {};
|
|
53
56
|
D: {};
|
|
54
57
|
C: {};
|
|
55
58
|
M: {};
|
|
56
59
|
Defaults: {};
|
|
57
|
-
}, Readonly<
|
|
60
|
+
}, Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
58
61
|
__isFragment?: never;
|
|
59
62
|
__isTeleport?: never;
|
|
60
63
|
__isSuspense?: never;
|
|
61
|
-
} &
|
|
64
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
62
65
|
$slots: {
|
|
63
66
|
from?(_: {}): any;
|
|
64
67
|
to?(_: {}): any;
|
|
65
68
|
};
|
|
66
69
|
});
|
|
67
|
-
|
|
68
|
-
new (...args: any[]):
|
|
70
|
+
TopInput: {
|
|
71
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
69
72
|
icon: {
|
|
70
|
-
type:
|
|
73
|
+
type: PropType<string>;
|
|
71
74
|
};
|
|
72
75
|
icon2: {
|
|
73
|
-
type:
|
|
76
|
+
type: PropType<string>;
|
|
74
77
|
};
|
|
75
78
|
title: {
|
|
76
|
-
type:
|
|
79
|
+
type: PropType<string>;
|
|
77
80
|
};
|
|
78
81
|
size: {
|
|
79
|
-
type:
|
|
82
|
+
type: PropType<Size>;
|
|
80
83
|
default: string;
|
|
81
84
|
};
|
|
82
85
|
name: {
|
|
83
|
-
type:
|
|
86
|
+
type: PropType<string>;
|
|
84
87
|
};
|
|
85
88
|
disabled: {
|
|
86
|
-
type:
|
|
89
|
+
type: PropType<boolean>;
|
|
87
90
|
};
|
|
88
91
|
modelValue: {
|
|
89
|
-
type:
|
|
92
|
+
type: PropType<string>;
|
|
90
93
|
required: true;
|
|
91
94
|
};
|
|
92
95
|
isError: {
|
|
93
|
-
type:
|
|
96
|
+
type: PropType<boolean>;
|
|
94
97
|
};
|
|
95
98
|
readonly: {
|
|
96
|
-
type:
|
|
99
|
+
type: PropType<boolean>;
|
|
97
100
|
};
|
|
98
101
|
modificator: {
|
|
99
|
-
type:
|
|
102
|
+
type: PropType<string>;
|
|
100
103
|
};
|
|
101
104
|
isLoading: {
|
|
102
|
-
type:
|
|
105
|
+
type: PropType<boolean>;
|
|
103
106
|
};
|
|
104
107
|
addCleaner: {
|
|
105
|
-
type:
|
|
108
|
+
type: PropType<boolean>;
|
|
106
109
|
};
|
|
107
110
|
captionType: {
|
|
108
|
-
type:
|
|
111
|
+
type: PropType<CaptionType>;
|
|
109
112
|
default: string;
|
|
110
113
|
};
|
|
111
114
|
}>> & {
|
|
112
115
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
113
|
-
}, {}, unknown, {}, {},
|
|
116
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
114
117
|
"update:modelValue": (value: string) => void;
|
|
115
|
-
},
|
|
118
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
116
119
|
icon: {
|
|
117
|
-
type:
|
|
120
|
+
type: PropType<string>;
|
|
118
121
|
};
|
|
119
122
|
icon2: {
|
|
120
|
-
type:
|
|
123
|
+
type: PropType<string>;
|
|
121
124
|
};
|
|
122
125
|
title: {
|
|
123
|
-
type:
|
|
126
|
+
type: PropType<string>;
|
|
124
127
|
};
|
|
125
128
|
size: {
|
|
126
|
-
type:
|
|
129
|
+
type: PropType<Size>;
|
|
127
130
|
default: string;
|
|
128
131
|
};
|
|
129
132
|
name: {
|
|
130
|
-
type:
|
|
133
|
+
type: PropType<string>;
|
|
131
134
|
};
|
|
132
135
|
disabled: {
|
|
133
|
-
type:
|
|
136
|
+
type: PropType<boolean>;
|
|
134
137
|
};
|
|
135
138
|
modelValue: {
|
|
136
|
-
type:
|
|
139
|
+
type: PropType<string>;
|
|
137
140
|
required: true;
|
|
138
141
|
};
|
|
139
142
|
isError: {
|
|
140
|
-
type:
|
|
143
|
+
type: PropType<boolean>;
|
|
141
144
|
};
|
|
142
145
|
readonly: {
|
|
143
|
-
type:
|
|
146
|
+
type: PropType<boolean>;
|
|
144
147
|
};
|
|
145
148
|
modificator: {
|
|
146
|
-
type:
|
|
149
|
+
type: PropType<string>;
|
|
147
150
|
};
|
|
148
151
|
isLoading: {
|
|
149
|
-
type:
|
|
152
|
+
type: PropType<boolean>;
|
|
150
153
|
};
|
|
151
154
|
addCleaner: {
|
|
152
|
-
type:
|
|
155
|
+
type: PropType<boolean>;
|
|
153
156
|
};
|
|
154
157
|
captionType: {
|
|
155
|
-
type:
|
|
158
|
+
type: PropType<CaptionType>;
|
|
156
159
|
default: string;
|
|
157
160
|
};
|
|
158
161
|
}>> & {
|
|
159
162
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
160
163
|
}, {
|
|
161
|
-
size:
|
|
162
|
-
captionType:
|
|
164
|
+
size: Size;
|
|
165
|
+
captionType: CaptionType;
|
|
163
166
|
}, true, {}, {}, {
|
|
164
167
|
P: {};
|
|
165
168
|
B: {};
|
|
@@ -167,109 +170,109 @@ export declare const Playground: {
|
|
|
167
170
|
C: {};
|
|
168
171
|
M: {};
|
|
169
172
|
Defaults: {};
|
|
170
|
-
}, Readonly<
|
|
173
|
+
}, Readonly< ExtractPropTypes<{
|
|
171
174
|
icon: {
|
|
172
|
-
type:
|
|
175
|
+
type: PropType<string>;
|
|
173
176
|
};
|
|
174
177
|
icon2: {
|
|
175
|
-
type:
|
|
178
|
+
type: PropType<string>;
|
|
176
179
|
};
|
|
177
180
|
title: {
|
|
178
|
-
type:
|
|
181
|
+
type: PropType<string>;
|
|
179
182
|
};
|
|
180
183
|
size: {
|
|
181
|
-
type:
|
|
184
|
+
type: PropType<Size>;
|
|
182
185
|
default: string;
|
|
183
186
|
};
|
|
184
187
|
name: {
|
|
185
|
-
type:
|
|
188
|
+
type: PropType<string>;
|
|
186
189
|
};
|
|
187
190
|
disabled: {
|
|
188
|
-
type:
|
|
191
|
+
type: PropType<boolean>;
|
|
189
192
|
};
|
|
190
193
|
modelValue: {
|
|
191
|
-
type:
|
|
194
|
+
type: PropType<string>;
|
|
192
195
|
required: true;
|
|
193
196
|
};
|
|
194
197
|
isError: {
|
|
195
|
-
type:
|
|
198
|
+
type: PropType<boolean>;
|
|
196
199
|
};
|
|
197
200
|
readonly: {
|
|
198
|
-
type:
|
|
201
|
+
type: PropType<boolean>;
|
|
199
202
|
};
|
|
200
203
|
modificator: {
|
|
201
|
-
type:
|
|
204
|
+
type: PropType<string>;
|
|
202
205
|
};
|
|
203
206
|
isLoading: {
|
|
204
|
-
type:
|
|
207
|
+
type: PropType<boolean>;
|
|
205
208
|
};
|
|
206
209
|
addCleaner: {
|
|
207
|
-
type:
|
|
210
|
+
type: PropType<boolean>;
|
|
208
211
|
};
|
|
209
212
|
captionType: {
|
|
210
|
-
type:
|
|
213
|
+
type: PropType<CaptionType>;
|
|
211
214
|
default: string;
|
|
212
215
|
};
|
|
213
216
|
}>> & {
|
|
214
217
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
215
218
|
}, {}, {}, {}, {}, {
|
|
216
|
-
size:
|
|
217
|
-
captionType:
|
|
219
|
+
size: Size;
|
|
220
|
+
captionType: CaptionType;
|
|
218
221
|
}>;
|
|
219
222
|
__isFragment?: never;
|
|
220
223
|
__isTeleport?: never;
|
|
221
224
|
__isSuspense?: never;
|
|
222
|
-
} &
|
|
225
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
223
226
|
icon: {
|
|
224
|
-
type:
|
|
227
|
+
type: PropType<string>;
|
|
225
228
|
};
|
|
226
229
|
icon2: {
|
|
227
|
-
type:
|
|
230
|
+
type: PropType<string>;
|
|
228
231
|
};
|
|
229
232
|
title: {
|
|
230
|
-
type:
|
|
233
|
+
type: PropType<string>;
|
|
231
234
|
};
|
|
232
235
|
size: {
|
|
233
|
-
type:
|
|
236
|
+
type: PropType<Size>;
|
|
234
237
|
default: string;
|
|
235
238
|
};
|
|
236
239
|
name: {
|
|
237
|
-
type:
|
|
240
|
+
type: PropType<string>;
|
|
238
241
|
};
|
|
239
242
|
disabled: {
|
|
240
|
-
type:
|
|
243
|
+
type: PropType<boolean>;
|
|
241
244
|
};
|
|
242
245
|
modelValue: {
|
|
243
|
-
type:
|
|
246
|
+
type: PropType<string>;
|
|
244
247
|
required: true;
|
|
245
248
|
};
|
|
246
249
|
isError: {
|
|
247
|
-
type:
|
|
250
|
+
type: PropType<boolean>;
|
|
248
251
|
};
|
|
249
252
|
readonly: {
|
|
250
|
-
type:
|
|
253
|
+
type: PropType<boolean>;
|
|
251
254
|
};
|
|
252
255
|
modificator: {
|
|
253
|
-
type:
|
|
256
|
+
type: PropType<string>;
|
|
254
257
|
};
|
|
255
258
|
isLoading: {
|
|
256
|
-
type:
|
|
259
|
+
type: PropType<boolean>;
|
|
257
260
|
};
|
|
258
261
|
addCleaner: {
|
|
259
|
-
type:
|
|
262
|
+
type: PropType<boolean>;
|
|
260
263
|
};
|
|
261
264
|
captionType: {
|
|
262
|
-
type:
|
|
265
|
+
type: PropType<CaptionType>;
|
|
263
266
|
default: string;
|
|
264
267
|
};
|
|
265
268
|
}>> & {
|
|
266
269
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
267
|
-
}, {}, unknown, {}, {},
|
|
270
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
268
271
|
"update:modelValue": (value: string) => void;
|
|
269
272
|
}, string, {
|
|
270
|
-
size:
|
|
271
|
-
captionType:
|
|
272
|
-
}, {}, string, {}> &
|
|
273
|
+
size: Size;
|
|
274
|
+
captionType: CaptionType;
|
|
275
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
273
276
|
$slots: {
|
|
274
277
|
default?(_: {}): any;
|
|
275
278
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
from?(_: {}): any;
|
|
3
4
|
to?(_: {}): any;
|
|
4
5
|
};
|
|
5
|
-
declare const __VLS_component:
|
|
6
|
+
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
6
7
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
8
|
export default _default;
|
|
8
9
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
1
2
|
/**
|
|
2
3
|
* Компонент полоска загрузки, необходим для вставки внутри блока при загрузке данных.
|
|
3
4
|
*/
|
|
4
5
|
declare const meta: {
|
|
5
|
-
component:
|
|
6
|
+
component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
6
7
|
tags: string[];
|
|
7
8
|
};
|
|
8
9
|
export declare const Playground: {};
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
2
3
|
export default _default;
|
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
2
3
|
|
|
3
4
|
declare const meta: {
|
|
4
5
|
component: {
|
|
5
|
-
new (...args: any[]):
|
|
6
|
+
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
6
7
|
modelValue: {
|
|
7
|
-
type:
|
|
8
|
+
type: PropType<string | object>;
|
|
8
9
|
required: true;
|
|
9
10
|
};
|
|
10
11
|
value: {
|
|
11
|
-
type:
|
|
12
|
+
type: PropType<string | object>;
|
|
12
13
|
required: true;
|
|
13
14
|
};
|
|
14
15
|
name: {
|
|
15
|
-
type:
|
|
16
|
+
type: PropType<string>;
|
|
16
17
|
};
|
|
17
18
|
description: {
|
|
18
|
-
type:
|
|
19
|
+
type: PropType<string>;
|
|
19
20
|
};
|
|
20
21
|
disabled: {
|
|
21
|
-
type:
|
|
22
|
+
type: PropType<boolean>;
|
|
22
23
|
};
|
|
23
24
|
isError: {
|
|
24
|
-
type:
|
|
25
|
+
type: PropType<boolean>;
|
|
25
26
|
};
|
|
26
27
|
}>> & {
|
|
27
28
|
"onUpdate:modelValue"?: ((value: string | object) => any) | undefined;
|
|
28
|
-
}, {}, unknown, {}, {},
|
|
29
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
29
30
|
"update:modelValue": (value: string | object) => void;
|
|
30
|
-
},
|
|
31
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
31
32
|
modelValue: {
|
|
32
|
-
type:
|
|
33
|
+
type: PropType<string | object>;
|
|
33
34
|
required: true;
|
|
34
35
|
};
|
|
35
36
|
value: {
|
|
36
|
-
type:
|
|
37
|
+
type: PropType<string | object>;
|
|
37
38
|
required: true;
|
|
38
39
|
};
|
|
39
40
|
name: {
|
|
40
|
-
type:
|
|
41
|
+
type: PropType<string>;
|
|
41
42
|
};
|
|
42
43
|
description: {
|
|
43
|
-
type:
|
|
44
|
+
type: PropType<string>;
|
|
44
45
|
};
|
|
45
46
|
disabled: {
|
|
46
|
-
type:
|
|
47
|
+
type: PropType<boolean>;
|
|
47
48
|
};
|
|
48
49
|
isError: {
|
|
49
|
-
type:
|
|
50
|
+
type: PropType<boolean>;
|
|
50
51
|
};
|
|
51
52
|
}>> & {
|
|
52
53
|
"onUpdate:modelValue"?: ((value: string | object) => any) | undefined;
|
|
@@ -57,26 +58,26 @@ declare const meta: {
|
|
|
57
58
|
C: {};
|
|
58
59
|
M: {};
|
|
59
60
|
Defaults: {};
|
|
60
|
-
}, Readonly<
|
|
61
|
+
}, Readonly< ExtractPropTypes<{
|
|
61
62
|
modelValue: {
|
|
62
|
-
type:
|
|
63
|
+
type: PropType<string | object>;
|
|
63
64
|
required: true;
|
|
64
65
|
};
|
|
65
66
|
value: {
|
|
66
|
-
type:
|
|
67
|
+
type: PropType<string | object>;
|
|
67
68
|
required: true;
|
|
68
69
|
};
|
|
69
70
|
name: {
|
|
70
|
-
type:
|
|
71
|
+
type: PropType<string>;
|
|
71
72
|
};
|
|
72
73
|
description: {
|
|
73
|
-
type:
|
|
74
|
+
type: PropType<string>;
|
|
74
75
|
};
|
|
75
76
|
disabled: {
|
|
76
|
-
type:
|
|
77
|
+
type: PropType<boolean>;
|
|
77
78
|
};
|
|
78
79
|
isError: {
|
|
79
|
-
type:
|
|
80
|
+
type: PropType<boolean>;
|
|
80
81
|
};
|
|
81
82
|
}>> & {
|
|
82
83
|
"onUpdate:modelValue"?: ((value: string | object) => any) | undefined;
|
|
@@ -84,32 +85,32 @@ declare const meta: {
|
|
|
84
85
|
__isFragment?: never;
|
|
85
86
|
__isTeleport?: never;
|
|
86
87
|
__isSuspense?: never;
|
|
87
|
-
} &
|
|
88
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
88
89
|
modelValue: {
|
|
89
|
-
type:
|
|
90
|
+
type: PropType<string | object>;
|
|
90
91
|
required: true;
|
|
91
92
|
};
|
|
92
93
|
value: {
|
|
93
|
-
type:
|
|
94
|
+
type: PropType<string | object>;
|
|
94
95
|
required: true;
|
|
95
96
|
};
|
|
96
97
|
name: {
|
|
97
|
-
type:
|
|
98
|
+
type: PropType<string>;
|
|
98
99
|
};
|
|
99
100
|
description: {
|
|
100
|
-
type:
|
|
101
|
+
type: PropType<string>;
|
|
101
102
|
};
|
|
102
103
|
disabled: {
|
|
103
|
-
type:
|
|
104
|
+
type: PropType<boolean>;
|
|
104
105
|
};
|
|
105
106
|
isError: {
|
|
106
|
-
type:
|
|
107
|
+
type: PropType<boolean>;
|
|
107
108
|
};
|
|
108
109
|
}>> & {
|
|
109
110
|
"onUpdate:modelValue"?: ((value: string | object) => any) | undefined;
|
|
110
|
-
}, {}, unknown, {}, {},
|
|
111
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
111
112
|
"update:modelValue": (value: string | object) => void;
|
|
112
|
-
}, string, {}, {}, string, {}> &
|
|
113
|
+
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
113
114
|
$slots: {
|
|
114
115
|
default?(_: {}): any;
|
|
115
116
|
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Props } from './radio';
|
|
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 | object) => void;
|
|
8
|
-
}, string,
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
9
10
|
"onUpdate:modelValue"?: ((value: string | object) => 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
|
};
|