@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,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
  * Выбранный элемент
@@ -1,123 +1,26 @@
1
1
  import { Item, Props, Slots } from './selector2';
2
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
3
3
  import { Size } from '../../forms/helpers';
4
-
4
+ declare let __VLS_typeProps: Props;
5
+ type __VLS_PublicProps = {
6
+ modelValue?: Props['modelValue'];
7
+ } & typeof __VLS_typeProps;
5
8
  declare function __VLS_template(): Readonly<Slots> & Slots;
6
- declare const __VLS_component: DefineComponent<{
7
- modelValue: PropType<Props["modelValue"]>;
8
- size: {
9
- type: PropType<Size>;
10
- default: string;
11
- };
12
- disabled: {
13
- type: PropType<boolean>;
14
- };
15
- isError: {
16
- type: PropType<boolean>;
17
- };
18
- placeholder: {
19
- type: PropType<string>;
20
- };
21
- addChanger: {
22
- type: PropType<boolean>;
23
- };
24
- items: {
25
- type: PropType<Item[]>;
26
- default: () => Array<Item>;
27
- };
28
- minLength: {
29
- type: PropType<number>;
30
- default: number;
31
- };
32
- apiRequest: {
33
- type: PropType<{
34
- [propName: string]: any;
35
- params: {
36
- limit?: number;
37
- offset?: number;
38
- search?: string;
39
- };
40
- call: Function;
41
- cache: Map<string, {
42
- result: Array<Item>;
43
- nextOffset?: number;
44
- }>;
45
- }>;
46
- };
47
- useCache: {
48
- type: PropType<boolean>;
49
- };
50
- multiselect: {
51
- type: PropType<boolean>;
52
- };
53
- appendSearchToResult: {
54
- type: PropType<boolean>;
55
- };
56
- appendAllValue: {
57
- type: PropType<boolean>;
58
- };
59
- showSelectedInInput: {
60
- type: PropType<boolean>;
61
- default: boolean;
62
- };
63
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
64
- modelValue: PropType<Props["modelValue"]>;
65
- size: {
66
- type: PropType<Size>;
67
- default: string;
68
- };
69
- disabled: {
70
- type: PropType<boolean>;
71
- };
72
- isError: {
73
- type: PropType<boolean>;
74
- };
75
- placeholder: {
76
- type: PropType<string>;
77
- };
78
- addChanger: {
79
- type: PropType<boolean>;
80
- };
81
- items: {
82
- type: PropType<Item[]>;
83
- default: () => Array<Item>;
84
- };
85
- minLength: {
86
- type: PropType<number>;
87
- default: number;
88
- };
89
- apiRequest: {
90
- type: PropType<{
91
- [propName: string]: any;
92
- params: {
93
- limit?: number;
94
- offset?: number;
95
- search?: string;
96
- };
97
- call: Function;
98
- cache: Map<string, {
99
- result: Array<Item>;
100
- nextOffset?: number;
101
- }>;
102
- }>;
103
- };
104
- useCache: {
105
- type: PropType<boolean>;
106
- };
107
- multiselect: {
108
- type: PropType<boolean>;
109
- };
110
- appendSearchToResult: {
111
- type: PropType<boolean>;
112
- };
113
- appendAllValue: {
114
- type: PropType<boolean>;
115
- };
116
- showSelectedInInput: {
117
- type: PropType<boolean>;
118
- default: boolean;
119
- };
120
- }>>, {
9
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
10
+ items: () => Array<Item>;
11
+ size: string;
12
+ minLength: number;
13
+ showSelectedInInput: boolean;
14
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15
+ "update:modelValue": (modelValue: Item | Item[]) => void;
16
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
17
+ items: () => Array<Item>;
18
+ size: string;
19
+ minLength: number;
20
+ showSelectedInInput: boolean;
21
+ }>>> & {
22
+ "onUpdate:modelValue"?: ((modelValue: Item | Item[]) => any) | undefined;
23
+ }, {
121
24
  size: Size;
122
25
  items: Item[];
123
26
  minLength: number;
@@ -125,8 +28,25 @@ declare const __VLS_component: DefineComponent<{
125
28
  }, {}>;
126
29
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
127
30
  export default _default;
31
+ type __VLS_WithDefaults<P, D> = {
32
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
+ default: D[K];
34
+ }> : P[K];
35
+ };
36
+ type __VLS_Prettify<T> = {
37
+ [K in keyof T]: T[K];
38
+ } & {};
128
39
  type __VLS_WithTemplateSlots<T, S> = T & {
129
40
  new (): {
130
41
  $slots: S;
131
42
  };
132
43
  };
44
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
45
+ type __VLS_TypePropsToOption<T> = {
46
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
47
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
48
+ } : {
49
+ type: PropType<T[K]>;
50
+ required: true;
51
+ };
52
+ };
@@ -1,5 +1,4 @@
1
1
  import { default as Component } from '../../component';
2
-
3
2
  export interface PopupOptions {
4
3
  popup?: string;
5
4
  p?: number;
@@ -1,5 +1,4 @@
1
1
  import { Popup, PopupOptions } from './popup';
2
-
3
2
  declare let decoratorBeforeOpen: (arg0: Popup) => void;
4
3
  declare let decoratorAfterOpen: (arg0: Popup) => void;
5
4
  declare let decoratorIsIgnoreOuterClick: (arg0: Event) => boolean;
@@ -1,13 +1,12 @@
1
1
  import { ListItemProps } from './popup';
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_WithDefaults<__VLS_TypePropsToRuntimeProps<ListItemProps>, {
6
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<ListItemProps>, {
8
7
  type: string;
9
8
  closeByClick: boolean;
10
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ListItemProps>, {
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ListItemProps>, {
11
10
  type: string;
12
11
  closeByClick: boolean;
13
12
  }>>>, {
@@ -16,15 +15,6 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
16
15
  }, {}>;
17
16
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
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];
@@ -38,3 +28,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
38
28
  $slots: S;
39
29
  };
40
30
  };
31
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
32
+ type __VLS_TypePropsToOption<T> = {
33
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
34
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
35
+ } : {
36
+ type: PropType<T[K]>;
37
+ required: true;
38
+ };
39
+ };
@@ -1,14 +1,13 @@
1
1
  import { OpenerProps, Pos, PosBy } from './popup';
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_WithDefaults<__VLS_TypePropsToRuntimeProps<OpenerProps>, {
6
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<OpenerProps>, {
8
7
  pos: string;
9
8
  notch: boolean;
10
9
  posBy: string;
11
- }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<OpenerProps>, {
10
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<OpenerProps>, {
12
11
  pos: string;
13
12
  notch: boolean;
14
13
  posBy: string;
@@ -19,15 +18,6 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
19
18
  }, {}>;
20
19
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
21
20
  export default _default;
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToRuntimeProps<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
- };
31
21
  type __VLS_WithDefaults<P, D> = {
32
22
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
33
23
  default: D[K];
@@ -41,3 +31,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
41
31
  $slots: S;
42
32
  };
43
33
  };
34
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
+ type __VLS_TypePropsToOption<T> = {
36
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
37
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
38
+ } : {
39
+ type: PropType<T[K]>;
40
+ required: true;
41
+ };
42
+ };
@@ -1,7 +1,6 @@
1
1
  import { Props, Pos, PosBy } from './popup';
2
2
  import { default as PopupClass } from '../lib/popup';
3
3
  import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
4
-
5
4
  declare function __VLS_template(): {
6
5
  opener?(_: {}): any;
7
6
  header?(_: {}): any;
@@ -10,7 +9,7 @@ declare function __VLS_template(): {
10
9
  contentList?(_: {}): any;
11
10
  footer?(_: {}): any;
12
11
  };
13
- declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
12
+ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
14
13
  id: string;
15
14
  pos: string;
16
15
  notch: boolean;
@@ -21,7 +20,7 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
21
20
  open: () => void;
22
21
  close: () => void;
23
22
  scrollContentList: (value: Event) => void;
24
- }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Props>, {
23
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
25
24
  id: string;
26
25
  pos: string;
27
26
  notch: boolean;
@@ -38,15 +37,6 @@ declare const __VLS_component: DefineComponent<__VLS_WithDefaults<__VLS_TypeProp
38
37
  }, {}>;
39
38
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
40
39
  export default _default;
41
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
42
- type __VLS_TypePropsToRuntimeProps<T> = {
43
- [K in keyof T]-?: {} extends Pick<T, K> ? {
44
- type: PropType<__VLS_NonUndefinedable<T[K]>>;
45
- } : {
46
- type: PropType<T[K]>;
47
- required: true;
48
- };
49
- };
50
40
  type __VLS_WithDefaults<P, D> = {
51
41
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
52
42
  default: D[K];
@@ -60,3 +50,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
60
50
  $slots: S;
61
51
  };
62
52
  };
53
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
+ type __VLS_TypePropsToOption<T> = {
55
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
56
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
57
+ } : {
58
+ type: PropType<T[K]>;
59
+ required: true;
60
+ };
61
+ };
@@ -1,85 +1,35 @@
1
- import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
2
- import { Size } from '../../forms/helpers';
3
- import { CaptionType } from '../../forms/input/input';
4
- declare const _default: DefineComponent<{
5
- modelValue: PropType<any>;
6
- icon: {
7
- type: PropType<string>;
8
- };
9
- icon2: {
10
- type: PropType<string>;
11
- };
12
- title: {
13
- type: PropType<string>;
14
- };
15
- size: {
16
- type: PropType<Size>;
17
- };
18
- name: {
19
- type: PropType<string>;
20
- };
21
- disabled: {
22
- type: PropType<boolean>;
23
- };
24
- isError: {
25
- type: PropType<boolean>;
26
- };
27
- readonly: {
28
- type: PropType<boolean>;
29
- };
30
- modificator: {
31
- type: PropType<string>;
32
- };
33
- isLoading: {
34
- type: PropType<boolean>;
35
- };
36
- addCleaner: {
37
- type: PropType<boolean>;
38
- default: boolean;
39
- };
40
- captionType: {
41
- type: PropType<CaptionType>;
42
- };
43
- }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
44
- modelValue: PropType<any>;
45
- icon: {
46
- type: PropType<string>;
47
- };
48
- icon2: {
49
- type: PropType<string>;
50
- };
51
- title: {
52
- type: PropType<string>;
53
- };
54
- size: {
55
- type: PropType<Size>;
56
- };
57
- name: {
58
- type: PropType<string>;
59
- };
60
- disabled: {
61
- type: PropType<boolean>;
62
- };
63
- isError: {
64
- type: PropType<boolean>;
65
- };
66
- readonly: {
67
- type: PropType<boolean>;
68
- };
69
- modificator: {
70
- type: PropType<string>;
71
- };
72
- isLoading: {
73
- type: PropType<boolean>;
74
- };
75
- addCleaner: {
76
- type: PropType<boolean>;
77
- default: boolean;
78
- };
79
- captionType: {
80
- type: PropType<CaptionType>;
81
- };
82
- }>>, {
1
+ import { Props } from '../../forms/input/input';
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
+ addCleaner: boolean;
9
+ }>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
10
+ "update:modelValue": (modelValue: any) => void;
11
+ }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_PublicProps>, {
12
+ addCleaner: boolean;
13
+ }>>> & {
14
+ "onUpdate:modelValue"?: ((modelValue: any) => any) | undefined;
15
+ }, {
83
16
  addCleaner: boolean;
84
17
  }, {}>;
85
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
+ };
@@ -3,7 +3,6 @@ import { default as Popup } from './popup/popup.vue';
3
3
  import { default as PopupOpener } from './popup/opener.vue';
4
4
  import { default as PopupListItem } from './popup/listItem.vue';
5
5
  import { default as PopupWidgetInput } from './popup/widgetInput.vue';
6
-
7
6
  export declare const TopPopup: typeof Popup & ComponentCustomProps;
8
7
  export declare const TopPopupOpener: typeof PopupOpener & ComponentCustomProps;
9
8
  export declare const TopPopupListItem: typeof PopupListItem & ComponentCustomProps;