@adyen/kyc-components 2.16.0 → 2.17.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/es/adyen-kyc-components.es.js +1087 -459
- package/dist/style.css +303 -261
- package/dist/types/components/BusinessTypeSelection/BusinessTypeSelection.d.ts +16 -0
- package/dist/types/components/BusinessTypeSelection/types.d.ts +34 -0
- package/dist/types/components/Company/types.d.ts +1 -0
- package/dist/types/components/CompanyNameAndCountry/types.d.ts +1 -0
- package/dist/types/components/Dropins/CompanyDropin/types.d.ts +1 -1
- package/dist/types/components/PayoutDetails/component/PayoutDetailsComponent.d.ts +2 -2
- package/dist/types/components/TaskList/component/TaskListItem.d.ts +1 -1
- package/dist/types/components/TaskList/types.d.ts +2 -0
- package/dist/types/components/internal/AccountHolder/types.d.ts +2 -1
- package/dist/types/components/internal/Address/types.d.ts +0 -2
- package/dist/types/components/internal/Address/utils.d.ts +1 -1
- package/dist/types/components/internal/Alert/Alert.d.ts +1 -3
- package/dist/types/components/internal/Alert/index.d.ts +1 -1
- package/dist/types/components/internal/Alert/types.d.ts +1 -0
- package/dist/types/components/internal/FormFields/RadioGroupCard/RadioCardSelect.d.ts +1 -1
- package/dist/types/components/internal/FormFields/RadioGroupCard/types.d.ts +2 -2
- package/dist/types/core/Context/CoreProvider.d.ts +2 -1
- package/dist/types/core/Context/ExperimentContext/types.d.ts +2 -1
- package/dist/types/core/Services/componentApi/get-supported-countries.d.ts +3 -0
- package/dist/types/core/errorMapping.d.ts +2 -0
- package/dist/types/core/hooks/useAccountHolder.d.ts +2 -0
- package/dist/types/core/hooks/useAllowedCountries.d.ts +2 -0
- package/dist/types/core/hooks/useBusinessSetup.d.ts +16 -0
- package/dist/types/core/hooks/useBusinessTypeSelection.d.ts +2 -0
- package/dist/types/core/hooks/useDataMissingRemediations.d.ts +18 -0
- package/dist/types/core/hooks/useEnableNewEntryFlow.d.ts +1 -0
- package/dist/types/language/config.d.ts +43 -0
- package/dist/types/utils/decision-maker-roles.d.ts +1 -1
- package/dist/types/utils/entity-status-util.d.ts +2 -2
- package/dist/types/utils/trust-util.d.ts +1 -1
- package/package.json +3 -2
- package/dist/types/openbankingsdk/OpenBankingSDK.d.ts +0 -14
- package/dist/types/openbankingsdk/types.d.ts +0 -22
package/dist/style.css
CHANGED
|
@@ -64733,13 +64733,6 @@ a.adl-button:disabled, a.adl-button.adl-button--disabled {
|
|
|
64733
64733
|
to {
|
|
64734
64734
|
opacity: 1;
|
|
64735
64735
|
}
|
|
64736
|
-
}.adyen-open-banking-sdk-widget {
|
|
64737
|
-
border: 0 transparent;
|
|
64738
|
-
height: 100%;
|
|
64739
|
-
width: 100%;
|
|
64740
|
-
}
|
|
64741
|
-
.adyen-open-banking-sdk-widget-container {
|
|
64742
|
-
flex: 1;
|
|
64743
64736
|
}/* #region Spacing */
|
|
64744
64737
|
/* #endregion */
|
|
64745
64738
|
/* #region Colors */
|
|
@@ -74463,6 +74456,297 @@ a.adl-button:disabled, a.adl-button.adl-button--disabled {
|
|
|
74463
74456
|
/* #endregion */
|
|
74464
74457
|
/* #region Inline components */
|
|
74465
74458
|
/* #endregion */
|
|
74459
|
+
.adyen-kyc-business-type-selection__nav {
|
|
74460
|
+
margin-top: 32px;
|
|
74461
|
+
}
|
|
74462
|
+
.adyen-kyc-business-type-selection__confirm {
|
|
74463
|
+
display: flex;
|
|
74464
|
+
gap: 16px;
|
|
74465
|
+
margin-top: 32px;
|
|
74466
|
+
}
|
|
74467
|
+
.adyen-kyc-business-type-selection__confirm button {
|
|
74468
|
+
flex-grow: 1;
|
|
74469
|
+
}
|
|
74470
|
+
|
|
74471
|
+
.adyen-kyc-trustee-type-radio-group-card {
|
|
74472
|
+
display: flex;
|
|
74473
|
+
gap: 16px;
|
|
74474
|
+
}/* #region Spacing */
|
|
74475
|
+
/* #endregion */
|
|
74476
|
+
/* #region Colors */
|
|
74477
|
+
/* #endregion */
|
|
74478
|
+
/* #region Fonts */
|
|
74479
|
+
/* #endregion */
|
|
74480
|
+
/* #region Borders */
|
|
74481
|
+
/* #endregion */
|
|
74482
|
+
/* #region Box-shadow */
|
|
74483
|
+
/* #endregion */
|
|
74484
|
+
/* #region Shadows */
|
|
74485
|
+
/* #endregion */
|
|
74486
|
+
/* #region Z-index */
|
|
74487
|
+
/* #endregion */
|
|
74488
|
+
/* #region Transition */
|
|
74489
|
+
/* #endregion */
|
|
74490
|
+
/* #region Timing functions */
|
|
74491
|
+
/* #endregion */
|
|
74492
|
+
/* #region Focus ring */
|
|
74493
|
+
/* #endregion */
|
|
74494
|
+
/* #region Inline components */
|
|
74495
|
+
/* #endregion */
|
|
74496
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74497
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74498
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74499
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74500
|
+
/* #region Spacing */
|
|
74501
|
+
/* #endregion */
|
|
74502
|
+
/* #region Colors */
|
|
74503
|
+
/* #endregion */
|
|
74504
|
+
/* #region Fonts */
|
|
74505
|
+
/* #endregion */
|
|
74506
|
+
/* #region Borders */
|
|
74507
|
+
/* #endregion */
|
|
74508
|
+
/* #region Box-shadow */
|
|
74509
|
+
/* #endregion */
|
|
74510
|
+
/* #region Shadows */
|
|
74511
|
+
/* #endregion */
|
|
74512
|
+
/* #region Z-index */
|
|
74513
|
+
/* #endregion */
|
|
74514
|
+
/* #region Transition */
|
|
74515
|
+
/* #endregion */
|
|
74516
|
+
/* #region Timing functions */
|
|
74517
|
+
/* #endregion */
|
|
74518
|
+
/* #region Focus ring */
|
|
74519
|
+
/* #endregion */
|
|
74520
|
+
/* #region Inline components */
|
|
74521
|
+
/* #endregion */
|
|
74522
|
+
.adl-heading {
|
|
74523
|
+
color: #00112c;
|
|
74524
|
+
font-family: fakt, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
74525
|
+
font-size: 15px;
|
|
74526
|
+
-webkit-font-smoothing: antialiased;
|
|
74527
|
+
-moz-osx-font-smoothing: grayscale;
|
|
74528
|
+
font-weight: 400;
|
|
74529
|
+
line-height: 1.4;
|
|
74530
|
+
display: block;
|
|
74531
|
+
font-size: 32px;
|
|
74532
|
+
font-weight: 600;
|
|
74533
|
+
line-height: 40px;
|
|
74534
|
+
margin: 0;
|
|
74535
|
+
padding: 0;
|
|
74536
|
+
}
|
|
74537
|
+
.adl-heading *,
|
|
74538
|
+
.adl-heading *::before,
|
|
74539
|
+
.adl-heading *::after {
|
|
74540
|
+
box-sizing: border-box;
|
|
74541
|
+
}
|
|
74542
|
+
.adl-heading--2 {
|
|
74543
|
+
font-size: 24px;
|
|
74544
|
+
font-weight: 600;
|
|
74545
|
+
line-height: 32px;
|
|
74546
|
+
}
|
|
74547
|
+
.adl-heading--3 {
|
|
74548
|
+
font-size: 20px;
|
|
74549
|
+
font-weight: 600;
|
|
74550
|
+
line-height: 28px;
|
|
74551
|
+
}
|
|
74552
|
+
.adl-heading--4 {
|
|
74553
|
+
font-size: 16px;
|
|
74554
|
+
font-weight: 600;
|
|
74555
|
+
line-height: 24px;
|
|
74556
|
+
}
|
|
74557
|
+
.adl-heading--sub {
|
|
74558
|
+
color: #394962;
|
|
74559
|
+
font-size: 16px;
|
|
74560
|
+
font-weight: 400;
|
|
74561
|
+
line-height: 24px;
|
|
74562
|
+
}/* #region Spacing */
|
|
74563
|
+
/* #endregion */
|
|
74564
|
+
/* #region Colors */
|
|
74565
|
+
/* #endregion */
|
|
74566
|
+
/* #region Fonts */
|
|
74567
|
+
/* #endregion */
|
|
74568
|
+
/* #region Borders */
|
|
74569
|
+
/* #endregion */
|
|
74570
|
+
/* #region Box-shadow */
|
|
74571
|
+
/* #endregion */
|
|
74572
|
+
/* #region Shadows */
|
|
74573
|
+
/* #endregion */
|
|
74574
|
+
/* #region Z-index */
|
|
74575
|
+
/* #endregion */
|
|
74576
|
+
/* #region Transition */
|
|
74577
|
+
/* #endregion */
|
|
74578
|
+
/* #region Timing functions */
|
|
74579
|
+
/* #endregion */
|
|
74580
|
+
/* #region Focus ring */
|
|
74581
|
+
/* #endregion */
|
|
74582
|
+
/* #region Inline components */
|
|
74583
|
+
/* #endregion */
|
|
74584
|
+
/* #region Spacing */
|
|
74585
|
+
/* #endregion */
|
|
74586
|
+
/* #region Colors */
|
|
74587
|
+
/* #endregion */
|
|
74588
|
+
/* #region Fonts */
|
|
74589
|
+
/* #endregion */
|
|
74590
|
+
/* #region Borders */
|
|
74591
|
+
/* #endregion */
|
|
74592
|
+
/* #region Box-shadow */
|
|
74593
|
+
/* #endregion */
|
|
74594
|
+
/* #region Shadows */
|
|
74595
|
+
/* #endregion */
|
|
74596
|
+
/* #region Z-index */
|
|
74597
|
+
/* #endregion */
|
|
74598
|
+
/* #region Transition */
|
|
74599
|
+
/* #endregion */
|
|
74600
|
+
/* #region Timing functions */
|
|
74601
|
+
/* #endregion */
|
|
74602
|
+
/* #region Focus ring */
|
|
74603
|
+
/* #endregion */
|
|
74604
|
+
/* #region Inline components */
|
|
74605
|
+
/* #endregion */
|
|
74606
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74607
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74608
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74609
|
+
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74610
|
+
.adl-toast {
|
|
74611
|
+
color: #00112c;
|
|
74612
|
+
font-family: fakt, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
74613
|
+
font-size: 15px;
|
|
74614
|
+
-webkit-font-smoothing: antialiased;
|
|
74615
|
+
-moz-osx-font-smoothing: grayscale;
|
|
74616
|
+
font-weight: 400;
|
|
74617
|
+
line-height: 1.4;
|
|
74618
|
+
background: #00112c;
|
|
74619
|
+
border-radius: 6px;
|
|
74620
|
+
color: #fff;
|
|
74621
|
+
display: flex;
|
|
74622
|
+
font-size: 15px;
|
|
74623
|
+
height: auto;
|
|
74624
|
+
line-height: 1.4;
|
|
74625
|
+
opacity: 0;
|
|
74626
|
+
overflow: hidden;
|
|
74627
|
+
padding: 8px;
|
|
74628
|
+
transform: translateY(2%);
|
|
74629
|
+
transition: ease 200ms;
|
|
74630
|
+
transition-property: opacity, transform, visibility;
|
|
74631
|
+
user-select: none;
|
|
74632
|
+
visibility: hidden;
|
|
74633
|
+
white-space: normal;
|
|
74634
|
+
z-index: 1;
|
|
74635
|
+
}
|
|
74636
|
+
.adl-toast *,
|
|
74637
|
+
.adl-toast *::before,
|
|
74638
|
+
.adl-toast *::after {
|
|
74639
|
+
box-sizing: border-box;
|
|
74640
|
+
}
|
|
74641
|
+
.adl-toast--collapsed {
|
|
74642
|
+
background-color: #8390a3;
|
|
74643
|
+
}
|
|
74644
|
+
.adl-toast--visible {
|
|
74645
|
+
opacity: 1;
|
|
74646
|
+
transform: translateY(0);
|
|
74647
|
+
visibility: visible;
|
|
74648
|
+
}
|
|
74649
|
+
.adl-toast__message {
|
|
74650
|
+
flex: 1;
|
|
74651
|
+
}
|
|
74652
|
+
.adl-toast__title {
|
|
74653
|
+
display: block;
|
|
74654
|
+
font-weight: 600;
|
|
74655
|
+
margin: 4px 0;
|
|
74656
|
+
padding: 0 0 0 8px;
|
|
74657
|
+
}
|
|
74658
|
+
.adl-toast__subtitle {
|
|
74659
|
+
color: #a5afbd;
|
|
74660
|
+
display: block;
|
|
74661
|
+
margin: 2px 0 0 0;
|
|
74662
|
+
padding: 0 8px 4px;
|
|
74663
|
+
}
|
|
74664
|
+
.adl-toast__close {
|
|
74665
|
+
background: none;
|
|
74666
|
+
border: none;
|
|
74667
|
+
color: #8390a3;
|
|
74668
|
+
cursor: pointer;
|
|
74669
|
+
display: inline-flex;
|
|
74670
|
+
font-size: 15px;
|
|
74671
|
+
height: 16px;
|
|
74672
|
+
margin: 7px 6px;
|
|
74673
|
+
padding: 0;
|
|
74674
|
+
}
|
|
74675
|
+
.adl-toast__status {
|
|
74676
|
+
border-radius: 50%;
|
|
74677
|
+
color: #00112c;
|
|
74678
|
+
font-size: 15px;
|
|
74679
|
+
height: 18px;
|
|
74680
|
+
margin: 4px 0 0 8px;
|
|
74681
|
+
vertical-align: top;
|
|
74682
|
+
width: 18px;
|
|
74683
|
+
}
|
|
74684
|
+
.adl-toast__status--success {
|
|
74685
|
+
background-color: #60d58f;
|
|
74686
|
+
}
|
|
74687
|
+
.adl-toast__status--error {
|
|
74688
|
+
background-color: #ee5959;
|
|
74689
|
+
}
|
|
74690
|
+
.adl-toast__status-icon {
|
|
74691
|
+
margin: 1.5px;
|
|
74692
|
+
}
|
|
74693
|
+
.adl-toast__action {
|
|
74694
|
+
color: #a5afbd;
|
|
74695
|
+
display: block;
|
|
74696
|
+
margin: 2px 0 0 0;
|
|
74697
|
+
padding: 0 8px 4px;
|
|
74698
|
+
font-size: 15px;
|
|
74699
|
+
font-weight: 600;
|
|
74700
|
+
line-height: 1.4;
|
|
74701
|
+
text-decoration: underline;
|
|
74702
|
+
}
|
|
74703
|
+
.adl-toast__action:visited {
|
|
74704
|
+
color: #a5afbd;
|
|
74705
|
+
}
|
|
74706
|
+
.adl-toast__loader {
|
|
74707
|
+
display: inline-block;
|
|
74708
|
+
height: 16px;
|
|
74709
|
+
margin: 6px;
|
|
74710
|
+
width: 16px;
|
|
74711
|
+
}
|
|
74712
|
+
.adyen-kyc-dropin__toast-context {
|
|
74713
|
+
max-width: calc(100% - 16px);
|
|
74714
|
+
}
|
|
74715
|
+
.adyen-kyc-dropin__toast-stack {
|
|
74716
|
+
display: flex;
|
|
74717
|
+
justify-content: center;
|
|
74718
|
+
position: absolute;
|
|
74719
|
+
width: 100%;
|
|
74720
|
+
z-index: 1;
|
|
74721
|
+
}
|
|
74722
|
+
.adyen-layout-xs-only .adyen-kyc-dropin__toast-stack {
|
|
74723
|
+
bottom: 16px;
|
|
74724
|
+
position: fixed;
|
|
74725
|
+
}
|
|
74726
|
+
.adyen-layout-md .adyen-kyc-dropin__toast-stack {
|
|
74727
|
+
top: 16px;
|
|
74728
|
+
}/* #region Spacing */
|
|
74729
|
+
/* #endregion */
|
|
74730
|
+
/* #region Colors */
|
|
74731
|
+
/* #endregion */
|
|
74732
|
+
/* #region Fonts */
|
|
74733
|
+
/* #endregion */
|
|
74734
|
+
/* #region Borders */
|
|
74735
|
+
/* #endregion */
|
|
74736
|
+
/* #region Box-shadow */
|
|
74737
|
+
/* #endregion */
|
|
74738
|
+
/* #region Shadows */
|
|
74739
|
+
/* #endregion */
|
|
74740
|
+
/* #region Z-index */
|
|
74741
|
+
/* #endregion */
|
|
74742
|
+
/* #region Transition */
|
|
74743
|
+
/* #endregion */
|
|
74744
|
+
/* #region Timing functions */
|
|
74745
|
+
/* #endregion */
|
|
74746
|
+
/* #region Focus ring */
|
|
74747
|
+
/* #endregion */
|
|
74748
|
+
/* #region Inline components */
|
|
74749
|
+
/* #endregion */
|
|
74466
74750
|
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74467
74751
|
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
74468
74752
|
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
@@ -76335,6 +76619,9 @@ a.adl-button:disabled, a.adl-button.adl-button--disabled {
|
|
|
76335
76619
|
.adl-decision-makers__add .adyen-kyc-icon {
|
|
76336
76620
|
font-size: 12px;
|
|
76337
76621
|
}
|
|
76622
|
+
.adl-decision-makers__warning {
|
|
76623
|
+
margin-bottom: 24px;
|
|
76624
|
+
}
|
|
76338
76625
|
.adl-decision-makers__add--more.adl-button.adl-button--secondary {
|
|
76339
76626
|
background-color: transparent;
|
|
76340
76627
|
border: 1px solid #dce0e5;
|
|
@@ -84198,94 +84485,6 @@ a.adl-button:disabled, a.adl-button.adl-button--disabled {
|
|
|
84198
84485
|
/* #endregion */
|
|
84199
84486
|
/* #region Inline components */
|
|
84200
84487
|
/* #endregion */
|
|
84201
|
-
.adl-heading {
|
|
84202
|
-
color: #00112c;
|
|
84203
|
-
font-family: fakt, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
84204
|
-
font-size: 15px;
|
|
84205
|
-
-webkit-font-smoothing: antialiased;
|
|
84206
|
-
-moz-osx-font-smoothing: grayscale;
|
|
84207
|
-
font-weight: 400;
|
|
84208
|
-
line-height: 1.4;
|
|
84209
|
-
display: block;
|
|
84210
|
-
font-size: 32px;
|
|
84211
|
-
font-weight: 600;
|
|
84212
|
-
line-height: 40px;
|
|
84213
|
-
margin: 0;
|
|
84214
|
-
padding: 0;
|
|
84215
|
-
}
|
|
84216
|
-
.adl-heading *,
|
|
84217
|
-
.adl-heading *::before,
|
|
84218
|
-
.adl-heading *::after {
|
|
84219
|
-
box-sizing: border-box;
|
|
84220
|
-
}
|
|
84221
|
-
.adl-heading--2 {
|
|
84222
|
-
font-size: 24px;
|
|
84223
|
-
font-weight: 600;
|
|
84224
|
-
line-height: 32px;
|
|
84225
|
-
}
|
|
84226
|
-
.adl-heading--3 {
|
|
84227
|
-
font-size: 20px;
|
|
84228
|
-
font-weight: 600;
|
|
84229
|
-
line-height: 28px;
|
|
84230
|
-
}
|
|
84231
|
-
.adl-heading--4 {
|
|
84232
|
-
font-size: 16px;
|
|
84233
|
-
font-weight: 600;
|
|
84234
|
-
line-height: 24px;
|
|
84235
|
-
}
|
|
84236
|
-
.adl-heading--sub {
|
|
84237
|
-
color: #394962;
|
|
84238
|
-
font-size: 16px;
|
|
84239
|
-
font-weight: 400;
|
|
84240
|
-
line-height: 24px;
|
|
84241
|
-
}/* #region Spacing */
|
|
84242
|
-
/* #endregion */
|
|
84243
|
-
/* #region Colors */
|
|
84244
|
-
/* #endregion */
|
|
84245
|
-
/* #region Fonts */
|
|
84246
|
-
/* #endregion */
|
|
84247
|
-
/* #region Borders */
|
|
84248
|
-
/* #endregion */
|
|
84249
|
-
/* #region Box-shadow */
|
|
84250
|
-
/* #endregion */
|
|
84251
|
-
/* #region Shadows */
|
|
84252
|
-
/* #endregion */
|
|
84253
|
-
/* #region Z-index */
|
|
84254
|
-
/* #endregion */
|
|
84255
|
-
/* #region Transition */
|
|
84256
|
-
/* #endregion */
|
|
84257
|
-
/* #region Timing functions */
|
|
84258
|
-
/* #endregion */
|
|
84259
|
-
/* #region Focus ring */
|
|
84260
|
-
/* #endregion */
|
|
84261
|
-
/* #region Inline components */
|
|
84262
|
-
/* #endregion */
|
|
84263
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
84264
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
84265
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
84266
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
84267
|
-
/* #region Spacing */
|
|
84268
|
-
/* #endregion */
|
|
84269
|
-
/* #region Colors */
|
|
84270
|
-
/* #endregion */
|
|
84271
|
-
/* #region Fonts */
|
|
84272
|
-
/* #endregion */
|
|
84273
|
-
/* #region Borders */
|
|
84274
|
-
/* #endregion */
|
|
84275
|
-
/* #region Box-shadow */
|
|
84276
|
-
/* #endregion */
|
|
84277
|
-
/* #region Shadows */
|
|
84278
|
-
/* #endregion */
|
|
84279
|
-
/* #region Z-index */
|
|
84280
|
-
/* #endregion */
|
|
84281
|
-
/* #region Transition */
|
|
84282
|
-
/* #endregion */
|
|
84283
|
-
/* #region Timing functions */
|
|
84284
|
-
/* #endregion */
|
|
84285
|
-
/* #region Focus ring */
|
|
84286
|
-
/* #endregion */
|
|
84287
|
-
/* #region Inline components */
|
|
84288
|
-
/* #endregion */
|
|
84289
84488
|
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
84290
84489
|
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
84291
84490
|
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
@@ -90098,10 +90297,19 @@ a.adl-button:disabled, a.adl-button.adl-button--disabled {
|
|
|
90098
90297
|
.adl-card.adl-add-payout .adl-card__body {
|
|
90099
90298
|
display: inline-flex;
|
|
90100
90299
|
}
|
|
90300
|
+
.adyen-task--warning {
|
|
90301
|
+
border-radius: 0;
|
|
90302
|
+
}
|
|
90101
90303
|
.adyen-task-list__nav {
|
|
90102
90304
|
text-align: right;
|
|
90103
90305
|
padding: 16px;
|
|
90104
90306
|
padding-top: 0;
|
|
90307
|
+
}
|
|
90308
|
+
.adyen-task-list__warning {
|
|
90309
|
+
border-radius: 0 0 8px 8px;
|
|
90310
|
+
}
|
|
90311
|
+
.adyen-task-list__heading {
|
|
90312
|
+
padding: 16px;
|
|
90105
90313
|
}/* #region Spacing */
|
|
90106
90314
|
/* #endregion */
|
|
90107
90315
|
/* #region Colors */
|
|
@@ -97733,172 +97941,6 @@ a.adl-button:disabled, a.adl-button.adl-button--disabled {
|
|
|
97733
97941
|
/* #endregion */
|
|
97734
97942
|
/* #region Inline components */
|
|
97735
97943
|
/* #endregion */
|
|
97736
|
-
/* #region Spacing */
|
|
97737
|
-
/* #endregion */
|
|
97738
|
-
/* #region Colors */
|
|
97739
|
-
/* #endregion */
|
|
97740
|
-
/* #region Fonts */
|
|
97741
|
-
/* #endregion */
|
|
97742
|
-
/* #region Borders */
|
|
97743
|
-
/* #endregion */
|
|
97744
|
-
/* #region Box-shadow */
|
|
97745
|
-
/* #endregion */
|
|
97746
|
-
/* #region Shadows */
|
|
97747
|
-
/* #endregion */
|
|
97748
|
-
/* #region Z-index */
|
|
97749
|
-
/* #endregion */
|
|
97750
|
-
/* #region Transition */
|
|
97751
|
-
/* #endregion */
|
|
97752
|
-
/* #region Timing functions */
|
|
97753
|
-
/* #endregion */
|
|
97754
|
-
/* #region Focus ring */
|
|
97755
|
-
/* #endregion */
|
|
97756
|
-
/* #region Inline components */
|
|
97757
|
-
/* #endregion */
|
|
97758
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
97759
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
97760
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
97761
|
-
/* stylelint-disable-line scss/dollar-variable-pattern */
|
|
97762
|
-
.adl-toast {
|
|
97763
|
-
color: #00112c;
|
|
97764
|
-
font-family: fakt, -apple-system, blinkmacsystemfont, "Segoe UI", roboto, oxygen, ubuntu, cantarell, "Open Sans", "Helvetica Neue", sans-serif;
|
|
97765
|
-
font-size: 15px;
|
|
97766
|
-
-webkit-font-smoothing: antialiased;
|
|
97767
|
-
-moz-osx-font-smoothing: grayscale;
|
|
97768
|
-
font-weight: 400;
|
|
97769
|
-
line-height: 1.4;
|
|
97770
|
-
background: #00112c;
|
|
97771
|
-
border-radius: 6px;
|
|
97772
|
-
color: #fff;
|
|
97773
|
-
display: flex;
|
|
97774
|
-
font-size: 15px;
|
|
97775
|
-
height: auto;
|
|
97776
|
-
line-height: 1.4;
|
|
97777
|
-
opacity: 0;
|
|
97778
|
-
overflow: hidden;
|
|
97779
|
-
padding: 8px;
|
|
97780
|
-
transform: translateY(2%);
|
|
97781
|
-
transition: ease 200ms;
|
|
97782
|
-
transition-property: opacity, transform, visibility;
|
|
97783
|
-
user-select: none;
|
|
97784
|
-
visibility: hidden;
|
|
97785
|
-
white-space: normal;
|
|
97786
|
-
z-index: 1;
|
|
97787
|
-
}
|
|
97788
|
-
.adl-toast *,
|
|
97789
|
-
.adl-toast *::before,
|
|
97790
|
-
.adl-toast *::after {
|
|
97791
|
-
box-sizing: border-box;
|
|
97792
|
-
}
|
|
97793
|
-
.adl-toast--collapsed {
|
|
97794
|
-
background-color: #8390a3;
|
|
97795
|
-
}
|
|
97796
|
-
.adl-toast--visible {
|
|
97797
|
-
opacity: 1;
|
|
97798
|
-
transform: translateY(0);
|
|
97799
|
-
visibility: visible;
|
|
97800
|
-
}
|
|
97801
|
-
.adl-toast__message {
|
|
97802
|
-
flex: 1;
|
|
97803
|
-
}
|
|
97804
|
-
.adl-toast__title {
|
|
97805
|
-
display: block;
|
|
97806
|
-
font-weight: 600;
|
|
97807
|
-
margin: 4px 0;
|
|
97808
|
-
padding: 0 0 0 8px;
|
|
97809
|
-
}
|
|
97810
|
-
.adl-toast__subtitle {
|
|
97811
|
-
color: #a5afbd;
|
|
97812
|
-
display: block;
|
|
97813
|
-
margin: 2px 0 0 0;
|
|
97814
|
-
padding: 0 8px 4px;
|
|
97815
|
-
}
|
|
97816
|
-
.adl-toast__close {
|
|
97817
|
-
background: none;
|
|
97818
|
-
border: none;
|
|
97819
|
-
color: #8390a3;
|
|
97820
|
-
cursor: pointer;
|
|
97821
|
-
display: inline-flex;
|
|
97822
|
-
font-size: 15px;
|
|
97823
|
-
height: 16px;
|
|
97824
|
-
margin: 7px 6px;
|
|
97825
|
-
padding: 0;
|
|
97826
|
-
}
|
|
97827
|
-
.adl-toast__status {
|
|
97828
|
-
border-radius: 50%;
|
|
97829
|
-
color: #00112c;
|
|
97830
|
-
font-size: 15px;
|
|
97831
|
-
height: 18px;
|
|
97832
|
-
margin: 4px 0 0 8px;
|
|
97833
|
-
vertical-align: top;
|
|
97834
|
-
width: 18px;
|
|
97835
|
-
}
|
|
97836
|
-
.adl-toast__status--success {
|
|
97837
|
-
background-color: #60d58f;
|
|
97838
|
-
}
|
|
97839
|
-
.adl-toast__status--error {
|
|
97840
|
-
background-color: #ee5959;
|
|
97841
|
-
}
|
|
97842
|
-
.adl-toast__status-icon {
|
|
97843
|
-
margin: 1.5px;
|
|
97844
|
-
}
|
|
97845
|
-
.adl-toast__action {
|
|
97846
|
-
color: #a5afbd;
|
|
97847
|
-
display: block;
|
|
97848
|
-
margin: 2px 0 0 0;
|
|
97849
|
-
padding: 0 8px 4px;
|
|
97850
|
-
font-size: 15px;
|
|
97851
|
-
font-weight: 600;
|
|
97852
|
-
line-height: 1.4;
|
|
97853
|
-
text-decoration: underline;
|
|
97854
|
-
}
|
|
97855
|
-
.adl-toast__action:visited {
|
|
97856
|
-
color: #a5afbd;
|
|
97857
|
-
}
|
|
97858
|
-
.adl-toast__loader {
|
|
97859
|
-
display: inline-block;
|
|
97860
|
-
height: 16px;
|
|
97861
|
-
margin: 6px;
|
|
97862
|
-
width: 16px;
|
|
97863
|
-
}
|
|
97864
|
-
.adyen-kyc-dropin__toast-context {
|
|
97865
|
-
max-width: calc(100% - 16px);
|
|
97866
|
-
}
|
|
97867
|
-
.adyen-kyc-dropin__toast-stack {
|
|
97868
|
-
display: flex;
|
|
97869
|
-
justify-content: center;
|
|
97870
|
-
position: absolute;
|
|
97871
|
-
width: 100%;
|
|
97872
|
-
z-index: 1;
|
|
97873
|
-
}
|
|
97874
|
-
.adyen-layout-xs-only .adyen-kyc-dropin__toast-stack {
|
|
97875
|
-
bottom: 16px;
|
|
97876
|
-
position: fixed;
|
|
97877
|
-
}
|
|
97878
|
-
.adyen-layout-md .adyen-kyc-dropin__toast-stack {
|
|
97879
|
-
top: 16px;
|
|
97880
|
-
}/* #region Spacing */
|
|
97881
|
-
/* #endregion */
|
|
97882
|
-
/* #region Colors */
|
|
97883
|
-
/* #endregion */
|
|
97884
|
-
/* #region Fonts */
|
|
97885
|
-
/* #endregion */
|
|
97886
|
-
/* #region Borders */
|
|
97887
|
-
/* #endregion */
|
|
97888
|
-
/* #region Box-shadow */
|
|
97889
|
-
/* #endregion */
|
|
97890
|
-
/* #region Shadows */
|
|
97891
|
-
/* #endregion */
|
|
97892
|
-
/* #region Z-index */
|
|
97893
|
-
/* #endregion */
|
|
97894
|
-
/* #region Transition */
|
|
97895
|
-
/* #endregion */
|
|
97896
|
-
/* #region Timing functions */
|
|
97897
|
-
/* #endregion */
|
|
97898
|
-
/* #region Focus ring */
|
|
97899
|
-
/* #endregion */
|
|
97900
|
-
/* #region Inline components */
|
|
97901
|
-
/* #endregion */
|
|
97902
97944
|
.adyen-contract-viewer {
|
|
97903
97945
|
background-color: #fff;
|
|
97904
97946
|
}.adyen-kyc-italic {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import './_business-type-selection.component.scss';
|
|
2
|
+
import type { JSX } from 'preact';
|
|
3
|
+
import { TranslationKey } from '../../language/types';
|
|
4
|
+
import { ValidatorRules } from '../../utils/validation/types';
|
|
5
|
+
import { BusinessTypeModel, BusinessTypeSelectionProps, BusinessTypeSelectionSchema } from './types';
|
|
6
|
+
export declare const businessTypes: readonly BusinessTypeModel[];
|
|
7
|
+
export declare const getBusinessTypes: (includeTrust: boolean, includeSoleProp: boolean) => readonly BusinessTypeModel[];
|
|
8
|
+
export declare const businessTypeSelectionValidationRules: ValidatorRules<BusinessTypeSelectionSchema>;
|
|
9
|
+
export declare enum BusinessTypeSelectionStep {
|
|
10
|
+
BUSINESS_TYPE_SELECTION = 0,
|
|
11
|
+
LEGAL_ARRANGEMENT_SELECTION = 1,
|
|
12
|
+
WE_CANNOT_SET_UP_ACCOUNT = 2,
|
|
13
|
+
CONFIRM_BUSINESS_SETUP_CHANGE = 3
|
|
14
|
+
}
|
|
15
|
+
export declare const businessTypeSelectionStepTitles: Record<BusinessTypeSelectionStep, TranslationKey>;
|
|
16
|
+
export declare const BusinessTypeSelection: ({ legalEntityResponse, accountHolder, showTrustOption, showSolePropOption, onAccountHolderSelect, handleUpdateLegalEntity, }: BusinessTypeSelectionProps) => JSX.Element | null;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ExistingLegalEntity } from '../../core/models/api/legal-entity';
|
|
2
|
+
import { TranslationKey } from '../../language/types';
|
|
3
|
+
import { DropinAPIHandlers } from '../Dropins/types';
|
|
4
|
+
import { AccountHolderOption, LegalArrangementOption } from '../internal/AccountHolder/types';
|
|
5
|
+
export interface BusinessTypeSelectionProps extends DropinAPIHandlers {
|
|
6
|
+
legalEntityResponse: ExistingLegalEntity;
|
|
7
|
+
accountHolder?: AccountHolderOption;
|
|
8
|
+
showTrustOption: boolean;
|
|
9
|
+
showSolePropOption: boolean;
|
|
10
|
+
onAccountHolderSelect: (accountHolder: AccountHolderOption) => void;
|
|
11
|
+
}
|
|
12
|
+
export interface BusinessTypeSelectionSchema {
|
|
13
|
+
businessType?: BusinessTypeModel;
|
|
14
|
+
legalArrangement?: LegalArrangementModel;
|
|
15
|
+
trusteeType?: TrusteeTypeModel;
|
|
16
|
+
}
|
|
17
|
+
export type BusinessType = 'individual' | 'soleProprietorship' | 'company' | 'legalArrangement';
|
|
18
|
+
export interface BusinessTypeModel {
|
|
19
|
+
id: BusinessType;
|
|
20
|
+
name: TranslationKey;
|
|
21
|
+
description: TranslationKey;
|
|
22
|
+
accountHolder?: Exclude<AccountHolderOption, LegalArrangementOption>;
|
|
23
|
+
}
|
|
24
|
+
export interface LegalArrangementModel {
|
|
25
|
+
id: LegalArrangementOption;
|
|
26
|
+
accountHolder: LegalArrangementOption;
|
|
27
|
+
name: TranslationKey;
|
|
28
|
+
description: TranslationKey;
|
|
29
|
+
}
|
|
30
|
+
export type TrusteeType = 'individual' | 'company';
|
|
31
|
+
export interface TrusteeTypeModel {
|
|
32
|
+
id: TrusteeType;
|
|
33
|
+
name: TranslationKey;
|
|
34
|
+
}
|
|
@@ -26,4 +26,5 @@ export interface CompanyProps extends BaseOuterFormProps<CompanySchema> {
|
|
|
26
26
|
onSubmit?: (company: CompanySchema) => void;
|
|
27
27
|
handleAddressSearch?: DropinAPIHandlers['handleAddressSearch'];
|
|
28
28
|
handleFindAddress?: DropinAPIHandlers['handleFindAddress'];
|
|
29
|
+
isTopLevelEntity: boolean;
|
|
29
30
|
}
|
|
@@ -2,7 +2,7 @@ import type { LegalEntity } from '../../../core/models/api/legal-entity';
|
|
|
2
2
|
import type { CompanyProps } from '../../Company/types';
|
|
3
3
|
import type { TrustMember } from '../../TrustMembers/types';
|
|
4
4
|
import type { DropinAPIHandlers, DropinProps } from '../types';
|
|
5
|
-
export interface CompanyDropinProps extends CompanyProps, DropinAPIHandlers, DropinProps {
|
|
5
|
+
export interface CompanyDropinProps extends Omit<CompanyProps, 'isTopLevelEntity'>, DropinAPIHandlers, DropinProps {
|
|
6
6
|
parentLegalEntity?: LegalEntity;
|
|
7
7
|
associationDetail?: TrustMember;
|
|
8
8
|
isTargetLegalEntityType?: boolean;
|
|
@@ -11,7 +11,7 @@ export declare const payoutSteps: {
|
|
|
11
11
|
readonly formName: "verificationMethod";
|
|
12
12
|
readonly fields: (keyof PayoutVerificationMethodSchema)[];
|
|
13
13
|
};
|
|
14
|
-
readonly payoutAccountDetails: (tasktype: TaskTypes) => FormModel;
|
|
14
|
+
readonly payoutAccountDetails: (tasktype: TaskTypes, isNewEntryFlowExperimentEnabled: boolean) => FormModel;
|
|
15
15
|
readonly payoutAccountDocuments: {
|
|
16
16
|
readonly formId: "payoutAccountDocuments";
|
|
17
17
|
readonly formName: "bankStatement";
|
|
@@ -23,6 +23,6 @@ export declare const payoutSteps: {
|
|
|
23
23
|
readonly fields: (keyof AccountVerificationSchema)[];
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
export declare const getAppropriatePayoutDetailsSteps: (currentTask: TaskTypes, isEditing: boolean, instantVerificationAvailable: boolean, canChangeCountry: boolean) => FormList;
|
|
26
|
+
export declare const getAppropriatePayoutDetailsSteps: (currentTask: TaskTypes, isEditing: boolean, instantVerificationAvailable: boolean, canChangeCountry: boolean, isNewEntryFlowExperimentEnabled: boolean) => FormList;
|
|
27
27
|
declare function PayoutDetailsComponent(props: PayoutDetailsProps): import("preact").JSX.Element;
|
|
28
28
|
export default PayoutDetailsComponent;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import '../TaskListItem.scss';
|
|
2
2
|
import { TaskListItemProps } from '../types';
|
|
3
|
-
declare const TaskListItem: ({ title, tagline, icon, status, onNavigateToTask, disabled, problems, downloadHandler, info, loading, showErrorAlerts, removeEntity, isRemoveDisabled, handleIsRemoveDisabled, }: TaskListItemProps) => import("preact").JSX.Element;
|
|
3
|
+
declare const TaskListItem: ({ title, tagline, icon, status, onNavigateToTask, disabled, problems, downloadHandler, info, loading, showErrorAlerts, showWarningAlert, removeEntity, isRemoveDisabled, handleIsRemoveDisabled, }: TaskListItemProps) => import("preact").JSX.Element;
|
|
4
4
|
export default TaskListItem;
|