@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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focus.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sticky.amd.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sticky.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swimUp.amd.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"swimUp.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(["require","exports","../../.chunks/forms-CbJDUr1_.amd"],function(t,e,u){"use strict";if(typeof i>"u")var i=window.Vue;e.default=u.tooltip,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
2
|
-
//# sourceMappingURL=tooltip.amd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.amd.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
define(["require","exports","../../.chunks/forms-CbJDUr1_.amd"],function(T,t,o){"use strict";if(typeof n>"u")var n=window.Vue;const i={Core:o.Core},c={install:(e,u)=>{e.config.globalProperties.Top=i,e.directive("top-focus",o.focus),e.directive("top-sticky",o.sticky),e.directive("top-swim-up",o.swimUp),e.directive("top-tooltip",o.tooltip),e.component("TopAvatar",o.TopAvatar),e.component("TopButton",o.TopButton),e.component("TopCheckbox",o.TopCheckbox),e.component("TopControlLabel",o.TopControlLabel),e.component("TopHint",o.TopHint),e.component("TopInput",o.TopInput),e.component("TopInputDate",o.TopInputDate),e.component("TopInputRange",o.TopInputRange),e.component("TopLoadbar",o.TopLoadbar),e.component("TopRadio",o.TopRadio),e.component("TopSelect",o.TopSelect),e.component("TopSwitcher",o.TopSwitcher),e.component("TopTextarea",o.TopTextarea)}};t.directiveFocus=o.focus,t.directiveSticky=o.sticky,t.directiveSwimUp=o.swimUp,t.directiveTooltip=o.tooltip,t.default=c,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
2
|
-
//# sourceMappingURL=plugin.amd.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.amd.js","sources":["../../../src/core/plugin/plugin.ts"],"sourcesContent":["import * as Forms from '../../components/forms/forms';\nimport Core from '@/core/core/core';\nimport directiveFocus from '@/core/directives/focus';\nimport directiveSticky from '@/core/directives/sticky';\nimport directiveSwimUp from '@/core/directives/swimUp';\nimport directiveTooltip from '@/core/directives/tooltip';\n\nconst Top = {\n\tCore,\n\t// Page,\n};\n\ndeclare module 'vue' {\n\texport interface ComponentCustomProperties {\n\t\t$top: typeof Top;\n\t}\n\n\t/**\n\t * Обязательные компоненты UI\n\t *\n\t * Они подключаются через плагин и доступны без явного указания импорта\n\t */\n\texport interface GlobalComponents {\n\t\tTopAvatar: typeof Forms.TopAvatar;\n\t\tTopButton: typeof Forms.TopButton;\n\t\tTopCheckbox: typeof Forms.TopCheckbox;\n\t\tTopControlLabel: typeof Forms.TopControlLabel;\n\t\tTopHint: typeof Forms.TopHint;\n\t\tTopInput: typeof Forms.TopInput;\n\t\tTopInputDate: typeof Forms.TopInputDate;\n\t\tTopInputRange: typeof Forms.TopInputRange;\n\t\tTopRadio: typeof Forms.TopRadio;\n\t\tTopSwitcher: typeof Forms.TopSwitcher;\n\t\tTopTextarea: typeof Forms.TopTextarea;\n\t\tTopSelect: typeof Forms.TopSelect;\n\t\tTopLoadbar: typeof Forms.TopLoadbar;\n\t}\n}\n\n// TODO: Перенести с айта в UI\n// import Page from '@/component/vue/app/page.ts';\n\n/**\n * Плагин для интеграции UI во vue приложение\n */\nexport default {\n\n\t/**\n\t * Подключегние плагина UI к прилложению:\n\t * - В глобальную область видимости шаблонов будет добавлен объект Top\n\t * - Будут зарегистрирвоаны директивы UI: https://ui.topvisor.com/?path=/docs/core-directives-focus--docs\n\t * - Будут подключены базовые компоненты UI/Forms: https://ui.topvisor.com/?path=/docs/components-forms-readme--docs\n\t */\n\tinstall: (app, _options) => {\n\t\t// для использования в шаблонизаторе\n\t\tapp.config.globalProperties.Top = Top;\n\n\t\tapp.directive('top-focus', directiveFocus);\n\t\tapp.directive('top-sticky', directiveSticky);\n\t\tapp.directive('top-swim-up', directiveSwimUp);\n\t\tapp.directive('top-tooltip', directiveTooltip);\n\n\t\tapp.component('TopAvatar', Forms.TopAvatar);\n\t\tapp.component('TopButton', Forms.TopButton);\n\t\tapp.component('TopCheckbox', Forms.TopCheckbox);\n\t\tapp.component('TopControlLabel', Forms.TopControlLabel);\n\t\tapp.component('TopHint', Forms.TopHint);\n\t\tapp.component('TopInput', Forms.TopInput);\n\t\tapp.component('TopInputDate', Forms.TopInputDate);\n\t\tapp.component('TopInputRange', Forms.TopInputRange);\n\t\tapp.component('TopLoadbar', Forms.TopLoadbar);\n\t\tapp.component('TopRadio', Forms.TopRadio);\n\t\tapp.component('TopSelect', Forms.TopSelect);\n\t\tapp.component('TopSwitcher', Forms.TopSwitcher);\n\t\tapp.component('TopTextarea', Forms.TopTextarea);\n\t},\n\n};\n\nexport {\n\tdirectiveFocus,\n\tdirectiveSticky,\n\tdirectiveSwimUp,\n\tdirectiveTooltip,\n};\n"],"names":["Top","forms","plugin","app","_options"],"mappings":"8HAOA,MAAAA,EAAA,CAAY,KAAAC,EAAA,IAGZ,EAmCAC,EAAA,CAAe,QAAA,CAAAC,EAAAC,IAAA"}
|
package/core/plugin/plugin.d.ts
DELETED
package/core/plugin/plugin.js
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { f as t, s as e, a as n, t as i, T as c, b as s, c as T, d as a, e as p, g as r, h as m, i as l, j as d, k as u, l as v, m as b, n as f, C as g } from "../../.chunks/forms-CRdPxA6a.es.js";
|
|
2
|
-
const k = {
|
|
3
|
-
Core: g
|
|
4
|
-
// Page,
|
|
5
|
-
}, S = {
|
|
6
|
-
/**
|
|
7
|
-
* Подключегние плагина UI к прилложению:
|
|
8
|
-
* - В глобальную область видимости шаблонов будет добавлен объект Top
|
|
9
|
-
* - Будут зарегистрирвоаны директивы UI: https://ui.topvisor.com/?path=/docs/core-directives-focus--docs
|
|
10
|
-
* - Будут подключены базовые компоненты UI/Forms: https://ui.topvisor.com/?path=/docs/components-forms-readme--docs
|
|
11
|
-
*/
|
|
12
|
-
install: (o, C) => {
|
|
13
|
-
o.config.globalProperties.Top = k, o.directive("top-focus", t), o.directive("top-sticky", e), o.directive("top-swim-up", n), o.directive("top-tooltip", i), o.component("TopAvatar", c), o.component("TopButton", s), o.component("TopCheckbox", T), o.component("TopControlLabel", a), o.component("TopHint", p), o.component("TopInput", r), o.component("TopInputDate", m), o.component("TopInputRange", l), o.component("TopLoadbar", d), o.component("TopRadio", u), o.component("TopSelect", v), o.component("TopSwitcher", b), o.component("TopTextarea", f);
|
|
14
|
-
}
|
|
15
|
-
};
|
|
16
|
-
export {
|
|
17
|
-
S as default,
|
|
18
|
-
t as directiveFocus,
|
|
19
|
-
e as directiveSticky,
|
|
20
|
-
n as directiveSwimUp,
|
|
21
|
-
i as directiveTooltip
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=plugin.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.js","sources":["../../../src/core/plugin/plugin.ts"],"sourcesContent":["import * as Forms from '../../components/forms/forms';\nimport Core from '@/core/core/core';\nimport directiveFocus from '@/core/directives/focus';\nimport directiveSticky from '@/core/directives/sticky';\nimport directiveSwimUp from '@/core/directives/swimUp';\nimport directiveTooltip from '@/core/directives/tooltip';\n\nconst Top = {\n\tCore,\n\t// Page,\n};\n\ndeclare module 'vue' {\n\texport interface ComponentCustomProperties {\n\t\t$top: typeof Top;\n\t}\n\n\t/**\n\t * Обязательные компоненты UI\n\t *\n\t * Они подключаются через плагин и доступны без явного указания импорта\n\t */\n\texport interface GlobalComponents {\n\t\tTopAvatar: typeof Forms.TopAvatar;\n\t\tTopButton: typeof Forms.TopButton;\n\t\tTopCheckbox: typeof Forms.TopCheckbox;\n\t\tTopControlLabel: typeof Forms.TopControlLabel;\n\t\tTopHint: typeof Forms.TopHint;\n\t\tTopInput: typeof Forms.TopInput;\n\t\tTopInputDate: typeof Forms.TopInputDate;\n\t\tTopInputRange: typeof Forms.TopInputRange;\n\t\tTopRadio: typeof Forms.TopRadio;\n\t\tTopSwitcher: typeof Forms.TopSwitcher;\n\t\tTopTextarea: typeof Forms.TopTextarea;\n\t\tTopSelect: typeof Forms.TopSelect;\n\t\tTopLoadbar: typeof Forms.TopLoadbar;\n\t}\n}\n\n// TODO: Перенести с айта в UI\n// import Page from '@/component/vue/app/page.ts';\n\n/**\n * Плагин для интеграции UI во vue приложение\n */\nexport default {\n\n\t/**\n\t * Подключегние плагина UI к прилложению:\n\t * - В глобальную область видимости шаблонов будет добавлен объект Top\n\t * - Будут зарегистрирвоаны директивы UI: https://ui.topvisor.com/?path=/docs/core-directives-focus--docs\n\t * - Будут подключены базовые компоненты UI/Forms: https://ui.topvisor.com/?path=/docs/components-forms-readme--docs\n\t */\n\tinstall: (app, _options) => {\n\t\t// для использования в шаблонизаторе\n\t\tapp.config.globalProperties.Top = Top;\n\n\t\tapp.directive('top-focus', directiveFocus);\n\t\tapp.directive('top-sticky', directiveSticky);\n\t\tapp.directive('top-swim-up', directiveSwimUp);\n\t\tapp.directive('top-tooltip', directiveTooltip);\n\n\t\tapp.component('TopAvatar', Forms.TopAvatar);\n\t\tapp.component('TopButton', Forms.TopButton);\n\t\tapp.component('TopCheckbox', Forms.TopCheckbox);\n\t\tapp.component('TopControlLabel', Forms.TopControlLabel);\n\t\tapp.component('TopHint', Forms.TopHint);\n\t\tapp.component('TopInput', Forms.TopInput);\n\t\tapp.component('TopInputDate', Forms.TopInputDate);\n\t\tapp.component('TopInputRange', Forms.TopInputRange);\n\t\tapp.component('TopLoadbar', Forms.TopLoadbar);\n\t\tapp.component('TopRadio', Forms.TopRadio);\n\t\tapp.component('TopSelect', Forms.TopSelect);\n\t\tapp.component('TopSwitcher', Forms.TopSwitcher);\n\t\tapp.component('TopTextarea', Forms.TopTextarea);\n\t},\n\n};\n\nexport {\n\tdirectiveFocus,\n\tdirectiveSticky,\n\tdirectiveSwimUp,\n\tdirectiveTooltip,\n};\n"],"names":["Top","Core","plugin","app","_options","directiveFocus","directiveSticky","directiveSwimUp","directiveTooltip","Forms.TopAvatar","Forms.TopButton","Forms.TopCheckbox","Forms.TopControlLabel","Forms.TopHint","Forms.TopInput","Forms.TopInputDate","Forms.TopInputRange","Forms.TopLoadbar","Forms.TopRadio","Forms.TopSelect","Forms.TopSwitcher","Forms.TopTextarea"],"mappings":";AAOA,MAAMA,IAAM;AAAA,EACX,MAAAC;AAAA;AAED,GAmCeC,IAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQd,SAAS,CAACC,GAAKC,MAAa;AAEvB,IAAAD,EAAA,OAAO,iBAAiB,MAAMH,GAE9BG,EAAA,UAAU,aAAaE,CAAc,GACrCF,EAAA,UAAU,cAAcG,CAAe,GACvCH,EAAA,UAAU,eAAeI,CAAe,GACxCJ,EAAA,UAAU,eAAeK,CAAgB,GAEzCL,EAAA,UAAU,aAAaM,CAAe,GACtCN,EAAA,UAAU,aAAaO,CAAe,GACtCP,EAAA,UAAU,eAAeQ,CAAiB,GAC1CR,EAAA,UAAU,mBAAmBS,CAAqB,GAClDT,EAAA,UAAU,WAAWU,CAAa,GAClCV,EAAA,UAAU,YAAYW,CAAc,GACpCX,EAAA,UAAU,gBAAgBY,CAAkB,GAC5CZ,EAAA,UAAU,iBAAiBa,CAAmB,GAC9Cb,EAAA,UAAU,cAAcc,CAAgB,GACxCd,EAAA,UAAU,YAAYe,CAAc,GACpCf,EAAA,UAAU,aAAagB,CAAe,GACtChB,EAAA,UAAU,eAAeiB,CAAiB,GAC1CjB,EAAA,UAAU,eAAekB,CAAiB;AAAA,EAC/C;AAED;"}
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
|
|
4
|
-
import * as ComponentsConst from './avatar';
|
|
5
|
-
/**
|
|
6
|
-
* Компонент для аватара пользователя
|
|
7
|
-
*
|
|
8
|
-
* Рекомендуемый размер изображения: 128x128
|
|
9
|
-
*/
|
|
10
|
-
declare const meta: {
|
|
11
|
-
component: DefineComponent<{
|
|
12
|
-
image: {
|
|
13
|
-
type: PropType<string>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
size: {
|
|
17
|
-
type: PropType<ComponentsConst.Size>;
|
|
18
|
-
default: number;
|
|
19
|
-
};
|
|
20
|
-
nickname: {
|
|
21
|
-
type: PropType<string>;
|
|
22
|
-
};
|
|
23
|
-
isOnline: {
|
|
24
|
-
type: PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
lastActiveTime: {
|
|
27
|
-
type: PropType<string>;
|
|
28
|
-
};
|
|
29
|
-
i18n: {
|
|
30
|
-
type: PropType<{
|
|
31
|
-
Online: string;
|
|
32
|
-
LastSeen: string;
|
|
33
|
-
}>;
|
|
34
|
-
default: () => {
|
|
35
|
-
Online: string;
|
|
36
|
-
LastSeen: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
40
|
-
image: {
|
|
41
|
-
type: PropType<string>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
size: {
|
|
45
|
-
type: PropType<ComponentsConst.Size>;
|
|
46
|
-
default: number;
|
|
47
|
-
};
|
|
48
|
-
nickname: {
|
|
49
|
-
type: PropType<string>;
|
|
50
|
-
};
|
|
51
|
-
isOnline: {
|
|
52
|
-
type: PropType<boolean>;
|
|
53
|
-
};
|
|
54
|
-
lastActiveTime: {
|
|
55
|
-
type: PropType<string>;
|
|
56
|
-
};
|
|
57
|
-
i18n: {
|
|
58
|
-
type: PropType<{
|
|
59
|
-
Online: string;
|
|
60
|
-
LastSeen: string;
|
|
61
|
-
}>;
|
|
62
|
-
default: () => {
|
|
63
|
-
Online: string;
|
|
64
|
-
LastSeen: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
}>>, {
|
|
68
|
-
size: ComponentsConst.Size;
|
|
69
|
-
i18n: {
|
|
70
|
-
Online: string;
|
|
71
|
-
LastSeen: string;
|
|
72
|
-
};
|
|
73
|
-
}, {}>;
|
|
74
|
-
tags: string[];
|
|
75
|
-
args: {
|
|
76
|
-
image: string;
|
|
77
|
-
nickname: string;
|
|
78
|
-
lastActiveTime: string;
|
|
79
|
-
};
|
|
80
|
-
argTypes: any;
|
|
81
|
-
};
|
|
82
|
-
type Story = StoryObj<typeof meta>;
|
|
83
|
-
export declare const Playground: {};
|
|
84
|
-
export declare const Overview: Story;
|
|
85
|
-
export default meta;
|
|
@@ -1,278 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import { Size } from '../helpers';
|
|
4
|
-
|
|
5
|
-
import * as ComponentsConst from './button';
|
|
6
|
-
declare const meta: {
|
|
7
|
-
component: {
|
|
8
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
9
|
-
icon: {
|
|
10
|
-
type: PropType<string>;
|
|
11
|
-
};
|
|
12
|
-
icon2: {
|
|
13
|
-
type: PropType<string>;
|
|
14
|
-
};
|
|
15
|
-
title: {
|
|
16
|
-
type: PropType<string>;
|
|
17
|
-
};
|
|
18
|
-
size: {
|
|
19
|
-
type: PropType<Size>;
|
|
20
|
-
default: string;
|
|
21
|
-
};
|
|
22
|
-
color: {
|
|
23
|
-
type: PropType<ComponentsConst.Color>;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
styling: {
|
|
27
|
-
type: PropType<ComponentsConst.Style>;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
name: {
|
|
31
|
-
type: PropType<string>;
|
|
32
|
-
};
|
|
33
|
-
href: {
|
|
34
|
-
type: PropType<string>;
|
|
35
|
-
};
|
|
36
|
-
disabled: {
|
|
37
|
-
type: PropType<boolean>;
|
|
38
|
-
};
|
|
39
|
-
isSubmit: {
|
|
40
|
-
type: PropType<boolean>;
|
|
41
|
-
};
|
|
42
|
-
isActive: {
|
|
43
|
-
type: PropType<boolean>;
|
|
44
|
-
};
|
|
45
|
-
isProgress: {
|
|
46
|
-
type: PropType<boolean>;
|
|
47
|
-
};
|
|
48
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
49
|
-
icon: {
|
|
50
|
-
type: PropType<string>;
|
|
51
|
-
};
|
|
52
|
-
icon2: {
|
|
53
|
-
type: PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
title: {
|
|
56
|
-
type: PropType<string>;
|
|
57
|
-
};
|
|
58
|
-
size: {
|
|
59
|
-
type: PropType<Size>;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
color: {
|
|
63
|
-
type: PropType<ComponentsConst.Color>;
|
|
64
|
-
default: string;
|
|
65
|
-
};
|
|
66
|
-
styling: {
|
|
67
|
-
type: PropType<ComponentsConst.Style>;
|
|
68
|
-
default: string;
|
|
69
|
-
};
|
|
70
|
-
name: {
|
|
71
|
-
type: PropType<string>;
|
|
72
|
-
};
|
|
73
|
-
href: {
|
|
74
|
-
type: PropType<string>;
|
|
75
|
-
};
|
|
76
|
-
disabled: {
|
|
77
|
-
type: PropType<boolean>;
|
|
78
|
-
};
|
|
79
|
-
isSubmit: {
|
|
80
|
-
type: PropType<boolean>;
|
|
81
|
-
};
|
|
82
|
-
isActive: {
|
|
83
|
-
type: PropType<boolean>;
|
|
84
|
-
};
|
|
85
|
-
isProgress: {
|
|
86
|
-
type: PropType<boolean>;
|
|
87
|
-
};
|
|
88
|
-
}>>, {
|
|
89
|
-
size: Size;
|
|
90
|
-
color: ComponentsConst.Color;
|
|
91
|
-
styling: ComponentsConst.Style;
|
|
92
|
-
}, true, {}, {}, {
|
|
93
|
-
P: {};
|
|
94
|
-
B: {};
|
|
95
|
-
D: {};
|
|
96
|
-
C: {};
|
|
97
|
-
M: {};
|
|
98
|
-
Defaults: {};
|
|
99
|
-
}, Readonly< ExtractPropTypes<{
|
|
100
|
-
icon: {
|
|
101
|
-
type: PropType<string>;
|
|
102
|
-
};
|
|
103
|
-
icon2: {
|
|
104
|
-
type: PropType<string>;
|
|
105
|
-
};
|
|
106
|
-
title: {
|
|
107
|
-
type: PropType<string>;
|
|
108
|
-
};
|
|
109
|
-
size: {
|
|
110
|
-
type: PropType<Size>;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
color: {
|
|
114
|
-
type: PropType<ComponentsConst.Color>;
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
styling: {
|
|
118
|
-
type: PropType<ComponentsConst.Style>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
name: {
|
|
122
|
-
type: PropType<string>;
|
|
123
|
-
};
|
|
124
|
-
href: {
|
|
125
|
-
type: PropType<string>;
|
|
126
|
-
};
|
|
127
|
-
disabled: {
|
|
128
|
-
type: PropType<boolean>;
|
|
129
|
-
};
|
|
130
|
-
isSubmit: {
|
|
131
|
-
type: PropType<boolean>;
|
|
132
|
-
};
|
|
133
|
-
isActive: {
|
|
134
|
-
type: PropType<boolean>;
|
|
135
|
-
};
|
|
136
|
-
isProgress: {
|
|
137
|
-
type: PropType<boolean>;
|
|
138
|
-
};
|
|
139
|
-
}>>, {}, {}, {}, {}, {
|
|
140
|
-
size: Size;
|
|
141
|
-
color: ComponentsConst.Color;
|
|
142
|
-
styling: ComponentsConst.Style;
|
|
143
|
-
}>;
|
|
144
|
-
__isFragment?: never;
|
|
145
|
-
__isTeleport?: never;
|
|
146
|
-
__isSuspense?: never;
|
|
147
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
148
|
-
icon: {
|
|
149
|
-
type: PropType<string>;
|
|
150
|
-
};
|
|
151
|
-
icon2: {
|
|
152
|
-
type: PropType<string>;
|
|
153
|
-
};
|
|
154
|
-
title: {
|
|
155
|
-
type: PropType<string>;
|
|
156
|
-
};
|
|
157
|
-
size: {
|
|
158
|
-
type: PropType<Size>;
|
|
159
|
-
default: string;
|
|
160
|
-
};
|
|
161
|
-
color: {
|
|
162
|
-
type: PropType<ComponentsConst.Color>;
|
|
163
|
-
default: string;
|
|
164
|
-
};
|
|
165
|
-
styling: {
|
|
166
|
-
type: PropType<ComponentsConst.Style>;
|
|
167
|
-
default: string;
|
|
168
|
-
};
|
|
169
|
-
name: {
|
|
170
|
-
type: PropType<string>;
|
|
171
|
-
};
|
|
172
|
-
href: {
|
|
173
|
-
type: PropType<string>;
|
|
174
|
-
};
|
|
175
|
-
disabled: {
|
|
176
|
-
type: PropType<boolean>;
|
|
177
|
-
};
|
|
178
|
-
isSubmit: {
|
|
179
|
-
type: PropType<boolean>;
|
|
180
|
-
};
|
|
181
|
-
isActive: {
|
|
182
|
-
type: PropType<boolean>;
|
|
183
|
-
};
|
|
184
|
-
isProgress: {
|
|
185
|
-
type: PropType<boolean>;
|
|
186
|
-
};
|
|
187
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
|
|
188
|
-
size: Size;
|
|
189
|
-
color: ComponentsConst.Color;
|
|
190
|
-
styling: ComponentsConst.Style;
|
|
191
|
-
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
192
|
-
$slots: {
|
|
193
|
-
default?(_: {}): any;
|
|
194
|
-
html?(_: {}): any;
|
|
195
|
-
};
|
|
196
|
-
});
|
|
197
|
-
tags: string[];
|
|
198
|
-
argTypes: any;
|
|
199
|
-
parameters: {
|
|
200
|
-
docs: {
|
|
201
|
-
description: {
|
|
202
|
-
component: string;
|
|
203
|
-
};
|
|
204
|
-
};
|
|
205
|
-
design: {
|
|
206
|
-
type: string;
|
|
207
|
-
url: string;
|
|
208
|
-
};
|
|
209
|
-
};
|
|
210
|
-
};
|
|
211
|
-
type Story = StoryObj<typeof meta>;
|
|
212
|
-
export declare const Playground: {
|
|
213
|
-
args: {
|
|
214
|
-
default: string;
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
export declare const Overview: Story;
|
|
218
|
-
export declare const Regular: {
|
|
219
|
-
args: {
|
|
220
|
-
default: string;
|
|
221
|
-
title: string;
|
|
222
|
-
color: "blue";
|
|
223
|
-
};
|
|
224
|
-
};
|
|
225
|
-
export declare const RegularTheme: {
|
|
226
|
-
args: {
|
|
227
|
-
default: string;
|
|
228
|
-
title: string;
|
|
229
|
-
color: "theme";
|
|
230
|
-
};
|
|
231
|
-
};
|
|
232
|
-
export declare const Soft: {
|
|
233
|
-
args: {
|
|
234
|
-
default: string;
|
|
235
|
-
title: string;
|
|
236
|
-
color: "blue";
|
|
237
|
-
styling: "soft";
|
|
238
|
-
};
|
|
239
|
-
};
|
|
240
|
-
export declare const SoftTheme: {
|
|
241
|
-
args: {
|
|
242
|
-
default: string;
|
|
243
|
-
title: string;
|
|
244
|
-
color: "theme";
|
|
245
|
-
styling: "soft";
|
|
246
|
-
};
|
|
247
|
-
};
|
|
248
|
-
export declare const Outline: {
|
|
249
|
-
args: {
|
|
250
|
-
default: string;
|
|
251
|
-
title: string;
|
|
252
|
-
color: "blue";
|
|
253
|
-
styling: "outline";
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
export declare const OutlineTheme: {
|
|
257
|
-
args: {
|
|
258
|
-
default: string;
|
|
259
|
-
title: string;
|
|
260
|
-
color: "theme";
|
|
261
|
-
styling: "outline";
|
|
262
|
-
};
|
|
263
|
-
};
|
|
264
|
-
export declare const Icons: {
|
|
265
|
-
args: {
|
|
266
|
-
default: string;
|
|
267
|
-
title: string;
|
|
268
|
-
icon: string;
|
|
269
|
-
icon2: string;
|
|
270
|
-
};
|
|
271
|
-
};
|
|
272
|
-
export declare const OnlyOneIcons: {
|
|
273
|
-
args: {
|
|
274
|
-
title: string;
|
|
275
|
-
icon: string;
|
|
276
|
-
};
|
|
277
|
-
};
|
|
278
|
-
export default meta;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
import { StoryObj } from '@storybook/vue3';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
|
|
4
|
-
import * as ComponentsConst from './checkbox';
|
|
5
|
-
declare const meta: {
|
|
6
|
-
component: {
|
|
7
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
9
|
-
name: {
|
|
10
|
-
type: PropType<string>;
|
|
11
|
-
};
|
|
12
|
-
value: {
|
|
13
|
-
type: PropType<string>;
|
|
14
|
-
};
|
|
15
|
-
description: {
|
|
16
|
-
type: PropType<string>;
|
|
17
|
-
};
|
|
18
|
-
disabled: {
|
|
19
|
-
type: PropType<boolean>;
|
|
20
|
-
};
|
|
21
|
-
indeterminate: {
|
|
22
|
-
type: PropType<boolean>;
|
|
23
|
-
};
|
|
24
|
-
isError: {
|
|
25
|
-
type: PropType<boolean>;
|
|
26
|
-
};
|
|
27
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
28
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
29
|
-
name: {
|
|
30
|
-
type: PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
value: {
|
|
33
|
-
type: PropType<string>;
|
|
34
|
-
};
|
|
35
|
-
description: {
|
|
36
|
-
type: PropType<string>;
|
|
37
|
-
};
|
|
38
|
-
disabled: {
|
|
39
|
-
type: PropType<boolean>;
|
|
40
|
-
};
|
|
41
|
-
indeterminate: {
|
|
42
|
-
type: PropType<boolean>;
|
|
43
|
-
};
|
|
44
|
-
isError: {
|
|
45
|
-
type: PropType<boolean>;
|
|
46
|
-
};
|
|
47
|
-
}>>, {}, true, {}, {}, {
|
|
48
|
-
P: {};
|
|
49
|
-
B: {};
|
|
50
|
-
D: {};
|
|
51
|
-
C: {};
|
|
52
|
-
M: {};
|
|
53
|
-
Defaults: {};
|
|
54
|
-
}, Readonly< ExtractPropTypes<{
|
|
55
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
56
|
-
name: {
|
|
57
|
-
type: PropType<string>;
|
|
58
|
-
};
|
|
59
|
-
value: {
|
|
60
|
-
type: PropType<string>;
|
|
61
|
-
};
|
|
62
|
-
description: {
|
|
63
|
-
type: PropType<string>;
|
|
64
|
-
};
|
|
65
|
-
disabled: {
|
|
66
|
-
type: PropType<boolean>;
|
|
67
|
-
};
|
|
68
|
-
indeterminate: {
|
|
69
|
-
type: PropType<boolean>;
|
|
70
|
-
};
|
|
71
|
-
isError: {
|
|
72
|
-
type: PropType<boolean>;
|
|
73
|
-
};
|
|
74
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
75
|
-
__isFragment?: never;
|
|
76
|
-
__isTeleport?: never;
|
|
77
|
-
__isSuspense?: never;
|
|
78
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
79
|
-
modelValue: PropType<ComponentsConst.Props["modelValue"]>;
|
|
80
|
-
name: {
|
|
81
|
-
type: PropType<string>;
|
|
82
|
-
};
|
|
83
|
-
value: {
|
|
84
|
-
type: PropType<string>;
|
|
85
|
-
};
|
|
86
|
-
description: {
|
|
87
|
-
type: PropType<string>;
|
|
88
|
-
};
|
|
89
|
-
disabled: {
|
|
90
|
-
type: PropType<boolean>;
|
|
91
|
-
};
|
|
92
|
-
indeterminate: {
|
|
93
|
-
type: PropType<boolean>;
|
|
94
|
-
};
|
|
95
|
-
isError: {
|
|
96
|
-
type: PropType<boolean>;
|
|
97
|
-
};
|
|
98
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
99
|
-
$slots: {
|
|
100
|
-
default?(_: {}): any;
|
|
101
|
-
};
|
|
102
|
-
});
|
|
103
|
-
tags: string[];
|
|
104
|
-
argTypes: any;
|
|
105
|
-
args: {
|
|
106
|
-
modelValue: false;
|
|
107
|
-
};
|
|
108
|
-
};
|
|
109
|
-
type Story = StoryObj<typeof meta>;
|
|
110
|
-
export declare const Playground: {
|
|
111
|
-
args: {
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
export declare const Overview: Story;
|
|
116
|
-
export default meta;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
2
|
-
/**
|
|
3
|
-
* Компонент для вставки заголовка с описанием к элементу управления формы.
|
|
4
|
-
*
|
|
5
|
-
* Элементы управления:
|
|
6
|
-
* - checkbox
|
|
7
|
-
* - radio
|
|
8
|
-
* - switcher
|
|
9
|
-
*/
|
|
10
|
-
declare const meta: {
|
|
11
|
-
component: {
|
|
12
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
-
description: {
|
|
14
|
-
type: PropType<string>;
|
|
15
|
-
};
|
|
16
|
-
disabled: {
|
|
17
|
-
type: PropType<boolean>;
|
|
18
|
-
};
|
|
19
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
20
|
-
description: {
|
|
21
|
-
type: PropType<string>;
|
|
22
|
-
};
|
|
23
|
-
disabled: {
|
|
24
|
-
type: PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
}>>, {}, true, {}, {}, {
|
|
27
|
-
P: {};
|
|
28
|
-
B: {};
|
|
29
|
-
D: {};
|
|
30
|
-
C: {};
|
|
31
|
-
M: {};
|
|
32
|
-
Defaults: {};
|
|
33
|
-
}, Readonly< ExtractPropTypes<{
|
|
34
|
-
description: {
|
|
35
|
-
type: PropType<string>;
|
|
36
|
-
};
|
|
37
|
-
disabled: {
|
|
38
|
-
type: PropType<boolean>;
|
|
39
|
-
};
|
|
40
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
41
|
-
__isFragment?: never;
|
|
42
|
-
__isTeleport?: never;
|
|
43
|
-
__isSuspense?: never;
|
|
44
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
45
|
-
description: {
|
|
46
|
-
type: PropType<string>;
|
|
47
|
-
};
|
|
48
|
-
disabled: {
|
|
49
|
-
type: PropType<boolean>;
|
|
50
|
-
};
|
|
51
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
52
|
-
$slots: {
|
|
53
|
-
default?(_: {}): any;
|
|
54
|
-
};
|
|
55
|
-
});
|
|
56
|
-
tags: string[];
|
|
57
|
-
argTypes: any;
|
|
58
|
-
};
|
|
59
|
-
export declare const Playground: {
|
|
60
|
-
args: {
|
|
61
|
-
default: string;
|
|
62
|
-
description: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export default meta;
|