@robuust-digital/vue-components 2.6.0 → 2.6.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.
package/dist/dialogs.d.ts CHANGED
@@ -1,299 +1 @@
1
- import { AllowedComponentProps } from 'vue';
2
- import { ComponentCustomProps } from 'vue';
3
- import { ComponentOptionsMixin } from 'vue';
4
- import { ComponentProvideOptions } from 'vue';
5
- import { DefineComponent } from 'vue';
6
- import { ExtractPropTypes } from 'vue';
7
- import { FunctionalComponent } from 'vue';
8
- import { HTMLAttributes } from 'vue';
9
- import { PublicProps } from 'vue';
10
- import { RendererElement } from 'vue';
11
- import { RendererNode } from 'vue';
12
- import { VNode } from 'vue';
13
- import { VNodeProps } from 'vue';
14
-
15
- declare const __VLS_component: DefineComponent<DrawerProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
16
- "drawer:open": () => any;
17
- "drawer:opened": () => any;
18
- "drawer:close": () => any;
19
- "drawer:save": (event?: Event | undefined) => any;
20
- "drawer:closed": () => any;
21
- }, string, PublicProps, Readonly<DrawerProps> & Readonly<{
22
- "onDrawer:open"?: (() => any) | undefined;
23
- "onDrawer:opened"?: (() => any) | undefined;
24
- "onDrawer:close"?: (() => any) | undefined;
25
- "onDrawer:save"?: ((event?: Event | undefined) => any) | undefined;
26
- "onDrawer:closed"?: (() => any) | undefined;
27
- }>, {
28
- as: string;
29
- spinning: boolean;
30
- showClose: boolean;
31
- scrolledDown: boolean;
32
- headerSticky: boolean;
33
- submitLabel: string;
34
- cancelLabel: string;
35
- panelClass: string;
36
- resetHeader: boolean;
37
- resetFooter: boolean;
38
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
39
- contentRef: HTMLDivElement;
40
- }, any>;
41
-
42
- declare const __VLS_component_2: DefineComponent<ModalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
43
- "modal:open": () => any;
44
- "modal:opened": () => any;
45
- "modal:close": () => any;
46
- "modal:save": (event?: Event | undefined) => any;
47
- "modal:closed": () => any;
48
- }, string, PublicProps, Readonly<ModalProps> & Readonly<{
49
- "onModal:open"?: (() => any) | undefined;
50
- "onModal:opened"?: (() => any) | undefined;
51
- "onModal:close"?: (() => any) | undefined;
52
- "onModal:save"?: ((event?: Event | undefined) => any) | undefined;
53
- "onModal:closed"?: (() => any) | undefined;
54
- }>, {
55
- as: string;
56
- spinning: boolean;
57
- showClose: boolean;
58
- submitLabel: string;
59
- cancelLabel: string;
60
- panelClass: string;
61
- resetHeader: boolean;
62
- resetFooter: boolean;
63
- }, {}, {}, {}, string, ComponentProvideOptions, false, {
64
- contentRef: HTMLDivElement;
65
- }, any>;
66
-
67
- declare function __VLS_template(): {
68
- attrs: Partial<{}>;
69
- slots: {
70
- panel?(_: {
71
- title: string;
72
- loading: boolean;
73
- isForm: boolean;
74
- titleId: string;
75
- descriptionId: string;
76
- contentRef: HTMLElement | null;
77
- dialogTitle: DefineComponent< {
78
- as: {
79
- type: (ObjectConstructor | StringConstructor)[];
80
- default: string;
81
- };
82
- id: {
83
- type: StringConstructor;
84
- default: null;
85
- };
86
- }, () => VNode<RendererNode, RendererElement, {
87
- [key: string]: any;
88
- }> | VNode<RendererNode, RendererElement, {
89
- [key: string]: any;
90
- }>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
91
- as: {
92
- type: (ObjectConstructor | StringConstructor)[];
93
- default: string;
94
- };
95
- id: {
96
- type: StringConstructor;
97
- default: null;
98
- };
99
- }>>, {
100
- id: string;
101
- as: string | Record<string, any>;
102
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
103
- emitClose: () => void;
104
- emitSave: (event?: undefined) => void;
105
- }): any;
106
- header?(_: {
107
- title: string;
108
- showClose: boolean;
109
- }): any;
110
- header?(_: {}): any;
111
- title?(_: {
112
- id: string;
113
- dialogTitle: DefineComponent< {
114
- as: {
115
- type: (ObjectConstructor | StringConstructor)[];
116
- default: string;
117
- };
118
- id: {
119
- type: StringConstructor;
120
- default: null;
121
- };
122
- }, () => VNode<RendererNode, RendererElement, {
123
- [key: string]: any;
124
- }> | VNode<RendererNode, RendererElement, {
125
- [key: string]: any;
126
- }>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
127
- as: {
128
- type: (ObjectConstructor | StringConstructor)[];
129
- default: string;
130
- };
131
- id: {
132
- type: StringConstructor;
133
- default: null;
134
- };
135
- }>>, {
136
- id: string;
137
- as: string | Record<string, any>;
138
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
139
- title: string;
140
- }): any;
141
- close?(_: {
142
- icon: FunctionalComponent<HTMLAttributes & VNodeProps, {}, any, {}>;
143
- emitClose: () => void;
144
- }): any;
145
- default?(_: {
146
- ready: boolean;
147
- }): any;
148
- footer?(_: {
149
- loading: boolean;
150
- }): any;
151
- footer?(_: {}): any;
152
- };
153
- refs: {
154
- contentRef: HTMLDivElement;
155
- };
156
- rootEl: any;
157
- };
158
-
159
- declare function __VLS_template_2(): {
160
- attrs: Partial<{}>;
161
- slots: {
162
- panel?(_: {
163
- title: string;
164
- loading: boolean;
165
- isForm: boolean;
166
- titleId: string;
167
- descriptionId: string;
168
- contentRef: HTMLElement | null;
169
- dialogTitle: DefineComponent< {
170
- as: {
171
- type: (ObjectConstructor | StringConstructor)[];
172
- default: string;
173
- };
174
- id: {
175
- type: StringConstructor;
176
- default: null;
177
- };
178
- }, () => VNode<RendererNode, RendererElement, {
179
- [key: string]: any;
180
- }> | VNode<RendererNode, RendererElement, {
181
- [key: string]: any;
182
- }>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
183
- as: {
184
- type: (ObjectConstructor | StringConstructor)[];
185
- default: string;
186
- };
187
- id: {
188
- type: StringConstructor;
189
- default: null;
190
- };
191
- }>>, {
192
- id: string;
193
- as: string | Record<string, any>;
194
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
195
- emitClose: () => void;
196
- emitSave: (event?: undefined) => void;
197
- }): any;
198
- header?(_: {
199
- title: string;
200
- showClose: boolean;
201
- }): any;
202
- header?(_: {}): any;
203
- title?(_: {
204
- id: string;
205
- dialogTitle: DefineComponent< {
206
- as: {
207
- type: (ObjectConstructor | StringConstructor)[];
208
- default: string;
209
- };
210
- id: {
211
- type: StringConstructor;
212
- default: null;
213
- };
214
- }, () => VNode<RendererNode, RendererElement, {
215
- [key: string]: any;
216
- }> | VNode<RendererNode, RendererElement, {
217
- [key: string]: any;
218
- }>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
219
- as: {
220
- type: (ObjectConstructor | StringConstructor)[];
221
- default: string;
222
- };
223
- id: {
224
- type: StringConstructor;
225
- default: null;
226
- };
227
- }>>, {
228
- id: string;
229
- as: string | Record<string, any>;
230
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
231
- title: string;
232
- }): any;
233
- close?(_: {
234
- icon: FunctionalComponent<HTMLAttributes & VNodeProps, {}, any, {}>;
235
- emitClose: () => void;
236
- }): any;
237
- default?(_: {
238
- ready: boolean;
239
- }): any;
240
- footer?(_: {
241
- loading: boolean;
242
- }): any;
243
- footer?(_: {}): any;
244
- };
245
- refs: {
246
- contentRef: HTMLDivElement;
247
- };
248
- rootEl: any;
249
- };
250
-
251
- declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
252
-
253
- declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
254
-
255
- declare type __VLS_WithTemplateSlots<T, S> = T & {
256
- new (): {
257
- $slots: S;
258
- };
259
- };
260
-
261
- declare type __VLS_WithTemplateSlots_2<T, S> = T & {
262
- new (): {
263
- $slots: S;
264
- };
265
- };
266
-
267
- export declare const Drawer: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
268
-
269
- declare interface DrawerProps {
270
- as?: string;
271
- id: string;
272
- title: string;
273
- showClose?: boolean;
274
- scrolledDown?: boolean;
275
- headerSticky?: boolean;
276
- spinning?: boolean;
277
- submitLabel?: string;
278
- cancelLabel?: string;
279
- panelClass?: string;
280
- resetHeader?: boolean;
281
- resetFooter?: boolean;
282
- }
283
-
284
- export declare const Modal: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
285
-
286
- declare interface ModalProps {
287
- as?: string;
288
- id: string;
289
- title: string;
290
- showClose?: boolean;
291
- spinning?: boolean;
292
- submitLabel?: string;
293
- cancelLabel?: string;
294
- panelClass?: string;
295
- resetHeader?: boolean;
296
- resetFooter?: boolean;
297
- }
298
-
299
1
  export { }
@@ -1,145 +1 @@
1
- import { AllowedComponentProps } from 'vue';
2
- import { ComponentCustomProps } from 'vue';
3
- import { ComponentOptionsMixin } from 'vue';
4
- import { ComponentProvideOptions } from 'vue';
5
- import { DefineComponent } from 'vue';
6
- import { ExtractPropTypes } from 'vue';
7
- import { FunctionalComponent } from 'vue';
8
- import { HTMLAttributes } from 'vue';
9
- import { PublicProps } from 'vue';
10
- import { RendererElement } from 'vue';
11
- import { RendererNode } from 'vue';
12
- import { SVGAttributes } from 'vue';
13
- import { VNode } from 'vue';
14
- import { VNodeProps } from 'vue';
15
-
16
- declare const __VLS_component: DefineComponent<DropdownProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
17
- "dropdown:click": (item: DropdownItem) => any;
18
- }, string, PublicProps, Readonly<DropdownProps> & Readonly<{
19
- "onDropdown:click"?: ((item: DropdownItem) => any) | undefined;
20
- }>, {
21
- label: string;
22
- rootClass: string;
23
- alignLeft: boolean;
24
- fullWidth: boolean;
25
- }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
26
-
27
- declare function __VLS_template(): {
28
- attrs: Partial<{}>;
29
- slots: {
30
- button?(_: {
31
- label: string;
32
- button: DefineComponent< {
33
- disabled: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- as: {
38
- type: (ObjectConstructor | StringConstructor)[];
39
- default: string;
40
- };
41
- id: {
42
- type: StringConstructor;
43
- default: null;
44
- };
45
- }, () => VNode<RendererNode, RendererElement, {
46
- [key: string]: any;
47
- }> | VNode<RendererNode, RendererElement, {
48
- [key: string]: any;
49
- }>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
50
- disabled: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- as: {
55
- type: (ObjectConstructor | StringConstructor)[];
56
- default: string;
57
- };
58
- id: {
59
- type: StringConstructor;
60
- default: null;
61
- };
62
- }>>, {
63
- id: string;
64
- as: string | Record<string, any>;
65
- disabled: boolean;
66
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
67
- }): any;
68
- items?(_: {
69
- items: DropdownItem[];
70
- menuItem: DefineComponent< {
71
- as: {
72
- type: (ObjectConstructor | StringConstructor)[];
73
- default: string;
74
- };
75
- disabled: {
76
- type: BooleanConstructor;
77
- default: boolean;
78
- };
79
- id: {
80
- type: StringConstructor;
81
- default: null;
82
- };
83
- }, () => VNode<RendererNode, RendererElement, {
84
- [key: string]: any;
85
- }> | VNode<RendererNode, RendererElement, {
86
- [key: string]: any;
87
- }>[] | null, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes< {
88
- as: {
89
- type: (ObjectConstructor | StringConstructor)[];
90
- default: string;
91
- };
92
- disabled: {
93
- type: BooleanConstructor;
94
- default: boolean;
95
- };
96
- id: {
97
- type: StringConstructor;
98
- default: null;
99
- };
100
- }>>, {
101
- id: string;
102
- as: string | Record<string, any>;
103
- disabled: boolean;
104
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
105
- }): any;
106
- item?(_: {
107
- item: DropdownItem;
108
- }): any;
109
- };
110
- refs: {};
111
- rootEl: any;
112
- };
113
-
114
- declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
115
-
116
- declare type __VLS_WithTemplateSlots<T, S> = T & {
117
- new (): {
118
- $slots: S;
119
- };
120
- };
121
-
122
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
123
- export { _default as Dropdown }
124
- export default _default;
125
-
126
- declare interface DropdownItem {
127
- name: string;
128
- as?: string;
129
- bindAs?: string;
130
- event?: () => void;
131
- icon?: Icon | null;
132
- [key: string]: unknown;
133
- }
134
-
135
- declare interface DropdownProps {
136
- items: DropdownItem[];
137
- alignLeft?: boolean;
138
- fullWidth?: boolean;
139
- label?: string;
140
- rootClass?: string;
141
- }
142
-
143
- declare type Icon = FunctionalComponent<SVGAttributes & HTMLAttributes & VNodeProps>;
144
-
145
1
  export { }
@@ -1,4 +1,4 @@
1
- import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-ByxZ-FVI.js";
1
+ import { _ as r, a as t, b as e, c as s, d as m, e as p, f as x, g as f, h as _, i } from "../_shared/Tabs.vue_vue_type_script_setup_true_lang-CLF0EEY-.js";
2
2
  import { _ as d } from "../_shared/ChevronDownIcon-BYWciGnh.js";
3
3
  import { _ as n } from "../_shared/ButtonBase.vue_vue_type_script_setup_true_lang-ZYVNEyNx.js";
4
4
  import { _ as h } from "../_shared/FormInput.vue_vue_type_script_setup_true_lang-Bg7YPGyY.js";