@topvisor/ui 0.9.37 → 1.0.0-colors-3

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 (195) hide show
  1. package/.chunks/{datepicker-D_95vv2c.amd.js → datepicker-CGWwMJRV.amd.js} +10 -10
  2. package/.chunks/datepicker-CGWwMJRV.amd.js.map +1 -0
  3. package/.chunks/{datepicker-CcRVcC5P.es.js → datepicker-INKeNnsk.es.js} +22 -22
  4. package/.chunks/datepicker-INKeNnsk.es.js.map +1 -0
  5. package/.chunks/debounce-4ipCj607.amd.js +2 -0
  6. package/.chunks/debounce-4ipCj607.amd.js.map +1 -0
  7. package/.chunks/debounce-BISRz08p.es.js +116 -0
  8. package/.chunks/debounce-BISRz08p.es.js.map +1 -0
  9. package/.chunks/{forms-BZoPbSQt.es.js → forms-BDAati-M.es.js} +264 -249
  10. package/.chunks/forms-BDAati-M.es.js.map +1 -0
  11. package/.chunks/forms-ZqLh7cu5.amd.js +3 -0
  12. package/.chunks/forms-ZqLh7cu5.amd.js.map +1 -0
  13. package/.chunks/i18n-C_OH9IT3.amd.js +2 -0
  14. package/.chunks/{i18n-eDh3Aaw9.amd.js.map → i18n-C_OH9IT3.amd.js.map} +1 -1
  15. package/.chunks/i18n-DuTvft1T.es.js +26 -0
  16. package/.chunks/{i18n-qpB8zyhD.es.js.map → i18n-DuTvft1T.es.js.map} +1 -1
  17. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-B-fUb36w.amd.js +2 -0
  18. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-B-fUb36w.amd.js.map +1 -0
  19. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CaEDfkda.es.js +174 -0
  20. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-CaEDfkda.es.js.map +1 -0
  21. package/.chunks/menu-BDD1uC-t.amd.js +2 -0
  22. package/.chunks/menu-BDD1uC-t.amd.js.map +1 -0
  23. package/.chunks/{menu-DDYYS64d.es.js → menu-DJZI8eh6.es.js} +30 -32
  24. package/.chunks/menu-DJZI8eh6.es.js.map +1 -0
  25. package/.chunks/{popup-Bc6YggdE.es.js → popup-C18N-1yr.es.js} +23 -17
  26. package/.chunks/popup-C18N-1yr.es.js.map +1 -0
  27. package/.chunks/{popup-BFJ2eTTB.amd.js → popup-C497Sl7G.amd.js} +16 -10
  28. package/.chunks/popup-C497Sl7G.amd.js.map +1 -0
  29. package/assets/core.css +1 -1
  30. package/assets/dark.css +1 -1
  31. package/assets/forms.css +1 -1
  32. package/assets/formsExt.css +1 -1
  33. package/assets/light.css +1 -1
  34. package/assets/listItem.css +1 -1
  35. package/assets/menu.css +1 -1
  36. package/assets/tabs.css +1 -1
  37. package/assets/tabsView.css +1 -1
  38. package/common/common.d.ts +1 -1
  39. package/components/forms/avatar/avatar.vue.d.ts +12 -12
  40. package/components/forms/button/button.d.ts +14 -2
  41. package/components/forms/button/button.vue.d.ts +11 -12
  42. package/components/forms/checkbox/checkbox.vue.d.ts +19 -43
  43. package/components/forms/controlLabel/controlLabel.vue.d.ts +7 -8
  44. package/components/forms/forms.d.ts +0 -1
  45. package/components/forms/hint/hint.vue.d.ts +2 -3
  46. package/components/forms/input/input.d.ts +0 -1
  47. package/components/forms/input/input.vue.d.ts +11 -12
  48. package/components/forms/inputDate/inputDate.d.ts +0 -1
  49. package/components/forms/inputDate/inputDate.vue.d.ts +11 -12
  50. package/components/forms/radio/radio.vue.d.ts +8 -9
  51. package/components/forms/select/select.d.ts +0 -1
  52. package/components/forms/select/select.vue.d.ts +31 -69
  53. package/components/forms/select/stories/exampleOptions.d.ts +0 -1
  54. package/components/forms/switcher/switcher.vue.d.ts +8 -9
  55. package/components/forms/textarea/textarea.vue.d.ts +11 -12
  56. package/components/formsExt/editArea/editArea.d.ts +0 -1
  57. package/components/formsExt/editArea/editArea.vue.d.ts +13 -14
  58. package/components/formsExt/editInput/editInput.d.ts +0 -1
  59. package/components/formsExt/editInput/editInput.vue.d.ts +3 -4
  60. package/components/formsExt/formsExt.d.ts +0 -1
  61. package/components/formsExt/menu/menu.d.ts +0 -1
  62. package/components/formsExt/menu/menu.vue.d.ts +32 -48
  63. package/components/formsExt/menu/stories/items.d.ts +0 -1
  64. package/components/formsExt/radioGroup/radioGroup.d.ts +0 -1
  65. package/components/formsExt/radioGroup/radioGroup.vue.d.ts +31 -42
  66. package/components/formsExt/selector2/api.d.ts +0 -1
  67. package/components/formsExt/selector2/itemMulti.vue.d.ts +3 -4
  68. package/components/formsExt/selector2/selector2.d.ts +0 -1
  69. package/components/formsExt/selector2/selector2.vue.d.ts +37 -117
  70. package/components/popup/alert/alert.d.ts +8 -0
  71. package/components/popup/alert/alert.vue.d.ts +33 -0
  72. package/components/popup/confirm/confirm.d.ts +21 -0
  73. package/components/popup/confirm/confirm.vue.d.ts +35 -0
  74. package/components/popup/lib/popup.d.ts +0 -1
  75. package/components/popup/lib/worker.d.ts +4 -5
  76. package/components/popup/popup/listItem.vue.d.ts +11 -12
  77. package/components/popup/popup/opener.vue.d.ts +13 -14
  78. package/components/popup/popup/popup.d.ts +8 -2
  79. package/components/popup/popup/popup.vue.d.ts +13 -14
  80. package/components/popup/popup/widgetInput.vue.d.ts +32 -82
  81. package/components/popup/popup.d.ts +6 -1
  82. package/components/popup/prompt/prompt.d.ts +21 -0
  83. package/components/popup/prompt/prompt.vue.d.ts +35 -0
  84. package/components/project/project.d.ts +0 -1
  85. package/components/project/selectorCompetitors/composables.d.ts +0 -1
  86. package/components/project/selectorCompetitors/selectorCompetitors.d.ts +0 -1
  87. package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +32 -24
  88. package/components/tabs/tabs/content.vue.d.ts +7 -8
  89. package/components/tabs/tabs/tab.vue.d.ts +7 -8
  90. package/components/tabs/tabs/tabs.vue.d.ts +7 -8
  91. package/components/tabs/tabs.d.ts +0 -1
  92. package/components/tabsView/tabsView/menu.vue.d.ts +22 -14
  93. package/components/tabsView/tabsView/menuItem.vue.d.ts +12 -12
  94. package/components/tabsView/tabsView/menuTitle.vue.d.ts +8 -8
  95. package/components/tabsView/tabsView/store.d.ts +1 -2
  96. package/components/tabsView/tabsView/tabsView.d.ts +0 -1
  97. package/components/tabsView/tabsView/tabsView.vue.d.ts +34 -34
  98. package/components/tabsView/tabsView.d.ts +0 -1
  99. package/core/app.amd.js +1 -1
  100. package/core/app.amd.js.map +1 -1
  101. package/core/app.d.ts +0 -1
  102. package/core/app.js +23 -21
  103. package/core/app.js.map +1 -1
  104. package/core/core/core.d.ts +14 -0
  105. package/core/core.amd.js +1 -1
  106. package/core/core.d.ts +2 -1
  107. package/core/core.js +1 -1
  108. package/core/directives/focus.d.ts +0 -1
  109. package/core/directives/sticky.d.ts +0 -1
  110. package/core/directives/swimUp.d.ts +0 -1
  111. package/core/directives/tooltip.d.ts +0 -1
  112. package/core/plugins/core.d.ts +0 -1
  113. package/core/plugins/i18n.d.ts +0 -1
  114. package/core/plugins/piniaTPA.d.ts +0 -1
  115. package/core/utils/lodash.d.ts +6 -0
  116. package/core/utils/price.d.ts +0 -1
  117. package/core/utils/store/localStorage.d.ts +0 -1
  118. package/core/utils/store/plugin.d.ts +0 -1
  119. package/core/utils/store/store.d.ts +0 -1
  120. package/forms/forms.amd.js +1 -1
  121. package/forms/forms.d.ts +1 -0
  122. package/forms/forms.js +1 -1
  123. package/forms/helpers.d.ts +1 -0
  124. package/formsExt/formsExt.amd.js +1 -1
  125. package/formsExt/formsExt.amd.js.map +1 -1
  126. package/formsExt/formsExt.d.ts +1 -0
  127. package/formsExt/formsExt.js +3 -3
  128. package/formsExt/formsExt.js.map +1 -1
  129. package/package.json +1 -2
  130. package/popup/popup.amd.js +1 -1
  131. package/popup/popup.amd.js.map +1 -1
  132. package/popup/popup.d.ts +1 -0
  133. package/popup/popup.js +219 -21
  134. package/popup/popup.js.map +1 -1
  135. package/popup/worker.amd.js +1 -1
  136. package/popup/worker.amd.js.map +1 -1
  137. package/popup/worker.d.ts +3 -0
  138. package/popup/worker.js +2 -2
  139. package/popup/worker.js.map +1 -1
  140. package/project/project.amd.js +1 -1
  141. package/project/project.amd.js.map +1 -1
  142. package/project/project.d.ts +1 -0
  143. package/project/project.js +20 -20
  144. package/tabs/tabs.amd.js +1 -1
  145. package/tabs/tabs.d.ts +1 -0
  146. package/tabs/tabs.js +1 -1
  147. package/tabsView/tabsView.amd.js +1 -1
  148. package/tabsView/tabsView.amd.js.map +1 -1
  149. package/tabsView/tabsView.d.ts +1 -0
  150. package/tabsView/tabsView.js +1 -1
  151. package/tabsView/tabsView.js.map +1 -1
  152. package/utils/check.d.ts +1 -0
  153. package/utils/clipboard.d.ts +1 -0
  154. package/utils/date.amd.js +1 -1
  155. package/utils/date.d.ts +1 -0
  156. package/utils/date.js +2 -2
  157. package/utils/device.amd.js +1 -1
  158. package/utils/device.d.ts +1 -0
  159. package/utils/device.js +1 -1
  160. package/utils/dom.d.ts +3 -0
  161. package/utils/image.d.ts +1 -0
  162. package/utils/keyboard.d.ts +1 -0
  163. package/utils/lodash.amd.js +2 -0
  164. package/utils/lodash.amd.js.map +1 -0
  165. package/utils/lodash.d.ts +2 -0
  166. package/utils/lodash.js +706 -0
  167. package/utils/lodash.js.map +1 -0
  168. package/utils/number.d.ts +1 -0
  169. package/utils/price.amd.js +1 -1
  170. package/utils/price.d.ts +1 -0
  171. package/utils/price.js +2 -2
  172. package/utils/route.d.ts +1 -0
  173. package/utils/scroll.d.ts +1 -0
  174. package/utils/store.d.ts +1 -0
  175. package/utils/string.amd.js +1 -1
  176. package/utils/string.d.ts +1 -0
  177. package/utils/string.js +1 -1
  178. package/utils/system.d.ts +1 -0
  179. package/utils/url.d.ts +1 -0
  180. package/.chunks/datepicker-CcRVcC5P.es.js.map +0 -1
  181. package/.chunks/datepicker-D_95vv2c.amd.js.map +0 -1
  182. package/.chunks/forms-BZoPbSQt.es.js.map +0 -1
  183. package/.chunks/forms-KR6uVX5Z.amd.js +0 -3
  184. package/.chunks/forms-KR6uVX5Z.amd.js.map +0 -1
  185. package/.chunks/i18n-eDh3Aaw9.amd.js +0 -2
  186. package/.chunks/i18n-qpB8zyhD.es.js +0 -20
  187. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-4m2ZOlaP.amd.js +0 -2
  188. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-4m2ZOlaP.amd.js.map +0 -1
  189. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C2uuAtpx.es.js +0 -161
  190. package/.chunks/listItem.vue_vue_type_script_setup_true_lang-C2uuAtpx.es.js.map +0 -1
  191. package/.chunks/menu-CNIQ9vFJ.amd.js +0 -2
  192. package/.chunks/menu-CNIQ9vFJ.amd.js.map +0 -1
  193. package/.chunks/menu-DDYYS64d.es.js.map +0 -1
  194. package/.chunks/popup-BFJ2eTTB.amd.js.map +0 -1
  195. package/.chunks/popup-Bc6YggdE.es.js.map +0 -1
@@ -1,16 +1,15 @@
1
1
  import { Props, CaptionType } from './input';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { Size } from '../helpers';
4
-
5
4
  declare function __VLS_template(): {
6
5
  default?(_: {}): any;
7
6
  };
8
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
8
  size: string;
10
9
  captionType: string;
11
10
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
11
  "update:modelValue": (value: string) => void;
13
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
13
  size: string;
15
14
  captionType: string;
16
15
  }>>> & {
@@ -21,15 +20,6 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
21
20
  }, {}>;
22
21
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
23
22
  export default _default;
24
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
- type __VLS_TypePropsToRuntimeProps<T> = {
26
- [K in keyof T]-?: {} extends Pick<T, K> ? {
27
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
28
- } : {
29
- type: PropType<T[K]>;
30
- required: true;
31
- };
32
- };
33
23
  type __VLS_WithDefaults<P, D> = {
34
24
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
25
  default: D[K];
@@ -43,3 +33,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
43
33
  $slots: S;
44
34
  };
45
35
  };
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToOption<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
@@ -1,4 +1,3 @@
1
1
  import { Emits, Props } from '../input/input';
2
-
3
2
  export * from '../../forms/input/input';
4
3
  export type { Props, Emits };
@@ -1,11 +1,10 @@
1
1
  import { Props } from './inputDate';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
3
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
5
4
  icon2: string;
6
5
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
7
6
  "update:modelValue": (value: string) => void;
8
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
7
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
8
  icon2: string;
10
9
  }>>> & {
11
10
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
@@ -13,15 +12,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
13
12
  icon2: string;
14
13
  }, {}>;
15
14
  export default _default;
16
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
17
- type __VLS_TypePropsToRuntimeProps<T> = {
18
- [K in keyof T]-?: {} extends Pick<T, K> ? {
19
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
20
- } : {
21
- type: PropType<T[K]>;
22
- required: true;
23
- };
24
- };
25
15
  type __VLS_WithDefaults<P, D> = {
26
16
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
27
17
  default: D[K];
@@ -30,3 +20,12 @@ type __VLS_WithDefaults<P, D> = {
30
20
  type __VLS_Prettify<T> = {
31
21
  [K in keyof T]: T[K];
32
22
  } & {};
23
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
24
+ type __VLS_TypePropsToOption<T> = {
25
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
26
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
27
+ } : {
28
+ type: PropType<T[K]>;
29
+ required: true;
30
+ };
31
+ };
@@ -1,18 +1,22 @@
1
1
  import { Props } from './radio';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
3
  declare function __VLS_template(): {
5
4
  default?(_: {}): any;
6
5
  };
7
- declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
7
  "update:modelValue": (value: string | object) => void;
9
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
8
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
10
9
  "onUpdate:modelValue"?: ((value: string | object) => any) | undefined;
11
10
  }, {}, {}>;
12
11
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
12
  export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
14
18
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
19
+ type __VLS_TypePropsToOption<T> = {
16
20
  [K in keyof T]-?: {} extends Pick<T, K> ? {
17
21
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
18
22
  } : {
@@ -20,8 +24,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
20
24
  required: true;
21
25
  };
22
26
  };
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
@@ -1,5 +1,4 @@
1
1
  import { Size, sizes } from '../helpers';
2
-
3
2
  export interface Props {
4
3
  modelValue: string | number;
5
4
  /**
@@ -1,74 +1,36 @@
1
- import { Props, Options, OptionsArray } from './select';
2
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
1
+ import { Props } from './select';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { Size } from '../helpers';
4
-
5
- declare const _default: DefineComponent<{
6
- modelValue: {
7
- required: true;
8
- type: PropType<Props["modelValue"]>;
9
- };
10
- icon: {
11
- type: PropType<string>;
12
- };
13
- title: {
14
- type: PropType<string>;
15
- };
16
- size: {
17
- type: PropType<Size>;
18
- default: string;
19
- };
20
- name: {
21
- type: PropType<string>;
22
- };
23
- disabled: {
24
- type: PropType<boolean>;
25
- };
26
- isError: {
27
- type: PropType<boolean>;
28
- };
29
- options: {
30
- type: PropType< Options | OptionsArray>;
31
- required: true;
32
- };
33
- addChanger: {
34
- type: PropType<boolean>;
35
- };
36
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
37
- "update:modelValue": (value: string | number) => void;
38
- }, string, PublicProps, Readonly< ExtractPropTypes<{
39
- modelValue: {
40
- required: true;
41
- type: PropType<Props["modelValue"]>;
42
- };
43
- icon: {
44
- type: PropType<string>;
45
- };
46
- title: {
47
- type: PropType<string>;
48
- };
49
- size: {
50
- type: PropType<Size>;
51
- default: string;
52
- };
53
- name: {
54
- type: PropType<string>;
55
- };
56
- disabled: {
57
- type: PropType<boolean>;
58
- };
59
- isError: {
60
- type: PropType<boolean>;
61
- };
62
- options: {
63
- type: PropType< Options | OptionsArray>;
64
- required: true;
65
- };
66
- addChanger: {
67
- type: PropType<boolean>;
68
- };
69
- }>> & {
70
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
4
+ declare let __VLS_typeProps: Props;
5
+ type __VLS_PublicProps = {
6
+ modelValue: Props['modelValue'];
7
+ } & typeof __VLS_typeProps;
8
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
9
+ size: string;
10
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (modelValue: string | number) => void;
12
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
13
+ size: string;
14
+ }>>> & {
15
+ "onUpdate:modelValue"?: ((modelValue: string | number) => any) | undefined;
71
16
  }, {
72
17
  size: Size;
73
18
  }, {}>;
74
19
  export default _default;
20
+ type __VLS_WithDefaults<P, D> = {
21
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
+ default: D[K];
23
+ }> : P[K];
24
+ };
25
+ type __VLS_Prettify<T> = {
26
+ [K in keyof T]: T[K];
27
+ } & {};
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToOption<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
@@ -1,5 +1,4 @@
1
1
  import { Option, Props } from '../select';
2
-
3
2
  declare const optionsMap: Map<Props['modelValue'], Option>;
4
3
  declare const groupOptions: Map<string, string>;
5
4
  declare const optionsArray: Option[];
@@ -1,18 +1,22 @@
1
1
  import { Props } from './switcher';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
3
  declare function __VLS_template(): {
5
4
  default?(_: {}): any;
6
5
  };
7
- declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
7
  "update:modelValue": (value: boolean | string[] | Set<string>) => void;
9
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
8
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
10
9
  "onUpdate:modelValue"?: ((value: boolean | string[] | Set<string>) => any) | undefined;
11
10
  }, {}, {}>;
12
11
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
12
  export default _default;
13
+ type __VLS_WithTemplateSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
14
18
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
19
+ type __VLS_TypePropsToOption<T> = {
16
20
  [K in keyof T]-?: {} extends Pick<T, K> ? {
17
21
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
18
22
  } : {
@@ -20,8 +24,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
20
24
  required: true;
21
25
  };
22
26
  };
23
- type __VLS_WithTemplateSlots<T, S> = T & {
24
- new (): {
25
- $slots: S;
26
- };
27
- };
@@ -1,12 +1,11 @@
1
1
  import { Props } from './textarea';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
3
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
5
4
  rows: number;
6
5
  minHeight: number;
7
6
  }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
7
  "update:modelValue": (value?: string | undefined) => void;
9
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
9
  rows: number;
11
10
  minHeight: number;
12
11
  }>>> & {
@@ -16,15 +15,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
16
15
  minHeight: number;
17
16
  }, {}>;
18
17
  export default _default;
19
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
- type __VLS_TypePropsToRuntimeProps<T> = {
21
- [K in keyof T]-?: {} extends Pick<T, K> ? {
22
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
23
- } : {
24
- type: PropType<T[K]>;
25
- required: true;
26
- };
27
- };
28
18
  type __VLS_WithDefaults<P, D> = {
29
19
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
30
20
  default: D[K];
@@ -33,3 +23,12 @@ type __VLS_WithDefaults<P, D> = {
33
23
  type __VLS_Prettify<T> = {
34
24
  [K in keyof T]: T[K];
35
25
  } & {};
26
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
27
+ type __VLS_TypePropsToOption<T> = {
28
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
29
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
30
+ } : {
31
+ type: PropType<T[K]>;
32
+ required: true;
33
+ };
34
+ };
@@ -1,5 +1,4 @@
1
1
  import { Props as TextareaProps } from '../../forms/textarea/textarea';
2
-
3
2
  export interface Props extends TextareaProps {
4
3
  /**
5
4
  * Поддерживает modelValue и **все другие** props компонента Textarea
@@ -1,7 +1,6 @@
1
1
  import { Props } from './editArea';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
3
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
5
4
  defaultValue: string;
6
5
  cancelText: string;
7
6
  submitText: string;
@@ -11,7 +10,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
11
10
  submit: (value: string) => void;
12
11
  close: () => void;
13
12
  clickOnTitle: () => void;
14
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
13
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
15
14
  defaultValue: string;
16
15
  cancelText: string;
17
16
  submitText: string;
@@ -24,20 +23,11 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
24
23
  }, {
25
24
  closeText: string;
26
25
  expandable: boolean;
27
- defaultValue: string;
28
- cancelText: string;
29
26
  submitText: string;
27
+ cancelText: string;
28
+ defaultValue: string;
30
29
  }, {}>;
31
30
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
31
  type __VLS_WithDefaults<P, D> = {
42
32
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
33
  default: D[K];
@@ -46,3 +36,12 @@ type __VLS_WithDefaults<P, D> = {
46
36
  type __VLS_Prettify<T> = {
47
37
  [K in keyof T]: T[K];
48
38
  } & {};
39
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
+ type __VLS_TypePropsToOption<T> = {
41
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
42
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
43
+ } : {
44
+ type: PropType<T[K]>;
45
+ required: true;
46
+ };
47
+ };
@@ -1,6 +1,5 @@
1
1
  import { Props as InputProps } from '../../forms/input/input';
2
2
  import { Props as ButtonProps } from '../../forms/button/button';
3
-
4
3
  export interface Props {
5
4
  modelValue: string;
6
5
  /**
@@ -1,14 +1,13 @@
1
1
  import { Props } from './editInput';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
+ declare const _default: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
4
  "update:modelValue": (value: string) => void;
6
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
5
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>> & {
7
6
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
7
  }, {}, {}>;
9
8
  export default _default;
10
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
10
+ type __VLS_TypePropsToOption<T> = {
12
11
  [K in keyof T]-?: {} extends Pick<T, K> ? {
13
12
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
14
13
  } : {
@@ -4,7 +4,6 @@ import { default as EditInput } from './editInput/editInput.vue';
4
4
  import { default as RadioGroup } from './radioGroup/radioGroup.vue';
5
5
  import { default as Selector2 } from './selector2/selector2.vue';
6
6
  import { default as Menu } from './menu/menu.vue';
7
-
8
7
  export declare const TopEditArea: typeof EditArea & ComponentCustomProps;
9
8
  export declare const TopEditInput: typeof EditInput & ComponentCustomProps;
10
9
  export declare const TopRadioGroup: typeof RadioGroup & ComponentCustomProps;
@@ -1,5 +1,4 @@
1
1
  import { Props as ButtonProps } from '../../forms/button/button';
2
-
3
2
  export interface Props {
4
3
  /**
5
4
  * Значение активной кнопки, value или href
@@ -1,51 +1,35 @@
1
- import { Item, styling } from './menu';
2
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
-
4
- declare const _default: DefineComponent<{
5
- modelValue: {
6
- required: true;
7
- type: PropType<any>;
8
- };
9
- styling: {
10
- type: PropType<"default" | "bar">;
11
- default: string;
12
- };
13
- items: {
14
- type: PropType<Item[]>;
15
- required: true;
16
- };
17
- isMultiple: {
18
- type: PropType<boolean>;
19
- };
20
- canBeEmptyMultiple: {
21
- type: PropType<boolean>;
22
- };
23
- selectAllItem: {
24
- type: PropType<Item>;
25
- };
26
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
27
- modelValue: {
28
- required: true;
29
- type: PropType<any>;
30
- };
31
- styling: {
32
- type: PropType<"default" | "bar">;
33
- default: string;
34
- };
35
- items: {
36
- type: PropType<Item[]>;
37
- required: true;
38
- };
39
- isMultiple: {
40
- type: PropType<boolean>;
41
- };
42
- canBeEmptyMultiple: {
43
- type: PropType<boolean>;
44
- };
45
- selectAllItem: {
46
- type: PropType<Item>;
47
- };
48
- }>>, {
1
+ import { Props, styling } from './menu';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ declare let __VLS_typeProps: Props;
4
+ type __VLS_PublicProps = {
5
+ modelValue: any;
6
+ } & typeof __VLS_typeProps;
7
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
8
+ styling: string;
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
+ "update:modelValue": (modelValue: any) => void;
11
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
12
+ styling: string;
13
+ }>>> & {
14
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
15
+ }, {
49
16
  styling: styling[keyof styling];
50
17
  }, {}>;
51
18
  export default _default;
19
+ type __VLS_WithDefaults<P, D> = {
20
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
21
+ default: D[K];
22
+ }> : P[K];
23
+ };
24
+ type __VLS_Prettify<T> = {
25
+ [K in keyof T]: T[K];
26
+ } & {};
27
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
+ type __VLS_TypePropsToOption<T> = {
29
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
30
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
31
+ } : {
32
+ type: PropType<T[K]>;
33
+ required: true;
34
+ };
35
+ };
@@ -1,4 +1,3 @@
1
1
  import { Item } from '../menu';
2
-
3
2
  declare const items: Item[];
4
3
  export default items;
@@ -1,5 +1,4 @@
1
1
  import { Size, sizes } from '../../forms/helpers';
2
-
3
2
  export interface Props {
4
3
  modelValue: string;
5
4
  /**
@@ -1,47 +1,36 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
1
+ import { Props } from './radioGroup';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
2
3
  import { Size } from '../../forms/helpers';
3
- import { ItemProps } from './radioGroup';
4
- declare const _default: DefineComponent<{
5
- modelValue: {
6
- required: true;
7
- type: PropType<string>;
8
- };
9
- size: {
10
- type: PropType<Size>;
11
- default: string;
12
- };
13
- isError: {
14
- type: PropType<boolean>;
15
- };
16
- radiosProps: {
17
- type: PropType< ItemProps[]>;
18
- };
19
- showIndicator: {
20
- type: PropType<boolean>;
21
- };
22
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
- "update:modelValue": (value: string) => void;
24
- }, string, PublicProps, Readonly< ExtractPropTypes<{
25
- modelValue: {
26
- required: true;
27
- type: PropType<string>;
28
- };
29
- size: {
30
- type: PropType<Size>;
31
- default: string;
32
- };
33
- isError: {
34
- type: PropType<boolean>;
35
- };
36
- radiosProps: {
37
- type: PropType< ItemProps[]>;
38
- };
39
- showIndicator: {
40
- type: PropType<boolean>;
41
- };
42
- }>> & {
43
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
4
+ declare let __VLS_typeProps: Props;
5
+ type __VLS_PublicProps = {
6
+ modelValue: string;
7
+ } & typeof __VLS_typeProps;
8
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
9
+ size: string;
10
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (modelValue: string) => void;
12
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
13
+ size: string;
14
+ }>>> & {
15
+ "onUpdate:modelValue"?: ((modelValue: string) => any) | undefined;
44
16
  }, {
45
17
  size: Size;
46
18
  }, {}>;
47
19
  export default _default;
20
+ type __VLS_WithDefaults<P, D> = {
21
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
+ default: D[K];
23
+ }> : P[K];
24
+ };
25
+ type __VLS_Prettify<T> = {
26
+ [K in keyof T]: T[K];
27
+ } & {};
28
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
+ type __VLS_TypePropsToOption<T> = {
30
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
31
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
32
+ } : {
33
+ type: PropType<T[K]>;
34
+ required: true;
35
+ };
36
+ };
@@ -1,6 +1,5 @@
1
1
  import { Ref } from 'vue';
2
2
  import { Item, Props } from './selector2';
3
-
4
3
  export declare const useAPI: (apiRequest: Props["apiRequest"], minLength: number, useCache: Props["useCache"]) => {
5
4
  items: Ref<Item[]>;
6
5
  isLoading: Ref<boolean>;
@@ -1,14 +1,13 @@
1
1
  import { PropsItemMulti } from './selector2';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<PropsItemMulti>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3
+ declare const _default: DefineComponent<__VLS_TypePropsToOption<PropsItemMulti>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
4
  delete: (id: number | null) => void;
6
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PropsItemMulti>>> & {
5
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<PropsItemMulti>>> & {
7
6
  onDelete?: ((id: number | null) => any) | undefined;
8
7
  }, {}, {}>;
9
8
  export default _default;
10
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
10
+ type __VLS_TypePropsToOption<T> = {
12
11
  [K in keyof T]-?: {} extends Pick<T, K> ? {
13
12
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
14
13
  } : {
@@ -1,5 +1,4 @@
1
1
  import { Size, sizes } from '../../forms/helpers';
2
-
3
2
  export interface Props {
4
3
  /**
5
4
  * Выбранный элемент