@gomusdev/web-components 1.8.5 → 1.8.6
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.
|
@@ -15,11 +15,8 @@ export declare class Forms {
|
|
|
15
15
|
static setRequiredApiKeys(formId: string, requiredApiKeys: string[]): void;
|
|
16
16
|
static getRequiredApiKeys(formId: string): string[];
|
|
17
17
|
static createField(key: string, required: boolean): Field;
|
|
18
|
-
static getFormFields(formId: string):
|
|
19
|
-
|
|
20
|
-
required: boolean;
|
|
21
|
-
}[];
|
|
22
|
-
static getFieldInit(key: string): FieldInit;
|
|
18
|
+
static getFormFields(formId: string): any;
|
|
19
|
+
static getFieldInit(key: string): any;
|
|
23
20
|
}
|
|
24
21
|
/**
|
|
25
22
|
* Calculates the number of fields that are mounted and have errors.
|
|
@@ -11586,7 +11586,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
|
|
|
11586
11586
|
};
|
|
11587
11587
|
class Config {
|
|
11588
11588
|
constructor() {
|
|
11589
|
-
__publicField(this, "options", defaultConfig);
|
|
11589
|
+
__publicField(this, "options", assign(defaultConfig, window.customOptions));
|
|
11590
11590
|
}
|
|
11591
11591
|
get config() {
|
|
11592
11592
|
return Object.freeze(this.options);
|
|
@@ -11586,7 +11586,7 @@ const defaultConfig = {
|
|
|
11586
11586
|
};
|
|
11587
11587
|
class Config {
|
|
11588
11588
|
constructor() {
|
|
11589
|
-
__publicField(this, "options", defaultConfig);
|
|
11589
|
+
__publicField(this, "options", assign(defaultConfig, window.customOptions));
|
|
11590
11590
|
}
|
|
11591
11591
|
get config() {
|
|
11592
11592
|
return Object.freeze(this.options);
|