@forgeroute/ui 0.5.17 → 0.5.18
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/fesm2022/{forgeroute-ui-core-ui-labels.es-Dzj_XJJM.mjs → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs} +186 -2
- package/fesm2022/{forgeroute-ui-core-ui-labels.es-Dzj_XJJM.mjs.map → forgeroute-ui-core-ui-labels.es-Woi3az70.mjs.map} +1 -1
- package/fesm2022/forgeroute-ui-core.mjs +186 -2
- package/fesm2022/forgeroute-ui-core.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-payments.mjs +15 -0
- package/fesm2022/forgeroute-ui-payments.mjs.map +1 -1
- package/fesm2022/forgeroute-ui-stripe.mjs +6242 -1189
- package/fesm2022/forgeroute-ui-stripe.mjs.map +1 -1
- package/package.json +6 -2
- package/types/forgeroute-ui-core.d.ts +188 -4
- package/types/forgeroute-ui-messaging.d.ts +5 -5
- package/types/forgeroute-ui-payments.d.ts +9 -1
- package/types/forgeroute-ui-quickbooks.d.ts +2 -2
- package/types/forgeroute-ui-square.d.ts +2 -2
- package/types/forgeroute-ui-stripe.d.ts +1456 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forgeroute/ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.18",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": ">=22.0.0",
|
|
6
6
|
"@angular/core": ">=22.0.0",
|
|
@@ -10,7 +10,8 @@
|
|
|
10
10
|
"chart.js": ">=4.0.0",
|
|
11
11
|
"leaflet": ">=1.9.0 <2",
|
|
12
12
|
"pdfjs-dist": ">=5.0.0",
|
|
13
|
-
"@stripe/stripe-js": ">=5.0.0"
|
|
13
|
+
"@stripe/stripe-js": ">=5.0.0",
|
|
14
|
+
"@stripe/connect-js": ">=3.3.0"
|
|
14
15
|
},
|
|
15
16
|
"peerDependenciesMeta": {
|
|
16
17
|
"@angular/forms": {
|
|
@@ -27,6 +28,9 @@
|
|
|
27
28
|
},
|
|
28
29
|
"@stripe/stripe-js": {
|
|
29
30
|
"optional": true
|
|
31
|
+
},
|
|
32
|
+
"@stripe/connect-js": {
|
|
33
|
+
"optional": true
|
|
30
34
|
}
|
|
31
35
|
},
|
|
32
36
|
"publishConfig": {
|
|
@@ -2413,6 +2413,190 @@ export declare const UI_DEFAULT_LABELS: {
|
|
|
2413
2413
|
readonly 'qboHostedPay.unavailable': "This payment link cannot be paid right now. Please contact the business.";
|
|
2414
2414
|
readonly 'qboHostedPay.footer': "Payments are processed securely.";
|
|
2415
2415
|
readonly 'stripePayment.msg.tokenFailed': "The card details could not be checked. Please try again.";
|
|
2416
|
+
readonly 'stripeReader.theReader': "the card reader";
|
|
2417
|
+
readonly 'stripeReader.status.loading': "Checking the card reader...";
|
|
2418
|
+
readonly 'stripeReader.status.no_reader.title': "No card reader set up";
|
|
2419
|
+
readonly 'stripeReader.status.no_reader.text': "Your company can take in-person card payments with a card reader. Connect a reader you already have, or get one.";
|
|
2420
|
+
readonly 'stripeReader.status.unsupported_only.title': "No supported card reader";
|
|
2421
|
+
readonly 'stripeReader.status.unsupported_only.text': "The readers on this account cannot take payments here. Supported readers are the Stripe Reader S700, the Stripe Reader S710 and the BBPOS WisePOS E. Connect a supported reader, or get one.";
|
|
2422
|
+
readonly 'stripeReader.status.reader_offline.title': "Card reader not connected";
|
|
2423
|
+
readonly 'stripeReader.status.reader_offline.text': "The card reader is turned off or has no connection. Check its power and network, then check again.";
|
|
2424
|
+
readonly 'stripeReader.status.reader_busy.title': "A card reader payment is waiting";
|
|
2425
|
+
readonly 'stripeReader.status.reader_busy.text': "A payment is waiting on {{ reader }}. Finish or cancel it before starting another.";
|
|
2426
|
+
readonly 'stripeReader.status.merchant_not_ready.title': "Payments are not set up";
|
|
2427
|
+
readonly 'stripeReader.status.merchant_not_ready.text': "Finish setting up payments before card payments can be taken, including with a card reader.";
|
|
2428
|
+
readonly 'stripeReader.status.unknown.title': "Could not check the card reader";
|
|
2429
|
+
readonly 'stripeReader.status.unknown.text': "The card reader could not be checked right now. Nothing was changed. Check again in a moment.";
|
|
2430
|
+
readonly 'stripeReader.status.reconnect_required.title': "Payment account needs reconnecting";
|
|
2431
|
+
readonly 'stripeReader.status.reconnect_required.text': "Your payment account needs to be reconnected before card payments can be taken, including with a card reader.";
|
|
2432
|
+
readonly 'stripeReader.status.unknown_attention.title': "The payment account needs attention";
|
|
2433
|
+
readonly 'stripeReader.status.unknown_attention.text': "The card reader could not be checked because the payment account needs attention. Nothing was changed. Reconnect payments, then check again.";
|
|
2434
|
+
readonly 'stripeReader.status.reader_ready.live': "Card reader ready: {{ reader }}";
|
|
2435
|
+
readonly 'stripeReader.status.connect': "Connect a reader";
|
|
2436
|
+
readonly 'stripeReader.status.get': "Get a card reader";
|
|
2437
|
+
readonly 'stripeReader.status.recheck': "Check again";
|
|
2438
|
+
readonly 'stripeReader.status.setup': "Set up payments";
|
|
2439
|
+
readonly 'stripeReader.status.reconnect': "Reconnect payments";
|
|
2440
|
+
readonly 'stripeReader.status.cancelBusy': "Cancel that payment";
|
|
2441
|
+
readonly 'stripeReader.status.manual': "Take a manual payment instead";
|
|
2442
|
+
readonly 'stripeReader.mode.label': "How is the card paid?";
|
|
2443
|
+
readonly 'stripeReader.mode.reader': "Card reader";
|
|
2444
|
+
readonly 'stripeReader.mode.manual': "Enter card manually";
|
|
2445
|
+
readonly 'stripeReader.selectReader': "Card reader";
|
|
2446
|
+
readonly 'stripeReader.readerLine': "Card reader: {{ reader }}";
|
|
2447
|
+
readonly 'stripeReader.start': "Send {{ amount }} to the reader";
|
|
2448
|
+
readonly 'stripeReader.startNoAmount': "Send to the reader";
|
|
2449
|
+
readonly 'stripeReader.starting': "Sending to the reader";
|
|
2450
|
+
readonly 'stripeReader.startingText': "Sending the payment to the reader. Do not start another payment.";
|
|
2451
|
+
readonly 'stripeReader.manualInstead': "Enter the card manually instead";
|
|
2452
|
+
readonly 'stripeReader.takeManual': "Take a manual payment instead";
|
|
2453
|
+
readonly 'stripeReader.startAgain': "Start again";
|
|
2454
|
+
readonly 'stripeReader.cancel': "Cancel payment";
|
|
2455
|
+
readonly 'stripeReader.wait.waiting.title': "Waiting for the customer";
|
|
2456
|
+
readonly 'stripeReader.wait.waiting.text': "Waiting for the customer to tap, insert or swipe their card on {{ reader }}.";
|
|
2457
|
+
readonly 'stripeReader.wait.declined.title': "Card declined";
|
|
2458
|
+
readonly 'stripeReader.wait.declined.text': "The card was declined. Try again with the same card or another card, or cancel the payment.";
|
|
2459
|
+
readonly 'stripeReader.wait.stopped.title': "The reader stopped waiting";
|
|
2460
|
+
readonly 'stripeReader.wait.stopped.text': "{{ reader }} stopped waiting for a card. The payment is still open: try again or cancel it.";
|
|
2461
|
+
readonly 'stripeReader.wait.retrying.title': "Sending the payment again";
|
|
2462
|
+
readonly 'stripeReader.wait.retrying.text': "Sending the same payment to {{ reader }} again. Nothing new is charged.";
|
|
2463
|
+
readonly 'stripeReader.wait.cancelling.title': "Canceling the payment";
|
|
2464
|
+
readonly 'stripeReader.wait.cancelling.text': "Canceling the payment on {{ reader }}. Do not tap a card.";
|
|
2465
|
+
readonly 'stripeReader.wait.recovering.title': "Checking the payment";
|
|
2466
|
+
readonly 'stripeReader.wait.recovering.text': "Checking whether the payment reached the reader. Do not start another payment.";
|
|
2467
|
+
readonly 'stripeReader.connectionLost': "Connection lost. The reader may still take the payment. Do not start another payment; reconnecting...";
|
|
2468
|
+
readonly 'stripeReader.readerDisconnected': "Reader disconnected - waiting for it to reconnect or cancel.";
|
|
2469
|
+
readonly 'stripeReader.stillChecking': "Still checking the reader. This is not an error: do not start another payment.";
|
|
2470
|
+
readonly 'stripeReader.cancelUnreachable': "The payment could not be canceled because the reader or Stripe could not be reached. The payment is still open. Try canceling again.";
|
|
2471
|
+
readonly 'stripeReader.elapsed': "Elapsed: {{ time }}";
|
|
2472
|
+
readonly 'stripeReader.fees.loading': "Calculating the card reader fees...";
|
|
2473
|
+
readonly 'stripeReader.fees.failed': "The card reader fees could not be calculated. Nothing can be sent to the reader until they are.";
|
|
2474
|
+
readonly 'stripeReader.done.title': "Payment received";
|
|
2475
|
+
readonly 'stripeReader.done.text': "The card payment of {{ amount }} was taken on {{ reader }}.";
|
|
2476
|
+
readonly 'stripeReader.done.card': "{{ brand }} ending in {{ last4 }}";
|
|
2477
|
+
readonly 'stripeReader.done.cardWord': "Card";
|
|
2478
|
+
readonly 'stripeReader.receipt': "View receipt";
|
|
2479
|
+
readonly 'stripeReader.cardSaved': "Card saved for future payments.";
|
|
2480
|
+
readonly 'stripeReader.cardNotSaved': "The card is not saved yet, or we could not confirm it. The payment itself went through. Check the customer's saved payment methods later.";
|
|
2481
|
+
readonly 'stripeReader.canceled.title': "Payment canceled";
|
|
2482
|
+
readonly 'stripeReader.canceled.text': "The payment was canceled on the reader. Nothing was charged.";
|
|
2483
|
+
readonly 'stripeReader.failed.title': "The payment did not go through";
|
|
2484
|
+
readonly 'stripeReader.failed.text': "The payment failed on the reader. Nothing was charged. You can start it again.";
|
|
2485
|
+
readonly 'stripeReader.saveCard.label': "Save this card for future payments";
|
|
2486
|
+
readonly 'stripeReader.saveCard.consent': "The customer agreed to keep this payment method on file for later payments.";
|
|
2487
|
+
readonly 'stripeReader.closeBlocked': "A card reader payment is waiting. Cancel the payment before closing.";
|
|
2488
|
+
readonly 'stripeReader.offline.withManual': "You're offline. Card reader payments can't be started until you're back online. You can still record a manual payment.";
|
|
2489
|
+
readonly 'stripeReader.offline.noManual': "You're offline. Card reader payments can't be started until you're back online.";
|
|
2490
|
+
readonly 'stripeReader.refusal.generic': "The card reader payment could not be started. Nothing was charged.";
|
|
2491
|
+
readonly 'stripeReader.refusal.reader_busy': "The card reader is busy with another payment. Nothing was charged.";
|
|
2492
|
+
readonly 'stripeReader.refusal.reader_offline': "The card reader is offline. Nothing was charged. Check its power and network, then try again.";
|
|
2493
|
+
readonly 'stripeReader.refusal.reader_not_supported': "This card reader is not supported for payments. Nothing was charged.";
|
|
2494
|
+
readonly 'stripeReader.refusal.reader_unreachable': "The card reader or Stripe could not be reached. The payment was not changed: check it again in a moment.";
|
|
2495
|
+
readonly 'stripeReader.refusal.terminal_not_retryable': "This payment can no longer be retried on the reader. Its current state is shown.";
|
|
2496
|
+
readonly 'stripeReader.refusal.payment_in_flight': "Another payment for this is already open, possibly on a card reader. Finish or cancel it first. Nothing new was charged.";
|
|
2497
|
+
readonly 'stripeReader.refusal.merchant_not_ready': "Payments are not set up for this business, so no card payment can be taken. Nothing was charged.";
|
|
2498
|
+
readonly 'stripeReader.refusal.reconnect_required': "The payment account must be reconnected before payments can be taken. Nothing was charged.";
|
|
2499
|
+
readonly 'stripeReader.refusal.consent_required': "Record the customer's agreement before the card can be kept. Nothing was charged.";
|
|
2500
|
+
readonly 'stripeReader.refusal.terminal_save_needs_direct': "This business cannot keep a card taken on a reader. Take the payment without saving the card. Nothing was charged.";
|
|
2501
|
+
readonly 'stripeReader.refusal.not_supported_by_processor': "This business cannot take card reader payments. Nothing was charged.";
|
|
2502
|
+
readonly 'stripeReader.refusal.exceeds_amount_due': "This payment is more than the amount due. Nothing was charged.";
|
|
2503
|
+
readonly 'stripeReader.refusal.duplicate_suspected': "An identical payment was made moments ago. Check the payments before taking another.";
|
|
2504
|
+
readonly 'stripeReader.refusal.paid': "A payment for this was already received. Check the payments before taking another one.";
|
|
2505
|
+
readonly 'stripeReader.refusal.offline': "You are offline. Nothing was sent.";
|
|
2506
|
+
readonly 'stripeReader.refusal.outcome_unknown': "We are still confirming the result of an earlier payment. Do not start another one.";
|
|
2507
|
+
readonly 'stripeReader.refusal.queued_offline': "You appear to be offline. The payment was not sent. Check your connection and try again.";
|
|
2508
|
+
readonly 'stripeReader.refusal.start_not_received': "We have no record of this payment, so it was not started. You can start again.";
|
|
2509
|
+
readonly 'stripeReader.refusal.retry_unreachable': "The payment could not be sent to the reader again. It was not changed: check it in a moment.";
|
|
2510
|
+
readonly 'stripeReaders.list.title': "Card readers";
|
|
2511
|
+
readonly 'stripeReaders.list.empty': "No card readers are connected yet.";
|
|
2512
|
+
readonly 'stripeReaders.status.online': "Online";
|
|
2513
|
+
readonly 'stripeReaders.status.offline': "Offline";
|
|
2514
|
+
readonly 'stripeReaders.status.registering': "Registering";
|
|
2515
|
+
readonly 'stripeReaders.badge.busy': "Busy";
|
|
2516
|
+
readonly 'stripeReaders.badge.unsupported': "Not supported";
|
|
2517
|
+
readonly 'stripeReaders.rename.action': "Rename";
|
|
2518
|
+
readonly 'stripeReaders.rename.for': "Rename {{ name }}";
|
|
2519
|
+
readonly 'stripeReaders.rename.label': "Reader name";
|
|
2520
|
+
readonly 'stripeReaders.rename.done': "Reader renamed to {{ name }}.";
|
|
2521
|
+
readonly 'stripeReaders.remove.action': "Remove";
|
|
2522
|
+
readonly 'stripeReaders.remove.for': "Remove {{ name }}";
|
|
2523
|
+
readonly 'stripeReaders.remove.title': "Remove card reader";
|
|
2524
|
+
readonly 'stripeReaders.remove.text': "Remove {{ name }}? It will stop taking payments on this account. You can connect it again later with a new registration code.";
|
|
2525
|
+
readonly 'stripeReaders.remove.confirm': "Remove reader";
|
|
2526
|
+
readonly 'stripeReaders.remove.done': "Reader {{ name }} removed.";
|
|
2527
|
+
readonly 'stripeReaders.remove.busy': "A payment is waiting on this reader. Cancel it first.";
|
|
2528
|
+
readonly 'stripeReaders.add.title': "Connect a card reader";
|
|
2529
|
+
readonly 'stripeReaders.add.howS700': "Stripe Reader S700 or S710: on the reader, open Settings and generate a pairing code.";
|
|
2530
|
+
readonly 'stripeReaders.add.howWisepos': "BBPOS WisePOS E: on the home screen, press 0-7-1-3-9 to show the registration code.";
|
|
2531
|
+
readonly 'stripeReaders.add.supported': "Supported readers: {{ models }}.";
|
|
2532
|
+
readonly 'stripeReaders.add.connect': "Connect reader";
|
|
2533
|
+
readonly 'stripeReaders.add.connecting': "Connecting...";
|
|
2534
|
+
readonly 'stripeReaders.add.done': "Reader {{ name }} connected.";
|
|
2535
|
+
readonly 'stripeReaders.code.label': "Registration code";
|
|
2536
|
+
readonly 'stripeReaders.code.hint': "Type the code the reader shows. It is used once and is not kept.";
|
|
2537
|
+
readonly 'stripeReaders.code.invalid': "Enter the code exactly as the reader shows it: letters, numbers and hyphens, at least 3 characters.";
|
|
2538
|
+
readonly 'stripeReaders.name.label': "Reader name";
|
|
2539
|
+
readonly 'stripeReaders.name.hint': "For example \"Front desk\".";
|
|
2540
|
+
readonly 'stripeReaders.location.label': "Location";
|
|
2541
|
+
readonly 'stripeReaders.location.placeholder': "Select a location";
|
|
2542
|
+
readonly 'stripeReaders.location.new': "New location";
|
|
2543
|
+
readonly 'stripeReaders.location.name': "Location name";
|
|
2544
|
+
readonly 'stripeReaders.location.line1': "Address";
|
|
2545
|
+
readonly 'stripeReaders.location.city': "City";
|
|
2546
|
+
readonly 'stripeReaders.location.state': "State";
|
|
2547
|
+
readonly 'stripeReaders.location.postal': "ZIP code";
|
|
2548
|
+
readonly 'stripeReaders.location.create': "Create location";
|
|
2549
|
+
readonly 'stripeReaders.location.created': "Location {{ name }} created.";
|
|
2550
|
+
readonly 'stripeReaders.failed.load': "The card readers could not be loaded. Try again in a moment.";
|
|
2551
|
+
readonly 'stripeReaders.failed.register': "The reader could not be connected. Check the registration code and try again.";
|
|
2552
|
+
readonly 'stripeReaders.failed.rename': "The reader could not be renamed. Try again.";
|
|
2553
|
+
readonly 'stripeReaders.failed.remove': "The reader could not be removed. Try again.";
|
|
2554
|
+
readonly 'stripeReaders.failed.location': "The location could not be saved. Check the address and try again.";
|
|
2555
|
+
readonly 'stripeReaders.failed.notSupported': "This reader is not supported. Supported readers are the Stripe Reader S700, the Stripe Reader S710 and the BBPOS WisePOS E.";
|
|
2556
|
+
readonly 'stripeReader.refusal.quote_changed': "The total changed to {{ amount }} since it was shown. Review the new total and confirm it before sending to the reader. Nothing was charged.";
|
|
2557
|
+
readonly 'stripeReader.refusal.quote_changedNoAmount': "The total changed since it was shown. Review the new total and confirm it before sending to the reader. Nothing was charged.";
|
|
2558
|
+
readonly 'stripeReader.refusal.attempt_failed_use_new_key': "This payment can no longer be completed. Start again to send a new payment to the reader.";
|
|
2559
|
+
readonly 'stripeReader.refusal.payment_being_sent': "The payment is still being sent to the reader. Wait a moment, then cancel again.";
|
|
2560
|
+
readonly 'stripeReader.refusal.rate_limited': "Too many attempts. Wait a moment, then try again.";
|
|
2561
|
+
readonly 'stripeReader.refusal.viewExisting': "View the existing payment";
|
|
2562
|
+
readonly 'stripeReader.confirmTotal': "Confirm the new total {{ amount }}";
|
|
2563
|
+
readonly 'stripeReader.leaveHint': "You can close this panel. When you open it again the payment is checked and nothing new is started.";
|
|
2564
|
+
readonly 'stripeReader.wait.amount': "Total: {{ amount }}";
|
|
2565
|
+
readonly 'stripeReader.wait.amountBase': "Amount: {{ amount }} (processing fees may be added)";
|
|
2566
|
+
readonly 'stripeReader.degraded.since': "We cannot reach the card reader's payment processor since {{ time }}. The payment was not changed: do not start another payment.";
|
|
2567
|
+
readonly 'stripeReader.degraded.attention': "The payment account needs attention. The payment was not changed. Cancel may not work until it is reconnected.";
|
|
2568
|
+
readonly 'stripeReader.done.textNoAmount': "The card payment was taken on {{ reader }}.";
|
|
2569
|
+
readonly 'stripeReader.mode.blocked': "A card reader payment is still open. Cancel it, or wait for its result, before entering a card manually.";
|
|
2570
|
+
readonly 'stripeReader.mode.blockedManual': "A card payment is still being confirmed. Wait for it to finish before using the card reader.";
|
|
2571
|
+
readonly 'stripeReader.saveCard.consentFees': "Later charges will include processing fees.";
|
|
2572
|
+
readonly 'stripeReaderShop.title': "Get a card reader";
|
|
2573
|
+
readonly 'stripeReaderShop.orders.title': "Card reader orders";
|
|
2574
|
+
readonly 'stripeReaderShop.loading': "Loading the card reader shop...";
|
|
2575
|
+
readonly 'stripeReaderShop.orders.loading': "Loading your card reader orders...";
|
|
2576
|
+
readonly 'stripeReaderShop.live.ready': "The card reader shop is ready.";
|
|
2577
|
+
readonly 'stripeReaderShop.error.title': "The card reader shop could not be loaded";
|
|
2578
|
+
readonly 'stripeReaderShop.error.text': "Check your connection and try again. Nothing was changed.";
|
|
2579
|
+
readonly 'stripeReaderShop.offline.title': "You are offline";
|
|
2580
|
+
readonly 'stripeReaderShop.offline.text': "The card reader shop needs an internet connection. It loads again when you are back online.";
|
|
2581
|
+
readonly 'stripeReaderShop.unavailable.title': "Ordering a reader here is not available";
|
|
2582
|
+
readonly 'stripeReaderShop.unavailable.platform_not_enabled': "Ordering card readers in the app is not turned on yet.";
|
|
2583
|
+
readonly 'stripeReaderShop.unavailable.account_not_eligible': "This payment account cannot order card readers in the app right now. It may still be being set up or verified.";
|
|
2584
|
+
readonly 'stripeReaderShop.unavailable.processor_refused': "Stripe did not allow the card reader shop for this account.";
|
|
2585
|
+
readonly 'stripeReaderShop.unavailable.not_enabled_for_app': "Ordering card readers in the app is not turned on for this account.";
|
|
2586
|
+
readonly 'stripeReaderShop.unavailable.other': "The card reader shop is not available right now.";
|
|
2587
|
+
readonly 'stripeReaderShop.unavailable.models': "These readers work with card payments in the app:";
|
|
2588
|
+
readonly 'stripeReaderShop.model.s700': "Smart countertop reader with a touchscreen. Takes tap, chip and swipe payments.";
|
|
2589
|
+
readonly 'stripeReaderShop.model.s710': "Smart countertop reader with a touchscreen, from the same family as the S700. Takes tap, chip and swipe payments.";
|
|
2590
|
+
readonly 'stripeReaderShop.model.wisepos': "Smart reader with a touchscreen that connects over Wi-Fi. Takes tap, chip and swipe payments.";
|
|
2591
|
+
readonly 'stripeReaderShop.unavailable.how': "To get a reader, order a supported model from the Terminal hardware settings of your payment account, or contact support. When it arrives, choose Connect a reader and enter the code the device shows.";
|
|
2592
|
+
readonly 'stripeReaderShop.help.link': "How to order a card reader";
|
|
2593
|
+
readonly 'stripeReaderShop.placed.title': "Your order was placed";
|
|
2594
|
+
readonly 'stripeReaderShop.placed.text': "Your order was placed. When the reader arrives, choose Connect a reader and enter the code the device shows.";
|
|
2595
|
+
readonly 'stripeReader.wait.unconfirmed.title': "We could not confirm this payment";
|
|
2596
|
+
readonly 'stripeReader.wait.unconfirmed.text': "We could not confirm whether this payment reached the reader. Check again before taking another payment. If the customer was charged, the payment shows here once it is found.";
|
|
2597
|
+
readonly 'stripeReader.cancelBusy.timeout': "The payment could not be canceled in time. It may still be open: check the card reader again before taking another payment.";
|
|
2598
|
+
readonly 'stripeReader.fees.unavailable': "The card reader fees are not available, so nothing can be sent to the reader. Try again in a moment.";
|
|
2599
|
+
readonly 'stripeReaders.failed.timeout': "The card reader service did not answer in time. The list was checked again: look at it before trying once more.";
|
|
2416
2600
|
};
|
|
2417
2601
|
export type UiLabelKey = keyof typeof UI_DEFAULT_LABELS;
|
|
2418
2602
|
export type UiLabelDictionary = Partial<Record<UiLabelKey, string>>;
|
|
@@ -2483,7 +2667,7 @@ export declare class ButtonComponent {
|
|
|
2483
2667
|
* `ghost-start`: a ghost button for list / section toggles - a full-width row with its content aligned to the start, transparent
|
|
2484
2668
|
* background, hover tint and the normal focus ring. Pair it with `ariaExpanded` / `ariaPressed`; the label may contain a heading element.
|
|
2485
2669
|
*/
|
|
2486
|
-
readonly variant: import("@angular/core").InputSignal<"
|
|
2670
|
+
readonly variant: import("@angular/core").InputSignal<"primary" | "danger" | "warning" | "secondary" | "link" | "ghost" | "ghost-start" | "tab" | "icon" | "icon-danger">;
|
|
2487
2671
|
/** Renders an anchor to this route instead of a button (use with `variant="link"` for an inline text link). `['/settings']` or `'/settings'`. While `disabled` or `loading` it renders a non-clickable `<span role="link" aria-disabled>` with no href (like `href`). */
|
|
2488
2672
|
readonly routerLink: import("@angular/core").InputSignal<string | readonly unknown[] | null>;
|
|
2489
2673
|
/** Query params of the `routerLink` (e.g. `{ section: 'deal-defaults' }`). */
|
|
@@ -2529,7 +2713,7 @@ export declare class ButtonComponent {
|
|
|
2529
2713
|
readonly color: import("@angular/core").InputSignal<string | undefined>;
|
|
2530
2714
|
readonly active: import("@angular/core").InputSignal<boolean>;
|
|
2531
2715
|
readonly size: import("@angular/core").InputSignal<"sm" | "md" | "lg" | "xs">;
|
|
2532
|
-
readonly type: import("@angular/core").InputSignal<"
|
|
2716
|
+
readonly type: import("@angular/core").InputSignal<"reset" | "submit" | "button">;
|
|
2533
2717
|
readonly disabled: import("@angular/core").InputSignal<boolean>;
|
|
2534
2718
|
readonly loading: import("@angular/core").InputSignal<boolean>;
|
|
2535
2719
|
readonly fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
@@ -2678,7 +2862,7 @@ export declare class ModalComponent implements OnInit, OnDestroy {
|
|
|
2678
2862
|
*/
|
|
2679
2863
|
readonly describedBy: import("@angular/core").InputSignal<string | null>;
|
|
2680
2864
|
readonly maxWidth: import("@angular/core").InputSignal<string>;
|
|
2681
|
-
readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "
|
|
2865
|
+
readonly bodyOverflow: import("@angular/core").InputSignal<"auto" | "visible" | "hidden">;
|
|
2682
2866
|
/** `data-testid` of the dialog element itself (the host `<ui-modal>` is always in the page, the dialog only while open). None when empty. */
|
|
2683
2867
|
readonly dialogTestId: import("@angular/core").InputSignal<string>;
|
|
2684
2868
|
/** Hides the header X button (e.g. while a request is running). Escape and a backdrop click still close unless `closable` is false. */
|
|
@@ -2821,7 +3005,7 @@ export declare class SidePanelComponent implements OnDestroy {
|
|
|
2821
3005
|
readonly cancelLabel: import("@angular/core").Signal<string>;
|
|
2822
3006
|
/** Right-aligned primary action button label. Empty string = hidden. */
|
|
2823
3007
|
readonly primaryLabel: import("@angular/core").InputSignal<string>;
|
|
2824
|
-
readonly primaryVariant: import("@angular/core").InputSignal<"
|
|
3008
|
+
readonly primaryVariant: import("@angular/core").InputSignal<"primary" | "danger" | "warning">;
|
|
2825
3009
|
readonly primaryLoading: import("@angular/core").InputSignal<boolean>;
|
|
2826
3010
|
readonly primaryDisabled: import("@angular/core").InputSignal<boolean>;
|
|
2827
3011
|
/** `data-testid` of the Cancel button; none when empty (default). */
|
|
@@ -122,7 +122,7 @@ export declare class TemplatePickerComponent {
|
|
|
122
122
|
private readonly host;
|
|
123
123
|
private readonly search$;
|
|
124
124
|
/** Filter results to a specific channel: 'email', 'text', or omit for all. */
|
|
125
|
-
readonly channel: import("@angular/core").InputSignal<"" | "
|
|
125
|
+
readonly channel: import("@angular/core").InputSignal<"" | "email" | "text">;
|
|
126
126
|
readonly selectedId: import("@angular/core").InputSignal<string | null>;
|
|
127
127
|
readonly labelInput: import("@angular/core").InputSignal<string | null>;
|
|
128
128
|
readonly label: import("@angular/core").Signal<string>;
|
|
@@ -553,7 +553,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
|
|
|
553
553
|
/** API root from FORGEROUTE_CONFIG (e.g. a cross-origin prod API); falls back to same-origin `/api`. */
|
|
554
554
|
private readonly apiBase;
|
|
555
555
|
/** `email` → purpose select + attachment allowed; `text` → link only (purpose fixed to e-signature). */
|
|
556
|
-
readonly channel: import("@angular/core").InputSignal<"
|
|
556
|
+
readonly channel: import("@angular/core").InputSignal<"email" | "text">;
|
|
557
557
|
readonly labelInput: import("@angular/core").InputSignal<string | null>;
|
|
558
558
|
readonly label: import("@angular/core").Signal<string>;
|
|
559
559
|
/** When true, at least one document must be chosen. The message forms leave it false: documents are optional there. */
|
|
@@ -629,7 +629,7 @@ export declare class DocumentSendOptionsComponent implements UiFieldValidity {
|
|
|
629
629
|
/** Roles of documents whose row had no `signerRoles` and that the host resolves (`signers().resolveRoles`). */
|
|
630
630
|
readonly roleStates: import("@angular/core").WritableSignal<Record<string, RoleState>>;
|
|
631
631
|
/** The envelope's documents: `loading` / `error` while the panel reads them (`loadDocuments`), `ready` once known. */
|
|
632
|
-
readonly envelopeStatus: import("@angular/core").WritableSignal<"
|
|
632
|
+
readonly envelopeStatus: import("@angular/core").WritableSignal<"idle" | "loading" | "ready" | "error">;
|
|
633
633
|
private envelopeSub;
|
|
634
634
|
private readonly roleSubs;
|
|
635
635
|
/** The sender opened the collapsed "Signing options" line. */
|
|
@@ -2020,7 +2020,7 @@ export declare class SendMessagePanelComponent {
|
|
|
2020
2020
|
* somebody can receive that channel; otherwise the usual default applies (email if anybody has an email, else text). null (default) = the usual default.
|
|
2021
2021
|
* `textEnabled` must already be known when the panel opens for `'text'` to take effect (bind `[recipients]` after async settings loaded, or re-open).
|
|
2022
2022
|
*/
|
|
2023
|
-
readonly initialChannel: import("@angular/core").InputSignal<"
|
|
2023
|
+
readonly initialChannel: import("@angular/core").InputSignal<"email" | "text" | null>;
|
|
2024
2024
|
/** Bulk mode: the plural noun in "To: 12 residents" (default `recipients`, localized). */
|
|
2025
2025
|
readonly recipientNoun: import("@angular/core").InputSignal<string>;
|
|
2026
2026
|
/** Bulk mode: the singular noun used when exactly one is selected; empty = the plural without a trailing "s". */
|
|
@@ -2251,7 +2251,7 @@ export declare class SendMessagePanelComponent {
|
|
|
2251
2251
|
readonly activeContact: import("@angular/core").WritableSignal<MessageContact | null>;
|
|
2252
2252
|
/** What the sender should know about the picked contact before sending (why a channel is missing, what to add). */
|
|
2253
2253
|
readonly contactNotices: import("@angular/core").Signal<string[]>;
|
|
2254
|
-
readonly channel: import("@angular/core").WritableSignal<"
|
|
2254
|
+
readonly channel: import("@angular/core").WritableSignal<"email" | "text">;
|
|
2255
2255
|
readonly valid: import("@angular/core").WritableSignal<boolean>;
|
|
2256
2256
|
/** A send is in flight in the active form: the Send button spins and stays disabled. */
|
|
2257
2257
|
readonly busy: import("@angular/core").WritableSignal<boolean>;
|
|
@@ -345,6 +345,12 @@ export interface PaymentMethodContext {
|
|
|
345
345
|
setPrimary(button: PaymentPluginPrimary | null): void;
|
|
346
346
|
/** Hide the panel's fields and show only the plugin body (e.g. a "payment submitted" notice). */
|
|
347
347
|
setExclusive(on: boolean): void;
|
|
348
|
+
/**
|
|
349
|
+
* Optional (library source 2026-11-21): asks the panel not to close while the plugin has something that must not be abandoned (a payment waiting on a card reader). The panel calls `fn` when the user
|
|
350
|
+
* closes it (Cancel, X, Escape); `fn` returns `true` to let it close, `false` to keep it open (the plugin shows why). Cleared by `setCloseGuard(null)`, a method change, `complete()` and a reset. A host that
|
|
351
|
+
* closes the panel itself (`[open]="false"`) is not asked: the cancel hook of `onCancel` runs then. Older panels do not have it: call it as `ctx.setCloseGuard?.(...)`.
|
|
352
|
+
*/
|
|
353
|
+
setCloseGuard?(fn: (() => boolean) | null): void;
|
|
348
354
|
/** Called when the body is about to go away unfinished: the panel closes, the method changes, or the plugin is removed. Not called after `complete()`. */
|
|
349
355
|
onCancel(fn: (() => void) | null): void;
|
|
350
356
|
/** Tell the host something happened (`outcome` kind `'plugin'`) so it can word a toast. `attemptKey` names the attempt a report is about (the second payment of a `duplicate_suspected`, the payment another tab made in `paid_elsewhere`); `paid` is the amount (major units) and method that payment was made with, for a host that reconciles it. */
|
|
@@ -493,6 +499,8 @@ export declare class PaymentSidePanelComponent {
|
|
|
493
499
|
protected readonly exclusive: import("@angular/core").WritableSignal<boolean>;
|
|
494
500
|
private readonly pluginPrimary;
|
|
495
501
|
private cancelHook;
|
|
502
|
+
/** A plugin's "may the panel close?" check (see `PaymentMethodContext.setCloseGuard`). */
|
|
503
|
+
private closeGuard;
|
|
496
504
|
/** The method value that was a live plugin method when last checked ('' = none), to notice the plugin disappearing under a selected method. */
|
|
497
505
|
private liveMethodValue;
|
|
498
506
|
private completed;
|
|
@@ -527,7 +535,7 @@ export declare class PaymentSidePanelComponent {
|
|
|
527
535
|
private readonly terminalAvailable;
|
|
528
536
|
/** value -> label of every live method the rendered plugins contribute (the first plugin wins a duplicate value). */
|
|
529
537
|
private readonly liveMethods;
|
|
530
|
-
protected readonly kind: import("@angular/core").Signal<"
|
|
538
|
+
protected readonly kind: import("@angular/core").Signal<"none" | "manual" | "live" | "terminal">;
|
|
531
539
|
private kindOf;
|
|
532
540
|
/** The method list as shown: record-only built-ins (a plugin takes over its own values), plugin extras, and only manual ones while a split is being built. */
|
|
533
541
|
readonly methodList: import("@angular/core").Signal<PaymentMethodOption[]>;
|
|
@@ -355,7 +355,7 @@ export declare class QboPaymentComponent {
|
|
|
355
355
|
protected readonly postalFormatter: import("@angular/core").Signal<(raw: string) => string>;
|
|
356
356
|
protected readonly postalPlaceholder: import("@angular/core").Signal<"A1A 1A1" | "94086">;
|
|
357
357
|
protected readonly postalInputMode: import("@angular/core").Signal<"text" | "numeric">;
|
|
358
|
-
protected readonly postalMaxLength: import("@angular/core").Signal<
|
|
358
|
+
protected readonly postalMaxLength: import("@angular/core").Signal<7 | 10>;
|
|
359
359
|
protected readonly routingFormatter: (raw: string) => string;
|
|
360
360
|
protected readonly accountFormatter: (raw: string) => string;
|
|
361
361
|
protected readonly tabs: import("@angular/core").Signal<PillTab[]>;
|
|
@@ -792,7 +792,7 @@ export declare class QboConnectComponent {
|
|
|
792
792
|
readonly loading: import("@angular/core").ModelSignal<boolean>;
|
|
793
793
|
protected readonly awaiting: import("@angular/core").WritableSignal<boolean>;
|
|
794
794
|
protected readonly confirming: import("@angular/core").WritableSignal<boolean>;
|
|
795
|
-
protected readonly state: import("@angular/core").Signal<"
|
|
795
|
+
protected readonly state: import("@angular/core").Signal<"none" | "connected" | "reconnect">;
|
|
796
796
|
protected readonly company: import("@angular/core").Signal<string>;
|
|
797
797
|
protected readonly connectedOn: import("@angular/core").Signal<string>;
|
|
798
798
|
/** What the persistent status region says: the current state, plus "Loading." while a request runs. */
|
|
@@ -362,7 +362,7 @@ export declare class SquarePaymentComponent {
|
|
|
362
362
|
readonly applicationId: import("@angular/core").InputSignal<string | null>;
|
|
363
363
|
readonly locationId: import("@angular/core").InputSignal<string | null>;
|
|
364
364
|
/** `'production'` or `'sandbox'` (default: the provider's, else `'sandbox'`). Decides which Square host the SDK script comes from. */
|
|
365
|
-
readonly environment: import("@angular/core").InputSignal<"
|
|
365
|
+
readonly environment: import("@angular/core").InputSignal<"production" | "sandbox" | null>;
|
|
366
366
|
/** The amount in major units (12.5 = $12.50), for buyer verification (SCA / 3-D Secure) of a card payment. */
|
|
367
367
|
readonly amount: import("@angular/core").InputSignal<number | null>;
|
|
368
368
|
readonly currency: import("@angular/core").InputSignal<string>;
|
|
@@ -1232,7 +1232,7 @@ export declare class SquarePaymentMethodComponent extends PaymentMethodPlugin {
|
|
|
1232
1232
|
readonly estimateFees: import("@angular/core").InputSignal<((ctx: SquareFeeContext) => HostResult<SquareFees>) | null>;
|
|
1233
1233
|
readonly applicationId: import("@angular/core").InputSignal<string | null>;
|
|
1234
1234
|
readonly locationId: import("@angular/core").InputSignal<string | null>;
|
|
1235
|
-
readonly environment: import("@angular/core").InputSignal<"
|
|
1235
|
+
readonly environment: import("@angular/core").InputSignal<"production" | "sandbox" | null>;
|
|
1236
1236
|
/** The buyer's billing contact: with it the card form runs buyer verification (SCA / 3-D Secure) before the token reaches your backend. */
|
|
1237
1237
|
readonly billingContact: import("@angular/core").InputSignal<SquareBillingContact | null>;
|
|
1238
1238
|
/** The account holder name offered for the bank account. */
|