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