@3squared/forge-ui-3 2.10.1 → 2.11.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.
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { DialogProps } from 'primevue/dialog';
|
|
2
2
|
import { Size } from '../types/forge-types.ts';
|
|
3
|
+
export interface ForgeModalError {
|
|
4
|
+
hasError: boolean;
|
|
5
|
+
header: string;
|
|
6
|
+
message: string[];
|
|
7
|
+
}
|
|
3
8
|
export interface ForgeModalProps extends DialogProps {
|
|
4
9
|
cancelText?: string;
|
|
5
10
|
submitText?: string;
|
|
@@ -15,6 +20,7 @@ export interface ForgeModalProps extends DialogProps {
|
|
|
15
20
|
type __VLS_Props = ForgeModalProps;
|
|
16
21
|
type __VLS_PublicProps = {
|
|
17
22
|
'visible': boolean;
|
|
23
|
+
'error'?: ForgeModalError;
|
|
18
24
|
} & __VLS_Props;
|
|
19
25
|
declare function __VLS_template(): {
|
|
20
26
|
attrs: Partial<{}>;
|
|
@@ -27,8 +33,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
27
33
|
resetError: () => void;
|
|
28
34
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
35
|
"update:visible": (value: boolean) => any;
|
|
36
|
+
"update:error": (value: ForgeModalError) => any;
|
|
30
37
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
31
38
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
39
|
+
"onUpdate:error"?: ((value: ForgeModalError) => any) | undefined;
|
|
32
40
|
}>, {
|
|
33
41
|
size: "md" | "sm" | "lg" | "xl";
|
|
34
42
|
header: string;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
3
|
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.11.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|