@3squared/forge-ui-3 2.2.1 → 2.4.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.
Files changed (62) hide show
  1. package/dist/cypress/support/component.d.ts +0 -1
  2. package/dist/esm/forge-ui-3.js +797 -782
  3. package/dist/index.d.ts +0 -1
  4. package/dist/src/Bootstrap_PT.d.ts +0 -1
  5. package/dist/src/components/ForgeActionButton.vue.d.ts +2 -26
  6. package/dist/src/components/ForgeAlert.vue.d.ts +11 -31
  7. package/dist/src/components/ForgeAutoComplete.vue.d.ts +8 -4
  8. package/dist/src/components/ForgeCheckbox.vue.d.ts +18 -171
  9. package/dist/src/components/ForgeChip.vue.d.ts +11 -31
  10. package/dist/src/components/ForgeDatepicker.vue.d.ts +24 -439
  11. package/dist/src/components/ForgeForm.vue.d.ts +18 -43
  12. package/dist/src/components/ForgeFormField.vue.d.ts +11 -62
  13. package/dist/src/components/ForgeInlineEditor.vue.d.ts +40 -59
  14. package/dist/src/components/ForgeLink.vue.d.ts +9 -13
  15. package/dist/src/components/ForgeLoader.vue.d.ts +3 -25
  16. package/dist/src/components/ForgeModal.vue.d.ts +20 -285
  17. package/dist/src/components/ForgeMultiSelectPreview.vue.d.ts +18 -72
  18. package/dist/src/components/ForgeNavbar.vue.d.ts +11 -32
  19. package/dist/src/components/ForgePageHeader.vue.d.ts +9 -12
  20. package/dist/src/components/ForgeProgressBar.vue.d.ts +10 -30
  21. package/dist/src/components/ForgeRemainingCharacters.vue.d.ts +2 -23
  22. package/dist/src/components/ForgeStatWidget.vue.d.ts +11 -29
  23. package/dist/src/components/ForgeStepper.vue.d.ts +11 -33
  24. package/dist/src/components/ForgeTile.vue.d.ts +11 -32
  25. package/dist/src/components/file-uploader/ForgeFileUploader.vue.d.ts +10 -69
  26. package/dist/src/components/file-uploader/utilities/utilities.d.ts +0 -1
  27. package/dist/src/components/table/ForgeColumnCustomiser.vue.d.ts +14 -12
  28. package/dist/src/components/table/ForgeFilterHeader.vue.d.ts +9 -44
  29. package/dist/src/components/table/ForgeTable.vue.d.ts +24 -42
  30. package/dist/src/helpers/index.d.ts +0 -1
  31. package/dist/src/passthroughs/AutoComplete.pt.d.ts +0 -1
  32. package/dist/src/passthroughs/Badge.pt.d.ts +0 -1
  33. package/dist/src/passthroughs/Button.pt.d.ts +0 -1
  34. package/dist/src/passthroughs/Checkbox.pt.d.ts +0 -1
  35. package/dist/src/passthroughs/Column.pt.d.ts +0 -1
  36. package/dist/src/passthroughs/Datepicker.pt.d.ts +0 -1
  37. package/dist/src/passthroughs/Dialog.pt.d.ts +17 -4
  38. package/dist/src/passthroughs/Dropdown.pt.d.ts +0 -1
  39. package/dist/src/passthroughs/Input.pt.d.ts +0 -1
  40. package/dist/src/passthroughs/InputSwitch.pt.d.ts +0 -1
  41. package/dist/src/passthroughs/Message.pt.d.ts +0 -1
  42. package/dist/src/passthroughs/Multiselect.pt.d.ts +0 -1
  43. package/dist/src/passthroughs/Navbar.pt.d.ts +0 -1
  44. package/dist/src/passthroughs/Panel.pt.d.ts +0 -1
  45. package/dist/src/passthroughs/Popover.pt.d.ts +0 -1
  46. package/dist/src/passthroughs/SelectButton.pt.d.ts +0 -1
  47. package/dist/src/passthroughs/SplitButton.pt.d.ts +0 -1
  48. package/dist/src/passthroughs/Steps.pt.d.ts +0 -1
  49. package/dist/src/passthroughs/Table.pt.d.ts +0 -1
  50. package/dist/src/passthroughs/Tabs.pt.d.ts +0 -1
  51. package/dist/src/passthroughs/Tag.pt.d.ts +0 -1
  52. package/dist/src/passthroughs/Toast.pt.d.ts +0 -1
  53. package/dist/src/passthroughs/Tooltip.pt.d.ts +0 -1
  54. package/dist/src/types/forge-types.d.ts +0 -1
  55. package/package.json +7 -7
  56. package/dist/src/components/ForgeScratchpad.vue.d.ts +0 -52
  57. package/dist/src/components/file-uploader/components/DragDropArea.vue.d.ts +0 -47
  58. package/dist/src/components/file-uploader/components/FileInfo.vue.d.ts +0 -80
  59. package/dist/src/components/file-uploader/components/MaxFileSize.vue.d.ts +0 -14
  60. package/dist/src/components/file-uploader/components/UploadButton.vue.d.ts +0 -48
  61. package/dist/src/components/file-uploader/components/UploadStatus.vue.d.ts +0 -19
  62. package/dist/src/components/table/ForgePaginationHeader.vue.d.ts +0 -37
@@ -6,69 +6,50 @@ export interface ForgeInlineEditorProps {
6
6
  errorParams?: Array<any>;
7
7
  readonly?: boolean;
8
8
  }
9
+ type __VLS_Props = ForgeInlineEditorProps;
10
+ type __VLS_PublicProps = {
11
+ modelValue?: any;
12
+ } & __VLS_Props;
9
13
  declare function __VLS_template(): {
10
- editor?(_: {
11
- class: {
12
- 'is-invalid': boolean;
13
- };
14
- editFinished: () => Promise<false | undefined>;
15
- cancel: () => void;
16
- val: unknown;
17
- }): any;
18
- default?(_: {}): any;
14
+ attrs: Partial<{}>;
15
+ slots: {
16
+ editor?(_: {
17
+ editFinished: () => Promise<false | undefined>;
18
+ cancel: () => void;
19
+ val: unknown;
20
+ class: {
21
+ 'is-invalid': boolean;
22
+ };
23
+ }): any;
24
+ default?(_: {}): any;
25
+ default?(_: {}): any;
26
+ };
27
+ refs: {
28
+ input: {
29
+ $props: import('primevue').InputTextProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
30
+ $slots: import('primevue').InputTextSlots;
31
+ $emit: ((e: "update:modelValue", value: string | undefined) => void) & ((e: "value-change", value: string | undefined) => void);
32
+ } | null;
33
+ };
34
+ rootEl: HTMLDivElement;
19
35
  };
20
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
21
- modelValue: import('vue').PropType<any>;
22
- errorAction: {
23
- type: import('vue').PropType<Function>;
24
- };
25
- errorParams: {
26
- type: import('vue').PropType<any[]>;
27
- };
28
- params: {
29
- type: import('vue').PropType<any[]>;
30
- default: ArrayConstructor;
31
- };
32
- name: {
33
- type: import('vue').PropType<string>;
34
- default: string;
35
- };
36
- readonly: {
37
- type: import('vue').PropType<boolean>;
38
- default: boolean;
39
- };
40
- completeAction: {
41
- type: import('vue').PropType<Function>;
42
- };
43
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
44
- modelValue: import('vue').PropType<any>;
45
- errorAction: {
46
- type: import('vue').PropType<Function>;
47
- };
48
- errorParams: {
49
- type: import('vue').PropType<any[]>;
50
- };
51
- params: {
52
- type: import('vue').PropType<any[]>;
53
- default: ArrayConstructor;
54
- };
55
- name: {
56
- type: import('vue').PropType<string>;
57
- default: string;
58
- };
59
- readonly: {
60
- type: import('vue').PropType<boolean>;
61
- default: boolean;
62
- };
63
- completeAction: {
64
- type: import('vue').PropType<Function>;
65
- };
66
- }>> & Readonly<{}>, {
67
- params: Array<any>;
36
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
37
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
38
+ "update:modelValue": (value: any) => any;
39
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
40
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
41
+ }>, {
68
42
  name: string;
69
43
  readonly: boolean;
70
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
71
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
44
+ params: Array<any>;
45
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
46
+ input: {
47
+ $props: import('primevue').InputTextProps & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
48
+ $slots: import('primevue').InputTextSlots;
49
+ $emit: ((e: "update:modelValue", value: string | undefined) => void) & ((e: "value-change", value: string | undefined) => void);
50
+ } | null;
51
+ }, HTMLDivElement>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
72
53
  export default _default;
73
54
  type __VLS_WithTemplateSlots<T, S> = T & {
74
55
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { Severity } from '../types/forge-types';
2
-
3
2
  export type LinkOpacity = '10' | '25' | '50' | '75' | '100';
4
3
  export type UnderlineOffset = '1' | '2' | '3';
5
4
  export type Target = '_blank' | '_parent' | '_self' | '_top';
@@ -19,20 +18,17 @@ export interface ForgeLinkProps {
19
18
  iconName?: string;
20
19
  }
21
20
  declare function __VLS_template(): {
22
- default?(_: {}): any;
23
- };
24
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ForgeLinkProps>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ForgeLinkProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
25
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
26
- export default _default;
27
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
28
- type __VLS_TypePropsToRuntimeProps<T> = {
29
- [K in keyof T]-?: {} extends Pick<T, K> ? {
30
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
31
- } : {
32
- type: import('vue').PropType<T[K]>;
33
- required: true;
21
+ attrs: Partial<{}>;
22
+ slots: {
23
+ default?(_: {}): any;
34
24
  };
25
+ refs: {};
26
+ rootEl: HTMLAnchorElement;
35
27
  };
28
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
29
+ declare const __VLS_component: import('vue').DefineComponent<ForgeLinkProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeLinkProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLAnchorElement>;
30
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
31
+ export default _default;
36
32
  type __VLS_WithTemplateSlots<T, S> = T & {
37
33
  new (): {
38
34
  $slots: S;
@@ -1,30 +1,8 @@
1
1
  import { Severity } from '../types/forge-types';
2
-
3
2
  export interface ForgeLoaderProps {
4
3
  severity?: Severity;
5
4
  }
6
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeLoaderProps>, {
7
- severity: string;
8
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeLoaderProps>, {
9
- severity: string;
10
- }>>> & Readonly<{}>, {
11
- severity: "secondary" | "info" | "success" | "danger" | "primary" | "warning" | "brand";
12
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
5
+ declare const _default: import('vue').DefineComponent<ForgeLoaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeLoaderProps> & Readonly<{}>, {
6
+ severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning";
7
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
13
8
  export default _default;
14
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
15
- type __VLS_TypePropsToRuntimeProps<T> = {
16
- [K in keyof T]-?: {} extends Pick<T, K> ? {
17
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
18
- } : {
19
- type: import('vue').PropType<T[K]>;
20
- required: true;
21
- };
22
- };
23
- type __VLS_WithDefaults<P, D> = {
24
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
25
- default: D[K];
26
- }> : P[K];
27
- };
28
- type __VLS_Prettify<T> = {
29
- [K in keyof T]: T[K];
30
- } & {};
@@ -1,6 +1,5 @@
1
- import { DialogPassThroughOptions, DialogProps, DialogSlots } from 'primevue/dialog';
1
+ import { DialogProps } from 'primevue/dialog';
2
2
  import { Size } from '../types/forge-types.ts';
3
-
4
3
  export interface ForgeModalProps extends DialogProps {
5
4
  cancelText?: string;
6
5
  submitText?: string;
@@ -12,291 +11,27 @@ export interface ForgeModalProps extends DialogProps {
12
11
  cancelClass?: string;
13
12
  submitClass?: string;
14
13
  }
15
- declare function __VLS_template(): Partial<Record<NonNullable<keyof DialogSlots>, (_: {}) => any>> & {
16
- loader?(_: {}): any;
14
+ type __VLS_Props = ForgeModalProps;
15
+ type __VLS_PublicProps = {
16
+ 'visible': boolean;
17
+ } & __VLS_Props;
18
+ declare function __VLS_template(): {
19
+ attrs: Partial<{}>;
20
+ slots: any;
21
+ refs: {};
22
+ rootEl: any;
17
23
  };
18
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
19
- visible: {
20
- required: true;
21
- type: import('vue').PropType<boolean>;
22
- };
23
- style: {
24
- type: import('vue').PropType<any>;
25
- };
26
- size: {
27
- type: import('vue').PropType<"md" | "sm" | "lg" | "xl">;
28
- default: string;
29
- };
30
- dt: {
31
- type: import('vue').PropType<any>;
32
- };
33
- pt: {
34
- type: import('vue').PropType<object | DialogPassThroughOptions<any>>;
35
- };
36
- ptOptions: {
37
- type: import('vue').PropType<import('primevue/passthrough').PassThroughOptions>;
38
- };
39
- unstyled: {
40
- type: import('vue').PropType<boolean>;
41
- };
42
- draggable: {
43
- type: import('vue').PropType<boolean>;
44
- };
45
- closable: {
46
- type: import('vue').PropType<boolean>;
47
- default: boolean;
48
- };
49
- closeIcon: {
50
- type: import('vue').PropType<string>;
51
- };
52
- closeButtonProps: {
53
- type: import('vue').PropType<object>;
54
- };
55
- footer: {
56
- type: import('vue').PropType<string>;
57
- };
58
- header: {
59
- type: import('vue').PropType<string>;
60
- default: string;
61
- };
62
- autoZIndex: {
63
- type: import('vue').PropType<boolean>;
64
- };
65
- baseZIndex: {
66
- type: import('vue').PropType<number>;
67
- };
68
- appendTo: {
69
- type: import('vue').PropType<import('@primevue/core').HintedString<"body" | "self"> | HTMLElement>;
70
- };
71
- submitText: {
72
- type: import('vue').PropType<string>;
73
- default: string;
74
- };
75
- cancelText: {
76
- type: import('vue').PropType<string>;
77
- default: string;
78
- };
79
- showFooter: {
80
- type: import('vue').PropType<boolean>;
81
- default: boolean;
82
- };
83
- onConfirm: {
84
- type: import('vue').PropType<Function | null>;
85
- default: null;
86
- };
87
- submitButtonType: {
88
- type: import('vue').PropType<"submit" | "reset" | "button">;
89
- default: string;
90
- };
91
- cancelButtonType: {
92
- type: import('vue').PropType<"submit" | "reset" | "button">;
93
- default: string;
94
- };
95
- cancelClass: {
96
- type: import('vue').PropType<string>;
97
- default: string;
98
- };
99
- submitClass: {
100
- type: import('vue').PropType<string>;
101
- default: string;
102
- };
103
- modal: {
104
- type: import('vue').PropType<boolean>;
105
- default: boolean;
106
- };
107
- contentStyle: {
108
- type: import('vue').PropType<any>;
109
- };
110
- contentClass: {
111
- type: import('vue').PropType<any>;
112
- };
113
- contentProps: {
114
- type: import('vue').PropType<import('vue').HTMLAttributes>;
115
- };
116
- dismissableMask: {
117
- type: import('vue').PropType<boolean>;
118
- };
119
- closeOnEscape: {
120
- type: import('vue').PropType<boolean>;
121
- };
122
- showHeader: {
123
- type: import('vue').PropType<boolean>;
124
- default: boolean;
125
- };
126
- blockScroll: {
127
- type: import('vue').PropType<boolean>;
128
- };
129
- position: {
130
- type: import('vue').PropType<"left" | "right" | "top" | "bottom" | "center" | "topleft" | "topright" | "bottomleft" | "bottomright">;
131
- };
132
- maximizable: {
133
- type: import('vue').PropType<boolean>;
134
- };
135
- breakpoints: {
136
- type: import('vue').PropType<import('primevue/dialog').DialogBreakpoints>;
137
- };
138
- keepInViewPort: {
139
- type: import('vue').PropType<boolean>;
140
- };
141
- minX: {
142
- type: import('vue').PropType<number>;
143
- };
144
- minY: {
145
- type: import('vue').PropType<number>;
146
- };
147
- maximizeIcon: {
148
- type: import('vue').PropType<string>;
149
- };
150
- minimizeIcon: {
151
- type: import('vue').PropType<string>;
152
- };
153
- maximizeButtonProps: {
154
- type: import('vue').PropType<object>;
155
- };
156
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
157
- visible: {
158
- required: true;
159
- type: import('vue').PropType<boolean>;
160
- };
161
- style: {
162
- type: import('vue').PropType<any>;
163
- };
164
- size: {
165
- type: import('vue').PropType<"md" | "sm" | "lg" | "xl">;
166
- default: string;
167
- };
168
- dt: {
169
- type: import('vue').PropType<any>;
170
- };
171
- pt: {
172
- type: import('vue').PropType<object | DialogPassThroughOptions<any>>;
173
- };
174
- ptOptions: {
175
- type: import('vue').PropType<import('primevue/passthrough').PassThroughOptions>;
176
- };
177
- unstyled: {
178
- type: import('vue').PropType<boolean>;
179
- };
180
- draggable: {
181
- type: import('vue').PropType<boolean>;
182
- };
183
- closable: {
184
- type: import('vue').PropType<boolean>;
185
- default: boolean;
186
- };
187
- closeIcon: {
188
- type: import('vue').PropType<string>;
189
- };
190
- closeButtonProps: {
191
- type: import('vue').PropType<object>;
192
- };
193
- footer: {
194
- type: import('vue').PropType<string>;
195
- };
196
- header: {
197
- type: import('vue').PropType<string>;
198
- default: string;
199
- };
200
- autoZIndex: {
201
- type: import('vue').PropType<boolean>;
202
- };
203
- baseZIndex: {
204
- type: import('vue').PropType<number>;
205
- };
206
- appendTo: {
207
- type: import('vue').PropType<import('@primevue/core').HintedString<"body" | "self"> | HTMLElement>;
208
- };
209
- submitText: {
210
- type: import('vue').PropType<string>;
211
- default: string;
212
- };
213
- cancelText: {
214
- type: import('vue').PropType<string>;
215
- default: string;
216
- };
217
- showFooter: {
218
- type: import('vue').PropType<boolean>;
219
- default: boolean;
220
- };
221
- onConfirm: {
222
- type: import('vue').PropType<Function | null>;
223
- default: null;
224
- };
225
- submitButtonType: {
226
- type: import('vue').PropType<"submit" | "reset" | "button">;
227
- default: string;
228
- };
229
- cancelButtonType: {
230
- type: import('vue').PropType<"submit" | "reset" | "button">;
231
- default: string;
232
- };
233
- cancelClass: {
234
- type: import('vue').PropType<string>;
235
- default: string;
236
- };
237
- submitClass: {
238
- type: import('vue').PropType<string>;
239
- default: string;
240
- };
241
- modal: {
242
- type: import('vue').PropType<boolean>;
243
- default: boolean;
244
- };
245
- contentStyle: {
246
- type: import('vue').PropType<any>;
247
- };
248
- contentClass: {
249
- type: import('vue').PropType<any>;
250
- };
251
- contentProps: {
252
- type: import('vue').PropType<import('vue').HTMLAttributes>;
253
- };
254
- dismissableMask: {
255
- type: import('vue').PropType<boolean>;
256
- };
257
- closeOnEscape: {
258
- type: import('vue').PropType<boolean>;
259
- };
260
- showHeader: {
261
- type: import('vue').PropType<boolean>;
262
- default: boolean;
263
- };
264
- blockScroll: {
265
- type: import('vue').PropType<boolean>;
266
- };
267
- position: {
268
- type: import('vue').PropType<"left" | "right" | "top" | "bottom" | "center" | "topleft" | "topright" | "bottomleft" | "bottomright">;
269
- };
270
- maximizable: {
271
- type: import('vue').PropType<boolean>;
272
- };
273
- breakpoints: {
274
- type: import('vue').PropType<import('primevue/dialog').DialogBreakpoints>;
275
- };
276
- keepInViewPort: {
277
- type: import('vue').PropType<boolean>;
278
- };
279
- minX: {
280
- type: import('vue').PropType<number>;
281
- };
282
- minY: {
283
- type: import('vue').PropType<number>;
284
- };
285
- maximizeIcon: {
286
- type: import('vue').PropType<string>;
287
- };
288
- minimizeIcon: {
289
- type: import('vue').PropType<string>;
290
- };
291
- maximizeButtonProps: {
292
- type: import('vue').PropType<object>;
293
- };
294
- }>> & Readonly<{}>, {
24
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
26
+ "update:visible": (value: boolean) => any;
27
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
28
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
29
+ }>, {
295
30
  size: "md" | "sm" | "lg" | "xl";
296
- closable: boolean;
297
31
  header: string;
298
- submitText: string;
32
+ closable: boolean;
299
33
  cancelText: string;
34
+ submitText: string;
300
35
  showFooter: boolean;
301
36
  onConfirm: Function | null;
302
37
  submitButtonType: "button" | "reset" | "submit";
@@ -305,8 +40,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
305
40
  submitClass: string;
306
41
  modal: boolean;
307
42
  showHeader: boolean;
308
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
309
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
43
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
310
45
  export default _default;
311
46
  type __VLS_WithTemplateSlots<T, S> = T & {
312
47
  new (): {
@@ -1,5 +1,4 @@
1
1
  import { ForgeMultiSelectOrientation, MultiSelectOption } from '../types/forge-types';
2
-
3
2
  export interface ForgeMultiSelectPreviewProps {
4
3
  title?: string;
5
4
  orientation?: ForgeMultiSelectOrientation;
@@ -9,83 +8,30 @@ export interface ForgeMultiSelectPreviewProps {
9
8
  optionsPreviewEmptyText?: string;
10
9
  multiselectPlaceholder?: string;
11
10
  }
12
- declare function __VLS_template(): Partial<Record<NonNullable<string | number>, (_: {
13
- slot: string | number;
14
- }) => any>> & {
15
- "after-multi-select"?(_: {}): any;
16
- "list-item"?(_: {
17
- item: MultiSelectOption<unknown>;
18
- }): any;
11
+ type __VLS_Props = ForgeMultiSelectPreviewProps;
12
+ type __VLS_PublicProps = {
13
+ modelValue?: MultiSelectOption<unknown>[];
14
+ } & __VLS_Props;
15
+ declare function __VLS_template(): {
16
+ attrs: Partial<{}>;
17
+ slots: any;
18
+ refs: {};
19
+ rootEl: HTMLDivElement;
19
20
  };
20
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
21
- modelValue: import('vue').PropType<MultiSelectOption<unknown>[]>;
22
- title: {
23
- type: import('vue').PropType<string>;
24
- default: string;
25
- };
26
- height: {
27
- type: import('vue').PropType<string>;
28
- default: string;
29
- };
30
- orientation: {
31
- type: import('vue').PropType<ForgeMultiSelectOrientation>;
32
- default: string;
33
- };
34
- options: {
35
- type: import('vue').PropType<MultiSelectOption<any>[]>;
36
- required: true;
37
- };
38
- canRemoveItemFromPreview: {
39
- type: import('vue').PropType<boolean>;
40
- default: boolean;
41
- };
42
- optionsPreviewEmptyText: {
43
- type: import('vue').PropType<string>;
44
- default: string;
45
- };
46
- multiselectPlaceholder: {
47
- type: import('vue').PropType<string>;
48
- default: string;
49
- };
50
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
51
- modelValue: import('vue').PropType<MultiSelectOption<unknown>[]>;
52
- title: {
53
- type: import('vue').PropType<string>;
54
- default: string;
55
- };
56
- height: {
57
- type: import('vue').PropType<string>;
58
- default: string;
59
- };
60
- orientation: {
61
- type: import('vue').PropType<ForgeMultiSelectOrientation>;
62
- default: string;
63
- };
64
- options: {
65
- type: import('vue').PropType<MultiSelectOption<any>[]>;
66
- required: true;
67
- };
68
- canRemoveItemFromPreview: {
69
- type: import('vue').PropType<boolean>;
70
- default: boolean;
71
- };
72
- optionsPreviewEmptyText: {
73
- type: import('vue').PropType<string>;
74
- default: string;
75
- };
76
- multiselectPlaceholder: {
77
- type: import('vue').PropType<string>;
78
- default: string;
79
- };
80
- }>> & Readonly<{}>, {
81
- title: string;
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
+ "update:modelValue": (value: MultiSelectOption<unknown>[]) => any;
24
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: MultiSelectOption<unknown>[]) => any) | undefined;
26
+ }>, {
82
27
  height: string;
28
+ title: string;
83
29
  orientation: ForgeMultiSelectOrientation;
84
30
  canRemoveItemFromPreview: boolean;
85
31
  optionsPreviewEmptyText: string;
86
32
  multiselectPlaceholder: string;
87
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
88
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
33
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
89
35
  export default _default;
90
36
  type __VLS_WithTemplateSlots<T, S> = T & {
91
37
  new (): {
@@ -1,44 +1,23 @@
1
- import { MenubarProps, MenubarSlots } from 'primevue/menubar';
1
+ import { MenubarProps } from 'primevue/menubar';
2
2
  import { ForgeNavbarPosition, Severity } from '../types/forge-types';
3
-
4
3
  export interface ForgeNavbarProps extends /* vue-ignore */ Omit<MenubarProps, "aria-label" | "aria-labelledby"> {
5
4
  severity?: Severity | 'light' | 'dark';
6
5
  logoUrl?: string;
7
6
  position?: ForgeNavbarPosition;
8
7
  }
9
- declare function __VLS_template(): Partial<Record<NonNullable<keyof MenubarSlots>, (_: {}) => any>> & {
10
- logo?(_: {}): any;
11
- buttonIcon?(_: {}): any;
8
+ declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
10
+ slots: any;
11
+ refs: {};
12
+ rootEl: any;
12
13
  };
13
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeNavbarProps>, {
14
- severity: string;
14
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
15
+ declare const __VLS_component: import('vue').DefineComponent<ForgeNavbarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ForgeNavbarProps> & Readonly<{}>, {
16
+ severity: "secondary" | "success" | "info" | "danger" | "brand" | "primary" | "warning" | "light" | "dark";
15
17
  logoUrl: string;
16
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeNavbarProps>, {
17
- severity: string;
18
- logoUrl: string;
19
- }>>> & Readonly<{}>, {
20
- severity: "secondary" | "info" | "success" | "danger" | "primary" | "warning" | "brand" | "light" | "dark";
21
- logoUrl: string;
22
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
24
20
  export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
34
- type __VLS_WithDefaults<P, D> = {
35
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
- default: D[K];
37
- }> : P[K];
38
- };
39
- type __VLS_Prettify<T> = {
40
- [K in keyof T]: T[K];
41
- } & {};
42
21
  type __VLS_WithTemplateSlots<T, S> = T & {
43
22
  new (): {
44
23
  $slots: S;