@genesislcap/foundation-entity-management 14.366.1 → 14.367.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.
@@ -81,41 +81,6 @@
81
81
  }
82
82
  ]
83
83
  },
84
- {
85
- "kind": "javascript-module",
86
- "path": "src/components/components.ts",
87
- "declarations": [
88
- {
89
- "kind": "function",
90
- "name": "loadRemotes"
91
- }
92
- ],
93
- "exports": [
94
- {
95
- "kind": "js",
96
- "name": "loadRemotes",
97
- "declaration": {
98
- "name": "loadRemotes",
99
- "module": "src/components/components.ts"
100
- }
101
- }
102
- ]
103
- },
104
- {
105
- "kind": "javascript-module",
106
- "path": "src/components/index.ts",
107
- "declarations": [],
108
- "exports": [
109
- {
110
- "kind": "js",
111
- "name": "*",
112
- "declaration": {
113
- "name": "*",
114
- "package": "./components"
115
- }
116
- }
117
- ]
118
- },
119
84
  {
120
85
  "kind": "javascript-module",
121
86
  "path": "src/entities/entities.styles.ts",
@@ -298,6 +263,16 @@
298
263
  "description": "Name of the event handler on the Genesis server which handles creating an entity",
299
264
  "privacy": "public"
300
265
  },
266
+ {
267
+ "kind": "field",
268
+ "name": "errorNotificationConfig",
269
+ "type": {
270
+ "text": "NotificationStructure['config']"
271
+ },
272
+ "default": "{\n snackbar: { type: 'error' },\n }",
273
+ "description": "Notification config used for submit failures. Defaults to an error snackbar but can be\noverridden while keeping title/body unchanged.",
274
+ "privacy": "public"
275
+ },
301
276
  {
302
277
  "kind": "field",
303
278
  "name": "title",
@@ -1341,6 +1316,20 @@
1341
1316
  "module": "src/entities/entities.ts"
1342
1317
  }
1343
1318
  },
1319
+ {
1320
+ "kind": "field",
1321
+ "name": "errorNotificationConfig",
1322
+ "type": {
1323
+ "text": "NotificationStructure['config']"
1324
+ },
1325
+ "default": "{\n snackbar: { type: 'error' },\n }",
1326
+ "description": "Notification config used for submit failures. Defaults to an error snackbar but can be\noverridden while keeping title/body unchanged.",
1327
+ "privacy": "public",
1328
+ "inheritedFrom": {
1329
+ "name": "EntityManagement",
1330
+ "module": "src/entities/entities.ts"
1331
+ }
1332
+ },
1344
1333
  {
1345
1334
  "kind": "field",
1346
1335
  "name": "title",
@@ -2593,6 +2582,41 @@
2593
2582
  }
2594
2583
  ]
2595
2584
  },
2585
+ {
2586
+ "kind": "javascript-module",
2587
+ "path": "src/components/components.ts",
2588
+ "declarations": [
2589
+ {
2590
+ "kind": "function",
2591
+ "name": "loadRemotes"
2592
+ }
2593
+ ],
2594
+ "exports": [
2595
+ {
2596
+ "kind": "js",
2597
+ "name": "loadRemotes",
2598
+ "declaration": {
2599
+ "name": "loadRemotes",
2600
+ "module": "src/components/components.ts"
2601
+ }
2602
+ }
2603
+ ]
2604
+ },
2605
+ {
2606
+ "kind": "javascript-module",
2607
+ "path": "src/components/index.ts",
2608
+ "declarations": [],
2609
+ "exports": [
2610
+ {
2611
+ "kind": "js",
2612
+ "name": "*",
2613
+ "declaration": {
2614
+ "name": "*",
2615
+ "package": "./components"
2616
+ }
2617
+ }
2618
+ ]
2619
+ },
2596
2620
  {
2597
2621
  "kind": "javascript-module",
2598
2622
  "path": "src/list/index.ts",
@@ -3436,27 +3460,6 @@
3436
3460
  }
3437
3461
  ]
3438
3462
  },
3439
- {
3440
- "kind": "javascript-module",
3441
- "path": "src/routes/config.ts",
3442
- "declarations": [],
3443
- "exports": []
3444
- },
3445
- {
3446
- "kind": "javascript-module",
3447
- "path": "src/routes/index.ts",
3448
- "declarations": [],
3449
- "exports": [
3450
- {
3451
- "kind": "js",
3452
- "name": "*",
3453
- "declaration": {
3454
- "name": "*",
3455
- "package": "./config"
3456
- }
3457
- }
3458
- ]
3459
- },
3460
3463
  {
3461
3464
  "kind": "javascript-module",
3462
3465
  "path": "src/layouts/default.ts",
@@ -3506,6 +3509,27 @@
3506
3509
  }
3507
3510
  ]
3508
3511
  },
3512
+ {
3513
+ "kind": "javascript-module",
3514
+ "path": "src/routes/config.ts",
3515
+ "declarations": [],
3516
+ "exports": []
3517
+ },
3518
+ {
3519
+ "kind": "javascript-module",
3520
+ "path": "src/routes/index.ts",
3521
+ "declarations": [],
3522
+ "exports": [
3523
+ {
3524
+ "kind": "js",
3525
+ "name": "*",
3526
+ "declaration": {
3527
+ "name": "*",
3528
+ "package": "./config"
3529
+ }
3530
+ }
3531
+ ]
3532
+ },
3509
3533
  {
3510
3534
  "kind": "javascript-module",
3511
3535
  "path": "src/utils/custom-actions-utils.ts",
@@ -2,6 +2,7 @@ import { ColDef, GridOptions, SelectionChangedEvent } from '@ag-grid-community/c
2
2
  import { Connect, DatasourceOptions, MessageError } from '@genesislcap/foundation-comms';
3
3
  import type { UiSchema } from '@genesislcap/foundation-forms';
4
4
  import { RendererEntry } from '@genesislcap/foundation-forms';
5
+ import { type NotificationStructure } from '@genesislcap/foundation-notifications';
5
6
  import { Modal } from '@genesislcap/foundation-ui';
6
7
  import { AvailableOption, SelectedOption } from '@genesislcap/foundation-ui';
7
8
  import { DatasourceType, GridProCaseType, GridProStatusBarConfig } from '@genesislcap/grid-pro';
@@ -72,10 +73,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
72
73
  hidePopover(): void;
73
74
  showPopover(): void;
74
75
  togglePopover(options?: boolean): boolean;
75
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options? /**
76
- * Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications
77
- * @public
78
- */: boolean | AddEventListenerOptions): void;
76
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
79
77
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
80
78
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
81
79
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
@@ -258,7 +256,15 @@ declare const EntityManagement_base: (new (...args: any[]) => {
258
256
  ariaValueNow: string | null;
259
257
  ariaValueText: string | null;
260
258
  role: string | null;
261
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
259
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
260
+ /**
261
+ * Tracks whether the filters modal is currently visible
262
+ * @internal
263
+ */
264
+ ? /**
265
+ * Tracks whether the filters modal is currently visible
266
+ * @internal
267
+ */: number | KeyframeAnimationOptions): Animation;
262
268
  getAnimations(options?: GetAnimationsOptions): Animation[];
263
269
  after(...nodes: (Node | string)[]): void;
264
270
  before(...nodes: (Node | string)[]): void;
@@ -271,7 +277,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
271
277
  readonly firstElementChild: Element | null;
272
278
  readonly lastElementChild: Element | null;
273
279
  append(...nodes: (Node | string)[]): void;
274
- prepend(...nodes: (Node | string)[]): void;
280
+ prepend(... /**
281
+ * Determines where the modal dialog will appear on screen
282
+ * @public
283
+ */nodes: (Node | string)[]): void;
275
284
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
276
285
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
277
286
  querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
@@ -502,6 +511,12 @@ export declare class EntityManagement extends EntityManagement_base {
502
511
  * @public
503
512
  */
504
513
  createEvent: string;
514
+ /**
515
+ * Notification config used for submit failures. Defaults to an error snackbar but can be
516
+ * overridden while keeping title/body unchanged.
517
+ * @public
518
+ */
519
+ errorNotificationConfig: NotificationStructure['config'];
505
520
  /**
506
521
  * Title of the grid
507
522
  * @public
@@ -1 +1 @@
1
- {"version":3,"file":"entities.d.ts","sourceRoot":"","sources":["../../../src/entities/entities.ts"],"names":[],"mappings":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,eAAe;CAkCtB"}
@@ -1,7 +1,7 @@
1
1
  import { __awaiter, __decorate, __rest } from "tslib";
2
2
  import { Connect, ResourceType, defaultDatasourceConfig, } from '@genesislcap/foundation-comms';
3
3
  import { renderers } from '@genesislcap/foundation-forms';
4
- import { showNotification, showNotificationDialog } from '@genesislcap/foundation-notifications';
4
+ import { showNotification, showNotificationDialog, } from '@genesislcap/foundation-notifications';
5
5
  import { LifecycleMixin } from '@genesislcap/foundation-utils';
6
6
  import { formatDateTimestamp, formatDateTimeTimestamp } from '@genesislcap/foundation-utils';
7
7
  import { attr, customElement, DOM, GenesisElement, observable, volatile, } from '@genesislcap/web-core';
@@ -63,6 +63,14 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
63
63
  * @public
64
64
  */
65
65
  this.prefix = 'rapid';
66
+ /**
67
+ * Notification config used for submit failures. Defaults to an error snackbar but can be
68
+ * overridden while keeping title/body unchanged.
69
+ * @public
70
+ */
71
+ this.errorNotificationConfig = {
72
+ snackbar: { type: 'error' },
73
+ };
66
74
  /**
67
75
  * Whether to use the `applyTransactionAsync` function for *add* transactions
68
76
  * @remarks Defaults to false
@@ -832,22 +840,14 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
832
840
  showNotification({
833
841
  title: 'Warning',
834
842
  body: "You're editing an old revision. Please close the form and try editing again",
835
- config: {
836
- snackbar: {
837
- type: 'error',
838
- },
839
- },
843
+ config: this.errorNotificationConfig,
840
844
  }, this.prefix);
841
845
  }
842
846
  else {
843
847
  showNotification({
844
848
  title: 'Error submitting form',
845
849
  body: (submitFailureError.CODE + ': ' + submitFailureError.TEXT).toString(),
846
- config: {
847
- snackbar: {
848
- type: 'error',
849
- },
850
- },
850
+ config: this.errorNotificationConfig,
851
851
  }, this.prefix);
852
852
  }
853
853
  });
@@ -858,11 +858,7 @@ let EntityManagement = class EntityManagement extends LifecycleMixin(GenesisElem
858
858
  showNotification({
859
859
  title: 'Error submitting form',
860
860
  body: error.message,
861
- config: {
862
- snackbar: {
863
- type: 'error',
864
- },
865
- },
861
+ config: this.errorNotificationConfig,
866
862
  }, this.prefix);
867
863
  });
868
864
  }
@@ -1138,6 +1134,9 @@ __decorate([
1138
1134
  __decorate([
1139
1135
  attr
1140
1136
  ], EntityManagement.prototype, "createEvent", void 0);
1137
+ __decorate([
1138
+ observable
1139
+ ], EntityManagement.prototype, "errorNotificationConfig", void 0);
1141
1140
  __decorate([
1142
1141
  attr
1143
1142
  ], EntityManagement.prototype, "title", void 0);
@@ -1967,6 +1967,41 @@
1967
1967
  "isProtected": false,
1968
1968
  "isAbstract": false
1969
1969
  },
1970
+ {
1971
+ "kind": "Property",
1972
+ "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#errorNotificationConfig:member",
1973
+ "docComment": "/**\n * Notification config used for submit failures. Defaults to an error snackbar but can be overridden while keeping title/body unchanged.\n *\n * @public\n */\n",
1974
+ "excerptTokens": [
1975
+ {
1976
+ "kind": "Content",
1977
+ "text": "errorNotificationConfig: "
1978
+ },
1979
+ {
1980
+ "kind": "Reference",
1981
+ "text": "NotificationStructure",
1982
+ "canonicalReference": "@genesislcap/foundation-notifications!NotificationStructure:interface"
1983
+ },
1984
+ {
1985
+ "kind": "Content",
1986
+ "text": "['config']"
1987
+ },
1988
+ {
1989
+ "kind": "Content",
1990
+ "text": ";"
1991
+ }
1992
+ ],
1993
+ "isReadonly": false,
1994
+ "isOptional": false,
1995
+ "releaseTag": "Public",
1996
+ "name": "errorNotificationConfig",
1997
+ "propertyTypeTokenRange": {
1998
+ "startIndex": 1,
1999
+ "endIndex": 3
2000
+ },
2001
+ "isStatic": false,
2002
+ "isProtected": false,
2003
+ "isAbstract": false
2004
+ },
1970
2005
  {
1971
2006
  "kind": "Property",
1972
2007
  "canonicalReference": "@genesislcap/foundation-entity-management!EntityManagement#filtersModalPosition:member",
@@ -21,6 +21,7 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
21
21
  import { Logger } from '@genesislcap/foundation-logger';
22
22
  import { MessageError } from '@genesislcap/foundation-comms';
23
23
  import { Modal } from '@genesislcap/foundation-ui';
24
+ import { NotificationStructure } from '@genesislcap/foundation-notifications';
24
25
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
25
26
  import { RendererEntry } from '@genesislcap/foundation-forms';
26
27
  import { SelectedOption } from '@genesislcap/foundation-ui';
@@ -246,6 +247,12 @@ export declare class EntityManagement extends EntityManagement_base {
246
247
  * @public
247
248
  */
248
249
  createEvent: string;
250
+ /**
251
+ * Notification config used for submit failures. Defaults to an error snackbar but can be
252
+ * overridden while keeping title/body unchanged.
253
+ * @public
254
+ */
255
+ errorNotificationConfig: NotificationStructure['config'];
249
256
  /**
250
257
  * Title of the grid
251
258
  * @public
@@ -886,10 +893,7 @@ declare const EntityManagement_base: (new (...args: any[]) => {
886
893
  hidePopover(): void;
887
894
  showPopover(): void;
888
895
  togglePopover(options?: boolean): boolean;
889
- addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options? /**
890
- * Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications
891
- * @public
892
- */: boolean | AddEventListenerOptions): void;
896
+ addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
893
897
  addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
894
898
  removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
895
899
  removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
@@ -1072,7 +1076,15 @@ declare const EntityManagement_base: (new (...args: any[]) => {
1072
1076
  ariaValueNow: string | null;
1073
1077
  ariaValueText: string | null;
1074
1078
  role: string | null;
1075
- animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options?: number | KeyframeAnimationOptions): Animation;
1079
+ animate(keyframes: Keyframe[] | PropertyIndexedKeyframes | null, options
1080
+ /**
1081
+ * Tracks whether the filters modal is currently visible
1082
+ * @internal
1083
+ */
1084
+ ? /**
1085
+ * Tracks whether the filters modal is currently visible
1086
+ * @internal
1087
+ */: number | KeyframeAnimationOptions): Animation;
1076
1088
  getAnimations(options?: GetAnimationsOptions): Animation[];
1077
1089
  after(...nodes: (Node | string)[]): void;
1078
1090
  before(...nodes: (Node | string)[]): void;
@@ -1085,7 +1097,10 @@ declare const EntityManagement_base: (new (...args: any[]) => {
1085
1097
  readonly firstElementChild: Element | null;
1086
1098
  readonly lastElementChild: Element | null;
1087
1099
  append(...nodes: (Node | string)[]): void;
1088
- prepend(...nodes: (Node | string)[]): void;
1100
+ prepend(... /**
1101
+ * Determines where the modal dialog will appear on screen
1102
+ * @public
1103
+ */nodes: (Node | string)[]): void;
1089
1104
  querySelector<K extends keyof HTMLElementTagNameMap>(selectors: K): HTMLElementTagNameMap[K] | null;
1090
1105
  querySelector<K extends keyof SVGElementTagNameMap>(selectors: K): SVGElementTagNameMap[K] | null;
1091
1106
  querySelector<K extends keyof MathMLElementTagNameMap>(selectors: K): MathMLElementTagNameMap[K] | null;
@@ -0,0 +1,13 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-entity-management](./foundation-entity-management.md) &gt; [EntityManagement](./foundation-entity-management.entitymanagement.md) &gt; [errorNotificationConfig](./foundation-entity-management.entitymanagement.errornotificationconfig.md)
4
+
5
+ ## EntityManagement.errorNotificationConfig property
6
+
7
+ Notification config used for submit failures. Defaults to an error snackbar but can be overridden while keeping title/body unchanged.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ errorNotificationConfig: NotificationStructure['config'];
13
+ ```
@@ -434,6 +434,25 @@ string
434
434
  Label for the entity which is used in the title of the modal when editing the entity, on CRUD buttons and on toast notifications
435
435
 
436
436
 
437
+ </td></tr>
438
+ <tr><td>
439
+
440
+ [errorNotificationConfig](./foundation-entity-management.entitymanagement.errornotificationconfig.md)
441
+
442
+
443
+ </td><td>
444
+
445
+
446
+ </td><td>
447
+
448
+ NotificationStructure\['config'\]
449
+
450
+
451
+ </td><td>
452
+
453
+ Notification config used for submit failures. Defaults to an error snackbar but can be overridden while keeping title/body unchanged.
454
+
455
+
437
456
  </td></tr>
438
457
  <tr><td>
439
458
 
@@ -27,6 +27,7 @@ import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
27
27
  import { Logger } from '@genesislcap/foundation-logger';
28
28
  import { MessageError } from '@genesislcap/foundation-comms';
29
29
  import { Modal } from '@genesislcap/foundation-ui';
30
+ import { NotificationStructure } from '@genesislcap/foundation-notifications';
30
31
  import { PartialFASTElementDefinition } from '@microsoft/fast-element';
31
32
  import { RendererEntry } from '@genesislcap/foundation-forms';
32
33
  import { SelectedOption } from '@genesislcap/foundation-ui';
@@ -259,6 +260,7 @@ export class EntityManagement extends EntityManagement_base {
259
260
  //
260
261
  // @internal (undocumented)
261
262
  entityListRef: List;
263
+ errorNotificationConfig: NotificationStructure['config'];
262
264
  // @internal
263
265
  filtersCriteria: string;
264
266
  // @internal (undocumented)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-entity-management",
3
3
  "description": "Genesis Foundation Entity Management",
4
- "version": "14.366.1",
4
+ "version": "14.367.0",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -52,31 +52,31 @@
52
52
  }
53
53
  },
54
54
  "devDependencies": {
55
- "@genesislcap/foundation-testing": "14.366.1",
56
- "@genesislcap/genx": "14.366.1",
57
- "@genesislcap/rollup-builder": "14.366.1",
58
- "@genesislcap/ts-builder": "14.366.1",
59
- "@genesislcap/uvu-playwright-builder": "14.366.1",
60
- "@genesislcap/vite-builder": "14.366.1",
61
- "@genesislcap/webpack-builder": "14.366.1"
55
+ "@genesislcap/foundation-testing": "14.367.0",
56
+ "@genesislcap/genx": "14.367.0",
57
+ "@genesislcap/rollup-builder": "14.367.0",
58
+ "@genesislcap/ts-builder": "14.367.0",
59
+ "@genesislcap/uvu-playwright-builder": "14.367.0",
60
+ "@genesislcap/vite-builder": "14.367.0",
61
+ "@genesislcap/webpack-builder": "14.367.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "@ag-grid-community/core": "29.2.0"
65
65
  },
66
66
  "dependencies": {
67
- "@genesislcap/foundation-comms": "14.366.1",
68
- "@genesislcap/foundation-errors": "14.366.1",
69
- "@genesislcap/foundation-events": "14.366.1",
70
- "@genesislcap/foundation-forms": "14.366.1",
71
- "@genesislcap/foundation-logger": "14.366.1",
72
- "@genesislcap/foundation-login": "14.366.1",
73
- "@genesislcap/foundation-notifications": "14.366.1",
74
- "@genesislcap/foundation-ui": "14.366.1",
75
- "@genesislcap/foundation-utils": "14.366.1",
76
- "@genesislcap/foundation-zero": "14.366.1",
77
- "@genesislcap/foundation-zero-grid-pro": "14.366.1",
78
- "@genesislcap/grid-pro": "14.366.1",
79
- "@genesislcap/web-core": "14.366.1",
67
+ "@genesislcap/foundation-comms": "14.367.0",
68
+ "@genesislcap/foundation-errors": "14.367.0",
69
+ "@genesislcap/foundation-events": "14.367.0",
70
+ "@genesislcap/foundation-forms": "14.367.0",
71
+ "@genesislcap/foundation-logger": "14.367.0",
72
+ "@genesislcap/foundation-login": "14.367.0",
73
+ "@genesislcap/foundation-notifications": "14.367.0",
74
+ "@genesislcap/foundation-ui": "14.367.0",
75
+ "@genesislcap/foundation-utils": "14.367.0",
76
+ "@genesislcap/foundation-zero": "14.367.0",
77
+ "@genesislcap/foundation-zero-grid-pro": "14.367.0",
78
+ "@genesislcap/grid-pro": "14.367.0",
79
+ "@genesislcap/web-core": "14.367.0",
80
80
  "change-case": "^4.1.2"
81
81
  },
82
82
  "repository": {
@@ -88,5 +88,5 @@
88
88
  "access": "public"
89
89
  },
90
90
  "customElements": "dist/custom-elements.json",
91
- "gitHead": "3ab43863fc8dfd2888bc6b65cd25e9985de17bc8"
91
+ "gitHead": "cbcf5614d54813a4c32dbe18fca48cb9b515a2d0"
92
92
  }