@everymatrix/general-registration 1.21.7 → 1.21.11

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.
@@ -8,7 +8,7 @@ function safeDecorator(fn) {
8
8
  }
9
9
  catch (error) {
10
10
  if (error instanceof DOMException &&
11
- error.message.includes('has already been used with this registry')) {
11
+ error.message.includes('has already been used with this registry') || error.message.includes('Cannot define multiple custom elements with the same tag name')) {
12
12
  return false;
13
13
  }
14
14
  throw error;
@@ -6,7 +6,7 @@ function safeDecorator(fn) {
6
6
  }
7
7
  catch (error) {
8
8
  if (error instanceof DOMException &&
9
- error.message.includes('has already been used with this registry')) {
9
+ error.message.includes('has already been used with this registry') || error.message.includes('Cannot define multiple custom elements with the same tag name')) {
10
10
  return false;
11
11
  }
12
12
  throw error;
@@ -8,7 +8,7 @@ function safeDecorator(fn) {
8
8
  }
9
9
  catch (error) {
10
10
  if (error instanceof DOMException &&
11
- error.message.includes('has already been used with this registry')) {
11
+ error.message.includes('has already been used with this registry') || error.message.includes('Cannot define multiple custom elements with the same tag name')) {
12
12
  return false;
13
13
  }
14
14
  throw error;
package/dist/esm/index.js CHANGED
@@ -6,7 +6,7 @@ function safeDecorator(fn) {
6
6
  }
7
7
  catch (error) {
8
8
  if (error instanceof DOMException &&
9
- error.message.includes('has already been used with this registry')) {
9
+ error.message.includes('has already been used with this registry') || error.message.includes('Cannot define multiple custom elements with the same tag name')) {
10
10
  return false;
11
11
  }
12
12
  throw error;
@@ -1 +1 @@
1
- var t;customElements.define=(t=customElements.define,function(...e){try{return t.apply(this,e)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry"))return!1;throw t}});
1
+ var t;customElements.define=(t=customElements.define,function(...e){try{return t.apply(this,e)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/general-registration",
3
- "version": "1.21.7",
3
+ "version": "1.21.11",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.js",
6
6
  "es2015": "./dist/esm/index.mjs",
@@ -15,5 +15,16 @@
15
15
  ],
16
16
  "publishConfig": {
17
17
  "access": "public"
18
+ },
19
+ "dependencies": {
20
+ "@everymatrix/general-input": "*",
21
+ "@vaadin/date-picker": "24.2.3",
22
+ "@vaadin/combo-box": "24.2.3",
23
+ "@vaadin/password-field": "24.2.3",
24
+ "@vaadin/checkbox-group": "24.2.3",
25
+ "@vaadin/checkbox": "24.2.3"
26
+ },
27
+ "peerDependencies": {
28
+ "@vaadin/vaadin-lumo-styles": "24.2.3"
18
29
  }
19
30
  }