@genesislcap/foundation-auth 14.230.1 → 14.231.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.
@@ -8,12 +8,14 @@ import { AuthEventMap, AuthFormEntryEventMap, AuthStore } from '../store';
8
8
  */
9
9
  type EventMap = AuthEventMap & Pick<AuthFormEntryEventMap, 'auth-autofill-form'> & {};
10
10
  declare const FoundationAuth_base: abstract new (...args: any[]) => {
11
- $emit<K extends "auth-autofill-form" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: EventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
11
+ $emit<K extends "auth-autofill-form" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-store-connected" | "auth-store-disconnected" | "auth-store-ready" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: EventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
12
12
  accessKey: string;
13
13
  readonly accessKeyLabel: string;
14
14
  autocapitalize: string;
15
15
  dir: string;
16
- draggable: boolean;
16
+ draggable: boolean; /**
17
+ * @internal
18
+ */
17
19
  hidden: boolean;
18
20
  inert: boolean;
19
21
  innerText: string;
@@ -23,9 +25,7 @@ declare const FoundationAuth_base: abstract new (...args: any[]) => {
23
25
  readonly offsetParent: Element;
24
26
  readonly offsetTop: number;
25
27
  readonly offsetWidth: number;
26
- outerText: string; /**
27
- * @internal
28
- */
28
+ outerText: string;
29
29
  spellcheck: boolean;
30
30
  title: string;
31
31
  translate: boolean;
@@ -1 +1 @@
1
- {"version":3,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GG;IACuB,MAAM,EAAE,gBAAgB,CAAC;IAEnD;;OAEG;IACQ,SAAS,EAAE,SAAS,CAAC;IAEhC;;OAEG;IACH,SAAS,CAAC,cAAc,EAAE,eAAe,CAAC;IAE1C;;OAEG;IACH,iBAAiB;IAQjB;;OAEG;IACH,oBAAoB;IAOpB;;OAEG;IACH,SAAS,CAAC,sBAAsB;IAIhC;;OAEG;IACH,SAAS,CAAC,WAAW;IAWrB;;OAEG;IACH,SAAS,CAAC,cAAc;IAIxB;;OAEG;IACH,SAAS,CAAC,iBAAiB;IAI3B;;OAEG;IACH,SAAS,CAAC,oBAAoB;IAI9B;;OAEG;IACH,SAAS,CAAC,UAAU;IAKpB;;OAEG;IACH,SAAS,CAAC,eAAe;IAIzB;;OAEG;IACH,IAAI,OAAO,YAKV;IAED;;OAEG;IACH,IACI,UAAU,WAEb;IAED;;OAEG;IACH,eAAe,IAAI,IAAI;CAMxB"}
@@ -24,7 +24,7 @@ export type ConfigHost = {
24
24
  config: AuthConfig;
25
25
  };
26
26
  declare const ConfigHostElement_base: abstract new (...args: any[]) => {
27
- $emit<K extends "auth-autofill-form" | "auth-organisation-changed" | "auth-username-changed" | "auth-email-changed" | "auth-password-changed" | "auth-password2-changed" | "auth-showPassword-changed" | "auth-selectedIdp-changed" | "auth-ssoToggled-changed" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: EventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
27
+ $emit<K extends "auth-autofill-form" | "auth-organisation-changed" | "auth-username-changed" | "auth-email-changed" | "auth-password-changed" | "auth-password2-changed" | "auth-showPassword-changed" | "auth-selectedIdp-changed" | "auth-ssoToggled-changed" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-store-connected" | "auth-store-disconnected" | "auth-store-ready" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: import("@genesislcap/foundation-events").EmitOptions] : [type: K, detail: EventMap[K], options?: import("@genesislcap/foundation-events").EmitOptions]): import("@genesislcap/foundation-events").EmitReturn;
28
28
  accessKey: string;
29
29
  readonly accessKeyLabel: string;
30
30
  autocapitalize: string;
@@ -8,6 +8,9 @@ import { AuthFormEntryStore } from './authFormEntry';
8
8
  * @public
9
9
  */
10
10
  export type AuthEventMap = StoreRootEventDetailMap & AuthMachineEventMap & {
11
+ 'auth-store-connected': HTMLElement;
12
+ 'auth-store-disconnected': void;
13
+ 'auth-store-ready': boolean;
11
14
  'auth-login': LoginParams;
12
15
  'auth-logout': void;
13
16
  'auth-change-password': ChangePasswordParams;
@@ -67,6 +70,9 @@ export declare class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthE
67
70
  onForgotPassword: EventListener;
68
71
  /** {@inheritDoc AuthStore.onResetPassword} */
69
72
  onResetPassword: EventListener;
73
+ onConnected: EventListener;
74
+ onDisconnected: EventListener;
75
+ onReady: EventListener;
70
76
  /** {@inheritDoc AuthStore.metaMessages} */
71
77
  get metaMessages(): string[];
72
78
  /** {@inheritDoc AuthStore.errorMessages} */
@@ -1 +1 @@
1
- {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../../../src/store/auth.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EACL,iBAAiB,EAEjB,SAAS,EACT,uBAAuB,EACxB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACpB,MA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AE,WAAW,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC;CAChE;AAED;;;GAGG;AACH,qBAAa,gBACX,SAAQ,iBAAiB,CAAC,SAAS,EAAE,YAAY,EAAE,oBAAoB,CACvE,YAAW,SAAS;IAGN,QAAQ,CAAC,MAAM,EAAE,UAAU;IAC1B,QAAQ,CAAC,WAAW,EAAE,WAAW;IAC1B,QAAQ,CAAC,SAAS,EAAE,kBAAkB;gBAFrC,MAAM,EAAE,UAAU,EACjB,WAAW,EAAE,WAAW,EACjB,SAAS,EAAE,kBAAkB;IAK5D,wCAAwC;IACxC,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,6CAA6C;IAC7C,cAAc,gBAGZ;IAEF,sCAAsC;IACtC,OAAO,gBAKL;IAEF,uCAAuC;IACvC,QAAQ,gBAAuF;IAE/F,+CAA+C;IAC/C,gBAAgB,gBAKd;IAEF,+CAA+C;IAC/C,gBAAgB,gBAKd;IAEF,8CAA8C;IAC9C,eAAe,gBAKb;IAEF,WAAW,gBAGT;IACF,cAAc,gBAGZ;IACF,OAAO,gBAGL;IAEF,2CAA2C;IAC3C,IAAI,YAAY,aAEf;IAED,4CAA4C;IAC5C,IAAI,aAAa,aAShB;CACF;AAED;;;GAGG;AACH,eAAO,MAAM,SAAS,iEAA0D,CAAC;AAEjF;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,YAAY,IAAI,SAAS,CAExC"}
@@ -69,26 +69,26 @@ export class FoundationAuth extends EventEmitter(FASTElement) {
69
69
  * @internal
70
70
  */
71
71
  addEventListeners() {
72
- this.addEventListener('store-connected', this.store.onConnected);
72
+ this.addEventListener('auth-store-connected', this.store.onConnected);
73
73
  }
74
74
  /**
75
75
  * @internal
76
76
  */
77
77
  removeEventListeners() {
78
- this.removeEventListener('store-connected', this.store.onConnected);
78
+ this.removeEventListener('auth-store-connected', this.store.onConnected);
79
79
  }
80
80
  /**
81
81
  * @internal
82
82
  */
83
83
  readyStore() {
84
- this.$emit('store-connected', this);
85
- this.$emit('store-ready', true);
84
+ this.$emit('auth-store-connected', this);
85
+ this.$emit('auth-store-ready', true);
86
86
  }
87
87
  /**
88
88
  * @internal
89
89
  */
90
90
  disconnectStore() {
91
- this.$emit('store-disconnected');
91
+ this.$emit('auth-store-disconnected');
92
92
  }
93
93
  /**
94
94
  * @internal
@@ -38,6 +38,9 @@ let DefaultAuthStore = class DefaultAuthStore extends AbstractStoreRoot {
38
38
  type: 'reset-password',
39
39
  params,
40
40
  }));
41
+ this.onConnected = this.createListener('auth-store-connected', (element) => (this.commit.element = element));
42
+ this.onDisconnected = this.createListener('auth-store-disconnected', () => (this.commit.element = undefined));
43
+ this.onReady = this.createListener('auth-store-ready', (ready) => (this.commit.ready = ready));
41
44
  }
42
45
  /** {@inheritDoc AuthStore.isPending} */
43
46
  get isPending() {
@@ -790,7 +790,16 @@
790
790
  },
791
791
  {
792
792
  "kind": "Content",
793
- "text": " & {\n 'auth-login': "
793
+ "text": " & {\n 'auth-store-connected': "
794
+ },
795
+ {
796
+ "kind": "Reference",
797
+ "text": "HTMLElement",
798
+ "canonicalReference": "!HTMLElement:interface"
799
+ },
800
+ {
801
+ "kind": "Content",
802
+ "text": ";\n 'auth-store-disconnected': void;\n 'auth-store-ready': boolean;\n 'auth-login': "
794
803
  },
795
804
  {
796
805
  "kind": "Reference",
@@ -838,7 +847,7 @@
838
847
  "name": "AuthEventMap",
839
848
  "typeTokenRange": {
840
849
  "startIndex": 1,
841
- "endIndex": 13
850
+ "endIndex": 15
842
851
  }
843
852
  },
844
853
  {
@@ -6508,6 +6517,68 @@
6508
6517
  "isProtected": false,
6509
6518
  "isAbstract": false
6510
6519
  },
6520
+ {
6521
+ "kind": "Property",
6522
+ "canonicalReference": "@genesislcap/foundation-auth!DefaultAuthStore#onConnected:member",
6523
+ "docComment": "",
6524
+ "excerptTokens": [
6525
+ {
6526
+ "kind": "Content",
6527
+ "text": "onConnected: "
6528
+ },
6529
+ {
6530
+ "kind": "Reference",
6531
+ "text": "EventListener",
6532
+ "canonicalReference": "!EventListener:interface"
6533
+ },
6534
+ {
6535
+ "kind": "Content",
6536
+ "text": ";"
6537
+ }
6538
+ ],
6539
+ "isReadonly": false,
6540
+ "isOptional": false,
6541
+ "releaseTag": "Public",
6542
+ "name": "onConnected",
6543
+ "propertyTypeTokenRange": {
6544
+ "startIndex": 1,
6545
+ "endIndex": 2
6546
+ },
6547
+ "isStatic": false,
6548
+ "isProtected": false,
6549
+ "isAbstract": false
6550
+ },
6551
+ {
6552
+ "kind": "Property",
6553
+ "canonicalReference": "@genesislcap/foundation-auth!DefaultAuthStore#onDisconnected:member",
6554
+ "docComment": "",
6555
+ "excerptTokens": [
6556
+ {
6557
+ "kind": "Content",
6558
+ "text": "onDisconnected: "
6559
+ },
6560
+ {
6561
+ "kind": "Reference",
6562
+ "text": "EventListener",
6563
+ "canonicalReference": "!EventListener:interface"
6564
+ },
6565
+ {
6566
+ "kind": "Content",
6567
+ "text": ";"
6568
+ }
6569
+ ],
6570
+ "isReadonly": false,
6571
+ "isOptional": false,
6572
+ "releaseTag": "Public",
6573
+ "name": "onDisconnected",
6574
+ "propertyTypeTokenRange": {
6575
+ "startIndex": 1,
6576
+ "endIndex": 2
6577
+ },
6578
+ "isStatic": false,
6579
+ "isProtected": false,
6580
+ "isAbstract": false
6581
+ },
6511
6582
  {
6512
6583
  "kind": "Property",
6513
6584
  "canonicalReference": "@genesislcap/foundation-auth!DefaultAuthStore#onForgotPassword:member",
@@ -6632,6 +6703,37 @@
6632
6703
  "isProtected": false,
6633
6704
  "isAbstract": false
6634
6705
  },
6706
+ {
6707
+ "kind": "Property",
6708
+ "canonicalReference": "@genesislcap/foundation-auth!DefaultAuthStore#onReady:member",
6709
+ "docComment": "",
6710
+ "excerptTokens": [
6711
+ {
6712
+ "kind": "Content",
6713
+ "text": "onReady: "
6714
+ },
6715
+ {
6716
+ "kind": "Reference",
6717
+ "text": "EventListener",
6718
+ "canonicalReference": "!EventListener:interface"
6719
+ },
6720
+ {
6721
+ "kind": "Content",
6722
+ "text": ";"
6723
+ }
6724
+ ],
6725
+ "isReadonly": false,
6726
+ "isOptional": false,
6727
+ "releaseTag": "Public",
6728
+ "name": "onReady",
6729
+ "propertyTypeTokenRange": {
6730
+ "startIndex": 1,
6731
+ "endIndex": 2
6732
+ },
6733
+ "isStatic": false,
6734
+ "isProtected": false,
6735
+ "isAbstract": false
6736
+ },
6635
6737
  {
6636
6738
  "kind": "Property",
6637
6739
  "canonicalReference": "@genesislcap/foundation-auth!DefaultAuthStore#onResetPassword:member",
@@ -293,6 +293,9 @@ export declare type AuthEntity = LoginEntity | LogoutEntity | PasswordManagement
293
293
  * @public
294
294
  */
295
295
  export declare type AuthEventMap = StoreRootEventDetailMap & AuthMachineEventMap & {
296
+ 'auth-store-connected': HTMLElement;
297
+ 'auth-store-disconnected': void;
298
+ 'auth-store-ready': boolean;
296
299
  'auth-login': LoginParams;
297
300
  'auth-logout': void;
298
301
  'auth-change-password': ChangePasswordParams;
@@ -1039,6 +1042,9 @@ export declare class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthE
1039
1042
  onForgotPassword: EventListener;
1040
1043
  /** {@inheritDoc AuthStore.onResetPassword} */
1041
1044
  onResetPassword: EventListener;
1045
+ onConnected: EventListener;
1046
+ onDisconnected: EventListener;
1047
+ onReady: EventListener;
1042
1048
  /** {@inheritDoc AuthStore.metaMessages} */
1043
1049
  get metaMessages(): string[];
1044
1050
  /** {@inheritDoc AuthStore.errorMessages} */
@@ -1454,12 +1460,14 @@ export declare class FoundationAuth extends FoundationAuth_base {
1454
1460
  }
1455
1461
 
1456
1462
  declare const FoundationAuth_base: abstract new (...args: any[]) => {
1457
- $emit<K extends "auth-autofill-form" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: EmitOptions] : [type: K, detail: EventMap[K], options?: EmitOptions]): EmitReturn;
1463
+ $emit<K extends "auth-autofill-form" | "store-connected" | "store-disconnected" | "store-ready" | "auth-machine-event" | "auth-store-connected" | "auth-store-disconnected" | "auth-store-ready" | "auth-login" | "auth-logout" | "auth-change-password" | "auth-forgot-password" | "auth-reset-password">(...args: EventMap[K] extends void ? [type: K, options?: EmitOptions] : [type: K, detail: EventMap[K], options?: EmitOptions]): EmitReturn;
1458
1464
  accessKey: string;
1459
1465
  readonly accessKeyLabel: string;
1460
1466
  autocapitalize: string;
1461
1467
  dir: string;
1462
- draggable: boolean;
1468
+ draggable: boolean; /**
1469
+ * @internal
1470
+ */
1463
1471
  hidden: boolean;
1464
1472
  inert: boolean;
1465
1473
  innerText: string;
@@ -1469,9 +1477,7 @@ declare const FoundationAuth_base: abstract new (...args: any[]) => {
1469
1477
  readonly offsetParent: Element;
1470
1478
  readonly offsetTop: number;
1471
1479
  readonly offsetWidth: number;
1472
- outerText: string; /**
1473
- * @internal
1474
- */
1480
+ outerText: string;
1475
1481
  spellcheck: boolean;
1476
1482
  title: string;
1477
1483
  translate: boolean;
@@ -9,6 +9,9 @@
9
9
 
10
10
  ```typescript
11
11
  export type AuthEventMap = StoreRootEventDetailMap & AuthMachineEventMap & {
12
+ 'auth-store-connected': HTMLElement;
13
+ 'auth-store-disconnected': void;
14
+ 'auth-store-ready': boolean;
12
15
  'auth-login': LoginParams;
13
16
  'auth-logout': void;
14
17
  'auth-change-password': ChangePasswordParams;
@@ -32,9 +32,12 @@ export declare class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthE
32
32
  | [isPending](./foundation-auth.defaultauthstore.ispending.md) | <code>readonly</code> | boolean | |
33
33
  | [metaMessages](./foundation-auth.defaultauthstore.metamessages.md) | <code>readonly</code> | string\[\] | |
34
34
  | [onChangePassword](./foundation-auth.defaultauthstore.onchangepassword.md) | | EventListener | |
35
+ | [onConnected](./foundation-auth.defaultauthstore.onconnected.md) | | EventListener | |
36
+ | [onDisconnected](./foundation-auth.defaultauthstore.ondisconnected.md) | | EventListener | |
35
37
  | [onForgotPassword](./foundation-auth.defaultauthstore.onforgotpassword.md) | | EventListener | |
36
38
  | [onLogin](./foundation-auth.defaultauthstore.onlogin.md) | | EventListener | |
37
39
  | [onLogout](./foundation-auth.defaultauthstore.onlogout.md) | | EventListener | |
38
40
  | [onMachineEvent](./foundation-auth.defaultauthstore.onmachineevent.md) | | EventListener | |
41
+ | [onReady](./foundation-auth.defaultauthstore.onready.md) | | EventListener | |
39
42
  | [onResetPassword](./foundation-auth.defaultauthstore.onresetpassword.md) | | EventListener | |
40
43
 
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [DefaultAuthStore](./foundation-auth.defaultauthstore.md) &gt; [onConnected](./foundation-auth.defaultauthstore.onconnected.md)
4
+
5
+ ## DefaultAuthStore.onConnected property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ onConnected: EventListener;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [DefaultAuthStore](./foundation-auth.defaultauthstore.md) &gt; [onDisconnected](./foundation-auth.defaultauthstore.ondisconnected.md)
4
+
5
+ ## DefaultAuthStore.onDisconnected property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ onDisconnected: EventListener;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/foundation-auth](./foundation-auth.md) &gt; [DefaultAuthStore](./foundation-auth.defaultauthstore.md) &gt; [onReady](./foundation-auth.defaultauthstore.onready.md)
4
+
5
+ ## DefaultAuthStore.onReady property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ onReady: EventListener;
11
+ ```
@@ -108,6 +108,9 @@ export type AuthEntity = LoginEntity | LogoutEntity | PasswordManagementEntity;
108
108
 
109
109
  // @public (undocumented)
110
110
  export type AuthEventMap = StoreRootEventDetailMap & AuthMachineEventMap & {
111
+ 'auth-store-connected': HTMLElement;
112
+ 'auth-store-disconnected': void;
113
+ 'auth-store-ready': boolean;
111
114
  'auth-login': LoginParams;
112
115
  'auth-logout': void;
113
116
  'auth-change-password': ChangePasswordParams;
@@ -617,6 +620,10 @@ export class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthEventMap,
617
620
  //
618
621
  // (undocumented)
619
622
  onChangePassword: EventListener;
623
+ // (undocumented)
624
+ onConnected: EventListener;
625
+ // (undocumented)
626
+ onDisconnected: EventListener;
620
627
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
621
628
  //
622
629
  // (undocumented)
@@ -633,6 +640,8 @@ export class DefaultAuthStore extends AbstractStoreRoot<AuthStore, AuthEventMap,
633
640
  //
634
641
  // (undocumented)
635
642
  onMachineEvent: EventListener;
643
+ // (undocumented)
644
+ onReady: EventListener;
636
645
  // Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthStore" has more than one declaration; you need to add a TSDoc member reference selector
637
646
  //
638
647
  // (undocumented)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-auth",
3
3
  "description": "Genesis Foundation Auth",
4
- "version": "14.230.1",
4
+ "version": "14.231.0",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-auth.d.ts",
@@ -127,26 +127,26 @@
127
127
  }
128
128
  },
129
129
  "devDependencies": {
130
- "@genesislcap/foundation-testing": "14.230.1",
131
- "@genesislcap/genx": "14.230.1",
132
- "@genesislcap/rollup-builder": "14.230.1",
133
- "@genesislcap/ts-builder": "14.230.1",
134
- "@genesislcap/uvu-playwright-builder": "14.230.1",
135
- "@genesislcap/vite-builder": "14.230.1",
136
- "@genesislcap/webpack-builder": "14.230.1",
130
+ "@genesislcap/foundation-testing": "14.231.0",
131
+ "@genesislcap/genx": "14.231.0",
132
+ "@genesislcap/rollup-builder": "14.231.0",
133
+ "@genesislcap/ts-builder": "14.231.0",
134
+ "@genesislcap/uvu-playwright-builder": "14.231.0",
135
+ "@genesislcap/vite-builder": "14.231.0",
136
+ "@genesislcap/webpack-builder": "14.231.0",
137
137
  "rimraf": "^5.0.0"
138
138
  },
139
139
  "dependencies": {
140
- "@genesislcap/foundation-comms": "14.230.1",
141
- "@genesislcap/foundation-events": "14.230.1",
142
- "@genesislcap/foundation-i18n": "14.230.1",
143
- "@genesislcap/foundation-logger": "14.230.1",
144
- "@genesislcap/foundation-state-machine": "14.230.1",
145
- "@genesislcap/foundation-store": "14.230.1",
146
- "@genesislcap/foundation-ui": "14.230.1",
147
- "@genesislcap/foundation-user": "14.230.1",
148
- "@genesislcap/foundation-utils": "14.230.1",
149
- "@genesislcap/foundation-zero": "14.230.1",
140
+ "@genesislcap/foundation-comms": "14.231.0",
141
+ "@genesislcap/foundation-events": "14.231.0",
142
+ "@genesislcap/foundation-i18n": "14.231.0",
143
+ "@genesislcap/foundation-logger": "14.231.0",
144
+ "@genesislcap/foundation-state-machine": "14.231.0",
145
+ "@genesislcap/foundation-store": "14.231.0",
146
+ "@genesislcap/foundation-ui": "14.231.0",
147
+ "@genesislcap/foundation-user": "14.231.0",
148
+ "@genesislcap/foundation-utils": "14.231.0",
149
+ "@genesislcap/foundation-zero": "14.231.0",
150
150
  "@microsoft/fast-components": "2.30.6",
151
151
  "@microsoft/fast-element": "1.14.0",
152
152
  "@microsoft/fast-foundation": "2.49.6",
@@ -167,5 +167,5 @@
167
167
  "publishConfig": {
168
168
  "access": "public"
169
169
  },
170
- "gitHead": "2b2e9285b553f4d269268fde0134504054ffed25"
170
+ "gitHead": "b4ddb9e18fda1457d7d5f77783580c55e6b9967f"
171
171
  }