@topvisor/ui 0.9.26 → 0.9.27-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.chunks/datepicker-34kJtztn.amd.js +234 -0
- package/.chunks/datepicker-34kJtztn.amd.js.map +1 -0
- package/.chunks/datepicker-DwZTG-k0.es.js +276 -0
- package/.chunks/datepicker-DwZTG-k0.es.js.map +1 -0
- package/.chunks/forms-1ZAO_mt8.es.js +1179 -0
- package/.chunks/forms-1ZAO_mt8.es.js.map +1 -0
- package/.chunks/forms-D_IeAEJM.amd.js +3 -0
- package/.chunks/forms-D_IeAEJM.amd.js.map +1 -0
- package/.chunks/{listItem.vue_vue_type_script_setup_true_lang-Caw4oFU-.es.js → listItem.vue_vue_type_script_setup_true_lang-DsAW8MMm.es.js} +38 -38
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DsAW8MMm.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-HVMrwfs6.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-HVMrwfs6.amd.js.map +1 -0
- package/.chunks/menu-C-SkDk9B.amd.js +2 -0
- package/.chunks/menu-C-SkDk9B.amd.js.map +1 -0
- package/.chunks/menu-CBKYqQZZ.es.js +120 -0
- package/.chunks/menu-CBKYqQZZ.es.js.map +1 -0
- package/.chunks/{popup-Dfz5hkrQ.amd.js → popup-7Bt5JEDW.amd.js} +386 -386
- package/.chunks/popup-7Bt5JEDW.amd.js.map +1 -0
- package/.chunks/{popup-ZmdXZkvb.es.js → popup-D0tRWEp2.es.js} +438 -445
- package/.chunks/popup-D0tRWEp2.es.js.map +1 -0
- package/.chunks/store-Bl79G7T_.amd.js.map +1 -1
- package/.chunks/store-PoMCiuBr.es.js.map +1 -1
- package/.chunks/{widgetInput-BxO9y9L7.amd.js → widgetInput-CeUAGCKd.amd.js} +2 -2
- package/.chunks/widgetInput-CeUAGCKd.amd.js.map +1 -0
- package/.chunks/{widgetInput-DPOH_qya.es.js → widgetInput-CmVe9G3z.es.js} +2 -2
- package/.chunks/widgetInput-CmVe9G3z.es.js.map +1 -0
- package/README.md +86 -86
- package/assets/forms.css +1 -1
- package/assets/formsExt.css +1 -1
- package/assets/menu.css +1 -0
- package/assets/project.css +1 -0
- package/core/core.amd.js +1 -1
- package/core/core.js +1 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.js +8 -8
- package/forms/helpers.amd.js.map +1 -1
- package/forms/helpers.js.map +1 -1
- package/formsExt/formsExt.amd.js +1 -1
- package/formsExt/formsExt.amd.js.map +1 -1
- package/formsExt/formsExt.js +297 -390
- 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 +3239 -3225
- package/icomoon/fonts/Topvisor-2.svg +253 -252
- package/icomoon/fonts/Topvisor-2.ttf +0 -0
- package/icomoon/fonts/Topvisor-2.woff +0 -0
- package/icomoon/selection.json +1 -1
- package/icomoon/style.css +710 -707
- package/package.json +20 -20
- package/popup/popup.amd.js +1 -1
- package/popup/popup.js +2 -2
- package/popup/worker.amd.js +1 -1
- package/popup/worker.amd.js.map +1 -1
- package/popup/worker.d.ts +2 -0
- package/popup/worker.js +4 -6
- package/popup/worker.js.map +1 -1
- package/project/project.amd.js +2 -0
- package/project/project.amd.js.map +1 -0
- package/project/project.d.ts +1 -0
- package/project/project.js +93 -0
- package/project/project.js.map +1 -0
- package/require/css.amd.js +11 -11
- package/src/components/forms/avatar/avatar.d.ts +9 -0
- package/src/components/forms/avatar/avatar.stories.d.ts +38 -13
- package/src/components/forms/avatar/avatar.vue.d.ts +17 -4
- package/src/components/forms/button/button.d.ts +2 -2
- package/src/components/forms/button/button.stories.d.ts +59 -58
- package/src/components/forms/button/button.vue.d.ts +7 -6
- package/src/components/forms/checkbox/checkbox.stories.d.ts +35 -34
- package/src/components/forms/checkbox/checkbox.vue.d.ts +16 -16
- package/src/components/forms/controlLabel/controlLabel.stories.d.ts +13 -13
- package/src/components/forms/controlLabel/controlLabel.vue.d.ts +3 -2
- package/src/components/forms/hint/hint.stories.d.ts +44 -44
- package/src/components/forms/hint/hint.vue.d.ts +3 -2
- package/src/components/forms/input/input.d.ts +2 -2
- package/src/components/forms/input/input.stories.d.ts +64 -63
- package/src/components/forms/input/input.vue.d.ts +7 -6
- package/src/components/forms/inputDate/inputDate.d.ts +2 -1
- package/src/components/forms/inputDate/inputDate.stories.d.ts +31 -30
- package/src/components/forms/inputDate/inputDate.vue.d.ts +5 -4
- package/src/components/forms/inputRange/inputRange.stories.d.ts +93 -92
- package/src/components/forms/inputRange/inputRange.vue.d.ts +1 -1
- package/src/components/forms/loadbar/loadbar.stories.d.ts +1 -1
- package/src/components/forms/loadbar/loadbar.vue.d.ts +1 -1
- package/src/components/forms/radio/radio.stories.d.ts +33 -32
- package/src/components/forms/radio/radio.vue.d.ts +4 -3
- package/src/components/forms/select/select.d.ts +2 -2
- package/src/components/forms/select/select.stories.d.ts +24 -23
- package/src/components/forms/select/select.vue.d.ts +22 -22
- package/src/components/forms/select/stories/exampleOptions.d.ts +2 -1
- package/src/components/forms/switcher/switcher.stories.d.ts +33 -32
- package/src/components/forms/switcher/switcher.vue.d.ts +4 -3
- package/src/components/forms/textarea/textarea.stories.d.ts +25 -24
- package/src/components/forms/textarea/textarea.vue.d.ts +5 -4
- package/src/components/formsExt/editArea/editArea.d.ts +18 -4
- package/src/components/formsExt/editArea/editArea.stories.d.ts +69 -52
- package/src/components/formsExt/editArea/editArea.vue.d.ts +17 -8
- package/src/components/formsExt/editInput/editInput.d.ts +3 -2
- package/src/components/formsExt/editInput/editInput.stories.d.ts +21 -20
- package/src/components/formsExt/editInput/editInput.vue.d.ts +4 -3
- package/src/components/formsExt/menu/menu.d.ts +2 -1
- package/src/components/formsExt/menu/menu.stories.d.ts +16 -15
- package/src/components/formsExt/menu/menu.vue.d.ts +16 -15
- package/src/components/formsExt/menu/stories/items.d.ts +2 -1
- package/src/components/formsExt/radioGroup/radioGroup.d.ts +2 -2
- package/src/components/formsExt/radioGroup/radioGroup.stories.d.ts +16 -15
- package/src/components/formsExt/radioGroup/radioGroup.vue.d.ts +14 -14
- package/src/components/formsExt/selector2/api.d.ts +3 -2
- package/src/components/formsExt/selector2/itemMulti.vue.d.ts +4 -3
- package/src/components/formsExt/selector2/selector2.d.ts +2 -2
- package/src/components/formsExt/selector2/selector2.stories.d.ts +67 -66
- package/src/components/formsExt/selector2/selector2.vue.d.ts +33 -32
- package/src/components/popup/lib/popup.d.ts +2 -4
- package/src/components/popup/lib/worker.d.ts +2 -1
- package/src/components/popup/popup/listItem.vue.d.ts +4 -3
- package/src/components/popup/popup/opener.vue.d.ts +6 -5
- package/src/components/popup/popup/popup.stories.d.ts +219 -218
- package/src/components/popup/popup/popup.vue.d.ts +8 -7
- package/src/components/popup/popup/widgetInput.vue.d.ts +28 -28
- package/src/components/project/project.d.ts +1 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.d.ts +20 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.d.ts +42 -0
- package/src/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +24 -0
- package/src/components/project/selectorCompetitors/stories/items.d.ts +4 -0
- package/src/components/tabs/tabs/content.vue.d.ts +3 -2
- package/src/components/tabs/tabs/tab.vue.d.ts +3 -2
- package/src/components/tabs/tabs/tabs.stories.d.ts +184 -184
- package/src/components/tabs/tabs/tabs.vue.d.ts +3 -2
- package/src/components/tabsView/tabsView/menu.vue.d.ts +6 -6
- package/src/components/tabsView/tabsView/menuDelimeter.vue.d.ts +1 -1
- package/src/components/tabsView/tabsView/menuItem.vue.d.ts +5 -4
- package/src/components/tabsView/tabsView/menuTitle.vue.d.ts +3 -2
- package/src/components/tabsView/tabsView/store.d.ts +23 -22
- package/src/components/tabsView/tabsView/tabsView.d.ts +2 -1
- package/src/components/tabsView/tabsView/tabsView.stories.d.ts +94 -94
- package/src/components/tabsView/tabsView/tabsView.vue.d.ts +12 -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 +92 -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 +44 -44
- package/src/core/core/core.d.ts +3 -3
- package/src/core/core/page.d.ts +4 -0
- package/src/core/core/state.d.ts +4 -0
- package/src/core/utils/check.d.ts +22 -0
- package/src/core/utils/date.d.ts +30 -12
- package/src/core/utils/device.d.ts +34 -1
- package/src/core/utils/dom.d.ts +23 -27
- package/src/core/utils/image.d.ts +6 -0
- package/src/core/utils/keyboard.d.ts +3 -0
- package/src/core/utils/number.d.ts +7 -0
- package/src/core/utils/price.d.ts +8 -0
- package/src/core/utils/scroll.d.ts +4 -0
- package/src/core/utils/store/localStorage.d.ts +2 -1
- package/src/core/utils/store/plugin.d.ts +3 -2
- package/src/core/utils/store/store.d.ts +3 -11
- package/src/core/utils/string.d.ts +80 -0
- package/src/core/utils/url.d.ts +32 -0
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.js +1 -1
- package/tabsView/tabsView.amd.js +1 -1
- package/tabsView/tabsView.amd.js.map +1 -1
- package/tabsView/tabsView.js +6 -10
- package/tabsView/tabsView.js.map +1 -1
- package/utils/check.amd.js +2 -0
- package/utils/check.amd.js.map +1 -0
- package/utils/check.d.ts +1 -0
- package/utils/check.js +26 -0
- package/utils/check.js.map +1 -0
- package/utils/css.amd.js.map +1 -1
- package/utils/css.js +1 -2
- package/utils/css.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.js +8 -5
- package/utils/device.amd.js +1 -1
- package/utils/device.js +11 -7
- package/utils/dom.amd.js.map +1 -1
- package/utils/dom.js.map +1 -1
- package/utils/image.amd.js +2 -0
- package/utils/image.amd.js.map +1 -0
- package/utils/image.d.ts +1 -0
- package/utils/image.js +8 -0
- package/utils/image.js.map +1 -0
- package/utils/keyboard.amd.js.map +1 -1
- package/utils/keyboard.js.map +1 -1
- package/utils/number.amd.js +2 -0
- package/utils/number.amd.js.map +1 -0
- package/utils/number.d.ts +1 -0
- package/utils/number.js +9 -0
- package/utils/number.js.map +1 -0
- package/utils/price.amd.js +2 -0
- package/utils/price.amd.js.map +1 -0
- package/utils/price.d.ts +1 -0
- package/utils/price.js +10 -0
- package/utils/price.js.map +1 -0
- package/utils/route.amd.js.map +1 -1
- package/utils/route.js.map +1 -1
- package/utils/scroll.amd.js +1 -1
- package/utils/scroll.amd.js.map +1 -1
- package/utils/scroll.js +21 -15
- package/utils/scroll.js.map +1 -1
- package/utils/string.amd.js +2 -0
- package/utils/string.amd.js.map +1 -0
- package/utils/string.d.ts +1 -0
- package/utils/string.js +138 -0
- package/utils/string.js.map +1 -0
- package/utils/system.amd.js.map +1 -1
- package/utils/system.js.map +1 -1
- package/utils/url.amd.js +3 -0
- package/utils/url.amd.js.map +1 -0
- package/utils/url.d.ts +1 -0
- package/utils/url.js +176 -0
- package/utils/url.js.map +1 -0
- package/utils/window.amd.js +1 -1
- package/utils/window.js +1 -1
- package/.chunks/datepicker-B9eprAyk.amd.js +0 -234
- package/.chunks/datepicker-B9eprAyk.amd.js.map +0 -1
- package/.chunks/datepicker-C86O1mQq.es.js +0 -277
- package/.chunks/datepicker-C86O1mQq.es.js.map +0 -1
- package/.chunks/forms-DkNAMd-D.amd.js +0 -3
- package/.chunks/forms-DkNAMd-D.amd.js.map +0 -1
- package/.chunks/forms-gb7uf2K8.es.js +0 -1026
- package/.chunks/forms-gb7uf2K8.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-2TAzIZZA.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-2TAzIZZA.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-Caw4oFU-.es.js.map +0 -1
- package/.chunks/popup-Dfz5hkrQ.amd.js.map +0 -1
- package/.chunks/popup-ZmdXZkvb.es.js.map +0 -1
- package/.chunks/widgetInput-BxO9y9L7.amd.js.map +0 -1
- package/.chunks/widgetInput-DPOH_qya.es.js.map +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Props } from './textarea';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
3
4
|
rows: number;
|
|
4
5
|
minHeight: number;
|
|
5
|
-
}>, {}, unknown, {}, {}, import(
|
|
6
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
7
|
"update:modelValue": (value?: string | undefined) => void;
|
|
7
|
-
}, string, import(
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
8
9
|
rows: number;
|
|
9
10
|
minHeight: number;
|
|
10
11
|
}>>> & {
|
|
@@ -1,20 +1,34 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Props as TextareaProps } from '../../forms/textarea/textarea';
|
|
2
|
+
|
|
2
3
|
export interface Props extends TextareaProps {
|
|
3
4
|
/**
|
|
4
5
|
* Поддерживает modelValue и **все другие** props компонента Textarea
|
|
5
6
|
*
|
|
6
7
|
* См. докуменатцию **Textarea**
|
|
7
8
|
*/
|
|
8
|
-
|
|
9
|
+
defaultValue?: string;
|
|
9
10
|
title?: string;
|
|
10
11
|
cancelText?: string;
|
|
11
12
|
submitText?: string;
|
|
13
|
+
closeText?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Установить фокус на поле ввода при его появлении
|
|
16
|
+
*/
|
|
17
|
+
isFocused?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Показывать кнопку **Close** пока ничего не введено или не изменено
|
|
20
|
+
*/
|
|
21
|
+
forceShowCloseBtn?: boolean;
|
|
12
22
|
/**
|
|
13
23
|
* Прикрепить к клавиатуре, прикрепляет форму к нижней части экрана
|
|
14
24
|
*/
|
|
15
25
|
attachToKeyboard?: boolean;
|
|
16
26
|
}
|
|
17
27
|
export interface Emits {
|
|
18
|
-
(e: '
|
|
19
|
-
(e: '
|
|
28
|
+
(e: 'submit', value: string): void;
|
|
29
|
+
(e: 'close'): void;
|
|
30
|
+
/**
|
|
31
|
+
* Только если **attachToKeyboard = true**
|
|
32
|
+
*/
|
|
33
|
+
(e: 'clickOnTitle'): void;
|
|
20
34
|
}
|
|
@@ -1,107 +1,140 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
|
|
2
3
|
declare const meta: {
|
|
3
|
-
component: import(
|
|
4
|
+
component: import('vue').DefineComponent<{
|
|
4
5
|
title: {
|
|
5
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<string>;
|
|
7
|
+
};
|
|
8
|
+
closeText: {
|
|
9
|
+
type: import('vue').PropType<string>;
|
|
10
|
+
default: string;
|
|
6
11
|
};
|
|
7
12
|
name: {
|
|
8
|
-
type: import(
|
|
13
|
+
type: import('vue').PropType<string>;
|
|
9
14
|
};
|
|
10
15
|
disabled: {
|
|
11
|
-
type: import(
|
|
16
|
+
type: import('vue').PropType<boolean>;
|
|
12
17
|
};
|
|
13
18
|
modelValue: {
|
|
14
|
-
type: import(
|
|
19
|
+
type: import('vue').PropType<string>;
|
|
15
20
|
required: true;
|
|
16
21
|
};
|
|
17
22
|
isError: {
|
|
18
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<boolean>;
|
|
19
24
|
};
|
|
20
25
|
hint: {
|
|
21
|
-
type: import(
|
|
26
|
+
type: import('vue').PropType<string>;
|
|
22
27
|
};
|
|
23
28
|
readonly: {
|
|
24
|
-
type: import(
|
|
29
|
+
type: import('vue').PropType<boolean>;
|
|
25
30
|
};
|
|
26
31
|
placeholder: {
|
|
27
|
-
type: import(
|
|
32
|
+
type: import('vue').PropType<string>;
|
|
28
33
|
};
|
|
29
34
|
rows: {
|
|
30
|
-
type: import(
|
|
35
|
+
type: import('vue').PropType<number>;
|
|
31
36
|
};
|
|
32
37
|
minHeight: {
|
|
33
|
-
type: import(
|
|
38
|
+
type: import('vue').PropType<number>;
|
|
34
39
|
};
|
|
35
40
|
expandable: {
|
|
36
|
-
type: import(
|
|
41
|
+
type: import('vue').PropType<boolean>;
|
|
37
42
|
default: boolean;
|
|
38
43
|
};
|
|
44
|
+
defaultValue: {
|
|
45
|
+
type: import('vue').PropType<string>;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
39
48
|
cancelText: {
|
|
40
|
-
type: import(
|
|
49
|
+
type: import('vue').PropType<string>;
|
|
41
50
|
default: string;
|
|
42
51
|
};
|
|
43
52
|
submitText: {
|
|
44
|
-
type: import(
|
|
53
|
+
type: import('vue').PropType<string>;
|
|
45
54
|
default: string;
|
|
46
55
|
};
|
|
56
|
+
isFocused: {
|
|
57
|
+
type: import('vue').PropType<boolean>;
|
|
58
|
+
};
|
|
59
|
+
forceShowCloseBtn: {
|
|
60
|
+
type: import('vue').PropType<boolean>;
|
|
61
|
+
};
|
|
47
62
|
attachToKeyboard: {
|
|
48
|
-
type: import(
|
|
63
|
+
type: import('vue').PropType<boolean>;
|
|
49
64
|
};
|
|
50
|
-
}, {}, unknown, {}, {}, import(
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
65
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
66
|
+
submit: (value: string) => void;
|
|
67
|
+
close: () => void;
|
|
68
|
+
clickOnTitle: () => void;
|
|
69
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
54
70
|
title: {
|
|
55
|
-
type: import(
|
|
71
|
+
type: import('vue').PropType<string>;
|
|
72
|
+
};
|
|
73
|
+
closeText: {
|
|
74
|
+
type: import('vue').PropType<string>;
|
|
75
|
+
default: string;
|
|
56
76
|
};
|
|
57
77
|
name: {
|
|
58
|
-
type: import(
|
|
78
|
+
type: import('vue').PropType<string>;
|
|
59
79
|
};
|
|
60
80
|
disabled: {
|
|
61
|
-
type: import(
|
|
81
|
+
type: import('vue').PropType<boolean>;
|
|
62
82
|
};
|
|
63
83
|
modelValue: {
|
|
64
|
-
type: import(
|
|
84
|
+
type: import('vue').PropType<string>;
|
|
65
85
|
required: true;
|
|
66
86
|
};
|
|
67
87
|
isError: {
|
|
68
|
-
type: import(
|
|
88
|
+
type: import('vue').PropType<boolean>;
|
|
69
89
|
};
|
|
70
90
|
hint: {
|
|
71
|
-
type: import(
|
|
91
|
+
type: import('vue').PropType<string>;
|
|
72
92
|
};
|
|
73
93
|
readonly: {
|
|
74
|
-
type: import(
|
|
94
|
+
type: import('vue').PropType<boolean>;
|
|
75
95
|
};
|
|
76
96
|
placeholder: {
|
|
77
|
-
type: import(
|
|
97
|
+
type: import('vue').PropType<string>;
|
|
78
98
|
};
|
|
79
99
|
rows: {
|
|
80
|
-
type: import(
|
|
100
|
+
type: import('vue').PropType<number>;
|
|
81
101
|
};
|
|
82
102
|
minHeight: {
|
|
83
|
-
type: import(
|
|
103
|
+
type: import('vue').PropType<number>;
|
|
84
104
|
};
|
|
85
105
|
expandable: {
|
|
86
|
-
type: import(
|
|
106
|
+
type: import('vue').PropType<boolean>;
|
|
87
107
|
default: boolean;
|
|
88
108
|
};
|
|
109
|
+
defaultValue: {
|
|
110
|
+
type: import('vue').PropType<string>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
89
113
|
cancelText: {
|
|
90
|
-
type: import(
|
|
114
|
+
type: import('vue').PropType<string>;
|
|
91
115
|
default: string;
|
|
92
116
|
};
|
|
93
117
|
submitText: {
|
|
94
|
-
type: import(
|
|
118
|
+
type: import('vue').PropType<string>;
|
|
95
119
|
default: string;
|
|
96
120
|
};
|
|
121
|
+
isFocused: {
|
|
122
|
+
type: import('vue').PropType<boolean>;
|
|
123
|
+
};
|
|
124
|
+
forceShowCloseBtn: {
|
|
125
|
+
type: import('vue').PropType<boolean>;
|
|
126
|
+
};
|
|
97
127
|
attachToKeyboard: {
|
|
98
|
-
type: import(
|
|
128
|
+
type: import('vue').PropType<boolean>;
|
|
99
129
|
};
|
|
100
130
|
}>> & {
|
|
101
|
-
|
|
102
|
-
|
|
131
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
132
|
+
onClose?: (() => any) | undefined;
|
|
133
|
+
onClickOnTitle?: (() => any) | undefined;
|
|
103
134
|
}, {
|
|
135
|
+
closeText: string;
|
|
104
136
|
expandable: boolean;
|
|
137
|
+
defaultValue: string;
|
|
105
138
|
cancelText: string;
|
|
106
139
|
submitText: string;
|
|
107
140
|
}, {}>;
|
|
@@ -121,20 +154,4 @@ declare const meta: {
|
|
|
121
154
|
type Story = StoryObj<typeof meta>;
|
|
122
155
|
export declare const Playground: {};
|
|
123
156
|
export declare const Overview: Story;
|
|
124
|
-
export declare const Expandable: {
|
|
125
|
-
args: {
|
|
126
|
-
title: string;
|
|
127
|
-
modelValue: string;
|
|
128
|
-
expandable: true;
|
|
129
|
-
attachToKeyboard: false;
|
|
130
|
-
isError: false;
|
|
131
|
-
};
|
|
132
|
-
};
|
|
133
|
-
export declare const MobileVersion: {
|
|
134
|
-
args: {
|
|
135
|
-
modelValue: string;
|
|
136
|
-
attachToKeyboard: true;
|
|
137
|
-
isError: false;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
157
|
export default meta;
|
|
@@ -1,20 +1,29 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Props } from './editArea';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
4
|
+
defaultValue: string;
|
|
3
5
|
cancelText: string;
|
|
4
6
|
submitText: string;
|
|
7
|
+
closeText: string;
|
|
5
8
|
expandable: boolean;
|
|
6
|
-
}>, {}, unknown, {}, {}, import(
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
submit: (value: string) => void;
|
|
11
|
+
close: () => void;
|
|
12
|
+
clickOnTitle: () => void;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
|
|
14
|
+
defaultValue: string;
|
|
10
15
|
cancelText: string;
|
|
11
16
|
submitText: string;
|
|
17
|
+
closeText: string;
|
|
12
18
|
expandable: boolean;
|
|
13
19
|
}>>> & {
|
|
14
|
-
|
|
15
|
-
|
|
20
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
21
|
+
onClose?: (() => any) | undefined;
|
|
22
|
+
onClickOnTitle?: (() => any) | undefined;
|
|
16
23
|
}, {
|
|
24
|
+
closeText: string;
|
|
17
25
|
expandable: boolean;
|
|
26
|
+
defaultValue: string;
|
|
18
27
|
cancelText: string;
|
|
19
28
|
submitText: string;
|
|
20
29
|
}, {}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import { Props as InputProps } from '../../forms/input/input';
|
|
2
|
+
import { Props as ButtonProps } from '../../forms/button/button';
|
|
3
|
+
|
|
3
4
|
export interface Props {
|
|
4
5
|
modelValue: string;
|
|
5
6
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
|
|
2
3
|
/**
|
|
3
4
|
* Поле ввода с кнопкой
|
|
4
5
|
*
|
|
@@ -10,31 +11,31 @@ import type { StoryObj } from '@storybook/vue3';
|
|
|
10
11
|
*/
|
|
11
12
|
declare const meta: {
|
|
12
13
|
component: {
|
|
13
|
-
new (...args: any[]): import(
|
|
14
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
14
15
|
modelValue: {
|
|
15
|
-
type: import(
|
|
16
|
+
type: import('vue').PropType<string>;
|
|
16
17
|
required: true;
|
|
17
18
|
};
|
|
18
19
|
input: {
|
|
19
|
-
type: import(
|
|
20
|
+
type: import('vue').PropType<Omit<import('../../forms/input/input').Props, "modelValue">>;
|
|
20
21
|
};
|
|
21
22
|
button: {
|
|
22
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<import('../../forms/button/button').Props>;
|
|
23
24
|
};
|
|
24
25
|
}>> & {
|
|
25
26
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
26
|
-
}, {}, unknown, {}, {}, import(
|
|
27
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
27
28
|
"update:modelValue": (value: string) => void;
|
|
28
|
-
}, import(
|
|
29
|
+
}, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
29
30
|
modelValue: {
|
|
30
|
-
type: import(
|
|
31
|
+
type: import('vue').PropType<string>;
|
|
31
32
|
required: true;
|
|
32
33
|
};
|
|
33
34
|
input: {
|
|
34
|
-
type: import(
|
|
35
|
+
type: import('vue').PropType<Omit<import('../../forms/input/input').Props, "modelValue">>;
|
|
35
36
|
};
|
|
36
37
|
button: {
|
|
37
|
-
type: import(
|
|
38
|
+
type: import('vue').PropType<import('../../forms/button/button').Props>;
|
|
38
39
|
};
|
|
39
40
|
}>> & {
|
|
40
41
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -45,16 +46,16 @@ declare const meta: {
|
|
|
45
46
|
C: {};
|
|
46
47
|
M: {};
|
|
47
48
|
Defaults: {};
|
|
48
|
-
}, Readonly<import(
|
|
49
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
49
50
|
modelValue: {
|
|
50
|
-
type: import(
|
|
51
|
+
type: import('vue').PropType<string>;
|
|
51
52
|
required: true;
|
|
52
53
|
};
|
|
53
54
|
input: {
|
|
54
|
-
type: import(
|
|
55
|
+
type: import('vue').PropType<Omit<import('../../forms/input/input').Props, "modelValue">>;
|
|
55
56
|
};
|
|
56
57
|
button: {
|
|
57
|
-
type: import(
|
|
58
|
+
type: import('vue').PropType<import('../../forms/button/button').Props>;
|
|
58
59
|
};
|
|
59
60
|
}>> & {
|
|
60
61
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
@@ -62,22 +63,22 @@ declare const meta: {
|
|
|
62
63
|
__isFragment?: undefined;
|
|
63
64
|
__isTeleport?: undefined;
|
|
64
65
|
__isSuspense?: undefined;
|
|
65
|
-
} & import(
|
|
66
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
66
67
|
modelValue: {
|
|
67
|
-
type: import(
|
|
68
|
+
type: import('vue').PropType<string>;
|
|
68
69
|
required: true;
|
|
69
70
|
};
|
|
70
71
|
input: {
|
|
71
|
-
type: import(
|
|
72
|
+
type: import('vue').PropType<Omit<import('../../forms/input/input').Props, "modelValue">>;
|
|
72
73
|
};
|
|
73
74
|
button: {
|
|
74
|
-
type: import(
|
|
75
|
+
type: import('vue').PropType<import('../../forms/button/button').Props>;
|
|
75
76
|
};
|
|
76
77
|
}>> & {
|
|
77
78
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
78
|
-
}, {}, unknown, {}, {}, import(
|
|
79
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
79
80
|
"update:modelValue": (value: string) => void;
|
|
80
|
-
}, string, {}, {}, string, {}> & import(
|
|
81
|
+
}, string, {}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
81
82
|
$slots: {
|
|
82
83
|
default?(_: {}): any;
|
|
83
84
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Props } from './editInput';
|
|
2
|
+
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
4
|
"update:modelValue": (value: string) => void;
|
|
4
|
-
}, string, import(
|
|
5
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
5
6
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
6
7
|
}, {}, {}>, {
|
|
7
8
|
default?(_: {}): any;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
|
|
2
3
|
import * as ComponentsConst from './menu';
|
|
3
4
|
/**
|
|
4
5
|
* Компонент предназначен для вывода меню с выбором одного или нескольких элементов
|
|
@@ -18,49 +19,49 @@ import * as ComponentsConst from './menu';
|
|
|
18
19
|
* Для **safari**: скролл с анимацией доступен только при подключении jQuery
|
|
19
20
|
*/
|
|
20
21
|
declare const meta: {
|
|
21
|
-
component: import(
|
|
22
|
+
component: import('vue').DefineComponent<{
|
|
22
23
|
modelValue: {
|
|
23
24
|
required: true;
|
|
24
|
-
type: import(
|
|
25
|
+
type: import('vue').PropType<any>;
|
|
25
26
|
};
|
|
26
27
|
styling: {
|
|
27
|
-
type: import(
|
|
28
|
+
type: import('vue').PropType<"default" | "bar">;
|
|
28
29
|
default: string;
|
|
29
30
|
};
|
|
30
31
|
items: {
|
|
31
|
-
type: import(
|
|
32
|
+
type: import('vue').PropType<ComponentsConst.Item[]>;
|
|
32
33
|
required: true;
|
|
33
34
|
};
|
|
34
35
|
isMultiple: {
|
|
35
|
-
type: import(
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
36
37
|
};
|
|
37
38
|
canBeEmptyMultiple: {
|
|
38
|
-
type: import(
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
39
40
|
};
|
|
40
41
|
selectAllItem: {
|
|
41
|
-
type: import(
|
|
42
|
+
type: import('vue').PropType<ComponentsConst.Item>;
|
|
42
43
|
};
|
|
43
|
-
}, {}, unknown, {}, {}, import(
|
|
44
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
44
45
|
modelValue: {
|
|
45
46
|
required: true;
|
|
46
|
-
type: import(
|
|
47
|
+
type: import('vue').PropType<any>;
|
|
47
48
|
};
|
|
48
49
|
styling: {
|
|
49
|
-
type: import(
|
|
50
|
+
type: import('vue').PropType<"default" | "bar">;
|
|
50
51
|
default: string;
|
|
51
52
|
};
|
|
52
53
|
items: {
|
|
53
|
-
type: import(
|
|
54
|
+
type: import('vue').PropType<ComponentsConst.Item[]>;
|
|
54
55
|
required: true;
|
|
55
56
|
};
|
|
56
57
|
isMultiple: {
|
|
57
|
-
type: import(
|
|
58
|
+
type: import('vue').PropType<boolean>;
|
|
58
59
|
};
|
|
59
60
|
canBeEmptyMultiple: {
|
|
60
|
-
type: import(
|
|
61
|
+
type: import('vue').PropType<boolean>;
|
|
61
62
|
};
|
|
62
63
|
selectAllItem: {
|
|
63
|
-
type: import(
|
|
64
|
+
type: import('vue').PropType<ComponentsConst.Item>;
|
|
64
65
|
};
|
|
65
66
|
}>>, {
|
|
66
67
|
styling: "default" | "bar";
|
|
@@ -1,47 +1,48 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import { Item } from './menu';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
3
4
|
modelValue: {
|
|
4
5
|
required: true;
|
|
5
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<any>;
|
|
6
7
|
};
|
|
7
8
|
styling: {
|
|
8
|
-
type: import(
|
|
9
|
+
type: import('vue').PropType<"default" | "bar">;
|
|
9
10
|
default: string;
|
|
10
11
|
};
|
|
11
12
|
items: {
|
|
12
|
-
type: import(
|
|
13
|
+
type: import('vue').PropType<Item[]>;
|
|
13
14
|
required: true;
|
|
14
15
|
};
|
|
15
16
|
isMultiple: {
|
|
16
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<boolean>;
|
|
17
18
|
};
|
|
18
19
|
canBeEmptyMultiple: {
|
|
19
|
-
type: import(
|
|
20
|
+
type: import('vue').PropType<boolean>;
|
|
20
21
|
};
|
|
21
22
|
selectAllItem: {
|
|
22
|
-
type: import(
|
|
23
|
+
type: import('vue').PropType<Item>;
|
|
23
24
|
};
|
|
24
|
-
}, {}, unknown, {}, {}, import(
|
|
25
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
26
|
modelValue: {
|
|
26
27
|
required: true;
|
|
27
|
-
type: import(
|
|
28
|
+
type: import('vue').PropType<any>;
|
|
28
29
|
};
|
|
29
30
|
styling: {
|
|
30
|
-
type: import(
|
|
31
|
+
type: import('vue').PropType<"default" | "bar">;
|
|
31
32
|
default: string;
|
|
32
33
|
};
|
|
33
34
|
items: {
|
|
34
|
-
type: import(
|
|
35
|
+
type: import('vue').PropType<Item[]>;
|
|
35
36
|
required: true;
|
|
36
37
|
};
|
|
37
38
|
isMultiple: {
|
|
38
|
-
type: import(
|
|
39
|
+
type: import('vue').PropType<boolean>;
|
|
39
40
|
};
|
|
40
41
|
canBeEmptyMultiple: {
|
|
41
|
-
type: import(
|
|
42
|
+
type: import('vue').PropType<boolean>;
|
|
42
43
|
};
|
|
43
44
|
selectAllItem: {
|
|
44
|
-
type: import(
|
|
45
|
+
type: import('vue').PropType<Item>;
|
|
45
46
|
};
|
|
46
47
|
}>>, {
|
|
47
48
|
styling: "default" | "bar";
|
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { StoryObj } from '@storybook/vue3';
|
|
2
|
+
|
|
2
3
|
import * as ComponentsConst from './radioGroup';
|
|
3
4
|
declare const meta: {
|
|
4
|
-
component: import(
|
|
5
|
+
component: import('vue').DefineComponent<{
|
|
5
6
|
modelValue: {
|
|
6
7
|
required: true;
|
|
7
|
-
type: import(
|
|
8
|
+
type: import('vue').PropType<string>;
|
|
8
9
|
};
|
|
9
10
|
size: {
|
|
10
|
-
type: import(
|
|
11
|
+
type: import('vue').PropType<import('../../forms/helpers').Size>;
|
|
11
12
|
default: string;
|
|
12
13
|
};
|
|
13
14
|
isError: {
|
|
14
|
-
type: import(
|
|
15
|
+
type: import('vue').PropType<boolean>;
|
|
15
16
|
};
|
|
16
17
|
radiosProps: {
|
|
17
|
-
type: import(
|
|
18
|
+
type: import('vue').PropType<ComponentsConst.ItemProps[]>;
|
|
18
19
|
};
|
|
19
20
|
showIndicator: {
|
|
20
|
-
type: import(
|
|
21
|
+
type: import('vue').PropType<boolean>;
|
|
21
22
|
};
|
|
22
|
-
}, {}, unknown, {}, {}, import(
|
|
23
|
+
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
23
24
|
"update:modelValue": (value: string) => void;
|
|
24
|
-
}, string, import(
|
|
25
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
25
26
|
modelValue: {
|
|
26
27
|
required: true;
|
|
27
|
-
type: import(
|
|
28
|
+
type: import('vue').PropType<string>;
|
|
28
29
|
};
|
|
29
30
|
size: {
|
|
30
|
-
type: import(
|
|
31
|
+
type: import('vue').PropType<import('../../forms/helpers').Size>;
|
|
31
32
|
default: string;
|
|
32
33
|
};
|
|
33
34
|
isError: {
|
|
34
|
-
type: import(
|
|
35
|
+
type: import('vue').PropType<boolean>;
|
|
35
36
|
};
|
|
36
37
|
radiosProps: {
|
|
37
|
-
type: import(
|
|
38
|
+
type: import('vue').PropType<ComponentsConst.ItemProps[]>;
|
|
38
39
|
};
|
|
39
40
|
showIndicator: {
|
|
40
|
-
type: import(
|
|
41
|
+
type: import('vue').PropType<boolean>;
|
|
41
42
|
};
|
|
42
43
|
}>> & {
|
|
43
44
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
44
45
|
}, {
|
|
45
|
-
size: import(
|
|
46
|
+
size: import('../../forms/helpers').Size;
|
|
46
47
|
}, {}>;
|
|
47
48
|
tags: string[];
|
|
48
49
|
argTypes: any;
|