@openrails/billing-ui 0.280.0 → 0.281.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/{admin-attempts-CP5CWyNR.js → admin-attempts-DjgBAbx9.js} +71 -72
  2. package/dist/admin-attempts-DjgBAbx9.js.map +1 -0
  3. package/dist/{admin-auth-DlIOmwPo.js → admin-auth-BUUdvmqC.js} +3 -4
  4. package/dist/admin-auth-BUUdvmqC.js.map +1 -0
  5. package/dist/{admin-badge-DR_8AhdC.js → admin-badge-CAlUmS2s.js} +3 -4
  6. package/dist/admin-badge-CAlUmS2s.js.map +1 -0
  7. package/dist/{admin-button-DBzTD6By.js → admin-button-Bn4otsuw.js} +3 -4
  8. package/dist/admin-button-Bn4otsuw.js.map +1 -0
  9. package/dist/{admin-capabilities-CZdT1Pxe.js → admin-capabilities-DS-X-__V.js} +3 -4
  10. package/dist/admin-capabilities-DS-X-__V.js.map +1 -0
  11. package/dist/{admin-card-mZl4-s5d.js → admin-card-BHKW1dfB.js} +3 -4
  12. package/dist/admin-card-BHKW1dfB.js.map +1 -0
  13. package/dist/{admin-catalog-DpTjS0Yo.js → admin-catalog-BdLDhr8R.js} +309 -312
  14. package/dist/admin-catalog-BdLDhr8R.js.map +1 -0
  15. package/dist/{admin-confirm-katGq0Qo.js → admin-confirm-DWq-edDC.js} +2 -3
  16. package/dist/admin-confirm-DWq-edDC.js.map +1 -0
  17. package/dist/{admin-csv-CPoNZj2D.js → admin-csv-CRrmaR6a.js} +2 -3
  18. package/dist/admin-csv-CRrmaR6a.js.map +1 -0
  19. package/dist/{admin-cursor-pager-C-KjCIy9.js → admin-cursor-pager-Qo9Sq6lN.js} +6 -8
  20. package/dist/admin-cursor-pager-Qo9Sq6lN.js.map +1 -0
  21. package/dist/{admin-customers-BE3N839X.js → admin-customers-BZP6Jv-i.js} +21 -22
  22. package/dist/admin-customers-BZP6Jv-i.js.map +1 -0
  23. package/dist/{admin-dashboard-BxjkV15J.js → admin-dashboard-BJSonknv.js} +150 -153
  24. package/dist/admin-dashboard-BJSonknv.js.map +1 -0
  25. package/dist/{admin-data-table-D89AwWz_.js → admin-data-table-BiFmcf0Z.js} +19 -26
  26. package/dist/admin-data-table-BiFmcf0Z.js.map +1 -0
  27. package/dist/admin-detail-C03O0R6e.js +1351 -0
  28. package/dist/{admin-detail-P-UnNvXJ.js.map → admin-detail-C03O0R6e.js.map} +1 -1
  29. package/dist/{admin-detail-Ln56otK0.js → admin-detail-C6VH3i2v.js} +74 -75
  30. package/dist/admin-detail-C6VH3i2v.js.map +1 -0
  31. package/dist/{admin-detail-C8lD7U2t.js → admin-detail-CQws8363.js} +199 -202
  32. package/dist/admin-detail-CQws8363.js.map +1 -0
  33. package/dist/admin-detail-NApy5bio.js +337 -0
  34. package/dist/admin-detail-NApy5bio.js.map +1 -0
  35. package/dist/{admin-detail-D6zD085K.js → admin-detail-cijme9Lc.js} +92 -94
  36. package/dist/admin-detail-cijme9Lc.js.map +1 -0
  37. package/dist/{admin-dialog-Dn2FRJu4.js → admin-dialog-CgYGInHi.js} +4 -5
  38. package/dist/admin-dialog-CgYGInHi.js.map +1 -0
  39. package/dist/{admin-dialog-width-CC7QHT1p.js → admin-dialog-width-C_WFpow0.js} +2 -3
  40. package/dist/admin-dialog-width-C_WFpow0.js.map +1 -0
  41. package/dist/{admin-dom-C7Y7A6Wa.js → admin-dom-BP9QROfy.js} +2 -3
  42. package/dist/admin-dom-BP9QROfy.js.map +1 -0
  43. package/dist/{admin-dropdown-menu-DLUn6Uj3.js → admin-dropdown-menu-CU9RxoEJ.js} +3 -4
  44. package/dist/admin-dropdown-menu-CU9RxoEJ.js.map +1 -0
  45. package/dist/{admin-dunning-COaHzrmN.js → admin-dunning-D8lAP7OA.js} +3 -4
  46. package/dist/admin-dunning-D8lAP7OA.js.map +1 -0
  47. package/dist/{admin-fact-card-DKvBnUXB.js → admin-fact-card-lN-MsuSp.js} +3 -4
  48. package/dist/admin-fact-card-lN-MsuSp.js.map +1 -0
  49. package/dist/{admin-form-field-errors-hbUMIriS.js → admin-form-field-errors-Cuhy38F1.js} +2 -3
  50. package/dist/admin-form-field-errors-Cuhy38F1.js.map +1 -0
  51. package/dist/{admin-format-BbiTCqUG.js → admin-format-D9Ablh0P.js} +3 -5
  52. package/dist/admin-format-D9Ablh0P.js.map +1 -0
  53. package/dist/{admin-health-DmnI4e8K.js → admin-health-CnagC763.js} +91 -93
  54. package/dist/admin-health-CnagC763.js.map +1 -0
  55. package/dist/{admin-imports-C0aMP6sj.js → admin-imports-SM_fKKgW.js} +92 -93
  56. package/dist/admin-imports-SM_fKKgW.js.map +1 -0
  57. package/dist/{admin-input-JKrQIGfD.js → admin-input-B_EUzCAE.js} +3 -4
  58. package/dist/admin-input-B_EUzCAE.js.map +1 -0
  59. package/dist/{admin-invoice-profile-model-Cgjy3zV8.js → admin-invoice-profile-model-CNsvK89v.js} +2 -3
  60. package/dist/admin-invoice-profile-model-CNsvK89v.js.map +1 -0
  61. package/dist/{admin-label-CHWsVIZC.js → admin-label-DQsOkp1p.js} +3 -4
  62. package/dist/admin-label-DQsOkp1p.js.map +1 -0
  63. package/dist/{admin-linked-table-row-BMZYYsuk.js → admin-linked-table-row-BFsgc9tz.js} +5 -6
  64. package/dist/admin-linked-table-row-BFsgc9tz.js.map +1 -0
  65. package/dist/{admin-map-dialog-BHUGdCcv.js → admin-map-dialog-Dt3gTuTD.js} +26 -27
  66. package/dist/admin-map-dialog-Dt3gTuTD.js.map +1 -0
  67. package/dist/{admin-mapping-csv-FtkyTBmk.js → admin-mapping-csv-DzpB9HQn.js} +1 -2
  68. package/dist/admin-mapping-csv-DzpB9HQn.js.map +1 -0
  69. package/dist/admin-metering-DM4KhjOq.js +1717 -0
  70. package/dist/admin-metering-DM4KhjOq.js.map +1 -0
  71. package/dist/{admin-missing-record-BPFs3MmO.js → admin-missing-record-G2Jz-VUn.js} +3 -4
  72. package/dist/admin-missing-record-G2Jz-VUn.js.map +1 -0
  73. package/dist/{admin-ops-CL2kjDwi.js → admin-ops-mwzj-jpg.js} +99 -100
  74. package/dist/admin-ops-mwzj-jpg.js.map +1 -0
  75. package/dist/{admin-orders-C1Sf2qhc.js → admin-orders-D_aqV66h.js} +41 -42
  76. package/dist/admin-orders-D_aqV66h.js.map +1 -0
  77. package/dist/{admin-parked-a0tB5bhG.js → admin-parked-2FjIfyMg.js} +47 -48
  78. package/dist/admin-parked-2FjIfyMg.js.map +1 -0
  79. package/dist/{admin-payments-DJcjwRA4.js → admin-payments-B4hh31PR.js} +36 -37
  80. package/dist/admin-payments-B4hh31PR.js.map +1 -0
  81. package/dist/{admin-price-detail-BOmeWw15.js → admin-price-detail--5Bovz20.js} +88 -90
  82. package/dist/admin-price-detail--5Bovz20.js.map +1 -0
  83. package/dist/{admin-price-format-CqOmHrIn.js → admin-price-format-C-pus9FL.js} +4 -6
  84. package/dist/admin-price-format-C-pus9FL.js.map +1 -0
  85. package/dist/admin-price-wizard-Cj_Bgh-V.js +354 -0
  86. package/dist/admin-price-wizard-Cj_Bgh-V.js.map +1 -0
  87. package/dist/{admin-proposals-DVrl-ym4.js → admin-proposals-DPRFoWel.js} +114 -116
  88. package/dist/admin-proposals-DPRFoWel.js.map +1 -0
  89. package/dist/{admin-provider-prices-BVVogH7Q.js → admin-provider-prices-B8Oc86dP.js} +74 -75
  90. package/dist/admin-provider-prices-B8Oc86dP.js.map +1 -0
  91. package/dist/{admin-range-picker-C6BtSm2B.js → admin-range-picker-CSWcCYkg.js} +8 -11
  92. package/dist/admin-range-picker-CSWcCYkg.js.map +1 -0
  93. package/dist/admin-records-CWbfqyT8.js +390 -0
  94. package/dist/admin-records-CWbfqyT8.js.map +1 -0
  95. package/dist/{admin-reports-CtPoiceH.js → admin-reports-CAHWO_d6.js} +59 -60
  96. package/dist/admin-reports-CAHWO_d6.js.map +1 -0
  97. package/dist/{admin-select-6Yuh5M1Q.js → admin-select-DSGCZFiZ.js} +3 -4
  98. package/dist/admin-select-DSGCZFiZ.js.map +1 -0
  99. package/dist/{admin-settings-DscHu4ww.js → admin-settings-BrvNTJlM.js} +640 -645
  100. package/dist/admin-settings-BrvNTJlM.js.map +1 -0
  101. package/dist/{admin-shared-BywM-MMp.js → admin-shared-DdN2hyaR.js} +23 -25
  102. package/dist/admin-shared-DdN2hyaR.js.map +1 -0
  103. package/dist/{admin-skeleton-lndmw89u.js → admin-skeleton-DOfsDIu0.js} +3 -4
  104. package/dist/admin-skeleton-DOfsDIu0.js.map +1 -0
  105. package/dist/{admin-status-badge-IL8ofZ_6.js → admin-status-badge-BLEGt2Fw.js} +6 -7
  106. package/dist/{admin-status-badge-IL8ofZ_6.js.map → admin-status-badge-BLEGt2Fw.js.map} +1 -1
  107. package/dist/{admin-subscriptions-Cd5CGrue.js → admin-subscriptions-PL5G3f0O.js} +38 -39
  108. package/dist/admin-subscriptions-PL5G3f0O.js.map +1 -0
  109. package/dist/{admin-switch-DpwQSzEm.js → admin-switch-aOiQQzST.js} +3 -4
  110. package/dist/admin-switch-aOiQQzST.js.map +1 -0
  111. package/dist/{admin-table-D-GdGM1m.js → admin-table-DIKl2rpV.js} +3 -4
  112. package/dist/admin-table-DIKl2rpV.js.map +1 -0
  113. package/dist/{admin-tabs-B--1flzO.js → admin-tabs-DR74xX0-.js} +8 -10
  114. package/dist/admin-tabs-DR74xX0-.js.map +1 -0
  115. package/dist/{admin-textarea-xsp5V9xM.js → admin-textarea-W52-l_0n.js} +3 -4
  116. package/dist/admin-textarea-W52-l_0n.js.map +1 -0
  117. package/dist/{admin-tile-grids-CzGpidd9.js → admin-tile-grids-Gc67MtA6.js} +2 -3
  118. package/dist/admin-tile-grids-Gc67MtA6.js.map +1 -0
  119. package/dist/{admin-typed-confirm-dialog-NiEDwX_0.js → admin-typed-confirm-dialog-B_00EHlT.js} +13 -14
  120. package/dist/admin-typed-confirm-dialog-B_00EHlT.js.map +1 -0
  121. package/dist/{admin-utils-wuPUD0uh.js → admin-utils-CX097OR7.js} +23 -47
  122. package/dist/{admin-utils-wuPUD0uh.js.map → admin-utils-CX097OR7.js.map} +1 -1
  123. package/dist/{admin-widget-viz-kHHVmDEx.js → admin-widget-viz-DVV9aTQp.js} +21 -24
  124. package/dist/admin-widget-viz-DVV9aTQp.js.map +1 -0
  125. package/dist/admin.js +60 -84
  126. package/dist/admin.js.map +1 -1
  127. package/dist/client/generated/wire.d.ts +1 -0
  128. package/dist/{client-ctrbivyN.js → client-DwsFGm4M.js} +6 -11
  129. package/dist/client-DwsFGm4M.js.map +1 -0
  130. package/dist/client.js +1 -2
  131. package/dist/{create-card-BEILS1VB-DeyyfyFD.js → create-card-BEILS1VB-B1MQg0iK.js} +3 -4
  132. package/dist/create-card-BEILS1VB-B1MQg0iK.js.map +1 -0
  133. package/dist/{create-card-display-Dv5pcpzc-BWB6vzo2.js → create-card-display-Dv5pcpzc-DotrmqWH.js} +5 -9
  134. package/dist/create-card-display-Dv5pcpzc-DotrmqWH.js.map +1 -0
  135. package/dist/{create-copy-button-CAYmfugS-qNapojfj.js → create-copy-button-CAYmfugS-CAgco7FO.js} +3 -4
  136. package/dist/create-copy-button-CAYmfugS-CAgco7FO.js.map +1 -0
  137. package/dist/{dist-CslWupfi.js → dist-BPWQ2tCx.js} +6 -7
  138. package/dist/dist-BPWQ2tCx.js.map +1 -0
  139. package/dist/{hooks-KpTetx6F.js → hooks-C-MhXjQh.js} +13 -22
  140. package/dist/hooks-C-MhXjQh.js.map +1 -0
  141. package/dist/{index-rGw83t5v-BE6naeQR.js → index-rGw83t5v-ydBZxXI_.js} +10 -24
  142. package/dist/index-rGw83t5v-ydBZxXI_.js.map +1 -0
  143. package/dist/index.js +67 -124
  144. package/dist/index.js.map +1 -1
  145. package/dist/locales/de.js +1 -2
  146. package/dist/locales/de.js.map +1 -1
  147. package/dist/locales/en.js +1 -2
  148. package/dist/locales/en.js.map +1 -1
  149. package/dist/locales/es.js +1 -2
  150. package/dist/locales/es.js.map +1 -1
  151. package/dist/locales/ja.js +1 -2
  152. package/dist/locales/ja.js.map +1 -1
  153. package/dist/locales/ko.js +1 -2
  154. package/dist/locales/ko.js.map +1 -1
  155. package/dist/locales/zh.js +1 -2
  156. package/dist/locales/zh.js.map +1 -1
  157. package/dist/react.js +1 -2
  158. package/package.json +2 -2
  159. package/dist/admin-attempts-CP5CWyNR.js.map +0 -1
  160. package/dist/admin-auth-DlIOmwPo.js.map +0 -1
  161. package/dist/admin-badge-DR_8AhdC.js.map +0 -1
  162. package/dist/admin-button-DBzTD6By.js.map +0 -1
  163. package/dist/admin-capabilities-CZdT1Pxe.js.map +0 -1
  164. package/dist/admin-card-mZl4-s5d.js.map +0 -1
  165. package/dist/admin-catalog-DpTjS0Yo.js.map +0 -1
  166. package/dist/admin-confirm-katGq0Qo.js.map +0 -1
  167. package/dist/admin-csv-CPoNZj2D.js.map +0 -1
  168. package/dist/admin-cursor-pager-C-KjCIy9.js.map +0 -1
  169. package/dist/admin-customers-BE3N839X.js.map +0 -1
  170. package/dist/admin-dashboard-BxjkV15J.js.map +0 -1
  171. package/dist/admin-data-table-D89AwWz_.js.map +0 -1
  172. package/dist/admin-detail-BKe9xqPd.js +0 -338
  173. package/dist/admin-detail-BKe9xqPd.js.map +0 -1
  174. package/dist/admin-detail-C8lD7U2t.js.map +0 -1
  175. package/dist/admin-detail-D6zD085K.js.map +0 -1
  176. package/dist/admin-detail-Ln56otK0.js.map +0 -1
  177. package/dist/admin-detail-P-UnNvXJ.js +0 -1357
  178. package/dist/admin-dialog-Dn2FRJu4.js.map +0 -1
  179. package/dist/admin-dialog-width-CC7QHT1p.js.map +0 -1
  180. package/dist/admin-dom-C7Y7A6Wa.js.map +0 -1
  181. package/dist/admin-dropdown-menu-DLUn6Uj3.js.map +0 -1
  182. package/dist/admin-dunning-COaHzrmN.js.map +0 -1
  183. package/dist/admin-fact-card-DKvBnUXB.js.map +0 -1
  184. package/dist/admin-form-field-errors-hbUMIriS.js.map +0 -1
  185. package/dist/admin-format-BbiTCqUG.js.map +0 -1
  186. package/dist/admin-health-DmnI4e8K.js.map +0 -1
  187. package/dist/admin-imports-C0aMP6sj.js.map +0 -1
  188. package/dist/admin-input-JKrQIGfD.js.map +0 -1
  189. package/dist/admin-invoice-profile-model-Cgjy3zV8.js.map +0 -1
  190. package/dist/admin-label-CHWsVIZC.js.map +0 -1
  191. package/dist/admin-linked-table-row-BMZYYsuk.js.map +0 -1
  192. package/dist/admin-map-dialog-BHUGdCcv.js.map +0 -1
  193. package/dist/admin-mapping-csv-FtkyTBmk.js.map +0 -1
  194. package/dist/admin-metering-CDqueHUh.js +0 -1721
  195. package/dist/admin-metering-CDqueHUh.js.map +0 -1
  196. package/dist/admin-missing-record-BPFs3MmO.js.map +0 -1
  197. package/dist/admin-ops-CL2kjDwi.js.map +0 -1
  198. package/dist/admin-orders-C1Sf2qhc.js.map +0 -1
  199. package/dist/admin-parked-a0tB5bhG.js.map +0 -1
  200. package/dist/admin-payments-DJcjwRA4.js.map +0 -1
  201. package/dist/admin-price-detail-BOmeWw15.js.map +0 -1
  202. package/dist/admin-price-format-CqOmHrIn.js.map +0 -1
  203. package/dist/admin-price-wizard-B6s5OJeO.js +0 -356
  204. package/dist/admin-price-wizard-B6s5OJeO.js.map +0 -1
  205. package/dist/admin-proposals-DVrl-ym4.js.map +0 -1
  206. package/dist/admin-provider-prices-BVVogH7Q.js.map +0 -1
  207. package/dist/admin-range-picker-C6BtSm2B.js.map +0 -1
  208. package/dist/admin-records-DKtcgN11.js +0 -391
  209. package/dist/admin-records-DKtcgN11.js.map +0 -1
  210. package/dist/admin-reports-CtPoiceH.js.map +0 -1
  211. package/dist/admin-select-6Yuh5M1Q.js.map +0 -1
  212. package/dist/admin-settings-DscHu4ww.js.map +0 -1
  213. package/dist/admin-shared-BywM-MMp.js.map +0 -1
  214. package/dist/admin-skeleton-lndmw89u.js.map +0 -1
  215. package/dist/admin-subscriptions-Cd5CGrue.js.map +0 -1
  216. package/dist/admin-switch-DpwQSzEm.js.map +0 -1
  217. package/dist/admin-table-D-GdGM1m.js.map +0 -1
  218. package/dist/admin-tabs-B--1flzO.js.map +0 -1
  219. package/dist/admin-textarea-xsp5V9xM.js.map +0 -1
  220. package/dist/admin-tile-grids-CzGpidd9.js.map +0 -1
  221. package/dist/admin-typed-confirm-dialog-NiEDwX_0.js.map +0 -1
  222. package/dist/admin-widget-viz-kHHVmDEx.js.map +0 -1
  223. package/dist/client-ctrbivyN.js.map +0 -1
  224. package/dist/create-card-BEILS1VB-DeyyfyFD.js.map +0 -1
  225. package/dist/create-card-display-Dv5pcpzc-BWB6vzo2.js.map +0 -1
  226. package/dist/create-copy-button-CAYmfugS-qNapojfj.js.map +0 -1
  227. package/dist/dist-CslWupfi.js.map +0 -1
  228. package/dist/hooks-KpTetx6F.js.map +0 -1
  229. package/dist/index-rGw83t5v-BE6naeQR.js.map +0 -1
package/dist/admin.js CHANGED
@@ -1,11 +1,11 @@
1
- import { D as e, E as t, O as n, T as r, _ as i, a, d as o, f as s, g as c, h as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, w as v } from "./admin-utils-wuPUD0uh.js";
2
- import { a as y, i as b, n as x, o as S, r as C, s as w, t as ee } from "./admin-dropdown-menu-DLUn6Uj3.js";
3
- import { t as T } from "./admin-button-DBzTD6By.js";
4
- import { i as E, o as te, p as D, t as ne, u as O } from "./admin-capabilities-CZdT1Pxe.js";
5
- import { t as k } from "./admin-auth-DlIOmwPo.js";
6
- import { p as re, s as ie } from "./admin-format-BbiTCqUG.js";
7
- import { t as ae } from "./admin-confirm-katGq0Qo.js";
8
- import { n as oe } from "./admin-status-badge-IL8ofZ_6.js";
1
+ import { D as e, E as t, O as n, T as r, _ as i, a, d as o, f as s, g as c, h as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g, v as _, w as v } from "./admin-utils-CX097OR7.js";
2
+ import { a as y, i as b, n as x, o as S, r as C, s as w, t as ee } from "./admin-dropdown-menu-CU9RxoEJ.js";
3
+ import { t as T } from "./admin-button-Bn4otsuw.js";
4
+ import { i as E, o as te, p as D, t as ne, u as O } from "./admin-capabilities-DS-X-__V.js";
5
+ import { t as k } from "./admin-auth-BUUdvmqC.js";
6
+ import { p as re, s as ie } from "./admin-format-D9Ablh0P.js";
7
+ import { t as ae } from "./admin-confirm-DWq-edDC.js";
8
+ import { n as oe } from "./admin-status-badge-BLEGt2Fw.js";
9
9
  import * as A from "react";
10
10
  import { Component as se, Suspense as ce, createElement as le, lazy as j, useCallback as M, useEffect as N, useId as ue, useLayoutEffect as de, useMemo as P, useRef as fe, useState as F, useSyncExternalStore as pe } from "react";
11
11
  import { QueryCache as me, QueryClient as he, QueryClientProvider as ge, useQuery as I } from "@tanstack/react-query";
@@ -24,7 +24,7 @@ import { AlertDialog as G } from "@base-ui/react/alert-dialog";
24
24
  import { SignInPanel as He, StepUpProvider as Ue, useStepUpGuard as We } from "@openrails/auth-ui";
25
25
  import { useAuthClient as Ge, useSession as Ke } from "@openrails/auth-ui/react";
26
26
  import { AuthAdmin as qe, useGroupAdminAccess as Je, useHistoryNavigation as Ye, useUsersAdminAccess as Xe } from "@openrails/auth-ui/admin";
27
- //#region src/appearance.ts
27
+ // src/appearance.ts
28
28
  var Ze = {
29
29
  background: "--background",
30
30
  foreground: "--foreground",
@@ -47,120 +47,119 @@ function K(e, t = "orck") {
47
47
  for (let [e, i] of Object.entries(n)) i && (r[Ze[e].replace("--orck-", `--${t}-`)] = i);
48
48
  return r;
49
49
  }
50
- //#endregion
51
- //#region src/admin/routes.tsx
50
+ // src/admin/routes.tsx
52
51
  var Qe = [
53
52
  {
54
53
  path: "/payments/attempts",
55
- Component: j(() => import("./admin-attempts-CP5CWyNR.js").then((e) => ({ default: e.AttemptsPage })))
54
+ Component: j(() => import("./admin-attempts-DjgBAbx9.js").then((e) => ({ default: e.AttemptsPage })))
56
55
  },
57
56
  {
58
57
  path: "/catalog/metering",
59
- Component: j(() => import("./admin-metering-CDqueHUh.js").then((e) => ({ default: e.CatalogMeteringPage })))
58
+ Component: j(() => import("./admin-metering-DM4KhjOq.js").then((e) => ({ default: e.CatalogMeteringPage })))
60
59
  },
61
60
  {
62
61
  path: "/payments/health",
63
- Component: j(() => import("./admin-health-DmnI4e8K.js").then((e) => ({ default: e.PaymentHealthPage })))
62
+ Component: j(() => import("./admin-health-CnagC763.js").then((e) => ({ default: e.PaymentHealthPage })))
64
63
  },
65
64
  {
66
65
  path: "/payments/cycles",
67
- Component: j(() => import("./admin-attempts-CP5CWyNR.js").then((e) => ({ default: e.CyclesPage })))
66
+ Component: j(() => import("./admin-attempts-DjgBAbx9.js").then((e) => ({ default: e.CyclesPage })))
68
67
  },
69
68
  {
70
69
  path: "/catalog/prices",
71
- Component: j(() => import("./admin-catalog-DpTjS0Yo.js").then((e) => ({ default: e.CatalogPricesPage })))
70
+ Component: j(() => import("./admin-catalog-BdLDhr8R.js").then((e) => ({ default: e.CatalogPricesPage })))
72
71
  },
73
72
  {
74
73
  path: "/subscriptions",
75
- Component: j(() => import("./admin-subscriptions-Cd5CGrue.js").then((e) => ({ default: e.SubscriptionsPage })))
74
+ Component: j(() => import("./admin-subscriptions-PL5G3f0O.js").then((e) => ({ default: e.SubscriptionsPage })))
76
75
  },
77
76
  {
78
77
  path: "/customers",
79
- Component: j(() => import("./admin-customers-BE3N839X.js").then((e) => ({ default: e.CustomersPage })))
78
+ Component: j(() => import("./admin-customers-BZP6Jv-i.js").then((e) => ({ default: e.CustomersPage })))
80
79
  },
81
80
  {
82
81
  path: "/payments",
83
- Component: j(() => import("./admin-payments-DJcjwRA4.js").then((e) => ({ default: e.PaymentsPage })))
82
+ Component: j(() => import("./admin-payments-B4hh31PR.js").then((e) => ({ default: e.PaymentsPage })))
84
83
  },
85
84
  {
86
85
  path: "/settings",
87
- Component: j(() => import("./admin-settings-DscHu4ww.js").then((e) => ({ default: e.SettingsPage })))
86
+ Component: j(() => import("./admin-settings-BrvNTJlM.js").then((e) => ({ default: e.SettingsPage })))
88
87
  },
89
88
  {
90
89
  path: "/reports",
91
- Component: j(() => import("./admin-reports-CtPoiceH.js").then((e) => ({ default: e.ReportsPage })))
90
+ Component: j(() => import("./admin-reports-CAHWO_d6.js").then((e) => ({ default: e.ReportsPage })))
92
91
  },
93
92
  {
94
93
  path: "/catalog",
95
- Component: j(() => import("./admin-catalog-DpTjS0Yo.js").then((e) => ({ default: e.CatalogProductsPage })))
94
+ Component: j(() => import("./admin-catalog-BdLDhr8R.js").then((e) => ({ default: e.CatalogProductsPage })))
96
95
  },
97
96
  {
98
97
  path: "/orders",
99
- Component: j(() => import("./admin-orders-C1Sf2qhc.js").then((e) => ({ default: e.OrdersPage })))
98
+ Component: j(() => import("./admin-orders-D_aqV66h.js").then((e) => ({ default: e.OrdersPage })))
100
99
  },
101
100
  {
102
101
  path: "/ops/imports",
103
- Component: j(() => import("./admin-imports-C0aMP6sj.js").then((e) => ({ default: e.ImportsPage })))
102
+ Component: j(() => import("./admin-imports-SM_fKKgW.js").then((e) => ({ default: e.ImportsPage })))
104
103
  },
105
104
  {
106
105
  path: "/ops/imports/:id",
107
- Component: j(() => import("./admin-detail-Ln56otK0.js").then((e) => ({ default: e.ImportDetailPage })))
106
+ Component: j(() => import("./admin-detail-C6VH3i2v.js").then((e) => ({ default: e.ImportDetailPage })))
108
107
  },
109
108
  {
110
109
  path: "/ops/imports/:id/records",
111
- Component: j(() => import("./admin-records-DKtcgN11.js").then((e) => ({ default: e.ImportRecordsPage })))
110
+ Component: j(() => import("./admin-records-CWbfqyT8.js").then((e) => ({ default: e.ImportRecordsPage })))
112
111
  },
113
112
  {
114
113
  path: "/ops/provider-prices",
115
- Component: j(() => import("./admin-provider-prices-BVVogH7Q.js").then((e) => ({ default: e.ProviderPricesPage })))
114
+ Component: j(() => import("./admin-provider-prices-B8Oc86dP.js").then((e) => ({ default: e.ProviderPricesPage })))
116
115
  },
117
116
  {
118
117
  path: "/ops/proposals",
119
- Component: j(() => import("./admin-proposals-DVrl-ym4.js").then((e) => ({ default: e.ProposalsPage })))
118
+ Component: j(() => import("./admin-proposals-DPRFoWel.js").then((e) => ({ default: e.ProposalsPage })))
120
119
  },
121
120
  {
122
121
  path: "/ops/parked",
123
- Component: j(() => import("./admin-parked-a0tB5bhG.js").then((e) => ({ default: e.ParkedPage })))
122
+ Component: j(() => import("./admin-parked-2FjIfyMg.js").then((e) => ({ default: e.ParkedPage })))
124
123
  },
125
124
  {
126
125
  path: "/ops",
127
- Component: j(() => import("./admin-ops-CL2kjDwi.js").then((e) => ({ default: e.OpsPage })))
126
+ Component: j(() => import("./admin-ops-mwzj-jpg.js").then((e) => ({ default: e.OpsPage })))
128
127
  },
129
128
  {
130
129
  path: "/",
131
- Component: j(() => import("./admin-dashboard-BxjkV15J.js").then((e) => ({ default: e.DashboardPage })))
130
+ Component: j(() => import("./admin-dashboard-BJSonknv.js").then((e) => ({ default: e.DashboardPage })))
132
131
  },
133
132
  {
134
133
  path: "/customers/:customerId",
135
- Component: j(() => import("./admin-detail-P-UnNvXJ.js").then((e) => ({ default: e.CustomerDetailPage })))
134
+ Component: j(() => import("./admin-detail-C03O0R6e.js").then((e) => ({ default: e.CustomerDetailPage })))
136
135
  },
137
136
  {
138
137
  path: "/payments/attempts/:id",
139
- Component: j(() => import("./admin-attempts-CP5CWyNR.js").then((e) => ({ default: e.AttemptDetailPage })))
138
+ Component: j(() => import("./admin-attempts-DjgBAbx9.js").then((e) => ({ default: e.AttemptDetailPage })))
140
139
  },
141
140
  {
142
141
  path: "/catalog/metering/:key",
143
- Component: j(() => import("./admin-metering-CDqueHUh.js").then((e) => ({ default: e.MeterDetailPage })))
142
+ Component: j(() => import("./admin-metering-DM4KhjOq.js").then((e) => ({ default: e.MeterDetailPage })))
144
143
  },
145
144
  {
146
145
  path: "/payments/cycles/:id",
147
- Component: j(() => import("./admin-attempts-CP5CWyNR.js").then((e) => ({ default: e.CycleDetailPage })))
146
+ Component: j(() => import("./admin-attempts-DjgBAbx9.js").then((e) => ({ default: e.CycleDetailPage })))
148
147
  },
149
148
  {
150
149
  path: "/catalog/prices/:id",
151
- Component: j(() => import("./admin-price-detail-BOmeWw15.js").then((e) => ({ default: e.PriceDetailPage })))
150
+ Component: j(() => import("./admin-price-detail--5Bovz20.js").then((e) => ({ default: e.PriceDetailPage })))
152
151
  },
153
152
  {
154
153
  path: "/subscriptions/:id",
155
- Component: j(() => import("./admin-detail-C8lD7U2t.js").then((e) => ({ default: e.SubscriptionDetailPage })))
154
+ Component: j(() => import("./admin-detail-CQws8363.js").then((e) => ({ default: e.SubscriptionDetailPage })))
156
155
  },
157
156
  {
158
157
  path: "/payments/:id",
159
- Component: j(() => import("./admin-detail-BKe9xqPd.js").then((e) => ({ default: e.PaymentDetailPage })))
158
+ Component: j(() => import("./admin-detail-NApy5bio.js").then((e) => ({ default: e.PaymentDetailPage })))
160
159
  },
161
160
  {
162
161
  path: "/orders/:id",
163
- Component: j(() => import("./admin-detail-D6zD085K.js").then((e) => ({ default: e.OrderDetailPage })))
162
+ Component: j(() => import("./admin-detail-cijme9Lc.js").then((e) => ({ default: e.OrderDetailPage })))
164
163
  }
165
164
  ];
166
165
  function $e(e) {
@@ -195,8 +194,7 @@ function et() {
195
194
  children: /* @__PURE__ */ R(t, { id: "This billing page does not exist." })
196
195
  });
197
196
  }
198
- //#endregion
199
- //#region src/admin/hooks/use-mobile.ts
197
+ // src/admin/hooks/use-mobile.ts
200
198
  var tt = "(max-width: 767px)", nt = (e) => {
201
199
  let t = window.matchMedia(tt);
202
200
  return t.addEventListener("change", e), () => t.removeEventListener("change", e);
@@ -204,8 +202,7 @@ var tt = "(max-width: 767px)", nt = (e) => {
204
202
  function rt() {
205
203
  return pe(nt, () => window.matchMedia(tt).matches, () => !1);
206
204
  }
207
- //#endregion
208
- //#region src/admin/components/ui/separator.tsx
205
+ // src/admin/components/ui/separator.tsx
209
206
  function it({ className: e, orientation: t = "horizontal", ...n }) {
210
207
  return /* @__PURE__ */ R(Ve, {
211
208
  "data-slot": "separator",
@@ -214,8 +211,7 @@ function it({ className: e, orientation: t = "horizontal", ...n }) {
214
211
  ...n
215
212
  });
216
213
  }
217
- //#endregion
218
- //#region src/admin/components/ui/sheet.tsx
214
+ // src/admin/components/ui/sheet.tsx
219
215
  function at({ ...e }) {
220
216
  return /* @__PURE__ */ R(U.Root, {
221
217
  "data-slot": "sheet",
@@ -277,8 +273,7 @@ function dt({ className: e, ...t }) {
277
273
  ...t
278
274
  });
279
275
  }
280
- //#endregion
281
- //#region src/admin/components/ui/tooltip.tsx
276
+ // src/admin/components/ui/tooltip.tsx
282
277
  function ft({ delay: e = 0, ...t }) {
283
278
  return /* @__PURE__ */ R(W.Provider, {
284
279
  "data-slot": "tooltip-provider",
@@ -316,8 +311,7 @@ function ht({ className: e, side: t = "top", sideOffset: n = 4, align: r = "cent
316
311
  })
317
312
  });
318
313
  }
319
- //#endregion
320
- //#region src/admin/components/ui/sidebar.tsx
314
+ // src/admin/components/ui/sidebar.tsx
321
315
  var gt = "16rem", _t = "18rem", vt = "3rem", yt = "b", q = A.createContext(null);
322
316
  function J() {
323
317
  let e = A.useContext(q);
@@ -583,8 +577,7 @@ function It({ render: e, size: t = "md", isActive: n = !1, className: r, ...i })
583
577
  }
584
578
  });
585
579
  }
586
- //#endregion
587
- //#region src/admin/navigation.tsx
580
+ // src/admin/navigation.tsx
588
581
  var Y = [
589
582
  {
590
583
  title: "Dashboard",
@@ -704,8 +697,7 @@ var Y = [
704
697
  order: 70
705
698
  }
706
699
  ].map((e) => ({ ...e }));
707
- //#endregion
708
- //#region src/admin/components/app-sidebar.tsx
700
+ // src/admin/components/app-sidebar.tsx
709
701
  function Lt(e, t, n) {
710
702
  return t === n ? e === t : e.startsWith(t);
711
703
  }
@@ -824,8 +816,7 @@ function Ht() {
824
816
  })] })]
825
817
  })] }) }) });
826
818
  }
827
- //#endregion
828
- //#region src/admin/components/no-access.tsx
819
+ // src/admin/components/no-access.tsx
829
820
  function Ut({ area: e }) {
830
821
  return /* @__PURE__ */ R("div", {
831
822
  className: "flex items-center justify-center py-16",
@@ -841,8 +832,7 @@ function Ut({ area: e }) {
841
832
  })
842
833
  });
843
834
  }
844
- //#endregion
845
- //#region src/admin/components/no-merchants.tsx
835
+ // src/admin/components/no-merchants.tsx
846
836
  function Wt() {
847
837
  let { props: e } = s();
848
838
  return /* @__PURE__ */ R("div", {
@@ -854,8 +844,7 @@ function Wt() {
854
844
  })] })
855
845
  });
856
846
  }
857
- //#endregion
858
- //#region src/admin/components/notification-bell.tsx
847
+ // src/admin/components/notification-bell.tsx
859
848
  function Gt() {
860
849
  let { text: e } = n(), { adminQueries: r } = f(), i = m(), [a, o] = A.useState(!1), s = D(), c = O(), { data: l = 0 } = I({
861
850
  ...r.unreadNotifications(),
@@ -945,8 +934,7 @@ function Gt() {
945
934
  })]
946
935
  });
947
936
  }
948
- //#endregion
949
- //#region src/admin/components/ui/breadcrumb.tsx
937
+ // src/admin/components/ui/breadcrumb.tsx
950
938
  function Kt({ className: e, ...t }) {
951
939
  let { text: r } = n();
952
940
  return /* @__PURE__ */ R("nav", {
@@ -998,8 +986,7 @@ function Xt({ children: e, className: t, ...n }) {
998
986
  children: e ?? /* @__PURE__ */ R(Me, {})
999
987
  });
1000
988
  }
1001
- //#endregion
1002
- //#region src/admin/components/site-header.tsx
989
+ // src/admin/components/site-header.tsx
1003
990
  function Zt({ trail: e }) {
1004
991
  let { activeMerchant: n } = k(), r = O();
1005
992
  return /* @__PURE__ */ z("header", {
@@ -1024,8 +1011,7 @@ function Zt({ trail: e }) {
1024
1011
  ]
1025
1012
  });
1026
1013
  }
1027
- //#endregion
1028
- //#region src/admin/layouts/app-layout.tsx
1014
+ // src/admin/layouts/app-layout.tsx
1029
1015
  var Qt = [
1030
1016
  ["/customers", [{ label: "Customers" }]],
1031
1017
  ["/subscriptions", [{ label: "Subscriptions" }]],
@@ -1121,8 +1107,7 @@ function en({ children: e }) {
1121
1107
  })]
1122
1108
  }) }) : /* @__PURE__ */ R(Wt, {});
1123
1109
  }
1124
- //#endregion
1125
- //#region src/admin/components/ui/alert-dialog.tsx
1110
+ // src/admin/components/ui/alert-dialog.tsx
1126
1111
  function tn({ ...e }) {
1127
1112
  return /* @__PURE__ */ R(G.Root, {
1128
1113
  "data-slot": "alert-dialog",
@@ -1197,8 +1182,7 @@ function dn({ className: e, variant: t = "outline", size: n = "default", ...r })
1197
1182
  ...r
1198
1183
  });
1199
1184
  }
1200
- //#endregion
1201
- //#region src/admin/components/confirm.tsx
1185
+ // src/admin/components/confirm.tsx
1202
1186
  function fn({ children: e }) {
1203
1187
  let [t, n] = A.useState(null), [r, i] = A.useState(!1), a = A.useRef(null), o = A.useCallback((e) => {
1204
1188
  a.current?.(e), a.current = null, i(!1);
@@ -1220,8 +1204,7 @@ function fn({ children: e }) {
1220
1204
  })]
1221
1205
  });
1222
1206
  }
1223
- //#endregion
1224
- //#region src/admin/components/ui/sonner.tsx
1207
+ // src/admin/components/ui/sonner.tsx
1225
1208
  var pn = ({ ...e }) => {
1226
1209
  let t = s().props.appearance?.theme ?? "system";
1227
1210
  return /* @__PURE__ */ R(_e, {
@@ -1255,8 +1238,7 @@ function hn(e) {
1255
1238
  let t = e;
1256
1239
  return t?.name === "ChunkLoadError" || mn.some((e) => e.test(t?.message ?? ""));
1257
1240
  }
1258
- //#endregion
1259
- //#region src/admin/components/route-error.tsx
1241
+ // src/admin/components/route-error.tsx
1260
1242
  function gn({ error: e }) {
1261
1243
  let n = hn(e), r = e instanceof Error ? e.message : "";
1262
1244
  return /* @__PURE__ */ z("div", {
@@ -1287,8 +1269,7 @@ function gn({ error: e }) {
1287
1269
  })]
1288
1270
  });
1289
1271
  }
1290
- //#endregion
1291
- //#region src/admin/lib/query-client.ts
1272
+ // src/admin/lib/query-client.ts
1292
1273
  function _n(e, t) {
1293
1274
  return t instanceof v && t.status > 0 && t.status < 500 ? !1 : e < 2;
1294
1275
  }
@@ -1316,8 +1297,7 @@ function Z(e = "inherit") {
1316
1297
  let t = pe(e === "auto" ? bn : Cn, xn, Sn);
1317
1298
  return e === "auto" ? t : e;
1318
1299
  }
1319
- //#endregion
1320
- //#region src/admin/billing-admin.tsx
1300
+ // src/admin/billing-admin.tsx
1321
1301
  var wn = (e) => typeof e == "string" ? {
1322
1302
  id: e,
1323
1303
  slug: e
@@ -1412,8 +1392,7 @@ function On({ children: e }) {
1412
1392
  let t = d();
1413
1393
  return /* @__PURE__ */ R(Dn, { children: e }, t.pathname);
1414
1394
  }
1415
- //#endregion
1416
- //#region src/admin/summary.tsx
1395
+ // src/admin/summary.tsx
1417
1396
  function kn(e) {
1418
1397
  let t = typeof e.merchant == "string" ? e.merchant : e.merchant?.id, n = typeof e.merchant == "string" ? e.merchant : e.merchant?.slug;
1419
1398
  return P(() => _(r({
@@ -1610,8 +1589,7 @@ var Ln = {
1610
1589
  "orders:manage": "Preview, create, and withdraw merchant orders through the application API.",
1611
1590
  "customers:read": "Read merchant customer identity and billing settings."
1612
1591
  }, Rn = Object.fromEntries(["merchant", "root"].flatMap((e) => Object.entries(Ln).map(([t, n]) => [`${e}:${t}`, `${n} ${e === "root" ? "Applies across merchants." : "Applies within this merchant."}`])));
1613
- //#endregion
1614
- //#region src/admin/console.tsx
1592
+ // src/admin/console.tsx
1615
1593
  function zn(e) {
1616
1594
  let t = Ke(), n = Ye(), r = e.navigation ?? n, i = Z(e.appearance?.theme), a;
1617
1595
  return a = t.status === "loading" ? /* @__PURE__ */ R($, { children: "Loading…" }) : t.status === "authenticated" ? /* @__PURE__ */ R(Ue, {
@@ -1746,8 +1724,7 @@ function $({ children: e }) {
1746
1724
  children: e
1747
1725
  });
1748
1726
  }
1749
- //#endregion
1750
- //#region src/admin/messages.ts
1727
+ // src/admin/messages.ts
1751
1728
  var Un = {
1752
1729
  "Sold by OpenRails": "Sold by OpenRails",
1753
1730
  "OpenRails bills this price through your card vault and charge PSPs, and on Solana. Provider catalogs are not synchronized. Hosted one-time Stripe payments use inline checkout objects.": "OpenRails bills this price through your card vault and charge PSPs, and on Solana. Provider catalogs are not synchronized. Hosted one-time Stripe payments use inline checkout objects.",
@@ -2699,7 +2676,6 @@ var Un = {
2699
2676
  Ignored: "Ignored",
2700
2677
  Imported: "Imported"
2701
2678
  };
2702
- //#endregion
2703
2679
  export { zn as AdminConsole, Tn as BillingAdmin, Nn as BillingCustomerSummary, Un as billingAdminMessages, Pn as billingConfirmWarnings, Rn as billingPermissionHelp, In as loadBillingConfirmWarnings, jn as useBillingAdminAccess };
2704
2680
 
2705
2681
  //# sourceMappingURL=admin.js.map