@atlashub/smartstack 3.30.0 → 3.31.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.
- package/dist/chunks/{AgentSkillsPage-CVq3qZoe.js → AgentSkillsPage-CDMhqrhE.js} +2 -2
- package/dist/chunks/{AgentSkillsPage-CVq3qZoe.js.map → AgentSkillsPage-CDMhqrhE.js.map} +1 -1
- package/dist/chunks/{AgentSkillsPage-DJb49NMA.js → AgentSkillsPage-DcvOMm5k.js} +2 -2
- package/dist/chunks/{AgentSkillsPage-DJb49NMA.js.map → AgentSkillsPage-DcvOMm5k.js.map} +1 -1
- package/dist/chunks/{AgentWorkloadPage-D_nk3gKj.js → AgentWorkloadPage-DYBPNzjQ.js} +2 -2
- package/dist/chunks/{AgentWorkloadPage-D_nk3gKj.js.map → AgentWorkloadPage-DYBPNzjQ.js.map} +1 -1
- package/dist/chunks/{AgentWorkloadPage-oHEi-sFh.js → AgentWorkloadPage-YpJSDaWc.js} +2 -2
- package/dist/chunks/{AgentWorkloadPage-oHEi-sFh.js.map → AgentWorkloadPage-YpJSDaWc.js.map} +1 -1
- package/dist/chunks/{ApiCatalogDetailPage-Cr0q2HnB.js → ApiCatalogDetailPage-9r1axtCg.js} +3 -3
- package/dist/chunks/{ApiCatalogDetailPage-Cr0q2HnB.js.map → ApiCatalogDetailPage-9r1axtCg.js.map} +1 -1
- package/dist/chunks/{ApiCatalogDetailPage-DX8buBkV.js → ApiCatalogDetailPage-TjCQ8_A8.js} +2 -2
- package/dist/chunks/{ApiCatalogDetailPage-DX8buBkV.js.map → ApiCatalogDetailPage-TjCQ8_A8.js.map} +1 -1
- package/dist/chunks/{ApiCatalogPage-DqboIzZE.js → ApiCatalogPage-COxazTnz.js} +2 -2
- package/dist/chunks/{ApiCatalogPage-DqboIzZE.js.map → ApiCatalogPage-COxazTnz.js.map} +1 -1
- package/dist/chunks/{ApiCatalogPage-DN7sazvI.js → ApiCatalogPage-QRysH0pT.js} +2 -2
- package/dist/chunks/{ApiCatalogPage-DN7sazvI.js.map → ApiCatalogPage-QRysH0pT.js.map} +1 -1
- package/dist/chunks/{ApplicationDetailPage-CCNjr64K.js → ApplicationDetailPage-Dbx01Ikm.js} +4 -4
- package/dist/chunks/{ApplicationDetailPage-CCNjr64K.js.map → ApplicationDetailPage-Dbx01Ikm.js.map} +1 -1
- package/dist/chunks/{ApplicationDetailPage--9YwwS5A.js → ApplicationDetailPage-jSHy3MPz.js} +2 -2
- package/dist/chunks/{ApplicationDetailPage--9YwwS5A.js.map → ApplicationDetailPage-jSHy3MPz.js.map} +1 -1
- package/dist/chunks/{ApplicationsDashboardPage-Bs-Xgca4.js → ApplicationsDashboardPage-CclKc0wI.js} +3 -3
- package/dist/chunks/{ApplicationsDashboardPage-Bs-Xgca4.js.map → ApplicationsDashboardPage-CclKc0wI.js.map} +1 -1
- package/dist/chunks/{ApplicationsDashboardPage-BSsHN3Yj.js → ApplicationsDashboardPage-CxWmOc1x.js} +2 -2
- package/dist/chunks/{ApplicationsDashboardPage-BSsHN3Yj.js.map → ApplicationsDashboardPage-CxWmOc1x.js.map} +1 -1
- package/dist/chunks/{ApplicationsGridPage-s1WEzOXS.js → ApplicationsGridPage-BJXWXwyI.js} +2 -2
- package/dist/chunks/{ApplicationsGridPage-s1WEzOXS.js.map → ApplicationsGridPage-BJXWXwyI.js.map} +1 -1
- package/dist/chunks/{ApplicationsGridPage-DDysNWJ5.js → ApplicationsGridPage-D2l8cM3o.js} +2 -2
- package/dist/chunks/{ApplicationsGridPage-DDysNWJ5.js.map → ApplicationsGridPage-D2l8cM3o.js.map} +1 -1
- package/dist/chunks/{ApplicationsListPage-B3CSMiV0.js → ApplicationsListPage-CMosl3my.js} +2 -2
- package/dist/chunks/{ApplicationsListPage-B3CSMiV0.js.map → ApplicationsListPage-CMosl3my.js.map} +1 -1
- package/dist/chunks/{ApplicationsListPage-B6ZCecIl.js → ApplicationsListPage-Dc6NGQ61.js} +2 -2
- package/dist/chunks/{ApplicationsListPage-B6ZCecIl.js.map → ApplicationsListPage-Dc6NGQ61.js.map} +1 -1
- package/dist/chunks/{ApplicationsPage-BBaiBM--.js → ApplicationsPage-DH7tpMlF.js} +2 -2
- package/dist/chunks/{ApplicationsPage-BBaiBM--.js.map → ApplicationsPage-DH7tpMlF.js.map} +1 -1
- package/dist/chunks/{ApplicationsPage-ztPwoAGt.js → ApplicationsPage-DI-iMqoJ.js} +4 -4
- package/dist/chunks/{ApplicationsPage-ztPwoAGt.js.map → ApplicationsPage-DI-iMqoJ.js.map} +1 -1
- package/dist/chunks/{AssignmentRulesPage-DFSVFFXr.js → AssignmentRulesPage-B5UbujbZ.js} +2 -2
- package/dist/chunks/{AssignmentRulesPage-DFSVFFXr.js.map → AssignmentRulesPage-B5UbujbZ.js.map} +1 -1
- package/dist/chunks/{AssignmentRulesPage-CK4L4rBO.js → AssignmentRulesPage-E79QBSLb.js} +2 -2
- package/dist/chunks/{AssignmentRulesPage-CK4L4rBO.js.map → AssignmentRulesPage-E79QBSLb.js.map} +1 -1
- package/dist/chunks/{AssignmentsPage-JCLpyg94.js → AssignmentsPage-CDFaL1gT.js} +2 -2
- package/dist/chunks/{AssignmentsPage-JCLpyg94.js.map → AssignmentsPage-CDFaL1gT.js.map} +1 -1
- package/dist/chunks/{AssignmentsPage-Bp7oQD7Q.js → AssignmentsPage-CPeKJjyK.js} +2 -2
- package/dist/chunks/{AssignmentsPage-Bp7oQD7Q.js.map → AssignmentsPage-CPeKJjyK.js.map} +1 -1
- package/dist/chunks/{AuthCallbackPage-Bl9xlJ3h.js → AuthCallbackPage-BZ3Ocos5.js} +2 -2
- package/dist/chunks/{AuthCallbackPage-Bl9xlJ3h.js.map → AuthCallbackPage-BZ3Ocos5.js.map} +1 -1
- package/dist/chunks/{AuthCallbackPage-CzMHz4jy.js → AuthCallbackPage-Bml48QpH.js} +2 -2
- package/dist/chunks/{AuthCallbackPage-CzMHz4jy.js.map → AuthCallbackPage-Bml48QpH.js.map} +1 -1
- package/dist/chunks/{ConfirmEmailPage-M7mJgXvn.js → ConfirmEmailPage-DP1XPaKK.js} +2 -2
- package/dist/chunks/{ConfirmEmailPage-M7mJgXvn.js.map → ConfirmEmailPage-DP1XPaKK.js.map} +1 -1
- package/dist/chunks/{ConfirmEmailPage-D_8T1vqV.js → ConfirmEmailPage-DyzslZ06.js} +2 -2
- package/dist/chunks/{ConfirmEmailPage-D_8T1vqV.js.map → ConfirmEmailPage-DyzslZ06.js.map} +1 -1
- package/dist/chunks/{CreateSupportTicketPage-BNEGavlu.js → CreateSupportTicketPage-Bz2KrMik.js} +2 -2
- package/dist/chunks/{CreateSupportTicketPage-BNEGavlu.js.map → CreateSupportTicketPage-Bz2KrMik.js.map} +1 -1
- package/dist/chunks/{CreateSupportTicketPage-C2X2mfds.js → CreateSupportTicketPage-hKjKM0Bh.js} +2 -2
- package/dist/chunks/{CreateSupportTicketPage-C2X2mfds.js.map → CreateSupportTicketPage-hKjKM0Bh.js.map} +1 -1
- package/dist/chunks/{DashboardPage-4oy2YqvT.js → DashboardPage-B4nAd8Tj.js} +2 -2
- package/dist/chunks/{DashboardPage-4oy2YqvT.js.map → DashboardPage-B4nAd8Tj.js.map} +1 -1
- package/dist/chunks/{DashboardPage-D5MRMxEV.js → DashboardPage-C9qgPBS-.js} +3 -3
- package/dist/chunks/{DashboardPage-D5MRMxEV.js.map → DashboardPage-C9qgPBS-.js.map} +1 -1
- package/dist/chunks/{DashboardPage-CO-8B8EI.js → DashboardPage-CjbNGMo1.js} +3 -3
- package/dist/chunks/{DashboardPage-CO-8B8EI.js.map → DashboardPage-CjbNGMo1.js.map} +1 -1
- package/dist/chunks/{DashboardPage-CPArUG-S.js → DashboardPage-rN7IFlTR.js} +2 -2
- package/dist/chunks/{DashboardPage-CPArUG-S.js.map → DashboardPage-rN7IFlTR.js.map} +1 -1
- package/dist/chunks/{EscalationConfigPage-DnjLFXnL.js → EscalationConfigPage-CGv2L62M.js} +2 -2
- package/dist/chunks/{EscalationConfigPage-DnjLFXnL.js.map → EscalationConfigPage-CGv2L62M.js.map} +1 -1
- package/dist/chunks/{EscalationConfigPage-CwdnfJbJ.js → EscalationConfigPage-DpYDmsgw.js} +2 -2
- package/dist/chunks/{EscalationConfigPage-CwdnfJbJ.js.map → EscalationConfigPage-DpYDmsgw.js.map} +1 -1
- package/dist/chunks/{ForceChangePasswordPage-ZEIfyqwE.js → ForceChangePasswordPage-CLI_fpF4.js} +2 -2
- package/dist/chunks/{ForceChangePasswordPage-ZEIfyqwE.js.map → ForceChangePasswordPage-CLI_fpF4.js.map} +1 -1
- package/dist/chunks/{ForceChangePasswordPage-sh-3h_H9.js → ForceChangePasswordPage-Db6sOrZN.js} +2 -2
- package/dist/chunks/{ForceChangePasswordPage-sh-3h_H9.js.map → ForceChangePasswordPage-Db6sOrZN.js.map} +1 -1
- package/dist/chunks/{ForgotPasswordPage-B4M6-xeM.js → ForgotPasswordPage-BhMz2B6A.js} +2 -2
- package/dist/chunks/{ForgotPasswordPage-B4M6-xeM.js.map → ForgotPasswordPage-BhMz2B6A.js.map} +1 -1
- package/dist/chunks/{ForgotPasswordPage-MIu-U7p0.js → ForgotPasswordPage-D06arMXO.js} +2 -2
- package/dist/chunks/{ForgotPasswordPage-MIu-U7p0.js.map → ForgotPasswordPage-D06arMXO.js.map} +1 -1
- package/dist/chunks/{GroupDetailPage-4XK3Bs_r.js → GroupDetailPage-BCM8KBCd.js} +5 -5
- package/dist/chunks/{GroupDetailPage-4XK3Bs_r.js.map → GroupDetailPage-BCM8KBCd.js.map} +1 -1
- package/dist/chunks/{GroupDetailPage-C-kvtd2T.js → GroupDetailPage-CGMV3bWt.js} +2 -2
- package/dist/chunks/{GroupDetailPage-C-kvtd2T.js.map → GroupDetailPage-CGMV3bWt.js.map} +1 -1
- package/dist/chunks/{MyAccessRequestsPage-CP41FzHi.js → MyAccessRequestsPage-BBrwEomx.js} +2 -2
- package/dist/chunks/{MyAccessRequestsPage-CP41FzHi.js.map → MyAccessRequestsPage-BBrwEomx.js.map} +1 -1
- package/dist/chunks/{MyAccessRequestsPage-DzrXTrVi.js → MyAccessRequestsPage-CrlWe3gd.js} +2 -2
- package/dist/chunks/{MyAccessRequestsPage-DzrXTrVi.js.map → MyAccessRequestsPage-CrlWe3gd.js.map} +1 -1
- package/dist/chunks/{MyTenantsPage-V_SwYio2.js → MyTenantsPage-BOV34_rJ.js} +3 -3
- package/dist/chunks/{MyTenantsPage-V_SwYio2.js.map → MyTenantsPage-BOV34_rJ.js.map} +1 -1
- package/dist/chunks/{MyTenantsPage-CZRkMbh8.js → MyTenantsPage-CK4-klmd.js} +2 -2
- package/dist/chunks/{MyTenantsPage-CZRkMbh8.js.map → MyTenantsPage-CK4-klmd.js.map} +1 -1
- package/dist/chunks/{MyTicketsPage-DnvAIeyr.js → MyTicketsPage-CFZ1G4dG.js} +2 -2
- package/dist/chunks/{MyTicketsPage-DnvAIeyr.js.map → MyTicketsPage-CFZ1G4dG.js.map} +1 -1
- package/dist/chunks/{MyTicketsPage-DOUhaLal.js → MyTicketsPage-DuhpwhZx.js} +2 -2
- package/dist/chunks/{MyTicketsPage-DOUhaLal.js.map → MyTicketsPage-DuhpwhZx.js.map} +1 -1
- package/dist/chunks/{NavigationAppsPage-DfTa4jCG.js → NavigationAppsPage-BnNQRfBP.js} +2 -2
- package/dist/chunks/{NavigationAppsPage-DfTa4jCG.js.map → NavigationAppsPage-BnNQRfBP.js.map} +1 -1
- package/dist/chunks/{NavigationAppsPage-DXvpLsbt.js → NavigationAppsPage-DdJxEoTZ.js} +2 -2
- package/dist/chunks/{NavigationAppsPage-DXvpLsbt.js.map → NavigationAppsPage-DdJxEoTZ.js.map} +1 -1
- package/dist/chunks/{NotificationsPage-I1yCk7tk.js → NotificationsPage-BllOlagk.js} +2 -2
- package/dist/chunks/{NotificationsPage-I1yCk7tk.js.map → NotificationsPage-BllOlagk.js.map} +1 -1
- package/dist/chunks/{NotificationsPage-D76MdAs-.js → NotificationsPage-D1T_ozHl.js} +2 -2
- package/dist/chunks/{NotificationsPage-D76MdAs-.js.map → NotificationsPage-D1T_ozHl.js.map} +1 -1
- package/dist/chunks/{OnboardingWizardPage-BRUzcl1A.js → OnboardingWizardPage-CioLaCYz.js} +2 -2
- package/dist/chunks/{OnboardingWizardPage-BRUzcl1A.js.map → OnboardingWizardPage-CioLaCYz.js.map} +1 -1
- package/dist/chunks/{OnboardingWizardPage-DtWUPCh3.js → OnboardingWizardPage-CrAQt7qL.js} +2 -2
- package/dist/chunks/{OnboardingWizardPage-DtWUPCh3.js.map → OnboardingWizardPage-CrAQt7qL.js.map} +1 -1
- package/dist/chunks/{PermissionDetailPage-CUNKbl7t.js → PermissionDetailPage-BIG78-1-.js} +2 -2
- package/dist/chunks/{PermissionDetailPage-CUNKbl7t.js.map → PermissionDetailPage-BIG78-1-.js.map} +1 -1
- package/dist/chunks/{PermissionDetailPage-DJJGbXoX.js → PermissionDetailPage-CvPqugYu.js} +2 -2
- package/dist/chunks/{PermissionDetailPage-DJJGbXoX.js.map → PermissionDetailPage-CvPqugYu.js.map} +1 -1
- package/dist/chunks/{PermissionsPage-B8wmawPV.js → PermissionsPage-CDSuc8vw.js} +2 -2
- package/dist/chunks/{PermissionsPage-B8wmawPV.js.map → PermissionsPage-CDSuc8vw.js.map} +1 -1
- package/dist/chunks/{PermissionsPage-Dbjcctuh.js → PermissionsPage-XaOrGrPZ.js} +2 -2
- package/dist/chunks/{PermissionsPage-Dbjcctuh.js.map → PermissionsPage-XaOrGrPZ.js.map} +1 -1
- package/dist/chunks/{PortalDashboardPage-BeNfBZmb.js → PortalDashboardPage-BsWVXkMe.js} +2 -2
- package/dist/chunks/{PortalDashboardPage-BeNfBZmb.js.map → PortalDashboardPage-BsWVXkMe.js.map} +1 -1
- package/dist/chunks/{PortalDashboardPage-zii0ll57.js → PortalDashboardPage-oSD7oQhJ.js} +2 -2
- package/dist/chunks/{PortalDashboardPage-zii0ll57.js.map → PortalDashboardPage-oSD7oQhJ.js.map} +1 -1
- package/dist/chunks/{PreferencesPage-BCpuIGzv.js → PreferencesPage-DD0_XWdT.js} +2 -2
- package/dist/chunks/{PreferencesPage-BCpuIGzv.js.map → PreferencesPage-DD0_XWdT.js.map} +1 -1
- package/dist/chunks/{PreferencesPage-BmvrBaAD.js → PreferencesPage-ca2BOdoH.js} +2 -2
- package/dist/chunks/{PreferencesPage-BmvrBaAD.js.map → PreferencesPage-ca2BOdoH.js.map} +1 -1
- package/dist/chunks/{ProfilePage-mf5wI0-n.js → ProfilePage-Bex_JN5N.js} +2 -2
- package/dist/chunks/{ProfilePage-mf5wI0-n.js.map → ProfilePage-Bex_JN5N.js.map} +1 -1
- package/dist/chunks/{ProfilePage-eowQd59_.js → ProfilePage-C8tUIOnb.js} +2 -2
- package/dist/chunks/{ProfilePage-eowQd59_.js.map → ProfilePage-C8tUIOnb.js.map} +1 -1
- package/dist/chunks/{ReferencesManagementPage-CLsaUNqA.js → ReferencesManagementPage-B-FXS2ln.js} +2 -2
- package/dist/chunks/{ReferencesManagementPage-CLsaUNqA.js.map → ReferencesManagementPage-B-FXS2ln.js.map} +1 -1
- package/dist/chunks/{ReferencesManagementPage-8UPgkVE8.js → ReferencesManagementPage-C8KZprkI.js} +3 -3
- package/dist/chunks/{ReferencesManagementPage-8UPgkVE8.js.map → ReferencesManagementPage-C8KZprkI.js.map} +1 -1
- package/dist/chunks/{RegisterPage-CNyHSbqs.js → RegisterPage-BYt__zKJ.js} +2 -2
- package/dist/chunks/{RegisterPage-CNyHSbqs.js.map → RegisterPage-BYt__zKJ.js.map} +1 -1
- package/dist/chunks/{RegisterPage-57X-ILDb.js → RegisterPage-MWcVu-LY.js} +2 -2
- package/dist/chunks/{RegisterPage-57X-ILDb.js.map → RegisterPage-MWcVu-LY.js.map} +1 -1
- package/dist/chunks/{ResetPasswordPage-CyV8l-Zo.js → ResetPasswordPage-DaJiMj5Z.js} +2 -2
- package/dist/chunks/{ResetPasswordPage-CyV8l-Zo.js.map → ResetPasswordPage-DaJiMj5Z.js.map} +1 -1
- package/dist/chunks/{ResetPasswordPage-JW8-mh_k.js → ResetPasswordPage-rCLUIj_T.js} +2 -2
- package/dist/chunks/{ResetPasswordPage-JW8-mh_k.js.map → ResetPasswordPage-rCLUIj_T.js.map} +1 -1
- package/dist/chunks/{ResolutionModal-CjwE73NX.js → ResolutionModal-DeuPnLWg.js} +2 -2
- package/dist/chunks/{ResolutionModal-CjwE73NX.js.map → ResolutionModal-DeuPnLWg.js.map} +1 -1
- package/dist/chunks/{ResolutionModal-wddG59kg.js → ResolutionModal-j7Rp6apG.js} +2 -2
- package/dist/chunks/{ResolutionModal-wddG59kg.js.map → ResolutionModal-j7Rp6apG.js.map} +1 -1
- package/dist/chunks/{RoleDetailPage-CrioVHFI.js → RoleDetailPage-CLtZWX17.js} +3 -3
- package/dist/chunks/{RoleDetailPage-CrioVHFI.js.map → RoleDetailPage-CLtZWX17.js.map} +1 -1
- package/dist/chunks/{RoleDetailPage-TUOGR1ow.js → RoleDetailPage-TGyGmLMM.js} +2 -2
- package/dist/chunks/{RoleDetailPage-TUOGR1ow.js.map → RoleDetailPage-TGyGmLMM.js.map} +1 -1
- package/dist/chunks/{RolesPage-sJBWaNff.js → RolesPage-C0c5G9e7.js} +2 -2
- package/dist/chunks/{RolesPage-sJBWaNff.js.map → RolesPage-C0c5G9e7.js.map} +1 -1
- package/dist/chunks/{RolesPage-CAcols3D.js → RolesPage-Dm03fBBf.js} +2 -2
- package/dist/chunks/{RolesPage-CAcols3D.js.map → RolesPage-Dm03fBBf.js.map} +1 -1
- package/dist/chunks/{SlaConfigPage-BPGRloOS.js → SlaConfigPage-B4WDzEKi.js} +2 -2
- package/dist/chunks/{SlaConfigPage-BPGRloOS.js.map → SlaConfigPage-B4WDzEKi.js.map} +1 -1
- package/dist/chunks/{SlaConfigPage-D5TRn7Ir.js → SlaConfigPage-Cwo9NwxH.js} +2 -2
- package/dist/chunks/{SlaConfigPage-D5TRn7Ir.js.map → SlaConfigPage-Cwo9NwxH.js.map} +1 -1
- package/dist/chunks/{SupportPermissionsPage-UXmYLrIq.js → SupportPermissionsPage-CL12dFy-.js} +2 -2
- package/dist/chunks/{SupportPermissionsPage-UXmYLrIq.js.map → SupportPermissionsPage-CL12dFy-.js.map} +1 -1
- package/dist/chunks/{SupportPermissionsPage-Dc2bWTzG.js → SupportPermissionsPage-CneIhl30.js} +2 -2
- package/dist/chunks/{SupportPermissionsPage-Dc2bWTzG.js.map → SupportPermissionsPage-CneIhl30.js.map} +1 -1
- package/dist/chunks/{TemplatesPage-nTY85sNA.js → TemplatesPage-DStKmwHT.js} +2 -2
- package/dist/chunks/{TemplatesPage-nTY85sNA.js.map → TemplatesPage-DStKmwHT.js.map} +1 -1
- package/dist/chunks/{TemplatesPage-dmPlqqiD.js → TemplatesPage-X4Rrhs9p.js} +2 -2
- package/dist/chunks/{TemplatesPage-dmPlqqiD.js.map → TemplatesPage-X4Rrhs9p.js.map} +1 -1
- package/dist/chunks/{TenantCard-BhT-31ls.js → TenantCard-BUBYWtvR.js} +2 -2
- package/dist/chunks/{TenantCard-BhT-31ls.js.map → TenantCard-BUBYWtvR.js.map} +1 -1
- package/dist/chunks/{TenantCard-BUXfstRZ.js → TenantCard-CAgiB-NG.js} +2 -2
- package/dist/chunks/{TenantCard-BUXfstRZ.js.map → TenantCard-CAgiB-NG.js.map} +1 -1
- package/dist/chunks/{TenantScopeSelector-3_mzBLNI.js → TenantScopeSelector-B9vtpIZx.js} +2 -2
- package/dist/chunks/{TenantScopeSelector-3_mzBLNI.js.map → TenantScopeSelector-B9vtpIZx.js.map} +1 -1
- package/dist/chunks/{TenantScopeSelector-B-SRDR2R.js → TenantScopeSelector-BAoah-mL.js} +2 -2
- package/dist/chunks/{TenantScopeSelector-B-SRDR2R.js.map → TenantScopeSelector-BAoah-mL.js.map} +1 -1
- package/dist/chunks/{TicketDetailPage-xN3wPnFL.js → TicketDetailPage-BFcP4X8s.js} +2 -2
- package/dist/chunks/{TicketDetailPage-xN3wPnFL.js.map → TicketDetailPage-BFcP4X8s.js.map} +1 -1
- package/dist/chunks/{TicketDetailPage-B4cR3rOC.js → TicketDetailPage-D_Npnt4A.js} +2 -2
- package/dist/chunks/{TicketDetailPage-B4cR3rOC.js.map → TicketDetailPage-D_Npnt4A.js.map} +1 -1
- package/dist/chunks/{TicketsPage-Dwi2xpMI.js → TicketsPage-DBP9kalU.js} +2 -2
- package/dist/chunks/{TicketsPage-Dwi2xpMI.js.map → TicketsPage-DBP9kalU.js.map} +1 -1
- package/dist/chunks/{TicketsPage-CkHgXSxU.js → TicketsPage-p21DLhUb.js} +2 -2
- package/dist/chunks/{TicketsPage-CkHgXSxU.js.map → TicketsPage-p21DLhUb.js.map} +1 -1
- package/dist/chunks/{UserCreateTicketPage-D2a3EOey.js → UserCreateTicketPage-DOwShnG8.js} +2 -2
- package/dist/chunks/{UserCreateTicketPage-D2a3EOey.js.map → UserCreateTicketPage-DOwShnG8.js.map} +1 -1
- package/dist/chunks/{UserCreateTicketPage-bcbSLglE.js → UserCreateTicketPage-lvlvp2u6.js} +2 -2
- package/dist/chunks/{UserCreateTicketPage-bcbSLglE.js.map → UserCreateTicketPage-lvlvp2u6.js.map} +1 -1
- package/dist/chunks/{UserDashboardPage-ZMsx8LWw.js → UserDashboardPage-C_tm7Pld.js} +2 -2
- package/dist/chunks/{UserDashboardPage-ZMsx8LWw.js.map → UserDashboardPage-C_tm7Pld.js.map} +1 -1
- package/dist/chunks/{UserDashboardPage-DwnDRNoW.js → UserDashboardPage-Dp6q6FEW.js} +2 -2
- package/dist/chunks/{UserDashboardPage-DwnDRNoW.js.map → UserDashboardPage-Dp6q6FEW.js.map} +1 -1
- package/dist/chunks/{UserDetailPage-CZyV-zsg.js → UserDetailPage-6grZ6gmV.js} +5 -5
- package/dist/chunks/{UserDetailPage-CZyV-zsg.js.map → UserDetailPage-6grZ6gmV.js.map} +1 -1
- package/dist/chunks/{UserDetailPage-BRFowOFL.js → UserDetailPage-DXLxO7LF.js} +2 -2
- package/dist/chunks/{UserDetailPage-BRFowOFL.js.map → UserDetailPage-DXLxO7LF.js.map} +1 -1
- package/dist/chunks/{UserTicketDetailPage-BstGk_BP.js → UserTicketDetailPage-Ch9IfCPo.js} +2 -2
- package/dist/chunks/{UserTicketDetailPage-BstGk_BP.js.map → UserTicketDetailPage-Ch9IfCPo.js.map} +1 -1
- package/dist/chunks/{UserTicketDetailPage-DzB_pELt.js → UserTicketDetailPage-a4II5VEE.js} +2 -2
- package/dist/chunks/{UserTicketDetailPage-DzB_pELt.js.map → UserTicketDetailPage-a4II5VEE.js.map} +1 -1
- package/dist/chunks/{UsersGroupsPage-BygTv_kK.js → UsersGroupsPage-B7Er0V4l.js} +3 -3
- package/dist/chunks/{UsersGroupsPage-BygTv_kK.js.map → UsersGroupsPage-B7Er0V4l.js.map} +1 -1
- package/dist/chunks/{UsersGroupsPage-DTmhzttW.js → UsersGroupsPage-BeAv4QfV.js} +2 -2
- package/dist/chunks/{UsersGroupsPage-DTmhzttW.js.map → UsersGroupsPage-BeAv4QfV.js.map} +1 -1
- package/dist/chunks/{UsersPage-DcwLyMAX.js → UsersPage-0M1FLqOe.js} +2 -2
- package/dist/chunks/{UsersPage-DcwLyMAX.js.map → UsersPage-0M1FLqOe.js.map} +1 -1
- package/dist/chunks/{UsersPage-TIqSHgHj.js → UsersPage-ZR9r9vvf.js} +2 -2
- package/dist/chunks/{UsersPage-TIqSHgHj.js.map → UsersPage-ZR9r9vvf.js.map} +1 -1
- package/dist/chunks/{accessRequestsApi-3FjMFbpa.js → accessRequestsApi-BJH8EE1K.js} +2 -2
- package/dist/chunks/{accessRequestsApi-3FjMFbpa.js.map → accessRequestsApi-BJH8EE1K.js.map} +1 -1
- package/dist/chunks/{accessRequestsApi-B6dsJzvH.js → accessRequestsApi-CBpF5d54.js} +2 -2
- package/dist/chunks/{accessRequestsApi-B6dsJzvH.js.map → accessRequestsApi-CBpF5d54.js.map} +1 -1
- package/dist/chunks/{aiApi-9G4wG_mT.js → aiApi-CkkWAvNB.js} +2 -2
- package/dist/chunks/{aiApi-9G4wG_mT.js.map → aiApi-CkkWAvNB.js.map} +1 -1
- package/dist/chunks/{aiApi-DXOdsoxr.js → aiApi-Dl7a2lWz.js} +2 -2
- package/dist/chunks/{aiApi-DXOdsoxr.js.map → aiApi-Dl7a2lWz.js.map} +1 -1
- package/dist/chunks/{applicationAnalyticsApi-DhOd6idI.js → applicationAnalyticsApi-BwcSE_H1.js} +2 -2
- package/dist/chunks/{applicationAnalyticsApi-DhOd6idI.js.map → applicationAnalyticsApi-BwcSE_H1.js.map} +1 -1
- package/dist/chunks/{applicationAnalyticsApi-D0DEp9Y-.js → applicationAnalyticsApi-DKMmDvWk.js} +2 -2
- package/dist/chunks/{applicationAnalyticsApi-D0DEp9Y-.js.map → applicationAnalyticsApi-DKMmDvWk.js.map} +1 -1
- package/dist/chunks/{groupsApi-Db8G2lLs.js → groupsApi-BzDV3_Jc.js} +2 -2
- package/dist/chunks/{groupsApi-Db8G2lLs.js.map → groupsApi-BzDV3_Jc.js.map} +1 -1
- package/dist/chunks/{groupsApi-lbxNsHFv.js → groupsApi-CQ4vFMdP.js} +2 -2
- package/dist/chunks/{groupsApi-lbxNsHFv.js.map → groupsApi-CQ4vFMdP.js.map} +1 -1
- package/dist/chunks/{index-DEtq-xUL.js → index-BBmMbSZV.js} +8 -8
- package/dist/chunks/{index-DEtq-xUL.js.map → index-BBmMbSZV.js.map} +1 -1
- package/dist/chunks/{index-D0HS542b.js → index-BLlESTfA.js} +2 -2
- package/dist/chunks/{index-D0HS542b.js.map → index-BLlESTfA.js.map} +1 -1
- package/dist/chunks/{index-DUS-tunb.js → index-BPMjxWVx.js} +2 -2
- package/dist/chunks/{index-DUS-tunb.js.map → index-BPMjxWVx.js.map} +1 -1
- package/dist/chunks/{index-TiWOcC0g.js → index-CEbwdURd.js} +2 -2
- package/dist/chunks/{index-TiWOcC0g.js.map → index-CEbwdURd.js.map} +1 -1
- package/dist/chunks/{index-DF93KQFR.js → index-CUZygY5Q.js} +2 -2
- package/dist/chunks/{index-DF93KQFR.js.map → index-CUZygY5Q.js.map} +1 -1
- package/dist/chunks/{index-BI2dc1FS.js → index-Ci1SqFiY.js} +2 -2
- package/dist/chunks/{index-BI2dc1FS.js.map → index-Ci1SqFiY.js.map} +1 -1
- package/dist/chunks/{index-CTGSmYvs.js → index-Cib93xtp.js} +2 -2
- package/dist/chunks/{index-CTGSmYvs.js.map → index-Cib93xtp.js.map} +1 -1
- package/dist/chunks/{index-DqbVFB1H.js → index-CoHIgn5H.js} +2 -2
- package/dist/chunks/{index-DqbVFB1H.js.map → index-CoHIgn5H.js.map} +1 -1
- package/dist/chunks/{index-CN2WRyg1.js → index-CpY95_ro.js} +294 -292
- package/dist/chunks/{index-CN2WRyg1.js.map → index-CpY95_ro.js.map} +1 -1
- package/dist/chunks/{index-DjC1u2hI.js → index-D-2xSu5W.js} +3 -3
- package/dist/chunks/{index-DjC1u2hI.js.map → index-D-2xSu5W.js.map} +1 -1
- package/dist/chunks/{index-Bn8HzILk.js → index-D18t9DhC.js} +4 -4
- package/dist/chunks/{index-Bn8HzILk.js.map → index-D18t9DhC.js.map} +1 -1
- package/dist/chunks/{index-cAikSVW0.js → index-DK5czlkn.js} +9 -9
- package/dist/chunks/{index-cAikSVW0.js.map → index-DK5czlkn.js.map} +1 -1
- package/dist/chunks/{index-DLekpNSE.js → index-DQd324n7.js} +2 -2
- package/dist/chunks/{index-DLekpNSE.js.map → index-DQd324n7.js.map} +1 -1
- package/dist/chunks/{index-CgtbaFf5.js → index-Dbq-x5H9.js} +2 -2
- package/dist/chunks/{index-CgtbaFf5.js.map → index-Dbq-x5H9.js.map} +1 -1
- package/dist/chunks/{index-xhRXN1Jq.js → index-Det9dEaQ.js} +2 -2
- package/dist/chunks/{index-xhRXN1Jq.js.map → index-Det9dEaQ.js.map} +1 -1
- package/dist/chunks/{index-HsAOBno4.js → index-bgT9XOKZ.js} +2 -2
- package/dist/chunks/{index-HsAOBno4.js.map → index-bgT9XOKZ.js.map} +1 -1
- package/dist/chunks/{index-CUICSveU.js → index-h7ZrwrQg.js} +2 -2
- package/dist/chunks/{index-CUICSveU.js.map → index-h7ZrwrQg.js.map} +1 -1
- package/dist/chunks/{index-DwqLhQ8S.js → index-k4USDz2P.js} +2 -2
- package/dist/chunks/{index-DwqLhQ8S.js.map → index-k4USDz2P.js.map} +1 -1
- package/dist/chunks/{tenantIconMap-CHeS7oLt.js → tenantIconMap-7ihIWxAh.js} +2 -2
- package/dist/chunks/{tenantIconMap-CHeS7oLt.js.map → tenantIconMap-7ihIWxAh.js.map} +1 -1
- package/dist/chunks/{tenantIconMap-__FKj6CN.js → tenantIconMap-Dk6K-UTE.js} +2 -2
- package/dist/chunks/{tenantIconMap-__FKj6CN.js.map → tenantIconMap-Dk6K-UTE.js.map} +1 -1
- package/dist/chunks/{ticketingApi-DF4RwD_6.js → ticketingApi-BCMKkzlv.js} +2 -2
- package/dist/chunks/{ticketingApi-DF4RwD_6.js.map → ticketingApi-BCMKkzlv.js.map} +1 -1
- package/dist/chunks/{ticketingApi-Cj239hYB.js → ticketingApi-Dwn7pl5z.js} +2 -2
- package/dist/chunks/{ticketingApi-Cj239hYB.js.map → ticketingApi-Dwn7pl5z.js.map} +1 -1
- package/dist/chunks/{useAccessRequests-CFam8zFR.js → useAccessRequests-Du7CvowE.js} +3 -3
- package/dist/chunks/{useAccessRequests-CFam8zFR.js.map → useAccessRequests-Du7CvowE.js.map} +1 -1
- package/dist/chunks/{useAccessRequests-CViOUwyF.js → useAccessRequests-gJ7yhWyi.js} +2 -2
- package/dist/chunks/{useAccessRequests-CViOUwyF.js.map → useAccessRequests-gJ7yhWyi.js.map} +1 -1
- package/dist/chunks/{useUserAccessRequests-CslSQeBJ.js → useUserAccessRequests-5wWea2Jg.js} +2 -2
- package/dist/chunks/{useUserAccessRequests-CslSQeBJ.js.map → useUserAccessRequests-5wWea2Jg.js.map} +1 -1
- package/dist/chunks/{useUserAccessRequests-B-Cs6NX1.js → useUserAccessRequests-Bk_v8egy.js} +2 -2
- package/dist/chunks/{useUserAccessRequests-B-Cs6NX1.js.map → useUserAccessRequests-Bk_v8egy.js.map} +1 -1
- package/dist/components/routing/ProtectedRoute.d.ts.map +1 -1
- package/dist/smartstack.cjs +1 -1
- package/dist/smartstack.js +1 -1
- package/package.json +1 -1
|
@@ -4,12 +4,12 @@ import pa from "axios";
|
|
|
4
4
|
import { initReactI18next as Gn, useTranslation as me } from "react-i18next";
|
|
5
5
|
import Tr from "i18next";
|
|
6
6
|
import Kn from "i18next-browser-languagedetector";
|
|
7
|
-
import { useLocation as Xe, useNavigate as at, Link as
|
|
7
|
+
import { useLocation as Xe, useNavigate as at, Link as Ue, Outlet as Fe, useSearchParams as Ss, NavLink as zn, Navigate as Ne, useParams as ha, useInRouterContext as Vn, Route as M, Routes as Hn } from "react-router-dom";
|
|
8
8
|
import * as ue from "@microsoft/signalr";
|
|
9
9
|
import * as Zt from "lucide-react";
|
|
10
|
-
import { Clock as tt, LogOut as
|
|
10
|
+
import { Clock as tt, LogOut as Lr, RefreshCw as rt, Bug as jr, AlertTriangle as Oe, FileWarning as ga, ShieldX as fa, WifiOff as gr, ArrowLeft as er, Home as fr, Sun as As, Moon as ks, Check as He, ChevronDown as ft, LayoutGrid as br, User as Dt, Star as Re, Box as ir, FileText as ot, FolderOpen as Wn, Briefcase as qn, Key as tr, Users as jt, Settings as rr, Building2 as Pt, Globe as Lt, Search as Mt, Eye as Jt, Bell as ea, Wifi as Cs, CheckCheck as Yn, X as De, Loader2 as de, Trash2 as Mr, Headset as La, FileEdit as Ts, Plus as Et, Menu as Pr, Layers as gt, ChevronRight as Ze, ChevronLeft as Er, Minimize2 as Ps, Maximize2 as Es, ExternalLink as lr, BookOpen as Rs, Shield as Xt, Github as Jn, Twitter as Xn, Linkedin as Qn, Server as Zn, Download as $t, Database as eo, Link2 as to, Monitor as Is, Headphones as kr, Bot as ro, Presentation as ao, ArrowRight as Rr, Book as $s, Code as so, BarChart3 as Ds, ChevronsLeft as Ls, ChevronsRight as js, ChevronUp as no, ChevronsUpDown as oo, LayoutList as Ms, Columns3 as Os, GripVertical as io, MoreHorizontal as lo, Lock as St, Minus as ja, RotateCcw as Qt, Palette as co, Square as mo, Circle as uo, Construction as po, LayoutDashboard as _s, PanelLeft as ho, PanelLeftClose as go, Sparkles as cr, CheckCircle as We, AlertCircle as ht, XCircle as lt, TicketPlus as fo, Mail as Fs, Zap as dr, Rocket as bo, HeadphonesIcon as vo, EyeOff as xo, KeyRound as yo, UserX as No, Settings2 as wo, RefreshCcw as Ir, Play as mr, Pause as vr, Edit as ba, TrendingUp as So, Paperclip as ta, MessageSquare as wt, UserPlus as ur, PlusCircle as Ao, Send as ra, ArrowRightLeft as Br, Image as va, ZoomOut as ko, ZoomIn as Co, RotateCw as To, File as Us, Laptop as Po, Smartphone as Eo, ArrowUpCircle as pr, History as Ro, UserCheck as Io, Save as $o, Edit2 as Do, ShieldAlert as Lo, Info as jo, Filter as Mo } from "lucide-react";
|
|
11
11
|
import { ErrorBoundary as Bs } from "react-error-boundary";
|
|
12
|
-
import { createPortal as
|
|
12
|
+
import { createPortal as Or } from "react-dom";
|
|
13
13
|
import { domToJpeg as Ma } from "modern-screenshot";
|
|
14
14
|
import { useGroupCallbackRef as Oo, Group as _o, Panel as Oa, Separator as Fo } from "react-resizable-panels";
|
|
15
15
|
import Uo from "dompurify";
|
|
@@ -623,16 +623,16 @@ class Ho {
|
|
|
623
623
|
});
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
const
|
|
626
|
+
const Ke = new Ho();
|
|
627
627
|
window.onerror = (e, r, a, n, o) => {
|
|
628
|
-
|
|
628
|
+
Ke.logError(
|
|
629
629
|
o || String(e),
|
|
630
630
|
"window.onerror",
|
|
631
631
|
{ source: r, lineno: a, colno: n }
|
|
632
632
|
);
|
|
633
633
|
};
|
|
634
634
|
window.onunhandledrejection = (e) => {
|
|
635
|
-
|
|
635
|
+
Ke.logError(
|
|
636
636
|
e.reason instanceof Error ? e.reason : String(e.reason),
|
|
637
637
|
"unhandledrejection"
|
|
638
638
|
);
|
|
@@ -665,7 +665,7 @@ Me.interceptors.request.use(
|
|
|
665
665
|
const o = localStorage.getItem("currentTenantSlug");
|
|
666
666
|
return o && e.headers && !e.headers["X-Tenant-Slug"] && (e.headers["X-Tenant-Slug"] = o), e;
|
|
667
667
|
},
|
|
668
|
-
(e) => (
|
|
668
|
+
(e) => (Ke.logError(e, "apiClient.request"), Promise.reject(e))
|
|
669
669
|
);
|
|
670
670
|
Me.interceptors.response.use(
|
|
671
671
|
(e) => e,
|
|
@@ -675,13 +675,13 @@ Me.interceptors.response.use(
|
|
|
675
675
|
return Promise.reject(e);
|
|
676
676
|
if (!e.response) {
|
|
677
677
|
const i = new Ks("Impossible de se connecter au serveur. Vérifiez votre connexion internet.");
|
|
678
|
-
return
|
|
678
|
+
return Ke.logError(i, "apiClient.response", { correlationId: r }), Promise.reject(i);
|
|
679
679
|
}
|
|
680
680
|
const { status: a, data: n } = e.response, o = n?.message || n?.detail || n?.title || e.message, l = n?.code;
|
|
681
681
|
switch (a) {
|
|
682
682
|
case 401: {
|
|
683
683
|
const i = new zs(o, l);
|
|
684
|
-
|
|
684
|
+
Ke.logError(i, "apiClient.response", {
|
|
685
685
|
correlationId: r,
|
|
686
686
|
url: e.config?.url,
|
|
687
687
|
code: l
|
|
@@ -708,7 +708,7 @@ Me.interceptors.response.use(
|
|
|
708
708
|
"/api/administration/tenants/tenant-analytics/track/",
|
|
709
709
|
"/api/support/notifications"
|
|
710
710
|
], d = e.config?.url || "";
|
|
711
|
-
return c.some((u) => d.startsWith(u)) ||
|
|
711
|
+
return c.some((u) => d.startsWith(u)) || Ke.logError(i, "apiClient.response", {
|
|
712
712
|
correlationId: r,
|
|
713
713
|
url: e.config?.url,
|
|
714
714
|
method: e.config?.method
|
|
@@ -723,7 +723,7 @@ Me.interceptors.response.use(
|
|
|
723
723
|
case 503:
|
|
724
724
|
case 504: {
|
|
725
725
|
const i = new Nr(o || "Server error", a);
|
|
726
|
-
return
|
|
726
|
+
return Ke.logCritical(i, "apiClient.response", {
|
|
727
727
|
correlationId: r,
|
|
728
728
|
url: e.config?.url,
|
|
729
729
|
status: a
|
|
@@ -731,7 +731,7 @@ Me.interceptors.response.use(
|
|
|
731
731
|
}
|
|
732
732
|
default: {
|
|
733
733
|
const i = new Nr(o, a, n?.details);
|
|
734
|
-
return
|
|
734
|
+
return Ke.logError(i, "apiClient.response", { correlationId: r, status: a }), Promise.reject(i);
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
737
|
}
|
|
@@ -1133,7 +1133,7 @@ const D = {
|
|
|
1133
1133
|
return n ? typeof n == "function" ? n() : Promise.resolve(n) : new Promise((o, l) => {
|
|
1134
1134
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(l.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + r + (r.split("/").length !== a ? ". Note that variables only represent file names one level deep." : ""))));
|
|
1135
1135
|
});
|
|
1136
|
-
},
|
|
1136
|
+
}, aa = async (e) => {
|
|
1137
1137
|
if (!e) return null;
|
|
1138
1138
|
try {
|
|
1139
1139
|
const [
|
|
@@ -1268,25 +1268,25 @@ Tr.use(Kn).use(Gn).init({
|
|
|
1268
1268
|
caches: ["localStorage"]
|
|
1269
1269
|
}
|
|
1270
1270
|
});
|
|
1271
|
-
const
|
|
1271
|
+
const sa = (e, r) => {
|
|
1272
1272
|
Object.entries(r).forEach(([a, n]) => {
|
|
1273
1273
|
Tr.addResourceBundle(e, a, n, !0, !0);
|
|
1274
1274
|
});
|
|
1275
1275
|
}, Si = (async () => {
|
|
1276
1276
|
const e = [];
|
|
1277
1277
|
Cr !== "en" && e.push(
|
|
1278
|
-
|
|
1279
|
-
r &&
|
|
1278
|
+
aa("en").then((r) => {
|
|
1279
|
+
r && sa("en", r);
|
|
1280
1280
|
})
|
|
1281
1281
|
), e.push(
|
|
1282
|
-
|
|
1283
|
-
r &&
|
|
1282
|
+
aa(Cr).then((r) => {
|
|
1283
|
+
r && sa(Cr, r);
|
|
1284
1284
|
})
|
|
1285
1285
|
), await Promise.all(e);
|
|
1286
1286
|
})(), Hs = async (e) => {
|
|
1287
1287
|
if (await Si, !Tr.hasResourceBundle(e, "common")) {
|
|
1288
|
-
const r = await
|
|
1289
|
-
r &&
|
|
1288
|
+
const r = await aa(e);
|
|
1289
|
+
r && sa(e, r);
|
|
1290
1290
|
}
|
|
1291
1291
|
await Tr.changeLanguage(e);
|
|
1292
1292
|
}, Ws = Je(void 0);
|
|
@@ -1545,7 +1545,7 @@ function Ci({ children: e }) {
|
|
|
1545
1545
|
loadTenantOverrides: L
|
|
1546
1546
|
}, children: e });
|
|
1547
1547
|
}
|
|
1548
|
-
function
|
|
1548
|
+
function _r() {
|
|
1549
1549
|
const e = qe(Ws);
|
|
1550
1550
|
if (e === void 0)
|
|
1551
1551
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
@@ -1633,11 +1633,11 @@ function Ri(e, r) {
|
|
|
1633
1633
|
return !0;
|
|
1634
1634
|
return !1;
|
|
1635
1635
|
}
|
|
1636
|
-
function
|
|
1636
|
+
function $r(e) {
|
|
1637
1637
|
return e.includes(Ei);
|
|
1638
1638
|
}
|
|
1639
1639
|
function Ii(e, r) {
|
|
1640
|
-
if (!r ||
|
|
1640
|
+
if (!r || $r(e)) return !0;
|
|
1641
1641
|
const a = r.toLowerCase(), n = a + ".";
|
|
1642
1642
|
for (const o of e) {
|
|
1643
1643
|
const l = o.toLowerCase();
|
|
@@ -1695,7 +1695,7 @@ function $i({ children: e }) {
|
|
|
1695
1695
|
refreshPermissions: d
|
|
1696
1696
|
}, children: e });
|
|
1697
1697
|
}
|
|
1698
|
-
function
|
|
1698
|
+
function Be() {
|
|
1699
1699
|
const e = qe(Sa);
|
|
1700
1700
|
if (e === void 0)
|
|
1701
1701
|
throw new Error("useAuth must be used within an AuthProvider");
|
|
@@ -1764,7 +1764,7 @@ function kt() {
|
|
|
1764
1764
|
}
|
|
1765
1765
|
const Js = Je(void 0), xt = "currentTenantId", yt = "currentTenantSlug", ut = "isGlobalView";
|
|
1766
1766
|
function Mi({ children: e }) {
|
|
1767
|
-
const { isAuthenticated: r, user: a, refreshPermissions: n } =
|
|
1767
|
+
const { isAuthenticated: r, user: a, refreshPermissions: n } = Be(), { isLoading: o } = Na(), [l, i] = w(null), [c, d] = w([]), [m, u] = w(!0), [p, f] = w(null), [b, g] = w(() => localStorage.getItem(ut) === "true"), x = ee(!1), h = ee(""), y = c.filter((A) => A.type === "Business"), v = c.find((A) => A.type === "Personal") || null, S = T((A, O) => {
|
|
1768
1768
|
if (d(A), A.length === 0) {
|
|
1769
1769
|
i(null), g(!1), localStorage.removeItem(xt), localStorage.removeItem(yt), localStorage.removeItem(ut), u(!1);
|
|
1770
1770
|
return;
|
|
@@ -1835,13 +1835,13 @@ function Mi({ children: e }) {
|
|
|
1835
1835
|
const A = a.tenants || [], O = A.map((Z) => `${Z.id}:${Z.status}:${Z.isDefault}`).sort((Z, R) => Z.localeCompare(R)).join(",");
|
|
1836
1836
|
if (!x.current || O !== h.current) {
|
|
1837
1837
|
x.current = !0, h.current = O;
|
|
1838
|
-
const Z =
|
|
1838
|
+
const Z = $r(a.permissions || []);
|
|
1839
1839
|
S(A, Z), localStorage.getItem(yt) && n().catch((V) => console.error("[TenantContext] Failed to refresh permissions after tenant init:", V));
|
|
1840
1840
|
}
|
|
1841
1841
|
}, [r, a, S, n]), z(() => {
|
|
1842
1842
|
r || (i(null), d([]), g(!1), localStorage.removeItem(xt), localStorage.removeItem(yt), localStorage.removeItem(ut));
|
|
1843
1843
|
}, [r]);
|
|
1844
|
-
const j = a ?
|
|
1844
|
+
const j = a ? $r(a.permissions || []) : !1, G = {
|
|
1845
1845
|
currentTenant: l,
|
|
1846
1846
|
userTenants: c,
|
|
1847
1847
|
b2bTenants: y,
|
|
@@ -1869,7 +1869,7 @@ function Ye() {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
const Sr = 5, Xs = Je(null);
|
|
1871
1871
|
function Oi({ children: e }) {
|
|
1872
|
-
const { i18n: r } = me(), { isAuthenticated: a } =
|
|
1872
|
+
const { i18n: r } = me(), { isAuthenticated: a } = Be(), { currentTenant: n, isLoading: o } = Ye(), [l, i] = w([]), [c, d] = w(!1), [m, u] = w(null), [p, f] = w(!1), b = T(() => {
|
|
1873
1873
|
f(!0);
|
|
1874
1874
|
}, []), g = T(() => {
|
|
1875
1875
|
f(!1);
|
|
@@ -2084,7 +2084,7 @@ function _e() {
|
|
|
2084
2084
|
}
|
|
2085
2085
|
const rn = Je(null);
|
|
2086
2086
|
function Bi({ children: e }) {
|
|
2087
|
-
const { isAuthenticated: r, refreshPermissions: a } =
|
|
2087
|
+
const { isAuthenticated: r, refreshPermissions: a } = Be(), { refreshMenu: n } = _e(), o = ee(null), [l, i] = w(
|
|
2088
2088
|
ue.HubConnectionState.Disconnected
|
|
2089
2089
|
), c = ee(/* @__PURE__ */ new Set()), d = ee(/* @__PURE__ */ new Set()), m = ee(!1), u = T(async () => {
|
|
2090
2090
|
if (!m.current) {
|
|
@@ -2341,7 +2341,7 @@ function Vi({
|
|
|
2341
2341
|
onClick: n,
|
|
2342
2342
|
className: "flex-1 flex items-center justify-center gap-2 px-6 py-3 rounded-xl border border-[var(--border-color)] text-[var(--text-secondary)] hover:bg-[var(--bg-hover)] transition-all font-medium",
|
|
2343
2343
|
children: [
|
|
2344
|
-
/* @__PURE__ */ t(
|
|
2344
|
+
/* @__PURE__ */ t(Lr, { className: "w-4 h-4" }),
|
|
2345
2345
|
o("session.logout", "Logout")
|
|
2346
2346
|
]
|
|
2347
2347
|
}
|
|
@@ -2364,7 +2364,7 @@ function Vi({
|
|
|
2364
2364
|
}
|
|
2365
2365
|
const Hi = Je(void 0);
|
|
2366
2366
|
function Wi({ children: e }) {
|
|
2367
|
-
const { isAuthenticated: r, logout: a } =
|
|
2367
|
+
const { isAuthenticated: r, logout: a } = Be(), n = T(() => {
|
|
2368
2368
|
localStorage.removeItem("token"), localStorage.removeItem("refreshToken"), localStorage.removeItem("user"), window.location.href = "/login?reason=session_expired";
|
|
2369
2369
|
}, []), {
|
|
2370
2370
|
isActive: o,
|
|
@@ -2408,7 +2408,7 @@ function Wi({ children: e }) {
|
|
|
2408
2408
|
}
|
|
2409
2409
|
const qi = 150;
|
|
2410
2410
|
function Yi({ children: e }) {
|
|
2411
|
-
const r = Di(), a = r?.isAuthenticated ?? !1, n = r?.isLoading ?? !0, { currentTenant: o, isLoading: l, isGlobalView: i } = Ye(), { setSelectedThemeTenant: c, loadFromServer: d } =
|
|
2411
|
+
const r = Di(), a = r?.isAuthenticated ?? !1, n = r?.isLoading ?? !0, { currentTenant: o, isLoading: l, isGlobalView: i } = Ye(), { setSelectedThemeTenant: c, loadFromServer: d } = _r(), m = ee(null), u = ee(!1), p = ee(null), f = ee(null), b = T(() => {
|
|
2412
2412
|
p.current && (clearTimeout(p.current), p.current = null);
|
|
2413
2413
|
}, []), g = T(() => m.current === "global" ? !1 : (b(), f.current = null, m.current = "global", u.current = !0, d("global"), c(null, !0), !0), [b, d, c]), x = T((v, S) => {
|
|
2414
2414
|
f.current = v, p.current = setTimeout(() => {
|
|
@@ -2450,7 +2450,7 @@ const Qi = {
|
|
|
2450
2450
|
permission: { icon: fa, color: "text-red-500", bgColor: "bg-red-500/10" },
|
|
2451
2451
|
notFound: { icon: ga, color: "text-yellow-500", bgColor: "bg-yellow-500/10" },
|
|
2452
2452
|
validation: { icon: Oe, color: "text-amber-500", bgColor: "bg-amber-500/10" },
|
|
2453
|
-
technical: { icon:
|
|
2453
|
+
technical: { icon: jr, color: "text-red-500", bgColor: "bg-red-500/10" }
|
|
2454
2454
|
};
|
|
2455
2455
|
function Zi({ error: e, resetErrorBoundary: r }) {
|
|
2456
2456
|
const { t: a } = me("common"), [n, o] = w(!1), [l] = w(() => Xi()), i = Ji(e), c = Qi[i], d = c.icon, m = () => {
|
|
@@ -2518,7 +2518,7 @@ function Zi({ error: e, resetErrorBoundary: r }) {
|
|
|
2518
2518
|
] }) }) });
|
|
2519
2519
|
}
|
|
2520
2520
|
function el(e, r) {
|
|
2521
|
-
|
|
2521
|
+
Ke.logCritical(e, "GlobalErrorBoundary", {
|
|
2522
2522
|
componentStack: r.componentStack
|
|
2523
2523
|
});
|
|
2524
2524
|
}
|
|
@@ -2536,9 +2536,9 @@ function rl({ children: e }) {
|
|
|
2536
2536
|
}
|
|
2537
2537
|
);
|
|
2538
2538
|
}
|
|
2539
|
-
const
|
|
2539
|
+
const Fr = Je(null);
|
|
2540
2540
|
function al() {
|
|
2541
|
-
const e = qe(
|
|
2541
|
+
const e = qe(Fr);
|
|
2542
2542
|
if (!e)
|
|
2543
2543
|
throw new Error("useSlotFill must be used within a SlotFillProvider");
|
|
2544
2544
|
return e;
|
|
@@ -2568,10 +2568,10 @@ function sl({ children: e, initialFills: r }) {
|
|
|
2568
2568
|
}),
|
|
2569
2569
|
[a]
|
|
2570
2570
|
);
|
|
2571
|
-
return /* @__PURE__ */ t(
|
|
2571
|
+
return /* @__PURE__ */ t(Fr.Provider, { value: n, children: e });
|
|
2572
2572
|
}
|
|
2573
2573
|
function nl({ name: e, context: r = {}, children: a, fallback: n, wrapper: o }) {
|
|
2574
|
-
const i = qe(
|
|
2574
|
+
const i = qe(Fr)?.getSlotContent(e) || [], c = we(
|
|
2575
2575
|
() => ({
|
|
2576
2576
|
slotName: e,
|
|
2577
2577
|
context: r
|
|
@@ -2594,7 +2594,7 @@ function an(e, r) {
|
|
|
2594
2594
|
return e == null ? null : Array.isArray(e) ? /* @__PURE__ */ t(ne, { children: e.map((a, n) => /* @__PURE__ */ t(ws, { children: an(a, r) }, `slot-item-${n}`)) }) : Un(e) ? e : typeof e == "function" ? /* @__PURE__ */ t(e, { ...r }) : e;
|
|
2595
2595
|
}
|
|
2596
2596
|
function vp(e) {
|
|
2597
|
-
return (qe(
|
|
2597
|
+
return (qe(Fr)?.getSlotContent(e)?.length || 0) > 0;
|
|
2598
2598
|
}
|
|
2599
2599
|
function xp(e) {
|
|
2600
2600
|
function r(n) {
|
|
@@ -2611,7 +2611,7 @@ function xp(e) {
|
|
|
2611
2611
|
};
|
|
2612
2612
|
}
|
|
2613
2613
|
const sn = Je(null);
|
|
2614
|
-
function
|
|
2614
|
+
function Ur() {
|
|
2615
2615
|
const e = qe(sn);
|
|
2616
2616
|
return e || {
|
|
2617
2617
|
config: {},
|
|
@@ -2625,19 +2625,19 @@ function Fr() {
|
|
|
2625
2625
|
};
|
|
2626
2626
|
}
|
|
2627
2627
|
function Ca(e) {
|
|
2628
|
-
const { getPage: r } =
|
|
2628
|
+
const { getPage: r } = Ur();
|
|
2629
2629
|
return r(e);
|
|
2630
2630
|
}
|
|
2631
2631
|
function yp(e) {
|
|
2632
|
-
const { getTableColumns: r } =
|
|
2632
|
+
const { getTableColumns: r } = Ur();
|
|
2633
2633
|
return r(e);
|
|
2634
2634
|
}
|
|
2635
2635
|
function Np(e) {
|
|
2636
|
-
const { getFormFields: r } =
|
|
2636
|
+
const { getFormFields: r } = Ur();
|
|
2637
2637
|
return r(e);
|
|
2638
2638
|
}
|
|
2639
2639
|
function wp(e) {
|
|
2640
|
-
const { hasExtension: r } =
|
|
2640
|
+
const { hasExtension: r } = Ur();
|
|
2641
2641
|
return r(e);
|
|
2642
2642
|
}
|
|
2643
2643
|
function il({ config: e = {}, children: r }) {
|
|
@@ -2837,107 +2837,107 @@ const B = {
|
|
|
2837
2837
|
NOTIFICATIONS: "notifications",
|
|
2838
2838
|
APPLICATIONS_HUB: "applications"
|
|
2839
2839
|
};
|
|
2840
|
-
F.register(B.ADMIN_INDEX, P(() => import("./ApplicationsGridPage-
|
|
2841
|
-
F.register(B.ADMIN_DASHBOARD, P(() => import("./DashboardPage-
|
|
2842
|
-
F.register(B.USERS_LIST, P(() => import("./UsersPage-
|
|
2843
|
-
F.register(B.USERS_DETAIL, P(() => import("./UserDetailPage-
|
|
2844
|
-
F.register(B.USERS_DASHBOARD, P(() => import("./DashboardPage-
|
|
2845
|
-
F.register(B.USERS_GROUPS, P(() => import("./UsersGroupsPage-
|
|
2846
|
-
F.register(B.USERS_GROUPS_DETAIL, P(() => import("./GroupDetailPage-
|
|
2847
|
-
F.register(B.USERS_REFERENCES, P(() => import("./ReferencesManagementPage-
|
|
2848
|
-
F.register(B.ROLES_LIST, P(() => import("./RolesPage-
|
|
2849
|
-
F.register(B.ROLES_DETAIL, P(() => import("./RoleDetailPage-
|
|
2850
|
-
F.register(B.PERMISSIONS_LIST, P(() => import("./PermissionsPage-
|
|
2851
|
-
F.register(B.PERMISSIONS_DETAIL, P(() => import("./PermissionDetailPage-
|
|
2852
|
-
F.register(B.ASSIGNMENTS, P(() => import("./AssignmentsPage-
|
|
2853
|
-
F.register(B.APPLICATIONS_INDEX, P(() => import("./NavigationAppsPage-
|
|
2854
|
-
F.register(B.APPLICATIONS_DASHBOARD, P(() => import("./ApplicationsDashboardPage-
|
|
2855
|
-
F.register(B.APPLICATIONS_LIST, P(() => import("./ApplicationsListPage-
|
|
2856
|
-
F.register(B.APPLICATIONS_DETAIL, P(() => import("./ApplicationDetailPage-
|
|
2857
|
-
F.register(B.AI_DASHBOARD, P(() => import("./index-
|
|
2858
|
-
F.register(B.AI_SETTINGS, P(() => import("./index-
|
|
2859
|
-
F.register(B.AI_SKILLS_LIST, P(() => import("./index-
|
|
2860
|
-
F.register(B.AI_SKILLS_DETAIL, P(() => import("./index-
|
|
2861
|
-
F.register(B.AI_SKILLS_CREATE, P(() => import("./index-
|
|
2862
|
-
F.register(B.AI_SKILLS_EDIT, P(() => import("./index-
|
|
2863
|
-
F.register(B.AI_BLOCKS_LIST, P(() => import("./index-
|
|
2864
|
-
F.register(B.AI_BLOCKS_DETAIL, P(() => import("./index-
|
|
2865
|
-
F.register(B.AI_BLOCKS_CREATE, P(() => import("./index-
|
|
2866
|
-
F.register(B.AI_BLOCKS_EDIT, P(() => import("./index-
|
|
2867
|
-
F.register(B.AI_MONITORING, P(() => import("./index-
|
|
2868
|
-
F.register(B.AI_AGENTS, P(() => import("./index-
|
|
2869
|
-
F.register(B.AI_AGENTS_DETAIL, P(() => import("./index-
|
|
2870
|
-
F.register(B.AI_AGENTS_EDIT, P(() => import("./index-
|
|
2871
|
-
F.register(B.WORKFLOWS_LIST, P(() => import("./index-
|
|
2872
|
-
F.register(B.WORKFLOWS_DETAIL, P(() => import("./index-
|
|
2873
|
-
F.register(B.WORKFLOWS_CREATE, P(() => import("./index-
|
|
2874
|
-
F.register(B.WORKFLOWS_EDIT, P(() => import("./index-
|
|
2875
|
-
F.register(B.WORKFLOWS_TRIGGERS, P(() => import("./index-
|
|
2876
|
-
F.register(B.WORKFLOWS_HISTORY, P(() => import("./index-
|
|
2877
|
-
F.register(B.EMAIL_TEMPLATES_LIST, P(() => import("./index-
|
|
2878
|
-
F.register(B.EMAIL_TEMPLATES_DETAIL, P(() => import("./index-
|
|
2879
|
-
F.register(B.EMAIL_TEMPLATES_CREATE, P(() => import("./index-
|
|
2880
|
-
F.register(B.EMAIL_TEMPLATES_EDIT, P(() => import("./index-
|
|
2881
|
-
F.register(B.SMS_TEMPLATES_LIST, P(() => import("./index-
|
|
2882
|
-
F.register(B.ENTRA_DASHBOARD, P(() => import("./index-
|
|
2883
|
-
F.register(B.ENTRA_GROUPS, P(() => import("./index-
|
|
2884
|
-
F.register(B.ENTRA_USERS, P(() => import("./index-
|
|
2885
|
-
F.register(B.ENTRA_CONFLICTS, P(() => import("./index-
|
|
2886
|
-
F.register(B.ENTRA_SETTINGS, P(() => import("./index-
|
|
2887
|
-
F.register(B.TENANTS_DASHBOARD, P(() => import("./index-
|
|
2888
|
-
F.register(B.TENANTS_LIST, P(() => import("./index-
|
|
2889
|
-
F.register(B.TENANTS_DETAIL, P(() => import("./index-
|
|
2890
|
-
F.register(B.TENANTS_CREATE, P(() => import("./index-
|
|
2891
|
-
F.register(B.TENANTS_SETTINGS, P(() => import("./index-
|
|
2892
|
-
F.register(B.TENANTS_TYPE_SETTINGS, P(() => import("./index-
|
|
2893
|
-
F.register(B.TENANTS_TEMPLATE, P(() => import("./index-
|
|
2894
|
-
F.register(B.TENANTS_TEMPLATE_CREATE, P(() => import("./index-
|
|
2895
|
-
F.register(B.TENANTS_TEMPLATE_DETAIL, P(() => import("./index-
|
|
2896
|
-
F.register(B.TENANTS_BUSINESS, P(() => import("./index-
|
|
2897
|
-
F.register(B.TENANTS_PERSONAL, P(() => import("./index-
|
|
2898
|
-
F.register(B.TENANTS_OTHER, P(() => import("./index-
|
|
2899
|
-
F.register(B.TENANTS_ACCESS_REQUESTS, P(() => import("./index-
|
|
2900
|
-
F.register(B.ORGANISATIONS_LIST, P(() => import("./index-
|
|
2901
|
-
F.register(B.ORGANISATIONS_CREATE, P(() => import("./index-
|
|
2902
|
-
F.register(B.ORGANISATIONS_DETAIL, P(() => import("./index-
|
|
2903
|
-
F.register(B.SETTINGS, P(() => import("./index-
|
|
2904
|
-
F.register(B.SETTINGS_GENERAL, P(() => import("./index-
|
|
2905
|
-
F.register(B.SETTINGS_FILE_UPLOAD, P(() => import("./index-
|
|
2906
|
-
F.register(B.SETTINGS_LEGAL_FILE, P(() => import("./index-
|
|
2907
|
-
F.register(B.APPSETTINGS, P(() => import("./index-
|
|
2908
|
-
F.register(B.APPSETTINGS_INFRASTRUCTURE, P(() => import("./index-
|
|
2909
|
-
F.register(B.APPSETTINGS_AUTHENTICATION, P(() => import("./index-
|
|
2910
|
-
F.register(B.APPSETTINGS_LOGGING, P(() => import("./index-
|
|
2911
|
-
F.register(B.APPSETTINGS_EMAIL, P(() => import("./index-
|
|
2912
|
-
F.register(B.APPSETTINGS_ENTRA, P(() => import("./index-
|
|
2913
|
-
F.register(B.LICENSE, P(() => import("./index-
|
|
2914
|
-
F.register(B.API_ACCOUNTS_LIST, P(() => import("./index-
|
|
2915
|
-
F.register(B.API_ACCOUNTS_CREATE, P(() => import("./index-
|
|
2916
|
-
F.register(B.API_ACCOUNTS_DETAIL, P(() => import("./index-
|
|
2917
|
-
F.register(B.API_CATALOG, P(() => import("./ApiCatalogPage-
|
|
2918
|
-
F.register(B.API_CATALOG_DETAIL, P(() => import("./ApiCatalogDetailPage-
|
|
2919
|
-
F.register(B.SUPPORT_DASHBOARD, P(() => import("./DashboardPage-
|
|
2920
|
-
F.register(B.TICKETS_LIST, P(() => import("./TicketsPage-
|
|
2921
|
-
F.register(B.TICKETS_DETAIL, P(() => import("./TicketDetailPage-
|
|
2922
|
-
F.register(B.TICKETS_ESCALATION, P(() => import("./EscalationConfigPage-
|
|
2923
|
-
F.register(B.TICKETS_NEW, P(() => import("./CreateSupportTicketPage-
|
|
2924
|
-
F.register(B.MY_TICKETS_LIST, P(() => import("./MyTicketsPage-
|
|
2925
|
-
F.register(B.MY_TICKETS_DETAIL, P(() => import("./UserTicketDetailPage-
|
|
2926
|
-
F.register(B.MY_TICKETS_CREATE, P(() => import("./UserCreateTicketPage-
|
|
2927
|
-
F.register(B.SUPPORT_SLA, P(() => import("./SlaConfigPage-
|
|
2928
|
-
F.register(B.SUPPORT_TEMPLATES, P(() => import("./TemplatesPage-
|
|
2929
|
-
F.register(B.SUPPORT_PERMISSIONS, P(() => import("./SupportPermissionsPage-
|
|
2930
|
-
F.register(B.SUPPORT_ASSIGNMENT, P(() => import("./AssignmentRulesPage-
|
|
2931
|
-
F.register(B.SUPPORT_ASSIGNMENT_SKILLS, P(() => import("./AgentSkillsPage-
|
|
2932
|
-
F.register(B.SUPPORT_ASSIGNMENT_WORKLOAD, P(() => import("./AgentWorkloadPage-
|
|
2933
|
-
F.register(B.MYSPACE_DASHBOARD, P(() => import("./UserDashboardPage-
|
|
2934
|
-
F.register(B.USER_PROFILE, P(() => import("./ProfilePage-
|
|
2935
|
-
F.register(B.USER_PREFERENCES, P(() => import("./PreferencesPage-
|
|
2936
|
-
F.register(B.MYSPACE_TENANTS, P(() => import("./MyTenantsPage-
|
|
2937
|
-
F.register(B.MYSPACE_ACCESS_REQUESTS, P(() => import("./MyAccessRequestsPage-
|
|
2938
|
-
F.register(B.MYSPACE_PORTAL, P(() => import("./PortalDashboardPage-
|
|
2939
|
-
F.register(B.NOTIFICATIONS, P(() => import("./NotificationsPage-
|
|
2940
|
-
F.register(B.APPLICATIONS_HUB, P(() => import("./ApplicationsPage-
|
|
2840
|
+
F.register(B.ADMIN_INDEX, P(() => import("./ApplicationsGridPage-BJXWXwyI.js").then((e) => ({ default: e.ApplicationsGridPage }))));
|
|
2841
|
+
F.register(B.ADMIN_DASHBOARD, P(() => import("./DashboardPage-C9qgPBS-.js").then((e) => ({ default: e.AdminDashboardPage }))));
|
|
2842
|
+
F.register(B.USERS_LIST, P(() => import("./UsersPage-ZR9r9vvf.js").then((e) => ({ default: e.UsersPage }))));
|
|
2843
|
+
F.register(B.USERS_DETAIL, P(() => import("./UserDetailPage-6grZ6gmV.js").then((e) => ({ default: e.UserDetailPage }))));
|
|
2844
|
+
F.register(B.USERS_DASHBOARD, P(() => import("./DashboardPage-C9qgPBS-.js").then((e) => ({ default: e.AdminDashboardPage }))));
|
|
2845
|
+
F.register(B.USERS_GROUPS, P(() => import("./UsersGroupsPage-B7Er0V4l.js").then((e) => ({ default: e.UsersGroupsPage }))));
|
|
2846
|
+
F.register(B.USERS_GROUPS_DETAIL, P(() => import("./GroupDetailPage-BCM8KBCd.js").then((e) => ({ default: e.GroupDetailPage }))));
|
|
2847
|
+
F.register(B.USERS_REFERENCES, P(() => import("./ReferencesManagementPage-C8KZprkI.js").then((e) => ({ default: e.ReferencesManagementPage }))));
|
|
2848
|
+
F.register(B.ROLES_LIST, P(() => import("./RolesPage-C0c5G9e7.js").then((e) => ({ default: e.RolesPage }))));
|
|
2849
|
+
F.register(B.ROLES_DETAIL, P(() => import("./RoleDetailPage-CLtZWX17.js").then((e) => ({ default: e.RoleDetailPage }))));
|
|
2850
|
+
F.register(B.PERMISSIONS_LIST, P(() => import("./PermissionsPage-CDSuc8vw.js").then((e) => ({ default: e.PermissionsPage }))));
|
|
2851
|
+
F.register(B.PERMISSIONS_DETAIL, P(() => import("./PermissionDetailPage-CvPqugYu.js").then((e) => ({ default: e.PermissionDetailPage }))));
|
|
2852
|
+
F.register(B.ASSIGNMENTS, P(() => import("./AssignmentsPage-CDFaL1gT.js").then((e) => ({ default: e.AssignmentsPage }))));
|
|
2853
|
+
F.register(B.APPLICATIONS_INDEX, P(() => import("./NavigationAppsPage-BnNQRfBP.js").then((e) => ({ default: e.NavigationAppsPage }))));
|
|
2854
|
+
F.register(B.APPLICATIONS_DASHBOARD, P(() => import("./ApplicationsDashboardPage-CclKc0wI.js").then((e) => ({ default: e.ApplicationsDashboardPage }))));
|
|
2855
|
+
F.register(B.APPLICATIONS_LIST, P(() => import("./ApplicationsListPage-CMosl3my.js").then((e) => ({ default: e.ApplicationsListPage }))));
|
|
2856
|
+
F.register(B.APPLICATIONS_DETAIL, P(() => import("./ApplicationDetailPage-Dbx01Ikm.js")));
|
|
2857
|
+
F.register(B.AI_DASHBOARD, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiDashboardPage }))));
|
|
2858
|
+
F.register(B.AI_SETTINGS, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiSettingsPage }))));
|
|
2859
|
+
F.register(B.AI_SKILLS_LIST, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiSkillsListPage }))));
|
|
2860
|
+
F.register(B.AI_SKILLS_DETAIL, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiSkillsDetailPage }))));
|
|
2861
|
+
F.register(B.AI_SKILLS_CREATE, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiSkillsEditPage }))));
|
|
2862
|
+
F.register(B.AI_SKILLS_EDIT, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiSkillsEditPage }))));
|
|
2863
|
+
F.register(B.AI_BLOCKS_LIST, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiBlockDefinitionsListPage }))));
|
|
2864
|
+
F.register(B.AI_BLOCKS_DETAIL, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiBlockDefinitionDetailPage }))));
|
|
2865
|
+
F.register(B.AI_BLOCKS_CREATE, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiBlockDefinitionEditPage }))));
|
|
2866
|
+
F.register(B.AI_BLOCKS_EDIT, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiBlockDefinitionEditPage }))));
|
|
2867
|
+
F.register(B.AI_MONITORING, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiMonitoringPage }))));
|
|
2868
|
+
F.register(B.AI_AGENTS, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiAgentsPage }))));
|
|
2869
|
+
F.register(B.AI_AGENTS_DETAIL, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiAgentDetailPage }))));
|
|
2870
|
+
F.register(B.AI_AGENTS_EDIT, P(() => import("./index-D18t9DhC.js").then((e) => ({ default: e.AiAgentEditPage }))));
|
|
2871
|
+
F.register(B.WORKFLOWS_LIST, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.WorkflowsListPage }))));
|
|
2872
|
+
F.register(B.WORKFLOWS_DETAIL, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.WorkflowDetailPage }))));
|
|
2873
|
+
F.register(B.WORKFLOWS_CREATE, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.WorkflowCreatePage }))));
|
|
2874
|
+
F.register(B.WORKFLOWS_EDIT, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.WorkflowEditPage }))));
|
|
2875
|
+
F.register(B.WORKFLOWS_TRIGGERS, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.WorkflowsTriggersPage }))));
|
|
2876
|
+
F.register(B.WORKFLOWS_HISTORY, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.WorkflowHistoryPage }))));
|
|
2877
|
+
F.register(B.EMAIL_TEMPLATES_LIST, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.EmailTemplatesListPage }))));
|
|
2878
|
+
F.register(B.EMAIL_TEMPLATES_DETAIL, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.EmailTemplateDetailPage }))));
|
|
2879
|
+
F.register(B.EMAIL_TEMPLATES_CREATE, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.EmailTemplateCreatePage }))));
|
|
2880
|
+
F.register(B.EMAIL_TEMPLATES_EDIT, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.EmailTemplateEditPage }))));
|
|
2881
|
+
F.register(B.SMS_TEMPLATES_LIST, P(() => import("./index-Ci1SqFiY.js").then((e) => ({ default: e.SmsTemplatesListPage }))));
|
|
2882
|
+
F.register(B.ENTRA_DASHBOARD, P(() => import("./index-D-2xSu5W.js").then((e) => ({ default: e.EntraDashboardPage }))));
|
|
2883
|
+
F.register(B.ENTRA_GROUPS, P(() => import("./index-D-2xSu5W.js").then((e) => ({ default: e.EntraGroupsPage }))));
|
|
2884
|
+
F.register(B.ENTRA_USERS, P(() => import("./index-D-2xSu5W.js").then((e) => ({ default: e.EntraUsersPage }))));
|
|
2885
|
+
F.register(B.ENTRA_CONFLICTS, P(() => import("./index-D-2xSu5W.js").then((e) => ({ default: e.EntraConflictsPage }))));
|
|
2886
|
+
F.register(B.ENTRA_SETTINGS, P(() => import("./index-D-2xSu5W.js").then((e) => ({ default: e.EntraSettingsPage }))));
|
|
2887
|
+
F.register(B.TENANTS_DASHBOARD, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantsDashboardPage }))));
|
|
2888
|
+
F.register(B.TENANTS_LIST, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantsPage }))));
|
|
2889
|
+
F.register(B.TENANTS_DETAIL, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantDetailPage }))));
|
|
2890
|
+
F.register(B.TENANTS_CREATE, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantCreatePage }))));
|
|
2891
|
+
F.register(B.TENANTS_SETTINGS, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantSettingsPage }))));
|
|
2892
|
+
F.register(B.TENANTS_TYPE_SETTINGS, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantTypeSettingsPage }))));
|
|
2893
|
+
F.register(B.TENANTS_TEMPLATE, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantsTemplatePage }))));
|
|
2894
|
+
F.register(B.TENANTS_TEMPLATE_CREATE, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantTemplateCreatePage }))));
|
|
2895
|
+
F.register(B.TENANTS_TEMPLATE_DETAIL, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantTemplateDetailPage }))));
|
|
2896
|
+
F.register(B.TENANTS_BUSINESS, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantsBusinessPage }))));
|
|
2897
|
+
F.register(B.TENANTS_PERSONAL, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantsPersonalPage }))));
|
|
2898
|
+
F.register(B.TENANTS_OTHER, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantsOtherPage }))));
|
|
2899
|
+
F.register(B.TENANTS_ACCESS_REQUESTS, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.TenantAccessRequestsPage }))));
|
|
2900
|
+
F.register(B.ORGANISATIONS_LIST, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.OrganisationsListPage }))));
|
|
2901
|
+
F.register(B.ORGANISATIONS_CREATE, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.OrganisationCreatePage }))));
|
|
2902
|
+
F.register(B.ORGANISATIONS_DETAIL, P(() => import("./index-BBmMbSZV.js").then((e) => ({ default: e.OrganisationDetailPage }))));
|
|
2903
|
+
F.register(B.SETTINGS, P(() => import("./index-CEbwdURd.js").then((e) => ({ default: e.SettingsPage }))));
|
|
2904
|
+
F.register(B.SETTINGS_GENERAL, P(() => import("./index-CEbwdURd.js").then((e) => ({ default: e.GeneralSettingsSection }))));
|
|
2905
|
+
F.register(B.SETTINGS_FILE_UPLOAD, P(() => import("./index-CEbwdURd.js").then((e) => ({ default: e.FileUploadSettingsSection }))));
|
|
2906
|
+
F.register(B.SETTINGS_LEGAL_FILE, P(() => import("./index-CEbwdURd.js").then((e) => ({ default: e.LegalFileSettingsSection }))));
|
|
2907
|
+
F.register(B.APPSETTINGS, P(() => import("./index-Dbq-x5H9.js").then((e) => ({ default: e.AppSettingsPage }))));
|
|
2908
|
+
F.register(B.APPSETTINGS_INFRASTRUCTURE, P(() => import("./index-Dbq-x5H9.js").then((e) => ({ default: e.InfrastructureSection }))));
|
|
2909
|
+
F.register(B.APPSETTINGS_AUTHENTICATION, P(() => import("./index-Dbq-x5H9.js").then((e) => ({ default: e.AuthenticationSection }))));
|
|
2910
|
+
F.register(B.APPSETTINGS_LOGGING, P(() => import("./index-Dbq-x5H9.js").then((e) => ({ default: e.LoggingSection }))));
|
|
2911
|
+
F.register(B.APPSETTINGS_EMAIL, P(() => import("./index-Dbq-x5H9.js").then((e) => ({ default: e.EmailSection }))));
|
|
2912
|
+
F.register(B.APPSETTINGS_ENTRA, P(() => import("./index-Dbq-x5H9.js").then((e) => ({ default: e.EntraSection }))));
|
|
2913
|
+
F.register(B.LICENSE, P(() => import("./index-Cib93xtp.js").then((e) => ({ default: e.LicenseManagementPage }))));
|
|
2914
|
+
F.register(B.API_ACCOUNTS_LIST, P(() => import("./index-DQd324n7.js").then((e) => ({ default: e.ExternalAppsListPage }))));
|
|
2915
|
+
F.register(B.API_ACCOUNTS_CREATE, P(() => import("./index-DQd324n7.js").then((e) => ({ default: e.ExternalAppCreatePage }))));
|
|
2916
|
+
F.register(B.API_ACCOUNTS_DETAIL, P(() => import("./index-DQd324n7.js").then((e) => ({ default: e.ExternalAppDetailPage }))));
|
|
2917
|
+
F.register(B.API_CATALOG, P(() => import("./ApiCatalogPage-QRysH0pT.js").then((e) => ({ default: e.ApiCatalogPage }))));
|
|
2918
|
+
F.register(B.API_CATALOG_DETAIL, P(() => import("./ApiCatalogDetailPage-9r1axtCg.js").then((e) => ({ default: e.ApiCatalogDetailPage }))));
|
|
2919
|
+
F.register(B.SUPPORT_DASHBOARD, P(() => import("./DashboardPage-CjbNGMo1.js").then((e) => ({ default: e.DashboardPage }))));
|
|
2920
|
+
F.register(B.TICKETS_LIST, P(() => import("./TicketsPage-p21DLhUb.js").then((e) => ({ default: e.TicketsPage }))));
|
|
2921
|
+
F.register(B.TICKETS_DETAIL, P(() => import("./TicketDetailPage-D_Npnt4A.js").then((e) => ({ default: e.TicketDetailPage }))));
|
|
2922
|
+
F.register(B.TICKETS_ESCALATION, P(() => import("./EscalationConfigPage-DpYDmsgw.js").then((e) => ({ default: e.EscalationConfigPage }))));
|
|
2923
|
+
F.register(B.TICKETS_NEW, P(() => import("./CreateSupportTicketPage-Bz2KrMik.js").then((e) => ({ default: e.CreateSupportTicketPage }))));
|
|
2924
|
+
F.register(B.MY_TICKETS_LIST, P(() => import("./MyTicketsPage-CFZ1G4dG.js").then((e) => ({ default: e.MyTicketsPage }))));
|
|
2925
|
+
F.register(B.MY_TICKETS_DETAIL, P(() => import("./UserTicketDetailPage-a4II5VEE.js").then((e) => ({ default: e.UserTicketDetailPage }))));
|
|
2926
|
+
F.register(B.MY_TICKETS_CREATE, P(() => import("./UserCreateTicketPage-lvlvp2u6.js").then((e) => ({ default: e.UserCreateTicketPage }))));
|
|
2927
|
+
F.register(B.SUPPORT_SLA, P(() => import("./SlaConfigPage-B4WDzEKi.js").then((e) => ({ default: e.SlaConfigPage }))));
|
|
2928
|
+
F.register(B.SUPPORT_TEMPLATES, P(() => import("./TemplatesPage-X4Rrhs9p.js").then((e) => ({ default: e.TemplatesPage }))));
|
|
2929
|
+
F.register(B.SUPPORT_PERMISSIONS, P(() => import("./SupportPermissionsPage-CneIhl30.js").then((e) => ({ default: e.SupportPermissionsPage }))));
|
|
2930
|
+
F.register(B.SUPPORT_ASSIGNMENT, P(() => import("./AssignmentRulesPage-B5UbujbZ.js").then((e) => ({ default: e.AssignmentRulesPage }))));
|
|
2931
|
+
F.register(B.SUPPORT_ASSIGNMENT_SKILLS, P(() => import("./AgentSkillsPage-CDMhqrhE.js").then((e) => ({ default: e.AgentSkillsPage }))));
|
|
2932
|
+
F.register(B.SUPPORT_ASSIGNMENT_WORKLOAD, P(() => import("./AgentWorkloadPage-YpJSDaWc.js").then((e) => ({ default: e.AgentWorkloadPage }))));
|
|
2933
|
+
F.register(B.MYSPACE_DASHBOARD, P(() => import("./UserDashboardPage-Dp6q6FEW.js").then((e) => ({ default: e.UserDashboardPage }))));
|
|
2934
|
+
F.register(B.USER_PROFILE, P(() => import("./ProfilePage-Bex_JN5N.js").then((e) => ({ default: e.ProfilePage }))));
|
|
2935
|
+
F.register(B.USER_PREFERENCES, P(() => import("./PreferencesPage-ca2BOdoH.js").then((e) => ({ default: e.PreferencesPage }))));
|
|
2936
|
+
F.register(B.MYSPACE_TENANTS, P(() => import("./MyTenantsPage-BOV34_rJ.js").then((e) => ({ default: e.MyTenantsPage }))));
|
|
2937
|
+
F.register(B.MYSPACE_ACCESS_REQUESTS, P(() => import("./MyAccessRequestsPage-CrlWe3gd.js")));
|
|
2938
|
+
F.register(B.MYSPACE_PORTAL, P(() => import("./PortalDashboardPage-oSD7oQhJ.js").then((e) => ({ default: e.PortalDashboardPage }))));
|
|
2939
|
+
F.register(B.NOTIFICATIONS, P(() => import("./NotificationsPage-D1T_ozHl.js").then((e) => ({ default: e.NotificationsPage }))));
|
|
2940
|
+
F.register(B.APPLICATIONS_HUB, P(() => import("./ApplicationsPage-DI-iMqoJ.js").then((e) => ({ default: e.ApplicationsPage }))));
|
|
2941
2941
|
const cl = Je(null);
|
|
2942
2942
|
function Cp({ config: e, children: r }) {
|
|
2943
2943
|
typeof window < "u" && (window.__SMARTSTACK_CONFIG__ = e);
|
|
@@ -3156,7 +3156,7 @@ class ul {
|
|
|
3156
3156
|
const pl = new ul();
|
|
3157
3157
|
function Tp() {
|
|
3158
3158
|
return { captureContext: T(() => {
|
|
3159
|
-
const r = pl.captureBrowserInfo(), a =
|
|
3159
|
+
const r = pl.captureBrowserInfo(), a = Ke.getRecentErrors().slice(0, 5);
|
|
3160
3160
|
return {
|
|
3161
3161
|
sourceUrl: window.location.href,
|
|
3162
3162
|
browser: {
|
|
@@ -3596,7 +3596,7 @@ function yl(e = {}) {
|
|
|
3596
3596
|
};
|
|
3597
3597
|
}
|
|
3598
3598
|
function Rp() {
|
|
3599
|
-
const { refreshPermissions: e, user: r } =
|
|
3599
|
+
const { refreshPermissions: e, user: r } = Be(), { refreshMenu: a } = _e(), n = ee(!1), o = T(async () => {
|
|
3600
3600
|
if (!n.current) {
|
|
3601
3601
|
n.current = !0;
|
|
3602
3602
|
try {
|
|
@@ -3807,7 +3807,7 @@ const Cl = (e, r, a) => {
|
|
|
3807
3807
|
i.push({ id: a.id, action: o.at(-1), path: a.path }), r.set(l, i);
|
|
3808
3808
|
}
|
|
3809
3809
|
}), r;
|
|
3810
|
-
},
|
|
3810
|
+
}, Gr = (e, r) => {
|
|
3811
3811
|
const a = r.toLowerCase().replace(/\.\*$/, "").replace(/\*$/, "");
|
|
3812
3812
|
return e.get(a) || [];
|
|
3813
3813
|
};
|
|
@@ -3818,7 +3818,7 @@ function Pl(e) {
|
|
|
3818
3818
|
applicationFilter: "all",
|
|
3819
3819
|
moduleFilter: "all"
|
|
3820
3820
|
}), C = !!a, I = T((U, q, J, ce) => {
|
|
3821
|
-
const be =
|
|
3821
|
+
const be = Gr(ce, q.permissionPath);
|
|
3822
3822
|
U.push({
|
|
3823
3823
|
id: q.id,
|
|
3824
3824
|
path: q.permissionPath,
|
|
@@ -3830,9 +3830,9 @@ function Pl(e) {
|
|
|
3830
3830
|
totalPermissions: be.length
|
|
3831
3831
|
});
|
|
3832
3832
|
}, []), j = T((U, q, J, ce, be) => {
|
|
3833
|
-
const W =
|
|
3833
|
+
const W = Gr(be, q.permissionPath);
|
|
3834
3834
|
q.resources.forEach((ge) => {
|
|
3835
|
-
const fe =
|
|
3835
|
+
const fe = Gr(be, ge.permissionPath);
|
|
3836
3836
|
U.push({
|
|
3837
3837
|
id: ge.id,
|
|
3838
3838
|
path: ge.permissionPath,
|
|
@@ -4032,7 +4032,7 @@ function $p(e) {
|
|
|
4032
4032
|
};
|
|
4033
4033
|
}
|
|
4034
4034
|
function Ea() {
|
|
4035
|
-
const { mode: e, toggleMode: r } =
|
|
4035
|
+
const { mode: e, toggleMode: r } = _r(), n = (e === "dark" ? "dark" : "light") === "light";
|
|
4036
4036
|
return /* @__PURE__ */ t(
|
|
4037
4037
|
"button",
|
|
4038
4038
|
{
|
|
@@ -4057,14 +4057,14 @@ function Ea() {
|
|
|
4057
4057
|
}
|
|
4058
4058
|
);
|
|
4059
4059
|
}
|
|
4060
|
-
const
|
|
4060
|
+
const Kr = [
|
|
4061
4061
|
{ code: "en", label: "English", short: "EN" },
|
|
4062
4062
|
{ code: "fr", label: "Français", short: "FR" },
|
|
4063
4063
|
{ code: "de", label: "Deutsch", short: "DE" },
|
|
4064
4064
|
{ code: "it", label: "Italiano", short: "IT" }
|
|
4065
4065
|
];
|
|
4066
4066
|
function dn() {
|
|
4067
|
-
const { i18n: e } = me(), { isAuthenticated: r } =
|
|
4067
|
+
const { i18n: e } = me(), { isAuthenticated: r } = Be(), [a, n] = w(!1), o = ee(null), l = e.language?.split("-")[0] || "en", i = Kr.find((d) => d.code === l) || Kr[0], c = async (d) => {
|
|
4068
4068
|
if (await Hs(d), document.documentElement.lang = d, n(!1), r)
|
|
4069
4069
|
try {
|
|
4070
4070
|
await ya.preferences.updateLanguage({ language: d });
|
|
@@ -4087,7 +4087,7 @@ function dn() {
|
|
|
4087
4087
|
children: /* @__PURE__ */ t("span", { className: "flex items-center justify-center w-6 h-6 text-xs font-bold text-[var(--text-secondary)]", children: i.short })
|
|
4088
4088
|
}
|
|
4089
4089
|
),
|
|
4090
|
-
a && /* @__PURE__ */ t("div", { className: "absolute right-0 mt-2 py-1 bg-[var(--bg-tertiary)] border border-[var(--border-color)] shadow-lg shadow-[var(--shadow-color)] z-50 overflow-hidden", style: { borderRadius: "var(--radius-card)" }, children:
|
|
4090
|
+
a && /* @__PURE__ */ t("div", { className: "absolute right-0 mt-2 py-1 bg-[var(--bg-tertiary)] border border-[var(--border-color)] shadow-lg shadow-[var(--shadow-color)] z-50 overflow-hidden", style: { borderRadius: "var(--radius-card)" }, children: Kr.map((d) => {
|
|
4091
4091
|
const m = d.code === l;
|
|
4092
4092
|
return /* @__PURE__ */ s(
|
|
4093
4093
|
"button",
|
|
@@ -4134,7 +4134,7 @@ const Va = {
|
|
|
4134
4134
|
background: "linear-gradient(to bottom right, var(--color-accent-500), var(--color-accent-600))"
|
|
4135
4135
|
};
|
|
4136
4136
|
function mn() {
|
|
4137
|
-
const { t: e } = me("navigation"), { user: r, logout: a } =
|
|
4137
|
+
const { t: e } = me("navigation"), { user: r, logout: a } = Be(), { refreshMenu: n } = _e(), { refreshTenants: o } = Ye(), l = Xe(), i = at(), c = Ot(), [d, m] = w(!1), [u, p] = w(!1), f = ee(null), b = async () => {
|
|
4138
4138
|
p(!0);
|
|
4139
4139
|
try {
|
|
4140
4140
|
await D.post("/api/navigation/invalidate-cache").catch(() => {
|
|
@@ -4252,7 +4252,7 @@ function mn() {
|
|
|
4252
4252
|
className: "w-full flex items-center gap-3 px-3 py-2.5 hover:bg-red-500/10 transition-colors group",
|
|
4253
4253
|
style: { borderRadius: "var(--radius-menu-item)" },
|
|
4254
4254
|
children: [
|
|
4255
|
-
/* @__PURE__ */ t("div", { className: "w-8 h-8 rounded-full bg-[var(--bg-tertiary)] group-hover:bg-red-500/20 flex items-center justify-center text-[var(--text-secondary)] group-hover:text-red-500 transition-colors", children: /* @__PURE__ */ t(
|
|
4255
|
+
/* @__PURE__ */ t("div", { className: "w-8 h-8 rounded-full bg-[var(--bg-tertiary)] group-hover:bg-red-500/20 flex items-center justify-center text-[var(--text-secondary)] group-hover:text-red-500 transition-colors", children: /* @__PURE__ */ t(Lr, { className: "w-4 h-4" }) }),
|
|
4256
4256
|
/* @__PURE__ */ t("span", { className: "font-medium text-[var(--text-primary)] group-hover:text-red-500 transition-colors", children: e("avatarMenu.logout") })
|
|
4257
4257
|
]
|
|
4258
4258
|
}
|
|
@@ -4408,7 +4408,7 @@ const Ll = {
|
|
|
4408
4408
|
Suspended: "Suspendu",
|
|
4409
4409
|
Archived: "Archivé"
|
|
4410
4410
|
};
|
|
4411
|
-
function
|
|
4411
|
+
function zr({ tenant: e, isSelected: r, isFavorite: a, hasThemeOverride: n, onSelect: o, onToggleFavorite: l, showStatus: i = !0 }) {
|
|
4412
4412
|
const c = e.type === "Business", d = e.status === "Active";
|
|
4413
4413
|
return /* @__PURE__ */ s("div", { className: "flex items-center group", children: [
|
|
4414
4414
|
/* @__PURE__ */ s(
|
|
@@ -4509,7 +4509,7 @@ function Ul() {
|
|
|
4509
4509
|
hasGlobalRoles: c,
|
|
4510
4510
|
isGlobalView: d,
|
|
4511
4511
|
enterGlobalView: m
|
|
4512
|
-
} = Ye(), { tenantOverrides: u, loadTenantOverrides: p } =
|
|
4512
|
+
} = Ye(), { tenantOverrides: u, loadTenantOverrides: p } = _r(), [f, b] = w(!1), [g, x] = w(""), [h] = w(() => pn()), y = ee(null), v = ee(null), { favorites: S, loadFavorites: N, toggleFavorite: L, recordRecent: E } = Dl();
|
|
4513
4513
|
z(() => {
|
|
4514
4514
|
f && (N(), p());
|
|
4515
4515
|
}, [f, N, p]), z(() => {
|
|
@@ -4630,7 +4630,7 @@ function Ul() {
|
|
|
4630
4630
|
e("tenants.selector.favorites", "Favoris")
|
|
4631
4631
|
] }),
|
|
4632
4632
|
/* @__PURE__ */ t("div", { className: "mt-1", children: G.map((R) => /* @__PURE__ */ t(
|
|
4633
|
-
|
|
4633
|
+
zr,
|
|
4634
4634
|
{
|
|
4635
4635
|
tenant: R,
|
|
4636
4636
|
isSelected: !d && a?.id === R.id,
|
|
@@ -4648,7 +4648,7 @@ function Ul() {
|
|
|
4648
4648
|
e("tenants.selector.recent", "Récents")
|
|
4649
4649
|
] }),
|
|
4650
4650
|
/* @__PURE__ */ t("div", { className: "mt-1", children: A.map((R) => /* @__PURE__ */ t(
|
|
4651
|
-
|
|
4651
|
+
zr,
|
|
4652
4652
|
{
|
|
4653
4653
|
tenant: R,
|
|
4654
4654
|
isSelected: !d && a?.id === R.id,
|
|
@@ -4666,7 +4666,7 @@ function Ul() {
|
|
|
4666
4666
|
e("tenants.selector.all", "Tous")
|
|
4667
4667
|
] }),
|
|
4668
4668
|
/* @__PURE__ */ t("div", { className: "mt-1 max-h-40 overflow-y-auto", children: O.map((R) => /* @__PURE__ */ t(
|
|
4669
|
-
|
|
4669
|
+
zr,
|
|
4670
4670
|
{
|
|
4671
4671
|
tenant: R,
|
|
4672
4672
|
isSelected: !d && a?.id === R.id,
|
|
@@ -4681,7 +4681,7 @@ function Ul() {
|
|
|
4681
4681
|
g && j.length === 0 && /* @__PURE__ */ t("div", { className: "p-4 text-center text-sm text-[var(--text-tertiary)]", children: e("tenants.selector.noResults", "Aucun résultat") })
|
|
4682
4682
|
] }),
|
|
4683
4683
|
/* @__PURE__ */ t("div", { className: "p-2 border-t border-[var(--border-color)]", children: /* @__PURE__ */ s(
|
|
4684
|
-
|
|
4684
|
+
Ue,
|
|
4685
4685
|
{
|
|
4686
4686
|
to: "/myspace/tenants",
|
|
4687
4687
|
className: "flex items-center justify-center gap-2 px-3 py-2 text-sm text-[var(--text-secondary)] hover:text-[var(--text-primary)] hover:bg-[var(--bg-tertiary)] transition-colors",
|
|
@@ -4737,7 +4737,7 @@ const Dp = {
|
|
|
4737
4737
|
deleteAll: () => D.delete("/api/support/notifications/all"),
|
|
4738
4738
|
getPreferences: () => D.get("/api/support/notifications/preferences"),
|
|
4739
4739
|
updatePreferences: (e) => D.put("/api/support/notifications/preferences", e)
|
|
4740
|
-
},
|
|
4740
|
+
}, Vr = {
|
|
4741
4741
|
getAll: (e, r = !0, a) => D.get("/api/support/templates", {
|
|
4742
4742
|
params: { category: e, activeOnly: r, language: a }
|
|
4743
4743
|
}),
|
|
@@ -4963,7 +4963,7 @@ function Vl() {
|
|
|
4963
4963
|
className: "relative p-2 rounded-lg hover:bg-[var(--bg-hover)] transition-colors",
|
|
4964
4964
|
"aria-label": "Notifications",
|
|
4965
4965
|
children: [
|
|
4966
|
-
/* @__PURE__ */ t(
|
|
4966
|
+
/* @__PURE__ */ t(ea, { className: "w-5 h-5" }),
|
|
4967
4967
|
c > 0 && /* @__PURE__ */ t("span", { className: "absolute -top-1 -right-1 w-5 h-5 bg-red-500 text-white text-xs font-bold rounded-full flex items-center justify-center", children: c > 9 ? "9+" : c })
|
|
4968
4968
|
]
|
|
4969
4969
|
}
|
|
@@ -5041,7 +5041,7 @@ function Vl() {
|
|
|
5041
5041
|
onClick: (j) => y(k.id, j),
|
|
5042
5042
|
className: "p-1 rounded hover:bg-[var(--bg-secondary)]",
|
|
5043
5043
|
title: "Delete",
|
|
5044
|
-
children: /* @__PURE__ */ t(
|
|
5044
|
+
children: /* @__PURE__ */ t(Mr, { className: "w-4 h-4 text-red-500" })
|
|
5045
5045
|
}
|
|
5046
5046
|
)
|
|
5047
5047
|
] })
|
|
@@ -5051,7 +5051,7 @@ function Vl() {
|
|
|
5051
5051
|
);
|
|
5052
5052
|
}),
|
|
5053
5053
|
!d && i.length === 0 && /* @__PURE__ */ s("div", { className: "py-8 text-center text-[var(--text-secondary)]", children: [
|
|
5054
|
-
/* @__PURE__ */ t(
|
|
5054
|
+
/* @__PURE__ */ t(ea, { className: "w-12 h-12 mx-auto mb-2 opacity-50" }),
|
|
5055
5055
|
/* @__PURE__ */ t("p", { children: "No notifications" })
|
|
5056
5056
|
] })
|
|
5057
5057
|
] }),
|
|
@@ -5169,7 +5169,7 @@ function Wl({
|
|
|
5169
5169
|
children: r
|
|
5170
5170
|
}
|
|
5171
5171
|
),
|
|
5172
|
-
d && e &&
|
|
5172
|
+
d && e && Or(
|
|
5173
5173
|
/* @__PURE__ */ s(
|
|
5174
5174
|
"div",
|
|
5175
5175
|
{
|
|
@@ -5207,7 +5207,7 @@ class ql {
|
|
|
5207
5207
|
const r = {
|
|
5208
5208
|
url: window.location.href,
|
|
5209
5209
|
timestamp: /* @__PURE__ */ new Date(),
|
|
5210
|
-
recentErrors:
|
|
5210
|
+
recentErrors: Ke.getRecentErrors(),
|
|
5211
5211
|
browserInfo: {
|
|
5212
5212
|
userAgent: navigator.userAgent,
|
|
5213
5213
|
language: navigator.language,
|
|
@@ -5220,7 +5220,7 @@ class ql {
|
|
|
5220
5220
|
const a = await this.captureScreenshot();
|
|
5221
5221
|
r.screenshot = a;
|
|
5222
5222
|
} catch {
|
|
5223
|
-
|
|
5223
|
+
Ke.logError(new Error("Failed to capture screenshot"), "ErrorContextService");
|
|
5224
5224
|
}
|
|
5225
5225
|
return r;
|
|
5226
5226
|
}
|
|
@@ -5313,11 +5313,11 @@ class ql {
|
|
|
5313
5313
|
`);
|
|
5314
5314
|
}
|
|
5315
5315
|
}
|
|
5316
|
-
const
|
|
5316
|
+
const Hr = new ql(), Wr = "ticket_drafts", Wa = 5, qa = 7;
|
|
5317
5317
|
class Yl {
|
|
5318
5318
|
getDrafts() {
|
|
5319
5319
|
try {
|
|
5320
|
-
const r = localStorage.getItem(
|
|
5320
|
+
const r = localStorage.getItem(Wr);
|
|
5321
5321
|
return r ? JSON.parse(r).map((n) => ({
|
|
5322
5322
|
...n,
|
|
5323
5323
|
createdAt: new Date(n.createdAt),
|
|
@@ -5334,7 +5334,7 @@ class Yl {
|
|
|
5334
5334
|
createdAt: o.createdAt.toISOString(),
|
|
5335
5335
|
updatedAt: o.updatedAt.toISOString()
|
|
5336
5336
|
})), n = JSON.stringify(a);
|
|
5337
|
-
return localStorage.setItem(
|
|
5337
|
+
return localStorage.setItem(Wr, n), !0;
|
|
5338
5338
|
} catch (a) {
|
|
5339
5339
|
if (console.error("[TicketDraftService] Failed to save drafts:", a), a instanceof DOMException && a.name === "QuotaExceededError")
|
|
5340
5340
|
try {
|
|
@@ -5345,7 +5345,7 @@ class Yl {
|
|
|
5345
5345
|
createdAt: o.createdAt.toISOString(),
|
|
5346
5346
|
updatedAt: o.updatedAt.toISOString()
|
|
5347
5347
|
}));
|
|
5348
|
-
return localStorage.setItem(
|
|
5348
|
+
return localStorage.setItem(Wr, JSON.stringify(n)), !0;
|
|
5349
5349
|
} catch (n) {
|
|
5350
5350
|
console.error("[TicketDraftService] Still failed without large data:", n);
|
|
5351
5351
|
}
|
|
@@ -5439,7 +5439,7 @@ class Yl {
|
|
|
5439
5439
|
}
|
|
5440
5440
|
const Nt = new Yl();
|
|
5441
5441
|
function Jl({ variant: e = "icon", className: r = "" }) {
|
|
5442
|
-
const { t: a } = me(["common", "support"]), n = at(), { hasPermission: o } =
|
|
5442
|
+
const { t: a } = me(["common", "support"]), n = at(), { hasPermission: o } = Be(), [l, i] = w(!1), [c, d] = w(!1), [m, u] = w([]), p = ee(null), f = o("support.my-tickets.create");
|
|
5443
5443
|
z(() => {
|
|
5444
5444
|
c && u(Nt.getAllDrafts());
|
|
5445
5445
|
}, [c]), z(() => {
|
|
@@ -5453,10 +5453,10 @@ function Jl({ variant: e = "icon", className: r = "" }) {
|
|
|
5453
5453
|
const L = (S ? Nt.getDraft(S) : null)?.screenshot;
|
|
5454
5454
|
let E = null;
|
|
5455
5455
|
if (L)
|
|
5456
|
-
|
|
5456
|
+
Hr.clearContext();
|
|
5457
5457
|
else
|
|
5458
5458
|
try {
|
|
5459
|
-
E = await
|
|
5459
|
+
E = await Hr.captureContext(), Hr.saveContext(E);
|
|
5460
5460
|
} catch {
|
|
5461
5461
|
}
|
|
5462
5462
|
i(!1);
|
|
@@ -5513,7 +5513,7 @@ function Jl({ variant: e = "icon", className: r = "" }) {
|
|
|
5513
5513
|
onClick: (L) => x(L, S.id),
|
|
5514
5514
|
className: "p-1.5 rounded hover:bg-[var(--error-bg)] text-[var(--text-secondary)] hover:text-[var(--error-text)] transition-colors",
|
|
5515
5515
|
title: a("common:actions.delete"),
|
|
5516
|
-
children: /* @__PURE__ */ t(
|
|
5516
|
+
children: /* @__PURE__ */ t(Mr, { className: "w-4 h-4" })
|
|
5517
5517
|
}
|
|
5518
5518
|
)
|
|
5519
5519
|
]
|
|
@@ -5562,8 +5562,8 @@ function Jl({ variant: e = "icon", className: r = "" }) {
|
|
|
5562
5562
|
c && v()
|
|
5563
5563
|
] });
|
|
5564
5564
|
}
|
|
5565
|
-
function
|
|
5566
|
-
const { t: r } = me("navigation"), [a, n] = w(!1), o = Ot(), { menu: l } = _e(), { logout: i } =
|
|
5565
|
+
function Dr({ onMenuToggle: e }) {
|
|
5566
|
+
const { t: r } = me("navigation"), [a, n] = w(!1), o = Ot(), { menu: l } = _e(), { logout: i } = Be(), c = l?.applications || [];
|
|
5567
5567
|
return /* @__PURE__ */ t("header", { className: "fixed top-0 left-0 right-0 z-50 bg-[var(--bg-primary)]/80 backdrop-blur-lg border-b border-[var(--border-color)]", children: /* @__PURE__ */ s("nav", { className: "px-4 sm:px-6 lg:px-8", children: [
|
|
5568
5568
|
/* @__PURE__ */ s("div", { className: "flex items-center justify-between h-16", children: [
|
|
5569
5569
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-4", children: [
|
|
@@ -5576,7 +5576,7 @@ function $r({ onMenuToggle: e }) {
|
|
|
5576
5576
|
children: /* @__PURE__ */ t(Pr, { className: "w-5 h-5" })
|
|
5577
5577
|
}
|
|
5578
5578
|
),
|
|
5579
|
-
/* @__PURE__ */ s(
|
|
5579
|
+
/* @__PURE__ */ s(Ue, { to: o("/applications"), className: "flex items-center gap-3 group", children: [
|
|
5580
5580
|
/* @__PURE__ */ t("div", { className: "relative", children: /* @__PURE__ */ t("div", { className: "w-10 h-10 animated-gradient flex items-center justify-center", style: { borderRadius: "var(--radius-card)" }, children: /* @__PURE__ */ t(gt, { className: "w-5 h-5 text-white" }) }) }),
|
|
5581
5581
|
/* @__PURE__ */ t("span", { className: "text-xl font-bold gradient-text", children: "SmartStack" })
|
|
5582
5582
|
] })
|
|
@@ -5607,7 +5607,7 @@ function $r({ onMenuToggle: e }) {
|
|
|
5607
5607
|
] }),
|
|
5608
5608
|
a && /* @__PURE__ */ t("div", { className: "sm:hidden py-4 border-t border-[var(--border-color)]", children: /* @__PURE__ */ s("div", { className: "flex flex-col gap-2", children: [
|
|
5609
5609
|
c.map((d) => /* @__PURE__ */ t(
|
|
5610
|
-
|
|
5610
|
+
Ue,
|
|
5611
5611
|
{
|
|
5612
5612
|
to: o(d.route || "#"),
|
|
5613
5613
|
className: "px-3 py-2 hover:bg-[var(--bg-tertiary)] transition-colors",
|
|
@@ -5627,7 +5627,7 @@ function $r({ onMenuToggle: e }) {
|
|
|
5627
5627
|
className: "flex items-center gap-2 px-3 py-2 hover:bg-[var(--bg-tertiary)] transition-colors text-red-500",
|
|
5628
5628
|
style: { borderRadius: "var(--radius-menu-item)" },
|
|
5629
5629
|
children: [
|
|
5630
|
-
/* @__PURE__ */ t(
|
|
5630
|
+
/* @__PURE__ */ t(Lr, { className: "w-4 h-4" }),
|
|
5631
5631
|
r("header.logout")
|
|
5632
5632
|
]
|
|
5633
5633
|
}
|
|
@@ -5671,7 +5671,7 @@ function Xl({ module: e, isActive: r, isCollapsed: a, onClose: n, buildUrl: o })
|
|
|
5671
5671
|
onMouseLeave: f,
|
|
5672
5672
|
children: [
|
|
5673
5673
|
/* @__PURE__ */ s(
|
|
5674
|
-
|
|
5674
|
+
Ue,
|
|
5675
5675
|
{
|
|
5676
5676
|
to: o(e.route),
|
|
5677
5677
|
onClick: n,
|
|
@@ -5684,7 +5684,7 @@ function Xl({ module: e, isActive: r, isCollapsed: a, onClose: n, buildUrl: o })
|
|
|
5684
5684
|
]
|
|
5685
5685
|
}
|
|
5686
5686
|
),
|
|
5687
|
-
a && l &&
|
|
5687
|
+
a && l && Or(
|
|
5688
5688
|
/* @__PURE__ */ t(
|
|
5689
5689
|
"div",
|
|
5690
5690
|
{
|
|
@@ -5765,7 +5765,7 @@ function Ql({ module: e, isExpanded: r, onToggle: a, onNavigate: n, currentPath:
|
|
|
5765
5765
|
]
|
|
5766
5766
|
}
|
|
5767
5767
|
),
|
|
5768
|
-
l && i &&
|
|
5768
|
+
l && i && Or(
|
|
5769
5769
|
/* @__PURE__ */ t(
|
|
5770
5770
|
"div",
|
|
5771
5771
|
{
|
|
@@ -6000,7 +6000,7 @@ function sc({ isOpen: e, onClose: r }) {
|
|
|
6000
6000
|
}
|
|
6001
6001
|
),
|
|
6002
6002
|
/* @__PURE__ */ t(
|
|
6003
|
-
|
|
6003
|
+
Ue,
|
|
6004
6004
|
{
|
|
6005
6005
|
to: x("/myspace/preferences?tab=favorites"),
|
|
6006
6006
|
onClick: r,
|
|
@@ -6187,7 +6187,7 @@ function lc() {
|
|
|
6187
6187
|
);
|
|
6188
6188
|
}
|
|
6189
6189
|
function cc() {
|
|
6190
|
-
const { t: e } = me("admin"), { license: r, isLoading: a, isReadOnlyMode: n } = kt(), { user: o } =
|
|
6190
|
+
const { t: e } = me("admin"), { license: r, isLoading: a, isReadOnlyMode: n } = kt(), { user: o } = Be(), l = Ot(), [i, c] = w(!1);
|
|
6191
6191
|
if (a || !r || i) return null;
|
|
6192
6192
|
const d = o?.roles?.includes("SuperAdmin") ?? !1, m = o?.permissions?.some(
|
|
6193
6193
|
(y) => y.startsWith("administration.configuration.license") || y === "administration.configuration.*" || y === "administration.*"
|
|
@@ -6204,7 +6204,7 @@ function cc() {
|
|
|
6204
6204
|
] }),
|
|
6205
6205
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-2 flex-shrink-0", children: [
|
|
6206
6206
|
/* @__PURE__ */ t(
|
|
6207
|
-
|
|
6207
|
+
Ue,
|
|
6208
6208
|
{
|
|
6209
6209
|
to: l("/administration/configuration/license"),
|
|
6210
6210
|
className: `text-xs font-medium px-3 py-1 rounded-md transition-colors ${b ? "bg-red-100 dark:bg-red-900/40 hover:bg-red-200 dark:hover:bg-red-800/40" : "bg-amber-100 dark:bg-amber-900/40 hover:bg-amber-200 dark:hover:bg-amber-800/40"}`,
|
|
@@ -6224,7 +6224,7 @@ function cc() {
|
|
|
6224
6224
|
] }) });
|
|
6225
6225
|
}
|
|
6226
6226
|
function dc() {
|
|
6227
|
-
const { t: e } = me("admin"), { license: r, isLoading: a, isReadOnlyMode: n, isServerDowntimeBlocked: o } = kt(), { user: l } =
|
|
6227
|
+
const { t: e } = me("admin"), { license: r, isLoading: a, isReadOnlyMode: n, isServerDowntimeBlocked: o } = kt(), { user: l } = Be(), i = Ot();
|
|
6228
6228
|
if (a) return null;
|
|
6229
6229
|
const c = l?.roles?.includes("SuperAdmin") ?? !1, d = l?.permissions?.some(
|
|
6230
6230
|
(g) => g.startsWith("administration.configuration.license") || g === "administration.configuration.*" || g === "administration.*"
|
|
@@ -6264,7 +6264,7 @@ function dc() {
|
|
|
6264
6264
|
/* @__PURE__ */ t("span", { className: "text-sm font-medium", children: p })
|
|
6265
6265
|
] }),
|
|
6266
6266
|
/* @__PURE__ */ t(
|
|
6267
|
-
|
|
6267
|
+
Ue,
|
|
6268
6268
|
{
|
|
6269
6269
|
to: i("/administration/configuration/license"),
|
|
6270
6270
|
className: `text-xs font-medium px-4 py-1.5 rounded-md transition-opacity flex-shrink-0 ${b[m]}`,
|
|
@@ -6276,7 +6276,7 @@ function dc() {
|
|
|
6276
6276
|
function mc() {
|
|
6277
6277
|
const [e, r] = w(!1), { currentAppCode: a } = _e(), { isCollapsed: n } = Aa(), o = !!a;
|
|
6278
6278
|
return /* @__PURE__ */ s("div", { className: "min-h-screen bg-[var(--bg-primary)]", children: [
|
|
6279
|
-
/* @__PURE__ */ t(
|
|
6279
|
+
/* @__PURE__ */ t(Dr, { onMenuToggle: () => r(!e) }),
|
|
6280
6280
|
o && /* @__PURE__ */ t(sc, { isOpen: e, onClose: () => r(!1) }),
|
|
6281
6281
|
/* @__PURE__ */ s(
|
|
6282
6282
|
"main",
|
|
@@ -6286,7 +6286,7 @@ function mc() {
|
|
|
6286
6286
|
/* @__PURE__ */ t(cc, {}),
|
|
6287
6287
|
/* @__PURE__ */ t(ic, { children: /* @__PURE__ */ s("div", { className: "p-4 sm:p-6 lg:px-10 h-full overflow-auto", children: [
|
|
6288
6288
|
/* @__PURE__ */ t(dc, {}),
|
|
6289
|
-
/* @__PURE__ */ t(
|
|
6289
|
+
/* @__PURE__ */ t(Fe, {})
|
|
6290
6290
|
] }) })
|
|
6291
6291
|
]
|
|
6292
6292
|
}
|
|
@@ -6307,11 +6307,11 @@ function Lp() {
|
|
|
6307
6307
|
/* @__PURE__ */ t("div", { className: "w-12 h-12 rounded-xl animated-gradient flex items-center justify-center", children: /* @__PURE__ */ t(gt, { className: "w-6 h-6 text-white" }) }),
|
|
6308
6308
|
/* @__PURE__ */ t("span", { className: "text-2xl font-bold gradient-text", children: "SmartStack" })
|
|
6309
6309
|
] }) }),
|
|
6310
|
-
/* @__PURE__ */ t("div", { className: "bg-[var(--bg-secondary)] rounded-2xl border border-[var(--border-color)] p-8", children: /* @__PURE__ */ t(
|
|
6310
|
+
/* @__PURE__ */ t("div", { className: "bg-[var(--bg-secondary)] rounded-2xl border border-[var(--border-color)] p-8", children: /* @__PURE__ */ t(Fe, {}) })
|
|
6311
6311
|
] }) });
|
|
6312
6312
|
}
|
|
6313
6313
|
function gn() {
|
|
6314
|
-
const { t: e } = me("navigation"), { isAuthenticated: r } =
|
|
6314
|
+
const { t: e } = me("navigation"), { isAuthenticated: r } = Be(), [a, n] = w(!1);
|
|
6315
6315
|
return /* @__PURE__ */ t("header", { className: "fixed top-0 left-0 right-0 z-50 bg-[var(--bg-primary)]/80 backdrop-blur-lg border-b border-[var(--border-color)]", children: /* @__PURE__ */ s("nav", { className: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8", children: [
|
|
6316
6316
|
/* @__PURE__ */ s("div", { className: "flex items-center justify-between h-16", children: [
|
|
6317
6317
|
/* @__PURE__ */ s("a", { href: "/", className: "flex items-center gap-3 group", children: [
|
|
@@ -6818,7 +6818,7 @@ const fc = [
|
|
|
6818
6818
|
icon: Ds
|
|
6819
6819
|
}
|
|
6820
6820
|
];
|
|
6821
|
-
function
|
|
6821
|
+
function qr({ item: e, isChild: r = !1, depth: a = 0 }) {
|
|
6822
6822
|
const o = Xe().pathname === e.href, l = "icon" in e ? e.icon : null;
|
|
6823
6823
|
return /* @__PURE__ */ s(
|
|
6824
6824
|
zn,
|
|
@@ -6834,14 +6834,14 @@ function Wr({ item: e, isChild: r = !1, depth: a = 0 }) {
|
|
|
6834
6834
|
);
|
|
6835
6835
|
}
|
|
6836
6836
|
function bc() {
|
|
6837
|
-
const [e, r] = w(!1), a = Xe(), [n] = Ss(), o = n.get("embedded") === "true", l = (u) => a.pathname === u.href ? !0 : "children" in u && Array.isArray(u.children) ? u.children.some((p) => a.pathname === p.href ? !0 : "children" in p && Array.isArray(p.children) ? p.children.some((f) => a.pathname === f.href) : !1) : !1, i = (u) => a.pathname === u.href ? !0 : u.children ? u.children.some((p) => a.pathname === p.href) : !1, c = (u) => u.children && i(u) ? /* @__PURE__ */ t("div", { className: "mt-1 space-y-1", children: u.children.map((p) => /* @__PURE__ */ t(
|
|
6838
|
-
/* @__PURE__ */ t(
|
|
6837
|
+
const [e, r] = w(!1), a = Xe(), [n] = Ss(), o = n.get("embedded") === "true", l = (u) => a.pathname === u.href ? !0 : "children" in u && Array.isArray(u.children) ? u.children.some((p) => a.pathname === p.href ? !0 : "children" in p && Array.isArray(p.children) ? p.children.some((f) => a.pathname === f.href) : !1) : !1, i = (u) => a.pathname === u.href ? !0 : u.children ? u.children.some((p) => a.pathname === p.href) : !1, c = (u) => u.children && i(u) ? /* @__PURE__ */ t("div", { className: "mt-1 space-y-1", children: u.children.map((p) => /* @__PURE__ */ t(qr, { item: p, isChild: !0, depth: 2 }, p.href)) }) : null, d = (u) => u.children && l(u) ? /* @__PURE__ */ t("div", { className: "mt-1 space-y-1", children: u.children.map((p) => /* @__PURE__ */ s("div", { children: [
|
|
6838
|
+
/* @__PURE__ */ t(qr, { item: p, isChild: !0 }),
|
|
6839
6839
|
c(p)
|
|
6840
6840
|
] }, p.href)) }) : null, m = () => /* @__PURE__ */ t("nav", { className: "space-y-1", children: fc.map((u) => /* @__PURE__ */ s("div", { children: [
|
|
6841
|
-
/* @__PURE__ */ t(
|
|
6841
|
+
/* @__PURE__ */ t(qr, { item: u }),
|
|
6842
6842
|
d(u)
|
|
6843
6843
|
] }, u.href)) });
|
|
6844
|
-
return o ? /* @__PURE__ */ t("div", { className: "min-h-screen bg-[var(--bg-primary)]", children: /* @__PURE__ */ t("main", { className: "p-4 lg:p-6", children: /* @__PURE__ */ t("div", { className: "max-w-4xl mx-auto", children: /* @__PURE__ */ t(
|
|
6844
|
+
return o ? /* @__PURE__ */ t("div", { className: "min-h-screen bg-[var(--bg-primary)]", children: /* @__PURE__ */ t("main", { className: "p-4 lg:p-6", children: /* @__PURE__ */ t("div", { className: "max-w-4xl mx-auto", children: /* @__PURE__ */ t(Fe, {}) }) }) }) : /* @__PURE__ */ t(ka, { children: /* @__PURE__ */ s("div", { className: "min-h-screen bg-[var(--bg-primary)] flex flex-col", children: [
|
|
6845
6845
|
/* @__PURE__ */ t(gn, {}),
|
|
6846
6846
|
/* @__PURE__ */ s("div", { className: "flex-1 flex pt-16", children: [
|
|
6847
6847
|
/* @__PURE__ */ t(
|
|
@@ -6882,7 +6882,7 @@ function bc() {
|
|
|
6882
6882
|
] })
|
|
6883
6883
|
}
|
|
6884
6884
|
),
|
|
6885
|
-
/* @__PURE__ */ t("main", { className: "flex-1 min-w-0 p-6 lg:p-8", children: /* @__PURE__ */ t("div", { className: "max-w-4xl mx-auto", children: /* @__PURE__ */ t(
|
|
6885
|
+
/* @__PURE__ */ t("main", { className: "flex-1 min-w-0 p-6 lg:p-8", children: /* @__PURE__ */ t("div", { className: "max-w-4xl mx-auto", children: /* @__PURE__ */ t(Fe, {}) }) })
|
|
6886
6886
|
] }),
|
|
6887
6887
|
/* @__PURE__ */ t(fn, {})
|
|
6888
6888
|
] }) });
|
|
@@ -6894,7 +6894,7 @@ const vc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6894
6894
|
function xc() {
|
|
6895
6895
|
return /* @__PURE__ */ t(ka, { children: /* @__PURE__ */ s("div", { className: "min-h-screen bg-[var(--bg-primary)] flex flex-col", children: [
|
|
6896
6896
|
/* @__PURE__ */ t(gn, {}),
|
|
6897
|
-
/* @__PURE__ */ t("main", { className: "flex-1 pt-16", children: /* @__PURE__ */ t(
|
|
6897
|
+
/* @__PURE__ */ t("main", { className: "flex-1 pt-16", children: /* @__PURE__ */ t(Fe, {}) }),
|
|
6898
6898
|
/* @__PURE__ */ t(fn, {})
|
|
6899
6899
|
] }) });
|
|
6900
6900
|
}
|
|
@@ -6917,7 +6917,7 @@ function jp({ items: e, className: r = "" }) {
|
|
|
6917
6917
|
a.label
|
|
6918
6918
|
] }),
|
|
6919
6919
|
!o && a.href && /* @__PURE__ */ s(
|
|
6920
|
-
|
|
6920
|
+
Ue,
|
|
6921
6921
|
{
|
|
6922
6922
|
to: a.href,
|
|
6923
6923
|
className: "flex items-center gap-1.5 text-[var(--text-secondary)] hover:text-[var(--color-accent-600)] transition-colors",
|
|
@@ -6937,7 +6937,7 @@ function jp({ items: e, className: r = "" }) {
|
|
|
6937
6937
|
}
|
|
6938
6938
|
);
|
|
6939
6939
|
}
|
|
6940
|
-
function
|
|
6940
|
+
function Yr(e, r) {
|
|
6941
6941
|
return r.split(".").reduce((a, n) => {
|
|
6942
6942
|
if (a && typeof a == "object" && n in a)
|
|
6943
6943
|
return a[n];
|
|
@@ -6973,7 +6973,7 @@ function Mp({
|
|
|
6973
6973
|
defaultSortDirection: S = "asc"
|
|
6974
6974
|
}) {
|
|
6975
6975
|
const [N, L] = w(""), [E, k] = w(v || null), [C, I] = w(S), [j, G] = w(1), [A, O] = w(l?.pageSize || 10), Z = Array.isArray(e) ? e : [], R = we(() => N ? Z.filter((W) => y(W, N)) : Z, [Z, N, y]), V = we(() => E ? [...R].sort((W, ge) => {
|
|
6976
|
-
const fe =
|
|
6976
|
+
const fe = Yr(W, E), Se = Yr(ge, E);
|
|
6977
6977
|
if (fe === Se) return 0;
|
|
6978
6978
|
if (fe == null) return 1;
|
|
6979
6979
|
if (Se == null) return -1;
|
|
@@ -7087,7 +7087,7 @@ function Mp({
|
|
|
7087
7087
|
"td",
|
|
7088
7088
|
{
|
|
7089
7089
|
className: `${J} text-${Pe.align || "left"} ${Pe.hideOnMobile ? "hidden md:table-cell" : ""}`,
|
|
7090
|
-
children: Pe.render ? Pe.render(W, xe) : String(
|
|
7090
|
+
children: Pe.render ? Pe.render(W, xe) : String(Yr(W, Pe.key) ?? "")
|
|
7091
7091
|
},
|
|
7092
7092
|
Pe.key
|
|
7093
7093
|
))
|
|
@@ -7947,7 +7947,7 @@ function Kp({
|
|
|
7947
7947
|
n && /* @__PURE__ */ t("div", { className: "flex items-center gap-3", children: n })
|
|
7948
7948
|
] });
|
|
7949
7949
|
}
|
|
7950
|
-
const
|
|
7950
|
+
const Jr = {
|
|
7951
7951
|
granted: {
|
|
7952
7952
|
icon: He,
|
|
7953
7953
|
color: "var(--success-text)",
|
|
@@ -8079,7 +8079,7 @@ function zp({
|
|
|
8079
8079
|
}
|
|
8080
8080
|
),
|
|
8081
8081
|
_.map((ge) => {
|
|
8082
|
-
const fe = m(ge), Se = f?.(ge) || !1, xe = U(q, fe), Pe =
|
|
8082
|
+
const fe = m(ge), Se = f?.(ge) || !1, xe = U(q, fe), Pe = Jr[xe];
|
|
8083
8083
|
return te(q, fe, xe, Pe, J, Se, H, ge);
|
|
8084
8084
|
})
|
|
8085
8085
|
]
|
|
@@ -8102,7 +8102,7 @@ function zp({
|
|
|
8102
8102
|
}
|
|
8103
8103
|
)
|
|
8104
8104
|
] }),
|
|
8105
|
-
y && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 text-xs", children: Object.entries(
|
|
8105
|
+
y && /* @__PURE__ */ t("div", { className: "flex items-center gap-4 text-xs", children: Object.entries(Jr).map(([H, re]) => {
|
|
8106
8106
|
if (H === "none") return null;
|
|
8107
8107
|
const _ = re.icon;
|
|
8108
8108
|
return /* @__PURE__ */ s("div", { className: "flex items-center gap-1", children: [
|
|
@@ -8218,7 +8218,7 @@ function zp({
|
|
|
8218
8218
|
}
|
|
8219
8219
|
),
|
|
8220
8220
|
r.map((xe) => {
|
|
8221
|
-
const Pe = m(xe), ct = f?.(xe) || !1, dt = g(ce, Pe), bt =
|
|
8221
|
+
const Pe = m(xe), ct = f?.(xe) || !1, dt = g(ce, Pe), bt = Jr[dt];
|
|
8222
8222
|
return te(ce, Pe, dt, bt, be, ct, q, xe);
|
|
8223
8223
|
})
|
|
8224
8224
|
]
|
|
@@ -8329,7 +8329,7 @@ function Vp({ onSync: e, isSyncing: r = !1, syncSuccess: a = !1 }) {
|
|
|
8329
8329
|
resetToDefault: p,
|
|
8330
8330
|
selectedThemeTenant: f,
|
|
8331
8331
|
setSelectedThemeTenant: b
|
|
8332
|
-
} =
|
|
8332
|
+
} = _r(), { currentTenant: g, hasMultipleTenants: x } = Ye();
|
|
8333
8333
|
return /* @__PURE__ */ s("div", { className: "space-y-8", children: [
|
|
8334
8334
|
/* @__PURE__ */ s("div", { className: "flex items-center justify-between", children: [
|
|
8335
8335
|
/* @__PURE__ */ s("div", { children: [
|
|
@@ -8689,7 +8689,7 @@ function Wp({ isOpen: e = !0, onClose: r }) {
|
|
|
8689
8689
|
}
|
|
8690
8690
|
),
|
|
8691
8691
|
/* @__PURE__ */ t(
|
|
8692
|
-
|
|
8692
|
+
Ue,
|
|
8693
8693
|
{
|
|
8694
8694
|
to: "/myspace/preferences?tab=favorites",
|
|
8695
8695
|
onClick: r,
|
|
@@ -8703,7 +8703,7 @@ function Wp({ isOpen: e = !0, onClose: r }) {
|
|
|
8703
8703
|
!d && /* @__PURE__ */ t("div", { className: "space-y-0.5", children: o.map((f) => {
|
|
8704
8704
|
const b = n.pathname === f.route;
|
|
8705
8705
|
return /* @__PURE__ */ s(
|
|
8706
|
-
|
|
8706
|
+
Ue,
|
|
8707
8707
|
{
|
|
8708
8708
|
to: f.route,
|
|
8709
8709
|
onClick: r,
|
|
@@ -8723,7 +8723,7 @@ function Wp({ isOpen: e = !0, onClose: r }) {
|
|
|
8723
8723
|
$c.map((f) => {
|
|
8724
8724
|
const b = f.icon, g = u(f.path, f.exact);
|
|
8725
8725
|
return /* @__PURE__ */ s(
|
|
8726
|
-
|
|
8726
|
+
Ue,
|
|
8727
8727
|
{
|
|
8728
8728
|
to: f.path,
|
|
8729
8729
|
onClick: r,
|
|
@@ -8789,7 +8789,7 @@ function qp({ isOpen: e = !0, onClose: r }) {
|
|
|
8789
8789
|
}
|
|
8790
8790
|
),
|
|
8791
8791
|
/* @__PURE__ */ t(
|
|
8792
|
-
|
|
8792
|
+
Ue,
|
|
8793
8793
|
{
|
|
8794
8794
|
to: "/myspace/preferences?tab=favorites",
|
|
8795
8795
|
onClick: r,
|
|
@@ -8803,7 +8803,7 @@ function qp({ isOpen: e = !0, onClose: r }) {
|
|
|
8803
8803
|
(d || !p) && /* @__PURE__ */ t("div", { className: "space-y-0.5", children: o.map((v) => {
|
|
8804
8804
|
const S = n.pathname === v.route;
|
|
8805
8805
|
return /* @__PURE__ */ s(
|
|
8806
|
-
|
|
8806
|
+
Ue,
|
|
8807
8807
|
{
|
|
8808
8808
|
to: v.route,
|
|
8809
8809
|
onClick: r,
|
|
@@ -8822,7 +8822,7 @@ function qp({ isOpen: e = !0, onClose: r }) {
|
|
|
8822
8822
|
!d && /* @__PURE__ */ t("div", { className: "my-3 border-b border-[var(--border-color)]" })
|
|
8823
8823
|
] }),
|
|
8824
8824
|
/* @__PURE__ */ s(
|
|
8825
|
-
|
|
8825
|
+
Ue,
|
|
8826
8826
|
{
|
|
8827
8827
|
to: "/myspace",
|
|
8828
8828
|
onClick: r,
|
|
@@ -8839,7 +8839,7 @@ function qp({ isOpen: e = !0, onClose: r }) {
|
|
|
8839
8839
|
x.map((v) => {
|
|
8840
8840
|
const S = v.route || `/myspace/${v.code}`, N = h(S);
|
|
8841
8841
|
return /* @__PURE__ */ s(
|
|
8842
|
-
|
|
8842
|
+
Ue,
|
|
8843
8843
|
{
|
|
8844
8844
|
to: S,
|
|
8845
8845
|
onClick: r,
|
|
@@ -8899,7 +8899,7 @@ const jc = {
|
|
|
8899
8899
|
permission: { icon: fa, color: "text-red-500", bgColor: "bg-red-500/10" },
|
|
8900
8900
|
notFound: { icon: ga, color: "text-yellow-500", bgColor: "bg-yellow-500/10" },
|
|
8901
8901
|
validation: { icon: Oe, color: "text-amber-500", bgColor: "bg-amber-500/10" },
|
|
8902
|
-
technical: { icon:
|
|
8902
|
+
technical: { icon: jr, color: "text-red-500", bgColor: "bg-red-500/10" }
|
|
8903
8903
|
};
|
|
8904
8904
|
function Mc({ error: e, resetErrorBoundary: r }) {
|
|
8905
8905
|
const { t: a } = me("common"), [n, o] = w(!1), [l] = w(() => Lc()), i = Dc(e), c = jc[i], d = c.icon, m = () => {
|
|
@@ -8944,7 +8944,7 @@ function Mc({ error: e, resetErrorBoundary: r }) {
|
|
|
8944
8944
|
] }) }) });
|
|
8945
8945
|
}
|
|
8946
8946
|
function Oc(e, r) {
|
|
8947
|
-
|
|
8947
|
+
Ke.logError(e, "RouteErrorBoundary", {
|
|
8948
8948
|
componentStack: r.componentStack
|
|
8949
8949
|
});
|
|
8950
8950
|
}
|
|
@@ -9258,7 +9258,7 @@ ${v.join(`
|
|
|
9258
9258
|
] }) }) });
|
|
9259
9259
|
}
|
|
9260
9260
|
function Fc() {
|
|
9261
|
-
const { t: e } = me("common"), { logout: r } =
|
|
9261
|
+
const { t: e } = me("common"), { logout: r } = Be();
|
|
9262
9262
|
return /* @__PURE__ */ t("div", { className: "min-h-[60vh] flex items-center justify-center p-4", children: /* @__PURE__ */ t("div", { className: "max-w-lg w-full p-8 bg-[var(--bg-card)] border border-[var(--border-color)] rounded-2xl shadow-xl", children: /* @__PURE__ */ s("div", { className: "flex flex-col items-center text-center", children: [
|
|
9263
9263
|
/* @__PURE__ */ t("div", { className: "w-16 h-16 rounded-full bg-orange-500/10 flex items-center justify-center mb-6", children: /* @__PURE__ */ t(Pt, { className: "w-8 h-8 text-orange-500" }) }),
|
|
9264
9264
|
/* @__PURE__ */ t("h1", { className: "text-2xl font-bold text-[var(--text-primary)] mb-2", children: e("errors.noActiveWorkspace.title") }),
|
|
@@ -9283,7 +9283,7 @@ function Fc() {
|
|
|
9283
9283
|
},
|
|
9284
9284
|
className: "flex-1 flex items-center justify-center gap-2 py-3 px-4 rounded-xl bg-[var(--bg-tertiary)] hover:bg-[var(--bg-hover)] border border-[var(--border-color)] text-[var(--text-primary)] font-medium transition-all",
|
|
9285
9285
|
children: [
|
|
9286
|
-
/* @__PURE__ */ t(
|
|
9286
|
+
/* @__PURE__ */ t(Lr, { className: "w-4 h-4" }),
|
|
9287
9287
|
e("errors.noActiveWorkspace.logout")
|
|
9288
9288
|
]
|
|
9289
9289
|
}
|
|
@@ -9299,7 +9299,7 @@ function hr() {
|
|
|
9299
9299
|
] }) });
|
|
9300
9300
|
}
|
|
9301
9301
|
function Uc() {
|
|
9302
|
-
const { user: e, isLoading: r } =
|
|
9302
|
+
const { user: e, isLoading: r } = Be(), a = Xe(), { currentAppCode: n, currentModuleCode: o, isLoading: l, menu: i } = _e(), { currentTenant: c, userTenants: d, isLoading: m, isGlobalView: u } = Ye(), p = c?.id || "global", f = ee(null), b = (S, N) => {
|
|
9303
9303
|
const L = `${S}:${N}:${a.pathname}`;
|
|
9304
9304
|
f.current !== L && (f.current = L, D.post("/security/access-denied", {
|
|
9305
9305
|
reason: S,
|
|
@@ -9316,16 +9316,18 @@ function Uc() {
|
|
|
9316
9316
|
if (!c && !u && !d.some((N) => N.status === "Active"))
|
|
9317
9317
|
return /* @__PURE__ */ t(Fc, {});
|
|
9318
9318
|
if (!n)
|
|
9319
|
-
return /* @__PURE__ */ t(
|
|
9319
|
+
return /* @__PURE__ */ t(Fe, {}, p);
|
|
9320
9320
|
if (en.includes(n))
|
|
9321
|
-
return /* @__PURE__ */ t(
|
|
9321
|
+
return /* @__PURE__ */ t(Fe, {}, p);
|
|
9322
|
+
if ($r(e.permissions))
|
|
9323
|
+
return /* @__PURE__ */ t(Fe, {}, p);
|
|
9322
9324
|
const y = (i?.applications || []).find((S) => S.route?.split("/").filter(Boolean)[0] === n || S.code === n);
|
|
9323
9325
|
if (y?.isOpen)
|
|
9324
|
-
return /* @__PURE__ */ t(
|
|
9326
|
+
return /* @__PURE__ */ t(Fe, {}, p);
|
|
9325
9327
|
if (!y) {
|
|
9326
9328
|
const S = [n, o].filter(Boolean).join("."), N = c?.slug ? `/t/${c.slug}/applications` : "/applications";
|
|
9327
9329
|
return b("tenant", S), /* @__PURE__ */ s("div", { className: "min-h-screen bg-[var(--bg-primary)]", children: [
|
|
9328
|
-
/* @__PURE__ */ t(
|
|
9330
|
+
/* @__PURE__ */ t(Dr, { onMenuToggle: () => {
|
|
9329
9331
|
} }),
|
|
9330
9332
|
/* @__PURE__ */ t("main", { className: "pt-16 transition-all duration-300 h-[calc(100vh-4rem)]", children: /* @__PURE__ */ t("div", { className: "p-4 sm:p-6 lg:px-10 h-full overflow-auto", children: /* @__PURE__ */ t(
|
|
9331
9333
|
ma,
|
|
@@ -9344,7 +9346,7 @@ function Uc() {
|
|
|
9344
9346
|
if (!Ii(e.permissions, v) && y.accessLevel !== "RequestAccess") {
|
|
9345
9347
|
const S = c?.slug ? `/t/${c.slug}/applications` : "/applications";
|
|
9346
9348
|
return b("permission", v), /* @__PURE__ */ s("div", { className: "min-h-screen bg-[var(--bg-primary)]", children: [
|
|
9347
|
-
/* @__PURE__ */ t(
|
|
9349
|
+
/* @__PURE__ */ t(Dr, { onMenuToggle: () => {
|
|
9348
9350
|
} }),
|
|
9349
9351
|
/* @__PURE__ */ t("main", { className: "pt-16 transition-all duration-300 h-[calc(100vh-4rem)]", children: /* @__PURE__ */ t("div", { className: "p-4 sm:p-6 lg:px-10 h-full overflow-auto", children: /* @__PURE__ */ t(
|
|
9350
9352
|
ma,
|
|
@@ -9359,7 +9361,7 @@ function Uc() {
|
|
|
9359
9361
|
) }) })
|
|
9360
9362
|
] });
|
|
9361
9363
|
}
|
|
9362
|
-
return /* @__PURE__ */ t(
|
|
9364
|
+
return /* @__PURE__ */ t(Fe, {}, p);
|
|
9363
9365
|
}
|
|
9364
9366
|
function Za() {
|
|
9365
9367
|
const { slug: e } = ha(), r = at(), a = Xe(), { currentTenant: n, userTenants: o, switchTenant: l, isLoading: i, isGlobalView: c } = Ye(), { useUrlRouting: d, isLoading: m } = Na(), u = ee(!1), p = ee(null), f = ee(null);
|
|
@@ -9432,7 +9434,7 @@ function Za() {
|
|
|
9432
9434
|
m,
|
|
9433
9435
|
c,
|
|
9434
9436
|
r
|
|
9435
|
-
]), /* @__PURE__ */ t(
|
|
9437
|
+
]), /* @__PURE__ */ t(Fe, {});
|
|
9436
9438
|
}
|
|
9437
9439
|
function nt({ to: e, replace: r = !0 }) {
|
|
9438
9440
|
const { slug: a } = ha(), n = a ? `/t/${a}${e}` : e;
|
|
@@ -9450,7 +9452,7 @@ function Bc() {
|
|
|
9450
9452
|
/* @__PURE__ */ t("p", { className: "text-sm text-gray-600 dark:text-gray-400 mb-6", children: e("license.guard.description", "Your license has expired or is invalid. Access to this area is restricted. Please activate a valid license to continue using the platform.") }),
|
|
9451
9453
|
/* @__PURE__ */ s("div", { className: "flex flex-col gap-3", children: [
|
|
9452
9454
|
/* @__PURE__ */ s(
|
|
9453
|
-
|
|
9455
|
+
Ue,
|
|
9454
9456
|
{
|
|
9455
9457
|
to: a("/administration/configuration/license"),
|
|
9456
9458
|
className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 text-sm font-medium text-white bg-blue-600 rounded-lg hover:bg-blue-700 transition-colors",
|
|
@@ -9461,7 +9463,7 @@ function Bc() {
|
|
|
9461
9463
|
}
|
|
9462
9464
|
),
|
|
9463
9465
|
/* @__PURE__ */ s(
|
|
9464
|
-
|
|
9466
|
+
Ue,
|
|
9465
9467
|
{
|
|
9466
9468
|
to: a("/myspace/profile"),
|
|
9467
9469
|
className: "w-full inline-flex items-center justify-center gap-2 px-4 py-2.5 text-sm font-medium text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 rounded-lg hover:bg-gray-50 dark:hover:bg-gray-600 transition-colors",
|
|
@@ -9484,18 +9486,18 @@ function Kc(e) {
|
|
|
9484
9486
|
function zc() {
|
|
9485
9487
|
const { license: e, isLoading: r, isReadOnlyMode: a, isServerDowntimeBlocked: n } = kt(), o = Xe();
|
|
9486
9488
|
if (r)
|
|
9487
|
-
return /* @__PURE__ */ t(
|
|
9489
|
+
return /* @__PURE__ */ t(Fe, {});
|
|
9488
9490
|
const l = Kc(o.pathname);
|
|
9489
9491
|
return Gc.some(
|
|
9490
9492
|
(c) => l.startsWith(c)
|
|
9491
|
-
) ? /* @__PURE__ */ t(
|
|
9492
|
-
/* @__PURE__ */ t(
|
|
9493
|
+
) ? /* @__PURE__ */ t(Fe, {}) : !e?.isValid || a || n ? /* @__PURE__ */ s(ne, { children: [
|
|
9494
|
+
/* @__PURE__ */ t(Fe, {}),
|
|
9493
9495
|
/* @__PURE__ */ t(Bc, {})
|
|
9494
|
-
] }) : /* @__PURE__ */ t(
|
|
9496
|
+
] }) : /* @__PURE__ */ t(Fe, {});
|
|
9495
9497
|
}
|
|
9496
9498
|
function vn({ feature: e }) {
|
|
9497
9499
|
const { t: r } = me("admin"), { isFeatureEnabled: a, license: n, isLoading: o } = kt();
|
|
9498
|
-
return o ? /* @__PURE__ */ t(
|
|
9500
|
+
return o ? /* @__PURE__ */ t(Fe, {}) : a(e) ? /* @__PURE__ */ t(Fe, {}) : /* @__PURE__ */ t("div", { className: "flex items-center justify-center min-h-[60vh] p-6", children: /* @__PURE__ */ s("div", { className: "flex flex-col items-center justify-center p-8 bg-gray-50 dark:bg-gray-800/50 rounded-xl border-2 border-dashed border-gray-200 dark:border-gray-700 max-w-md", children: [
|
|
9499
9501
|
/* @__PURE__ */ t("div", { className: "p-4 bg-gray-100 dark:bg-gray-700 rounded-full mb-4", children: /* @__PURE__ */ t(St, { className: "w-8 h-8 text-gray-400 dark:text-gray-500" }) }),
|
|
9500
9502
|
/* @__PURE__ */ t("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white mb-2", children: r("license.featureNotAvailable", "Feature Not Available") }),
|
|
9501
9503
|
/* @__PURE__ */ t("p", { className: "text-sm text-gray-500 dark:text-gray-400 text-center max-w-sm mb-4", children: r("license.upgradeToAccess", "Upgrade your license to access the {{feature}} feature.", { feature: e }) }),
|
|
@@ -9529,7 +9531,7 @@ const nr = "/api/administration/tenants/tenant-analytics", es = {
|
|
|
9529
9531
|
}
|
|
9530
9532
|
}, Wc = "/api/administration/tenants/tenant-analytics";
|
|
9531
9533
|
function qc() {
|
|
9532
|
-
const { currentTenant: e } = Ye(), { isAuthenticated: r } =
|
|
9534
|
+
const { currentTenant: e } = Ye(), { isAuthenticated: r } = Be(), a = ee(null), n = ee(null), o = ee(!1);
|
|
9533
9535
|
z(() => {
|
|
9534
9536
|
if (!r) return;
|
|
9535
9537
|
const l = window.location.pathname;
|
|
@@ -9651,7 +9653,7 @@ const Vd = {
|
|
|
9651
9653
|
color: "from-blue-500 to-cyan-500"
|
|
9652
9654
|
},
|
|
9653
9655
|
{
|
|
9654
|
-
icon:
|
|
9656
|
+
icon: ea,
|
|
9655
9657
|
title: "Gestion des Notifications",
|
|
9656
9658
|
description: "Système de notifications en temps réel. Email, push, in-app. Templates personnalisables et historique complet.",
|
|
9657
9659
|
color: "from-amber-500 to-orange-500"
|
|
@@ -9977,12 +9979,12 @@ function om() {
|
|
|
9977
9979
|
async (g) => {
|
|
9978
9980
|
g.preventDefault(), p(null), m("auth"), c(!0);
|
|
9979
9981
|
try {
|
|
9980
|
-
|
|
9982
|
+
Ke.logEvent("login_attempt", "auth", { email: e });
|
|
9981
9983
|
const x = sm(), h = await nm(), y = await D.post(
|
|
9982
9984
|
"/api/auth/login",
|
|
9983
9985
|
{ email: e, password: a, deviceType: x, clientIp: h }
|
|
9984
9986
|
);
|
|
9985
|
-
localStorage.setItem("token", y.token), localStorage.setItem("refreshToken", y.refreshToken), localStorage.setItem("user", JSON.stringify(y.user)),
|
|
9987
|
+
localStorage.setItem("token", y.token), localStorage.setItem("refreshToken", y.refreshToken), localStorage.setItem("user", JSON.stringify(y.user)), Ke.logEvent("login_success", "auth", { email: e }), m("prefs");
|
|
9986
9988
|
try {
|
|
9987
9989
|
if (!(await D.get(
|
|
9988
9990
|
"/api/onboarding/status"
|
|
@@ -10020,7 +10022,7 @@ function om() {
|
|
|
10020
10022
|
const h = x instanceof Error ? x.message : "Une erreur inattendue est survenue";
|
|
10021
10023
|
p({ message: h });
|
|
10022
10024
|
}
|
|
10023
|
-
|
|
10025
|
+
Ke.logError(
|
|
10024
10026
|
x instanceof Error ? x : new Error(String(x)),
|
|
10025
10027
|
"LoginPage.handleSubmit",
|
|
10026
10028
|
{ email: e }
|
|
@@ -10325,7 +10327,7 @@ function mm() {
|
|
|
10325
10327
|
] })
|
|
10326
10328
|
] }) }) });
|
|
10327
10329
|
}
|
|
10328
|
-
const um = P(() => import("./ApplicationsPage-
|
|
10330
|
+
const um = P(() => import("./ApplicationsPage-DI-iMqoJ.js").then((e) => ({ default: e.ApplicationsPage }))), pm = P(() => import("./NotificationsPage-D1T_ozHl.js").then((e) => ({ default: e.NotificationsPage }))), hm = P(() => Promise.resolve().then(() => yc).then((e) => ({ default: e.PublicLayout }))), Xr = P(() => Promise.resolve().then(() => pc).then((e) => ({ default: e.AppLayout }))), gm = P(() => import("./RegisterPage-MWcVu-LY.js").then((e) => ({ default: e.RegisterPage }))), fm = P(() => import("./ConfirmEmailPage-DP1XPaKK.js").then((e) => ({ default: e.ConfirmEmailPage }))), bm = P(() => import("./ForgotPasswordPage-D06arMXO.js").then((e) => ({ default: e.ForgotPasswordPage }))), vm = P(() => import("./ResetPasswordPage-DaJiMj5Z.js").then((e) => ({ default: e.ResetPasswordPage }))), xm = P(() => import("./ForceChangePasswordPage-Db6sOrZN.js").then((e) => ({ default: e.ForceChangePasswordPage }))), ym = P(() => import("./AuthCallbackPage-BZ3Ocos5.js").then((e) => ({ default: e.AuthCallbackPage }))), Nm = P(() => import("./OnboardingWizardPage-CioLaCYz.js").then((e) => ({ default: e.OnboardingWizardPage }))), wm = {
|
|
10329
10331
|
// ── Entity identification ──
|
|
10330
10332
|
".detail": "/:id",
|
|
10331
10333
|
// ── Entity CRUD sub-pages ──
|
|
@@ -10517,11 +10519,11 @@ function Pm(e) {
|
|
|
10517
10519
|
}
|
|
10518
10520
|
}
|
|
10519
10521
|
function Em() {
|
|
10520
|
-
const { isLoading: e, menu: r } = _e(), { currentTenant: a } = Ye(), { user: n } =
|
|
10521
|
-
if (e) return /* @__PURE__ */ t(hr, {});
|
|
10522
|
+
const { isLoading: e, menu: r } = _e(), { currentTenant: a } = Ye(), { user: n } = Be(), o = Xe();
|
|
10523
|
+
if (e || !r) return /* @__PURE__ */ t(hr, {});
|
|
10522
10524
|
const l = o.pathname.split("/").filter(Boolean), i = l[0] === "t" ? l.slice(2) : l, c = i.slice(0, 2).join("."), d = a?.slug ? `/t/${a.slug}/applications` : "/applications", m = i[0]?.toLowerCase(), p = (m ? r?.applications.some((f) => f.code?.toLowerCase() === m) ?? !1 : !1) ? "permission" : "tenant";
|
|
10523
10525
|
return /* @__PURE__ */ s("div", { className: "min-h-screen bg-[var(--bg-primary)]", children: [
|
|
10524
|
-
/* @__PURE__ */ t(
|
|
10526
|
+
/* @__PURE__ */ t(Dr, { onMenuToggle: () => {
|
|
10525
10527
|
} }),
|
|
10526
10528
|
/* @__PURE__ */ t("main", { className: "pt-16 transition-all duration-300 h-[calc(100vh-4rem)]", children: /* @__PURE__ */ t("div", { className: "p-4 sm:p-6 lg:px-10 h-full overflow-auto", children: /* @__PURE__ */ t(
|
|
10527
10529
|
ma,
|
|
@@ -10543,14 +10545,14 @@ function Rm() {
|
|
|
10543
10545
|
function Zp() {
|
|
10544
10546
|
const { menu: e, isLoading: r } = _e(), a = we(() => !e || r ? [] : e.applications.map((o) => {
|
|
10545
10547
|
const l = o.route?.replace(/^\//, "") || o.code, i = Cm(o), c = Tm(o, i), d = Pm(o.code);
|
|
10546
|
-
return /* @__PURE__ */ s(M, { path: l, element: /* @__PURE__ */ t(
|
|
10548
|
+
return /* @__PURE__ */ s(M, { path: l, element: /* @__PURE__ */ t(Xr, {}), children: [
|
|
10547
10549
|
c,
|
|
10548
10550
|
d
|
|
10549
10551
|
] }, o.code);
|
|
10550
10552
|
}), [e, r]), n = /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ t(M, { element: /* @__PURE__ */ t(Uc, {}), children: /* @__PURE__ */ s(M, { element: /* @__PURE__ */ t(zc, {}), children: [
|
|
10551
10553
|
a,
|
|
10552
|
-
/* @__PURE__ */ t(M, { path: "applications", element: /* @__PURE__ */ t(
|
|
10553
|
-
/* @__PURE__ */ t(M, { path: "notifications", element: /* @__PURE__ */ t(
|
|
10554
|
+
/* @__PURE__ */ t(M, { path: "applications", element: /* @__PURE__ */ t(Xr, {}), children: /* @__PURE__ */ t(M, { index: !0, element: /* @__PURE__ */ t(um, {}) }) }),
|
|
10555
|
+
/* @__PURE__ */ t(M, { path: "notifications", element: /* @__PURE__ */ t(Xr, {}), children: /* @__PURE__ */ t(M, { index: !0, element: /* @__PURE__ */ t(pm, {}) }) }),
|
|
10554
10556
|
/* @__PURE__ */ t(M, { path: "administration/external-apps", element: /* @__PURE__ */ t(nt, { to: "/api/accounts/list" }) }),
|
|
10555
10557
|
/* @__PURE__ */ t(M, { path: "administration/external-apps/*", element: /* @__PURE__ */ t(nt, { to: "/api/accounts/list" }) }),
|
|
10556
10558
|
/* @__PURE__ */ t(M, { path: "api/external-apps", element: /* @__PURE__ */ t(nt, { to: "/api/accounts/list" }) }),
|
|
@@ -10664,7 +10666,7 @@ function $m({ isOpen: e, onClose: r }) {
|
|
|
10664
10666
|
},
|
|
10665
10667
|
className: "p-2 rounded-[var(--radius-button)] hover:bg-[var(--bg-hover)] transition-colors text-[var(--text-secondary)]",
|
|
10666
10668
|
title: a("common:buttons.reportBug"),
|
|
10667
|
-
children: /* @__PURE__ */ t(
|
|
10669
|
+
children: /* @__PURE__ */ t(jr, { className: "w-5 h-5" })
|
|
10668
10670
|
}
|
|
10669
10671
|
),
|
|
10670
10672
|
/* @__PURE__ */ t(
|
|
@@ -10857,7 +10859,7 @@ const jm = {
|
|
|
10857
10859
|
bgColor: "bg-[var(--info-bg)]"
|
|
10858
10860
|
},
|
|
10859
10861
|
AttachmentAdded: {
|
|
10860
|
-
icon:
|
|
10862
|
+
icon: ta,
|
|
10861
10863
|
color: "text-[var(--text-secondary)]",
|
|
10862
10864
|
bgColor: "bg-[var(--bg-secondary)]"
|
|
10863
10865
|
},
|
|
@@ -10892,7 +10894,7 @@ const jm = {
|
|
|
10892
10894
|
bgColor: "bg-[var(--info-bg)]"
|
|
10893
10895
|
},
|
|
10894
10896
|
Deleted: {
|
|
10895
|
-
icon:
|
|
10897
|
+
icon: Mr,
|
|
10896
10898
|
color: "text-[var(--error-text)]",
|
|
10897
10899
|
bgColor: "bg-[var(--error-bg)]"
|
|
10898
10900
|
},
|
|
@@ -11042,8 +11044,8 @@ const os = {
|
|
|
11042
11044
|
function Jm({ isOpen: e, onClose: r, onSelect: a, ticketVariables: n }) {
|
|
11043
11045
|
const { t: o, i18n: l } = me("support"), [i, c] = w([]), [d, m] = w(!1), [u, p] = w(null), [f, b] = w(""), [g, x] = w(""), [h, y] = w(l.language?.substring(0, 2) || "fr"), [v, S] = w([]), N = T((C) => {
|
|
11044
11046
|
m(!0), Promise.all([
|
|
11045
|
-
|
|
11046
|
-
|
|
11047
|
+
Vr.getAll(void 0, !0, C),
|
|
11048
|
+
Vr.getCategories()
|
|
11047
11049
|
]).then(([I, j]) => {
|
|
11048
11050
|
c(I), S(j);
|
|
11049
11051
|
}).catch(console.error).finally(() => m(!1));
|
|
@@ -11061,7 +11063,7 @@ function Jm({ isOpen: e, onClose: r, onSelect: a, ticketVariables: n }) {
|
|
|
11061
11063
|
}), k = async (C) => {
|
|
11062
11064
|
try {
|
|
11063
11065
|
p(C.id);
|
|
11064
|
-
const I = await
|
|
11066
|
+
const I = await Vr.render(C.id, n);
|
|
11065
11067
|
a(I.content), r();
|
|
11066
11068
|
} catch (I) {
|
|
11067
11069
|
console.error("Failed to render template:", I);
|
|
@@ -11150,24 +11152,24 @@ function Jm({ isOpen: e, onClose: r, onSelect: a, ticketVariables: n }) {
|
|
|
11150
11152
|
}
|
|
11151
11153
|
const is = {
|
|
11152
11154
|
Created: { icon: tt, color: "var(--color-primary-500)", labelKey: "history.actions.Created" },
|
|
11153
|
-
StatusChanged: { icon:
|
|
11155
|
+
StatusChanged: { icon: Br, color: "var(--info-text)", labelKey: "history.actions.StatusChanged" },
|
|
11154
11156
|
PriorityChanged: { icon: Oe, color: "var(--warning-text)", labelKey: "history.actions.PriorityChanged" },
|
|
11155
11157
|
Assigned: { icon: ur, color: "var(--success-text)", labelKey: "history.actions.Assigned" },
|
|
11156
11158
|
Unassigned: { icon: ur, color: "var(--text-secondary)", labelKey: "history.actions.Unassigned" },
|
|
11157
11159
|
Commented: { icon: wt, color: "var(--color-primary-500)", labelKey: "history.actions.Commented" },
|
|
11158
11160
|
InternalCommented: { icon: wt, color: "var(--warning-text)", labelKey: "history.actions.InternalCommented" },
|
|
11159
|
-
AttachmentAdded: { icon:
|
|
11160
|
-
AttachmentRemoved: { icon:
|
|
11161
|
+
AttachmentAdded: { icon: ta, color: "var(--success-text)", labelKey: "history.actions.AttachmentAdded" },
|
|
11162
|
+
AttachmentRemoved: { icon: ta, color: "var(--error-text)", labelKey: "history.actions.AttachmentRemoved" },
|
|
11161
11163
|
Resolved: { icon: We, color: "var(--success-text)", labelKey: "history.actions.Resolved" },
|
|
11162
11164
|
Closed: { icon: lt, color: "var(--text-secondary)", labelKey: "history.actions.Closed" },
|
|
11163
11165
|
Reopened: { icon: Qt, color: "var(--warning-text)", labelKey: "history.actions.Reopened" },
|
|
11164
11166
|
Rejected: { icon: lt, color: "var(--error-text)", labelKey: "history.actions.Rejected" },
|
|
11165
11167
|
SlaResponseBreached: { icon: Oe, color: "var(--error-text)", labelKey: "history.actions.SlaResponseBreached" },
|
|
11166
11168
|
SlaResolutionBreached: { icon: Oe, color: "var(--error-text)", labelKey: "history.actions.SlaResolutionBreached" },
|
|
11167
|
-
Escalated: { icon:
|
|
11169
|
+
Escalated: { icon: Br, color: "var(--warning-text)", labelKey: "history.actions.Escalated" },
|
|
11168
11170
|
TitleChanged: { icon: wt, color: "var(--text-secondary)", labelKey: "history.actions.TitleChanged" },
|
|
11169
11171
|
DescriptionChanged: { icon: wt, color: "var(--text-secondary)", labelKey: "history.actions.DescriptionChanged" },
|
|
11170
|
-
TypeChanged: { icon:
|
|
11172
|
+
TypeChanged: { icon: Br, color: "var(--text-secondary)", labelKey: "history.actions.TypeChanged" },
|
|
11171
11173
|
SatisfactionSubmitted: { icon: We, color: "var(--success-text)", labelKey: "history.actions.SatisfactionSubmitted" }
|
|
11172
11174
|
}, xn = (e, r, a) => {
|
|
11173
11175
|
const n = new Date(e), l = (/* @__PURE__ */ new Date()).getTime() - n.getTime(), i = Math.floor(l / 6e4), c = Math.floor(l / 36e5), d = Math.floor(l / 864e5);
|
|
@@ -11512,7 +11514,7 @@ function mu({
|
|
|
11512
11514
|
children: /* @__PURE__ */ t(ot, { className: "w-4 h-4" })
|
|
11513
11515
|
}
|
|
11514
11516
|
),
|
|
11515
|
-
/* @__PURE__ */ t("button", { onClick: n, disabled: !f || i, className: ou(!!f), children: i ? /* @__PURE__ */ t(de, { className: "w-5 h-5 animate-spin" }) : /* @__PURE__ */ t(
|
|
11517
|
+
/* @__PURE__ */ t("button", { onClick: n, disabled: !f || i, className: ou(!!f), children: i ? /* @__PURE__ */ t(de, { className: "w-5 h-5 animate-spin" }) : /* @__PURE__ */ t(ra, { className: "w-5 h-5" }) })
|
|
11516
11518
|
] })
|
|
11517
11519
|
] }),
|
|
11518
11520
|
/* @__PURE__ */ t("p", { className: "text-xs text-[var(--text-tertiary)] mt-2 text-center", children: p("conversation.hint", "Appuyez sur Entrée pour envoyer, Maj+Entrée pour un saut de ligne") })
|
|
@@ -11854,7 +11856,7 @@ function hu({
|
|
|
11854
11856
|
]
|
|
11855
11857
|
}
|
|
11856
11858
|
);
|
|
11857
|
-
return
|
|
11859
|
+
return Or(I, document.body);
|
|
11858
11860
|
}
|
|
11859
11861
|
const us = {
|
|
11860
11862
|
Low: { bg: "var(--info-bg)", text: "var(--info-text)" },
|
|
@@ -12093,7 +12095,7 @@ function yu({
|
|
|
12093
12095
|
zt,
|
|
12094
12096
|
{
|
|
12095
12097
|
section: "errors",
|
|
12096
|
-
icon:
|
|
12098
|
+
icon: jr,
|
|
12097
12099
|
title: h("details.errors", "Erreurs"),
|
|
12098
12100
|
count: Y?.recentErrors?.length ?? 0,
|
|
12099
12101
|
isExpanded: y.has("errors"),
|
|
@@ -12380,7 +12382,7 @@ function yu({
|
|
|
12380
12382
|
)
|
|
12381
12383
|
] });
|
|
12382
12384
|
}
|
|
12383
|
-
const
|
|
12385
|
+
const Qr = [
|
|
12384
12386
|
"Open",
|
|
12385
12387
|
"InProgress",
|
|
12386
12388
|
"Resolved",
|
|
@@ -12492,7 +12494,7 @@ function Iu({
|
|
|
12492
12494
|
isFuture: !1
|
|
12493
12495
|
}
|
|
12494
12496
|
];
|
|
12495
|
-
const S =
|
|
12497
|
+
const S = Qr.indexOf(e), N = [], L = {
|
|
12496
12498
|
Open: r
|
|
12497
12499
|
};
|
|
12498
12500
|
o.filter((k) => k.action === "StatusChanged" && k.newValue).forEach((k) => {
|
|
@@ -12501,8 +12503,8 @@ function Iu({
|
|
|
12501
12503
|
const E = o.some(
|
|
12502
12504
|
(k) => k.action === "StatusChanged" && k.newValue === "OnHold"
|
|
12503
12505
|
);
|
|
12504
|
-
if (
|
|
12505
|
-
const C = Ct[k], I = k === e ? S :
|
|
12506
|
+
if (Qr.forEach((k) => {
|
|
12507
|
+
const C = Ct[k], I = k === e ? S : Qr.indexOf(k), j = k === e, G = I < S, A = I > S;
|
|
12506
12508
|
N.push({
|
|
12507
12509
|
status: k,
|
|
12508
12510
|
label: g(`tickets.statuses.${k}`, { defaultValue: C.label }),
|
|
@@ -12744,7 +12746,7 @@ function $u({
|
|
|
12744
12746
|
/* @__PURE__ */ t(de, { className: "w-4 h-4 animate-spin" }),
|
|
12745
12747
|
d("solution.proposeSolution", "Propose Solution")
|
|
12746
12748
|
] }) : /* @__PURE__ */ s(ne, { children: [
|
|
12747
|
-
/* @__PURE__ */ t(
|
|
12749
|
+
/* @__PURE__ */ t(ra, { className: "w-4 h-4" }),
|
|
12748
12750
|
d("solution.proposeSolution", "Propose Solution")
|
|
12749
12751
|
] })
|
|
12750
12752
|
}
|
|
@@ -12854,7 +12856,7 @@ function $u({
|
|
|
12854
12856
|
/* @__PURE__ */ t(de, { className: "w-4 h-4 animate-spin" }),
|
|
12855
12857
|
d("solution.proposeSolution", "Propose Solution")
|
|
12856
12858
|
] }) : /* @__PURE__ */ s(ne, { children: [
|
|
12857
|
-
/* @__PURE__ */ t(
|
|
12859
|
+
/* @__PURE__ */ t(ra, { className: "w-4 h-4" }),
|
|
12858
12860
|
d("solution.proposeSolution", "Propose Solution")
|
|
12859
12861
|
] })
|
|
12860
12862
|
}
|
|
@@ -14314,7 +14316,7 @@ function rp({ ticket: e, t: r }) {
|
|
|
14314
14316
|
] }) });
|
|
14315
14317
|
}
|
|
14316
14318
|
function ih({ mode: e }) {
|
|
14317
|
-
const { id: r } = ha(), a = at(), { t: n } = me("support"), { user: o, hasPermission: l } =
|
|
14319
|
+
const { id: r } = ha(), a = at(), { t: n } = me("support"), { user: o, hasPermission: l } = Be(), [i, c] = Ss(), { isGlpi: d } = kn(), m = e === "support", u = Wu(m, o), [p, f] = w(() => Yu(i, Ou));
|
|
14318
14320
|
z(() => {
|
|
14319
14321
|
qu(p, i, c);
|
|
14320
14322
|
}, [p, i, c]);
|
|
@@ -14445,11 +14447,11 @@ function ih({ mode: e }) {
|
|
|
14445
14447
|
try {
|
|
14446
14448
|
fe(!0);
|
|
14447
14449
|
const ye = await D.get("/api/support/tickets/assignable-users"), et = Array.isArray(ye) ? ye : [];
|
|
14448
|
-
q(et.map((
|
|
14449
|
-
id:
|
|
14450
|
-
email:
|
|
14451
|
-
fullName: `${
|
|
14452
|
-
}))), (b?.assignees?.length ?? 0) > 0 && b?.assignees && ce(b.assignees.map((
|
|
14450
|
+
q(et.map((Ge) => ({
|
|
14451
|
+
id: Ge.id,
|
|
14452
|
+
email: Ge.email,
|
|
14453
|
+
fullName: `${Ge.firstName} ${Ge.lastName}`
|
|
14454
|
+
}))), (b?.assignees?.length ?? 0) > 0 && b?.assignees && ce(b.assignees.map((Ge) => Ge.userId));
|
|
14453
14455
|
} catch (ye) {
|
|
14454
14456
|
console.error("Failed to load users", ye);
|
|
14455
14457
|
} finally {
|
|
@@ -14462,7 +14464,7 @@ function ih({ mode: e }) {
|
|
|
14462
14464
|
try {
|
|
14463
14465
|
X(!0);
|
|
14464
14466
|
const ye = await D.get("/api/support/tickets/assignable-groups"), et = Array.isArray(ye) ? ye : [];
|
|
14465
|
-
bt(et.map((
|
|
14467
|
+
bt(et.map((Ge) => ({ id: Ge.id, name: Ge.name, memberCount: Ge.memberCount })));
|
|
14466
14468
|
} catch (ye) {
|
|
14467
14469
|
console.error("Failed to load groups", ye);
|
|
14468
14470
|
} finally {
|
|
@@ -14585,8 +14587,8 @@ function ih({ mode: e }) {
|
|
|
14585
14587
|
}, $n = async (Q) => {
|
|
14586
14588
|
if (r)
|
|
14587
14589
|
try {
|
|
14588
|
-
const ye = m ? await Ee.tickets.downloadAttachment(r, Q.id) : await pt.downloadAttachment(r, Q.id), et = window.URL.createObjectURL(ye),
|
|
14589
|
-
|
|
14590
|
+
const ye = m ? await Ee.tickets.downloadAttachment(r, Q.id) : await pt.downloadAttachment(r, Q.id), et = window.URL.createObjectURL(ye), Ge = document.createElement("a");
|
|
14591
|
+
Ge.href = et, Ge.setAttribute("download", Q.fileName), document.body.appendChild(Ge), Ge.click(), Ge.remove(), window.URL.revokeObjectURL(et);
|
|
14590
14592
|
} catch {
|
|
14591
14593
|
E(n("error.downloadFailed", "Impossible de télécharger le fichier"));
|
|
14592
14594
|
}
|
|
@@ -14788,7 +14790,7 @@ const ys = "support_tickets_view_mode", ap = {
|
|
|
14788
14790
|
function Ns(e, r) {
|
|
14789
14791
|
return e === r ? !1 : ap[e]?.includes(r) ?? !1;
|
|
14790
14792
|
}
|
|
14791
|
-
const
|
|
14793
|
+
const Zr = {
|
|
14792
14794
|
Low: "var(--info-bg)",
|
|
14793
14795
|
Medium: "var(--warning-bg)",
|
|
14794
14796
|
High: "var(--error-bg)",
|
|
@@ -14948,7 +14950,7 @@ function lh({ mode: e, showDrafts: r = !1, basePath: a, title: n, subtitle: o, c
|
|
|
14948
14950
|
{
|
|
14949
14951
|
className: "px-2 py-1 rounded-[var(--radius-badge)] text-xs font-medium",
|
|
14950
14952
|
style: {
|
|
14951
|
-
backgroundColor:
|
|
14953
|
+
backgroundColor: Zr[$.priority],
|
|
14952
14954
|
color: $.priority === "Critical" ? "white" : "inherit"
|
|
14953
14955
|
},
|
|
14954
14956
|
children: i(`tickets.priorities.${$.priority}`, { defaultValue: $.priority })
|
|
@@ -14992,7 +14994,7 @@ function lh({ mode: e, showDrafts: r = !1, basePath: a, title: n, subtitle: o, c
|
|
|
14992
14994
|
disabled: $.isExternallyManaged,
|
|
14993
14995
|
className: "btn btn-ghost p-2 text-[var(--error-text)] disabled:opacity-50 disabled:cursor-not-allowed",
|
|
14994
14996
|
title: $.isExternallyManaged ? "Cannot delete externally managed tickets" : i("list.actions.delete"),
|
|
14995
|
-
children: /* @__PURE__ */ t(
|
|
14997
|
+
children: /* @__PURE__ */ t(Mr, { className: "w-4 h-4" })
|
|
14996
14998
|
}
|
|
14997
14999
|
)
|
|
14998
15000
|
] }) })
|
|
@@ -15046,7 +15048,7 @@ function lh({ mode: e, showDrafts: r = !1, basePath: a, title: n, subtitle: o, c
|
|
|
15046
15048
|
{
|
|
15047
15049
|
className: "text-xs px-2 py-1 rounded-[var(--radius-badge)]",
|
|
15048
15050
|
style: {
|
|
15049
|
-
backgroundColor:
|
|
15051
|
+
backgroundColor: Zr[$.priority],
|
|
15050
15052
|
color: $.priority === "Critical" ? "white" : "inherit"
|
|
15051
15053
|
},
|
|
15052
15054
|
children: i(`tickets.priorities.${$.priority}`, { defaultValue: $.priority })
|
|
@@ -15099,7 +15101,7 @@ function lh({ mode: e, showDrafts: r = !1, basePath: a, title: n, subtitle: o, c
|
|
|
15099
15101
|
{
|
|
15100
15102
|
className: "text-xs px-2 py-0.5 rounded-[var(--radius-badge)]",
|
|
15101
15103
|
style: {
|
|
15102
|
-
backgroundColor:
|
|
15104
|
+
backgroundColor: Zr[$.priority],
|
|
15103
15105
|
color: $.priority === "Critical" ? "white" : "inherit"
|
|
15104
15106
|
},
|
|
15105
15107
|
children: i(`tickets.priorities.${$.priority}`, { defaultValue: $.priority })
|
|
@@ -15377,10 +15379,10 @@ export {
|
|
|
15377
15379
|
Zi as a$,
|
|
15378
15380
|
Nt as a0,
|
|
15379
15381
|
pl as a1,
|
|
15380
|
-
|
|
15382
|
+
Hr as a2,
|
|
15381
15383
|
Vs as a3,
|
|
15382
15384
|
pt as a4,
|
|
15383
|
-
|
|
15385
|
+
Vr as a5,
|
|
15384
15386
|
ah as a6,
|
|
15385
15387
|
sh as a7,
|
|
15386
15388
|
oh as a8,
|
|
@@ -15406,20 +15408,20 @@ export {
|
|
|
15406
15408
|
$l as aS,
|
|
15407
15409
|
gn as aT,
|
|
15408
15410
|
fn as aU,
|
|
15409
|
-
|
|
15411
|
+
Dr as aV,
|
|
15410
15412
|
Wp as aW,
|
|
15411
15413
|
qp as aX,
|
|
15412
15414
|
sc as aY,
|
|
15413
15415
|
rl as aZ,
|
|
15414
15416
|
Yp as a_,
|
|
15415
15417
|
At as aa,
|
|
15416
|
-
|
|
15418
|
+
_r as ab,
|
|
15417
15419
|
Vp as ac,
|
|
15418
15420
|
dn as ad,
|
|
15419
15421
|
Na as ae,
|
|
15420
15422
|
Cp as af,
|
|
15421
15423
|
il as ag,
|
|
15422
|
-
|
|
15424
|
+
Ur as ah,
|
|
15423
15425
|
Ca as ai,
|
|
15424
15426
|
Np as aj,
|
|
15425
15427
|
wp as ak,
|
|
@@ -15468,10 +15470,10 @@ export {
|
|
|
15468
15470
|
D as i,
|
|
15469
15471
|
Me as j,
|
|
15470
15472
|
Ie as k,
|
|
15471
|
-
|
|
15473
|
+
Ke as l,
|
|
15472
15474
|
yp as m,
|
|
15473
15475
|
Gt as n,
|
|
15474
|
-
|
|
15476
|
+
Be as o,
|
|
15475
15477
|
da as p,
|
|
15476
15478
|
Tc as q,
|
|
15477
15479
|
$p as r,
|
|
@@ -15480,8 +15482,8 @@ export {
|
|
|
15480
15482
|
_e as u,
|
|
15481
15483
|
yi as v,
|
|
15482
15484
|
Pl as w,
|
|
15483
|
-
|
|
15485
|
+
$r as x,
|
|
15484
15486
|
Ep as y,
|
|
15485
15487
|
Up as z
|
|
15486
15488
|
};
|
|
15487
|
-
//# sourceMappingURL=index-
|
|
15489
|
+
//# sourceMappingURL=index-CpY95_ro.js.map
|