@topvisor/ui 0.9.37 → 1.0.0-rc-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-C-d1Do_N.amd.js +248 -0
- package/.chunks/datepicker-C-d1Do_N.amd.js.map +1 -0
- package/.chunks/datepicker-DTNYG8Iy.es.js +290 -0
- package/.chunks/datepicker-DTNYG8Iy.es.js.map +1 -0
- package/.chunks/debounce-4ipCj607.amd.js +2 -0
- package/.chunks/debounce-4ipCj607.amd.js.map +1 -0
- package/.chunks/debounce-BISRz08p.es.js +116 -0
- package/.chunks/debounce-BISRz08p.es.js.map +1 -0
- package/.chunks/forms--Ye61xQ5.amd.js +3 -0
- package/.chunks/forms--Ye61xQ5.amd.js.map +1 -0
- package/.chunks/{forms-BZoPbSQt.es.js → forms-NfVxcPud.es.js} +241 -227
- package/.chunks/forms-NfVxcPud.es.js.map +1 -0
- package/.chunks/i18n-C_OH9IT3.amd.js +2 -0
- package/.chunks/i18n-C_OH9IT3.amd.js.map +1 -0
- package/.chunks/i18n-DuTvft1T.es.js +26 -0
- package/.chunks/i18n-DuTvft1T.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BToGplRR.es.js +174 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BToGplRR.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BsrusTUW.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-BsrusTUW.amd.js.map +1 -0
- package/.chunks/{menu-DDYYS64d.es.js → menu-ChmT8cWp.es.js} +30 -32
- package/.chunks/menu-ChmT8cWp.es.js.map +1 -0
- package/.chunks/menu-Gnm18ZCc.amd.js +2 -0
- package/.chunks/menu-Gnm18ZCc.amd.js.map +1 -0
- package/.chunks/{popup-BFJ2eTTB.amd.js → popup-Dwf3PJQf.amd.js} +447 -441
- package/.chunks/popup-Dwf3PJQf.amd.js.map +1 -0
- package/.chunks/{popup-Bc6YggdE.es.js → popup-_a1ivPRI.es.js} +491 -485
- package/.chunks/popup-_a1ivPRI.es.js.map +1 -0
- package/.chunks/store-CX_6ZXhO.es.js.map +1 -1
- package/.chunks/store-esTid5oI.amd.js.map +1 -1
- package/README.md +86 -86
- package/assets/core.css +1 -1
- package/assets/forms.css +1 -1
- package/assets/listItem.css +1 -1
- package/assets/menu.css +1 -1
- package/common/common.d.ts +1 -1
- package/components/forms/avatar/avatar.vue.d.ts +12 -12
- package/components/forms/button/button.d.ts +14 -2
- package/components/forms/button/button.vue.d.ts +11 -12
- package/components/forms/checkbox/checkbox.vue.d.ts +19 -43
- package/components/forms/controlLabel/controlLabel.vue.d.ts +7 -8
- package/components/forms/forms.d.ts +0 -1
- package/components/forms/hint/hint.vue.d.ts +2 -3
- package/components/forms/input/input.d.ts +0 -1
- package/components/forms/input/input.vue.d.ts +11 -12
- package/components/forms/inputDate/inputDate.d.ts +0 -1
- package/components/forms/inputDate/inputDate.vue.d.ts +11 -12
- package/components/forms/radio/radio.vue.d.ts +8 -9
- package/components/forms/select/select.d.ts +0 -1
- package/components/forms/select/select.vue.d.ts +31 -69
- package/components/forms/select/stories/exampleOptions.d.ts +0 -1
- package/components/forms/switcher/switcher.vue.d.ts +8 -9
- package/components/forms/textarea/textarea.vue.d.ts +11 -12
- package/components/formsExt/editArea/editArea.d.ts +0 -1
- package/components/formsExt/editArea/editArea.vue.d.ts +13 -14
- package/components/formsExt/editInput/editInput.d.ts +0 -1
- package/components/formsExt/editInput/editInput.vue.d.ts +3 -4
- package/components/formsExt/formsExt.d.ts +0 -1
- package/components/formsExt/menu/menu.d.ts +0 -1
- package/components/formsExt/menu/menu.vue.d.ts +32 -48
- package/components/formsExt/menu/stories/items.d.ts +0 -1
- package/components/formsExt/radioGroup/radioGroup.d.ts +0 -1
- package/components/formsExt/radioGroup/radioGroup.vue.d.ts +31 -42
- package/components/formsExt/selector2/api.d.ts +0 -1
- package/components/formsExt/selector2/itemMulti.vue.d.ts +3 -4
- package/components/formsExt/selector2/selector2.d.ts +0 -1
- package/components/formsExt/selector2/selector2.vue.d.ts +37 -117
- package/components/popup/alert/alert.d.ts +8 -0
- package/components/popup/alert/alert.vue.d.ts +33 -0
- package/components/popup/confirm/confirm.d.ts +21 -0
- package/components/popup/confirm/confirm.vue.d.ts +35 -0
- package/components/popup/lib/popup.d.ts +0 -1
- package/components/popup/lib/worker.d.ts +4 -5
- package/components/popup/popup/listItem.vue.d.ts +11 -12
- package/components/popup/popup/opener.vue.d.ts +13 -14
- package/components/popup/popup/popup.d.ts +8 -2
- package/components/popup/popup/popup.vue.d.ts +13 -14
- package/components/popup/popup/widgetInput.vue.d.ts +32 -82
- package/components/popup/popup.d.ts +6 -1
- package/components/popup/prompt/prompt.d.ts +21 -0
- package/components/popup/prompt/prompt.vue.d.ts +35 -0
- package/components/project/project.d.ts +0 -1
- package/components/project/selectorCompetitors/composables.d.ts +0 -1
- package/components/project/selectorCompetitors/selectorCompetitors.d.ts +0 -1
- package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +32 -24
- package/components/tabs/tabs/content.vue.d.ts +7 -8
- package/components/tabs/tabs/tab.vue.d.ts +7 -8
- package/components/tabs/tabs/tabs.vue.d.ts +7 -8
- package/components/tabs/tabs.d.ts +0 -1
- package/components/tabsView/tabsView/menu.vue.d.ts +22 -14
- package/components/tabsView/tabsView/menuItem.vue.d.ts +12 -12
- package/components/tabsView/tabsView/menuTitle.vue.d.ts +8 -8
- package/components/tabsView/tabsView/store.d.ts +1 -2
- package/components/tabsView/tabsView/tabsView.d.ts +0 -1
- package/components/tabsView/tabsView/tabsView.vue.d.ts +34 -34
- package/components/tabsView/tabsView.d.ts +0 -1
- package/core/app.amd.js +1 -1
- package/core/app.amd.js.map +1 -1
- package/core/app.d.ts +0 -1
- package/core/app.js +23 -21
- package/core/app.js.map +1 -1
- package/core/core/core.d.ts +14 -0
- package/core/core.amd.js +1 -1
- package/core/core.d.ts +2 -1
- package/core/core.js +1 -1
- package/core/directives/focus.d.ts +0 -1
- package/core/directives/sticky.d.ts +0 -1
- package/core/directives/swimUp.d.ts +0 -1
- package/core/directives/tooltip.d.ts +0 -1
- package/core/plugins/core.d.ts +0 -1
- package/core/plugins/i18n.d.ts +0 -1
- package/core/plugins/piniaTPA.d.ts +0 -1
- package/core/utils/lodash.d.ts +6 -0
- package/core/utils/price.d.ts +0 -1
- package/core/utils/store/localStorage.d.ts +0 -1
- package/core/utils/store/plugin.d.ts +0 -1
- package/core/utils/store/store.d.ts +0 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.d.ts +1 -0
- package/forms/forms.js +1 -1
- package/forms/helpers.amd.js.map +1 -1
- package/forms/helpers.d.ts +1 -0
- 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.d.ts +1 -0
- package/formsExt/formsExt.js +3 -3
- 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 +36 -37
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.d.ts +1 -0
- package/popup/popup.js +219 -21
- package/popup/popup.js.map +1 -1
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.d.ts +3 -0
- 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.d.ts +1 -0
- package/project/project.js +20 -20
- package/project/project.js.map +1 -1
- package/require/css.amd.js +12 -12
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.amd.js.map +1 -1
- package/tabs/tabs.d.ts +1 -0
- package/tabs/tabs.js +1 -1
- 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.d.ts +1 -0
- package/tabsView/tabsView.js +1 -1
- package/tabsView/tabsView.js.map +1 -1
- package/utils/check.amd.js.map +1 -1
- package/utils/check.d.ts +1 -0
- package/utils/check.js.map +1 -1
- package/utils/clipboard.amd.js.map +1 -1
- package/utils/clipboard.d.ts +1 -0
- package/utils/clipboard.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.d.ts +1 -0
- package/utils/date.js +2 -2
- package/utils/device.amd.js +1 -1
- package/utils/device.d.ts +1 -0
- package/utils/device.js +1 -1
- package/utils/dom.amd.js.map +1 -1
- package/utils/dom.d.ts +3 -0
- package/utils/dom.js.map +1 -1
- package/utils/image.amd.js.map +1 -1
- package/utils/image.d.ts +1 -0
- package/utils/image.js.map +1 -1
- package/utils/keyboard.amd.js.map +1 -1
- package/utils/keyboard.d.ts +1 -0
- package/utils/keyboard.js.map +1 -1
- package/utils/lodash.amd.js +2 -0
- package/utils/lodash.amd.js.map +1 -0
- package/utils/lodash.d.ts +2 -0
- package/utils/lodash.js +706 -0
- package/utils/lodash.js.map +1 -0
- package/utils/number.amd.js.map +1 -1
- package/utils/number.d.ts +1 -0
- package/utils/number.js.map +1 -1
- package/utils/price.amd.js +1 -1
- package/utils/price.amd.js.map +1 -1
- package/utils/price.d.ts +1 -0
- package/utils/price.js +2 -2
- package/utils/price.js.map +1 -1
- package/utils/route.amd.js.map +1 -1
- package/utils/route.d.ts +1 -0
- package/utils/route.js.map +1 -1
- package/utils/scroll.amd.js.map +1 -1
- package/utils/scroll.d.ts +1 -0
- package/utils/scroll.js.map +1 -1
- package/utils/store.d.ts +1 -0
- package/utils/string.amd.js +1 -1
- package/utils/string.amd.js.map +1 -1
- package/utils/string.d.ts +1 -0
- package/utils/string.js +1 -1
- package/utils/string.js.map +1 -1
- package/utils/system.amd.js.map +1 -1
- package/utils/system.d.ts +1 -0
- package/utils/system.js.map +1 -1
- package/utils/url.amd.js.map +1 -1
- package/utils/url.d.ts +1 -0
- package/utils/url.js.map +1 -1
- package/web-types.json +72 -72
- package/.chunks/datepicker-CcRVcC5P.es.js +0 -290
- package/.chunks/datepicker-CcRVcC5P.es.js.map +0 -1
- package/.chunks/datepicker-D_95vv2c.amd.js +0 -248
- package/.chunks/datepicker-D_95vv2c.amd.js.map +0 -1
- package/.chunks/forms-BZoPbSQt.es.js.map +0 -1
- package/.chunks/forms-KR6uVX5Z.amd.js +0 -3
- package/.chunks/forms-KR6uVX5Z.amd.js.map +0 -1
- package/.chunks/i18n-eDh3Aaw9.amd.js +0 -2
- package/.chunks/i18n-eDh3Aaw9.amd.js.map +0 -1
- package/.chunks/i18n-qpB8zyhD.es.js +0 -20
- package/.chunks/i18n-qpB8zyhD.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-4m2ZOlaP.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-4m2ZOlaP.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C2uuAtpx.es.js +0 -161
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C2uuAtpx.es.js.map +0 -1
- package/.chunks/menu-CNIQ9vFJ.amd.js +0 -2
- package/.chunks/menu-CNIQ9vFJ.amd.js.map +0 -1
- package/.chunks/menu-DDYYS64d.es.js.map +0 -1
- package/.chunks/popup-BFJ2eTTB.amd.js.map +0 -1
- package/.chunks/popup-Bc6YggdE.es.js.map +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Props, Pos, PosBy } from './popup';
|
|
2
1
|
import { default as PopupClass } from '../lib/popup';
|
|
2
|
+
import { Props, PosBy, Pos } from './popup';
|
|
3
3
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
4
|
-
|
|
5
4
|
declare function __VLS_template(): {
|
|
6
5
|
opener?(_: {}): any;
|
|
7
6
|
header?(_: {}): any;
|
|
@@ -10,7 +9,7 @@ declare function __VLS_template(): {
|
|
|
10
9
|
contentList?(_: {}): any;
|
|
11
10
|
footer?(_: {}): any;
|
|
12
11
|
};
|
|
13
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
14
13
|
id: string;
|
|
15
14
|
pos: string;
|
|
16
15
|
notch: boolean;
|
|
@@ -21,7 +20,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
21
20
|
open: () => void;
|
|
22
21
|
close: () => void;
|
|
23
22
|
scrollContentList: (value: Event) => void;
|
|
24
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
23
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
|
|
25
24
|
id: string;
|
|
26
25
|
pos: string;
|
|
27
26
|
notch: boolean;
|
|
@@ -32,21 +31,12 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
32
31
|
onScrollContentList?: ((value: Event) => any) | undefined;
|
|
33
32
|
}, {
|
|
34
33
|
id: string;
|
|
34
|
+
posBy: PosBy;
|
|
35
35
|
pos: Pos;
|
|
36
36
|
notch: boolean;
|
|
37
|
-
posBy: PosBy;
|
|
38
37
|
}, {}>;
|
|
39
38
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
39
|
export default _default;
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
40
|
type __VLS_WithDefaults<P, D> = {
|
|
51
41
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
42
|
default: D[K];
|
|
@@ -60,3 +50,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
60
50
|
$slots: S;
|
|
61
51
|
};
|
|
62
52
|
};
|
|
53
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
54
|
+
type __VLS_TypePropsToOption<T> = {
|
|
55
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
56
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
57
|
+
} : {
|
|
58
|
+
type: PropType<T[K]>;
|
|
59
|
+
required: true;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -1,85 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
modelValue
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
type: PropType<Size>;
|
|
17
|
-
};
|
|
18
|
-
name: {
|
|
19
|
-
type: PropType<string>;
|
|
20
|
-
};
|
|
21
|
-
disabled: {
|
|
22
|
-
type: PropType<boolean>;
|
|
23
|
-
};
|
|
24
|
-
isError: {
|
|
25
|
-
type: PropType<boolean>;
|
|
26
|
-
};
|
|
27
|
-
readonly: {
|
|
28
|
-
type: PropType<boolean>;
|
|
29
|
-
};
|
|
30
|
-
modificator: {
|
|
31
|
-
type: PropType<string>;
|
|
32
|
-
};
|
|
33
|
-
isLoading: {
|
|
34
|
-
type: PropType<boolean>;
|
|
35
|
-
};
|
|
36
|
-
addCleaner: {
|
|
37
|
-
type: PropType<boolean>;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
captionType: {
|
|
41
|
-
type: PropType<CaptionType>;
|
|
42
|
-
};
|
|
43
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
44
|
-
modelValue: PropType<any>;
|
|
45
|
-
icon: {
|
|
46
|
-
type: PropType<string>;
|
|
47
|
-
};
|
|
48
|
-
icon2: {
|
|
49
|
-
type: PropType<string>;
|
|
50
|
-
};
|
|
51
|
-
title: {
|
|
52
|
-
type: PropType<string>;
|
|
53
|
-
};
|
|
54
|
-
size: {
|
|
55
|
-
type: PropType<Size>;
|
|
56
|
-
};
|
|
57
|
-
name: {
|
|
58
|
-
type: PropType<string>;
|
|
59
|
-
};
|
|
60
|
-
disabled: {
|
|
61
|
-
type: PropType<boolean>;
|
|
62
|
-
};
|
|
63
|
-
isError: {
|
|
64
|
-
type: PropType<boolean>;
|
|
65
|
-
};
|
|
66
|
-
readonly: {
|
|
67
|
-
type: PropType<boolean>;
|
|
68
|
-
};
|
|
69
|
-
modificator: {
|
|
70
|
-
type: PropType<string>;
|
|
71
|
-
};
|
|
72
|
-
isLoading: {
|
|
73
|
-
type: PropType<boolean>;
|
|
74
|
-
};
|
|
75
|
-
addCleaner: {
|
|
76
|
-
type: PropType<boolean>;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
captionType: {
|
|
80
|
-
type: PropType<CaptionType>;
|
|
81
|
-
};
|
|
82
|
-
}>>, {
|
|
1
|
+
import { Props } from '../../forms/input/input';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare let __VLS_typeProps: Props;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: any;
|
|
6
|
+
} & typeof __VLS_typeProps;
|
|
7
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
8
|
+
addCleaner: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (modelValue: any) => void;
|
|
11
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
12
|
+
addCleaner: boolean;
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
|
|
15
|
+
}, {
|
|
83
16
|
addCleaner: boolean;
|
|
84
17
|
}, {}>;
|
|
85
18
|
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -3,8 +3,13 @@ import { default as Popup } from './popup/popup.vue';
|
|
|
3
3
|
import { default as PopupOpener } from './popup/opener.vue';
|
|
4
4
|
import { default as PopupListItem } from './popup/listItem.vue';
|
|
5
5
|
import { default as PopupWidgetInput } from './popup/widgetInput.vue';
|
|
6
|
-
|
|
6
|
+
import { default as PopupAlert } from './alert/alert.vue';
|
|
7
|
+
import { default as PopupConfirm } from './confirm/confirm.vue';
|
|
8
|
+
import { default as PopupPrompt } from './prompt/prompt.vue';
|
|
7
9
|
export declare const TopPopup: typeof Popup & ComponentCustomProps;
|
|
8
10
|
export declare const TopPopupOpener: typeof PopupOpener & ComponentCustomProps;
|
|
9
11
|
export declare const TopPopupListItem: typeof PopupListItem & ComponentCustomProps;
|
|
10
12
|
export declare const TopPopupWidgetInput: typeof PopupWidgetInput & ComponentCustomProps;
|
|
13
|
+
export declare const TopPopupAlert: typeof PopupAlert & ComponentCustomProps;
|
|
14
|
+
export declare const TopPopupConfirm: typeof PopupConfirm & ComponentCustomProps;
|
|
15
|
+
export declare const TopPopupPrompt: typeof PopupPrompt & ComponentCustomProps;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Emits as PopupEmits, Props as PopupProps } from '../popup/popup';
|
|
2
|
+
export interface Props extends PopupProps {
|
|
3
|
+
/**
|
|
4
|
+
* Текст кнопки подтверждения
|
|
5
|
+
*/
|
|
6
|
+
submitText?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Текст кнопки отмены
|
|
9
|
+
*/
|
|
10
|
+
cancelText?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Значение, введенное в поле ввода
|
|
13
|
+
*/
|
|
14
|
+
defaultValue?: string;
|
|
15
|
+
}
|
|
16
|
+
export type Emits = PopupEmits & {
|
|
17
|
+
/**
|
|
18
|
+
* Будет вызвано при нажатии кнопки подтверждения
|
|
19
|
+
*/
|
|
20
|
+
(e: 'submit', value: string): void;
|
|
21
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Props } from './prompt';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
opener?(_: {}): any;
|
|
5
|
+
header?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
footer?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
open: () => void;
|
|
11
|
+
close: () => void;
|
|
12
|
+
scrollContentList: (value: Event) => void;
|
|
13
|
+
submit: (value: string) => void;
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
|
|
15
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
16
|
+
onClose?: (() => any) | undefined;
|
|
17
|
+
onOpen?: (() => any) | undefined;
|
|
18
|
+
onScrollContentList?: ((value: Event) => any) | undefined;
|
|
19
|
+
}, {}, {}>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MaybeRefOrGetter, ComputedRef } from 'vue';
|
|
2
2
|
import { Item } from './selectorCompetitors';
|
|
3
3
|
import { Competitor } from './types/competitor';
|
|
4
|
-
|
|
5
4
|
export declare const useItemsFromCompetitors: (competitors: MaybeRefOrGetter<Competitor[]>, projectId: MaybeRefOrGetter<number>) => ComputedRef<Item[]>;
|
|
@@ -1,27 +1,35 @@
|
|
|
1
|
-
import { Props
|
|
2
|
-
import { DefineComponent,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
modelValue
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
items: {
|
|
17
|
-
type: PropType< Item[]>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
showSelectAllItem: {
|
|
21
|
-
type: PropType<boolean>;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
}>>, {
|
|
1
|
+
import { Props } from './selectorCompetitors';
|
|
2
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare let __VLS_typeProps: Props;
|
|
4
|
+
type __VLS_PublicProps = {
|
|
5
|
+
modelValue?: Props['modelValue'];
|
|
6
|
+
} & typeof __VLS_typeProps;
|
|
7
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
8
|
+
showSelectAllItem: boolean;
|
|
9
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (modelValue: number[]) => void;
|
|
11
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
|
|
12
|
+
showSelectAllItem: boolean;
|
|
13
|
+
}>>> & {
|
|
14
|
+
"onUpdate:modelValue"?: ((modelValue: number[]) => any) | undefined;
|
|
15
|
+
}, {
|
|
25
16
|
showSelectAllItem: boolean;
|
|
26
17
|
}, {}>;
|
|
27
18
|
export default _default;
|
|
19
|
+
type __VLS_WithDefaults<P, D> = {
|
|
20
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
21
|
+
default: D[K];
|
|
22
|
+
}> : P[K];
|
|
23
|
+
};
|
|
24
|
+
type __VLS_Prettify<T> = {
|
|
25
|
+
[K in keyof T]: T[K];
|
|
26
|
+
} & {};
|
|
27
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
28
|
+
type __VLS_TypePropsToOption<T> = {
|
|
29
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
+
} : {
|
|
32
|
+
type: PropType<T[K]>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { PropsContent } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
6
5
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<PropsContent>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PropsContent>>>, {}, {}>;
|
|
8
7
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
8
|
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
10
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
17
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
18
|
} : {
|
|
@@ -16,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
16
20
|
required: true;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { PropsTab } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
6
5
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
6
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<PropsTab>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PropsTab>>>, {}, {}>;
|
|
8
7
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
8
|
export default _default;
|
|
9
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
10
14
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
15
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
16
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
17
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
18
|
} : {
|
|
@@ -16,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
16
20
|
required: true;
|
|
17
21
|
};
|
|
18
22
|
};
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -1,16 +1,20 @@
|
|
|
1
1
|
import { Props } from './tabs';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
buttons?(_: {}): any;
|
|
6
5
|
header?(_: {}): any;
|
|
7
6
|
contents?(_: {}): any;
|
|
8
7
|
};
|
|
9
|
-
declare const __VLS_component: DefineComponent<
|
|
8
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
|
|
10
9
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
11
10
|
export default _default;
|
|
11
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
12
16
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
-
type
|
|
17
|
+
type __VLS_TypePropsToOption<T> = {
|
|
14
18
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
19
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
20
|
} : {
|
|
@@ -18,8 +22,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
18
22
|
required: true;
|
|
19
23
|
};
|
|
20
24
|
};
|
|
21
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
@@ -2,7 +2,6 @@ import { ComponentCustomProps } from 'vue';
|
|
|
2
2
|
import { default as Tabs } from './tabs/tabs.vue';
|
|
3
3
|
import { default as TabsTab } from './tabs/tab.vue';
|
|
4
4
|
import { default as TabsContent } from './tabs/content.vue';
|
|
5
|
-
|
|
6
5
|
export declare const TopTabs: typeof Tabs & ComponentCustomProps;
|
|
7
6
|
export declare const TopTabsTab: typeof TabsTab & ComponentCustomProps;
|
|
8
7
|
export declare const TopTabsContent: typeof TabsContent & ComponentCustomProps;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PropsMenu } from './tabsView';
|
|
2
|
+
import { ModelRef, DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
+
declare let __VLS_typeProps: PropsMenu;
|
|
4
|
+
declare const isLoading: ModelRef<unknown, string>;
|
|
5
|
+
type __VLS_PublicProps = {
|
|
6
|
+
'isLoading'?: NonNullable<typeof isLoading['value']>;
|
|
7
|
+
} & typeof __VLS_typeProps;
|
|
2
8
|
declare function __VLS_template(): {
|
|
3
9
|
default?(_: {}): any;
|
|
10
|
+
default?(_: {}): any;
|
|
4
11
|
};
|
|
5
|
-
declare const __VLS_component: DefineComponent<{
|
|
6
|
-
isLoading:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
};
|
|
11
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
12
|
-
isLoading: PropType<any>;
|
|
13
|
-
isShortable: {
|
|
14
|
-
type: PropType<boolean | undefined>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
}>>, {}, {}>;
|
|
12
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
13
|
+
"update:isLoading": (isLoading: {}) => void;
|
|
14
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
|
|
15
|
+
"onUpdate:isLoading"?: ((isLoading: {}) => any) | undefined;
|
|
16
|
+
}, {}, {}>;
|
|
18
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
19
18
|
export default _default;
|
|
20
19
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -22,3 +21,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
22
21
|
$slots: S;
|
|
23
22
|
};
|
|
24
23
|
};
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToOption<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { PropsMenuItem } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, Component, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<PropsMenuItem>, {
|
|
8
8
|
scrollable: boolean;
|
|
9
9
|
component: undefined;
|
|
10
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<PropsMenuItem>, {
|
|
11
11
|
scrollable: boolean;
|
|
12
12
|
component: undefined;
|
|
13
13
|
}>>>, {
|
|
@@ -16,15 +16,6 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
|
|
|
16
16
|
}, {}>;
|
|
17
17
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
18
18
|
export default _default;
|
|
19
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
20
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
21
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
22
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
23
|
-
} : {
|
|
24
|
-
type: PropType<T[K]>;
|
|
25
|
-
required: true;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
19
|
type __VLS_WithDefaults<P, D> = {
|
|
29
20
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
30
21
|
default: D[K];
|
|
@@ -38,3 +29,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
38
29
|
$slots: S;
|
|
39
30
|
};
|
|
40
31
|
};
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToOption<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
import { PropsMenuTitle } from './tabsView';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
3
|
declare function __VLS_template(): {
|
|
5
4
|
default?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<
|
|
7
|
+
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<PropsMenuTitle>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PropsMenuTitle>>>, {}, {}>;
|
|
8
8
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
9
|
export default _default;
|
|
10
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
+
new (): {
|
|
12
|
+
$slots: S;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
10
15
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
16
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
17
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
18
|
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
19
|
} : {
|
|
@@ -16,8 +21,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
16
21
|
required: true;
|
|
17
22
|
};
|
|
18
23
|
};
|
|
19
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
-
new (): {
|
|
21
|
-
$slots: S;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
@@ -2,7 +2,6 @@ import { ModelRef, InjectionKey, Slot, Component, Directive, ComputedOptions, Me
|
|
|
2
2
|
import { Props, Store, PropsMenuItem } from './tabsView';
|
|
3
3
|
import { LooseRequired } from '@vue/shared';
|
|
4
4
|
import { Store } from '../../../core/utils/store/store';
|
|
5
|
-
|
|
6
5
|
export declare const injectionKey: InjectionKey<Store>;
|
|
7
6
|
/**
|
|
8
7
|
* Инициировать Store компонента
|
|
@@ -126,7 +125,7 @@ export declare const defineTabsStore: (props: Props, model: ModelRef<string | un
|
|
|
126
125
|
__name: string;
|
|
127
126
|
} | {
|
|
128
127
|
props: ComponentPropsOptions<any>;
|
|
129
|
-
emits:
|
|
128
|
+
emits: never[] | {};
|
|
130
129
|
slots: Readonly<{
|
|
131
130
|
[name: string]: Slot<any> | undefined;
|
|
132
131
|
}>;
|