@codemonster-ru/vueforge 0.79.0 → 0.80.0

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.
@@ -0,0 +1,260 @@
1
+ type ButtonSeverity = 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger';
2
+ interface Props {
3
+ modelValue?: boolean;
4
+ title?: string;
5
+ message?: string;
6
+ confirmLabel?: string;
7
+ cancelLabel?: string;
8
+ confirmSeverity?: ButtonSeverity;
9
+ loading?: boolean;
10
+ closeOnConfirm?: boolean;
11
+ closeOnOverlay?: boolean;
12
+ closeOnEsc?: boolean;
13
+ showClose?: boolean;
14
+ lockScroll?: boolean;
15
+ size?: 'sm' | 'md' | 'lg';
16
+ }
17
+ declare function __VLS_template(): {
18
+ attrs: Partial<{}>;
19
+ slots: {
20
+ default?(_: {}): any;
21
+ actions?(_: {
22
+ confirm: () => void;
23
+ cancel: () => void;
24
+ }): any;
25
+ };
26
+ refs: {
27
+ modal: ({
28
+ $: import('vue').ComponentInternalInstance;
29
+ $data: {};
30
+ $props: {
31
+ readonly modelValue?: boolean | undefined;
32
+ readonly title?: string | undefined;
33
+ readonly closeOnOverlay?: boolean | undefined;
34
+ readonly closeOnEsc?: boolean | undefined;
35
+ readonly showClose?: boolean | undefined;
36
+ readonly lockScroll?: boolean | undefined;
37
+ readonly size?: "sm" | "md" | "lg" | undefined;
38
+ readonly onClose?: ((...args: any[]) => any) | undefined;
39
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
40
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
41
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
42
+ $attrs: {
43
+ [x: string]: unknown;
44
+ };
45
+ $refs: {
46
+ [x: string]: unknown;
47
+ } & {
48
+ panel: HTMLDivElement;
49
+ };
50
+ $slots: Readonly<{
51
+ [name: string]: import('vue').Slot<any> | undefined;
52
+ }>;
53
+ $root: import('vue').ComponentPublicInstance | null;
54
+ $parent: import('vue').ComponentPublicInstance | null;
55
+ $host: Element | null;
56
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
57
+ $el: any;
58
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./modal.vue').Props> & Readonly<{
59
+ onClose?: ((...args: any[]) => any) | undefined;
60
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
61
+ onOpen?: ((...args: any[]) => any) | undefined;
62
+ }>, {
63
+ open: () => void;
64
+ close: () => void;
65
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
66
+ close: (...args: any[]) => void;
67
+ "update:modelValue": (...args: any[]) => void;
68
+ open: (...args: any[]) => void;
69
+ }, string, {
70
+ title: string;
71
+ size: "sm" | "md" | "lg";
72
+ modelValue: boolean;
73
+ closeOnOverlay: boolean;
74
+ closeOnEsc: boolean;
75
+ showClose: boolean;
76
+ lockScroll: boolean;
77
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
78
+ beforeCreate?: (() => void) | (() => void)[];
79
+ created?: (() => void) | (() => void)[];
80
+ beforeMount?: (() => void) | (() => void)[];
81
+ mounted?: (() => void) | (() => void)[];
82
+ beforeUpdate?: (() => void) | (() => void)[];
83
+ updated?: (() => void) | (() => void)[];
84
+ activated?: (() => void) | (() => void)[];
85
+ deactivated?: (() => void) | (() => void)[];
86
+ beforeDestroy?: (() => void) | (() => void)[];
87
+ beforeUnmount?: (() => void) | (() => void)[];
88
+ destroyed?: (() => void) | (() => void)[];
89
+ unmounted?: (() => void) | (() => void)[];
90
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
91
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
92
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
93
+ };
94
+ $forceUpdate: () => void;
95
+ $nextTick: typeof import('vue').nextTick;
96
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
97
+ } & Readonly<{
98
+ title: string;
99
+ size: "sm" | "md" | "lg";
100
+ modelValue: boolean;
101
+ closeOnOverlay: boolean;
102
+ closeOnEsc: boolean;
103
+ showClose: boolean;
104
+ lockScroll: boolean;
105
+ }> & Omit<Readonly<import('./modal.vue').Props> & Readonly<{
106
+ onClose?: ((...args: any[]) => any) | undefined;
107
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
108
+ onOpen?: ((...args: any[]) => any) | undefined;
109
+ }>, "close" | "open" | ("title" | "size" | "modelValue" | "closeOnOverlay" | "closeOnEsc" | "showClose" | "lockScroll")> & import('vue').ShallowUnwrapRef<{
110
+ open: () => void;
111
+ close: () => void;
112
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
113
+ $slots: {
114
+ header?(_: {}): any;
115
+ close?(_: {
116
+ close: () => void;
117
+ }): any;
118
+ body?(_: {}): any;
119
+ default?(_: {}): any;
120
+ footer?(_: {}): any;
121
+ };
122
+ }) | null;
123
+ };
124
+ rootEl: any;
125
+ };
126
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
127
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
128
+ open: () => void | undefined;
129
+ close: () => void;
130
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
131
+ cancel: (...args: any[]) => void;
132
+ close: (...args: any[]) => void;
133
+ "update:modelValue": (...args: any[]) => void;
134
+ open: (...args: any[]) => void;
135
+ confirm: (...args: any[]) => void;
136
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
137
+ onCancel?: ((...args: any[]) => any) | undefined;
138
+ onClose?: ((...args: any[]) => any) | undefined;
139
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
140
+ onOpen?: ((...args: any[]) => any) | undefined;
141
+ onConfirm?: ((...args: any[]) => any) | undefined;
142
+ }>, {
143
+ title: string;
144
+ size: "sm" | "md" | "lg";
145
+ loading: boolean;
146
+ modelValue: boolean;
147
+ cancelLabel: string;
148
+ message: string;
149
+ closeOnOverlay: boolean;
150
+ closeOnEsc: boolean;
151
+ showClose: boolean;
152
+ lockScroll: boolean;
153
+ confirmLabel: string;
154
+ confirmSeverity: ButtonSeverity;
155
+ closeOnConfirm: boolean;
156
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
157
+ modal: ({
158
+ $: import('vue').ComponentInternalInstance;
159
+ $data: {};
160
+ $props: {
161
+ readonly modelValue?: boolean | undefined;
162
+ readonly title?: string | undefined;
163
+ readonly closeOnOverlay?: boolean | undefined;
164
+ readonly closeOnEsc?: boolean | undefined;
165
+ readonly showClose?: boolean | undefined;
166
+ readonly lockScroll?: boolean | undefined;
167
+ readonly size?: "sm" | "md" | "lg" | undefined;
168
+ readonly onClose?: ((...args: any[]) => any) | undefined;
169
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
170
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
171
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
172
+ $attrs: {
173
+ [x: string]: unknown;
174
+ };
175
+ $refs: {
176
+ [x: string]: unknown;
177
+ } & {
178
+ panel: HTMLDivElement;
179
+ };
180
+ $slots: Readonly<{
181
+ [name: string]: import('vue').Slot<any> | undefined;
182
+ }>;
183
+ $root: import('vue').ComponentPublicInstance | null;
184
+ $parent: import('vue').ComponentPublicInstance | null;
185
+ $host: Element | null;
186
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
187
+ $el: any;
188
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./modal.vue').Props> & Readonly<{
189
+ onClose?: ((...args: any[]) => any) | undefined;
190
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
191
+ onOpen?: ((...args: any[]) => any) | undefined;
192
+ }>, {
193
+ open: () => void;
194
+ close: () => void;
195
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
196
+ close: (...args: any[]) => void;
197
+ "update:modelValue": (...args: any[]) => void;
198
+ open: (...args: any[]) => void;
199
+ }, string, {
200
+ title: string;
201
+ size: "sm" | "md" | "lg";
202
+ modelValue: boolean;
203
+ closeOnOverlay: boolean;
204
+ closeOnEsc: boolean;
205
+ showClose: boolean;
206
+ lockScroll: boolean;
207
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
208
+ beforeCreate?: (() => void) | (() => void)[];
209
+ created?: (() => void) | (() => void)[];
210
+ beforeMount?: (() => void) | (() => void)[];
211
+ mounted?: (() => void) | (() => void)[];
212
+ beforeUpdate?: (() => void) | (() => void)[];
213
+ updated?: (() => void) | (() => void)[];
214
+ activated?: (() => void) | (() => void)[];
215
+ deactivated?: (() => void) | (() => void)[];
216
+ beforeDestroy?: (() => void) | (() => void)[];
217
+ beforeUnmount?: (() => void) | (() => void)[];
218
+ destroyed?: (() => void) | (() => void)[];
219
+ unmounted?: (() => void) | (() => void)[];
220
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
221
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
222
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
223
+ };
224
+ $forceUpdate: () => void;
225
+ $nextTick: typeof import('vue').nextTick;
226
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
227
+ } & Readonly<{
228
+ title: string;
229
+ size: "sm" | "md" | "lg";
230
+ modelValue: boolean;
231
+ closeOnOverlay: boolean;
232
+ closeOnEsc: boolean;
233
+ showClose: boolean;
234
+ lockScroll: boolean;
235
+ }> & Omit<Readonly<import('./modal.vue').Props> & Readonly<{
236
+ onClose?: ((...args: any[]) => any) | undefined;
237
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
238
+ onOpen?: ((...args: any[]) => any) | undefined;
239
+ }>, "close" | "open" | ("title" | "size" | "modelValue" | "closeOnOverlay" | "closeOnEsc" | "showClose" | "lockScroll")> & import('vue').ShallowUnwrapRef<{
240
+ open: () => void;
241
+ close: () => void;
242
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
243
+ $slots: {
244
+ header?(_: {}): any;
245
+ close?(_: {
246
+ close: () => void;
247
+ }): any;
248
+ body?(_: {}): any;
249
+ default?(_: {}): any;
250
+ footer?(_: {}): any;
251
+ };
252
+ }) | null;
253
+ }, any>;
254
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
255
+ export default _default;
256
+ type __VLS_WithTemplateSlots<T, S> = T & {
257
+ new (): {
258
+ $slots: S;
259
+ };
260
+ };
@@ -1,5 +1,5 @@
1
1
  type Placement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'bottom' | 'top';
2
- interface Item {
2
+ export interface Item {
3
3
  to?: string;
4
4
  href?: string;
5
5
  url?: string;
@@ -10,7 +10,7 @@ interface Item {
10
10
  separator?: boolean;
11
11
  command?: () => void;
12
12
  }
13
- interface Props {
13
+ export interface Props {
14
14
  modelValue?: boolean;
15
15
  items?: Array<Item>;
16
16
  placement?: Placement;
@@ -1,4 +1,4 @@
1
- interface Props {
1
+ export interface Props {
2
2
  modelValue?: boolean;
3
3
  title?: string;
4
4
  closeOnOverlay?: boolean;
@@ -0,0 +1,290 @@
1
+ type Placement = 'bottom-start' | 'bottom-end' | 'top-start' | 'top-end' | 'bottom' | 'top';
2
+ type ButtonType = 'button' | 'submit' | 'reset';
3
+ type Size = 'small' | 'normal' | 'large';
4
+ type Variant = 'filled' | 'outlined' | 'text';
5
+ interface Item {
6
+ to?: string;
7
+ href?: string;
8
+ url?: string;
9
+ icon?: string;
10
+ label?: string;
11
+ active?: boolean;
12
+ disabled?: boolean;
13
+ separator?: boolean;
14
+ command?: () => void;
15
+ }
16
+ interface Props {
17
+ modelValue?: boolean;
18
+ items?: Array<Item>;
19
+ label?: string;
20
+ icon?: string;
21
+ type?: ButtonType;
22
+ size?: Size;
23
+ variant?: Variant;
24
+ severity?: string;
25
+ disabled?: boolean;
26
+ loading?: boolean;
27
+ placement?: Placement;
28
+ offset?: number;
29
+ closeOnSelect?: boolean;
30
+ closeOnEsc?: boolean;
31
+ matchTriggerWidth?: boolean;
32
+ toggleAriaLabel?: string;
33
+ }
34
+ declare function __VLS_template(): {
35
+ attrs: Partial<{}>;
36
+ slots: {
37
+ default?(_: {}): any;
38
+ menu?(_: {}): any;
39
+ };
40
+ refs: {
41
+ dropdown: ({
42
+ $: import('vue').ComponentInternalInstance;
43
+ $data: {};
44
+ $props: {
45
+ readonly modelValue?: boolean | undefined;
46
+ readonly items?: Array<import('./dropdown.vue').Item> | undefined;
47
+ readonly placement?: ("top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end") | undefined;
48
+ readonly offset?: number | undefined;
49
+ readonly disabled?: boolean | undefined;
50
+ readonly closeOnSelect?: boolean | undefined;
51
+ readonly closeOnEsc?: boolean | undefined;
52
+ readonly matchTriggerWidth?: boolean | undefined;
53
+ readonly onClose?: ((...args: any[]) => any) | undefined;
54
+ readonly onSelect?: ((...args: any[]) => any) | undefined;
55
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
56
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
57
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
58
+ $attrs: {
59
+ [x: string]: unknown;
60
+ };
61
+ $refs: {
62
+ [x: string]: unknown;
63
+ } & {
64
+ root: HTMLDivElement;
65
+ trigger: HTMLDivElement;
66
+ panel: HTMLDivElement;
67
+ };
68
+ $slots: Readonly<{
69
+ [name: string]: import('vue').Slot<any> | undefined;
70
+ }>;
71
+ $root: import('vue').ComponentPublicInstance | null;
72
+ $parent: import('vue').ComponentPublicInstance | null;
73
+ $host: Element | null;
74
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
75
+ $el: HTMLDivElement;
76
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./dropdown.vue').Props> & Readonly<{
77
+ onClose?: ((...args: any[]) => any) | undefined;
78
+ onSelect?: ((...args: any[]) => any) | undefined;
79
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
+ onOpen?: ((...args: any[]) => any) | undefined;
81
+ }>, {
82
+ open: () => void;
83
+ close: () => void;
84
+ toggle: () => void;
85
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
86
+ close: (...args: any[]) => void;
87
+ select: (...args: any[]) => void;
88
+ "update:modelValue": (...args: any[]) => void;
89
+ open: (...args: any[]) => void;
90
+ }, string, {
91
+ disabled: boolean;
92
+ items: Array<import('./dropdown.vue').Item>;
93
+ modelValue: boolean;
94
+ placement: "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end";
95
+ closeOnEsc: boolean;
96
+ offset: number;
97
+ closeOnSelect: boolean;
98
+ matchTriggerWidth: boolean;
99
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
100
+ beforeCreate?: (() => void) | (() => void)[];
101
+ created?: (() => void) | (() => void)[];
102
+ beforeMount?: (() => void) | (() => void)[];
103
+ mounted?: (() => void) | (() => void)[];
104
+ beforeUpdate?: (() => void) | (() => void)[];
105
+ updated?: (() => void) | (() => void)[];
106
+ activated?: (() => void) | (() => void)[];
107
+ deactivated?: (() => void) | (() => void)[];
108
+ beforeDestroy?: (() => void) | (() => void)[];
109
+ beforeUnmount?: (() => void) | (() => void)[];
110
+ destroyed?: (() => void) | (() => void)[];
111
+ unmounted?: (() => void) | (() => void)[];
112
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
113
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
114
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
115
+ };
116
+ $forceUpdate: () => void;
117
+ $nextTick: typeof import('vue').nextTick;
118
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
119
+ } & Readonly<{
120
+ disabled: boolean;
121
+ items: Array<import('./dropdown.vue').Item>;
122
+ modelValue: boolean;
123
+ placement: "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end";
124
+ closeOnEsc: boolean;
125
+ offset: number;
126
+ closeOnSelect: boolean;
127
+ matchTriggerWidth: boolean;
128
+ }> & Omit<Readonly<import('./dropdown.vue').Props> & Readonly<{
129
+ onClose?: ((...args: any[]) => any) | undefined;
130
+ onSelect?: ((...args: any[]) => any) | undefined;
131
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
132
+ onOpen?: ((...args: any[]) => any) | undefined;
133
+ }>, "close" | "toggle" | "open" | ("disabled" | "items" | "modelValue" | "placement" | "closeOnEsc" | "offset" | "closeOnSelect" | "matchTriggerWidth")> & import('vue').ShallowUnwrapRef<{
134
+ open: () => void;
135
+ close: () => void;
136
+ toggle: () => void;
137
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
138
+ $slots: {
139
+ trigger?(_: {}): any;
140
+ default?(_: {}): any;
141
+ };
142
+ }) | null;
143
+ };
144
+ rootEl: HTMLDivElement;
145
+ };
146
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
147
+ declare const __VLS_component: import('vue').DefineComponent<Props, {
148
+ open: () => void | undefined;
149
+ close: () => void | undefined;
150
+ toggle: () => void | undefined;
151
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
152
+ click: (...args: any[]) => void;
153
+ close: (...args: any[]) => void;
154
+ select: (...args: any[]) => void;
155
+ "update:modelValue": (...args: any[]) => void;
156
+ open: (...args: any[]) => void;
157
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
158
+ onClick?: ((...args: any[]) => any) | undefined;
159
+ onClose?: ((...args: any[]) => any) | undefined;
160
+ onSelect?: ((...args: any[]) => any) | undefined;
161
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
162
+ onOpen?: ((...args: any[]) => any) | undefined;
163
+ }>, {
164
+ type: ButtonType;
165
+ label: string;
166
+ disabled: boolean;
167
+ size: Size;
168
+ items: Array<Item>;
169
+ icon: string;
170
+ loading: boolean;
171
+ variant: Variant;
172
+ severity: string;
173
+ modelValue: boolean;
174
+ placement: Placement;
175
+ closeOnEsc: boolean;
176
+ offset: number;
177
+ closeOnSelect: boolean;
178
+ matchTriggerWidth: boolean;
179
+ toggleAriaLabel: string;
180
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
181
+ dropdown: ({
182
+ $: import('vue').ComponentInternalInstance;
183
+ $data: {};
184
+ $props: {
185
+ readonly modelValue?: boolean | undefined;
186
+ readonly items?: Array<import('./dropdown.vue').Item> | undefined;
187
+ readonly placement?: ("top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end") | undefined;
188
+ readonly offset?: number | undefined;
189
+ readonly disabled?: boolean | undefined;
190
+ readonly closeOnSelect?: boolean | undefined;
191
+ readonly closeOnEsc?: boolean | undefined;
192
+ readonly matchTriggerWidth?: boolean | undefined;
193
+ readonly onClose?: ((...args: any[]) => any) | undefined;
194
+ readonly onSelect?: ((...args: any[]) => any) | undefined;
195
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
196
+ readonly onOpen?: ((...args: any[]) => any) | undefined;
197
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
198
+ $attrs: {
199
+ [x: string]: unknown;
200
+ };
201
+ $refs: {
202
+ [x: string]: unknown;
203
+ } & {
204
+ root: HTMLDivElement;
205
+ trigger: HTMLDivElement;
206
+ panel: HTMLDivElement;
207
+ };
208
+ $slots: Readonly<{
209
+ [name: string]: import('vue').Slot<any> | undefined;
210
+ }>;
211
+ $root: import('vue').ComponentPublicInstance | null;
212
+ $parent: import('vue').ComponentPublicInstance | null;
213
+ $host: Element | null;
214
+ $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void);
215
+ $el: HTMLDivElement;
216
+ $options: import('vue').ComponentOptionsBase<Readonly<import('./dropdown.vue').Props> & Readonly<{
217
+ onClose?: ((...args: any[]) => any) | undefined;
218
+ onSelect?: ((...args: any[]) => any) | undefined;
219
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
220
+ onOpen?: ((...args: any[]) => any) | undefined;
221
+ }>, {
222
+ open: () => void;
223
+ close: () => void;
224
+ toggle: () => void;
225
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
226
+ close: (...args: any[]) => void;
227
+ select: (...args: any[]) => void;
228
+ "update:modelValue": (...args: any[]) => void;
229
+ open: (...args: any[]) => void;
230
+ }, string, {
231
+ disabled: boolean;
232
+ items: Array<import('./dropdown.vue').Item>;
233
+ modelValue: boolean;
234
+ placement: "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end";
235
+ closeOnEsc: boolean;
236
+ offset: number;
237
+ closeOnSelect: boolean;
238
+ matchTriggerWidth: boolean;
239
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
240
+ beforeCreate?: (() => void) | (() => void)[];
241
+ created?: (() => void) | (() => void)[];
242
+ beforeMount?: (() => void) | (() => void)[];
243
+ mounted?: (() => void) | (() => void)[];
244
+ beforeUpdate?: (() => void) | (() => void)[];
245
+ updated?: (() => void) | (() => void)[];
246
+ activated?: (() => void) | (() => void)[];
247
+ deactivated?: (() => void) | (() => void)[];
248
+ beforeDestroy?: (() => void) | (() => void)[];
249
+ beforeUnmount?: (() => void) | (() => void)[];
250
+ destroyed?: (() => void) | (() => void)[];
251
+ unmounted?: (() => void) | (() => void)[];
252
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
253
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
254
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
255
+ };
256
+ $forceUpdate: () => void;
257
+ $nextTick: typeof import('vue').nextTick;
258
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
259
+ } & Readonly<{
260
+ disabled: boolean;
261
+ items: Array<import('./dropdown.vue').Item>;
262
+ modelValue: boolean;
263
+ placement: "top" | "bottom" | "bottom-start" | "bottom-end" | "top-start" | "top-end";
264
+ closeOnEsc: boolean;
265
+ offset: number;
266
+ closeOnSelect: boolean;
267
+ matchTriggerWidth: boolean;
268
+ }> & Omit<Readonly<import('./dropdown.vue').Props> & Readonly<{
269
+ onClose?: ((...args: any[]) => any) | undefined;
270
+ onSelect?: ((...args: any[]) => any) | undefined;
271
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
272
+ onOpen?: ((...args: any[]) => any) | undefined;
273
+ }>, "close" | "toggle" | "open" | ("disabled" | "items" | "modelValue" | "placement" | "closeOnEsc" | "offset" | "closeOnSelect" | "matchTriggerWidth")> & import('vue').ShallowUnwrapRef<{
274
+ open: () => void;
275
+ close: () => void;
276
+ toggle: () => void;
277
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
278
+ $slots: {
279
+ trigger?(_: {}): any;
280
+ default?(_: {}): any;
281
+ };
282
+ }) | null;
283
+ }, HTMLDivElement>;
284
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
285
+ export default _default;
286
+ type __VLS_WithTemplateSlots<T, S> = T & {
287
+ new (): {
288
+ $slots: S;
289
+ };
290
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemonster-ru/vueforge",
3
- "version": "0.79.0",
3
+ "version": "0.80.0",
4
4
  "description": "Open source UI components for Vue.js.",
5
5
  "license": "MIT",
6
6
  "author": "Kirill Kolesnikov",