@qonto/embed-sdk 0.41.1 → 0.43.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/README.md +13 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.umd.js +690 -1
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js +1 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/default-msg.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/deferred.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/fnv1a64.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/id-generation.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/locale-status-event.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-controller.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/localized-decorator.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/runtime-msg.js +6 -0
- package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/str-tag.js +6 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js +6 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js +6 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js +6 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/state.js +6 -0
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js +6 -0
- package/dist/node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js +1 -0
- package/dist/node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js +6 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directive.js +6 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js +6 -0
- package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js +6 -0
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +1 -0
- package/dist/src/beneficiaries/beneficiaries.js +1 -1
- package/dist/src/index.js +1 -1
- package/dist/src/organizations/organizations.js +1 -1
- package/dist/src/sepa-transfers/sepa-transfers.js +1 -1
- package/dist/src/transactions/transactions.js +1 -1
- package/dist/src/ui/customizable-components/badge-status/qonto-badge-status.js +4 -0
- package/dist/src/ui/customizable-components/badge-status/qonto-badge-status.styles.js +130 -0
- package/dist/src/ui/customizable-components/button/qonto-button.js +6 -0
- package/dist/src/ui/customizable-components/button/qonto-button.styles.js +153 -0
- package/dist/src/ui/customizable-components/icons/icon-checkmark-rounded-filled.js +15 -0
- package/dist/src/ui/customizable-components/icons/icon-clock-filled.js +9 -0
- package/dist/src/ui/customizable-components/icons/icon-declined.js +12 -0
- package/dist/src/ui/customizable-components/icons/icon-error-filled.js +10 -0
- package/dist/src/ui/customizable-components/icons/icon-in-progress.js +13 -0
- package/dist/src/ui/customizable-components/icons/icon-warning.js +15 -0
- package/dist/src/ui/customizable-components/localize/configure-localization.js +1 -0
- package/dist/src/ui/customizable-components/localize/generated/locale-codes.js +1 -0
- package/dist/src/ui/customizable-components/localize/generated/locales/de.js +1 -0
- package/dist/src/ui/customizable-components/localize/generated/locales/es.js +1 -0
- package/dist/src/ui/customizable-components/localize/generated/locales/fr.js +1 -0
- package/dist/src/ui/customizable-components/localize/generated/locales/it.js +1 -0
- package/dist/src/ui/customizable-components/localize/generated/locales/nl.js +1 -0
- package/dist/src/ui/customizable-components/localize/generated/locales/pt.js +1 -0
- package/dist/src/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.js +8 -0
- package/dist/src/ui/customizable-components/skeleton-loader/qonto-skeleton-loader-line.styles.js +26 -0
- package/dist/src/ui/customizable-components/styles/styles.css.js +1 -0
- package/dist/src/ui/customizable-components/transfer-list/transfer-list.events.js +1 -0
- package/dist/src/ui/customizable-components/transfer-list/transfer-list.js +51 -0
- package/dist/src/ui/customizable-components/transfer-list/transfer-list.styles.js +160 -0
- package/dist/src/ui/customizable-components/transfer-list/transfer-list.utils.js +1 -0
- package/dist/src/ui/customizable-components/utils/format-date.js +1 -0
- package/dist/src/ui/customizable-components/utils/format-money.js +1 -0
- package/dist/src/ui/customizable-components/utils/locales.js +1 -0
- package/dist/src/ui/index.js +1 -0
- package/dist/src/ui/ui-elements/transfer-list.js +1 -0
- package/dist/src/ui/ui-elements.constants.js +1 -0
- package/dist/src/ui/ui-elements.validation.js +1 -0
- package/dist/ui/customizable-components/localize/configure-localization.d.ts +6 -0
- package/dist/ui/customizable-components/localize/configure-localization.d.ts.map +1 -0
- package/dist/ui/customizable-components/localize/generated/locale-codes.d.ts +14 -0
- package/dist/ui/customizable-components/localize/generated/locale-codes.d.ts.map +1 -0
- package/dist/ui/customizable-components/localize/generated/locales/de.d.ts +18 -0
- package/dist/ui/customizable-components/localize/generated/locales/de.d.ts.map +1 -0
- package/dist/ui/customizable-components/localize/generated/locales/es.d.ts +18 -0
- package/dist/ui/customizable-components/localize/generated/locales/es.d.ts.map +1 -0
- package/dist/ui/customizable-components/localize/generated/locales/fr.d.ts +18 -0
- package/dist/ui/customizable-components/localize/generated/locales/fr.d.ts.map +1 -0
- package/dist/ui/customizable-components/localize/generated/locales/it.d.ts +18 -0
- package/dist/ui/customizable-components/localize/generated/locales/it.d.ts.map +1 -0
- package/dist/ui/customizable-components/localize/generated/locales/nl.d.ts +18 -0
- package/dist/ui/customizable-components/localize/generated/locales/nl.d.ts.map +1 -0
- package/dist/ui/customizable-components/localize/generated/locales/pt.d.ts +18 -0
- package/dist/ui/customizable-components/localize/generated/locales/pt.d.ts.map +1 -0
- package/dist/ui/customizable-components/transfer-list/transfer-list.d.ts +1 -0
- package/dist/ui/customizable-components/transfer-list/transfer-list.d.ts.map +1 -1
- package/dist/ui/customizable-components/transfer-list/transfer-list.styles.d.ts.map +1 -1
- package/dist/ui/customizable-components/transfer-list/transfer-list.utils.d.ts +2 -1
- package/dist/ui/customizable-components/transfer-list/transfer-list.utils.d.ts.map +1 -1
- package/dist/ui/ui-elements/transfer-list.d.ts.map +1 -1
- package/package.json +6 -2
package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/install.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{defaultMsg as o}from"../internal/default-msg.js";let e=o,n=!1;function r(o){if(n)throw new Error("lit-localize can only be configured once");e=o,n=!0}export{r as _installMsgImplementation,e as msg};
|
package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/init/runtime.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Deferred as e}from"../internal/deferred.js";import{LOCALE_STATUS_EVENT as r}from"../internal/locale-status-event.js";import{runtimeMsg as t}from"../internal/runtime-msg.js";import{_installMsgImplementation as o}from"./install.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2021 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/function a(e){window.dispatchEvent(new CustomEvent(r,{detail:e}))}let s,l,n,i,c,d="",m=new e;m.resolve();let u=0;const p=e=>(o(((e,r)=>t(c,e,r))),d=l=e.sourceLocale,n=new Set(e.targetLocales),n.add(e.sourceLocale),i=e.loadLocale,{getLocale:w,setLocale:f}),w=()=>d,f=r=>{if(r===(s??d))return m.promise;if(!n||!i)throw new Error("Internal error");if(!n.has(r))throw new Error("Invalid locale code");u++;const t=u;s=r,m.settled&&(m=new e),a({status:"loading",loadingLocale:r});return(r===l?Promise.resolve({templates:void 0}):i(r)).then((e=>{u===t&&(d=r,s=void 0,c=e.templates,a({status:"ready",readyLocale:r}),m.resolve())}),(e=>{u===t&&(a({status:"error",errorLocale:r,errorMessage:e.toString()}),m.reject(e))})),m.promise};export{p as configureLocalization};
|
package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/deferred.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
class e{constructor(){this.settled=!1,this.promise=new Promise(((e,t)=>{this._resolve=e,this._reject=t}))}resolve(e){this.settled=!0,this._resolve(e)}reject(e){this.settled=!0,this._reject(e)}}export{e as Deferred};
|
package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/fnv1a64.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2014 Travis Webb
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*/
|
|
6
|
+
const t=[];for(let o=0;o<256;o++)t[o]=(o>>4&15).toString(16)+(15&o).toString(16);function o(o){let r=0,e=8997,n=0,l=33826,c=0,f=40164,g=0,i=52210;for(let t=0;t<o.length;t++)e^=o.charCodeAt(t),r=435*e,n=435*l,c=435*f,g=435*i,c+=e<<8,g+=l<<8,n+=r>>>16,e=65535&r,c+=n>>>16,l=65535&n,i=g+(c>>>16)&65535,f=65535&c;return t[i>>8]+t[255&i]+t[f>>8]+t[255&f]+t[l>>8]+t[255&l]+t[e>>8]+t[255&e]}export{o as fnv1a64};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{LOCALE_STATUS_EVENT as t}from"./locale-status-event.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2021 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/class e{constructor(t){this.__litLocalizeEventHandler=t=>{"ready"===t.detail.status&&this.host.requestUpdate()},this.host=t}hostConnected(){window.addEventListener(t,this.__litLocalizeEventHandler)}hostDisconnected(){window.removeEventListener(t,this.__litLocalizeEventHandler)}}const s=t=>t.addController(new e(t));export{s as updateWhenLocaleChanges};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{defaultMsg as t}from"./default-msg.js";import{joinStringsAndValues as e}from"./str-tag.js";import{generateMsgId as r}from"./id-generation.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2021 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/const s=new WeakMap,n=new Map;function i(i,o,a){if(i){const t=a?.id??function(t){const e="string"==typeof t?t:t.strings;let s=n.get(e);void 0===s&&(s=r(e,"string"!=typeof t&&!("strTag"in t)),n.set(e,s));return s}(o),f=i[t];if(f){if("string"==typeof f)return f;if("strTag"in f)return e(f.strings,o.values,f.values);{let t=s.get(f);return void 0===t&&(t=f.values,s.set(f,t)),{...f,values:t.map((t=>o.values[t]))}}}}return t(o)}export{i as runtimeMsg};
|
package/dist/node_modules/.pnpm/@lit_localize@0.12.2/node_modules/@lit/localize/internal/str-tag.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const t=(t,...r)=>({strTag:!0,strings:t,values:r}),r=t=>"string"!=typeof t&&"strTag"in t,e=(t,r,e)=>{let s=t[0];for(let n=1;n<t.length;n++)s+=r[e?e[n-1]:n-1],s+=t[n];return s};export{r as isStrTagged,e as joinStringsAndValues,t as str};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2019 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const t=globalThis,e=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class n{constructor(t,e,o){if(this._$cssResult$=!0,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const s=this.t;if(e&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o.set(s,t))}return t}toString(){return this.cssText}}const S=t=>new n("string"==typeof t?t:t+"",void 0,s),r=(t,...e)=>{const o=1===t.length?t[0]:e.reduce(((e,s,o)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+t[o+1]),t[0]);return new n(o,t,s)},c=(s,o)=>{if(e)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o)}},a=e?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return S(e)})(t):t;export{n as CSSResult,c as adoptStyles,r as css,a as getCompatibleStyle,e as supportsAdoptingStyleSheets,S as unsafeCSS};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{notEqual as t,defaultConverter as e}from"../reactive-element.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2017 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/const r={attribute:!0,type:String,converter:e,reflect:!1,hasChanged:t},o=(t=r,e,o)=>{const{kind:a,metadata:s}=o;let n=globalThis.litPropertyMetadata.get(s);if(void 0===n&&globalThis.litPropertyMetadata.set(s,n=new Map),"setter"===a&&((t=Object.create(t)).wrapped=!0),n.set(o.name,t),"accessor"===a){const{name:r}=o;return{set(o){const a=e.get.call(this);e.set.call(this,o),this.requestUpdate(r,a,t)},init(e){return void 0!==e&&this.C(r,void 0,t,e),e}}}if("setter"===a){const{name:r}=o;return function(o){const a=this[r];e.call(this,o),this.requestUpdate(r,a,t)}}throw Error("Unsupported decorator location: "+a)};function a(t){return(e,r)=>"object"==typeof r?o(t,e,r):((t,e,r)=>{const o=e.hasOwnProperty(r);return e.constructor.createProperty(r,t),o?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}export{a as property,o as standardProperty};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{getCompatibleStyle as t,adoptStyles as e}from"./css-tag.js";export{CSSResult,css,supportsAdoptingStyleSheets,unsafeCSS}from"./css-tag.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2017 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/const{is:s,defineProperty:i,getOwnPropertyDescriptor:r,getOwnPropertyNames:o,getOwnPropertySymbols:a,getPrototypeOf:n}=Object,h=globalThis,c=h.trustedTypes,p=c?c.emptyScript:"",l=h.reactiveElementPolyfillSupport,d=(t,e)=>t,u={toAttribute(t,e){switch(e){case Boolean:t=t?p:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let s=t;switch(e){case Boolean:s=null!==t;break;case Number:s=null===t?null:Number(t);break;case Object:case Array:try{s=JSON.parse(t)}catch(t){s=null}}return s}},f=(t,e)=>!s(t,e),E={attribute:!0,type:String,converter:u,reflect:!1,useDefault:!1,hasChanged:f};Symbol.metadata??=Symbol("metadata"),h.litPropertyMetadata??=new WeakMap;class _ extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=E){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){const s=Symbol(),r=this.getPropertyDescriptor(t,s,e);void 0!==r&&i(this.prototype,t,r)}}static getPropertyDescriptor(t,e,s){const{get:i,set:o}=r(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get:i,set(e){const r=i?.call(this);o?.call(this,e),this.requestUpdate(t,r,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??E}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,e=[...o(t),...a(t)];for(const s of e)this.createProperty(s,t[s])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,s]of e)this.elementProperties.set(t,s)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const s=this._$Eu(t,e);void 0!==s&&this._$Eh.set(s,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const s=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const e of i)s.unshift(t(e))}else void 0!==e&&s.push(t(e));return s}static _$Eu(t,e){const s=e.attribute;return!1===s?void 0:"string"==typeof s?s:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const s of e.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return e(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,s){this._$AK(t,s)}_$ET(t,e){const s=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,s);if(void 0!==i&&!0===s.reflect){const r=(void 0!==s.converter?.toAttribute?s.converter:u).toAttribute(e,s.type);this._$Em=t,null==r?this.removeAttribute(i):this.setAttribute(i,r),this._$Em=null}}_$AK(t,e){const s=this.constructor,i=s._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=s.getPropertyOptions(i),r="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=i;const o=r.fromAttribute(e,t.type);this[i]=o??this._$Ej?.get(i)??o,this._$Em=null}}requestUpdate(t,e,s){if(void 0!==t){const i=this.constructor,r=this[t];if(s??=i.getPropertyOptions(t),!((s.hasChanged??f)(r,e)||s.useDefault&&s.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,s))))return;this.C(t,e,s)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(t,e,{useDefault:s,reflect:i,wrapped:r},o){s&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,o??e??this[t]),!0!==r||void 0!==o)||(this._$AL.has(t)||(this.hasUpdated||s||(e=void 0),this._$AL.set(t,e)),!0===i&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,s]of t){const{wrapped:t}=s,i=this[e];!0!==t||this._$AL.has(e)||void 0===i||this.C(e,void 0,s,i)}}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EM()}catch(e){throw t=!1,this._$EM(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM()}updated(t){}firstUpdated(t){}}_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[d("elementProperties")]=new Map,_[d("finalized")]=new Map,l?.({ReactiveElement:_}),(h.reactiveElementVersions??=[]).push("2.1.1");export{_ as ReactiveElement,e as adoptStyles,u as defaultConverter,t as getCompatibleStyle,f as notEqual};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,r,t,o){var c,f=arguments.length,n=f<3?r:null===o?o=Object.getOwnPropertyDescriptor(r,t):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,r,t,o);else for(var p=e.length-1;p>=0;p--)(c=e[p])&&(n=(f<3?c(n):f>3?c(r,t,n):c(r,t))||n);return f>3&&n&&Object.defineProperty(r,t,n),n}"function"==typeof SuppressedError&&SuppressedError;export{e as __decorate};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{ReactiveElement as e}from"../../../@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";export{defaultConverter,notEqual}from"../../../@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{render as t,noChange as n}from"../../../lit-html@3.3.1/node_modules/lit-html/lit-html.js";export{html,nothing,svg}from"../../../lit-html@3.3.1/node_modules/lit-html/lit-html.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2017 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/const s=globalThis;class l extends e{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=t(n,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n}}l._$litElement$=!0,l.finalized=!0,s.litElementHydrateSupport?.({LitElement:l});const o=s.litElementPolyfillSupport;o?.({LitElement:l}),(s.litElementVersions??=[]).push("4.2.1");export{l as LitElement,e as ReactiveElement,n as noChange,t as render};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2017 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const t={CHILD:2},e=t=>(...e)=>({_$litDirective$:t,values:e});class r{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}export{r as Directive,t as PartType,e as directive};
|
package/dist/node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/directives/unsafe-html.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{nothing as t,noChange as i}from"../lit-html.js";import{directive as r,Directive as e,PartType as s}from"../directive.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2017 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/class n extends e{constructor(i){if(super(i),this.it=t,i.type!==s.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(r){if(r===t||null==r)return this._t=void 0,this.it=r;if(r===i)return r;if("string"!=typeof r)throw Error(this.constructor.directiveName+"() called with a non-string value");if(r===this.it)return this._t;this.it=r;const e=[r];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}n.directiveName="unsafeHTML",n.resultType=1;const o=r(n);export{n as UnsafeHTMLDirective,o as unsafeHTML};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2017 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const t=globalThis,e=t.trustedTypes,s=e?e.createPolicy("lit-html",{createHTML:t=>t}):void 0,i="$lit$",n=`lit$${Math.random().toFixed(9).slice(2)}$`,o="?"+n,r=`<${o}>`,h=document,l=()=>h.createComment(""),$=t=>null===t||"object"!=typeof t&&"function"!=typeof t,A=Array.isArray,_="[ \t\n\f\r]",a=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,c=/-->/g,d=/>/g,p=RegExp(`>|${_}(?:([^\\s"'>=/]+)(${_}*=${_}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),u=/'/g,g=/"/g,v=/^(?:script|style|textarea|title)$/i,f=t=>(e,...s)=>({_$litType$:t,strings:e,values:s}),m=f(1),y=f(2),x=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),N=new WeakMap,T=h.createTreeWalker(h,129);function b(t,e){if(!A(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(e):e}const C=(t,e)=>{const s=t.length-1,o=[];let h,l=2===e?"<svg>":3===e?"<math>":"",$=a;for(let e=0;e<s;e++){const s=t[e];let A,_,f=-1,m=0;for(;m<s.length&&($.lastIndex=m,_=$.exec(s),null!==_);)m=$.lastIndex,$===a?"!--"===_[1]?$=c:void 0!==_[1]?$=d:void 0!==_[2]?(v.test(_[2])&&(h=RegExp("</"+_[2],"g")),$=p):void 0!==_[3]&&($=p):$===p?">"===_[0]?($=h??a,f=-1):void 0===_[1]?f=-2:(f=$.lastIndex-_[2].length,A=_[1],$=void 0===_[3]?p:'"'===_[3]?g:u):$===g||$===u?$=p:$===c||$===d?$=a:($=p,h=void 0);const y=$===p&&t[e+1].startsWith("/>")?" ":"";l+=$===a?s+r:f>=0?(o.push(A),s.slice(0,f)+i+s.slice(f)+n+y):s+n+(-2===f?e:y)}return[b(t,l+(t[s]||"<?>")+(2===e?"</svg>":3===e?"</math>":"")),o]};class M{constructor({strings:t,_$litType$:s},r){let h;this.parts=[];let $=0,A=0;const _=t.length-1,a=this.parts,[c,d]=C(t,s);if(this.el=M.createElement(c,r),T.currentNode=this.el.content,2===s||3===s){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(h=T.nextNode())&&a.length<_;){if(1===h.nodeType){if(h.hasAttributes())for(const t of h.getAttributeNames())if(t.endsWith(i)){const e=d[A++],s=h.getAttribute(t).split(n),i=/([.?@])?(.*)/.exec(e);a.push({type:1,index:$,name:i[2],strings:s,ctor:"."===i[1]?B:"?"===i[1]?U:"@"===i[1]?O:I}),h.removeAttribute(t)}else t.startsWith(n)&&(a.push({type:6,index:$}),h.removeAttribute(t));if(v.test(h.tagName)){const t=h.textContent.split(n),s=t.length-1;if(s>0){h.textContent=e?e.emptyScript:"";for(let e=0;e<s;e++)h.append(t[e],l()),T.nextNode(),a.push({type:2,index:++$});h.append(t[s],l())}}}else if(8===h.nodeType)if(h.data===o)a.push({type:2,index:$});else{let t=-1;for(;-1!==(t=h.data.indexOf(n,t+1));)a.push({type:7,index:$}),t+=n.length-1}$++}}static createElement(t,e){const s=h.createElement("template");return s.innerHTML=t,s}}function w(t,e,s=t,i){if(e===x)return e;let n=void 0!==i?s._$Co?.[i]:s._$Cl;const o=$(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),void 0===o?n=void 0:(n=new o(t),n._$AT(t,s,i)),void 0!==i?(s._$Co??=[])[i]=n:s._$Cl=n),void 0!==n&&(e=w(t,n._$AS(t,e.values),n,i)),e}class S{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){const{el:{content:e},parts:s}=this._$AD,i=(t?.creationScope??h).importNode(e,!0);T.currentNode=i;let n=T.nextNode(),o=0,r=0,l=s[0];for(;void 0!==l;){if(o===l.index){let e;2===l.type?e=new E(n,n.nextSibling,this,t):1===l.type?e=new l.ctor(n,l.name,l.strings,this,t):6===l.type&&(e=new P(n,this,t)),this._$AV.push(e),l=s[++r]}o!==l?.index&&(n=T.nextNode(),o++)}return T.currentNode=h,i}p(t){let e=0;for(const s of this._$AV)void 0!==s&&(void 0!==s.strings?(s._$AI(t,s,e),e+=s.strings.length-2):s._$AI(t[e])),e++}}class E{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,s,i){this.type=2,this._$AH=H,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=s,this.options=i,this._$Cv=i?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode;const e=this._$AM;return void 0!==e&&11===t?.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=w(this,t,e),$(t)?t===H||null==t||""===t?(this._$AH!==H&&this._$AR(),this._$AH=H):t!==this._$AH&&t!==x&&this._(t):void 0!==t._$litType$?this.$(t):void 0!==t.nodeType?this.T(t):(t=>A(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==H&&$(this._$AH)?this._$AA.nextSibling.data=t:this.T(h.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:s}=t,i="number"==typeof s?this._$AC(t):(void 0===s.el&&(s.el=M.createElement(b(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new S(i,this),s=t.u(this.options);t.p(e),this.T(s),this._$AH=t}}_$AC(t){let e=N.get(t.strings);return void 0===e&&N.set(t.strings,e=new M(t)),e}k(t){A(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let s,i=0;for(const n of t)i===e.length?e.push(s=new E(this.O(l()),this.O(l()),this,this.options)):s=e[i],s._$AI(n),i++;i<e.length&&(this._$AR(s&&s._$AB.nextSibling,i),e.length=i)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){const e=t.nextSibling;t.remove(),t=e}}setConnected(t){void 0===this._$AM&&(this._$Cv=t,this._$AP?.(t))}}class I{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,s,i,n){this.type=1,this._$AH=H,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,s.length>2||""!==s[0]||""!==s[1]?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=H}_$AI(t,e=this,s,i){const n=this.strings;let o=!1;if(void 0===n)t=w(this,t,e,0),o=!$(t)||t!==this._$AH&&t!==x,o&&(this._$AH=t);else{const i=t;let r,h;for(t=n[0],r=0;r<n.length-1;r++)h=w(this,i[s+r],e,r),h===x&&(h=this._$AH[r]),o||=!$(h)||h!==this._$AH[r],h===H?t=H:t!==H&&(t+=(h??"")+n[r+1]),this._$AH[r]=h}o&&!i&&this.j(t)}j(t){t===H?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}}class B extends I{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===H?void 0:t}}class U extends I{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==H)}}class O extends I{constructor(t,e,s,i,n){super(t,e,s,i,n),this.type=5}_$AI(t,e=this){if((t=w(this,t,e,0)??H)===x)return;const s=this._$AH,i=t===H&&s!==H||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,n=t!==H&&(s===H||i);i&&this.element.removeEventListener(this.name,this,s),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}}class P{constructor(t,e,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){w(this,t)}}const R=t.litHtmlPolyfillSupport;R?.(M,E),(t.litHtmlVersions??=[]).push("3.3.1");const W=(t,e,s)=>{const i=s?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=s?.renderBefore??null;i._$litPart$=n=new E(e.insertBefore(l(),t),t,void 0,s??{})}return n._$AI(t),n};export{m as html,x as noChange,H as nothing,W as render,y as svg};
|
package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function e(e,t){void 0===t&&(t={});var d=t.insertAt;if("undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===d&&n.firstChild?n.insertBefore(s,n.firstChild):n.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}export{e as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as e}from"../common/auth/auth.validate.js";import{
|
|
1
|
+
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as e}from"../common/auth/auth.validate.js";import{prepareUntrustBeneficiaryCall as n,untrustBeneficiaries as i,prepareUpdateBeneficiaryCall as t,updateBeneficiary as a,prepareAddBeneficiaryCall as o,addBeneficiary as s,prepareGetBeneficiaryCall as c,getBeneficiary as r,prepareGetBeneficiariesCall as m,getBeneficiaries as f}from"./beneficiaries.api.js";import{serializeBeneficiary as g}from"./beneficiaries.serializer.js";import{validateTrustBeneficiariesParams as y,validateUpdateBeneficiaryParams as p,validateAddBeneficiaryParams as u,validateGetBeneficiaryParams as b}from"./beneficiaries.validate.js";import{serializePaginationResponse as d}from"../common/api-pagination/api-pagination.js";import"../common/operation-settings/operation-settings.js";import"../common/environment/environment-manager.js";import"../common/locale/locale-manager.js";import{validateOperationSettingsParams as k}from"../validation/operation-settings-validation.js";import{encodeNetworkCall as T,decodeNetworkResponse as w}from"../common/network/network.js";async function S(n){const{stagingToken:i,proxyRequestFunction:t,accessToken:a,paginationSettings:o}=k(n?.operationSettings||{});if(t){const e=m({paginationSettings:o}),n=T(e),i=await t(n),a=w(i),s=a.body.beneficiaries.map((e=>g(e))),c=d(a.body.meta);return{beneficiaries:s,...c?{meta:c}:{}}}{const n=a||e(),t=await f({accessToken:n,stagingToken:i,paginationSettings:o}),s=t.beneficiaries.map((e=>g(e))),c=d(t.meta);return{beneficiaries:s,...c?{meta:c}:{}}}}async function j({beneficiarySettings:n,operationSettings:i}){const t=b(n?.beneficiaryId),{proxyRequestFunction:a,accessToken:o,stagingToken:s}=k(i||{});if(a){const e=c({beneficiaryId:t}),n=T(e),i=await a(n),o=w(i);return g(o.body.beneficiary)}{const n=o||e(),i=await r({beneficiaryId:t,accessToken:n,stagingToken:s});return g(i)}}async function l({beneficiarySettings:n,operationSettings:i}){const t=u(n),{proxyRequestFunction:a,accessToken:c,stagingToken:r,idempotencyKey:m}=k(i||{});if(a){const e=o({beneficiary:t,idempotencyKey:m}),n=T(e),i=await a(n),s=w(i);return g(s.body.beneficiary)}{const n=c||e(),i=await s({beneficiary:t,accessToken:n,stagingToken:r,idempotencyKey:m});return g(i)}}async function v({beneficiarySettings:n,operationSettings:i}){const o=p(n),{stagingToken:s,idempotencyKey:c,mfaPreference:r,proxyRequestFunction:m}=k(i),f={beneficiaryParamsBeingEdited:o,idempotencyKey:c,mfaPreference:r};if(m){const e=t(f),n=T(e),i=await m(n),a=w(i);return g(a.body.beneficiary)}{const n=i?.accessToken||e(),t=await a({...f,accessToken:n,stagingToken:s});return g(t)}}async function x({beneficiarySettings:t,operationSettings:a}){const o=y(t?.beneficiaryIds),{proxyRequestFunction:s,accessToken:c,stagingToken:r}=k(a||{});if(s){const e=n({beneficiaryIds:o}),i=T(e),t=await s(i);return w(t).body.beneficiaries.map(g)}{const n=c||e();return(await i({beneficiaryIds:o,accessToken:n,stagingToken:r})).map(g)}}export{l as addBeneficiary,S as getBeneficiaries,j as getBeneficiary,x as untrustBeneficiaries,v as updateBeneficiary};
|
package/dist/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{constants,initialize,logout}from"./common/index.js";export{cards}from"./cards/index.js";export{beneficiaries}from"./beneficiaries/index.js";export{sepaTransfers}from"./sepa-transfers/index.js";export{paymentLinks}from"./payment-links/index.js";export{organizations}from"./organizations/index.js";export{transactions}from"./transactions/index.js";export{authLinks}from"./auth-links/index.js";
|
|
1
|
+
export{constants,initialize,logout}from"./common/index.js";export{cards}from"./cards/index.js";export{beneficiaries}from"./beneficiaries/index.js";export{sepaTransfers}from"./sepa-transfers/index.js";export{paymentLinks}from"./payment-links/index.js";export{organizations}from"./organizations/index.js";export{transactions}from"./transactions/index.js";export{authLinks}from"./auth-links/index.js";export{createUIElement}from"./ui/index.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{
|
|
1
|
+
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as o}from"../common/auth/auth.validate.js";import{prepareGetOrganization as t,getOrganization as n}from"./organizations.api.js";import{serializeBankAccount as a}from"./organizations.serializer.js";import{validateOperationSettingsParams as i}from"../validation/operation-settings-validation.js";import{encodeNetworkCall as s,decodeNetworkResponse as r}from"../common/network/network.js";const e=async e=>{const{stagingToken:m,proxyRequestFunction:c}=i(e);if(c){const o=t({stagingToken:m}),n=await c(s(o)),{body:i}=r(n);return i.bank_accounts.map(a)}{const t=e.accessToken||o();return(await n({accessToken:t,stagingToken:m})).bank_accounts.map(a)}};export{e as getBankAccounts};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{authManager as e}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as n}from"../common/auth/auth.validate.js";import{serializePaginationResponse as t}from"../common/api-pagination/api-pagination.js";import{
|
|
1
|
+
import{authManager as e}from"../common/auth/auth.js";import{validatePresenceOfAuthToken as n}from"../common/auth/auth.validate.js";import{serializePaginationResponse as t}from"../common/api-pagination/api-pagination.js";import{prepareGetSepaTransfersCall as a,getSepaTransfers as s,prepareCancelSepaTransferCall as o,cancelSepaTransfer as r,verifySepaPayee as i,createSepaTransfer as c,prepareGetSepaTransferCall as m,getSepaTransfer as p}from"./sepa-transfers.api.js";import{serializeSepaTransfer as f,serializeToVopVerificationResult as g,serializeToNewSepaTransferDataObject as T}from"./sepa-transfers.serializer.js";import{validateGetSepaTransferCreationFlowLinkParams as u,validateCancelSepaTransferParams as d,validateCreateSepaTransferParams as k,validateGetSepaTransferParams as l}from"./sepa-transfers.validate.js";import{validateOperationSettingsParams as y}from"../validation/operation-settings-validation.js";import{buildIframeUrl as S,createIframe as w}from"../iframe/iframe-manager.js";import{buildIframeMessage as j}from"../iframe/iframe-message-builder.js";import{AUTH_LINK_ACTIONS as R,VOP_DECISIONS as E,ACTIONS as b}from"../common/constants.js";import{decorateUrlWithExtraParams as v,findBeneficiary as I}from"./sepa-transfers.utils.js";import{isRunningInBrowser as q}from"../common/runtime/runtime.validation.js";import{InvalidRuntimeError as x,RUNTIME_ENVIRONMENT as F}from"../errors/InvalidRuntimeError.js";import{encodeNetworkCall as _,decodeNetworkResponse as h}from"../common/network/network.js";import{authLinks as A}from"../auth-links/index.js";import P from"../../node_modules/.pnpm/uuid@11.1.0/node_modules/uuid/dist/esm-browser/v4.js";async function C(e){const{stagingToken:o,proxyRequestFunction:r,accessToken:i,paginationSettings:c}=y(e?.operationSettings||{});if(r){const e=a({paginationSettings:c}),n=_(e),s=await r(n),o=h(s),i=o.body.transfers.map(f),m=t(o.body.meta);return{transfers:i,...m?{meta:m}:{}}}{const e=i||n(),a=await s({accessToken:e,stagingToken:o,paginationSettings:c}),r=a.transfers.map(f),m=t(a.meta);return{transfers:r,...m?{meta:m}:{}}}}async function K({sepaTransferSettings:e,operationSettings:t}){const a=l(e?.sepaTransferId),{proxyRequestFunction:s,accessToken:o,stagingToken:r}=y(t||{});if(s){const e=m({sepaTransferId:a}),n=_(e),t=await s(n),o=h(t);return f(o.body.transfer)}{const e=o||n(),t=await p({sepaTransferId:a,accessToken:e,stagingToken:r});return f(t)}}async function*M({sepaTransferSettings:t,operationSettings:a}){const s=a?.accessToken||n(),o=a?.stagingToken||e.getStagingToken(),r=a?.idempotencyKey||P();let m;k(t);const p=await I({sepaTransferSettings:t,operationSettings:{accessToken:s,stagingToken:o||void 0}}),u={name:p.name,iban:p.iban},d=await i({sepaPayee:u,accessToken:s,stagingToken:o||void 0});if((yield g(d))===E.REJECT)return;const l={...t,beneficiary:p};if(l.beneficiary?.trusted)m=await c({transfer:l,vopProofToken:d.proof_token.token,accessToken:s,stagingToken:o||void 0,idempotencyKey:r});else{if(!q())throw new x(F.BROWSER);const{uiParentElementId:e,debugMode:n}=y(a,{requiresUI:!0});let t;try{const a=S({accessToken:s,stagingToken:o||void 0,debugMode:n});t=await w({iframeUrl:a,parentElementId:e});const i=T(l);m=await t.postMessage(j({actionId:b.TRANSFER_SINGLE_CREATE,actionData:{body:{transfer:{...i}},idempotencyKey:r}}))}finally{t?.destroy()}}return f(m)}async function N({sepaTransferSettings:e,operationSettings:t}){const a=d(e?.sepaTransferId),{proxyRequestFunction:s,accessToken:i,stagingToken:c}=y(t||{});if(s){const e=o({sepaTransferId:a}),n=_(e),t=await s(n);h(t)}else{const e=i||n();await r({sepaTransferId:a,accessToken:e,stagingToken:c})}}async function U({sepaTransferSettings:e,operationSettings:t}){const a=u(e),{proxyRequestFunction:s,stagingToken:o,accessToken:r}=y(t||{}),i=s?{proxyRequestFunction:s}:{stagingToken:o,accessToken:r||n()},c=await A.request({requestSettings:{action:R.SEPA_TRANSFER_CREATE,callbackUrl:a},operationSettings:i});return{...c,url:v(c.url,t)}}export{N as cancelSepaTransfer,M as createSepaTransfer,K as getSepaTransfer,U as getSepaTransferCreationFlowLink,C as getSepaTransfers};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{
|
|
1
|
+
import"../common/auth/auth.js";import{validatePresenceOfAuthToken as t}from"../common/auth/auth.validate.js";import{prepareGetTransactionCall as n,getTransaction as a,prepareGetTransactionsCall as o,getTransactions as s}from"./transactions.api.js";import{validateOperationSettingsParams as i}from"../validation/operation-settings-validation.js";import{encodeNetworkCall as r,decodeNetworkResponse as e}from"../common/network/network.js";import{serializeTransaction as c}from"./transactions.serializer.js";import{validateGetTransactionParams as m}from"./transactions.validation.js";async function g(n){const{stagingToken:a,proxyRequestFunction:m,accessToken:g,paginationSettings:p}=i(n?.operationSettings||{}),u={...n?.transactionSettings||{},paginationSettings:p};if(m){const t=o(u),n=r(t),a=await m(n),s=e(a);return{transactions:s.body.transactions.map(c),meta:s.body.meta}}{const n=g||t(),o=await s({...u,accessToken:n,stagingToken:a});return{transactions:o.transactions.map(c),meta:o.meta}}}async function p({transactionSettings:o,operationSettings:s}){const{proxyRequestFunction:g,accessToken:p,stagingToken:u}=i(s||{}),{transactionId:d}=m(o);if(g){const t=n({transactionId:d}),a=r(t),o=await g(a),s=e(o);return c(s.body.transaction)}{const n=p||t(),o=await a({transactionId:d,accessToken:n,stagingToken:u});return c(o)}}export{p as getTransaction,g as getTransactions};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as t}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as o}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as i}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import"../styles/styles.css.js";import{iconInProgress as s}from"../icons/icon-in-progress.js";import{iconErrorFilled as r}from"../icons/icon-error-filled.js";import{iconCheckmarkRoundedFilled as n}from"../icons/icon-checkmark-rounded-filled.js";import{iconDeclined as m}from"../icons/icon-declined.js";import{iconClockFilled as d}from"../icons/icon-clock-filled.js";import{iconWarning as p}from"../icons/icon-warning.js";import{qontoBadgeStatusStyles as c}from"./qonto-badge-status.styles.js";const a={ERROR:"error",INACTIVE:"inactive",IN_PROGRESS:"in-progress",VALIDATED:"validated",WAITING:"waiting",DECLINED:"declined"},u={error:r,inactive:null,"in-progress":s,validated:n,waiting:d,warning:p,declined:m};let _=class extends o{constructor(){super(...arguments),this.level="waiting"}render(){return t`<span data-level="${this.level}">
|
|
2
|
+
${u[this.level]}
|
|
3
|
+
<slot></slot>
|
|
4
|
+
</span>`}};_.styles=c,e([i({type:String})],_.prototype,"level",void 0),_=e([l("qonto-badge-status")],_);export{a as BADGE_LEVELS,_ as QontoBadgeStatus};
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{css as o}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";const e=o`
|
|
2
|
+
span {
|
|
3
|
+
--badge-border: 1px solid var(--border-tertiary);
|
|
4
|
+
--badge-default-font-color: var(
|
|
5
|
+
--qonto-embed-badge-font-color,
|
|
6
|
+
var(--content-primary-a)
|
|
7
|
+
);
|
|
8
|
+
|
|
9
|
+
height: var(--qonto-embed-badge-height);
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
flex-wrap: nowrap;
|
|
12
|
+
gap: 6px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
padding: 3px 6px;
|
|
15
|
+
font-size: var(--qonto-embed-badge-font-size, var(--caption-font-size));
|
|
16
|
+
font-weight: var(
|
|
17
|
+
--qonto-embed-badge-font-weight,
|
|
18
|
+
var(--caption-font-weight)
|
|
19
|
+
);
|
|
20
|
+
line-height: var(--caption-line-height);
|
|
21
|
+
color: var(--badge-default-font-color);
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
background-color: var(
|
|
24
|
+
--qonto-embed-badge-background-color,
|
|
25
|
+
var(--elevation-default)
|
|
26
|
+
);
|
|
27
|
+
border: var(--qonto-embed-badge-border, var(--badge-border));
|
|
28
|
+
border-radius: var(--qonto-embed-badge-border-radius, 4px);
|
|
29
|
+
|
|
30
|
+
& svg {
|
|
31
|
+
display: flex;
|
|
32
|
+
height: var(--qonto-embed-badge-font-size, var(--caption-font-size));
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&[data-level='inactive'] {
|
|
36
|
+
background-color: var(
|
|
37
|
+
--qonto-embed-badge-background-color-neutral,
|
|
38
|
+
var(--qonto-embed-badge-background-color, var(--background-secondary))
|
|
39
|
+
);
|
|
40
|
+
color: var(
|
|
41
|
+
--qonto-embed-badge-font-color-neutral,
|
|
42
|
+
var(--badge-default-font-color)
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&[data-level='error'] {
|
|
47
|
+
background-color: var(
|
|
48
|
+
--qonto-embed-badge-background-color-error,
|
|
49
|
+
var(--qonto-embed-badge-background-color)
|
|
50
|
+
);
|
|
51
|
+
color: var(
|
|
52
|
+
--qonto-embed-badge-font-color-error,
|
|
53
|
+
var(--badge-default-font-color)
|
|
54
|
+
);
|
|
55
|
+
svg {
|
|
56
|
+
color: var(--qonto-embed-badge-icon-color, var(--content-error));
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&[data-level='in-progress'] {
|
|
61
|
+
background-color: var(
|
|
62
|
+
--qonto-embed-badge-background-color-neutral,
|
|
63
|
+
var(--qonto-embed-badge-background-color)
|
|
64
|
+
);
|
|
65
|
+
color: var(
|
|
66
|
+
--qonto-embed-badge-font-color-neutral,
|
|
67
|
+
var(--badge-default-font-color)
|
|
68
|
+
);
|
|
69
|
+
svg {
|
|
70
|
+
color: var(--qonto-embed-badge-icon-color, var(--content-secondary));
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&[data-level='validated'] {
|
|
75
|
+
background-color: var(
|
|
76
|
+
--qonto-embed-badge-background-color-success,
|
|
77
|
+
var(--qonto-embed-badge-background-color)
|
|
78
|
+
);
|
|
79
|
+
color: var(
|
|
80
|
+
--qonto-embed-badge-font-color-success,
|
|
81
|
+
var(--badge-default-font-color)
|
|
82
|
+
);
|
|
83
|
+
svg {
|
|
84
|
+
color: var(--qonto-embed-badge-icon-color, var(--content-success));
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&[data-level='waiting'] {
|
|
89
|
+
background-color: var(
|
|
90
|
+
--qonto-embed-badge-background-color-neutral,
|
|
91
|
+
var(--qonto-embed-badge-background-color)
|
|
92
|
+
);
|
|
93
|
+
color: var(
|
|
94
|
+
--qonto-embed-badge-font-color-neutral,
|
|
95
|
+
var(--badge-default-font-color)
|
|
96
|
+
);
|
|
97
|
+
svg {
|
|
98
|
+
color: var(--qonto-embed-badge-icon-color, var(--content-accent));
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
&[data-level='warning'] {
|
|
103
|
+
background-color: var(
|
|
104
|
+
--qonto-embed-badge-background-color-warning,
|
|
105
|
+
var(--qonto-embed-badge-background-color)
|
|
106
|
+
);
|
|
107
|
+
color: var(
|
|
108
|
+
--qonto-embed-badge-font-color-warning,
|
|
109
|
+
var(--badge-default-font-color)
|
|
110
|
+
);
|
|
111
|
+
svg {
|
|
112
|
+
color: var(--qonto-embed-badge-icon-color, var(--content-warning));
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&[data-level='declined'] {
|
|
117
|
+
background-color: var(
|
|
118
|
+
--qonto-embed-badge-background-color-error,
|
|
119
|
+
var(--qonto-embed-badge-background-color)
|
|
120
|
+
);
|
|
121
|
+
color: var(
|
|
122
|
+
--qonto-embed-badge-font-color-error,
|
|
123
|
+
var(--badge-default-font-color)
|
|
124
|
+
);
|
|
125
|
+
svg {
|
|
126
|
+
color: var(--qonto-embed-badge-icon-color, var(--content-error));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
`;export{e as qontoBadgeStatusStyles};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{__decorate as e}from"../../../../node_modules/.pnpm/@rollup_plugin-typescript@12.1.2_rollup@4.39.0_tslib@2.8.1_typescript@5.8.3/node_modules/tslib/tslib.es6.js";import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{html as t}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import{LitElement as o}from"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{customElement as l}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/custom-element.js";import{property as s}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/decorators/property.js";import{qontoButtonStyles as m}from"./qonto-button.styles.js";import"../styles/styles.css.js";let i=class extends o{constructor(){super(...arguments),this.variant="primary",this.disabled=!1}render(){return t`<button
|
|
2
|
+
data-variant="${this.variant}"
|
|
3
|
+
.disabled=${this.disabled}
|
|
4
|
+
>
|
|
5
|
+
<slot></slot>
|
|
6
|
+
</button>`}};i.styles=m,e([s({type:String})],i.prototype,"variant",void 0),e([s({type:Boolean})],i.prototype,"disabled",void 0),i=e([l("qonto-button")],i);export{i as QontoButton};
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";import{css as o}from"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/css-tag.js";const r=o`
|
|
2
|
+
button {
|
|
3
|
+
--focus-outline-color: var(--border-accent-low);
|
|
4
|
+
--bg-color: var(--qonto-embed-color-primary, var(--background-primary));
|
|
5
|
+
--font-color: var(
|
|
6
|
+
--qonto-embed-content-color-primary-inverted,
|
|
7
|
+
var(--content-primary-b)
|
|
8
|
+
);
|
|
9
|
+
--font-size: var(--qonto-embed-button-font-size, var(--body-1-font-size));
|
|
10
|
+
--font-weight: var(--qonto-embed-button-font-weight);
|
|
11
|
+
--border-radius: var(--qonto-embed-button-border-radius, 4px);
|
|
12
|
+
--button-height: max(40px, 1.75em);
|
|
13
|
+
|
|
14
|
+
position: relative;
|
|
15
|
+
display: inline-flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
gap: 8px;
|
|
19
|
+
height: var(--qonto-embed-button-height, var(--button-height));
|
|
20
|
+
padding: 0 16px;
|
|
21
|
+
line-height: 24px;
|
|
22
|
+
font-family: var(--qonto-embed-font-family);
|
|
23
|
+
color: var(--qonto-embed-button-primary-font-color, var(--font-color));
|
|
24
|
+
font-size: var(--font-size);
|
|
25
|
+
font-weight: var(--font-weight);
|
|
26
|
+
appearance: none;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
user-select: none;
|
|
29
|
+
background-color: var(
|
|
30
|
+
--qonto-embed-button-primary-background-color,
|
|
31
|
+
var(--bg-color)
|
|
32
|
+
);
|
|
33
|
+
border: var(--qonto-embed-button-primary-border, none);
|
|
34
|
+
border-radius: var(--border-radius);
|
|
35
|
+
text-decoration: none;
|
|
36
|
+
transition:
|
|
37
|
+
color 0.15s ease-in-out,
|
|
38
|
+
background-color 0.15s ease-in-out,
|
|
39
|
+
border-color 0.15s ease-in-out,
|
|
40
|
+
box-shadow 0.15s ease-in-out;
|
|
41
|
+
|
|
42
|
+
&::after {
|
|
43
|
+
position: absolute;
|
|
44
|
+
top: 0;
|
|
45
|
+
left: 0;
|
|
46
|
+
width: 100%;
|
|
47
|
+
height: 100%;
|
|
48
|
+
pointer-events: none;
|
|
49
|
+
content: '';
|
|
50
|
+
background-color: var(
|
|
51
|
+
--qonto-embed-button-primary-background-color-hover,
|
|
52
|
+
var(--overlay-primary-b-color)
|
|
53
|
+
);
|
|
54
|
+
opacity: var(--overlay-opacity);
|
|
55
|
+
border-radius: var(--border-radius);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&[data-variant='secondary'] {
|
|
59
|
+
--bg-color: transparent;
|
|
60
|
+
--fg-color: var(
|
|
61
|
+
--qonto-embed-content-color-primary,
|
|
62
|
+
var(--content-primary-a)
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
border: var(
|
|
66
|
+
--qonto-embed-button-secondary-border,
|
|
67
|
+
1px solid var(--fg-color)
|
|
68
|
+
);
|
|
69
|
+
background-color: var(
|
|
70
|
+
--qonto-embed-button-secondary-background-color,
|
|
71
|
+
var(--bg-color)
|
|
72
|
+
);
|
|
73
|
+
color: var(--qonto-embed-button-secondary-font-color, var(--fg-color));
|
|
74
|
+
|
|
75
|
+
&::after {
|
|
76
|
+
background-color: var(
|
|
77
|
+
--qonto-embed-button-secondary-background-color-hover,
|
|
78
|
+
var(--overlay-primary-a-color)
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&[data-variant='tertiary'] {
|
|
84
|
+
--border-radius: 4px;
|
|
85
|
+
|
|
86
|
+
padding: 0 2px;
|
|
87
|
+
border: none;
|
|
88
|
+
border-radius: var(--border-radius) var(--border-radius) 0 0;
|
|
89
|
+
border-bottom: 1px solid
|
|
90
|
+
var(--qonto-embed-content-color-primary, var(--content-primary-a));
|
|
91
|
+
height: 1.75em;
|
|
92
|
+
background-color: transparent;
|
|
93
|
+
color: var(--qonto-embed-content-color-primary, var(--content-primary-a));
|
|
94
|
+
|
|
95
|
+
&::after {
|
|
96
|
+
background-color: var(--overlay-primary-a-color);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&[data-variant='ghost'] {
|
|
101
|
+
--bg-color: transparent;
|
|
102
|
+
--fg-color: var(
|
|
103
|
+
--qonto-embed-content-color-primary,
|
|
104
|
+
var(--content-primary-a)
|
|
105
|
+
);
|
|
106
|
+
|
|
107
|
+
border: none;
|
|
108
|
+
background-color: var(
|
|
109
|
+
--qonto-embed-button-ghost-background-color,
|
|
110
|
+
var(--bg-color)
|
|
111
|
+
);
|
|
112
|
+
color: var(--qonto-embed-button-ghost-font-color, var(--fg-color));
|
|
113
|
+
|
|
114
|
+
&::after {
|
|
115
|
+
background-color: var(--overlay-primary-a-color);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&:hover::after {
|
|
120
|
+
--overlay-opacity: var(--hover-opacity);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&:active::after {
|
|
124
|
+
--overlay-opacity: var(--pressed-opacity);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
&:focus-visible {
|
|
128
|
+
box-shadow: 0 0 0 4px var(--focus-outline-color);
|
|
129
|
+
outline: none;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&:not(:focus-visible) {
|
|
133
|
+
box-shadow: none;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
&[disabled],
|
|
137
|
+
&[aria-disabled='true'] {
|
|
138
|
+
cursor: not-allowed;
|
|
139
|
+
|
|
140
|
+
&::after {
|
|
141
|
+
cursor: not-allowed;
|
|
142
|
+
background-color: var(--overlay-primary-b-color);
|
|
143
|
+
|
|
144
|
+
--overlay-primary-a-color: var(--primary-white);
|
|
145
|
+
--overlay-opacity: var(--disabled-opacity);
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&[data-variant='secondary'] {
|
|
149
|
+
border: 1px solid var(--border-secondary);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
`;export{r as qontoButtonStyles};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{svg as e}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";const l=e`
|
|
2
|
+
<svg
|
|
3
|
+
fill="none"
|
|
4
|
+
viewBox="0 0 12 12"
|
|
5
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
6
|
+
aria-hidden=true
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
clip-rule="evenodd"
|
|
10
|
+
d="M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm2.824-7.235a.5.5 0 1 0-.707-.707L5.294 6.881 3.882 5.47a.5.5 0 1 0-.707.707L4.94 7.942a.5.5 0 0 0 .707 0l3.177-3.177Z"
|
|
11
|
+
fill="currentColor"
|
|
12
|
+
fill-rule="evenodd"
|
|
13
|
+
/>
|
|
14
|
+
</svg>
|
|
15
|
+
`;export{l as iconCheckmarkRoundedFilled};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{svg as e}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";const l=e`
|
|
2
|
+
<svg viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" aria-hidden=true>
|
|
3
|
+
<path
|
|
4
|
+
fill-rule="evenodd"
|
|
5
|
+
clip-rule="evenodd"
|
|
6
|
+
d="M6 12A6 6 0 1 0 6 0a6 6 0 0 0 0 12Zm.235-9.036a.5.5 0 0 0-1 0V6.37a.5.5 0 0 0 .5.5h2.844a.5.5 0 0 0 0-1H6.235V2.964Z"
|
|
7
|
+
fill="currentColor"/>
|
|
8
|
+
</svg>
|
|
9
|
+
`;export{l as iconClockFilled};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import"../../../../node_modules/.pnpm/@lit_reactive-element@2.1.1/node_modules/@lit/reactive-element/reactive-element.js";import{svg as e}from"../../../../node_modules/.pnpm/lit-html@3.3.1/node_modules/lit-html/lit-html.js";import"../../../../node_modules/.pnpm/lit-element@4.2.1/node_modules/lit-element/lit-element.js";const t=e`
|
|
2
|
+
<svg fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" aria-hidden=true>
|
|
3
|
+
<path
|
|
4
|
+
d="M0 8C0 5.87827 0.842855 3.84344 2.34315 2.34315C3.84344 0.842855 5.87827 0 8 0C10.1217 0 12.1566 0.842855 13.6569 2.34315C15.1571 3.84344 16 5.87827 16 8C16 10.1217 15.1571 12.1566 13.6569 13.6569C12.1566 15.1571 10.1217 16 8 16C5.87827 16 3.84344 15.1571 2.34315 13.6569C0.842855 12.1566 0 10.1217 0 8Z"
|
|
5
|
+
fill="currentColor"
|
|
6
|
+
/>
|
|
7
|
+
<path
|
|
8
|
+
d="M8 12C6.93913 12 5.92172 11.5786 5.17157 10.8284C4.42143 10.0783 4 9.06087 4 8C4 6.93913 4.42143 5.92172 5.17157 5.17157C5.92172 4.42143 6.93913 4 8 4C9.06087 4 10.0783 4.42143 10.8284 5.17157C11.5786 5.92172 12 6.93913 12 8C12 9.06087 11.5786 10.0783 10.8284 10.8284C10.0783 11.5786 9.06087 12 8 12ZM11 8C11 7.37778 10.8044 6.77156 10.4409 6.26667L6.26667 10.44C6.71446 10.7601 7.24186 10.9505 7.79086 10.9903C8.33986 11.03 8.88919 10.9176 9.37845 10.6654C9.8677 10.4132 10.2779 10.031 10.564 9.56073C10.8501 9.09048 11.001 8.55044 11 8ZM5 8C5 8.62222 5.19556 9.22844 5.55911 9.73333L9.73422 5.55911C9.28636 5.23872 8.75879 5.0481 8.20958 5.00823C7.66036 4.96836 7.1108 5.08079 6.62136 5.33313C6.13192 5.58548 5.72159 5.96796 5.43553 6.43849C5.14947 6.90901 4.99876 7.44934 5 8Z"
|
|
9
|
+
fill="white"
|
|
10
|
+
/>
|
|
11
|
+
</svg>
|
|
12
|
+
`;export{t as iconDeclined};
|