@robuust-digital/vue-components 2.7.0 → 2.7.1

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