@genesislcap/foundation-login 14.176.1-alpha-ed9e3d4.0 → 14.177.1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../../src/main/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAQ7D,OAAO,EAAO,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAoB,MAAM,4BAA4B,CAAC;AAKzE;;GAEG;AACH,eAAO,MAAM,mBAAmB,QAAuB,CAAC;AAExD;;GAEG;AACH,eAAO,MAAM,WAAW,QAAe,CAAC;AAExC;;GAEG;AACH,eAAO,MAAM,eAAe,QAAmB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,cAAc,QAAW,CAAC;AAEvC;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAa,CAAC;AAE3C;;GAEG;AACH,eAAO,MAAM,OAAO,QAAgB,CAAC;AAErC;;GAEG;AACH,eAAO,MAAM,OAAO,QAAW,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;;CAQT,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,CAAC,OAAO,MAAM,CAAC,CAAC,MAAM,OAAO,MAAM,CAAC,CAAC;AAE1D;;;;;;;;GAQG;AACH,wBAAgB,SAAS,CAAC,QAAQ,GAAE,MAA0B,GAAG,OAAO,CAKvE;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,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MAAM,cAAc,8BAA+B,KAAK,GAAG,cAAc,2DAe/E,CAAC;AAEF;;;;GAIG;AACH,qBA2Ba,iBAAkB,SAAQ,iBAAiB;IACtD,iBAAiB;CAIlB;AAED;;GAEG;AACH,qBAoBa,WAAY,SAAQ,iBAAiB;CAAG;AAErD;;GAEG;AACH,eAAO,MAAM,UAAU,kCAAmC,OAAO,SAAS,MAAM,2DAU/E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,YAAY,gCAChB,MAAM,eACD,MAAM,aACR,OAAO,2DAWlB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,qBAAqB,mFAQjC,CAAC;AAEF;;;;GAIG;AACH,qBA0Ba,cAAe,SAAQ,WAAW;IACjC,UAAU,EAAE,MAAM,CAAM;IAC9B,OAAO,EAAE,MAAM,CAAM;IACwB,QAAQ,EAAE,OAAO,CAAS;IAC7E,eAAe;CAGhB;AAED;;GAEG;AACH,qBAuBa,mBAAoB,SAAQ,WAAW;IACK,YAAY,EAAE,OAAO,CAAS;CACtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"forgot-password.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/forgot-password/forgot-password.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,sBAAsB,qEAwBlC,CAAC"}
1
+ {"version":3,"file":"forgot-password.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/forgot-password/forgot-password.template.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,sBAAsB,qEAyBlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"login-form.d.ts","sourceRoot":"","sources":["../../../../src/routes/login-form/login-form.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAKpE,OAAO,EAAE,SAAS,EAAE,MAAM,S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AAY;IAIZ,aAAa;IAOb,KAAK,CAAC,WAAW,EAAE,QAAQ;IAgDjC,IACI,iBAAiB,WAIpB;IAED,IAAI,qBAAqB,YAExB;IAED,IAAI,cAAc,YAEjB;CACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"login-form.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/login-form/login-form.template.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAwH9C,eAAO,MAAM,iBAAiB,gEAiF7B,CAAC"}
1
+ {"version":3,"file":"login-form.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/login-form/login-form.template.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AA2H9C,eAAO,MAAM,iBAAiB,gEAmF7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"request-account.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/request-account/request-account.template.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,sBAAsB,qEAgClC,CAAC"}
1
+ {"version":3,"file":"request-account.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/request-account/request-account.template.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAExD,eAAO,MAAM,sBAAsB,qEA0BlC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"reset-password.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/reset-password/reset-password.template.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,oEAiCjC,CAAC"}
1
+ {"version":3,"file":"reset-password.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/reset-password/reset-password.template.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,eAAO,MAAM,qBAAqB,oEA+BjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"verify.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/verify/verify.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,cAAc,6DAmC1B,CAAC"}
1
+ {"version":3,"file":"verify.template.d.ts","sourceRoot":"","sources":["../../../../src/routes/verify/verify.template.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAEvC,eAAO,MAAM,cAAc,6DAgC1B,CAAC"}
@@ -3,6 +3,7 @@ import { css } from '@microsoft/fast-element';
3
3
  import { DI, Registration } from '@microsoft/fast-foundation';
4
4
  import defaultBackgroundSrc from '../assets/bg.jpg';
5
5
  import defaultLogoSrc from '../assets/genesis-logo-light.svg';
6
+ import localizationResources from '../translation.json';
6
7
  import { logger } from '../utils';
7
8
  /**
8
9
  * @public
@@ -98,6 +99,7 @@ export const defaultLoginConfig = {
98
99
  sso: {
99
100
  identityProvidersPath: 'gwf/sso/list',
100
101
  },
102
+ localizationResources,
101
103
  };
102
104
  /**
103
105
  * LoginConfig DI key.
@@ -7,7 +7,9 @@ import { attr, css, customElement, FASTElement, html, observable, when, } from '
7
7
  import { Container } from '@microsoft/fast-foundation';
8
8
  import { Route } from '@microsoft/fast-router';
9
9
  import { classNames } from '@microsoft/fast-web-utilities';
10
+ import merge from 'lodash/merge';
10
11
  import { defaultLoginConfig, hostUrl, LoginConfig } from '../main/config';
12
+ import { definition } from '../main/main.definition';
11
13
  import { logger } from '../utils';
12
14
  /**
13
15
  * @internal
@@ -24,9 +26,7 @@ export class ConfigHostElement extends FASTElement {
24
26
  this.config = this.container.has(LoginConfig, true)
25
27
  ? this.container.get(LoginConfig)
26
28
  : defaultLoginConfig;
27
- if (this.config.localizationResources) {
28
- this.i18next.addResources(this.config.localizationResources);
29
- }
29
+ this.i18next.addResources(merge(defaultLoginConfig.localizationResources, this.config.localizationResources));
30
30
  super.connectedCallback();
31
31
  }
32
32
  }
@@ -82,7 +82,7 @@ export class BaseRoute extends ConfigHostElement {
82
82
  catch (err) {
83
83
  this.isSubmitting = false;
84
84
  logger.error('Failed to establish connection during onSubmit.', err);
85
- this.setError(this.toLocalisedText("We couldn't connect to our servers to process your request. If the problem persists, contact our support team for help."));
85
+ this.setError(this.toLocalisedText('ERROR_CONNECTION'));
86
86
  }
87
87
  });
88
88
  }
@@ -182,14 +182,14 @@ export class BaseRoute extends ConfigHostElement {
182
182
  catch (err) {
183
183
  this.isSubmitting = false;
184
184
  logger.error('Failed to send message during onSubmit.', err);
185
- this.setError(this.toLocalisedText('We were unable to process your request at this time. Please try again later. If the problem persists, contact our support team for assistance.'));
185
+ this.setError(this.toLocalisedText('ERROR_SEND_MESSAGE_ON_SUBMIT'));
186
186
  }
187
187
  this.queueOnBack(delayBack);
188
188
  this.isSubmitting = false;
189
189
  });
190
190
  }
191
191
  toLocalisedText(text) {
192
- return this.i18next.t(text, { lng: this.i18next.language });
192
+ return this.i18next.t(`${definition.name}:${text}`, { lng: this.i18next.language });
193
193
  }
194
194
  }
195
195
  __decorate([
@@ -283,7 +283,7 @@ export const organisationField = () => html `
283
283
  ?required="${(x) => (x.config.fields.organisation.required === false ? false : true)}"
284
284
  >
285
285
  <span class="form-title">
286
- ${(x) => { var _a; return x.toLocalisedText((_a = x.config.fields.organisation.label) !== null && _a !== void 0 ? _a : 'Organisation'); }}
286
+ ${(x) => { var _a; return x.toLocalisedText((_a = x.config.fields.organisation.label) !== null && _a !== void 0 ? _a : 'ORGANISATION_TITLE'); }}
287
287
  </span>
288
288
  </zero-text-field>
289
289
  `)}
@@ -306,7 +306,7 @@ export const usernameField = () => html `
306
306
  required
307
307
  >
308
308
  <span class="form-title">
309
- ${(x) => { var _a; return x.toLocalisedText((_a = x.config.fields.username.label) !== null && _a !== void 0 ? _a : 'Username'); }}
309
+ ${(x) => { var _a; return x.toLocalisedText((_a = x.config.fields.username.label) !== null && _a !== void 0 ? _a : 'FIELD_USERNAME_TITLE'); }}
310
310
  </span>
311
311
  </zero-text-field>
312
312
  `;
@@ -325,7 +325,7 @@ export const emailField = () => html `
325
325
  required
326
326
  >
327
327
  <span class="form-title">
328
- ${(x) => { var _a; return x.toLocalisedText((_a = x.config.fields.email.label) !== null && _a !== void 0 ? _a : 'Email'); }}
328
+ ${(x) => { var _a; return x.toLocalisedText((_a = x.config.fields.email.label) !== null && _a !== void 0 ? _a : 'FIELD_EMAIL_TITLE'); }}
329
329
  </span>
330
330
  </zero-text-field>
331
331
  `)}
@@ -344,13 +344,13 @@ export const passwordField = (label) => html `
344
344
  required
345
345
  >
346
346
  <span class="form-title">
347
- ${(x) => { var _a; return x.toLocalisedText((_a = label !== null && label !== void 0 ? label : x.config.fields.password.label) !== null && _a !== void 0 ? _a : 'Password'); }}
347
+ ${(x) => { var _a; return x.toLocalisedText((_a = label !== null && label !== void 0 ? label : x.config.fields.password.label) !== null && _a !== void 0 ? _a : 'FIELD_PASSWORD_TITLE'); }}
348
348
  </span>
349
349
  </zero-text-field>
350
350
  `;
351
351
  const password2FieldMeta = {
352
- new: ['new-password', 'New Password'],
353
- confirmation: ['password-confirmation', 'Confirm Password'],
352
+ new: ['new-password', 'FIELD_PASSWORD_NEW_TITLE'],
353
+ confirmation: ['password-confirmation', 'FIELD_PASSWORD_CONFIRM_TITLE'],
354
354
  };
355
355
  /**
356
356
  * @internal
@@ -474,7 +474,7 @@ export const showPasswordsCheckbox = () => html `
474
474
  name="show-passwords"
475
475
  data-test-id="show-passwords"
476
476
  >
477
- ${(x) => x.toLocalisedText('Show Passwords')}
477
+ ${(x) => x.toLocalisedText('FIELD_SHOW_PASSWORD_TITLE')}
478
478
  </zero-checkbox>
479
479
  `;
480
480
  /**
@@ -28,7 +28,7 @@ let ForgotPassword = class ForgotPassword extends BaseRoute {
28
28
  */
29
29
  const returnUrl = `${location.protocol}//${hostEnv}/${this.getSubRoutePath('reset-password')}`;
30
30
  const message = this.messageBuilder.createForgotPasswordMessage(this.orgUsername, returnUrl);
31
- yield this.sendMessage(message, this.toLocalisedText('Please check your inbox for reset instructions.'), undefined, (_a = this.config.messageDelays) === null || _a === void 0 ? void 0 : _a.forgotPassword);
31
+ yield this.sendMessage(message, this.toLocalisedText('FORGOTTEN_PASSWORD_SUCCESS_MESSAGE'), undefined, (_a = this.config.messageDelays) === null || _a === void 0 ? void 0 : _a.forgotPassword);
32
32
  });
33
33
  }
34
34
  };
@@ -6,14 +6,14 @@ export const ForgotPasswordTemplate = html `
6
6
  <zero-card class="card-pd">
7
7
  <div class="column-content">
8
8
  <login-logo></login-logo>
9
- <div class="heading2">${(x) => x.toLocalisedText('Forgotten Password')}</div>
10
- <div class="heading3">${(x) => x.toLocalisedText('Enter your account username')}</div>
9
+ <div class="heading2">${(x) => x.toLocalisedText('FORGOTTEN_PASSWORD_TITLE')}</div>
10
+ <div class="heading3">${(x) => x.toLocalisedText('FORGOTTEN_PASSWORD_SUBTITLE')}</div>
11
11
  </div>
12
12
  <form @submit=${(x) => x.onSubmit()}>
13
13
  ${organisationField()} ${usernameField()}
14
14
  <div class="form-buttons">
15
- ${(x) => submitButton(x.toLocalisedText('Send Recovery Link'))}
16
- ${(x) => backButton(() => x.onBack(), x.toLocalisedText('Back'))}
15
+ ${(x) => submitButton(x.toLocalisedText('FORGOTTEN_PASSWORD_SUBMIT_BUTTON'))}
16
+ ${(x) => backButton(() => x.onBack(), x.toLocalisedText('FORGOTTEN_PASSWORD_BACK_BUTTON'))}
17
17
  </div>
18
18
  <submitting-indicator is-submitting="${(x) => x.isSubmitting}"></submitting-indicator>
19
19
  <login-message
@@ -122,14 +122,14 @@ let LoginForm = class LoginForm extends BaseRoute {
122
122
  logger.debug('fetched IDPs', idps);
123
123
  // it no longer throws, check for 'error' manually
124
124
  if (!idps.length || (idps.length === 1 && ((_a = idps[0]) === null || _a === void 0 ? void 0 : _a.id) === 'error')) {
125
- this.setError(this.toLocalisedText('Failed to fetch identity providers.'));
125
+ this.setError(this.toLocalisedText('LOGIN_FORM_ERROR_FETCH_IDENTITY_PROVIDERS'));
126
126
  }
127
127
  else {
128
128
  this.idps = idps;
129
129
  this.selectedIDP = (_c = (_b = this.idps) === null || _b === void 0 ? void 0 : _b[0]) === null || _c === void 0 ? void 0 : _c.id;
130
130
  }
131
131
  })
132
- .catch(() => this.setError(this.toLocalisedText('Failed to fetch identity providers.')));
132
+ .catch(() => this.setError(this.toLocalisedText('LOGIN_FORM_ERROR_FETCH_IDENTITY_PROVIDERS')));
133
133
  }
134
134
  }
135
135
  get selectedIDPName() {
@@ -182,7 +182,7 @@ let LoginForm = class LoginForm extends BaseRoute {
182
182
  try {
183
183
  const { authToken } = yield this.auth.login(credentials);
184
184
  if (!authToken) {
185
- throw new Error(this.toLocalisedText('Unable to login. Try again later.'));
185
+ throw new Error(this.toLocalisedText('LOGIN_FORM_ERROR_LOGIN'));
186
186
  }
187
187
  this.storeCredentials();
188
188
  let url = this.config.defaultRedirectUrl;
@@ -208,13 +208,13 @@ let LoginForm = class LoginForm extends BaseRoute {
208
208
  this.storeCredentials();
209
209
  this.session.setLocalStorageItem('refreshToken', err.received.REFRESH_AUTH_TOKEN);
210
210
  this.session.setLocalStorageItem('username', this.username);
211
- this.setError(this.toLocalisedText('Please check your inbox for your login link.'));
211
+ this.setError(this.toLocalisedText('LOGIN_FORM_ERROR_HAS_MFA'));
212
212
  return;
213
213
  }
214
214
  if (this.config.fields.organisation &&
215
215
  this.config.fields.organisation.required !== false &&
216
216
  !this.organisation.length) {
217
- this.setError(err.message + this.toLocalisedText('Please fill in Comp Id.'));
217
+ this.setError(err.message + this.toLocalisedText('LOGIN_FORM_ERROR_FILL_IN_COMP'));
218
218
  return;
219
219
  }
220
220
  this.setError(err.message + err.getMessageError());
@@ -226,8 +226,8 @@ let LoginForm = class LoginForm extends BaseRoute {
226
226
  }
227
227
  get connectActionText() {
228
228
  return this.connect.isConnected
229
- ? this.toLocalisedText('Disconnect')
230
- : this.toLocalisedText('Connect');
229
+ ? this.toLocalisedText('LOGIN_FORM_CONNECT_ACTION_WHEN_CONNECTED')
230
+ : this.toLocalisedText('LOGIN_FORM_CONNECT_ACTION_WHEN_DISCONNECTED');
231
231
  }
232
232
  get submitConnectDisabled() {
233
233
  return !this.host;
@@ -4,10 +4,10 @@ import { organisationField, passwordField, showPasswordsCheckbox, usernameField,
4
4
  const regularLogin = html `
5
5
  ${when((login) => !login.ssoToggled, html `
6
6
  ${organisationField()} ${usernameField()} ${passwordField()}
7
- <span class="case-warning">${(x) => x.toLocalisedText('*Fields are case-sensitive')}</span>
7
+ <span class="case-warning">${(x) => x.toLocalisedText('LOGIN_FORM_CASE_WARNING')}</span>
8
8
  ${showPasswordsCheckbox()}
9
9
  <div class="form-buttons">
10
- ${(x) => submitButton(x.toLocalisedText('Login'), 'submit-login', x.submitDisabled)}
10
+ ${(x) => submitButton(x.toLocalisedText('LOGIN_FORM_SUBMIT_BUTTON'), 'submit-login', x.submitDisabled)}
11
11
  <div class="links">
12
12
  <div class="password-links">
13
13
  ${when((x) => !x.config.omitRoutes.includes('forgot-password'), html `
@@ -16,7 +16,7 @@ const regularLogin = html `
16
16
  @click=${(x) => x.onNavigate(x.getSubRoutePath(`forgot-password`))}
17
17
  data-test-id="forgot-password"
18
18
  >
19
- ${(x) => x.toLocalisedText('Forgot Password?')}
19
+ ${(x) => x.toLocalisedText('LOGIN_FORM_FORGOT_PASSWORD_LINK')}
20
20
  </a>
21
21
  `)}
22
22
  ${when((x) => !x.config.omitRoutes.includes('reset-password'), html `
@@ -25,7 +25,7 @@ const regularLogin = html `
25
25
  @click=${(x) => x.onNavigate(x.getSubRoutePath(`reset-password`))}
26
26
  data-test-id="reset-password"
27
27
  >
28
- ${(x) => x.toLocalisedText('Change Password')}
28
+ ${(x) => x.toLocalisedText('LOGIN_FORM_CHANGE_PASSWORD_LINK')}
29
29
  </a>
30
30
  `)}
31
31
  </div>
@@ -36,7 +36,7 @@ const regularLogin = html `
36
36
  @click=${(x) => x.onNavigate(x.getSubRoutePath(`request-account`))}
37
37
  data-test-id="request-account"
38
38
  >
39
- ${(x) => x.toLocalisedText('Request Account')}
39
+ ${(x) => x.toLocalisedText('LOGIN_FORM_REQUEST_ACCOUNT_LINK')}
40
40
  </a>
41
41
  `)}
42
42
  </div>
@@ -54,7 +54,7 @@ const regularLogin = html `
54
54
  const ssoLogin = html `
55
55
  ${when((login) => login.ssoToggled, html `
56
56
  <div class="sso">
57
- <span class="form-title">${(x) => x.toLocalisedText('Providers')}</span>
57
+ <span class="form-title">${(x) => x.toLocalisedText('LOGIN_FORM_SSO_FORM_TITLE')}</span>
58
58
  <zero-select
59
59
  name="sso"
60
60
  data-test-id="sso"
@@ -73,15 +73,13 @@ const ssoLogin = html `
73
73
  data-test-id="sso-login"
74
74
  ?disabled=${(x) => !x.selectedIDP}
75
75
  >
76
- ${(x) => x.toLocalisedText('SSO Login')}
76
+ ${(x) => x.toLocalisedText('LOGIN_FORM_SSO_BUTTON')}
77
77
  </zero-button>
78
78
  </div>
79
79
  `)}
80
80
  `;
81
81
  const httpModeEnabledText = html `
82
- <pre data-test-id="connect-http-mode">
83
- ${(x) => x.toLocalisedText('Http Polling Mode Enabled.')}</pre
84
- >
82
+ <pre data-test-id="connect-http-mode">${(x) => x.toLocalisedText('LOGIN_FORM_HTTP_MODE')}</pre>
85
83
  `;
86
84
  const httpMode = html `
87
85
  ${(x) => (x.connect.httpMode() ? httpModeEnabledText : null)}
@@ -114,7 +112,9 @@ export const LoginFormTemplate = html `
114
112
  data-test-id="connect-host"
115
113
  required
116
114
  >
117
- <span class="form-title">${(x) => x.toLocalisedText('Host')}</span>
115
+ <span class="form-title">
116
+ ${(x) => x.toLocalisedText('LOGIN_FORM_CONNECT_FORM_TITLE')}
117
+ </span>
118
118
  </zero-text-field>
119
119
 
120
120
  ${httpMode}
@@ -129,7 +129,7 @@ export const LoginFormTemplate = html `
129
129
  <zero-card class="card-pd">
130
130
  <div class="column-content">
131
131
  <login-logo></login-logo>
132
- <div class="heading2">${(x) => x.toLocalisedText('Login')}</div>
132
+ <div class="heading2">${(x) => x.toLocalisedText('LOGIN_FORM_TITLE')}</div>
133
133
  </div>
134
134
  <form
135
135
  id="login-form"
@@ -147,8 +147,8 @@ export const LoginFormTemplate = html `
147
147
  data-test-id="sso-toggle"
148
148
  >
149
149
  ${(x) => x.ssoToggled
150
- ? x.toLocalisedText('SSO Enabled') + x.selectedIDPName
151
- : x.toLocalisedText('Enable SSO?')}
150
+ ? x.toLocalisedText('LOGIN_FORM_SSO_CHECKBOX_ENABLED_TITLE') + x.selectedIDPName
151
+ : x.toLocalisedText('LOGIN_FORM_SSO_CHECKBOX')}
152
152
  </zero-checkbox>
153
153
  `)}
154
154
  <login-message
@@ -8,7 +8,7 @@ NotFound = __decorate([
8
8
  customElement({
9
9
  name: 'foundation-login-not-found',
10
10
  template: html `
11
- <h1 data-test-id="not-found">${(x) => x.toLocalisedText('Not found! 404')}</h1>
11
+ <h1 data-test-id="not-found">${(x) => x.toLocalisedText('NOT_FOUND_TITLE')}</h1>
12
12
  `,
13
13
  styles: commonLoginRouteStyles,
14
14
  })
@@ -7,7 +7,7 @@ export const ProtectedTemplate = html `
7
7
  @click=${(x) => x.onLogout()}
8
8
  data-test-id="logout"
9
9
  >
10
- ${(x) => x.toLocalisedText('Logout')}
10
+ ${(x) => x.toLocalisedText('LOGOUT_BUTTON')}
11
11
  </zero-button>
12
12
  </div>
13
13
  `;
@@ -1,13 +1,13 @@
1
1
  import { sync } from '@genesislcap/foundation-utils';
2
2
  import { html } from '@microsoft/fast-element';
3
- import { backButton, emailField, organisationField, password2Field, passwordField, usernameField, } from '../base';
3
+ import { backButton, emailField, organisationField, password2Field, passwordField, submitButton, usernameField, } from '../base';
4
4
  export const RequestAccountTemplate = html `
5
5
  <login-background>
6
6
  <div class="container">
7
7
  <zero-card class="card-pd">
8
8
  <div class="column-content">
9
9
  <login-logo></login-logo>
10
- <div class="heading2">${(x) => x.toLocalisedText('Request Account')}</div>
10
+ <div class="heading2">${(x) => x.toLocalisedText('REQUEST_ACCOUNT_TITLE')}</div>
11
11
  </div>
12
12
  <form @submit=${(x) => x.onSubmit()}>
13
13
  ${organisationField()} ${usernameField()} ${emailField()} ${passwordField()}
@@ -16,14 +16,11 @@ export const RequestAccountTemplate = html `
16
16
  name="terms"
17
17
  :value=${sync((x) => x.termsAgreed, 'boolean')}
18
18
  data-test-id="terms"
19
- :innerHTML="${(x) => x.toLocalisedText('I agree to the <strong>Terms</strong> and <strong>Conditions</strong>')}"
19
+ :innerHTML="${(x) => x.toLocalisedText('REQUEST_ACCOUNT_TERMS_HTML')}"
20
20
  ></zero-checkbox>
21
21
  <div class="form-buttons">
22
- <submit-button
23
- is-submitting="${(x) => x.isSubmitting}"
24
- label="Request Account"
25
- ></submit-button>
26
- ${(x) => backButton(() => x.onBack(), x.toLocalisedText('Back'))}
22
+ ${(x) => submitButton(x.toLocalisedText('REQUEST_ACCOUNT_SUBMIT_BUTTON'))}
23
+ ${(x) => backButton(() => x.onBack(), x.toLocalisedText('REQUEST_ACCOUNT_BUTTON_BACK'))}
27
24
  </div>
28
25
  <login-message message="${(x) => x.message}"></login-message>
29
26
  </form>
@@ -42,7 +42,7 @@ let ResetPassword = class ResetPassword extends BaseRoute {
42
42
  return __awaiter(this, void 0, void 0, function* () {
43
43
  logger.debug('forgot password submission');
44
44
  const message = this.messageBuilder.createForgotPasswordTokenMessage(this.orgUsername, this.passwordResetToken, this.password2);
45
- yield this.sendMessage(message, this.toLocalisedText('Password reset success.'), () => {
45
+ yield this.sendMessage(message, this.toLocalisedText('RESET_PASSWORD_SUCCESS'), () => {
46
46
  this.storeCredentials(this.password2);
47
47
  }, (_a = this.config.messageDelays) === null || _a === void 0 ? void 0 : _a.resetPassword);
48
48
  });
@@ -52,15 +52,15 @@ let ResetPassword = class ResetPassword extends BaseRoute {
52
52
  return __awaiter(this, void 0, void 0, function* () {
53
53
  logger.debug('change password submission');
54
54
  const message = this.messageBuilder.createChangePasswordMessage(this.orgUsername, this.password, this.password2);
55
- yield this.sendMessage(message, this.toLocalisedText('Password change success.'), () => {
55
+ yield this.sendMessage(message, this.toLocalisedText('RESET_PASSWORD_CHANGE_SUCCESS'), () => {
56
56
  this.storeCredentials(this.password2);
57
57
  }, (_a = this.config.messageDelays) === null || _a === void 0 ? void 0 : _a.resetPassword);
58
58
  });
59
59
  }
60
60
  get headingText() {
61
61
  return this.hasPasswordExpired
62
- ? this.toLocalisedText('You are required to change your password')
63
- : this.toLocalisedText('Change Password');
62
+ ? this.toLocalisedText('RESET_PASSWORD_TITLE_WHEN_EXPIRED')
63
+ : this.toLocalisedText('RESET_PASSWORD_TITLE');
64
64
  }
65
65
  };
66
66
  __decorate([
@@ -7,19 +7,17 @@ export const ResetPasswordTemplate = html `
7
7
  <div class="column-content">
8
8
  <login-logo></login-logo>
9
9
  <div class="heading2" data-test-id="heading">${(x) => x.headingText}</div>
10
- <div class="heading3">
11
- ${(x) => x.toLocalisedText('Enter the username registered to your account')}
12
- </div>
10
+ <div class="heading3">${(x) => x.toLocalisedText('RESET_PASSWORD_SUBTITLE')}</div>
13
11
  </div>
14
12
  <form @submit=${(x) => x.onSubmit()} autocomplete="on">
15
13
  ${organisationField()} ${usernameField()}
16
14
  ${when((x) => !x.passwordResetToken, html `
17
- ${(x) => passwordField(x.toLocalisedText('Current Password'))}
15
+ ${(x) => passwordField(x.toLocalisedText('RESET_PASSWORD_PASSWORD_FIELD'))}
18
16
  `)}
19
17
  ${password2Field('new')} ${showPasswordsCheckbox()}
20
18
  <div class="form-buttons">
21
- ${(x) => submitButton(x.toLocalisedText('Current Password'))}
22
- ${(x) => backButton(() => x.onBack(), x.toLocalisedText('Back'))}
19
+ ${(x) => submitButton(x.toLocalisedText('RESET_PASSWORD_SUBMIT_BUTTON'))}
20
+ ${(x) => backButton(() => x.onBack(), x.toLocalisedText('RESET_PASSWORD_BACK_BUTTON'))}
23
21
  </div>
24
22
  <submitting-indicator is-submitting="${(x) => x.isSubmitting}"></submitting-indicator>
25
23
  <login-message
@@ -7,10 +7,8 @@ export const VerifyTemplate = html `
7
7
  <zero-card class="card-pd">
8
8
  <div class="column-content">
9
9
  <login-logo></login-logo>
10
- <div class="heading2">${(x) => x.toLocalisedText("Verify that it's you")}</div>
11
- <div class="heading3">
12
- ${(x) => x.toLocalisedText("We've sent a code to the email address attached to this account.")}
13
- </div>
10
+ <div class="heading2">${(x) => x.toLocalisedText('VERIFY_TITLE')}</div>
11
+ <div class="heading3">${(x) => x.toLocalisedText('VERIFY_SUBTITLE')}</div>
14
12
  </div>
15
13
  <form @submit=${(x) => x.onSubmit()}>
16
14
  <zero-text-field
@@ -21,14 +19,14 @@ export const VerifyTemplate = html `
21
19
  autofocus
22
20
  data-test-id="code"
23
21
  >
24
- <span class="form-title">${(x) => x.toLocalisedText('Verification Code')}</span>
22
+ <span class="form-title">${(x) => x.toLocalisedText('VERIFY_FORM_TITLE')}</span>
25
23
  </zero-text-field>
26
24
  <div class="form-buttons">
27
25
  <submit-button
28
26
  is-submitting="${(x) => x.isSubmitting}"
29
- label="${(x) => x.toLocalisedText('Verify and Login')}"
27
+ label="${(x) => x.toLocalisedText('VERIFY_SUBMIT_BUTTON_LABEL')}"
30
28
  ></submit-button>
31
- ${(x) => backButton(() => x.onBack(), x.toLocalisedText('Back'))}
29
+ ${(x) => backButton(() => x.onBack(), x.toLocalisedText('VERIFY_BACK_BUTTON'))}
32
30
  </div>
33
31
  <login-message message="${(x) => x.message}"></login-message>
34
32
  </form>
@@ -0,0 +1,57 @@
1
+ {
2
+ "en": {
3
+ "foundation-login": {
4
+ "FORGOTTEN_PASSWORD_TITLE": "Forgotten Password",
5
+ "FORGOTTEN_PASSWORD_SUBTITLE": "Enter your account username",
6
+ "FORGOTTEN_PASSWORD_SUBMIT_BUTTON": "Send Recovery Link",
7
+ "FORGOTTEN_PASSWORD_BACK_BUTTON": "Back",
8
+ "FORGOTTEN_PASSWORD_SUCCESS_MESSAGE": "Please check your inbox for reset instructions.",
9
+ "LOGIN_FORM_CASE_WARNING": "*Fields are case-sensitive",
10
+ "LOGIN_FORM_SUBMIT_BUTTON": "Login",
11
+ "LOGIN_FORM_FORGOT_PASSWORD_LINK": "Forgot Password?",
12
+ "LOGIN_FORM_CHANGE_PASSWORD_LINK": "Change Password",
13
+ "LOGIN_FORM_REQUEST_ACCOUNT_LINK": "Request Account",
14
+ "LOGIN_FORM_SSO_FORM_TITLE": "Providers",
15
+ "LOGIN_FORM_SSO_BUTTON": "SSO Login",
16
+ "LOGIN_FORM_HTTP_MODE": "Http Polling Mode Enabled.",
17
+ "LOGIN_FORM_CONNECT_FORM_TITLE": "Host",
18
+ "LOGIN_FORM_TITLE": "Login",
19
+ "LOGIN_FORM_SSO_CHECKBOX": "Enable SSO?",
20
+ "LOGIN_FORM_SSO_CHECKBOX_ENABLED_TITLE": "SSO Enabled",
21
+ "LOGIN_FORM_ERROR_FETCH_IDENTITY_PROVIDERS": "Failed to fetch identity providers.",
22
+ "LOGIN_FORM_ERROR_LOGIN": "Unable to login. Try again later.",
23
+ "LOGIN_FORM_ERROR_HAS_MFA": "Please check your inbox for your login link.",
24
+ "LOGIN_FORM_ERROR_FILL_IN_COMP": "Please fill in Comp Id.",
25
+ "LOGIN_FORM_CONNECT_ACTION_WHEN_CONNECTED": "Disconnect",
26
+ "LOGIN_FORM_CONNECT_ACTION_WHEN_DISCONNECTED": "Connect",
27
+ "NOT_FOUND_TITLE": "Not found! 404",
28
+ "LOGOUT_BUTTON": "Logout",
29
+ "REQUEST_ACCOUNT_TITLE": "Request Account",
30
+ "REQUEST_ACCOUNT_TERMS_HTML": "I agree to the <strong>Terms</strong> and <strong>Conditions</strong>",
31
+ "REQUEST_ACCOUNT_BUTTON_BACK": "Back",
32
+ "REQUEST_ACCOUNT_SUBMIT_BUTTON": "Request Account",
33
+ "RESET_PASSWORD_TITLE": "Change Password",
34
+ "RESET_PASSWORD_TITLE_WHEN_EXPIRED": "You are required to change your password",
35
+ "RESET_PASSWORD_SUBTITLE": "Enter the username registered to your account",
36
+ "RESET_PASSWORD_SUCCESS": "Password reset success.",
37
+ "RESET_PASSWORD_CHANGE_SUCCESS": "Password change success.",
38
+ "RESET_PASSWORD_PASSWORD_FIELD": "Current Password",
39
+ "RESET_PASSWORD_SUBMIT_BUTTON": "Current Password",
40
+ "RESET_PASSWORD_BACK_BUTTON": "Back",
41
+ "VERIFY_TITLE": "Verify that it's you",
42
+ "VERIFY_SUBTITLE": "We've sent a code to the email address attached to this account.",
43
+ "VERIFY_FORM_TITLE": "Verification Code",
44
+ "VERIFY_SUBMIT_BUTTON_LABEL": "Verify and Login",
45
+ "VERIFY_BACK_BUTTON": "Back",
46
+ "ERROR_CONNECTION": "We couldn't connect to our servers to process your request. If the problem persists, contact our support team for help.",
47
+ "ERROR_SEND_MESSAGE_ON_SUBMIT": "We were unable to process your request at this time. Please try again later. If the problem persists, contact our support team for assistance.",
48
+ "FIELD_ORGANISATION_TITLE": "Organisation",
49
+ "FIELD_USERNAME_TITLE": "Username",
50
+ "FIELD_EMAIL_TITLE": "Email",
51
+ "FIELD_PASSWORD_TITLE": "Password",
52
+ "FIELD_PASSWORD_NEW_TITLE": "New Password",
53
+ "FIELD_PASSWORD_CONFIRM_TITLE": "Confirm Password",
54
+ "FIELD_SHOW_PASSWORD_TITLE": "Show Passwords"
55
+ }
56
+ }
57
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-login",
3
3
  "description": "Genesis Foundation Login",
4
- "version": "14.176.1-alpha-ed9e3d4.0",
4
+ "version": "14.177.1",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/foundation-login.d.ts",
@@ -59,27 +59,28 @@
59
59
  "test:debug": "genx test --debug"
60
60
  },
61
61
  "devDependencies": {
62
- "@genesislcap/foundation-testing": "14.176.1-alpha-ed9e3d4.0",
63
- "@genesislcap/genx": "14.176.1-alpha-ed9e3d4.0",
64
- "@genesislcap/rollup-builder": "14.176.1-alpha-ed9e3d4.0",
65
- "@genesislcap/ts-builder": "14.176.1-alpha-ed9e3d4.0",
66
- "@genesislcap/uvu-playwright-builder": "14.176.1-alpha-ed9e3d4.0",
67
- "@genesislcap/vite-builder": "14.176.1-alpha-ed9e3d4.0",
68
- "@genesislcap/webpack-builder": "14.176.1-alpha-ed9e3d4.0",
62
+ "@genesislcap/foundation-testing": "14.177.1",
63
+ "@genesislcap/genx": "14.177.1",
64
+ "@genesislcap/rollup-builder": "14.177.1",
65
+ "@genesislcap/ts-builder": "14.177.1",
66
+ "@genesislcap/uvu-playwright-builder": "14.177.1",
67
+ "@genesislcap/vite-builder": "14.177.1",
68
+ "@genesislcap/webpack-builder": "14.177.1",
69
69
  "rimraf": "^3.0.2"
70
70
  },
71
71
  "dependencies": {
72
- "@genesislcap/foundation-comms": "14.176.1-alpha-ed9e3d4.0",
73
- "@genesislcap/foundation-i18n": "14.176.1-alpha-ed9e3d4.0",
74
- "@genesislcap/foundation-logger": "14.176.1-alpha-ed9e3d4.0",
75
- "@genesislcap/foundation-ui": "14.176.1-alpha-ed9e3d4.0",
76
- "@genesislcap/foundation-utils": "14.176.1-alpha-ed9e3d4.0",
77
- "@genesislcap/foundation-zero": "14.176.1-alpha-ed9e3d4.0",
72
+ "@genesislcap/foundation-comms": "14.177.1",
73
+ "@genesislcap/foundation-i18n": "14.177.1",
74
+ "@genesislcap/foundation-logger": "14.177.1",
75
+ "@genesislcap/foundation-ui": "14.177.1",
76
+ "@genesislcap/foundation-utils": "14.177.1",
77
+ "@genesislcap/foundation-zero": "14.177.1",
78
78
  "@microsoft/fast-components": "^2.30.6",
79
79
  "@microsoft/fast-element": "^1.12.0",
80
80
  "@microsoft/fast-foundation": "^2.49.4",
81
81
  "@microsoft/fast-router": "^0.4.8",
82
82
  "@microsoft/fast-web-utilities": "^5.4.1",
83
+ "lodash": "^4.17.21",
83
84
  "tslib": "^2.3.1"
84
85
  },
85
86
  "repository": {
@@ -91,5 +92,5 @@
91
92
  "access": "public"
92
93
  },
93
94
  "customElements": "dist/custom-elements.json",
94
- "gitHead": "6445272a68d360b0f5bb97adc641df806470957e"
95
+ "gitHead": "c07c95144c7ef605e038161300877aea756dcc28"
95
96
  }