@burdenoff/microfe-billing 2026.614.1 → 2026.623.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billing/BillingAdminRoutes.js +7 -6
- package/dist/billing/BillingAdminRoutes.js.map +1 -1
- package/dist/billing/BillingRoot.js +1 -1
- package/dist/billing/BillingRoot.js.map +1 -1
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js +22 -22
- package/dist/billing/modules/addons/components/FloatingCartDrawer.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonCreatePage.js +31 -31
- package/dist/billing/modules/addons/pages/AddonCreatePage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonDetailPage.js +39 -39
- package/dist/billing/modules/addons/pages/AddonDetailPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonEditPage.js +29 -29
- package/dist/billing/modules/addons/pages/AddonEditPage.js.map +1 -1
- package/dist/billing/modules/addons/pages/AddonsListPage.js +91 -91
- package/dist/billing/modules/addons/pages/AddonsListPage.js.map +1 -1
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js +40 -40
- package/dist/billing/modules/analytics/pages/AnalyticsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js +115 -115
- package/dist/billing/modules/billing/pages/InvoiceDetailPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/InvoicesListPage.js +75 -72
- package/dist/billing/modules/billing/pages/InvoicesListPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/RefundsPage.js +126 -126
- package/dist/billing/modules/billing/pages/RefundsPage.js.map +1 -1
- package/dist/billing/modules/billing/pages/UserRefundsPage.js +45 -45
- package/dist/billing/modules/billing/pages/UserRefundsPage.js.map +1 -1
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js +25 -25
- package/dist/billing/modules/checkout/components/BillingAccountSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js +31 -35
- package/dist/billing/modules/checkout/components/CompleteBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js +9 -9
- package/dist/billing/modules/checkout/components/CreditsAmountInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/OrderSummary.js +31 -31
- package/dist/billing/modules/checkout/components/OrderSummary.js.map +1 -1
- package/dist/billing/modules/checkout/components/PromoCodeInput.js +8 -8
- package/dist/billing/modules/checkout/components/PromoCodeInput.js.map +1 -1
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js +5 -5
- package/dist/billing/modules/checkout/components/RazorpayPaymentButton.js.map +1 -1
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js +9 -9
- package/dist/billing/modules/checkout/components/SimpleAutoPayToggle.js.map +1 -1
- package/dist/billing/modules/checkout/components/StripePaymentForm.js +21 -21
- package/dist/billing/modules/checkout/components/StripePaymentForm.js.map +1 -1
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js +11 -11
- package/dist/billing/modules/checkout/components/SubscriptionSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js +31 -31
- package/dist/billing/modules/checkout/components/UnifiedPaymentMethodSelector.js.map +1 -1
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js +23 -23
- package/dist/billing/modules/checkout/components/WorkspaceQuotaAssignmentModal.js.map +1 -1
- package/dist/billing/modules/checkout/pages/CheckoutPage.js +91 -91
- package/dist/billing/modules/checkout/pages/CheckoutPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js +62 -62
- package/dist/billing/modules/coupons/pages/CouponDetailPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CouponsListPage.js +72 -60
- package/dist/billing/modules/coupons/pages/CouponsListPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js +66 -66
- package/dist/billing/modules/coupons/pages/CreateCouponPage.js.map +1 -1
- package/dist/billing/modules/coupons/pages/EditCouponPage.js +46 -46
- package/dist/billing/modules/coupons/pages/EditCouponPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js +19 -19
- package/dist/billing/modules/credits/pages/AdminCreditsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js +37 -37
- package/dist/billing/modules/credits/pages/CreditTransactionsPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js +90 -90
- package/dist/billing/modules/credits/pages/CreditWithdrawalPage.js.map +1 -1
- package/dist/billing/modules/credits/pages/CreditsPage.js +41 -41
- package/dist/billing/modules/credits/pages/CreditsPage.js.map +1 -1
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js +31 -31
- package/dist/billing/modules/dashboard/components/ActiveSubscriptionCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js +35 -35
- package/dist/billing/modules/dashboard/components/AddPaymentMethodModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js +24 -24
- package/dist/billing/modules/dashboard/components/BillingAccountCard.js.map +1 -1
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js +99 -99
- package/dist/billing/modules/dashboard/components/CreateBillingAccountModal.js.map +1 -1
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js +23 -23
- package/dist/billing/modules/dashboard/components/PaymentMethodsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js +22 -22
- package/dist/billing/modules/dashboard/components/RecommendedAddonsSection.js.map +1 -1
- package/dist/billing/modules/dashboard/pages/OverviewPage.js +58 -58
- package/dist/billing/modules/dashboard/pages/OverviewPage.js.map +1 -1
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js +126 -126
- package/dist/billing/modules/discounts/pages/DiscountsListPage.js.map +1 -1
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js +83 -79
- package/dist/billing/modules/earnings/pages/PayoutAdminPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js +16 -16
- package/dist/billing/modules/plans/pages/PlanAssignFreePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js +40 -40
- package/dist/billing/modules/plans/pages/PlanBrowseDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanCreatePage.js +35 -35
- package/dist/billing/modules/plans/pages/PlanCreatePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanDetailPage.js +57 -57
- package/dist/billing/modules/plans/pages/PlanDetailPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlanEditPage.js +35 -35
- package/dist/billing/modules/plans/pages/PlanEditPage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js +57 -57
- package/dist/billing/modules/plans/pages/PlansBrowsePage.js.map +1 -1
- package/dist/billing/modules/plans/pages/PlansListPage.js +52 -52
- package/dist/billing/modules/plans/pages/PlansListPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js +40 -39
- package/dist/billing/modules/promotions/pages/CreatePromotionPage.js.map +1 -1
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js +22 -19
- package/dist/billing/modules/promotions/pages/PromotionsListPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js +34 -34
- package/dist/billing/modules/quota/pages/QuotaTemplateCreatePage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js +47 -47
- package/dist/billing/modules/quota/pages/QuotaTemplateDetailPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js +39 -39
- package/dist/billing/modules/quota/pages/QuotaTemplateEditPage.js.map +1 -1
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js +52 -52
- package/dist/billing/modules/quota/pages/QuotaTemplatesListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js +23 -23
- package/dist/billing/modules/subscriptions/components/ManageSeatsModal.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js +259 -246
- package/dist/billing/modules/subscriptions/pages/SubscriptionDetailPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js +88 -85
- package/dist/billing/modules/subscriptions/pages/SubscriptionsListPage.js.map +1 -1
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js +51 -51
- package/dist/billing/modules/subscriptions/pages/UpgradeSubscriptionPage.js.map +1 -1
- package/dist/billing/modules/usage/pages/UsagePage.js +206 -196
- package/dist/billing/modules/usage/pages/UsagePage.js.map +1 -1
- package/dist/billing/shared/components/ServerError.js +4 -4
- package/dist/billing/shared/components/ServerError.js.map +1 -1
- package/dist/billing/shared/components/StatCard.js +11 -33
- package/dist/billing/shared/components/StatCard.js.map +1 -1
- package/dist/billing/shared/ui/Card.js +15 -0
- package/dist/billing/shared/ui/Card.js.map +1 -0
- package/dist/billing/shared/ui/MetricCard.js +44 -0
- package/dist/billing/shared/ui/MetricCard.js.map +1 -0
- package/dist/billing/shared/ui/ProgressBar.js +30 -0
- package/dist/billing/shared/ui/ProgressBar.js.map +1 -0
- package/dist/billing/shared/ui/SectionHeader.js +2 -0
- package/dist/billing/shared/ui/StatusPill.js +28 -0
- package/dist/billing/shared/ui/StatusPill.js.map +1 -0
- package/dist/billing/shared/ui/index.js +5 -0
- package/dist/billing/shared/utils/tokens.js +13 -30
- package/dist/billing/shared/utils/tokens.js.map +1 -1
- package/package.json +1 -1
|
@@ -545,8 +545,8 @@ var Ye = () => {
|
|
|
545
545
|
className: "flex items-center justify-center min-h-[400px]",
|
|
546
546
|
children: /* @__PURE__ */ p("div", {
|
|
547
547
|
className: "text-center space-y-4",
|
|
548
|
-
children: [/* @__PURE__ */ f(Le, { className: "size-8 animate-spin mx-auto text-
|
|
549
|
-
className: "text-
|
|
548
|
+
children: [/* @__PURE__ */ f(Le, { className: "size-8 animate-spin mx-auto text-text-link" }), /* @__PURE__ */ f("p", {
|
|
549
|
+
className: "text-text-secondary",
|
|
550
550
|
children: m("billing.checkout.loadingCheckout", "Loading checkout...")
|
|
551
551
|
})]
|
|
552
552
|
})
|
|
@@ -571,20 +571,20 @@ var Ye = () => {
|
|
|
571
571
|
className: "inline-flex p-4 rounded-full bg-status-success-bg-subtle text-status-success-text",
|
|
572
572
|
children: /* @__PURE__ */ f(Pe, { className: "size-12" })
|
|
573
573
|
}), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h1", {
|
|
574
|
-
className: "text-2xl font-bold text-
|
|
574
|
+
className: "text-2xl font-bold text-text-primary",
|
|
575
575
|
children: m("billing.checkout.paymentSuccessful", "Payment Successful!")
|
|
576
576
|
}), /* @__PURE__ */ f("p", {
|
|
577
|
-
className: "text-
|
|
577
|
+
className: "text-text-secondary mt-2",
|
|
578
578
|
children: m("billing.checkout.purchaseCompleted", "Your purchase has been completed successfully.")
|
|
579
579
|
})] })]
|
|
580
580
|
}),
|
|
581
581
|
F && /* @__PURE__ */ p("div", {
|
|
582
|
-
className: "bg-
|
|
582
|
+
className: "bg-bg-surface border border-border-subtle rounded-lg overflow-hidden",
|
|
583
583
|
children: [
|
|
584
584
|
/* @__PURE__ */ p("div", {
|
|
585
|
-
className: "p-4 border-b border-border",
|
|
585
|
+
className: "p-4 border-b border-border-subtle",
|
|
586
586
|
children: [/* @__PURE__ */ p("h3", {
|
|
587
|
-
className: "font-semibold text-
|
|
587
|
+
className: "font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
588
588
|
children: [/* @__PURE__ */ f(ze, { className: "size-4" }), m("billing.checkout.itemsPurchased", "Items Purchased")]
|
|
589
589
|
}), /* @__PURE__ */ f("div", {
|
|
590
590
|
className: "space-y-2",
|
|
@@ -598,72 +598,72 @@ var Ye = () => {
|
|
|
598
598
|
t.type === "CREDITS" && /* @__PURE__ */ f(Fe, { className: "size-4 text-status-warning-text" }),
|
|
599
599
|
t.type === "ORDER" && /* @__PURE__ */ f(Ve, { className: "size-4 text-status-success-text" }),
|
|
600
600
|
/* @__PURE__ */ f("span", {
|
|
601
|
-
className: "text-
|
|
601
|
+
className: "text-text-primary",
|
|
602
602
|
children: t.name
|
|
603
603
|
}),
|
|
604
604
|
t.quantity > 1 && /* @__PURE__ */ p("span", {
|
|
605
|
-
className: "text-xs text-
|
|
605
|
+
className: "text-xs text-text-secondary",
|
|
606
606
|
children: ["x", t.quantity]
|
|
607
607
|
})
|
|
608
608
|
]
|
|
609
609
|
}), /* @__PURE__ */ f("span", {
|
|
610
|
-
className: "text-
|
|
610
|
+
className: "text-text-secondary",
|
|
611
611
|
children: e(t.price * t.quantity)
|
|
612
612
|
})]
|
|
613
613
|
}, t.id))
|
|
614
614
|
})]
|
|
615
615
|
}),
|
|
616
616
|
/* @__PURE__ */ f("div", {
|
|
617
|
-
className: "p-4 border-b border-border bg-
|
|
617
|
+
className: "p-4 border-b border-border-subtle bg-bg-sunken",
|
|
618
618
|
children: /* @__PURE__ */ p("div", {
|
|
619
619
|
className: "grid grid-cols-2 gap-4",
|
|
620
620
|
children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
621
|
-
className: "text-xs text-
|
|
621
|
+
className: "text-xs text-text-secondary mb-1",
|
|
622
622
|
children: m("billing.checkout.paymentMethod", "Payment Method")
|
|
623
623
|
}), /* @__PURE__ */ f("div", {
|
|
624
624
|
className: "flex items-center gap-2",
|
|
625
625
|
children: F.paymentMethod === "credits" ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(He, { className: "size-4 text-status-warning-text" }), /* @__PURE__ */ f("span", {
|
|
626
|
-
className: "font-medium text-
|
|
626
|
+
className: "font-medium text-text-primary",
|
|
627
627
|
children: m("billing.checkout.credits", "Credits")
|
|
628
628
|
})] }) : /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(Ie, { className: "size-4 text-accent-blue" }), /* @__PURE__ */ f("span", {
|
|
629
|
-
className: "font-medium text-
|
|
629
|
+
className: "font-medium text-text-primary",
|
|
630
630
|
children: m("billing.checkout.card", "Card")
|
|
631
631
|
})] })
|
|
632
632
|
})] }), /* @__PURE__ */ p("div", {
|
|
633
633
|
className: "text-right",
|
|
634
634
|
children: [/* @__PURE__ */ f("p", {
|
|
635
|
-
className: "text-xs text-
|
|
635
|
+
className: "text-xs text-text-secondary mb-1",
|
|
636
636
|
children: m("billing.checkout.totalPaid", "Total Paid")
|
|
637
637
|
}), /* @__PURE__ */ f("p", {
|
|
638
|
-
className: "font-bold text-lg text-
|
|
638
|
+
className: "font-bold text-lg text-text-primary",
|
|
639
639
|
children: e(F.total)
|
|
640
640
|
})]
|
|
641
641
|
})]
|
|
642
642
|
})
|
|
643
643
|
}),
|
|
644
644
|
F.paymentMethod === "credits" && /* @__PURE__ */ p("div", {
|
|
645
|
-
className: "p-4 border-b border-border",
|
|
645
|
+
className: "p-4 border-b border-border-subtle",
|
|
646
646
|
children: [/* @__PURE__ */ p("h3", {
|
|
647
|
-
className: "font-semibold text-
|
|
647
|
+
className: "font-semibold text-text-primary mb-3 flex items-center gap-2",
|
|
648
648
|
children: [/* @__PURE__ */ f(He, { className: "size-4" }), m("billing.checkout.creditBalance", "Credit Balance")]
|
|
649
649
|
}), /* @__PURE__ */ p("div", {
|
|
650
650
|
className: "flex items-center gap-4",
|
|
651
651
|
children: [
|
|
652
652
|
/* @__PURE__ */ p("div", {
|
|
653
|
-
className: "flex-1 text-center p-3 rounded-lg bg-
|
|
653
|
+
className: "flex-1 text-center p-3 rounded-lg bg-bg-sunken",
|
|
654
654
|
children: [/* @__PURE__ */ f("p", {
|
|
655
|
-
className: "text-xs text-
|
|
655
|
+
className: "text-xs text-text-secondary mb-1",
|
|
656
656
|
children: m("billing.checkout.previousBalance", "Previous Balance")
|
|
657
657
|
}), /* @__PURE__ */ f("p", {
|
|
658
|
-
className: "font-semibold text-
|
|
658
|
+
className: "font-semibold text-text-primary",
|
|
659
659
|
children: t(F.previousBalance)
|
|
660
660
|
})]
|
|
661
661
|
}),
|
|
662
|
-
/* @__PURE__ */ f(Me, { className: "size-5 text-
|
|
662
|
+
/* @__PURE__ */ f(Me, { className: "size-5 text-text-secondary shrink-0" }),
|
|
663
663
|
/* @__PURE__ */ p("div", {
|
|
664
664
|
className: "flex-1 text-center p-3 rounded-lg bg-status-success-bg-subtle",
|
|
665
665
|
children: [/* @__PURE__ */ f("p", {
|
|
666
|
-
className: "text-xs text-
|
|
666
|
+
className: "text-xs text-text-secondary mb-1",
|
|
667
667
|
children: m("billing.checkout.newBalance", "New Balance")
|
|
668
668
|
}), /* @__PURE__ */ f("p", {
|
|
669
669
|
className: "font-semibold text-status-success-text",
|
|
@@ -674,22 +674,22 @@ var Ye = () => {
|
|
|
674
674
|
})]
|
|
675
675
|
}),
|
|
676
676
|
/* @__PURE__ */ f("div", {
|
|
677
|
-
className: "p-4 bg-
|
|
677
|
+
className: "p-4 bg-bg-sunken",
|
|
678
678
|
children: /* @__PURE__ */ p("div", {
|
|
679
679
|
className: "flex items-center justify-between",
|
|
680
680
|
children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("p", {
|
|
681
|
-
className: "text-xs text-
|
|
681
|
+
className: "text-xs text-text-secondary mb-1",
|
|
682
682
|
children: m("billing.checkout.billingAccount", "Billing Account")
|
|
683
683
|
}), /* @__PURE__ */ f("p", {
|
|
684
|
-
className: "font-medium text-
|
|
684
|
+
className: "font-medium text-text-primary",
|
|
685
685
|
children: F.billingAccountName
|
|
686
686
|
})] }), F.transactionId && /* @__PURE__ */ p("div", {
|
|
687
687
|
className: "text-right",
|
|
688
688
|
children: [/* @__PURE__ */ f("p", {
|
|
689
|
-
className: "text-xs text-
|
|
689
|
+
className: "text-xs text-text-secondary mb-1",
|
|
690
690
|
children: m("billing.checkout.transactionId", "Transaction ID")
|
|
691
691
|
}), /* @__PURE__ */ p("p", {
|
|
692
|
-
className: "font-mono text-xs text-
|
|
692
|
+
className: "font-mono text-xs text-text-secondary",
|
|
693
693
|
children: [F.transactionId.slice(0, 8), "..."]
|
|
694
694
|
})]
|
|
695
695
|
})]
|
|
@@ -702,12 +702,12 @@ var Ye = () => {
|
|
|
702
702
|
children: [/* @__PURE__ */ f("button", {
|
|
703
703
|
type: "button",
|
|
704
704
|
onClick: () => g("/overview"),
|
|
705
|
-
className: "px-6 py-3 text-sm font-medium bg-primary text-primary-
|
|
705
|
+
className: "px-6 py-3 text-sm font-medium bg-action-primary-bg text-action-primary-text rounded-lg hover:bg-action-primary-bgHover transition-colors",
|
|
706
706
|
children: m("billing.checkout.backToOverview", "Back to Overview")
|
|
707
707
|
}), /* @__PURE__ */ f("button", {
|
|
708
708
|
type: "button",
|
|
709
709
|
onClick: () => g("/subscriptions"),
|
|
710
|
-
className: "px-6 py-3 text-sm font-medium border border-border text-
|
|
710
|
+
className: "px-6 py-3 text-sm font-medium border border-border-subtle text-text-primary rounded-lg hover:bg-bg-sunken transition-colors",
|
|
711
711
|
children: m("billing.checkout.viewSubscriptions", "View Subscriptions")
|
|
712
712
|
})]
|
|
713
713
|
})
|
|
@@ -728,14 +728,14 @@ var Ye = () => {
|
|
|
728
728
|
className: "text-center space-y-6",
|
|
729
729
|
children: [
|
|
730
730
|
/* @__PURE__ */ f("div", {
|
|
731
|
-
className: "inline-flex p-4 rounded-full bg-
|
|
731
|
+
className: "inline-flex p-4 rounded-full bg-status-error-bg-subtle text-status-error-text",
|
|
732
732
|
children: /* @__PURE__ */ f(Ue, { className: "size-12" })
|
|
733
733
|
}),
|
|
734
734
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h1", {
|
|
735
|
-
className: "text-2xl font-bold text-
|
|
735
|
+
className: "text-2xl font-bold text-text-primary",
|
|
736
736
|
children: m("billing.checkout.paymentFailed", "Payment Failed")
|
|
737
737
|
}), /* @__PURE__ */ f("p", {
|
|
738
|
-
className: "text-
|
|
738
|
+
className: "text-text-secondary mt-2",
|
|
739
739
|
children: ht || bt || z.error || m("billing.checkout.genericError", "Something went wrong. Please try again.")
|
|
740
740
|
})] }),
|
|
741
741
|
/* @__PURE__ */ p("div", {
|
|
@@ -743,14 +743,14 @@ var Ye = () => {
|
|
|
743
743
|
children: [/* @__PURE__ */ f("button", {
|
|
744
744
|
type: "button",
|
|
745
745
|
onClick: () => g(-1),
|
|
746
|
-
className: "px-4 py-2 rounded-lg border border-border hover:bg-
|
|
746
|
+
className: "px-4 py-2 rounded-lg border border-border-subtle hover:bg-bg-sunken",
|
|
747
747
|
children: m("billing.checkout.goBack", "Go Back")
|
|
748
748
|
}), /* @__PURE__ */ f("button", {
|
|
749
749
|
type: "button",
|
|
750
750
|
onClick: () => {
|
|
751
751
|
j("select"), P(null), z.reset();
|
|
752
752
|
},
|
|
753
|
-
className: "px-4 py-2 rounded-lg bg-primary text-primary-
|
|
753
|
+
className: "px-4 py-2 rounded-lg bg-action-primary-bg text-action-primary-text hover:bg-action-primary-bgHover",
|
|
754
754
|
children: m("billing.checkout.tryAgain", "Try Again")
|
|
755
755
|
})]
|
|
756
756
|
})
|
|
@@ -763,25 +763,25 @@ var Ye = () => {
|
|
|
763
763
|
className: "text-center space-y-6",
|
|
764
764
|
children: [
|
|
765
765
|
/* @__PURE__ */ f("div", {
|
|
766
|
-
className: "inline-flex p-4 rounded-full bg-
|
|
766
|
+
className: "inline-flex p-4 rounded-full bg-[var(--color-accent-soft)] text-text-link",
|
|
767
767
|
children: /* @__PURE__ */ f(Le, { className: "size-12 animate-spin" })
|
|
768
768
|
}),
|
|
769
769
|
/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h1", {
|
|
770
|
-
className: "text-2xl font-bold text-
|
|
770
|
+
className: "text-2xl font-bold text-text-primary",
|
|
771
771
|
children: m("billing.checkout.verifyingPayment", "Verifying Payment")
|
|
772
772
|
}), /* @__PURE__ */ f("p", {
|
|
773
|
-
className: "text-
|
|
773
|
+
className: "text-text-secondary mt-2",
|
|
774
774
|
children: m("billing.checkout.verifyingPaymentDescription", "Please wait while we confirm your payment...")
|
|
775
775
|
})] }),
|
|
776
776
|
/* @__PURE__ */ p("div", {
|
|
777
|
-
className: "bg-
|
|
777
|
+
className: "bg-bg-sunken rounded-lg p-4",
|
|
778
778
|
children: [/* @__PURE__ */ p("p", {
|
|
779
|
-
className: "text-sm text-
|
|
779
|
+
className: "text-sm text-text-secondary",
|
|
780
780
|
children: [
|
|
781
781
|
m("billing.checkout.timeElapsed", "Time elapsed:"),
|
|
782
782
|
" ",
|
|
783
783
|
/* @__PURE__ */ f("span", {
|
|
784
|
-
className: "font-mono font-medium text-
|
|
784
|
+
className: "font-mono font-medium text-text-primary",
|
|
785
785
|
children: ((e) => {
|
|
786
786
|
let t = Math.floor(e / 1e3);
|
|
787
787
|
return `${Math.floor(t / 60)}:${(t % 60).toString().padStart(2, "0")}`;
|
|
@@ -789,14 +789,14 @@ var Ye = () => {
|
|
|
789
789
|
})
|
|
790
790
|
]
|
|
791
791
|
}), /* @__PURE__ */ f("p", {
|
|
792
|
-
className: "text-xs text-
|
|
792
|
+
className: "text-xs text-text-secondary mt-1",
|
|
793
793
|
children: m("billing.checkout.keepPageOpen", "This may take a few moments. Please don't close this page.")
|
|
794
794
|
})]
|
|
795
795
|
}),
|
|
796
796
|
/* @__PURE__ */ f("div", {
|
|
797
|
-
className: "w-full bg-
|
|
797
|
+
className: "w-full bg-bg-sunken rounded-full h-2 overflow-hidden",
|
|
798
798
|
children: /* @__PURE__ */ f("div", {
|
|
799
|
-
className: "bg-primary h-2 rounded-full transition-all duration-1000",
|
|
799
|
+
className: "bg-action-primary-bg h-2 rounded-full transition-all duration-1000",
|
|
800
800
|
style: { width: `${Math.min(V / 3e5 * 100, 100)}%` }
|
|
801
801
|
})
|
|
802
802
|
}),
|
|
@@ -805,7 +805,7 @@ var Ye = () => {
|
|
|
805
805
|
onClick: () => {
|
|
806
806
|
j("error"), P("Payment verification was cancelled. Please check your billing history.");
|
|
807
807
|
},
|
|
808
|
-
className: "text-sm text-
|
|
808
|
+
className: "text-sm text-text-secondary hover:text-text-primary underline",
|
|
809
809
|
children: m("billing.checkout.cancelAndCheckHistory", "Cancel and check billing history")
|
|
810
810
|
})
|
|
811
811
|
]
|
|
@@ -824,7 +824,7 @@ var Ye = () => {
|
|
|
824
824
|
/* @__PURE__ */ p("button", {
|
|
825
825
|
type: "button",
|
|
826
826
|
onClick: () => j("select"),
|
|
827
|
-
className: "flex items-center gap-2 text-sm text-
|
|
827
|
+
className: "flex items-center gap-2 text-sm text-text-secondary hover:text-text-primary",
|
|
828
828
|
children: [/* @__PURE__ */ f(je, { className: "size-4" }), m("billing.checkout.backToCheckout", "Back to checkout")]
|
|
829
829
|
}),
|
|
830
830
|
/* @__PURE__ */ f(n, {
|
|
@@ -832,42 +832,42 @@ var Ye = () => {
|
|
|
832
832
|
description: m("billing.checkout.completePaymentDescription", "Enter your payment details to complete the purchase")
|
|
833
833
|
}),
|
|
834
834
|
/* @__PURE__ */ p("div", {
|
|
835
|
-
className: "rounded-lg border border-border bg-
|
|
835
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 space-y-4",
|
|
836
836
|
children: [
|
|
837
837
|
/* @__PURE__ */ p("h3", {
|
|
838
|
-
className: "font-semibold text-
|
|
838
|
+
className: "font-semibold text-text-primary flex items-center gap-2",
|
|
839
839
|
children: [/* @__PURE__ */ f(ze, { className: "size-4" }), m("billing.checkout.paymentSummary", "Payment Summary")]
|
|
840
840
|
}),
|
|
841
841
|
z.billingAccount && /* @__PURE__ */ p("div", {
|
|
842
|
-
className: "p-3 bg-
|
|
842
|
+
className: "p-3 bg-bg-sunken rounded-lg space-y-1",
|
|
843
843
|
children: [
|
|
844
844
|
/* @__PURE__ */ f("div", {
|
|
845
|
-
className: "text-xs text-
|
|
845
|
+
className: "text-xs text-text-secondary uppercase tracking-wide",
|
|
846
846
|
children: m("billing.checkout.billingAccount", "Billing Account")
|
|
847
847
|
}),
|
|
848
848
|
/* @__PURE__ */ f("div", {
|
|
849
|
-
className: "font-medium text-
|
|
849
|
+
className: "font-medium text-text-primary",
|
|
850
850
|
children: z.billingAccount.name
|
|
851
851
|
}),
|
|
852
852
|
/* @__PURE__ */ f("div", {
|
|
853
|
-
className: "text-sm text-
|
|
853
|
+
className: "text-sm text-text-secondary",
|
|
854
854
|
children: z.billingAccount.email
|
|
855
855
|
})
|
|
856
856
|
]
|
|
857
857
|
}),
|
|
858
858
|
E === "ADDON" && z.selectedSubscriptionId && K && /* @__PURE__ */ p("div", {
|
|
859
|
-
className: "p-3 bg-
|
|
859
|
+
className: "p-3 bg-bg-sunken rounded-lg space-y-1",
|
|
860
860
|
children: [
|
|
861
861
|
/* @__PURE__ */ f("div", {
|
|
862
|
-
className: "text-xs text-
|
|
862
|
+
className: "text-xs text-text-secondary uppercase tracking-wide",
|
|
863
863
|
children: m("billing.checkout.addingToSubscription", "Adding to Subscription")
|
|
864
864
|
}),
|
|
865
865
|
/* @__PURE__ */ f("div", {
|
|
866
|
-
className: "font-medium text-
|
|
866
|
+
className: "font-medium text-text-primary",
|
|
867
867
|
children: K.plan?.name || m("billing.checkout.subscription", "Subscription")
|
|
868
868
|
}),
|
|
869
869
|
K.plan?.product?.name && /* @__PURE__ */ f("div", {
|
|
870
|
-
className: "text-sm text-
|
|
870
|
+
className: "text-sm text-text-secondary",
|
|
871
871
|
children: K.plan.product.name
|
|
872
872
|
})
|
|
873
873
|
]
|
|
@@ -881,10 +881,10 @@ var Ye = () => {
|
|
|
881
881
|
/* @__PURE__ */ p("div", {
|
|
882
882
|
className: "flex justify-between",
|
|
883
883
|
children: [/* @__PURE__ */ f("span", {
|
|
884
|
-
className: "text-
|
|
884
|
+
className: "text-text-secondary",
|
|
885
885
|
children: m("billing.checkout.subtotal", "Subtotal")
|
|
886
886
|
}), /* @__PURE__ */ f("span", {
|
|
887
|
-
className: "text-
|
|
887
|
+
className: "text-text-primary",
|
|
888
888
|
children: e(i, t)
|
|
889
889
|
})]
|
|
890
890
|
}),
|
|
@@ -895,7 +895,7 @@ var Ye = () => {
|
|
|
895
895
|
a > 0 && /* @__PURE__ */ p("div", {
|
|
896
896
|
className: "flex justify-between",
|
|
897
897
|
children: [/* @__PURE__ */ p("span", {
|
|
898
|
-
className: "text-
|
|
898
|
+
className: "text-text-secondary",
|
|
899
899
|
children: [
|
|
900
900
|
z.taxType || m("billing.checkout.tax", "Tax"),
|
|
901
901
|
" (",
|
|
@@ -903,20 +903,20 @@ var Ye = () => {
|
|
|
903
903
|
"%)"
|
|
904
904
|
]
|
|
905
905
|
}), /* @__PURE__ */ f("span", {
|
|
906
|
-
className: "text-
|
|
906
|
+
className: "text-text-primary",
|
|
907
907
|
children: e(a, t)
|
|
908
908
|
})]
|
|
909
909
|
})
|
|
910
910
|
] });
|
|
911
911
|
})(),
|
|
912
|
-
/* @__PURE__ */ f("div", { className: "border-t border-border my-2" }),
|
|
912
|
+
/* @__PURE__ */ f("div", { className: "border-t border-border-subtle my-2" }),
|
|
913
913
|
/* @__PURE__ */ p("div", {
|
|
914
914
|
className: "flex justify-between font-semibold",
|
|
915
915
|
children: [/* @__PURE__ */ f("span", {
|
|
916
|
-
className: "text-
|
|
916
|
+
className: "text-text-primary",
|
|
917
917
|
children: m("billing.checkout.total", "Total")
|
|
918
918
|
}), /* @__PURE__ */ f("span", {
|
|
919
|
-
className: "text-lg text-
|
|
919
|
+
className: "text-lg text-text-primary",
|
|
920
920
|
children: e(r, t)
|
|
921
921
|
})]
|
|
922
922
|
})
|
|
@@ -925,7 +925,7 @@ var Ye = () => {
|
|
|
925
925
|
]
|
|
926
926
|
}),
|
|
927
927
|
z.selectedProvider === "STRIPE" && M.clientSecret && /* @__PURE__ */ f("div", {
|
|
928
|
-
className: "rounded-lg border border-border bg-
|
|
928
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
|
|
929
929
|
children: /* @__PURE__ */ f("div", {
|
|
930
930
|
className: "p-4 space-y-4",
|
|
931
931
|
children: /* @__PURE__ */ f(ye, {
|
|
@@ -941,7 +941,7 @@ var Ye = () => {
|
|
|
941
941
|
})
|
|
942
942
|
}),
|
|
943
943
|
z.selectedProvider === "RAZORPAY" && M.orderId && /* @__PURE__ */ f("div", {
|
|
944
|
-
className: "rounded-lg border border-border bg-
|
|
944
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface overflow-hidden",
|
|
945
945
|
children: /* @__PURE__ */ p("div", {
|
|
946
946
|
className: "p-4 space-y-4",
|
|
947
947
|
children: [/* @__PURE__ */ p("label", {
|
|
@@ -950,9 +950,9 @@ var Ye = () => {
|
|
|
950
950
|
type: "checkbox",
|
|
951
951
|
checked: z.saveCard,
|
|
952
952
|
onChange: (e) => z.setSaveCard(e.target.checked),
|
|
953
|
-
className: "size-4 rounded border-border text-
|
|
953
|
+
className: "size-4 rounded border-border-subtle text-text-link focus:ring-[var(--color-focus-ring)]"
|
|
954
954
|
}), /* @__PURE__ */ f("span", {
|
|
955
|
-
className: "text-sm text-
|
|
955
|
+
className: "text-sm text-text-secondary",
|
|
956
956
|
children: "Save card for future purchases"
|
|
957
957
|
})]
|
|
958
958
|
}), /* @__PURE__ */ f(be, {
|
|
@@ -981,19 +981,19 @@ var Ye = () => {
|
|
|
981
981
|
/* @__PURE__ */ p("button", {
|
|
982
982
|
type: "button",
|
|
983
983
|
onClick: () => g(-1),
|
|
984
|
-
className: "flex items-center gap-2 text-sm text-
|
|
984
|
+
className: "flex items-center gap-2 text-sm text-text-secondary hover:text-text-primary mb-4",
|
|
985
985
|
children: [/* @__PURE__ */ f(je, { className: "size-4" }), "Back"]
|
|
986
986
|
}),
|
|
987
987
|
/* @__PURE__ */ p("div", {
|
|
988
988
|
className: "flex items-center gap-3 mb-6",
|
|
989
989
|
children: [/* @__PURE__ */ f("div", {
|
|
990
|
-
className: "p-2 rounded-lg bg-
|
|
990
|
+
className: "p-2 rounded-lg bg-[var(--color-accent-soft)] text-text-link",
|
|
991
991
|
children: Ut()
|
|
992
992
|
}), /* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("h1", {
|
|
993
|
-
className: "text-2xl font-bold text-
|
|
993
|
+
className: "text-2xl font-bold text-text-primary",
|
|
994
994
|
children: Ht()
|
|
995
995
|
}), /* @__PURE__ */ f("p", {
|
|
996
|
-
className: "text-sm text-
|
|
996
|
+
className: "text-sm text-text-secondary",
|
|
997
997
|
children: "Complete your purchase securely"
|
|
998
998
|
})] })]
|
|
999
999
|
}),
|
|
@@ -1055,7 +1055,7 @@ var Ye = () => {
|
|
|
1055
1055
|
className: "lg:col-span-3 space-y-6 order-2 lg:order-1",
|
|
1056
1056
|
children: [
|
|
1057
1057
|
E === "CREDITS" && z.items[0] && /* @__PURE__ */ f("div", {
|
|
1058
|
-
className: "rounded-lg border border-border bg-
|
|
1058
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6",
|
|
1059
1059
|
children: /* @__PURE__ */ f(ve, {
|
|
1060
1060
|
value: z.items[0].quantity,
|
|
1061
1061
|
onChange: Bt,
|
|
@@ -1065,7 +1065,7 @@ var Ye = () => {
|
|
|
1065
1065
|
})
|
|
1066
1066
|
}),
|
|
1067
1067
|
/* @__PURE__ */ p("div", {
|
|
1068
|
-
className: "rounded-lg border border-border bg-
|
|
1068
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6 space-y-4",
|
|
1069
1069
|
children: [/* @__PURE__ */ f(he, {
|
|
1070
1070
|
accounts: X,
|
|
1071
1071
|
selectedAccountId: z.billingAccount?.id ?? null,
|
|
@@ -1081,7 +1081,7 @@ var Ye = () => {
|
|
|
1081
1081
|
})]
|
|
1082
1082
|
}),
|
|
1083
1083
|
/* @__PURE__ */ p("div", {
|
|
1084
|
-
className: "rounded-lg border border-border bg-
|
|
1084
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface p-4 sm:p-6 space-y-4",
|
|
1085
1085
|
children: [
|
|
1086
1086
|
/* @__PURE__ */ f(Ce, {
|
|
1087
1087
|
savedPaymentMethods: Y,
|
|
@@ -1100,12 +1100,12 @@ var Ye = () => {
|
|
|
1100
1100
|
autoRenewEnabled: E === "PLAN" && z.autoRenew,
|
|
1101
1101
|
isLoading: Dt
|
|
1102
1102
|
}),
|
|
1103
|
-
z.selectedProvider !== "CREDITS" && z.selectedProvider !== "AUTO" && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", { className: "border-t border-border" }), /* @__PURE__ */ f("div", {
|
|
1104
|
-
className: "bg-
|
|
1103
|
+
z.selectedProvider !== "CREDITS" && z.selectedProvider !== "AUTO" && /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f("div", { className: "border-t border-border-subtle" }), /* @__PURE__ */ f("div", {
|
|
1104
|
+
className: "bg-bg-sunken p-4 rounded-button",
|
|
1105
1105
|
children: /* @__PURE__ */ p("div", {
|
|
1106
1106
|
className: "flex items-start gap-3",
|
|
1107
1107
|
children: [/* @__PURE__ */ f("svg", {
|
|
1108
|
-
className: "size-5 text-
|
|
1108
|
+
className: "size-5 text-text-secondary mt-0.5",
|
|
1109
1109
|
fill: "none",
|
|
1110
1110
|
stroke: "currentColor",
|
|
1111
1111
|
viewBox: "0 0 24 24",
|
|
@@ -1118,15 +1118,15 @@ var Ye = () => {
|
|
|
1118
1118
|
}), /* @__PURE__ */ p("div", {
|
|
1119
1119
|
className: "flex-1 text-sm",
|
|
1120
1120
|
children: [/* @__PURE__ */ p("p", {
|
|
1121
|
-
className: "font-medium text-
|
|
1121
|
+
className: "font-medium text-text-primary mb-1",
|
|
1122
1122
|
children: ["Currency: ", z.selectedCurrency]
|
|
1123
1123
|
}), /* @__PURE__ */ p("p", {
|
|
1124
|
-
className: "text-
|
|
1124
|
+
className: "text-text-secondary text-xs",
|
|
1125
1125
|
children: [
|
|
1126
1126
|
"All prices are shown in",
|
|
1127
1127
|
" ",
|
|
1128
1128
|
/* @__PURE__ */ f("strong", {
|
|
1129
|
-
className: "text-
|
|
1129
|
+
className: "text-text-primary",
|
|
1130
1130
|
children: z.selectedCurrency
|
|
1131
1131
|
}),
|
|
1132
1132
|
" ",
|
|
@@ -1138,14 +1138,14 @@ var Ye = () => {
|
|
|
1138
1138
|
})
|
|
1139
1139
|
})] }),
|
|
1140
1140
|
E === "PLAN" && H?.getPlan?.pricingModel === "PER_SEAT" && /* @__PURE__ */ f("div", {
|
|
1141
|
-
className: "border-t border-border pt-4",
|
|
1141
|
+
className: "border-t border-border-subtle pt-4",
|
|
1142
1142
|
children: /* @__PURE__ */ p("div", {
|
|
1143
1143
|
className: "space-y-3",
|
|
1144
1144
|
children: [/* @__PURE__ */ p("div", { children: [/* @__PURE__ */ f("label", {
|
|
1145
|
-
className: "text-sm font-medium text-
|
|
1145
|
+
className: "text-sm font-medium text-text-primary",
|
|
1146
1146
|
children: "Number of seats"
|
|
1147
1147
|
}), H.getPlan.minSeats && /* @__PURE__ */ p("p", {
|
|
1148
|
-
className: "text-xs text-
|
|
1148
|
+
className: "text-xs text-text-secondary mt-0.5",
|
|
1149
1149
|
children: [
|
|
1150
1150
|
"Minimum ",
|
|
1151
1151
|
H.getPlan.minSeats,
|
|
@@ -1160,7 +1160,7 @@ var Ye = () => {
|
|
|
1160
1160
|
type: "button",
|
|
1161
1161
|
onClick: () => R((e) => Math.max(H.getPlan?.minSeats ?? 1, e - 1)),
|
|
1162
1162
|
disabled: L <= (H.getPlan.minSeats ?? 1),
|
|
1163
|
-
className: "size-9 rounded-
|
|
1163
|
+
className: "size-9 rounded-button border border-border-subtle flex items-center justify-center hover:bg-action-ghost-bgHover disabled:opacity-40 disabled:cursor-not-allowed transition-colors text-text-primary",
|
|
1164
1164
|
children: "−"
|
|
1165
1165
|
}),
|
|
1166
1166
|
/* @__PURE__ */ f("input", {
|
|
@@ -1172,17 +1172,17 @@ var Ye = () => {
|
|
|
1172
1172
|
let t = parseInt(e.target.value, 10);
|
|
1173
1173
|
isNaN(t) || R(Math.max(H.getPlan?.minSeats ?? 1, t));
|
|
1174
1174
|
},
|
|
1175
|
-
className: "w-20 h-9 text-center border border-border rounded-
|
|
1175
|
+
className: "w-20 h-9 text-center border border-border-subtle rounded-button bg-bg-surface text-text-primary text-sm focus:outline-none focus:ring-2 focus:ring-[var(--color-focus-ring)]"
|
|
1176
1176
|
}),
|
|
1177
1177
|
/* @__PURE__ */ f("button", {
|
|
1178
1178
|
type: "button",
|
|
1179
1179
|
onClick: () => R((e) => Math.min(H.getPlan?.maxSeats ?? 999, e + 1)),
|
|
1180
1180
|
disabled: L >= (H.getPlan.maxSeats ?? 999),
|
|
1181
|
-
className: "size-9 rounded-
|
|
1181
|
+
className: "size-9 rounded-button border border-border-subtle flex items-center justify-center hover:bg-action-ghost-bgHover disabled:opacity-40 disabled:cursor-not-allowed transition-colors text-text-primary",
|
|
1182
1182
|
children: "+"
|
|
1183
1183
|
}),
|
|
1184
1184
|
H.getPlan.pricePerSeat && /* @__PURE__ */ p("span", {
|
|
1185
|
-
className: "text-sm text-
|
|
1185
|
+
className: "text-sm text-text-secondary",
|
|
1186
1186
|
children: [
|
|
1187
1187
|
"×",
|
|
1188
1188
|
" ",
|
|
@@ -1213,7 +1213,7 @@ var Ye = () => {
|
|
|
1213
1213
|
className: "lg:sticky lg:top-6 space-y-4",
|
|
1214
1214
|
children: [
|
|
1215
1215
|
/* @__PURE__ */ p("div", {
|
|
1216
|
-
className: "rounded-lg border border-border bg-
|
|
1216
|
+
className: "rounded-lg border border-border-subtle bg-bg-surface",
|
|
1217
1217
|
children: [
|
|
1218
1218
|
/* @__PURE__ */ f("div", {
|
|
1219
1219
|
className: "p-4",
|
|
@@ -1234,7 +1234,7 @@ var Ye = () => {
|
|
|
1234
1234
|
})
|
|
1235
1235
|
}),
|
|
1236
1236
|
/* @__PURE__ */ f("div", {
|
|
1237
|
-
className: "px-4 pb-4 border-t border-border pt-4",
|
|
1237
|
+
className: "px-4 pb-4 border-t border-border-subtle pt-4",
|
|
1238
1238
|
children: /* @__PURE__ */ f(_e, {
|
|
1239
1239
|
value: z.promoCode,
|
|
1240
1240
|
onChange: z.setPromoCode,
|
|
@@ -1271,11 +1271,11 @@ var Ye = () => {
|
|
|
1271
1271
|
type: "button",
|
|
1272
1272
|
onClick: Lt,
|
|
1273
1273
|
disabled: z.isProcessing || !z.billingAccount || z.items.length === 0 || E === "ADDON" && !T && kt || E === "ADDON" && !T && G.length === 0 || E === "ADDON" && !T && !z.selectedSubscriptionId,
|
|
1274
|
-
className: "w-full px-6 py-4 rounded-lg bg-primary text-primary-
|
|
1274
|
+
className: "w-full px-6 py-4 rounded-lg bg-action-primary-bg text-action-primary-text font-semibold\n hover:bg-action-primary-bgHover disabled:opacity-50 disabled:cursor-not-allowed\n transition-colors flex items-center justify-center gap-2",
|
|
1275
1275
|
children: z.isProcessing ? /* @__PURE__ */ p(d, { children: [/* @__PURE__ */ f(Le, { className: "size-5 animate-spin" }), "Processing…"] }) : z.selectedProvider === "CREDITS" ? "Pay with Credits" : "Proceed to Payment"
|
|
1276
1276
|
}),
|
|
1277
1277
|
/* @__PURE__ */ f("p", {
|
|
1278
|
-
className: "text-center text-xs text-
|
|
1278
|
+
className: "text-center text-xs text-text-secondary",
|
|
1279
1279
|
children: "🔒 Secure checkout with 256-bit SSL encryption"
|
|
1280
1280
|
})
|
|
1281
1281
|
]
|