appmax-client-vue3 5.0.8 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (846) hide show
  1. package/dist/AD-Ct_GVBfr-cQ4a5cfc.js +16 -0
  2. package/dist/AE-DiMVenwy-B0rz611J.js +16 -0
  3. package/dist/AF-DOrptOkS-Dlg85nbj.js +16 -0
  4. package/dist/AG-CzBMAtom-BeDRehUY.js +16 -0
  5. package/dist/AI-A2DnDGPS-CZ6Eldry.js +16 -0
  6. package/dist/AL-BcGdPXjJ-D5CkFm-n.js +16 -0
  7. package/dist/AM-BC_r4gTd-CVKMijUT.js +16 -0
  8. package/dist/AO-D6GK49nd-D7IiVztu.js +16 -0
  9. package/dist/AQ-Eeziry42-Dd9d6wBV.js +16 -0
  10. package/dist/AR-AbqVWszQ-BYJGpzRw.js +16 -0
  11. package/dist/AS-BWe_Gq8Z-DYbC4AK5.js +16 -0
  12. package/dist/AT-b5CS9jSt-CwgwoLk5.js +16 -0
  13. package/dist/AU-BUbOyX6Q-BR8bScxE.js +16 -0
  14. package/dist/AW-CjVdJTYe-BEWtgL7i.js +16 -0
  15. package/dist/AX-lNtwEmw2-DwtL35kv.js +16 -0
  16. package/dist/AZ-f8zSo9ut-Clg7Ojde.js +16 -0
  17. package/dist/AmBulletLegend-BvtiCFd0.js +23 -0
  18. package/dist/AmCardV3-DchSFKey.js +22 -0
  19. package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-DsWUFoqV.js +36 -0
  20. package/dist/AmDoughnutChartAdapted-CJG9jUIL.js +203 -0
  21. package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-CwhBcd2N.js +86 -0
  22. package/dist/AmFilterLevelDateSelect-BbVyzCa5-D_T-NL5-.js +40 -0
  23. package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-B9Hskzfm.js +46 -0
  24. package/dist/AmFilterLevelSelectFilter-Be3LFJno-CKHWbmVG.js +63 -0
  25. package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-Bwvn-xR-.js +53 -0
  26. package/dist/AmLayoutFeedbackState-CXpvQO-G.js +48 -0
  27. package/dist/AmLayoutInnerData-BW49gIDt.js +162 -0
  28. package/dist/AmModalV3-__l_KnZk.js +105 -0
  29. package/dist/AmOutlineCard-Cekp1WHd.js +25 -0
  30. package/dist/AmSkeleton-QAeglqE9.js +35 -0
  31. package/dist/AmText-zmP_zSVS.js +33 -0
  32. package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-V7VwltuB.js +64 -0
  33. package/dist/ApiService-FI00lUqN.js +11 -0
  34. package/dist/AppInstallationConfirmationPasswordModal-ecvzv_Z_.js +535 -0
  35. package/dist/AppstoreAppView-po5NMNho.js +315 -0
  36. package/dist/AppstoreHomeView-BxwsWd66.js +1372 -0
  37. package/dist/BA-BfV7_7RP-CdtL3_u-.js +16 -0
  38. package/dist/BB-CC4768VM-DhLhAhe3.js +16 -0
  39. package/dist/BD-YQdTTbhg-DMtDeVAb.js +16 -0
  40. package/dist/BE-DUYoRyei-BEvudZKj.js +16 -0
  41. package/dist/BF-XZRLkaHX-CR9EjaP1.js +16 -0
  42. package/dist/BG-BAb8lAFP-HLg34ECL.js +16 -0
  43. package/dist/BH-C1LTB8Fj-Cppsgy8O.js +16 -0
  44. package/dist/BI-RjDfMipp-CE9l_Iq7.js +16 -0
  45. package/dist/BJ-DAv61IMB-DoCbv9L0.js +16 -0
  46. package/dist/BL-CFW4iaQd-DOahUSHv.js +16 -0
  47. package/dist/BM-DuK3dA1G-CxqP9OfR.js +16 -0
  48. package/dist/BN-BXHGopan-Cd85uOXy.js +16 -0
  49. package/dist/BO-CzuoErsx-_03XuXuC.js +16 -0
  50. package/dist/BQ-BO-BlM1Uin3-BOIkHen7.js +16 -0
  51. package/dist/BQ-SA-BninfeHy-C0GHoFPH.js +16 -0
  52. package/dist/BQ-SE-tq-mCvpl-2WPWzedA.js +16 -0
  53. package/dist/BR-B1GEJ05L-C2ZZAif9.js +16 -0
  54. package/dist/BS-MeULPH4e-DBaOraYK.js +16 -0
  55. package/dist/BT-BCfQJS6a-BLC_WdcS.js +16 -0
  56. package/dist/BV-CfaYWvM--D_KJlJOQ.js +16 -0
  57. package/dist/BW-jYbPMHhQ-C8Lb5icG.js +16 -0
  58. package/dist/BY-Ddffd2rT-C1GAdhV2.js +16 -0
  59. package/dist/BZ-B7mGW2Jg-CNw4DD-d.js +16 -0
  60. package/dist/BankAccountCrossborderNew.page-DQux5zf0.js +152 -0
  61. package/dist/BankAccountList.page-Bcu0htSa.js +331 -0
  62. package/dist/BankAccountNew.page-BFoiavha.js +982 -0
  63. package/dist/CA-CHl-cqJL-CnmiElXW.js +16 -0
  64. package/dist/CC-DSLZRwFz-YTiWGcPB.js +16 -0
  65. package/dist/CD-D4NJYkQm-B8y0_cWS.js +16 -0
  66. package/dist/CF-DoxRpaA9-CuuixUxi.js +16 -0
  67. package/dist/CG-Auzp6pC_-B7bNoPPu.js +16 -0
  68. package/dist/CH-B5eEo1aL-4qy6VQ0T.js +16 -0
  69. package/dist/CI-DFfmdeVw-BOnX64b2.js +16 -0
  70. package/dist/CK-CKWUhjXV-DzEW30E0.js +16 -0
  71. package/dist/CL-Di6p-p6X-DTXYGmwx.js +16 -0
  72. package/dist/CM-B0ht31e3-BLfI9WAq.js +16 -0
  73. package/dist/CN-CKHlOciI-C-aeke3f.js +16 -0
  74. package/dist/CO-GBUkcePt-s07s_jAh.js +16 -0
  75. package/dist/CR-Daw5JsjF-jZ_2Z4UI.js +16 -0
  76. package/dist/CU-CVOkcTvR-lLyIKmY2.js +16 -0
  77. package/dist/CV-cyPoze-o-BrLD8oek.js +16 -0
  78. package/dist/CW-Bt-Pwg4j-dTP8U250.js +16 -0
  79. package/dist/CX-uhIZlYzy-D35Qlo9H.js +16 -0
  80. package/dist/CY-un4rgwPX-CyRegt9K.js +16 -0
  81. package/dist/CZ-equ-r4iN-BYkKwBwz.js +16 -0
  82. package/dist/CashoutAntecipateContent-71lG8s1J.js +42 -0
  83. package/dist/ChargebackAnalytics-BMAtpusg.js +1701 -0
  84. package/dist/ChargebackDetail-CIi_nj3p.js +3469 -0
  85. package/dist/ChargebackRate-BwONk0ti.js +77 -0
  86. package/dist/ChatPlayground.page-DNeAXjNS.js +508 -0
  87. package/dist/ConfirmationModal-DZcoE4p9.js +105 -0
  88. package/dist/Create.page-BwAAzAzl.js +1390 -0
  89. package/dist/CreatePaymentLink-DsxEZgio.js +856 -0
  90. package/dist/DE-zx7UmJ-V-C6Nd_yEj.js +16 -0
  91. package/dist/DJ-BN1kIFYT-3r2UiJ_3.js +16 -0
  92. package/dist/DK-CrXXNH_h-D9Wf-1w5.js +16 -0
  93. package/dist/DM-B4nVdNww-8ssbwWEl.js +16 -0
  94. package/dist/DO-C7-NF2JD-Cc3Nswn3.js +16 -0
  95. package/dist/DZ-DSDLbNRb-C5nbVIie.js +16 -0
  96. package/dist/DashboardAmountDetailsContent-DXf9HLWN.js +65 -0
  97. package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-Cq4sWQPa.js +151 -0
  98. package/dist/DashboardApprovalRateInternationalContent-1126PBeG.js +19 -0
  99. package/dist/DashboardApprovalRateNationalContent-Un9xNX9u.js +74 -0
  100. package/dist/DashboardCarouselContent-BKcxX5sL.js +958 -0
  101. package/dist/DashboardDetailsContent-Da7ZFFK-.js +58 -0
  102. package/dist/DashboardHome-BHc3aFZ5.js +4247 -0
  103. package/dist/DetailSubscriptionRecurring-YNgms1UG.js +1296 -0
  104. package/dist/EC-C_bjTYWm-DQSAQg_x.js +16 -0
  105. package/dist/EE-CQIjuoWO-BKGSaehG.js +16 -0
  106. package/dist/EG-Bs_BHfVR-ZP4NC-Hh.js +16 -0
  107. package/dist/EH-CnWam84F-B1rgfhwX.js +16 -0
  108. package/dist/ER-Dcl4hJzq-p-2WkJ5N.js +16 -0
  109. package/dist/ES-Bpj2gAdj-DJP_ReJS.js +16 -0
  110. package/dist/ET-Dm3q0Ruz-CSBD34y6.js +16 -0
  111. package/dist/ExternalPendenciesList-vuGvLENi.js +651 -0
  112. package/dist/FI-DCqfJeiQ-DiOXSu5V.js +16 -0
  113. package/dist/FJ-C6UrGUgI-idgnkQZ1.js +16 -0
  114. package/dist/FK-CAaec31K-LUCrleAe.js +16 -0
  115. package/dist/FM-Cf2SIJ7h-C0LkN_ey.js +16 -0
  116. package/dist/FO-DBb4psBV-CIeJTpSI.js +16 -0
  117. package/dist/FR-CFW4iaQd-Cov3Kjaw.js +16 -0
  118. package/dist/FeatureFlagsPage-acrdmd_r.js +271 -0
  119. package/dist/GA-D3NTxgTl-CMUat5kJ.js +16 -0
  120. package/dist/GB-ENG-Cmkg6Zq8-BpbMuQ63.js +16 -0
  121. package/dist/GB-NIR-DKszcfHi-DwlZuaM1.js +16 -0
  122. package/dist/GB-SCT-BiivwJ71-BLLEmP1l.js +16 -0
  123. package/dist/GB-UKM-DgMBd3ib-HCD8Hp7l.js +16 -0
  124. package/dist/GB-WLS-DLoDy9iv-CzcKhwZE.js +16 -0
  125. package/dist/GD-Bs1d4We7-19F_vAKE.js +16 -0
  126. package/dist/GE-DXG9iLk5-CN9QkBwv.js +16 -0
  127. package/dist/GF-B20s5gtx-By5qiVAi.js +16 -0
  128. package/dist/GG-BAyrpIoO-BuGooC5e.js +16 -0
  129. package/dist/GH-v3jh5r1X-Bp-vIyOi.js +16 -0
  130. package/dist/GI-D39Krd4s-BmRDvhlv.js +16 -0
  131. package/dist/GL-BDd_W5AU-BU6HHyob.js +16 -0
  132. package/dist/GM-BNEHspzj-DdmaiQ9h.js +16 -0
  133. package/dist/GN-DdIZ0X6d-DYhJx77Z.js +16 -0
  134. package/dist/GP-CFW4iaQd-Bo1tmbcC.js +16 -0
  135. package/dist/GQ-CC3X6AMz-BwvSl3jM.js +16 -0
  136. package/dist/GR-C_0rusTd-BwOwPBRj.js +16 -0
  137. package/dist/GS-Db5l22a1-B_h9Qxmy.js +16 -0
  138. package/dist/GT-BhbkqUft-C88-QcxQ.js +16 -0
  139. package/dist/GU-C0HeItm1-DBcEL5CF.js +16 -0
  140. package/dist/GW-BjLM1vg--DMxTq-kM.js +16 -0
  141. package/dist/GY-BreBVlhN-DJ55sRow.js +16 -0
  142. package/dist/HK-BZn9ZQGS-vIGQp2md.js +16 -0
  143. package/dist/HM-BUbOyX6Q-BXNr9FcX.js +16 -0
  144. package/dist/HN-D4wujIPC-CbldF2bA.js +16 -0
  145. package/dist/HR-Jhi3QQ9F-Cw_AHW_j.js +16 -0
  146. package/dist/HT-MMjMjr-R-CX2w4blG.js +16 -0
  147. package/dist/HU-CN5KmQ7F-DtlOlA33.js +16 -0
  148. package/dist/Home-ymfdaQ7h.js +997 -0
  149. package/dist/ID-hVVUTKNG-sIAb1qfL.js +16 -0
  150. package/dist/IE-WN_vdKcS-CBBzgg5k.js +16 -0
  151. package/dist/IL-D5Wr_Xxh-C0oZh3Lg.js +16 -0
  152. package/dist/IM-B-putc0k-BKCxmoAQ.js +16 -0
  153. package/dist/IN-CK40zbQD-Cxrg0oYW.js +16 -0
  154. package/dist/IO-CdvLck7D-YHlBeKul.js +16 -0
  155. package/dist/IQ-f_9wyurt-C06zuJlv.js +16 -0
  156. package/dist/IR-B0yfWttH-veFk0ATO.js +16 -0
  157. package/dist/IS-Dvf-XQTq-BNZH9PeU.js +16 -0
  158. package/dist/IT-uY7cjdFI-_5QAtT6S.js +16 -0
  159. package/dist/ImportTrackingCode-D7QRQAWp.js +1007 -0
  160. package/dist/InternalCompanyIssuesDetail-PnOyPEba.js +862 -0
  161. package/dist/InternalCompanyList-Cmp0unVk.js +351 -0
  162. package/dist/InternalPendencyDetail-CLuG9Mte.js +717 -0
  163. package/dist/JE-C95tN_VG-BX08m1gW.js +16 -0
  164. package/dist/JM-zOuEwaB3-CD5mNaF1.js +16 -0
  165. package/dist/JO-Cq88rrOD-K3GQlzuJ.js +16 -0
  166. package/dist/JP-5evXgWxq-DayJ-KZ8.js +16 -0
  167. package/dist/KE-PHx0d97Z-B6Hii3q8.js +16 -0
  168. package/dist/KG-DT4JnieX-Y3HA5HQb.js +16 -0
  169. package/dist/KH-ChwV2WTT-C-1HZgKx.js +16 -0
  170. package/dist/KI-D212g4Lh-C6tOpEB1.js +16 -0
  171. package/dist/KM-mPVp7AKS-DwgFWirM.js +16 -0
  172. package/dist/KN-AdXLXICN-D_tTBLR-.js +16 -0
  173. package/dist/KP-CC6UIrEF-DqRQZFVN.js +16 -0
  174. package/dist/KR-BtnmWR6C-DbnWwQi4.js +16 -0
  175. package/dist/KW-gqahWVaw-M1jw-wi8.js +16 -0
  176. package/dist/KY-DjIb70VQ-BSKGwNW9.js +16 -0
  177. package/dist/KZ-C_fRihiO-CP6Ba0xF.js +16 -0
  178. package/dist/LA-KIULJHAb-CjjDUUTx.js +16 -0
  179. package/dist/LB-CrF8WJiI-BFkwpo7Y.js +16 -0
  180. package/dist/LC-DGiHXm5V-VV1-k3ZO.js +16 -0
  181. package/dist/LI-BwB0b8M1-DKGXU2GV.js +16 -0
  182. package/dist/LK-BOC44ZgS-CG4ojtF2.js +16 -0
  183. package/dist/LR-CWjRlWOZ-B69hW8zo.js +16 -0
  184. package/dist/LS-B_EgU3p5-xm2YLpZo.js +16 -0
  185. package/dist/LT-BPyPiVx2-Bev6bCoB.js +16 -0
  186. package/dist/LU-B-De6aB--CNDdnCCU.js +16 -0
  187. package/dist/LV-D2Ewe3XC-UPW2O4K6.js +16 -0
  188. package/dist/LY-D1TSt6YI-D7CbspRw.js +16 -0
  189. package/dist/MA-QY5gm-vM-BgJ3AwyY.js +16 -0
  190. package/dist/MC-BjlCjfCP-zt9JtGAk.js +16 -0
  191. package/dist/MD-rh-6rlSt-DYz6V8Ym.js +16 -0
  192. package/dist/ME-D1euo0V2-xSuPx7xq.js +16 -0
  193. package/dist/MF-CFW4iaQd-o5ivcd_I.js +16 -0
  194. package/dist/MG-ONnxn_5g-OV3RzjK9.js +16 -0
  195. package/dist/MH-B8oC_VMS-BEInUSjI.js +16 -0
  196. package/dist/MK-ByjICisj-HrZkORuk.js +16 -0
  197. package/dist/ML-CKVAuhox-d271hbZi.js +16 -0
  198. package/dist/MM-doJuUjVT-CpkpWuHc.js +16 -0
  199. package/dist/MN-BFP303GE-BK0N55gb.js +16 -0
  200. package/dist/MO-Dp4PTSYU-BQ6jydjf.js +16 -0
  201. package/dist/MP-CqKsnjHV-COCvAKgL.js +16 -0
  202. package/dist/MQ-CFW4iaQd-DKuRO5-N.js +16 -0
  203. package/dist/MR-D73q_PiY-BvLzcbCr.js +16 -0
  204. package/dist/MS-qhjKl9TO-DxBH9D3Q.js +16 -0
  205. package/dist/MT-CZjbs1U--2bRBEGgw.js +16 -0
  206. package/dist/MU-D0EQOl0S-CmGwskZb.js +16 -0
  207. package/dist/MV-BtwHRTMn-CRmxmSsB.js +16 -0
  208. package/dist/MW-CVnAR98j-DqbSlXXn.js +16 -0
  209. package/dist/MX-C7vXnCDY-CBGabUPB.js +16 -0
  210. package/dist/MY-DJcgH_o3-B0Mb9IsG.js +16 -0
  211. package/dist/MZ-BbLwl9DA-r2rMNxy6.js +16 -0
  212. package/dist/Max.page-D1QR_4D7.js +599 -0
  213. package/dist/MostSoldCountries-BpXZyeML.js +22 -0
  214. package/dist/NA-5FKNjRGT-DIAPN-BW.js +16 -0
  215. package/dist/NC-CFW4iaQd-12QjGrdU.js +16 -0
  216. package/dist/NE-DpLZJa7D-fkGEADPT.js +16 -0
  217. package/dist/NF-BT-wIfwf-Dn5K-E3E.js +16 -0
  218. package/dist/NG-BAiR_q0H-BP5cPhYh.js +16 -0
  219. package/dist/NI-DylPDojG-DYUmDFYE.js +16 -0
  220. package/dist/NL-iozeFKPM-iSrzMxa3.js +16 -0
  221. package/dist/NO-CfaYWvM--BZD18Z0g.js +16 -0
  222. package/dist/NP-BGR_ZaqA-D83ikQj5.js +16 -0
  223. package/dist/NR-DHGW5Y3Q-BCFLyse6.js +16 -0
  224. package/dist/NU-CcpcSx_x-ldrxnwIn.js +16 -0
  225. package/dist/NZ-DDYt6DcJ-BrepPOGW.js +16 -0
  226. package/dist/OM-D6hiar1r-B8cshEVu.js +16 -0
  227. package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-D91cg92d.js +760 -0
  228. package/dist/OrderStatusChip-BJFgmuFS.js +30 -0
  229. package/dist/Orders.page-0YL_8_QZ.js +1636 -0
  230. package/dist/OrdersChartDataContent-CGjjpDId.js +221 -0
  231. package/dist/OrdersDetails.page-Cmf9bBJQ.js +6158 -0
  232. package/dist/PA-Bi2blxjJ-BX0S7IcZ.js +16 -0
  233. package/dist/PE-D4DjQOlP-TE3f_EhH.js +16 -0
  234. package/dist/PF-DmOSfnYB-BVJ4xDIg.js +16 -0
  235. package/dist/PG-DeOlZ7TA-BIms_fsZ.js +16 -0
  236. package/dist/PH-Dv4KdxU--BDdXb6I3.js +16 -0
  237. package/dist/PK-CRhM95F8-DuWB5O9z.js +16 -0
  238. package/dist/PL-BIdMQAtx-DRPIDEcO.js +16 -0
  239. package/dist/PM-BDa53dEz-gbtyrOf_.js +16 -0
  240. package/dist/PN-Csu7Dufn-Ba-d_Ft6.js +16 -0
  241. package/dist/PR-C_Acdbc_-Cl77mord.js +16 -0
  242. package/dist/PS-Dmg0ofZr-BfCME8S5.js +16 -0
  243. package/dist/PT-Bsck4nv8-DygAj45D.js +16 -0
  244. package/dist/PW-CBMqjpxh-B2rG44yN.js +16 -0
  245. package/dist/PY-Be6zNh15-tYU4qUV3.js +16 -0
  246. package/dist/PaymentsLinks-D6HI3pdu.js +675 -0
  247. package/dist/QA-CZmcW85r-zqwPhBxM.js +16 -0
  248. package/dist/RE-CFW4iaQd-CS_-Uty1.js +16 -0
  249. package/dist/RO-6H4O-gQF-9Jicrxw6.js +16 -0
  250. package/dist/RS-DM7vMnHL-BxXAT_Vd.js +16 -0
  251. package/dist/RU-HqKQeTq2-BujgtJ3G.js +16 -0
  252. package/dist/RW-DkH4VhfP-DUdiTJ9R.js +16 -0
  253. package/dist/RecurringSubscription-C32MglrE.js +548 -0
  254. package/dist/RecurringSubscriptionDashView-DyTtTihP.js +2012 -0
  255. package/dist/RiskPendenciesInternalService-rJoypWGT.js +145 -0
  256. package/dist/SA-C2hBi4Lh-CeImy633.js +16 -0
  257. package/dist/SB-CBu9QLGP-DKciwdOO.js +16 -0
  258. package/dist/SC-CR6esM-V-dutNBgSC.js +16 -0
  259. package/dist/SD-VCXqBHrW-C2doa6cD.js +16 -0
  260. package/dist/SE-DbI0jJm9-CjRUAcNM.js +16 -0
  261. package/dist/SG-DgprfMyV-D0nlBTyF.js +16 -0
  262. package/dist/SH-qhjKl9TO-DELf9VAk.js +16 -0
  263. package/dist/SI-C3dA03Yk-CWGgBRkw.js +16 -0
  264. package/dist/SJ-CfaYWvM--Dp7R65zW.js +16 -0
  265. package/dist/SK-CxbHN7aU-8q25yC6z.js +16 -0
  266. package/dist/SL-GXAaRXng-DaJcXYDs.js +16 -0
  267. package/dist/SM-B2SteTdO-hDdT6VBY.js +16 -0
  268. package/dist/SN-B7Q__Lx_-C6jgvV2P.js +16 -0
  269. package/dist/SO-Bnd5-U9z-BzNooP4d.js +16 -0
  270. package/dist/SR-BHMDOkL2-DAPc_yPF.js +16 -0
  271. package/dist/SS-CsTgWca1-CGHvX4Qh.js +16 -0
  272. package/dist/ST-DLqO0boT-L6q1L6DB.js +16 -0
  273. package/dist/SV-DNZizmQg-BRSfFfcu.js +16 -0
  274. package/dist/SX-DWuXjLwS-CzCo1Z-J.js +16 -0
  275. package/dist/SY-DeOQEBum-CDhVXtrP.js +16 -0
  276. package/dist/SZ-Bhe0qU5K-Dp8xzEbv.js +16 -0
  277. package/dist/SalesRecovery-_DLzFV3x.js +594 -0
  278. package/dist/SalesRecoveryIA-DHKl8o62.js +199 -0
  279. package/dist/SendCustomerRefundLinkPage-CNLu_gSM.js +137 -0
  280. package/dist/StatusDescriptionModal-BxLGl4-v.js +60 -0
  281. package/dist/StatusTag.vue_vue_type_script_setup_true_lang-D3ydXxJX.js +28 -0
  282. package/dist/TC-D5HTaKiF-C4_PBzHq.js +16 -0
  283. package/dist/TD-DyIWvaGg-smh798zz.js +16 -0
  284. package/dist/TF-BRsv64iE-H1UNLWV8.js +16 -0
  285. package/dist/TG-OhNa5jmt-aL38lJKT.js +16 -0
  286. package/dist/TH-F_ODV0JW-CObePbfA.js +16 -0
  287. package/dist/TJ-BFkbbSmN-Bp9h5Ake.js +16 -0
  288. package/dist/TK-Ct75yy7V-CkL3cNC3.js +16 -0
  289. package/dist/TL-BzqVkHGw-DMFnGiNw.js +16 -0
  290. package/dist/TM-CCAvd8qV-HreFi0dS.js +16 -0
  291. package/dist/TN-CmYqbPEz-BICwXMPW.js +16 -0
  292. package/dist/TO-BQQk9Xq_-Dls9C2J3.js +16 -0
  293. package/dist/TR-_MKkCnUV-DrtMq4Hp.js +16 -0
  294. package/dist/TT-DoRURl1c-DMRkYQzw.js +16 -0
  295. package/dist/TV-Dt8uZCP4-BJcxYES6.js +16 -0
  296. package/dist/TW-CvHugvex-yrcUNp2_.js +16 -0
  297. package/dist/TZ-RbwBgiwb-MZzp2FlT.js +16 -0
  298. package/dist/TopSellingProductsContent-DcbIdKPy.js +80 -0
  299. package/dist/UA-BiXHPMqV-X_pOfz_4.js +16 -0
  300. package/dist/UG--it_LhSj-C3CmB1oj.js +16 -0
  301. package/dist/UM-BFcTdeDD-Ca6bKGHn.js +16 -0
  302. package/dist/US-BFcTdeDD-Ca6bKGHn.js +16 -0
  303. package/dist/UY-C26Ndi4P-Cdv7hZFE.js +16 -0
  304. package/dist/UZ-BK5ADwFW-D6faYOTh.js +16 -0
  305. package/dist/UserIndicationsPage-CD94gXNQ.js +723 -0
  306. package/dist/VA-Cpq1n4yW-CXleh6En.js +16 -0
  307. package/dist/VC-D1Fjbog5-Bol3UMjE.js +16 -0
  308. package/dist/VE-CeM-hea7-D1EuUefd.js +16 -0
  309. package/dist/VG-qhjKl9TO-Dk6tD3Mo.js +16 -0
  310. package/dist/VI-C-kcu42_-DyYJQGLH.js +16 -0
  311. package/dist/VN-2yoryeK1-KxQ3v1Du.js +16 -0
  312. package/dist/VU-CkLlsgzP-MOw0lJ3d.js +16 -0
  313. package/dist/WF-BDa53dEz-Cv4Zz5fs.js +16 -0
  314. package/dist/WS-CNi2O6Qm-BAX0gXKQ.js +16 -0
  315. package/dist/WithdrawAdvance-C21L3hkv.js +17 -0
  316. package/dist/WithdrawBankAccountStore-CVDlPvOA.js +283 -0
  317. package/dist/WithdrawBlocked-BKqWTZLl.js +133 -0
  318. package/dist/WithdrawCompanyStore-CHxKed_q.js +80 -0
  319. package/dist/WithdrawGuaranteeExtract-X-HCjUWQ.js +994 -0
  320. package/dist/WithdrawHome-C-6C05Ol.js +2448 -0
  321. package/dist/WithdrawHome-DZrAyOZ7.js +1843 -0
  322. package/dist/WithdrawInternational-DgKlR7Ix.js +17 -0
  323. package/dist/WithdrawMaxStore-B3PBH1iL.js +772 -0
  324. package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-D7KZf2Qb.js +530 -0
  325. package/dist/WithdrawNoAccountWarning-CflrDdFK.js +233 -0
  326. package/dist/WithdrawPermissionGuard-B3LeZ0_f.js +338 -0
  327. package/dist/WithdrawRequest-3rov4tgf.js +944 -0
  328. package/dist/WithdrawRequest-CLQhAy0H.js +17 -0
  329. package/dist/WithdrawRequestDetail-B3mdZJsp.js +284 -0
  330. package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-DbsOIdZK.js +936 -0
  331. package/dist/YE-DxPZysMs-DzragxJ5.js +16 -0
  332. package/dist/YT-BMJJ1U_T-CHf5c1Zf.js +16 -0
  333. package/dist/ZA-BjQXS8mc-DvgOSN9h.js +16 -0
  334. package/dist/ZM-Dw0PmMTO-D-xxXP50.js +16 -0
  335. package/dist/ZW-D0UStZMr-Dm2ZMfrx.js +16 -0
  336. package/dist/affiliate-Bgt9fadK-CRdcNEgb.js +22 -0
  337. package/dist/amex-CvNwRHhS-DpOlUfIT.js +16 -0
  338. package/dist/api-CVmJUdFs.js +11 -0
  339. package/dist/apple_pay-DtsAzVjF-DZXMKGBJ.js +20 -0
  340. package/dist/archive-CFoPOir7-FxMUxr7V.js +18 -0
  341. package/dist/aura-D1VyKb6w-EhZRs8gM.js +23 -0
  342. package/dist/boleto-BQZRi0Q5-DTkw3IPe.js +18 -0
  343. package/dist/box-DNrK38w2-CUXeEk1X.js +20 -0
  344. package/dist/cart-p5jccB8o-CqyX-QdT.js +15 -0
  345. package/dist/cash-FZcelZV1-BgdvLISv.js +20 -0
  346. package/dist/chart-YJ27XOr3-BxdZ-79d.js +22 -0
  347. package/dist/chat.page-BJjdtAlW.js +314 -0
  348. package/dist/credit_card-CGrPYCJP-DFySHKWB.js +15 -0
  349. package/dist/csv-CYa6aPS5-BbIiQlUB.js +18 -0
  350. package/dist/dayjs.min-7XfU6fDJ.js +282 -0
  351. package/dist/diners-CN_1suUM-BS4sOfym.js +26 -0
  352. package/dist/discover-vVTOFEvv-CTEiJaAS.js +22 -0
  353. package/dist/ds-appmax-v322-DEjVIqnW.js +52 -0
  354. package/dist/ds-appmax-v327-5YgkT4NK.js +69 -0
  355. package/dist/ds-appmax-v330-BvjhHQAa.js +48 -0
  356. package/dist/ds-appmax-v335-CQGcJQQM.js +278 -0
  357. package/dist/elo-BaNbqhYS-ByryUukj.js +15 -0
  358. package/dist/gear-BHOWpd7b-DqHHZ0KR.js +18 -0
  359. package/dist/grid-B7I0mWry-63o9HnXS.js +18 -0
  360. package/dist/hipercard-DBsszwxC-CpKftRZd.js +22 -0
  361. package/dist/index-1TAO_57X.js +35 -0
  362. package/dist/index-BIUEFOT9.js +106 -0
  363. package/dist/index-BJk4Q-u4.js +11 -0
  364. package/dist/index-BKhxYpTV.js +21 -0
  365. package/dist/index-BWY1M90P.js +409 -0
  366. package/dist/index-Bgqt2gY9.js +11240 -0
  367. package/dist/index-Bho24dDD.js +21 -0
  368. package/dist/index-BiLKUSSg.js +4133 -0
  369. package/dist/index-Bo8Tof2e.js +534 -0
  370. package/dist/index-Bzowu-ve.js +776 -0
  371. package/dist/index-CAKvVy9Q.js +1204 -0
  372. package/dist/index-CBu74hI0.js +18 -0
  373. package/dist/index-CDiV1Y_I.js +62 -0
  374. package/dist/index-CKsG__7G.js +83 -0
  375. package/dist/index-CYCbWc6H.js +169 -0
  376. package/dist/index-C_zxtMDn.js +1790 -0
  377. package/dist/index-CiNTk-wW.js +117 -0
  378. package/dist/index-CoiG5_hk.js +1567 -0
  379. package/dist/index-DCct0jXR.js +92 -0
  380. package/dist/index-DNpkNHC2.js +219 -0
  381. package/dist/index-DV_S7ph9.js +332 -0
  382. package/dist/index-DiJIhaqE.js +219 -0
  383. package/dist/index-DmY6tbB9.js +230 -0
  384. package/dist/index-DuWgaA5x.js +275 -0
  385. package/dist/index-DumJidcT.js +721 -0
  386. package/dist/index-DvcFCGgJ.js +67 -0
  387. package/dist/index-qlzJGXDe.js +217 -0
  388. package/dist/index-u_uPjqA8.js +681 -0
  389. package/dist/index-yNXUvsaw.js +200 -0
  390. package/dist/index.page-BVcb69Yv.js +737 -0
  391. package/dist/index.page-D93oqiEL.js +827 -0
  392. package/dist/index.page-DkRq8AWa.js +165 -0
  393. package/dist/infos-8KGPLXoE-CK2guUxp.js +18 -0
  394. package/dist/integrations-UOltVEyj-DrwrVVUZ.js +19 -0
  395. package/dist/logs-Ce3fZY0v-BxQYpFRf.js +28 -0
  396. package/dist/maestro-BMomgHxO-DRr2Cw_2.js +27 -0
  397. package/dist/main-BmrFFhAz.js +106856 -0
  398. package/dist/main.js +1 -1
  399. package/dist/mastercard-5I-dcOVV-JlV_Zdw6.js +30 -0
  400. package/dist/max_brand-Crj-SFUw-CbS1tH60.js +29 -0
  401. package/dist/max_brand_active-BIkS5qkP-CsX2Uz1G.js +27 -0
  402. package/dist/max_brand_negative-BxvdIegN-U4kcMaL8.js +30 -0
  403. package/dist/max_brand_white-DdKi2YVX-pGMPdKFh.js +29 -0
  404. package/dist/menu.page-Cn6seTA8.js +274 -0
  405. package/dist/money-DZpB5eTf-KGl0DHH5.js +19 -0
  406. package/dist/notification-DMezLtAj-CMqZVMwv.js +18 -0
  407. package/dist/paypal-DMYjfEw0-Dl8mbEGK.js +15 -0
  408. package/dist/pix-DXdX91yj-CBZPUrLr.js +22 -0
  409. package/dist/pix_outline-D_xXXgCN-tSBYJVZ_.js +16 -0
  410. package/dist/pix_white-CcVsnEF2-BQ2-G5HX.js +24 -0
  411. package/dist/pusher-BecrGDbW.js +4010 -0
  412. package/dist/shield-DS-Xf4WH-M3xE-kgs.js +15 -0
  413. package/dist/solid_help-DNaqfgoc-tY8bf4uf.js +20 -0
  414. package/dist/solid_home-BDUiJDVY-C9X0GTiZ.js +18 -0
  415. package/dist/solid_leaderboard-DtqK7q9Y-DoYxC3GK.js +18 -0
  416. package/dist/solid_store-Cfv6o4b8-BanujnP7.js +18 -0
  417. package/dist/ticket_icon-DwvyLm7c-BV6YyXCf.js +22 -0
  418. package/dist/usePendingMessage-CTakcRq1.js +191 -0
  419. package/dist/useQueryFilter-CUjzwNVC.js +93 -0
  420. package/dist/useRecurringTable-BqmngH3t.js +160 -0
  421. package/dist/user-BRpwqYx8-D7PlXIY2.js +18 -0
  422. package/dist/validateURL.helper-gsIart6T.js +126 -0
  423. package/dist/visa-tPjWcMbi-LTjAOn6v.js +18 -0
  424. package/package.json +1 -1
  425. package/dist/AD-Ct_GVBfr-DRbFShLY.js +0 -16
  426. package/dist/AE-DiMVenwy-BcXU6u3W.js +0 -16
  427. package/dist/AF-DOrptOkS-BoMuLN7S.js +0 -16
  428. package/dist/AG-CzBMAtom-Q0wFS21b.js +0 -16
  429. package/dist/AI-A2DnDGPS-DWTrZE8Z.js +0 -16
  430. package/dist/AL-BcGdPXjJ-DOynk-S4.js +0 -16
  431. package/dist/AM-BC_r4gTd-DKjmfMa3.js +0 -16
  432. package/dist/AO-D6GK49nd-BrIavzRy.js +0 -16
  433. package/dist/AQ-Eeziry42-BU64FVcI.js +0 -16
  434. package/dist/AR-AbqVWszQ-FEH_CG3b.js +0 -16
  435. package/dist/AS-BWe_Gq8Z-DGZm_aNo.js +0 -16
  436. package/dist/AT-b5CS9jSt-BLQsPNyK.js +0 -16
  437. package/dist/AU-BUbOyX6Q-DwJ5DptY.js +0 -16
  438. package/dist/AW-CjVdJTYe-CO3MND9G.js +0 -16
  439. package/dist/AX-lNtwEmw2-C6hViaiN.js +0 -16
  440. package/dist/AZ-f8zSo9ut-YL8XpBao.js +0 -16
  441. package/dist/AmBulletLegend-B2pkdEOE.js +0 -23
  442. package/dist/AmCardV3-CakGY86Z.js +0 -22
  443. package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-DQFHhHIQ.js +0 -36
  444. package/dist/AmDoughnutChartAdapted-HgtZeCcr.js +0 -203
  445. package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-CTPY2YSP.js +0 -86
  446. package/dist/AmFilterLevelDateSelect-BbVyzCa5-BXv2KnIr.js +0 -40
  447. package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-UnSR1Vba.js +0 -46
  448. package/dist/AmFilterLevelSelectFilter-Be3LFJno-DIvxbYEl.js +0 -63
  449. package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-TGhWgTvu.js +0 -53
  450. package/dist/AmLayoutFeedbackState-DHqs9hZr.js +0 -48
  451. package/dist/AmLayoutInnerData-5bP8bXeY.js +0 -162
  452. package/dist/AmModalV3-DR6i6gUx.js +0 -105
  453. package/dist/AmOutlineCard-apIK8Nok.js +0 -25
  454. package/dist/AmSkeleton-CAPdsnd3.js +0 -35
  455. package/dist/AmText-DO6mjQgl.js +0 -33
  456. package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-yX6uCjkA.js +0 -64
  457. package/dist/ApiService-DuFZJsaL.js +0 -11
  458. package/dist/AppInstallationConfirmationPasswordModal-wIE-I7C8.js +0 -535
  459. package/dist/AppstoreAppView-Lc3b_JA9.js +0 -315
  460. package/dist/AppstoreHomeView-BX5BrjLa.js +0 -1372
  461. package/dist/BA-BfV7_7RP-ZvPt2oyX.js +0 -16
  462. package/dist/BB-CC4768VM-CU4cH8ha.js +0 -16
  463. package/dist/BD-YQdTTbhg-hKAxRyrj.js +0 -16
  464. package/dist/BE-DUYoRyei-CG8ZOzVp.js +0 -16
  465. package/dist/BF-XZRLkaHX-Eq0E0Uh9.js +0 -16
  466. package/dist/BG-BAb8lAFP-BXUIymFd.js +0 -16
  467. package/dist/BH-C1LTB8Fj-BpTCGq0-.js +0 -16
  468. package/dist/BI-RjDfMipp-RGRRJP7L.js +0 -16
  469. package/dist/BJ-DAv61IMB-D6mAO2GZ.js +0 -16
  470. package/dist/BL-CFW4iaQd-DN7d21rB.js +0 -16
  471. package/dist/BM-DuK3dA1G-CauJJpV0.js +0 -16
  472. package/dist/BN-BXHGopan-BitFVfTm.js +0 -16
  473. package/dist/BO-CzuoErsx-DlbG2Vz_.js +0 -16
  474. package/dist/BQ-BO-BlM1Uin3-k2K8-yhQ.js +0 -16
  475. package/dist/BQ-SA-BninfeHy-nXVLJKZq.js +0 -16
  476. package/dist/BQ-SE-tq-mCvpl-BASc9TNv.js +0 -16
  477. package/dist/BR-B1GEJ05L-C7IXqf7E.js +0 -16
  478. package/dist/BS-MeULPH4e-B0IOWMJA.js +0 -16
  479. package/dist/BT-BCfQJS6a-DnPc3pYI.js +0 -16
  480. package/dist/BV-CfaYWvM--C6s9jrO3.js +0 -16
  481. package/dist/BW-jYbPMHhQ-6pG9RxjA.js +0 -16
  482. package/dist/BY-Ddffd2rT-CKM6J23Z.js +0 -16
  483. package/dist/BZ-B7mGW2Jg-HnjrUktZ.js +0 -16
  484. package/dist/BankAccountCrossborderNew.page-BahGFGLp.js +0 -152
  485. package/dist/BankAccountList.page-lyv36SjK.js +0 -331
  486. package/dist/BankAccountNew.page-Cvb8BGgk.js +0 -982
  487. package/dist/CA-CHl-cqJL-a4TQfh-w.js +0 -16
  488. package/dist/CC-DSLZRwFz-BbFJM4eZ.js +0 -16
  489. package/dist/CD-D4NJYkQm-D5HyCIhg.js +0 -16
  490. package/dist/CF-DoxRpaA9-Bk8Ay7zP.js +0 -16
  491. package/dist/CG-Auzp6pC_-O4iY1Yh-.js +0 -16
  492. package/dist/CH-B5eEo1aL-CGABP5Q8.js +0 -16
  493. package/dist/CI-DFfmdeVw-S85khu3Z.js +0 -16
  494. package/dist/CK-CKWUhjXV-CE1KAnXf.js +0 -16
  495. package/dist/CL-Di6p-p6X-58nm_zri.js +0 -16
  496. package/dist/CM-B0ht31e3-CO0tuXU5.js +0 -16
  497. package/dist/CN-CKHlOciI--a_MVJFU.js +0 -16
  498. package/dist/CO-GBUkcePt-BBV10PJC.js +0 -16
  499. package/dist/CR-Daw5JsjF-BrJLABVB.js +0 -16
  500. package/dist/CU-CVOkcTvR-CZfvAdcE.js +0 -16
  501. package/dist/CV-cyPoze-o-Cy9KcouU.js +0 -16
  502. package/dist/CW-Bt-Pwg4j-RXhTnyZB.js +0 -16
  503. package/dist/CX-uhIZlYzy-B4J_ZgX8.js +0 -16
  504. package/dist/CY-un4rgwPX-BMFoKfZK.js +0 -16
  505. package/dist/CZ-equ-r4iN-DP-F93h-.js +0 -16
  506. package/dist/CashoutAntecipateContent-CR_mieMP.js +0 -42
  507. package/dist/ChargebackAnalytics-BlPDh-60.js +0 -1701
  508. package/dist/ChargebackDetail-B38LIJ1J.js +0 -3469
  509. package/dist/ChargebackRate-58S5tUzT.js +0 -77
  510. package/dist/ChatPlayground.page-D06HpSUA.js +0 -508
  511. package/dist/ConfirmationModal-DZS3sqcS.js +0 -105
  512. package/dist/Create.page-CxRbqoZU.js +0 -1390
  513. package/dist/CreatePaymentLink-BDRMV4JU.js +0 -856
  514. package/dist/DE-zx7UmJ-V-CV3UNBz-.js +0 -16
  515. package/dist/DJ-BN1kIFYT-BSJ5VKxz.js +0 -16
  516. package/dist/DK-CrXXNH_h-B5g1-7iK.js +0 -16
  517. package/dist/DM-B4nVdNww-BeW-7Oy5.js +0 -16
  518. package/dist/DO-C7-NF2JD-NsQY5SkV.js +0 -16
  519. package/dist/DZ-DSDLbNRb-TxkZRhch.js +0 -16
  520. package/dist/DashboardAmountDetailsContent-CF7H6OIY.js +0 -65
  521. package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-0HZPfbIx.js +0 -151
  522. package/dist/DashboardApprovalRateInternationalContent-C4GVKNOQ.js +0 -19
  523. package/dist/DashboardApprovalRateNationalContent-IULFsW6H.js +0 -74
  524. package/dist/DashboardCarouselContent-BMVqG5fX.js +0 -958
  525. package/dist/DashboardDetailsContent-D4WEpsYd.js +0 -58
  526. package/dist/DashboardHome-CYtJ0nfh.js +0 -4247
  527. package/dist/DetailSubscriptionRecurring-ulgWXmb_.js +0 -1296
  528. package/dist/EC-C_bjTYWm-BAkDHTK5.js +0 -16
  529. package/dist/EE-CQIjuoWO-B2-Obn6Z.js +0 -16
  530. package/dist/EG-Bs_BHfVR-Dj7SoRkb.js +0 -16
  531. package/dist/EH-CnWam84F-DJ_fhc11.js +0 -16
  532. package/dist/ER-Dcl4hJzq-DiF4pzSy.js +0 -16
  533. package/dist/ES-Bpj2gAdj-SLtQ1nQS.js +0 -16
  534. package/dist/ET-Dm3q0Ruz-CFwn0zEf.js +0 -16
  535. package/dist/ExternalPendenciesList-DHHMA-LL.js +0 -651
  536. package/dist/FI-DCqfJeiQ-DB0TMhMy.js +0 -16
  537. package/dist/FJ-C6UrGUgI-CeDIq8F3.js +0 -16
  538. package/dist/FK-CAaec31K-kr0lRfh5.js +0 -16
  539. package/dist/FM-Cf2SIJ7h-BY7-OrJi.js +0 -16
  540. package/dist/FO-DBb4psBV-BzcogWxp.js +0 -16
  541. package/dist/FR-CFW4iaQd-CQphemFz.js +0 -16
  542. package/dist/FeatureFlagsPage-D5KwOp6Z.js +0 -271
  543. package/dist/GA-D3NTxgTl-B4r7fuWc.js +0 -16
  544. package/dist/GB-ENG-Cmkg6Zq8-D2D9SiPn.js +0 -16
  545. package/dist/GB-NIR-DKszcfHi-CMwxsiP0.js +0 -16
  546. package/dist/GB-SCT-BiivwJ71-SFR1VIUu.js +0 -16
  547. package/dist/GB-UKM-DgMBd3ib-DYHIxlcz.js +0 -16
  548. package/dist/GB-WLS-DLoDy9iv-Dtzr3PSm.js +0 -16
  549. package/dist/GD-Bs1d4We7-DzXWtuP-.js +0 -16
  550. package/dist/GE-DXG9iLk5-BsqhiKYF.js +0 -16
  551. package/dist/GF-B20s5gtx-DO-uBb3J.js +0 -16
  552. package/dist/GG-BAyrpIoO-DGNuXhYq.js +0 -16
  553. package/dist/GH-v3jh5r1X-BghkK0Bi.js +0 -16
  554. package/dist/GI-D39Krd4s-h24HeHH7.js +0 -16
  555. package/dist/GL-BDd_W5AU-2g635Vbp.js +0 -16
  556. package/dist/GM-BNEHspzj-OviEvU6A.js +0 -16
  557. package/dist/GN-DdIZ0X6d-DI_81H-4.js +0 -16
  558. package/dist/GP-CFW4iaQd-DkDHaQqp.js +0 -16
  559. package/dist/GQ-CC3X6AMz-D_MjXLGg.js +0 -16
  560. package/dist/GR-C_0rusTd-DEi6E4Ii.js +0 -16
  561. package/dist/GS-Db5l22a1-BDpuRY3u.js +0 -16
  562. package/dist/GT-BhbkqUft-BOuy2UHz.js +0 -16
  563. package/dist/GU-C0HeItm1-DluiVtyy.js +0 -16
  564. package/dist/GW-BjLM1vg--C2jke7-_.js +0 -16
  565. package/dist/GY-BreBVlhN-DpQvtcu7.js +0 -16
  566. package/dist/HK-BZn9ZQGS-DyP9p672.js +0 -16
  567. package/dist/HM-BUbOyX6Q-BbGwQjih.js +0 -16
  568. package/dist/HN-D4wujIPC-DkTn-7Om.js +0 -16
  569. package/dist/HR-Jhi3QQ9F-BX1dpbVc.js +0 -16
  570. package/dist/HT-MMjMjr-R-DNZRt1la.js +0 -16
  571. package/dist/HU-CN5KmQ7F-B9fMorlx.js +0 -16
  572. package/dist/Home-BOqrHl5r.js +0 -997
  573. package/dist/ID-hVVUTKNG-BvDVnbm4.js +0 -16
  574. package/dist/IE-WN_vdKcS-BeHCMZm2.js +0 -16
  575. package/dist/IL-D5Wr_Xxh-DgogBteh.js +0 -16
  576. package/dist/IM-B-putc0k-B0Jw-LDk.js +0 -16
  577. package/dist/IN-CK40zbQD-D1o1UBy5.js +0 -16
  578. package/dist/IO-CdvLck7D-DxUZ5q8A.js +0 -16
  579. package/dist/IQ-f_9wyurt-Bientxy1.js +0 -16
  580. package/dist/IR-B0yfWttH-D4pO2wma.js +0 -16
  581. package/dist/IS-Dvf-XQTq-CDUpus5x.js +0 -16
  582. package/dist/IT-uY7cjdFI-CYfZrRbt.js +0 -16
  583. package/dist/ImportTrackingCode-BU2xvxWg.js +0 -1007
  584. package/dist/InternalCompanyIssuesDetail-CgrW6tqx.js +0 -862
  585. package/dist/InternalCompanyList-DSaBa2nW.js +0 -351
  586. package/dist/InternalPendencyDetail-mN6iNNg1.js +0 -717
  587. package/dist/JE-C95tN_VG-DsdbJR5e.js +0 -16
  588. package/dist/JM-zOuEwaB3-B7KnEjO0.js +0 -16
  589. package/dist/JO-Cq88rrOD-f3-XOSNU.js +0 -16
  590. package/dist/JP-5evXgWxq-QJlJ-n7-.js +0 -16
  591. package/dist/KE-PHx0d97Z-BTHFAiYm.js +0 -16
  592. package/dist/KG-DT4JnieX-UhcGQpLU.js +0 -16
  593. package/dist/KH-ChwV2WTT-Bm638udP.js +0 -16
  594. package/dist/KI-D212g4Lh-9Ip5VaQL.js +0 -16
  595. package/dist/KM-mPVp7AKS-VqYHKBaP.js +0 -16
  596. package/dist/KN-AdXLXICN-ccCSQrY4.js +0 -16
  597. package/dist/KP-CC6UIrEF-xIpDb6LA.js +0 -16
  598. package/dist/KR-BtnmWR6C-ByKbhIC4.js +0 -16
  599. package/dist/KW-gqahWVaw-CQyn-UF0.js +0 -16
  600. package/dist/KY-DjIb70VQ-DRvQx4oD.js +0 -16
  601. package/dist/KZ-C_fRihiO-BAYtQlVb.js +0 -16
  602. package/dist/LA-KIULJHAb-D_91F3qu.js +0 -16
  603. package/dist/LB-CrF8WJiI-DFkFN19R.js +0 -16
  604. package/dist/LC-DGiHXm5V-ktdz6v0J.js +0 -16
  605. package/dist/LI-BwB0b8M1-DqFMvOoO.js +0 -16
  606. package/dist/LK-BOC44ZgS-DZ-2CzPr.js +0 -16
  607. package/dist/LR-CWjRlWOZ-BJQkmhKP.js +0 -16
  608. package/dist/LS-B_EgU3p5-Hh56yHIl.js +0 -16
  609. package/dist/LT-BPyPiVx2-CNqUct0Y.js +0 -16
  610. package/dist/LU-B-De6aB--W_UvF5lA.js +0 -16
  611. package/dist/LV-D2Ewe3XC-CQZRpz6D.js +0 -16
  612. package/dist/LY-D1TSt6YI-ARZsTB9C.js +0 -16
  613. package/dist/MA-QY5gm-vM-CMhFKYX8.js +0 -16
  614. package/dist/MC-BjlCjfCP-wNMouipl.js +0 -16
  615. package/dist/MD-rh-6rlSt-DkDC6-Sc.js +0 -16
  616. package/dist/ME-D1euo0V2-CuUoJvzu.js +0 -16
  617. package/dist/MF-CFW4iaQd-Bc6ySiIp.js +0 -16
  618. package/dist/MG-ONnxn_5g-CknvuiQt.js +0 -16
  619. package/dist/MH-B8oC_VMS-WQVVtROf.js +0 -16
  620. package/dist/MK-ByjICisj-DUg_BViv.js +0 -16
  621. package/dist/ML-CKVAuhox-CaCfLKwz.js +0 -16
  622. package/dist/MM-doJuUjVT-B0jY1-6a.js +0 -16
  623. package/dist/MN-BFP303GE-let5RR-Y.js +0 -16
  624. package/dist/MO-Dp4PTSYU-CRwm7um4.js +0 -16
  625. package/dist/MP-CqKsnjHV-CPSQ1q94.js +0 -16
  626. package/dist/MQ-CFW4iaQd-vUUtDA4Y.js +0 -16
  627. package/dist/MR-D73q_PiY-CkzPrY6t.js +0 -16
  628. package/dist/MS-qhjKl9TO-CLGxmx_z.js +0 -16
  629. package/dist/MT-CZjbs1U--CWNEHFW0.js +0 -16
  630. package/dist/MU-D0EQOl0S-DniWREWX.js +0 -16
  631. package/dist/MV-BtwHRTMn-kX6H1ofi.js +0 -16
  632. package/dist/MW-CVnAR98j-Ct0efH5x.js +0 -16
  633. package/dist/MX-C7vXnCDY-BY2HSr3z.js +0 -16
  634. package/dist/MY-DJcgH_o3-DqPv983u.js +0 -16
  635. package/dist/MZ-BbLwl9DA-15Oksar-.js +0 -16
  636. package/dist/Max.page-ByPOpR4R.js +0 -599
  637. package/dist/MostSoldCountries-DfmnTgLa.js +0 -22
  638. package/dist/NA-5FKNjRGT-DDOCtZAF.js +0 -16
  639. package/dist/NC-CFW4iaQd-BIRMd-Te.js +0 -16
  640. package/dist/NE-DpLZJa7D-BjbL019K.js +0 -16
  641. package/dist/NF-BT-wIfwf-CKPriU9x.js +0 -16
  642. package/dist/NG-BAiR_q0H-Za89Bf3J.js +0 -16
  643. package/dist/NI-DylPDojG-DsSHGuBY.js +0 -16
  644. package/dist/NL-iozeFKPM-CYwMpblF.js +0 -16
  645. package/dist/NO-CfaYWvM--8sfUBG4-.js +0 -16
  646. package/dist/NP-BGR_ZaqA-BXDE2VcI.js +0 -16
  647. package/dist/NR-DHGW5Y3Q-BZuTZa9P.js +0 -16
  648. package/dist/NU-CcpcSx_x-BgS5xZoz.js +0 -16
  649. package/dist/NZ-DDYt6DcJ-DUlCbnaF.js +0 -16
  650. package/dist/OM-D6hiar1r-BBh5osbe.js +0 -16
  651. package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-duAbvcr_.js +0 -760
  652. package/dist/OrderStatusChip-CAcbWIU5.js +0 -30
  653. package/dist/Orders.page-CiJzZrqz.js +0 -1636
  654. package/dist/OrdersChartDataContent-Dx9KeWZ5.js +0 -221
  655. package/dist/OrdersDetails.page-COPX98NM.js +0 -6158
  656. package/dist/PA-Bi2blxjJ-Zbul3wWf.js +0 -16
  657. package/dist/PE-D4DjQOlP-M1R5cm6I.js +0 -16
  658. package/dist/PF-DmOSfnYB-CYFlWyP3.js +0 -16
  659. package/dist/PG-DeOlZ7TA-C9xuQvS4.js +0 -16
  660. package/dist/PH-Dv4KdxU--DQ2I_z99.js +0 -16
  661. package/dist/PK-CRhM95F8-B722MXoL.js +0 -16
  662. package/dist/PL-BIdMQAtx-cfmLV44_.js +0 -16
  663. package/dist/PM-BDa53dEz-n6hsmpDs.js +0 -16
  664. package/dist/PN-Csu7Dufn-DupnLmMg.js +0 -16
  665. package/dist/PR-C_Acdbc_-D1adXIDy.js +0 -16
  666. package/dist/PS-Dmg0ofZr-7d7pSLhm.js +0 -16
  667. package/dist/PT-Bsck4nv8-DmL2dcnV.js +0 -16
  668. package/dist/PW-CBMqjpxh-De-5xXXR.js +0 -16
  669. package/dist/PY-Be6zNh15-Y9BkSdYH.js +0 -16
  670. package/dist/PaymentsLinks-DL868Zi0.js +0 -675
  671. package/dist/QA-CZmcW85r-BQq35K2F.js +0 -16
  672. package/dist/RE-CFW4iaQd-BQiTIADY.js +0 -16
  673. package/dist/RO-6H4O-gQF-c2MIFhHs.js +0 -16
  674. package/dist/RS-DM7vMnHL-D7HwS0M9.js +0 -16
  675. package/dist/RU-HqKQeTq2-BKGUPzTP.js +0 -16
  676. package/dist/RW-DkH4VhfP-BIBd5i9n.js +0 -16
  677. package/dist/RecurringSubscription-HHoysNWq.js +0 -548
  678. package/dist/RecurringSubscriptionDashView-ziNbeXFJ.js +0 -2012
  679. package/dist/RiskPendenciesInternalService-Blg9ez6Q.js +0 -145
  680. package/dist/SA-C2hBi4Lh-BhpsO5od.js +0 -16
  681. package/dist/SB-CBu9QLGP-BKAIpTXu.js +0 -16
  682. package/dist/SC-CR6esM-V-B8G0RZdT.js +0 -16
  683. package/dist/SD-VCXqBHrW-BxaV6Jbz.js +0 -16
  684. package/dist/SE-DbI0jJm9-jS9y9FBF.js +0 -16
  685. package/dist/SG-DgprfMyV-9b7RI-8a.js +0 -16
  686. package/dist/SH-qhjKl9TO-Ct0xVq98.js +0 -16
  687. package/dist/SI-C3dA03Yk-BmIEY9M3.js +0 -16
  688. package/dist/SJ-CfaYWvM--BgosjnKK.js +0 -16
  689. package/dist/SK-CxbHN7aU-BwT5K6nl.js +0 -16
  690. package/dist/SL-GXAaRXng-DSgcRo_I.js +0 -16
  691. package/dist/SM-B2SteTdO-DjZCr1WO.js +0 -16
  692. package/dist/SN-B7Q__Lx_-D2j8nXIb.js +0 -16
  693. package/dist/SO-Bnd5-U9z-CKK_ZNhB.js +0 -16
  694. package/dist/SR-BHMDOkL2-NUK6lxOc.js +0 -16
  695. package/dist/SS-CsTgWca1-DmDdXuRu.js +0 -16
  696. package/dist/ST-DLqO0boT-Bb7vOcG3.js +0 -16
  697. package/dist/SV-DNZizmQg-D4QwcG3R.js +0 -16
  698. package/dist/SX-DWuXjLwS-Cz9XsPbc.js +0 -16
  699. package/dist/SY-DeOQEBum-BWXp3RwA.js +0 -16
  700. package/dist/SZ-Bhe0qU5K-DLQBPBOz.js +0 -16
  701. package/dist/SalesRecovery-DU6dmW3Y.js +0 -594
  702. package/dist/SalesRecoveryIA-B-M8s2Wk.js +0 -199
  703. package/dist/SendCustomerRefundLinkPage-CEJPKPAw.js +0 -137
  704. package/dist/StatusDescriptionModal-DDtt3gSo.js +0 -60
  705. package/dist/StatusTag.vue_vue_type_script_setup_true_lang-BHjDEYAK.js +0 -28
  706. package/dist/TC-D5HTaKiF-Lm0kCxJj.js +0 -16
  707. package/dist/TD-DyIWvaGg-CpiaehTC.js +0 -16
  708. package/dist/TF-BRsv64iE-DBjtuJq9.js +0 -16
  709. package/dist/TG-OhNa5jmt-DFS-CUSL.js +0 -16
  710. package/dist/TH-F_ODV0JW-BJyCHLKn.js +0 -16
  711. package/dist/TJ-BFkbbSmN-BPZp4Xiw.js +0 -16
  712. package/dist/TK-Ct75yy7V-Dg6Y1TEs.js +0 -16
  713. package/dist/TL-BzqVkHGw-dCZmjYfN.js +0 -16
  714. package/dist/TM-CCAvd8qV-DJQ4CldP.js +0 -16
  715. package/dist/TN-CmYqbPEz-CRtXbx2S.js +0 -16
  716. package/dist/TO-BQQk9Xq_-CgBN_VdG.js +0 -16
  717. package/dist/TR-_MKkCnUV-lOCMmQ4v.js +0 -16
  718. package/dist/TT-DoRURl1c-dkBvwsqx.js +0 -16
  719. package/dist/TV-Dt8uZCP4-BZJU8bxh.js +0 -16
  720. package/dist/TW-CvHugvex-Cpi9rnPk.js +0 -16
  721. package/dist/TZ-RbwBgiwb-B83rVHrZ.js +0 -16
  722. package/dist/TopSellingProductsContent-BAIdYn11.js +0 -80
  723. package/dist/UA-BiXHPMqV-CHePFIvO.js +0 -16
  724. package/dist/UG--it_LhSj-GT0llrhZ.js +0 -16
  725. package/dist/UM-BFcTdeDD-Ctdm6ckN.js +0 -16
  726. package/dist/US-BFcTdeDD-Ctdm6ckN.js +0 -16
  727. package/dist/UY-C26Ndi4P-DxVHRnB7.js +0 -16
  728. package/dist/UZ-BK5ADwFW-C36os4Bj.js +0 -16
  729. package/dist/UserIndicationsPage-ZmwWF6WW.js +0 -723
  730. package/dist/VA-Cpq1n4yW-D9_yUwX7.js +0 -16
  731. package/dist/VC-D1Fjbog5-BuDpC9ha.js +0 -16
  732. package/dist/VE-CeM-hea7-CT55Djn8.js +0 -16
  733. package/dist/VG-qhjKl9TO-7ogDjBuK.js +0 -16
  734. package/dist/VI-C-kcu42_-CYsCwi19.js +0 -16
  735. package/dist/VN-2yoryeK1-BZJuSWgF.js +0 -16
  736. package/dist/VU-CkLlsgzP-lBleFqBJ.js +0 -16
  737. package/dist/WF-BDa53dEz-Db-6rBE5.js +0 -16
  738. package/dist/WS-CNi2O6Qm-BTF6sF-I.js +0 -16
  739. package/dist/WithdrawAdvance-BNygzN7Z.js +0 -17
  740. package/dist/WithdrawBankAccountStore-BZTP9I7U.js +0 -283
  741. package/dist/WithdrawBlocked-D5983ca7.js +0 -133
  742. package/dist/WithdrawCompanyStore-DYwzPHGY.js +0 -80
  743. package/dist/WithdrawGuaranteeExtract-CyE1jswr.js +0 -994
  744. package/dist/WithdrawHome-BdAxcMTo.js +0 -1843
  745. package/dist/WithdrawHome-Cm5S9t8a.js +0 -2448
  746. package/dist/WithdrawInternational-qMpT2jkD.js +0 -17
  747. package/dist/WithdrawMaxStore-CX-6jA5A.js +0 -772
  748. package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-D7c6XixI.js +0 -530
  749. package/dist/WithdrawNoAccountWarning-Cj47sH8c.js +0 -233
  750. package/dist/WithdrawPermissionGuard-D-FzAdzE.js +0 -338
  751. package/dist/WithdrawRequest-BuW4tloJ.js +0 -17
  752. package/dist/WithdrawRequest-_X_9fiJp.js +0 -944
  753. package/dist/WithdrawRequestDetail-BCmG5j1B.js +0 -284
  754. package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-AaYEWKl7.js +0 -936
  755. package/dist/YE-DxPZysMs-DHdpb7Bs.js +0 -16
  756. package/dist/YT-BMJJ1U_T-CbuUs0hM.js +0 -16
  757. package/dist/ZA-BjQXS8mc-C_4Q49fV.js +0 -16
  758. package/dist/ZM-Dw0PmMTO-DeZ_10vL.js +0 -16
  759. package/dist/ZW-D0UStZMr-CeILBBPs.js +0 -16
  760. package/dist/affiliate-Bgt9fadK-bZOLFdvf.js +0 -22
  761. package/dist/amex-CvNwRHhS-FQNEYQIL.js +0 -16
  762. package/dist/api-DroAQshN.js +0 -11
  763. package/dist/apple_pay-DtsAzVjF-B-HiD0ip.js +0 -20
  764. package/dist/archive-CFoPOir7-ou5CqppH.js +0 -18
  765. package/dist/aura-D1VyKb6w-COagvv5w.js +0 -23
  766. package/dist/boleto-BQZRi0Q5-B89hiknW.js +0 -18
  767. package/dist/box-DNrK38w2-BuAg0sw0.js +0 -20
  768. package/dist/cart-p5jccB8o-Bpx-GEb3.js +0 -15
  769. package/dist/cash-FZcelZV1-DHsd1CZv.js +0 -20
  770. package/dist/chart-YJ27XOr3-DLfgfvvk.js +0 -22
  771. package/dist/chat.page-ChgrUS1H.js +0 -314
  772. package/dist/credit_card-CGrPYCJP-BDmKQuUK.js +0 -15
  773. package/dist/csv-CYa6aPS5-DCqX0U0K.js +0 -18
  774. package/dist/dayjs.min--qQOVNtR.js +0 -282
  775. package/dist/diners-CN_1suUM-DbqLBtp-.js +0 -26
  776. package/dist/discover-vVTOFEvv-Df8YHljg.js +0 -22
  777. package/dist/ds-appmax-v322-b2MibrEW.js +0 -52
  778. package/dist/ds-appmax-v327-DJGlxDnH.js +0 -69
  779. package/dist/ds-appmax-v330-CW8qiKde.js +0 -48
  780. package/dist/ds-appmax-v335-CiJ3HxY_.js +0 -278
  781. package/dist/elo-BaNbqhYS-CFrpQ-ll.js +0 -15
  782. package/dist/gear-BHOWpd7b-CaYw4JlP.js +0 -18
  783. package/dist/grid-B7I0mWry-BtAvrOem.js +0 -18
  784. package/dist/hipercard-DBsszwxC-DWqNIdyH.js +0 -22
  785. package/dist/index--9zCRLHX.js +0 -83
  786. package/dist/index-BHhklSB7.js +0 -275
  787. package/dist/index-BIkTis4A.js +0 -776
  788. package/dist/index-BcMSTXgh.js +0 -219
  789. package/dist/index-BeIVZbA2.js +0 -35
  790. package/dist/index-BhaJIqEs.js +0 -4133
  791. package/dist/index-Bm095gAm.js +0 -332
  792. package/dist/index-Br_k-Ae3.js +0 -67
  793. package/dist/index-Bu2kSWwV.js +0 -200
  794. package/dist/index-ByimnjDr.js +0 -169
  795. package/dist/index-C0P7HtBp.js +0 -11
  796. package/dist/index-CDSUr50p.js +0 -681
  797. package/dist/index-CK5sMVto.js +0 -1567
  798. package/dist/index-CNPy5utO.js +0 -18
  799. package/dist/index-CPb6cSaj.js +0 -11240
  800. package/dist/index-CtPp3hlI.js +0 -409
  801. package/dist/index-D6KPS2Jz.js +0 -1790
  802. package/dist/index-DDrsDhX7.js +0 -106
  803. package/dist/index-DEy6UvQp.js +0 -230
  804. package/dist/index-DGe5ofER.js +0 -21
  805. package/dist/index-DIOCZZLm.js +0 -721
  806. package/dist/index-DhikyLfd.js +0 -21
  807. package/dist/index-DnkvvAB6.js +0 -534
  808. package/dist/index-NjQk10uO.js +0 -62
  809. package/dist/index-NpJ1AAwU.js +0 -1204
  810. package/dist/index-XYWObUOq.js +0 -92
  811. package/dist/index-gZzHERlA.js +0 -117
  812. package/dist/index-nBJgiaBD.js +0 -217
  813. package/dist/index-wyIWAsZ0.js +0 -219
  814. package/dist/index.page-B1lW1df2.js +0 -827
  815. package/dist/index.page-Cqi1cczW.js +0 -737
  816. package/dist/index.page-DUyoqGFu.js +0 -165
  817. package/dist/infos-8KGPLXoE-CSdnCV_7.js +0 -18
  818. package/dist/integrations-UOltVEyj-DtZnvgQc.js +0 -19
  819. package/dist/logs-Ce3fZY0v-CMMkWd42.js +0 -28
  820. package/dist/maestro-BMomgHxO-9RX8kkRo.js +0 -27
  821. package/dist/main-BygV61P0.js +0 -106856
  822. package/dist/mastercard-5I-dcOVV-RWsv7kfc.js +0 -30
  823. package/dist/max_brand-Crj-SFUw-DnsrReIF.js +0 -29
  824. package/dist/max_brand_active-BIkS5qkP-DmmI8eEx.js +0 -27
  825. package/dist/max_brand_negative-BxvdIegN-RbM-uB21.js +0 -30
  826. package/dist/max_brand_white-DdKi2YVX-wR1Zp9YF.js +0 -29
  827. package/dist/menu.page-uMx36IiO.js +0 -274
  828. package/dist/money-DZpB5eTf-nJr36YIf.js +0 -19
  829. package/dist/notification-DMezLtAj-BgScWfkC.js +0 -18
  830. package/dist/paypal-DMYjfEw0-bOyrUBKt.js +0 -15
  831. package/dist/pix-DXdX91yj-DDbD18-w.js +0 -22
  832. package/dist/pix_outline-D_xXXgCN-DTpYK0ea.js +0 -16
  833. package/dist/pix_white-CcVsnEF2-W4MbrCWf.js +0 -24
  834. package/dist/pusher-DCGskbZB.js +0 -4010
  835. package/dist/shield-DS-Xf4WH-EV-DIWZw.js +0 -15
  836. package/dist/solid_help-DNaqfgoc-Ce3Wu12e.js +0 -20
  837. package/dist/solid_home-BDUiJDVY-B-srcO-C.js +0 -18
  838. package/dist/solid_leaderboard-DtqK7q9Y-CacyClvM.js +0 -18
  839. package/dist/solid_store-Cfv6o4b8-D14YgD_A.js +0 -18
  840. package/dist/ticket_icon-DwvyLm7c-cK4WUm86.js +0 -22
  841. package/dist/usePendingMessage-8h3BsoV8.js +0 -191
  842. package/dist/useQueryFilter-U5UROaOZ.js +0 -93
  843. package/dist/useRecurringTable-td0aJwjE.js +0 -160
  844. package/dist/user-BRpwqYx8-DbyAL5VZ.js +0 -18
  845. package/dist/validateURL.helper-DOZFmOBm.js +0 -126
  846. package/dist/visa-tPjWcMbi-DO9gEg5w.js +0 -18
@@ -0,0 +1,2012 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
+ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
+ import { E as ApiService, e as computed, r as ref, ad as defineComponent, c as useRouter, u as useI18n, d as useBreakpoint, q as createBlock, h as openBlock, w as withCtx, j as createBaseVNode, i as createVNode, a5 as withDirectives, l as unref, y, m as createTextVNode, t as toDisplayString, ax as vShow, $, g as createElementBlock, F as Fragment, _ as _export_sfc, P, ay as script, k as createCommentVNode, z as watch, I as script$1, p as renderList, S as normalizeStyle, b as useRoute, az as useSidebarStore, o as onMounted } from "./main-BmrFFhAz.js";
5
+ import { C } from "./index-CBu74hI0.js";
6
+ import { H } from "./AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-Bwvn-xR-.js";
7
+ import { A as AmSkeleton } from "./AmSkeleton-QAeglqE9.js";
8
+ import { A as AmDoughnutChartAdapted } from "./AmDoughnutChartAdapted-CJG9jUIL.js";
9
+ import { A as AmCardV3 } from "./AmCardV3-DchSFKey.js";
10
+ import { h as he } from "./index-DmY6tbB9.js";
11
+ import { s as script$2 } from "./index-yNXUvsaw.js";
12
+ import { T as Te } from "./index-CAKvVy9Q.js";
13
+ import { u as useRecurringTable } from "./useRecurringTable-BqmngH3t.js";
14
+ class SubscriptionMetricsService {
15
+ // 5 minutes
16
+ constructor(apiService) {
17
+ __publicField(this, "baseUrl", "/api/subscriptions/metrics");
18
+ __publicField(this, "cache", /* @__PURE__ */ new Map());
19
+ __publicField(this, "cacheTimeout", 5 * 60 * 1e3);
20
+ this.apiService = apiService;
21
+ }
22
+ getCacheKey(endpoint, params) {
23
+ if (!params) return endpoint;
24
+ const sortedParams = Object.keys(params).sort().reduce((acc, key) => {
25
+ acc[key] = params[key];
26
+ return acc;
27
+ }, {});
28
+ const normalizedParams = Object.entries(sortedParams).reduce((acc, [key, value]) => {
29
+ if (Array.isArray(value)) {
30
+ acc[key] = [...value].sort();
31
+ } else {
32
+ acc[key] = value;
33
+ }
34
+ return acc;
35
+ }, {});
36
+ return `${endpoint}:${JSON.stringify(normalizedParams)}`;
37
+ }
38
+ setCache(key, data) {
39
+ this.cache.set(key, {
40
+ data,
41
+ timestamp: Date.now()
42
+ });
43
+ }
44
+ getCache(key) {
45
+ const cached = this.cache.get(key);
46
+ if (!cached) {
47
+ return null;
48
+ }
49
+ const isExpired = Date.now() - cached.timestamp > this.cacheTimeout;
50
+ if (isExpired) {
51
+ this.cache.delete(key);
52
+ return null;
53
+ }
54
+ return cached.data;
55
+ }
56
+ clearCacheByPrefix(prefix) {
57
+ for (const key of this.cache.keys()) {
58
+ if (key.startsWith(prefix)) {
59
+ this.cache.delete(key);
60
+ }
61
+ }
62
+ }
63
+ clearAllCache() {
64
+ this.cache.clear();
65
+ }
66
+ async getActiveSubscriptions() {
67
+ const endpoint = `${this.baseUrl}/actives`;
68
+ const cacheKey = this.getCacheKey(endpoint);
69
+ const cached = this.getCache(cacheKey);
70
+ if (cached) return cached;
71
+ const response = await this.apiService.get(endpoint);
72
+ const { data } = response;
73
+ const result = data.data;
74
+ this.setCache(cacheKey, result);
75
+ return result;
76
+ }
77
+ async getOverdueSubscriptions() {
78
+ const endpoint = `${this.baseUrl}/recoveries`;
79
+ const cacheKey = this.getCacheKey(endpoint);
80
+ const cached = this.getCache(cacheKey);
81
+ if (cached) return cached;
82
+ const response = await this.apiService.get(endpoint);
83
+ const { data } = response;
84
+ const result = data.data;
85
+ this.setCache(cacheKey, result);
86
+ return result;
87
+ }
88
+ async getNewActiveSubscriptions() {
89
+ const endpoint = `${this.baseUrl}/new_actives`;
90
+ const cacheKey = this.getCacheKey(endpoint);
91
+ const cached = this.getCache(cacheKey);
92
+ if (cached) return cached;
93
+ const response = await this.apiService.get(endpoint);
94
+ const { data } = response;
95
+ const result = data.data;
96
+ this.setCache(cacheKey, result);
97
+ return result;
98
+ }
99
+ async getChurnMetrics() {
100
+ const endpoint = `${this.baseUrl}/churn`;
101
+ const cacheKey = this.getCacheKey(endpoint);
102
+ const cached = this.getCache(cacheKey);
103
+ if (cached) return cached;
104
+ const response = await this.apiService.get(endpoint);
105
+ const { data } = response;
106
+ const result = data.data;
107
+ this.setCache(cacheKey, result);
108
+ return result;
109
+ }
110
+ async getGraphicsMetrics(params) {
111
+ const endpoint = `${this.baseUrl}/graphics`;
112
+ const cacheKey = this.getCacheKey(endpoint, params);
113
+ const cached = this.getCache(cacheKey);
114
+ if (cached) return cached;
115
+ const response = await this.apiService.get(endpoint, { params });
116
+ const { data } = response;
117
+ const result = data.data;
118
+ this.setCache(cacheKey, result);
119
+ return result;
120
+ }
121
+ // Call this when a subscription is created, updated, or cancelled
122
+ invalidateMetricsCache() {
123
+ this.clearCacheByPrefix(this.baseUrl);
124
+ }
125
+ }
126
+ const subscriptionMetricsService = new SubscriptionMetricsService(ApiService);
127
+ const DEFAULT_SEASONALITY = [
128
+ "semanal",
129
+ "quinzenal",
130
+ "mensal",
131
+ "trimestral",
132
+ "semestral",
133
+ "anual"
134
+ ];
135
+ const sharedState = {
136
+ data: ref({
137
+ actives: null,
138
+ overdues: null,
139
+ newActives: null,
140
+ churn: null,
141
+ graphics: null
142
+ }),
143
+ loading: ref({
144
+ actives: false,
145
+ overdues: false,
146
+ newActives: false,
147
+ churn: false,
148
+ graphics: false
149
+ }),
150
+ error: ref(null),
151
+ dateRange: ref({
152
+ start: new Date(Date.now() - 30 * 24 * 60 * 60 * 1e3),
153
+ // Últimos 30 dias
154
+ end: /* @__PURE__ */ new Date()
155
+ }),
156
+ selectedSeasonality: ref([...DEFAULT_SEASONALITY])
157
+ };
158
+ const isLoaded = computed(() => {
159
+ return sharedState.data.value.actives !== null && sharedState.data.value.overdues !== null && sharedState.data.value.newActives !== null && sharedState.data.value.churn !== null;
160
+ });
161
+ const hasError = computed(() => sharedState.error.value !== null);
162
+ const formatDate = (date) => {
163
+ return date.toISOString().split("T")[0];
164
+ };
165
+ const graphicsParams = computed(() => ({
166
+ date_start: formatDate(sharedState.dateRange.value.start),
167
+ date_end: formatDate(sharedState.dateRange.value.end),
168
+ seasonality: sharedState.selectedSeasonality.value
169
+ }));
170
+ const setDateRange = (range) => {
171
+ sharedState.dateRange.value = range;
172
+ };
173
+ const setSeasonality = (types) => {
174
+ sharedState.selectedSeasonality.value = types;
175
+ };
176
+ const initialize = async () => {
177
+ if (isLoaded.value) {
178
+ return;
179
+ }
180
+ Object.keys(sharedState.loading.value).forEach((key) => {
181
+ if (key !== "graphics") {
182
+ sharedState.loading.value[key] = true;
183
+ }
184
+ });
185
+ sharedState.error.value = null;
186
+ try {
187
+ sharedState.loading.value.actives = true;
188
+ sharedState.loading.value.overdues = true;
189
+ sharedState.loading.value.newActives = true;
190
+ sharedState.loading.value.churn = true;
191
+ const promises = [
192
+ // Métricas ativas
193
+ subscriptionMetricsService.getActiveSubscriptions().then((data) => {
194
+ sharedState.data.value.actives = data;
195
+ }).catch((err) => {
196
+ console.error("Erro ao carregar métricas ativas:", err);
197
+ throw err;
198
+ }).finally(() => {
199
+ sharedState.loading.value.actives = false;
200
+ }),
201
+ // Métricas de recuperação
202
+ subscriptionMetricsService.getOverdueSubscriptions().then((data) => {
203
+ sharedState.data.value.overdues = data;
204
+ }).catch((err) => {
205
+ console.error("Erro ao carregar métricas de recuperação:", err);
206
+ throw err;
207
+ }).finally(() => {
208
+ sharedState.loading.value.overdues = false;
209
+ }),
210
+ // Métricas de novas ativas
211
+ subscriptionMetricsService.getNewActiveSubscriptions().then((data) => {
212
+ sharedState.data.value.newActives = data;
213
+ }).catch((err) => {
214
+ console.error("Erro ao carregar métricas de novas ativas:", err);
215
+ throw err;
216
+ }).finally(() => {
217
+ sharedState.loading.value.newActives = false;
218
+ }),
219
+ // Métricas de churn
220
+ subscriptionMetricsService.getChurnMetrics().then((data) => {
221
+ sharedState.data.value.churn = data;
222
+ }).catch((err) => {
223
+ console.error("Erro ao carregar métricas de churn:", err);
224
+ throw err;
225
+ }).finally(() => {
226
+ sharedState.loading.value.churn = false;
227
+ })
228
+ ];
229
+ await Promise.all(promises);
230
+ } catch (err) {
231
+ sharedState.error.value = {
232
+ message: err instanceof Error ? err.message : "Erro desconhecido ao carregar dados",
233
+ details: err
234
+ };
235
+ console.error("Erro ao carregar dados das métricas:", err);
236
+ }
237
+ };
238
+ const loadGraphics = async () => {
239
+ sharedState.loading.value.graphics = true;
240
+ try {
241
+ const graphicsData = await subscriptionMetricsService.getGraphicsMetrics(graphicsParams.value);
242
+ sharedState.data.value.graphics = graphicsData;
243
+ } catch (err) {
244
+ sharedState.error.value = {
245
+ message: err instanceof Error ? err.message : "Erro ao carregar dados dos gráficos",
246
+ details: err
247
+ };
248
+ console.error("Erro ao carregar dados dos gráficos:", err);
249
+ throw err;
250
+ } finally {
251
+ sharedState.loading.value.graphics = false;
252
+ }
253
+ };
254
+ const clearData = () => {
255
+ sharedState.data.value = {
256
+ actives: null,
257
+ overdues: null,
258
+ newActives: null,
259
+ churn: null,
260
+ graphics: null
261
+ };
262
+ sharedState.error.value = null;
263
+ sharedState.loading.value = {
264
+ actives: false,
265
+ overdues: false,
266
+ newActives: false,
267
+ churn: false,
268
+ graphics: false
269
+ };
270
+ };
271
+ const invalidateCache = () => {
272
+ subscriptionMetricsService.invalidateMetricsCache();
273
+ };
274
+ function useMetricsData() {
275
+ const loadingActives = computed(() => sharedState.loading.value.actives);
276
+ const loadingOverdues = computed(() => sharedState.loading.value.overdues);
277
+ const loadingNewActives = computed(() => sharedState.loading.value.newActives);
278
+ const loadingChurn = computed(() => sharedState.loading.value.churn);
279
+ const loadingGraphics = computed(() => sharedState.loading.value.graphics);
280
+ const isAnyLoading = computed(
281
+ () => Object.values(sharedState.loading.value).some((loading) => loading)
282
+ );
283
+ return {
284
+ // Dados
285
+ data: computed(() => sharedState.data.value),
286
+ error: computed(() => sharedState.error.value),
287
+ isLoaded,
288
+ hasError,
289
+ // Loadings específicos
290
+ loadingActives,
291
+ loadingOverdues,
292
+ loadingNewActives,
293
+ loadingChurn,
294
+ loadingGraphics,
295
+ isAnyLoading,
296
+ // Controles de gráficos
297
+ dateRange: computed(() => sharedState.dateRange.value),
298
+ selectedSeasonality: computed(() => sharedState.selectedSeasonality.value),
299
+ setDateRange,
300
+ setSeasonality,
301
+ // Ações
302
+ initialize,
303
+ loadGraphics,
304
+ clearData,
305
+ invalidateCache
306
+ };
307
+ }
308
+ const _hoisted_1$8 = { class: "card-header" };
309
+ const _hoisted_2$8 = { class: "card-content" };
310
+ const _hoisted_3$8 = { class: "content-data" };
311
+ const _hoisted_4$7 = {
312
+ key: 0,
313
+ class: "skeleton-container"
314
+ };
315
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
316
+ __name: "TotalRevenueCard",
317
+ setup(__props) {
318
+ const router = useRouter();
319
+ const { data, loadingActives } = useMetricsData();
320
+ const { t } = useI18n();
321
+ const isDesktop = useBreakpoint("desktop");
322
+ const revenue = computed(() => {
323
+ var _a, _b;
324
+ if (!((_b = (_a = data.value) == null ? void 0 : _a.actives) == null ? void 0 : _b.revenue)) return t("totalRevenue.defaultValue");
325
+ return `R$ ${data.value.actives.revenue.toLocaleString("pt-BR", { minimumFractionDigits: 2 })}`;
326
+ });
327
+ const handleClick = () => {
328
+ router.push({
329
+ name: "subscription.list",
330
+ query: { status: "1" }
331
+ });
332
+ };
333
+ return (_ctx, _cache) => {
334
+ return openBlock(), createBlock(unref(C), { class: "revenue-card" }, {
335
+ default: withCtx(() => [
336
+ createBaseVNode("div", _hoisted_1$8, [
337
+ createVNode(unref(y), {
338
+ variant: "subtitle",
339
+ isStrong: ""
340
+ }, {
341
+ default: withCtx(() => [
342
+ createTextVNode(toDisplayString(unref(t)("totalRevenue.title")), 1)
343
+ ]),
344
+ _: 1
345
+ }),
346
+ withDirectives(createVNode(unref(H), {
347
+ text: unref(t)("totalRevenue.helperText"),
348
+ size: "sm"
349
+ }, null, 8, ["text"]), [
350
+ [vShow, unref(isDesktop)]
351
+ ]),
352
+ withDirectives(createVNode(unref($), {
353
+ icon: "search_insights",
354
+ size: "small",
355
+ class: "header-button",
356
+ disabled: unref(loadingActives),
357
+ onClick: handleClick
358
+ }, {
359
+ default: withCtx(() => [
360
+ createTextVNode(toDisplayString(unref(t)("totalRevenue.buttonText")), 1)
361
+ ]),
362
+ _: 1
363
+ }, 8, ["disabled"]), [
364
+ [vShow, unref(isDesktop)]
365
+ ])
366
+ ]),
367
+ createBaseVNode("div", _hoisted_2$8, [
368
+ createBaseVNode("div", _hoisted_3$8, [
369
+ unref(loadingActives) ? (openBlock(), createElementBlock("div", _hoisted_4$7, [
370
+ createVNode(AmSkeleton, {
371
+ width: 180,
372
+ height: 40,
373
+ class: "skeleton-primary"
374
+ }),
375
+ createVNode(AmSkeleton, {
376
+ width: 220,
377
+ height: 16,
378
+ class: "skeleton-secondary"
379
+ })
380
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
381
+ createVNode(unref(y), {
382
+ variant: "title",
383
+ isStrong: ""
384
+ }, {
385
+ default: withCtx(() => [
386
+ createTextVNode(toDisplayString(revenue.value), 1)
387
+ ]),
388
+ _: 1
389
+ }),
390
+ createVNode(unref(y), { class: "text-muted-color" }, {
391
+ default: withCtx(() => {
392
+ var _a, _b;
393
+ return [
394
+ createTextVNode(toDisplayString(unref(t)("totalRevenue.subtitle", { count: (_b = (_a = unref(data)) == null ? void 0 : _a.actives) == null ? void 0 : _b.quantity })), 1)
395
+ ];
396
+ }),
397
+ _: 1
398
+ })
399
+ ], 64))
400
+ ]),
401
+ withDirectives(createVNode(unref($), {
402
+ icon: "search_insights",
403
+ size: "small",
404
+ class: "mobile-button",
405
+ disabled: unref(loadingActives),
406
+ onClick: handleClick
407
+ }, {
408
+ default: withCtx(() => [
409
+ createTextVNode(toDisplayString(unref(t)("totalRevenue.buttonText")), 1)
410
+ ]),
411
+ _: 1
412
+ }, 8, ["disabled"]), [
413
+ [vShow, !unref(isDesktop)]
414
+ ])
415
+ ])
416
+ ]),
417
+ _: 1
418
+ });
419
+ };
420
+ }
421
+ });
422
+ const TotalRevenueCard = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-ae726abd"]]);
423
+ const _hoisted_1$7 = { class: "card-header mb-4" };
424
+ const _hoisted_2$7 = { class: "card-body" };
425
+ const _hoisted_3$7 = { class: "top-section" };
426
+ const _hoisted_4$6 = { class: "content-data" };
427
+ const _hoisted_5$6 = {
428
+ key: 0,
429
+ class: "skeleton-container"
430
+ };
431
+ const _hoisted_6$6 = { class: "flex items-center gap-1" };
432
+ const _hoisted_7$5 = { class: "content-data" };
433
+ const _hoisted_8$3 = {
434
+ key: 0,
435
+ class: "skeleton-container"
436
+ };
437
+ const _hoisted_9$3 = {
438
+ key: 0,
439
+ class: "pb-1.5"
440
+ };
441
+ const _hoisted_10$2 = {
442
+ key: 1,
443
+ class: "flex items-center gap-1"
444
+ };
445
+ const _hoisted_11 = { class: "bottom-section" };
446
+ const _hoisted_12 = {
447
+ key: 0,
448
+ class: "bottom-skeleton-container"
449
+ };
450
+ const _hoisted_13 = {
451
+ key: 1,
452
+ class: "flex items-center gap-4"
453
+ };
454
+ const _hoisted_14 = { class: "space-y-1" };
455
+ const recoveryRateText = "Taxa de recuperação e total recuperado nos últimos 30 dias";
456
+ const helperText$1 = "Valores referentes às assinaturas que estão em atraso e entraram em processo de recuperação";
457
+ const buttonText = "Ver detalhes";
458
+ const AI_RECOVERY_DISABLED = true;
459
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
460
+ __name: "SubscriptionRecoveryCard",
461
+ setup(__props) {
462
+ const router = useRouter();
463
+ const { data, loadingOverdues } = useMetricsData();
464
+ const automatedRecovery = computed(() => {
465
+ var _a;
466
+ if (!((_a = data.value) == null ? void 0 : _a.overdues)) return "0%";
467
+ return `${data.value.overdues.automated_recovery}%`;
468
+ });
469
+ const aiRecovery = computed(() => {
470
+ return "0";
471
+ });
472
+ const recoveryRate = computed(() => {
473
+ var _a;
474
+ if (!((_a = data.value) == null ? void 0 : _a.overdues)) return 0;
475
+ return parseFloat(data.value.overdues.automated_recovery.replace(",", "."));
476
+ });
477
+ const totalRecovered = computed(() => {
478
+ var _a;
479
+ if (!((_a = data.value) == null ? void 0 : _a.overdues)) return "R$ 0,00";
480
+ return `R$ ${data.value.overdues.total_recovered}`;
481
+ });
482
+ computed(() => {
483
+ var _a;
484
+ if (!((_a = data.value) == null ? void 0 : _a.overdues)) return "R$ 0,00";
485
+ return `R$ ${data.value.overdues.average_total_recovered}`;
486
+ });
487
+ const handleClick = () => {
488
+ router.push({
489
+ name: "subscription.list",
490
+ query: { status: "3" }
491
+ // ID 3 = Em atraso
492
+ });
493
+ };
494
+ return (_ctx, _cache) => {
495
+ return openBlock(), createBlock(unref(C), { class: "recovery-card" }, {
496
+ default: withCtx(() => [
497
+ createBaseVNode("div", _hoisted_1$7, [
498
+ createVNode(unref(y), {
499
+ variant: "subtitle",
500
+ isStrong: ""
501
+ }, {
502
+ default: withCtx(() => _cache[0] || (_cache[0] = [
503
+ createTextVNode("Recuperação de assinaturas")
504
+ ])),
505
+ _: 1
506
+ }),
507
+ createVNode(unref(H), {
508
+ text: helperText$1,
509
+ size: "sm"
510
+ }),
511
+ createVNode(unref($), {
512
+ icon: "search_insights",
513
+ class: "header-button",
514
+ severity: "secondary",
515
+ title: buttonText,
516
+ text: "",
517
+ onlyIcon: "",
518
+ onClick: handleClick
519
+ })
520
+ ]),
521
+ createBaseVNode("div", _hoisted_2$7, [
522
+ createBaseVNode("div", _hoisted_3$7, [
523
+ createBaseVNode("div", _hoisted_4$6, [
524
+ unref(loadingOverdues) ? (openBlock(), createElementBlock("div", _hoisted_5$6, [
525
+ createVNode(AmSkeleton, {
526
+ width: 80,
527
+ height: 40,
528
+ class: "skeleton-primary"
529
+ }),
530
+ createVNode(AmSkeleton, {
531
+ width: 140,
532
+ height: 16,
533
+ class: "skeleton-secondary"
534
+ }),
535
+ createVNode(AmSkeleton, {
536
+ width: 120,
537
+ height: 16,
538
+ class: "skeleton-tertiary"
539
+ })
540
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
541
+ createBaseVNode("div", _hoisted_6$6, [
542
+ createVNode(unref(P), {
543
+ icon: "replay",
544
+ class: "replay-icon"
545
+ }),
546
+ createVNode(unref(y), {
547
+ variant: "title",
548
+ isStrong: ""
549
+ }, {
550
+ default: withCtx(() => [
551
+ createTextVNode(toDisplayString(automatedRecovery.value), 1)
552
+ ]),
553
+ _: 1
554
+ })
555
+ ]),
556
+ createVNode(unref(y), { class: "text-muted-color" }, {
557
+ default: withCtx(() => _cache[1] || (_cache[1] = [
558
+ createTextVNode("Em recuperação "),
559
+ createBaseVNode("br", null, null, -1),
560
+ createTextVNode("automatizada")
561
+ ])),
562
+ _: 1
563
+ })
564
+ ], 64))
565
+ ]),
566
+ _cache[4] || (_cache[4] = createBaseVNode("div", { class: "divider" }, [
567
+ createBaseVNode("div", { class: "divider-line" })
568
+ ], -1)),
569
+ createBaseVNode("div", _hoisted_7$5, [
570
+ unref(loadingOverdues) ? (openBlock(), createElementBlock("div", _hoisted_8$3, [
571
+ createVNode(AmSkeleton, {
572
+ width: 80,
573
+ height: 40,
574
+ class: "skeleton-primary"
575
+ }),
576
+ createVNode(AmSkeleton, {
577
+ width: 140,
578
+ height: 16,
579
+ class: "skeleton-secondary"
580
+ }),
581
+ createVNode(AmSkeleton, {
582
+ width: 120,
583
+ height: 16,
584
+ class: "skeleton-tertiary"
585
+ })
586
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
587
+ AI_RECOVERY_DISABLED ? (openBlock(), createElementBlock("div", _hoisted_9$3, [
588
+ createVNode(unref(y), {
589
+ as: "span",
590
+ size: "small",
591
+ variant: "caption",
592
+ class: "bg-neutral-600 text-white py-1 px-3 rounded-full"
593
+ }, {
594
+ default: withCtx(() => _cache[2] || (_cache[2] = [
595
+ createTextVNode("Em breve")
596
+ ])),
597
+ _: 1
598
+ })
599
+ ])) : (openBlock(), createElementBlock("div", _hoisted_10$2, [
600
+ createVNode(unref(P), { icon: "flare" }),
601
+ createVNode(unref(y), {
602
+ variant: "title",
603
+ isStrong: ""
604
+ }, {
605
+ default: withCtx(() => [
606
+ createTextVNode(toDisplayString(aiRecovery.value), 1)
607
+ ]),
608
+ _: 1
609
+ })
610
+ ])),
611
+ createVNode(unref(y), { class: "text-muted-color" }, {
612
+ default: withCtx(() => _cache[3] || (_cache[3] = [
613
+ createTextVNode("Em recuperação "),
614
+ createBaseVNode("br", null, null, -1),
615
+ createTextVNode("por IA")
616
+ ])),
617
+ _: 1
618
+ })
619
+ ], 64))
620
+ ])
621
+ ]),
622
+ createVNode(unref(script)),
623
+ createBaseVNode("div", _hoisted_11, [
624
+ unref(loadingOverdues) ? (openBlock(), createElementBlock("div", _hoisted_12, [
625
+ createVNode(AmSkeleton, {
626
+ width: 180,
627
+ height: 24,
628
+ class: "bottom-skeleton-top"
629
+ }),
630
+ createVNode(AmSkeleton, {
631
+ width: 280,
632
+ height: 16,
633
+ class: "bottom-skeleton-middle"
634
+ }),
635
+ createVNode(AmSkeleton, {
636
+ width: 220,
637
+ height: 16,
638
+ class: "bottom-skeleton-bottom"
639
+ })
640
+ ])) : (openBlock(), createElementBlock("div", _hoisted_13, [
641
+ createBaseVNode("div", null, [
642
+ createVNode(AmDoughnutChartAdapted, {
643
+ id: "recovery-chart",
644
+ label: "",
645
+ percentage: recoveryRate.value,
646
+ values: [recoveryRate.value, 100]
647
+ }, null, 8, ["percentage", "values"])
648
+ ]),
649
+ createBaseVNode("div", _hoisted_14, [
650
+ createVNode(unref(y), {
651
+ variant: "title",
652
+ isStrong: ""
653
+ }, {
654
+ default: withCtx(() => [
655
+ createTextVNode(toDisplayString(totalRecovered.value), 1)
656
+ ]),
657
+ _: 1
658
+ }),
659
+ createVNode(unref(y), { class: "text-muted-color" }, {
660
+ default: withCtx(() => [
661
+ createTextVNode(toDisplayString(recoveryRateText))
662
+ ]),
663
+ _: 1
664
+ })
665
+ ])
666
+ ]))
667
+ ])
668
+ ])
669
+ ]),
670
+ _: 1
671
+ });
672
+ };
673
+ }
674
+ });
675
+ const SubscriptionRecoveryCard = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-bcf0e26c"]]);
676
+ const _hoisted_1$6 = { class: "card-header" };
677
+ const _hoisted_2$6 = { class: "card-content" };
678
+ const _hoisted_3$6 = { class: "content-data" };
679
+ const _hoisted_4$5 = {
680
+ key: 0,
681
+ class: "skeleton-container"
682
+ };
683
+ const _hoisted_5$5 = { class: "content-data" };
684
+ const _hoisted_6$5 = {
685
+ key: 0,
686
+ class: "skeleton-container"
687
+ };
688
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
689
+ __name: "NewSubscriptionsCard",
690
+ setup(__props) {
691
+ const router = useRouter();
692
+ const { data, loadingNewActives } = useMetricsData();
693
+ const { t } = useI18n();
694
+ const handleClick = () => {
695
+ router.push({
696
+ name: "subscription.list",
697
+ query: { status: "1" }
698
+ // ID 1 = Ativo
699
+ });
700
+ };
701
+ return (_ctx, _cache) => {
702
+ return openBlock(), createBlock(unref(C), { class: "metric-card" }, {
703
+ default: withCtx(() => [
704
+ createBaseVNode("div", _hoisted_1$6, [
705
+ createVNode(unref(y), {
706
+ variant: "subtitle",
707
+ isStrong: ""
708
+ }, {
709
+ default: withCtx(() => [
710
+ createTextVNode(toDisplayString(unref(t)("newSubscriptions.title")), 1)
711
+ ]),
712
+ _: 1
713
+ }),
714
+ createVNode(unref(H), {
715
+ text: unref(t)("newSubscriptions.helperText"),
716
+ size: "sm"
717
+ }, null, 8, ["text"]),
718
+ createVNode(unref($), {
719
+ icon: "search_insights",
720
+ class: "header-button",
721
+ severity: "secondary",
722
+ title: unref(t)("newSubscriptions.buttonText"),
723
+ text: "",
724
+ onlyIcon: "",
725
+ onClick: handleClick
726
+ }, null, 8, ["title"])
727
+ ]),
728
+ createBaseVNode("div", _hoisted_2$6, [
729
+ createBaseVNode("div", _hoisted_3$6, [
730
+ unref(loadingNewActives) ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
731
+ createVNode(AmSkeleton, {
732
+ width: 80,
733
+ height: 32,
734
+ class: "skeleton-primary"
735
+ }),
736
+ createVNode(AmSkeleton, {
737
+ width: 140,
738
+ height: 14,
739
+ class: "skeleton-secondary"
740
+ }),
741
+ createVNode(AmSkeleton, {
742
+ width: 120,
743
+ height: 14,
744
+ class: "skeleton-tertiary"
745
+ })
746
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
747
+ createVNode(unref(y), {
748
+ variant: "title",
749
+ isStrong: ""
750
+ }, {
751
+ default: withCtx(() => {
752
+ var _a, _b;
753
+ return [
754
+ createTextVNode(toDisplayString(((_b = (_a = unref(data)) == null ? void 0 : _a.newActives) == null ? void 0 : _b.quantity) || 0), 1)
755
+ ];
756
+ }),
757
+ _: 1
758
+ }),
759
+ createVNode(unref(y), { class: "text-muted-color whitespace-pre-line" }, {
760
+ default: withCtx(() => [
761
+ createTextVNode(toDisplayString(unref(t)("newSubscriptions.last30DaysLabel")), 1)
762
+ ]),
763
+ _: 1
764
+ })
765
+ ], 64))
766
+ ]),
767
+ _cache[0] || (_cache[0] = createBaseVNode("div", { class: "divider" }, [
768
+ createBaseVNode("div", { class: "divider-line" })
769
+ ], -1)),
770
+ createBaseVNode("div", _hoisted_5$5, [
771
+ unref(loadingNewActives) ? (openBlock(), createElementBlock("div", _hoisted_6$5, [
772
+ createVNode(AmSkeleton, {
773
+ width: 80,
774
+ height: 32,
775
+ class: "skeleton-primary"
776
+ }),
777
+ createVNode(AmSkeleton, {
778
+ width: 140,
779
+ height: 14,
780
+ class: "skeleton-secondary"
781
+ }),
782
+ createVNode(AmSkeleton, {
783
+ width: 120,
784
+ height: 14,
785
+ class: "skeleton-tertiary"
786
+ })
787
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
788
+ createVNode(unref(y), {
789
+ variant: "title",
790
+ isStrong: ""
791
+ }, {
792
+ default: withCtx(() => {
793
+ var _a, _b;
794
+ return [
795
+ createTextVNode(toDisplayString(((_b = (_a = unref(data)) == null ? void 0 : _a.newActives) == null ? void 0 : _b.average_last_12_months) || 0), 1)
796
+ ];
797
+ }),
798
+ _: 1
799
+ }),
800
+ createVNode(unref(y), { class: "text-muted-color whitespace-pre-line" }, {
801
+ default: withCtx(() => [
802
+ createTextVNode(toDisplayString(unref(t)("newSubscriptions.average12MonthsLabel")), 1)
803
+ ]),
804
+ _: 1
805
+ })
806
+ ], 64))
807
+ ])
808
+ ])
809
+ ]),
810
+ _: 1
811
+ });
812
+ };
813
+ }
814
+ });
815
+ const NewSubscriptionsCard = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__scopeId", "data-v-415b8b24"]]);
816
+ const _hoisted_1$5 = { class: "card-header" };
817
+ const _hoisted_2$5 = { class: "header-buttons" };
818
+ const _hoisted_3$5 = { class: "card-content" };
819
+ const _hoisted_4$4 = { class: "content-data" };
820
+ const _hoisted_5$4 = {
821
+ key: 0,
822
+ class: "skeleton-container"
823
+ };
824
+ const _hoisted_6$4 = { class: "content-data" };
825
+ const _hoisted_7$4 = {
826
+ key: 0,
827
+ class: "skeleton-container"
828
+ };
829
+ const showVisibilityToggle = true;
830
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
831
+ __name: "ChurnCard",
832
+ setup(__props) {
833
+ const router = useRouter();
834
+ const { data, loadingChurn } = useMetricsData();
835
+ const { t } = useI18n();
836
+ const isChurnVisible = ref(true);
837
+ const toggleVisibility = () => {
838
+ isChurnVisible.value = !isChurnVisible.value;
839
+ };
840
+ const handleClick = () => {
841
+ router.push({
842
+ name: "subscription.list",
843
+ query: { status: "2" }
844
+ // ID 2 = Cancelado
845
+ });
846
+ };
847
+ return (_ctx, _cache) => {
848
+ return openBlock(), createBlock(unref(C), { class: "metric-card" }, {
849
+ default: withCtx(() => [
850
+ createBaseVNode("div", _hoisted_1$5, [
851
+ createVNode(unref(y), {
852
+ variant: "subtitle",
853
+ isStrong: ""
854
+ }, {
855
+ default: withCtx(() => [
856
+ createTextVNode(toDisplayString(unref(t)("churn.title")), 1)
857
+ ]),
858
+ _: 1
859
+ }),
860
+ createVNode(unref(H), {
861
+ text: unref(t)("churn.helperText"),
862
+ size: "sm"
863
+ }, null, 8, ["text"]),
864
+ createBaseVNode("div", _hoisted_2$5, [
865
+ showVisibilityToggle ? (openBlock(), createBlock(unref($), {
866
+ key: 0,
867
+ icon: isChurnVisible.value ? "visibility" : "visibility_off",
868
+ severity: "secondary",
869
+ title: unref(t)("churn.toggleVisibility"),
870
+ onClick: toggleVisibility,
871
+ text: "",
872
+ onlyIcon: ""
873
+ }, null, 8, ["icon", "title"])) : createCommentVNode("", true),
874
+ createVNode(unref($), {
875
+ icon: "search_insights",
876
+ severity: "secondary",
877
+ title: unref(t)("churn.buttonText"),
878
+ text: "",
879
+ onlyIcon: "",
880
+ onClick: handleClick
881
+ }, null, 8, ["title"])
882
+ ])
883
+ ]),
884
+ createBaseVNode("div", _hoisted_3$5, [
885
+ createBaseVNode("div", _hoisted_4$4, [
886
+ unref(loadingChurn) ? (openBlock(), createElementBlock("div", _hoisted_5$4, [
887
+ createVNode(AmSkeleton, {
888
+ width: 80,
889
+ height: 32,
890
+ class: "skeleton-primary"
891
+ }),
892
+ createVNode(AmSkeleton, {
893
+ width: 140,
894
+ height: 14,
895
+ class: "skeleton-secondary"
896
+ }),
897
+ createVNode(AmSkeleton, {
898
+ width: 120,
899
+ height: 14,
900
+ class: "skeleton-tertiary"
901
+ })
902
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
903
+ createVNode(unref(y), {
904
+ variant: "title",
905
+ isStrong: ""
906
+ }, {
907
+ default: withCtx(() => {
908
+ var _a, _b;
909
+ return [
910
+ createTextVNode(toDisplayString(isChurnVisible.value ? `${((_b = (_a = unref(data)) == null ? void 0 : _a.churn) == null ? void 0 : _b.average) || 0}%` : "****"), 1)
911
+ ];
912
+ }),
913
+ _: 1
914
+ }),
915
+ createVNode(unref(y), { class: "text-muted-color whitespace-pre-line" }, {
916
+ default: withCtx(() => [
917
+ createTextVNode(toDisplayString(unref(t)("churn.last30DaysLabel")), 1)
918
+ ]),
919
+ _: 1
920
+ })
921
+ ], 64))
922
+ ]),
923
+ _cache[0] || (_cache[0] = createBaseVNode("div", { class: "divider" }, [
924
+ createBaseVNode("div", { class: "divider-line" })
925
+ ], -1)),
926
+ createBaseVNode("div", _hoisted_6$4, [
927
+ unref(loadingChurn) ? (openBlock(), createElementBlock("div", _hoisted_7$4, [
928
+ createVNode(AmSkeleton, {
929
+ width: 80,
930
+ height: 32,
931
+ class: "skeleton-primary"
932
+ }),
933
+ createVNode(AmSkeleton, {
934
+ width: 140,
935
+ height: 14,
936
+ class: "skeleton-secondary"
937
+ }),
938
+ createVNode(AmSkeleton, {
939
+ width: 120,
940
+ height: 14,
941
+ class: "skeleton-tertiary"
942
+ })
943
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
944
+ createVNode(unref(y), {
945
+ variant: "title",
946
+ isStrong: ""
947
+ }, {
948
+ default: withCtx(() => {
949
+ var _a, _b;
950
+ return [
951
+ createTextVNode(toDisplayString(isChurnVisible.value ? `${((_b = (_a = unref(data)) == null ? void 0 : _a.churn) == null ? void 0 : _b.average_last_12_months) || 0}%` : "****"), 1)
952
+ ];
953
+ }),
954
+ _: 1
955
+ }),
956
+ createVNode(unref(y), { class: "text-muted-color whitespace-pre-line" }, {
957
+ default: withCtx(() => [
958
+ createTextVNode(toDisplayString(unref(t)("churn.average12MonthsLabel")), 1)
959
+ ]),
960
+ _: 1
961
+ })
962
+ ], 64))
963
+ ])
964
+ ])
965
+ ]),
966
+ _: 1
967
+ });
968
+ };
969
+ }
970
+ });
971
+ const ChurnCard = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__scopeId", "data-v-be3d5a46"]]);
972
+ const _hoisted_1$4 = { class: "col-span-12 grid grid-cols-1 lg:grid-cols-2 gap-4 items-center" };
973
+ const _hoisted_2$4 = { class: "flex items-center gap-2" };
974
+ const _hoisted_3$4 = {
975
+ id: "date-filter",
976
+ class: "flex-1 !p-0 h-10"
977
+ };
978
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
979
+ __name: "FilterBar",
980
+ props: {
981
+ seasonalityOptions: { default: () => [
982
+ { label: "Todos", value: 0 },
983
+ { label: "Anual", value: 1 },
984
+ { label: "Semestral", value: 2 },
985
+ { label: "Trimestral", value: 3 },
986
+ { label: "Mensal", value: 4 },
987
+ { label: "Quinzenal", value: 5 },
988
+ { label: "Semanal", value: 6 }
989
+ ] },
990
+ seasonalityPlaceholder: { default: "Filtrar por sazonalidade" },
991
+ selectedSeasonalityTypes: { default: () => [] },
992
+ onSeasonalityChange: {},
993
+ onDateChange: {}
994
+ },
995
+ emits: ["seasonalityChange", "dateChange"],
996
+ setup(__props, { emit: __emit }) {
997
+ const props = __props;
998
+ const seasonalityTypeToValue = {
999
+ anual: 1,
1000
+ semestral: 2,
1001
+ trimestral: 3,
1002
+ mensal: 4,
1003
+ quinzenal: 5,
1004
+ semanal: 6
1005
+ };
1006
+ const getDefault30Days = () => {
1007
+ const today = /* @__PURE__ */ new Date();
1008
+ today.setHours(0, 0, 0, 0);
1009
+ const start = new Date(today);
1010
+ start.setDate(today.getDate() - 29);
1011
+ start.setHours(0, 0, 0, 0);
1012
+ return [start.toISOString(), today.toISOString()];
1013
+ };
1014
+ const selectedSeasonality = ref(null);
1015
+ const selectedDates = ref(getDefault30Days());
1016
+ let isUserChanging = false;
1017
+ const syncSelectedValue = () => {
1018
+ if (isUserChanging) return;
1019
+ const types = props.selectedSeasonalityTypes || [];
1020
+ if (types.length === 0) {
1021
+ if (selectedSeasonality.value !== 0) {
1022
+ selectedSeasonality.value = 0;
1023
+ }
1024
+ return;
1025
+ }
1026
+ if (types.length === 6) {
1027
+ const allTypes = ["semanal", "quinzenal", "mensal", "trimestral", "semestral", "anual"];
1028
+ const hasAllTypes = allTypes.every((type) => types.includes(type));
1029
+ if (hasAllTypes) {
1030
+ if (selectedSeasonality.value !== 0) {
1031
+ selectedSeasonality.value = 0;
1032
+ }
1033
+ return;
1034
+ }
1035
+ }
1036
+ const firstType = types[0];
1037
+ const mappedValue = seasonalityTypeToValue[firstType];
1038
+ if (mappedValue !== void 0 && selectedSeasonality.value !== mappedValue) {
1039
+ selectedSeasonality.value = mappedValue;
1040
+ }
1041
+ };
1042
+ watch(() => props.selectedSeasonalityTypes, syncSelectedValue, { immediate: true, deep: true });
1043
+ const dateRangeConfigs = {
1044
+ "30D": () => {
1045
+ const today = /* @__PURE__ */ new Date();
1046
+ const start = new Date(today);
1047
+ start.setDate(today.getDate() - 29);
1048
+ return [start, today];
1049
+ },
1050
+ "60D": () => {
1051
+ const today = /* @__PURE__ */ new Date();
1052
+ const start = new Date(today);
1053
+ start.setDate(today.getDate() - 59);
1054
+ return [start, today];
1055
+ },
1056
+ "90D": () => {
1057
+ const today = /* @__PURE__ */ new Date();
1058
+ const start = new Date(today);
1059
+ start.setDate(today.getDate() - 89);
1060
+ return [start, today];
1061
+ },
1062
+ "365D": () => {
1063
+ const today = /* @__PURE__ */ new Date();
1064
+ const start = new Date(today);
1065
+ start.setDate(today.getDate() - 364);
1066
+ return [start, today];
1067
+ }
1068
+ };
1069
+ const emit = __emit;
1070
+ let isInitialized = false;
1071
+ setTimeout(() => {
1072
+ isInitialized = true;
1073
+ emit("dateChange", selectedDates.value);
1074
+ if (props.onDateChange) {
1075
+ props.onDateChange(selectedDates.value);
1076
+ }
1077
+ }, 0);
1078
+ const handleSeasonalityChange = (value) => {
1079
+ const nextValue = Array.isArray(value) ? value.length ? value[value.length - 1] : null : value;
1080
+ isUserChanging = true;
1081
+ selectedSeasonality.value = nextValue;
1082
+ if (isInitialized) {
1083
+ emit("seasonalityChange", nextValue);
1084
+ if (props.onSeasonalityChange) {
1085
+ props.onSeasonalityChange(nextValue);
1086
+ }
1087
+ }
1088
+ setTimeout(() => {
1089
+ isUserChanging = false;
1090
+ }, 100);
1091
+ };
1092
+ const handleDateChange = (dates) => {
1093
+ selectedDates.value = dates;
1094
+ if (isInitialized) {
1095
+ emit("dateChange", dates);
1096
+ if (props.onDateChange) {
1097
+ props.onDateChange(dates);
1098
+ }
1099
+ }
1100
+ };
1101
+ return (_ctx, _cache) => {
1102
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
1103
+ createBaseVNode("div", _hoisted_2$4, [
1104
+ createVNode(unref(P), { icon: "filter_list" }),
1105
+ createVNode(unref(y), {
1106
+ variant: "subtitle",
1107
+ isStrong: ""
1108
+ }, {
1109
+ default: withCtx(() => _cache[2] || (_cache[2] = [
1110
+ createTextVNode("Filtrar dados:")
1111
+ ])),
1112
+ _: 1
1113
+ }),
1114
+ createVNode(AmCardV3, { class: "flex-1 !p-0 h-9 flex items-center" }, {
1115
+ default: withCtx(() => [
1116
+ createVNode(unref(script$1), {
1117
+ options: _ctx.seasonalityOptions,
1118
+ placeholder: _ctx.seasonalityPlaceholder,
1119
+ optionLabel: "label",
1120
+ optionValue: "value",
1121
+ class: "w-full",
1122
+ size: "small",
1123
+ multiple: false,
1124
+ modelValue: selectedSeasonality.value,
1125
+ "onUpdate:modelValue": [
1126
+ _cache[0] || (_cache[0] = ($event) => selectedSeasonality.value = $event),
1127
+ handleSeasonalityChange
1128
+ ]
1129
+ }, null, 8, ["options", "placeholder", "modelValue"])
1130
+ ]),
1131
+ _: 1
1132
+ })
1133
+ ]),
1134
+ createBaseVNode("div", _hoisted_3$4, [
1135
+ createVNode(unref(he), {
1136
+ modelValue: selectedDates.value,
1137
+ "onUpdate:modelValue": [
1138
+ _cache[1] || (_cache[1] = ($event) => selectedDates.value = $event),
1139
+ handleDateChange
1140
+ ],
1141
+ dateRangeConfigs
1142
+ }, null, 8, ["modelValue"])
1143
+ ])
1144
+ ]);
1145
+ };
1146
+ }
1147
+ });
1148
+ const FilterBar = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__scopeId", "data-v-4d95ca2c"]]);
1149
+ const ALL_SEASONALITY = [
1150
+ "semanal",
1151
+ "quinzenal",
1152
+ "mensal",
1153
+ "trimestral",
1154
+ "semestral",
1155
+ "anual"
1156
+ ];
1157
+ function useSubscriptionGraphics() {
1158
+ const { loadGraphics: loadGraphics2, setDateRange: setDateRange2, setSeasonality: setSeasonality2, data, loadingGraphics, error } = useMetricsData();
1159
+ const seasonalityMap = {
1160
+ 1: "anual",
1161
+ 2: "semestral",
1162
+ 3: "trimestral",
1163
+ 4: "mensal",
1164
+ 5: "quinzenal",
1165
+ 6: "semanal"
1166
+ };
1167
+ let isInitializing = false;
1168
+ let debounceTimeout = null;
1169
+ const debouncedLoadGraphics = () => {
1170
+ if (debounceTimeout) {
1171
+ clearTimeout(debounceTimeout);
1172
+ }
1173
+ debounceTimeout = setTimeout(async () => {
1174
+ await loadGraphics2();
1175
+ }, 100);
1176
+ };
1177
+ const handleDateChange = async (dates) => {
1178
+ if (isInitializing || !dates.length) return;
1179
+ if (dates.length === 2) {
1180
+ setDateRange2({
1181
+ start: new Date(dates[0]),
1182
+ end: new Date(dates[1])
1183
+ });
1184
+ debouncedLoadGraphics();
1185
+ }
1186
+ };
1187
+ const handleSeasonalityChange = async (values) => {
1188
+ if (isInitializing) return;
1189
+ if (values === 0) {
1190
+ setSeasonality2([...ALL_SEASONALITY]);
1191
+ debouncedLoadGraphics();
1192
+ return;
1193
+ }
1194
+ const normalized = Array.isArray(values) ? values : values === null || values === void 0 ? [] : [values];
1195
+ console.log("Seasonality change handler called:", normalized);
1196
+ const seasonality = normalized.map((value) => seasonalityMap[value]);
1197
+ setSeasonality2(seasonality);
1198
+ debouncedLoadGraphics();
1199
+ };
1200
+ const graphicsData = computed(() => {
1201
+ var _a, _b, _c, _d, _e, _f, _g, _h;
1202
+ return {
1203
+ seasonality: ((_b = (_a = data.value) == null ? void 0 : _a.graphics) == null ? void 0 : _b.seasonality) || null,
1204
+ activeClients: ((_d = (_c = data.value) == null ? void 0 : _c.graphics) == null ? void 0 : _d.active_clients) || null,
1205
+ topSubscriptions: ((_f = (_e = data.value) == null ? void 0 : _e.graphics) == null ? void 0 : _f.top_subscriptions) || [],
1206
+ revenueChart: ((_h = (_g = data.value) == null ? void 0 : _g.graphics) == null ? void 0 : _h.revenue_chart) || []
1207
+ };
1208
+ });
1209
+ const loadInitialData = async () => {
1210
+ try {
1211
+ isInitializing = true;
1212
+ await loadGraphics2();
1213
+ } catch (error2) {
1214
+ console.error("Error loading graphics data:", error2);
1215
+ } finally {
1216
+ isInitializing = false;
1217
+ }
1218
+ };
1219
+ return {
1220
+ // Estado
1221
+ graphicsData,
1222
+ loading: computed(() => loadingGraphics.value),
1223
+ error: computed(() => error.value),
1224
+ // Handlers
1225
+ handleDateChange,
1226
+ handleSeasonalityChange,
1227
+ loadInitialData,
1228
+ // Configurações
1229
+ seasonalityOptions: [
1230
+ { label: "Todos", value: 0 },
1231
+ { label: "Anual", value: 1 },
1232
+ { label: "Semestral", value: 2 },
1233
+ { label: "Trimestral", value: 3 },
1234
+ { label: "Mensal", value: 4 },
1235
+ { label: "Quinzenal", value: 5 },
1236
+ { label: "Semanal", value: 6 }
1237
+ ]
1238
+ };
1239
+ }
1240
+ const _hoisted_1$3 = { class: "flex items-center gap-2" };
1241
+ const _hoisted_2$3 = {
1242
+ key: 0,
1243
+ class: "skeleton-container"
1244
+ };
1245
+ const _hoisted_3$3 = {
1246
+ key: 1,
1247
+ class: "flex items-center gap-4 lg:gap-16 flex-1"
1248
+ };
1249
+ const _hoisted_4$3 = { class: "relative w-48 h-48 lg:w-64 lg:h-64 flex-shrink-0 chart-container" };
1250
+ const _hoisted_5$3 = { class: "chart-wrapper" };
1251
+ const _hoisted_6$3 = { class: "chart-center-text" };
1252
+ const _hoisted_7$3 = { class: "flex flex-col justify-center space-y-3 flex-1" };
1253
+ const _hoisted_8$2 = { key: 0 };
1254
+ const _hoisted_9$2 = {
1255
+ key: 1,
1256
+ class: "empty-legend"
1257
+ };
1258
+ const _hoisted_10$1 = { class: "flex items-center gap-2 text-sm" };
1259
+ const helperText = "Distribuição das assinaturas ativas por tipo de sazonalidade com a quantidade e valor total.";
1260
+ const title = "Assinaturas por sazonalidade";
1261
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
1262
+ __name: "SeasonalityCard",
1263
+ setup(__props) {
1264
+ const { graphicsData, loading: loadingGraphics } = useSubscriptionGraphics();
1265
+ const { selectedSeasonality } = useMetricsData();
1266
+ const seasonalityColors = {
1267
+ anual: "#9B6AFA",
1268
+ semestral: "#33C1A0",
1269
+ mensal: "#F66DFF"
1270
+ };
1271
+ const allSeasonalityData = computed(() => {
1272
+ var _a, _b;
1273
+ if (!((_a = graphicsData.value) == null ? void 0 : _a.seasonality)) return [];
1274
+ const { breakdown } = graphicsData.value.seasonality;
1275
+ const avgTicket = ((_b = graphicsData.value.activeClients) == null ? void 0 : _b.avg_ticket) || 0;
1276
+ return [
1277
+ {
1278
+ name: "Mensal",
1279
+ type: "mensal",
1280
+ hex: seasonalityColors.mensal,
1281
+ quantity: breakdown.monthly,
1282
+ value: `R$ ${(breakdown.monthly * avgTicket).toLocaleString("pt-BR", { minimumFractionDigits: 2 })}`
1283
+ },
1284
+ {
1285
+ name: "Semestral",
1286
+ type: "semestral",
1287
+ hex: seasonalityColors.semestral,
1288
+ quantity: breakdown.semiannual,
1289
+ value: `R$ ${(breakdown.semiannual * avgTicket).toLocaleString("pt-BR", { minimumFractionDigits: 2 })}`
1290
+ },
1291
+ {
1292
+ name: "Anual",
1293
+ type: "anual",
1294
+ hex: seasonalityColors.anual,
1295
+ quantity: breakdown.annual,
1296
+ value: `R$ ${(breakdown.annual * avgTicket).toLocaleString("pt-BR", { minimumFractionDigits: 2 })}`
1297
+ }
1298
+ ];
1299
+ });
1300
+ const seasonalityData = computed(() => {
1301
+ if (!selectedSeasonality.value || selectedSeasonality.value.length === 0) {
1302
+ return allSeasonalityData.value;
1303
+ }
1304
+ return allSeasonalityData.value.filter(
1305
+ (item) => selectedSeasonality.value.includes(item.type)
1306
+ );
1307
+ });
1308
+ const total = computed(() => {
1309
+ return seasonalityData.value.reduce((sum, item) => sum + item.quantity, 0);
1310
+ });
1311
+ const hasData = computed(() => total.value > 0);
1312
+ const colors = computed(() => seasonalityData.value.map((item) => item.hex));
1313
+ const emptyDoughnutData = computed(() => ({
1314
+ labels: ["Sem dados"],
1315
+ datasets: [
1316
+ {
1317
+ data: [1],
1318
+ backgroundColor: ["#E0E0E0"],
1319
+ hoverBackgroundColor: ["#E0E0E0"],
1320
+ borderWidth: 0
1321
+ }
1322
+ ]
1323
+ }));
1324
+ const doughnutData = computed(() => {
1325
+ if (!hasData.value) {
1326
+ return emptyDoughnutData.value;
1327
+ }
1328
+ return {
1329
+ labels: seasonalityData.value.map((item) => item.name),
1330
+ datasets: [
1331
+ {
1332
+ data: seasonalityData.value.map((item) => item.quantity),
1333
+ backgroundColor: colors.value,
1334
+ hoverBackgroundColor: colors.value,
1335
+ borderWidth: 0
1336
+ }
1337
+ ]
1338
+ };
1339
+ });
1340
+ const doughnutOptions = {
1341
+ responsive: true,
1342
+ maintainAspectRatio: false,
1343
+ cutout: "80%",
1344
+ plugins: {
1345
+ legend: { display: false },
1346
+ tooltip: { enabled: false }
1347
+ },
1348
+ animation: { animateRotate: true }
1349
+ };
1350
+ return (_ctx, _cache) => {
1351
+ return openBlock(), createBlock(unref(C), {
1352
+ class: "space-y-8 h-full flex flex-col w-full",
1353
+ style: { "min-height": "301px" }
1354
+ }, {
1355
+ default: withCtx(() => [
1356
+ createBaseVNode("div", _hoisted_1$3, [
1357
+ createVNode(unref(y), {
1358
+ variant: "subtitle",
1359
+ isStrong: ""
1360
+ }, {
1361
+ default: withCtx(() => [
1362
+ createTextVNode(toDisplayString(title))
1363
+ ]),
1364
+ _: 1
1365
+ }),
1366
+ createVNode(unref(H), {
1367
+ text: helperText,
1368
+ size: "sm"
1369
+ })
1370
+ ]),
1371
+ unref(loadingGraphics) ? (openBlock(), createElementBlock("div", _hoisted_2$3, [
1372
+ createVNode(AmSkeleton, {
1373
+ width: 280,
1374
+ height: 20,
1375
+ class: "skeleton-item skeleton-1"
1376
+ }),
1377
+ createVNode(AmSkeleton, {
1378
+ width: 220,
1379
+ height: 20,
1380
+ class: "skeleton-item skeleton-2"
1381
+ }),
1382
+ createVNode(AmSkeleton, {
1383
+ width: 160,
1384
+ height: 20,
1385
+ class: "skeleton-item skeleton-3"
1386
+ }),
1387
+ createVNode(AmSkeleton, {
1388
+ width: 240,
1389
+ height: 20,
1390
+ class: "skeleton-item skeleton-4"
1391
+ })
1392
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
1393
+ createBaseVNode("div", _hoisted_4$3, [
1394
+ createBaseVNode("div", _hoisted_5$3, [
1395
+ createVNode(unref(script$2), {
1396
+ type: "doughnut",
1397
+ data: doughnutData.value,
1398
+ options: doughnutOptions,
1399
+ class: "chart-canvas"
1400
+ }, null, 8, ["data"])
1401
+ ]),
1402
+ createBaseVNode("div", _hoisted_6$3, [
1403
+ hasData.value ? (openBlock(), createBlock(unref(y), {
1404
+ key: 0,
1405
+ variant: "title",
1406
+ isStrong: ""
1407
+ }, {
1408
+ default: withCtx(() => [
1409
+ createTextVNode(toDisplayString(total.value), 1)
1410
+ ]),
1411
+ _: 1
1412
+ })) : (openBlock(), createBlock(unref(y), {
1413
+ key: 1,
1414
+ class: "empty-state-text text-center"
1415
+ }, {
1416
+ default: withCtx(() => _cache[0] || (_cache[0] = [
1417
+ createTextVNode(" Sem assinaturas"),
1418
+ createBaseVNode("br", null, null, -1),
1419
+ createTextVNode("no período ")
1420
+ ])),
1421
+ _: 1
1422
+ }))
1423
+ ])
1424
+ ]),
1425
+ createBaseVNode("div", _hoisted_7$3, [
1426
+ hasData.value ? (openBlock(), createElementBlock("div", _hoisted_8$2, [
1427
+ (openBlock(true), createElementBlock(Fragment, null, renderList(seasonalityData.value, (item) => {
1428
+ return openBlock(), createElementBlock("div", {
1429
+ key: item.name,
1430
+ class: "flex items-center gap-2 text-sm"
1431
+ }, [
1432
+ createBaseVNode("div", {
1433
+ class: "w-4 h-4 rounded",
1434
+ style: normalizeStyle(`background-color: ${item.hex}`)
1435
+ }, null, 4),
1436
+ createVNode(unref(y), null, {
1437
+ default: withCtx(() => [
1438
+ createTextVNode(toDisplayString(item.name) + " (" + toDisplayString(item.quantity) + ") ", 1),
1439
+ createBaseVNode("strong", null, toDisplayString(item.value), 1)
1440
+ ]),
1441
+ _: 2
1442
+ }, 1024)
1443
+ ]);
1444
+ }), 128))
1445
+ ])) : (openBlock(), createElementBlock("div", _hoisted_9$2, [
1446
+ createBaseVNode("div", _hoisted_10$1, [
1447
+ _cache[2] || (_cache[2] = createBaseVNode("div", {
1448
+ class: "w-4 h-4 rounded",
1449
+ style: { "background-color": "#E0E0E0" }
1450
+ }, null, -1)),
1451
+ createVNode(unref(y), { class: "text-muted-color" }, {
1452
+ default: withCtx(() => _cache[1] || (_cache[1] = [
1453
+ createTextVNode("Sem assinaturas no período")
1454
+ ])),
1455
+ _: 1
1456
+ })
1457
+ ])
1458
+ ]))
1459
+ ])
1460
+ ]))
1461
+ ]),
1462
+ _: 1
1463
+ });
1464
+ };
1465
+ }
1466
+ });
1467
+ const SeasonalityCard = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-1da0036d"]]);
1468
+ const _hoisted_1$2 = { class: "space-y-1 p-8 pt-2 border-r border-surface-200 border-solid" };
1469
+ const _hoisted_2$2 = {
1470
+ key: 0,
1471
+ class: "skeleton-container"
1472
+ };
1473
+ const _hoisted_3$2 = { class: "space-y-1 p-8 pt-2" };
1474
+ const _hoisted_4$2 = {
1475
+ key: 0,
1476
+ class: "skeleton-container"
1477
+ };
1478
+ const _hoisted_5$2 = { class: "col-span-2 space-y-1 p-8 pb-2 border-t border-surface-200 border-solid" };
1479
+ const _hoisted_6$2 = {
1480
+ key: 0,
1481
+ class: "bottom-skeleton-container"
1482
+ };
1483
+ const _hoisted_7$2 = {
1484
+ key: 0,
1485
+ class: "empty-state-container"
1486
+ };
1487
+ const activeClientsLabel = "Quantidade de clientes ativos";
1488
+ const averageTicketLabel = "Ticket médio por cliente";
1489
+ const topSubscriptionsLabel = "Top 3 assinaturas mais vendidas";
1490
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
1491
+ __name: "ActiveClientsCard",
1492
+ setup(__props) {
1493
+ const { graphicsData, loading } = useSubscriptionGraphics();
1494
+ const activeClients = computed(() => {
1495
+ var _a, _b;
1496
+ return ((_b = (_a = graphicsData.value) == null ? void 0 : _a.activeClients) == null ? void 0 : _b.count) || 0;
1497
+ });
1498
+ const formattedAverageTicket = computed(() => {
1499
+ var _a, _b;
1500
+ const avgTicket = ((_b = (_a = graphicsData.value) == null ? void 0 : _a.activeClients) == null ? void 0 : _b.avg_ticket) || 0;
1501
+ return new Intl.NumberFormat("pt-BR", {
1502
+ style: "currency",
1503
+ currency: "BRL"
1504
+ }).format(avgTicket);
1505
+ });
1506
+ const topSubscriptions = computed(() => {
1507
+ var _a;
1508
+ return ((_a = graphicsData.value) == null ? void 0 : _a.topSubscriptions) || [];
1509
+ });
1510
+ return (_ctx, _cache) => {
1511
+ return openBlock(), createBlock(unref(C), {
1512
+ class: "grid grid-cols-2 text-center h-full w-full",
1513
+ style: { "min-height": "301px" }
1514
+ }, {
1515
+ default: withCtx(() => [
1516
+ createBaseVNode("div", _hoisted_1$2, [
1517
+ unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
1518
+ createVNode(AmSkeleton, {
1519
+ width: 80,
1520
+ height: 40,
1521
+ class: "skeleton-primary"
1522
+ }),
1523
+ createVNode(AmSkeleton, {
1524
+ width: 140,
1525
+ height: 16,
1526
+ class: "skeleton-secondary"
1527
+ }),
1528
+ createVNode(AmSkeleton, {
1529
+ width: 120,
1530
+ height: 16,
1531
+ class: "skeleton-tertiary"
1532
+ })
1533
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1534
+ createVNode(unref(y), {
1535
+ variant: "title",
1536
+ isStrong: ""
1537
+ }, {
1538
+ default: withCtx(() => [
1539
+ createTextVNode(toDisplayString(activeClients.value), 1)
1540
+ ]),
1541
+ _: 1
1542
+ }),
1543
+ createVNode(unref(y), { class: "text-muted-color" }, {
1544
+ default: withCtx(() => [
1545
+ createTextVNode(toDisplayString(activeClientsLabel))
1546
+ ]),
1547
+ _: 1
1548
+ })
1549
+ ], 64))
1550
+ ]),
1551
+ createBaseVNode("div", _hoisted_3$2, [
1552
+ unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
1553
+ createVNode(AmSkeleton, {
1554
+ width: 80,
1555
+ height: 40,
1556
+ class: "skeleton-primary"
1557
+ }),
1558
+ createVNode(AmSkeleton, {
1559
+ width: 140,
1560
+ height: 16,
1561
+ class: "skeleton-secondary"
1562
+ }),
1563
+ createVNode(AmSkeleton, {
1564
+ width: 120,
1565
+ height: 16,
1566
+ class: "skeleton-tertiary"
1567
+ })
1568
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1569
+ createVNode(unref(y), {
1570
+ variant: "title",
1571
+ isStrong: ""
1572
+ }, {
1573
+ default: withCtx(() => [
1574
+ createTextVNode(toDisplayString(formattedAverageTicket.value), 1)
1575
+ ]),
1576
+ _: 1
1577
+ }),
1578
+ createVNode(unref(y), { class: "text-muted-color" }, {
1579
+ default: withCtx(() => [
1580
+ createTextVNode(toDisplayString(averageTicketLabel))
1581
+ ]),
1582
+ _: 1
1583
+ })
1584
+ ], 64))
1585
+ ]),
1586
+ createBaseVNode("div", _hoisted_5$2, [
1587
+ createVNode(unref(y), { isStrong: "" }, {
1588
+ default: withCtx(() => [
1589
+ createTextVNode(toDisplayString(topSubscriptionsLabel))
1590
+ ]),
1591
+ _: 1
1592
+ }),
1593
+ unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
1594
+ createVNode(AmSkeleton, {
1595
+ width: 280,
1596
+ height: 20,
1597
+ class: "bottom-skeleton-top"
1598
+ }),
1599
+ createVNode(AmSkeleton, {
1600
+ width: 220,
1601
+ height: 20,
1602
+ class: "bottom-skeleton-2"
1603
+ }),
1604
+ createVNode(AmSkeleton, {
1605
+ width: 160,
1606
+ height: 20,
1607
+ class: "bottom-skeleton-3"
1608
+ }),
1609
+ createVNode(AmSkeleton, {
1610
+ width: 240,
1611
+ height: 20,
1612
+ class: "bottom-skeleton-bottom"
1613
+ })
1614
+ ])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
1615
+ topSubscriptions.value.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
1616
+ createVNode(unref(y), { class: "text-muted-color" }, {
1617
+ default: withCtx(() => _cache[0] || (_cache[0] = [
1618
+ createTextVNode("Não há dados a exibir")
1619
+ ])),
1620
+ _: 1
1621
+ })
1622
+ ])) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(topSubscriptions.value, (subscription) => {
1623
+ return openBlock(), createBlock(unref(y), {
1624
+ key: subscription,
1625
+ class: "text-muted-color"
1626
+ }, {
1627
+ default: withCtx(() => [
1628
+ createTextVNode(toDisplayString(subscription), 1)
1629
+ ]),
1630
+ _: 2
1631
+ }, 1024);
1632
+ }), 128))
1633
+ ], 64))
1634
+ ])
1635
+ ]),
1636
+ _: 1
1637
+ });
1638
+ };
1639
+ }
1640
+ });
1641
+ const ActiveClientsCard = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-475997a0"]]);
1642
+ const _hoisted_1$1 = { class: "w-full" };
1643
+ const _hoisted_2$1 = {
1644
+ key: 0,
1645
+ class: "w-full"
1646
+ };
1647
+ const _hoisted_3$1 = {
1648
+ key: 1,
1649
+ class: "w-full"
1650
+ };
1651
+ const _hoisted_4$1 = { class: "chart-wrapper w-full" };
1652
+ const _hoisted_5$1 = {
1653
+ key: 0,
1654
+ class: "chart-skeleton-container"
1655
+ };
1656
+ const _hoisted_6$1 = {
1657
+ key: 1,
1658
+ class: "empty-chart-container"
1659
+ };
1660
+ const _hoisted_7$1 = { class: "empty-chart-overlay" };
1661
+ const _hoisted_8$1 = { class: "empty-chart-label" };
1662
+ const _hoisted_9$1 = {
1663
+ key: 2,
1664
+ class: "chart-container"
1665
+ };
1666
+ const _hoisted_10 = {
1667
+ key: 0,
1668
+ class: "flex gap-4 items-center justify-start flex-wrap"
1669
+ };
1670
+ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1671
+ __name: "LineChartCard",
1672
+ setup(__props) {
1673
+ const { graphicsData, loading } = useSubscriptionGraphics();
1674
+ const chartFilterOptions = [
1675
+ { label: "Receita por assinaturas + Assinaturas canceladas", value: "both" },
1676
+ { label: "Apenas receita por assinaturas", value: "revenue" },
1677
+ { label: "Apenas assinaturas canceladas", value: "canceled" }
1678
+ ];
1679
+ const selectedFilter = ref("both");
1680
+ const hasData = computed(() => {
1681
+ var _a;
1682
+ return ((_a = graphicsData.value) == null ? void 0 : _a.revenueChart) && Array.isArray(graphicsData.value.revenueChart) && graphicsData.value.revenueChart.length > 0 && graphicsData.value.revenueChart.some((point) => point.revenue > 0 || point.canceled > 0);
1683
+ });
1684
+ const chartData = computed(() => {
1685
+ var _a;
1686
+ if (!((_a = graphicsData.value) == null ? void 0 : _a.revenueChart) || !Array.isArray(graphicsData.value.revenueChart) || graphicsData.value.revenueChart.length === 0) {
1687
+ return {
1688
+ labels: [],
1689
+ datasets: []
1690
+ };
1691
+ }
1692
+ const chartDataPoints = graphicsData.value.revenueChart;
1693
+ return {
1694
+ labels: chartDataPoints.map((point) => point.label),
1695
+ datasets: [
1696
+ {
1697
+ label: "Receita por assinaturas",
1698
+ data: chartDataPoints.map((point) => point.revenue),
1699
+ borderColor: "#9B6AFA",
1700
+ tension: 0.4,
1701
+ yAxisID: "y"
1702
+ },
1703
+ {
1704
+ label: "Assinaturas canceladas",
1705
+ data: chartDataPoints.map((point) => point.canceled),
1706
+ borderColor: "#D38913",
1707
+ tension: 0.4,
1708
+ yAxisID: "y1"
1709
+ }
1710
+ ]
1711
+ };
1712
+ });
1713
+ const filteredChartData = computed(() => {
1714
+ if (!chartData.value.datasets.length) {
1715
+ return {
1716
+ labels: [],
1717
+ datasets: []
1718
+ };
1719
+ }
1720
+ let datasetsToShow = [];
1721
+ if (selectedFilter.value === "revenue") {
1722
+ datasetsToShow = [chartData.value.datasets[0]];
1723
+ } else if (selectedFilter.value === "canceled") {
1724
+ datasetsToShow = [chartData.value.datasets[1]];
1725
+ } else {
1726
+ datasetsToShow = chartData.value.datasets;
1727
+ }
1728
+ return {
1729
+ labels: chartData.value.labels,
1730
+ datasets: datasetsToShow
1731
+ };
1732
+ });
1733
+ const chartOptions = computed(() => {
1734
+ selectedFilter.value === "both";
1735
+ selectedFilter.value === "canceled";
1736
+ return {
1737
+ maintainAspectRatio: false,
1738
+ aspectRatio: 0.6,
1739
+ layout: {
1740
+ padding: {
1741
+ right: 0
1742
+ // Remove padding à direita
1743
+ }
1744
+ },
1745
+ plugins: {
1746
+ legend: {
1747
+ display: false
1748
+ },
1749
+ tooltip: {
1750
+ callbacks: {
1751
+ label: function(context) {
1752
+ const datasetLabel = context.dataset.label || "";
1753
+ const value = context.parsed.y;
1754
+ if (context.dataset.yAxisID === "y") {
1755
+ return `${datasetLabel}: R$ ${value.toLocaleString("pt-BR", {
1756
+ minimumFractionDigits: 2
1757
+ })}`;
1758
+ }
1759
+ return `${datasetLabel}: ${value}`;
1760
+ }
1761
+ }
1762
+ }
1763
+ },
1764
+ scales: {
1765
+ x: {
1766
+ ticks: { color: "#666" },
1767
+ grid: { color: "#eee" }
1768
+ },
1769
+ y: {
1770
+ type: "linear",
1771
+ display: true,
1772
+ // Sempre mostra o eixo esquerdo
1773
+ position: "left",
1774
+ ticks: {
1775
+ color: "#666",
1776
+ callback: function(value) {
1777
+ return `R$ ${value.toLocaleString("pt-BR", { minimumFractionDigits: 2 })}`;
1778
+ }
1779
+ },
1780
+ grid: { color: "#eee" }
1781
+ },
1782
+ y1: {
1783
+ type: "linear",
1784
+ display: false,
1785
+ // Desabilita o eixo direito
1786
+ position: "right",
1787
+ ticks: {
1788
+ color: "#666"
1789
+ },
1790
+ grid: {
1791
+ drawOnChartArea: false,
1792
+ color: "#eee"
1793
+ }
1794
+ }
1795
+ }
1796
+ };
1797
+ });
1798
+ const handleFilterChange = (value) => {
1799
+ selectedFilter.value = value;
1800
+ };
1801
+ return (_ctx, _cache) => {
1802
+ return openBlock(), createBlock(unref(C), { class: "col-span-12 space-y-4" }, {
1803
+ default: withCtx(() => [
1804
+ createBaseVNode("div", _hoisted_1$1, [
1805
+ unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_2$1, [
1806
+ createVNode(AmSkeleton, {
1807
+ width: 250,
1808
+ height: 40
1809
+ })
1810
+ ])) : (openBlock(), createElementBlock("div", _hoisted_3$1, [
1811
+ createVNode(unref(script$1), {
1812
+ options: chartFilterOptions,
1813
+ optionLabel: "label",
1814
+ optionValue: "value",
1815
+ modelValue: selectedFilter.value,
1816
+ "onUpdate:modelValue": [
1817
+ _cache[0] || (_cache[0] = ($event) => selectedFilter.value = $event),
1818
+ handleFilterChange
1819
+ ],
1820
+ size: "small",
1821
+ class: "w-full"
1822
+ }, null, 8, ["modelValue"])
1823
+ ]))
1824
+ ]),
1825
+ createBaseVNode("div", _hoisted_4$1, [
1826
+ unref(loading) ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
1827
+ createVNode(AmSkeleton, {
1828
+ width: 200,
1829
+ height: 20,
1830
+ class: "chart-skeleton-item chart-skeleton-1"
1831
+ }),
1832
+ createVNode(AmSkeleton, {
1833
+ width: 240,
1834
+ height: 20,
1835
+ class: "chart-skeleton-item chart-skeleton-2"
1836
+ }),
1837
+ createVNode(AmSkeleton, {
1838
+ width: 320,
1839
+ height: 20,
1840
+ class: "chart-skeleton-item chart-skeleton-3"
1841
+ })
1842
+ ])) : !hasData.value ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
1843
+ createVNode(unref(script$2), {
1844
+ type: "line",
1845
+ data: { labels: [], datasets: [] },
1846
+ options: chartOptions.value
1847
+ }, null, 8, ["options"]),
1848
+ createBaseVNode("div", _hoisted_7$1, [
1849
+ createBaseVNode("div", _hoisted_8$1, [
1850
+ _cache[2] || (_cache[2] = createBaseVNode("div", { class: "empty-chart-bullet" }, null, -1)),
1851
+ createVNode(unref(y), { class: "empty-chart-text" }, {
1852
+ default: withCtx(() => _cache[1] || (_cache[1] = [
1853
+ createTextVNode("Nenhum dado a ser exibido")
1854
+ ])),
1855
+ _: 1
1856
+ })
1857
+ ])
1858
+ ])
1859
+ ])) : (openBlock(), createElementBlock("div", _hoisted_9$1, [
1860
+ createVNode(unref(script$2), {
1861
+ type: "line",
1862
+ data: filteredChartData.value,
1863
+ options: chartOptions.value
1864
+ }, null, 8, ["data", "options"])
1865
+ ]))
1866
+ ]),
1867
+ !unref(loading) && hasData.value && filteredChartData.value.datasets.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_10, [
1868
+ (openBlock(true), createElementBlock(Fragment, null, renderList(filteredChartData.value.datasets, (dataset) => {
1869
+ return openBlock(), createElementBlock("div", {
1870
+ key: dataset.label,
1871
+ class: "flex items-center gap-2"
1872
+ }, [
1873
+ createBaseVNode("div", {
1874
+ class: "w-3 h-3 rounded-full",
1875
+ style: normalizeStyle(`background-color: ${dataset.borderColor}`)
1876
+ }, null, 4),
1877
+ createVNode(unref(y), { class: "text-sm" }, {
1878
+ default: withCtx(() => [
1879
+ createTextVNode(toDisplayString(dataset.label), 1)
1880
+ ]),
1881
+ _: 2
1882
+ }, 1024)
1883
+ ]);
1884
+ }), 128))
1885
+ ])) : createCommentVNode("", true)
1886
+ ]),
1887
+ _: 1
1888
+ });
1889
+ };
1890
+ }
1891
+ });
1892
+ const LineChartCard = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-d8551ddc"]]);
1893
+ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
1894
+ __name: "SubscriptionModal",
1895
+ setup(__props) {
1896
+ const { t } = useI18n();
1897
+ const AssetsBaseUrl = `${"https://unpkg.com/appmax-client-vue3@5.0.7/dist"}/`;
1898
+ const showSubscriptionModal = ref(true);
1899
+ const handleSubscriptionModalRedirect = () => {
1900
+ showSubscriptionModal.value = false;
1901
+ };
1902
+ return (_ctx, _cache) => {
1903
+ return openBlock(), createBlock(unref(Te), {
1904
+ modelValue: showSubscriptionModal.value,
1905
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showSubscriptionModal.value = $event),
1906
+ "show-briefing": false,
1907
+ "whats-new-props": {
1908
+ title: unref(t)("subscriptionModal.title"),
1909
+ backButtonText: unref(t)("subscriptionModal.back-button"),
1910
+ nextButtonText: unref(t)("subscriptionModal.next-button"),
1911
+ integrationMenuButtonText: unref(t)("subscriptionModal.action-button"),
1912
+ items: [
1913
+ {
1914
+ image: `${unref(AssetsBaseUrl)}images/subscription/subscription-menu.webp`,
1915
+ subtitle: unref(t)("subscriptionModal.whats-new-first.subtitle"),
1916
+ description: unref(t)("subscriptionModal.whats-new-first.description")
1917
+ },
1918
+ {
1919
+ image: `${unref(AssetsBaseUrl)}images/subscription/subscription-management.webp`,
1920
+ subtitle: unref(t)("subscriptionModal.whats-new-second.subtitle"),
1921
+ description: unref(t)("subscriptionModal.whats-new-second.description")
1922
+ }
1923
+ ]
1924
+ },
1925
+ onNextStep: handleSubscriptionModalRedirect
1926
+ }, null, 8, ["modelValue", "whats-new-props"]);
1927
+ };
1928
+ }
1929
+ });
1930
+ const _hoisted_1 = { class: "dashboard-container" };
1931
+ const _hoisted_2 = { class: "dashboard-grid" };
1932
+ const _hoisted_3 = { class: "metrics-section" };
1933
+ const _hoisted_4 = { class: "recovery-section" };
1934
+ const _hoisted_5 = { class: "filters-section" };
1935
+ const _hoisted_6 = { class: "cards-row-section" };
1936
+ const _hoisted_7 = { class: "seasonality-section" };
1937
+ const _hoisted_8 = { class: "clients-section" };
1938
+ const _hoisted_9 = { class: "chart-section" };
1939
+ const _sfc_main = /* @__PURE__ */ defineComponent({
1940
+ __name: "RecurringSubscriptionDashView",
1941
+ setup(__props) {
1942
+ const route = useRoute();
1943
+ const sidebar = useSidebarStore();
1944
+ const { initialize: initialize2, selectedSeasonality } = useMetricsData();
1945
+ const {
1946
+ handleDateChange,
1947
+ handleSeasonalityChange,
1948
+ seasonalityOptions,
1949
+ loadInitialData
1950
+ } = useSubscriptionGraphics();
1951
+ const { isEmpty, totalRecords, loading, fetchSubscriptions } = useRecurringTable();
1952
+ const showSubscriptionModal = computed(() => {
1953
+ const hasSubscriptionMenuItem = sidebar.items.value.find(
1954
+ (item) => item.href.includes("/v2/client/integration/subscriptions")
1955
+ );
1956
+ const isSubscriptionRoute = route.name === "subscription.dashboard";
1957
+ const isTableEmpty = isEmpty.value || totalRecords.value === 0;
1958
+ return hasSubscriptionMenuItem && isSubscriptionRoute && isTableEmpty && !loading.value;
1959
+ });
1960
+ onMounted(async () => {
1961
+ try {
1962
+ await Promise.all([
1963
+ initialize2(),
1964
+ loadInitialData(),
1965
+ fetchSubscriptions()
1966
+ ]);
1967
+ } catch (error) {
1968
+ console.error("Error during initialization:", error);
1969
+ }
1970
+ });
1971
+ return (_ctx, _cache) => {
1972
+ return openBlock(), createElementBlock("div", _hoisted_1, [
1973
+ showSubscriptionModal.value ? (openBlock(), createBlock(_sfc_main$1, { key: 0 })) : createCommentVNode("", true),
1974
+ createBaseVNode("div", _hoisted_2, [
1975
+ createBaseVNode("div", _hoisted_3, [
1976
+ createVNode(TotalRevenueCard),
1977
+ createVNode(NewSubscriptionsCard),
1978
+ createVNode(ChurnCard)
1979
+ ]),
1980
+ createBaseVNode("div", _hoisted_4, [
1981
+ createVNode(SubscriptionRecoveryCard)
1982
+ ]),
1983
+ !showSubscriptionModal.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
1984
+ createBaseVNode("div", _hoisted_5, [
1985
+ createVNode(FilterBar, {
1986
+ "seasonality-options": unref(seasonalityOptions),
1987
+ "selected-seasonality-types": unref(selectedSeasonality),
1988
+ onDateChange: unref(handleDateChange),
1989
+ onSeasonalityChange: unref(handleSeasonalityChange)
1990
+ }, null, 8, ["seasonality-options", "selected-seasonality-types", "onDateChange", "onSeasonalityChange"])
1991
+ ]),
1992
+ createBaseVNode("div", _hoisted_6, [
1993
+ createBaseVNode("div", _hoisted_7, [
1994
+ createVNode(SeasonalityCard)
1995
+ ]),
1996
+ createBaseVNode("div", _hoisted_8, [
1997
+ createVNode(ActiveClientsCard)
1998
+ ])
1999
+ ]),
2000
+ createBaseVNode("div", _hoisted_9, [
2001
+ createVNode(LineChartCard)
2002
+ ])
2003
+ ], 64)) : createCommentVNode("", true)
2004
+ ])
2005
+ ]);
2006
+ };
2007
+ }
2008
+ });
2009
+ const RecurringSubscriptionDashView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fa0f393a"]]);
2010
+ export {
2011
+ RecurringSubscriptionDashView as default
2012
+ };