@cedros/pay-react 1.1.24 → 1.1.26

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.
Files changed (174) hide show
  1. package/dist/{AISettingsSection-Dw0ZlxMf.mjs → AISettingsSection-BlIv3CzS.mjs} +2 -2
  2. package/dist/{AISettingsSection-IXS1Wt_1.js → AISettingsSection-DELur7D2.js} +1 -1
  3. package/dist/{AutosaveIndicator-BJsg_kFZ.mjs → AutosaveIndicator-Bed0-ekg.mjs} +1 -1
  4. package/dist/{AutosaveIndicator-CY_YHM1D.js → AutosaveIndicator-Dn_qA2hK.js} +1 -1
  5. package/dist/CedrosContext-C2RjHLaQ.js +6 -0
  6. package/dist/{CedrosContext-DQUbL8yP.mjs → CedrosContext-CY6zvjvJ.mjs} +768 -617
  7. package/dist/ChatLogsSection-BH5tLA4T.js +1 -0
  8. package/dist/ChatLogsSection-v4zwzCTC.mjs +201 -0
  9. package/dist/ComplianceSection-CemgfDrL.mjs +650 -0
  10. package/dist/ComplianceSection-DP2a9-S0.js +1 -0
  11. package/dist/{CryptoButton-D1BCZBk4.mjs → CryptoButton-BV9owVe2.mjs} +2 -2
  12. package/dist/{CryptoButton-C1AAOOfj.js → CryptoButton-DpiCnyXE.js} +1 -1
  13. package/dist/CustomersSection-CBwy_waO.js +1 -0
  14. package/dist/CustomersSection-D_j7OrfS.mjs +207 -0
  15. package/dist/DisputesSection-BLjIk60n.js +1 -0
  16. package/dist/DisputesSection-BcAbXp3K.mjs +230 -0
  17. package/dist/{FAQSection-C78MnK4k.mjs → FAQSection-Dn38OhB_.mjs} +1 -1
  18. package/dist/{FAQSection-BmgmzDN5.js → FAQSection-wNeH0i6Q.js} +1 -1
  19. package/dist/ImagesSection-0ZzKlzMJ.js +1 -0
  20. package/dist/ImagesSection-Ctw9Icym.mjs +216 -0
  21. package/dist/InventorySection-DmhjUlRZ.mjs +150 -0
  22. package/dist/InventorySection-zV6lTmue.js +1 -0
  23. package/dist/{MessagingSection-De3t8bSI.mjs → MessagingSection-B1FaGxkp.mjs} +2 -2
  24. package/dist/{MessagingSection-CWLZcg11.js → MessagingSection-B_wdFR0j.js} +1 -1
  25. package/dist/{OrdersSection-_xKVzjSZ.mjs → OrdersSection-Bj8bPdg8.mjs} +6 -6
  26. package/dist/{OrdersSection-BKOxsZw0.js → OrdersSection-Dw2FX-1d.js} +1 -1
  27. package/dist/{PaymentSettingsSection-BTEn9Dxb.js → PaymentSettingsSection-BYF4D-GR.js} +1 -1
  28. package/dist/{PaymentSettingsSection-KjU_dN_d.mjs → PaymentSettingsSection-EnMxeWjv.mjs} +1 -1
  29. package/dist/ReturnsSection-BC0L8r2e.mjs +267 -0
  30. package/dist/ReturnsSection-D_pJVxuG.js +1 -0
  31. package/dist/{SettingsSection-8QHZB59k.mjs → SettingsSection-KYdEizq_.mjs} +19 -13
  32. package/dist/SettingsSection-vdYFSNxB.js +1 -0
  33. package/dist/ShippingSection-1DRSTu49.js +1 -0
  34. package/dist/ShippingSection-BOgto6_9.mjs +434 -0
  35. package/dist/{SingleCategorySettings-CRXTMTo5.js → SingleCategorySettings-DwCnBdRf.js} +1 -1
  36. package/dist/{SingleCategorySettings--LK0TZW0.mjs → SingleCategorySettings-suJ8z9d8.mjs} +4 -4
  37. package/dist/{StorefrontSection-CeCpr8hn.mjs → StorefrontSection-BRvIGBEJ.mjs} +2 -2
  38. package/dist/{StorefrontSection-C9DzCmOf.js → StorefrontSection-RumGkb3C.js} +1 -1
  39. package/dist/{SubscriptionsSection-Dn5SY6S_.js → SubscriptionsSection-C2aLLn7L.js} +1 -1
  40. package/dist/{SubscriptionsSection-C2xk8ApF.mjs → SubscriptionsSection-D60qrX9a.mjs} +7 -7
  41. package/dist/TaxSection-C7-pv-Rl.mjs +294 -0
  42. package/dist/TaxSection-Dt1DnM51.js +1 -0
  43. package/dist/Token22Section-CrHLQ0EB.mjs +2260 -0
  44. package/dist/Token22Section-DY3mUwTY.js +1 -0
  45. package/dist/{WalletManager-Bwk3rgr1.js → WalletManager-B3UdQ5pQ.js} +1 -1
  46. package/dist/{WalletManager-CXvQ0Zu9.mjs → WalletManager-BIwH8Dw_.mjs} +1 -1
  47. package/dist/WebhooksSection-CKeiJ7Py.js +1 -0
  48. package/dist/WebhooksSection-COPW4Ec0.mjs +223 -0
  49. package/dist/{configApi-Ch0Rr7TD.mjs → configApi-6XhAJGKX.mjs} +31 -0
  50. package/dist/{configApi-CxEbCAgG.js → configApi-DkduMQg1.js} +1 -1
  51. package/dist/crypto-only.js +1 -1
  52. package/dist/crypto-only.mjs +85 -83
  53. package/dist/index-C0g-JxJk.js +84 -0
  54. package/dist/{index-BHF82XBB.mjs → index-DXnuQp5x.mjs} +8643 -7678
  55. package/dist/index.js +1 -1
  56. package/dist/index.mjs +42 -40
  57. package/dist/{sections-C1rb9YRh.mjs → sections-C1NpK7hk.mjs} +2 -2
  58. package/dist/{sections-8e5Y3ukY.js → sections-DVVSZBhW.js} +1 -1
  59. package/dist/src/admin/plugin.d.ts.map +1 -1
  60. package/dist/src/components/ComplianceGatePage.d.ts +40 -0
  61. package/dist/src/components/ComplianceGatePage.d.ts.map +1 -0
  62. package/dist/src/components/SubscribeButton.d.ts +1 -5
  63. package/dist/src/components/SubscribeButton.d.ts.map +1 -1
  64. package/dist/src/components/admin/AdminAuthManager.d.ts +7 -3
  65. package/dist/src/components/admin/AdminAuthManager.d.ts.map +1 -1
  66. package/dist/src/components/admin/AssetClassesTab.d.ts.map +1 -1
  67. package/dist/src/components/admin/CedrosPayAdminDashboard.d.ts +1 -1
  68. package/dist/src/components/admin/CedrosPayAdminDashboard.d.ts.map +1 -1
  69. package/dist/src/components/admin/ChatLogsSection.d.ts +3 -0
  70. package/dist/src/components/admin/ChatLogsSection.d.ts.map +1 -0
  71. package/dist/src/components/admin/ComplianceKycTab.d.ts +3 -0
  72. package/dist/src/components/admin/ComplianceKycTab.d.ts.map +1 -0
  73. package/dist/src/components/admin/ComplianceRequirementsEditor.d.ts +8 -0
  74. package/dist/src/components/admin/ComplianceRequirementsEditor.d.ts.map +1 -0
  75. package/dist/src/components/admin/ComplianceSanctionsApi.d.ts +3 -0
  76. package/dist/src/components/admin/ComplianceSanctionsApi.d.ts.map +1 -0
  77. package/dist/src/components/admin/ComplianceSection.d.ts +3 -0
  78. package/dist/src/components/admin/ComplianceSection.d.ts.map +1 -0
  79. package/dist/src/components/admin/CustomersSection.d.ts +3 -0
  80. package/dist/src/components/admin/CustomersSection.d.ts.map +1 -0
  81. package/dist/src/components/admin/DisputesSection.d.ts +3 -0
  82. package/dist/src/components/admin/DisputesSection.d.ts.map +1 -0
  83. package/dist/src/components/admin/GiftCardAnalytics.d.ts +3 -0
  84. package/dist/src/components/admin/GiftCardAnalytics.d.ts.map +1 -0
  85. package/dist/src/components/admin/GiftCardManager.d.ts +3 -0
  86. package/dist/src/components/admin/GiftCardManager.d.ts.map +1 -0
  87. package/dist/src/components/admin/ImagesSection.d.ts +3 -0
  88. package/dist/src/components/admin/ImagesSection.d.ts.map +1 -0
  89. package/dist/src/components/admin/InventorySection.d.ts +3 -0
  90. package/dist/src/components/admin/InventorySection.d.ts.map +1 -0
  91. package/dist/src/components/admin/LiquidityPoolTab.d.ts.map +1 -1
  92. package/dist/src/components/admin/NftMetadataPreview.d.ts +20 -0
  93. package/dist/src/components/admin/NftMetadataPreview.d.ts.map +1 -0
  94. package/dist/src/components/admin/PoolManagementView.d.ts +14 -0
  95. package/dist/src/components/admin/PoolManagementView.d.ts.map +1 -0
  96. package/dist/src/components/admin/ProductsSection.d.ts.map +1 -1
  97. package/dist/src/components/admin/RefundsSection.d.ts.map +1 -1
  98. package/dist/src/components/admin/ReturnsSection.d.ts +3 -0
  99. package/dist/src/components/admin/ReturnsSection.d.ts.map +1 -0
  100. package/dist/src/components/admin/SettingsSection.d.ts.map +1 -1
  101. package/dist/src/components/admin/ShippingSection.d.ts +3 -0
  102. package/dist/src/components/admin/ShippingSection.d.ts.map +1 -0
  103. package/dist/src/components/admin/TaxSection.d.ts +3 -0
  104. package/dist/src/components/admin/TaxSection.d.ts.map +1 -0
  105. package/dist/src/components/admin/Token22Section.d.ts.map +1 -1
  106. package/dist/src/components/admin/WebhooksSection.d.ts +3 -0
  107. package/dist/src/components/admin/WebhooksSection.d.ts.map +1 -0
  108. package/dist/src/components/admin/complianceTypes.d.ts +74 -0
  109. package/dist/src/components/admin/complianceTypes.d.ts.map +1 -0
  110. package/dist/src/components/admin/configApi.d.ts.map +1 -1
  111. package/dist/src/components/admin/icons.d.ts +1 -0
  112. package/dist/src/components/admin/icons.d.ts.map +1 -1
  113. package/dist/src/components/admin/useAdminAuth.d.ts +1 -1
  114. package/dist/src/components/admin/useAdminAuth.d.ts.map +1 -1
  115. package/dist/src/context/CedrosContext.d.ts.map +1 -1
  116. package/dist/src/ecommerce/adapters/CommerceAdapter.d.ts +36 -0
  117. package/dist/src/ecommerce/adapters/CommerceAdapter.d.ts.map +1 -1
  118. package/dist/src/ecommerce/adapters/paywall/paywallAdapter.d.ts.map +1 -1
  119. package/dist/src/ecommerce/components/catalog/TokenDisplay.d.ts +36 -0
  120. package/dist/src/ecommerce/components/catalog/TokenDisplay.d.ts.map +1 -0
  121. package/dist/src/ecommerce/components/chat/ShopChatPanel.d.ts +8 -5
  122. package/dist/src/ecommerce/components/chat/ShopChatPanel.d.ts.map +1 -1
  123. package/dist/src/ecommerce/components/checkout/CheckoutForm.d.ts.map +1 -1
  124. package/dist/src/ecommerce/components/checkout/SendAsGiftSection.d.ts +15 -0
  125. package/dist/src/ecommerce/components/checkout/SendAsGiftSection.d.ts.map +1 -0
  126. package/dist/src/ecommerce/components/gift-cards/GiftCardBalanceChecker.d.ts +19 -0
  127. package/dist/src/ecommerce/components/gift-cards/GiftCardBalanceChecker.d.ts.map +1 -0
  128. package/dist/src/ecommerce/components/orders/MyRedemptionsPage.d.ts +13 -0
  129. package/dist/src/ecommerce/components/orders/MyRedemptionsPage.d.ts.map +1 -0
  130. package/dist/src/ecommerce/components/orders/MyTokensPage.d.ts +15 -0
  131. package/dist/src/ecommerce/components/orders/MyTokensPage.d.ts.map +1 -0
  132. package/dist/src/ecommerce/components/orders/OrderDetails.d.ts.map +1 -1
  133. package/dist/src/ecommerce/hooks/useCartInventory.d.ts.map +1 -1
  134. package/dist/src/ecommerce/index.d.ts +12 -2
  135. package/dist/src/ecommerce/index.d.ts.map +1 -1
  136. package/dist/src/ecommerce/state/checkout/checkoutSchema.d.ts +3 -0
  137. package/dist/src/ecommerce/state/checkout/checkoutSchema.d.ts.map +1 -1
  138. package/dist/src/ecommerce/state/checkout/useCheckout.d.ts.map +1 -1
  139. package/dist/src/ecommerce/types.d.ts +6 -0
  140. package/dist/src/ecommerce/types.d.ts.map +1 -1
  141. package/dist/src/ecommerce/utils/cartItemMetadata.d.ts.map +1 -1
  142. package/dist/src/hooks/useComplianceCheck.d.ts +30 -0
  143. package/dist/src/hooks/useComplianceCheck.d.ts.map +1 -0
  144. package/dist/src/hooks/useSubscriptionManagement.d.ts.map +1 -1
  145. package/dist/src/index.d.ts +4 -0
  146. package/dist/src/index.d.ts.map +1 -1
  147. package/dist/src/managers/CreditsManager.d.ts.map +1 -1
  148. package/dist/src/managers/ManagerCache.d.ts +2 -2
  149. package/dist/src/managers/ManagerCache.d.ts.map +1 -1
  150. package/dist/src/managers/StripeManager.d.ts +7 -1
  151. package/dist/src/managers/StripeManager.d.ts.map +1 -1
  152. package/dist/src/managers/SubscriptionChangeManager.d.ts.map +1 -1
  153. package/dist/src/managers/SubscriptionManager.d.ts.map +1 -1
  154. package/dist/src/types/index.d.ts +14 -0
  155. package/dist/src/types/index.d.ts.map +1 -1
  156. package/dist/src/types/subscription.d.ts +21 -33
  157. package/dist/src/types/subscription.d.ts.map +1 -1
  158. package/dist/src/utils/exponentialBackoff.d.ts +22 -0
  159. package/dist/src/utils/exponentialBackoff.d.ts.map +1 -1
  160. package/dist/stripe-only.js +1 -1
  161. package/dist/stripe-only.mjs +2 -2
  162. package/dist/styles-BT4bhFey.js +1 -0
  163. package/dist/{styles-Ag-7ZvAB.mjs → styles-D4SQkuV3.mjs} +606 -609
  164. package/dist/testing/index.js +1 -1
  165. package/dist/testing/index.mjs +1 -1
  166. package/dist/{walletPool-C_0P4mTw.mjs → walletPool-DE-t1wSW.mjs} +1 -1
  167. package/dist/{walletPool-Ddv33tej.js → walletPool-IS7R3MR1.js} +1 -1
  168. package/package.json +1 -1
  169. package/dist/CedrosContext-7dwmEeUY.js +0 -6
  170. package/dist/SettingsSection-cKF0tLnS.js +0 -1
  171. package/dist/Token22Section-DUUl59dZ.js +0 -1
  172. package/dist/Token22Section-HygkDNtL.mjs +0 -1685
  173. package/dist/index-OaWkrl0G.js +0 -84
  174. package/dist/styles-21F1-oqx.js +0 -1
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./styles-21F1-oqx.js"),r=require("./index-OaWkrl0G.js"),t=require("./CedrosContext-7dwmEeUY.js");exports.CEDROS_EVENTS=e.CEDROS_EVENTS;exports.CSP_PRESETS=e.CSP_PRESETS;exports.CedrosPay=e.CedrosPay;exports.CreditsButton=e.CreditsButton;exports.CreditsSubscribeButton=e.CreditsSubscribeButton;exports.PaymentMethodBadge=e.PaymentMethodBadge;exports.PaymentModal=e.PaymentModal;exports.ProductPrice=e.ProductPrice;exports.PurchaseButton=e.PurchaseButton;exports.RPC_PROVIDERS=e.RPC_PROVIDERS;exports.SECURITY_RECOMMENDATIONS=e.SECURITY_RECOMMENDATIONS;exports.StripeButton=e.StripeButton;exports.SubscribeButton=e.SubscribeButton;exports.SubscriptionManagementPanel=e.SubscriptionManagementPanel;exports.calculateDiscountPercentage=e.calculateDiscountPercentage;exports.createTranslator=e.createTranslator;exports.detectLocale=e.detectLocale;exports.emitPaymentError=e.emitPaymentError;exports.emitPaymentProcessing=e.emitPaymentProcessing;exports.emitPaymentStart=e.emitPaymentStart;exports.emitPaymentSuccess=e.emitPaymentSuccess;exports.emitWalletConnect=e.emitWalletConnect;exports.emitWalletConnected=e.emitWalletConnected;exports.emitWalletError=e.emitWalletError;exports.formatCSP=e.formatCSP;exports.formatCouponCodes=e.formatCouponCodes;exports.generateCSP=e.generateCSP;exports.generateCSPDirectives=e.generateCSPDirectives;exports.getAvailableLocales=e.getAvailableLocales;exports.getLocalizedError=e.getLocalizedError;exports.getUserErrorMessage=e.getUserErrorMessage;exports.isRetryableError=e.isRetryableError;exports.loadLocale=e.loadLocale;exports.logSecurityReport=e.logSecurityReport;exports.parseCouponCodes=e.parseCouponCodes;exports.stackCheckoutCoupons=e.stackCheckoutCoupons;exports.useCreditsPayment=e.useCreditsPayment;exports.useCreditsSubscription=e.useCreditsSubscription;exports.useLocalizedError=e.useLocalizedError;exports.usePaymentMode=e.usePaymentMode;exports.useStripeCheckout=e.useStripeCheckout;exports.useSubscription=e.useSubscription;exports.useSubscriptionManagement=e.useSubscriptionManagement;exports.useTranslation=e.useTranslation;exports.validateSecurity=e.validateSecurity;exports.CEDROS_PAY_GROUPS=r.CEDROS_PAY_GROUPS;exports.CEDROS_PAY_SECTIONS=r.CEDROS_PAY_SECTIONS;exports.CEDROS_PAY_SECTION_IDS=r.CEDROS_PAY_SECTION_IDS;exports.CedrosPayAdminDashboard=r.CedrosPayAdminDashboard;exports.CreditsBalance=r.CreditsBalance;exports.cedrosPayPlugin=r.cedrosPayPlugin;exports.ecommerce=r.index;exports.useCreditsBalance=r.useCreditsBalance;exports.CIRCUIT_BREAKER_PRESETS=t.CIRCUIT_BREAKER_PRESETS;exports.CedrosProvider=t.CedrosProvider;exports.CircuitBreakerOpenError=t.CircuitBreakerOpenError;exports.CircuitState=t.CircuitState;exports.ERROR_CATEGORIES=t.ERROR_CATEGORIES;exports.LogLevel=t.LogLevel;exports.Logger=t.Logger;exports.RATE_LIMITER_PRESETS=t.RATE_LIMITER_PRESETS;exports.RETRY_PRESETS=t.RETRY_PRESETS;exports.createCircuitBreaker=t.createCircuitBreaker;exports.createLogger=t.createLogger;exports.createRateLimiter=t.createRateLimiter;exports.getLogger=t.getLogger;exports.retryWithBackoff=t.retryWithBackoff;exports.useCedrosContext=t.useCedrosContext;exports.useCedrosTheme=t.useCedrosTheme;exports.validateConfig=t.validateConfig;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./styles-BT4bhFey.js"),r=require("./index-C0g-JxJk.js"),t=require("./CedrosContext-C2RjHLaQ.js");exports.CEDROS_EVENTS=e.CEDROS_EVENTS;exports.CSP_PRESETS=e.CSP_PRESETS;exports.CedrosPay=e.CedrosPay;exports.CreditsButton=e.CreditsButton;exports.CreditsSubscribeButton=e.CreditsSubscribeButton;exports.PaymentMethodBadge=e.PaymentMethodBadge;exports.PaymentModal=e.PaymentModal;exports.ProductPrice=e.ProductPrice;exports.PurchaseButton=e.PurchaseButton;exports.RPC_PROVIDERS=e.RPC_PROVIDERS;exports.SECURITY_RECOMMENDATIONS=e.SECURITY_RECOMMENDATIONS;exports.StripeButton=e.StripeButton;exports.SubscribeButton=e.SubscribeButton;exports.SubscriptionManagementPanel=e.SubscriptionManagementPanel;exports.calculateDiscountPercentage=e.calculateDiscountPercentage;exports.createTranslator=e.createTranslator;exports.detectLocale=e.detectLocale;exports.emitPaymentError=e.emitPaymentError;exports.emitPaymentProcessing=e.emitPaymentProcessing;exports.emitPaymentStart=e.emitPaymentStart;exports.emitPaymentSuccess=e.emitPaymentSuccess;exports.emitWalletConnect=e.emitWalletConnect;exports.emitWalletConnected=e.emitWalletConnected;exports.emitWalletError=e.emitWalletError;exports.formatCSP=e.formatCSP;exports.formatCouponCodes=e.formatCouponCodes;exports.generateCSP=e.generateCSP;exports.generateCSPDirectives=e.generateCSPDirectives;exports.getAvailableLocales=e.getAvailableLocales;exports.getLocalizedError=e.getLocalizedError;exports.getUserErrorMessage=e.getUserErrorMessage;exports.isRetryableError=e.isRetryableError;exports.loadLocale=e.loadLocale;exports.logSecurityReport=e.logSecurityReport;exports.parseCouponCodes=e.parseCouponCodes;exports.stackCheckoutCoupons=e.stackCheckoutCoupons;exports.useCreditsPayment=e.useCreditsPayment;exports.useCreditsSubscription=e.useCreditsSubscription;exports.useLocalizedError=e.useLocalizedError;exports.usePaymentMode=e.usePaymentMode;exports.useStripeCheckout=e.useStripeCheckout;exports.useSubscription=e.useSubscription;exports.useSubscriptionManagement=e.useSubscriptionManagement;exports.useTranslation=e.useTranslation;exports.validateSecurity=e.validateSecurity;exports.CEDROS_PAY_GROUPS=r.CEDROS_PAY_GROUPS;exports.CEDROS_PAY_SECTIONS=r.CEDROS_PAY_SECTIONS;exports.CEDROS_PAY_SECTION_IDS=r.CEDROS_PAY_SECTION_IDS;exports.CedrosPayAdminDashboard=r.CedrosPayAdminDashboard;exports.ComplianceGatePage=r.ComplianceGatePage;exports.CreditsBalance=r.CreditsBalance;exports.cedrosPayPlugin=r.cedrosPayPlugin;exports.ecommerce=r.index;exports.useComplianceCheck=r.useComplianceCheck;exports.useCreditsBalance=r.useCreditsBalance;exports.CIRCUIT_BREAKER_PRESETS=t.CIRCUIT_BREAKER_PRESETS;exports.CedrosProvider=t.CedrosProvider;exports.CircuitBreakerOpenError=t.CircuitBreakerOpenError;exports.CircuitState=t.CircuitState;exports.ERROR_CATEGORIES=t.ERROR_CATEGORIES;exports.LogLevel=t.LogLevel;exports.Logger=t.Logger;exports.RATE_LIMITER_PRESETS=t.RATE_LIMITER_PRESETS;exports.RETRY_PRESETS=t.RETRY_PRESETS;exports.createCircuitBreaker=t.createCircuitBreaker;exports.createLogger=t.createLogger;exports.createRateLimiter=t.createRateLimiter;exports.getLogger=t.getLogger;exports.retryWithBackoff=t.retryWithBackoff;exports.useCedrosContext=t.useCedrosContext;exports.useCedrosTheme=t.useCedrosTheme;exports.validateConfig=t.validateConfig;
package/dist/index.mjs CHANGED
@@ -1,75 +1,77 @@
1
- import { C as s, a as t, b as r, c as o, d as i, P as c, e as n, f as C, g as u, R as S, S as E, h as P, i as d, j as R, k as l, l as m, m as g, n as T, o as _, p, q as y, r as b, s as L, t as O, u as B, v as I, w as D, x as f, y as A, z as M, A as h, B as v, D as k, E as N, F as x, G as Y, H as U, I as W, J as z, K as G, L as j, M as K, N as V, O as q, Q as w } from "./styles-Ag-7ZvAB.mjs";
2
- import { C as H, a as J, b as Q, c as X, d as Z, e as $, i as aa, u as ea } from "./index-BHF82XBB.mjs";
3
- import { C as ta, a as ra, b as oa, c as ia, E as ca, L as na, d as Ca, R as ua, e as Sa, f as Ea, g as Pa, h as da, i as Ra, r as la, u as ma, j as ga, v as Ta } from "./CedrosContext-DQUbL8yP.mjs";
1
+ import { C as s, a as t, b as r, c as o, d as i, P as c, e as n, f as C, g as u, R as S, S as E, h as P, i as d, j as l, k as m, l as R, m as g, n as p, o as T, p as _, q as y, r as b, s as L, t as O, u as B, v as I, w as f, x as D, y as h, z as A, A as M, B as k, D as v, E as N, F as x, G as Y, H as G, I as U, J as W, K as z, L as j, M as K, N as V, O as q, Q as w } from "./styles-D4SQkuV3.mjs";
2
+ import { C as H, a as J, b as Q, c as X, d as Z, e as $, f as aa, i as ea, u as sa, g as ta } from "./index-DXnuQp5x.mjs";
3
+ import { C as oa, a as ia, b as ca, c as na, E as Ca, L as ua, d as Sa, R as Ea, e as Pa, f as da, g as la, h as ma, i as Ra, r as ga, u as pa, j as Ta, v as _a } from "./CedrosContext-CY6zvjvJ.mjs";
4
4
  export {
5
5
  s as CEDROS_EVENTS,
6
6
  H as CEDROS_PAY_GROUPS,
7
7
  J as CEDROS_PAY_SECTIONS,
8
8
  Q as CEDROS_PAY_SECTION_IDS,
9
- ta as CIRCUIT_BREAKER_PRESETS,
9
+ oa as CIRCUIT_BREAKER_PRESETS,
10
10
  t as CSP_PRESETS,
11
11
  r as CedrosPay,
12
12
  X as CedrosPayAdminDashboard,
13
- ra as CedrosProvider,
14
- oa as CircuitBreakerOpenError,
15
- ia as CircuitState,
16
- Z as CreditsBalance,
13
+ ia as CedrosProvider,
14
+ ca as CircuitBreakerOpenError,
15
+ na as CircuitState,
16
+ Z as ComplianceGatePage,
17
+ $ as CreditsBalance,
17
18
  o as CreditsButton,
18
19
  i as CreditsSubscribeButton,
19
- ca as ERROR_CATEGORIES,
20
- na as LogLevel,
21
- Ca as Logger,
20
+ Ca as ERROR_CATEGORIES,
21
+ ua as LogLevel,
22
+ Sa as Logger,
22
23
  c as PaymentMethodBadge,
23
24
  n as PaymentModal,
24
25
  C as ProductPrice,
25
26
  u as PurchaseButton,
26
- ua as RATE_LIMITER_PRESETS,
27
- Sa as RETRY_PRESETS,
27
+ Ea as RATE_LIMITER_PRESETS,
28
+ Pa as RETRY_PRESETS,
28
29
  S as RPC_PROVIDERS,
29
30
  E as SECURITY_RECOMMENDATIONS,
30
31
  P as StripeButton,
31
32
  d as SubscribeButton,
32
- R as SubscriptionManagementPanel,
33
- l as calculateDiscountPercentage,
34
- $ as cedrosPayPlugin,
35
- Ea as createCircuitBreaker,
36
- Pa as createLogger,
37
- da as createRateLimiter,
38
- m as createTranslator,
33
+ l as SubscriptionManagementPanel,
34
+ m as calculateDiscountPercentage,
35
+ aa as cedrosPayPlugin,
36
+ da as createCircuitBreaker,
37
+ la as createLogger,
38
+ ma as createRateLimiter,
39
+ R as createTranslator,
39
40
  g as detectLocale,
40
- aa as ecommerce,
41
- T as emitPaymentError,
42
- _ as emitPaymentProcessing,
43
- p as emitPaymentStart,
41
+ ea as ecommerce,
42
+ p as emitPaymentError,
43
+ T as emitPaymentProcessing,
44
+ _ as emitPaymentStart,
44
45
  y as emitPaymentSuccess,
45
46
  b as emitWalletConnect,
46
47
  L as emitWalletConnected,
47
48
  O as emitWalletError,
48
49
  B as formatCSP,
49
50
  I as formatCouponCodes,
50
- D as generateCSP,
51
- f as generateCSPDirectives,
52
- A as getAvailableLocales,
53
- M as getLocalizedError,
51
+ f as generateCSP,
52
+ D as generateCSPDirectives,
53
+ h as getAvailableLocales,
54
+ A as getLocalizedError,
54
55
  Ra as getLogger,
55
- h as getUserErrorMessage,
56
- v as isRetryableError,
57
- k as loadLocale,
56
+ M as getUserErrorMessage,
57
+ k as isRetryableError,
58
+ v as loadLocale,
58
59
  N as logSecurityReport,
59
60
  x as parseCouponCodes,
60
- la as retryWithBackoff,
61
+ ga as retryWithBackoff,
61
62
  Y as stackCheckoutCoupons,
62
- ma as useCedrosContext,
63
- ga as useCedrosTheme,
64
- ea as useCreditsBalance,
65
- U as useCreditsPayment,
66
- W as useCreditsSubscription,
67
- z as useLocalizedError,
68
- G as usePaymentMode,
63
+ pa as useCedrosContext,
64
+ Ta as useCedrosTheme,
65
+ sa as useComplianceCheck,
66
+ ta as useCreditsBalance,
67
+ G as useCreditsPayment,
68
+ U as useCreditsSubscription,
69
+ W as useLocalizedError,
70
+ z as usePaymentMode,
69
71
  j as useStripeCheckout,
70
72
  K as useSubscription,
71
73
  V as useSubscriptionManagement,
72
74
  q as useTranslation,
73
- Ta as validateConfig,
75
+ _a as validateConfig,
74
76
  w as validateSecurity
75
77
  };
@@ -1,5 +1,5 @@
1
- import { R as t, f as s, T as n, P as e } from "./index-BHF82XBB.mjs";
2
- import { S as c } from "./index-BHF82XBB.mjs";
1
+ import { R as t, h as s, T as n, P as e } from "./index-DXnuQp5x.mjs";
2
+ import { S as c } from "./index-DXnuQp5x.mjs";
3
3
  export {
4
4
  s as CouponsSection,
5
5
  e as ProductsSection,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-OaWkrl0G.js");exports.CouponsSection=t.CouponsSection;exports.ProductsSection=t.ProductsSection;exports.RefundsSection=t.RefundsSection;exports.SettingsSection=t.SettingsSection;exports.TransactionsSection=t.TransactionsSection;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-C0g-JxJk.js");exports.CouponsSection=t.CouponsSection;exports.ProductsSection=t.ProductsSection;exports.RefundsSection=t.RefundsSection;exports.SettingsSection=t.SettingsSection;exports.TransactionsSection=t.TransactionsSection;
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/admin/plugin.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAiD,MAAM,SAAS,CAAC;AAyC1F;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,WAyE7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/admin/plugin.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,WAAW,EAAiD,MAAM,SAAS,CAAC;AA4C1F;;;;GAIG;AACH,eAAO,MAAM,eAAe,EAAE,WA0E7B,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -0,0 +1,40 @@
1
+ /**
2
+ * Props for the ComplianceGatePage component.
3
+ *
4
+ * @example
5
+ * ```tsx
6
+ * <ComplianceGatePage
7
+ * resources={['product-1']}
8
+ * onCleared={() => stripeManager.processPayment(...)}
9
+ * onCancel={() => navigate('/shop')}
10
+ * />
11
+ * ```
12
+ */
13
+ export interface ComplianceGatePageProps {
14
+ /** Product/resource IDs to check compliance for */
15
+ resources: string[];
16
+ /** Called automatically when compliance passes */
17
+ onCleared: () => void;
18
+ /** Called when compliance is blocked, with the list of reasons */
19
+ onBlocked?: (reasons: string[]) => void;
20
+ /** Called when the user clicks "Go back" */
21
+ onCancel?: () => void;
22
+ /** Optional auth token (cedros-login JWT) for authenticated checks */
23
+ authToken?: string;
24
+ /** Optional Solana wallet address for token-gate checks */
25
+ wallet?: string;
26
+ /** Custom content shown while checking */
27
+ children?: React.ReactNode;
28
+ }
29
+ /**
30
+ * Pre-checkout compliance gate page.
31
+ *
32
+ * Renders three states:
33
+ * - **Checking:** spinner + "Verifying purchase eligibility..."
34
+ * - **Cleared:** auto-fires `onCleared()` callback
35
+ * - **Blocked:** card showing reasons + "Go back" button
36
+ *
37
+ * Uses `useCedrosTheme()` for styling. Works with `unstyled` mode.
38
+ */
39
+ export declare function ComplianceGatePage({ resources, onCleared, onBlocked, onCancel, authToken, wallet, children, }: ComplianceGatePageProps): import("react/jsx-runtime").JSX.Element | null;
40
+ //# sourceMappingURL=ComplianceGatePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComplianceGatePage.d.ts","sourceRoot":"","sources":["../../../src/components/ComplianceGatePage.tsx"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,MAAM,WAAW,uBAAuB;IACtC,mDAAmD;IACnD,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,kDAAkD;IAClD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,kEAAkE;IAClE,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACxC,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0CAA0C;IAC1C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;GASG;AACH,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EACR,SAAS,EACT,MAAM,EACN,QAAQ,GACT,EAAE,uBAAuB,kDAoEzB"}
@@ -15,12 +15,8 @@ interface SubscribeButtonProps {
15
15
  successUrl?: string;
16
16
  /** URL to redirect on cancel */
17
17
  cancelUrl?: string;
18
- /** Metadata for tracking */
19
- metadata?: Record<string, string>;
20
18
  /** Customer email (pre-fills Stripe checkout) */
21
19
  customerEmail?: string;
22
- /** Coupon code for discount */
23
- couponCode?: string;
24
20
  /** Custom button label */
25
21
  label?: string;
26
22
  /** Disable button */
@@ -50,6 +46,6 @@ interface SubscribeButtonProps {
50
46
  * />
51
47
  * ```
52
48
  */
53
- export declare function SubscribeButton({ resource, interval, intervalDays, trialDays, successUrl, cancelUrl, metadata, customerEmail, couponCode, label, disabled, onAttempt, onSuccess, onError, className, }: SubscribeButtonProps): import("react/jsx-runtime").JSX.Element;
49
+ export declare function SubscribeButton({ resource, interval, intervalDays, trialDays, successUrl, cancelUrl, customerEmail, label, disabled, onAttempt, onSuccess, onError, className, }: SubscribeButtonProps): import("react/jsx-runtime").JSX.Element;
54
50
  export {};
55
51
  //# sourceMappingURL=SubscribeButton.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SubscribeButton.d.ts","sourceRoot":"","sources":["../../../src/components/SubscribeButton.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;GAEG;AACH,UAAU,oBAAoB;IAC5B,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,uBAAuB;IACvB,QAAQ,EAAE,eAAe,CAAC;IAC1B,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,QAAQ,KAAK,IAAI,CAAC;IAClD,mDAAmD;IACnD,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,wBAAwB;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,UAAU,EACV,SAAS,EACT,QAAQ,EACR,aAAa,EACb,UAAU,EACV,KAAK,EACL,QAAgB,EAChB,SAAS,EACT,SAAS,EACT,OAAO,EACP,SAAc,GACf,EAAE,oBAAoB,2CA2HtB"}
1
+ {"version":3,"file":"SubscribeButton.d.ts","sourceRoot":"","sources":["../../../src/components/SubscribeButton.tsx"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEhD;;GAEG;AACH,UAAU,oBAAoB;IAC5B,4CAA4C;IAC5C,QAAQ,EAAE,MAAM,CAAC;IACjB,uBAAuB;IACvB,QAAQ,EAAE,eAAe,CAAC;IAC1B,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,4CAA4C;IAC5C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gCAAgC;IAChC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iDAAiD;IACjD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,QAAQ,KAAK,IAAI,CAAC;IAClD,mDAAmD;IACnD,SAAS,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,wBAAwB;IACxB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,UAAU,EACV,SAAS,EACT,aAAa,EACb,KAAK,EACL,QAAgB,EAChB,SAAS,EACT,SAAS,EACT,OAAO,EACP,SAAc,GACf,EAAE,oBAAoB,2CAsHtB"}
@@ -31,6 +31,11 @@ export interface AdminAuthHeaders {
31
31
  'X-Message': string;
32
32
  'X-Signature': string;
33
33
  }
34
+ /** Canonical admin request target used for server-side nonce resolution */
35
+ export interface AdminAuthTarget {
36
+ path: string;
37
+ method: string;
38
+ }
34
39
  /** JWT auth headers for cedros-login */
35
40
  export interface JwtAuthHeaders {
36
41
  'Authorization': string;
@@ -46,7 +51,7 @@ export interface IAdminAuthManager {
46
51
  /** Set cedros-login JWT for JWT-based auth */
47
52
  setCedrosLoginAuth(token: string | null, isAdmin?: boolean): void;
48
53
  /** Create auth headers for admin request */
49
- createAuthHeaders(purpose: string): Promise<AdminAuthHeaders | JwtAuthHeaders>;
54
+ createAuthHeaders(target: string | AdminAuthTarget): Promise<AdminAuthHeaders | JwtAuthHeaders>;
50
55
  /** Fetch with admin auth headers */
51
56
  fetchWithAuth<T>(path: string, options?: RequestInit): Promise<T>;
52
57
  }
@@ -66,12 +71,11 @@ export declare class AdminAuthManager implements IAdminAuthManager {
66
71
  isAuthenticated(): boolean;
67
72
  setWalletSigner(signer: WalletSigner | null): void;
68
73
  setCedrosLoginAuth(token: string | null, isAdmin?: boolean): void;
69
- createAuthHeaders(purpose: string): Promise<AdminAuthHeaders | JwtAuthHeaders>;
74
+ createAuthHeaders(target: string | AdminAuthTarget): Promise<AdminAuthHeaders | JwtAuthHeaders>;
70
75
  private createWalletAuthHeaders;
71
76
  private createJwtAuthHeaders;
72
77
  private fetchNonce;
73
78
  fetchWithAuth<T>(path: string, options?: RequestInit): Promise<T>;
74
- private getPurposeFromPath;
75
79
  }
76
80
  /** Nonce purposes for admin endpoints */
77
81
  export declare const ADMIN_NONCE_PURPOSES: {
@@ -1 +1 @@
1
- {"version":3,"file":"AdminAuthManager.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AdminAuthManager.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAMH,uBAAuB;AACvB,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,cAAc,GAAG,MAAM,CAAC;AAQjE,6BAA6B;AAC7B,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,eAAe,CAAC;IACxB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,yDAAyD;AACzD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE;QAAE,OAAO,IAAI,UAAU,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5C,WAAW,CAAC,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CACxD;AAED,0CAA0C;AAC1C,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,wCAAwC;AACxC,MAAM,WAAW,cAAc;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,iDAAiD;AACjD,MAAM,WAAW,iBAAiB;IAChC,8BAA8B;IAC9B,aAAa,IAAI,eAAe,CAAC;IAEjC,6BAA6B;IAC7B,eAAe,IAAI,OAAO,CAAC;IAE3B,8CAA8C;IAC9C,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC;IAEnD,8CAA8C;IAC9C,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAElE,4CAA4C;IAC5C,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,cAAc,CAAC,CAAC;IAE/E,oCAAoC;IACpC,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACnE;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,YAAW,iBAAiB;IACxD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,YAAY,CAA6B;IACjD,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,WAAW,CAAkB;gBAEzB,SAAS,EAAE,MAAM;IAI7B,aAAa,IAAI,eAAe;IAWhC,eAAe,IAAI,OAAO;IAI1B,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI;IAKlD,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI;IAM3D,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,cAAc,CAAC;YActE,uBAAuB;IAuBrC,OAAO,CAAC,oBAAoB;YAUd,UAAU;IAkBlB,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;IA2C3E,OAAO,CAAC,kBAAkB;CA4C3B;AAED,yCAAyC;AACzC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;CAiBvB,CAAC"}
1
+ {"version":3,"file":"AdminAuthManager.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AdminAuthManager.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAOH,uBAAuB;AACvB,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,cAAc,GAAG,MAAM,CAAC;AASjE,6BAA6B;AAC7B,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,eAAe,CAAC;IACxB,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yDAAyD;IACzD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,yDAAyD;AACzD,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE;QAAE,OAAO,IAAI,UAAU,CAAA;KAAE,GAAG,IAAI,CAAC;IAC5C,WAAW,CAAC,CAAC,OAAO,EAAE,UAAU,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;CACxD;AAED,0CAA0C;AAC1C,MAAM,WAAW,gBAAgB;IAC/B,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,2EAA2E;AAC3E,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wCAAwC;AACxC,MAAM,WAAW,cAAc;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,iDAAiD;AACjD,MAAM,WAAW,iBAAiB;IAChC,8BAA8B;IAC9B,aAAa,IAAI,eAAe,CAAC;IAEjC,6BAA6B;IAC7B,eAAe,IAAI,OAAO,CAAC;IAE3B,8CAA8C;IAC9C,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC;IAEnD,8CAA8C;IAC9C,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAElE,4CAA4C;IAC5C,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,OAAO,CAAC,gBAAgB,GAAG,cAAc,CAAC,CAAC;IAEhG,oCAAoC;IACpC,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC;CACnE;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,YAAW,iBAAiB;IACxD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,YAAY,CAA6B;IACjD,OAAO,CAAC,QAAQ,CAAuB;IACvC,OAAO,CAAC,WAAW,CAAkB;gBAEzB,SAAS,EAAE,MAAM;IAI7B,aAAa,IAAI,eAAe;IAWhC,eAAe,IAAI,OAAO;IAI1B,eAAe,CAAC,MAAM,EAAE,YAAY,GAAG,IAAI,GAAG,IAAI;IAKlD,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,GAAG,IAAI;IAM3D,iBAAiB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,OAAO,CAAC,gBAAgB,GAAG,cAAc,CAAC;YAcvF,uBAAuB;IAuBrC,OAAO,CAAC,oBAAoB;YAUd,UAAU;IAqBlB,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,GAAE,WAAgB,GAAG,OAAO,CAAC,CAAC,CAAC;CAuC5E;AAED,yCAAyC;AACzC,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;CAiBvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AssetClassesTab.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AssetClassesTab.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA0BH,UAAU,oBAAoB;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,OAAO,CAAC;QAAC,aAAa,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC;IACrH,4FAA4F;IAC5F,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAkHD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,EAAE,oBAAoB,2CAoQ9G"}
1
+ {"version":3,"file":"AssetClassesTab.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/AssetClassesTab.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AA2BH,UAAU,oBAAoB;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE;QAAE,eAAe,EAAE,MAAM,OAAO,CAAC;QAAC,aAAa,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC;IACrH,4FAA4F;IAC5F,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAkHD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,qBAAqB,EAAE,EAAE,oBAAoB,2CAgR9G"}
@@ -1,5 +1,5 @@
1
1
  /** Available dashboard sections */
2
- export type DashboardSection = 'products' | 'subscriptions' | 'transactions' | 'orders' | 'coupons' | 'refunds' | 'storefront' | 'ai-settings' | 'faqs' | 'payment-settings' | 'messaging' | 'token22' | 'settings';
2
+ export type DashboardSection = 'products' | 'subscriptions' | 'transactions' | 'orders' | 'coupons' | 'refunds' | 'storefront' | 'ai-settings' | 'faqs' | 'payment-settings' | 'messaging' | 'token22' | 'compliance' | 'chat-logs' | 'customers' | 'disputes' | 'webhooks' | 'shipping' | 'tax' | 'returns' | 'images' | 'inventory' | 'settings';
3
3
  /** Theme mode for the dashboard */
4
4
  export type AdminThemeMode = 'light' | 'dark' | 'system';
5
5
  export interface CedrosPayAdminDashboardProps {
@@ -1 +1 @@
1
- {"version":3,"file":"CedrosPayAdminDashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/CedrosPayAdminDashboard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAcH,OAAO,+BAA+B,CAAC;AA2BvC,mCAAmC;AACnC,MAAM,MAAM,gBAAgB,GACxB,UAAU,GACV,eAAe,GACf,cAAc,GACd,QAAQ,GACR,SAAS,GACT,SAAS,GACT,YAAY,GACZ,aAAa,GACb,MAAM,GACN,kBAAkB,GAClB,WAAW,GACX,SAAS,GACT,UAAU,CAAC;AAEf,mCAAmC;AACnC,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzD,MAAM,WAAW,4BAA4B;IAC3C,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,6BAA6B;IAC7B,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtD,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qFAAqF;IACrF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AA2FD,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,MAAM,EACN,KAAoB,EACpB,QAA0K,EAC1K,cAA+B,EAC/B,eAAe,EAAE,gBAAwB,EACzC,QAAa,EACb,eAAe,EACf,SAAc,EACd,gBAAgB,EAChB,OAAe,EACf,KAAgB,GACjB,EAAE,4BAA4B,2CAkP9B;AAED,eAAe,uBAAuB,CAAC"}
1
+ {"version":3,"file":"CedrosPayAdminDashboard.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/CedrosPayAdminDashboard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAcH,OAAO,+BAA+B,CAAC;AAyDvC,mCAAmC;AACnC,MAAM,MAAM,gBAAgB,GACxB,UAAU,GACV,eAAe,GACf,cAAc,GACd,QAAQ,GACR,SAAS,GACT,SAAS,GACT,YAAY,GACZ,aAAa,GACb,MAAM,GACN,kBAAkB,GAClB,WAAW,GACX,SAAS,GACT,YAAY,GACZ,WAAW,GACX,WAAW,GACX,UAAU,GACV,UAAU,GACV,UAAU,GACV,KAAK,GACL,SAAS,GACT,QAAQ,GACR,WAAW,GACX,UAAU,CAAC;AAEf,mCAAmC;AACnC,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEzD,MAAM,WAAW,4BAA4B;IAC3C,yBAAyB;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,sBAAsB;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,6BAA6B;IAC7B,cAAc,CAAC,EAAE,gBAAgB,CAAC;IAClC;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACtD,2BAA2B;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,qFAAqF;IACrF,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB;AA2JD,wBAAgB,uBAAuB,CAAC,EACtC,SAAS,EACT,MAAM,EACN,KAAoB,EACpB,QAA0K,EAC1K,cAA+B,EAC/B,eAAe,EAAE,gBAAwB,EACzC,QAAa,EACb,eAAe,EACf,SAAc,EACd,gBAAgB,EAChB,OAAe,EACf,KAAgB,GACjB,EAAE,4BAA4B,2CAwI9B;AAED,eAAe,uBAAuB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function ChatLogsSection({ serverUrl, apiKey, pageSize, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ChatLogsSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatLogsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ChatLogsSection.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA+B5C,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CA2P9F"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function ComplianceKycTab({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ComplianceKycTab.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComplianceKycTab.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ComplianceKycTab.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAM5C,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CA0JhF"}
@@ -0,0 +1,8 @@
1
+ import { ComplianceRequirements } from './complianceTypes';
2
+ interface Props {
3
+ value: ComplianceRequirements | null;
4
+ onChange: (value: ComplianceRequirements | null) => void;
5
+ }
6
+ export declare function ComplianceRequirementsEditor({ value, onChange }: Props): import("react/jsx-runtime").JSX.Element;
7
+ export {};
8
+ //# sourceMappingURL=ComplianceRequirementsEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComplianceRequirementsEditor.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ComplianceRequirementsEditor.tsx"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAa,MAAM,mBAAmB,CAAC;AAE3E,UAAU,KAAK;IACb,KAAK,EAAE,sBAAsB,GAAG,IAAI,CAAC;IACrC,QAAQ,EAAE,CAAC,KAAK,EAAE,sBAAsB,GAAG,IAAI,KAAK,IAAI,CAAC;CAC1D;AASD,wBAAgB,4BAA4B,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,KAAK,2CAgHtE"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function ComplianceSanctionsApi({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ComplianceSanctionsApi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComplianceSanctionsApi.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ComplianceSanctionsApi.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAS5C,wBAAgB,sBAAsB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CAgItF"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function ComplianceSection({ serverUrl, apiKey, pageSize, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ComplianceSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ComplianceSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ComplianceSection.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAMH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAU5C,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CA+gBhG"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function CustomersSection({ serverUrl, apiKey, pageSize, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=CustomersSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomersSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/CustomersSection.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA2B5C,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CAiQ/F"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function DisputesSection({ serverUrl, apiKey, pageSize, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=DisputesSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DisputesSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/DisputesSection.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAqC5C,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CAwN9F"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function GiftCardAnalytics({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element | null;
3
+ //# sourceMappingURL=GiftCardAnalytics.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GiftCardAnalytics.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GiftCardAnalytics.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAgC5C,wBAAgB,iBAAiB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,kDAsHjF"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function GiftCardManager({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=GiftCardManager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GiftCardManager.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/GiftCardManager.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAiB5C,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CA0L/E"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function ImagesSection({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ImagesSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImagesSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ImagesSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAwE5C,wBAAgB,aAAa,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CAuO7E"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function InventorySection({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=InventorySection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InventorySection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/InventorySection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAW,MAAM,SAAS,CAAC;AAuBrD,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CA2NhF"}
@@ -1 +1 @@
1
- {"version":3,"file":"LiquidityPoolTab.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/LiquidityPoolTab.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,UAAU,qBAAqB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAkBD,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,WAAW,EACX,cAAc,EACd,WAAW,EACX,aAAiB,GAClB,EAAE,qBAAqB,2CAyLvB"}
1
+ {"version":3,"file":"LiquidityPoolTab.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/LiquidityPoolTab.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAG5D,UAAU,qBAAqB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAeD,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,WAAW,EACX,cAAc,EACd,WAAW,EACX,aAAiB,GAClB,EAAE,qBAAqB,2CA8LvB"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Admin Dashboard — NFT Metadata Preview
3
+ *
4
+ * Fetches and displays the on-chain NFT metadata JSON for a product.
5
+ * Uses the public endpoint: GET /paywall/v1/products/{id}/nft-metadata
6
+ */
7
+ interface NftMetadataPreviewProps {
8
+ serverUrl: string;
9
+ productId: string;
10
+ productTitle: string;
11
+ apiKey?: string;
12
+ authManager?: {
13
+ isAuthenticated(): boolean;
14
+ fetchWithAuth<T>(path: string, options?: RequestInit): Promise<T>;
15
+ };
16
+ onClose: () => void;
17
+ }
18
+ export declare function NftMetadataPreview({ serverUrl, productId, productTitle, apiKey, authManager, onClose, }: NftMetadataPreviewProps): import("react/jsx-runtime").JSX.Element;
19
+ export {};
20
+ //# sourceMappingURL=NftMetadataPreview.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NftMetadataPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/NftMetadataPreview.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAmBH,UAAU,uBAAuB;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE;QAAE,eAAe,IAAI,OAAO,CAAC;QAAC,aAAa,CAAC,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,WAAW,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC;IAChH,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,SAAS,EACT,YAAY,EACZ,MAAM,EACN,WAAW,EACX,OAAO,GACR,EAAE,uBAAuB,2CA0HzB"}
@@ -0,0 +1,14 @@
1
+ import { IAdminAuthManager } from './AdminAuthManager';
2
+ export interface PoolManagementViewProps {
3
+ serverUrl: string;
4
+ authManager?: IAdminAuthManager;
5
+ poolAddress: string;
6
+ buybackRateBps: number | null;
7
+ usdcAmount: number | null;
8
+ deployedAt: string | null;
9
+ mintAddress?: string;
10
+ tokenDecimals?: number;
11
+ onConfigUpdated: () => void;
12
+ }
13
+ export declare function PoolManagementView({ serverUrl, authManager, poolAddress, buybackRateBps, usdcAmount, deployedAt, mintAddress, tokenDecimals, onConfigUpdated, }: PoolManagementViewProps): import("react/jsx-runtime").JSX.Element;
14
+ //# sourceMappingURL=PoolManagementView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PoolManagementView.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/PoolManagementView.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAO5D,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,IAAI,CAAC;CAC7B;AAYD,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,WAAW,EACX,WAAW,EACX,cAAc,EACd,UAAU,EACV,UAAU,EACV,WAAW,EACX,aAAiB,EACjB,eAAe,GAChB,EAAE,uBAAuB,2CAyNzB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProductsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ProductsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,KAAK,EAAE,YAAY,EAAW,MAAM,SAAS,CAAC;AAIrD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CAm5B9F"}
1
+ {"version":3,"file":"ProductsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ProductsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,KAAK,EAAE,YAAY,EAAW,MAAM,SAAS,CAAC;AAOrD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CAu9B9F"}
@@ -1 +1 @@
1
- {"version":3,"file":"RefundsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RefundsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,KAAK,EAAE,YAAY,EAA8C,MAAM,SAAS,CAAC;AAIxF,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CAivB7F"}
1
+ {"version":3,"file":"RefundsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/RefundsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAMH,OAAO,KAAK,EAAE,YAAY,EAA8C,MAAM,SAAS,CAAC;AAIxF,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CAgmB7F"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function ReturnsSection({ serverUrl, apiKey, pageSize, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ReturnsSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReturnsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ReturnsSection.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4M5C,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CA0K7F"}
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/SettingsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AAyBD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,oBAAoB,2CA2CvF"}
1
+ {"version":3,"file":"SettingsSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/SettingsSection.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAIH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5D,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oDAAoD;IACpD,WAAW,CAAC,EAAE,iBAAiB,CAAC;CACjC;AA+BD,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,oBAAoB,2CA2CvF"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function ShippingSection({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ShippingSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShippingSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/ShippingSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4C5C,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CA4Y/E"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function TaxSection({ serverUrl, apiKey, pageSize, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=TaxSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaxSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/TaxSection.tsx"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAqC5C,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,QAAa,EAAE,WAAW,EAAE,EAAE,YAAY,2CA2UzF"}
@@ -1 +1 @@
1
- {"version":3,"file":"Token22Section.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/Token22Section.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AASH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4B5C,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CAuK9E"}
1
+ {"version":3,"file":"Token22Section.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/Token22Section.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AA4B5C,wBAAgB,cAAc,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CA2K9E"}
@@ -0,0 +1,3 @@
1
+ import { SectionProps } from './types';
2
+ export declare function WebhooksSection({ serverUrl, apiKey, authManager }: SectionProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=WebhooksSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WebhooksSection.d.ts","sourceRoot":"","sources":["../../../../src/components/admin/WebhooksSection.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAkD5C,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,YAAY,2CA0T/E"}
@@ -0,0 +1,74 @@
1
+ /**
2
+ * Types and helpers for the Compliance admin section.
3
+ */
4
+ export interface TokenHolder {
5
+ id: string;
6
+ collectionId: string;
7
+ mintAddress: string;
8
+ walletAddress: string;
9
+ userId?: string;
10
+ amountMinted: number;
11
+ status: string;
12
+ frozenAt?: string;
13
+ freezeTx?: string;
14
+ thawTx?: string;
15
+ createdAt: string;
16
+ }
17
+ export interface ComplianceAction {
18
+ id: string;
19
+ actionType: string;
20
+ walletAddress: string;
21
+ mintAddress: string;
22
+ holderId?: string;
23
+ reason: string;
24
+ actor: string;
25
+ txSignature?: string;
26
+ reportReference?: string;
27
+ createdAt: string;
28
+ }
29
+ export interface ComplianceReport {
30
+ generatedAt: string;
31
+ from?: string;
32
+ to?: string;
33
+ totalHolders: number;
34
+ totalFrozen: number;
35
+ actionsInPeriod: number;
36
+ freezeCount: number;
37
+ thawCount: number;
38
+ sweepFreezeCount: number;
39
+ actions: ComplianceAction[];
40
+ }
41
+ export interface SanctionsSweepSettings {
42
+ enabled: boolean;
43
+ batchSize: number;
44
+ }
45
+ export interface SanctionsApiSettings {
46
+ apiUrl: string;
47
+ refreshIntervalSecs: number;
48
+ enabled: boolean;
49
+ }
50
+ export interface TokenGate {
51
+ address: string;
52
+ gateType: 'fungible_token' | 'nft_collection';
53
+ minAmount: number;
54
+ }
55
+ export interface ComplianceRequirements {
56
+ requireSanctionsClear: boolean;
57
+ requireKyc: boolean;
58
+ requireAccreditedInvestor: boolean;
59
+ tokenGates?: TokenGate[];
60
+ }
61
+ export type KycStatus = 'none' | 'pending' | 'verified' | 'expired';
62
+ export interface UserComplianceStatus {
63
+ userId: string;
64
+ kycStatus: KycStatus;
65
+ accreditedInvestor: boolean;
66
+ accreditedVerifiedAt?: string;
67
+ }
68
+ export type ComplianceTab = 'holders' | 'actions' | 'reports' | 'sweep-settings' | 'sanctions-api' | 'kyc';
69
+ export declare const truncateAddress: (addr: string) => string;
70
+ export declare const statusBadge: (status: string) => string;
71
+ export declare const actionBadge: (type: string) => string;
72
+ export declare const kycBadge: (status: KycStatus) => string;
73
+ export declare const SOLANA_EXPLORER = "https://explorer.solana.com/tx/";
74
+ //# sourceMappingURL=complianceTypes.d.ts.map