@visma-swno/customer-onboarding-wizard 1.0.3 → 1.0.5
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/README.md +1 -1
- package/dist/components/customer-onboarding-wizard/customer-onboarding-wizard.d.ts +1 -0
- package/dist/components/customer-onboarding-wizard/wizard-step-complete.d.ts +1 -0
- package/dist/components/customer-onboarding-wizard/wizard-step-welcome.d.ts +1 -0
- package/dist/components/customer-onboarding-wizard/wizard-step1-company.d.ts +2 -0
- package/dist/components/customer-onboarding-wizard/wizard-step2-administrators.d.ts +2 -0
- package/dist/components/customer-onboarding-wizard/wizard-step3-partner-access.d.ts +1 -0
- package/dist/core/i18n.service.d.ts +2 -0
- package/dist/index.js +453 -336
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -197,7 +197,7 @@ document.addEventListener('http-error', async (event) => {
|
|
|
197
197
|
**Handled Automatically**: Host application does not need to listen to this event. The component:
|
|
198
198
|
- Displays a red error banner at the top of the wizard
|
|
199
199
|
- Automatically translates error title and message to the user's selected language
|
|
200
|
-
- Supports
|
|
200
|
+
- Supports 6 translation sets: da-DK, en-US, fi-FI, nb-NO, nl-NL, sv-SE (`en-GB` is accepted and served using `en-US` translations)
|
|
201
201
|
- Banner remains visible until the user manually dismisses it by clicking the X button
|
|
202
202
|
- Allows users to report errors to support
|
|
203
203
|
|
|
@@ -7,6 +7,7 @@ import { Translations } from '../../core/i18n.service';
|
|
|
7
7
|
export declare class WizardStepComplete extends LitElement {
|
|
8
8
|
translations: Translations;
|
|
9
9
|
static styles: import('lit').CSSResult[];
|
|
10
|
+
protected firstUpdated(): void;
|
|
10
11
|
private handleClose;
|
|
11
12
|
private handleGoToAdmin;
|
|
12
13
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -8,6 +8,7 @@ export declare class WizardStepWelcome extends LitElement {
|
|
|
8
8
|
userName: string;
|
|
9
9
|
translations: Translations;
|
|
10
10
|
static styles: import('lit').CSSResult[];
|
|
11
|
+
protected firstUpdated(): void;
|
|
11
12
|
private handleStartSetup;
|
|
12
13
|
private handleSaveAndClose;
|
|
13
14
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -35,6 +35,8 @@ export declare class WizardStep1Company extends LitElement {
|
|
|
35
35
|
private selectCountry;
|
|
36
36
|
private handleCountryFocusOut;
|
|
37
37
|
private handleCountryKeydown;
|
|
38
|
+
private handleOptionKeydown;
|
|
39
|
+
protected firstUpdated(): void;
|
|
38
40
|
protected updated(changedProperties: Map<PropertyKey, unknown>): void;
|
|
39
41
|
private handleStepKeydown;
|
|
40
42
|
render(): import('lit-html').TemplateResult<1>;
|
|
@@ -19,6 +19,7 @@ export declare class WizardStep2Administrators extends LitElement {
|
|
|
19
19
|
private isConfirming;
|
|
20
20
|
private rowErrors;
|
|
21
21
|
private _loadSequence;
|
|
22
|
+
protected firstUpdated(): void;
|
|
22
23
|
protected updated(changedProperties: Map<string, unknown>): void;
|
|
23
24
|
private sortAdmins;
|
|
24
25
|
private loadExistingAdmins;
|
|
@@ -41,6 +42,7 @@ export declare class WizardStep2Administrators extends LitElement {
|
|
|
41
42
|
private validateAllRows;
|
|
42
43
|
private lookupUser;
|
|
43
44
|
private handleConfirm;
|
|
45
|
+
private handleAdminTableKeydown;
|
|
44
46
|
private handleSaveAndClose;
|
|
45
47
|
static styles: import('lit').CSSResult[];
|
|
46
48
|
private renderExistingAdminRow;
|
|
@@ -18,6 +18,7 @@ export declare class WizardStep3PartnerAccess extends LitElement {
|
|
|
18
18
|
private selectedIds;
|
|
19
19
|
private searchTerm;
|
|
20
20
|
private _loadSequence;
|
|
21
|
+
protected firstUpdated(): void;
|
|
21
22
|
protected updated(changedProperties: Map<string, unknown>): void;
|
|
22
23
|
private loadConsultants;
|
|
23
24
|
private get filteredConsultants();
|
|
@@ -37,6 +37,7 @@ export interface Translations {
|
|
|
37
37
|
postalCodeLabel: string;
|
|
38
38
|
cityLabel: string;
|
|
39
39
|
countryLabel: string;
|
|
40
|
+
countryLabelWithValue: string;
|
|
40
41
|
webUrlLabel: string;
|
|
41
42
|
emailLabel: string;
|
|
42
43
|
editFormLabel: string;
|
|
@@ -63,6 +64,7 @@ export interface Translations {
|
|
|
63
64
|
title: string;
|
|
64
65
|
description: string;
|
|
65
66
|
findConsultantPlaceholder: string;
|
|
67
|
+
noResultsFound: string;
|
|
66
68
|
loading: string;
|
|
67
69
|
confirmSingular: string;
|
|
68
70
|
confirmPlural: string;
|