@topvisor/ui 0.9.26 → 0.9.27-dev

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