@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
- key: string;
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.
@@ -1,7 +1,7 @@
1
1
  import { ConfigOptions } from './defaultConfig.ts';
2
2
  declare class Config {
3
3
  private options;
4
- get config(): Readonly<Required<ConfigOptions>>;
4
+ get config(): any;
5
5
  defineConfig(options: ConfigOptions): this;
6
6
  }
7
7
  export declare const go: Config;
@@ -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);
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "1.8.5",
7
+ "version": "1.8.6",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",