@topvisor/ui 0.9.36-colors-1 → 0.9.36-colors-2

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 (101) hide show
  1. package/.chunks/{popup-rXUMJeua.es.js → popup-BWh8DRIt.es.js} +2 -2
  2. package/.chunks/popup-BWh8DRIt.es.js.map +1 -0
  3. package/.chunks/{popup-COBSXWy_.amd.js → popup-CKfepE91.amd.js} +2 -2
  4. package/.chunks/popup-CKfepE91.amd.js.map +1 -0
  5. package/assets/dark.css +1 -1
  6. package/assets/light.css +1 -1
  7. package/common/common.d.ts +1 -1
  8. package/components/forms/avatar/avatar.vue.d.ts +12 -12
  9. package/components/forms/button/button.d.ts +0 -1
  10. package/components/forms/button/button.vue.d.ts +11 -12
  11. package/components/forms/checkbox/checkbox.vue.d.ts +19 -43
  12. package/components/forms/controlLabel/controlLabel.vue.d.ts +7 -8
  13. package/components/forms/forms.d.ts +0 -1
  14. package/components/forms/hint/hint.vue.d.ts +2 -3
  15. package/components/forms/input/input.d.ts +0 -1
  16. package/components/forms/input/input.vue.d.ts +11 -12
  17. package/components/forms/inputDate/inputDate.d.ts +0 -1
  18. package/components/forms/inputDate/inputDate.vue.d.ts +11 -12
  19. package/components/forms/radio/radio.vue.d.ts +8 -9
  20. package/components/forms/select/select.d.ts +0 -1
  21. package/components/forms/select/select.vue.d.ts +31 -69
  22. package/components/forms/select/stories/exampleOptions.d.ts +0 -1
  23. package/components/forms/switcher/switcher.vue.d.ts +8 -9
  24. package/components/forms/textarea/textarea.vue.d.ts +11 -12
  25. package/components/formsExt/editArea/editArea.d.ts +0 -1
  26. package/components/formsExt/editArea/editArea.vue.d.ts +11 -12
  27. package/components/formsExt/editInput/editInput.d.ts +0 -1
  28. package/components/formsExt/editInput/editInput.vue.d.ts +3 -4
  29. package/components/formsExt/formsExt.d.ts +0 -1
  30. package/components/formsExt/menu/menu.d.ts +0 -1
  31. package/components/formsExt/menu/menu.vue.d.ts +32 -48
  32. package/components/formsExt/menu/stories/items.d.ts +0 -1
  33. package/components/formsExt/radioGroup/radioGroup.d.ts +0 -1
  34. package/components/formsExt/radioGroup/radioGroup.vue.d.ts +31 -42
  35. package/components/formsExt/selector2/api.d.ts +0 -1
  36. package/components/formsExt/selector2/itemMulti.vue.d.ts +3 -4
  37. package/components/formsExt/selector2/selector2.d.ts +0 -1
  38. package/components/formsExt/selector2/selector2.vue.d.ts +37 -117
  39. package/components/popup/lib/popup.d.ts +0 -1
  40. package/components/popup/lib/worker.d.ts +0 -1
  41. package/components/popup/popup/listItem.vue.d.ts +11 -12
  42. package/components/popup/popup/opener.vue.d.ts +11 -12
  43. package/components/popup/popup/popup.vue.d.ts +11 -12
  44. package/components/popup/popup/widgetInput.vue.d.ts +32 -82
  45. package/components/popup/popup.d.ts +0 -1
  46. package/components/project/project.d.ts +0 -1
  47. package/components/project/selectorCompetitors/composables.d.ts +0 -1
  48. package/components/project/selectorCompetitors/selectorCompetitors.d.ts +0 -1
  49. package/components/project/selectorCompetitors/selectorCompetitors.vue.d.ts +32 -24
  50. package/components/tabs/tabs/content.vue.d.ts +7 -8
  51. package/components/tabs/tabs/tab.vue.d.ts +7 -8
  52. package/components/tabs/tabs/tabs.vue.d.ts +7 -8
  53. package/components/tabs/tabs.d.ts +0 -1
  54. package/components/tabsView/tabsView/menu.vue.d.ts +22 -14
  55. package/components/tabsView/tabsView/menuItem.vue.d.ts +12 -12
  56. package/components/tabsView/tabsView/menuTitle.vue.d.ts +8 -8
  57. package/components/tabsView/tabsView/store.d.ts +1 -2
  58. package/components/tabsView/tabsView/tabsView.d.ts +0 -1
  59. package/components/tabsView/tabsView/tabsView.vue.d.ts +34 -34
  60. package/components/tabsView/tabsView.d.ts +0 -1
  61. package/core/app.d.ts +0 -1
  62. package/core/core.d.ts +2 -1
  63. package/core/directives/focus.d.ts +0 -1
  64. package/core/directives/sticky.d.ts +0 -1
  65. package/core/directives/swimUp.d.ts +0 -1
  66. package/core/directives/tooltip.d.ts +0 -1
  67. package/core/plugins/core.d.ts +0 -1
  68. package/core/plugins/i18n.d.ts +0 -1
  69. package/core/plugins/piniaTPA.d.ts +0 -1
  70. package/core/utils/price.d.ts +0 -1
  71. package/core/utils/store/localStorage.d.ts +0 -1
  72. package/core/utils/store/plugin.d.ts +0 -1
  73. package/core/utils/store/store.d.ts +0 -1
  74. package/forms/forms.d.ts +1 -0
  75. package/forms/helpers.d.ts +1 -0
  76. package/formsExt/formsExt.d.ts +1 -0
  77. package/package.json +1 -1
  78. package/popup/popup.d.ts +1 -0
  79. package/popup/worker.amd.js +1 -1
  80. package/popup/worker.d.ts +3 -0
  81. package/popup/worker.js +1 -1
  82. package/project/project.d.ts +1 -0
  83. package/tabs/tabs.d.ts +1 -0
  84. package/tabsView/tabsView.d.ts +1 -0
  85. package/utils/check.d.ts +1 -0
  86. package/utils/clipboard.d.ts +1 -0
  87. package/utils/date.d.ts +1 -0
  88. package/utils/device.d.ts +1 -0
  89. package/utils/dom.d.ts +3 -0
  90. package/utils/image.d.ts +1 -0
  91. package/utils/keyboard.d.ts +1 -0
  92. package/utils/number.d.ts +1 -0
  93. package/utils/price.d.ts +1 -0
  94. package/utils/route.d.ts +1 -0
  95. package/utils/scroll.d.ts +1 -0
  96. package/utils/store.d.ts +1 -0
  97. package/utils/string.d.ts +1 -0
  98. package/utils/system.d.ts +1 -0
  99. package/utils/url.d.ts +1 -0
  100. package/.chunks/popup-COBSXWy_.amd.js.map +0 -1
  101. package/.chunks/popup-rXUMJeua.es.js.map +0 -1
@@ -1,13 +1,12 @@
1
1
  import { Props, Size } from './avatar';
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
  size: number;
6
5
  i18n: () => {
7
6
  Online: string;
8
7
  LastSeen: string;
9
8
  };
10
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
11
10
  size: number;
12
11
  i18n: () => {
13
12
  Online: string;
@@ -21,15 +20,7 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
21
20
  };
22
21
  }, {}>;
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
- };
23
+
33
24
  type __VLS_WithDefaults<P, D> = {
34
25
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
35
26
  default: D[K];
@@ -38,3 +29,12 @@ type __VLS_WithDefaults<P, D> = {
38
29
  type __VLS_Prettify<T> = {
39
30
  [K in keyof T]: T[K];
40
31
  } & {};
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToOption<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
+ };
@@ -1,5 +1,4 @@
1
1
  import { Size, sizes } from '../helpers';
2
-
3
2
  /**
4
3
  * Определение параметров
5
4
  */
@@ -1,16 +1,15 @@
1
1
  import { Props, Color, Style } from './button';
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
  html?(_: {}): any;
8
7
  };
9
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
8
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
10
9
  color: string;
11
10
  styling: string;
12
11
  size: string;
13
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
13
  color: string;
15
14
  styling: string;
16
15
  size: string;
@@ -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,50 +1,17 @@
1
1
  import { Props } from './checkbox';
2
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
3
-
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
+ declare let __VLS_typeProps: Props;
4
+ type __VLS_PublicProps = {
5
+ modelValue?: Props['modelValue'];
6
+ } & typeof __VLS_typeProps;
4
7
  declare function __VLS_template(): {
5
8
  default?(_: {}): any;
6
9
  };
7
- declare const __VLS_component: DefineComponent<{
8
- modelValue: PropType<Props["modelValue"]>;
9
- name: {
10
- type: PropType<string>;
11
- };
12
- value: {
13
- type: PropType<string>;
14
- };
15
- description: {
16
- type: PropType<string>;
17
- };
18
- disabled: {
19
- type: PropType<boolean>;
20
- };
21
- indeterminate: {
22
- type: PropType<boolean>;
23
- };
24
- isError: {
25
- type: PropType<boolean>;
26
- };
27
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
28
- modelValue: PropType<Props["modelValue"]>;
29
- name: {
30
- type: PropType<string>;
31
- };
32
- value: {
33
- type: PropType<string>;
34
- };
35
- description: {
36
- type: PropType<string>;
37
- };
38
- disabled: {
39
- type: PropType<boolean>;
40
- };
41
- indeterminate: {
42
- type: PropType<boolean>;
43
- };
44
- isError: {
45
- type: PropType<boolean>;
46
- };
47
- }>>, {}, {}>;
10
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<__VLS_PublicProps>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11
+ "update:modelValue": (modelValue: boolean | string[] | Set<string> | undefined) => void;
12
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<__VLS_PublicProps>>> & {
13
+ "onUpdate:modelValue"?: ((modelValue: boolean | string[] | Set<string> | undefined) => any) | undefined;
14
+ }, {}, {}>;
48
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
49
16
  export default _default;
50
17
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -52,3 +19,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
52
19
  $slots: S;
53
20
  };
54
21
  };
22
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
+ type __VLS_TypePropsToOption<T> = {
24
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
25
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
26
+ } : {
27
+ type: PropType<T[K]>;
28
+ required: true;
29
+ };
30
+ };
@@ -1,14 +1,18 @@
1
1
  import { Props } from './controlLabel';
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, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
6
+ declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
8
7
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
9
8
  export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
10
14
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
11
- type __VLS_TypePropsToRuntimeProps<T> = {
15
+ type __VLS_TypePropsToOption<T> = {
12
16
  [K in keyof T]-?: {} extends Pick<T, K> ? {
13
17
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
14
18
  } : {
@@ -16,8 +20,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
16
20
  required: true;
17
21
  };
18
22
  };
19
- type __VLS_WithTemplateSlots<T, S> = T & {
20
- new (): {
21
- $slots: S;
22
- };
23
- };
@@ -12,7 +12,6 @@ import { default as Switcher } from './switcher/switcher.vue';
12
12
  import { default as Textarea } from './textarea/textarea.vue';
13
13
  import { default as Select } from './select/select.vue';
14
14
  import { default as Loadbar } from './loadbar/loadbar.vue';
15
-
16
15
  export declare const TopAvatar: typeof Avatar & ComponentCustomProps;
17
16
  export declare const TopButton: typeof Button & ComponentCustomProps;
18
17
  export declare const TopCheckbox: typeof Checkbox & ComponentCustomProps;
@@ -1,10 +1,9 @@
1
1
  import { Props } from './hint';
2
2
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
-
4
- declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>>, {}, {}>;
3
+ declare const _default: DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
5
4
  export default _default;
6
5
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
7
- type __VLS_TypePropsToRuntimeProps<T> = {
6
+ type __VLS_TypePropsToOption<T> = {
8
7
  [K in keyof T]-?: {} extends Pick<T, K> ? {
9
8
  type: PropType<__VLS_NonUndefinedable<T[K]>>;
10
9
  } : {
@@ -1,5 +1,4 @@
1
1
  import { Size, sizes } from '../helpers';
2
-
3
2
  export interface Props {
4
3
  modelValue: string;
5
4
  name?: string;
@@ -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;
@@ -29,15 +28,6 @@ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRunt
29
28
  submitText: 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;