0.0.36 • Published 3 months ago

@embedded-banking-fundr/rabobank-invoice-finance v0.0.36

Weekly downloads
-
License
-
Repository
-
Last release
3 months ago

Rabobank Invoice Finance Component

Install

To install the Rabobank Invoice Finance component, you can use either npm or yarn. Run the following command depending on your package manager:

NPM

npm i @embedded-banking-fundr/rabobank-invoice-finance-uat

Attribute/Property

Here are the attributes and properties used to identify the partner and pre-fill information into the widget:

JSON PathAttribute/PropertyDescriptionTypeExample
partnerIdpartnerIdThe identifier for the partner widget.String"DLS_Widget"
kvkNumberkvkNumberThe KVK number for the company.String"33236408"
contactDetailscontactDetailsThe name of the contact person.String (JSON)"John"
contactDetails.nameThe name of the contact person.String"John"
contactDetails.phoneThe phone number of the contact person.String"123-456-7890"
contactDetails.emailThe email address of the contact person.String"johndoe@example.com"
contactDetails.surnameThe surname of the contact person.String"Doe"
invoicesinvoicesThe ID of the invoice.Array (JSON)"INV123456"
invoices[0].invoiceIdThe ID of the invoice.Array (JSON)"INV123456"
invoices[0].invoiceAmountThe amount of the invoice.String"1000.00"
invoices[0].issuerDateThe date the invoice was issued.String"2023-09-13"
invoices[0].deadlineDateThe deadline date for the invoice payment.String"2023-10-13"
invoices[0].debtorNameThe name of the debtor.String"John Doe"
invoices[0].debtorKvkThe KVK number of the debtor.String"42136408"

REACT

import React from 'react';
import '@embedded-banking-fundr/rabobank-invoice-finance-uat/invoice-finance';

// define available props
const InvoiceFinanceWrapper = ({ kvkNumber }) => {
  const partnerId = 'partnerId';

  return (
    <div>
      <invoice-finance partnerId={partnerId} kvkNumber={kvkNumber}></invoice-finance>
    </div>
  );
};

export default InvoiceFinanceWrapper;

ANGULAR

Add "CUSTOM_ELEMENTS_SCHEMA" to the schema's in the app.module.ts

import {CUSTOM_ELEMENTS_SCHEMA, NgModule} from '@angular/core';
...


@NgModule({
    declarations: [
        AppComponent
    ],
    imports: [
        BrowserModule
    ],
    providers: [],
    bootstrap: [AppComponent],
    schemas:[CUSTOM_ELEMENTS_SCHEMA]
})
import { Component, Input } from '@angular/core';
import '@embedded-banking-fundr/rabobank-invoice-finance-uat/invoice-finance';

@Component({
  selector: 'app-invoice-finance-wrapper',
  template: '<div><invoice-finance partnerId="{{partnerId}}" kvkNumber="{{kvkNumber}}" ></invoice-finance></div>',
})
export class InvoiceFinanceWrapperComponent {
  partnerId: string = 'partnerId';
  // define available props
  @Input() kvkNumber: string | undefined;
}

VUE

<script setup>
import '@embedded-banking-fundr/rabobank-invoice-finance-uat/invoice-finance';

const partnerId = 'partnerId';

// define available props
const { kvkNumber } = defineProps(['kvkNumber']);
</script>

<template>
  <div>
    <invoice-finance :partnerId="partnerId" :kvkNumber="kvkNumber"></invoice-finance>
  </div>
</template>

Styling Adjust the component's styling by modifying the CSS variables:

<style>
  invoice-finance {
    --rabobank-color-primary: #231f20;
    --rabobank-color-secondary: #ee3632;
    --rabobank-svg-primary: #231f20;
    --rabobank-svg-primary-light: rgba(35, 31, 32, 0.69);
    --rabobank-svg-secondary: #ee3632;
  }
</style>

To use the invoice finance component in your project, include the HTML snippet and CSS styles mentioned above. Customize the CSS variables as needed to match the partner's platform styling.

0.0.40

3 months ago

0.0.155

3 months ago

0.0.154

3 months ago

0.0.153

3 months ago

0.0.152

3 months ago

0.0.151

3 months ago

0.0.150

3 months ago

0.0.139

3 months ago

0.0.138

3 months ago

0.0.140

3 months ago

0.0.136-next.0

3 months ago

0.0.137-next.0

3 months ago

0.0.133-next.0

3 months ago

0.0.128-next.0

3 months ago

0.0.131-next.0

3 months ago

0.0.125-next.0

3 months ago

0.0.132-next.0

3 months ago

0.0.127-next.0

3 months ago

0.0.126-next.0

3 months ago

0.0.120-next.0

3 months ago

0.0.124-next.0

3 months ago

0.0.121-next.0

3 months ago

0.0.123-next.0

3 months ago

0.0.119-next.0

3 months ago

0.0.122-next.0

3 months ago

0.0.113-next.0

4 months ago

0.0.117-next.0

4 months ago

0.0.115-next.0

4 months ago

0.0.116-next.0

4 months ago

0.0.118-next.0

4 months ago

0.0.111-next.2

4 months ago

0.0.111-next.3

4 months ago

0.0.106-next.0

4 months ago

0.0.105-next.0

4 months ago

0.0.101-next.0

4 months ago

0.0.102-next.0

4 months ago

0.0.99-next.0

4 months ago

0.0.108-next.0

4 months ago

0.0.103-next.0

4 months ago

0.0.104-next.0

4 months ago

0.0.100-next.0

4 months ago

0.0.109-next.0

4 months ago

0.0.107-next.0

4 months ago

0.0.97-next.0

4 months ago

0.0.98-next.0

4 months ago

0.0.96-next.0

4 months ago

0.0.95-next.0

4 months ago

0.0.89-next.0

4 months ago

0.0.81-next.0

4 months ago

0.0.88-next.0

4 months ago

0.0.80-next.0

4 months ago

0.0.85-next.0

4 months ago

0.0.84-next.0

4 months ago

0.0.90-next.0

4 months ago

0.0.94-next.0

4 months ago

0.0.93-next.0

4 months ago

0.0.91-next.0

4 months ago

0.0.92-next.0

4 months ago

0.0.87-next.0

4 months ago

0.0.86-next.0

4 months ago

0.0.82-next.0

4 months ago

0.0.83-next.0

4 months ago

0.0.75-next.0

4 months ago

0.0.74-next.0

4 months ago

0.0.73-next.0

4 months ago

0.0.72-next.0

4 months ago

0.0.71-next.0

4 months ago

0.0.70-next.0

4 months ago

0.0.78-next.0

4 months ago

0.0.76-next.0

4 months ago

0.0.77-next.0

4 months ago

0.0.79-next.0

4 months ago

0.0.69-next.0

4 months ago

0.0.64-next.0

4 months ago

0.0.63-next.0

4 months ago

0.0.65-next.0

4 months ago

0.0.68-next.0

4 months ago

0.0.66-next.0

4 months ago

0.0.67-next.0

4 months ago

0.0.49-next.0

4 months ago

0.0.62-next.0

4 months ago

0.0.61-next.0

4 months ago

0.0.60-next.0

4 months ago

0.0.57-next.0

4 months ago

0.0.56-next.0

4 months ago

0.0.59-next.0

4 months ago

0.0.58-next.0

4 months ago

0.0.54-next.0

4 months ago

0.0.55-next.0

4 months ago

0.0.53-next.0

4 months ago

0.0.52-next.0

4 months ago

0.0.50-next.0

4 months ago

0.0.51-next.0

4 months ago

0.0.46-next.0

5 months ago

0.0.45-next.0

5 months ago

0.0.44-next.0

5 months ago

0.0.43-next.0

5 months ago

0.0.42-next.0

5 months ago

0.0.47-next.0

5 months ago

0.0.40-next.0

5 months ago

0.0.48-next.0

5 months ago

0.0.41-next.0

5 months ago

0.0.29-next.0

5 months ago

0.0.31-next.0

5 months ago

0.0.30-next.0

5 months ago

0.0.33-next.0

5 months ago

0.0.32-next.0

5 months ago

0.0.35-next.0

5 months ago

0.0.34-next.0

5 months ago

0.0.18-next.0

5 months ago

0.0.17-next.0

5 months ago

0.0.16-next.0

5 months ago

0.0.15-next.0

5 months ago

0.0.13-next.0

5 months ago

0.0.19-next.0

5 months ago

0.0.23-next.0

5 months ago

0.0.21-next.0

5 months ago

0.0.22-next.0

5 months ago

0.0.20-next.0

5 months ago

0.0.28-next.0

5 months ago

0.0.27-next.0

5 months ago

0.0.24-next.0

5 months ago

0.0.26-next.0

5 months ago

0.0.11-next.0

5 months ago

0.0.12-next.0

5 months ago

0.0.10-next.0

5 months ago

0.0.9-next.0

5 months ago

0.0.39-next.0

5 months ago

0.0.37-next.0

5 months ago

0.0.7-next.0

5 months ago

0.0.38-next.0

5 months ago

0.0.6-next.0

5 months ago

0.0.2-next.0

5 months ago

0.0.5-next.0

5 months ago

0.0.4-next.0

5 months ago

0.0.36

7 months ago

0.0.35

7 months ago

0.0.34

7 months ago

0.0.33

7 months ago

0.0.32

7 months ago

0.0.31

7 months ago

0.0.30

7 months ago

0.0.29

7 months ago

0.0.28

7 months ago

0.0.27

7 months ago

0.0.26

7 months ago

0.0.25

7 months ago

0.0.24

7 months ago

0.0.7

10 months ago

0.0.6

10 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago