@qonto/embed-sdk 0.45.0 → 0.47.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.
- package/dist/beneficiaries/beneficiaries.d.ts.map +1 -1
- package/dist/cards/cards.d.ts.map +1 -1
- package/dist/cards/cards.helper.d.ts.map +1 -1
- package/dist/common/common.test.d.ts +2 -0
- package/dist/common/common.test.d.ts.map +1 -0
- package/dist/common/common.utils.d.ts +3 -0
- package/dist/common/common.utils.d.ts.map +1 -0
- package/dist/common/environment/environment-manager.d.ts +2 -2
- package/dist/common/environment/environment-manager.d.ts.map +1 -1
- package/dist/common/network/network.d.ts.map +1 -1
- package/dist/common/operation-settings/operation-settings.d.ts +2 -2
- package/dist/common/operation-settings/operation-settings.d.ts.map +1 -1
- package/dist/errors/EmbedApiError.d.ts +9 -1
- package/dist/errors/EmbedApiError.d.ts.map +1 -1
- package/dist/iframe/embed-iframe.d.ts +2 -1
- package/dist/iframe/embed-iframe.d.ts.map +1 -1
- package/dist/iframe/iframe-manager.d.ts +2 -1
- package/dist/iframe/iframe-manager.d.ts.map +1 -1
- package/dist/index.umd.js +56 -56
- package/dist/mocks/handlers.d.ts +3 -0
- package/dist/mocks/handlers.d.ts.map +1 -1
- package/dist/mocks/node.d.ts +1 -1
- package/dist/mocks/node.d.ts.map +1 -1
- package/dist/organizations/index.d.ts +1 -0
- package/dist/organizations/index.d.ts.map +1 -1
- package/dist/organizations/organizations.api.d.ts +14 -2
- package/dist/organizations/organizations.api.d.ts.map +1 -1
- package/dist/organizations/organizations.d.ts +12 -1
- package/dist/organizations/organizations.d.ts.map +1 -1
- package/dist/organizations/organizations.public-api.d.ts +2 -2
- package/dist/organizations/organizations.public-api.d.ts.map +1 -1
- package/dist/organizations/organizations.serializer.d.ts +2 -1
- package/dist/organizations/organizations.serializer.d.ts.map +1 -1
- package/dist/organizations/organizations.types.d.ts +40 -10
- package/dist/organizations/organizations.types.d.ts.map +1 -1
- package/dist/sepa-transfers/bulk-transfers/bulk-transfers.d.ts.map +1 -1
- package/dist/src/common/common.utils.js +1 -0
- package/dist/src/common/environment/environment-manager.js +1 -1
- package/dist/src/common/network/network.js +1 -1
- package/dist/src/errors/EmbedApiError.js +1 -1
- package/dist/src/iframe/embed-iframe.js +1 -1
- package/dist/src/iframe/iframe-manager.js +1 -1
- package/dist/src/organizations/organizations.api.js +1 -1
- package/dist/src/organizations/organizations.js +1 -1
- package/dist/src/organizations/organizations.public-api.js +1 -1
- package/dist/src/organizations/organizations.serializer.js +1 -1
- package/dist/src/sepa-transfers/bulk-transfers/bulk-transfers.api.js +1 -1
- package/dist/src/ui/ui-elements/transfer-list/create-transfer-list-element.js +1 -0
- package/dist/src/ui/{customizable-components → ui-elements}/transfer-list/transfer-list.js +3 -3
- package/dist/src/ui/ui-elements/transfer-list/transfer-list.utils.js +1 -0
- package/dist/src/ui/ui-elements.js +1 -1
- package/dist/src/validation/operation-settings-validation.js +1 -1
- package/dist/ui/customizable-components/amount-field/qonto-amount-field.d.ts +46 -0
- package/dist/ui/customizable-components/amount-field/qonto-amount-field.d.ts.map +1 -0
- package/dist/ui/customizable-components/amount-field/qonto-amount-field.styles.d.ts +2 -0
- package/dist/ui/customizable-components/amount-field/qonto-amount-field.styles.d.ts.map +1 -0
- package/dist/ui/customizable-components/amount-field/qonto-amount-field.utils.d.ts +32 -0
- package/dist/ui/customizable-components/amount-field/qonto-amount-field.utils.d.ts.map +1 -0
- package/dist/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts +14 -0
- package/dist/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.d.ts.map +1 -0
- package/dist/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.styles.d.ts +2 -0
- package/dist/ui/customizable-components/beneficiary-card/qonto-beneficiary-card.styles.d.ts.map +1 -0
- package/dist/ui/customizable-components/lottie-player/index.d.ts +3 -0
- package/dist/ui/customizable-components/lottie-player/index.d.ts.map +1 -0
- package/dist/ui/customizable-components/lottie-player/qonto-lottie-player.d.ts +17 -0
- package/dist/ui/customizable-components/lottie-player/qonto-lottie-player.d.ts.map +1 -0
- package/dist/ui/customizable-components/lottie-player/qonto-lottie-player.styles.d.ts +2 -0
- package/dist/ui/customizable-components/lottie-player/qonto-lottie-player.styles.d.ts.map +1 -0
- package/dist/ui/customizable-components/lottie-player/qonto-lottie-player.types.d.ts +6 -0
- package/dist/ui/customizable-components/lottie-player/qonto-lottie-player.types.d.ts.map +1 -0
- package/dist/ui/customizable-components/select-field/index.d.ts +3 -0
- package/dist/ui/customizable-components/select-field/index.d.ts.map +1 -0
- package/dist/ui/customizable-components/select-field/qonto-option.d.ts +48 -0
- package/dist/ui/customizable-components/select-field/qonto-option.d.ts.map +1 -0
- package/dist/ui/customizable-components/select-field/qonto-select-field.d.ts +111 -0
- package/dist/ui/customizable-components/select-field/qonto-select-field.d.ts.map +1 -0
- package/dist/ui/customizable-components/select-field/qonto-select-field.styles.d.ts +2 -0
- package/dist/ui/customizable-components/select-field/qonto-select-field.styles.d.ts.map +1 -0
- package/dist/ui/customizable-components/text-field/index.d.ts +2 -0
- package/dist/ui/customizable-components/text-field/index.d.ts.map +1 -0
- package/dist/ui/customizable-components/text-field/qonto-text-field.d.ts +31 -0
- package/dist/ui/customizable-components/text-field/qonto-text-field.d.ts.map +1 -0
- package/dist/ui/customizable-components/text-field/qonto-text-field.styles.d.ts +2 -0
- package/dist/ui/customizable-components/text-field/qonto-text-field.styles.d.ts.map +1 -0
- package/dist/ui/customizable-components/utils/storybook-define-custom-props-from-css.d.ts +14 -0
- package/dist/ui/customizable-components/utils/storybook-define-custom-props-from-css.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/configure-localization.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/generated/locale-codes.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/generated/locales/de.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/generated/locales/es.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/generated/locales/fr.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/generated/locales/it.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/generated/locales/nl.d.ts.map +1 -0
- package/dist/ui/ui-elements/localize/generated/locales/pt.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts +13 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts +25 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.d.ts +2 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts +4 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts +53 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.d.ts +2 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts +11 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.styles.d.ts +2 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.styles.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts +12 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.d.ts +2 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts +25 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.d.ts +2 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts +53 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts +41 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.styles.d.ts +2 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.styles.d.ts.map +1 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.utils.d.ts +7 -0
- package/dist/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.utils.d.ts.map +1 -0
- package/dist/ui/ui-elements/{transfer-list.d.ts → transfer-list/create-transfer-list-element.d.ts} +2 -1
- package/dist/ui/ui-elements/transfer-list/create-transfer-list-element.d.ts.map +1 -0
- package/dist/ui/{customizable-components → ui-elements}/transfer-list/transfer-list.d.ts +2 -2
- package/dist/ui/ui-elements/transfer-list/transfer-list.d.ts.map +1 -0
- package/dist/ui/ui-elements/transfer-list/transfer-list.events.d.ts.map +1 -0
- package/dist/ui/ui-elements/transfer-list/transfer-list.styles.d.ts.map +1 -0
- package/dist/ui/{customizable-components → ui-elements}/transfer-list/transfer-list.utils.d.ts +2 -2
- package/dist/ui/ui-elements/transfer-list/transfer-list.utils.d.ts.map +1 -0
- package/dist/ui/ui-elements.d.ts +0 -1
- package/dist/ui/ui-elements.d.ts.map +1 -1
- package/dist/validation/operation-settings-validation.d.ts +2 -1
- package/dist/validation/operation-settings-validation.d.ts.map +1 -1
- package/package.json +16 -3
- package/dist/src/errors/EmbedUIElementError.js +0 -1
- package/dist/src/ui/customizable-components/transfer-list/transfer-list.utils.js +0 -1
- package/dist/src/ui/ui-elements/transfer-list.js +0 -1
- package/dist/ui/customizable-components/index.d.ts +0 -2
- package/dist/ui/customizable-components/index.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/configure-localization.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/generated/locale-codes.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/generated/locales/de.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/generated/locales/es.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/generated/locales/fr.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/generated/locales/it.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/generated/locales/nl.d.ts.map +0 -1
- package/dist/ui/customizable-components/localize/generated/locales/pt.d.ts.map +0 -1
- package/dist/ui/customizable-components/transfer-list/transfer-list.d.ts.map +0 -1
- package/dist/ui/customizable-components/transfer-list/transfer-list.events.d.ts.map +0 -1
- package/dist/ui/customizable-components/transfer-list/transfer-list.styles.d.ts.map +0 -1
- package/dist/ui/customizable-components/transfer-list/transfer-list.utils.d.ts.map +0 -1
- package/dist/ui/ui-elements/transfer-list.d.ts.map +0 -1
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/configure-localization.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/generated/locale-codes.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/generated/locales/de.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/generated/locales/es.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/generated/locales/fr.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/generated/locales/it.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/generated/locales/nl.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/localize/generated/locales/pt.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/transfer-list/transfer-list.events.js +0 -0
- /package/dist/src/ui/{customizable-components → ui-elements}/transfer-list/transfer-list.styles.js +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/configure-localization.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/generated/locale-codes.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/generated/locales/de.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/generated/locales/es.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/generated/locales/fr.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/generated/locales/it.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/generated/locales/nl.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/localize/generated/locales/pt.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/transfer-list/transfer-list.events.d.ts +0 -0
- /package/dist/ui/{customizable-components → ui-elements}/transfer-list/transfer-list.styles.d.ts +0 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* QontoOption - A composable option element for qonto-select-field
|
|
4
|
+
*
|
|
5
|
+
* This component represents a single option within a qonto-select-field.
|
|
6
|
+
* It accepts custom content through its default slot and communicates
|
|
7
|
+
* with its parent select field component.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```html
|
|
11
|
+
* <qonto-option value="acc1">
|
|
12
|
+
* <div class="account-card">
|
|
13
|
+
* <span>Main Account</span>
|
|
14
|
+
* <span>€12,345.67</span>
|
|
15
|
+
* </div>
|
|
16
|
+
* </qonto-option>
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare class QontoOption extends LitElement {
|
|
20
|
+
static styles: import("lit").CSSResult;
|
|
21
|
+
/**
|
|
22
|
+
* The value associated with this option
|
|
23
|
+
* This is what gets emitted when the option is selected
|
|
24
|
+
*/
|
|
25
|
+
value: string;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this option is disabled
|
|
28
|
+
* Disabled options cannot be selected
|
|
29
|
+
*/
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Internal attribute to track if this option is selected
|
|
33
|
+
* Managed by the parent qonto-select-field component
|
|
34
|
+
*/
|
|
35
|
+
selected: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Internal attribute to track if this option is focused
|
|
38
|
+
* Managed by the parent qonto-select-field component
|
|
39
|
+
*/
|
|
40
|
+
focused: boolean;
|
|
41
|
+
render(): import("lit").TemplateResult<1>;
|
|
42
|
+
}
|
|
43
|
+
declare global {
|
|
44
|
+
interface HTMLElementTagNameMap {
|
|
45
|
+
'qonto-option': QontoOption;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=qonto-option.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-option.d.ts","sourceRoot":"","sources":["../../../../src/ui/customizable-components/select-field/qonto-option.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C;;;;;;;;;;;;;;;;GAgBG;AACH,qBACa,WAAY,SAAQ,UAAU;IACzC,MAAM,CAAC,MAAM,0BAIX;IAEF;;;OAGG;IAEH,KAAK,EAAE,MAAM,CAAM;IAEnB;;;OAGG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;;OAGG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;;OAGG;IAEH,OAAO,EAAE,OAAO,CAAS;IAEzB,MAAM;CAGP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../styles/styles.css';
|
|
3
|
+
export declare class QontoSelectField extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
/**
|
|
6
|
+
* The ID of the select element
|
|
7
|
+
*/
|
|
8
|
+
id: string;
|
|
9
|
+
/**
|
|
10
|
+
* Label text displayed above the select field
|
|
11
|
+
*/
|
|
12
|
+
label: string;
|
|
13
|
+
/**
|
|
14
|
+
* Placeholder text shown when no option is selected
|
|
15
|
+
*/
|
|
16
|
+
placeholder: string;
|
|
17
|
+
/**
|
|
18
|
+
* Currently selected value
|
|
19
|
+
*/
|
|
20
|
+
value: string;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the select field is disabled
|
|
23
|
+
*/
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the select field is in an error state
|
|
27
|
+
*/
|
|
28
|
+
error: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Error message to display below the select field
|
|
31
|
+
*/
|
|
32
|
+
errorMessage: string;
|
|
33
|
+
/**
|
|
34
|
+
* Whether the select field is read-only
|
|
35
|
+
*/
|
|
36
|
+
readonly: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Whether the dropdown is currently open
|
|
39
|
+
*/
|
|
40
|
+
private isOpen;
|
|
41
|
+
/**
|
|
42
|
+
* Index of the currently focused option (for keyboard navigation)
|
|
43
|
+
*/
|
|
44
|
+
private focusedIndex;
|
|
45
|
+
/**
|
|
46
|
+
* Cached array of option elements
|
|
47
|
+
*/
|
|
48
|
+
private optionElements;
|
|
49
|
+
private dropdownElement?;
|
|
50
|
+
private triggerElement?;
|
|
51
|
+
private optionsSlot?;
|
|
52
|
+
/**
|
|
53
|
+
* Computed property that returns true if error styles should be shown
|
|
54
|
+
* (either error is explicitly true or errorMessage is provided)
|
|
55
|
+
*/
|
|
56
|
+
private get hasError();
|
|
57
|
+
/**
|
|
58
|
+
* Handle click outside to close dropdown
|
|
59
|
+
*/
|
|
60
|
+
private handleClickOutside;
|
|
61
|
+
connectedCallback(): void;
|
|
62
|
+
disconnectedCallback(): void;
|
|
63
|
+
firstUpdated(): void;
|
|
64
|
+
/**
|
|
65
|
+
* Update option elements cache when children change
|
|
66
|
+
*/
|
|
67
|
+
private handleSlotChange;
|
|
68
|
+
/**
|
|
69
|
+
* Update selected and focused states on option elements
|
|
70
|
+
*/
|
|
71
|
+
private updateOptionStates;
|
|
72
|
+
/**
|
|
73
|
+
* Scroll the focused option into view
|
|
74
|
+
*/
|
|
75
|
+
private scrollFocusedOptionIntoView;
|
|
76
|
+
/**
|
|
77
|
+
* Watch for value changes to update option states
|
|
78
|
+
*/
|
|
79
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
80
|
+
/**
|
|
81
|
+
* Toggle dropdown open/close
|
|
82
|
+
*/
|
|
83
|
+
private toggleDropdown;
|
|
84
|
+
/**
|
|
85
|
+
* Close dropdown
|
|
86
|
+
*/
|
|
87
|
+
private closeDropdown;
|
|
88
|
+
/**
|
|
89
|
+
* Handle option selection
|
|
90
|
+
*/
|
|
91
|
+
private selectOption;
|
|
92
|
+
/**
|
|
93
|
+
* Handle keyboard navigation
|
|
94
|
+
*/
|
|
95
|
+
private handleKeyDown;
|
|
96
|
+
/**
|
|
97
|
+
* Render the selected value display by cloning the selected option's content
|
|
98
|
+
*/
|
|
99
|
+
private renderSelectedDisplay;
|
|
100
|
+
/**
|
|
101
|
+
* Handle option click from the dropdown
|
|
102
|
+
*/
|
|
103
|
+
private handleOptionClick;
|
|
104
|
+
render(): import("lit").TemplateResult<1>;
|
|
105
|
+
}
|
|
106
|
+
declare global {
|
|
107
|
+
interface HTMLElementTagNameMap {
|
|
108
|
+
'qonto-select-field': QontoSelectField;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=qonto-select-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-select-field.d.ts","sourceRoot":"","sources":["../../../../src/ui/customizable-components/select-field/qonto-select-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAIvC,OAAO,sBAAsB,CAAC;AAE9B,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,MAAM,CAAC,MAAM,0BAA0B;IAEvC;;OAEG;IAEH,EAAE,EAAE,MAAM,CAAuB;IAEjC;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAM;IAEnB;;OAEG;IAEH,WAAW,EAAE,MAAM,CAAsB;IAEzC;;OAEG;IAEH,KAAK,EAAE,MAAM,CAAM;IAEnB;;OAEG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;OAEG;IAEH,KAAK,EAAE,OAAO,CAAS;IAEvB;;OAEG;IAEH,YAAY,EAAE,MAAM,CAAM;IAE1B;;OAEG;IAEH,QAAQ,EAAE,OAAO,CAAS;IAE1B;;OAEG;IAEH,OAAO,CAAC,MAAM,CAAkB;IAEhC;;OAEG;IAEH,OAAO,CAAC,YAAY,CAAc;IAElC;;OAEG;IAEH,OAAO,CAAC,cAAc,CAAqB;IAG3C,OAAO,CAAC,eAAe,CAAC,CAAc;IAGtC,OAAO,CAAC,cAAc,CAAC,CAAc;IAGrC,OAAO,CAAC,WAAW,CAAC,CAAkB;IAEtC;;;OAGG;IACH,OAAO,KAAK,QAAQ,GAEnB;IAED;;OAEG;IACH,OAAO,CAAC,kBAAkB,CAKxB;IAEF,iBAAiB;IAKjB,oBAAoB;IAKpB,YAAY;IAiBZ;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAOxB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IAO1B;;OAEG;IACH,OAAO,CAAC,2BAA2B;IAmBnC;;OAEG;IACH,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAkB/C;;OAEG;IACH,OAAO,CAAC,cAAc;IAoBtB;;OAEG;IACH,OAAO,CAAC,aAAa;IAKrB;;OAEG;IACH,OAAO,CAAC,YAAY;IAgBpB;;OAEG;IACH,OAAO,CAAC,aAAa;IA0DrB;;OAEG;IACH,OAAO,CAAC,qBAAqB;IAsB7B;;OAEG;IACH,OAAO,CAAC,iBAAiB;IAQzB,MAAM;CA4FP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,oBAAoB,EAAE,gBAAgB,CAAC;KACxC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-select-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/ui/customizable-components/select-field/qonto-select-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,sBAAsB,yBA8TlC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/customizable-components/text-field/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../styles/styles.css';
|
|
3
|
+
export declare class QontoTextField extends LitElement {
|
|
4
|
+
static styles: import("lit").CSSResult;
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
placeholder: string;
|
|
8
|
+
value: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Whether the text field is in an error state
|
|
12
|
+
*/
|
|
13
|
+
error: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Error message to display below the text field
|
|
16
|
+
*/
|
|
17
|
+
errorMessage: string;
|
|
18
|
+
/**
|
|
19
|
+
* Computed property that returns true if error styles should be shown
|
|
20
|
+
* (either error is explicitly true or errorMessage is provided)
|
|
21
|
+
*/
|
|
22
|
+
private get hasError();
|
|
23
|
+
private handleInput;
|
|
24
|
+
render(): import("lit").TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
declare global {
|
|
27
|
+
interface HTMLElementTagNameMap {
|
|
28
|
+
'qonto-text-field': QontoTextField;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=qonto-text-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-text-field.d.ts","sourceRoot":"","sources":["../../../../src/ui/customizable-components/text-field/qonto-text-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAGvC,OAAO,sBAAsB,CAAC;AAE9B,qBACa,cAAe,SAAQ,UAAU;IAC5C,MAAM,CAAC,MAAM,0BAAwB;IAGrC,EAAE,EAAE,MAAM,CAAM;IAGhB,KAAK,EAAE,MAAM,CAAM;IAGnB,WAAW,EAAE,MAAM,CAAiB;IAGpC,KAAK,EAAE,MAAM,CAAM;IAGnB,QAAQ,EAAE,OAAO,CAAS;IAE1B;;OAEG;IAEH,KAAK,EAAE,OAAO,CAAS;IAEvB;;OAEG;IAEH,YAAY,EAAE,MAAM,CAAM;IAE1B;;;OAGG;IACH,OAAO,KAAK,QAAQ,GAEnB;IAED,OAAO,CAAC,WAAW;IAcnB,MAAM;CAgCP;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,kBAAkB,EAAE,cAAc,CAAC;KACpC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qonto-text-field.styles.d.ts","sourceRoot":"","sources":["../../../../src/ui/customizable-components/text-field/qonto-text-field.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,yBAmJhC,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const CUSTOM_CSS_PREFIX = "custom-props-css";
|
|
2
|
+
/**
|
|
3
|
+
* A Storybook decorator that adds a link to a CSS file in the document head if not already present.
|
|
4
|
+
* Useful for loading custom properties from CSS files to style components in stories.
|
|
5
|
+
* @param pathToCSSFile - The path to the CSS file to be added.
|
|
6
|
+
*/
|
|
7
|
+
export declare function decorateStoryWithCustomPropsFromCss(pathToCSSFile: string): (storyFn: () => string) => import("lit").TemplateResult<1>;
|
|
8
|
+
/**
|
|
9
|
+
* Removes all custom CSS links from the document. It is meant to be setup as a global decorator in
|
|
10
|
+
* preview.tsx to ensure a clean state between stories.
|
|
11
|
+
* @param storyFn - The story function to be executed after removing the CSS links.
|
|
12
|
+
*/
|
|
13
|
+
export declare const removeCustomCssLinks: (storyFn: () => string) => string;
|
|
14
|
+
//# sourceMappingURL=storybook-define-custom-props-from-css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"storybook-define-custom-props-from-css.d.ts","sourceRoot":"","sources":["../../../../src/ui/customizable-components/utils/storybook-define-custom-props-from-css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,qBAAqB,CAAC;AAEpD;;;;GAIG;AACH,wBAAgB,mCAAmC,CAAC,aAAa,EAAE,MAAM,IAC/D,SAAS,MAAM,MAAM,qCAkB9B;AAED;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,SAAS,MAAM,MAAM,WAIzD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"configure-localization.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/localize/configure-localization.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAQ,SAAS;;GAAE,SAAS;;CAMjC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"locale-codes.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/localize/generated/locale-codes.ts"],"names":[],"mappings":"AAGA;;GAEG;AACH,eAAO,MAAM,YAAY,OAAO,CAAC;AAEjC;;;GAGG;AACH,eAAO,MAAM,aAAa,+CAAgD,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,UAAU,qDAAsD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"de.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/localize/generated/locales/de.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"es.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/localize/generated/locales/es.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/localize/generated/locales/fr.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"it.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/localize/generated/locales/it.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nl.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/localize/generated/locales/nl.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pt.d.ts","sourceRoot":"","sources":["../../../../../../src/ui/ui-elements/localize/generated/locales/pt.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;CAgBrB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import './sepa-transfer-creation';
|
|
2
|
+
import type { UIElementCreatorParams } from '@ui/ui-elements.types';
|
|
3
|
+
/**
|
|
4
|
+
* Creates and renders a SEPA transfer creation UI element.
|
|
5
|
+
* The component provides a form interface for users to create new SEPA transfers.
|
|
6
|
+
*
|
|
7
|
+
* @param params - Object containing:
|
|
8
|
+
* - containerElement: The DOM element where the component will be appended
|
|
9
|
+
* - operationSettings: Settings passed to the component (accessToken, proxyRequestFunction, locale, etc.)
|
|
10
|
+
* - uiElementSettings: Optional settings including event listeners
|
|
11
|
+
*/
|
|
12
|
+
export declare function createSepaTransferCreationElement({ containerElement, uiElementSettings, operationSettings, }: UIElementCreatorParams<never>): void;
|
|
13
|
+
//# sourceMappingURL=create-sepa-transfer-creation-element.d.ts.map
|
package/dist/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-sepa-transfer-creation-element.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/create-sepa-transfer-creation-element.ts"],"names":[],"mappings":"AAAA,OAAO,0BAA0B,CAAC;AAClC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAIpE;;;;;;;;GAQG;AACH,wBAAgB,iCAAiC,CAAC,EAChD,gBAAgB,EAChB,iBAAiB,EACjB,iBAAiB,GAClB,EAAE,sBAAsB,CAAC,KAAK,CAAC,GAAG,IAAI,CA+BtC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../../../customizable-components/styles/styles.css';
|
|
3
|
+
import '../../../customizable-components/text/qonto-text-heading.ts';
|
|
4
|
+
import '../../../customizable-components/text/qonto-text-body.ts';
|
|
5
|
+
import '../../../customizable-components/button/qonto-button.ts';
|
|
6
|
+
import '../../../customizable-components/beneficiary-card/qonto-beneficiary-card.ts';
|
|
7
|
+
import type { OperationSettings } from '@validation/operation-settings-validation.ts';
|
|
8
|
+
/**
|
|
9
|
+
* Step 1: Recipient Information
|
|
10
|
+
* Collects recipient name and IBAN for the SEPA transfer.
|
|
11
|
+
*/
|
|
12
|
+
export declare class BeneficiarySelectionPage extends LitElement {
|
|
13
|
+
static styles: import("lit").CSSResult;
|
|
14
|
+
operationSettings: OperationSettings | undefined;
|
|
15
|
+
locale: string;
|
|
16
|
+
private beneficiaries;
|
|
17
|
+
private paginationState;
|
|
18
|
+
private isLoading;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
21
|
+
private fetchBeneficiaries;
|
|
22
|
+
private handleNext;
|
|
23
|
+
render(): import("lit").TemplateResult<1>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=beneficiary-selection-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beneficiary-selection-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AASvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,0DAA0D,CAAC;AAClE,OAAO,yDAAyD,CAAC;AACjE,OAAO,6EAA6E,CAAC;AACrF,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAKtF;;;GAGG;AACH,qBAEa,wBAAyB,SAAQ,UAAU;IACtD,MAAM,CAAC,MAAM,0BAAkC;IAG/C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,aAAa,CAA4B;IAGjD,OAAO,CAAC,eAAe,CAA8B;IAGrD,OAAO,CAAC,SAAS,CAAkB;IAEnC,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;YAMjC,kBAAkB;IA8BhC,OAAO,CAAC,UAAU;IAUlB,MAAM;CA+BP"}
|
package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beneficiary-selection-page.styles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,8BAA8B,yBAqE1C,CAAC"}
|
package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import '../../../customizable-components/skeleton-loader/qonto-skeleton-loader-line.ts';
|
|
2
|
+
export declare function renderSkeletonCard(): import("lit").TemplateResult<1>;
|
|
3
|
+
export declare function renderLoadingState(): import("lit").TemplateResult<1>;
|
|
4
|
+
//# sourceMappingURL=beneficiary-selection-page.utils.d.ts.map
|
package/dist/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"beneficiary-selection-page.utils.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/beneficiary-selection-page.utils.ts"],"names":[],"mappings":"AAEA,OAAO,gFAAgF,CAAC;AAExF,wBAAgB,kBAAkB,oCAejC;AAED,wBAAgB,kBAAkB,oCAIjC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../../../customizable-components/styles/styles.css';
|
|
3
|
+
import '../../../customizable-components/text/qonto-text-heading.ts';
|
|
4
|
+
import '../../../customizable-components/button/qonto-button.ts';
|
|
5
|
+
import '../../../customizable-components/skeleton-loader/qonto-skeleton-loader-line.ts';
|
|
6
|
+
import '../../../customizable-components/beneficiary-card/qonto-beneficiary-card.ts';
|
|
7
|
+
import '../../../customizable-components/text-field/qonto-text-field.ts';
|
|
8
|
+
import '../../../customizable-components/select-field/qonto-select-field.ts';
|
|
9
|
+
import '../../../customizable-components/select-field/qonto-option.ts';
|
|
10
|
+
import '../../../customizable-components/amount-field/qonto-amount-field.ts';
|
|
11
|
+
import type { OperationSettings } from '@validation/operation-settings-validation.ts';
|
|
12
|
+
import type { BankAccount } from '@organizations/organizations.types.ts';
|
|
13
|
+
import type { VopVerificationResult } from '@sepa-transfers/sepa-transfers.types';
|
|
14
|
+
import type { Beneficiary } from '@beneficiaries/beneficiaries.types.ts';
|
|
15
|
+
/**
|
|
16
|
+
* Step 2: Transfer Details
|
|
17
|
+
* Collects transfer amount and reference for the SEPA transfer.
|
|
18
|
+
*/
|
|
19
|
+
export declare class TransferDetailsPage extends LitElement {
|
|
20
|
+
static styles: import("lit").CSSResult;
|
|
21
|
+
operationSettings: OperationSettings | undefined;
|
|
22
|
+
locale: string;
|
|
23
|
+
beneficiary: Beneficiary | undefined;
|
|
24
|
+
accountToDebit: BankAccount | undefined;
|
|
25
|
+
transferAmount: number;
|
|
26
|
+
transferReference: string;
|
|
27
|
+
vopResult: VopVerificationResult | undefined;
|
|
28
|
+
isLoadingVop: boolean;
|
|
29
|
+
private bankAccounts;
|
|
30
|
+
private isLoading;
|
|
31
|
+
private error;
|
|
32
|
+
private amountTouched;
|
|
33
|
+
private referenceTouched;
|
|
34
|
+
connectedCallback(): void;
|
|
35
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
36
|
+
/**
|
|
37
|
+
* Returns error message for amount field if validation fails
|
|
38
|
+
*/
|
|
39
|
+
private get amountErrorMessage();
|
|
40
|
+
/**
|
|
41
|
+
* Returns error message for reference field if validation fails
|
|
42
|
+
*/
|
|
43
|
+
private get referenceErrorMessage();
|
|
44
|
+
private fetchBankAccounts;
|
|
45
|
+
private handleAmountChange;
|
|
46
|
+
private handleAmountBlur;
|
|
47
|
+
private handleReferenceChange;
|
|
48
|
+
private handleReferenceBlur;
|
|
49
|
+
private handlePrevious;
|
|
50
|
+
private handleSubmit;
|
|
51
|
+
render(): import("lit").TemplateResult<1>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=transfer-details-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-details-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAQvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,6DAA6D,CAAC;AACrE,OAAO,yDAAyD,CAAC;AACjE,OAAO,gFAAgF,CAAC;AACxF,OAAO,6EAA6E,CAAC;AACrF,OAAO,iEAAiE,CAAC;AACzE,OAAO,qEAAqE,CAAC;AAC7E,OAAO,+DAA+D,CAAC;AACvE,OAAO,qEAAqE,CAAC;AAI7E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAGlF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AAEzE;;;GAGG;AACH,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAC;IAGrC,cAAc,EAAE,WAAW,GAAG,SAAS,CAAC;IAGxC,cAAc,EAAE,MAAM,CAAK;IAG3B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,OAAO,CAAC,YAAY,CAAqB;IAGzC,OAAO,CAAC,SAAS,CAAkB;IAGnC,OAAO,CAAC,KAAK,CAAqB;IAGlC,OAAO,CAAC,aAAa,CAAkB;IAGvC,OAAO,CAAC,gBAAgB,CAAkB;IAE1C,iBAAiB;IAMjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C;;OAEG;IACH,OAAO,KAAK,kBAAkB,GAiB7B;IAED;;OAEG;IACH,OAAO,KAAK,qBAAqB,GAUhC;YAEa,iBAAiB;IAwB/B,OAAO,CAAC,kBAAkB;IAK1B,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,qBAAqB;IAK7B,OAAO,CAAC,mBAAmB;IAI3B,OAAO,CAAC,cAAc;IAWtB,OAAO,CAAC,YAAY;IAYpB,MAAM;CAmIP"}
|
package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-details-page.styles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-details-page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,yBA6GrC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../../../customizable-components/text/qonto-text-heading.ts';
|
|
3
|
+
import '../../../customizable-components/lottie-player/qonto-lottie-player.ts';
|
|
4
|
+
export declare class TransferErrorPage extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
locale: string;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
private handleFinishButtonPress;
|
|
9
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=transfer-error-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-error-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC,OAAO,6DAA6D,CAAC;AACrE,OAAO,uEAAuE,CAAC;AAE/E,qBAEa,iBAAkB,SAAQ,UAAU;IAC/C,MAAM,CAAC,MAAM,0BAA2B;IAGxC,MAAM,EAAE,MAAM,CAAQ;IAEtB,iBAAiB;IAKjB,OAAO,CAAC,uBAAuB;IAQ/B,SAAS,CAAC,MAAM;CAajB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-error-page.styles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-error-page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB,yBAanC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../../../customizable-components/text/qonto-text-heading.ts';
|
|
3
|
+
import '../../../customizable-components/lottie-player';
|
|
4
|
+
export declare class TransferSuccessPage extends LitElement {
|
|
5
|
+
static styles: import("lit").CSSResult;
|
|
6
|
+
locale: string;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
private handleOkButtonPress;
|
|
9
|
+
private handleCreateAnotherTransferButtonPress;
|
|
10
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=transfer-success-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-success-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAQvC,OAAO,6DAA6D,CAAC;AACrE,OAAO,gDAAgD,CAAC;AAExD,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,MAAM,EAAE,MAAM,CAAQ;IAEtB,iBAAiB;IAKjB,OAAO,CAAC,mBAAmB;IAQ3B,OAAO,CAAC,sCAAsC;IAU9C,SAAS,CAAC,MAAM;CAkBjB"}
|
package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-success-page.styles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-success-page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,yBAoBrC,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../../../customizable-components/styles/styles.css';
|
|
3
|
+
import '../../../customizable-components/button/qonto-button.ts';
|
|
4
|
+
import type { OperationSettings } from '@validation/operation-settings-validation.ts';
|
|
5
|
+
import type { BankAccount } from '@organizations/organizations.types.ts';
|
|
6
|
+
import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
|
|
7
|
+
import type { VopVerificationResult } from '@sepa-transfers/sepa-transfers.types';
|
|
8
|
+
export declare class TransferSummaryPage extends LitElement {
|
|
9
|
+
static styles: import("lit").CSSResult;
|
|
10
|
+
operationSettings: OperationSettings | undefined;
|
|
11
|
+
locale: string;
|
|
12
|
+
beneficiary: Beneficiary | undefined;
|
|
13
|
+
accountToDebit: BankAccount | undefined;
|
|
14
|
+
transferAmount: string;
|
|
15
|
+
transferReference: string;
|
|
16
|
+
vopResult: VopVerificationResult | undefined;
|
|
17
|
+
isConfirming: boolean;
|
|
18
|
+
error: string | undefined;
|
|
19
|
+
connectedCallback(): void;
|
|
20
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
21
|
+
private handlePrevious;
|
|
22
|
+
private handleConfirm;
|
|
23
|
+
render(): import("lit").TemplateResult<1>;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=transfer-summary-page.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-summary-page.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAOvC,OAAO,oDAAoD,CAAC;AAC5D,OAAO,yDAAyD,CAAC;AAGjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACtE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAKlF,qBAEa,mBAAoB,SAAQ,UAAU;IACjD,MAAM,CAAC,MAAM,0BAA6B;IAG1C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,WAAW,EAAE,WAAW,GAAG,SAAS,CAAa;IAGjD,cAAc,EAAE,WAAW,GAAG,SAAS,CAAa;IAGpD,cAAc,EAAE,MAAM,CAAM;IAG5B,iBAAiB,EAAE,MAAM,CAAM;IAG/B,SAAS,EAAE,qBAAqB,GAAG,SAAS,CAAC;IAG7C,YAAY,EAAE,OAAO,CAAS;IAG9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAE1B,iBAAiB;IAKjB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,cAAc;IAUtB,OAAO,CAAC,aAAa;IAcrB,MAAM;CAwHP"}
|
package/dist/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transfer-summary-page.styles.d.ts","sourceRoot":"","sources":["../../../../../src/ui/ui-elements/sepa-transfer-creation/pages/transfer-summary-page.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,yBAwKrC,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { OperationSettings } from '@validation/operation-settings-validation';
|
|
3
|
+
import './pages/beneficiary-selection-page.ts';
|
|
4
|
+
import './pages/transfer-details-page.ts';
|
|
5
|
+
import './pages/transfer-summary-page.ts';
|
|
6
|
+
import './pages/transfer-success-page.ts';
|
|
7
|
+
import './pages/transfer-error-page.ts';
|
|
8
|
+
import '../../customizable-components/styles/styles.css';
|
|
9
|
+
/**
|
|
10
|
+
* Valid page names for SEPA Transfer Creation component
|
|
11
|
+
*/
|
|
12
|
+
export declare const SEPA_TRANSFER_PAGES: {
|
|
13
|
+
readonly BENEFICIARY_SELECTION: "beneficiary-selection";
|
|
14
|
+
readonly TRANSFER_DETAILS: "transfer-details";
|
|
15
|
+
readonly TRANSFER_SUMMARY: "transfer-summary";
|
|
16
|
+
readonly TRANSFER_SUCCESS: "transfer-success";
|
|
17
|
+
readonly TRANSFER_ERROR: "transfer-error";
|
|
18
|
+
};
|
|
19
|
+
export type SepaTransferPages = (typeof SEPA_TRANSFER_PAGES)[keyof typeof SEPA_TRANSFER_PAGES];
|
|
20
|
+
/**
|
|
21
|
+
* SEPA Transfer Creation component with multi-page navigation.
|
|
22
|
+
* This component provides a 3-page form interface for users to create new SEPA transfers:
|
|
23
|
+
* - step-1: Recipient information (name and IBAN)
|
|
24
|
+
* - step-2: Transfer details (amount and reference)
|
|
25
|
+
* - step-3: Transfer summary (review and confirm)
|
|
26
|
+
*
|
|
27
|
+
* Uses generic page-based navigation for flexibility and reusability.
|
|
28
|
+
* Pages are defined as string literals, making the component more extensible
|
|
29
|
+
* for different navigation flows.
|
|
30
|
+
*
|
|
31
|
+
* Uses internal state management for page navigation, making it fully reusable
|
|
32
|
+
* at any URL without interfering with browser routing.
|
|
33
|
+
*/
|
|
34
|
+
export declare class SepaTransferCreation extends LitElement {
|
|
35
|
+
static styles: import("lit").CSSResult;
|
|
36
|
+
operationSettings: OperationSettings | undefined;
|
|
37
|
+
locale: string;
|
|
38
|
+
private currentPage;
|
|
39
|
+
private formData;
|
|
40
|
+
private transferCreationProcess;
|
|
41
|
+
private vopResult;
|
|
42
|
+
private isCreatingTransfer;
|
|
43
|
+
private transferError;
|
|
44
|
+
connectedCallback(): void;
|
|
45
|
+
disconnectedCallback(): void;
|
|
46
|
+
updated(changedProperties: Map<string, unknown>): void;
|
|
47
|
+
private handleRecipientInfoSubmitted;
|
|
48
|
+
private handleTransferDetailsSubmitted;
|
|
49
|
+
private handleGoToStep;
|
|
50
|
+
private handleTransferConfirmed;
|
|
51
|
+
render(): import("lit").TemplateResult<1>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=sepa-transfer-creation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sepa-transfer-creation.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAQ,MAAM,KAAK,CAAC;AAMvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,2CAA2C,CAAC;AAQnF,OAAO,uCAAuC,CAAC;AAC/C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,iDAAiD,CAAC;AAiBzD;;GAEG;AACH,eAAO,MAAM,mBAAmB;;;;;;CAMtB,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAC3B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE;;;;;;;;;;;;;GAaG;AACH,qBAEa,oBAAqB,SAAQ,UAAU;IAClD,MAAM,CAAC,MAAM,0BAA8B;IAG3C,iBAAiB,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAGjD,MAAM,EAAE,MAAM,CAAQ;IAGtB,OAAO,CAAC,WAAW,CACyB;IAG5C,OAAO,CAAC,QAAQ,CAKd;IAGF,OAAO,CAAC,uBAAuB,CAEjB;IAGd,OAAO,CAAC,SAAS,CAAoC;IAGrD,OAAO,CAAC,kBAAkB,CAAkB;IAG5C,OAAO,CAAC,aAAa,CAAqB;IAE1C,iBAAiB;IAkBjB,oBAAoB;IAoBpB,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAM/C,OAAO,CAAC,4BAA4B,CA4ClC;IAEF,OAAO,CAAC,8BAA8B,CAYpC;IAEF,OAAO,CAAC,cAAc,CAEpB;IAEF,OAAO,CAAC,uBAAuB,CAmD7B;IAEF,MAAM;CA8CP"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { BankAccount } from '@organizations/organizations.types.ts';
|
|
2
|
+
import type { Beneficiary } from '@beneficiaries/beneficiaries.types';
|
|
3
|
+
/**
|
|
4
|
+
* Event detail for recipient info submitted (Step 1)
|
|
5
|
+
*/
|
|
6
|
+
export interface RecipientInfoSubmittedEventDetail {
|
|
7
|
+
beneficiary: Beneficiary;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Custom event emitted when recipient info is submitted in Step 1
|
|
11
|
+
*/
|
|
12
|
+
export declare class RecipientInfoSubmittedEvent extends CustomEvent<RecipientInfoSubmittedEventDetail> {
|
|
13
|
+
constructor(detail: RecipientInfoSubmittedEventDetail);
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Event detail for transfer details submitted (Step 2)
|
|
17
|
+
*/
|
|
18
|
+
export interface TransferDetailsSubmittedEventDetail {
|
|
19
|
+
accountToDebit: BankAccount;
|
|
20
|
+
amount: string;
|
|
21
|
+
reference: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Custom event emitted when transfer details are submitted in Step 2
|
|
25
|
+
*/
|
|
26
|
+
export declare class TransferDetailsSubmittedEvent extends CustomEvent<TransferDetailsSubmittedEventDetail> {
|
|
27
|
+
constructor(detail: TransferDetailsSubmittedEventDetail);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Event detail for SEPA transfer creation
|
|
31
|
+
*/
|
|
32
|
+
export interface SepaTransferCreationEventDetail {
|
|
33
|
+
[key: string]: unknown;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Custom event emitted when a SEPA transfer is created
|
|
37
|
+
*/
|
|
38
|
+
export declare class SepaTransferCreationEvent extends CustomEvent<SepaTransferCreationEventDetail> {
|
|
39
|
+
constructor(detail: SepaTransferCreationEventDetail);
|
|
40
|
+
}
|
|
41
|
+
//# sourceMappingURL=sepa-transfer-creation.events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sepa-transfer-creation.events.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.events.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uCAAuC,CAAC;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAChD,WAAW,EAAE,WAAW,CAAC;CAC1B;AAED;;GAEG;AACH,qBAAa,2BAA4B,SAAQ,WAAW,CAAC,iCAAiC,CAAC;gBACjF,MAAM,EAAE,iCAAiC;CAOtD;AAED;;GAEG;AACH,MAAM,WAAW,mCAAmC;IAClD,cAAc,EAAE,WAAW,CAAC;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;CACnB;AAED;;GAEG;AACH,qBAAa,6BAA8B,SAAQ,WAAW,CAAC,mCAAmC,CAAC;gBACrF,MAAM,EAAE,mCAAmC;CAOxD;AAED;;GAEG;AACH,MAAM,WAAW,+BAA+B;IAC9C,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,qBAAa,yBAA0B,SAAQ,WAAW,CAAC,+BAA+B,CAAC;gBAC7E,MAAM,EAAE,+BAA+B;CAOpD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sepa-transfer-creation.styles.d.ts","sourceRoot":"","sources":["../../../../src/ui/ui-elements/sepa-transfer-creation/sepa-transfer-creation.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,0BAA0B,yBAYtC,CAAC"}
|