pdap-design-system 3.1.0-beta.10 → 3.1.0-beta.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/FormV2/PdapFormV2.vue.d.ts +5 -17
- package/dist/index.cjs +6 -6
- package/dist/index.js +601 -597
- package/dist/styles.css +1 -1
- package/package.json +1 -1
@@ -1,9 +1,7 @@
|
|
1
1
|
import { PdapFormPropsV2 } from './types';
|
2
2
|
declare const values: import("vue").Ref<Record<PropertyKey, unknown>>;
|
3
3
|
declare function setValues(val: Partial<typeof values.value>): void;
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
5
|
-
error: null;
|
6
|
-
}>, {
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<PdapFormPropsV2>, {
|
7
5
|
setValues: typeof setValues;
|
8
6
|
v$: import("vue").Ref<import("@vuelidate/core").Validation<Record<string, {
|
9
7
|
[x: string]: import("@vuelidate/core").ValidationRuleWithParams<{
|
@@ -26,15 +24,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
26
24
|
}>, Record<PropertyKey, unknown>>>;
|
27
25
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
28
26
|
change: (...args: any[]) => void;
|
27
|
+
error: (...args: any[]) => void;
|
29
28
|
submit: (...args: any[]) => void;
|
30
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<
|
31
|
-
error: null;
|
32
|
-
}>>> & {
|
29
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<PdapFormPropsV2>>> & {
|
33
30
|
onChange?: ((...args: any[]) => any) | undefined;
|
34
31
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
35
|
-
|
36
|
-
|
37
|
-
}, {}>, {
|
32
|
+
onError?: ((...args: any[]) => any) | undefined;
|
33
|
+
}, {}, {}>, {
|
38
34
|
error?(_: {}): any;
|
39
35
|
default?(_: {}): any;
|
40
36
|
}>;
|
@@ -48,14 +44,6 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
48
44
|
required: true;
|
49
45
|
};
|
50
46
|
};
|
51
|
-
type __VLS_WithDefaults<P, D> = {
|
52
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
53
|
-
default: D[K];
|
54
|
-
}> : P[K];
|
55
|
-
};
|
56
|
-
type __VLS_Prettify<T> = {
|
57
|
-
[K in keyof T]: T[K];
|
58
|
-
} & {};
|
59
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
60
48
|
new (): {
|
61
49
|
$slots: S;
|