@bloonio/lokotro-pay 1.0.0 → 1.1.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 +14 -14
- package/fesm2022/bloonio-lokotro-pay.mjs +2700 -2593
- package/fesm2022/bloonio-lokotro-pay.mjs.map +1 -1
- package/index.d.ts +134 -291
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ yarn add @bloonio/lokotro-pay
|
|
|
27
27
|
```typescript
|
|
28
28
|
import { Component } from '@angular/core';
|
|
29
29
|
import {
|
|
30
|
-
|
|
30
|
+
LokotroPayCheckoutComponent,
|
|
31
31
|
LokotroPayConfig,
|
|
32
32
|
LokotroPaymentBody,
|
|
33
33
|
LokotroPayOnResponse,
|
|
@@ -37,15 +37,15 @@ import {
|
|
|
37
37
|
@Component({
|
|
38
38
|
selector: 'app-payment',
|
|
39
39
|
standalone: true,
|
|
40
|
-
imports: [
|
|
40
|
+
imports: [LokotroPayCheckoutComponent],
|
|
41
41
|
template: `
|
|
42
|
-
<lokotro-checkout
|
|
42
|
+
<lokotro-pay-checkout
|
|
43
43
|
[configs]="configs"
|
|
44
44
|
[paymentBody]="paymentBody"
|
|
45
45
|
(onResponse)="handleSuccess($event)"
|
|
46
46
|
(onError)="handleError($event)"
|
|
47
47
|
/>
|
|
48
|
-
`
|
|
48
|
+
` // selector: lokotro-pay-checkout
|
|
49
49
|
})
|
|
50
50
|
export class PaymentComponent {
|
|
51
51
|
// API Configuration
|
|
@@ -420,16 +420,16 @@ export class MyComponent {
|
|
|
420
420
|
|
|
421
421
|
### Components
|
|
422
422
|
|
|
423
|
-
| Component | Description |
|
|
424
|
-
|
|
425
|
-
| `
|
|
426
|
-
| `LokotroPaymentStatusComponent` | Payment status tracker (uses only paymentId) |
|
|
427
|
-
| `LokotroPaymentMethodSelectionComponent` | Payment method grid |
|
|
428
|
-
| `LokotroPaymentFormComponent` | Payment forms |
|
|
429
|
-
| `LokotroOtpVerificationComponent` | OTP input |
|
|
430
|
-
| `LokotroProcessingComponent` | Processing spinner |
|
|
431
|
-
| `LokotroResultComponent` | Success/error screens |
|
|
432
|
-
| `LokotroLoadingComponent` | Loading indicator |
|
|
423
|
+
| Component | Selector | Description |
|
|
424
|
+
|-----------|----------|-------------|
|
|
425
|
+
| `LokotroPayCheckoutComponent` | `lokotro-pay-checkout` | Main checkout widget |
|
|
426
|
+
| `LokotroPaymentStatusComponent` | `lokotro-payment-status` | Payment status tracker (uses only paymentId) |
|
|
427
|
+
| `LokotroPaymentMethodSelectionComponent` | `lokotro-payment-method-selection` | Payment method grid |
|
|
428
|
+
| `LokotroPaymentFormComponent` | `lokotro-payment-form` | Payment forms |
|
|
429
|
+
| `LokotroOtpVerificationComponent` | `lokotro-otp-verification` | OTP input |
|
|
430
|
+
| `LokotroProcessingComponent` | `lokotro-processing` | Processing spinner |
|
|
431
|
+
| `LokotroResultComponent` | `lokotro-result` | Success/error screens |
|
|
432
|
+
| `LokotroLoadingComponent` | `lokotro-loading` | Loading indicator |
|
|
433
433
|
|
|
434
434
|
## Payment Status Tracking
|
|
435
435
|
|