appmax-client-vue3 5.3.0 → 5.4.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-Bd5ZmNR6.js +16 -0
  2. package/dist/AE-DiMVenwy-CWAV4obx.js +16 -0
  3. package/dist/AF-DOrptOkS-CHAQ0hS1.js +16 -0
  4. package/dist/AG-CzBMAtom-D230qTCA.js +16 -0
  5. package/dist/AI-A2DnDGPS-B2_jkBvf.js +16 -0
  6. package/dist/AL-BcGdPXjJ-TPv6VjEX.js +16 -0
  7. package/dist/AM-BC_r4gTd-qcF4VZIc.js +16 -0
  8. package/dist/AO-D6GK49nd-DkhfG3AF.js +16 -0
  9. package/dist/AQ-Eeziry42-BWZoK-Vq.js +16 -0
  10. package/dist/AR-AbqVWszQ-CV09rKe0.js +16 -0
  11. package/dist/AS-BWe_Gq8Z-C8aIVvuM.js +16 -0
  12. package/dist/AT-b5CS9jSt-DcT5lkX9.js +16 -0
  13. package/dist/AU-BUbOyX6Q-wsXvOQnA.js +16 -0
  14. package/dist/AW-CjVdJTYe-DmDdQ7Oi.js +16 -0
  15. package/dist/AX-lNtwEmw2-ALqQktQn.js +16 -0
  16. package/dist/AZ-f8zSo9ut-DVsUGYop.js +16 -0
  17. package/dist/AmBulletLegend-4PjWRwae.js +23 -0
  18. package/dist/AmCardV3-BLr7Srwb.js +22 -0
  19. package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-CnAo6crt.js +36 -0
  20. package/dist/AmDoughnutChartAdapted-DM-boeXA.js +203 -0
  21. package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-C0So4WbN.js +86 -0
  22. package/dist/AmFilterLevelDateSelect-BbVyzCa5-B7-flfY1.js +40 -0
  23. package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-BF14VaC5.js +46 -0
  24. package/dist/AmFilterLevelSelectFilter-Be3LFJno-Crp_phPJ.js +63 -0
  25. package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-DxkH8bpU.js +53 -0
  26. package/dist/AmLayoutFeedbackState-ClPW1p3a.js +48 -0
  27. package/dist/AmLayoutInnerData-ufFWPi6w.js +162 -0
  28. package/dist/AmModalV3-D_-nzNY9.js +105 -0
  29. package/dist/AmOutlineCard-BPkPZW4i.js +25 -0
  30. package/dist/AmSkeleton-D3lwqjae.js +35 -0
  31. package/dist/AmText-BHIr8R4l.js +33 -0
  32. package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-DdsMNcUN.js +64 -0
  33. package/dist/ApiService-BJ-yA8hE.js +11 -0
  34. package/dist/AppInstallationConfirmationPasswordModal-CcGEco5V.js +535 -0
  35. package/dist/AppstoreAppView-BiuPcVvW.js +315 -0
  36. package/dist/AppstoreHomeView-CLGJFWfX.js +1372 -0
  37. package/dist/BA-BfV7_7RP-B_Xdq9GS.js +16 -0
  38. package/dist/BB-CC4768VM-C289DJLx.js +16 -0
  39. package/dist/BD-YQdTTbhg-QKlpQDzG.js +16 -0
  40. package/dist/BE-DUYoRyei-0m6_-m4d.js +16 -0
  41. package/dist/BF-XZRLkaHX-COAJeRlK.js +16 -0
  42. package/dist/BG-BAb8lAFP-C_rXnUK9.js +16 -0
  43. package/dist/BH-C1LTB8Fj-B-zg7RL7.js +16 -0
  44. package/dist/BI-RjDfMipp-Cxb_mEHh.js +16 -0
  45. package/dist/BJ-DAv61IMB-oNj71vX3.js +16 -0
  46. package/dist/BL-CFW4iaQd-BzSOI5CG.js +16 -0
  47. package/dist/BM-DuK3dA1G-CWxpTuaT.js +16 -0
  48. package/dist/BN-BXHGopan-yW7NNyVH.js +16 -0
  49. package/dist/BO-CzuoErsx-DErxgePD.js +16 -0
  50. package/dist/BQ-BO-BlM1Uin3-Dk7gFlMd.js +16 -0
  51. package/dist/BQ-SA-BninfeHy-cj6q0xM5.js +16 -0
  52. package/dist/BQ-SE-tq-mCvpl-BhppA6bF.js +16 -0
  53. package/dist/BR-B1GEJ05L-dA2TBuu1.js +16 -0
  54. package/dist/BS-MeULPH4e-DBiVnGB4.js +16 -0
  55. package/dist/BT-BCfQJS6a-RiYgW9TF.js +16 -0
  56. package/dist/BV-CfaYWvM--B1CRk0Oo.js +16 -0
  57. package/dist/BW-jYbPMHhQ-BHRjer87.js +16 -0
  58. package/dist/BY-Ddffd2rT-tV6d9tew.js +16 -0
  59. package/dist/BZ-B7mGW2Jg-hXZ31d2f.js +16 -0
  60. package/dist/BankAccountCrossborderNew.page-BEHGYtwA.js +152 -0
  61. package/dist/BankAccountList.page-DLsCSb5R.js +331 -0
  62. package/dist/BankAccountNew.page-DibHAlIV.js +982 -0
  63. package/dist/CA-CHl-cqJL-iIGUE4jr.js +16 -0
  64. package/dist/CC-DSLZRwFz-Da8t6reA.js +16 -0
  65. package/dist/CD-D4NJYkQm-CHT0ed9W.js +16 -0
  66. package/dist/CF-DoxRpaA9-Cm4dyyUE.js +16 -0
  67. package/dist/CG-Auzp6pC_-C_YxIkUk.js +16 -0
  68. package/dist/CH-B5eEo1aL-n8YtbaF9.js +16 -0
  69. package/dist/CI-DFfmdeVw-CxspS9up.js +16 -0
  70. package/dist/CK-CKWUhjXV-CQXevmgN.js +16 -0
  71. package/dist/CL-Di6p-p6X-DKGSrl50.js +16 -0
  72. package/dist/CM-B0ht31e3-CHae1z_1.js +16 -0
  73. package/dist/CN-CKHlOciI-oe5DrzFs.js +16 -0
  74. package/dist/CO-GBUkcePt-Crd3tasl.js +16 -0
  75. package/dist/CR-Daw5JsjF-IWm1qhjZ.js +16 -0
  76. package/dist/CU-CVOkcTvR-BSxwukR2.js +16 -0
  77. package/dist/CV-cyPoze-o-DumWiygu.js +16 -0
  78. package/dist/CW-Bt-Pwg4j-n_K6mjFh.js +16 -0
  79. package/dist/CX-uhIZlYzy-b7ypn9QU.js +16 -0
  80. package/dist/CY-un4rgwPX-DJoRGBE9.js +16 -0
  81. package/dist/CZ-equ-r4iN-cBzgk7Ri.js +16 -0
  82. package/dist/CashoutAntecipateContent-Dx9u5_Rz.js +42 -0
  83. package/dist/ChargebackAnalytics-BhwTqu2r.js +1701 -0
  84. package/dist/ChargebackDetail-B4fUB9Cg.js +3469 -0
  85. package/dist/ChargebackRate-iZnejOtP.js +77 -0
  86. package/dist/ChatPlayground.page-8B2hswBl.js +508 -0
  87. package/dist/ConfirmationModal-CIKu-V4t.js +105 -0
  88. package/dist/Create.page-BPydpdI-.js +1390 -0
  89. package/dist/CreatePaymentLink-CnB-m8_F.js +856 -0
  90. package/dist/DE-zx7UmJ-V-Cp8fD1KI.js +16 -0
  91. package/dist/DJ-BN1kIFYT-CqC0539K.js +16 -0
  92. package/dist/DK-CrXXNH_h-BHgJKNcT.js +16 -0
  93. package/dist/DM-B4nVdNww-DYywrazc.js +16 -0
  94. package/dist/DO-C7-NF2JD-D05gs8wW.js +16 -0
  95. package/dist/DZ-DSDLbNRb-CK7oQyjO.js +16 -0
  96. package/dist/DashboardAmountDetailsContent-CfnEVs2o.js +65 -0
  97. package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-DFz_R6Rh.js +151 -0
  98. package/dist/DashboardApprovalRateInternationalContent-B6uJqN3A.js +19 -0
  99. package/dist/DashboardApprovalRateNationalContent-RVzx622B.js +74 -0
  100. package/dist/DashboardCarouselContent-DS757F4I.js +958 -0
  101. package/dist/DashboardDetailsContent-DFx8sTqd.js +58 -0
  102. package/dist/DashboardHome-DCKMlnks.js +4247 -0
  103. package/dist/DetailSubscriptionRecurring-BjZ2RfSw.js +1296 -0
  104. package/dist/EC-C_bjTYWm-D_T6EiUi.js +16 -0
  105. package/dist/EE-CQIjuoWO--aXKhjk6.js +16 -0
  106. package/dist/EG-Bs_BHfVR-Bp8CBGVc.js +16 -0
  107. package/dist/EH-CnWam84F-DZMSJzBy.js +16 -0
  108. package/dist/ER-Dcl4hJzq-B17Zsb8s.js +16 -0
  109. package/dist/ES-Bpj2gAdj-CSHU77rl.js +16 -0
  110. package/dist/ET-Dm3q0Ruz-DJTWLyyD.js +16 -0
  111. package/dist/ExternalPendenciesList-DQ8gtd-D.js +651 -0
  112. package/dist/FI-DCqfJeiQ-BGwpFigw.js +16 -0
  113. package/dist/FJ-C6UrGUgI-PQ8_soDV.js +16 -0
  114. package/dist/FK-CAaec31K-BRuERR1x.js +16 -0
  115. package/dist/FM-Cf2SIJ7h-BcYxaIVO.js +16 -0
  116. package/dist/FO-DBb4psBV-B0y2-gBx.js +16 -0
  117. package/dist/FR-CFW4iaQd-BAl-4SkO.js +16 -0
  118. package/dist/FeatureFlagsPage-BMUKC3Mk.js +271 -0
  119. package/dist/GA-D3NTxgTl-0zLGxauc.js +16 -0
  120. package/dist/GB-ENG-Cmkg6Zq8-DvT-QH12.js +16 -0
  121. package/dist/GB-NIR-DKszcfHi-D-99R70n.js +16 -0
  122. package/dist/GB-SCT-BiivwJ71-Bcrwm1LZ.js +16 -0
  123. package/dist/GB-UKM-DgMBd3ib-CNP9rsQK.js +16 -0
  124. package/dist/GB-WLS-DLoDy9iv-T_HcZVx3.js +16 -0
  125. package/dist/GD-Bs1d4We7-BaIihe9V.js +16 -0
  126. package/dist/GE-DXG9iLk5-C89OGNS2.js +16 -0
  127. package/dist/GF-B20s5gtx-CPT3kdi3.js +16 -0
  128. package/dist/GG-BAyrpIoO-BeUbM86y.js +16 -0
  129. package/dist/GH-v3jh5r1X-DnAivaIy.js +16 -0
  130. package/dist/GI-D39Krd4s-auO_v7Un.js +16 -0
  131. package/dist/GL-BDd_W5AU-DkmIIpXU.js +16 -0
  132. package/dist/GM-BNEHspzj-5WzqwnaI.js +16 -0
  133. package/dist/GN-DdIZ0X6d-0dzfgpJt.js +16 -0
  134. package/dist/GP-CFW4iaQd-DoN4z59W.js +16 -0
  135. package/dist/GQ-CC3X6AMz-BpcNb63L.js +16 -0
  136. package/dist/GR-C_0rusTd-DM78Vz0F.js +16 -0
  137. package/dist/GS-Db5l22a1-g1wpVbCk.js +16 -0
  138. package/dist/GT-BhbkqUft-BokZZEPm.js +16 -0
  139. package/dist/GU-C0HeItm1-CK3NMaKC.js +16 -0
  140. package/dist/GW-BjLM1vg--Bb0vh4FM.js +16 -0
  141. package/dist/GY-BreBVlhN-BSZ_J8Zd.js +16 -0
  142. package/dist/HK-BZn9ZQGS-B_G2UEXQ.js +16 -0
  143. package/dist/HM-BUbOyX6Q-CBTHnK8w.js +16 -0
  144. package/dist/HN-D4wujIPC-DDOtdLYZ.js +16 -0
  145. package/dist/HR-Jhi3QQ9F-DjFev7_L.js +16 -0
  146. package/dist/HT-MMjMjr-R-DNm13_JB.js +16 -0
  147. package/dist/HU-CN5KmQ7F-Bhg0fCkc.js +16 -0
  148. package/dist/Home-hBBbcfgJ.js +997 -0
  149. package/dist/ID-hVVUTKNG-C84lqN8r.js +16 -0
  150. package/dist/IE-WN_vdKcS-BCsThQaP.js +16 -0
  151. package/dist/IL-D5Wr_Xxh-BsTH0_1Q.js +16 -0
  152. package/dist/IM-B-putc0k-CEJesk0F.js +16 -0
  153. package/dist/IN-CK40zbQD-YKf-WDvU.js +16 -0
  154. package/dist/IO-CdvLck7D-qGjzKcAA.js +16 -0
  155. package/dist/IQ-f_9wyurt-D6yW63sz.js +16 -0
  156. package/dist/IR-B0yfWttH-9GL9LGQQ.js +16 -0
  157. package/dist/IS-Dvf-XQTq-B1Gi2T7b.js +16 -0
  158. package/dist/IT-uY7cjdFI-CGQW9SCb.js +16 -0
  159. package/dist/ImportTrackingCode-DRkKUB2E.js +1007 -0
  160. package/dist/InternalCompanyIssuesDetail-BmQQ0qBt.js +862 -0
  161. package/dist/InternalCompanyList-Cfs4T8MU.js +351 -0
  162. package/dist/InternalPendencyDetail-BYvZrkBI.js +717 -0
  163. package/dist/JE-C95tN_VG-0snvENdj.js +16 -0
  164. package/dist/JM-zOuEwaB3-DP2FNo63.js +16 -0
  165. package/dist/JO-Cq88rrOD-DAYUZ_9d.js +16 -0
  166. package/dist/JP-5evXgWxq-BqPrtm23.js +16 -0
  167. package/dist/KE-PHx0d97Z-C-Xkidlw.js +16 -0
  168. package/dist/KG-DT4JnieX-DbgG6igj.js +16 -0
  169. package/dist/KH-ChwV2WTT-TyKbWD-O.js +16 -0
  170. package/dist/KI-D212g4Lh-IhpiUyPB.js +16 -0
  171. package/dist/KM-mPVp7AKS-DsMX3gp5.js +16 -0
  172. package/dist/KN-AdXLXICN-dEvywFxw.js +16 -0
  173. package/dist/KP-CC6UIrEF-C9V2ASuz.js +16 -0
  174. package/dist/KR-BtnmWR6C-CqP0yrnA.js +16 -0
  175. package/dist/KW-gqahWVaw-Be5XycK8.js +16 -0
  176. package/dist/KY-DjIb70VQ-B7qjhpUZ.js +16 -0
  177. package/dist/KZ-C_fRihiO-CkqwPRDj.js +16 -0
  178. package/dist/LA-KIULJHAb-6V8PE7UC.js +16 -0
  179. package/dist/LB-CrF8WJiI-Ds8QmDZN.js +16 -0
  180. package/dist/LC-DGiHXm5V-BaQexC5C.js +16 -0
  181. package/dist/LI-BwB0b8M1-C7uFEcvm.js +16 -0
  182. package/dist/LK-BOC44ZgS-IDJmlLil.js +16 -0
  183. package/dist/LR-CWjRlWOZ-DQOYP-31.js +16 -0
  184. package/dist/LS-B_EgU3p5-CPGiYN_N.js +16 -0
  185. package/dist/LT-BPyPiVx2-D_zUYxQu.js +16 -0
  186. package/dist/LU-B-De6aB--Co5ldo0f.js +16 -0
  187. package/dist/LV-D2Ewe3XC-p5OVxRBg.js +16 -0
  188. package/dist/LY-D1TSt6YI-e1UP1DI9.js +16 -0
  189. package/dist/MA-QY5gm-vM-C2WO3oMv.js +16 -0
  190. package/dist/MC-BjlCjfCP-BoLj6z6H.js +16 -0
  191. package/dist/MD-rh-6rlSt-BX8Tc87h.js +16 -0
  192. package/dist/ME-D1euo0V2-CvMo4JW8.js +16 -0
  193. package/dist/MF-CFW4iaQd-Bkjt9y9x.js +16 -0
  194. package/dist/MG-ONnxn_5g-DvUoQXXU.js +16 -0
  195. package/dist/MH-B8oC_VMS-DnLx3n4w.js +16 -0
  196. package/dist/MK-ByjICisj-BnQ7mmNt.js +16 -0
  197. package/dist/ML-CKVAuhox-BmU671B6.js +16 -0
  198. package/dist/MM-doJuUjVT-Cpng9kzz.js +16 -0
  199. package/dist/MN-BFP303GE-Cnet8fPI.js +16 -0
  200. package/dist/MO-Dp4PTSYU-CmDiynhO.js +16 -0
  201. package/dist/MP-CqKsnjHV-FUAVNGyw.js +16 -0
  202. package/dist/MQ-CFW4iaQd-XdOF3z0F.js +16 -0
  203. package/dist/MR-D73q_PiY-BjRVagls.js +16 -0
  204. package/dist/MS-qhjKl9TO-CJbbL4Nv.js +16 -0
  205. package/dist/MT-CZjbs1U--B56GIRNc.js +16 -0
  206. package/dist/MU-D0EQOl0S-CPMJBZY-.js +16 -0
  207. package/dist/MV-BtwHRTMn-CEUMywhy.js +16 -0
  208. package/dist/MW-CVnAR98j-CywjjDiA.js +16 -0
  209. package/dist/MX-C7vXnCDY-vgoj60da.js +16 -0
  210. package/dist/MY-DJcgH_o3-CIeie-uR.js +16 -0
  211. package/dist/MZ-BbLwl9DA-Cq31M3XS.js +16 -0
  212. package/dist/Max.page-Dcn85hoh.js +599 -0
  213. package/dist/MostSoldCountries-COPCqZos.js +22 -0
  214. package/dist/NA-5FKNjRGT-DRkHVQ9Y.js +16 -0
  215. package/dist/NC-CFW4iaQd-RNcTVT1j.js +16 -0
  216. package/dist/NE-DpLZJa7D-DhfNivVc.js +16 -0
  217. package/dist/NF-BT-wIfwf-CaiD3aUC.js +16 -0
  218. package/dist/NG-BAiR_q0H-CTz9q1XE.js +16 -0
  219. package/dist/NI-DylPDojG-SIw_VW_0.js +16 -0
  220. package/dist/NL-iozeFKPM-BOODwZiT.js +16 -0
  221. package/dist/NO-CfaYWvM--Bh0WieSh.js +16 -0
  222. package/dist/NP-BGR_ZaqA-SwhN9ZxU.js +16 -0
  223. package/dist/NR-DHGW5Y3Q-BbnfBi3h.js +16 -0
  224. package/dist/NU-CcpcSx_x-CmNKWCMY.js +16 -0
  225. package/dist/NZ-DDYt6DcJ-B2Pz0Ftu.js +16 -0
  226. package/dist/OM-D6hiar1r-CpSs2A93.js +16 -0
  227. package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-Bn2cbExN.js +760 -0
  228. package/dist/OrderStatusChip-C1J1ks-7.js +30 -0
  229. package/dist/Orders.page-CyzFwzOO.js +1636 -0
  230. package/dist/OrdersChartDataContent-CsR6xEDY.js +221 -0
  231. package/dist/OrdersDetails.page-ygHwYPZu.js +6158 -0
  232. package/dist/PA-Bi2blxjJ-CiC6L-sG.js +16 -0
  233. package/dist/PE-D4DjQOlP-B9xHtj9T.js +16 -0
  234. package/dist/PF-DmOSfnYB-DUK8RODQ.js +16 -0
  235. package/dist/PG-DeOlZ7TA-Bm0BFeAt.js +16 -0
  236. package/dist/PH-Dv4KdxU--BXLkyPbu.js +16 -0
  237. package/dist/PK-CRhM95F8-wLWbDQj3.js +16 -0
  238. package/dist/PL-BIdMQAtx-DroEfnKF.js +16 -0
  239. package/dist/PM-BDa53dEz-Wuh9DXsJ.js +16 -0
  240. package/dist/PN-Csu7Dufn-DM8OoDFi.js +16 -0
  241. package/dist/PR-C_Acdbc_-BV_cjvog.js +16 -0
  242. package/dist/PS-Dmg0ofZr-D_vqnUqW.js +16 -0
  243. package/dist/PT-Bsck4nv8-n44lsZH9.js +16 -0
  244. package/dist/PW-CBMqjpxh-CWdEMQxj.js +16 -0
  245. package/dist/PY-Be6zNh15-BApM1Zdq.js +16 -0
  246. package/dist/PaymentsLinks-BkBLxOhv.js +675 -0
  247. package/dist/QA-CZmcW85r-BIaN_BKE.js +16 -0
  248. package/dist/RE-CFW4iaQd-C-LtwLD_.js +16 -0
  249. package/dist/RO-6H4O-gQF-umgKrrOo.js +16 -0
  250. package/dist/RS-DM7vMnHL-ByaPPQdU.js +16 -0
  251. package/dist/RU-HqKQeTq2-CdQa3Rea.js +16 -0
  252. package/dist/RW-DkH4VhfP-Dln4W9aO.js +16 -0
  253. package/dist/RecurringSubscription-5YV9JLCN.js +548 -0
  254. package/dist/RecurringSubscriptionDashView-CZieelLA.js +2012 -0
  255. package/dist/RiskPendenciesInternalService-Da0r9bx9.js +145 -0
  256. package/dist/SA-C2hBi4Lh-B-_V_tRn.js +16 -0
  257. package/dist/SB-CBu9QLGP-DoLcG5D0.js +16 -0
  258. package/dist/SC-CR6esM-V-DM9Ih8UH.js +16 -0
  259. package/dist/SD-VCXqBHrW-iWeZ8UWU.js +16 -0
  260. package/dist/SE-DbI0jJm9-Ct6AxmgQ.js +16 -0
  261. package/dist/SG-DgprfMyV-BIWB9G5I.js +16 -0
  262. package/dist/SH-qhjKl9TO-lN2voGkq.js +16 -0
  263. package/dist/SI-C3dA03Yk-JXsAbYc5.js +16 -0
  264. package/dist/SJ-CfaYWvM--DtPsDNQE.js +16 -0
  265. package/dist/SK-CxbHN7aU-Ce3QQWFt.js +16 -0
  266. package/dist/SL-GXAaRXng-DS4r85x6.js +16 -0
  267. package/dist/SM-B2SteTdO-utOO6NF0.js +16 -0
  268. package/dist/SN-B7Q__Lx_-CbDgdw5W.js +16 -0
  269. package/dist/SO-Bnd5-U9z-Ds0rRlBb.js +16 -0
  270. package/dist/SR-BHMDOkL2-BHBQa6-_.js +16 -0
  271. package/dist/SS-CsTgWca1-bEoQnWqh.js +16 -0
  272. package/dist/ST-DLqO0boT-Pcs4DY17.js +16 -0
  273. package/dist/SV-DNZizmQg-Cll7LfXj.js +16 -0
  274. package/dist/SX-DWuXjLwS-CkTnX-X9.js +16 -0
  275. package/dist/SY-DeOQEBum-BvQqTa6l.js +16 -0
  276. package/dist/SZ-Bhe0qU5K-LUsSuHEM.js +16 -0
  277. package/dist/SalesRecovery-BwahdiAP.js +594 -0
  278. package/dist/SalesRecoveryIA-CsRmsa8r.js +199 -0
  279. package/dist/SendCustomerRefundLinkPage-nf7UvlCi.js +137 -0
  280. package/dist/StatusDescriptionModal-OEBHl2pa.js +60 -0
  281. package/dist/StatusTag.vue_vue_type_script_setup_true_lang-BjLniAr8.js +28 -0
  282. package/dist/TC-D5HTaKiF-C95JRPuC.js +16 -0
  283. package/dist/TD-DyIWvaGg-iM7m9_fs.js +16 -0
  284. package/dist/TF-BRsv64iE-BhHjQKQs.js +16 -0
  285. package/dist/TG-OhNa5jmt-Dbrq5Rx2.js +16 -0
  286. package/dist/TH-F_ODV0JW-WAfbvhJx.js +16 -0
  287. package/dist/TJ-BFkbbSmN-CMuzEe9m.js +16 -0
  288. package/dist/TK-Ct75yy7V-DvfBTH_c.js +16 -0
  289. package/dist/TL-BzqVkHGw-subCl4Yv.js +16 -0
  290. package/dist/TM-CCAvd8qV-COdGELb6.js +16 -0
  291. package/dist/TN-CmYqbPEz-Dq8lpxeK.js +16 -0
  292. package/dist/TO-BQQk9Xq_-Dej6OD5K.js +16 -0
  293. package/dist/TR-_MKkCnUV-CfwBUkpC.js +16 -0
  294. package/dist/TT-DoRURl1c-Cfh7EpBs.js +16 -0
  295. package/dist/TV-Dt8uZCP4-DidZHEG0.js +16 -0
  296. package/dist/TW-CvHugvex-Behsayb7.js +16 -0
  297. package/dist/TZ-RbwBgiwb-Bdf4nAwf.js +16 -0
  298. package/dist/TopSellingProductsContent-Bc4suvpo.js +80 -0
  299. package/dist/UA-BiXHPMqV-DFlKImJw.js +16 -0
  300. package/dist/UG--it_LhSj-BIDg1dUg.js +16 -0
  301. package/dist/UM-BFcTdeDD-CraE9IXj.js +16 -0
  302. package/dist/US-BFcTdeDD-CraE9IXj.js +16 -0
  303. package/dist/UY-C26Ndi4P-CihzTcdn.js +16 -0
  304. package/dist/UZ-BK5ADwFW-COECMMjT.js +16 -0
  305. package/dist/UserIndicationsPage-BaZPtbEa.js +723 -0
  306. package/dist/VA-Cpq1n4yW-C5xbwie0.js +16 -0
  307. package/dist/VC-D1Fjbog5-DL3lXb38.js +16 -0
  308. package/dist/VE-CeM-hea7-Bp7YI746.js +16 -0
  309. package/dist/VG-qhjKl9TO-BuXR1oE7.js +16 -0
  310. package/dist/VI-C-kcu42_-B6s7UkEl.js +16 -0
  311. package/dist/VN-2yoryeK1-CTR1plTA.js +16 -0
  312. package/dist/VU-CkLlsgzP-DbQoQksi.js +16 -0
  313. package/dist/WF-BDa53dEz-dpILUZKA.js +16 -0
  314. package/dist/WS-CNi2O6Qm-Iz1xmQsa.js +16 -0
  315. package/dist/WithdrawAdvance-CzV3HOoZ.js +17 -0
  316. package/dist/WithdrawBankAccountStore-DI8PJABd.js +283 -0
  317. package/dist/WithdrawBlocked-Ck2-UZ-6.js +133 -0
  318. package/dist/WithdrawCompanyStore-VtmOEfn4.js +80 -0
  319. package/dist/WithdrawGuaranteeExtract-Ckve3qpm.js +994 -0
  320. package/dist/WithdrawHome-BDiiGKO9.js +1843 -0
  321. package/dist/WithdrawHome-BH9UB_YH.js +2448 -0
  322. package/dist/WithdrawInternational-Cf6PPDxA.js +17 -0
  323. package/dist/WithdrawMaxStore-_kMO1KAL.js +772 -0
  324. package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-C17v5RK3.js +530 -0
  325. package/dist/WithdrawNoAccountWarning-CWEPATpz.js +233 -0
  326. package/dist/WithdrawPermissionGuard-Ds4weXTr.js +338 -0
  327. package/dist/WithdrawRequest-BeJ0CzV8.js +944 -0
  328. package/dist/WithdrawRequest-Belqd9FQ.js +17 -0
  329. package/dist/WithdrawRequestDetail-C-WVfmtf.js +284 -0
  330. package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-CVJKPPN4.js +936 -0
  331. package/dist/YE-DxPZysMs-D8U9xTY-.js +16 -0
  332. package/dist/YT-BMJJ1U_T-Dyhn61oK.js +16 -0
  333. package/dist/ZA-BjQXS8mc-Dtk6uhWA.js +16 -0
  334. package/dist/ZM-Dw0PmMTO-Be-k3eVm.js +16 -0
  335. package/dist/ZW-D0UStZMr-BJEO4ES1.js +16 -0
  336. package/dist/affiliate-Bgt9fadK-B97_ZGmU.js +22 -0
  337. package/dist/amex-CvNwRHhS-DaTqPDaL.js +16 -0
  338. package/dist/api-CYsDG6hO.js +11 -0
  339. package/dist/apple_pay-DtsAzVjF-DQpS7OlA.js +20 -0
  340. package/dist/archive-CFoPOir7-D4BfZJNe.js +18 -0
  341. package/dist/aura-D1VyKb6w-WVSNhtND.js +23 -0
  342. package/dist/boleto-BQZRi0Q5-Diu5q0E0.js +18 -0
  343. package/dist/box-DNrK38w2-9e8P-Cx-.js +20 -0
  344. package/dist/cart-p5jccB8o-B87Exl7e.js +15 -0
  345. package/dist/cash-FZcelZV1-qB5QhIpR.js +20 -0
  346. package/dist/chart-YJ27XOr3-Df_obCky.js +22 -0
  347. package/dist/chat.page-DoGRG_uB.js +424 -0
  348. package/dist/credit_card-CGrPYCJP-Z2tLiAjJ.js +15 -0
  349. package/dist/csv-CYa6aPS5-DihTGghi.js +18 -0
  350. package/dist/dayjs.min-CcK7VWyt.js +282 -0
  351. package/dist/diners-CN_1suUM-DWt3rKws.js +26 -0
  352. package/dist/discover-vVTOFEvv-BANjMjsv.js +22 -0
  353. package/dist/ds-appmax-v322-BjI3DR8g.js +52 -0
  354. package/dist/ds-appmax-v327-DsNzYiM2.js +69 -0
  355. package/dist/ds-appmax-v330-qNvYNKwR.js +48 -0
  356. package/dist/ds-appmax-v335-hFGO1Lbs.js +278 -0
  357. package/dist/elo-BaNbqhYS-D2F5aG-j.js +15 -0
  358. package/dist/gear-BHOWpd7b-CUwDAzRq.js +18 -0
  359. package/dist/grid-B7I0mWry-HiHZ_Kwp.js +18 -0
  360. package/dist/hipercard-DBsszwxC-tN9V0-pw.js +22 -0
  361. package/dist/index-7HL3gx2Z.js +409 -0
  362. package/dist/index-BOsWLnPs.js +1204 -0
  363. package/dist/index-BPKLoPUK.js +200 -0
  364. package/dist/index-BSJzT1I8.js +21 -0
  365. package/dist/index-BcBnYA3I.js +534 -0
  366. package/dist/index-BeCSVECV.js +219 -0
  367. package/dist/index-BlOkAQXW.js +230 -0
  368. package/dist/index-Bt8xvm45.js +83 -0
  369. package/dist/index-C36HlqfG.js +1790 -0
  370. package/dist/index-CH5dTSvu.js +4133 -0
  371. package/dist/index-CRPIzPvI.js +11240 -0
  372. package/dist/index-CSg04cEs.js +219 -0
  373. package/dist/index-CZyRC_sJ.js +721 -0
  374. package/dist/index-CkulPi3f.js +62 -0
  375. package/dist/index-CpNYJR7K.js +106 -0
  376. package/dist/index-D-WIVMdu.js +275 -0
  377. package/dist/index-DDgF9Xvz.js +18 -0
  378. package/dist/index-DGQfHY2_.js +332 -0
  379. package/dist/index-DLT4u8_2.js +21 -0
  380. package/dist/index-DPZxRQEY.js +776 -0
  381. package/dist/index-DRs5aUNv.js +11 -0
  382. package/dist/index-DV8E7noR.js +217 -0
  383. package/dist/index-DYjK1G8m.js +92 -0
  384. package/dist/index-DcJMV4RI.js +1567 -0
  385. package/dist/index-Dr0HIcB0.js +67 -0
  386. package/dist/index-DtMp4pBF.js +681 -0
  387. package/dist/index-EA1RZqrI.js +169 -0
  388. package/dist/index-c5y6NpG3.js +117 -0
  389. package/dist/index-jIS4ivdd.js +35 -0
  390. package/dist/index.page-BTom4qDX.js +737 -0
  391. package/dist/index.page-COjbXPxC.js +827 -0
  392. package/dist/index.page-DbIxA4sB.js +165 -0
  393. package/dist/infos-8KGPLXoE-CYr6zwG9.js +18 -0
  394. package/dist/integrations-UOltVEyj-DH3ghkHr.js +19 -0
  395. package/dist/logs-Ce3fZY0v-CGOkFuKx.js +28 -0
  396. package/dist/maestro-BMomgHxO-BkKnnY5u.js +27 -0
  397. package/dist/main-B2MCvgMD.js +106861 -0
  398. package/dist/main.js +1 -1
  399. package/dist/mastercard-5I-dcOVV-ZsxmNZk0.js +30 -0
  400. package/dist/max_brand-Crj-SFUw-SBwwl5Xw.js +29 -0
  401. package/dist/max_brand_active-BIkS5qkP-KEyHvPYE.js +27 -0
  402. package/dist/max_brand_negative-BxvdIegN-CXKTCHl_.js +30 -0
  403. package/dist/max_brand_white-DdKi2YVX-CTnOAgZW.js +29 -0
  404. package/dist/menu.page-BXujZ-40.js +274 -0
  405. package/dist/money-DZpB5eTf-CGe8vcYj.js +19 -0
  406. package/dist/notification-DMezLtAj-1_IsrGTz.js +18 -0
  407. package/dist/paypal-DMYjfEw0-2VfwB0aq.js +15 -0
  408. package/dist/pix-DXdX91yj-DH1pfeCs.js +22 -0
  409. package/dist/pix_outline-D_xXXgCN-CsfjJmzi.js +16 -0
  410. package/dist/pix_white-CcVsnEF2-BekdWo87.js +24 -0
  411. package/dist/pusher-sOpTjbdI.js +4010 -0
  412. package/dist/shield-DS-Xf4WH-BmkNT9w0.js +15 -0
  413. package/dist/solid_help-DNaqfgoc-Dz7vftiS.js +20 -0
  414. package/dist/solid_home-BDUiJDVY-DYF8Kuln.js +18 -0
  415. package/dist/solid_leaderboard-DtqK7q9Y-CLwx5tpS.js +18 -0
  416. package/dist/solid_store-Cfv6o4b8-Cuvsenob.js +18 -0
  417. package/dist/ticket_icon-DwvyLm7c-C5eVGhUU.js +22 -0
  418. package/dist/usePendingMessage-C2WvHUkD.js +191 -0
  419. package/dist/useQueryFilter-BkJhzQQm.js +93 -0
  420. package/dist/useRecurringTable-CFcBE6Qa.js +160 -0
  421. package/dist/user-BRpwqYx8-CnJwt2SQ.js +18 -0
  422. package/dist/validateURL.helper-Br0evPJN.js +126 -0
  423. package/dist/visa-tPjWcMbi-tL5AKgbk.js +18 -0
  424. package/package.json +1 -1
  425. package/dist/AD-Ct_GVBfr-CaStLW_k.js +0 -16
  426. package/dist/AE-DiMVenwy-tCTBvWe6.js +0 -16
  427. package/dist/AF-DOrptOkS-BmkyHvvj.js +0 -16
  428. package/dist/AG-CzBMAtom-D-66qnRc.js +0 -16
  429. package/dist/AI-A2DnDGPS-Dg512PMR.js +0 -16
  430. package/dist/AL-BcGdPXjJ-Bse0WaNl.js +0 -16
  431. package/dist/AM-BC_r4gTd-CwLrLRNv.js +0 -16
  432. package/dist/AO-D6GK49nd-Co2jpv3h.js +0 -16
  433. package/dist/AQ-Eeziry42-FtHCrg2s.js +0 -16
  434. package/dist/AR-AbqVWszQ-CaGnmEsq.js +0 -16
  435. package/dist/AS-BWe_Gq8Z-Zhb2HXh0.js +0 -16
  436. package/dist/AT-b5CS9jSt-BqHe13jU.js +0 -16
  437. package/dist/AU-BUbOyX6Q-Cwz_khdC.js +0 -16
  438. package/dist/AW-CjVdJTYe-ZUsokcck.js +0 -16
  439. package/dist/AX-lNtwEmw2-Dy9QA5HY.js +0 -16
  440. package/dist/AZ-f8zSo9ut-CcitZSPQ.js +0 -16
  441. package/dist/AmBulletLegend-DstrWLHh.js +0 -23
  442. package/dist/AmCardV3-CvAuzYKv.js +0 -22
  443. package/dist/AmChip.vue_vue_type_script_setup_true_lang-DwJkCLRa-CdRQ3GS8.js +0 -36
  444. package/dist/AmDoughnutChartAdapted-QLoXpn7p.js +0 -203
  445. package/dist/AmEmptyState.vue_vue_type_script_setup_true_lang-DQUtvLdp.js +0 -86
  446. package/dist/AmFilterLevelDateSelect-BbVyzCa5-C9zkiCrI.js +0 -40
  447. package/dist/AmFilterLevelMultiSelectFilter-CPxxHU90-6Bal9nfk.js +0 -46
  448. package/dist/AmFilterLevelSelectFilter-Be3LFJno-DKALXaAC.js +0 -63
  449. package/dist/AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-BtpOAA4k.js +0 -53
  450. package/dist/AmLayoutFeedbackState-DgVo0rnP.js +0 -48
  451. package/dist/AmLayoutInnerData-IGTuxHhv.js +0 -162
  452. package/dist/AmModalV3-BSFquZzV.js +0 -105
  453. package/dist/AmOutlineCard-Bh8HAYte.js +0 -25
  454. package/dist/AmSkeleton-DX-AHvYt.js +0 -35
  455. package/dist/AmText-DuhStQJl.js +0 -33
  456. package/dist/AmTooltip.vue_vue_type_script_setup_true_lang-DvhTZs1v-CqeiBRES.js +0 -64
  457. package/dist/ApiService-B3jVHavv.js +0 -11
  458. package/dist/AppInstallationConfirmationPasswordModal-BOF-9KaG.js +0 -535
  459. package/dist/AppstoreAppView-B2BxH21R.js +0 -315
  460. package/dist/AppstoreHomeView-DjR3b3-J.js +0 -1372
  461. package/dist/BA-BfV7_7RP-BdL-YBIn.js +0 -16
  462. package/dist/BB-CC4768VM-DaL9pDMN.js +0 -16
  463. package/dist/BD-YQdTTbhg-BQyxu_9R.js +0 -16
  464. package/dist/BE-DUYoRyei-DpJQ3hHy.js +0 -16
  465. package/dist/BF-XZRLkaHX-C3qRHBUu.js +0 -16
  466. package/dist/BG-BAb8lAFP-63_NJKKy.js +0 -16
  467. package/dist/BH-C1LTB8Fj-D8uOJTUm.js +0 -16
  468. package/dist/BI-RjDfMipp-qNw1z0qs.js +0 -16
  469. package/dist/BJ-DAv61IMB-cvPel-Hp.js +0 -16
  470. package/dist/BL-CFW4iaQd-H-KSh3w4.js +0 -16
  471. package/dist/BM-DuK3dA1G-7cDLbFk6.js +0 -16
  472. package/dist/BN-BXHGopan-CoK5d1B-.js +0 -16
  473. package/dist/BO-CzuoErsx-BwuVGxDz.js +0 -16
  474. package/dist/BQ-BO-BlM1Uin3-Wp7h7_3_.js +0 -16
  475. package/dist/BQ-SA-BninfeHy-Dw0dplW0.js +0 -16
  476. package/dist/BQ-SE-tq-mCvpl-C7srOYC-.js +0 -16
  477. package/dist/BR-B1GEJ05L-BJ0PpIzF.js +0 -16
  478. package/dist/BS-MeULPH4e-D4IYZOTt.js +0 -16
  479. package/dist/BT-BCfQJS6a-BZkfMc1e.js +0 -16
  480. package/dist/BV-CfaYWvM--CG2OAdaE.js +0 -16
  481. package/dist/BW-jYbPMHhQ-CrYLVBMy.js +0 -16
  482. package/dist/BY-Ddffd2rT-h3e_T0Uk.js +0 -16
  483. package/dist/BZ-B7mGW2Jg-Cyx3A98h.js +0 -16
  484. package/dist/BankAccountCrossborderNew.page-z7cf0fZ-.js +0 -152
  485. package/dist/BankAccountList.page-Bb_-uvJo.js +0 -331
  486. package/dist/BankAccountNew.page-CYEg36AR.js +0 -982
  487. package/dist/CA-CHl-cqJL-Sopn-DxS.js +0 -16
  488. package/dist/CC-DSLZRwFz-CvnNDfSA.js +0 -16
  489. package/dist/CD-D4NJYkQm-tPDpXO_x.js +0 -16
  490. package/dist/CF-DoxRpaA9-DYz3x3QQ.js +0 -16
  491. package/dist/CG-Auzp6pC_-iEFNEAku.js +0 -16
  492. package/dist/CH-B5eEo1aL-VT_h1RLs.js +0 -16
  493. package/dist/CI-DFfmdeVw-BHQav5jU.js +0 -16
  494. package/dist/CK-CKWUhjXV-DpcbT2qQ.js +0 -16
  495. package/dist/CL-Di6p-p6X-Ceth7dQ5.js +0 -16
  496. package/dist/CM-B0ht31e3-DM2BO4iG.js +0 -16
  497. package/dist/CN-CKHlOciI-C79iDXKj.js +0 -16
  498. package/dist/CO-GBUkcePt-DYr9-6sc.js +0 -16
  499. package/dist/CR-Daw5JsjF-CAqSphgR.js +0 -16
  500. package/dist/CU-CVOkcTvR-CxlGsYxa.js +0 -16
  501. package/dist/CV-cyPoze-o-BuswS9gP.js +0 -16
  502. package/dist/CW-Bt-Pwg4j-ac61xZns.js +0 -16
  503. package/dist/CX-uhIZlYzy-DEb0ElOd.js +0 -16
  504. package/dist/CY-un4rgwPX-jmfQJBaR.js +0 -16
  505. package/dist/CZ-equ-r4iN-BVL3PxDO.js +0 -16
  506. package/dist/CashoutAntecipateContent-Cq-gMS19.js +0 -42
  507. package/dist/ChargebackAnalytics-DnSRAUko.js +0 -1701
  508. package/dist/ChargebackDetail-DWGlvfod.js +0 -3469
  509. package/dist/ChargebackRate-DxLt0toi.js +0 -77
  510. package/dist/ChatPlayground.page-Da2uFY-m.js +0 -508
  511. package/dist/ConfirmationModal-EylgN11q.js +0 -105
  512. package/dist/Create.page-CzW9XkZg.js +0 -1390
  513. package/dist/CreatePaymentLink-DJPu_ENI.js +0 -856
  514. package/dist/DE-zx7UmJ-V-GjA5JR8X.js +0 -16
  515. package/dist/DJ-BN1kIFYT-BtgGTOlG.js +0 -16
  516. package/dist/DK-CrXXNH_h-Hdv1p-Yl.js +0 -16
  517. package/dist/DM-B4nVdNww-WeIqwyT6.js +0 -16
  518. package/dist/DO-C7-NF2JD-DRx8vt5n.js +0 -16
  519. package/dist/DZ-DSDLbNRb-DMwoHVBX.js +0 -16
  520. package/dist/DashboardAmountDetailsContent-CQ-l97ge.js +0 -65
  521. package/dist/DashboardApprovalRateDetails.vue_vue_type_style_index_0_lang-Cwi-8ldS.js +0 -151
  522. package/dist/DashboardApprovalRateInternationalContent-RSoNAXpn.js +0 -19
  523. package/dist/DashboardApprovalRateNationalContent-TBbAp4mZ.js +0 -74
  524. package/dist/DashboardCarouselContent-BvbmOGny.js +0 -958
  525. package/dist/DashboardDetailsContent-D8qqE8NN.js +0 -58
  526. package/dist/DashboardHome-DcSd_sLw.js +0 -4247
  527. package/dist/DetailSubscriptionRecurring-Ck8BxMA0.js +0 -1296
  528. package/dist/EC-C_bjTYWm-YuMlndYO.js +0 -16
  529. package/dist/EE-CQIjuoWO-DhCi_TVZ.js +0 -16
  530. package/dist/EG-Bs_BHfVR-B388uNdK.js +0 -16
  531. package/dist/EH-CnWam84F-BKgLTrFQ.js +0 -16
  532. package/dist/ER-Dcl4hJzq-MUR_QObd.js +0 -16
  533. package/dist/ES-Bpj2gAdj-DWCeAQQm.js +0 -16
  534. package/dist/ET-Dm3q0Ruz-x0Ua9KYE.js +0 -16
  535. package/dist/ExternalPendenciesList-BW6TYzMr.js +0 -651
  536. package/dist/FI-DCqfJeiQ-BC1JCNYj.js +0 -16
  537. package/dist/FJ-C6UrGUgI-B4OIBFDT.js +0 -16
  538. package/dist/FK-CAaec31K-pnF7YgM5.js +0 -16
  539. package/dist/FM-Cf2SIJ7h-CkvupLPI.js +0 -16
  540. package/dist/FO-DBb4psBV-DzXasrMo.js +0 -16
  541. package/dist/FR-CFW4iaQd-WoFZn18c.js +0 -16
  542. package/dist/FeatureFlagsPage-CYg6J-vI.js +0 -271
  543. package/dist/GA-D3NTxgTl-Ce12c-Gh.js +0 -16
  544. package/dist/GB-ENG-Cmkg6Zq8-D-7RcnKp.js +0 -16
  545. package/dist/GB-NIR-DKszcfHi-DcJN3tpX.js +0 -16
  546. package/dist/GB-SCT-BiivwJ71-mmaRyYhm.js +0 -16
  547. package/dist/GB-UKM-DgMBd3ib-DwcwUE2k.js +0 -16
  548. package/dist/GB-WLS-DLoDy9iv-B8gkEuyr.js +0 -16
  549. package/dist/GD-Bs1d4We7-C69NY5nw.js +0 -16
  550. package/dist/GE-DXG9iLk5-SM2PP-gD.js +0 -16
  551. package/dist/GF-B20s5gtx-tr9ACYwX.js +0 -16
  552. package/dist/GG-BAyrpIoO-DSP4ZOie.js +0 -16
  553. package/dist/GH-v3jh5r1X-CRHQ3Ma2.js +0 -16
  554. package/dist/GI-D39Krd4s-C9JThhoK.js +0 -16
  555. package/dist/GL-BDd_W5AU-CQSMqKk5.js +0 -16
  556. package/dist/GM-BNEHspzj-Qkzz8Yu-.js +0 -16
  557. package/dist/GN-DdIZ0X6d-BBodEZ-s.js +0 -16
  558. package/dist/GP-CFW4iaQd-CHmgkd4I.js +0 -16
  559. package/dist/GQ-CC3X6AMz-uos6zBOY.js +0 -16
  560. package/dist/GR-C_0rusTd-DZiAPLMj.js +0 -16
  561. package/dist/GS-Db5l22a1-DssKbveE.js +0 -16
  562. package/dist/GT-BhbkqUft-xAecItKL.js +0 -16
  563. package/dist/GU-C0HeItm1-BzjoGZgQ.js +0 -16
  564. package/dist/GW-BjLM1vg--CdxD8wcr.js +0 -16
  565. package/dist/GY-BreBVlhN-CaJvoDCO.js +0 -16
  566. package/dist/HK-BZn9ZQGS-C457d4F2.js +0 -16
  567. package/dist/HM-BUbOyX6Q-CLBk1jj_.js +0 -16
  568. package/dist/HN-D4wujIPC-ByFwLuyN.js +0 -16
  569. package/dist/HR-Jhi3QQ9F-R0Q9G7Dl.js +0 -16
  570. package/dist/HT-MMjMjr-R-DJqczBfG.js +0 -16
  571. package/dist/HU-CN5KmQ7F-BMSoySu7.js +0 -16
  572. package/dist/Home-D301DiRv.js +0 -997
  573. package/dist/ID-hVVUTKNG-NMgRTTKz.js +0 -16
  574. package/dist/IE-WN_vdKcS-CI2md1tn.js +0 -16
  575. package/dist/IL-D5Wr_Xxh-BS72ISQt.js +0 -16
  576. package/dist/IM-B-putc0k-BfQmY1DJ.js +0 -16
  577. package/dist/IN-CK40zbQD-DwVA29nH.js +0 -16
  578. package/dist/IO-CdvLck7D-Bl3C2KQX.js +0 -16
  579. package/dist/IQ-f_9wyurt-DOHVQFYp.js +0 -16
  580. package/dist/IR-B0yfWttH-CZr45QN8.js +0 -16
  581. package/dist/IS-Dvf-XQTq-0Znat9Zb.js +0 -16
  582. package/dist/IT-uY7cjdFI-Dcbr_e74.js +0 -16
  583. package/dist/ImportTrackingCode-DAlmud1r.js +0 -1007
  584. package/dist/InternalCompanyIssuesDetail-Su4iQ5m2.js +0 -862
  585. package/dist/InternalCompanyList-CScqADt6.js +0 -351
  586. package/dist/InternalPendencyDetail-DCbf9LQg.js +0 -717
  587. package/dist/JE-C95tN_VG-B5Xj8jgS.js +0 -16
  588. package/dist/JM-zOuEwaB3-DiuBUb9s.js +0 -16
  589. package/dist/JO-Cq88rrOD-DP8iQAIr.js +0 -16
  590. package/dist/JP-5evXgWxq-CgEKt8gb.js +0 -16
  591. package/dist/KE-PHx0d97Z-DSWNNmho.js +0 -16
  592. package/dist/KG-DT4JnieX-Dbeh3ZZI.js +0 -16
  593. package/dist/KH-ChwV2WTT-B4Y3-iZC.js +0 -16
  594. package/dist/KI-D212g4Lh-w_20L0YH.js +0 -16
  595. package/dist/KM-mPVp7AKS-BHby2dxn.js +0 -16
  596. package/dist/KN-AdXLXICN-BiGASaOj.js +0 -16
  597. package/dist/KP-CC6UIrEF-CP20ieVp.js +0 -16
  598. package/dist/KR-BtnmWR6C-C0dDL6Ve.js +0 -16
  599. package/dist/KW-gqahWVaw-BqhJm4OD.js +0 -16
  600. package/dist/KY-DjIb70VQ-Bncija55.js +0 -16
  601. package/dist/KZ-C_fRihiO-Cbn-kjVJ.js +0 -16
  602. package/dist/LA-KIULJHAb-fTYBTK5g.js +0 -16
  603. package/dist/LB-CrF8WJiI-DI7H-r3S.js +0 -16
  604. package/dist/LC-DGiHXm5V-DNEX3-3Y.js +0 -16
  605. package/dist/LI-BwB0b8M1-hrCqoKtE.js +0 -16
  606. package/dist/LK-BOC44ZgS-BH-XfQ_1.js +0 -16
  607. package/dist/LR-CWjRlWOZ-XxlG4mc2.js +0 -16
  608. package/dist/LS-B_EgU3p5-CgkfriyJ.js +0 -16
  609. package/dist/LT-BPyPiVx2-DaCLvoE_.js +0 -16
  610. package/dist/LU-B-De6aB--CckczOJE.js +0 -16
  611. package/dist/LV-D2Ewe3XC-DDPD_q1q.js +0 -16
  612. package/dist/LY-D1TSt6YI-9XTFLfBg.js +0 -16
  613. package/dist/MA-QY5gm-vM-C_l3Y1N8.js +0 -16
  614. package/dist/MC-BjlCjfCP-BeOUJYdd.js +0 -16
  615. package/dist/MD-rh-6rlSt-CVl8QTAX.js +0 -16
  616. package/dist/ME-D1euo0V2-BzJAg76l.js +0 -16
  617. package/dist/MF-CFW4iaQd-Dr98U_U5.js +0 -16
  618. package/dist/MG-ONnxn_5g-BfvgFZZ9.js +0 -16
  619. package/dist/MH-B8oC_VMS-U-nkoPu-.js +0 -16
  620. package/dist/MK-ByjICisj-N4uaO5oy.js +0 -16
  621. package/dist/ML-CKVAuhox-BM6xmuIc.js +0 -16
  622. package/dist/MM-doJuUjVT-C_JmyN5w.js +0 -16
  623. package/dist/MN-BFP303GE-C1rvBqSP.js +0 -16
  624. package/dist/MO-Dp4PTSYU-kyR7HBDr.js +0 -16
  625. package/dist/MP-CqKsnjHV-DBeLVhCr.js +0 -16
  626. package/dist/MQ-CFW4iaQd-BBzNZCzM.js +0 -16
  627. package/dist/MR-D73q_PiY-Dr9a8pXj.js +0 -16
  628. package/dist/MS-qhjKl9TO-dxLlZb6H.js +0 -16
  629. package/dist/MT-CZjbs1U--B8L8tsvP.js +0 -16
  630. package/dist/MU-D0EQOl0S-BEKNB4G5.js +0 -16
  631. package/dist/MV-BtwHRTMn-DSYCHyEu.js +0 -16
  632. package/dist/MW-CVnAR98j-CsZvY0fT.js +0 -16
  633. package/dist/MX-C7vXnCDY-68nUrmm-.js +0 -16
  634. package/dist/MY-DJcgH_o3-Rz7Flv8G.js +0 -16
  635. package/dist/MZ-BbLwl9DA-DD-QupDU.js +0 -16
  636. package/dist/Max.page-BMYP80uT.js +0 -599
  637. package/dist/MostSoldCountries-BjhcmqGq.js +0 -22
  638. package/dist/NA-5FKNjRGT-CAA1_Hgu.js +0 -16
  639. package/dist/NC-CFW4iaQd-DVUQLoua.js +0 -16
  640. package/dist/NE-DpLZJa7D-mzZy_4Or.js +0 -16
  641. package/dist/NF-BT-wIfwf-DPC24K_6.js +0 -16
  642. package/dist/NG-BAiR_q0H-B9RQy7ar.js +0 -16
  643. package/dist/NI-DylPDojG-CsBZH5SV.js +0 -16
  644. package/dist/NL-iozeFKPM-BwxBNUBx.js +0 -16
  645. package/dist/NO-CfaYWvM--BhWTKjt4.js +0 -16
  646. package/dist/NP-BGR_ZaqA-BVQ13apt.js +0 -16
  647. package/dist/NR-DHGW5Y3Q-C1RwTnYY.js +0 -16
  648. package/dist/NU-CcpcSx_x-DjIqYrh_.js +0 -16
  649. package/dist/NZ-DDYt6DcJ-BTbrY2Lw.js +0 -16
  650. package/dist/OM-D6hiar1r-DSeIRb1R.js +0 -16
  651. package/dist/OrderStatus.vue_vue_type_script_setup_true_lang-DXUW8AdF.js +0 -760
  652. package/dist/OrderStatusChip-I8Ovjofk.js +0 -30
  653. package/dist/Orders.page-CT1ereGs.js +0 -1636
  654. package/dist/OrdersChartDataContent-P9ZwDFSk.js +0 -221
  655. package/dist/OrdersDetails.page-adhYTD6K.js +0 -6158
  656. package/dist/PA-Bi2blxjJ-Qw1aRIPv.js +0 -16
  657. package/dist/PE-D4DjQOlP-CTKuYHjF.js +0 -16
  658. package/dist/PF-DmOSfnYB-BWo8KA4y.js +0 -16
  659. package/dist/PG-DeOlZ7TA-BWZs4i0n.js +0 -16
  660. package/dist/PH-Dv4KdxU--nXdLeWuM.js +0 -16
  661. package/dist/PK-CRhM95F8-BhHcfiV_.js +0 -16
  662. package/dist/PL-BIdMQAtx-DNUOP-2d.js +0 -16
  663. package/dist/PM-BDa53dEz-d07qnvHW.js +0 -16
  664. package/dist/PN-Csu7Dufn-CTIyXohB.js +0 -16
  665. package/dist/PR-C_Acdbc_-DhGl5oJn.js +0 -16
  666. package/dist/PS-Dmg0ofZr-COK3SHRG.js +0 -16
  667. package/dist/PT-Bsck4nv8-DQoPwGd3.js +0 -16
  668. package/dist/PW-CBMqjpxh-rSYk8aO5.js +0 -16
  669. package/dist/PY-Be6zNh15-D1X8WUB5.js +0 -16
  670. package/dist/PaymentsLinks-CFPKROvV.js +0 -675
  671. package/dist/QA-CZmcW85r-C1Gb5K9z.js +0 -16
  672. package/dist/RE-CFW4iaQd-rwFpznHW.js +0 -16
  673. package/dist/RO-6H4O-gQF-DJvJibiK.js +0 -16
  674. package/dist/RS-DM7vMnHL-CBuTT3rz.js +0 -16
  675. package/dist/RU-HqKQeTq2-Dizu2SMe.js +0 -16
  676. package/dist/RW-DkH4VhfP-CWbS-vET.js +0 -16
  677. package/dist/RecurringSubscription-BEx2B2XE.js +0 -548
  678. package/dist/RecurringSubscriptionDashView-atocoByq.js +0 -2012
  679. package/dist/RiskPendenciesInternalService-BBHWbN4-.js +0 -145
  680. package/dist/SA-C2hBi4Lh-DCL5aN5-.js +0 -16
  681. package/dist/SB-CBu9QLGP-D9B9wKmz.js +0 -16
  682. package/dist/SC-CR6esM-V-fqCr3Jyq.js +0 -16
  683. package/dist/SD-VCXqBHrW-DDbZT37n.js +0 -16
  684. package/dist/SE-DbI0jJm9-DVcivSZO.js +0 -16
  685. package/dist/SG-DgprfMyV-BDUWsq4l.js +0 -16
  686. package/dist/SH-qhjKl9TO-Bl8en86i.js +0 -16
  687. package/dist/SI-C3dA03Yk-D2WHErHA.js +0 -16
  688. package/dist/SJ-CfaYWvM--Bp_NKPBl.js +0 -16
  689. package/dist/SK-CxbHN7aU-DKQ4qHfX.js +0 -16
  690. package/dist/SL-GXAaRXng-GwmYhJ0s.js +0 -16
  691. package/dist/SM-B2SteTdO-C6b_vY_6.js +0 -16
  692. package/dist/SN-B7Q__Lx_-BYvzYfWV.js +0 -16
  693. package/dist/SO-Bnd5-U9z-DQ_F_pTO.js +0 -16
  694. package/dist/SR-BHMDOkL2-Dn-I0CT7.js +0 -16
  695. package/dist/SS-CsTgWca1-f3OCNgII.js +0 -16
  696. package/dist/ST-DLqO0boT-CeWK06Yf.js +0 -16
  697. package/dist/SV-DNZizmQg-CSb_YEih.js +0 -16
  698. package/dist/SX-DWuXjLwS-dVwG2yoU.js +0 -16
  699. package/dist/SY-DeOQEBum-CJVsRgU4.js +0 -16
  700. package/dist/SZ-Bhe0qU5K-DTkQDbeD.js +0 -16
  701. package/dist/SalesRecovery-BuIzJn-h.js +0 -594
  702. package/dist/SalesRecoveryIA-Cuu3Xg9q.js +0 -199
  703. package/dist/SendCustomerRefundLinkPage-Bi56887G.js +0 -137
  704. package/dist/StatusDescriptionModal-CEN31dzB.js +0 -60
  705. package/dist/StatusTag.vue_vue_type_script_setup_true_lang-C8bGbrfT.js +0 -28
  706. package/dist/TC-D5HTaKiF-BYhsLbxl.js +0 -16
  707. package/dist/TD-DyIWvaGg-Ci4tDDuh.js +0 -16
  708. package/dist/TF-BRsv64iE-B5ScBl27.js +0 -16
  709. package/dist/TG-OhNa5jmt-C4ovC_x-.js +0 -16
  710. package/dist/TH-F_ODV0JW-BnPh3pSL.js +0 -16
  711. package/dist/TJ-BFkbbSmN-CMoMFPPY.js +0 -16
  712. package/dist/TK-Ct75yy7V-DsK9v85a.js +0 -16
  713. package/dist/TL-BzqVkHGw-Dd_V6o1b.js +0 -16
  714. package/dist/TM-CCAvd8qV-BE2w-MAc.js +0 -16
  715. package/dist/TN-CmYqbPEz-DwfQDWGH.js +0 -16
  716. package/dist/TO-BQQk9Xq_-Dql8D3aJ.js +0 -16
  717. package/dist/TR-_MKkCnUV-DZHmDVjb.js +0 -16
  718. package/dist/TT-DoRURl1c-Zqwc-0uX.js +0 -16
  719. package/dist/TV-Dt8uZCP4-CFOSZisa.js +0 -16
  720. package/dist/TW-CvHugvex-Bh47syym.js +0 -16
  721. package/dist/TZ-RbwBgiwb-rZG2FPOp.js +0 -16
  722. package/dist/TopSellingProductsContent-BE475tEv.js +0 -80
  723. package/dist/UA-BiXHPMqV-BAkCMh9p.js +0 -16
  724. package/dist/UG--it_LhSj-CIGgbAm6.js +0 -16
  725. package/dist/UM-BFcTdeDD-DnP9wCfe.js +0 -16
  726. package/dist/US-BFcTdeDD-DnP9wCfe.js +0 -16
  727. package/dist/UY-C26Ndi4P-CbGycLdL.js +0 -16
  728. package/dist/UZ-BK5ADwFW-iI0GFQKg.js +0 -16
  729. package/dist/UserIndicationsPage-Cc8PG2O-.js +0 -723
  730. package/dist/VA-Cpq1n4yW-r-enLBDw.js +0 -16
  731. package/dist/VC-D1Fjbog5-B64uuAFf.js +0 -16
  732. package/dist/VE-CeM-hea7-BerEIOab.js +0 -16
  733. package/dist/VG-qhjKl9TO-CV1YKc5Z.js +0 -16
  734. package/dist/VI-C-kcu42_-B82uqBQt.js +0 -16
  735. package/dist/VN-2yoryeK1-CUe-vfY5.js +0 -16
  736. package/dist/VU-CkLlsgzP-DKzGi2NO.js +0 -16
  737. package/dist/WF-BDa53dEz-C__M9f1z.js +0 -16
  738. package/dist/WS-CNi2O6Qm-BJ5CRXiK.js +0 -16
  739. package/dist/WithdrawAdvance-BCY0rX5F.js +0 -17
  740. package/dist/WithdrawBankAccountStore-BsaoATPX.js +0 -283
  741. package/dist/WithdrawBlocked-uZne9iC2.js +0 -133
  742. package/dist/WithdrawCompanyStore-DSIZaZtK.js +0 -80
  743. package/dist/WithdrawGuaranteeExtract-JtGsMnyI.js +0 -994
  744. package/dist/WithdrawHome-CBV7fYyi.js +0 -2448
  745. package/dist/WithdrawHome-CIWM1hhk.js +0 -1843
  746. package/dist/WithdrawInternational-YL9Juj5y.js +0 -17
  747. package/dist/WithdrawMaxStore-DWRS9twI.js +0 -772
  748. package/dist/WithdrawNegativeCompany.vue_vue_type_script_setup_true_lang-DsBRkO3V.js +0 -530
  749. package/dist/WithdrawNoAccountWarning-C8BguS5P.js +0 -233
  750. package/dist/WithdrawPermissionGuard-BxOUmo1a.js +0 -338
  751. package/dist/WithdrawRequest-C-fVrk1K.js +0 -944
  752. package/dist/WithdrawRequest-DDIdDgj3.js +0 -17
  753. package/dist/WithdrawRequestDetail-Cx_wfzoO.js +0 -284
  754. package/dist/WithdrawRequestLayout.vue_vue_type_script_setup_true_lang-CI0njJiS.js +0 -936
  755. package/dist/YE-DxPZysMs-3mNmsFUd.js +0 -16
  756. package/dist/YT-BMJJ1U_T-nkoVJpQy.js +0 -16
  757. package/dist/ZA-BjQXS8mc-DGVz4X6v.js +0 -16
  758. package/dist/ZM-Dw0PmMTO-D6TOtwai.js +0 -16
  759. package/dist/ZW-D0UStZMr-C2clkAxs.js +0 -16
  760. package/dist/affiliate-Bgt9fadK-DfFhWGPV.js +0 -22
  761. package/dist/amex-CvNwRHhS-DCjNeDxN.js +0 -16
  762. package/dist/api-BxbRn45X.js +0 -11
  763. package/dist/apple_pay-DtsAzVjF-dnQnjBbc.js +0 -20
  764. package/dist/archive-CFoPOir7-CzMKAOQU.js +0 -18
  765. package/dist/aura-D1VyKb6w-Bp5DPiqn.js +0 -23
  766. package/dist/boleto-BQZRi0Q5-BuL3qQcM.js +0 -18
  767. package/dist/box-DNrK38w2-2wYKsV2K.js +0 -20
  768. package/dist/cart-p5jccB8o-B39MikQX.js +0 -15
  769. package/dist/cash-FZcelZV1-bad0tlFO.js +0 -20
  770. package/dist/chart-YJ27XOr3-BNpTQG41.js +0 -22
  771. package/dist/chat.page-rqBTjKL8.js +0 -424
  772. package/dist/credit_card-CGrPYCJP-BkQ1N-Ne.js +0 -15
  773. package/dist/csv-CYa6aPS5-DwXPZNzo.js +0 -18
  774. package/dist/dayjs.min-Dbcbl_Kc.js +0 -282
  775. package/dist/diners-CN_1suUM-CljVbeo-.js +0 -26
  776. package/dist/discover-vVTOFEvv-e8508vu7.js +0 -22
  777. package/dist/ds-appmax-v322-CytdpjPz.js +0 -52
  778. package/dist/ds-appmax-v327-CvnIjV6A.js +0 -69
  779. package/dist/ds-appmax-v330-C0uO9nF3.js +0 -48
  780. package/dist/ds-appmax-v335-QfNLVACK.js +0 -278
  781. package/dist/elo-BaNbqhYS-Djn2c-2s.js +0 -15
  782. package/dist/gear-BHOWpd7b-BBHum57T.js +0 -18
  783. package/dist/grid-B7I0mWry-BcnIfla2.js +0 -18
  784. package/dist/hipercard-DBsszwxC-X7ss0HjX.js +0 -22
  785. package/dist/index-B-PM3l6N.js +0 -21
  786. package/dist/index-BE295cOU.js +0 -1204
  787. package/dist/index-BW2oS8WN.js +0 -21
  788. package/dist/index-BeFonkDD.js +0 -35
  789. package/dist/index-Bp5qyvnE.js +0 -83
  790. package/dist/index-BpUuFotl.js +0 -219
  791. package/dist/index-BvAQmXZP.js +0 -776
  792. package/dist/index-CGekfbUR.js +0 -217
  793. package/dist/index-CSKAyAVf.js +0 -1790
  794. package/dist/index-CaVBT9Ak.js +0 -275
  795. package/dist/index-Cb0-K19b.js +0 -681
  796. package/dist/index-CpYBypmE.js +0 -62
  797. package/dist/index-D3MzM8KL.js +0 -169
  798. package/dist/index-D657cl8P.js +0 -534
  799. package/dist/index-D7yHZETo.js +0 -409
  800. package/dist/index-DKtXOlMC.js +0 -117
  801. package/dist/index-DOMGbnWd.js +0 -92
  802. package/dist/index-DW7Uy9lQ.js +0 -1567
  803. package/dist/index-DX86NWJM.js +0 -200
  804. package/dist/index-DZOFps7n.js +0 -721
  805. package/dist/index-DdlEDiGn.js +0 -4133
  806. package/dist/index-DiNMjeFz.js +0 -11
  807. package/dist/index-Difu87AE.js +0 -67
  808. package/dist/index-Dpeb_nR8.js +0 -106
  809. package/dist/index-Dqri1A-W.js +0 -219
  810. package/dist/index-DziJ4EWw.js +0 -11240
  811. package/dist/index-c1F4Whl4.js +0 -332
  812. package/dist/index-l1nHicUF.js +0 -18
  813. package/dist/index-uo8pXrXD.js +0 -230
  814. package/dist/index.page-BVhmKT0x.js +0 -737
  815. package/dist/index.page-T-g3q-3y.js +0 -827
  816. package/dist/index.page-kyUveHrU.js +0 -165
  817. package/dist/infos-8KGPLXoE-DETDfcOj.js +0 -18
  818. package/dist/integrations-UOltVEyj-D3b11_Dy.js +0 -19
  819. package/dist/logs-Ce3fZY0v-1saXbpV4.js +0 -28
  820. package/dist/maestro-BMomgHxO-Cn-KdK8u.js +0 -27
  821. package/dist/main-CJqq8LV_.js +0 -106860
  822. package/dist/mastercard-5I-dcOVV-SVeECO9Z.js +0 -30
  823. package/dist/max_brand-Crj-SFUw-pdUkLtNn.js +0 -29
  824. package/dist/max_brand_active-BIkS5qkP-B8nADOMv.js +0 -27
  825. package/dist/max_brand_negative-BxvdIegN-B2T8V0sP.js +0 -30
  826. package/dist/max_brand_white-DdKi2YVX-B9c-Ke0i.js +0 -29
  827. package/dist/menu.page-Bb-361wx.js +0 -274
  828. package/dist/money-DZpB5eTf-8B_Ym89Z.js +0 -19
  829. package/dist/notification-DMezLtAj-DzfHWtsY.js +0 -18
  830. package/dist/paypal-DMYjfEw0-CoDp9MaS.js +0 -15
  831. package/dist/pix-DXdX91yj-BlHT604u.js +0 -22
  832. package/dist/pix_outline-D_xXXgCN-ChvjdFG9.js +0 -16
  833. package/dist/pix_white-CcVsnEF2-C-tHR6Ug.js +0 -24
  834. package/dist/pusher-BeXZm-KF.js +0 -4010
  835. package/dist/shield-DS-Xf4WH-Cvzgo1bU.js +0 -15
  836. package/dist/solid_help-DNaqfgoc-q4g44ePe.js +0 -20
  837. package/dist/solid_home-BDUiJDVY-CMjtmsil.js +0 -18
  838. package/dist/solid_leaderboard-DtqK7q9Y-55ihqI9p.js +0 -18
  839. package/dist/solid_store-Cfv6o4b8-BsKmNGdP.js +0 -18
  840. package/dist/ticket_icon-DwvyLm7c-iv7Jadui.js +0 -22
  841. package/dist/usePendingMessage-CMe39stE.js +0 -191
  842. package/dist/useQueryFilter-CWrCnTci.js +0 -93
  843. package/dist/useRecurringTable-bBcF6Br_.js +0 -160
  844. package/dist/user-BRpwqYx8-BIYr3X--.js +0 -18
  845. package/dist/validateURL.helper-BNTy-ybB.js +0 -126
  846. package/dist/visa-tPjWcMbi-DSzJKiVY.js +0 -18
@@ -1,2012 +0,0 @@
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-CJqq8LV_.js";
5
- import { C } from "./index-l1nHicUF.js";
6
- import { H } from "./AmHelper.vue_vue_type_script_setup_true_lang-4vSpYa8P-BtpOAA4k.js";
7
- import { A as AmSkeleton } from "./AmSkeleton-DX-AHvYt.js";
8
- import { A as AmDoughnutChartAdapted } from "./AmDoughnutChartAdapted-QLoXpn7p.js";
9
- import { A as AmCardV3 } from "./AmCardV3-CvAuzYKv.js";
10
- import { h as he } from "./index-uo8pXrXD.js";
11
- import { s as script$2 } from "./index-DX86NWJM.js";
12
- import { T as Te } from "./index-BE295cOU.js";
13
- import { u as useRecurringTable } from "./useRecurringTable-bBcF6Br_.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
- };