@topvisor/ui 0.9.34-utils-components-4 → 0.9.34-utils-components-5
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-Bh_DAFqD.es.js +289 -0
- package/.chunks/datepicker-Bh_DAFqD.es.js.map +1 -0
- package/.chunks/datepicker-CIbLjf_3.amd.js +247 -0
- package/.chunks/datepicker-CIbLjf_3.amd.js.map +1 -0
- package/.chunks/forms-BfIXIMY_.es.js +1089 -0
- package/.chunks/forms-BfIXIMY_.es.js.map +1 -0
- package/.chunks/forms-C__H1yL_.amd.js +3 -0
- package/.chunks/forms-C__H1yL_.amd.js.map +1 -0
- package/.chunks/i18n-BNGjUFTp.amd.js +2 -0
- package/.chunks/i18n-BNGjUFTp.amd.js.map +1 -0
- package/.chunks/i18n-DCbk4MSK.es.js +20 -0
- package/.chunks/i18n-DCbk4MSK.es.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CaBP5R7L.amd.js +2 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CaBP5R7L.amd.js.map +1 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DJZS6vRL.es.js +161 -0
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-DJZS6vRL.es.js.map +1 -0
- package/.chunks/{menu-D8Pkjvdh.es.js → menu-24EpQtdy.es.js} +37 -37
- package/.chunks/menu-24EpQtdy.es.js.map +1 -0
- package/.chunks/menu-DV1iSTyB.amd.js +2 -0
- package/.chunks/menu-DV1iSTyB.amd.js.map +1 -0
- package/.chunks/popup-BKd_kjT8.amd.js +440 -0
- package/.chunks/popup-BKd_kjT8.amd.js.map +1 -0
- package/.chunks/{popup-DUd8G4iQ.es.js → popup-DwpeWN20.es.js} +515 -511
- package/.chunks/popup-DwpeWN20.es.js.map +1 -0
- package/.chunks/store-Bl79G7T_.amd.js.map +1 -1
- package/.chunks/store-PoMCiuBr.es.js.map +1 -1
- package/README.md +86 -86
- package/assets/forms.css +1 -1
- package/common/common.d.ts +1 -1
- package/{src/components → components}/formsExt/editInput/editInput.vue.d.ts +1 -10
- package/{src/components → components}/popup/lib/popup.d.ts +0 -3
- package/{src/components → components}/popup/lib/worker.d.ts +0 -4
- package/core/app.amd.js +2 -0
- package/core/app.amd.js.map +1 -0
- package/core/app.d.ts +7 -0
- package/core/app.js +307 -0
- package/core/app.js.map +1 -0
- package/{src/core → core}/core/core.d.ts +17 -24
- package/core/core/options.d.ts +24 -0
- package/{src/core → core}/core/state.d.ts +3 -2
- package/core/core.amd.js +1 -1
- package/core/core.d.ts +2 -2
- package/core/core.js +1 -1
- package/core/directives/focus.d.ts +9 -3
- package/core/directives/sticky.d.ts +11 -3
- package/core/directives/swimUp.d.ts +10 -3
- package/core/directives/tooltip.d.ts +11 -3
- package/{src/core/plugin/plugin.d.ts → core/plugins/core.d.ts} +14 -17
- package/core/plugins/i18n.d.ts +98 -0
- package/core/plugins/piniaTPA.d.ts +18 -0
- package/core/utils/clipboard.d.ts +1 -0
- package/{src/core → core}/utils/price.d.ts +3 -1
- package/{src/core → core}/utils/system.d.ts +0 -1
- package/forms/forms.amd.js +1 -1
- package/forms/forms.d.ts +1 -1
- package/forms/forms.js +7 -7
- package/forms/helpers.amd.js.map +1 -1
- package/forms/helpers.d.ts +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.d.ts +1 -1
- package/formsExt/formsExt.js +76 -81
- 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 -32
- package/popup/popup.amd.js +1 -1
- package/popup/popup.amd.js.map +1 -1
- package/popup/popup.d.ts +1 -1
- package/popup/popup.js +6 -6
- 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 +2 -2
- package/popup/worker.js +5 -7
- 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 -1
- package/project/project.js +7 -7
- package/project/project.js.map +1 -1
- package/require/css.amd.js +11 -11
- package/tabs/tabs.amd.js +1 -1
- package/tabs/tabs.amd.js.map +1 -1
- package/tabs/tabs.d.ts +1 -1
- package/tabs/tabs.js +5 -5
- 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 -1
- package/tabsView/tabsView.js +8 -8
- package/tabsView/tabsView.js.map +1 -1
- package/utils/check.amd.js.map +1 -1
- package/utils/check.d.ts +1 -1
- package/utils/check.js.map +1 -1
- package/utils/clipboard.amd.js +2 -0
- package/utils/clipboard.amd.js.map +1 -0
- package/utils/clipboard.d.ts +1 -0
- package/utils/clipboard.js +10 -0
- package/utils/clipboard.js.map +1 -0
- package/utils/css.amd.js.map +1 -1
- package/utils/css.d.ts +1 -1
- package/utils/css.js.map +1 -1
- package/utils/date.amd.js +1 -1
- package/utils/date.d.ts +1 -1
- package/utils/date.js +4 -4
- package/utils/device.amd.js +1 -1
- package/utils/device.d.ts +1 -1
- package/utils/device.js +5 -5
- package/utils/dom.amd.js.map +1 -1
- package/utils/dom.d.ts +2 -2
- package/utils/dom.js.map +1 -1
- package/utils/image.amd.js.map +1 -1
- package/utils/image.d.ts +1 -1
- package/utils/image.js.map +1 -1
- package/utils/keyboard.amd.js.map +1 -1
- package/utils/keyboard.d.ts +1 -1
- package/utils/keyboard.js.map +1 -1
- package/utils/number.amd.js.map +1 -1
- package/utils/number.d.ts +1 -1
- 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 -1
- package/utils/price.js +8 -5
- package/utils/price.js.map +1 -1
- package/utils/route.amd.js.map +1 -1
- package/utils/route.d.ts +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.d.ts +1 -1
- package/utils/scroll.js +1 -1
- package/utils/scroll.js.map +1 -1
- package/utils/store.d.ts +1 -1
- package/utils/string.amd.js +1 -1
- package/utils/string.amd.js.map +1 -1
- package/utils/string.d.ts +1 -1
- package/utils/string.js +38 -35
- 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.d.ts +1 -1
- package/utils/system.js +16 -17
- package/utils/system.js.map +1 -1
- package/utils/url.amd.js.map +1 -1
- package/utils/url.d.ts +1 -1
- package/utils/url.js.map +1 -1
- package/utils/window.amd.js +1 -1
- package/utils/window.d.ts +1 -1
- package/utils/window.js +1 -1
- package/.chunks/datepicker-B-QNMaqL.es.js +0 -289
- package/.chunks/datepicker-B-QNMaqL.es.js.map +0 -1
- package/.chunks/datepicker-BtTKGtP7.amd.js +0 -247
- package/.chunks/datepicker-BtTKGtP7.amd.js.map +0 -1
- package/.chunks/forms-CRdPxA6a.es.js +0 -1186
- package/.chunks/forms-CRdPxA6a.es.js.map +0 -1
- package/.chunks/forms-CbJDUr1_.amd.js +0 -3
- package/.chunks/forms-CbJDUr1_.amd.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-D5EXHsIJ.es.js +0 -164
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-D5EXHsIJ.es.js.map +0 -1
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-W45jLCVb.amd.js +0 -2
- package/.chunks/listItem.vue_vue_type_script_setup_true_lang-W45jLCVb.amd.js.map +0 -1
- package/.chunks/menu-BNQ5GpPq.amd.js +0 -2
- package/.chunks/menu-BNQ5GpPq.amd.js.map +0 -1
- package/.chunks/menu-D8Pkjvdh.es.js.map +0 -1
- package/.chunks/popup-DUd8G4iQ.es.js.map +0 -1
- package/.chunks/popup-DcfMTbwU.amd.js +0 -440
- package/.chunks/popup-DcfMTbwU.amd.js.map +0 -1
- package/core/directives/focus.amd.js +0 -2
- package/core/directives/focus.amd.js.map +0 -1
- package/core/directives/focus.js +0 -5
- package/core/directives/focus.js.map +0 -1
- package/core/directives/sticky.amd.js +0 -2
- package/core/directives/sticky.amd.js.map +0 -1
- package/core/directives/sticky.js +0 -5
- package/core/directives/sticky.js.map +0 -1
- package/core/directives/swimUp.amd.js +0 -2
- package/core/directives/swimUp.amd.js.map +0 -1
- package/core/directives/swimUp.js +0 -5
- package/core/directives/swimUp.js.map +0 -1
- package/core/directives/tooltip.amd.js +0 -2
- package/core/directives/tooltip.amd.js.map +0 -1
- package/core/directives/tooltip.js +0 -5
- package/core/directives/tooltip.js.map +0 -1
- package/core/plugin/plugin.amd.js +0 -2
- package/core/plugin/plugin.amd.js.map +0 -1
- package/core/plugin/plugin.d.ts +0 -3
- package/core/plugin/plugin.js +0 -23
- package/core/plugin/plugin.js.map +0 -1
- package/src/components/forms/avatar/avatar.stories.d.ts +0 -85
- package/src/components/forms/button/button.stories.d.ts +0 -278
- package/src/components/forms/checkbox/checkbox.stories.d.ts +0 -116
- package/src/components/forms/controlLabel/controlLabel.stories.d.ts +0 -65
- package/src/components/forms/hint/hint.stories.d.ts +0 -75
- package/src/components/forms/input/input.stories.d.ts +0 -226
- package/src/components/forms/inputDate/inputDate.stories.d.ts +0 -117
- package/src/components/forms/inputRange/inputRange.stories.d.ts +0 -285
- package/src/components/forms/loadbar/loadbar.stories.d.ts +0 -10
- package/src/components/forms/radio/radio.stories.d.ts +0 -132
- package/src/components/forms/select/select.stories.d.ts +0 -108
- package/src/components/forms/switcher/switcher.stories.d.ts +0 -127
- package/src/components/forms/textarea/textarea.stories.d.ts +0 -90
- package/src/components/formsExt/editArea/editArea.stories.d.ts +0 -158
- package/src/components/formsExt/editInput/editInput.stories.d.ts +0 -98
- package/src/components/formsExt/menu/menu.stories.d.ts +0 -82
- package/src/components/formsExt/radioGroup/radioGroup.stories.d.ts +0 -67
- package/src/components/formsExt/selector2/selector2.stories.d.ts +0 -277
- package/src/components/popup/popup/popup.stories.d.ts +0 -701
- package/src/components/project/selectorCompetitors/selectorCompetitors.stories.d.ts +0 -43
- package/src/components/tabs/tabs/tabs.stories.d.ts +0 -539
- package/src/components/tabsView/tabsView/tabsView.stories.d.ts +0 -352
- 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 +0 -333
- 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 +0 -175
- package/src/core/core/options.d.ts +0 -13
- package/src/core/core/page.d.ts +0 -7
- package/src/core/directives/focus.d.ts +0 -9
- package/src/core/directives/sticky.d.ts +0 -11
- package/src/core/directives/swimUp.d.ts +0 -10
- package/src/core/directives/tooltip.d.ts +0 -11
- /package/{src/components → components}/common/common.d.ts +0 -0
- /package/{src/components → components}/common/icon/icon.d.ts +0 -0
- /package/{src/components → components}/forms/avatar/avatar.d.ts +0 -0
- /package/{src/components → components}/forms/avatar/avatar.vue.d.ts +0 -0
- /package/{src/components → components}/forms/button/button.d.ts +0 -0
- /package/{src/components → components}/forms/button/button.vue.d.ts +0 -0
- /package/{src/components → components}/forms/checkbox/checkbox.d.ts +0 -0
- /package/{src/components → components}/forms/checkbox/checkbox.vue.d.ts +0 -0
- /package/{src/components → components}/forms/controlLabel/controlLabel.d.ts +0 -0
- /package/{src/components → components}/forms/controlLabel/controlLabel.vue.d.ts +0 -0
- /package/{src/components → components}/forms/forms.d.ts +0 -0
- /package/{src/components → components}/forms/helpers.d.ts +0 -0
- /package/{src/components → components}/forms/hint/hint.d.ts +0 -0
- /package/{src/components → components}/forms/hint/hint.vue.d.ts +0 -0
- /package/{src/components → components}/forms/input/input.d.ts +0 -0
- /package/{src/components → components}/forms/input/input.vue.d.ts +0 -0
- /package/{src/components → components}/forms/inputDate/datepicker.d.ts +0 -0
- /package/{src/components → components}/forms/inputDate/inputDate.d.ts +0 -0
- /package/{src/components → components}/forms/inputDate/inputDate.vue.d.ts +0 -0
- /package/{src/components → components}/forms/inputRange/inputRange.d.ts +0 -0
- /package/{src/components → components}/forms/inputRange/inputRange.vue.d.ts +0 -0
- /package/{src/components → components}/forms/loadbar/loadbar.vue.d.ts +0 -0
- /package/{src/components → components}/forms/radio/radio.d.ts +0 -0
- /package/{src/components → components}/forms/radio/radio.vue.d.ts +0 -0
- /package/{src/components → components}/forms/select/select.d.ts +0 -0
- /package/{src/components → components}/forms/select/select.vue.d.ts +0 -0
- /package/{src/components → components}/forms/select/stories/exampleOptions.d.ts +0 -0
- /package/{src/components → components}/forms/switcher/switcher.d.ts +0 -0
- /package/{src/components → components}/forms/switcher/switcher.vue.d.ts +0 -0
- /package/{src/components → components}/forms/textarea/textarea.d.ts +0 -0
- /package/{src/components → components}/forms/textarea/textarea.vue.d.ts +0 -0
- /package/{src/components → components}/formsExt/editArea/editArea.d.ts +0 -0
- /package/{src/components → components}/formsExt/editArea/editArea.vue.d.ts +0 -0
- /package/{src/components → components}/formsExt/editInput/editInput.d.ts +0 -0
- /package/{src/components → components}/formsExt/formsExt.d.ts +0 -0
- /package/{src/components → components}/formsExt/menu/menu.d.ts +0 -0
- /package/{src/components → components}/formsExt/menu/menu.vue.d.ts +0 -0
- /package/{src/components → components}/formsExt/menu/stories/items.d.ts +0 -0
- /package/{src/components → components}/formsExt/radioGroup/radioGroup.d.ts +0 -0
- /package/{src/components → components}/formsExt/radioGroup/radioGroup.vue.d.ts +0 -0
- /package/{src/components → components}/formsExt/selector2/api.d.ts +0 -0
- /package/{src/components → components}/formsExt/selector2/itemMulti.vue.d.ts +0 -0
- /package/{src/components → components}/formsExt/selector2/selector2.d.ts +0 -0
- /package/{src/components → components}/formsExt/selector2/selector2.vue.d.ts +0 -0
- /package/{src/components → components}/formsExt/selector2/stories/dummyAPIRequest.d.ts +0 -0
- /package/{src/components → components}/popup/lib/popup.globalEvents.d.ts +0 -0
- /package/{src/components → components}/popup/lib/worker.globalEvents.d.ts +0 -0
- /package/{src/components → components}/popup/popup/listItem.vue.d.ts +0 -0
- /package/{src/components → components}/popup/popup/opener.vue.d.ts +0 -0
- /package/{src/components → components}/popup/popup/popup.d.ts +0 -0
- /package/{src/components → components}/popup/popup/popup.vue.d.ts +0 -0
- /package/{src/components → components}/popup/popup/widgetInput.vue.d.ts +0 -0
- /package/{src/components → components}/popup/popup.d.ts +0 -0
- /package/{src/components → components}/popup/worker.d.ts +0 -0
- /package/{src/components → components}/project/project.d.ts +0 -0
- /package/{src/components → components}/project/selectorCompetitors/composables.d.ts +0 -0
- /package/{src/components → components}/project/selectorCompetitors/selectorCompetitors.d.ts +0 -0
- /package/{src/components → components}/project/selectorCompetitors/selectorCompetitors.vue.d.ts +0 -0
- /package/{src/components → components}/project/selectorCompetitors/stories/items.d.ts +0 -0
- /package/{src/components → components}/project/selectorCompetitors/types/competitor.d.ts +0 -0
- /package/{src/components → components}/tabs/tabs/content.vue.d.ts +0 -0
- /package/{src/components → components}/tabs/tabs/tab.vue.d.ts +0 -0
- /package/{src/components → components}/tabs/tabs/tabs.d.ts +0 -0
- /package/{src/components → components}/tabs/tabs/tabs.vue.d.ts +0 -0
- /package/{src/components → components}/tabs/tabs.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/menu.vue.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/menuDelimeter.vue.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/menuItem.vue.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/menuTitle.vue.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/store.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/tabsView.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/tabsView.vue.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView/utils.d.ts +0 -0
- /package/{src/components → components}/tabsView/tabsView.d.ts +0 -0
- /package/{src/core → core}/core/events.d.ts +0 -0
- /package/{src/core → core}/utils/check.d.ts +0 -0
- /package/{src/core → core}/utils/css.d.ts +0 -0
- /package/{src/core → core}/utils/date.d.ts +0 -0
- /package/{src/core → core}/utils/device.d.ts +0 -0
- /package/{src/core → core}/utils/dom.d.ts +0 -0
- /package/{src/core → core}/utils/image.d.ts +0 -0
- /package/{src/core → core}/utils/keyboard.d.ts +0 -0
- /package/{src/core → core}/utils/number.d.ts +0 -0
- /package/{src/core → core}/utils/route.d.ts +0 -0
- /package/{src/core → core}/utils/scroll.d.ts +0 -0
- /package/{src/core → core}/utils/store/localStorage.d.ts +0 -0
- /package/{src/core → core}/utils/store/plugin.d.ts +0 -0
- /package/{src/core → core}/utils/store/store.d.ts +0 -0
- /package/{src/core → core}/utils/store.d.ts +0 -0
- /package/{src/core → core}/utils/string.d.ts +0 -0
- /package/{src/core → core}/utils/url.d.ts +0 -0
- /package/{src/core → core}/utils/window.d.ts +0 -0
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import { Props } from '../../forms/input/input';
|
|
4
|
-
import { Props } from '../../forms/button/button';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Поле ввода с кнопкой
|
|
8
|
-
*
|
|
9
|
-
* При вводе значения появляется кнопка подтверждения ввода
|
|
10
|
-
*
|
|
11
|
-
* При нажитии кнопки подвтерждения или **Enter** будет выполнено событие **update:modelValue**
|
|
12
|
-
*
|
|
13
|
-
* При нажатии **Escape** значение в поле будет возвращено к начальному значению
|
|
14
|
-
*/
|
|
15
|
-
declare const meta: {
|
|
16
|
-
component: {
|
|
17
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
18
|
-
modelValue: {
|
|
19
|
-
type: PropType<string>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
input: {
|
|
23
|
-
type: PropType<Omit< Props, "modelValue">>;
|
|
24
|
-
};
|
|
25
|
-
button: {
|
|
26
|
-
type: PropType<Props>;
|
|
27
|
-
};
|
|
28
|
-
}>> & {
|
|
29
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
30
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
31
|
-
"update:modelValue": (value: string) => void;
|
|
32
|
-
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
33
|
-
modelValue: {
|
|
34
|
-
type: PropType<string>;
|
|
35
|
-
required: true;
|
|
36
|
-
};
|
|
37
|
-
input: {
|
|
38
|
-
type: PropType<Omit< Props, "modelValue">>;
|
|
39
|
-
};
|
|
40
|
-
button: {
|
|
41
|
-
type: PropType<Props>;
|
|
42
|
-
};
|
|
43
|
-
}>> & {
|
|
44
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
45
|
-
}, {}, true, {}, {}, {
|
|
46
|
-
P: {};
|
|
47
|
-
B: {};
|
|
48
|
-
D: {};
|
|
49
|
-
C: {};
|
|
50
|
-
M: {};
|
|
51
|
-
Defaults: {};
|
|
52
|
-
}, Readonly< ExtractPropTypes<{
|
|
53
|
-
modelValue: {
|
|
54
|
-
type: PropType<string>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
input: {
|
|
58
|
-
type: PropType<Omit< Props, "modelValue">>;
|
|
59
|
-
};
|
|
60
|
-
button: {
|
|
61
|
-
type: PropType<Props>;
|
|
62
|
-
};
|
|
63
|
-
}>> & {
|
|
64
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
65
|
-
}, {}, {}, {}, {}, {}>;
|
|
66
|
-
__isFragment?: never;
|
|
67
|
-
__isTeleport?: never;
|
|
68
|
-
__isSuspense?: never;
|
|
69
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
70
|
-
modelValue: {
|
|
71
|
-
type: PropType<string>;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
input: {
|
|
75
|
-
type: PropType<Omit< Props, "modelValue">>;
|
|
76
|
-
};
|
|
77
|
-
button: {
|
|
78
|
-
type: PropType<Props>;
|
|
79
|
-
};
|
|
80
|
-
}>> & {
|
|
81
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
82
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
83
|
-
"update:modelValue": (value: string) => void;
|
|
84
|
-
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
85
|
-
$slots: {
|
|
86
|
-
default?(_: {}): any;
|
|
87
|
-
};
|
|
88
|
-
});
|
|
89
|
-
tags: string[];
|
|
90
|
-
argTypes: any;
|
|
91
|
-
args: {
|
|
92
|
-
modelValue: string;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
type Story = StoryObj<typeof meta>;
|
|
96
|
-
export declare const Playground: {};
|
|
97
|
-
export declare const Overview: Story;
|
|
98
|
-
export default meta;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
|
|
4
|
-
import * as ComponentsConst from './menu';
|
|
5
|
-
/**
|
|
6
|
-
* Компонент предназначен для вывода меню с выбором одного или нескольких элементов
|
|
7
|
-
*
|
|
8
|
-
* Не является навгиационным меню, можно испоьзовать для фильтров или для управления выводом другого контента
|
|
9
|
-
*
|
|
10
|
-
* Элементы меню представляют собой компонент **Button**. Все кнопки можно гибко настраивать.
|
|
11
|
-
*
|
|
12
|
-
* Имеен несколько видов оформления
|
|
13
|
-
*
|
|
14
|
-
* ## Дополнительный функицонал:
|
|
15
|
-
*
|
|
16
|
-
* - Меню можно скроллить стандартным скроллом мыши
|
|
17
|
-
* - Меню автоматически проскролливается до выбранного пункта меню
|
|
18
|
-
* - Есть возможнсоть вывода кнопки "Выбрать все"
|
|
19
|
-
*
|
|
20
|
-
* Для **safari**: скролл с анимацией доступен только при подключении jQuery
|
|
21
|
-
*/
|
|
22
|
-
declare const meta: {
|
|
23
|
-
component: DefineComponent<{
|
|
24
|
-
modelValue: {
|
|
25
|
-
required: true;
|
|
26
|
-
type: PropType<any>;
|
|
27
|
-
};
|
|
28
|
-
styling: {
|
|
29
|
-
type: PropType<"default" | "bar">;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
items: {
|
|
33
|
-
type: PropType<ComponentsConst.Item[]>;
|
|
34
|
-
required: true;
|
|
35
|
-
};
|
|
36
|
-
isMultiple: {
|
|
37
|
-
type: PropType<boolean>;
|
|
38
|
-
};
|
|
39
|
-
canBeEmptyMultiple: {
|
|
40
|
-
type: PropType<boolean>;
|
|
41
|
-
};
|
|
42
|
-
selectAllItem: {
|
|
43
|
-
type: PropType<ComponentsConst.Item>;
|
|
44
|
-
};
|
|
45
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
46
|
-
modelValue: {
|
|
47
|
-
required: true;
|
|
48
|
-
type: PropType<any>;
|
|
49
|
-
};
|
|
50
|
-
styling: {
|
|
51
|
-
type: PropType<"default" | "bar">;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
items: {
|
|
55
|
-
type: PropType<ComponentsConst.Item[]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
isMultiple: {
|
|
59
|
-
type: PropType<boolean>;
|
|
60
|
-
};
|
|
61
|
-
canBeEmptyMultiple: {
|
|
62
|
-
type: PropType<boolean>;
|
|
63
|
-
};
|
|
64
|
-
selectAllItem: {
|
|
65
|
-
type: PropType<ComponentsConst.Item>;
|
|
66
|
-
};
|
|
67
|
-
}>>, {
|
|
68
|
-
styling: (typeof ComponentsConst.styling)[keyof typeof ComponentsConst.styling];
|
|
69
|
-
}, {}>;
|
|
70
|
-
tags: string[];
|
|
71
|
-
argTypes: any;
|
|
72
|
-
args: {};
|
|
73
|
-
};
|
|
74
|
-
type Story = StoryObj<typeof meta>;
|
|
75
|
-
export declare const Playground: {
|
|
76
|
-
args: {
|
|
77
|
-
modelValue: number;
|
|
78
|
-
items: ComponentsConst.Item[];
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
export declare const Overview: Story;
|
|
82
|
-
export default meta;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
import { Size } from '../../forms/helpers';
|
|
4
|
-
|
|
5
|
-
import * as ComponentsConst from './radioGroup';
|
|
6
|
-
declare const meta: {
|
|
7
|
-
component: DefineComponent<{
|
|
8
|
-
modelValue: {
|
|
9
|
-
required: true;
|
|
10
|
-
type: PropType<string>;
|
|
11
|
-
};
|
|
12
|
-
size: {
|
|
13
|
-
type: PropType<Size>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
isError: {
|
|
17
|
-
type: PropType<boolean>;
|
|
18
|
-
};
|
|
19
|
-
radiosProps: {
|
|
20
|
-
type: PropType<ComponentsConst.ItemProps[]>;
|
|
21
|
-
};
|
|
22
|
-
showIndicator: {
|
|
23
|
-
type: PropType<boolean>;
|
|
24
|
-
};
|
|
25
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
26
|
-
"update:modelValue": (value: string) => void;
|
|
27
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
28
|
-
modelValue: {
|
|
29
|
-
required: true;
|
|
30
|
-
type: PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
size: {
|
|
33
|
-
type: PropType<Size>;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
isError: {
|
|
37
|
-
type: PropType<boolean>;
|
|
38
|
-
};
|
|
39
|
-
radiosProps: {
|
|
40
|
-
type: PropType<ComponentsConst.ItemProps[]>;
|
|
41
|
-
};
|
|
42
|
-
showIndicator: {
|
|
43
|
-
type: PropType<boolean>;
|
|
44
|
-
};
|
|
45
|
-
}>> & {
|
|
46
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
47
|
-
}, {
|
|
48
|
-
size: Size;
|
|
49
|
-
}, {}>;
|
|
50
|
-
tags: string[];
|
|
51
|
-
argTypes: any;
|
|
52
|
-
args: {
|
|
53
|
-
modelValue: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
type Story = StoryObj<typeof meta>;
|
|
57
|
-
export declare const Playground: {
|
|
58
|
-
args: {
|
|
59
|
-
radiosProps: {
|
|
60
|
-
value: string;
|
|
61
|
-
title: string;
|
|
62
|
-
icon: string;
|
|
63
|
-
}[];
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
export declare const Overview: Story;
|
|
67
|
-
export default meta;
|
|
@@ -1,277 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { Item } from './selector2';
|
|
3
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
4
|
-
import { Size } from '../../forms/helpers';
|
|
5
|
-
|
|
6
|
-
import * as ComponentsConst from './selector2';
|
|
7
|
-
declare const meta: {
|
|
8
|
-
component: {
|
|
9
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
11
|
-
size: {
|
|
12
|
-
type: PropType<Size>;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
disabled: {
|
|
16
|
-
type: PropType<boolean>;
|
|
17
|
-
};
|
|
18
|
-
isError: {
|
|
19
|
-
type: PropType<boolean>;
|
|
20
|
-
};
|
|
21
|
-
placeholder: {
|
|
22
|
-
type: PropType<string>;
|
|
23
|
-
};
|
|
24
|
-
addChanger: {
|
|
25
|
-
type: PropType<boolean>;
|
|
26
|
-
};
|
|
27
|
-
items: {
|
|
28
|
-
type: PropType<ComponentsConst.Item[]>;
|
|
29
|
-
default: () => Array<ComponentsConst.Item>;
|
|
30
|
-
};
|
|
31
|
-
minLength: {
|
|
32
|
-
type: PropType<number>;
|
|
33
|
-
default: number;
|
|
34
|
-
};
|
|
35
|
-
apiRequest: {
|
|
36
|
-
type: PropType<{
|
|
37
|
-
[propName: string]: any;
|
|
38
|
-
params: {
|
|
39
|
-
limit?: number;
|
|
40
|
-
offset?: number;
|
|
41
|
-
search?: string;
|
|
42
|
-
};
|
|
43
|
-
call: Function;
|
|
44
|
-
cache: Map<string, {
|
|
45
|
-
result: Array<Item>;
|
|
46
|
-
nextOffset?: number;
|
|
47
|
-
}>;
|
|
48
|
-
}>;
|
|
49
|
-
};
|
|
50
|
-
useCache: {
|
|
51
|
-
type: PropType<boolean>;
|
|
52
|
-
};
|
|
53
|
-
multiselect: {
|
|
54
|
-
type: PropType<boolean>;
|
|
55
|
-
};
|
|
56
|
-
appendSearchToResult: {
|
|
57
|
-
type: PropType<boolean>;
|
|
58
|
-
};
|
|
59
|
-
appendAllValue: {
|
|
60
|
-
type: PropType<boolean>;
|
|
61
|
-
};
|
|
62
|
-
showSelectedInInput: {
|
|
63
|
-
type: PropType<boolean>;
|
|
64
|
-
default: boolean;
|
|
65
|
-
};
|
|
66
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
67
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
68
|
-
size: {
|
|
69
|
-
type: PropType<Size>;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
disabled: {
|
|
73
|
-
type: PropType<boolean>;
|
|
74
|
-
};
|
|
75
|
-
isError: {
|
|
76
|
-
type: PropType<boolean>;
|
|
77
|
-
};
|
|
78
|
-
placeholder: {
|
|
79
|
-
type: PropType<string>;
|
|
80
|
-
};
|
|
81
|
-
addChanger: {
|
|
82
|
-
type: PropType<boolean>;
|
|
83
|
-
};
|
|
84
|
-
items: {
|
|
85
|
-
type: PropType<ComponentsConst.Item[]>;
|
|
86
|
-
default: () => Array<ComponentsConst.Item>;
|
|
87
|
-
};
|
|
88
|
-
minLength: {
|
|
89
|
-
type: PropType<number>;
|
|
90
|
-
default: number;
|
|
91
|
-
};
|
|
92
|
-
apiRequest: {
|
|
93
|
-
type: PropType<{
|
|
94
|
-
[propName: string]: any;
|
|
95
|
-
params: {
|
|
96
|
-
limit?: number;
|
|
97
|
-
offset?: number;
|
|
98
|
-
search?: string;
|
|
99
|
-
};
|
|
100
|
-
call: Function;
|
|
101
|
-
cache: Map<string, {
|
|
102
|
-
result: Array<Item>;
|
|
103
|
-
nextOffset?: number;
|
|
104
|
-
}>;
|
|
105
|
-
}>;
|
|
106
|
-
};
|
|
107
|
-
useCache: {
|
|
108
|
-
type: PropType<boolean>;
|
|
109
|
-
};
|
|
110
|
-
multiselect: {
|
|
111
|
-
type: PropType<boolean>;
|
|
112
|
-
};
|
|
113
|
-
appendSearchToResult: {
|
|
114
|
-
type: PropType<boolean>;
|
|
115
|
-
};
|
|
116
|
-
appendAllValue: {
|
|
117
|
-
type: PropType<boolean>;
|
|
118
|
-
};
|
|
119
|
-
showSelectedInInput: {
|
|
120
|
-
type: PropType<boolean>;
|
|
121
|
-
default: boolean;
|
|
122
|
-
};
|
|
123
|
-
}>>, {
|
|
124
|
-
size: Size;
|
|
125
|
-
items: Item[];
|
|
126
|
-
minLength: number;
|
|
127
|
-
showSelectedInInput: boolean;
|
|
128
|
-
}, true, {}, {}, {
|
|
129
|
-
P: {};
|
|
130
|
-
B: {};
|
|
131
|
-
D: {};
|
|
132
|
-
C: {};
|
|
133
|
-
M: {};
|
|
134
|
-
Defaults: {};
|
|
135
|
-
}, Readonly< ExtractPropTypes<{
|
|
136
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
137
|
-
size: {
|
|
138
|
-
type: PropType<Size>;
|
|
139
|
-
default: string;
|
|
140
|
-
};
|
|
141
|
-
disabled: {
|
|
142
|
-
type: PropType<boolean>;
|
|
143
|
-
};
|
|
144
|
-
isError: {
|
|
145
|
-
type: PropType<boolean>;
|
|
146
|
-
};
|
|
147
|
-
placeholder: {
|
|
148
|
-
type: PropType<string>;
|
|
149
|
-
};
|
|
150
|
-
addChanger: {
|
|
151
|
-
type: PropType<boolean>;
|
|
152
|
-
};
|
|
153
|
-
items: {
|
|
154
|
-
type: PropType<ComponentsConst.Item[]>;
|
|
155
|
-
default: () => Array<ComponentsConst.Item>;
|
|
156
|
-
};
|
|
157
|
-
minLength: {
|
|
158
|
-
type: PropType<number>;
|
|
159
|
-
default: number;
|
|
160
|
-
};
|
|
161
|
-
apiRequest: {
|
|
162
|
-
type: PropType<{
|
|
163
|
-
[propName: string]: any;
|
|
164
|
-
params: {
|
|
165
|
-
limit?: number;
|
|
166
|
-
offset?: number;
|
|
167
|
-
search?: string;
|
|
168
|
-
};
|
|
169
|
-
call: Function;
|
|
170
|
-
cache: Map<string, {
|
|
171
|
-
result: Array<Item>;
|
|
172
|
-
nextOffset?: number;
|
|
173
|
-
}>;
|
|
174
|
-
}>;
|
|
175
|
-
};
|
|
176
|
-
useCache: {
|
|
177
|
-
type: PropType<boolean>;
|
|
178
|
-
};
|
|
179
|
-
multiselect: {
|
|
180
|
-
type: PropType<boolean>;
|
|
181
|
-
};
|
|
182
|
-
appendSearchToResult: {
|
|
183
|
-
type: PropType<boolean>;
|
|
184
|
-
};
|
|
185
|
-
appendAllValue: {
|
|
186
|
-
type: PropType<boolean>;
|
|
187
|
-
};
|
|
188
|
-
showSelectedInInput: {
|
|
189
|
-
type: PropType<boolean>;
|
|
190
|
-
default: boolean;
|
|
191
|
-
};
|
|
192
|
-
}>>, {}, {}, {}, {}, {
|
|
193
|
-
size: Size;
|
|
194
|
-
items: Item[];
|
|
195
|
-
minLength: number;
|
|
196
|
-
showSelectedInInput: boolean;
|
|
197
|
-
}>;
|
|
198
|
-
__isFragment?: never;
|
|
199
|
-
__isTeleport?: never;
|
|
200
|
-
__isSuspense?: never;
|
|
201
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
202
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
203
|
-
size: {
|
|
204
|
-
type: PropType<Size>;
|
|
205
|
-
default: string;
|
|
206
|
-
};
|
|
207
|
-
disabled: {
|
|
208
|
-
type: PropType<boolean>;
|
|
209
|
-
};
|
|
210
|
-
isError: {
|
|
211
|
-
type: PropType<boolean>;
|
|
212
|
-
};
|
|
213
|
-
placeholder: {
|
|
214
|
-
type: PropType<string>;
|
|
215
|
-
};
|
|
216
|
-
addChanger: {
|
|
217
|
-
type: PropType<boolean>;
|
|
218
|
-
};
|
|
219
|
-
items: {
|
|
220
|
-
type: PropType<ComponentsConst.Item[]>;
|
|
221
|
-
default: () => Array<ComponentsConst.Item>;
|
|
222
|
-
};
|
|
223
|
-
minLength: {
|
|
224
|
-
type: PropType<number>;
|
|
225
|
-
default: number;
|
|
226
|
-
};
|
|
227
|
-
apiRequest: {
|
|
228
|
-
type: PropType<{
|
|
229
|
-
[propName: string]: any;
|
|
230
|
-
params: {
|
|
231
|
-
limit?: number;
|
|
232
|
-
offset?: number;
|
|
233
|
-
search?: string;
|
|
234
|
-
};
|
|
235
|
-
call: Function;
|
|
236
|
-
cache: Map<string, {
|
|
237
|
-
result: Array<Item>;
|
|
238
|
-
nextOffset?: number;
|
|
239
|
-
}>;
|
|
240
|
-
}>;
|
|
241
|
-
};
|
|
242
|
-
useCache: {
|
|
243
|
-
type: PropType<boolean>;
|
|
244
|
-
};
|
|
245
|
-
multiselect: {
|
|
246
|
-
type: PropType<boolean>;
|
|
247
|
-
};
|
|
248
|
-
appendSearchToResult: {
|
|
249
|
-
type: PropType<boolean>;
|
|
250
|
-
};
|
|
251
|
-
appendAllValue: {
|
|
252
|
-
type: PropType<boolean>;
|
|
253
|
-
};
|
|
254
|
-
showSelectedInInput: {
|
|
255
|
-
type: PropType<boolean>;
|
|
256
|
-
default: boolean;
|
|
257
|
-
};
|
|
258
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
259
|
-
size: Size;
|
|
260
|
-
items: Item[];
|
|
261
|
-
minLength: number;
|
|
262
|
-
showSelectedInInput: boolean;
|
|
263
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
264
|
-
$slots: Readonly<ComponentsConst.Slots> & ComponentsConst.Slots;
|
|
265
|
-
});
|
|
266
|
-
tags: string[];
|
|
267
|
-
argTypes: any;
|
|
268
|
-
args: {};
|
|
269
|
-
};
|
|
270
|
-
type Story = StoryObj<typeof meta>;
|
|
271
|
-
export declare const Playground: {
|
|
272
|
-
args: {
|
|
273
|
-
items: Item[];
|
|
274
|
-
};
|
|
275
|
-
};
|
|
276
|
-
export declare const Overview: Story;
|
|
277
|
-
export default meta;
|