@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,17 +1,18 @@
|
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes, VNodeRef, VNode } from 'vue';
|
|
1
2
|
/**
|
|
2
3
|
* Компонент для вывода иконки с подсказкой
|
|
3
4
|
*
|
|
4
5
|
* Для настройки tooltip см. директиву v-top-tooltip
|
|
5
6
|
*/
|
|
6
7
|
declare const meta: {
|
|
7
|
-
component:
|
|
8
|
+
component: DefineComponent<{
|
|
8
9
|
hint: {
|
|
9
|
-
type:
|
|
10
|
+
type: PropType<string>;
|
|
10
11
|
required: true;
|
|
11
12
|
};
|
|
12
|
-
}, {}, unknown, {}, {},
|
|
13
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
13
14
|
hint: {
|
|
14
|
-
type:
|
|
15
|
+
type: PropType<string>;
|
|
15
16
|
required: true;
|
|
16
17
|
};
|
|
17
18
|
}>>, {}, {}>;
|
|
@@ -26,27 +27,27 @@ export declare const Tooltip: {
|
|
|
26
27
|
render: (args: {
|
|
27
28
|
style?: unknown;
|
|
28
29
|
key?: PropertyKey | undefined;
|
|
29
|
-
ref?:
|
|
30
|
+
ref?: VNodeRef | undefined;
|
|
30
31
|
class?: unknown;
|
|
31
32
|
ref_for?: boolean | undefined;
|
|
32
33
|
ref_key?: string | undefined;
|
|
33
|
-
onVnodeBeforeMount?: (((vnode:
|
|
34
|
-
onVnodeMounted?: (((vnode:
|
|
35
|
-
onVnodeBeforeUpdate?: (((vnode:
|
|
36
|
-
onVnodeUpdated?: (((vnode:
|
|
37
|
-
onVnodeBeforeUnmount?: (((vnode:
|
|
38
|
-
onVnodeUnmounted?: (((vnode:
|
|
34
|
+
onVnodeBeforeMount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
35
|
+
onVnodeMounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
36
|
+
onVnodeBeforeUpdate?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
|
|
37
|
+
onVnodeUpdated?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
|
|
38
|
+
onVnodeBeforeUnmount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
39
|
+
onVnodeUnmounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
39
40
|
readonly hint: string;
|
|
40
41
|
}) => {
|
|
41
42
|
components: {
|
|
42
|
-
Hint:
|
|
43
|
+
Hint: DefineComponent<{
|
|
43
44
|
hint: {
|
|
44
|
-
type:
|
|
45
|
+
type: PropType<string>;
|
|
45
46
|
required: true;
|
|
46
47
|
};
|
|
47
|
-
}, {}, unknown, {}, {},
|
|
48
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
48
49
|
hint: {
|
|
49
|
-
type:
|
|
50
|
+
type: PropType<string>;
|
|
50
51
|
required: true;
|
|
51
52
|
};
|
|
52
53
|
}>>, {}, {}>;
|
|
@@ -55,16 +56,16 @@ export declare const Tooltip: {
|
|
|
55
56
|
args: {
|
|
56
57
|
style?: unknown;
|
|
57
58
|
key?: PropertyKey | undefined;
|
|
58
|
-
ref?:
|
|
59
|
+
ref?: VNodeRef | undefined;
|
|
59
60
|
class?: unknown;
|
|
60
61
|
ref_for?: boolean | undefined;
|
|
61
62
|
ref_key?: string | undefined;
|
|
62
|
-
onVnodeBeforeMount?: (((vnode:
|
|
63
|
-
onVnodeMounted?: (((vnode:
|
|
64
|
-
onVnodeBeforeUpdate?: (((vnode:
|
|
65
|
-
onVnodeUpdated?: (((vnode:
|
|
66
|
-
onVnodeBeforeUnmount?: (((vnode:
|
|
67
|
-
onVnodeUnmounted?: (((vnode:
|
|
63
|
+
onVnodeBeforeMount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
64
|
+
onVnodeMounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
65
|
+
onVnodeBeforeUpdate?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
|
|
66
|
+
onVnodeUpdated?: (((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[]) | undefined;
|
|
67
|
+
onVnodeBeforeUnmount?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
68
|
+
onVnodeUnmounted?: (((vnode: VNode) => void) | ((vnode: VNode) => void)[]) | undefined;
|
|
68
69
|
readonly hint: string;
|
|
69
70
|
};
|
|
70
71
|
};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Props } from './hint';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
3
|
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
|
|
4
5
|
export default _default;
|
|
5
6
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
6
7
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
7
8
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
8
|
-
type:
|
|
9
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
9
10
|
} : {
|
|
10
|
-
type:
|
|
11
|
+
type: PropType<T[K]>;
|
|
11
12
|
required: true;
|
|
12
13
|
};
|
|
13
14
|
};
|
|
@@ -1,102 +1,104 @@
|
|
|
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 './input';
|
|
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
|
name: {
|
|
21
|
-
type:
|
|
23
|
+
type: PropType<string>;
|
|
22
24
|
};
|
|
23
25
|
disabled: {
|
|
24
|
-
type:
|
|
26
|
+
type: PropType<boolean>;
|
|
25
27
|
};
|
|
26
28
|
modelValue: {
|
|
27
|
-
type:
|
|
29
|
+
type: PropType<string>;
|
|
28
30
|
required: true;
|
|
29
31
|
};
|
|
30
32
|
isError: {
|
|
31
|
-
type:
|
|
33
|
+
type: PropType<boolean>;
|
|
32
34
|
};
|
|
33
35
|
readonly: {
|
|
34
|
-
type:
|
|
36
|
+
type: PropType<boolean>;
|
|
35
37
|
};
|
|
36
38
|
modificator: {
|
|
37
|
-
type:
|
|
39
|
+
type: PropType<string>;
|
|
38
40
|
};
|
|
39
41
|
isLoading: {
|
|
40
|
-
type:
|
|
42
|
+
type: PropType<boolean>;
|
|
41
43
|
};
|
|
42
44
|
addCleaner: {
|
|
43
|
-
type:
|
|
45
|
+
type: PropType<boolean>;
|
|
44
46
|
};
|
|
45
47
|
captionType: {
|
|
46
|
-
type:
|
|
48
|
+
type: PropType<ComponentsConst.CaptionType>;
|
|
47
49
|
default: string;
|
|
48
50
|
};
|
|
49
51
|
}>> & {
|
|
50
52
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
|
-
}, {}, unknown, {}, {},
|
|
53
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
52
54
|
"update:modelValue": (value: string) => void;
|
|
53
|
-
},
|
|
55
|
+
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
54
56
|
icon: {
|
|
55
|
-
type:
|
|
57
|
+
type: PropType<string>;
|
|
56
58
|
};
|
|
57
59
|
icon2: {
|
|
58
|
-
type:
|
|
60
|
+
type: PropType<string>;
|
|
59
61
|
};
|
|
60
62
|
title: {
|
|
61
|
-
type:
|
|
63
|
+
type: PropType<string>;
|
|
62
64
|
};
|
|
63
65
|
size: {
|
|
64
|
-
type:
|
|
66
|
+
type: PropType<Size>;
|
|
65
67
|
default: string;
|
|
66
68
|
};
|
|
67
69
|
name: {
|
|
68
|
-
type:
|
|
70
|
+
type: PropType<string>;
|
|
69
71
|
};
|
|
70
72
|
disabled: {
|
|
71
|
-
type:
|
|
73
|
+
type: PropType<boolean>;
|
|
72
74
|
};
|
|
73
75
|
modelValue: {
|
|
74
|
-
type:
|
|
76
|
+
type: PropType<string>;
|
|
75
77
|
required: true;
|
|
76
78
|
};
|
|
77
79
|
isError: {
|
|
78
|
-
type:
|
|
80
|
+
type: PropType<boolean>;
|
|
79
81
|
};
|
|
80
82
|
readonly: {
|
|
81
|
-
type:
|
|
83
|
+
type: PropType<boolean>;
|
|
82
84
|
};
|
|
83
85
|
modificator: {
|
|
84
|
-
type:
|
|
86
|
+
type: PropType<string>;
|
|
85
87
|
};
|
|
86
88
|
isLoading: {
|
|
87
|
-
type:
|
|
89
|
+
type: PropType<boolean>;
|
|
88
90
|
};
|
|
89
91
|
addCleaner: {
|
|
90
|
-
type:
|
|
92
|
+
type: PropType<boolean>;
|
|
91
93
|
};
|
|
92
94
|
captionType: {
|
|
93
|
-
type:
|
|
95
|
+
type: PropType<ComponentsConst.CaptionType>;
|
|
94
96
|
default: string;
|
|
95
97
|
};
|
|
96
98
|
}>> & {
|
|
97
99
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
98
100
|
}, {
|
|
99
|
-
size:
|
|
101
|
+
size: Size;
|
|
100
102
|
captionType: ComponentsConst.CaptionType;
|
|
101
103
|
}, true, {}, {}, {
|
|
102
104
|
P: {};
|
|
@@ -105,109 +107,109 @@ declare const meta: {
|
|
|
105
107
|
C: {};
|
|
106
108
|
M: {};
|
|
107
109
|
Defaults: {};
|
|
108
|
-
}, Readonly<
|
|
110
|
+
}, Readonly< ExtractPropTypes<{
|
|
109
111
|
icon: {
|
|
110
|
-
type:
|
|
112
|
+
type: PropType<string>;
|
|
111
113
|
};
|
|
112
114
|
icon2: {
|
|
113
|
-
type:
|
|
115
|
+
type: PropType<string>;
|
|
114
116
|
};
|
|
115
117
|
title: {
|
|
116
|
-
type:
|
|
118
|
+
type: PropType<string>;
|
|
117
119
|
};
|
|
118
120
|
size: {
|
|
119
|
-
type:
|
|
121
|
+
type: PropType<Size>;
|
|
120
122
|
default: string;
|
|
121
123
|
};
|
|
122
124
|
name: {
|
|
123
|
-
type:
|
|
125
|
+
type: PropType<string>;
|
|
124
126
|
};
|
|
125
127
|
disabled: {
|
|
126
|
-
type:
|
|
128
|
+
type: PropType<boolean>;
|
|
127
129
|
};
|
|
128
130
|
modelValue: {
|
|
129
|
-
type:
|
|
131
|
+
type: PropType<string>;
|
|
130
132
|
required: true;
|
|
131
133
|
};
|
|
132
134
|
isError: {
|
|
133
|
-
type:
|
|
135
|
+
type: PropType<boolean>;
|
|
134
136
|
};
|
|
135
137
|
readonly: {
|
|
136
|
-
type:
|
|
138
|
+
type: PropType<boolean>;
|
|
137
139
|
};
|
|
138
140
|
modificator: {
|
|
139
|
-
type:
|
|
141
|
+
type: PropType<string>;
|
|
140
142
|
};
|
|
141
143
|
isLoading: {
|
|
142
|
-
type:
|
|
144
|
+
type: PropType<boolean>;
|
|
143
145
|
};
|
|
144
146
|
addCleaner: {
|
|
145
|
-
type:
|
|
147
|
+
type: PropType<boolean>;
|
|
146
148
|
};
|
|
147
149
|
captionType: {
|
|
148
|
-
type:
|
|
150
|
+
type: PropType<ComponentsConst.CaptionType>;
|
|
149
151
|
default: string;
|
|
150
152
|
};
|
|
151
153
|
}>> & {
|
|
152
154
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
153
155
|
}, {}, {}, {}, {}, {
|
|
154
|
-
size:
|
|
156
|
+
size: Size;
|
|
155
157
|
captionType: ComponentsConst.CaptionType;
|
|
156
158
|
}>;
|
|
157
159
|
__isFragment?: never;
|
|
158
160
|
__isTeleport?: never;
|
|
159
161
|
__isSuspense?: never;
|
|
160
|
-
} &
|
|
162
|
+
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
161
163
|
icon: {
|
|
162
|
-
type:
|
|
164
|
+
type: PropType<string>;
|
|
163
165
|
};
|
|
164
166
|
icon2: {
|
|
165
|
-
type:
|
|
167
|
+
type: PropType<string>;
|
|
166
168
|
};
|
|
167
169
|
title: {
|
|
168
|
-
type:
|
|
170
|
+
type: PropType<string>;
|
|
169
171
|
};
|
|
170
172
|
size: {
|
|
171
|
-
type:
|
|
173
|
+
type: PropType<Size>;
|
|
172
174
|
default: string;
|
|
173
175
|
};
|
|
174
176
|
name: {
|
|
175
|
-
type:
|
|
177
|
+
type: PropType<string>;
|
|
176
178
|
};
|
|
177
179
|
disabled: {
|
|
178
|
-
type:
|
|
180
|
+
type: PropType<boolean>;
|
|
179
181
|
};
|
|
180
182
|
modelValue: {
|
|
181
|
-
type:
|
|
183
|
+
type: PropType<string>;
|
|
182
184
|
required: true;
|
|
183
185
|
};
|
|
184
186
|
isError: {
|
|
185
|
-
type:
|
|
187
|
+
type: PropType<boolean>;
|
|
186
188
|
};
|
|
187
189
|
readonly: {
|
|
188
|
-
type:
|
|
190
|
+
type: PropType<boolean>;
|
|
189
191
|
};
|
|
190
192
|
modificator: {
|
|
191
|
-
type:
|
|
193
|
+
type: PropType<string>;
|
|
192
194
|
};
|
|
193
195
|
isLoading: {
|
|
194
|
-
type:
|
|
196
|
+
type: PropType<boolean>;
|
|
195
197
|
};
|
|
196
198
|
addCleaner: {
|
|
197
|
-
type:
|
|
199
|
+
type: PropType<boolean>;
|
|
198
200
|
};
|
|
199
201
|
captionType: {
|
|
200
|
-
type:
|
|
202
|
+
type: PropType<ComponentsConst.CaptionType>;
|
|
201
203
|
default: string;
|
|
202
204
|
};
|
|
203
205
|
}>> & {
|
|
204
206
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
205
|
-
}, {}, unknown, {}, {},
|
|
207
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
206
208
|
"update:modelValue": (value: string) => void;
|
|
207
209
|
}, string, {
|
|
208
|
-
size:
|
|
210
|
+
size: Size;
|
|
209
211
|
captionType: ComponentsConst.CaptionType;
|
|
210
|
-
}, {}, string, {}> &
|
|
212
|
+
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
211
213
|
$slots: {
|
|
212
214
|
default?(_: {}): any;
|
|
213
215
|
};
|
|
@@ -1,30 +1,32 @@
|
|
|
1
|
-
import { Props } from './input';
|
|
1
|
+
import { Props, CaptionType } from './input';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
import { Size } from '../helpers';
|
|
2
4
|
|
|
3
5
|
declare function __VLS_template(): {
|
|
4
6
|
default?(_: {}): any;
|
|
5
7
|
};
|
|
6
|
-
declare const __VLS_component:
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
7
9
|
size: string;
|
|
8
10
|
captionType: string;
|
|
9
|
-
}>, {}, unknown, {}, {},
|
|
11
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
12
|
"update:modelValue": (value: string) => void;
|
|
11
|
-
}, string,
|
|
13
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
12
14
|
size: string;
|
|
13
15
|
captionType: string;
|
|
14
16
|
}>>> & {
|
|
15
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
16
18
|
}, {
|
|
17
|
-
size:
|
|
18
|
-
captionType:
|
|
19
|
+
size: Size;
|
|
20
|
+
captionType: CaptionType;
|
|
19
21
|
}, {}>;
|
|
20
22
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
23
|
export default _default;
|
|
22
24
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
25
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
26
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
-
type:
|
|
27
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
28
|
} : {
|
|
27
|
-
type:
|
|
29
|
+
type: PropType<T[K]>;
|
|
28
30
|
required: true;
|
|
29
31
|
};
|
|
30
32
|
};
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import { Size } from '../helpers';
|
|
2
4
|
|
|
3
5
|
import * as ComponentsConst from './inputDate';
|
|
4
6
|
/**
|
|
@@ -12,91 +14,91 @@ import * as ComponentsConst from './inputDate';
|
|
|
12
14
|
* Формат определяется настройкой dateFormat, которую можно указать при подклчюении UI к приложению Vue или через Core.defineOptions().
|
|
13
15
|
*/
|
|
14
16
|
declare const meta: {
|
|
15
|
-
component:
|
|
17
|
+
component: DefineComponent<{
|
|
16
18
|
icon: {
|
|
17
|
-
type:
|
|
19
|
+
type: PropType<string>;
|
|
18
20
|
};
|
|
19
21
|
icon2: {
|
|
20
|
-
type:
|
|
22
|
+
type: PropType<string>;
|
|
21
23
|
default: string;
|
|
22
24
|
};
|
|
23
25
|
title: {
|
|
24
|
-
type:
|
|
26
|
+
type: PropType<string>;
|
|
25
27
|
};
|
|
26
28
|
size: {
|
|
27
|
-
type:
|
|
29
|
+
type: PropType<Size>;
|
|
28
30
|
};
|
|
29
31
|
name: {
|
|
30
|
-
type:
|
|
32
|
+
type: PropType<string>;
|
|
31
33
|
};
|
|
32
34
|
disabled: {
|
|
33
|
-
type:
|
|
35
|
+
type: PropType<boolean>;
|
|
34
36
|
};
|
|
35
37
|
modelValue: {
|
|
36
|
-
type:
|
|
38
|
+
type: PropType<string>;
|
|
37
39
|
required: true;
|
|
38
40
|
};
|
|
39
41
|
isError: {
|
|
40
|
-
type:
|
|
42
|
+
type: PropType<boolean>;
|
|
41
43
|
};
|
|
42
44
|
readonly: {
|
|
43
|
-
type:
|
|
45
|
+
type: PropType<boolean>;
|
|
44
46
|
};
|
|
45
47
|
modificator: {
|
|
46
|
-
type:
|
|
48
|
+
type: PropType<string>;
|
|
47
49
|
};
|
|
48
50
|
isLoading: {
|
|
49
|
-
type:
|
|
51
|
+
type: PropType<boolean>;
|
|
50
52
|
};
|
|
51
53
|
addCleaner: {
|
|
52
|
-
type:
|
|
54
|
+
type: PropType<boolean>;
|
|
53
55
|
};
|
|
54
56
|
captionType: {
|
|
55
|
-
type:
|
|
57
|
+
type: PropType<ComponentsConst.CaptionType>;
|
|
56
58
|
};
|
|
57
|
-
}, {}, unknown, {}, {},
|
|
59
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
58
60
|
"update:modelValue": (value: string) => void;
|
|
59
|
-
}, string,
|
|
61
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
60
62
|
icon: {
|
|
61
|
-
type:
|
|
63
|
+
type: PropType<string>;
|
|
62
64
|
};
|
|
63
65
|
icon2: {
|
|
64
|
-
type:
|
|
66
|
+
type: PropType<string>;
|
|
65
67
|
default: string;
|
|
66
68
|
};
|
|
67
69
|
title: {
|
|
68
|
-
type:
|
|
70
|
+
type: PropType<string>;
|
|
69
71
|
};
|
|
70
72
|
size: {
|
|
71
|
-
type:
|
|
73
|
+
type: PropType<Size>;
|
|
72
74
|
};
|
|
73
75
|
name: {
|
|
74
|
-
type:
|
|
76
|
+
type: PropType<string>;
|
|
75
77
|
};
|
|
76
78
|
disabled: {
|
|
77
|
-
type:
|
|
79
|
+
type: PropType<boolean>;
|
|
78
80
|
};
|
|
79
81
|
modelValue: {
|
|
80
|
-
type:
|
|
82
|
+
type: PropType<string>;
|
|
81
83
|
required: true;
|
|
82
84
|
};
|
|
83
85
|
isError: {
|
|
84
|
-
type:
|
|
86
|
+
type: PropType<boolean>;
|
|
85
87
|
};
|
|
86
88
|
readonly: {
|
|
87
|
-
type:
|
|
89
|
+
type: PropType<boolean>;
|
|
88
90
|
};
|
|
89
91
|
modificator: {
|
|
90
|
-
type:
|
|
92
|
+
type: PropType<string>;
|
|
91
93
|
};
|
|
92
94
|
isLoading: {
|
|
93
|
-
type:
|
|
95
|
+
type: PropType<boolean>;
|
|
94
96
|
};
|
|
95
97
|
addCleaner: {
|
|
96
|
-
type:
|
|
98
|
+
type: PropType<boolean>;
|
|
97
99
|
};
|
|
98
100
|
captionType: {
|
|
99
|
-
type:
|
|
101
|
+
type: PropType<ComponentsConst.CaptionType>;
|
|
100
102
|
};
|
|
101
103
|
}>> & {
|
|
102
104
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { Props } from './inputDate';
|
|
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
|
icon2: string;
|
|
5
|
-
}>, {}, unknown, {}, {},
|
|
6
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
6
7
|
"update:modelValue": (value: string) => void;
|
|
7
|
-
}, string,
|
|
8
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
9
|
icon2: string;
|
|
9
10
|
}>>> & {
|
|
10
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -15,9 +16,9 @@ export default _default;
|
|
|
15
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
17
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
-
type:
|
|
19
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
20
|
} : {
|
|
20
|
-
type:
|
|
21
|
+
type: PropType<T[K]>;
|
|
21
22
|
required: true;
|
|
22
23
|
};
|
|
23
24
|
};
|