@genesislcap/foundation-auth 14.192.0 → 14.192.2-axes.2
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.
- package/dist/dts/routes/base.d.ts +5 -2
- package/dist/dts/routes/base.d.ts.map +1 -1
- package/dist/dts/routes/login/login.d.ts +1 -1
- package/dist/dts/routes/reset-password/reset-password.d.ts +1 -1
- package/dist/dts/store/authFormEntry.d.ts +7 -7
- package/dist/dts/store/authFormEntry.d.ts.map +1 -1
- package/dist/esm/routes/base.js +8 -8
- package/dist/esm/routes/login/login.js +1 -1
- package/dist/esm/routes/login/login.template.js +2 -2
- package/dist/esm/routes/reset-password/reset-password.js +1 -1
- package/dist/esm/routes/reset-password/reset-password.template.js +2 -2
- package/dist/esm/store/authFormEntry.js +5 -5
- package/dist/foundation-auth.api.json +15 -15
- package/dist/foundation-auth.d.ts +7 -7
- package/docs/api/foundation-auth.authformentryeventmap.md +1 -1
- package/docs/api/foundation-auth.authformentrystore.md +2 -2
- package/docs/api/{foundation-auth.authformentrystore.onshowpasswordschanged.md → foundation-auth.authformentrystore.onshowpasswordchanged.md} +3 -3
- package/docs/api/{foundation-auth.authformentrystore.showpasswords.md → foundation-auth.authformentrystore.showpassword.md} +3 -3
- package/docs/api/foundation-auth.defaultauthformentrystore.md +2 -2
- package/docs/api/{foundation-auth.defaultauthformentrystore.onshowpasswordschanged.md → foundation-auth.defaultauthformentrystore.onshowpasswordchanged.md} +3 -3
- package/docs/api/{foundation-auth.defaultauthformentrystore.showpasswords.md → foundation-auth.defaultauthformentrystore.showpassword.md} +3 -3
- package/docs/api-report.md +5 -5
- package/package.json +19 -19
|
@@ -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-
|
|
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;
|
|
28
28
|
accessKey: string;
|
|
29
29
|
readonly accessKeyLabel: string;
|
|
30
30
|
autocapitalize: string;
|
|
@@ -150,6 +150,9 @@ declare const ConfigHostElement_base: abstract new (...args: any[]) => {
|
|
|
150
150
|
readonly CDATA_SECTION_NODE: number;
|
|
151
151
|
readonly COMMENT_NODE: number;
|
|
152
152
|
readonly DOCUMENT_FRAGMENT_NODE: number;
|
|
153
|
+
/**
|
|
154
|
+
* @internal
|
|
155
|
+
*/
|
|
153
156
|
readonly DOCUMENT_NODE: number;
|
|
154
157
|
readonly DOCUMENT_POSITION_CONTAINED_BY: number;
|
|
155
158
|
readonly DOCUMENT_POSITION_CONTAINS: number;
|
|
@@ -395,6 +398,6 @@ export declare const submitButton: <T extends ConfigHost>(label: string, dataTes
|
|
|
395
398
|
/**
|
|
396
399
|
* @internal
|
|
397
400
|
*/
|
|
398
|
-
export declare const
|
|
401
|
+
export declare const showPasswordCheckbox: <T extends BaseRoute>() => import("@microsoft/fast-element").ViewTemplate<T, any>;
|
|
399
402
|
export {};
|
|
400
403
|
//# sourceMappingURL=base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../src/routes/base.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CA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SAAS,MAAM,2DAU/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,gCAChB,MAAM,eACD,MAAM,aACR,OAAO,2DAWlB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,mFAShC,CAAC"}
|
|
@@ -11,7 +11,7 @@ import { BaseRoute } from '../base';
|
|
|
11
11
|
* @fires auth-organisation-changed - Fires a custom 'auth-organisation-changed' event.
|
|
12
12
|
* @fires auth-username-changed - Fires a custom 'auth-username-changed' event.
|
|
13
13
|
* @fires auth-password-changed - Fires a custom 'auth-password-changed' event.
|
|
14
|
-
* @fires auth-
|
|
14
|
+
* @fires auth-showPassword-changed - Fires a custom 'auth-showPassword-changed' event.
|
|
15
15
|
*
|
|
16
16
|
* @public
|
|
17
17
|
*/
|
|
@@ -10,7 +10,7 @@ import type { Settings } from '../types';
|
|
|
10
10
|
* @fires auth-username-changed - Fires a custom 'auth-username-changed' event.
|
|
11
11
|
* @fires auth-password-changed - Fires a custom 'auth-password-changed' event.
|
|
12
12
|
* @fires auth-password2-changed - Fires a custom 'auth-password2-changed' event.
|
|
13
|
-
* @fires auth-
|
|
13
|
+
* @fires auth-showPassword-changed - Fires a custom 'auth-showPassword-changed' event.
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
@@ -14,7 +14,7 @@ export type AuthFormEntryEventMap = {
|
|
|
14
14
|
'auth-email-changed': string;
|
|
15
15
|
'auth-password-changed': string;
|
|
16
16
|
'auth-password2-changed': string;
|
|
17
|
-
'auth-
|
|
17
|
+
'auth-showPassword-changed': boolean;
|
|
18
18
|
'auth-selectedIdp-changed': string;
|
|
19
19
|
'auth-ssoToggled-changed': boolean;
|
|
20
20
|
};
|
|
@@ -42,7 +42,7 @@ export interface AuthFormEntryStore extends Store {
|
|
|
42
42
|
* New, confirm etc.
|
|
43
43
|
*/
|
|
44
44
|
readonly password2: string;
|
|
45
|
-
readonly
|
|
45
|
+
readonly showPassword: boolean;
|
|
46
46
|
readonly hasPasswordExpired: boolean;
|
|
47
47
|
readonly passwordResetToken: string;
|
|
48
48
|
readonly mfaCode: string;
|
|
@@ -57,7 +57,7 @@ export interface AuthFormEntryStore extends Store {
|
|
|
57
57
|
onEmailChanged(event: CustomEvent<string>): void;
|
|
58
58
|
onPasswordChanged(event: CustomEvent<string>): void;
|
|
59
59
|
onPassword2Changed(event: CustomEvent<string>): void;
|
|
60
|
-
|
|
60
|
+
onShowPasswordChanged(event: CustomEvent<boolean>): void;
|
|
61
61
|
onSelectedIdpChanged(event: CustomEvent<string>): void;
|
|
62
62
|
onSSOToggleChanged(event: CustomEvent<boolean>): void;
|
|
63
63
|
onAutofillForm(event: CustomEvent<void>): void;
|
|
@@ -80,8 +80,8 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
80
80
|
password: string;
|
|
81
81
|
/** {@inheritDoc AuthFormEntryStore.password2} */
|
|
82
82
|
password2: string;
|
|
83
|
-
/** {@inheritDoc AuthFormEntryStore.
|
|
84
|
-
|
|
83
|
+
/** {@inheritDoc AuthFormEntryStore.showPassword} */
|
|
84
|
+
showPassword: boolean;
|
|
85
85
|
/** {@inheritDoc AuthFormEntryStore.hasPasswordExpired} */
|
|
86
86
|
hasPasswordExpired: boolean;
|
|
87
87
|
/** {@inheritDoc AuthFormEntryStore.passwordResetToken} */
|
|
@@ -121,8 +121,8 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
121
121
|
onPasswordChanged: EventListener;
|
|
122
122
|
/** {@inheritDoc AuthFormEntryStore.onPassword2Changed} */
|
|
123
123
|
onPassword2Changed: EventListener;
|
|
124
|
-
/** {@inheritDoc AuthFormEntryStore.
|
|
125
|
-
|
|
124
|
+
/** {@inheritDoc AuthFormEntryStore.onShowPasswordChanged} */
|
|
125
|
+
onShowPasswordChanged: EventListener;
|
|
126
126
|
/** {@inheritDoc AuthFormEntryStore.onSelectedIdpChanged} */
|
|
127
127
|
onSelectedIdpChanged: EventListener;
|
|
128
128
|
/** {@inheritDoc AuthFormEntryStore.onSSOToggleChanged} */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authFormEntry.d.ts","sourceRoot":"","sources":["../../../src/store/authFormEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAiB,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAuB,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,EAAE,IAAI,CAAC;IAC3B,2BAA2B,EAAE,MAAM,CAAC;IACpC,uBAAuB,EAAE,MAAM,CAAC;IAChC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,uBAAuB,EAAE,MAAM,CAAC;IAChC,wBAAwB,EAAE,MAAM,CAAC;IACjC,
|
|
1
|
+
{"version":3,"file":"authFormEntry.d.ts","sourceRoot":"","sources":["../../../src/store/authFormEntry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,aAAa,EAAiB,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEpF,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAuB,MAAM,eAAe,CAAC;AACvE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAGzC;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,oBAAoB,EAAE,IAA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oDAAoD;IACxC,YAAY,EAAE,OAAO,CAAS;IAE1C,0DAA0D;IAC9C,kBAAkB,EAAE,OAAO,CAAS;IAEhD,0DAA0D;IAC9C,kBAAkB,EAAE,MAAM,CAAM;IAE5C,+CAA+C;IACnC,OAAO,EAAE,MAAM,CAAM;IAEjC,4CAA4C;IAChC,IAAI,EAAE,gBAAgB,EAAE,CAAM;IAE1C,mDAAmD;IACvC,WAAW,EAAE,gBAAgB,CAAC;IAE1C,kDAAkD;IACtC,UAAU,EAAE,OAAO,CAAS;IAExC,mDAAmD;IACvC,WAAW,UAAS;IAEhC,mDAAmD;IACvC,WAAW,UAAS;IAEhC,mDAAmD;IACnD,IACI,WAAW,IAAI,MAAM,CAIxB;;IAeD;;OAEG;IACH,SAAS,CAAC,aAAa;IAKvB;;OAEG;cACa,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC;IAgE5C,sDAAsD;IACtD,cAAc,gBAAoE;IAElF,6DAA6D;IAC7D,qBAAqB,gBAGnB;IAEF,yDAAyD;IACzD,iBAAiB,gBAGf;IAEF,sDAAsD;IACtD,cAAc,gBAGZ;IAEF,yDAAyD;IACzD,iBAAiB,gBAGf;IAEF,0DAA0D;IAC1D,kBAAkB,gBAGhB;IAEF,6DAA6D;IAC7D,qBAAqB,gBAGnB;IAEF,4DAA4D;IAC5D,oBAAoB,gBAIjB;IAEH,0DAA0D;IAC1D,kBAAkB,gBAGhB;IAEF;;;;OAIG;IACH,SAAS,CAAC,iBAAiB,SAAgB,OAAO,QAAQ,OAAO,mBAW/D;IAEF,mDAAmD;IACnD,IAAI,WAAW,IAAI,MAAM,CAExB;CACF;AAED;;;GAGG;AACH,eAAO,MAAM,kBAAkB,0EAG9B,CAAC"}
|
package/dist/esm/routes/base.js
CHANGED
|
@@ -134,7 +134,7 @@ export const emailField = () => html `
|
|
|
134
134
|
*/
|
|
135
135
|
export const passwordField = (label) => html `
|
|
136
136
|
<${textFieldTag}
|
|
137
|
-
type="${(x) => (x.store.formEntry.
|
|
137
|
+
type="${(x) => (x.store.formEntry.showPassword ? 'text' : 'password')}"
|
|
138
138
|
name="password"
|
|
139
139
|
id="password"
|
|
140
140
|
autocomplete="current-password"
|
|
@@ -157,7 +157,7 @@ export const password2Field = (type) => {
|
|
|
157
157
|
const [name, label] = password2FieldMeta[type];
|
|
158
158
|
return html `
|
|
159
159
|
<${textFieldTag}
|
|
160
|
-
type="${(x) => (x.store.formEntry.
|
|
160
|
+
type="${(x) => (x.store.formEntry.showPassword ? 'text' : 'password')}"
|
|
161
161
|
name="${name}"
|
|
162
162
|
id="${name}"
|
|
163
163
|
autocomplete="${name}"
|
|
@@ -304,14 +304,14 @@ export const submitButton = (label, dataTestId = 'submit', disabled = false) =>
|
|
|
304
304
|
/**
|
|
305
305
|
* @internal
|
|
306
306
|
*/
|
|
307
|
-
export const
|
|
307
|
+
export const showPasswordCheckbox = () => html `
|
|
308
308
|
<${checkboxTag}
|
|
309
|
-
?checked="${(x) => x.store.formEntry.
|
|
310
|
-
|
|
311
|
-
name="show-
|
|
312
|
-
data-test-id="show-
|
|
309
|
+
?checked="${(x) => x.store.formEntry.showPassword}"
|
|
310
|
+
r @change="${(x, c) => x.$emit('auth-showPassword-changed', targetChecked(c))}"
|
|
311
|
+
name="show-password"
|
|
312
|
+
data-test-id="show-password"
|
|
313
313
|
>
|
|
314
|
-
Show
|
|
314
|
+
Show Password
|
|
315
315
|
</${checkboxTag}>
|
|
316
316
|
`;
|
|
317
317
|
/**
|
|
@@ -16,7 +16,7 @@ import { LoginTemplate as template } from './login.template';
|
|
|
16
16
|
* @fires auth-organisation-changed - Fires a custom 'auth-organisation-changed' event.
|
|
17
17
|
* @fires auth-username-changed - Fires a custom 'auth-username-changed' event.
|
|
18
18
|
* @fires auth-password-changed - Fires a custom 'auth-password-changed' event.
|
|
19
|
-
* @fires auth-
|
|
19
|
+
* @fires auth-showPassword-changed - Fires a custom 'auth-showPassword-changed' event.
|
|
20
20
|
*
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { targetChecked } from '@genesislcap/foundation-events';
|
|
2
2
|
import { html, repeat, when } from '@microsoft/fast-element';
|
|
3
3
|
import { anchorTag, buttonTag, cardTag, checkboxTag, listboxOptionTag, selectTag, } from '../../tags';
|
|
4
|
-
import { organisationField, passwordField,
|
|
4
|
+
import { organisationField, passwordField, showPasswordCheckbox, usernameField, submitButton, selectEmit, } from '../base';
|
|
5
5
|
const regularLogin = html `
|
|
6
6
|
${when((login) => !login.store.formEntry.ssoToggled, html `
|
|
7
7
|
${organisationField()} ${usernameField()} ${passwordField()}
|
|
8
8
|
<span class="case-warning">${(x) => x.toLocalisedText('LOGIN_CASE_WARNING')}</span>
|
|
9
|
-
${
|
|
9
|
+
${showPasswordCheckbox()}
|
|
10
10
|
<div class="form-buttons">
|
|
11
11
|
${(x) => submitButton(x.toLocalisedText('LOGIN_SUBMIT_BUTTON'), 'submit', x.submitDisabled)}
|
|
12
12
|
<div class="links">
|
|
@@ -12,7 +12,7 @@ import { ResetPasswordTemplate as template } from './reset-password.template';
|
|
|
12
12
|
* @fires auth-username-changed - Fires a custom 'auth-username-changed' event.
|
|
13
13
|
* @fires auth-password-changed - Fires a custom 'auth-password-changed' event.
|
|
14
14
|
* @fires auth-password2-changed - Fires a custom 'auth-password2-changed' event.
|
|
15
|
-
* @fires auth-
|
|
15
|
+
* @fires auth-showPassword-changed - Fires a custom 'auth-showPassword-changed' event.
|
|
16
16
|
*
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html, when } from '@microsoft/fast-element';
|
|
2
2
|
import { cardTag } from '../../tags';
|
|
3
|
-
import { backButton, organisationField, password2Field, passwordField,
|
|
3
|
+
import { backButton, organisationField, password2Field, passwordField, showPasswordCheckbox, submitButton, usernameField, } from '../base';
|
|
4
4
|
/**
|
|
5
5
|
* ResetPasswordTemplate
|
|
6
6
|
* @public
|
|
@@ -19,7 +19,7 @@ export const ResetPasswordTemplate = html `
|
|
|
19
19
|
${when((x) => !x.passwordResetToken, html `
|
|
20
20
|
${(x) => passwordField(x.toLocalisedText('RESET_PASSWORD_OLD_PASSWORD_FIELD'))}
|
|
21
21
|
`)}
|
|
22
|
-
${password2Field('new')} ${
|
|
22
|
+
${password2Field('new')} ${showPasswordCheckbox()}
|
|
23
23
|
<div class="form-buttons">
|
|
24
24
|
${(x) => submitButton(x.toLocalisedText('RESET_PASSWORD_SUBMIT_BUTTON'))}
|
|
25
25
|
${(x) => backButton(() => x.onBack(), x.toLocalisedText('RESET_PASSWORD_BACK_BUTTON'))}
|
|
@@ -29,8 +29,8 @@ export class DefaultAuthFormEntryStore extends AbstractStore {
|
|
|
29
29
|
this.password = '';
|
|
30
30
|
/** {@inheritDoc AuthFormEntryStore.password2} */
|
|
31
31
|
this.password2 = '';
|
|
32
|
-
/** {@inheritDoc AuthFormEntryStore.
|
|
33
|
-
this.
|
|
32
|
+
/** {@inheritDoc AuthFormEntryStore.showPassword} */
|
|
33
|
+
this.showPassword = false;
|
|
34
34
|
/** {@inheritDoc AuthFormEntryStore.hasPasswordExpired} */
|
|
35
35
|
this.hasPasswordExpired = false;
|
|
36
36
|
/** {@inheritDoc AuthFormEntryStore.passwordResetToken} */
|
|
@@ -57,8 +57,8 @@ export class DefaultAuthFormEntryStore extends AbstractStore {
|
|
|
57
57
|
this.onPasswordChanged = this.createListener('auth-password-changed', (detail) => (this.commit.password = detail));
|
|
58
58
|
/** {@inheritDoc AuthFormEntryStore.onPassword2Changed} */
|
|
59
59
|
this.onPassword2Changed = this.createListener('auth-password2-changed', (detail) => (this.commit.password2 = detail));
|
|
60
|
-
/** {@inheritDoc AuthFormEntryStore.
|
|
61
|
-
this.
|
|
60
|
+
/** {@inheritDoc AuthFormEntryStore.onShowPasswordChanged} */
|
|
61
|
+
this.onShowPasswordChanged = this.createListener('auth-showPassword-changed', (detail) => (this.commit.showPassword = detail));
|
|
62
62
|
/** {@inheritDoc AuthFormEntryStore.onSelectedIdpChanged} */
|
|
63
63
|
this.onSelectedIdpChanged = this.createListener('auth-selectedIdp-changed', (detail) => {
|
|
64
64
|
this.commit.selectedIdp = Array.isArray(this.idps)
|
|
@@ -194,7 +194,7 @@ __decorate([
|
|
|
194
194
|
], DefaultAuthFormEntryStore.prototype, "password2", void 0);
|
|
195
195
|
__decorate([
|
|
196
196
|
observable
|
|
197
|
-
], DefaultAuthFormEntryStore.prototype, "
|
|
197
|
+
], DefaultAuthFormEntryStore.prototype, "showPassword", void 0);
|
|
198
198
|
__decorate([
|
|
199
199
|
observable
|
|
200
200
|
], DefaultAuthFormEntryStore.prototype, "hasPasswordExpired", void 0);
|
|
@@ -825,7 +825,7 @@
|
|
|
825
825
|
},
|
|
826
826
|
{
|
|
827
827
|
"kind": "Content",
|
|
828
|
-
"text": "{\n 'auth-autofill-form': void;\n 'auth-organisation-changed': string;\n 'auth-username-changed': string;\n 'auth-email-changed': string;\n 'auth-password-changed': string;\n 'auth-password2-changed': string;\n 'auth-
|
|
828
|
+
"text": "{\n 'auth-autofill-form': void;\n 'auth-organisation-changed': string;\n 'auth-username-changed': string;\n 'auth-email-changed': string;\n 'auth-password-changed': string;\n 'auth-password2-changed': string;\n 'auth-showPassword-changed': boolean;\n 'auth-selectedIdp-changed': string;\n 'auth-ssoToggled-changed': boolean;\n}"
|
|
829
829
|
},
|
|
830
830
|
{
|
|
831
831
|
"kind": "Content",
|
|
@@ -1306,12 +1306,12 @@
|
|
|
1306
1306
|
},
|
|
1307
1307
|
{
|
|
1308
1308
|
"kind": "MethodSignature",
|
|
1309
|
-
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#
|
|
1309
|
+
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#onShowPasswordChanged:member(1)",
|
|
1310
1310
|
"docComment": "",
|
|
1311
1311
|
"excerptTokens": [
|
|
1312
1312
|
{
|
|
1313
1313
|
"kind": "Content",
|
|
1314
|
-
"text": "
|
|
1314
|
+
"text": "onShowPasswordChanged(event: "
|
|
1315
1315
|
},
|
|
1316
1316
|
{
|
|
1317
1317
|
"kind": "Reference",
|
|
@@ -1352,7 +1352,7 @@
|
|
|
1352
1352
|
"isOptional": false
|
|
1353
1353
|
}
|
|
1354
1354
|
],
|
|
1355
|
-
"name": "
|
|
1355
|
+
"name": "onShowPasswordChanged"
|
|
1356
1356
|
},
|
|
1357
1357
|
{
|
|
1358
1358
|
"kind": "MethodSignature",
|
|
@@ -1619,12 +1619,12 @@
|
|
|
1619
1619
|
},
|
|
1620
1620
|
{
|
|
1621
1621
|
"kind": "PropertySignature",
|
|
1622
|
-
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#
|
|
1622
|
+
"canonicalReference": "@genesislcap/foundation-auth!AuthFormEntryStore#showPassword:member",
|
|
1623
1623
|
"docComment": "",
|
|
1624
1624
|
"excerptTokens": [
|
|
1625
1625
|
{
|
|
1626
1626
|
"kind": "Content",
|
|
1627
|
-
"text": "readonly
|
|
1627
|
+
"text": "readonly showPassword: "
|
|
1628
1628
|
},
|
|
1629
1629
|
{
|
|
1630
1630
|
"kind": "Content",
|
|
@@ -1638,7 +1638,7 @@
|
|
|
1638
1638
|
"isReadonly": true,
|
|
1639
1639
|
"isOptional": false,
|
|
1640
1640
|
"releaseTag": "Public",
|
|
1641
|
-
"name": "
|
|
1641
|
+
"name": "showPassword",
|
|
1642
1642
|
"propertyTypeTokenRange": {
|
|
1643
1643
|
"startIndex": 1,
|
|
1644
1644
|
"endIndex": 2
|
|
@@ -4924,12 +4924,12 @@
|
|
|
4924
4924
|
},
|
|
4925
4925
|
{
|
|
4926
4926
|
"kind": "Property",
|
|
4927
|
-
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#
|
|
4928
|
-
"docComment": "/**\n * {@inheritDoc AuthFormEntryStore.
|
|
4927
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#onShowPasswordChanged:member",
|
|
4928
|
+
"docComment": "/**\n * {@inheritDoc AuthFormEntryStore.onShowPasswordChanged}\n */\n",
|
|
4929
4929
|
"excerptTokens": [
|
|
4930
4930
|
{
|
|
4931
4931
|
"kind": "Content",
|
|
4932
|
-
"text": "
|
|
4932
|
+
"text": "onShowPasswordChanged: "
|
|
4933
4933
|
},
|
|
4934
4934
|
{
|
|
4935
4935
|
"kind": "Reference",
|
|
@@ -4944,7 +4944,7 @@
|
|
|
4944
4944
|
"isReadonly": false,
|
|
4945
4945
|
"isOptional": false,
|
|
4946
4946
|
"releaseTag": "Public",
|
|
4947
|
-
"name": "
|
|
4947
|
+
"name": "onShowPasswordChanged",
|
|
4948
4948
|
"propertyTypeTokenRange": {
|
|
4949
4949
|
"startIndex": 1,
|
|
4950
4950
|
"endIndex": 2
|
|
@@ -5198,12 +5198,12 @@
|
|
|
5198
5198
|
},
|
|
5199
5199
|
{
|
|
5200
5200
|
"kind": "Property",
|
|
5201
|
-
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#
|
|
5202
|
-
"docComment": "/**\n * {@inheritDoc AuthFormEntryStore.
|
|
5201
|
+
"canonicalReference": "@genesislcap/foundation-auth!DefaultAuthFormEntryStore#showPassword:member",
|
|
5202
|
+
"docComment": "/**\n * {@inheritDoc AuthFormEntryStore.showPassword}\n */\n",
|
|
5203
5203
|
"excerptTokens": [
|
|
5204
5204
|
{
|
|
5205
5205
|
"kind": "Content",
|
|
5206
|
-
"text": "
|
|
5206
|
+
"text": "showPassword: "
|
|
5207
5207
|
},
|
|
5208
5208
|
{
|
|
5209
5209
|
"kind": "Content",
|
|
@@ -5217,7 +5217,7 @@
|
|
|
5217
5217
|
"isReadonly": false,
|
|
5218
5218
|
"isOptional": false,
|
|
5219
5219
|
"releaseTag": "Public",
|
|
5220
|
-
"name": "
|
|
5220
|
+
"name": "showPassword",
|
|
5221
5221
|
"propertyTypeTokenRange": {
|
|
5222
5222
|
"startIndex": 1,
|
|
5223
5223
|
"endIndex": 2
|
|
@@ -267,7 +267,7 @@ export declare type AuthFormEntryEventMap = {
|
|
|
267
267
|
'auth-email-changed': string;
|
|
268
268
|
'auth-password-changed': string;
|
|
269
269
|
'auth-password2-changed': string;
|
|
270
|
-
'auth-
|
|
270
|
+
'auth-showPassword-changed': boolean;
|
|
271
271
|
'auth-selectedIdp-changed': string;
|
|
272
272
|
'auth-ssoToggled-changed': boolean;
|
|
273
273
|
};
|
|
@@ -287,7 +287,7 @@ export declare interface AuthFormEntryStore extends Store {
|
|
|
287
287
|
* New, confirm etc.
|
|
288
288
|
*/
|
|
289
289
|
readonly password2: string;
|
|
290
|
-
readonly
|
|
290
|
+
readonly showPassword: boolean;
|
|
291
291
|
readonly hasPasswordExpired: boolean;
|
|
292
292
|
readonly passwordResetToken: string;
|
|
293
293
|
readonly mfaCode: string;
|
|
@@ -302,7 +302,7 @@ export declare interface AuthFormEntryStore extends Store {
|
|
|
302
302
|
onEmailChanged(event: CustomEvent<string>): void;
|
|
303
303
|
onPasswordChanged(event: CustomEvent<string>): void;
|
|
304
304
|
onPassword2Changed(event: CustomEvent<string>): void;
|
|
305
|
-
|
|
305
|
+
onShowPasswordChanged(event: CustomEvent<boolean>): void;
|
|
306
306
|
onSelectedIdpChanged(event: CustomEvent<string>): void;
|
|
307
307
|
onSSOToggleChanged(event: CustomEvent<boolean>): void;
|
|
308
308
|
onAutofillForm(event: CustomEvent<void>): void;
|
|
@@ -853,8 +853,8 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
853
853
|
password: string;
|
|
854
854
|
/** {@inheritDoc AuthFormEntryStore.password2} */
|
|
855
855
|
password2: string;
|
|
856
|
-
/** {@inheritDoc AuthFormEntryStore.
|
|
857
|
-
|
|
856
|
+
/** {@inheritDoc AuthFormEntryStore.showPassword} */
|
|
857
|
+
showPassword: boolean;
|
|
858
858
|
/** {@inheritDoc AuthFormEntryStore.hasPasswordExpired} */
|
|
859
859
|
hasPasswordExpired: boolean;
|
|
860
860
|
/** {@inheritDoc AuthFormEntryStore.passwordResetToken} */
|
|
@@ -894,8 +894,8 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
894
894
|
onPasswordChanged: EventListener;
|
|
895
895
|
/** {@inheritDoc AuthFormEntryStore.onPassword2Changed} */
|
|
896
896
|
onPassword2Changed: EventListener;
|
|
897
|
-
/** {@inheritDoc AuthFormEntryStore.
|
|
898
|
-
|
|
897
|
+
/** {@inheritDoc AuthFormEntryStore.onShowPasswordChanged} */
|
|
898
|
+
onShowPasswordChanged: EventListener;
|
|
899
899
|
/** {@inheritDoc AuthFormEntryStore.onSelectedIdpChanged} */
|
|
900
900
|
onSelectedIdpChanged: EventListener;
|
|
901
901
|
/** {@inheritDoc AuthFormEntryStore.onSSOToggleChanged} */
|
|
@@ -15,7 +15,7 @@ export type AuthFormEntryEventMap = {
|
|
|
15
15
|
'auth-email-changed': string;
|
|
16
16
|
'auth-password-changed': string;
|
|
17
17
|
'auth-password2-changed': string;
|
|
18
|
-
'auth-
|
|
18
|
+
'auth-showPassword-changed': boolean;
|
|
19
19
|
'auth-selectedIdp-changed': string;
|
|
20
20
|
'auth-ssoToggled-changed': boolean;
|
|
21
21
|
};
|
|
@@ -28,7 +28,7 @@ export interface AuthFormEntryStore extends Store
|
|
|
28
28
|
| [password2](./foundation-auth.authformentrystore.password2.md) | <code>readonly</code> | string | |
|
|
29
29
|
| [passwordResetToken](./foundation-auth.authformentrystore.passwordresettoken.md) | <code>readonly</code> | string | |
|
|
30
30
|
| [selectedIdp](./foundation-auth.authformentrystore.selectedidp.md) | <code>readonly</code> | [IdentityProvider](./foundation-auth.identityprovider.md) | |
|
|
31
|
-
| [
|
|
31
|
+
| [showPassword](./foundation-auth.authformentrystore.showpassword.md) | <code>readonly</code> | boolean | |
|
|
32
32
|
| [ssoLoginUrl](./foundation-auth.authformentrystore.ssologinurl.md) | <code>readonly</code> | string | |
|
|
33
33
|
| [ssoToggled](./foundation-auth.authformentrystore.ssotoggled.md) | <code>readonly</code> | boolean | |
|
|
34
34
|
| [termsAgreed](./foundation-auth.authformentrystore.termsagreed.md) | <code>readonly</code> | boolean | |
|
|
@@ -44,7 +44,7 @@ export interface AuthFormEntryStore extends Store
|
|
|
44
44
|
| [onPassword2Changed(event)](./foundation-auth.authformentrystore.onpassword2changed.md) | |
|
|
45
45
|
| [onPasswordChanged(event)](./foundation-auth.authformentrystore.onpasswordchanged.md) | |
|
|
46
46
|
| [onSelectedIdpChanged(event)](./foundation-auth.authformentrystore.onselectedidpchanged.md) | |
|
|
47
|
-
| [
|
|
47
|
+
| [onShowPasswordChanged(event)](./foundation-auth.authformentrystore.onshowpasswordchanged.md) | |
|
|
48
48
|
| [onSSOToggleChanged(event)](./foundation-auth.authformentrystore.onssotogglechanged.md) | |
|
|
49
49
|
| [onUsernameChanged(event)](./foundation-auth.authformentrystore.onusernamechanged.md) | |
|
|
50
50
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [onShowPasswordChanged](./foundation-auth.authformentrystore.onshowpasswordchanged.md)
|
|
4
4
|
|
|
5
|
-
## AuthFormEntryStore.
|
|
5
|
+
## AuthFormEntryStore.onShowPasswordChanged() method
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
|
|
10
|
+
onShowPasswordChanged(event: CustomEvent<boolean>): void;
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Parameters
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [AuthFormEntryStore](./foundation-auth.authformentrystore.md) > [showPassword](./foundation-auth.authformentrystore.showpassword.md)
|
|
4
4
|
|
|
5
|
-
## AuthFormEntryStore.
|
|
5
|
+
## AuthFormEntryStore.showPassword property
|
|
6
6
|
|
|
7
7
|
**Signature:**
|
|
8
8
|
|
|
9
9
|
```typescript
|
|
10
|
-
readonly
|
|
10
|
+
readonly showPassword: boolean;
|
|
11
11
|
```
|
|
@@ -39,7 +39,7 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
39
39
|
| [onPassword2Changed](./foundation-auth.defaultauthformentrystore.onpassword2changed.md) | | EventListener | |
|
|
40
40
|
| [onPasswordChanged](./foundation-auth.defaultauthformentrystore.onpasswordchanged.md) | | EventListener | |
|
|
41
41
|
| [onSelectedIdpChanged](./foundation-auth.defaultauthformentrystore.onselectedidpchanged.md) | | EventListener | |
|
|
42
|
-
| [
|
|
42
|
+
| [onShowPasswordChanged](./foundation-auth.defaultauthformentrystore.onshowpasswordchanged.md) | | EventListener | |
|
|
43
43
|
| [onSSOToggleChanged](./foundation-auth.defaultauthformentrystore.onssotogglechanged.md) | | EventListener | |
|
|
44
44
|
| [onUsernameChanged](./foundation-auth.defaultauthformentrystore.onusernamechanged.md) | | EventListener | |
|
|
45
45
|
| [organisation](./foundation-auth.defaultauthformentrystore.organisation.md) | | string | |
|
|
@@ -48,7 +48,7 @@ export declare class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEnt
|
|
|
48
48
|
| [password2](./foundation-auth.defaultauthformentrystore.password2.md) | | string | |
|
|
49
49
|
| [passwordResetToken](./foundation-auth.defaultauthformentrystore.passwordresettoken.md) | | string | |
|
|
50
50
|
| [selectedIdp](./foundation-auth.defaultauthformentrystore.selectedidp.md) | | [IdentityProvider](./foundation-auth.identityprovider.md) | |
|
|
51
|
-
| [
|
|
51
|
+
| [showPassword](./foundation-auth.defaultauthformentrystore.showpassword.md) | | boolean | |
|
|
52
52
|
| [ssoLoginUrl](./foundation-auth.defaultauthformentrystore.ssologinurl.md) | <code>readonly</code> | string | |
|
|
53
53
|
| [ssoToggled](./foundation-auth.defaultauthformentrystore.ssotoggled.md) | | boolean | |
|
|
54
54
|
| [termsAgreed](./foundation-auth.defaultauthformentrystore.termsagreed.md) | | boolean | |
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [onShowPasswordChanged](./foundation-auth.defaultauthformentrystore.onshowpasswordchanged.md)
|
|
4
4
|
|
|
5
|
-
## DefaultAuthFormEntryStore.
|
|
5
|
+
## DefaultAuthFormEntryStore.onShowPasswordChanged property
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
**Signature:**
|
|
9
9
|
|
|
10
10
|
```typescript
|
|
11
|
-
|
|
11
|
+
onShowPasswordChanged: EventListener;
|
|
12
12
|
```
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
2
2
|
|
|
3
|
-
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [
|
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-auth](./foundation-auth.md) > [DefaultAuthFormEntryStore](./foundation-auth.defaultauthformentrystore.md) > [showPassword](./foundation-auth.defaultauthformentrystore.showpassword.md)
|
|
4
4
|
|
|
5
|
-
## DefaultAuthFormEntryStore.
|
|
5
|
+
## DefaultAuthFormEntryStore.showPassword property
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
**Signature:**
|
|
9
9
|
|
|
10
10
|
```typescript
|
|
11
|
-
|
|
11
|
+
showPassword: boolean;
|
|
12
12
|
```
|
package/docs/api-report.md
CHANGED
|
@@ -122,7 +122,7 @@ export type AuthFormEntryEventMap = {
|
|
|
122
122
|
'auth-email-changed': string;
|
|
123
123
|
'auth-password-changed': string;
|
|
124
124
|
'auth-password2-changed': string;
|
|
125
|
-
'auth-
|
|
125
|
+
'auth-showPassword-changed': boolean;
|
|
126
126
|
'auth-selectedIdp-changed': string;
|
|
127
127
|
'auth-ssoToggled-changed': boolean;
|
|
128
128
|
};
|
|
@@ -154,7 +154,7 @@ export interface AuthFormEntryStore extends Store {
|
|
|
154
154
|
// (undocumented)
|
|
155
155
|
onSelectedIdpChanged(event: CustomEvent<string>): void;
|
|
156
156
|
// (undocumented)
|
|
157
|
-
|
|
157
|
+
onShowPasswordChanged(event: CustomEvent<boolean>): void;
|
|
158
158
|
// (undocumented)
|
|
159
159
|
onSSOToggleChanged(event: CustomEvent<boolean>): void;
|
|
160
160
|
// (undocumented)
|
|
@@ -172,7 +172,7 @@ export interface AuthFormEntryStore extends Store {
|
|
|
172
172
|
// (undocumented)
|
|
173
173
|
readonly selectedIdp: IdentityProvider;
|
|
174
174
|
// (undocumented)
|
|
175
|
-
readonly
|
|
175
|
+
readonly showPassword: boolean;
|
|
176
176
|
// (undocumented)
|
|
177
177
|
readonly ssoLoginUrl: string;
|
|
178
178
|
// (undocumented)
|
|
@@ -477,7 +477,7 @@ export class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEntryStore,
|
|
|
477
477
|
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthFormEntryStore" has more than one declaration; you need to add a TSDoc member reference selector
|
|
478
478
|
//
|
|
479
479
|
// (undocumented)
|
|
480
|
-
|
|
480
|
+
onShowPasswordChanged: EventListener;
|
|
481
481
|
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthFormEntryStore" has more than one declaration; you need to add a TSDoc member reference selector
|
|
482
482
|
//
|
|
483
483
|
// (undocumented)
|
|
@@ -515,7 +515,7 @@ export class DefaultAuthFormEntryStore extends AbstractStore<AuthFormEntryStore,
|
|
|
515
515
|
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthFormEntryStore" has more than one declaration; you need to add a TSDoc member reference selector
|
|
516
516
|
//
|
|
517
517
|
// (undocumented)
|
|
518
|
-
|
|
518
|
+
showPassword: boolean;
|
|
519
519
|
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "AuthFormEntryStore" has more than one declaration; you need to add a TSDoc member reference selector
|
|
520
520
|
//
|
|
521
521
|
// (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.192.
|
|
4
|
+
"version": "14.192.2-axes.2",
|
|
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.192.
|
|
131
|
-
"@genesislcap/genx": "14.192.
|
|
132
|
-
"@genesislcap/rollup-builder": "14.192.
|
|
133
|
-
"@genesislcap/ts-builder": "14.192.
|
|
134
|
-
"@genesislcap/uvu-playwright-builder": "14.192.
|
|
135
|
-
"@genesislcap/vite-builder": "14.192.
|
|
136
|
-
"@genesislcap/webpack-builder": "14.192.
|
|
130
|
+
"@genesislcap/foundation-testing": "14.192.2-axes.2",
|
|
131
|
+
"@genesislcap/genx": "14.192.2-axes.2",
|
|
132
|
+
"@genesislcap/rollup-builder": "14.192.2-axes.2",
|
|
133
|
+
"@genesislcap/ts-builder": "14.192.2-axes.2",
|
|
134
|
+
"@genesislcap/uvu-playwright-builder": "14.192.2-axes.2",
|
|
135
|
+
"@genesislcap/vite-builder": "14.192.2-axes.2",
|
|
136
|
+
"@genesislcap/webpack-builder": "14.192.2-axes.2",
|
|
137
137
|
"rimraf": "^5.0.0"
|
|
138
138
|
},
|
|
139
139
|
"dependencies": {
|
|
140
|
-
"@genesislcap/foundation-comms": "14.192.
|
|
141
|
-
"@genesislcap/foundation-events": "14.192.
|
|
142
|
-
"@genesislcap/foundation-i18n": "14.192.
|
|
143
|
-
"@genesislcap/foundation-logger": "14.192.
|
|
144
|
-
"@genesislcap/foundation-state-machine": "14.192.
|
|
145
|
-
"@genesislcap/foundation-store": "14.192.
|
|
146
|
-
"@genesislcap/foundation-ui": "14.192.
|
|
147
|
-
"@genesislcap/foundation-user": "14.192.
|
|
148
|
-
"@genesislcap/foundation-utils": "14.192.
|
|
149
|
-
"@genesislcap/foundation-zero": "14.192.
|
|
140
|
+
"@genesislcap/foundation-comms": "14.192.2-axes.2",
|
|
141
|
+
"@genesislcap/foundation-events": "14.192.2-axes.2",
|
|
142
|
+
"@genesislcap/foundation-i18n": "14.192.2-axes.2",
|
|
143
|
+
"@genesislcap/foundation-logger": "14.192.2-axes.2",
|
|
144
|
+
"@genesislcap/foundation-state-machine": "14.192.2-axes.2",
|
|
145
|
+
"@genesislcap/foundation-store": "14.192.2-axes.2",
|
|
146
|
+
"@genesislcap/foundation-ui": "14.192.2-axes.2",
|
|
147
|
+
"@genesislcap/foundation-user": "14.192.2-axes.2",
|
|
148
|
+
"@genesislcap/foundation-utils": "14.192.2-axes.2",
|
|
149
|
+
"@genesislcap/foundation-zero": "14.192.2-axes.2",
|
|
150
150
|
"@microsoft/fast-components": "^2.30.6",
|
|
151
151
|
"@microsoft/fast-element": "^1.12.0",
|
|
152
152
|
"@microsoft/fast-foundation": "^2.49.4",
|
|
@@ -167,5 +167,5 @@
|
|
|
167
167
|
"publishConfig": {
|
|
168
168
|
"access": "public"
|
|
169
169
|
},
|
|
170
|
-
"gitHead": "
|
|
170
|
+
"gitHead": "b7ee0f6f803626c4a575826bea4e2df5f8905533"
|
|
171
171
|
}
|